Elementary default.edc/genlist: Enhance rotate mode animation.
[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                   align: 0.0 0.0;
8358                }
8359             }
8360             description { state: "disabled" 0.0;
8361                inherit: "default" 0.0;
8362                text {
8363                   style: "entry_textblock_disabled_style";
8364                   min: 0 1;
8365                }
8366             }
8367          }
8368       }
8369       programs {
8370          program { name: "focus";
8371             signal: "load";
8372             source: "";
8373             action: FOCUS_SET;
8374             target: "elm.text";
8375          }
8376          program { name: "disable";
8377             signal: "elm,state,disabled";
8378             source: "elm";
8379             action: STATE_SET "disabled" 0.0;
8380             target: "elm.text";
8381          }
8382          program { name: "enable";
8383             signal: "elm,state,enabled";
8384             source: "elm";
8385             action: STATE_SET "default" 0.0;
8386             target: "elm.text";
8387          }
8388       }
8389    }
8390
8391    group { name: "elm/entry/base-charwrap/default";
8392       styles
8393       {
8394          style { name: "entry_textblock_style_charwrap";
8395             base: "font=Sans font_size=10 color=#000 wrap=char text_class=entry";
8396             tag:  "br" "\n";
8397             tag:  "ps" "ps";
8398             tag:  "tab" "\t";
8399             tag:  "em" "+ font=Sans:style=Oblique";
8400             tag:  "b" "+ font=Sans:style=Bold";
8401             tag:  "link" "+ color=#800 underline=on underline_color=#8008";
8402             tag:  "hilight" "+ font=Sans:style=Bold";
8403          }
8404          style { name: "entry_textblock_disabled_style_charwrap";
8405             base: "font=Sans font_size=10 color=#00000080 wrap=char text_class=entry";
8406             tag:  "br" "\n";
8407             tag:  "ps" "ps";
8408             tag:  "tab" "\t";
8409             tag:  "em" "+ font=Sans:style=Oblique";
8410             tag:  "b" "+ font=Sans:style=Bold";
8411             tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
8412             tag:  "hilight" "+ font=Sans:style=Bold";
8413          }
8414       }
8415       parts {
8416          part { name: "elm.text";
8417             type: TEXTBLOCK;
8418             mouse_events: 1;
8419             scale: 1;
8420             entry_mode: EDITABLE;
8421             select_mode: EXPLICIT;
8422             multiline: 1;
8423             source: "elm/entry/selection/default"; // selection under
8424 //          source2: "X"; // selection over
8425 //          source3: "X"; // cursor under
8426             source4: "elm/entry/cursor/default"; // cursorover
8427             source5: "elm/entry/anchor/default"; // anchor under
8428 //          source6: "X"; // anchor over
8429             description { state: "default" 0.0;
8430                fixed: 1 0;
8431                text {
8432                   style: "entry_textblock_style_charwrap";
8433                   min: 0 1;
8434                   align: 0.0 0.0;
8435                }
8436             }
8437             description { state: "disabled" 0.0;
8438                inherit: "default" 0.0;
8439                text {
8440                   style: "entry_textblock_disabled_style_charwrap";
8441                   min: 0 1;
8442                }
8443             }
8444          }
8445       }
8446       programs {
8447          program { name: "focus";
8448             signal: "load";
8449             source: "";
8450             action: FOCUS_SET;
8451             target: "elm.text";
8452          }
8453          program { name: "disable";
8454             signal: "elm,state,disabled";
8455             source: "elm";
8456             action: STATE_SET "disabled" 0.0;
8457             target: "elm.text";
8458          }
8459          program { name: "enable";
8460             signal: "elm,state,enabled";
8461             source: "elm";
8462             action: STATE_SET "default" 0.0;
8463             target: "elm.text";
8464          }
8465       }
8466    }
8467
8468    group { name: "elm/entry/base-nowrap/default";
8469       parts {
8470          part { name: "elm.text";
8471             type: TEXTBLOCK;
8472             mouse_events: 1;
8473             scale: 1;
8474             entry_mode: EDITABLE;
8475             select_mode: EXPLICIT;
8476             multiline: 1;
8477             source: "elm/entry/selection/default"; // selection under
8478             source4: "elm/entry/cursor/default"; // cursorover
8479             source5: "elm/entry/anchor/default"; // anchor under
8480             description { state: "default" 0.0;
8481                text {
8482                   style: "entry_textblock_style";
8483                   min: 1 1;
8484                   align: 0.0 0.0;
8485                }
8486             }
8487             description { state: "disabled" 0.0;
8488                inherit: "default" 0.0;
8489                text {
8490                   style: "entry_textblock_disabled_style";
8491                   min: 0 1;
8492                }
8493             }
8494          }
8495 /*
8496          part { name: "sel";
8497             type: RECT;
8498             mouse_events: 0;
8499             description { state: "default" 0.0;
8500                align: 1.0 1.0;
8501                max: 16 16;
8502                aspect: 1.0 1.0;
8503                color: 255 0 0 0;
8504             }
8505             description { state: "visible" 0.0;
8506                inherit: "default" 0.0;
8507                color: 255 0 0 50;
8508             }
8509          }
8510  */
8511       }
8512       programs {
8513          program { name: "focus";
8514             signal: "load";
8515             source: "";
8516             action: FOCUS_SET;
8517             target: "elm.text";
8518          }
8519          program { name: "disable";
8520             signal: "elm,state,disabled";
8521             source: "elm";
8522             action: STATE_SET "disabled" 0.0;
8523             target: "elm.text";
8524          }
8525          program { name: "enable";
8526             signal: "elm,state,enabled";
8527             source: "elm";
8528             action: STATE_SET "default" 0.0;
8529             target: "elm.text";
8530          }
8531 /*
8532          program { name: "selmode0";
8533             signal: "elm,state,select,on";
8534             source: "elm";
8535             action: STATE_SET "visible" 0.0;
8536             target: "sel";
8537          }
8538          program { name: "selmode1";
8539             signal: "elm,state,select,off";
8540             source: "elm";
8541             action: STATE_SET "default" 0.0;
8542             target: "sel";
8543          }
8544  */
8545       }
8546    }
8547
8548    group { name: "elm/entry/base-single/default";
8549       styles
8550       {
8551          style { name: "entry_single_textblock_style";
8552             base: "font=Sans font_size=10 color=#000 wrap=none text_class=entry";
8553             tag:  "br" "\n";
8554             tag:  "ps" "ps";
8555             tag:  "tab" "\t";
8556             tag:  "em" "+ font=Sans:style=Oblique";
8557             tag:  "b" "+ font=Sans:style=Bold";
8558             tag:  "link" "+ color=#800 underline=on underline_color=#8008";
8559             tag:  "hilight" "+ font=Sans:style=Bold";
8560          }
8561          style { name: "entry_single_textblock_disabled_style";
8562             base: "font=Sans font_size=10 color=#00000080 wrap=none text_class=entry";
8563             tag:  "br" "\n";
8564             tag:  "ps" "ps";
8565             tag:  "tab" "\t";
8566             tag:  "em" "+ font=Sans:style=Oblique";
8567             tag:  "b" "+ font=Sans:style=Bold";
8568             tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
8569             tag:  "hilight" "+ font=Sans:style=Bold";
8570          }
8571       }
8572       parts {
8573          part { name: "elm.text";
8574             type: TEXTBLOCK;
8575             mouse_events: 1;
8576             scale: 1;
8577             entry_mode: EDITABLE;
8578             select_mode: EXPLICIT;
8579             multiline: 0;
8580             source: "elm/entry/selection/default"; // selection under
8581             source4: "elm/entry/cursor/default"; // cursorover
8582             source5: "elm/entry/anchor/default"; // anchor under
8583             description { state: "default" 0.0;
8584                text {
8585                   style: "entry_single_textblock_style";
8586                   min: 1 1;
8587                   max: 0 0;
8588                   align: 0.0 0.5;
8589                }
8590             }
8591             description { state: "disabled" 0.0;
8592                inherit: "default" 0.0;
8593                text {
8594                   style: "entry_single_textblock_disabled_style";
8595                }
8596             }
8597          }
8598       }
8599       programs {
8600          program { name: "focus";
8601             signal: "load";
8602             source: "";
8603             action: FOCUS_SET;
8604             target: "elm.text";
8605          }
8606          program { name: "disable";
8607             signal: "elm,state,disabled";
8608             source: "elm";
8609             action: STATE_SET "disabled" 0.0;
8610             target: "elm.text";
8611          }
8612          program { name: "enable";
8613             signal: "elm,state,enabled";
8614             source: "elm";
8615             action: STATE_SET "default" 0.0;
8616             target: "elm.text";
8617          }
8618       }
8619    }
8620
8621    group { name: "elm/entry/base-single-noedit/default";
8622       parts {
8623          part { name: "elm.text";
8624             type: TEXTBLOCK;
8625             mouse_events: 1;
8626             scale: 1;
8627             entry_mode: PLAIN;
8628             select_mode: EXPLICIT;
8629             multiline: 0;
8630             source: "elm/entry/selection/default"; // selection under
8631             source5: "elm/entry/anchor/default"; // anchor under
8632             description { state: "default" 0.0;
8633                text {
8634                   style: "entry_single_textblock_style";
8635                   min: 1 1;
8636                   max: 0 0;
8637                   align: 0.0 0.5;
8638                }
8639             }
8640             description { state: "disabled" 0.0;
8641                inherit: "default" 0.0;
8642                text {
8643                style: "entry_single_textblock_disabled_style";
8644                }
8645             }
8646          }
8647       }
8648       programs {
8649          program { name: "focus";
8650             signal: "load";
8651             source: "";
8652             action: FOCUS_SET;
8653             target: "elm.text";
8654          }
8655          program { name: "disable";
8656             signal: "elm,state,disabled";
8657             source: "elm";
8658             action: STATE_SET "disabled" 0.0;
8659             target: "elm.text";
8660          }
8661          program { name: "enable";
8662             signal: "elm,state,enabled";
8663             source: "elm";
8664             action: STATE_SET "default" 0.0;
8665             target: "elm.text";
8666          }
8667       }
8668    }
8669
8670    group { name: "elm/entry/base-noedit/default";
8671       parts {
8672          part { name: "elm.text";
8673             type: TEXTBLOCK;
8674             mouse_events: 1;
8675             scale: 1;
8676             entry_mode: PLAIN;
8677             select_mode: EXPLICIT;
8678             multiline: 1;
8679             source: "elm/entry/selection/default"; // selection under
8680             source5: "elm/entry/anchor/default"; // anchor under
8681             description { state: "default" 0.0;
8682                fixed: 1 0;
8683                text {
8684                   style: "entry_textblock_style";
8685                   min: 0 1;
8686                   align: 0.0 0.0;
8687                }
8688             }
8689             description { state: "disabled" 0.0;
8690                inherit: "default" 0.0;
8691                text {
8692                   style: "entry_textblock_disabled_style";
8693                }
8694             }
8695          }
8696       }
8697       programs {
8698          program { name: "focus";
8699             signal: "load";
8700             source: "";
8701             action: FOCUS_SET;
8702             target: "elm.text";
8703          }
8704          program { name: "disable";
8705             signal: "elm,state,disabled";
8706             source: "elm";
8707             action: STATE_SET "disabled" 0.0;
8708             target: "elm.text";
8709          }
8710          program { name: "enable";
8711             signal: "elm,state,enabled";
8712             source: "elm";
8713             action: STATE_SET "default" 0.0;
8714             target: "elm.text";
8715          }
8716       }
8717    }
8718
8719    group { name: "elm/entry/base-noedit-charwrap/default";
8720       parts {
8721          part { name: "elm.text";
8722             type: TEXTBLOCK;
8723             mouse_events: 1;
8724             scale: 1;
8725             entry_mode: PLAIN;
8726             select_mode: EXPLICIT;
8727             multiline: 1;
8728             source: "elm/entry/selection/default"; // selection under
8729             source5: "elm/entry/anchor/default"; // anchor under
8730             description { state: "default" 0.0;
8731                fixed: 1 0;
8732                text {
8733                   style: "entry_textblock_style_charwrap";
8734                   min: 0 1;
8735                   align: 0.0 0.0;
8736                }
8737             }
8738             description { state: "disabled" 0.0;
8739                inherit: "default" 0.0;
8740                text {
8741                   style: "entry_textblock_disabled_style_charwrap";
8742                }
8743             }
8744          }
8745       }
8746       programs {
8747          program { name: "focus";
8748             signal: "load";
8749             source: "";
8750             action: FOCUS_SET;
8751             target: "elm.text";
8752          }
8753          program { name: "disable";
8754             signal: "elm,state,disabled";
8755             source: "elm";
8756             action: STATE_SET "disabled" 0.0;
8757             target: "elm.text";
8758          }
8759          program { name: "enable";
8760             signal: "elm,state,enabled";
8761             source: "elm";
8762             action: STATE_SET "default" 0.0;
8763             target: "elm.text";
8764          }
8765       }
8766    }
8767
8768    group { name: "elm/entry/base-nowrap-noedit/default";
8769       parts {
8770          part { name: "elm.text";
8771             type: TEXTBLOCK;
8772             mouse_events: 1;
8773             scale: 1;
8774             entry_mode: PLAIN;
8775             select_mode: EXPLICIT;
8776             multiline: 1;
8777             source: "elm/entry/selection/default"; // selection under
8778             source5: "elm/entry/anchor/default"; // anchor under
8779             description { state: "default" 0.0;
8780                text {
8781                   style: "entry_textblock_style";
8782                   min: 1 1;
8783                   align: 0.0 0.0;
8784                }
8785             }
8786             description { state: "disabled" 0.0;
8787                inherit: "default" 0.0;
8788                text {
8789                   style: "entry_textblock_disabled_style";
8790                }
8791             }
8792          }
8793       }
8794       programs {
8795          program { name: "focus";
8796             signal: "load";
8797             source: "";
8798             action: FOCUS_SET;
8799             target: "elm.text";
8800          }
8801          program { name: "disable";
8802             signal: "elm,state,disabled";
8803             source: "elm";
8804             action: STATE_SET "disabled" 0.0;
8805             target: "elm.text";
8806          }
8807          program { name: "enable";
8808             signal: "elm,state,enabled";
8809             source: "elm";
8810             action: STATE_SET "default" 0.0;
8811             target: "elm.text";
8812          }
8813       }
8814    }
8815
8816    group { name: "elm/entry/base-password/default";
8817       parts {
8818          part { name: "elm.text";
8819             type: TEXTBLOCK;
8820             mouse_events: 1;
8821             scale: 1;
8822             entry_mode: PASSWORD;
8823             select_mode: EXPLICIT;
8824             multiline: 0;
8825             source: "elm/entry/selection/default"; // selection under
8826             source4: "elm/entry/cursor/default"; // cursorover
8827             source5: "elm/entry/anchor/default"; // anchor under
8828             description { state: "default" 0.0;
8829                text {
8830                   style: "entry_single_textblock_style";
8831                   repch: "*";
8832                   min: 1 1;
8833                   max: 0 0;
8834                   align: 0.0 0.5;
8835                }
8836             }
8837             description { state: "disabled" 0.0;
8838                inherit: "default" 0.0;
8839                text {
8840                   style: "entry_single_textblock_disabled_style";
8841                }
8842             }
8843          }
8844       }
8845       programs {
8846          program { name: "focus";
8847             signal: "load";
8848             source: "";
8849             action: FOCUS_SET;
8850             target: "elm.text";
8851          }
8852          program { name: "disable";
8853             signal: "elm,state,disabled";
8854             source: "elm";
8855             action: STATE_SET "disabled" 0.0;
8856             target: "elm.text";
8857          }
8858          program { name: "enable";
8859             signal: "elm,state,enabled";
8860             source: "elm";
8861             action: STATE_SET "default" 0.0;
8862             target: "elm.text";
8863          }
8864       }
8865    }
8866
8867    group { name: "elm/entry/cursor/default";
8868       images {
8869          image: "cur_box.png" COMP;
8870          image: "cur_hi.png" COMP;
8871          image: "cur_shad.png" COMP;
8872          image: "cur_shine.png" COMP;
8873          image: "cur_glow.png" COMP;
8874       }
8875       parts {
8876          part { name: "clip2";
8877             type: RECT;
8878             mouse_events: 0;
8879             description { state: "default" 0.0;
8880                rel1.to: "clip";
8881                rel2.to: "clip";
8882                visible: 0;
8883             }
8884             description { state: "focused" 0.0;
8885                inherit: "default" 0.0;
8886                visible: 1;
8887             }
8888          }
8889          part { name: "clip";
8890             type: RECT;
8891             mouse_events: 0;
8892             clip_to: "clip2";
8893             description { state: "default" 0.0;
8894                rel1.offset: -10 0;
8895                rel2.offset: 9 9;
8896             }
8897             description { state: "hidden" 0.0;
8898                inherit: "default" 0.0;
8899                visible: 0;
8900             }
8901          }
8902          part { name: "bg";
8903             mouse_events: 0;
8904             clip_to: "clip";
8905             description { state: "default" 0.0;
8906                rel1.to: "base";
8907                rel1.offset: -2 0;
8908                rel2.to: "base";
8909                rel2.offset: 1 1;
8910                image.border: 2 2 2 2;
8911                image.normal: "cur_shad.png";
8912             }
8913          }
8914          part { name: "base";
8915             mouse_events: 0;
8916             scale: 1;
8917             clip_to: "clip";
8918             description { state: "default" 0.0;
8919                min: 2 2;
8920                align: 0.5 1.0;
8921                rel1.relative: 0.0 1.0;
8922                rel1.offset: 0 -1;
8923                rel2.relative: 1.0 1.0;
8924                rel2.offset: -1 -1;
8925                image.normal: "cur_box.png";
8926             }
8927          }
8928          part { name: "hi";
8929             mouse_events: 0;
8930             clip_to: "clip";
8931             description { state: "default" 0.0;
8932                rel1.to: "base";
8933                rel2.to: "base";
8934                rel2.relative: 1.0 0.5;
8935                image.normal: "cur_hi.png";
8936             }
8937          }
8938          part { name: "shine";
8939             mouse_events: 0;
8940             clip_to: "clip";
8941             clip_to: "clip2";
8942             description { state: "default" 0.0;
8943                rel1.to: "base";
8944                rel2.to: "base";
8945                rel2.relative: 1.0 0.75;
8946                image.border: 2 2 1 0;
8947                image.normal: "cur_shine.png";
8948                fill.smooth: 0;
8949             }
8950          }
8951          part { name: "glow";
8952             mouse_events: 0;
8953             clip_to: "clip2";
8954             description { state: "default" 0.0;
8955                rel1.to: "base";
8956                rel1.relative: 0.0 -2.0;
8957                rel1.offset: -2 0;
8958                rel2.to: "base";
8959                rel2.relative: 1.0 0.0;
8960                rel2.offset: 1 1;
8961                image.border: 2 2 0 4;
8962                image.normal: "cur_glow.png";
8963                fill.smooth: 0;
8964             }
8965             description { state: "hidden" 0.0;
8966                inherit: "default" 0.0;
8967                color: 255 255 255 0;
8968             }
8969          }
8970       }
8971       programs {
8972          program { name: "show";
8973             signal: "show";
8974             source: "";
8975             action: STATE_SET "hidden" 0.0;
8976             in: 1.0 0.0;
8977             transition: DECELERATE 2.0;
8978             target: "glow";
8979             after: "show2";
8980          }
8981          program { name: "show2";
8982             action: STATE_SET "hidden" 0.0;
8983             in: 0.2 0.0;
8984             target: "clip";
8985             after: "show3";
8986          }
8987          program { name: "show3";
8988             action: STATE_SET "default" 0.0;
8989             in: 0.5 0.0;
8990             target: "clip";
8991             after: "show4";
8992          }
8993          program { name: "show4";
8994             action: STATE_SET "default" 0.0;
8995             in: 0.5 0.0;
8996             transition: DECELERATE 0.5;
8997             target: "glow";
8998             after: "show";
8999          }
9000          program { name: "focused";
9001             signal: "elm,action,focus";
9002             source: "elm";
9003             action: STATE_SET "focused" 0.0;
9004             target: "clip2";
9005          }
9006          program { name: "unfocused";
9007             signal: "elm,action,unfocus";
9008             source: "elm";
9009             action: STATE_SET "default" 0.0;
9010             target: "clip2";
9011          }
9012       }
9013    }
9014
9015    group { name: "elm/entry/selection/default";
9016       parts {
9017          part { name: "bg";
9018             type: RECT;
9019             mouse_events: 0;
9020             description { state: "default" 0.0;
9021                color: 128 128 128 128;
9022             }
9023          }
9024       }
9025    }
9026
9027    group { name: "elm/entry/anchor/default";
9028       parts {
9029          part { name: "bg";
9030             type: RECT;
9031             mouse_events: 0;
9032             description { state: "default" 0.0;
9033                color: 128 0 0 64;
9034             }
9035          }
9036       }
9037    }
9038
9039 ///////////////////////////////////////////////////////////////////////////////
9040   group { name: "elm/bubble/top_left/default";
9041     alias: "elm/bubble/base/default";
9042     images {
9043       image: "bubble_3.png" COMP;
9044       image: "bubble_4.png" COMP;
9045       image: "bubble_shine3.png" COMP;
9046       image: "bubble_shine4.png" COMP;
9047     }
9048     parts {
9049       part { name: "event";
9050          type: RECT;
9051          description {
9052             state: "default" 0.0;
9053             color: 0 0 0 0;
9054          }
9055       }
9056       part { name: "elm.swallow.icon";
9057         type: SWALLOW;
9058         description { state: "default" 0.0;
9059           fixed: 1 1;
9060           visible: 0;
9061           align: 0.0 0.0;
9062           aspect: 1.0 1.0;
9063           aspect_preference: VERTICAL;
9064           rel1 {
9065             relative: 0.0 0.0;
9066             offset: 4 4;
9067           }
9068           rel2 {
9069             to_y: "elm.text";
9070             relative: 0.0 1.0;
9071             offset: 4 -1;
9072           }
9073         }
9074         description { state: "visible" 0.0;
9075           inherit: "default" 0.0;
9076           visible: 1;
9077         }
9078       }
9079       part { name: "elm.text";
9080         type: TEXT;
9081         mouse_events:   0;
9082         scale: 1;
9083         description { state: "default" 0.0;
9084           align: 0.0 0.0;
9085           fixed: 0 1;
9086           rel1 {
9087             to_x: "elm.swallow.icon";
9088             relative: 1.0 0.0;
9089             offset: 4 4;
9090           }
9091           rel2 {
9092             to_x: "elm.info";
9093             relative: 0.0 0.0;
9094             offset: -5 4;
9095           }
9096           color: 0 0 0 255;
9097           text {
9098             font: "Sans:style=Bold,Edje-Vera-Bold";
9099             size: 10;
9100             min: 0 1;
9101             max: 0 1;
9102             align: 0.0 0.0;
9103           }
9104         }
9105       }
9106       part { name: "elm.info";
9107         type: TEXT;
9108         mouse_events:   0;
9109         scale: 1;
9110         description { state: "default" 0.0;
9111           align: 1.0 0.0;
9112           fixed: 1 1;
9113           rel1 {
9114             relative: 1.0 0.0;
9115             offset: -5 4;
9116           }
9117           rel2 {
9118             relative: 1.0 0.0;
9119             offset: -5 4;
9120           }
9121           color: 0 0 0 64;
9122           text {
9123             font: "Sans:style=Bold,Edje-Vera-Bold";
9124             size: 10;
9125             min: 1 1;
9126             max: 1 1;
9127             align: 1.0 0.0;
9128           }
9129         }
9130       }
9131       part { name: "base0";
9132         mouse_events:  0;
9133         description { state: "default" 0.0;
9134           rel1 {
9135             to_y: "elm.swallow.icon";
9136             relative: 0.0 1.0;
9137             offset: 0 0;
9138           }
9139           image {
9140             normal: "bubble_3.png";
9141             border: 36 11 18 9;
9142           }
9143           image.middle: SOLID;
9144           fill.smooth: 0;
9145         }
9146         description { state: "rtl" 0.0;
9147            inherit: "default" 0.0;
9148            image {
9149               normal: "bubble_4.png";
9150               border: 11 36 18 9;
9151            }
9152         }
9153       }
9154       part { name: "elm.swallow.content";
9155         type: SWALLOW;
9156         description { state: "default" 0.0;
9157           rel1 {
9158             to: "base0";
9159             offset: 9 16;
9160           }
9161           rel2 {
9162             to: "base0";
9163             offset: -10 -9;
9164           }
9165         }
9166       }
9167       part { name: "shine";
9168         mouse_events:  0;
9169         description { state:    "default" 0.0;
9170           rel1 {
9171             to: "base0";
9172             offset: 5 4;
9173           }
9174           rel2 {
9175             to: "base0";
9176             relative: 1.0 0.5;
9177             offset: -6 7;
9178           }
9179           image {
9180             normal: "bubble_shine3.png";
9181             border: 36 5 14 0;
9182           }
9183           fill.smooth: 0;
9184         }
9185         description { state: "rtl" 0.0;
9186            inherit: "default" 0.0;
9187            image {
9188               normal: "bubble_shine4.png";
9189               border: 5 36 14 0;
9190            }
9191         }
9192       }
9193     }
9194     programs {
9195       program {
9196         name: "icon_show";
9197         signal: "elm,state,icon,visible";
9198         source: "elm";
9199         action: STATE_SET "visible" 0.0;
9200         target: "elm.swallow.icon";
9201       }
9202       program {
9203         name: "icon_hide";
9204         signal: "elm,state,icon,hidden";
9205         source: "elm";
9206         action: STATE_SET "default" 0.0;
9207         target: "elm.swallow.icon";
9208       }
9209       program { name: "to_rtl";
9210          signal: "edje,state,rtl";
9211          source: "edje";
9212          action: STATE_SET "rtl" 0.0;
9213          target: "base0";
9214          target: "shine";
9215       }
9216       program { name: "to_ltr";
9217          signal: "edje,state,ltr";
9218          source: "edje";
9219          action: STATE_SET "default" 0.0;
9220          target: "base0";
9221          target: "shine";
9222       }
9223     }
9224   }
9225
9226   group { name: "elm/bubble/top_right/default";
9227     images {
9228       image: "bubble_3.png" COMP;
9229       image: "bubble_4.png" COMP;
9230       image: "bubble_shine3.png" COMP;
9231       image: "bubble_shine4.png" COMP;
9232     }
9233     parts {
9234       part { name: "event";
9235          type: RECT;
9236          description {
9237             state: "default" 0.0;
9238             color: 0 0 0 0;
9239          }
9240       }
9241       part { name: "elm.swallow.icon";
9242         type: SWALLOW;
9243         description { state: "default" 0.0;
9244           fixed: 1 1;
9245           visible: 0;
9246           align: 1.0 0.0;
9247           aspect: 1.0 1.0;
9248           aspect_preference: VERTICAL;
9249           rel1 {
9250             relative: 1.0 0.0;
9251             offset: -5 4;
9252           }
9253           rel2 {
9254             to_y: "elm.text";
9255             relative: 1.0 1.0;
9256             offset: -5 -1;
9257           }
9258         }
9259         description { state: "visible" 0.0;
9260           inherit: "default" 0.0;
9261           visible: 1;
9262         }
9263       }
9264       part { name: "elm.text";
9265         type: TEXT;
9266         mouse_events:   0;
9267         scale: 1;
9268         description { state: "default" 0.0;
9269           align: 0.0 0.0;
9270           fixed: 0 1;
9271           rel1 {
9272             relative: 0.0 0.0;
9273             offset: 4 4;
9274           }
9275           rel2 {
9276             to_x: "elm.info";
9277             relative: 0.0 0.0;
9278             offset: -5 4;
9279           }
9280           color: 0 0 0 255;
9281           text {
9282             font: "Sans:style=Bold,Edje-Vera-Bold";
9283             size: 10;
9284             min: 0 1;
9285             max: 0 1;
9286             align: 0.0 0.0;
9287           }
9288         }
9289       }
9290       part { name: "elm.info";
9291         type: TEXT;
9292         mouse_events:   0;
9293         scale: 1;
9294         description { state: "default" 0.0;
9295           align: 1.0 0.0;
9296           fixed: 1 1;
9297           rel1 {
9298             relative: 1.0 0.0;
9299             offset: -5 4;
9300           }
9301           rel2 {
9302             to_x: "elm.swallow.icon";
9303             relative: 0.0 0.0;
9304             offset: -5 4;
9305           }
9306           color: 0 0 0 64;
9307           text {
9308             font: "Sans:style=Bold,Edje-Vera-Bold";
9309             size: 10;
9310             min: 1 1;
9311             max: 1 1;
9312             align: 1.0 0.0;
9313           }
9314         }
9315       }
9316       part { name: "base0";
9317         mouse_events:  0;
9318         description { state: "default" 0.0;
9319           rel1 {
9320             to_y: "elm.swallow.icon";
9321             relative: 0.0 1.0;
9322             offset: 0 0;
9323           }
9324           image {
9325             normal: "bubble_4.png";
9326             border: 11 36 18 9;
9327           }
9328           image.middle: SOLID;
9329           fill.smooth: 0;
9330         }
9331         description { state: "rtl" 0.0;
9332            inherit: "default" 0.0;
9333            image {
9334               normal: "bubble_3.png";
9335               border: 36 11 18 9;
9336            }
9337         }
9338       }
9339       part { name: "elm.swallow.content";
9340         type: SWALLOW;
9341         description { state: "default" 0.0;
9342           rel1 {
9343             to: "base0";
9344             offset: 9 16;
9345           }
9346           rel2 {
9347             to: "base0";
9348             offset: -10 -9;
9349           }
9350         }
9351       }
9352       part { name: "shine";
9353         mouse_events:  0;
9354         description { state:    "default" 0.0;
9355           rel1 {
9356             to: "base0";
9357             offset: 5 4;
9358           }
9359           rel2 {
9360             to: "base0";
9361             relative: 1.0 0.5;
9362             offset: -6 7;
9363           }
9364           image {
9365             normal: "bubble_shine4.png";
9366             border: 5 36 14 0;
9367           }
9368           fill.smooth: 0;
9369         }
9370         description { state: "rtl" 0.0;
9371            inherit: "default" 0.0;
9372            image {
9373               normal: "bubble_shine3.png";
9374               border: 36 5 14 0;
9375            }
9376         }
9377       }
9378     }
9379     programs {
9380       program {
9381         name: "icon_show";
9382         signal: "elm,state,icon,visible";
9383         source: "elm";
9384         action: STATE_SET "visible" 0.0;
9385         target: "elm.swallow.icon";
9386       }
9387       program {
9388         name: "icon_hide";
9389         signal: "elm,state,icon,hidden";
9390         source: "elm";
9391         action: STATE_SET "default" 0.0;
9392         target: "elm.swallow.icon";
9393       }
9394       program { name: "to_rtl";
9395          signal: "edje,state,rtl";
9396          source: "edje";
9397          action: STATE_SET "rtl" 0.0;
9398          target: "base0";
9399          target: "shine";
9400       }
9401       program { name: "to_ltr";
9402          signal: "edje,state,ltr";
9403          source: "edje";
9404          action: STATE_SET "default" 0.0;
9405          target: "base0";
9406          target: "shine";
9407       }
9408     }
9409   }
9410
9411   group { name: "elm/bubble/bottom_left/default";
9412     images {
9413       image: "bubble_1.png" COMP;
9414       image: "bubble_2.png" COMP;
9415       image: "bubble_shine.png" COMP;
9416     }
9417     parts {
9418       part { name: "event";
9419          type: RECT;
9420          description {
9421             state: "default" 0.0;
9422             color: 0 0 0 0;
9423          }
9424       }
9425       part { name: "elm.swallow.icon";
9426         type: SWALLOW;
9427         description { state: "default" 0.0;
9428           fixed: 1 1;
9429           visible: 0;
9430           align: 0.0 1.0;
9431           aspect: 1.0 1.0;
9432           aspect_preference: VERTICAL;
9433           rel1 {
9434             to_y: "elm.text";
9435             relative: 0.0 0.0;
9436             offset: 4 0;
9437           }
9438           rel2 {
9439             relative: 0.0 1.0;
9440             offset: 4 -5;
9441           }
9442         }
9443         description { state: "visible" 0.0;
9444           inherit: "default" 0.0;
9445           visible: 1;
9446         }
9447       }
9448       part { name: "elm.text";
9449         type: TEXT;
9450         mouse_events:   0;
9451         scale: 1;
9452         description { state: "default" 0.0;
9453           align: 0.0 1.0;
9454           fixed: 0 1;
9455           rel1 {
9456             to_x: "elm.swallow.icon";
9457             relative: 1.0 1.0;
9458             offset: 4 -5;
9459           }
9460           rel2 {
9461             to_x: "elm.info";
9462             relative: 0.0 1.0;
9463             offset: -5 -5;
9464           }
9465           color: 0 0 0 255;
9466           text {
9467             font: "Sans:style=Bold,Edje-Vera-Bold";
9468             size: 10;
9469             min: 0 1;
9470             max: 0 1;
9471             align: 0.0 1.0;
9472           }
9473         }
9474       }
9475       part { name: "elm.info";
9476         type: TEXT;
9477         mouse_events:   0;
9478         scale: 1;
9479         description { state: "default" 0.0;
9480           align: 1.0 1.0;
9481           fixed: 1 1;
9482           rel1 {
9483             relative: 1.0 1.0;
9484             offset: -5 -5;
9485           }
9486           rel2 {
9487             relative: 1.0 1.0;
9488             offset: -5 -5;
9489           }
9490           color: 0 0 0 64;
9491           text {
9492             font: "Sans:style=Bold,Edje-Vera-Bold";
9493             size: 10;
9494             min: 1 1;
9495             max: 1 1;
9496             align: 1.0 1.0;
9497           }
9498         }
9499       }
9500       part { name: "base0";
9501         mouse_events:  0;
9502         description { state: "default" 0.0;
9503           rel2 {
9504             to_y: "elm.swallow.icon";
9505             relative: 1.0 0.0;
9506             offset: -1 -1;
9507           }
9508           image {
9509             normal: "bubble_1.png";
9510             border: 36 11 10 19;
9511           }
9512           image.middle: SOLID;
9513           fill.smooth: 0;
9514         }
9515         description { state: "rtl" 0.0;
9516            inherit: "default" 0.0;
9517            image {
9518               normal: "bubble_2.png";
9519               border: 11 36 10 19;
9520            }
9521         }
9522       }
9523       part { name: "elm.swallow.content";
9524         type: SWALLOW;
9525         description { state: "default" 0.0;
9526           rel1 {
9527             to: "base0";
9528             offset: 9 8;
9529           }
9530           rel2 {
9531             to: "base0";
9532             offset: -10 -17;
9533           }
9534         }
9535       }
9536       part { name: "shine";
9537         mouse_events:  0;
9538         description { state:    "default" 0.0;
9539           rel1 {
9540             to: "base0";
9541             offset: 5 4;
9542           }
9543           rel2 {
9544             to: "base0";
9545             relative: 1.0 0.5;
9546             offset: -6 -16;
9547           }
9548           image {
9549             normal: "bubble_shine.png";
9550             border: 5 5 5 0;
9551           }
9552           fill.smooth: 0;
9553         }
9554         description { state: "rtl" 0.0;
9555            inherit: "default" 0.0;
9556            image {
9557               normal: "bubble_shine4.png";
9558               border: 5 36 14 0;
9559            }
9560         }
9561       }
9562     }
9563     programs {
9564       program {
9565         name: "icon_show";
9566         signal: "elm,state,icon,visible";
9567         source: "elm";
9568         action: STATE_SET "visible" 0.0;
9569         target: "elm.swallow.icon";
9570       }
9571       program {
9572         name: "icon_hide";
9573         signal: "elm,state,icon,hidden";
9574         source: "elm";
9575         action: STATE_SET "default" 0.0;
9576         target: "elm.swallow.icon";
9577       }
9578       program { name: "to_rtl";
9579          signal: "edje,state,rtl";
9580          source: "edje";
9581          action: STATE_SET "rtl" 0.0;
9582          target: "base0";
9583       }
9584       program { name: "to_ltr";
9585          signal: "edje,state,ltr";
9586          source: "edje";
9587          action: STATE_SET "default" 0.0;
9588          target: "base0";
9589       }
9590     }
9591   }
9592
9593   group { name: "elm/bubble/bottom_right/default";
9594     images {
9595       image: "bubble_1.png" COMP;
9596       image: "bubble_2.png" COMP;
9597       image: "bubble_shine.png" COMP;
9598     }
9599     parts {
9600       part { name: "event";
9601          type: RECT;
9602          description {
9603             state: "default" 0.0;
9604             color: 0 0 0 0;
9605          }
9606       }
9607       part { name: "elm.swallow.icon";
9608         type: SWALLOW;
9609         description { state: "default" 0.0;
9610           fixed: 1 1;
9611           visible: 0.0;
9612           align: 1.0 1.0;
9613           aspect: 1.0 1.0;
9614           aspect_preference: VERTICAL;
9615           rel1 {
9616             to_y: "elm.text";
9617             relative: 1.0 0.0;
9618             offset: -5 0;
9619           }
9620           rel2 {
9621             relative: 1.0 1.0;
9622             offset: -5 -5;
9623           }
9624         }
9625         description { state: "visible" 0.0;
9626           inherit: "default" 0.0;
9627           visible: 1;
9628         }
9629       }
9630       part { name: "elm.text";
9631         type: TEXT;
9632         mouse_events:   0;
9633         scale: 1;
9634         description { state: "default" 0.0;
9635           align: 0.0 1.0;
9636           fixed: 0 1;
9637           rel1 {
9638             relative: 0.0 1.0;
9639             offset: 4 -5;
9640           }
9641           rel2 {
9642             to_x: "elm.info";
9643             relative: 0.0 1.0;
9644             offset: -5 -5;
9645           }
9646           color: 0 0 0 255;
9647           text {
9648             font: "Sans:style=Bold,Edje-Vera-Bold";
9649             size: 10;
9650             min: 0 1;
9651             max: 0 1;
9652             align: 0.0 1.0;
9653           }
9654         }
9655       }
9656       part { name: "elm.info";
9657         type: TEXT;
9658         mouse_events:   0;
9659         scale: 1;
9660         description { state: "default" 0.0;
9661           align: 1.0 1.0;
9662           fixed: 1 1;
9663           rel1 {
9664             relative: 1.0 1.0;
9665             offset: -5 -5;
9666           }
9667           rel2 {
9668             to_x: "elm.swallow.icon";
9669             relative: 0.0 1.0;
9670             offset: -5 -5;
9671           }
9672           color: 0 0 0 64;
9673           text {
9674             font: "Sans:style=Bold,Edje-Vera-Bold";
9675             size: 10;
9676             min: 1 1;
9677             max: 1 1;
9678             align: 1.0 1.0;
9679           }
9680         }
9681       }
9682       part { name: "base0";
9683         mouse_events:  0;
9684         description { state: "default" 0.0;
9685           rel2 {
9686             to_y: "elm.swallow.icon";
9687             relative: 1.0 0.0;
9688             offset: -1 -1;
9689           }
9690           image {
9691             normal: "bubble_2.png";
9692             border: 11 36 10 19;
9693           }
9694           image.middle: SOLID;
9695           fill.smooth: 0;
9696         }
9697         description { state: "rtl" 0.0;
9698            inherit: "default" 0.0;
9699            image {
9700               normal: "bubble_1.png";
9701               border: 36 11 10 19;
9702            }
9703         }
9704       }
9705       part { name: "elm.swallow.content";
9706         type: SWALLOW;
9707         description { state: "default" 0.0;
9708           rel1 {
9709             to: "base0";
9710             offset: 9 8;
9711           }
9712           rel2 {
9713             to: "base0";
9714             offset: -10 -17;
9715           }
9716         }
9717       }
9718       part { name: "shine";
9719         mouse_events:  0;
9720         description { state:    "default" 0.0;
9721           rel1 {
9722             to: "base0";
9723             offset: 5 4;
9724           }
9725           rel2 {
9726             to: "base0";
9727             relative: 1.0 0.5;
9728             offset: -6 -16;
9729           }
9730           image {
9731             normal: "bubble_shine.png";
9732             border: 5 5 5 0;
9733           }
9734           fill.smooth: 0;
9735         }
9736         description { state: "rtl" 0.0;
9737            inherit: "default" 0.0;
9738            image {
9739               normal: "bubble_shine3.png";
9740               border: 36 5 14 0;
9741            }
9742         }
9743       }
9744     }
9745     programs {
9746       program {
9747         name: "icon_show";
9748         signal: "elm,state,icon,visible";
9749         source: "elm";
9750         action: STATE_SET "visible" 0.0;
9751         target: "elm.swallow.icon";
9752       }
9753       program {
9754         name: "icon_hide";
9755         signal: "elm,state,icon,hidden";
9756         source: "elm";
9757         action: STATE_SET "default" 0.0;
9758         target: "elm.swallow.icon";
9759       }
9760       program { name: "to_rtl";
9761          signal: "edje,state,rtl";
9762          source: "edje";
9763          action: STATE_SET "rtl" 0.0;
9764          target: "base0";
9765       }
9766       program { name: "to_ltr";
9767          signal: "edje,state,ltr";
9768          source: "edje";
9769          action: STATE_SET "default" 0.0;
9770          target: "base0";
9771       }
9772     }
9773   }
9774
9775 ///////////////////////////////////////////////////////////////////////////////
9776    group { name: "elm/photo/base/default";
9777       images {
9778          image: "frame_1.png" COMP;
9779          image: "frame_2.png" COMP;
9780          image: "dia_grad.png" COMP;
9781          image: "head.png" COMP;
9782       }
9783       parts {
9784          part { name: "base0";
9785             mouse_events:  0;
9786             description { state: "default" 0.0;
9787                image.normal: "dia_grad.png";
9788                rel1.to: "over";
9789                rel2.to: "over";
9790                fill {
9791                   smooth: 0;
9792                   size {
9793                      relative: 0.0 1.0;
9794                      offset: 64 0;
9795                   }
9796                }
9797             }
9798          }
9799          part { name: "base";
9800             mouse_events:  0;
9801             description { state:    "default" 0.0;
9802                image {
9803                   normal: "frame_2.png";
9804                   border: 5 5 32 26;
9805                   middle: 0;
9806                }
9807                fill.smooth : 0;
9808             }
9809          }
9810          part { name: "head";
9811             mouse_events:  0;
9812             description { state:    "default" 0.0;
9813                rel1.offset: 4 4;
9814                rel2.offset: -5 -5;
9815                aspect: 1.0 1.0;
9816                aspect_preference: BOTH;
9817                image.normal: "head.png";
9818             }
9819          }
9820          part { name: "clip";
9821             mouse_events:  0;
9822             type: RECT;
9823             description { state:    "default" 0.0;
9824                rel1.offset: 4 4;
9825                rel2.offset: -5 -5;
9826                color: 255 255 255 255;
9827             }
9828          }
9829          part { name: "elm.swallow.content";
9830             type: SWALLOW;
9831             clip_to: "clip";
9832             description { state: "default" 0.0;
9833                rel1.offset: 4 4;
9834                rel2.offset: -5 -5;
9835             }
9836          }
9837          part { name: "over";
9838             mouse_events:  0;
9839             description { state:    "default" 0.0;
9840                rel1.offset: 4 4;
9841                rel2.offset: -5 -5;
9842                image {
9843                   normal: "frame_1.png";
9844                   border: 2 2 28 22;
9845                   middle: 0;
9846                }
9847                fill.smooth: 0;
9848             }
9849          }
9850      }
9851    }
9852
9853    group { name: "elm/photo/base/shadow";
9854               images {
9855                         image: "shadow.png" COMP;
9856                         image: "black.png" COMP;
9857               }
9858               script {
9859               public message(Msg_Type:type, id, ...) {
9860                 if( (type==MSG_INT_SET) && (id==0) )
9861                 {
9862                     new w;
9863                     new h;
9864
9865                     custom_state(PART:"size", "default", 0.0);
9866
9867                     w = getarg(2);
9868                     h = getarg(3);
9869                     set_state_val(PART:"size", STATE_REL1_OFFSET, - w/2, - h/2);
9870                     set_state_val(PART:"size", STATE_REL2_OFFSET, w/2 + 1, h/2 + 1);
9871                     set_state(PART:"size", "custom", 0.0);
9872                 }
9873             }
9874             }
9875               parts {
9876               part { name: "size";
9877                     type: SWALLOW;
9878                     description { state: "default" 0.0;
9879                             rel1.relative: 0.5 0.5;
9880                             rel2.relative: 0.5 0.5;
9881                     }
9882                  }
9883               part {
9884                 name: "shadow";
9885                 type: IMAGE;
9886                 repeat_events: 1;
9887                 description {
9888                     state: "default" 0.0;
9889                     rel1.to: "size";
9890                     rel2.to: "size";
9891                     rel1.relative: -0.06 -0.06;
9892                     rel2.relative: 1.07 1.07;
9893                     image.normal: "shadow.png";
9894                 }
9895             }
9896   
9897
9898                  part { name: "elm.swallow.content";
9899                     type: SWALLOW;
9900                     description { state: "default" 0.0;
9901                     rel1.offset: 3 3;
9902                     rel2.offset: -3 -3;
9903                             fixed: 1 1;
9904                     }
9905                  }
9906      
9907                  part {
9908                 name: "border";
9909                 type: IMAGE;
9910                 repeat_events: 1;
9911                 description {
9912                     state: "default" 0.0;
9913                     visible: 1;
9914                     color: 0 0 0 255;
9915                     rel1.to: "size";
9916                     rel2.to: "size";
9917                     image.normal: "black.png";
9918                     image.border: 1 1 1 1;
9919                     image.middle: 0;
9920                 }
9921             }
9922                  }
9923    }
9924
9925 ///////////////////////////////////////////////////////////////////////////////
9926    group { name: "elm/thumb/base/default";
9927       images {
9928          image: "frame_1.png" COMP;
9929          image: "frame_2.png" COMP;
9930          image: "dia_grad.png" COMP;
9931          image: "busy-1.png" COMP;
9932          image: "busy-2.png" COMP;
9933          image: "busy-3.png" COMP;
9934          image: "busy-4.png" COMP;
9935          image: "busy-5.png" COMP;
9936          image: "busy-6.png" COMP;
9937          image: "busy-7.png" COMP;
9938          image: "busy-8.png" COMP;
9939          image: "busy-9.png" COMP;
9940       }
9941       parts {
9942          part { name: "base0";
9943             mouse_events:  0;
9944             description { state:        "default" 0.0;
9945                image.normal: "dia_grad.png";
9946                rel1.to: "over";
9947                rel2.to: "over";
9948                fill {
9949                   smooth: 0;
9950                   size {
9951                      relative: 0.0 1.0;
9952                      offset: 64 0;
9953                   }
9954                }
9955             }
9956          }
9957          part { name: "base";
9958             mouse_events:  0;
9959             description { state:        "default" 0.0;
9960                image {
9961                   normal: "frame_2.png";
9962                   border: 5 5 32 26;
9963                   middle: 0;
9964                }
9965                fill.smooth : 0;
9966             }
9967          }
9968          part { name: "clip";
9969             mouse_events:  0;
9970             type: RECT;
9971             description { state:        "default" 0.0;
9972                rel1.offset: 4 4;
9973                rel2.offset: -5 -5;
9974                color: 255 255 255 255;
9975             }
9976          }
9977          part { name: "elm.swallow.content";
9978             type: SWALLOW;
9979             clip_to: "clip";
9980             description { state:        "default" 0.0;
9981                rel1.offset: 4 4;
9982                rel2.offset: -5 -5;
9983             }
9984          }
9985          part { name: "progress";
9986             mouse_events: 0;
9987
9988             clip_to: "clip";
9989             description { state:        "default" 0.0;
9990                min: 32 32;
9991                max: 32 32;
9992                visible: 0;
9993                aspect: 1.0 1.0;
9994                aspect_preference: BOTH;
9995             }
9996             description { state:        "pulse" 0.0;
9997                inherit: "default" 0.0;
9998                visible: 1;
9999                image {
10000                   normal: "busy-9.png";
10001                   tween:  "busy-1.png";
10002                   tween:  "busy-2.png";
10003                   tween:  "busy-3.png";
10004                   tween:  "busy-4.png";
10005                   tween:  "busy-5.png";
10006                   tween:  "busy-6.png";
10007                   tween:  "busy-7.png";
10008                   tween:  "busy-8.png";
10009                   border: 7 7 7 7;
10010                }
10011             }
10012          }
10013          part { name: "over";
10014             mouse_events:  0;
10015             description { state:        "default" 0.0;
10016                rel1.offset: 4 4;
10017                rel2.offset: -5 -5;
10018                image {
10019                   normal: "frame_1.png";
10020                   border: 2 2 28 22;
10021                   middle: 0;
10022                }
10023                fill.smooth: 0;
10024             }
10025          }
10026          programs {
10027             program { name: "start_pulse";
10028                signal: "elm,state,pulse,start";
10029                source: "elm";
10030                action: STATE_SET "pulse" 0.0;
10031                target: "progress";
10032                transition: LINEAR 0.5;
10033                after: "start_pulse";
10034             }
10035             program { name: "stop_pulse";
10036                signal: "elm,state,pulse,stop";
10037                source: "elm";
10038                action: STATE_SET "default" 0.0;
10039                target: "progress";
10040             }
10041          }
10042       }
10043    }
10044
10045    group { name: "elm/thumb/base/noframe";
10046       images {
10047          image: "busy-1.png" COMP;
10048          image: "busy-2.png" COMP;
10049          image: "busy-3.png" COMP;
10050          image: "busy-4.png" COMP;
10051          image: "busy-5.png" COMP;
10052          image: "busy-6.png" COMP;
10053          image: "busy-7.png" COMP;
10054          image: "busy-8.png" COMP;
10055          image: "busy-9.png" COMP;
10056       }
10057       parts {
10058          part { name: "elm.swallow.content";
10059             type: SWALLOW;
10060             description { state: "default" 0.0;
10061                rel1.offset: 4 4;
10062                rel2.offset: -5 -5;
10063             }
10064          }
10065          part { name: "progress";
10066             mouse_events: 0;
10067             description { state:        "default" 0.0;
10068                min: 32 32;
10069                max: 32 32;
10070                visible: 0;
10071                aspect: 1.0 1.0;
10072                aspect_preference: BOTH;
10073             }
10074             description { state:        "pulse" 0.0;
10075                inherit: "default" 0.0;
10076                visible: 1;
10077                image {
10078                   normal: "busy-9.png";
10079                   tween:  "busy-1.png";
10080                   tween:  "busy-2.png";
10081                   tween:  "busy-3.png";
10082                   tween:  "busy-4.png";
10083                   tween:  "busy-5.png";
10084                   tween:  "busy-6.png";
10085                   tween:  "busy-7.png";
10086                   tween:  "busy-8.png";
10087                   border: 7 7 7 7;
10088                }
10089             }
10090          }
10091          programs {
10092             program { name: "start_pulse";
10093                signal: "elm,state,pulse,start";
10094                source: "elm";
10095                action: STATE_SET "pulse" 0.0;
10096                target: "progress";
10097                transition: LINEAR 0.5;
10098                after: "start_pulse";
10099             }
10100             program { name: "stop_pulse";
10101                signal: "elm,state,pulse,stop";
10102                source: "elm";
10103                action: STATE_SET "default" 0.0;
10104                target: "progress";
10105             }
10106          }
10107       }
10108    }
10109
10110
10111 ///////////////////////////////////////////////////////////////////////////////
10112    group { name: "elm/icon/home/default"; alias: "elm/icon/toolbar/home/default"; min: 32 32;
10113       images.image: "icon_home.png" COMP; parts { part { name: "base";
10114          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10115             image.normal: "icon_home.png"; } } } }
10116    group { name: "elm/icon/close/default"; alias: "elm/icon/toolbar/close/default"; min: 32 32;
10117       images.image: "icon_close.png" COMP; parts { part { name: "base";
10118          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10119             image.normal: "icon_close.png"; } } } }
10120    group { name: "elm/icon/apps/default"; alias: "elm/icon/toolbar/apps/default"; min: 32 32;
10121       images.image: "icon_apps.png" COMP; parts { part { name: "base";
10122          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10123             image.normal: "icon_apps.png"; } } } }
10124    group { name: "elm/icon/arrow_up/default"; alias: "elm/icon/toolbar/arrow_up/default"; min: 32 32;
10125       images.image: "icon_arrow_up.png" COMP; parts { part { name: "base";
10126          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10127             image.normal: "icon_arrow_up.png"; } } } }
10128    group { name: "elm/icon/arrow_down/default";
10129            alias: "elm/icon/toolbar/arrow_down/default";
10130            alias: "elm/icon/toolbar/more_menu/default"; min: 32 32;
10131       images.image: "icon_arrow_down.png" COMP; parts { part { name: "base";
10132          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10133             image.normal: "icon_arrow_down.png"; } } } }
10134    group { name: "elm/icon/arrow_left/default"; alias: "elm/icon/toolbar/arrow_left/default"; min: 32 32;
10135       images.image: "icon_arrow_left.png" COMP; parts { part { name: "base";
10136          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10137             image.normal: "icon_arrow_left.png"; } } } }
10138    group { name: "elm/icon/arrow_right/default"; alias: "elm/icon/toolbar/arrow_right/default"; min: 32 32;
10139       images.image: "icon_arrow_right.png" COMP; parts { part { name: "base";
10140          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10141             image.normal: "icon_arrow_right.png"; } } } }
10142    group { name: "elm/icon/chat/default"; alias: "elm/icon/toolbar/chat/default"; min: 32 32;
10143       images.image: "icon_chat.png" COMP; parts { part { name: "base";
10144          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10145             image.normal: "icon_chat.png"; } } } }
10146    group { name: "elm/icon/clock/default"; alias: "elm/icon/toolbar/clock/default"; min: 32 32;
10147       images.image: "icon_clock.png" COMP; parts { part { name: "base";
10148          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10149             image.normal: "icon_clock.png"; } } } }
10150    group { name: "elm/icon/delete/default"; alias: "elm/icon/toolbar/delete/default"; min: 32 32;
10151       images.image: "icon_delete.png" COMP; parts { part { name: "base";
10152          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10153             image.normal: "icon_delete.png"; } } } }
10154    group { name: "elm/icon/edit/default"; alias: "elm/icon/toolbar/edit/default"; min: 32 32;
10155       images.image: "icon_edit.png" COMP; parts { part { name: "base";
10156          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10157             image.normal: "icon_edit.png"; } } } }
10158    group { name: "elm/icon/refresh/default"; alias: "elm/icon/toolbar/refresh/default"; min: 32 32;
10159       images.image: "icon_refresh.png" COMP; parts { part { name: "base";
10160          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10161             image.normal: "icon_refresh.png"; } } } }
10162    group { name: "elm/icon/folder/default"; alias: "elm/icon/toolbar/folder/default"; min: 32 32;
10163       images.image: "icon_folder.png" COMP; parts { part { name: "base";
10164          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10165             image.normal: "icon_folder.png"; } } } }
10166    group { name: "elm/icon/file/default"; alias: "elm/icon/toolbar/file/default"; min: 32 32;
10167       images.image: "icon_file.png" COMP; parts { part { name: "base";
10168          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10169             image.normal: "icon_file.png"; } } } }
10170 ///////////////////////////////////////////////////////////////////////////////
10171    group { name: "elm/icon/menu/home/default"; min: 24 24; max: 24 24;
10172       images.image: "icon_home.png" COMP; parts { part { name: "base";
10173          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10174             image.normal: "icon_home.png"; } } } }
10175    group { name: "elm/icon/menu/close/default"; min: 24 24; max: 24 24;
10176       images.image: "icon_close.png" COMP; parts { part { name: "base";
10177          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10178             image.normal: "icon_close.png"; } } } }
10179    group { name: "elm/icon/menu/apps/default"; min: 24 24; max: 24 24;
10180       images.image: "icon_apps.png" COMP; parts { part { name: "base";
10181          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10182             image.normal: "icon_apps.png"; } } } }
10183    group { name: "elm/icon/menu/arrow_up/default"; min: 24 24; max: 24 24;
10184       images.image: "icon_arrow_up.png" COMP; parts { part { name: "base";
10185          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10186             image.normal: "icon_arrow_up.png"; } } } }
10187    group { name: "elm/icon/menu/arrow_down/default"; min: 24 24; max: 24 24;
10188       images.image: "icon_arrow_down.png" COMP; parts { part { name: "base";
10189          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10190             image.normal: "icon_arrow_down.png"; } } } }
10191    group { name: "elm/icon/menu/arrow_left/default"; min: 24 24; max: 24 24;
10192       images.image: "icon_arrow_left.png" COMP; parts { part { name: "base";
10193          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10194             image.normal: "icon_arrow_left.png"; } } } }
10195    group { name: "elm/icon/menu/arrow_right/default"; min: 24 24; max: 24 24;
10196       images.image: "icon_arrow_right.png" COMP; parts { part { name: "base";
10197          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10198             image.normal: "icon_arrow_right.png"; } } } }
10199    group { name: "elm/icon/menu/chat/default"; min: 24 24; max: 24 24;
10200       images.image: "icon_chat.png" COMP; parts { part { name: "base";
10201          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10202             image.normal: "icon_chat.png"; } } } }
10203    group { name: "elm/icon/menu/clock/default"; min: 24 24; max: 24 24;
10204       images.image: "icon_clock.png" COMP; parts { part { name: "base";
10205          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10206             image.normal: "icon_clock.png"; } } } }
10207    group { name: "elm/icon/menu/delete/default"; min: 24 24; max: 24 24;
10208       images.image: "icon_delete.png" COMP; parts { part { name: "base";
10209          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10210             image.normal: "icon_delete.png"; } } } }
10211    group { name: "elm/icon/menu/edit/default"; min: 24 24; max: 24 24;
10212       images.image: "icon_edit.png" COMP; parts { part { name: "base";
10213          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10214             image.normal: "icon_edit.png"; } } } }
10215    group { name: "elm/icon/menu/refresh/default"; min: 24 24; max: 24 24;
10216       images.image: "icon_refresh.png" COMP; parts { part { name: "base";
10217          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10218             image.normal: "icon_refresh.png"; } } } }
10219    group { name: "elm/icon/menu/folder/default"; min: 24 24; max: 24 24;
10220       images.image: "icon_folder.png" COMP; parts { part { name: "base";
10221          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10222             image.normal: "icon_folder.png"; } } } }
10223    group { name: "elm/icon/menu/file/default"; min: 24 24; max: 24 24;
10224       images.image: "icon_file.png" COMP; parts { part { name: "base";
10225          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10226             image.normal: "icon_file.png"; } } } }
10227
10228 ///////////////////////////////////////////////////////////////////////////////
10229    group { name: "elm/toolbar/base/default";
10230       images {
10231          image: "bt_dis_base.png" COMP;
10232          image: "bt_dis_hilight.png" COMP;
10233          image: "bt_dis_shine.png" COMP;
10234          image: "icon_left_arrow.png" COMP;
10235          image: "icon_right_arrow.png" COMP;
10236       }
10237       parts {
10238          part { name: "base";
10239             mouse_events: 1;
10240             description { state: "default" 0.0;
10241                rel1 {
10242                   relative: 0.0 0.0;
10243                   offset: 2 2;
10244                }
10245                rel2.offset: -3 -3;
10246                image {
10247                   normal: "bt_dis_base.png";
10248                   border: 4 4 4 4;
10249                }
10250                image.middle: SOLID;
10251             }
10252          }
10253          part { name: "clipper";
10254             type: RECT;
10255             mouse_events: 0;
10256             description {
10257                state: "default" 0.0;
10258                rel1 {
10259                   to: "base";
10260                   offset: 2 2;
10261                }
10262                rel2 {
10263                   to: "base";
10264                   offset: -3 -3;
10265                }
10266             }
10267          }
10268          part { name: "elm.swallow.content";
10269             clip_to: "clipper";
10270             type: SWALLOW;
10271             description {
10272                state: "default" 0.0;
10273                rel1.to: "clipper";
10274                rel2.to: "clipper";
10275             }
10276          }
10277          part { name: "over2";
10278             mouse_events: 0;
10279             description { state: "default" 0.0;
10280                rel1.to: "base";
10281                rel2.to: "base";
10282                image {
10283                   normal: "bt_dis_shine.png";
10284                   border: 4 4 4 4;
10285                }
10286             }
10287          }
10288          part { name: "over1";
10289             mouse_events: 0;
10290             description { state: "default" 0.0;
10291                rel1.to: "base";
10292                rel2.to: "base";
10293                rel2.relative: 1.0 0.5;
10294                image {
10295                   normal: "bt_dis_hilight.png";
10296                   border: 4 4 4 0;
10297                }
10298                color: 255 255 255 128;
10299             }
10300          }
10301          part { name: "left_arrow";
10302             mouse_events: 0;
10303             description { state: "default" 0.0;
10304                image.normal: "icon_left_arrow.png";
10305                aspect: 1.0 1.0;
10306                aspect_preference: VERTICAL;
10307                align: 0.0 0.5;
10308                min: 32 32;
10309                max: 32 32;
10310             }
10311             description { state: "hidden" 0.0;
10312                inherit: "default" 0.0;
10313                visible: 0;
10314                color: 255 255 255 0;
10315             }
10316          }
10317          part { name: "right_arrow";
10318             mouse_events: 0;
10319             description { state: "default" 0.0;
10320                image.normal: "icon_right_arrow.png";
10321                aspect: 1.0 1.0;
10322                aspect_preference: VERTICAL;
10323                align: 1.0 0.5;
10324                min: 32 32;
10325                max: 32 32;
10326             }
10327             description { state: "hidden" 0.0;
10328                inherit: "default" 0.0;
10329                visible: 0;
10330                color: 255 255 255 0;
10331             }
10332          }
10333          part { name: "event";
10334             type: RECT;
10335             mouse_events: 1;
10336             repeat_events: 1;
10337             description { state: "default" 0.0;
10338                color: 0 0 0 0;
10339             }
10340          }
10341       }
10342       programs {
10343          program { name: "sb_hbar_show";
10344             signal: "elm,action,show,hbar";
10345             source: "elm";
10346             action:  STATE_SET "default" 0.0;
10347             transition: LINEAR 0.5;
10348             target: "left_arrow";
10349             target: "right_arrow";
10350          }
10351          program { name: "sb_hbar_hide";
10352             signal: "elm,action,hide,hbar";
10353             source: "elm";
10354             action:  STATE_SET "hidden" 0.0;
10355             target: "left_arrow";
10356             target: "right_arrow";
10357             transition: LINEAR 0.5;
10358          }
10359       }
10360    }
10361
10362    group { name: "elm/toolbar/item/default";
10363        images {
10364            image: "toolbar_sel.png" COMP;
10365        }
10366        data.item: "transition_animation_on" "1";
10367        parts {
10368            part { name: "label2";
10369                type: TEXT;
10370                mouse_events:  0;
10371                scale: 1;
10372                clip_to: "elm.text.clipper";
10373                description { state: "default" 0.0;
10374                    align: 0.5 1.0;
10375                    fixed: 0 1;
10376                    rel1.to: "elm.text";
10377                    rel2.to: "elm.text";
10378                    color: 0 0 0 255;
10379                    text {
10380                        font: "Sans";
10381                        text_source: "elm.text";
10382                        size: 10;
10383                        min: 1 1;
10384                        align: 0.5 0.5;
10385                        text_class: "toolbar_item";
10386                    }
10387                }
10388                description { state: "selected" 0.0;
10389                    inherit: "default" 0.0;
10390                    visible: 0;
10391                }
10392                description { state: "disabled" 0.0;
10393                    inherit: "default" 0.0;
10394                    color: 0 0 0 128;
10395                    color3: 0 0 0 0;
10396                }
10397                description { state: "disabled_visible" 0.0;
10398                    inherit: "default" 0.0;
10399                    color: 0 0 0 128;
10400                    color3: 0 0 0 0;
10401                    visible: 1;
10402                    text.min: 1 1;
10403                }
10404            }
10405            part { name: "label2_new";
10406                type: TEXT;
10407                mouse_events:  0;
10408                scale: 1;
10409                clip_to: "elm.text_new.clipper";
10410                description { state: "default" 0.0;
10411                    align: 0.5 1.0;
10412                    fixed: 0 1;
10413                    rel1.to: "elm.text_new";
10414                    rel2.to: "elm.text_new";
10415                    color: 0 0 0 255;
10416                    text {
10417                        font: "Sans";
10418                        text_source: "elm.text_new";
10419                        size: 10;
10420                        min: 1 1;
10421                        align: 0.5 0.5;
10422                        text_class: "toolbar_item";
10423                    }
10424                }
10425                description { state: "selected" 0.0;
10426                    inherit: "default" 0.0;
10427                    visible: 0;
10428                }
10429                description { state: "disabled" 0.0;
10430                    inherit: "default" 0.0;
10431                    color: 0 0 0 128;
10432                    color3: 0 0 0 0;
10433                }
10434                description { state: "disabled_visible" 0.0;
10435                    inherit: "default" 0.0;
10436                    color: 0 0 0 128;
10437                    color3: 0 0 0 0;
10438                    visible: 1;
10439                    text.min: 1 1;
10440                }
10441            }
10442            part { name: "bg";
10443                mouse_events: 0;
10444                description { state: "default" 0.0;
10445                    visible: 0;
10446                    color: 255 255 255 0;
10447                    image {
10448                        normal: "toolbar_sel.png";
10449                        border: 3 3 0 0;
10450                    }
10451                    image.middle: SOLID;
10452                    fill.smooth: 0;
10453                }
10454                description { state: "selected" 0.0;
10455                    inherit: "default" 0.0;
10456                    visible: 1;
10457                    color: 255 255 255 255;
10458                }
10459                description { state: "disabled" 0.0;
10460                    inherit: "default" 0.0;
10461                    visible: 0;
10462                    color: 255 255 255 0;
10463                }
10464            }
10465            part { name: "elm.swallow.icon";
10466                type: SWALLOW;
10467                clip_to: "elm.icon.clipper";
10468                description { state: "default" 0.0;
10469                    align: 0.5 0.5;
10470                    fixed: 0 0;
10471                    rel1 {
10472                        relative: 0.0 0.0;
10473                        offset: 2 2;
10474                    }
10475                    rel2 {
10476                        to_y: "elm.text";
10477                        relative: 1.0 0.0;
10478                        offset: -3 -1;
10479                    }
10480                    color: 0 0 0 0;
10481                }
10482            }
10483            part { name: "elm.swallow.icon_new";
10484                type: SWALLOW;
10485                clip_to: "elm.icon_new.clipper";
10486                description { state: "default" 0.0;
10487                    align: 0.5 0.5;
10488                    fixed: 0 0;
10489                    rel1 {
10490                        relative: 0.0 0.0;
10491                        offset: 2 2;
10492                    }
10493                    rel2 {
10494                        to_y: "elm.text_new";
10495                        relative: 1.0 0.0;
10496                        offset: -3 -1;
10497                    }
10498                    color: 0 0 0 0;
10499                }
10500            }
10501            part { name: "elm.text";
10502                type: TEXT;
10503                effect: SOFT_SHADOW;
10504                mouse_events:  0;
10505                scale: 1;
10506                clip_to: "elm.text.clipper";
10507                description { state: "default" 0.0;
10508                    align: 0.5 1.0;
10509                    fixed: 0 1;
10510                    rel1 {
10511                        relative: 0.0 1.0;
10512                        offset:   0 -1;
10513                    }
10514                    rel2 {
10515                        relative: 1.0 1.0;
10516                        offset:   -1 -1;
10517                    }
10518                    visible: 0;
10519                    color: 224 224 224 255;
10520                    color3: 0 0 0 32;
10521                    text {
10522                        font: "Sans:style=Bold";
10523                        size: 10;
10524                        min: 1 1;
10525                        align: 0.5 0.5;
10526                        text_class: "toolbar_item";
10527                    }
10528                }
10529                description { state: "selected" 0.0;
10530                    inherit: "default" 0.0;
10531                    visible: 1;
10532                }
10533                description { state: "visible" 0.0;
10534                    inherit: "default" 0.0;
10535                    visible: 1;
10536                    text.min: 1 1;
10537                }
10538                description { state: "disabled" 0.0;
10539                    inherit: "default" 0.0;
10540                    color: 0 0 0 128;
10541                    color3: 0 0 0 0;
10542                }
10543                description { state: "disabled_visible" 0.0;
10544                    inherit: "default" 0.0;
10545                    color: 0 0 0 128;
10546                    color3: 0 0 0 0;
10547                    visible: 1;
10548                    text.min: 1 1;
10549                }
10550            }
10551            part { name: "elm.text_new";
10552                type: TEXT;
10553                effect: SOFT_SHADOW;
10554                mouse_events:  0;
10555                clip_to: "elm.text_new.clipper";
10556                scale: 1;
10557                description { state: "default" 0.0;
10558                    align: 0.5 1.0;
10559                    fixed: 0 1;
10560                    rel1 {
10561                        relative: 0.0 1.0;
10562                        offset:   0 -1;
10563                    }
10564                    rel2 {
10565                        relative: 1.0 1.0;
10566                        offset:   -1 -1;
10567                    }
10568                    visible: 0;
10569                    color: 224 224 224 255;
10570                    color3: 0 0 0 32;
10571                    text {
10572                        font: "Sans:style=Bold";
10573                        size: 10;
10574                        min: 1 1;
10575                        align: 0.5 0.5;
10576                        text_class: "toolbar_item";
10577                    }
10578                }
10579                description { state: "selected" 0.0;
10580                    inherit: "default" 0.0;
10581                    visible: 1;
10582                }
10583                description { state: "visible" 0.0;
10584                    inherit: "default" 0.0;
10585                    visible: 1;
10586                    text.min: 1 1;
10587                }
10588                description { state: "disabled" 0.0;
10589                    inherit: "default" 0.0;
10590                    color: 0 0 0 128;
10591                    color3: 0 0 0 0;
10592                }
10593                description { state: "disabled_visible" 0.0;
10594                    inherit: "default" 0.0;
10595                    color: 0 0 0 128;
10596                    color3: 0 0 0 0;
10597                    visible: 1;
10598                    text.min: 1 1;
10599                }
10600            }
10601            part { name: "elm.text.clipper";
10602                type: RECT;
10603                description { state: "default" 0.0;
10604                    color: 255 255 255 255;
10605                }
10606                description { state: "animation" 0.0;
10607                    color: 255 255 255 0;
10608                }
10609            }
10610            part { name: "elm.text_new.clipper";
10611                type: RECT;
10612                description { state: "default" 0.0;
10613                    color: 255 255 255 0;
10614                }
10615                description { state: "animation" 0.0;
10616                    color: 255 255 255 255;
10617                }
10618            }
10619            part { name: "elm.icon.clipper";
10620                type: RECT;
10621                description { state: "default" 0.0;
10622                    color: 255 255 255 255;
10623                }
10624                description { state: "animation" 0.0;
10625                    color: 255 255 255 0;
10626                }
10627            }
10628            part { name: "elm.icon_new.clipper";
10629                type: RECT;
10630                description { state: "default" 0.0;
10631                    color: 255 255 255 0;
10632                }
10633                description { state: "animation" 0.0;
10634                    color: 255 255 255 255;
10635                }
10636            }
10637            part { name: "event";
10638                type: RECT;
10639                mouse_events: 1;
10640                ignore_flags: ON_HOLD;
10641                description { state: "default" 0.0;
10642                    color: 0 0 0 0;
10643                }
10644            }
10645        }
10646        programs {
10647            program { name: "go_active";
10648                signal:  "elm,state,selected";
10649                source:  "elm";
10650                action:  STATE_SET "selected" 0.0;
10651                target:  "bg";
10652                target:  "elm.text";
10653                target:  "label2";
10654                target:  "elm.text_new";
10655                target:  "label2_new";
10656                transition: LINEAR 0.2;
10657            }
10658            program { name: "go_passive";
10659                signal:  "elm,state,unselected";
10660                source:  "elm";
10661                action:  STATE_SET "default" 0.0;
10662                target:  "bg";
10663                target:  "elm.text";
10664                target:  "label2";
10665                target:  "elm.text_new";
10666                target:  "label2_new";
10667                transition: LINEAR 0.1;
10668            }
10669            program { name: "go";
10670                signal:  "mouse,up,1";
10671                source:  "event";
10672                action:  SIGNAL_EMIT "elm,action,click" "elm";
10673            }
10674            program { name: "mouse,in";
10675               signal:  "mouse,in";
10676               source:  "event";
10677               action:  SIGNAL_EMIT "elm,mouse,in" "elm";
10678            }
10679            program { name: "mouse,out";
10680               signal:  "mouse,out";
10681               source:  "event";
10682               action:  SIGNAL_EMIT "elm,mouse,out" "elm";
10683            }
10684            program { name: "disable";
10685                signal: "elm,state,disabled";
10686                source: "elm";
10687                action: STATE_SET "disabled" 0.0;
10688                target: "label2";
10689                target: "label2_new";
10690                target: "bg";
10691                after: "disable_text";
10692            }
10693            program { name: "disable_text";
10694                script {
10695                    new st[31];
10696                    new Float:vl;
10697                    get_state(PART:"elm.text", st, 30, vl);
10698                    if (!strcmp(st, "visible"))
10699                    {
10700                       set_state(PART:"elm.text", "disabled_visible", 0.0);
10701                       set_state(PART:"elm.text_new", "disabled_visible", 0.0);
10702                    }
10703                    else
10704                    {
10705                       set_state(PART:"elm.text", "disabled", 0.0);
10706                       set_state(PART:"elm.text_new", "disabled", 0.0);
10707                    }
10708                }
10709            }
10710            program { name: "enable";
10711                signal: "elm,state,enabled";
10712                source: "elm";
10713                action: STATE_SET "default" 0.0;
10714                target: "label2";
10715                target: "label2_new";
10716                target: "bg";
10717                after: "enable_text";
10718            }
10719            program { name: "enable_text";
10720                script {
10721                    new st[31];
10722                    new Float:vl;
10723                    get_state(PART:"elm.text", st, 30, vl);
10724                    if (!strcmp(st, "disabled_visible"))
10725                    {
10726                       set_state(PART:"elm.text", "visible", 0.0);
10727                       set_state(PART:"elm.text_new", "visible", 0.0);
10728                    }
10729                    else
10730                    {
10731                       set_state(PART:"elm.text", "default", 0.0);
10732                       set_state(PART:"elm.text_new", "default", 0.0);
10733                    }
10734                }
10735            }
10736            program { name: "label_set,animation,forward";
10737               signal: "elm,state,label_set,forward";
10738               source: "elm";
10739               after: "label_set,animation";
10740            }
10741            program { name: "label_set,animation,backward";
10742               signal: "elm,state,label_set,backward";
10743               source: "elm";
10744               after: "label_set,animation";
10745            }
10746            program { name: "label_set,animation";
10747               signal: "elm,state,label_set";
10748               source: "elm";
10749               action: STATE_SET "animation" 0.0;
10750               target: "elm.text.clipper";
10751               target: "elm.text_new.clipper";
10752               transition: LINEAR 0.2;
10753               after: "label_set,animation,done";
10754            }
10755            program { name: "label_set,animation,done";
10756               action: SIGNAL_EMIT "elm,state,label_set,done" "elm";
10757            }
10758            program { name: "label,reset";
10759               signal: "elm,state,label,reset";
10760               source: "elm";
10761               action: STATE_SET "default" 0.0;
10762               target: "elm.text.clipper";
10763               target: "elm.text_new.clipper";
10764            }
10765            program { name: "icon_set,animation,forward";
10766               signal: "elm,state,icon_set,forward";
10767               source: "elm";
10768               after: "icon_set,animation";
10769            }
10770            program { name: "icon_set,animation,backward";
10771               signal: "elm,state,icon_set,backward";
10772               source: "elm";
10773               after: "icon_set,animation";
10774            }
10775            program { name: "icon_set,animation";
10776               signal: "elm,state,icon_set";
10777               source: "elm";
10778               action: STATE_SET "animation" 0.0;
10779               target: "elm.icon.clipper";
10780               target: "elm.icon_new.clipper";
10781               transition: LINEAR 0.2;
10782               after: "icon_set,animation,done";
10783            }
10784            program { name: "icon_set,animation,done";
10785               action: SIGNAL_EMIT "elm,state,icon_set,done" "elm";
10786            }
10787            program { name: "icon,reset";
10788               signal: "elm,state,icon,reset";
10789               source: "elm";
10790               action: STATE_SET "default" 0.0;
10791               target: "elm.icon.clipper";
10792               target: "elm.icon_new.clipper";
10793            }
10794        }
10795    }
10796
10797    group { name: "elm/toolbar/separator/default";
10798       images {
10799          image: "toolbar_separator_v.png" COMP;
10800       }
10801       parts {
10802          part { name: "separator"; // separator group
10803             description { state: "default" 0.0;
10804                min: 2 2;
10805                max: 2 9999;
10806                rel1.offset: 4 4;
10807                rel2.offset: -5 -5;
10808                image {
10809                   normal: "toolbar_separator_v.png";
10810                }
10811                fill {
10812                   smooth: 0;
10813                }
10814             }
10815          }
10816       }
10817    }
10818
10819    ///////////////////////////////////////////////////////////////////////////////
10820    group { name: "elm/notify/block_events/default";
10821        parts {
10822            part { name: "block_events";
10823                type: RECT;
10824                description { state: "default" 0.0;
10825                    color: 0 0 0 64;
10826                    visible: 1;
10827                }
10828            }
10829        }
10830            programs {
10831                    program {
10832                                 name: "block_clicked";
10833                                 signal: "mouse,clicked,1";
10834                                 source: "block_events";
10835                                 action: SIGNAL_EMIT "elm,action,clicked" "elm";
10836                    }
10837            }
10838    }
10839    group { name: "elm/notify/top/default";
10840        //this group is a design similar to the inwin group
10841        images {
10842            image: "shad_circ.png" COMP;
10843            image: "bt_dis_base.png" COMP;
10844            image: "bt_dis_hilight.png" COMP;
10845        }
10846        parts {
10847            part { name: "base";
10848                type: RECT;
10849                mouse_events: 0;
10850                repeat_events: 1;
10851                description { state: "default" 0.0;
10852                    color: 0 0 0 0;
10853                    rel1.offset: 10 10;
10854                    rel2.offset: -10 -10;
10855                    rel1.relative: 0.0 -1.0;
10856                    rel2.relative: 1.0 0.0;
10857                }
10858                description { state: "visible" 0.0;
10859                    inherit: "default" 0.0;
10860                    color: 0 0 0 64;
10861                    rel1.relative: 0.0 0.0;
10862                    rel2.relative: 1.0 1.0;
10863                }
10864            }
10865            part { name: "shad";
10866                mouse_events:  0;
10867                description { state: "default" 0.0;
10868                    image.normal: "shad_circ.png";
10869                    rel1.to: "elm.swallow.content";
10870                    rel1.offset: -64 -64;
10871                    rel2.to: "elm.swallow.content";
10872                    rel2.offset: 63 63;
10873                    fill.smooth: 0;
10874                }
10875            }
10876            part { name: "pop";
10877                mouse_events: 1;
10878                description { state: "default" 0.0;
10879                    rel1.to: "elm.swallow.content";
10880                    rel1.offset: -5 -5;
10881                    rel2.to: "elm.swallow.content";
10882                    rel2.offset: 4 4;
10883                    image {
10884                        normal: "bt_dis_base.png";
10885                        border: 4 4 4 4;
10886                    }
10887                    image.middle: SOLID;
10888                }
10889            }
10890            part { name: "popover";
10891                mouse_events: 0;
10892                description { state: "default" 0.0;
10893                    rel1.to: "pop";
10894                    rel2.to: "pop";
10895                    rel2.relative: 1.0 0.5;
10896                    image {
10897                        normal: "bt_dis_hilight.png";
10898                        border: 4 4 4 0;
10899                    }
10900                }
10901            }
10902            part { name: "elm.swallow.content";
10903                type: SWALLOW;
10904                description { state: "default" 0.0;
10905                    rel1.to: "base";
10906                    rel2.to: "base";
10907                }
10908            }
10909        }
10910        programs {
10911            program { name: "show";
10912                signal: "elm,action,show";
10913                source: "elm";
10914                action: STATE_SET "visible" 0.0;
10915                target: "base";
10916            }
10917            program { name: "show_2";
10918                 signal: "show";
10919                 action: STATE_SET "default" 0.0;
10920                 target: "base";
10921                 after: "show_3";
10922            }
10923            program { name: "show_3";
10924                 signal: "show";
10925                 action: STATE_SET "visible" 0.0;
10926                 target: "base";
10927                 transition: LINEAR 0.5;
10928            }
10929            program { name: "hide";
10930                signal: "elm,action,hide";
10931                source: "elm";
10932                action: STATE_SET "default" 0.0;
10933                target: "base";
10934            }
10935        }
10936    }
10937    group { name: "elm/notify/center/default";
10938        //this group is a design similar to the inwin group
10939        images {
10940            image: "bt_dis_base.png" COMP;
10941        }
10942        parts {
10943            part { name: "base";
10944                type: RECT;
10945                mouse_events: 0;
10946                repeat_events: 1;
10947                description { state: "default" 0.0;
10948                    color: 0 0 0 0;
10949                    rel1.relative: 0.0 0.0;
10950                    rel2.relative: 1.0 1.0;
10951                }
10952            }
10953            part { name: "pop";
10954                mouse_events: 1;
10955                description { state: "default" 0.0;
10956                    rel1.to: "elm.swallow.content";
10957                    rel1.offset: -5 -5;
10958                    rel2.to: "elm.swallow.content";
10959                    rel2.offset: 4 4;
10960                    image {
10961                        normal: "bt_dis_base.png";
10962                        border: 4 4 4 4;
10963                    }
10964                }
10965            }
10966            part { name: "elm.swallow.content";
10967                type: SWALLOW;
10968                description { state: "default" 0.0;
10969                    rel1.to: "base";
10970                    rel2.to: "base";
10971                }
10972            }
10973        }
10974        programs {
10975            program { name: "show";
10976                signal: "elm,action,show";
10977                source: "elm";
10978                action: STATE_SET "default" 0.0;
10979                target: "base";
10980            }
10981            program { name: "show_2";
10982                 signal: "show";
10983                 action: STATE_SET "default" 0.0;
10984                 target: "base";
10985            }
10986            program { name: "hide";
10987                signal: "elm,action,hide";
10988                source: "elm";
10989                action: STATE_SET "default" 0.0;
10990                target: "base";
10991            }
10992        }
10993    }
10994    group { name: "elm/notify/bottom/default";
10995        //this group is a design similar to the inwin group
10996        images {
10997            image: "shad_circ.png" COMP;
10998            image: "bt_dis_base.png" COMP;
10999            image: "bt_dis_hilight.png" COMP;
11000        }
11001        parts {
11002            part { name: "base";
11003                type: RECT;
11004                mouse_events: 0;
11005                repeat_events: 1;
11006                description { state: "default" 0.0;
11007                    color: 0 0 0 0;
11008                    rel1.offset: 10 10;
11009                    rel2.offset: -10 -10;
11010                    rel1.relative: 0.0 1.0;
11011                    rel2.relative: 1.0 2.0;
11012                }
11013                description { state: "visible" 0.0;
11014                    inherit: "default" 0.0;
11015                    color: 0 0 0 64;
11016                    rel1.relative: 0.0 0.0;
11017                    rel2.relative: 1.0 1.0;
11018                }
11019            }
11020            part { name: "shad";
11021                mouse_events:  0;
11022                description { state: "default" 0.0;
11023                    image.normal: "shad_circ.png";
11024                    rel1.to: "elm.swallow.content";
11025                    rel1.offset: -64 -64;
11026                    rel2.to: "elm.swallow.content";
11027                    rel2.offset: 63 63;
11028                    fill.smooth: 0;
11029                }
11030            }
11031            part { name: "pop";
11032                mouse_events: 1;
11033                description { state: "default" 0.0;
11034                    rel1.to: "elm.swallow.content";
11035                    rel1.offset: -5 -5;
11036                    rel2.to: "elm.swallow.content";
11037                    rel2.offset: 4 4;
11038                    image {
11039                        normal: "bt_dis_base.png";
11040                        border: 4 4 4 4;
11041                    }
11042                    image.middle: SOLID;
11043                }
11044            }
11045            part { name: "popover";
11046                mouse_events: 0;
11047                description { state: "default" 0.0;
11048                    rel1.to: "pop";
11049                    rel2.to: "pop";
11050                    rel2.relative: 1.0 0.5;
11051                    image {
11052                        normal: "bt_dis_hilight.png";
11053                        border: 4 4 4 0;
11054                    }
11055                }
11056            }
11057            part { name: "elm.swallow.content";
11058                type: SWALLOW;
11059                description { state: "default" 0.0;
11060                    rel1.to: "base";
11061                    rel2.to: "base";
11062                }
11063            }
11064        }
11065        programs {
11066            program { name: "show";
11067                signal: "elm,action,show";
11068                source: "elm";
11069                action: STATE_SET "visible" 0.0;
11070                target: "base";
11071            }
11072            program { name: "show_2";
11073                 signal: "show";
11074                 action: STATE_SET "default" 0.0;
11075                 target: "base";
11076                 after: "show_3";
11077            }
11078            program { name: "show_3";
11079                 signal: "show";
11080                 action: STATE_SET "visible" 0.0;
11081                 target: "base";
11082                 transition: LINEAR 0.5;
11083            }
11084            program { name: "hide";
11085                signal: "elm,action,hide";
11086                source: "elm";
11087                action: STATE_SET "default" 0.0;
11088                target: "base";
11089            }
11090        }
11091    }
11092    group { name: "elm/notify/left/default";
11093        //this group is a design similar to the inwin group
11094        images {
11095            image: "shad_circ.png" COMP;
11096            image: "bt_dis_base.png" COMP;
11097            image: "bt_dis_hilight.png" COMP;
11098        }
11099        parts {
11100            part { name: "base";
11101                type: RECT;
11102                mouse_events: 0;
11103                repeat_events: 1;
11104                description { state: "default" 0.0;
11105                    color: 0 0 0 0;
11106                    rel1.offset: 10 10;
11107                    rel2.offset: -10 -10;
11108                    rel1.relative: -1.0 0.0;
11109                    rel2.relative: 0.0 1.0;
11110                }
11111                description { state: "visible" 0.0;
11112                    inherit: "default" 0.0;
11113                    color: 0 0 0 64;
11114                    rel1.relative: 0.0 0.0;
11115                    rel2.relative: 1.0 1.0;
11116                }
11117            }
11118            part { name: "shad";
11119                mouse_events:  0;
11120                description { state: "default" 0.0;
11121                    image.normal: "shad_circ.png";
11122                    rel1.to: "elm.swallow.content";
11123                    rel1.offset: -64 -64;
11124                    rel2.to: "elm.swallow.content";
11125                    rel2.offset: 63 63;
11126                    fill.smooth: 0;
11127                }
11128            }
11129            part { name: "pop";
11130                mouse_events: 1;
11131                description { state: "default" 0.0;
11132                    rel1.to: "elm.swallow.content";
11133                    rel1.offset: -5 -5;
11134                    rel2.to: "elm.swallow.content";
11135                    rel2.offset: 4 4;
11136                    image {
11137                        normal: "bt_dis_base.png";
11138                        border: 4 4 4 4;
11139                    }
11140                    image.middle: SOLID;
11141                }
11142            }
11143            part { name: "popover";
11144                mouse_events: 0;
11145                description { state: "default" 0.0;
11146                    rel1.to: "pop";
11147                    rel2.to: "pop";
11148                    rel2.relative: 1.0 0.5;
11149                    image {
11150                        normal: "bt_dis_hilight.png";
11151                        border: 4 4 4 0;
11152                    }
11153                }
11154            }
11155            part { name: "elm.swallow.content";
11156                type: SWALLOW;
11157                description { state: "default" 0.0;
11158                    rel1.to: "base";
11159                    rel2.to: "base";
11160                }
11161            }
11162        }
11163        programs {
11164            program { name: "show";
11165                signal: "elm,action,show";
11166                source: "elm";
11167                action: STATE_SET "visible" 0.0;
11168                target: "base";
11169            }
11170            program { name: "show_2";
11171                signal: "show";
11172                action: STATE_SET "default" 0.0;
11173                target: "base";
11174                after: "show_3";
11175            }
11176            program { name: "show_3";
11177                signal: "show";
11178                action: STATE_SET "visible" 0.0;
11179                target: "base";
11180                transition: LINEAR 0.5;
11181            }
11182            program { name: "hide";
11183                signal: "elm,action,hide";
11184                source: "elm";
11185                action: STATE_SET "default" 0.0;
11186                target: "base";
11187            }
11188        }
11189    }
11190    group { name: "elm/notify/right/default";
11191        //this group is a design similar to the inwin group
11192        images {
11193            image: "shad_circ.png" COMP;
11194            image: "bt_dis_base.png" COMP;
11195            image: "bt_dis_hilight.png" COMP;
11196        }
11197        parts {
11198            part { name: "base";
11199                type: RECT;
11200                mouse_events: 0;
11201                repeat_events: 1;
11202                 description { state: "default" 0.0;
11203                    color: 0 0 0 0;
11204                    rel1.offset: 10 10;
11205                    rel2.offset: -10 -10;
11206                    rel1.relative: 1.0 0.0;
11207                    rel2.relative: 2.0 1.0;
11208                }
11209                description { state: "visible" 0.0;
11210                    inherit: "default" 0.0;
11211                    color: 0 0 0 64;
11212                    rel1.relative: 0.0 0.0;
11213                    rel2.relative: 1.0 1.0;
11214                }
11215            }
11216            part { name: "shad";
11217                mouse_events:  0;
11218                description { state: "default" 0.0;
11219                    image.normal: "shad_circ.png";
11220                    rel1.to: "elm.swallow.content";
11221                    rel1.offset: -64 -64;
11222                    rel2.to: "elm.swallow.content";
11223                    rel2.offset: 63 63;
11224                    fill.smooth: 0;
11225                }
11226            }
11227            part { name: "pop";
11228                mouse_events: 1;
11229                description { state: "default" 0.0;
11230                    rel1.to: "elm.swallow.content";
11231                    rel1.offset: -5 -5;
11232                    rel2.to: "elm.swallow.content";
11233                    rel2.offset: 4 4;
11234                    image {
11235                        normal: "bt_dis_base.png";
11236                        border: 4 4 4 4;
11237                    }
11238                    image.middle: SOLID;
11239                }
11240            }
11241            part { name: "popover";
11242                mouse_events: 0;
11243                description { state: "default" 0.0;
11244                    rel1.to: "pop";
11245                    rel2.to: "pop";
11246                    rel2.relative: 1.0 0.5;
11247                    image {
11248                        normal: "bt_dis_hilight.png";
11249                        border: 4 4 4 0;
11250                    }
11251                }
11252            }
11253            part { name: "elm.swallow.content";
11254                type: SWALLOW;
11255                description { state: "default" 0.0;
11256                    rel1.to: "base";
11257                    rel2.to: "base";
11258                }
11259            }
11260        }
11261        programs {
11262            program { name: "show";
11263                signal: "elm,action,show";
11264                source: "elm";
11265                action: STATE_SET "visible" 0.0;
11266                target: "base";
11267            }
11268            program { name: "show_2";
11269                signal: "show";
11270                action: STATE_SET "default" 0.0;
11271                target: "base";
11272                after: "show_3";
11273            }
11274            program { name: "show_3";
11275                signal: "show";
11276                action: STATE_SET "visible" 0.0;
11277                target: "base";
11278                transition: LINEAR 0.5;
11279            }
11280            program { name: "hide";
11281                signal: "elm,action,hide";
11282                source: "elm";
11283                action: STATE_SET "default" 0.0;
11284                target: "base";
11285            }
11286        }
11287    }
11288    group { name: "elm/notify/top_left/default";
11289        //this group is a design similar to the inwin group
11290        images {
11291            image: "shad_circ.png" COMP;
11292            image: "bt_dis_base.png" COMP;
11293            image: "bt_dis_hilight.png" COMP;
11294        }
11295        parts {
11296            part { name: "base";
11297                type: RECT;
11298                mouse_events: 0;
11299                repeat_events: 1;
11300                 description { state: "default" 0.0;
11301                    color: 0 0 0 0;
11302                    rel1.offset: 10 10;
11303                    rel2.offset: -10 -10;
11304                    rel1.relative: 0.0 -1.0;
11305                    rel2.relative: 1.0 0.0;
11306                }
11307                description { state: "visible" 0.0;
11308                    inherit: "default" 0.0;
11309                    color: 0 0 0 64;
11310                    rel1.relative: 0.0 0.0;
11311                    rel2.relative: 1.0 1.0;
11312                }
11313            }
11314            part { name: "shad";
11315                mouse_events:  0;
11316                description { state: "default" 0.0;
11317                    image.normal: "shad_circ.png";
11318                    rel1.to: "elm.swallow.content";
11319                    rel1.offset: -64 -64;
11320                    rel2.to: "elm.swallow.content";
11321                    rel2.offset: 63 63;
11322                    fill.smooth: 0;
11323                }
11324            }
11325            part { name: "pop";
11326                mouse_events: 1;
11327                description { state: "default" 0.0;
11328                    rel1.to: "elm.swallow.content";
11329                    rel1.offset: -5 -5;
11330                    rel2.to: "elm.swallow.content";
11331                    rel2.offset: 4 4;
11332                    image {
11333                        normal: "bt_dis_base.png";
11334                        border: 4 4 4 4;
11335                    }
11336                    image.middle: SOLID;
11337                }
11338            }
11339            part { name: "popover";
11340                mouse_events: 0;
11341                description { state: "default" 0.0;
11342                    rel1.to: "pop";
11343                    rel2.to: "pop";
11344                    rel2.relative: 1.0 0.5;
11345                    image {
11346                        normal: "bt_dis_hilight.png";
11347                        border: 4 4 4 0;
11348                    }
11349                }
11350            }
11351            part { name: "elm.swallow.content";
11352                type: SWALLOW;
11353                description { state: "default" 0.0;
11354                    rel1.to: "base";
11355                    rel2.to: "base";
11356                }
11357            }
11358        }
11359        programs {
11360            program { name: "show";
11361                signal: "elm,action,show";
11362                source: "elm";
11363                action: STATE_SET "visible" 0.0;
11364                target: "base";
11365            }
11366            program { name: "show_2";
11367                signal: "show";
11368                action: STATE_SET "default" 0.0;
11369                target: "base";
11370                after: "show_3";
11371            }
11372            program { name: "show_3";
11373                signal: "show";
11374                action: STATE_SET "visible" 0.0;
11375                target: "base";
11376                transition: LINEAR 0.5;
11377            }
11378            program { name: "hide";
11379                signal: "elm,action,hide";
11380                source: "elm";
11381                action: STATE_SET "default" 0.0;
11382                target: "base";
11383            }
11384        }
11385    }
11386    group { name: "elm/notify/top_right/default";
11387        //this group is a design similar to the inwin group
11388        images {
11389            image: "shad_circ.png" COMP;
11390            image: "bt_dis_base.png" COMP;
11391            image: "bt_dis_hilight.png" COMP;
11392        }
11393        parts {
11394            part { name: "base";
11395                type: RECT;
11396                mouse_events: 0;
11397                repeat_events: 1;
11398                description { state: "default" 0.0;
11399                    color: 0 0 0 0;
11400                    rel1.offset: 10 10;
11401                    rel2.offset: -10 -10;
11402                    rel1.relative: 0.0 -1.0;
11403                    rel2.relative: 1.0 0.0;
11404                }
11405                description { state: "visible" 0.0;
11406                    inherit: "default" 0.0;
11407                    color: 0 0 0 64;
11408                    rel1.relative: 0.0 0.0;
11409                    rel2.relative: 1.0 1.0;
11410                }
11411            }
11412            part { name: "shad";
11413                mouse_events:  0;
11414                description { state: "default" 0.0;
11415                    image.normal: "shad_circ.png";
11416                    rel1.to: "elm.swallow.content";
11417                    rel1.offset: -64 -64;
11418                    rel2.to: "elm.swallow.content";
11419                    rel2.offset: 63 63;
11420                    fill.smooth: 0;
11421                }
11422            }
11423            part { name: "pop";
11424                mouse_events: 1;
11425                description { state: "default" 0.0;
11426                    rel1.to: "elm.swallow.content";
11427                    rel1.offset: -5 -5;
11428                    rel2.to: "elm.swallow.content";
11429                    rel2.offset: 4 4;
11430                    image {
11431                        normal: "bt_dis_base.png";
11432                        border: 4 4 4 4;
11433                    }
11434                    image.middle: SOLID;
11435                }
11436            }
11437            part { name: "popover";
11438                mouse_events: 0;
11439                description { state: "default" 0.0;
11440                    rel1.to: "pop";
11441                    rel2.to: "pop";
11442                    rel2.relative: 1.0 0.5;
11443                    image {
11444                        normal: "bt_dis_hilight.png";
11445                        border: 4 4 4 0;
11446                    }
11447                }
11448            }
11449            part { name: "elm.swallow.content";
11450                type: SWALLOW;
11451                description { state: "default" 0.0;
11452                    rel1.to: "base";
11453                    rel2.to: "base";
11454                }
11455            }
11456        }
11457        programs {
11458            program { name: "show";
11459                signal: "elm,action,show";
11460                source: "elm";
11461                action: STATE_SET "visible" 0.0;
11462                target: "base";
11463            }
11464            program { name: "show_2";
11465                signal: "show";
11466                action: STATE_SET "default" 0.0;
11467                target: "base";
11468                after: "show_3";
11469            }
11470            program { name: "show_3";
11471                signal: "show";
11472                action: STATE_SET "visible" 0.0;
11473                target: "base";
11474                transition: LINEAR 0.5;
11475            }
11476            program { name: "hide";
11477                signal: "elm,action,hide";
11478                source: "elm";
11479                action: STATE_SET "default" 0.0;
11480                target: "base";
11481            }
11482        }
11483    }
11484    group { name: "elm/notify/bottom_left/default";
11485        //this group is a design similar to the inwin group
11486        images {
11487            image: "shad_circ.png" COMP;
11488            image: "bt_dis_base.png" COMP;
11489            image: "bt_dis_hilight.png" COMP;
11490        }
11491        parts {
11492            part { name: "base";
11493                type: RECT;
11494                mouse_events: 0;
11495                repeat_events: 1;
11496                description { state: "default" 0.0;
11497                    color: 0 0 0 0;
11498                    rel1.offset: 10 10;
11499                    rel2.offset: -10 -10;
11500                    rel1.relative: 0.0 1.0;
11501                    rel2.relative: 1.0 2.0;
11502                }
11503                description { state: "visible" 0.0;
11504                    inherit: "default" 0.0;
11505                    color: 0 0 0 64;
11506                    rel1.relative: 0.0 0.0;
11507                    rel2.relative: 1.0 1.0;
11508                }
11509            }
11510            part { name: "shad";
11511                mouse_events:  0;
11512                description { state: "default" 0.0;
11513                    image.normal: "shad_circ.png";
11514                    rel1.to: "elm.swallow.content";
11515                    rel1.offset: -64 -64;
11516                    rel2.to: "elm.swallow.content";
11517                    rel2.offset: 63 63;
11518                    fill.smooth: 0;
11519                }
11520            }
11521            part { name: "pop";
11522                mouse_events: 1;
11523                description { state: "default" 0.0;
11524                    rel1.to: "elm.swallow.content";
11525                    rel1.offset: -5 -5;
11526                    rel2.to: "elm.swallow.content";
11527                    rel2.offset: 4 4;
11528                    image {
11529                        normal: "bt_dis_base.png";
11530                        border: 4 4 4 4;
11531                    }
11532                    image.middle: SOLID;
11533                }
11534            }
11535            part { name: "popover";
11536                mouse_events: 0;
11537                description { state: "default" 0.0;
11538                    rel1.to: "pop";
11539                    rel2.to: "pop";
11540                    rel2.relative: 1.0 0.5;
11541                    image {
11542                        normal: "bt_dis_hilight.png";
11543                        border: 4 4 4 0;
11544                    }
11545                }
11546            }
11547            part { name: "elm.swallow.content";
11548                type: SWALLOW;
11549                description { state: "default" 0.0;
11550                    rel1.to: "base";
11551                    rel2.to: "base";
11552                }
11553            }
11554        }
11555        programs {
11556            program { name: "show";
11557                signal: "elm,action,show";
11558                source: "elm";
11559                action: STATE_SET "visible" 0.0;
11560                target: "base";
11561            }
11562            program { name: "show_2";
11563                signal: "show";
11564                action: STATE_SET "default" 0.0;
11565                target: "base";
11566                after: "show_3";
11567            }
11568            program { name: "show_3";
11569                signal: "show";
11570                action: STATE_SET "visible" 0.0;
11571                target: "base";
11572                transition: LINEAR 0.5;
11573            }
11574            program { name: "hide";
11575                signal: "elm,action,hide";
11576                source: "elm";
11577                action: STATE_SET "default" 0.0;
11578                target: "base";
11579            }
11580        }
11581    }
11582    group { name: "elm/notify/bottom_right/default";
11583        //this group is a design similar to the inwin group
11584        images {
11585            image: "shad_circ.png" COMP;
11586            image: "bt_dis_base.png" COMP;
11587            image: "bt_dis_hilight.png" COMP;
11588        }
11589        parts {
11590            part { name: "base";
11591                type: RECT;
11592                mouse_events: 0;
11593                repeat_events: 1;
11594               description { state: "default" 0.0;
11595                    color: 0 0 0 0;
11596                    rel1.offset: 10 10;
11597                    rel2.offset: -10 -10;
11598                    rel1.relative: 0.0 1.0;
11599                    rel2.relative: 1.0 2.0;
11600                }
11601                description { state: "visible" 0.0;
11602                    inherit: "default" 0.0;
11603                    color: 0 0 0 64;
11604                    rel1.relative: 0.0 0.0;
11605                    rel2.relative: 1.0 1.0;
11606                }
11607            }
11608            part { name: "shad";
11609                mouse_events:  0;
11610                description { state: "default" 0.0;
11611                    image.normal: "shad_circ.png";
11612                    rel1.to: "elm.swallow.content";
11613                    rel1.offset: -64 -64;
11614                    rel2.to: "elm.swallow.content";
11615                    rel2.offset: 63 63;
11616                    fill.smooth: 0;
11617                }
11618            }
11619            part { name: "pop";
11620                mouse_events: 1;
11621                description { state: "default" 0.0;
11622                    rel1.to: "elm.swallow.content";
11623                    rel1.offset: -5 -5;
11624                    rel2.to: "elm.swallow.content";
11625                    rel2.offset: 4 4;
11626                    image {
11627                        normal: "bt_dis_base.png";
11628                        border: 4 4 4 4;
11629                    }
11630                    image.middle: SOLID;
11631                }
11632            }
11633            part { name: "popover";
11634                mouse_events: 0;
11635                description { state: "default" 0.0;
11636                    rel1.to: "pop";
11637                    rel2.to: "pop";
11638                    rel2.relative: 1.0 0.5;
11639                    image {
11640                        normal: "bt_dis_hilight.png";
11641                        border: 4 4 4 0;
11642                    }
11643                }
11644            }
11645            part { name: "elm.swallow.content";
11646                type: SWALLOW;
11647                description { state: "default" 0.0;
11648                    rel1.to: "base";
11649                    rel2.to: "base";
11650                }
11651            }
11652        }
11653        programs {
11654            program { name: "show";
11655                signal: "elm,action,show";
11656                source: "elm";
11657                action: STATE_SET "visible" 0.0;
11658                target: "base";
11659            }
11660            program { name: "show_2";
11661                signal: "show";
11662                action: STATE_SET "default" 0.0;
11663                target: "base";
11664                after: "show_3";
11665            }
11666            program { name: "show_3";
11667                signal: "show";
11668                action: STATE_SET "visible" 0.0;
11669                target: "base";
11670                transition: LINEAR 0.5;
11671            }
11672            program { name: "hide";
11673                signal: "elm,action,hide";
11674                source: "elm";
11675                action: STATE_SET "default" 0.0;
11676                target: "base";
11677            }
11678        }
11679    }
11680
11681 ///////////////////////////////////////////////////////////////////////////////
11682    group { name: "elm/slideshow/base/default";
11683       data {
11684          item: transitions "fade black_fade horizontal vertical square";
11685          item: layouts "fullscreen not_fullscreen";
11686       }
11687       parts {
11688          part { name: "whole";
11689                  type: RECT;
11690             description {
11691                state: "default" 0.0;
11692                visible: 1;
11693                color: 20 20 20 255;
11694             }
11695          }
11696          part { name: "image_1_whole";
11697             description {
11698                state: "default" 0.0;
11699                color: 255 255 255 255;
11700             }
11701             description {
11702                state: "fade_prev_next" 0.0;
11703                inherit: "default" 0.0;
11704                color: 255 255 255 0;
11705             }
11706             description {
11707                state: "black_fade_prev_next_init" 0.0;
11708                inherit: "default" 0.0;
11709                color: 255 255 255 255;
11710             }
11711             description {
11712                state: "black_fade_prev_next" 0.0;
11713                inherit: "default" 0.0;
11714                color: 0 0 0 255;
11715             }
11716             description {
11717                state: "horizontal_next_init" 0.0;
11718                inherit: "default" 0.0;
11719             }
11720             description {
11721                state: "horizontal_next" 0.0;
11722                inherit: "default" 0.0;
11723                rel1.relative: -1.0 0.0;
11724                rel2.relative: 0.0 1.0;
11725             }
11726             description {
11727                state: "horizontal_prev_init" 0.0;
11728                inherit: "default" 0.0;
11729             }
11730             description {
11731                state: "horizontal_prev" 0.0;
11732                inherit: "default" 0.0;
11733                rel1.relative: 1.0 0.0;
11734                rel2.relative: 2.0 1.0;
11735             }
11736             description {
11737                state: "vertical_next_init" 0.0;
11738                inherit: "default" 0.0;
11739             }
11740             description {
11741                state: "vertical_next" 0.0;
11742                inherit: "default" 0.0;
11743                rel1.relative: 0.0 -1.0;
11744                rel2.relative: 1.0 0.0;
11745             }
11746             description {
11747                state: "vertical_prev_init" 0.0;
11748                inherit: "default" 0.0;
11749             }
11750             description {
11751                state: "vertical_prev" 0.0;
11752                inherit: "default" 0.0;
11753                rel1.relative: 0.0 1.0;
11754                rel2.relative: 1.0 2.0;
11755             }
11756             description {
11757                state: "square_prev_next" 0.0;
11758                inherit: "default" 0.0;
11759                color: 255 255 255 0;
11760             }
11761          }
11762          part { name: "image_2_whole";
11763             description {
11764                state: "default" 0.0;
11765                visible: 1;
11766                color: 255 255 255 0;
11767             }
11768             description {
11769                state: "fade_prev_next" 0.0;
11770                inherit: "default" 0.0;
11771                color: 255 255 255 255;
11772             }
11773             description {
11774                state: "black_fade_prev_next_init" 0.0;
11775                inherit: "default" 0.0;
11776                color: 0 0 0 0;
11777             }
11778             description {
11779                state: "black_fade_prev_next" 0.0;
11780                inherit: "default" 0.0;
11781                color: 255 255 255 255;
11782             }
11783             description {
11784                state: "horizontal_next_init" 0.0;
11785                inherit: "default" 0.0;
11786                rel1.relative: 1.0 0.0;
11787                rel2.relative: 2.0 1.0;
11788                color: 255 255 255 255;
11789             }
11790             description {
11791                state: "horizontal_next" 0.0;
11792                inherit: "default" 0.0;
11793                color: 255 255 255 255;
11794             }
11795             description {
11796                state: "horizontal_prev_init" 0.0;
11797                inherit: "default" 0.0;
11798                rel1.relative: -1.0 0.0;
11799                rel2.relative: 0.0 1.0;
11800                color: 255 255 255 255;
11801             }
11802             description {
11803                state: "horizontal_prev" 0.0;
11804                inherit: "default" 0.0;
11805                color: 255 255 255 255;
11806             }
11807             description {
11808                state: "vertical_next_init" 0.0;
11809                inherit: "default" 0.0;
11810                rel1.relative: 0.0 1.0;
11811                rel2.relative: 1.0 2.0;
11812                color: 255 255 255 255;
11813             }
11814             description {
11815                state: "vertical_next" 0.0;
11816                inherit: "default" 0.0;
11817                color: 255 255 255 255;
11818             }
11819             description {
11820                state: "vertical_prev_init" 0.0;
11821                inherit: "default" 0.0;
11822                rel1.relative: 0.0 -1.0;
11823                rel2.relative: 1.0 0.0;
11824                color: 255 255 255 255;
11825             }
11826             description {
11827                state: "vertical_prev" 0.0;
11828                inherit: "default" 0.0;
11829                color: 255 255 255 255;
11830             }
11831             description {
11832                state: "square_prev_next_init" 0.0;
11833                inherit: "default" 0.0;
11834                rel1.relative: 0.5 0.5;
11835                rel2.relative: 0.5 0.5;
11836                color: 255 255 255 255;
11837             }
11838             description {
11839                state: "square_prev_next" 0.0;
11840                inherit: "default" 0.0;
11841                rel1.relative: 0.0 0.0;
11842                rel2.relative: 1.0 1.0;
11843                color: 255 255 255 255;
11844             }
11845          }
11846          part { name: "elm.swallow.1";
11847             type: SWALLOW;
11848             clip_to: "image_1_whole";
11849             description {
11850                state: "default" 0.0;
11851                rel1.to: "image_1_whole";
11852                rel2.to: "image_1_whole";
11853                color: 255 255 255 255;
11854             }
11855             description {
11856                state: "not_fullscreen" 0.0;
11857                rel1.relative: 0.1 0.1;
11858                rel1.to: "image_1_whole";
11859                rel2.relative: 0.9 0.9;
11860                rel2.to: "image_1_whole";
11861                color: 255 255 255 255;
11862             }
11863          }
11864          part { name: "elm.swallow.2";
11865             type: SWALLOW;
11866             clip_to: "image_2_whole";
11867             description {
11868                state: "default" 0.0;
11869                color: 255 255 255 255;
11870                rel1.to: "image_2_whole";
11871                rel2.to: "image_2_whole";
11872             }
11873             description {
11874                state: "not_fullscreen" 0.0;
11875                color: 255 255 255 255;
11876                rel1.relative: 0.1 0.1;
11877                rel1.to: "image_2_whole";
11878                rel2.relative: 0.9 0.9;
11879                rel2.to: "image_2_whole";
11880             }
11881          }
11882          part { name: "events_catcher";
11883             type: RECT;
11884             repeat_events: 1;
11885             description {
11886                state: "default" 0.0;
11887                visible: 1;
11888                color: 0 0 0 0;
11889             }
11890          }
11891       }
11892       programs {
11893               //Substyle
11894               program { name: "layout_fullscreen";
11895             signal: "layout,fullscreen";
11896             source: "slideshow";
11897             action: STATE_SET "default" 0.0;
11898             target: "elm.swallow.1";
11899             target: "elm.swallow.2";
11900             transition: SINUSOIDAL 1.0;
11901         }
11902         program { name: "layout_not_fullscreen";
11903             signal: "layout,not_fullscreen";
11904             source: "slideshow";
11905             action: STATE_SET "not_fullscreen" 0.0;
11906             target: "elm.swallow.1";
11907             target: "elm.swallow.2";
11908             transition: SINUSOIDAL 1.0;
11909          }
11910                //
11911          program { name: "fade_next";
11912             signal: "fade,next";
11913             source: "slideshow";
11914             action: STATE_SET "default" 0.0;
11915             target: "image_1_whole";
11916             target: "image_2_whole";
11917             after: "fade_next_2";
11918          }
11919          program { name: "fade_next_2";
11920             action: STATE_SET "fade_prev_next" 0.0;
11921             target: "image_1_whole";
11922             target: "image_2_whole";
11923             transition: SINUSOIDAL 1.5;
11924             after: "end";
11925          }
11926          program { name: "fade_previous";
11927             signal: "fade,previous";
11928             source: "slideshow";
11929             action: STATE_SET "default" 0.0;
11930             target: "image_1_whole";
11931             target: "image_2_whole";
11932             after: "fade_previous_2";
11933          }
11934          program { name: "fade_previous_2";
11935             action: STATE_SET "fade_prev_next" 0.0;
11936             target: "image_1_whole";
11937             target: "image_2_whole";
11938             transition: SINUSOIDAL 1.5;
11939             after: "end";
11940          }
11941          program { name: "black_fade_next";
11942             signal: "black_fade,next";
11943             source: "slideshow";
11944             action: STATE_SET "black_fade_prev_next_init" 0.0;
11945             target: "image_1_whole";
11946             target: "image_2_whole";
11947             after: "black_fade_next_2";
11948          }
11949          program { name: "black_fade_next_2";
11950             action: STATE_SET "black_fade_prev_next" 0.0;
11951             target: "image_1_whole";
11952             transition: SINUSOIDAL 0.75;
11953             after: "black_fade_next_3";
11954          }
11955          program { name: "black_fade_next_3";
11956             action: STATE_SET "black_fade_prev_next" 0.0;
11957             target: "image_2_whole";
11958             transition: SINUSOIDAL 0.75;
11959             after: "end";
11960          }
11961          program { name: "black_fade_previous";
11962             signal: "black_fade,previous";
11963             source: "slideshow";
11964             action: STATE_SET "black_fade_prev_next_init" 0.0;
11965             target: "image_1_whole";
11966             target: "image_2_whole";
11967             after: "black_fade_previous_2";
11968          }
11969          program { name: "black_fade_previous_2";
11970             action: STATE_SET "black_fade_prev_next" 0.0;
11971             target: "image_1_whole";
11972             transition: SINUSOIDAL 0.75;
11973             after: "black_fade_previous_3";
11974          }
11975          program { name: "black_fade_previous_3";
11976             action: STATE_SET "black_fade_prev_next" 0.0;
11977             target: "image_2_whole";
11978             transition: SINUSOIDAL 0.75;
11979             after: "end";
11980          }
11981          program { name: "horizontal_next";
11982             signal: "horizontal,next";
11983             source: "slideshow";
11984             action: STATE_SET "horizontal_next_init" 0.0;
11985             target: "image_1_whole";
11986             target: "image_2_whole";
11987             after: "horizontal_next_2";
11988          }
11989          program { name: "horizontal_next_2";
11990             action: STATE_SET "horizontal_next" 0.0;
11991             target: "image_1_whole";
11992             target: "image_2_whole";
11993             transition: SINUSOIDAL 1.5;
11994             after: "end";
11995          }
11996          program { name: "horizontal_previous";
11997             signal: "horizontal,previous";
11998             source: "slideshow";
11999             action: STATE_SET "horizontal_prev_init" 0.0;
12000             target: "image_1_whole";
12001             target: "image_2_whole";
12002             after: "horizontal_previous_2";
12003          }
12004          program { name: "horizontal_previous_2";
12005             action: STATE_SET "horizontal_prev" 0.0;
12006             target: "image_1_whole";
12007             target: "image_2_whole";
12008             transition: SINUSOIDAL 1.5;
12009             after: "end";
12010          }
12011          program { name: "vertical_next";
12012             signal: "vertical,next";
12013             source: "slideshow";
12014             action: STATE_SET "vertical_next_init" 0.0;
12015             target: "image_1_whole";
12016             target: "image_2_whole";
12017             after: "vertical_next_2";
12018          }
12019          program { name: "vertical_next_2";
12020             action: STATE_SET "vertical_next" 0.0;
12021             target: "image_1_whole";
12022             target: "image_2_whole";
12023             transition: SINUSOIDAL 1.5;
12024             after: "end";
12025          }
12026          program { name: "vertical_previous";
12027             signal: "vertical,previous";
12028             source: "slideshow";
12029             action: STATE_SET "vertical_prev_init" 0.0;
12030             target: "image_1_whole";
12031             target: "image_2_whole";
12032             after: "vertical_previous_2";
12033          }
12034          program { name: "vertical_previous_2";
12035             action: STATE_SET "vertical_prev" 0.0;
12036             target: "image_1_whole";
12037             target: "image_2_whole";
12038             transition: SINUSOIDAL 1.5;
12039             after: "end";
12040          }
12041          program { name: "square_next";
12042             signal: "square,next";
12043             source: "slideshow";
12044             action: STATE_SET "square_prev_next_init" 0.0;
12045             target: "image_2_whole";
12046             after: "square_next_2";
12047          }
12048          program { name: "square_next_2";
12049             action: STATE_SET "square_prev_next" 0.0;
12050             target: "image_2_whole";
12051             target: "image_1_whole";
12052             transition: SINUSOIDAL 1.5;
12053             after: "end";
12054          }
12055          program { name: "square_previous";
12056             signal: "square,previous";
12057             source: "slideshow";
12058             action: STATE_SET "square_prev_next_init" 0.0;
12059             target: "image_2_whole";
12060             after: "square_next_2";
12061          }
12062          program { name: "end";
12063             action: SIGNAL_EMIT "end" "slideshow";
12064          }
12065          program { name: "end_signal";
12066             signal: "anim,end";
12067             source: "slideshow";
12068             action: STATE_SET "default" 0.0;
12069             target: "image_1_whole";
12070             target: "image_2_whole";
12071          }
12072       }
12073    }
12074
12075 ///////////////////////////////////////////////////////////////////////////////
12076    group { name: "elm/win/inwin/default";
12077       images {
12078          image: "shad_circ.png" COMP;
12079          image: "bt_dis_base.png" COMP;
12080          image: "bt_dis_hilight.png" COMP;
12081       }
12082       parts {
12083          part { name: "base";
12084             type: RECT;
12085             mouse_events: 1;
12086             description { state: "default" 0.0;
12087                color: 0 0 0 0;
12088             }
12089             description { state: "visible" 0.0;
12090                inherit: "default" 1.0;
12091                color: 0 0 0 64;
12092             }
12093          }
12094          part { name: "shad";
12095             mouse_events:  0;
12096             description { state: "default" 0.0;
12097                image.normal: "shad_circ.png";
12098                rel1.to: "elm.swallow.content";
12099                rel1.offset: -64 -64;
12100                rel2.to: "elm.swallow.content";
12101                rel2.offset: 63 63;
12102                fill.smooth: 0;
12103             }
12104          }
12105          part { name: "pop";
12106             mouse_events: 1;
12107             description { state: "default" 0.0;
12108                rel1.to: "elm.swallow.content";
12109                rel1.offset: -5 -5;
12110                rel2.to: "elm.swallow.content";
12111                rel2.offset: 4 4;
12112                image {
12113                   normal: "bt_dis_base.png";
12114                   border: 4 4 4 4;
12115                }
12116                image.middle: SOLID;
12117             }
12118          }
12119          part { name: "popover";
12120             mouse_events: 0;
12121             description { state: "default" 0.0;
12122                rel1.to: "pop";
12123                rel2.to: "pop";
12124                rel2.relative: 1.0 0.5;
12125                image {
12126                   normal: "bt_dis_hilight.png";
12127                   border: 4 4 4 0;
12128                }
12129             }
12130          }
12131          part { name: "elm.swallow.content";
12132             type: SWALLOW;
12133             description { state: "default" 0.0;
12134                rel1.relative: 0.1 0.1;
12135                rel2.relative: 0.9 0.9;
12136             }
12137          }
12138       }
12139       programs {
12140          program { name: "show";
12141             signal: "elm,action,show";
12142             source: "elm";
12143             action: STATE_SET "visible" 0.0;
12144 //            transition: DECELERATE 0.5;
12145             target: "base";
12146          }
12147          program { name: "hide";
12148             signal: "elm,action,hide";
12149             source: "elm";
12150             action: STATE_SET "default" 0.0;
12151 //            transition: DECELERATE 0.5;
12152             target: "base";
12153          }
12154       }
12155    }
12156
12157    group { name: "elm/win/inwin/minimal";
12158       images {
12159          image: "shad_circ.png" COMP;
12160          image: "bt_dis_base.png" COMP;
12161          image: "bt_dis_hilight.png" COMP;
12162       }
12163       parts {
12164          part { name: "base";
12165             type: RECT;
12166             mouse_events: 1;
12167             description { state: "default" 0.0;
12168                color: 0 0 0 0;
12169             }
12170             description { state: "visible" 0.0;
12171                inherit: "default" 1.0;
12172                color: 0 0 0 64;
12173             }
12174          }
12175          part { name: "shad";
12176             mouse_events:  0;
12177             description { state: "default" 0.0;
12178                image.normal: "shad_circ.png";
12179                rel1.to: "elm.swallow.content";
12180                rel1.offset: -64 -64;
12181                rel2.to: "elm.swallow.content";
12182                rel2.offset: 63 63;
12183                fill.smooth: 0;
12184             }
12185          }
12186          part { name: "pop";
12187             mouse_events: 1;
12188             description { state: "default" 0.0;
12189                rel1.to: "elm.swallow.content";
12190                rel1.offset: -5 -5;
12191                rel2.to: "elm.swallow.content";
12192                rel2.offset: 4 4;
12193                image {
12194                   normal: "bt_dis_base.png";
12195                   border: 4 4 4 4;
12196                }
12197                image.middle: SOLID;
12198             }
12199          }
12200          part { name: "popover";
12201             mouse_events: 0;
12202             description { state: "default" 0.0;
12203                rel1.to: "pop";
12204                rel2.to: "pop";
12205                rel2.relative: 1.0 0.5;
12206                image {
12207                   normal: "bt_dis_hilight.png";
12208                   border: 4 4 4 0;
12209                }
12210             }
12211          }
12212          part { name: "elm.swallow.content";
12213             type: SWALLOW;
12214             description { state: "default" 0.0;
12215                fixed: 1 1;
12216                rel1.relative: 0.5 0.5;
12217                rel2.relative: 0.5 0.5;
12218             }
12219          }
12220       }
12221       programs {
12222          program { name: "show";
12223             signal: "elm,action,show";
12224             source: "elm";
12225             action: STATE_SET "visible" 0.0;
12226 //            transition: DECELERATE 0.5;
12227             target: "base";
12228          }
12229          program { name: "hide";
12230             signal: "elm,action,hide";
12231             source: "elm";
12232             action: STATE_SET "default" 0.0;
12233 //            transition: DECELERATE 0.5;
12234             target: "base";
12235          }
12236       }
12237    }
12238
12239    group { name: "elm/win/inwin/minimal_vertical";
12240       images {
12241          image: "shad_circ.png" COMP;
12242          image: "bt_dis_base.png" COMP;
12243          image: "bt_dis_hilight.png" COMP;
12244       }
12245       parts {
12246          part { name: "base";
12247             type: RECT;
12248             mouse_events: 1;
12249             description { state: "default" 0.0;
12250                color: 0 0 0 0;
12251             }
12252             description { state: "visible" 0.0;
12253                inherit: "default" 1.0;
12254                color: 0 0 0 64;
12255             }
12256          }
12257          part { name: "shad";
12258             mouse_events:  0;
12259             description { state: "default" 0.0;
12260                image.normal: "shad_circ.png";
12261                rel1.to: "elm.swallow.content";
12262                rel1.offset: -64 -64;
12263                rel2.to: "elm.swallow.content";
12264                rel2.offset: 63 63;
12265                fill.smooth: 0;
12266             }
12267          }
12268          part { name: "pop";
12269             mouse_events: 1;
12270             description { state: "default" 0.0;
12271                rel1.to: "elm.swallow.content";
12272                rel1.offset: -5 -5;
12273                rel2.to: "elm.swallow.content";
12274                rel2.offset: 4 4;
12275                image {
12276                   normal: "bt_dis_base.png";
12277                   border: 4 4 4 4;
12278                }
12279                image.middle: SOLID;
12280             }
12281          }
12282          part { name: "popover";
12283             mouse_events: 0;
12284             description { state: "default" 0.0;
12285                rel1.to: "pop";
12286                rel2.to: "pop";
12287                rel2.relative: 1.0 0.5;
12288                image {
12289                   normal: "bt_dis_hilight.png";
12290                   border: 4 4 4 0;
12291                }
12292             }
12293          }
12294          part { name: "elm.swallow.content";
12295             type: SWALLOW;
12296             description { state: "default" 0.0;
12297                fixed: 1 1;
12298                rel1.relative: 0.1 0.5;
12299                rel2.relative: 0.9 0.5;
12300             }
12301          }
12302       }
12303       programs {
12304          program { name: "show";
12305             signal: "elm,action,show";
12306             source: "elm";
12307             action: STATE_SET "visible" 0.0;
12308 //            transition: DECELERATE 0.5;
12309             target: "base";
12310          }
12311          program { name: "hide";
12312             signal: "elm,action,hide";
12313             source: "elm";
12314             action: STATE_SET "default" 0.0;
12315 //            transition: DECELERATE 0.5;
12316             target: "base";
12317          }
12318       }
12319    }
12320
12321 ///////////////////////////////////////////////////////////////////////////////
12322
12323 ///////////////////////////////////////////////////////////////////////////////
12324    group { name: "elm/list/item/default";
12325       data.item: "stacking" "above";
12326       images {
12327          image: "bt_sm_base1.png" COMP;
12328          image: "bt_sm_shine.png" COMP;
12329          image: "bt_sm_hilight.png" COMP;
12330          image: "ilist_1.png" COMP;
12331          image: "ilist_item_shadow.png" COMP;
12332       }
12333       parts {
12334          part {
12335             name:           "event";
12336             type:           RECT;
12337             repeat_events: 1;
12338             description {
12339                state: "default" 0.0;
12340                color: 0 0 0 0;
12341             }
12342          }
12343          part {
12344             name: "base_sh";
12345             mouse_events: 0;
12346             description {
12347                state: "default" 0.0;
12348                align: 0.0 0.0;
12349                min: 0 10;
12350                fixed: 1 1;
12351                rel1 {
12352                   to: "base";
12353                   relative: 0.0 1.0;
12354                   offset: 0 0;
12355                }
12356                rel2 {
12357                   to: "base";
12358                   relative: 1.0 1.0;
12359                   offset: -1 0;
12360                }
12361                image {
12362                   normal: "ilist_item_shadow.png";
12363                }
12364                fill.smooth: 0;
12365             }
12366          }
12367          part {
12368             name: "base";
12369             mouse_events: 0;
12370             description {
12371                state: "default" 0.0;
12372                image {
12373                   normal: "ilist_1.png";
12374                   border: 2 2 2 2;
12375                }
12376                fill.smooth: 0;
12377             }
12378          }
12379          part { name: "bg";
12380             mouse_events: 0;
12381             description { state: "default" 0.0;
12382                visible: 0;
12383                color: 255 255 255 0;
12384                rel1 {
12385                   relative: 0.0 0.0;
12386                   offset: -5 -5;
12387                }
12388                rel2 {
12389                   relative: 1.0 1.0;
12390                   offset: 4 4;
12391                }
12392                image {
12393                   normal: "bt_sm_base1.png";
12394                   border: 6 6 6 6;
12395                }
12396                image.middle: SOLID;
12397             }
12398             description { state: "selected" 0.0;
12399                inherit: "default" 0.0;
12400                visible: 1;
12401                color: 255 255 255 255;
12402                rel1 {
12403                   relative: 0.0 0.0;
12404                   offset: -2 -2;
12405                }
12406                rel2 {
12407                   relative: 1.0 1.0;
12408                   offset: 1 1;
12409                }
12410             }
12411          }
12412          part { name: "elm.swallow.icon";
12413             type: SWALLOW;
12414             description { state: "default" 0.0;
12415                fixed: 1 0;
12416                align: 0.0 0.5;
12417                rel1 {
12418                   relative: 0.0  0.0;
12419                   offset:   4    4;
12420                }
12421                rel2 {
12422                   relative: 0.0  1.0;
12423                   offset:   4   -5;
12424                }
12425             }
12426          }
12427          part { name: "elm.swallow.end";
12428             type: SWALLOW;
12429             description { state: "default" 0.0;
12430                fixed: 1 0;
12431                align: 1.0 0.5;
12432                rel1 {
12433                   relative: 1.0  0.0;
12434                   offset:   -5    4;
12435                }
12436                rel2 {
12437                   relative: 1.0  1.0;
12438                   offset:   -5   -5;
12439                }
12440             }
12441          }
12442          part { name: "elm.text";
12443             type:           TEXT;
12444             effect:         SOFT_SHADOW;
12445             mouse_events:   0;
12446             scale: 1;
12447             description {
12448                state: "default" 0.0;
12449 //               min: 16 16;
12450                rel1 {
12451                   to_x:     "elm.swallow.icon";
12452                   relative: 1.0  0.0;
12453                   offset:   4 4;
12454                }
12455                rel2 {
12456                   to_x:     "elm.swallow.end";
12457                   relative: 0.0  1.0;
12458                   offset:   -1 -5;
12459                }
12460                color: 0 0 0 255;
12461                color3: 0 0 0 0;
12462                text {
12463                   font: "Sans";
12464                   size: 10;
12465                   min: 1 1;
12466 //                  min: 0 1;
12467                   align: -1.0 0.5;
12468                   text_class: "list_item";
12469                }
12470             }
12471             description { state: "selected" 0.0;
12472                inherit: "default" 0.0;
12473                color: 224 224 224 255;
12474                color3: 0 0 0 64;
12475             }
12476          }
12477          part { name: "fg1";
12478             mouse_events: 0;
12479             description { state: "default" 0.0;
12480                visible: 0;
12481                color: 255 255 255 0;
12482                rel1.to: "bg";
12483                rel2.relative: 1.0 0.5;
12484                rel2.to: "bg";
12485                image {
12486                   normal: "bt_sm_hilight.png";
12487                   border: 6 6 6 0;
12488                }
12489             }
12490             description { state: "selected" 0.0;
12491                inherit: "default" 0.0;
12492                visible: 1;
12493                color: 255 255 255 255;
12494             }
12495          }
12496          part { name: "fg2";
12497             mouse_events: 0;
12498             description { state: "default" 0.0;
12499                visible: 0;
12500                color: 255 255 255 0;
12501                rel1.to: "bg";
12502                rel2.to: "bg";
12503                image {
12504                   normal: "bt_sm_shine.png";
12505                   border: 6 6 6 0;
12506                }
12507             }
12508             description { state: "selected" 0.0;
12509                inherit: "default" 0.0;
12510                visible: 1;
12511                color: 255 255 255 255;
12512             }
12513          }
12514       }
12515       programs {
12516          program {
12517             name:    "go_active";
12518             signal:  "elm,state,selected";
12519             source:  "elm";
12520             action:  STATE_SET "selected" 0.0;
12521             target:  "bg";
12522             target:  "fg1";
12523             target:  "fg2";
12524             target:  "elm.text";
12525          }
12526          program {
12527             name:    "go_passive";
12528             signal:  "elm,state,unselected";
12529             source:  "elm";
12530             action:  STATE_SET "default" 0.0;
12531             target:  "bg";
12532             target:  "fg1";
12533             target:  "fg2";
12534             target:  "elm.text";
12535             transition: LINEAR 0.1;
12536          }
12537       }
12538    }
12539    group { name: "elm/list/item_odd/default";
12540       data.item: "stacking" "below";
12541       data.item: "selectraise" "on";
12542       images {
12543          image: "bt_sm_base1.png" COMP;
12544          image: "bt_sm_shine.png" COMP;
12545          image: "bt_sm_hilight.png" COMP;
12546          image: "ilist_2.png" COMP;
12547       }
12548       parts {
12549          part {
12550             name:           "event";
12551             type:           RECT;
12552             repeat_events: 1;
12553             description {
12554                state: "default" 0.0;
12555                color: 0 0 0 0;
12556             }
12557          }
12558          part {
12559             name: "base";
12560             mouse_events: 0;
12561             description {
12562                state: "default" 0.0;
12563                image {
12564                   normal: "ilist_2.png";
12565                   border: 2 2 2 2;
12566                }
12567                fill.smooth: 0;
12568             }
12569          }
12570          part { name: "bg";
12571             mouse_events: 0;
12572             description { state: "default" 0.0;
12573                visible: 0;
12574                color: 255 255 255 0;
12575                rel1 {
12576                   relative: 0.0 0.0;
12577                   offset: -5 -5;
12578                }
12579                rel2 {
12580                   relative: 1.0 1.0;
12581                   offset: 4 4;
12582                }
12583                image {
12584                   normal: "bt_sm_base1.png";
12585                   border: 6 6 6 6;
12586                }
12587                image.middle: SOLID;
12588             }
12589             description { state: "selected" 0.0;
12590                inherit: "default" 0.0;
12591                visible: 1;
12592                color: 255 255 255 255;
12593                rel1 {
12594                   relative: 0.0 0.0;
12595                   offset: -2 -2;
12596                }
12597                rel2 {
12598                   relative: 1.0 1.0;
12599                   offset: 1 1;
12600                }
12601             }
12602          }
12603          part {
12604             name:          "elm.swallow.icon";
12605             type:          SWALLOW;
12606             description { state:    "default" 0.0;
12607                fixed: 1 0;
12608                align:    0.0 0.5;
12609                rel1 {
12610                   relative: 0.0  0.0;
12611                   offset:   4    4;
12612                }
12613                rel2 {
12614                   relative: 0.0  1.0;
12615                   offset:   4   -5;
12616                }
12617             }
12618          }
12619          part {
12620             name:          "elm.swallow.end";
12621             type:          SWALLOW;
12622             description { state:    "default" 0.0;
12623                fixed: 1 0;
12624                align: 1.0 0.5;
12625                rel1 {
12626                   relative: 1.0  0.0;
12627                   offset:   -5    4;
12628                }
12629                rel2 {
12630                   relative: 1.0  1.0;
12631                   offset:   -5   -5;
12632                }
12633             }
12634          }
12635          part {
12636             name:           "elm.text";
12637             type:           TEXT;
12638             effect:         SOFT_SHADOW;
12639             mouse_events:   0;
12640             scale: 1;
12641             description {
12642                state: "default" 0.0;
12643 //               min:      16 16;
12644                rel1 {
12645                   to_x:     "elm.swallow.icon";
12646                   relative: 1.0  0.0;
12647                   offset:   4 4;
12648                }
12649                rel2 {
12650                   to_x:     "elm.swallow.end";
12651                   relative: 0.0  1.0;
12652                   offset:   -1 -5;
12653                }
12654                color: 0 0 0 255;
12655                color3: 0 0 0 0;
12656                text {
12657                   font: "Sans";
12658                   size: 10;
12659                   min: 1 1;
12660 //                  min: 0 1;
12661                   align: -1.0 0.5;
12662                   text_class: "list_item";
12663                }
12664             }
12665             description { state: "selected" 0.0;
12666                inherit: "default" 0.0;
12667                color: 224 224 224 255;
12668                color3: 0 0 0 64;
12669             }
12670          }
12671          part { name: "fg1";
12672             mouse_events: 0;
12673             description { state: "default" 0.0;
12674                visible: 0;
12675                color: 255 255 255 0;
12676                rel1.to: "bg";
12677                rel2.relative: 1.0 0.5;
12678                rel2.to: "bg";
12679                image {
12680                   normal: "bt_sm_hilight.png";
12681                   border: 6 6 6 0;
12682                }
12683             }
12684             description { state: "selected" 0.0;
12685                inherit: "default" 0.0;
12686                visible: 1;
12687                color: 255 255 255 255;
12688             }
12689          }
12690          part { name: "fg2";
12691             mouse_events: 0;
12692             description { state: "default" 0.0;
12693                visible: 0;
12694                color: 255 255 255 0;
12695                rel1.to: "bg";
12696                rel2.to: "bg";
12697                image {
12698                   normal: "bt_sm_shine.png";
12699                   border: 6 6 6 0;
12700                }
12701             }
12702             description { state: "selected" 0.0;
12703                inherit: "default" 0.0;
12704                visible: 1;
12705                color: 255 255 255 255;
12706             }
12707          }
12708       }
12709       programs {
12710          program {
12711             name:    "go_active";
12712             signal:  "elm,state,selected";
12713             source:  "elm";
12714             action:  STATE_SET "selected" 0.0;
12715             target:  "bg";
12716             target:  "fg1";
12717             target:  "fg2";
12718             target:  "elm.text";
12719          }
12720          program {
12721             name:    "go_passive";
12722             signal:  "elm,state,unselected";
12723             source:  "elm";
12724             action:  STATE_SET "default" 0.0;
12725             target:  "bg";
12726             target:  "fg1";
12727             target:  "fg2";
12728             target:  "elm.text";
12729             transition: LINEAR 0.1;
12730          }
12731       }
12732    }
12733    group { name: "elm/list/item_compress/default";
12734       data.item: "stacking" "above";
12735       data.item: "selectraise" "on";
12736       images {
12737          image: "bt_sm_base1.png" COMP;
12738          image: "bt_sm_shine.png" COMP;
12739          image: "bt_sm_hilight.png" COMP;
12740          image: "ilist_1.png" COMP;
12741          image: "ilist_item_shadow.png" COMP;
12742       }
12743       parts {
12744          part {
12745             name:           "event";
12746             type:           RECT;
12747             repeat_events: 1;
12748             description {
12749                state: "default" 0.0;
12750                color: 0 0 0 0;
12751             }
12752          }
12753          part {
12754             name: "base_sh";
12755             mouse_events: 0;
12756             description { state: "default" 0.0;
12757                fixed: 1 1;
12758                align: 0.0 0.0;
12759                min: 0 10;
12760                rel1 {
12761                   to: "base";
12762                   relative: 0.0 1.0;
12763                   offset: 0 0;
12764                }
12765                rel2 {
12766                   to: "base";
12767                   relative: 1.0 1.0;
12768                   offset: -1 0;
12769                }
12770                image {
12771                   normal: "ilist_item_shadow.png";
12772                }
12773                fill.smooth: 0;
12774             }
12775          }
12776          part {
12777             name: "base";
12778             mouse_events: 0;
12779             description {
12780                state: "default" 0.0;
12781                image {
12782                   normal: "ilist_1.png";
12783                   border: 2 2 2 2;
12784                }
12785                fill.smooth: 0;
12786             }
12787          }
12788          part { name: "bg";
12789             mouse_events: 0;
12790             description { state: "default" 0.0;
12791                visible: 0;
12792                color: 255 255 255 0;
12793                rel1 {
12794                   relative: 0.0 0.0;
12795                   offset: -5 -5;
12796                }
12797                rel2 {
12798                   relative: 1.0 1.0;
12799                   offset: 4 4;
12800                }
12801                image {
12802                   normal: "bt_sm_base1.png";
12803                   border: 6 6 6 6;
12804                }
12805                image.middle: SOLID;
12806             }
12807             description { state: "selected" 0.0;
12808                inherit: "default" 0.0;
12809                visible: 1;
12810                color: 255 255 255 255;
12811                rel1 {
12812                   relative: 0.0 0.0;
12813                   offset: -2 -2;
12814                }
12815                rel2 {
12816                   relative: 1.0 1.0;
12817                   offset: 1 1;
12818                }
12819             }
12820          }
12821          part { name:          "elm.swallow.icon";
12822             type:          SWALLOW;
12823             description { state:    "default" 0.0;
12824                fixed: 1 0;
12825                align:    0.0 0.5;
12826                rel1 {
12827                   relative: 0.0  0.0;
12828                   offset:   4    4;
12829                }
12830                rel2 {
12831                   relative: 0.0  1.0;
12832                   offset:   4   -5;
12833                }
12834             }
12835          }
12836          part { name:          "elm.swallow.end";
12837             type:          SWALLOW;
12838             description { state:    "default" 0.0;
12839                fixed: 1 0;
12840                align:    1.0 0.5;
12841                rel1 {
12842                   relative: 1.0  0.0;
12843                   offset:   -5    4;
12844                }
12845                rel2 {
12846                   relative: 1.0  1.0;
12847                   offset:   -5   -5;
12848                }
12849             }
12850          }
12851          part {
12852             name:           "elm.text";
12853             type:           TEXT;
12854             effect:         SOFT_SHADOW;
12855             mouse_events:   0;
12856             scale: 1;
12857             description { state: "default" 0.0;
12858 //               min:      16 16;
12859                rel1 {
12860                   to_x:     "elm.swallow.icon";
12861                   relative: 1.0  0.0;
12862                   offset:   4 4;
12863                }
12864                rel2 {
12865                   to_x:     "elm.swallow.end";
12866                   relative: 0.0  1.0;
12867                   offset:   -1 -5;
12868                }
12869                color: 0 0 0 255;
12870                color3: 0 0 0 0;
12871                text {
12872                   font: "Sans";
12873                   size: 10;
12874 //                  min: 1 1;
12875                   min: 0 1;
12876                   align: 0.0 0.5;
12877                   text_class: "list_item";
12878                }
12879             }
12880             description { state: "selected" 0.0;
12881                inherit: "default" 0.0;
12882                color: 224 224 224 255;
12883                color3: 0 0 0 64;
12884             }
12885          }
12886          part { name: "fg1";
12887             mouse_events: 0;
12888             description { state: "default" 0.0;
12889                visible: 0;
12890                color: 255 255 255 0;
12891                rel1.to: "bg";
12892                rel2.relative: 1.0 0.5;
12893                rel2.to: "bg";
12894                image {
12895                   normal: "bt_sm_hilight.png";
12896                   border: 6 6 6 0;
12897                }
12898             }
12899             description { state: "selected" 0.0;
12900                inherit: "default" 0.0;
12901                visible: 1;
12902                color: 255 255 255 255;
12903             }
12904          }
12905          part { name: "fg2";
12906             mouse_events: 0;
12907             description { state: "default" 0.0;
12908                visible: 0;
12909                color: 255 255 255 0;
12910                rel1.to: "bg";
12911                rel2.to: "bg";
12912                image {
12913                   normal: "bt_sm_shine.png";
12914                   border: 6 6 6 0;
12915                }
12916             }
12917             description { state: "selected" 0.0;
12918                inherit: "default" 0.0;
12919                visible: 1;
12920                color: 255 255 255 255;
12921             }
12922          }
12923       }
12924       programs {
12925          program {
12926             name:    "go_active";
12927             signal:  "elm,state,selected";
12928             source:  "elm";
12929             action:  STATE_SET "selected" 0.0;
12930             target:  "bg";
12931             target:  "fg1";
12932             target:  "fg2";
12933             target:  "elm.text";
12934          }
12935          program {
12936             name:    "go_passive";
12937             signal:  "elm,state,unselected";
12938             source:  "elm";
12939             action:  STATE_SET "default" 0.0;
12940             target:  "bg";
12941             target:  "fg1";
12942             target:  "fg2";
12943             target:  "elm.text";
12944             transition: LINEAR 0.1;
12945          }
12946       }
12947    }
12948    group { name: "elm/list/item_compress_odd/default";
12949       data.item: "stacking" "below";
12950       data.item: "selectraise" "on";
12951       images {
12952          image: "bt_sm_base1.png" COMP;
12953          image: "bt_sm_shine.png" COMP;
12954          image: "bt_sm_hilight.png" COMP;
12955          image: "ilist_2.png" COMP;
12956       }
12957       parts {
12958          part {
12959             name:           "event";
12960             type:           RECT;
12961             repeat_events: 1;
12962             description {
12963                state: "default" 0.0;
12964                color: 0 0 0 0;
12965             }
12966          }
12967          part {
12968             name: "base";
12969             mouse_events: 0;
12970             description {
12971                state: "default" 0.0;
12972                image {
12973                   normal: "ilist_2.png";
12974                   border: 2 2 2 2;
12975                }
12976                fill.smooth: 0;
12977             }
12978          }
12979          part { name: "bg";
12980             mouse_events: 0;
12981             description { state: "default" 0.0;
12982                visible: 0;
12983                color: 255 255 255 0;
12984                rel1 {
12985                   relative: 0.0 0.0;
12986                   offset: -5 -5;
12987                }
12988                rel2 {
12989                   relative: 1.0 1.0;
12990                   offset: 4 4;
12991                }
12992                image {
12993                   normal: "bt_sm_base1.png";
12994                   border: 6 6 6 6;
12995                }
12996                image.middle: SOLID;
12997             }
12998             description { state: "selected" 0.0;
12999                inherit: "default" 0.0;
13000                visible: 1;
13001                color: 255 255 255 255;
13002                rel1 {
13003                   relative: 0.0 0.0;
13004                   offset: -2 -2;
13005                }
13006                rel2 {
13007                   relative: 1.0 1.0;
13008                   offset: 1 1;
13009                }
13010             }
13011          }
13012          part { name:          "elm.swallow.icon";
13013             type:          SWALLOW;
13014             description { state:    "default" 0.0;
13015                fixed: 1 0;
13016                align:    0.0 0.5;
13017                rel1 {
13018                   relative: 0.0  0.0;
13019                   offset:   4    4;
13020                }
13021                rel2 {
13022                   relative: 0.0  1.0;
13023                   offset:   4   -5;
13024                }
13025             }
13026          }
13027          part { name:          "elm.swallow.end";
13028             type:          SWALLOW;
13029             description { state:    "default" 0.0;
13030                fixed: 1 0;
13031                align:    1.0 0.5;
13032                rel1 {
13033                   relative: 1.0  0.0;
13034                   offset:   -5    4;
13035                }
13036                rel2 {
13037                   relative: 1.0  1.0;
13038                   offset:   -5   -5;
13039                }
13040             }
13041          }
13042          part {
13043             name:           "elm.text";
13044             type:           TEXT;
13045             effect:         SOFT_SHADOW;
13046             mouse_events:   0;
13047             scale: 1;
13048             description {
13049                state: "default" 0.0;
13050 //               min:      16 16;
13051                rel1 {
13052                   to_x:     "elm.swallow.icon";
13053                   relative: 1.0  0.0;
13054                   offset:   4 4;
13055                }
13056                rel2 {
13057                   to_x:     "elm.swallow.end";
13058                   relative: 0.0  1.0;
13059                   offset:   -1 -5;
13060                }
13061                color: 0 0 0 255;
13062                color3: 0 0 0 0;
13063                text {
13064                   font: "Sans";
13065                   size: 10;
13066 //                  min: 1 1;
13067                   min: 0 1;
13068                   align: 0.0 0.5;
13069                   text_class: "list_item";
13070                }
13071             }
13072             description { state: "selected" 0.0;
13073                inherit: "default" 0.0;
13074                color: 224 224 224 255;
13075                color3: 0 0 0 64;
13076             }
13077          }
13078          part { name: "fg1";
13079             mouse_events: 0;
13080             description { state: "default" 0.0;
13081                visible: 0;
13082                color: 255 255 255 0;
13083                rel1.to: "bg";
13084                rel2.relative: 1.0 0.5;
13085                rel2.to: "bg";
13086                image {
13087                   normal: "bt_sm_hilight.png";
13088                   border: 6 6 6 0;
13089                }
13090             }
13091             description { state: "selected" 0.0;
13092                inherit: "default" 0.0;
13093                visible: 1;
13094                color: 255 255 255 255;
13095             }
13096          }
13097          part { name: "fg2";
13098             mouse_events: 0;
13099             description { state: "default" 0.0;
13100                visible: 0;
13101                color: 255 255 255 0;
13102                rel1.to: "bg";
13103                rel2.to: "bg";
13104                image {
13105                   normal: "bt_sm_shine.png";
13106                   border: 6 6 6 0;
13107                }
13108             }
13109             description { state: "selected" 0.0;
13110                inherit: "default" 0.0;
13111                visible: 1;
13112                color: 255 255 255 255;
13113             }
13114          }
13115       }
13116       programs {
13117          program {
13118             name:    "go_active";
13119             signal:  "elm,state,selected";
13120             source:  "elm";
13121             action:  STATE_SET "selected" 0.0;
13122             target:  "bg";
13123             target:  "fg1";
13124             target:  "fg2";
13125             target:  "elm.text";
13126          }
13127          program {
13128             name:    "go_passive";
13129             signal:  "elm,state,unselected";
13130             source:  "elm";
13131             action:  STATE_SET "default" 0.0;
13132             target:  "bg";
13133             target:  "fg1";
13134             target:  "fg2";
13135             target:  "elm.text";
13136             transition: LINEAR 0.1;
13137          }
13138       }
13139    }
13140
13141 ///////////////////////////////////////////////////////////////////////////////
13142    group { name: "elm/list/h_item/default";
13143       data.item: "stacking" "above";
13144       images {
13145          image: "bt_sm_base1.png" COMP;
13146          image: "bt_sm_shine.png" COMP;
13147          image: "bt_sm_hilight.png" COMP;
13148          image: "ilist_1_h.png" COMP;
13149          image: "ilist_item_shadow_h.png" COMP;
13150       }
13151       parts {
13152          part {
13153             name: "event";
13154             type: RECT;
13155             repeat_events: 1;
13156             description {
13157                state: "default" 0.0;
13158                color: 0 0 0 0;
13159             }
13160          }
13161          part {
13162             name: "base_sh";
13163             mouse_events: 0;
13164             description {
13165                state: "default" 0.0;
13166                align: 0.0 0.0;
13167                min: 10 0;
13168                fixed: 1 1;
13169                rel1 {
13170                   to: "base";
13171                   relative: 1.0 0.0;
13172                   offset: 0 0;
13173                }
13174                rel2 {
13175                   to: "base";
13176                   relative: 1.0 1.0;
13177                   offset: 0 -1;
13178                }
13179                image {
13180                   normal: "ilist_item_shadow_h.png";
13181                }
13182                fill.smooth: 0;
13183             }
13184          }
13185          part {
13186             name: "base";
13187             mouse_events: 0;
13188             description {
13189                state: "default" 0.0;
13190                image {
13191                   normal: "ilist_1_h.png";
13192                   border: 2 2 2 2;
13193                }
13194                fill.smooth: 0;
13195             }
13196          }
13197          part { name: "bg";
13198             mouse_events: 0;
13199             description { state: "default" 0.0;
13200                visible: 0;
13201                color: 255 255 255 0;
13202                rel1 {
13203                   relative: 0.0 0.0;
13204                   offset: -5 -5;
13205                }
13206                rel2 {
13207                   relative: 1.0 1.0;
13208                   offset: 4 4;
13209                }
13210                image {
13211                   normal: "bt_sm_base1.png";
13212                   border: 6 6 6 6;
13213                }
13214                image.middle: SOLID;
13215             }
13216             description { state: "selected" 0.0;
13217                inherit: "default" 0.0;
13218                visible: 1;
13219                color: 255 255 255 255;
13220                rel1 {
13221                   relative: 0.0 0.0;
13222                   offset: -2 -2;
13223                }
13224                rel2 {
13225                   relative: 1.0 1.0;
13226                   offset: 1 1;
13227                }
13228             }
13229          }
13230          part { name: "elm.swallow.icon";
13231             type: SWALLOW;
13232             description { state: "default" 0.0;
13233                fixed: 0 1;
13234                align: 0.5 0.0;
13235                rel1 {
13236                   relative: 0.0 0.0;
13237                   offset: 4 4;
13238                }
13239                rel2 {
13240                   relative: 1.0 0.0;
13241                   offset: -5 4;
13242                }
13243             }
13244          }
13245          part { name: "elm.swallow.end";
13246             type: SWALLOW;
13247             description { state: "default" 0.0;
13248                fixed: 0 1;
13249                align: 0.5 1.0;
13250                rel1 {
13251                   relative: 0.0 1.0;
13252                   offset: 4 -5;
13253                }
13254                rel2 {
13255                   relative: 1.0 1.0;
13256                   offset: -5 -5;
13257                }
13258             }
13259          }
13260          part { name: "elm.text";
13261             type: TEXT;
13262             effect: SOFT_SHADOW;
13263             mouse_events: 0;
13264             scale: 1;
13265             description {
13266                state: "default" 0.0;
13267                fixed: 0 1;
13268                rel1 {
13269                   to_x: "elm.swallow.icon";
13270                   relative: 0.0 1.0;
13271                   offset: 4 4;
13272                }
13273                rel2 {
13274                   to_x: "elm.swallow.end";
13275                   relative: 1.0 0.0;
13276                   offset: -5 -1;
13277                }
13278                color: 0 0 0 255;
13279                color3: 0 0 0 0;
13280                text {
13281                   font: "Sans";
13282                   size: 10;
13283                   min: 1 1;
13284                   align: 0.5 0.5;
13285                   text_class: "list_item";
13286                }
13287             }
13288             description { state: "selected" 0.0;
13289                inherit: "default" 0.0;
13290                color: 224 224 224 255;
13291                color3: 0 0 0 64;
13292             }
13293          }
13294          part { name: "fg1";
13295             mouse_events: 0;
13296             description { state: "default" 0.0;
13297                visible: 0;
13298                color: 255 255 255 0;
13299                rel1.to: "bg";
13300                rel2.relative: 1.0 0.5;
13301                rel2.to: "bg";
13302                image {
13303                   normal: "bt_sm_hilight.png";
13304                   border: 6 6 6 0;
13305                }
13306             }
13307             description { state: "selected" 0.0;
13308                inherit: "default" 0.0;
13309                visible: 1;
13310                color: 255 255 255 255;
13311             }
13312          }
13313          part { name: "fg2";
13314             mouse_events: 0;
13315             description { state: "default" 0.0;
13316                visible: 0;
13317                color: 255 255 255 0;
13318                rel1.to: "bg";
13319                rel2.to: "bg";
13320                image {
13321                   normal: "bt_sm_shine.png";
13322                   border: 6 6 6 0;
13323                }
13324             }
13325             description { state: "selected" 0.0;
13326                inherit: "default" 0.0;
13327                visible: 1;
13328                color: 255 255 255 255;
13329             }
13330          }
13331       }
13332       programs {
13333          program {
13334             name: "go_active";
13335             signal: "elm,state,selected";
13336             source: "elm";
13337             action: STATE_SET "selected" 0.0;
13338             target: "bg";
13339             target: "fg1";
13340             target: "fg2";
13341             target: "elm.text";
13342          }
13343          program {
13344             name: "go_passive";
13345             signal: "elm,state,unselected";
13346             source: "elm";
13347             action: STATE_SET "default" 0.0;
13348             target: "bg";
13349             target: "fg1";
13350             target: "fg2";
13351             target: "elm.text";
13352             transition: LINEAR 0.1;
13353          }
13354       }
13355    }
13356    group { name: "elm/list/h_item_odd/default";
13357       data.item: "stacking" "below";
13358       data.item: "selectraise" "on";
13359       images {
13360          image: "bt_sm_base1.png" COMP;
13361          image: "bt_sm_shine.png" COMP;
13362          image: "bt_sm_hilight.png" COMP;
13363          image: "ilist_2_h.png" COMP;
13364       }
13365       parts {
13366          part {
13367             name: "event";
13368             type: RECT;
13369             repeat_events: 1;
13370             description {
13371                state: "default" 0.0;
13372                color: 0 0 0 0;
13373             }
13374          }
13375          part {
13376             name: "base";
13377             mouse_events: 0;
13378             description {
13379                state: "default" 0.0;
13380                image {
13381                   normal: "ilist_2_h.png";
13382                   border: 2 2 2 2;
13383                }
13384                fill.smooth: 0;
13385             }
13386          }
13387          part { name: "bg";
13388             mouse_events: 0;
13389             description { state: "default" 0.0;
13390                visible: 0;
13391                color: 255 255 255 0;
13392                rel1 {
13393                   relative: 0.0 0.0;
13394                   offset: -5 -5;
13395                }
13396                rel2 {
13397                   relative: 1.0 1.0;
13398                   offset: 4 4;
13399                }
13400                image {
13401                   normal: "bt_sm_base1.png";
13402                   border: 6 6 6 6;
13403                }
13404                image.middle: SOLID;
13405             }
13406             description { state: "selected" 0.0;
13407                inherit: "default" 0.0;
13408                visible: 1;
13409                color: 255 255 255 255;
13410                rel1 {
13411                   relative: 0.0 0.0;
13412                   offset: -2 -2;
13413                }
13414                rel2 {
13415                   relative: 1.0 1.0;
13416                   offset: 1 1;
13417                }
13418             }
13419          }
13420          part {
13421             name: "elm.swallow.icon";
13422             type: SWALLOW;
13423             description { state: "default" 0.0;
13424                fixed: 0 1;
13425                align: 0.5 0.0;
13426                rel1 {
13427                   relative: 0.0 0.0;
13428                   offset: 4 4;
13429                }
13430                rel2 {
13431                   relative: 1.0 0.0;
13432                   offset: -5 4;
13433                }
13434             }
13435          }
13436          part {
13437             name: "elm.swallow.end";
13438             type: SWALLOW;
13439             description { state: "default" 0.0;
13440                fixed: 0 1;
13441                align: 0.5 1.0;
13442                rel1 {
13443                   relative: 0.0 1.0;
13444                   offset: 4 -5;
13445                }
13446                rel2 {
13447                   relative: 1.0 1.0;
13448                   offset: -5 -5;
13449                }
13450             }
13451          }
13452          part { name: "elm.text";
13453             type: TEXT;
13454             effect: SOFT_SHADOW;
13455             mouse_events: 0;
13456             scale: 1;
13457             description {
13458                state: "default" 0.0;
13459                fixed: 1 1;
13460                rel1 {
13461                   to_x: "elm.swallow.icon";
13462                   relative: 0.0 1.0;
13463                   offset: 4 4;
13464                }
13465                rel2 {
13466                   to_x: "elm.swallow.end";
13467                   relative: 1.0 0.0;
13468                   offset: -5 -1;
13469                }
13470                color: 0 0 0 255;
13471                color3: 0 0 0 0;
13472                text {
13473                   font: "Sans";
13474                   size: 10;
13475                   min: 1 1;
13476                   align: 0.5 0.5;
13477                   text_class: "list_item";
13478                }
13479             }
13480             description { state: "selected" 0.0;
13481                inherit: "default" 0.0;
13482                color: 224 224 224 255;
13483                color3: 0 0 0 64;
13484             }
13485          }
13486          part { name: "fg1";
13487             mouse_events: 0;
13488             description { state: "default" 0.0;
13489                visible: 0;
13490                color: 255 255 255 0;
13491                rel1.to: "bg";
13492                rel2.relative: 1.0 0.5;
13493                rel2.to: "bg";
13494                image {
13495                   normal: "bt_sm_hilight.png";
13496                   border: 6 6 6 0;
13497                }
13498             }
13499             description { state: "selected" 0.0;
13500                inherit: "default" 0.0;
13501                visible: 1;
13502                color: 255 255 255 255;
13503             }
13504          }
13505          part { name: "fg2";
13506             mouse_events: 0;
13507             description { state: "default" 0.0;
13508                visible: 0;
13509                color: 255 255 255 0;
13510                rel1.to: "bg";
13511                rel2.to: "bg";
13512                image {
13513                   normal: "bt_sm_shine.png";
13514                   border: 6 6 6 0;
13515                }
13516             }
13517             description { state: "selected" 0.0;
13518                inherit: "default" 0.0;
13519                visible: 1;
13520                color: 255 255 255 255;
13521             }
13522          }
13523       }
13524       programs {
13525          program {
13526             name: "go_active";
13527             signal: "elm,state,selected";
13528             source: "elm";
13529             action: STATE_SET "selected" 0.0;
13530             target: "bg";
13531             target: "fg1";
13532             target: "fg2";
13533             target: "elm.text";
13534          }
13535          program {
13536             name: "go_passive";
13537             signal: "elm,state,unselected";
13538             source: "elm";
13539             action: STATE_SET "default" 0.0;
13540             target: "bg";
13541             target: "fg1";
13542             target: "fg2";
13543             target: "elm.text";
13544             transition: LINEAR 0.1;
13545          }
13546       }
13547    }
13548    group { name: "elm/list/h_item_compress/default";
13549       data.item: "stacking" "above";
13550       data.item: "selectraise" "on";
13551       images {
13552          image: "bt_sm_base1.png" COMP;
13553          image: "bt_sm_shine.png" COMP;
13554          image: "bt_sm_hilight.png" COMP;
13555          image: "ilist_1_h.png" COMP;
13556          image: "ilist_item_shadow_h.png" COMP;
13557       }
13558       parts {
13559          part {
13560             name: "event";
13561             type: RECT;
13562             repeat_events: 1;
13563             description {
13564                state: "default" 0.0;
13565                color: 0 0 0 0;
13566             }
13567          }
13568          part {
13569             name: "base_sh";
13570             mouse_events: 0;
13571             description { state: "default" 0.0;
13572                fixed: 1 1;
13573                align: 0.0 0.0;
13574                min: 10 0;
13575                rel1 {
13576                   to: "base";
13577                   relative: 1.0 0.0;
13578                   offset: 0 0;
13579                }
13580                rel2 {
13581                   to: "base";
13582                   relative: 1.0 1.0;
13583                   offset: 0 -1;
13584                }
13585                image {
13586                   normal: "ilist_item_shadow_h.png";
13587                }
13588                fill.smooth: 0;
13589             }
13590          }
13591          part {
13592             name: "base";
13593             mouse_events: 0;
13594             description {
13595                state: "default" 0.0;
13596                image {
13597                   normal: "ilist_1_h.png";
13598                   border: 2 2 2 2;
13599                }
13600                fill.smooth: 0;
13601             }
13602          }
13603          part { name: "bg";
13604             mouse_events: 0;
13605             description { state: "default" 0.0;
13606                visible: 0;
13607                color: 255 255 255 0;
13608                rel1 {
13609                   relative: 0.0 0.0;
13610                   offset: -5 -5;
13611                }
13612                rel2 {
13613                   relative: 1.0 1.0;
13614                   offset: 4 4;
13615                }
13616                image {
13617                   normal: "bt_sm_base1.png";
13618                   border: 6 6 6 6;
13619                }
13620                image.middle: SOLID;
13621             }
13622             description { state: "selected" 0.0;
13623                inherit: "default" 0.0;
13624                visible: 1;
13625                color: 255 255 255 255;
13626                rel1 {
13627                   relative: 0.0 0.0;
13628                   offset: -2 -2;
13629                }
13630                rel2 {
13631                   relative: 1.0 1.0;
13632                   offset: 1 1;
13633                }
13634             }
13635          }
13636          part { name: "elm.swallow.icon";
13637             type: SWALLOW;
13638             description { state: "default" 0.0;
13639                fixed: 0 1;
13640                align: 0.5 0.0;
13641                rel1 {
13642                   relative: 0.0 0.0;
13643                   offset: 4 4;
13644                }
13645                rel2 {
13646                   relative: 1.0 0.0;
13647                   offset: -5 4;
13648                }
13649             }
13650          }
13651          part { name: "elm.swallow.end";
13652             type: SWALLOW;
13653             description { state: "default" 0.0;
13654                fixed: 0 1;
13655                align: 0.5 1.0;
13656                rel1 {
13657                   relative: 0.0 1.0;
13658                   offset: 4 -5;
13659                }
13660                rel2 {
13661                   relative: 1.0 1.0;
13662                   offset: -5 -5;
13663                }
13664             }
13665          }
13666          part {
13667             name: "elm.text";
13668             type: TEXT;
13669             effect: SOFT_SHADOW;
13670             mouse_events: 0;
13671             scale: 1;
13672             description { state: "default" 0.0;
13673                fixed: 1 1;
13674                rel1 {
13675                   to_x: "elm.swallow.icon";
13676                   relative: 0.0 1.0;
13677                   offset: 4 4;
13678                }
13679                rel2 {
13680                   to_x: "elm.swallow.end";
13681                   relative: 1.0 0.0;
13682                   offset: -5 -1;
13683                }
13684                color: 0 0 0 255;
13685                color3: 0 0 0 0;
13686                text {
13687                   font: "Sans";
13688                   size: 10;
13689                   min: 1 1;
13690                   align: 0.5 0.5;
13691                   text_class: "list_item";
13692                }
13693             }
13694             description { state: "selected" 0.0;
13695                inherit: "default" 0.0;
13696                color: 224 224 224 255;
13697                color3: 0 0 0 64;
13698             }
13699          }
13700          part { name: "fg1";
13701             mouse_events: 0;
13702             description { state: "default" 0.0;
13703                visible: 0;
13704                color: 255 255 255 0;
13705                rel1.to: "bg";
13706                rel2.relative: 1.0 0.5;
13707                rel2.to: "bg";
13708                image {
13709                   normal: "bt_sm_hilight.png";
13710                   border: 6 6 6 0;
13711                }
13712             }
13713             description { state: "selected" 0.0;
13714                inherit: "default" 0.0;
13715                visible: 1;
13716                color: 255 255 255 255;
13717             }
13718          }
13719          part { name: "fg2";
13720             mouse_events: 0;
13721             description { state: "default" 0.0;
13722                visible: 0;
13723                color: 255 255 255 0;
13724                rel1.to: "bg";
13725                rel2.to: "bg";
13726                image {
13727                   normal: "bt_sm_shine.png";
13728                   border: 6 6 6 0;
13729                }
13730             }
13731             description { state: "selected" 0.0;
13732                inherit: "default" 0.0;
13733                visible: 1;
13734                color: 255 255 255 255;
13735             }
13736          }
13737       }
13738       programs {
13739          program {
13740             name: "go_active";
13741             signal: "elm,state,selected";
13742             source: "elm";
13743             action: STATE_SET "selected" 0.0;
13744             target: "bg";
13745             target: "fg1";
13746             target: "fg2";
13747             target: "elm.text";
13748          }
13749          program {
13750             name: "go_passive";
13751             signal: "elm,state,unselected";
13752             source: "elm";
13753             action: STATE_SET "default" 0.0;
13754             target: "bg";
13755             target: "fg1";
13756             target: "fg2";
13757             target: "elm.text";
13758             transition: LINEAR 0.1;
13759          }
13760       }
13761    }
13762    group { name: "elm/list/h_item_compress_odd/default";
13763       data.item: "stacking" "below";
13764       data.item: "selectraise" "on";
13765       images {
13766          image: "bt_sm_base1.png" COMP;
13767          image: "bt_sm_shine.png" COMP;
13768          image: "bt_sm_hilight.png" COMP;
13769          image: "ilist_2_h.png" COMP;
13770       }
13771       parts {
13772          part {
13773             name: "event";
13774             type: RECT;
13775             repeat_events: 1;
13776             description {
13777                state: "default" 0.0;
13778                color: 0 0 0 0;
13779             }
13780          }
13781          part {
13782             name: "base";
13783             mouse_events: 0;
13784             description {
13785                state: "default" 0.0;
13786                image {
13787                   normal: "ilist_2_h.png";
13788                   border: 2 2 2 2;
13789                }
13790                fill.smooth: 0;
13791             }
13792          }
13793          part { name: "bg";
13794             mouse_events: 0;
13795             description { state: "default" 0.0;
13796                visible: 0;
13797                color: 255 255 255 0;
13798                rel1 {
13799                   relative: 0.0 0.0;
13800                   offset: -5 -5;
13801                }
13802                rel2 {
13803                   relative: 1.0 1.0;
13804                   offset: 4 4;
13805                }
13806                image {
13807                   normal: "bt_sm_base1.png";
13808                   border: 6 6 6 6;
13809                }
13810                image.middle: SOLID;
13811             }
13812             description { state: "selected" 0.0;
13813                inherit: "default" 0.0;
13814                visible: 1;
13815                color: 255 255 255 255;
13816                rel1 {
13817                   relative: 0.0 0.0;
13818                   offset: -2 -2;
13819                }
13820                rel2 {
13821                   relative: 1.0 1.0;
13822                   offset: 1 1;
13823                }
13824             }
13825          }
13826          part { name: "elm.swallow.icon";
13827             type: SWALLOW;
13828             description { state: "default" 0.0;
13829                fixed: 0 1;
13830                align: 0.5 0.0;
13831                rel1 {
13832                   relative: 0.0 0.0;
13833                   offset: 4 4;
13834                }
13835                rel2 {
13836                   relative: 1.0 0.0;
13837                   offset: -5 4;
13838                }
13839             }
13840          }
13841          part { name: "elm.swallow.end";
13842             type: SWALLOW;
13843             description { state: "default" 0.0;
13844                fixed: 0 1;
13845                align: 0.5 1.0;
13846                rel1 {
13847                   relative: 0.0 1.0;
13848                   offset: 4 -5;
13849                }
13850                rel2 {
13851                   relative: 1.0 1.0;
13852                   offset: -5 -5;
13853                }
13854             }
13855          }
13856          part { name: "elm.text";
13857             type: TEXT;
13858             effect: SOFT_SHADOW;
13859             mouse_events: 0;
13860             scale: 1;
13861             description {
13862                state: "default" 0.0;
13863                fixed: 1 1;
13864                rel1 {
13865                   to_x: "elm.swallow.icon";
13866                   relative: 0.0 1.0;
13867                   offset: 4 4;
13868                }
13869                rel2 {
13870                   to_x: "elm.swallow.end";
13871                   relative: 1.0 0.0;
13872                   offset: -5 -1;
13873                }
13874                color: 0 0 0 255;
13875                color3: 0 0 0 0;
13876                text {
13877                   font: "Sans";
13878                   size: 10;
13879                   min: 1 1;
13880                   align: 0.5 0.5;
13881                   text_class: "list_item";
13882                }
13883             }
13884             description { state: "selected" 0.0;
13885                inherit: "default" 0.0;
13886                color: 224 224 224 255;
13887                color3: 0 0 0 64;
13888             }
13889          }
13890          part { name: "fg1";
13891             mouse_events: 0;
13892             description { state: "default" 0.0;
13893                visible: 0;
13894                color: 255 255 255 0;
13895                rel1.to: "bg";
13896                rel2.relative: 1.0 0.5;
13897                rel2.to: "bg";
13898                image {
13899                   normal: "bt_sm_hilight.png";
13900                   border: 6 6 6 0;
13901                }
13902             }
13903             description { state: "selected" 0.0;
13904                inherit: "default" 0.0;
13905                visible: 1;
13906                color: 255 255 255 255;
13907             }
13908          }
13909          part { name: "fg2";
13910             mouse_events: 0;
13911             description { state: "default" 0.0;
13912                visible: 0;
13913                color: 255 255 255 0;
13914                rel1.to: "bg";
13915                rel2.to: "bg";
13916                image {
13917                   normal: "bt_sm_shine.png";
13918                   border: 6 6 6 0;
13919                }
13920             }
13921             description { state: "selected" 0.0;
13922                inherit: "default" 0.0;
13923                visible: 1;
13924                color: 255 255 255 255;
13925             }
13926          }
13927       }
13928       programs {
13929          program {
13930             name: "go_active";
13931             signal: "elm,state,selected";
13932             source: "elm";
13933             action: STATE_SET "selected" 0.0;
13934             target: "bg";
13935             target: "fg1";
13936             target: "fg2";
13937             target: "elm.text";
13938          }
13939          program {
13940             name: "go_passive";
13941             signal: "elm,state,unselected";
13942             source: "elm";
13943             action: STATE_SET "default" 0.0;
13944             target: "bg";
13945             target: "fg1";
13946             target: "fg2";
13947             target: "elm.text";
13948             transition: LINEAR 0.1;
13949          }
13950       }
13951    }
13952
13953 ///////////////////////////////////////////////////////////////////////////////
13954    group { name: "elm/slider/horizontal/default";
13955            alias: "elm/slider/horizontal/disabled";
13956       images {
13957          image: "sl_bg.png" COMP;
13958          image: "sl_bg_over.png" COMP;
13959
13960          image: "sl_units.png" COMP;
13961       }
13962       parts {
13963          part { name: "base";
13964             mouse_events: 0;
13965             description { state: "default" 0.0;
13966                max: 99999 6;
13967                min: 0 6;
13968                rel1 { to: "bg";
13969                   offset: 1 0;
13970                }
13971                rel2 { to: "bg";
13972                   offset: -2 -1;
13973                }
13974                image.normal: "sl_bg.png";
13975                fill.smooth: 0;
13976             }
13977          }
13978          part { name: "level";
13979             type: RECT;
13980             mouse_events: 0;
13981             description { state: "default" 0.0;
13982                fixed: 1 1;
13983                rel1.to: "base";
13984                rel2 {
13985                   to_y: "base";
13986                   to_x: "elm.dragable.slider";
13987                   relative: 0.5 1.0;
13988                }
13989                color: 255 0 0 200;
13990             }
13991             description { state: "inverted" 0.0;
13992                inherit: "default" 0.0;
13993                visible: 0;
13994             }
13995             description { state: "disabled" 0.0;
13996                inherit: "default" 0.0;
13997                color: 255 0 0 100;
13998             }
13999             description { state: "disabled_inverted" 0.0;
14000                inherit: "default" 0.0;
14001                visible: 0;
14002             }
14003          }
14004          part { name: "level2";
14005             type: RECT;
14006             mouse_events: 0;
14007             description { state: "default" 0.0;
14008                fixed: 1 1;
14009                visible: 0;
14010                rel1 {
14011                   to_y: "base";
14012                   to_x: "elm.dragable.slider";
14013                   relative: 0.5 0.0;
14014                }
14015                rel2.to: "base";
14016                color: 255 0 0 200;
14017             }
14018             description { state: "inverted" 0.0;
14019                inherit: "default" 0.0;
14020                visible: 1;
14021             }
14022             description { state: "disabled" 0.0;
14023                inherit: "default" 0.0;
14024             }
14025             description { state: "disabled_inverted" 0.0;
14026                inherit: "default" 0.0;
14027                color: 255 0 0 100;
14028                visible: 1;
14029             }
14030          }
14031          part {
14032             name: "base_over";
14033             mouse_events: 0;
14034             description { state: "default" 0.0;
14035                rel1.to: "base";
14036                rel1.offset: -1 -1;
14037                rel2.to: "base";
14038                rel2.offset: 0 0;
14039                image {
14040                   normal: "sl_bg_over.png";
14041                   border: 3 3 3 3;
14042                }
14043                fill.smooth: 0;
14044             }
14045          }
14046          part { name: "bg";
14047             type: RECT;
14048             mouse_events: 0;
14049             scale: 1;
14050             description { state: "default" 0.0;
14051                visible: 0;
14052                rel1.to: "elm.swallow.bar";
14053                rel2.to: "elm.swallow.bar";
14054                color: 0 0 0 0;
14055             }
14056          }
14057          part { name: "elm.swallow.bar";
14058             type: SWALLOW;
14059             scale: 1;
14060             description { state: "default" 0.0;
14061                min: 48 24;
14062                max: 99999 24;
14063                align: 1.0 0.5;
14064                rel1 {
14065                   to_x: "elm.text";
14066                   relative: 1.0 0.0;
14067                   offset: 8 0;
14068                }
14069                rel2 {
14070                   to_x: "elm.units";
14071                   relative: 0.0 1.0;
14072                   offset: -10 -1;
14073                }
14074             }
14075          }
14076          part { name: "elm.swallow.icon";
14077             type: SWALLOW;
14078             description { state: "default" 0.0;
14079                visible: 0;
14080                align: 0.0 0.5;
14081                rel1 {
14082                   offset: 4 0;
14083                   to_y: "elm.swallow.bar";
14084                }
14085                rel2 {
14086                   offset: 3 -1;
14087                   relative: 0.0 1.0;
14088                   to_y: "elm.swallow.bar";
14089                }
14090             }
14091             description { state: "visible" 0.0;
14092                inherit: "default" 0.0;
14093                visible: 1;
14094                aspect: 1.0 1.0;
14095                aspect_preference: VERTICAL;
14096                rel2.offset: 4 -1;
14097             }
14098          }
14099          part { name: "elm.text";
14100             type: TEXT;
14101             mouse_events: 0;
14102             scale: 1;
14103             description { state: "default" 0.0;
14104                visible: 0;
14105                fixed: 1 1;
14106                align: 0.0 0.5;
14107                rel1.to_x: "elm.swallow.icon";
14108                rel1.relative: 1.0 0.0;
14109                rel1.offset: -1 4;
14110                rel2.to_x: "elm.swallow.icon";
14111                rel2.relative: 1.0 1.0;
14112                rel2.offset: -1 -5;
14113                color: 0 0 0 255;
14114                text {
14115                   font: "Sans,Edje-Vera";
14116                   size: 10;
14117                   min: 0 0;
14118                   align: 0.0 0.5;
14119                }
14120             }
14121             description { state: "visible" 0.0;
14122                inherit: "default" 0.0;
14123                visible: 1;
14124                text.min: 1 1;
14125                rel1.offset: 0 4;
14126                rel2.offset: 0 -5;
14127             }
14128             description { state: "disabled" 0.0;
14129                inherit: "default" 0.0;
14130                color: 255 128 128 128;
14131                visible: 0;
14132             }
14133             description { state: "disabled_visible" 0.0;
14134                inherit: "default" 0.0;
14135                color: 0 0 0 128;
14136                color3: 0 0 0 0;
14137                visible: 1;
14138                text.min: 1 1;
14139             }
14140          }
14141          part {
14142             name: "elm.swallow.end";
14143             type: SWALLOW;
14144             description {
14145                state: "default" 0.0;
14146                visible: 0;
14147                align: 1.0 0.5;
14148                rel1 {
14149                   offset: -4 0;
14150                   relative: 1.0 0.0;
14151                   to_y: "elm.swallow.bar";
14152                }
14153                rel2 {
14154                   offset: -3 -1;
14155                   to_y: "elm.swallow.bar";
14156                }
14157             }
14158             description { state: "visible" 0.0;
14159                inherit: "default" 0.0;
14160                visible: 1;
14161                aspect: 1.0 1.0;
14162                aspect_preference: VERTICAL;
14163                rel2.offset: -4 -1;
14164             }
14165          }
14166          part { name: "units";
14167             mouse_events: 0;
14168             description { state: "default" 0.0;
14169                visible: 0;
14170                rel1 {
14171                   to_x: "elm.units";
14172                   offset: 0 5;
14173                }
14174                rel2 {
14175                   to_x: "elm.units";
14176                   offset: 5 -3;
14177                }
14178                image {
14179                   normal: "sl_units.png";
14180                   border: 0 5 3 8;
14181                }
14182                fill.smooth: 0;
14183             }
14184             description { state: "visible" 0.0;
14185                inherit: "default" 0.0;
14186                visible: 1;
14187             }
14188          }
14189          part { name: "elm.units";
14190             type: TEXT;
14191             mouse_events: 0;
14192             scale: 1;
14193             description { state: "default" 0.0;
14194                visible: 0;
14195                fixed: 1 1;
14196                align: 1.0 0.5;
14197                rel1.to_x: "elm.swallow.end";
14198                rel1.relative: 0.0 0.0;
14199                rel1.offset: 0 8;
14200                rel2.to_x: "elm.swallow.end";
14201                rel2.relative: 0.0 1.0;
14202                rel2.offset: 0 -9;
14203                color: 0 0 0 255;
14204                text {
14205                   font: "Sans,Edje-Vera";
14206                   size: 10;
14207                   min: 0 0;
14208                   align: 0.0 0.5;
14209                }
14210             }
14211             description { state: "visible" 0.0;
14212                inherit: "default" 0.0;
14213                fixed: 1 1;
14214                visible: 1;
14215                text.min: 1 1;
14216                rel1.offset: -5 0;
14217                rel2.offset: -5 -1;
14218             }
14219             description { state: "disabled" 0.0;
14220                inherit: "default" 0.0;
14221                color: 255 128 128 128;
14222                visible: 0;
14223             }
14224             description { state: "disabled_visible" 0.0;
14225                inherit: "default" 0.0;
14226                color: 0 0 0 128;
14227                color3: 0 0 0 0;
14228                visible: 1;
14229                text.min: 1 1;
14230             }
14231          }
14232          part { name: "elm.dragable.slider";
14233             type: GROUP;
14234             source: "elm/slider/horizontal/indicator/default";
14235             mouse_events: 1;
14236             repeat_events: 1;
14237             scale: 1;
14238             dragable {
14239                x: 1 1 0;
14240                y: 0 0 0;
14241                confine: "bg";
14242             }
14243             description { state: "default" 0.0;
14244                min: 0 24;
14245                max: 0 24;
14246                fixed: 1 1;
14247                rel1 {
14248                   relative: 0.5 0.0;
14249                   to_x: "bg";
14250                }
14251                rel2 {
14252                   relative: 0.5 1.0;
14253                   to_x: "bg";
14254                }
14255                color: 255 0 0 100;
14256             }
14257          }
14258           part { name: "disabler";
14259             type: RECT;
14260             description { state: "default" 0.0;
14261                color: 0 0 0 0;
14262                visible: 0;
14263             }
14264             description { state: "disabled" 0.0;
14265                inherit: "default" 0.0;
14266                visible: 1;
14267             }
14268          }
14269       }
14270       programs {
14271          program { name: "text_show";
14272             signal: "elm,state,text,visible";
14273             source: "elm";
14274             action:  STATE_SET "visible" 0.0;
14275             target: "elm.text";
14276          }
14277          program { name: "text_hide";
14278             signal: "elm,state,text,hidden";
14279             source: "elm";
14280             action:  STATE_SET "default" 0.0;
14281             target: "elm.text";
14282          }
14283          program { name: "icon_show";
14284             signal: "elm,state,icon,visible";
14285             source: "elm";
14286             action:  STATE_SET "visible" 0.0;
14287             target: "elm.swallow.icon";
14288          }
14289          program { name: "icon_hide";
14290             signal: "elm,state,icon,hidden";
14291             source: "elm";
14292             action:  STATE_SET "default" 0.0;
14293             target: "elm.swallow.icon";
14294          }
14295           program { name: "end_show";
14296             signal: "elm,state,end,visible";
14297             source: "elm";
14298             action:  STATE_SET "visible" 0.0;
14299             target: "elm.swallow.end";
14300          }
14301          program { name: "end_hide";
14302             signal: "elm,state,end,hidden";
14303             source: "elm";
14304             action:  STATE_SET "default" 0.0;
14305             target: "elm.swallow.end";
14306          }
14307          program { name: "units_show";
14308             signal: "elm,state,units,visible";
14309             source: "elm";
14310             action:  STATE_SET "visible" 0.0;
14311             target: "elm.units";
14312             target: "units";
14313          }
14314          program { name: "units_hide";
14315             signal: "elm,state,units,hidden";
14316             source: "elm";
14317             action:  STATE_SET "default" 0.0;
14318             target: "elm.units";
14319             target: "units";
14320          }
14321          program { name: "invert_on";
14322             signal: "elm,state,inverted,on";
14323             source: "elm";
14324             action:  STATE_SET "inverted" 0.0;
14325             target: "level";
14326             target: "level2";
14327          }
14328          program { name: "invert_off";
14329             signal: "elm,state,inverted,off";
14330             source: "elm";
14331             action:  STATE_SET "default" 0.0;
14332             target: "level";
14333             target: "level2";
14334          }
14335          program {
14336             name:    "go_disabled";
14337             signal:  "elm,state,disabled";
14338             source:  "elm";
14339             action:  STATE_SET "disabled" 0.0;
14340 //            target: "button0";
14341             target: "disabler";
14342             after: "disable_text";
14343             after: "disable_ind";
14344          }
14345
14346          program { name: "disable_ind";
14347             action: SIGNAL_EMIT "elm.dragable.slider:elm,state,disabled" "elm";
14348          }
14349          program { name: "disable_text";
14350             script {
14351                new st[31];
14352                new Float:vl;
14353                get_state(PART:"elm.text", st, 30, vl);
14354                if (!strcmp(st, "visible"))
14355                   set_state(PART:"elm.text", "disabled_visible", 0.0);
14356                else
14357                   set_state(PART:"elm.text", "disabled", 0.0);
14358
14359                get_state(PART:"elm.units", st, 30, vl);
14360                if (!strcmp(st, "visible"))
14361                   set_state(PART:"elm.units", "disabled_visible", 0.0);
14362                else
14363                   set_state(PART:"elm.units", "disabled", 0.0);
14364
14365                get_state(PART:"level2", st, 30, vl);
14366                if (!strcmp(st, "inverted"))
14367                {
14368                   set_state(PART:"level", "disabled_inverted", 0.0);
14369                   set_state(PART:"level2", "disabled_inverted", 0.0);
14370                }
14371                else
14372                {
14373                   set_state(PART:"level", "disabled", 0.0);
14374                   set_state(PART:"level2", "disabled", 0.0);
14375                }
14376             }
14377          }
14378          program { name: "enable";
14379             signal: "elm,state,enabled";
14380             source: "elm";
14381             action: STATE_SET "default" 0.0;
14382 //            target: "button0";
14383             target: "disabler";
14384             after: "enable_text";
14385             after: "enable_ind";
14386          }
14387
14388          program { name: "enable_ind";
14389             action: SIGNAL_EMIT "elm.dragable.slider:elm,state,enabled" "elm";
14390          }
14391
14392          program { name: "enable_text";
14393             script {
14394                new st[31];
14395                new Float:vl;
14396                get_state(PART:"elm.text", st, 30, vl);
14397                if (!strcmp(st, "disabled_visible"))
14398                   set_state(PART:"elm.text", "visible", 0.0);
14399                else
14400                   set_state(PART:"elm.text", "default", 0.0);
14401
14402                get_state(PART:"elm.units", st, 30, vl);
14403                if (!strcmp(st, "disabled_visible"))
14404                   set_state(PART:"elm.units", "visible", 0.0);
14405                else
14406                   set_state(PART:"elm.units", "default", 0.0);
14407
14408                get_state(PART:"level2", st, 30, vl);
14409                if (!strcmp(st, "disabled_inverted"))
14410                {
14411                   set_state(PART:"level", "inverted", 0.0);
14412                   set_state(PART:"level2", "inverted", 0.0);
14413                }
14414                else
14415                {
14416                   set_state(PART:"level", "default", 0.0);
14417                   set_state(PART:"level2", "default", 0.0);
14418                }
14419             }
14420          }
14421       }
14422    }
14423
14424    group { name: "elm/slider/vertical/default";
14425       images {
14426          image: "slv_bg.png" COMP;
14427          image: "slv_bg_over.png" COMP;
14428
14429          image: "slv_units.png" COMP;
14430       }
14431       parts {
14432          part { name: "base";
14433             mouse_events: 0;
14434             description { state: "default" 0.0;
14435                max: 6 99999;
14436                min: 6 0;
14437                rel1 { to: "bg";
14438                   offset: 1 0;
14439                }
14440                rel2 { to: "bg";
14441                   offset: -2 -1;
14442                }
14443                image.normal: "slv_bg.png";
14444                fill.smooth: 0;
14445             }
14446          }
14447          part { name: "level";
14448             type: RECT;
14449             mouse_events: 0;
14450             description { state: "default" 0.0;
14451                fixed: 1 1;
14452                rel1.to: "base";
14453                rel2 {
14454                   to_x: "base";
14455                   to_y: "elm.dragable.slider";
14456                   relative: 1.0 0.5;
14457                }
14458                color: 255 0 0 200;
14459             }
14460             description { state: "inverted" 0.0;
14461                inherit: "default" 0.0;
14462                visible: 0;
14463             }
14464             description { state: "disabled" 0.0;
14465                inherit: "default" 0.0;
14466                color: 255 0 0 100;
14467             }
14468             description { state: "disabled_inverted" 0.0;
14469                inherit: "default" 0.0;
14470                visible: 0;
14471             }
14472          }
14473          part { name: "level2";
14474             type: RECT;
14475             mouse_events: 0;
14476             description { state: "default" 0.0;
14477                fixed: 1 1;
14478                visible: 0;
14479                rel1 {
14480                   to_x: "base";
14481                   to_y: "elm.dragable.slider";
14482                   relative: 0.0 0.5;
14483                }
14484                rel2.to: "base";
14485                color: 255 0 0 200;
14486             }
14487             description { state: "inverted" 0.0;
14488                inherit: "default" 0.0;
14489                visible: 1;
14490             }
14491             description { state: "disabled" 0.0;
14492                inherit: "default" 0.0;
14493                color: 255 0 0 100;
14494             }
14495             description { state: "disabled_inverted" 0.0;
14496                inherit: "default" 0.0;
14497                color: 255 0 0 100;
14498                visible: 1;
14499             }
14500          }
14501          part {
14502             name: "base_over";
14503             mouse_events: 0;
14504             description { state: "default" 0.0;
14505                rel1.to: "base";
14506                rel1.offset: -1 -1;
14507                rel2.to: "base";
14508                rel2.offset: 0 0;
14509                image {
14510                   normal: "slv_bg_over.png";
14511                   border: 3 3 3 3;
14512                }
14513                fill.smooth: 0;
14514             }
14515          }
14516          part { name: "bg";
14517             type: RECT;
14518             mouse_events: 0;
14519             scale: 1;
14520             description { state: "default" 0.0;
14521                visible: 0;
14522                rel1.to: "elm.swallow.bar";
14523                rel2.to: "elm.swallow.bar";
14524                color: 0 0 0 0;
14525             }
14526          }
14527          part { name: "elm.swallow.bar";
14528             type: SWALLOW;
14529             scale: 1;
14530             description { state: "default" 0.0;
14531                min: 24 48;
14532                max: 24 9999;
14533                align: 0.5 1.0;
14534                rel1 {
14535                   to_y: "elm.text";
14536                   relative: 0.0 1.0;
14537                   offset: 0 10;
14538                }
14539                rel2 {
14540                   to_y: "elm.units";
14541                   relative: 1.0 0.0;
14542                   offset: -1 -8;
14543                }
14544             }
14545          }
14546          part { name: "elm.swallow.icon";
14547             type: SWALLOW;
14548             description { state: "default" 0.0;
14549                visible: 0;
14550                align: 0.5 0.0;
14551                rel1 {
14552                   offset: 0 4;
14553                   to_x: "elm.swallow.bar";
14554                }
14555                rel2 {
14556                   offset: -1 3;
14557                   relative: 1.0 0.0;
14558                   to_x: "elm.swallow.bar";
14559                }
14560             }
14561             description { state: "visible" 0.0;
14562                inherit: "default" 0.0;
14563                visible: 1;
14564                aspect: 1.0 1.0;
14565                aspect_preference: HORIZONTAL;
14566                rel2.offset: -1 4;
14567             }
14568          }
14569          part { name: "elm.text";
14570             type: TEXT;
14571             mouse_events: 0;
14572             scale: 1;
14573             description { state: "default" 0.0;
14574                visible: 0;
14575                fixed: 0 1;
14576                align: 0.5 0.0;
14577                rel1.to_y: "elm.swallow.icon";
14578                rel1.relative: 0.0 1.0;
14579                rel1.offset: 0 -1;
14580                rel2.to_y: "elm.swallow.icon";
14581                rel2.relative: 1.0 1.0;
14582                rel2.offset: -1 -1;
14583                color: 0 0 0 255;
14584                text {
14585                   font: "Sans,Edje-Vera";
14586                   size: 10;
14587                   min: 0 0;
14588                   align: 0.5 0.0;
14589                }
14590             }
14591             description { state: "visible" 0.0;
14592                inherit: "default" 0.0;
14593                visible: 1;
14594                text.min: 1 1;
14595                rel1.offset: 4 0;
14596                rel2.offset: -5 0;
14597             }
14598             description { state: "disabled" 0.0;
14599                inherit: "default" 0.0;
14600                color: 255 128 128 128;
14601                visible: 0;
14602             }
14603             description { state: "disabled_visible" 0.0;
14604                inherit: "default" 0.0;
14605                color: 0 0 0 128;
14606                color3: 0 0 0 0;
14607                visible: 1;
14608                text.min: 1 1;
14609             }
14610          }
14611          part {
14612             name: "elm.swallow.end";
14613             type: SWALLOW;
14614             description {
14615                state: "default" 0.0;
14616                visible: 0;
14617                align: 0.5 1.0;
14618                rel1 {
14619                   offset: 0 -4;
14620                   relative: 0.0 1.0;
14621                   to_x: "elm.swallow.bar";
14622                }
14623                rel2 {
14624                   offset: -1 -3;
14625                   to_x: "elm.swallow.bar";
14626                }
14627             }
14628             description { state: "visible" 0.0;
14629                inherit: "default" 0.0;
14630                visible: 1;
14631                aspect: 1.0 1.0;
14632                aspect_preference: HORIZONTAL;
14633                rel2.offset: -1 -4;
14634             }
14635          }
14636          part { name: "units";
14637             mouse_events: 0;
14638             description { state: "default" 0.0;
14639                visible: 0;
14640                rel1 {
14641                   to: "elm.units";
14642                   offset: -8 0;
14643                }
14644                rel2 {
14645                   to: "elm.units";
14646                   offset: 7 8;
14647                }
14648                image {
14649                   normal: "slv_units.png";
14650                   border: 8 8 0 9;
14651                }
14652                fill.smooth: 0;
14653             }
14654             description { state: "visible" 0.0;
14655                inherit: "default" 0.0;
14656                visible: 1;
14657             }
14658          }
14659          part { name: "elm.units";
14660             type: TEXT;
14661             mouse_events: 0;
14662             scale: 1;
14663             description { state: "default" 0.0;
14664                visible: 0;
14665                fixed: 1 1;
14666                align: 0.5 1.0;
14667                rel1.relative: 0.0 0.0;
14668                rel1.to_y: "elm.swallow.end";
14669                rel1.offset: 8 0;
14670                rel2.relative: 1.0 0.0;
14671                rel2.to_y: "elm.swallow.end";
14672                rel2.offset: -9 0;
14673                color: 0 0 0 255;
14674                text {
14675                   font: "Sans,Edje-Vera";
14676                   size: 10;
14677                   min: 0 0;
14678                   align: 0.5 0.0;
14679                }
14680             }
14681             description { state: "visible" 0.0;
14682                inherit: "default" 0.0;
14683                fixed: 1 1;
14684                visible: 1;
14685                text.min: 1 1;
14686                rel1.offset: 8 -9;
14687                rel2.offset: -9 -9;
14688             }
14689             description { state: "disabled" 0.0;
14690                inherit: "default" 0.0;
14691                color:  0 0 0 128;
14692                color3: 0 0 0 0;
14693                visible: 0;
14694             }
14695             description { state: "disabled_visible" 0.0;
14696                inherit: "default" 0.0;
14697                fixed: 1 1;
14698                visible: 1;
14699                text.min: 1 1;
14700                rel1.offset: 8 -9;
14701                rel2.offset: -9 -9;
14702                color: 0 0 0 128;
14703                color3: 0 0 0 0;
14704             }
14705          }
14706          part { name: "elm.dragable.slider";
14707             type: GROUP;
14708             source: "elm/slider/vertical/indicator/default";
14709             mouse_events: 1;
14710             repeat_events: 1;
14711             scale: 1;
14712             dragable {
14713                x: 0 0 0;
14714                y: 1 1 0;
14715                confine: "bg";
14716             }
14717             description { state: "default" 0.0;
14718                min: 24 0;
14719                max: 24 0;
14720                fixed: 1 1;
14721                rel1 {
14722                   relative: 0.5  0.0;
14723                   to_y: "bg";
14724                }
14725                rel2 {
14726                   relative: 0.5  1.0;
14727                   to_y: "bg";
14728                }
14729                color: 0 0 0 0;
14730             }
14731          }
14732               part { name: "disabler";
14733                 type: RECT;
14734                 description { state: "default" 0.0;
14735                    color: 0 0 0 0;
14736                    visible: 0;
14737                 }
14738                 description { state: "disabled" 0.0;
14739                    inherit: "default" 0.0;
14740                    visible: 1;
14741                 }
14742              }
14743           }
14744
14745       programs {
14746          program { name: "text_show";
14747             signal: "elm,state,text,visible";
14748             source: "elm";
14749             action:  STATE_SET "visible" 0.0;
14750             target: "elm.text";
14751          }
14752          program { name: "text_hide";
14753             signal: "elm,state,text,hidden";
14754             source: "elm";
14755             action:  STATE_SET "default" 0.0;
14756             target: "elm.text";
14757          }
14758          program { name: "icon_show";
14759             signal: "elm,state,icon,visible";
14760             source: "elm";
14761             action:  STATE_SET "visible" 0.0;
14762             target: "elm.swallow.icon";
14763          }
14764          program { name: "icon_hide";
14765             signal: "elm,state,icon,hidden";
14766             source: "elm";
14767             action:  STATE_SET "default" 0.0;
14768             target: "elm.swallow.icon";
14769          }
14770          program { name: "end_show";
14771             signal: "elm,state,end,visible";
14772             source: "elm";
14773             action:  STATE_SET "visible" 0.0;
14774             target: "elm.swallow.end";
14775          }
14776          program { name: "end_hide";
14777             signal: "elm,state,end,hidden";
14778             source: "elm";
14779             action:  STATE_SET "default" 0.0;
14780             target: "elm.swallow.end";
14781          }
14782          program { name: "units_show";
14783             signal: "elm,state,units,visible";
14784             source: "elm";
14785             action:  STATE_SET "visible" 0.0;
14786             target: "elm.units";
14787             target: "units";
14788          }
14789          program { name: "units_hide";
14790             signal: "elm,state,units,hidden";
14791             source: "elm";
14792             action:  STATE_SET "default" 0.0;
14793             target: "elm.units";
14794             target: "units";
14795          }
14796          program { name: "invert_on";
14797             signal: "elm,state,inverted,on";
14798             source: "elm";
14799             action:  STATE_SET "inverted" 0.0;
14800             target: "level";
14801             target: "level2";
14802          }
14803          program { name: "invert_off";
14804             signal: "elm,state,inverted,off";
14805             source: "elm";
14806             action:  STATE_SET "default" 0.0;
14807             target: "level";
14808             target: "level2";
14809          }
14810          program {
14811             name:   "go_disabled";
14812             signal: "elm,state,disabled";
14813             source: "elm";
14814             action: STATE_SET "disabled" 0.0;
14815 //            target: "button0";
14816             target: "disabler";
14817             after: "disable_text";
14818             after: "disable_ind";
14819          }
14820
14821          program { name: "disable_ind";
14822             action: SIGNAL_EMIT "elm.dragable.slider:elm,state,disabled" "elm";
14823          }
14824
14825          program { name: "disable_text";
14826             script {
14827             new st[31];
14828             new Float:vl;
14829                get_state(PART:"elm.text", st, 30, vl);
14830                if (!strcmp(st, "visible"))
14831                   set_state(PART:"elm.text", "disabled_visible", 0.0);
14832                else
14833                   set_state(PART:"elm.text", "disabled", 0.0);
14834
14835                get_state(PART:"elm.units", st, 30, vl);
14836                if (!strcmp(st, "visible"))
14837                   set_state(PART:"elm.units", "disabled_visible", 0.0);
14838                else
14839                   set_state(PART:"elm.units", "disabled", 0.0);
14840
14841                get_state(PART:"level2", st, 30, vl);
14842                if (!strcmp(st, "inverted"))
14843                {
14844                   set_state(PART:"level", "disabled_inverted", 0.0);
14845                   set_state(PART:"level2", "disabled_inverted", 0.0);
14846                }
14847                else
14848                {
14849                   set_state(PART:"level", "disabled", 0.0);
14850                   set_state(PART:"level2", "disabled", 0.0);
14851                }
14852             }
14853          }
14854
14855          program { name: "enable";
14856             signal: "elm,state,enabled";
14857             source: "elm";
14858             action: STATE_SET "default" 0.0;
14859 //            target: "button0";
14860             target: "disabler";
14861             after: "enable_text";
14862             after: "enable_ind";
14863          }
14864
14865          program { name: "enable_ind";
14866             action: SIGNAL_EMIT "elm.dragable.slider:elm,state,enabled" "elm";
14867          }
14868          program { name: "enable_text";
14869             script {
14870                new st[31];
14871                new Float:vl;
14872                get_state(PART:"elm.text", st, 30, vl);
14873                if (!strcmp(st, "disabled_visible"))
14874                   set_state(PART:"elm.text", "visible", 0.0);
14875                else
14876                   set_state(PART:"elm.text", "default", 0.0);
14877
14878                get_state(PART:"elm.units", st, 30, vl);
14879                if (!strcmp(st, "disabled_visible"))
14880                   set_state(PART:"elm.units", "visible", 0.0);
14881                else
14882                   set_state(PART:"elm.units", "default", 0.0);
14883
14884                get_state(PART:"level2", st, 30, vl);
14885                if (!strcmp(st, "disabled_inverted"))
14886                {
14887                   set_state(PART:"level", "inverted", 0.0);
14888                   set_state(PART:"level2", "inverted", 0.0);
14889                }
14890                else
14891                {
14892                   set_state(PART:"level", "default", 0.0);
14893                   set_state(PART:"level2", "default", 0.0);
14894                }
14895             }
14896          }
14897       }
14898    }
14899    group { name: "elm/slider/horizontal/indicator/default";
14900            alias: "elm/slider/horizontal/indicator/disabled";
14901            alias: "elm/slider/vertical/indicator/default";
14902            alias: "elm/slider/vertical/indicator/disabled";
14903       images {
14904          image: "sl_bt_0.png" COMP;
14905          image: "sl_bt_1.png" COMP;
14906          image: "sl_bt_2.png" COMP;
14907          image: "sl_bt_3.png" COMP;
14908          image: "sl_bt2_0_0.png" COMP;
14909          image: "sl_bt2_0_1.png" COMP;
14910          image: "sl_bt2_0_2.png" COMP;
14911          image: "sl_bt2_1.png" COMP;
14912          image: "sl_bt2_2.png" COMP;
14913       }
14914       script {
14915          public value_hide = 0;
14916          public set_value_show() {
14917             set_int(value_hide, 0);
14918          }
14919          public set_value_hide() {
14920             set_int(value_hide, 1);
14921          }
14922          public thumb_down() {
14923             if (get_int(value_hide) == 1) {
14924                set_state(PART:"elm.indicator", "default", 0.0);
14925                set_state(PART:"button3", "default", 0.0);
14926                set_state(PART:"button4", "default", 0.0);
14927                set_state(PART:"button5", "default", 0.0);
14928                set_state(PART:"button6", "default", 0.0);
14929                set_state(PART:"button7", "default", 0.0);
14930             } else {
14931                set_state(PART:"elm.indicator", "visible", 0.0);
14932                set_state(PART:"button3", "visible", 0.0);
14933                set_state(PART:"button4", "visible", 0.0);
14934                set_state(PART:"button5", "visible", 0.0);
14935                set_state(PART:"button6", "visible", 0.0);
14936                set_state(PART:"button7", "visible", 0.0);
14937             }
14938          }
14939          public thumb_up() {
14940             set_state(PART:"elm.indicator", "default", 0.0);
14941             set_state(PART:"button3", "default", 0.0);
14942             set_state(PART:"button4", "default", 0.0);
14943             set_state(PART:"button5", "default", 0.0);
14944             set_state(PART:"button6", "default", 0.0);
14945             set_state(PART:"button7", "default", 0.0);
14946          }
14947       }
14948       parts {
14949          part { name: "button_events";
14950             type: RECT;
14951             mouse_events: 1;
14952             description { state: "default" 0.0;
14953                fixed: 1 1;
14954                min: 16 16;
14955                aspect: 1.0 1.0;
14956                aspect_preference: VERTICAL;
14957                color: 0 0 0 0;
14958             }
14959          }
14960          part { name: "button0";
14961             mouse_events: 0;
14962             description { state: "default" 0.0;
14963                fixed: 1 1;
14964                max: 17 999;
14965                min: 17 24;
14966                image {
14967                   normal: "sl_bt_0.png";
14968                   border: 5 5 5 10;
14969                }
14970                fill.smooth: 0;
14971             }
14972             description { state: "disabled" 0.0;
14973                inherit: "default" 0.0;
14974                image {
14975                   normal: "sl_bt_3.png";
14976                   border: 5 5 5 10;
14977                }
14978             }
14979          }
14980          part { name: "button1";
14981             mouse_events: 0;
14982             description { state: "default" 0.0;
14983                rel1.to: "button0";
14984                rel2 {
14985                   to: "button0";
14986                   relative: 1.0 0.5;
14987                   offset: -1 -5;
14988                }
14989                image {
14990                   normal: "sl_bt_1.png";
14991                   border: 5 5 5 0;
14992                }
14993             }
14994          }
14995          part { name: "button2";
14996             mouse_events: 0;
14997             description { state: "default" 0.0;
14998                rel1.to: "button0";
14999                rel2.to: "button0";
15000                image {
15001                   normal: "sl_bt_2.png";
15002                   border: 5 5 5 10;
15003                }
15004                fill.smooth: 0;
15005             }
15006          }
15007          part { name: "button3";
15008             mouse_events: 0;
15009             description { state: "default" 0.0;
15010                fixed: 1 1;
15011                visible: 0;
15012                min: 8 32;
15013                align: 1.0 0.5;
15014                rel1 {
15015                   to_x: "elm.indicator";
15016                   to_y: "button4";
15017                   relative: 0.0 0.0;
15018                   offset: -7 0;
15019                }
15020                rel2 {
15021                   to: "button4";
15022                   relative: 0.0 1.0;
15023                   offset: -1 -1;
15024                }
15025                image {
15026                   normal: "sl_bt2_0_0.png";
15027                   border: 6 0 6 12;
15028                }
15029                fill.smooth: 0;
15030             }
15031             description { state: "visible" 0.0;
15032                inherit: "default" 0.0;
15033                visible: 1;
15034             }
15035          }
15036          part { name: "button4";
15037             mouse_events: 0;
15038             description { state: "default" 0.0;
15039                visible: 0;
15040                max: 15 999;
15041                min: 15 32;
15042                rel1 {
15043                   to_x: "button0";
15044                   to_y: "elm.indicator";
15045                   offset: 0 0;
15046                }
15047                rel2.to: "button0";
15048                image {
15049                   normal: "sl_bt2_0_1.png";
15050                   border: 0 0 6 12;
15051                }
15052                fill.smooth: 0;
15053             }
15054             description { state: "visible" 0.0;
15055                inherit: "default" 0.0;
15056                visible: 1;
15057             }
15058          }
15059          part { name: "button5";
15060             mouse_events: 0;
15061             description { state: "default" 0.0;
15062                fixed: 1 1;
15063                visible: 0;
15064                min: 8 32;
15065                align: 0.0 0.5;
15066                rel1 {
15067                   to: "button4";
15068                   relative: 1.0 0.0;
15069                   offset: 0 0;
15070                }
15071                rel2 {
15072                   to_x: "elm.indicator";
15073                   to_y: "button4";
15074                   relative: 1.0 1.0;
15075                   offset: 6 -1;
15076                }
15077                image {
15078                   normal: "sl_bt2_0_2.png";
15079                   border: 0 6 6 12;
15080                }
15081                fill.smooth: 0;
15082             }
15083             description { state: "visible" 0.0;
15084                inherit: "default" 0.0;
15085                visible: 1;
15086             }
15087          }
15088          part { name: "elm.indicator";
15089             type: TEXT;
15090             mouse_events: 0;
15091             effect: SOFT_SHADOW;
15092             scale: 1;
15093             description { state: "default" 0.0;
15094                visible: 0;
15095                fixed: 1 1;
15096                align: 0.5 1.0;
15097                rel1 {
15098                   to: "button0";
15099                   relative: 0.0 -0.25;
15100                   offset: 0 0;
15101                }
15102                rel2 {
15103                   to_x: "button0";
15104                   relative: 1.0 -0.25;
15105                   offset: -1 0;
15106                }
15107                color: 224 224 224 255;
15108                color3: 0 0 0 64;
15109                text {
15110                   font:     "Sans,Edje-Vera";
15111                   size:     10;
15112                   min:      0 0;
15113                   align:    0.5 0.5;
15114                }
15115             }
15116             description { state: "visible" 0.0;
15117                inherit: "default" 0.0;
15118                visible: 1;
15119                text.min: 1 1;
15120                rel1.offset: 0 -1;
15121                rel2.offset: -1 -1;
15122             }
15123          }
15124          part { name: "button6";
15125             mouse_events: 0;
15126             description { state: "default" 0.0;
15127                visible: 0;
15128                rel1.to: "button3";
15129                rel2 {
15130                   to: "button5";
15131                   relative: 1.0 0.3;
15132                   offset: -1 -1;
15133                }
15134                image {
15135                   normal: "sl_bt2_1.png";
15136                   border: 5 5 5 0;
15137                }
15138                fill.smooth: 0;
15139             }
15140             description { state: "visible" 0.0;
15141                inherit: "default" 0.0;
15142                visible: 1;
15143             }
15144          }
15145          part { name: "button7";
15146             mouse_events: 0;
15147             description { state: "default" 0.0;
15148                visible: 0;
15149                rel1.to: "button3";
15150                rel2.to: "button5";
15151                image {
15152                   normal: "sl_bt2_2.png";
15153                   border: 5 5 5 0;
15154                   middle: 0;
15155                }
15156                fill.smooth: 0;
15157             }
15158             description { state: "visible" 0.0;
15159                inherit: "default" 0.0;
15160                visible: 1;
15161             }
15162          }
15163       }
15164       programs {
15165          program { name: "set_val_show";
15166             signal: "elm,state,val,show";
15167             source: "elm";
15168             script {
15169                set_value_show();
15170             }
15171          }
15172          program { name: "set_val_hide";
15173             signal: "elm,state,val,hide";
15174             source: "elm";
15175             script {
15176                set_value_hide();
15177             }
15178          }
15179          program { name: "val_show";
15180             signal: "mouse,down,*";
15181             source: "button_events";
15182             script {
15183                thumb_down();
15184             }
15185
15186          }
15187          program { name: "val_hide";
15188             signal: "mouse,up,*";
15189             source: "button_events";
15190             script {
15191                thumb_up();
15192             }
15193          }
15194          program {
15195             name:    "go_disabled";
15196             signal:  "elm,state,disabled";
15197             source:  "elm";
15198             action:  STATE_SET "disabled" 0.0;
15199             target:  "button0";
15200          }
15201          program {
15202             name:    "go_enabled";
15203             signal:  "elm,state,enabled";
15204             source:  "elm";
15205             action:  STATE_SET "default" 0.0;
15206             target:  "button0";
15207          }
15208       }
15209    }
15210
15211
15212 ////////////////////////////////////////////////////////////////////////////////
15213 // actionslider
15214 ////////////////////////////////////////////////////////////////////////////////
15215    group { name: "elm/actionslider/base/default";
15216
15217       images {
15218          image: "shelf_inset.png" COMP;
15219          image: "ilist_1.png" COMP;
15220          image: "bt_bases.png" COMP;
15221          image: "bt_basew.png" COMP;
15222          image: "bt_hilightw.png" COMP;
15223       }
15224
15225       parts {
15226          part {
15227             name: "base";
15228             mouse_events: 0;
15229             description {
15230                state: "default" 0.0;
15231                min: 75 25;
15232                rel1.offset: 1 1;
15233                rel2.offset: -2 -2;
15234                image {
15235                   normal: "ilist_1.png";
15236                   border: 2 2 2 2;
15237                }
15238                fill.smooth: 0;
15239             }
15240          }
15241          part { name: "conf_over";
15242             mouse_events:  0;
15243             description { state: "default" 0.0;
15244                rel1.to: "base";
15245                rel2.to: "base";
15246                image {
15247                   normal: "shelf_inset.png";
15248                   border: 7 7 7 7;
15249                   middle: 0;
15250                }
15251                fill.smooth : 0;
15252             }
15253          }
15254          part { name: "icon.dragable.area";
15255            type: RECT;
15256             mouse_events: 0;
15257             description { state: "default" 0.0;
15258                visible: 0;
15259                rel1.to: "base";
15260                rel2.to: "base";
15261             }
15262          }
15263          part { name: "elm.text.left";
15264             type: TEXT;
15265             mouse_events: 0;
15266             scale: 1;
15267             description { state: "default" 0.0;
15268                color: 0 0 0 255;
15269                text {
15270                   font: "Sans,Edje-Vera";
15271                   size: 10;
15272                   align: 0.05 0.5;
15273                   min: 1 1;
15274                }
15275             }
15276          }
15277          part { name: "elm.text.center";
15278             type: TEXT;
15279             mouse_events: 0;
15280             scale: 1;
15281             description { state: "default" 0.0;
15282                color: 0 0 0 255;
15283                text {
15284                   font: "Sans,Edje-Vera";
15285                   size: 10;
15286                   align: 0.5 0.5;
15287                   min: 1 1;
15288                }
15289             }
15290          }
15291          part { name: "elm.text.right";
15292             type: TEXT;
15293             mouse_events: 0;
15294             scale: 1;
15295             description { state: "default" 0.0;
15296                color: 0 0 0 255;
15297                text {
15298                   font: "Sans,Edje-Vera";
15299                   size: 10;
15300                   align: 0.95 0.5;
15301                   min: 1 1;
15302                }
15303             }
15304          }
15305          part { name: "elm.drag_button_base";
15306             type: SWALLOW;
15307             mouse_events: 0;
15308             scale: 1;
15309             description { state: "default" 0.0;
15310                fixed: 1 1;
15311                min: 50 25;
15312                align: 0.5 0.5;
15313                rel1.to: "icon.dragable.area";
15314                rel2 {
15315                   relative: 0.0 1.0;
15316                   to: "icon.dragable.area";
15317                }
15318             }
15319             dragable {
15320                confine: "icon.dragable.area";
15321                x: 1 1 0;
15322                y: 0 0 0;
15323             }
15324          }
15325          part { name: "elm.drag_button";
15326             type: RECT;
15327             mouse_events: 1;
15328             description { state: "default" 0.0;
15329                min: 50 25;
15330                color: 255 255 255 0;
15331                rel1.to_x: "elm.drag_button_base";
15332                rel1.to_y: "icon.dragable.area";
15333                rel2.to_x: "elm.drag_button_base";
15334                rel2.to_y: "icon.dragable.area";
15335             }
15336             dragable {
15337                events: "elm.drag_button_base";
15338             }
15339          }
15340          part { name: "button0";
15341             mouse_events: 0;
15342             description { state: "default" 0.0;
15343                rel1.to: "button2";
15344                rel1.offset: -4 -4;
15345                rel2.to: "button2";
15346                rel2.offset: 3 3;
15347                image {
15348                   normal: "bt_bases.png";
15349                   border: 11 11 11 11;
15350                   middle: SOLID;
15351                }
15352                color: 255 255 255 128;
15353             }
15354          }
15355          part { name: "button2";
15356             mouse_events: 0;
15357             description { state: "default" 0.0;
15358                rel1.to: "elm.drag_button";
15359                rel2.to: "elm.drag_button";
15360                image {
15361                   normal: "bt_basew.png";
15362                   border: 7 7 7 7;
15363                   middle: SOLID;
15364                }
15365                color: 255 255 255 210;
15366             }
15367          }
15368          part { name: "button3";
15369             mouse_events: 0;
15370             description { state: "default" 0.0;
15371                rel1.to: "button2";
15372                rel2.to: "button2";
15373                rel2.relative: 1.0 0.5;
15374                image {
15375                   normal: "bt_hilightw.png";
15376                   border: 4 4 4 0;
15377                }
15378                color: 255 255 255 190;
15379             }
15380          }
15381          part { name: "elm.text.indicator";
15382             type: TEXT;
15383             scale: 1;
15384             mouse_events: 0;
15385             description { state: "default" 0.0;
15386                rel1 {
15387                   to: "elm.drag_button";
15388                   offset: 5 0;
15389                }
15390                rel2 {
15391                   to: "elm.drag_button";
15392                   offset: -5 0;
15393                }
15394                color: 0 0 0 255;
15395                text {
15396                   font: "Sans,Edje-Vera";
15397                   size: 10;
15398                   align: 0.5 0.5;
15399                   min: 0 1;
15400                }
15401             }
15402          }
15403       }
15404       programs {
15405          program { name: "elm.drag_button,mouse,up";
15406             signal: "mouse,up,1";
15407             source: "elm.drag_button";
15408             action: SIGNAL_EMIT "elm.drag_button,mouse,up" "";
15409          }
15410          program { name: "elm.drag_button,mouse,down";
15411             signal: "mouse,down,1";
15412             source: "elm.drag_button";
15413             action: SIGNAL_EMIT "elm.drag_button,mouse,down" "";
15414          }
15415          program { name: "elm.drag_button,mouse,move";
15416             signal: "mouse,move";
15417             source: "elm.drag_button_base";
15418             action: SIGNAL_EMIT "elm.drag_button,mouse,move" "";
15419          }
15420       }
15421    }
15422
15423    group { name: "elm/actionslider/base/bar";
15424
15425       images {
15426          image: "shelf_inset.png" COMP;
15427          image: "ilist_1.png" COMP;
15428          image: "bt_bases.png" COMP;
15429          image: "bt_basew.png" COMP;
15430          image: "bt_hilightw.png" COMP;
15431       }
15432
15433       parts {
15434          part {
15435             name: "base";
15436             mouse_events: 0;
15437             description {
15438                state: "default" 0.0;
15439                min: 150 30;
15440                rel1.offset: 1 1;
15441                rel2.offset: -2 -2;
15442                image {
15443                   normal: "ilist_1.png";
15444                   border: 2 2 2 2;
15445                }
15446                fill.smooth: 0;
15447             }
15448          }
15449          part { name: "conf_over";
15450             mouse_events:  0;
15451             description { state: "default" 0.0;
15452                rel1.to: "base";
15453                rel2.to: "base";
15454                image {
15455                   normal: "shelf_inset.png";
15456                   border: 7 7 7 7;
15457                   middle: 0;
15458                }
15459                fill.smooth : 0;
15460             }
15461          }
15462          part { name: "icon.dragable.area";
15463            type: RECT;
15464             mouse_events: 0;
15465             description { state: "default" 0.0;
15466                visible: 0;
15467                rel1.to: "base";
15468                rel2.to: "base";
15469             }
15470          }
15471          part { name: "elm.text.left";
15472             type: TEXT;
15473             mouse_events: 0;
15474             scale: 1;
15475             description { state: "default" 0.0;
15476                color: 0 0 0 255;
15477                text {
15478                   font: "Sans,Edje-Vera";
15479                   size: 10;
15480                   align: 0.05 0.5;
15481                   min: 1 1;
15482                }
15483             }
15484          }
15485          part { name: "elm.text.center";
15486             type: TEXT;
15487             mouse_events: 0;
15488             scale: 1;
15489             description { state: "default" 0.0;
15490                color: 0 0 0 255;
15491                text {
15492                   font: "Sans,Edje-Vera";
15493                   size: 10;
15494                   align: 0.5 0.5;
15495                   min: 1 1;
15496                }
15497             }
15498          }
15499          part { name: "elm.text.right";
15500             type: TEXT;
15501             mouse_events: 0;
15502             scale: 1;
15503             description { state: "default" 0.0;
15504                color: 0 0 0 255;
15505                text {
15506                   font: "Sans,Edje-Vera";
15507                   size: 10;
15508                   align: 0.95 0.5;
15509                   min: 1 1;
15510                }
15511             }
15512          }
15513          part { name: "bar";
15514             type: RECT;
15515             mouse_events: 0;
15516             description { state: "default" 0.0;
15517                rel1.to: "base";
15518                rel1.offset: 0 2;
15519                rel2 {
15520                   relative: 0 1;
15521                   offset: 3 -3;
15522                   to_x: "elm.drag_button_base";
15523                   to_y: "base";
15524                }
15525                color: 0 0 0 180;
15526             }
15527          }
15528          part { name: "elm.drag_button_base";
15529             type: SWALLOW;
15530             mouse_events: 1;
15531             scale: 1;
15532             description { state: "default" 0.0;
15533                fixed: 1 1;
15534                min: 50 25;
15535                align: 0.5 0.5;
15536                rel1.to: "icon.dragable.area";
15537                rel2 {
15538                   relative: 0.0 1.0;
15539                   to: "icon.dragable.area";
15540                }
15541             }
15542             dragable {
15543                confine: "icon.dragable.area";
15544                x: 1 1 0;
15545                y: 0 0 0;
15546             }
15547          }
15548          part { name: "elm.drag_button";
15549             type: RECT;
15550             mouse_events: 1;
15551             description { state: "default" 0.0;
15552                min: 50 25;
15553                color: 255 255 255 0;
15554                rel1.to_x: "elm.drag_button_base";
15555                rel1.to_y: "icon.dragable.area";
15556                rel2.to_x: "elm.drag_button_base";
15557                rel2.to_y: "icon.dragable.area";
15558             }
15559             dragable {
15560                events: "elm.drag_button_base";
15561             }
15562          }
15563          part { name: "button0";
15564             mouse_events: 0;
15565             description { state: "default" 0.0;
15566                rel1.to: "button2";
15567                rel1.offset: -4 -4;
15568                rel2.to: "button2";
15569                rel2.offset: 3 3;
15570                image {
15571                   normal: "bt_bases.png";
15572                   border: 11 11 11 11;
15573                   middle: SOLID;
15574                }
15575                color: 255 255 255 128;
15576             }
15577          }
15578          part { name: "button2";
15579             mouse_events: 0;
15580             description { state: "default" 0.0;
15581                rel1.to: "elm.drag_button";
15582                rel2.to: "elm.drag_button";
15583                image {
15584                   normal: "bt_basew.png";
15585                   border: 7 7 7 7;
15586                   middle: SOLID;
15587                }
15588                color: 255 255 255 210;
15589             }
15590          }
15591          part { name: "button3";
15592             mouse_events: 0;
15593             description { state: "default" 0.0;
15594                rel1.to: "button2";
15595                rel2.to: "button2";
15596                rel2.relative: 1.0 0.5;
15597                image {
15598                   normal: "bt_hilightw.png";
15599                   border: 4 4 4 0;
15600                }
15601                color: 255 255 255 190;
15602             }
15603          }
15604          part { name: "elm.text.indicator";
15605             type: TEXT;
15606             scale: 1;
15607             mouse_events: 0;
15608             description { state: "default" 0.0;
15609                rel1 {
15610                   to: "elm.drag_button";
15611                   offset: 5 0;
15612                }
15613                rel2 {
15614                   to: "elm.drag_button";
15615                   offset: -5 0;
15616                }
15617                color: 0 0 0 255;
15618                text {
15619                   font: "Sans,Edje-Vera";
15620                   size: 10;
15621                   align: 0.5 0.5;
15622                   min: 0 1;
15623                }
15624             }
15625          }
15626       }
15627       programs {
15628          program { name: "elm.drag_button,mouse,up";
15629             signal: "mouse,up,1";
15630             source: "elm.drag_button";
15631             action: SIGNAL_EMIT "elm.drag_button,mouse,up" "";
15632          }
15633          program { name: "elm.drag_button,mouse,down";
15634             signal: "mouse,down,1";
15635             source: "elm.drag_button";
15636             action: SIGNAL_EMIT "elm.drag_button,mouse,down" "";
15637          }
15638          program { name: "elm.drag_button,mouse,move";
15639             signal: "mouse,move";
15640             source: "elm.drag_button_base";
15641             action: SIGNAL_EMIT "elm.drag_button,mouse,move" "";
15642          }
15643       }
15644    }
15645
15646 ///////////////////////////////////////////////////////////////////////////////
15647    group { name: "elm/genlist/item/default/default";
15648       data.item: "stacking" "above";
15649       data.item: "selectraise" "on";
15650       data.item: "labels" "elm.text";
15651       data.item: "icons" "elm.swallow.icon elm.swallow.end";
15652       data.item: "treesize" "20";
15653 //      data.item: "states" "";
15654       images {
15655          image: "bt_sm_base1.png" COMP;
15656          image: "bt_sm_shine.png" COMP;
15657          image: "bt_sm_hilight.png" COMP;
15658          image: "ilist_1.png" COMP;
15659          image: "ilist_item_shadow.png" COMP;
15660       }
15661       parts {
15662          part {
15663             name:           "event";
15664             type:           RECT;
15665             repeat_events: 1;
15666             description {
15667                state: "default" 0.0;
15668                color: 0 0 0 0;
15669             }
15670          }
15671          part {
15672             name: "base_sh";
15673             mouse_events: 0;
15674             description {
15675                state: "default" 0.0;
15676                align: 0.0 0.0;
15677                min: 0 10;
15678                fixed: 1 1;
15679                rel1 {
15680                   to: "base";
15681                   relative: 0.0 1.0;
15682                   offset: 0 0;
15683                }
15684                rel2 {
15685                   to: "base";
15686                   relative: 1.0 1.0;
15687                   offset: -1 0;
15688                }
15689                image {
15690                   normal: "ilist_item_shadow.png";
15691                }
15692                fill.smooth: 0;
15693             }
15694          }
15695          part {
15696             name: "base";
15697             mouse_events: 0;
15698             description {
15699                state: "default" 0.0;
15700                image {
15701                   normal: "ilist_1.png";
15702                   border: 2 2 2 2;
15703                }
15704                fill.smooth: 0;
15705             }
15706          }
15707          part { name: "bg";
15708             clip_to: "disclip";
15709             mouse_events: 0;
15710             description { state: "default" 0.0;
15711                visible: 0;
15712                color: 255 255 255 0;
15713                rel1 {
15714                   relative: 0.0 0.0;
15715                   offset: -5 -5;
15716                }
15717                rel2 {
15718                   relative: 1.0 1.0;
15719                   offset: 4 4;
15720                }
15721                image {
15722                   normal: "bt_sm_base1.png";
15723                   border: 6 6 6 6;
15724                }
15725                image.middle: SOLID;
15726             }
15727             description { state: "selected" 0.0;
15728                inherit: "default" 0.0;
15729                visible: 1;
15730                color: 255 255 255 255;
15731                rel1 {
15732                   relative: 0.0 0.0;
15733                   offset: -2 -2;
15734                }
15735                rel2 {
15736                   relative: 1.0 1.0;
15737                   offset: 1 1;
15738                }
15739             }
15740          }
15741          part { name: "elm.swallow.pad";
15742             type: SWALLOW;
15743             description { state: "default" 0.0;
15744                fixed: 1 0;
15745                align: 0.0 0.5;
15746                rel1 {
15747                   relative: 0.0  0.0;
15748                   offset:   4    4;
15749                }
15750                rel2 {
15751                   relative: 0.0  1.0;
15752                   offset:   4   -5;
15753                }
15754             }
15755          }
15756          part { name: "elm.swallow.icon";
15757             clip_to: "disclip";
15758             type: SWALLOW;
15759             description { state: "default" 0.0;
15760                fixed: 1 0;
15761                align: 0.0 0.5;
15762                rel1 {
15763                   to_x: "elm.swallow.pad";
15764                   relative: 1.0  0.0;
15765                   offset:   -1    4;
15766                }
15767                rel2 {
15768                   to_x: "elm.swallow.pad";
15769                   relative: 1.0  1.0;
15770                   offset:   -1   -5;
15771                }
15772             }
15773          }
15774          part { name: "elm.swallow.end";
15775             clip_to: "disclip";
15776             type: SWALLOW;
15777             description { state: "default" 0.0;
15778                fixed: 1 0;
15779                align: 1.0 0.5;
15780                aspect: 1.0 1.0;
15781                aspect_preference: VERTICAL;
15782                rel1 {
15783                   relative: 1.0  0.0;
15784                   offset:   -5    4;
15785                }
15786                rel2 {
15787                   relative: 1.0  1.0;
15788                   offset:   -5   -5;
15789                }
15790             }
15791          }
15792          part { name: "elm.text";
15793             clip_to: "disclip";
15794             type:           TEXT;
15795             effect:         SOFT_SHADOW;
15796             mouse_events:   0;
15797             scale: 1;
15798             description {
15799                state: "default" 0.0;
15800 //               min: 16 16;
15801                rel1 {
15802                   to_x:     "elm.swallow.icon";
15803                   relative: 1.0  0.0;
15804                   offset:   0 4;
15805                }
15806                rel2 {
15807                   to_x:     "elm.swallow.end";
15808                   relative: 0.0  1.0;
15809                   offset:   -1 -5;
15810                }
15811                color: 0 0 0 255;
15812                color3: 0 0 0 0;
15813                text {
15814                   font: "Sans";
15815                   size: 10;
15816                   min: 1 1;
15817 //                  min: 0 1;
15818                   align: 0.0 0.5;
15819                   text_class: "list_item";
15820                }
15821             }
15822             description { state: "selected" 0.0;
15823                inherit: "default" 0.0;
15824                color: 224 224 224 255;
15825                color3: 0 0 0 64;
15826             }
15827          }
15828          part { name: "fg1";
15829             clip_to: "disclip";
15830             mouse_events: 0;
15831             description { state: "default" 0.0;
15832                visible: 0;
15833                color: 255 255 255 0;
15834                rel1.to: "bg";
15835                rel2.relative: 1.0 0.5;
15836                rel2.to: "bg";
15837                image {
15838                   normal: "bt_sm_hilight.png";
15839                   border: 6 6 6 0;
15840                }
15841             }
15842             description { state: "selected" 0.0;
15843                inherit: "default" 0.0;
15844                visible: 1;
15845                color: 255 255 255 255;
15846             }
15847          }
15848          part { name: "fg2";
15849             clip_to: "disclip";
15850             mouse_events: 0;
15851             description { state: "default" 0.0;
15852                visible: 0;
15853                color: 255 255 255 0;
15854                rel1.to: "bg";
15855                rel2.to: "bg";
15856                image {
15857                   normal: "bt_sm_shine.png";
15858                   border: 6 6 6 0;
15859                }
15860             }
15861             description { state: "selected" 0.0;
15862                inherit: "default" 0.0;
15863                visible: 1;
15864                color: 255 255 255 255;
15865             }
15866          }
15867          part { name: "disclip";
15868             type: RECT;
15869             description { state: "default" 0.0;
15870                rel1.to: "bg";
15871                rel2.to: "bg";
15872             }
15873             description { state: "disabled" 0.0;
15874                inherit: "default" 0.0;
15875                color: 255 255 255 64;
15876             }
15877          }
15878       }
15879       programs {
15880          // signal: elm,state,%s,active
15881          //   a "check" item named %s went active
15882          // signal: elm,state,%s,passive
15883          //   a "check" item named %s went passive
15884          // default is passive
15885          program {
15886             name:    "go_active";
15887             signal:  "elm,state,selected";
15888             source:  "elm";
15889             action:  STATE_SET "selected" 0.0;
15890             target:  "bg";
15891             target:  "fg1";
15892             target:  "fg2";
15893             target:  "elm.text";
15894          }
15895          program {
15896             name:    "go_passive";
15897             signal:  "elm,state,unselected";
15898             source:  "elm";
15899             action:  STATE_SET "default" 0.0;
15900             target:  "bg";
15901             target:  "fg1";
15902             target:  "fg2";
15903             target:  "elm.text";
15904             transition: LINEAR 0.1;
15905          }
15906          program {
15907             name:    "go_disabled";
15908             signal:  "elm,state,disabled";
15909             source:  "elm";
15910             action:  STATE_SET "disabled" 0.0;
15911             target:  "disclip";
15912          }
15913          program {
15914             name:    "go_enabled";
15915             signal:  "elm,state,enabled";
15916             source:  "elm";
15917             action:  STATE_SET "default" 0.0;
15918             target:  "disclip";
15919          }
15920       }
15921    }
15922    group { name: "elm/genlist/item/group_index/default";
15923       alias: "elm/genlist/item_odd/group_index/default";
15924       alias: "elm/genlist/item_compress/group_index/default";
15925       alias: "elm/genlist/item_compress_odd/group_index/default";
15926       data.item: "stacking" "above";
15927       data.item: "selectraise" "on";
15928       data.item: "labels" "elm.text";
15929       data.item: "icons" "elm.swallow.icon elm.swallow.end";
15930       data.item: "treesize" "20";
15931 //      data.item: "states" "";
15932       images {
15933          image: "bt_sm_base1.png" COMP;
15934          image: "bt_sm_shine.png" COMP;
15935          image: "bt_sm_hilight.png" COMP;
15936          image: "ilist_item_shadow.png" COMP;
15937          image: "group_index.png" COMP;
15938       }
15939       parts {
15940          part {
15941             name: "event";
15942             type: RECT;
15943             repeat_events: 0;
15944             description {
15945                state: "default" 0.0;
15946                color: 0 0 0 0;
15947             }
15948          }
15949          part {
15950             name: "base_sh";
15951             mouse_events: 0;
15952             description {
15953                state: "default" 0.0;
15954                align: 0.0 0.0;
15955                min: 0 10;
15956                fixed: 1 1;
15957                rel1 {
15958                   to: "base";
15959                   relative: 0.0 1.0;
15960                   offset: 0 0;
15961                }
15962                rel2 {
15963                   to: "base";
15964                   relative: 1.0 1.0;
15965                   offset: -1 0;
15966                }
15967                image {
15968                   normal: "ilist_item_shadow.png";
15969                }
15970                fill.smooth: 0;
15971             }
15972          }
15973          part {
15974             name: "base";
15975             mouse_events: 0;
15976             description {
15977                state: "default" 0.0;
15978                image {
15979                   normal: "group_index.png";
15980                   border: 2 2 2 2;
15981                }
15982                fill.smooth: 0;
15983             }
15984          }
15985          part { name: "bg";
15986             clip_to: "disclip";
15987             mouse_events: 0;
15988             description { state: "default" 0.0;
15989                visible: 0;
15990                color: 255 255 255 0;
15991                rel1 {
15992                   relative: 0.0 0.0;
15993                   offset: -5 -5;
15994                }
15995                rel2 {
15996                   relative: 1.0 1.0;
15997                   offset: 4 4;
15998                }
15999                image {
16000                   normal: "bt_sm_base1.png";
16001                   border: 6 6 6 6;
16002                }
16003                image.middle: SOLID;
16004             }
16005             description { state: "selected" 0.0;
16006                inherit: "default" 0.0;
16007                visible: 1;
16008                color: 255 255 255 255;
16009                rel1 {
16010                   relative: 0.0 0.0;
16011                   offset: -2 -2;
16012                }
16013                rel2 {
16014                   relative: 1.0 1.0;
16015                   offset: 1 1;
16016                }
16017             }
16018          }
16019          part { name: "elm.swallow.pad";
16020             type: SWALLOW;
16021             description { state: "default" 0.0;
16022                fixed: 1 0;
16023                align: 0.0 0.5;
16024                rel1 {
16025                   relative: 0.0  0.0;
16026                   offset: 4 4;
16027                }
16028                rel2 {
16029                   relative: 0.0  1.0;
16030                   offset: 4 -5;
16031                }
16032             }
16033          }
16034          part { name: "elm.swallow.icon";
16035             clip_to: "disclip";
16036             type: SWALLOW;
16037             description { state: "default" 0.0;
16038                fixed: 1 0;
16039                align: 0.0 0.5;
16040                rel1 {
16041                   to_x: "elm.swallow.pad";
16042                   relative: 1.0 0.0;
16043                   offset: -1 4;
16044                }
16045                rel2 {
16046                   to_x: "elm.swallow.pad";
16047                   relative: 1.0 1.0;
16048                   offset: -1 -5;
16049                }
16050             }
16051          }
16052          part { name: "elm.swallow.end";
16053             clip_to: "disclip";
16054             type: SWALLOW;
16055             description { state: "default" 0.0;
16056                fixed: 1 0;
16057                align: 1.0 0.5;
16058                aspect: 1.0 1.0;
16059                aspect_preference: VERTICAL;
16060                rel1 {
16061                   relative: 1.0 0.0;
16062                   offset: -5 4;
16063                }
16064                rel2 {
16065                   relative: 1.0 1.0;
16066                   offset: -5 -5;
16067                }
16068             }
16069          }
16070          part { name: "elm.text";
16071             clip_to: "disclip";
16072             type: TEXT;
16073             effect: SOFT_SHADOW;
16074             mouse_events: 0;
16075             scale: 1;
16076             description {
16077                state: "default" 0.0;
16078 //               min: 16 16;
16079                rel1 {
16080                   to_x: "elm.swallow.icon";
16081                   relative: 1.0  0.0;
16082                   offset: 0 4;
16083                }
16084                rel2 {
16085                   to_x: "elm.swallow.end";
16086                   relative: 0.0  1.0;
16087                   offset: -1 -5;
16088                }
16089                color: 0 0 0 255;
16090                color3: 0 0 0 0;
16091                text {
16092                   font: "Sans";
16093                   size: 10;
16094                   min: 1 1;
16095 //                  min: 0 1;
16096                   align: -1.0 0.5;
16097                   text_class: "list_item";
16098                }
16099             }
16100             description { state: "selected" 0.0;
16101                inherit: "default" 0.0;
16102                color: 224 224 224 255;
16103                color3: 0 0 0 64;
16104             }
16105          }
16106          part { name: "fg1";
16107             clip_to: "disclip";
16108             mouse_events: 0;
16109             description { state: "default" 0.0;
16110                visible: 0;
16111                color: 255 255 255 0;
16112                rel1.to: "bg";
16113                rel2.relative: 1.0 0.5;
16114                rel2.to: "bg";
16115                image {
16116                   normal: "bt_sm_hilight.png";
16117                   border: 6 6 6 0;
16118                }
16119             }
16120             description { state: "selected" 0.0;
16121                inherit: "default" 0.0;
16122                visible: 1;
16123                color: 255 255 255 255;
16124             }
16125          }
16126          part { name: "fg2";
16127             clip_to: "disclip";
16128             mouse_events: 0;
16129             description { state: "default" 0.0;
16130                visible: 0;
16131                color: 255 255 255 0;
16132                rel1.to: "bg";
16133                rel2.to: "bg";
16134                image {
16135                   normal: "bt_sm_shine.png";
16136                   border: 6 6 6 0;
16137                }
16138             }
16139             description { state: "selected" 0.0;
16140                inherit: "default" 0.0;
16141                visible: 1;
16142                color: 255 255 255 255;
16143             }
16144          }
16145          part { name: "disclip";
16146             type: RECT;
16147             description { state: "default" 0.0;
16148                rel1.to: "bg";
16149                rel2.to: "bg";
16150             }
16151             description { state: "disabled" 0.0;
16152                inherit: "default" 0.0;
16153                color: 255 255 255 64;
16154             }
16155          }
16156       }
16157       programs {
16158          // signal: elm,state,%s,active
16159          //   a "check" item named %s went active
16160          // signal: elm,state,%s,passive
16161          //   a "check" item named %s went passive
16162          // default is passive
16163          program {
16164             name:    "go_active";
16165             signal:  "elm,state,selected";
16166             source:  "elm";
16167             action:  STATE_SET "selected" 0.0;
16168             target:  "bg";
16169             target:  "fg1";
16170             target:  "fg2";
16171             target:  "elm.text";
16172          }
16173          program {
16174             name:    "go_passive";
16175             signal:  "elm,state,unselected";
16176             source:  "elm";
16177             action:  STATE_SET "default" 0.0;
16178             target:  "bg";
16179             target:  "fg1";
16180             target:  "fg2";
16181             target:  "elm.text";
16182             transition: LINEAR 0.1;
16183          }
16184          program {
16185             name:    "go_disabled";
16186             signal:  "elm,state,disabled";
16187             source:  "elm";
16188             action:  STATE_SET "disabled" 0.0;
16189             target:  "disclip";
16190          }
16191          program {
16192             name:    "go_enabled";
16193             signal:  "elm,state,enabled";
16194             source:  "elm";
16195             action:  STATE_SET "default" 0.0;
16196             target:  "disclip";
16197          }
16198       }
16199    }
16200    group { name: "elm/genlist/item_compress/message/default";
16201       data.item: "stacking" "above";
16202       data.item: "selectraise" "on";
16203       data.item: "labels" "elm.title.1 elm.title.2 elm.text";
16204 //      data.item: "icons" "elm.swallow.icon elm.swallow.end";
16205       data.item: "treesize" "20";
16206 //      data.item: "states" "";
16207       images {
16208          image: "bt_sm_base1.png" COMP;
16209          image: "bt_sm_shine.png" COMP;
16210          image: "bt_sm_hilight.png" COMP;
16211          image: "ilist_1.png" COMP;
16212          image: "ilist_item_shadow.png" COMP;
16213       }
16214       styles {
16215         style { name: "genlist_textblock_style";
16216           base: "font=Sans font_size=10 color=#000 wrap=char text_class=list_item";
16217           tag:  "br" "\n";
16218           tag:  "ps" "ps";
16219           tag:  "tab" "\t";
16220         }
16221         style { name: "genlist_textblock_style2";
16222           base: "font=Sans font_size=10 color=#fff wrap=char text_class=list_item";
16223           tag:  "br" "\n";
16224           tag:  "ps" "ps";
16225           tag:  "tab" "\t";
16226         }
16227       }
16228      parts {
16229          part {
16230             name:           "event";
16231             type:           RECT;
16232             repeat_events: 1;
16233             description {
16234                state: "default" 0.0;
16235                color: 0 0 0 0;
16236             }
16237          }
16238          part {
16239             name: "base_sh";
16240             mouse_events: 0;
16241             description {
16242                state: "default" 0.0;
16243                align: 0.0 0.0;
16244                min: 0 10;
16245                fixed: 1 1;
16246                rel1 {
16247                   to: "base";
16248                   relative: 0.0 1.0;
16249                   offset: 0 0;
16250                }
16251                rel2 {
16252                   to: "base";
16253                   relative: 1.0 1.0;
16254                   offset: -1 0;
16255                }
16256                image {
16257                   normal: "ilist_item_shadow.png";
16258                }
16259                fill.smooth: 0;
16260             }
16261          }
16262          part {
16263             name: "base";
16264             mouse_events: 0;
16265             description {
16266                state: "default" 0.0;
16267                image {
16268                   normal: "ilist_1.png";
16269                   border: 2 2 2 2;
16270                }
16271                fill.smooth: 0;
16272             }
16273          }
16274          part { name: "bg";
16275             clip_to: "disclip";
16276             mouse_events: 0;
16277             description { state: "default" 0.0;
16278                visible: 0;
16279                color: 255 255 255 0;
16280                rel1 {
16281                   relative: 0.0 0.0;
16282                   offset: -5 -5;
16283                }
16284                rel2 {
16285                   relative: 1.0 1.0;
16286                   offset: 4 4;
16287                }
16288                image {
16289                   normal: "bt_sm_base1.png";
16290                   border: 6 6 6 6;
16291                }
16292                image.middle: SOLID;
16293             }
16294             description { state: "selected" 0.0;
16295                inherit: "default" 0.0;
16296                visible: 1;
16297                color: 255 255 255 255;
16298                rel1 {
16299                   relative: 0.0 0.0;
16300                   offset: -2 -2;
16301                }
16302                rel2 {
16303                   relative: 1.0 1.0;
16304                   offset: 1 1;
16305                }
16306             }
16307          }
16308          part { name: "elm.title.1";
16309             clip_to: "disclip";
16310             type:           TEXT;
16311             effect:         SOFT_SHADOW;
16312             mouse_events:   0;
16313             scale: 1;
16314             description {
16315                state: "default" 0.0;
16316                fixed: 0 1;
16317 //               min: 16 16;
16318                rel1 {
16319                   relative: 0.0  0.0;
16320                   offset:   4 4;
16321                }
16322                rel2 {
16323                   relative: 1.0  0.0;
16324                   offset:   -5 4;
16325                }
16326                color: 0 0 0 255;
16327                color3: 0 0 0 0;
16328                align: 0.0 0.0;
16329                text {
16330                   font: "Sans";
16331                   size: 10;
16332                   min: 0 1;
16333 //                  min: 1 1;
16334                   align: 0.0 0.0;
16335                   text_class: "list_item";
16336                }
16337             }
16338             description { state: "selected" 0.0;
16339                inherit: "default" 0.0;
16340                color: 224 224 224 255;
16341                color3: 0 0 0 64;
16342             }
16343          }
16344          part { name: "elm.title.2";
16345             clip_to: "disclip";
16346             type:           TEXT;
16347             effect:         SOFT_SHADOW;
16348             mouse_events:   0;
16349             scale: 1;
16350             description {
16351                state: "default" 0.0;
16352                fixed: 0 1;
16353 //               min: 16 16;
16354                rel1 {
16355                   to_y:     "elm.title.1";
16356                   relative: 0.0  1.0;
16357                   offset:   4 0;
16358                }
16359                rel2 {
16360                   to_y:     "elm.title.1";
16361                   relative: 1.0  1.0;
16362                   offset:   -5 0;
16363                }
16364                color: 0 0 0 255;
16365                color3: 0 0 0 0;
16366                align: 0.0 0.0;
16367                text {
16368                   font: "Sans";
16369                   size: 10;
16370                   min: 0 1;
16371 //                  min: 1 1;
16372                   align: 0.0 0.0;
16373                   text_class: "list_item";
16374                }
16375             }
16376             description { state: "selected" 0.0;
16377                inherit: "default" 0.0;
16378                color: 224 224 224 255;
16379                color3: 0 0 0 64;
16380             }
16381          }
16382          part { name: "elm.text";
16383             clip_to: "disclip";
16384             type:           TEXTBLOCK;
16385             mouse_events:   0;
16386             scale: 1;
16387             description {
16388                state: "default" 0.0;
16389 //               fixed: 0 1;
16390 //               min: 16 16;
16391                rel1 {
16392                   to_y:     "elm.title.2";
16393                   relative: 0.0  1.0;
16394                   offset:   4 0;
16395                }
16396                rel2 {
16397                   relative: 1.0  1.0;
16398                   offset:   -5 -5;
16399                }
16400                align: 0.0 0.0;
16401                text {
16402                   style: "genlist_textblock_style";
16403                   min: 0 1;
16404 //                  min: 1 1;
16405                   align: 0.0 0.0;
16406                }
16407             }
16408             description { state: "selected" 0.0;
16409                inherit: "default" 0.0;
16410                text {
16411                   style: "genlist_textblock_style2";
16412                }
16413             }
16414          }
16415          part { name: "fg1";
16416             clip_to: "disclip";
16417             mouse_events: 0;
16418             description { state: "default" 0.0;
16419                visible: 0;
16420                color: 255 255 255 0;
16421                rel1.to: "bg";
16422                rel2.relative: 1.0 0.5;
16423                rel2.to: "bg";
16424                image {
16425                   normal: "bt_sm_hilight.png";
16426                   border: 6 6 6 0;
16427                }
16428             }
16429             description { state: "selected" 0.0;
16430                inherit: "default" 0.0;
16431                visible: 1;
16432                color: 255 255 255 255;
16433             }
16434          }
16435          part { name: "fg2";
16436             clip_to: "disclip";
16437             mouse_events: 0;
16438             description { state: "default" 0.0;
16439                visible: 0;
16440                color: 255 255 255 0;
16441                rel1.to: "bg";
16442                rel2.to: "bg";
16443                image {
16444                   normal: "bt_sm_shine.png";
16445                   border: 6 6 6 0;
16446                }
16447             }
16448             description { state: "selected" 0.0;
16449                inherit: "default" 0.0;
16450                visible: 1;
16451                color: 255 255 255 255;
16452             }
16453          }
16454          part { name: "disclip";
16455             type: RECT;
16456             description { state: "default" 0.0;
16457                rel1.to: "bg";
16458                rel2.to: "bg";
16459             }
16460             description { state: "disabled" 0.0;
16461                inherit: "default" 0.0;
16462                color: 255 255 255 64;
16463             }
16464          }
16465       }
16466       programs {
16467          // signal: elm,state,%s,active
16468          //   a "check" item named %s went active
16469          // signal: elm,state,%s,passive
16470          //   a "check" item named %s went passive
16471          // default is passive
16472          program {
16473             name:    "go_active";
16474             signal:  "elm,state,selected";
16475             source:  "elm";
16476             action:  STATE_SET "selected" 0.0;
16477             target:  "bg";
16478             target:  "fg1";
16479             target:  "fg2";
16480             target:  "elm.title.1";
16481             target:  "elm.title.2";
16482             target:  "elm.text";
16483          }
16484          program {
16485             name:    "go_passive";
16486             signal:  "elm,state,unselected";
16487             source:  "elm";
16488             action:  STATE_SET "default" 0.0;
16489             target:  "bg";
16490             target:  "fg1";
16491             target:  "fg2";
16492             target:  "elm.title.1";
16493             target:  "elm.title.2";
16494             target:  "elm.text";
16495             transition: LINEAR 0.1;
16496          }
16497          program {
16498             name:    "go_disabled";
16499             signal:  "elm,state,disabled";
16500             source:  "elm";
16501             action:  STATE_SET "disabled" 0.0;
16502             target:  "disclip";
16503          }
16504          program {
16505             name:    "go_enabled";
16506             signal:  "elm,state,enabled";
16507             source:  "elm";
16508             action:  STATE_SET "default" 0.0;
16509             target:  "disclip";
16510          }
16511       }
16512    }
16513    group { name: "elm/genlist/item_compress_odd/message/default";
16514       data.item: "stacking" "below";
16515       data.item: "selectraise" "on";
16516       data.item: "labels" "elm.title.1 elm.title.2 elm.text";
16517 //      data.item: "icons" "elm.swallow.icon elm.swallow.end";
16518       data.item: "treesize" "20";
16519 //      data.item: "states" "";
16520       images {
16521          image: "bt_sm_base1.png" COMP;
16522          image: "bt_sm_shine.png" COMP;
16523          image: "bt_sm_hilight.png" COMP;
16524          image: "ilist_2.png" COMP;
16525       }
16526       parts {
16527          part { name: "event";
16528             type: RECT;
16529             repeat_events: 1;
16530             description {
16531                state: "default" 0.0;
16532                color: 0 0 0 0;
16533             }
16534          }
16535          part {
16536             name: "base";
16537             mouse_events: 0;
16538             description {
16539                state: "default" 0.0;
16540                image {
16541                   normal: "ilist_2.png";
16542                   border: 2 2 2 2;
16543                }
16544                fill.smooth: 0;
16545             }
16546          }
16547          part { name: "bg";
16548             clip_to: "disclip";
16549             mouse_events: 0;
16550             description { state: "default" 0.0;
16551                visible: 0;
16552                color: 255 255 255 0;
16553                rel1 {
16554                   relative: 0.0 0.0;
16555                   offset: -5 -5;
16556                }
16557                rel2 {
16558                   relative: 1.0 1.0;
16559                   offset: 4 4;
16560                }
16561                image {
16562                   normal: "bt_sm_base1.png";
16563                   border: 6 6 6 6;
16564                }
16565                image.middle: SOLID;
16566             }
16567             description { state: "selected" 0.0;
16568                inherit: "default" 0.0;
16569                visible: 1;
16570                color: 255 255 255 255;
16571                rel1 {
16572                   relative: 0.0 0.0;
16573                   offset: -2 -2;
16574                }
16575                rel2 {
16576                   relative: 1.0 1.0;
16577                   offset: 1 1;
16578                }
16579             }
16580          }
16581          part { name: "elm.title.1";
16582             clip_to: "disclip";
16583             type:           TEXT;
16584             effect:         SOFT_SHADOW;
16585             mouse_events:   0;
16586             scale: 1;
16587             description {
16588                state: "default" 0.0;
16589                fixed: 0 1;
16590 //               min: 16 16;
16591                rel1 {
16592                   relative: 0.0  0.0;
16593                   offset:   4 4;
16594                }
16595                rel2 {
16596                   relative: 1.0  0.0;
16597                   offset:   -5 4;
16598                }
16599                color: 0 0 0 255;
16600                color3: 0 0 0 0;
16601                align: 0.0 0.0;
16602                text {
16603                   font: "Sans";
16604                   size: 10;
16605                   min: 0 1;
16606 //                  min: 1 1;
16607                   align: 0.0 0.0;
16608                   text_class: "list_item";
16609                }
16610             }
16611             description { state: "selected" 0.0;
16612                inherit: "default" 0.0;
16613                color: 224 224 224 255;
16614                color3: 0 0 0 64;
16615             }
16616          }
16617          part { name: "elm.title.2";
16618             clip_to: "disclip";
16619             type:           TEXT;
16620             effect:         SOFT_SHADOW;
16621             mouse_events:   0;
16622             scale: 1;
16623             description {
16624                state: "default" 0.0;
16625                fixed: 0 1;
16626 //               min: 16 16;
16627                rel1 {
16628                   to_y:     "elm.title.1";
16629                   relative: 0.0  1.0;
16630                   offset:   4 0;
16631                }
16632                rel2 {
16633                   to_y:     "elm.title.1";
16634                   relative: 1.0  1.0;
16635                   offset:   -5 0;
16636                }
16637                color: 0 0 0 255;
16638                color3: 0 0 0 0;
16639                align: 0.0 0.0;
16640                text {
16641                   font: "Sans";
16642                   size: 10;
16643                   min: 0 1;
16644 //                  min: 1 1;
16645                   align: 0.0 0.0;
16646                   text_class: "list_item";
16647                }
16648             }
16649             description { state: "selected" 0.0;
16650                inherit: "default" 0.0;
16651                color: 224 224 224 255;
16652                color3: 0 0 0 64;
16653             }
16654          }
16655          part { name: "elm.text";
16656             clip_to: "disclip";
16657             type:           TEXTBLOCK;
16658             mouse_events:   0;
16659             scale: 1;
16660             description {
16661                state: "default" 0.0;
16662 //               fixed: 0 1;
16663 //               min: 16 16;
16664                rel1 {
16665                   to_y:     "elm.title.2";
16666                   relative: 0.0  1.0;
16667                   offset:   4 0;
16668                }
16669                rel2 {
16670                   relative: 1.0  1.0;
16671                   offset:   -5 -5;
16672                }
16673                align: 0.0 0.0;
16674                text {
16675                   style: "genlist_textblock_style";
16676                   min: 0 1;
16677 //                  min: 1 1;
16678                   align: 0.0 0.0;
16679                }
16680             }
16681             description { state: "selected" 0.0;
16682                inherit: "default" 0.0;
16683                text {
16684                   style: "genlist_textblock_style2";
16685                }
16686             }
16687          }
16688          part { name: "fg1";
16689             clip_to: "disclip";
16690             mouse_events: 0;
16691             description { state: "default" 0.0;
16692                visible: 0;
16693                color: 255 255 255 0;
16694                rel1.to: "bg";
16695                rel2.relative: 1.0 0.5;
16696                rel2.to: "bg";
16697                image {
16698                   normal: "bt_sm_hilight.png";
16699                   border: 6 6 6 0;
16700                }
16701             }
16702             description { state: "selected" 0.0;
16703                inherit: "default" 0.0;
16704                visible: 1;
16705                color: 255 255 255 255;
16706             }
16707          }
16708          part { name: "fg2";
16709             clip_to: "disclip";
16710             mouse_events: 0;
16711             description { state: "default" 0.0;
16712                visible: 0;
16713                color: 255 255 255 0;
16714                rel1.to: "bg";
16715                rel2.to: "bg";
16716                image {
16717                   normal: "bt_sm_shine.png";
16718                   border: 6 6 6 0;
16719                }
16720             }
16721             description { state: "selected" 0.0;
16722                inherit: "default" 0.0;
16723                visible: 1;
16724                color: 255 255 255 255;
16725             }
16726          }
16727          part { name: "disclip";
16728             type: RECT;
16729             description { state: "default" 0.0;
16730                rel1.to: "bg";
16731                rel2.to: "bg";
16732             }
16733             description { state: "disabled" 0.0;
16734                inherit: "default" 0.0;
16735                color: 255 255 255 64;
16736             }
16737          }
16738       }
16739       programs {
16740          // signal: elm,state,%s,active
16741          //   a "check" item named %s went active
16742          // signal: elm,state,%s,passive
16743          //   a "check" item named %s went passive
16744          // default is passive
16745          program {
16746             name:    "go_active";
16747             signal:  "elm,state,selected";
16748             source:  "elm";
16749             action:  STATE_SET "selected" 0.0;
16750             target:  "bg";
16751             target:  "fg1";
16752             target:  "fg2";
16753             target:  "elm.title.1";
16754             target:  "elm.title.2";
16755             target:  "elm.text";
16756          }
16757          program {
16758             name:    "go_passive";
16759             signal:  "elm,state,unselected";
16760             source:  "elm";
16761             action:  STATE_SET "default" 0.0;
16762             target:  "bg";
16763             target:  "fg1";
16764             target:  "fg2";
16765             target:  "elm.title.1";
16766             target:  "elm.title.2";
16767             target:  "elm.text";
16768             transition: LINEAR 0.1;
16769          }
16770          program {
16771             name:    "go_disabled";
16772             signal:  "elm,state,disabled";
16773             source:  "elm";
16774             action:  STATE_SET "disabled" 0.0;
16775             target:  "disclip";
16776          }
16777          program {
16778             name:    "go_enabled";
16779             signal:  "elm,state,enabled";
16780             source:  "elm";
16781             action:  STATE_SET "default" 0.0;
16782             target:  "disclip";
16783          }
16784       }
16785    }
16786    group { name: "elm/genlist/item_compress/default/default";
16787       data.item: "stacking" "above";
16788       data.item: "selectraise" "on";
16789       data.item: "labels" "elm.text";
16790       data.item: "icons" "elm.swallow.icon elm.swallow.end";
16791       data.item: "treesize" "20";
16792 //      data.item: "states" "";
16793       images {
16794          image: "bt_sm_base1.png" COMP;
16795          image: "bt_sm_shine.png" COMP;
16796          image: "bt_sm_hilight.png" COMP;
16797          image: "ilist_1.png" COMP;
16798          image: "ilist_item_shadow.png" COMP;
16799       }
16800       parts {
16801          part {
16802             name:           "event";
16803             type:           RECT;
16804             repeat_events: 1;
16805             description {
16806                state: "default" 0.0;
16807                color: 0 0 0 0;
16808             }
16809          }
16810          part {
16811             name: "base_sh";
16812             mouse_events: 0;
16813             description {
16814                state: "default" 0.0;
16815                align: 0.0 0.0;
16816                min: 0 10;
16817                fixed: 1 1;
16818                rel1 {
16819                   to: "base";
16820                   relative: 0.0 1.0;
16821                   offset: 0 0;
16822                }
16823                rel2 {
16824                   to: "base";
16825                   relative: 1.0 1.0;
16826                   offset: -1 0;
16827                }
16828                image {
16829                   normal: "ilist_item_shadow.png";
16830                }
16831                fill.smooth: 0;
16832             }
16833          }
16834          part {
16835             name: "base";
16836             mouse_events: 0;
16837             description {
16838                state: "default" 0.0;
16839                image {
16840                   normal: "ilist_1.png";
16841                   border: 2 2 2 2;
16842                }
16843                fill.smooth: 0;
16844             }
16845          }
16846          part { name: "bg";
16847             clip_to: "disclip";
16848             mouse_events: 0;
16849             description { state: "default" 0.0;
16850                visible: 0;
16851                color: 255 255 255 0;
16852                rel1 {
16853                   relative: 0.0 0.0;
16854                   offset: -5 -5;
16855                }
16856                rel2 {
16857                   relative: 1.0 1.0;
16858                   offset: 4 4;
16859                }
16860                image {
16861                   normal: "bt_sm_base1.png";
16862                   border: 6 6 6 6;
16863                }
16864                image.middle: SOLID;
16865             }
16866             description { state: "selected" 0.0;
16867                inherit: "default" 0.0;
16868                visible: 1;
16869                color: 255 255 255 255;
16870                rel1 {
16871                   relative: 0.0 0.0;
16872                   offset: -2 -2;
16873                }
16874                rel2 {
16875                   relative: 1.0 1.0;
16876                   offset: 1 1;
16877                }
16878             }
16879          }
16880          part { name: "elm.swallow.pad";
16881             type: SWALLOW;
16882             description { state: "default" 0.0;
16883                fixed: 1 0;
16884                align: 0.0 0.5;
16885                rel1 {
16886                   relative: 0.0  0.0;
16887                   offset:   4    4;
16888                }
16889                rel2 {
16890                   relative: 0.0  1.0;
16891                   offset:   4   -5;
16892                }
16893             }
16894          }
16895          part { name: "elm.swallow.icon";
16896             clip_to: "disclip";
16897             type: SWALLOW;
16898             description { state: "default" 0.0;
16899                fixed: 1 0;
16900                align: 0.0 0.5;
16901                rel1 {
16902                   to_x: "elm.swallow.pad";
16903                   relative: 1.0  0.0;
16904                   offset:   -1    4;
16905                }
16906                rel2 {
16907                   to_x: "elm.swallow.pad";
16908                   relative: 1.0  1.0;
16909                   offset:   -1   -5;
16910                }
16911             }
16912          }
16913          part { name: "elm.swallow.end";
16914             clip_to: "disclip";
16915             type: SWALLOW;
16916             description { state: "default" 0.0;
16917                fixed: 1 0;
16918                align: 1.0 0.5;
16919                aspect: 1.0 1.0;
16920                aspect_preference: VERTICAL;
16921                rel1 {
16922                   relative: 1.0  0.0;
16923                   offset:   -5    4;
16924                }
16925                rel2 {
16926                   relative: 1.0  1.0;
16927                   offset:   -5   -5;
16928                }
16929             }
16930          }
16931          part { name: "elm.text";
16932             clip_to: "disclip";
16933             type:           TEXT;
16934             effect:         SOFT_SHADOW;
16935             mouse_events:   0;
16936             scale: 1;
16937             description {
16938                state: "default" 0.0;
16939 //               min: 16 16;
16940                rel1 {
16941                   to_x:     "elm.swallow.icon";
16942                   relative: 1.0  0.0;
16943                   offset:   0 4;
16944                }
16945                rel2 {
16946                   to_x:     "elm.swallow.end";
16947                   relative: 0.0  1.0;
16948                   offset:   -1 -5;
16949                }
16950                color: 0 0 0 255;
16951                color3: 0 0 0 0;
16952                text {
16953                   font: "Sans";
16954                   size: 10;
16955                   min: 0 1;
16956 //                  min: 1 1;
16957                   align: 0.0 0.5;
16958                   text_class: "list_item";
16959                }
16960             }
16961             description { state: "selected" 0.0;
16962                inherit: "default" 0.0;
16963                color: 224 224 224 255;
16964                color3: 0 0 0 64;
16965             }
16966          }
16967          part { name: "fg1";
16968             clip_to: "disclip";
16969             mouse_events: 0;
16970             description { state: "default" 0.0;
16971                visible: 0;
16972                color: 255 255 255 0;
16973                rel1.to: "bg";
16974                rel2.relative: 1.0 0.5;
16975                rel2.to: "bg";
16976                image {
16977                   normal: "bt_sm_hilight.png";
16978                   border: 6 6 6 0;
16979                }
16980             }
16981             description { state: "selected" 0.0;
16982                inherit: "default" 0.0;
16983                visible: 1;
16984                color: 255 255 255 255;
16985             }
16986          }
16987          part { name: "fg2";
16988             clip_to: "disclip";
16989             mouse_events: 0;
16990             description { state: "default" 0.0;
16991                visible: 0;
16992                color: 255 255 255 0;
16993                rel1.to: "bg";
16994                rel2.to: "bg";
16995                image {
16996                   normal: "bt_sm_shine.png";
16997                   border: 6 6 6 0;
16998                }
16999             }
17000             description { state: "selected" 0.0;
17001                inherit: "default" 0.0;
17002                visible: 1;
17003                color: 255 255 255 255;
17004             }
17005          }
17006          part { name: "disclip";
17007             type: RECT;
17008             description { state: "default" 0.0;
17009                rel1.to: "bg";
17010                rel2.to: "bg";
17011             }
17012             description { state: "disabled" 0.0;
17013                inherit: "default" 0.0;
17014                color: 255 255 255 64;
17015             }
17016          }
17017       }
17018       programs {
17019          // signal: elm,state,%s,active
17020          //   a "check" item named %s went active
17021          // signal: elm,state,%s,passive
17022          //   a "check" item named %s went passive
17023          // default is passive
17024          program {
17025             name:    "go_active";
17026             signal:  "elm,state,selected";
17027             source:  "elm";
17028             action:  STATE_SET "selected" 0.0;
17029             target:  "bg";
17030             target:  "fg1";
17031             target:  "fg2";
17032             target:  "elm.text";
17033          }
17034          program {
17035             name:    "go_passive";
17036             signal:  "elm,state,unselected";
17037             source:  "elm";
17038             action:  STATE_SET "default" 0.0;
17039             target:  "bg";
17040             target:  "fg1";
17041             target:  "fg2";
17042             target:  "elm.text";
17043             transition: LINEAR 0.1;
17044          }
17045          program {
17046             name:    "go_disabled";
17047             signal:  "elm,state,disabled";
17048             source:  "elm";
17049             action:  STATE_SET "disabled" 0.0;
17050             target:  "disclip";
17051          }
17052          program {
17053             name:    "go_enabled";
17054             signal:  "elm,state,enabled";
17055             source:  "elm";
17056             action:  STATE_SET "default" 0.0;
17057             target:  "disclip";
17058          }
17059       }
17060    }
17061    group { name: "elm/genlist/item_odd/default/default";
17062       data.item: "stacking" "below";
17063       data.item: "selectraise" "on";
17064       data.item: "labels" "elm.text";
17065       data.item: "icons" "elm.swallow.icon elm.swallow.end";
17066       data.item: "treesize" "20";
17067 //      data.item: "states" "";
17068       images {
17069          image: "bt_sm_base1.png" COMP;
17070          image: "bt_sm_shine.png" COMP;
17071          image: "bt_sm_hilight.png" COMP;
17072          image: "ilist_2.png" COMP;
17073       }
17074       parts {
17075          part { name: "event";
17076             type: RECT;
17077             repeat_events: 1;
17078             description {
17079                state: "default" 0.0;
17080                color: 0 0 0 0;
17081             }
17082          }
17083          part {
17084             name: "base";
17085             mouse_events: 0;
17086             description {
17087                state: "default" 0.0;
17088                image {
17089                   normal: "ilist_2.png";
17090                   border: 2 2 2 2;
17091                }
17092                fill.smooth: 0;
17093             }
17094          }
17095          part { name: "bg";
17096             clip_to: "disclip";
17097             mouse_events: 0;
17098             description { state: "default" 0.0;
17099                visible: 0;
17100                color: 255 255 255 0;
17101                rel1 {
17102                   relative: 0.0 0.0;
17103                   offset: -5 -5;
17104                }
17105                rel2 {
17106                   relative: 1.0 1.0;
17107                   offset: 4 4;
17108                }
17109                image {
17110                   normal: "bt_sm_base1.png";
17111                   border: 6 6 6 6;
17112                }
17113                image.middle: SOLID;
17114             }
17115             description { state: "selected" 0.0;
17116                inherit: "default" 0.0;
17117                visible: 1;
17118                color: 255 255 255 255;
17119                rel1 {
17120                   relative: 0.0 0.0;
17121                   offset: -2 -2;
17122                }
17123                rel2 {
17124                   relative: 1.0 1.0;
17125                   offset: 1 1;
17126                }
17127             }
17128          }
17129          part { name: "elm.swallow.pad";
17130             type: SWALLOW;
17131             description { state: "default" 0.0;
17132                fixed: 1 0;
17133                align: 0.0 0.5;
17134                rel1 {
17135                   relative: 0.0  0.0;
17136                   offset:   4    4;
17137                }
17138                rel2 {
17139                   relative: 0.0  1.0;
17140                   offset:   4   -5;
17141                }
17142             }
17143          }
17144          part { name: "elm.swallow.icon";
17145             clip_to: "disclip";
17146             type: SWALLOW;
17147             description { state: "default" 0.0;
17148                fixed: 1 0;
17149                align: 0.0 0.5;
17150                rel1 {
17151                   to_x: "elm.swallow.pad";
17152                   relative: 1.0  0.0;
17153                   offset:   -1    4;
17154                }
17155                rel2 {
17156                   to_x: "elm.swallow.pad";
17157                   relative: 1.0  1.0;
17158                   offset:   -1   -5;
17159                }
17160             }
17161          }
17162          part { name: "elm.swallow.end";
17163             clip_to: "disclip";
17164             type:          SWALLOW;
17165             description { state:    "default" 0.0;
17166                fixed: 1 0;
17167                align:    1.0 0.5;
17168                aspect: 1.0 1.0;
17169                aspect_preference: VERTICAL;
17170                rel1 {
17171                   relative: 1.0  0.0;
17172                   offset:   -5    4;
17173                }
17174                rel2 {
17175                   relative: 1.0  1.0;
17176                   offset:   -5   -5;
17177                }
17178             }
17179          }
17180          part { name: "elm.text";
17181             clip_to: "disclip";
17182             type:           TEXT;
17183             effect:         SOFT_SHADOW;
17184             mouse_events:   0;
17185             scale: 1;
17186             description {
17187                state: "default" 0.0;
17188 //               min:      16 16;
17189                rel1 {
17190                   to_x:     "elm.swallow.icon";
17191                   relative: 1.0  0.0;
17192                   offset:   0 4;
17193                }
17194                rel2 {
17195                   to_x:     "elm.swallow.end";
17196                   relative: 0.0  1.0;
17197                   offset:   -1 -5;
17198                }
17199                color: 0 0 0 255;
17200                color3: 0 0 0 0;
17201                text {
17202                   font: "Sans";
17203                   size: 10;
17204                   min: 1 1;
17205 //                  min: 0 1;
17206                   align: -1.0 0.5;
17207                   text_class: "list_item";
17208                }
17209             }
17210             description { state: "selected" 0.0;
17211                inherit: "default" 0.0;
17212                color: 224 224 224 255;
17213                color3: 0 0 0 64;
17214             }
17215          }
17216          part { name: "fg1";
17217             clip_to: "disclip";
17218             mouse_events: 0;
17219             description { state: "default" 0.0;
17220                visible: 0;
17221                color: 255 255 255 0;
17222                rel1.to: "bg";
17223                rel2.relative: 1.0 0.5;
17224                rel2.to: "bg";
17225                image {
17226                   normal: "bt_sm_hilight.png";
17227                   border: 6 6 6 0;
17228                }
17229             }
17230             description { state: "selected" 0.0;
17231                inherit: "default" 0.0;
17232                visible: 1;
17233                color: 255 255 255 255;
17234             }
17235          }
17236          part { name: "fg2";
17237             clip_to: "disclip";
17238             mouse_events: 0;
17239             description { state: "default" 0.0;
17240                visible: 0;
17241                color: 255 255 255 0;
17242                rel1.to: "bg";
17243                rel2.to: "bg";
17244                image {
17245                   normal: "bt_sm_shine.png";
17246                   border: 6 6 6 0;
17247                }
17248             }
17249             description { state: "selected" 0.0;
17250                inherit: "default" 0.0;
17251                visible: 1;
17252                color: 255 255 255 255;
17253             }
17254          }
17255          part { name: "disclip";
17256             type: RECT;
17257             description { state: "default" 0.0;
17258                rel1.to: "bg";
17259                rel2.to: "bg";
17260             }
17261             description { state: "disabled" 0.0;
17262                inherit: "default" 0.0;
17263                color: 255 255 255 64;
17264             }
17265          }
17266       }
17267       programs {
17268          // signal: elm,state,%s,active
17269          //   a "check" item named %s went active
17270          // signal: elm,state,%s,passive
17271          //   a "check" item named %s went passive
17272          // default is passive
17273          program {
17274             name:    "go_active";
17275             signal:  "elm,state,selected";
17276             source:  "elm";
17277             action:  STATE_SET "selected" 0.0;
17278             target:  "bg";
17279             target:  "fg1";
17280             target:  "fg2";
17281             target:  "elm.text";
17282          }
17283          program {
17284             name:    "go_passive";
17285             signal:  "elm,state,unselected";
17286             source:  "elm";
17287             action:  STATE_SET "default" 0.0;
17288             target:  "bg";
17289             target:  "fg1";
17290             target:  "fg2";
17291             target:  "elm.text";
17292             transition: LINEAR 0.1;
17293          }
17294          program {
17295             name:    "go_disabled";
17296             signal:  "elm,state,disabled";
17297             source:  "elm";
17298             action:  STATE_SET "disabled" 0.0;
17299             target:  "disclip";
17300          }
17301          program {
17302             name:    "go_enabled";
17303             signal:  "elm,state,enabled";
17304             source:  "elm";
17305             action:  STATE_SET "default" 0.0;
17306             target:  "disclip";
17307          }
17308       }
17309    }
17310    group { name: "elm/genlist/item_compress_odd/default/default";
17311       data.item: "stacking" "below";
17312       data.item: "selectraise" "on";
17313       data.item: "labels" "elm.text";
17314       data.item: "icons" "elm.swallow.icon elm.swallow.end";
17315       data.item: "treesize" "20";
17316 //      data.item: "states" "";
17317       images {
17318          image: "bt_sm_base1.png" COMP;
17319          image: "bt_sm_shine.png" COMP;
17320          image: "bt_sm_hilight.png" COMP;
17321          image: "ilist_2.png" COMP;
17322       }
17323       parts {
17324          part { name: "event";
17325             type: RECT;
17326             repeat_events: 1;
17327             description {
17328                state: "default" 0.0;
17329                color: 0 0 0 0;
17330             }
17331          }
17332          part {
17333             name: "base";
17334             mouse_events: 0;
17335             description {
17336                state: "default" 0.0;
17337                image {
17338                   normal: "ilist_2.png";
17339                   border: 2 2 2 2;
17340                }
17341                fill.smooth: 0;
17342             }
17343          }
17344          part { name: "bg";
17345             clip_to: "disclip";
17346             mouse_events: 0;
17347             description { state: "default" 0.0;
17348                visible: 0;
17349                color: 255 255 255 0;
17350                rel1 {
17351                   relative: 0.0 0.0;
17352                   offset: -5 -5;
17353                }
17354                rel2 {
17355                   relative: 1.0 1.0;
17356                   offset: 4 4;
17357                }
17358                image {
17359                   normal: "bt_sm_base1.png";
17360                   border: 6 6 6 6;
17361                }
17362                image.middle: SOLID;
17363             }
17364             description { state: "selected" 0.0;
17365                inherit: "default" 0.0;
17366                visible: 1;
17367                color: 255 255 255 255;
17368                rel1 {
17369                   relative: 0.0 0.0;
17370                   offset: -2 -2;
17371                }
17372                rel2 {
17373                   relative: 1.0 1.0;
17374                   offset: 1 1;
17375                }
17376             }
17377          }
17378          part { name: "elm.swallow.pad";
17379             type: SWALLOW;
17380             description { state: "default" 0.0;
17381                fixed: 1 0;
17382                align: 0.0 0.5;
17383                rel1 {
17384                   relative: 0.0  0.0;
17385                   offset:   4    4;
17386                }
17387                rel2 {
17388                   relative: 0.0  1.0;
17389                   offset:   4   -5;
17390                }
17391             }
17392          }
17393          part { name: "elm.swallow.icon";
17394             clip_to: "disclip";
17395             type: SWALLOW;
17396             description { state: "default" 0.0;
17397                fixed: 1 0;
17398                align: 0.0 0.5;
17399                rel1 {
17400                   to_x: "elm.swallow.pad";
17401                   relative: 1.0  0.0;
17402                   offset:   -1    4;
17403                }
17404                rel2 {
17405                   to_x: "elm.swallow.pad";
17406                   relative: 1.0  1.0;
17407                   offset:   -1   -5;
17408                }
17409             }
17410          }
17411          part { name: "elm.swallow.end";
17412             clip_to: "disclip";
17413             type:          SWALLOW;
17414             description { state:    "default" 0.0;
17415                fixed: 1 0;
17416                align:    1.0 0.5;
17417                aspect: 1.0 1.0;
17418                aspect_preference: VERTICAL;
17419                rel1 {
17420                   relative: 1.0  0.0;
17421                   offset:   -5    4;
17422                }
17423                rel2 {
17424                   relative: 1.0  1.0;
17425                   offset:   -5   -5;
17426                }
17427             }
17428          }
17429          part { name: "elm.text";
17430             clip_to: "disclip";
17431             type:           TEXT;
17432             effect:         SOFT_SHADOW;
17433             mouse_events:   0;
17434             scale: 1;
17435             description {
17436                state: "default" 0.0;
17437 //               min:      16 16;
17438                rel1 {
17439                   to_x:     "elm.swallow.icon";
17440                   relative: 1.0  0.0;
17441                   offset:   0 4;
17442                }
17443                rel2 {
17444                   to_x:     "elm.swallow.end";
17445                   relative: 0.0  1.0;
17446                   offset:   -1 -5;
17447                }
17448                color: 0 0 0 255;
17449                color3: 0 0 0 0;
17450                text {
17451                   font: "Sans";
17452                   size: 10;
17453                   min: 0 1;
17454 //                  min: 1 1;
17455                   align: 0.0 0.5;
17456                   text_class: "list_item";
17457                }
17458             }
17459             description { state: "selected" 0.0;
17460                inherit: "default" 0.0;
17461                color: 224 224 224 255;
17462                color3: 0 0 0 64;
17463             }
17464          }
17465          part { name: "fg1";
17466             clip_to: "disclip";
17467             mouse_events: 0;
17468             description { state: "default" 0.0;
17469                visible: 0;
17470                color: 255 255 255 0;
17471                rel1.to: "bg";
17472                rel2.relative: 1.0 0.5;
17473                rel2.to: "bg";
17474                image {
17475                   normal: "bt_sm_hilight.png";
17476                   border: 6 6 6 0;
17477                }
17478             }
17479             description { state: "selected" 0.0;
17480                inherit: "default" 0.0;
17481                visible: 1;
17482                color: 255 255 255 255;
17483             }
17484          }
17485          part { name: "fg2";
17486             clip_to: "disclip";
17487             mouse_events: 0;
17488             description { state: "default" 0.0;
17489                visible: 0;
17490                color: 255 255 255 0;
17491                rel1.to: "bg";
17492                rel2.to: "bg";
17493                image {
17494                   normal: "bt_sm_shine.png";
17495                   border: 6 6 6 0;
17496                }
17497             }
17498             description { state: "selected" 0.0;
17499                inherit: "default" 0.0;
17500                visible: 1;
17501                color: 255 255 255 255;
17502             }
17503          }
17504          part { name: "disclip";
17505             type: RECT;
17506             description { state: "default" 0.0;
17507                rel1.to: "bg";
17508                rel2.to: "bg";
17509             }
17510             description { state: "disabled" 0.0;
17511                inherit: "default" 0.0;
17512                color: 255 255 255 64;
17513             }
17514          }
17515       }
17516       programs {
17517          // signal: elm,state,%s,active
17518          //   a "check" item named %s went active
17519          // signal: elm,state,%s,passive
17520          //   a "check" item named %s went passive
17521          // default is passive
17522          program {
17523             name:    "go_active";
17524             signal:  "elm,state,selected";
17525             source:  "elm";
17526             action:  STATE_SET "selected" 0.0;
17527             target:  "bg";
17528             target:  "fg1";
17529             target:  "fg2";
17530             target:  "elm.text";
17531          }
17532          program {
17533             name:    "go_passive";
17534             signal:  "elm,state,unselected";
17535             source:  "elm";
17536             action:  STATE_SET "default" 0.0;
17537             target:  "bg";
17538             target:  "fg1";
17539             target:  "fg2";
17540             target:  "elm.text";
17541             transition: LINEAR 0.1;
17542          }
17543          program {
17544             name:    "go_disabled";
17545             signal:  "elm,state,disabled";
17546             source:  "elm";
17547             action:  STATE_SET "disabled" 0.0;
17548             target:  "disclip";
17549          }
17550          program {
17551             name:    "go_enabled";
17552             signal:  "elm,state,enabled";
17553             source:  "elm";
17554             action:  STATE_SET "default" 0.0;
17555             target:  "disclip";
17556          }
17557       }
17558    }
17559
17560    group { name: "elm/genlist/tree/default/default";
17561       data.item: "stacking" "above";
17562       data.item: "selectraise" "on";
17563       data.item: "labels" "elm.text";
17564       data.item: "icons" "elm.swallow.icon elm.swallow.end";
17565       data.item: "treesize" "20";
17566 //      data.item: "states" "";
17567       images {
17568          image: "bt_sm_base1.png" COMP;
17569          image: "bt_sm_shine.png" COMP;
17570          image: "bt_sm_hilight.png" COMP;
17571          image: "ilist_1.png" COMP;
17572          image: "ilist_item_shadow.png" COMP;
17573          image: "icon_arrow_left.png" COMP;
17574          image: "icon_arrow_right.png" COMP;
17575          image: "icon_arrow_down.png" COMP;
17576       }
17577       parts {
17578          part {
17579             name:           "event";
17580             type:           RECT;
17581             repeat_events: 1;
17582             description {
17583                state: "default" 0.0;
17584                color: 0 0 0 0;
17585             }
17586          }
17587          part {
17588             name: "base_sh";
17589             mouse_events: 0;
17590             description {
17591                state: "default" 0.0;
17592                align: 0.0 0.0;
17593                min: 0 10;
17594                fixed: 1 1;
17595                rel1 {
17596                   to: "base";
17597                   relative: 0.0 1.0;
17598                   offset: 0 0;
17599                }
17600                rel2 {
17601                   to: "base";
17602                   relative: 1.0 1.0;
17603                   offset: -1 0;
17604                }
17605                image {
17606                   normal: "ilist_item_shadow.png";
17607                }
17608                fill.smooth: 0;
17609             }
17610          }
17611          part {
17612             name: "base";
17613             mouse_events: 0;
17614             description {
17615                state: "default" 0.0;
17616                image {
17617                   normal: "ilist_1.png";
17618                   border: 2 2 2 2;
17619                }
17620                fill.smooth: 0;
17621             }
17622          }
17623          part { name: "bg";
17624             clip_to: "disclip";
17625             mouse_events: 0;
17626             description { state: "default" 0.0;
17627                visible: 0;
17628                color: 255 255 255 0;
17629                rel1 {
17630                   relative: 0.0 0.0;
17631                   offset: -5 -5;
17632                }
17633                rel2 {
17634                   relative: 1.0 1.0;
17635                   offset: 4 4;
17636                }
17637                image {
17638                   normal: "bt_sm_base1.png";
17639                   border: 6 6 6 6;
17640                }
17641                image.middle: SOLID;
17642             }
17643             description { state: "selected" 0.0;
17644                inherit: "default" 0.0;
17645                visible: 1;
17646                color: 255 255 255 255;
17647                rel1 {
17648                   relative: 0.0 0.0;
17649                   offset: -2 -2;
17650                }
17651                rel2 {
17652                   relative: 1.0 1.0;
17653                   offset: 1 1;
17654                }
17655             }
17656          }
17657          part { name: "elm.swallow.pad";
17658             type: SWALLOW;
17659             description { state: "default" 0.0;
17660                fixed: 1 0;
17661                align: 0.0 0.5;
17662                rel1 {
17663                   relative: 0.0  0.0;
17664                   offset:   4    4;
17665                }
17666                rel2 {
17667                   relative: 0.0  1.0;
17668                   offset:   4   -5;
17669                }
17670             }
17671          }
17672          part { name: "arrow";
17673             clip_to: "disclip";
17674             ignore_flags: ON_HOLD;
17675             description { state: "default" 0.0;
17676                fixed: 1 0;
17677                align: 0.0 0.5;
17678                aspect: 1.0 1.0;
17679                rel1 {
17680                   to_x: "elm.swallow.pad";
17681                   relative: 1.0  0.0;
17682                   offset:   -1    4;
17683                }
17684                rel2 {
17685                   to_x: "elm.swallow.pad";
17686                   relative: 1.0  1.0;
17687                   offset:   -1   -5;
17688                }
17689                image.normal: "icon_arrow_right.png";
17690             }
17691             description { state: "default" 0.1;
17692                inherit: "default" 0.0;
17693                image.normal: "icon_arrow_left.png";
17694             }
17695             description { state: "active" 0.0;
17696                inherit: "default" 0.0;
17697                image.normal: "icon_arrow_down.png";
17698             }
17699             description { state: "active" 0.1;
17700                inherit: "default" 0.0;
17701                image.normal: "icon_arrow_down.png";
17702             }
17703          }
17704          part { name: "elm.swallow.icon";
17705             clip_to: "disclip";
17706             type: SWALLOW;
17707             description { state: "default" 0.0;
17708                fixed: 1 0;
17709                align: 0.0 0.5;
17710                rel1 {
17711                   to_x: "arrow";
17712                   relative: 1.0  0.0;
17713                   offset:   4    4;
17714                }
17715                rel2 {
17716                   to_x: "arrow";
17717                   relative: 1.0  1.0;
17718                   offset:   4   -5;
17719                }
17720             }
17721          }
17722          part { name: "elm.swallow.end";
17723             clip_to: "disclip";
17724             type: SWALLOW;
17725             description { state: "default" 0.0;
17726                fixed: 1 0;
17727                align: 1.0 0.5;
17728                aspect: 1.0 1.0;
17729                aspect_preference: VERTICAL;
17730                rel1 {
17731                   relative: 1.0  0.0;
17732                   offset:   -5    4;
17733                }
17734                rel2 {
17735                   relative: 1.0  1.0;
17736                   offset:   -5   -5;
17737                }
17738             }
17739          }
17740          part { name: "elm.text";
17741             clip_to: "disclip";
17742             type:           TEXT;
17743             effect:         SOFT_SHADOW;
17744             mouse_events:   0;
17745             scale: 1;
17746             description {
17747                state: "default" 0.0;
17748 //               min: 16 16;
17749                rel1 {
17750                   to_x:     "elm.swallow.icon";
17751                   relative: 1.0  0.0;
17752                   offset:   0 4;
17753                }
17754                rel2 {
17755                   to_x:     "elm.swallow.end";
17756                   relative: 0.0  1.0;
17757                   offset:   -1 -5;
17758                }
17759                color: 0 0 0 255;
17760                color3: 0 0 0 0;
17761                text {
17762                   font: "Sans";
17763                   size: 10;
17764                   min: 1 1;
17765 //                  min: 0 1;
17766                   align: -1.0 0.5;
17767                   text_class: "list_item";
17768                }
17769             }
17770             description { state: "selected" 0.0;
17771                inherit: "default" 0.0;
17772                color: 224 224 224 255;
17773                color3: 0 0 0 64;
17774             }
17775          }
17776          part { name: "fg1";
17777             clip_to: "disclip";
17778             mouse_events: 0;
17779             description { state: "default" 0.0;
17780                visible: 0;
17781                color: 255 255 255 0;
17782                rel1.to: "bg";
17783                rel2.relative: 1.0 0.5;
17784                rel2.to: "bg";
17785                image {
17786                   normal: "bt_sm_hilight.png";
17787                   border: 6 6 6 0;
17788                }
17789             }
17790             description { state: "selected" 0.0;
17791                inherit: "default" 0.0;
17792                visible: 1;
17793                color: 255 255 255 255;
17794             }
17795          }
17796          part { name: "fg2";
17797             clip_to: "disclip";
17798             mouse_events: 0;
17799             description { state: "default" 0.0;
17800                visible: 0;
17801                color: 255 255 255 0;
17802                rel1.to: "bg";
17803                rel2.to: "bg";
17804                image {
17805                   normal: "bt_sm_shine.png";
17806                   border: 6 6 6 0;
17807                }
17808             }
17809             description { state: "selected" 0.0;
17810                inherit: "default" 0.0;
17811                visible: 1;
17812                color: 255 255 255 255;
17813             }
17814          }
17815          part { name: "disclip";
17816             type: RECT;
17817             description { state: "default" 0.0;
17818                rel1.to: "bg";
17819                rel2.to: "bg";
17820             }
17821             description { state: "disabled" 0.0;
17822                inherit: "default" 0.0;
17823                color: 255 255 255 64;
17824             }
17825          }
17826       }
17827       programs {
17828          // signal: elm,state,%s,active
17829          //   a "check" item named %s went active
17830          // signal: elm,state,%s,passive
17831          //   a "check" item named %s went passive
17832          // default is passive
17833          program {
17834             name:    "go_active";
17835             signal:  "elm,state,selected";
17836             source:  "elm";
17837             action:  STATE_SET "selected" 0.0;
17838             target:  "bg";
17839             target:  "fg1";
17840             target:  "fg2";
17841             target:  "elm.text";
17842          }
17843          program {
17844             name:    "go_passive";
17845             signal:  "elm,state,unselected";
17846             source:  "elm";
17847             action:  STATE_SET "default" 0.0;
17848             target:  "bg";
17849             target:  "fg1";
17850             target:  "fg2";
17851             target:  "elm.text";
17852             transition: LINEAR 0.1;
17853          }
17854          program {
17855             name:    "go_disabled";
17856             signal:  "elm,state,disabled";
17857             source:  "elm";
17858             action:  STATE_SET "disabled" 0.0;
17859             target:  "disclip";
17860          }
17861          program {
17862             name:    "go_enabled";
17863             signal:  "elm,state,enabled";
17864             source:  "elm";
17865             action:  STATE_SET "default" 0.0;
17866             target:  "disclip";
17867          }
17868          program {
17869             name:    "expand";
17870             signal:  "mouse,up,1";
17871             source:  "arrow";
17872             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
17873          }
17874          program {
17875             name:    "go_expanded";
17876             signal:  "elm,state,expanded";
17877             source:  "elm";
17878             script {
17879                new st[31];
17880                new Float:vl;
17881                get_state(PART:"arrow", st, 30, vl);
17882                set_state(PART:"arrow", "active", vl);
17883             }
17884          }
17885          program {
17886             name:    "go_contracted";
17887             signal:  "elm,state,contracted";
17888             source:  "elm";
17889             script {
17890                new st[31];
17891                new Float:vl;
17892                get_state(PART:"arrow", st, 30, vl);
17893                set_state(PART:"arrow", "default", vl);
17894             }
17895          }
17896          program { name: "to_rtl";
17897             signal: "edje,state,rtl";
17898             source: "edje";
17899             script {
17900                new st[31];
17901                new Float:vl;
17902                get_state(PART:"arrow", st, 30, vl);
17903                if (vl == 0.0) {
17904                   set_state(PART:"arrow", st, 0.1);
17905                }
17906             }
17907          }
17908          program { name: "to_ltr";
17909             signal: "edje,state,ltr";
17910             source: "edje";
17911             script {
17912                new st[31];
17913                new Float:vl;
17914                get_state(PART:"arrow", st, 30, vl);
17915                if (vl == 0.1) {
17916                   set_state(PART:"arrow", st, 0.0);
17917                }
17918             }
17919          }
17920       }
17921    }
17922    group { name: "elm/genlist/tree_compress/default/default";
17923       data.item: "stacking" "above";
17924       data.item: "selectraise" "on";
17925       data.item: "labels" "elm.text";
17926       data.item: "icons" "elm.swallow.icon elm.swallow.end";
17927       data.item: "treesize" "20";
17928 //      data.item: "states" "";
17929       images {
17930          image: "bt_sm_base1.png" COMP;
17931          image: "bt_sm_shine.png" COMP;
17932          image: "bt_sm_hilight.png" COMP;
17933          image: "ilist_1.png" COMP;
17934          image: "ilist_item_shadow.png" COMP;
17935          image: "icon_arrow_left.png" COMP;
17936          image: "icon_arrow_right.png" COMP;
17937          image: "icon_arrow_down.png" COMP;
17938       }
17939       parts {
17940          part {
17941             name:           "event";
17942             type:           RECT;
17943             repeat_events: 1;
17944             description {
17945                state: "default" 0.0;
17946                color: 0 0 0 0;
17947             }
17948          }
17949          part {
17950             name: "base_sh";
17951             mouse_events: 0;
17952             description {
17953                state: "default" 0.0;
17954                align: 0.0 0.0;
17955                min: 0 10;
17956                fixed: 1 1;
17957                rel1 {
17958                   to: "base";
17959                   relative: 0.0 1.0;
17960                   offset: 0 0;
17961                }
17962                rel2 {
17963                   to: "base";
17964                   relative: 1.0 1.0;
17965                   offset: -1 0;
17966                }
17967                image {
17968                   normal: "ilist_item_shadow.png";
17969                }
17970                fill.smooth: 0;
17971             }
17972          }
17973          part {
17974             name: "base";
17975             mouse_events: 0;
17976             description {
17977                state: "default" 0.0;
17978                image {
17979                   normal: "ilist_1.png";
17980                   border: 2 2 2 2;
17981                }
17982                fill.smooth: 0;
17983             }
17984          }
17985          part { name: "bg";
17986             clip_to: "disclip";
17987             mouse_events: 0;
17988             description { state: "default" 0.0;
17989                visible: 0;
17990                color: 255 255 255 0;
17991                rel1 {
17992                   relative: 0.0 0.0;
17993                   offset: -5 -5;
17994                }
17995                rel2 {
17996                   relative: 1.0 1.0;
17997                   offset: 4 4;
17998                }
17999                image {
18000                   normal: "bt_sm_base1.png";
18001                   border: 6 6 6 6;
18002                }
18003                image.middle: SOLID;
18004             }
18005             description { state: "selected" 0.0;
18006                inherit: "default" 0.0;
18007                visible: 1;
18008                color: 255 255 255 255;
18009                rel1 {
18010                   relative: 0.0 0.0;
18011                   offset: -2 -2;
18012                }
18013                rel2 {
18014                   relative: 1.0 1.0;
18015                   offset: 1 1;
18016                }
18017             }
18018          }
18019          part { name: "elm.swallow.pad";
18020             type: SWALLOW;
18021             description { state: "default" 0.0;
18022                fixed: 1 0;
18023                align: 0.0 0.5;
18024                rel1 {
18025                   relative: 0.0  0.0;
18026                   offset:   4    4;
18027                }
18028                rel2 {
18029                   relative: 0.0  1.0;
18030                   offset:   4   -5;
18031                }
18032             }
18033          }
18034          part { name: "arrow";
18035             clip_to: "disclip";
18036             ignore_flags: ON_HOLD;
18037             description { state: "default" 0.0;
18038                fixed: 1 0;
18039                align: 0.0 0.5;
18040                aspect: 1.0 1.0;
18041                rel1 {
18042                   to_x: "elm.swallow.pad";
18043                   relative: 1.0  0.0;
18044                   offset:   -1    4;
18045                }
18046                rel2 {
18047                   to_x: "elm.swallow.pad";
18048                   relative: 1.0  1.0;
18049                   offset:   -1   -5;
18050                }
18051                image.normal: "icon_arrow_right.png";
18052             }
18053             description { state: "default" 0.1;
18054                inherit: "default" 0.0;
18055                image.normal: "icon_arrow_left.png";
18056             }
18057             description { state: "active" 0.0;
18058                inherit: "default" 0.0;
18059                image.normal: "icon_arrow_down.png";
18060             }
18061             description { state: "active" 0.1;
18062                inherit: "default" 0.0;
18063                image.normal: "icon_arrow_down.png";
18064             }
18065          }
18066          part { name: "elm.swallow.icon";
18067             clip_to: "disclip";
18068             type: SWALLOW;
18069             description { state: "default" 0.0;
18070                fixed: 1 0;
18071                align: 0.0 0.5;
18072                rel1 {
18073                   to_x: "arrow";
18074                   relative: 1.0  0.0;
18075                   offset:   4    4;
18076                }
18077                rel2 {
18078                   to_x: "arrow";
18079                   relative: 1.0  1.0;
18080                   offset:   4   -5;
18081                }
18082             }
18083          }
18084          part { name: "elm.swallow.end";
18085             clip_to: "disclip";
18086             type: SWALLOW;
18087             description { state: "default" 0.0;
18088                fixed: 1 0;
18089                align: 1.0 0.5;
18090                aspect: 1.0 1.0;
18091                aspect_preference: VERTICAL;
18092                rel1 {
18093                   relative: 1.0  0.0;
18094                   offset:   -5    4;
18095                }
18096                rel2 {
18097                   relative: 1.0  1.0;
18098                   offset:   -5   -5;
18099                }
18100             }
18101          }
18102          part { name: "elm.text";
18103             clip_to: "disclip";
18104             type:           TEXT;
18105             effect:         SOFT_SHADOW;
18106             mouse_events:   0;
18107             scale: 1;
18108             description {
18109                state: "default" 0.0;
18110 //               min: 16 16;
18111                rel1 {
18112                   to_x:     "elm.swallow.icon";
18113                   relative: 1.0  0.0;
18114                   offset:   0 4;
18115                }
18116                rel2 {
18117                   to_x:     "elm.swallow.end";
18118                   relative: 0.0  1.0;
18119                   offset:   -1 -5;
18120                }
18121                color: 0 0 0 255;
18122                color3: 0 0 0 0;
18123                text {
18124                   font: "Sans";
18125                   size: 10;
18126 //                  min: 1 1;
18127                   min: 0 1;
18128                   align: 0.0 0.5;
18129                   text_class: "list_item";
18130                }
18131             }
18132             description { state: "selected" 0.0;
18133                inherit: "default" 0.0;
18134                color: 224 224 224 255;
18135                color3: 0 0 0 64;
18136             }
18137          }
18138          part { name: "fg1";
18139             clip_to: "disclip";
18140             mouse_events: 0;
18141             description { state: "default" 0.0;
18142                visible: 0;
18143                color: 255 255 255 0;
18144                rel1.to: "bg";
18145                rel2.relative: 1.0 0.5;
18146                rel2.to: "bg";
18147                image {
18148                   normal: "bt_sm_hilight.png";
18149                   border: 6 6 6 0;
18150                }
18151             }
18152             description { state: "selected" 0.0;
18153                inherit: "default" 0.0;
18154                visible: 1;
18155                color: 255 255 255 255;
18156             }
18157          }
18158          part { name: "fg2";
18159             clip_to: "disclip";
18160             mouse_events: 0;
18161             description { state: "default" 0.0;
18162                visible: 0;
18163                color: 255 255 255 0;
18164                rel1.to: "bg";
18165                rel2.to: "bg";
18166                image {
18167                   normal: "bt_sm_shine.png";
18168                   border: 6 6 6 0;
18169                }
18170             }
18171             description { state: "selected" 0.0;
18172                inherit: "default" 0.0;
18173                visible: 1;
18174                color: 255 255 255 255;
18175             }
18176          }
18177          part { name: "disclip";
18178             type: RECT;
18179             description { state: "default" 0.0;
18180                rel1.to: "bg";
18181                rel2.to: "bg";
18182             }
18183             description { state: "disabled" 0.0;
18184                inherit: "default" 0.0;
18185                color: 255 255 255 64;
18186             }
18187          }
18188       }
18189       programs {
18190          // signal: elm,state,%s,active
18191          //   a "check" item named %s went active
18192          // signal: elm,state,%s,passive
18193          //   a "check" item named %s went passive
18194          // default is passive
18195          program {
18196             name:    "go_active";
18197             signal:  "elm,state,selected";
18198             source:  "elm";
18199             action:  STATE_SET "selected" 0.0;
18200             target:  "bg";
18201             target:  "fg1";
18202             target:  "fg2";
18203             target:  "elm.text";
18204          }
18205          program {
18206             name:    "go_passive";
18207             signal:  "elm,state,unselected";
18208             source:  "elm";
18209             action:  STATE_SET "default" 0.0;
18210             target:  "bg";
18211             target:  "fg1";
18212             target:  "fg2";
18213             target:  "elm.text";
18214             transition: LINEAR 0.1;
18215          }
18216          program {
18217             name:    "go_disabled";
18218             signal:  "elm,state,disabled";
18219             source:  "elm";
18220             action:  STATE_SET "disabled" 0.0;
18221             target:  "disclip";
18222          }
18223          program {
18224             name:    "go_enabled";
18225             signal:  "elm,state,enabled";
18226             source:  "elm";
18227             action:  STATE_SET "default" 0.0;
18228             target:  "disclip";
18229          }
18230          program {
18231             name:    "expand";
18232             signal:  "mouse,up,1";
18233             source:  "arrow";
18234             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
18235          }
18236          program {
18237             name:    "go_expanded";
18238             signal:  "elm,state,expanded";
18239             source:  "elm";
18240             script {
18241                new st[31];
18242                new Float:vl;
18243                get_state(PART:"arrow", st, 30, vl);
18244                set_state(PART:"arrow", "active", vl);
18245             }
18246          }
18247          program {
18248             name:    "go_contracted";
18249             signal:  "elm,state,contracted";
18250             source:  "elm";
18251             script {
18252                new st[31];
18253                new Float:vl;
18254                get_state(PART:"arrow", st, 30, vl);
18255                set_state(PART:"arrow", "default", vl);
18256             }
18257          }
18258          program { name: "to_rtl";
18259             signal: "edje,state,rtl";
18260             source: "edje";
18261             script {
18262                new st[31];
18263                new Float:vl;
18264                get_state(PART:"arrow", st, 30, vl);
18265                if (vl == 0.0) {
18266                   set_state(PART:"arrow", st, 0.1);
18267                }
18268             }
18269          }
18270          program { name: "to_ltr";
18271             signal: "edje,state,ltr";
18272             source: "edje";
18273             script {
18274                new st[31];
18275                new Float:vl;
18276                get_state(PART:"arrow", st, 30, vl);
18277                if (vl == 0.1) {
18278                   set_state(PART:"arrow", st, 0.0);
18279                }
18280             }
18281          }
18282       }
18283    }
18284    group { name: "elm/genlist/tree_odd/default/default";
18285       data.item: "stacking" "below";
18286       data.item: "selectraise" "on";
18287       data.item: "labels" "elm.text";
18288       data.item: "icons" "elm.swallow.icon elm.swallow.end";
18289       data.item: "treesize" "20";
18290 //      data.item: "states" "";
18291       images {
18292          image: "bt_sm_base1.png" COMP;
18293          image: "bt_sm_shine.png" COMP;
18294          image: "bt_sm_hilight.png" COMP;
18295          image: "ilist_2.png" COMP;
18296          image: "icon_arrow_left.png" COMP;
18297          image: "icon_arrow_right.png" COMP;
18298          image: "icon_arrow_down.png" COMP;
18299       }
18300       parts {
18301          part {
18302             name:           "event";
18303             type:           RECT;
18304             repeat_events: 1;
18305             description {
18306                state: "default" 0.0;
18307                color: 0 0 0 0;
18308             }
18309          }
18310          part {
18311             name: "base";
18312             mouse_events: 0;
18313             description {
18314                state: "default" 0.0;
18315                image {
18316                   normal: "ilist_2.png";
18317                   border: 2 2 2 2;
18318                }
18319                fill.smooth: 0;
18320             }
18321          }
18322          part { name: "bg";
18323             clip_to: "disclip";
18324             mouse_events: 0;
18325             description { state: "default" 0.0;
18326                visible: 0;
18327                color: 255 255 255 0;
18328                rel1 {
18329                   relative: 0.0 0.0;
18330                   offset: -5 -5;
18331                }
18332                rel2 {
18333                   relative: 1.0 1.0;
18334                   offset: 4 4;
18335                }
18336                image {
18337                   normal: "bt_sm_base1.png";
18338                   border: 6 6 6 6;
18339                }
18340                image.middle: SOLID;
18341             }
18342             description { state: "selected" 0.0;
18343                inherit: "default" 0.0;
18344                visible: 1;
18345                color: 255 255 255 255;
18346                rel1 {
18347                   relative: 0.0 0.0;
18348                   offset: -2 -2;
18349                }
18350                rel2 {
18351                   relative: 1.0 1.0;
18352                   offset: 1 1;
18353                }
18354             }
18355          }
18356          part { name: "elm.swallow.pad";
18357             type: SWALLOW;
18358             description { state: "default" 0.0;
18359                fixed: 1 0;
18360                align: 0.0 0.5;
18361                rel1 {
18362                   relative: 0.0  0.0;
18363                   offset:   4    4;
18364                }
18365                rel2 {
18366                   relative: 0.0  1.0;
18367                   offset:   4   -5;
18368                }
18369             }
18370          }
18371          part { name: "arrow";
18372             clip_to: "disclip";
18373             ignore_flags: ON_HOLD;
18374             description { state: "default" 0.0;
18375                fixed: 1 0;
18376                align: 0.0 0.5;
18377                aspect: 1.0 1.0;
18378                rel1 {
18379                   to_x: "elm.swallow.pad";
18380                   relative: 1.0  0.0;
18381                   offset:   -1    4;
18382                }
18383                rel2 {
18384                   to_x: "elm.swallow.pad";
18385                   relative: 1.0  1.0;
18386                   offset:   -1   -5;
18387                }
18388                image.normal: "icon_arrow_right.png";
18389             }
18390             description { state: "default" 0.1;
18391                inherit: "default" 0.0;
18392                image.normal: "icon_arrow_left.png";
18393             }
18394             description { state: "active" 0.0;
18395                inherit: "default" 0.0;
18396                image.normal: "icon_arrow_down.png";
18397             }
18398             description { state: "active" 0.1;
18399                inherit: "default" 0.0;
18400                image.normal: "icon_arrow_down.png";
18401             }
18402          }
18403          part { name: "elm.swallow.icon";
18404             clip_to: "disclip";
18405             type: SWALLOW;
18406             description { state: "default" 0.0;
18407                fixed: 1 0;
18408                align: 0.0 0.5;
18409                rel1 {
18410                   to_x: "arrow";
18411                   relative: 1.0  0.0;
18412                   offset:   4    4;
18413                }
18414                rel2 {
18415                   to_x: "arrow";
18416                   relative: 1.0  1.0;
18417                   offset:   4   -5;
18418                }
18419             }
18420          }
18421          part { name: "elm.swallow.end";
18422             clip_to: "disclip";
18423             type: SWALLOW;
18424             description { state: "default" 0.0;
18425                fixed: 1 0;
18426                align: 1.0 0.5;
18427                aspect: 1.0 1.0;
18428                aspect_preference: VERTICAL;
18429                rel1 {
18430                   relative: 1.0  0.0;
18431                   offset:   -5    4;
18432                }
18433                rel2 {
18434                   relative: 1.0  1.0;
18435                   offset:   -5   -5;
18436                }
18437             }
18438          }
18439          part { name: "elm.text";
18440             clip_to: "disclip";
18441             type:           TEXT;
18442             effect:         SOFT_SHADOW;
18443             mouse_events:   0;
18444             scale: 1;
18445             description {
18446                state: "default" 0.0;
18447 //               min: 16 16;
18448                rel1 {
18449                   to_x:     "elm.swallow.icon";
18450                   relative: 1.0  0.0;
18451                   offset:   0 4;
18452                }
18453                rel2 {
18454                   to_x:     "elm.swallow.end";
18455                   relative: 0.0  1.0;
18456                   offset:   -1 -5;
18457                }
18458                color: 0 0 0 255;
18459                color3: 0 0 0 0;
18460                text {
18461                   font: "Sans";
18462                   size: 10;
18463                   min: 1 1;
18464 //                  min: 0 1;
18465                   align: -1.0 0.5;
18466                   text_class: "list_item";
18467                }
18468             }
18469             description { state: "selected" 0.0;
18470                inherit: "default" 0.0;
18471                color: 224 224 224 255;
18472                color3: 0 0 0 64;
18473             }
18474          }
18475          part { name: "fg1";
18476             clip_to: "disclip";
18477             mouse_events: 0;
18478             description { state: "default" 0.0;
18479                visible: 0;
18480                color: 255 255 255 0;
18481                rel1.to: "bg";
18482                rel2.relative: 1.0 0.5;
18483                rel2.to: "bg";
18484                image {
18485                   normal: "bt_sm_hilight.png";
18486                   border: 6 6 6 0;
18487                }
18488             }
18489             description { state: "selected" 0.0;
18490                inherit: "default" 0.0;
18491                visible: 1;
18492                color: 255 255 255 255;
18493             }
18494          }
18495          part { name: "fg2";
18496             clip_to: "disclip";
18497             mouse_events: 0;
18498             description { state: "default" 0.0;
18499                visible: 0;
18500                color: 255 255 255 0;
18501                rel1.to: "bg";
18502                rel2.to: "bg";
18503                image {
18504                   normal: "bt_sm_shine.png";
18505                   border: 6 6 6 0;
18506                }
18507             }
18508             description { state: "selected" 0.0;
18509                inherit: "default" 0.0;
18510                visible: 1;
18511                color: 255 255 255 255;
18512             }
18513          }
18514          part { name: "disclip";
18515             type: RECT;
18516             description { state: "default" 0.0;
18517                rel1.to: "bg";
18518                rel2.to: "bg";
18519             }
18520             description { state: "disabled" 0.0;
18521                inherit: "default" 0.0;
18522                color: 255 255 255 64;
18523             }
18524          }
18525       }
18526       programs {
18527          // signal: elm,state,%s,active
18528          //   a "check" item named %s went active
18529          // signal: elm,state,%s,passive
18530          //   a "check" item named %s went passive
18531          // default is passive
18532          program {
18533             name:    "go_active";
18534             signal:  "elm,state,selected";
18535             source:  "elm";
18536             action:  STATE_SET "selected" 0.0;
18537             target:  "bg";
18538             target:  "fg1";
18539             target:  "fg2";
18540             target:  "elm.text";
18541          }
18542          program {
18543             name:    "go_passive";
18544             signal:  "elm,state,unselected";
18545             source:  "elm";
18546             action:  STATE_SET "default" 0.0;
18547             target:  "bg";
18548             target:  "fg1";
18549             target:  "fg2";
18550             target:  "elm.text";
18551             transition: LINEAR 0.1;
18552          }
18553          program {
18554             name:    "go_disabled";
18555             signal:  "elm,state,disabled";
18556             source:  "elm";
18557             action:  STATE_SET "disabled" 0.0;
18558             target:  "disclip";
18559          }
18560          program {
18561             name:    "go_enabled";
18562             signal:  "elm,state,enabled";
18563             source:  "elm";
18564             action:  STATE_SET "default" 0.0;
18565             target:  "disclip";
18566          }
18567          program {
18568             name:    "expand";
18569             signal:  "mouse,up,1";
18570             source:  "arrow";
18571             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
18572          }
18573          program {
18574             name:    "go_expanded";
18575             signal:  "elm,state,expanded";
18576             source:  "elm";
18577             script {
18578                new st[31];
18579                new Float:vl;
18580                get_state(PART:"arrow", st, 30, vl);
18581                set_state(PART:"arrow", "active", vl);
18582             }
18583          }
18584          program {
18585             name:    "go_contracted";
18586             signal:  "elm,state,contracted";
18587             source:  "elm";
18588             script {
18589                new st[31];
18590                new Float:vl;
18591                get_state(PART:"arrow", st, 30, vl);
18592                set_state(PART:"arrow", "default", vl);
18593             }
18594          }
18595          program { name: "to_rtl";
18596             signal: "edje,state,rtl";
18597             source: "edje";
18598             script {
18599                new st[31];
18600                new Float:vl;
18601                get_state(PART:"arrow", st, 30, vl);
18602                if (vl == 0.0) {
18603                   set_state(PART:"arrow", st, 0.1);
18604                }
18605             }
18606          }
18607          program { name: "to_ltr";
18608             signal: "edje,state,ltr";
18609             source: "edje";
18610             script {
18611                new st[31];
18612                new Float:vl;
18613                get_state(PART:"arrow", st, 30, vl);
18614                if (vl == 0.1) {
18615                   set_state(PART:"arrow", st, 0.0);
18616                }
18617             }
18618          }
18619       }
18620    }
18621    group { name: "elm/genlist/tree_compress_odd/default/default";
18622       data.item: "stacking" "below";
18623       data.item: "selectraise" "on";
18624       data.item: "labels" "elm.text";
18625       data.item: "icons" "elm.swallow.icon elm.swallow.end";
18626       data.item: "treesize" "20";
18627 //      data.item: "states" "";
18628       images {
18629          image: "bt_sm_base1.png" COMP;
18630          image: "bt_sm_shine.png" COMP;
18631          image: "bt_sm_hilight.png" COMP;
18632          image: "ilist_2.png" COMP;
18633          image: "icon_arrow_left.png" COMP;
18634          image: "icon_arrow_right.png" COMP;
18635          image: "icon_arrow_down.png" COMP;
18636       }
18637       parts {
18638          part {
18639             name:           "event";
18640             type:           RECT;
18641             repeat_events: 1;
18642             description {
18643                state: "default" 0.0;
18644                color: 0 0 0 0;
18645             }
18646          }
18647          part {
18648             name: "base";
18649             mouse_events: 0;
18650             description {
18651                state: "default" 0.0;
18652                image {
18653                   normal: "ilist_2.png";
18654                   border: 2 2 2 2;
18655                }
18656                fill.smooth: 0;
18657             }
18658          }
18659          part { name: "bg";
18660             clip_to: "disclip";
18661             mouse_events: 0;
18662             description { state: "default" 0.0;
18663                visible: 0;
18664                color: 255 255 255 0;
18665                rel1 {
18666                   relative: 0.0 0.0;
18667                   offset: -5 -5;
18668                }
18669                rel2 {
18670                   relative: 1.0 1.0;
18671                   offset: 4 4;
18672                }
18673                image {
18674                   normal: "bt_sm_base1.png";
18675                   border: 6 6 6 6;
18676                }
18677                image.middle: SOLID;
18678             }
18679             description { state: "selected" 0.0;
18680                inherit: "default" 0.0;
18681                visible: 1;
18682                color: 255 255 255 255;
18683                rel1 {
18684                   relative: 0.0 0.0;
18685                   offset: -2 -2;
18686                }
18687                rel2 {
18688                   relative: 1.0 1.0;
18689                   offset: 1 1;
18690                }
18691             }
18692          }
18693          part { name: "elm.swallow.pad";
18694             type: SWALLOW;
18695             description { state: "default" 0.0;
18696                fixed: 1 0;
18697                align: 0.0 0.5;
18698                rel1 {
18699                   relative: 0.0  0.0;
18700                   offset:   4    4;
18701                }
18702                rel2 {
18703                   relative: 0.0  1.0;
18704                   offset:   4   -5;
18705                }
18706             }
18707          }
18708          part { name: "arrow";
18709             clip_to: "disclip";
18710             ignore_flags: ON_HOLD;
18711             description { state: "default" 0.0;
18712                fixed: 1 0;
18713                align: 0.0 0.5;
18714                aspect: 1.0 1.0;
18715                rel1 {
18716                   to_x: "elm.swallow.pad";
18717                   relative: 1.0  0.0;
18718                   offset:   -1    4;
18719                }
18720                rel2 {
18721                   to_x: "elm.swallow.pad";
18722                   relative: 1.0  1.0;
18723                   offset:   -1   -5;
18724                }
18725                image.normal: "icon_arrow_right.png";
18726             }
18727             description { state: "default" 0.1;
18728                inherit: "default" 0.0;
18729                image.normal: "icon_arrow_left.png";
18730             }
18731             description { state: "active" 0.0;
18732                inherit: "default" 0.0;
18733                image.normal: "icon_arrow_down.png";
18734             }
18735             description { state: "active" 0.1;
18736                inherit: "default" 0.0;
18737                image.normal: "icon_arrow_down.png";
18738             }
18739          }
18740          part { name: "elm.swallow.icon";
18741             clip_to: "disclip";
18742             type: SWALLOW;
18743             description { state: "default" 0.0;
18744                fixed: 1 0;
18745                align: 0.0 0.5;
18746                rel1 {
18747                   to_x: "arrow";
18748                   relative: 1.0  0.0;
18749                   offset:   4    4;
18750                }
18751                rel2 {
18752                   to_x: "arrow";
18753                   relative: 1.0  1.0;
18754                   offset:   4   -5;
18755                }
18756             }
18757          }
18758          part { name: "elm.swallow.end";
18759             clip_to: "disclip";
18760             type: SWALLOW;
18761             description { state: "default" 0.0;
18762                fixed: 1 0;
18763                align: 1.0 0.5;
18764                aspect: 1.0 1.0;
18765                aspect_preference: VERTICAL;
18766                rel1 {
18767                   relative: 1.0  0.0;
18768                   offset:   -5    4;
18769                }
18770                rel2 {
18771                   relative: 1.0  1.0;
18772                   offset:   -5   -5;
18773                }
18774             }
18775          }
18776          part { name: "elm.text";
18777             clip_to: "disclip";
18778             type:           TEXT;
18779             effect:         SOFT_SHADOW;
18780             mouse_events:   0;
18781             scale: 1;
18782             description {
18783                state: "default" 0.0;
18784 //               min: 16 16;
18785                rel1 {
18786                   to_x:     "elm.swallow.icon";
18787                   relative: 1.0  0.0;
18788                   offset:   0 4;
18789                }
18790                rel2 {
18791                   to_x:     "elm.swallow.end";
18792                   relative: 0.0  1.0;
18793                   offset:   -1 -5;
18794                }
18795                color: 0 0 0 255;
18796                color3: 0 0 0 0;
18797                text {
18798                   font: "Sans";
18799                   size: 10;
18800 //                  min: 1 1;
18801                   min: 0 1;
18802                   align: 0.0 0.5;
18803                   text_class: "list_item";
18804                }
18805             }
18806             description { state: "selected" 0.0;
18807                inherit: "default" 0.0;
18808                color: 224 224 224 255;
18809                color3: 0 0 0 64;
18810             }
18811          }
18812          part { name: "fg1";
18813             clip_to: "disclip";
18814             mouse_events: 0;
18815             description { state: "default" 0.0;
18816                visible: 0;
18817                color: 255 255 255 0;
18818                rel1.to: "bg";
18819                rel2.relative: 1.0 0.5;
18820                rel2.to: "bg";
18821                image {
18822                   normal: "bt_sm_hilight.png";
18823                   border: 6 6 6 0;
18824                }
18825             }
18826             description { state: "selected" 0.0;
18827                inherit: "default" 0.0;
18828                visible: 1;
18829                color: 255 255 255 255;
18830             }
18831          }
18832          part { name: "fg2";
18833             clip_to: "disclip";
18834             mouse_events: 0;
18835             description { state: "default" 0.0;
18836                visible: 0;
18837                color: 255 255 255 0;
18838                rel1.to: "bg";
18839                rel2.to: "bg";
18840                image {
18841                   normal: "bt_sm_shine.png";
18842                   border: 6 6 6 0;
18843                }
18844             }
18845             description { state: "selected" 0.0;
18846                inherit: "default" 0.0;
18847                visible: 1;
18848                color: 255 255 255 255;
18849             }
18850          }
18851          part { name: "disclip";
18852             type: RECT;
18853             description { state: "default" 0.0;
18854                rel1.to: "bg";
18855                rel2.to: "bg";
18856             }
18857             description { state: "disabled" 0.0;
18858                inherit: "default" 0.0;
18859                color: 255 255 255 64;
18860             }
18861          }
18862       }
18863       programs {
18864          // signal: elm,state,%s,active
18865          //   a "check" item named %s went active
18866          // signal: elm,state,%s,passive
18867          //   a "check" item named %s went passive
18868          // default is passive
18869          program {
18870             name:    "go_active";
18871             signal:  "elm,state,selected";
18872             source:  "elm";
18873             action:  STATE_SET "selected" 0.0;
18874             target:  "bg";
18875             target:  "fg1";
18876             target:  "fg2";
18877             target:  "elm.text";
18878          }
18879          program {
18880             name:    "go_passive";
18881             signal:  "elm,state,unselected";
18882             source:  "elm";
18883             action:  STATE_SET "default" 0.0;
18884             target:  "bg";
18885             target:  "fg1";
18886             target:  "fg2";
18887             target:  "elm.text";
18888             transition: LINEAR 0.1;
18889          }
18890          program {
18891             name:    "go_disabled";
18892             signal:  "elm,state,disabled";
18893             source:  "elm";
18894             action:  STATE_SET "disabled" 0.0;
18895             target:  "disclip";
18896          }
18897          program {
18898             name:    "go_enabled";
18899             signal:  "elm,state,enabled";
18900             source:  "elm";
18901             action:  STATE_SET "default" 0.0;
18902             target:  "disclip";
18903          }
18904          program {
18905             name:    "expand";
18906             signal:  "mouse,up,1";
18907             source:  "arrow";
18908             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
18909          }
18910          program {
18911             name:    "go_expanded";
18912             signal:  "elm,state,expanded";
18913             source:  "elm";
18914             script {
18915                new st[31];
18916                new Float:vl;
18917                get_state(PART:"arrow", st, 30, vl);
18918                set_state(PART:"arrow", "active", vl);
18919             }
18920          }
18921          program {
18922             name:    "go_contracted";
18923             signal:  "elm,state,contracted";
18924             source:  "elm";
18925             script {
18926                new st[31];
18927                new Float:vl;
18928                get_state(PART:"arrow", st, 30, vl);
18929                set_state(PART:"arrow", "default", vl);
18930             }
18931          }
18932          program { name: "to_rtl";
18933             signal: "edje,state,rtl";
18934             source: "edje";
18935             script {
18936                new st[31];
18937                new Float:vl;
18938                get_state(PART:"arrow", st, 30, vl);
18939                if (vl == 0.0) {
18940                   set_state(PART:"arrow", st, 0.1);
18941                }
18942             }
18943          }
18944          program { name: "to_ltr";
18945             signal: "edje,state,ltr";
18946             source: "edje";
18947             script {
18948                new st[31];
18949                new Float:vl;
18950                get_state(PART:"arrow", st, 30, vl);
18951                if (vl == 0.1) {
18952                   set_state(PART:"arrow", st, 0.0);
18953                }
18954             }
18955          }
18956       }
18957    }
18958
18959    group { name: "elm/genlist/item/default_style/default";
18960        styles
18961        {
18962            style { name: "genlist_style";
18963                base: "font=Sans font_size=10 align=left valign=0.5 color=#000 text_class=list_item";
18964                tag:  "br" "\n";
18965                tag:  "ps" "ps";
18966                tag:  "hilight" "+ font=Sans:style=Bold";
18967                tag:  "b" "+ font=Sans:style=Bold";
18968                tag:  "tab" "\t";
18969            }
18970            style { name: "genlist_selected_style";
18971                base: "font=Sans font_size=10 align=left valign=0.5 color=#fff text_class=list_item";
18972                tag:  "br" "\n";
18973                tag:  "ps" "ps";
18974                tag:  "hilight" "+ font=Sans:style=Bold";
18975                tag:  "b" "+ font=Sans:style=Bold";
18976                tag:  "tab" "\t";
18977            }
18978        }
18979        data.item: "stacking" "above";
18980        data.item: "selectraise" "on";
18981        data.item: "labels" "elm.text";
18982        data.item: "icons" "elm.swallow.icon elm.swallow.end";
18983        data.item: "treesize" "20";
18984        images {
18985            image: "bt_sm_base1.png" COMP;
18986            image: "bt_sm_shine.png" COMP;
18987            image: "bt_sm_hilight.png" COMP;
18988            image: "ilist_1.png" COMP;
18989            image: "ilist_item_shadow.png" COMP;
18990        }
18991        parts {
18992            part {
18993                name:           "event";
18994                type:           RECT;
18995                repeat_events: 1;
18996                description {
18997                    state: "default" 0.0;
18998                    color: 0 0 0 0;
18999                }
19000            }
19001            part {
19002                name: "base_sh";
19003                mouse_events: 0;
19004                description {
19005                    state: "default" 0.0;
19006                    align: 0.0 0.0;
19007                    min: 0 10;
19008                    fixed: 1 1;
19009                    rel1 {
19010                        to: "base";
19011                        relative: 0.0 1.0;
19012                        offset: 0 0;
19013                    }
19014                    rel2 {
19015                        to: "base";
19016                        relative: 1.0 1.0;
19017                        offset: -1 0;
19018                    }
19019                    image {
19020                        normal: "ilist_item_shadow.png";
19021                    }
19022                    fill.smooth: 0;
19023                }
19024            }
19025            part {
19026                name: "base";
19027                mouse_events: 0;
19028                description {
19029                    state: "default" 0.0;
19030                    min: 16 28;
19031                    image {
19032                        normal: "ilist_1.png";
19033                        border: 2 2 2 2;
19034                    }
19035                    fill.smooth: 0;
19036                }
19037            }
19038            part { name: "bg";
19039                clip_to: "disclip";
19040                mouse_events: 0;
19041                description { state: "default" 0.0;
19042                    visible: 0;
19043                    color: 255 255 255 0;
19044                    rel1 {
19045                        relative: 0.0 0.0;
19046                        offset: -5 -5;
19047                    }
19048                    rel2 {
19049                        relative: 1.0 1.0;
19050                        offset: 4 4;
19051                    }
19052                    image {
19053                        normal: "bt_sm_base1.png";
19054                        border: 6 6 6 6;
19055                    }
19056                    image.middle: SOLID;
19057                }
19058                description { state: "selected" 0.0;
19059                    inherit: "default" 0.0;
19060                    visible: 1;
19061                    color: 255 255 255 255;
19062                    rel1 {
19063                        relative: 0.0 0.0;
19064                        offset: -2 -2;
19065                    }
19066                    rel2 {
19067                        relative: 1.0 1.0;
19068                        offset: 1 1;
19069                    }
19070                }
19071            }
19072            part { name: "elm.swallow.pad";
19073                type: SWALLOW;
19074                description { state: "default" 0.0;
19075                    fixed: 1 0;
19076                    align: 0.0 0.5;
19077                    rel1 {
19078                        relative: 0.0  0.0;
19079                        offset:   4    4;
19080                    }
19081                    rel2 {
19082                        relative: 0.0  1.0;
19083                        offset:   4   -5;
19084                    }
19085                }
19086            }
19087            part { name: "elm.swallow.icon";
19088                clip_to: "disclip";
19089                type: SWALLOW;
19090                description { state: "default" 0.0;
19091                    fixed: 1 0;
19092                    align: 0.0 0.5;
19093                    rel1 {
19094                        to_x: "elm.swallow.pad";
19095                        relative: 1.0  0.0;
19096                        offset:   -1    4;
19097                    }
19098                    rel2 {
19099                        to_x: "elm.swallow.pad";
19100                        relative: 1.0  1.0;
19101                        offset:   -1   -5;
19102                    }
19103                }
19104            }
19105            part { name: "elm.swallow.end";
19106                clip_to: "disclip";
19107                type: SWALLOW;
19108                description { state: "default" 0.0;
19109                    fixed: 1 0;
19110                    align: 1.0 0.5;
19111                    aspect: 1.0 1.0;
19112                    aspect_preference: VERTICAL;
19113                    rel1 {
19114                        relative: 1.0  0.0;
19115                        offset:   -5    4;
19116                    }
19117                    rel2 {
19118                        relative: 1.0  1.0;
19119                        offset:   -5   -5;
19120                    }
19121                }
19122            }
19123            part { name: "elm.text";
19124                clip_to: "disclip";
19125                type: TEXTBLOCK;
19126                mouse_events: 0;
19127                scale: 1;
19128                description {
19129                    state: "default" 0.0;
19130                    align: 0.0 0.5;
19131                    fixed: 0 1;
19132                    rel1 {
19133                        to_x: "elm.swallow.icon";
19134                        to_y: "base";
19135                        relative: 1.0  0.5;
19136                        offset:   0 4;
19137                    }
19138                    rel2 {
19139                        to_x: "elm.swallow.end";
19140                        to_y: "base";
19141                        relative: 0.0  0.5;
19142                        offset:   -1 -5;
19143                    }
19144                    text {
19145                        style: "genlist_style";
19146                        min: 1 1;
19147                    }
19148                }
19149                description { state: "selected" 0.0;
19150                    inherit: "default" 0.0;
19151                    text {
19152                        style: "genlist_selected_style";
19153                    }
19154                }
19155            }
19156            part { name: "fg1";
19157                clip_to: "disclip";
19158                mouse_events: 0;
19159                description { state: "default" 0.0;
19160                    visible: 0;
19161                    color: 255 255 255 0;
19162                    rel1.to: "bg";
19163                    rel2.relative: 1.0 0.5;
19164                    rel2.to: "bg";
19165                    image {
19166                        normal: "bt_sm_hilight.png";
19167                        border: 6 6 6 0;
19168                    }
19169                }
19170                description { state: "selected" 0.0;
19171                    inherit: "default" 0.0;
19172                    visible: 1;
19173                    color: 255 255 255 255;
19174                }
19175            }
19176            part { name: "fg2";
19177                clip_to: "disclip";
19178                mouse_events: 0;
19179                description { state: "default" 0.0;
19180                    visible: 0;
19181                    color: 255 255 255 0;
19182                    rel1.to: "bg";
19183                    rel2.to: "bg";
19184                    image {
19185                        normal: "bt_sm_shine.png";
19186                        border: 6 6 6 0;
19187                    }
19188                }
19189                description { state: "selected" 0.0;
19190                    inherit: "default" 0.0;
19191                    visible: 1;
19192                    color: 255 255 255 255;
19193                }
19194            }
19195            part { name: "disclip";
19196                type: RECT;
19197                description { state: "default" 0.0;
19198                    rel1.to: "bg";
19199                    rel2.to: "bg";
19200                }
19201                description { state: "disabled" 0.0;
19202                    inherit: "default" 0.0;
19203                    color: 255 255 255 64;
19204                }
19205            }
19206        }
19207        programs {
19208            // signal: elm,state,%s,active
19209            //   a "check" item named %s went active
19210            // signal: elm,state,%s,passive
19211            //   a "check" item named %s went passive
19212            // default is passive
19213            program {
19214                name:    "go_active";
19215                signal:  "elm,state,selected";
19216                source:  "elm";
19217                action:  STATE_SET "selected" 0.0;
19218                target:  "bg";
19219                target:  "fg1";
19220                target:  "fg2";
19221                target:  "elm.text";
19222            }
19223            program {
19224                name:    "go_passive";
19225                signal:  "elm,state,unselected";
19226                source:  "elm";
19227                action:  STATE_SET "default" 0.0;
19228                target:  "bg";
19229                target:  "fg1";
19230                target:  "fg2";
19231                target:  "elm.text";
19232                transition: LINEAR 0.1;
19233            }
19234            program {
19235                name:    "go_disabled";
19236                signal:  "elm,state,disabled";
19237                source:  "elm";
19238                action:  STATE_SET "disabled" 0.0;
19239                target:  "disclip";
19240            }
19241            program {
19242                name:    "go_enabled";
19243                signal:  "elm,state,enabled";
19244                source:  "elm";
19245                action:  STATE_SET "default" 0.0;
19246                target:  "disclip";
19247            }
19248        }
19249    }
19250    group { name: "elm/genlist/item_odd/default_style/default";
19251        data.item: "stacking" "below";
19252        data.item: "selectraise" "on";
19253        data.item: "labels" "elm.text";
19254        data.item: "icons" "elm.swallow.icon elm.swallow.end";
19255        data.item: "treesize" "20";
19256        images {
19257            image: "bt_sm_base1.png" COMP;
19258            image: "bt_sm_shine.png" COMP;
19259            image: "bt_sm_hilight.png" COMP;
19260            image: "ilist_2.png" COMP;
19261        }
19262        parts {
19263            part { name: "event";
19264                type: RECT;
19265                repeat_events: 1;
19266                description {
19267                    state: "default" 0.0;
19268                    color: 0 0 0 0;
19269                }
19270            }
19271            part {
19272                name: "base";
19273                mouse_events: 0;
19274                description {
19275                    state: "default" 0.0;
19276                    min: 16 28;
19277                    image {
19278                        normal: "ilist_2.png";
19279                        border: 2 2 2 2;
19280                    }
19281                    fill.smooth: 0;
19282                }
19283            }
19284            part { name: "bg";
19285                clip_to: "disclip";
19286                mouse_events: 0;
19287                description { state: "default" 0.0;
19288                    visible: 0;
19289                    color: 255 255 255 0;
19290                    rel1 {
19291                        relative: 0.0 0.0;
19292                        offset: -5 -5;
19293                    }
19294                    rel2 {
19295                        relative: 1.0 1.0;
19296                        offset: 4 4;
19297                    }
19298                    image {
19299                        normal: "bt_sm_base1.png";
19300                        border: 6 6 6 6;
19301                    }
19302                    image.middle: SOLID;
19303                }
19304                description { state: "selected" 0.0;
19305                    inherit: "default" 0.0;
19306                    visible: 1;
19307                    color: 255 255 255 255;
19308                    rel1 {
19309                        relative: 0.0 0.0;
19310                        offset: -2 -2;
19311                    }
19312                    rel2 {
19313                        relative: 1.0 1.0;
19314                        offset: 1 1;
19315                    }
19316                }
19317            }
19318            part { name: "elm.swallow.pad";
19319                type: SWALLOW;
19320                description { state: "default" 0.0;
19321                    fixed: 1 0;
19322                    align: 0.0 0.5;
19323                    rel1 {
19324                        relative: 0.0  0.0;
19325                        offset:   4    4;
19326                    }
19327                    rel2 {
19328                        relative: 0.0  1.0;
19329                        offset:   4   -5;
19330                    }
19331                }
19332            }
19333            part { name: "elm.swallow.icon";
19334                clip_to: "disclip";
19335                type: SWALLOW;
19336                description { state: "default" 0.0;
19337                    fixed: 1 0;
19338                    align: 0.0 0.5;
19339                    rel1 {
19340                        to_x: "elm.swallow.pad";
19341                        relative: 1.0  0.0;
19342                        offset:   -1    4;
19343                    }
19344                    rel2 {
19345                        to_x: "elm.swallow.pad";
19346                        relative: 1.0  1.0;
19347                        offset:   -1   -5;
19348                    }
19349                }
19350            }
19351            part { name: "elm.swallow.end";
19352                clip_to: "disclip";
19353                type:          SWALLOW;
19354                description { state:    "default" 0.0;
19355                    fixed: 1 0;
19356                    align:    1.0 0.5;
19357                    aspect: 1.0 1.0;
19358                    aspect_preference: VERTICAL;
19359                    rel1 {
19360                        relative: 1.0  0.0;
19361                        offset:   -5    4;
19362                    }
19363                    rel2 {
19364                        relative: 1.0  1.0;
19365                        offset:   -5   -5;
19366                    }
19367                }
19368            }
19369            part { name: "elm.text";
19370                clip_to: "disclip";
19371                type:           TEXTBLOCK;
19372                mouse_events:   0;
19373                scale: 1;
19374                description {
19375                    state: "default" 0.0;
19376                    align: 0.0 0.5;
19377                    fixed: 0 1;
19378                    rel1 {
19379                        to_x: "elm.swallow.icon";
19380                        to_y: "base";
19381                        relative: 1.0  0.5;
19382                        offset:   0 4;
19383                    }
19384                    rel2 {
19385                        to_x: "elm.swallow.end";
19386                        to_y: "base";
19387                        relative: 0.0  0.5;
19388                        offset:   -1 -5;
19389                    }
19390                    text {
19391                        style: "genlist_style";
19392                        min: 1 1;
19393                    }
19394                }
19395                description { state: "selected" 0.0;
19396                    inherit: "default" 0.0;
19397                    text {
19398                        style: "genlist_selected_style";
19399                    }
19400                }
19401            }
19402            part { name: "fg1";
19403                clip_to: "disclip";
19404                mouse_events: 0;
19405                description { state: "default" 0.0;
19406                    visible: 0;
19407                    color: 255 255 255 0;
19408                    rel1.to: "bg";
19409                    rel2.relative: 1.0 0.5;
19410                    rel2.to: "bg";
19411                    image {
19412                        normal: "bt_sm_hilight.png";
19413                        border: 6 6 6 0;
19414                    }
19415                }
19416                description { state: "selected" 0.0;
19417                    inherit: "default" 0.0;
19418                    visible: 1;
19419                    color: 255 255 255 255;
19420                }
19421            }
19422            part { name: "fg2";
19423                clip_to: "disclip";
19424                mouse_events: 0;
19425                description { state: "default" 0.0;
19426                    visible: 0;
19427                    color: 255 255 255 0;
19428                    rel1.to: "bg";
19429                    rel2.to: "bg";
19430                    image {
19431                        normal: "bt_sm_shine.png";
19432                        border: 6 6 6 0;
19433                    }
19434                }
19435                description { state: "selected" 0.0;
19436                    inherit: "default" 0.0;
19437                    visible: 1;
19438                    color: 255 255 255 255;
19439                }
19440            }
19441            part { name: "disclip";
19442                type: RECT;
19443                description { state: "default" 0.0;
19444                    rel1.to: "bg";
19445                    rel2.to: "bg";
19446                }
19447                description { state: "disabled" 0.0;
19448                    inherit: "default" 0.0;
19449                    color: 255 255 255 64;
19450                }
19451            }
19452        }
19453        programs {
19454            // signal: elm,state,%s,active
19455            //   a "check" item named %s went active
19456            // signal: elm,state,%s,passive
19457            //   a "check" item named %s went passive
19458            // default is passive
19459            program {
19460                name:    "go_active";
19461                signal:  "elm,state,selected";
19462                source:  "elm";
19463                action:  STATE_SET "selected" 0.0;
19464                target:  "bg";
19465                target:  "fg1";
19466                target:  "fg2";
19467                target:  "elm.text";
19468            }
19469            program {
19470                name:    "go_passive";
19471                signal:  "elm,state,unselected";
19472                source:  "elm";
19473                action:  STATE_SET "default" 0.0;
19474                target:  "bg";
19475                target:  "fg1";
19476                target:  "fg2";
19477                target:  "elm.text";
19478                transition: LINEAR 0.1;
19479            }
19480            program {
19481                name:    "go_disabled";
19482                signal:  "elm,state,disabled";
19483                source:  "elm";
19484                action:  STATE_SET "disabled" 0.0;
19485                target:  "disclip";
19486            }
19487            program {
19488                name:    "go_enabled";
19489                signal:  "elm,state,enabled";
19490                source:  "elm";
19491                action:  STATE_SET "default" 0.0;
19492                target:  "disclip";
19493            }
19494        }
19495    }
19496
19497    group { name: "elm/genlist/tree/default_style/default";
19498        data.item: "stacking" "above";
19499        data.item: "selectraise" "on";
19500        data.item: "labels" "elm.text";
19501        data.item: "icons" "elm.swallow.icon elm.swallow.end";
19502        data.item: "treesize" "20";
19503        images {
19504            image: "bt_sm_base1.png" COMP;
19505            image: "bt_sm_shine.png" COMP;
19506            image: "bt_sm_hilight.png" COMP;
19507            image: "ilist_1.png" COMP;
19508            image: "ilist_item_shadow.png" COMP;
19509            image: "icon_arrow_right.png" COMP;
19510            image: "icon_arrow_down.png" COMP;
19511        }
19512        parts {
19513            part {
19514                name:           "event";
19515                type:           RECT;
19516                repeat_events: 1;
19517                description {
19518                    state: "default" 0.0;
19519                    color: 0 0 0 0;
19520                }
19521            }
19522            part {
19523                name: "base_sh";
19524                mouse_events: 0;
19525                description {
19526                    state: "default" 0.0;
19527                    align: 0.0 0.0;
19528                    min: 0 10;
19529                    fixed: 1 1;
19530                    rel1 {
19531                        to: "base";
19532                        relative: 0.0 1.0;
19533                        offset: 0 0;
19534                    }
19535                    rel2 {
19536                        to: "base";
19537                        relative: 1.0 1.0;
19538                        offset: -1 0;
19539                    }
19540                    image {
19541                        normal: "ilist_item_shadow.png";
19542                    }
19543                    fill.smooth: 0;
19544                }
19545            }
19546            part {
19547                name: "base";
19548                mouse_events: 0;
19549                description {
19550                    state: "default" 0.0;
19551                    min: 16 28;
19552                    image {
19553                        normal: "ilist_1.png";
19554                        border: 2 2 2 2;
19555                    }
19556                    fill.smooth: 0;
19557                }
19558            }
19559            part { name: "bg";
19560                clip_to: "disclip";
19561                mouse_events: 0;
19562                description { state: "default" 0.0;
19563                    visible: 0;
19564                    color: 255 255 255 0;
19565                    rel1 {
19566                        relative: 0.0 0.0;
19567                        offset: -5 -5;
19568                    }
19569                    rel2 {
19570                        relative: 1.0 1.0;
19571                        offset: 4 4;
19572                    }
19573                    image {
19574                        normal: "bt_sm_base1.png";
19575                        border: 6 6 6 6;
19576                    }
19577                    image.middle: SOLID;
19578                }
19579                description { state: "selected" 0.0;
19580                    inherit: "default" 0.0;
19581                    visible: 1;
19582                    color: 255 255 255 255;
19583                    rel1 {
19584                        relative: 0.0 0.0;
19585                        offset: -2 -2;
19586                    }
19587                    rel2 {
19588                        relative: 1.0 1.0;
19589                        offset: 1 1;
19590                    }
19591                }
19592            }
19593            part { name: "elm.swallow.pad";
19594                type: SWALLOW;
19595                description { state: "default" 0.0;
19596                    fixed: 1 0;
19597                    align: 0.0 0.5;
19598                    rel1 {
19599                        relative: 0.0  0.0;
19600                        offset:   4    4;
19601                    }
19602                    rel2 {
19603                        relative: 0.0  1.0;
19604                        offset:   4   -5;
19605                    }
19606                }
19607            }
19608            part { name: "arrow";
19609                clip_to: "disclip";
19610                ignore_flags: ON_HOLD;
19611                description { state: "default" 0.0;
19612                    fixed: 1 0;
19613                    align: 0.0 0.5;
19614                    aspect: 1.0 1.0;
19615                    rel1 {
19616                        to_x: "elm.swallow.pad";
19617                        relative: 1.0  0.0;
19618                        offset:   -1    4;
19619                    }
19620                    rel2 {
19621                        to_x: "elm.swallow.pad";
19622                        relative: 1.0  1.0;
19623                        offset:   -1   -5;
19624                    }
19625                    image.normal: "icon_arrow_right.png";
19626                }
19627                description { state: "active" 0.0;
19628                    inherit: "default" 0.0;
19629                    image.normal: "icon_arrow_down.png";
19630                }
19631            }
19632            part { name: "elm.swallow.icon";
19633                clip_to: "disclip";
19634                type: SWALLOW;
19635                description { state: "default" 0.0;
19636                    fixed: 1 0;
19637                    align: 0.0 0.5;
19638                    rel1 {
19639                        to_x: "arrow";
19640                        relative: 1.0  0.0;
19641                        offset:   4    4;
19642                    }
19643                    rel2 {
19644                        to_x: "arrow";
19645                        relative: 1.0  1.0;
19646                        offset:   4   -5;
19647                    }
19648                }
19649            }
19650            part { name: "elm.swallow.end";
19651                clip_to: "disclip";
19652                type: SWALLOW;
19653                description { state: "default" 0.0;
19654                    fixed: 1 0;
19655                    align: 1.0 0.5;
19656                    aspect: 1.0 1.0;
19657                    aspect_preference: VERTICAL;
19658                    rel1 {
19659                        relative: 1.0  0.0;
19660                        offset:   -5    4;
19661                    }
19662                    rel2 {
19663                        relative: 1.0  1.0;
19664                        offset:   -5   -5;
19665                    }
19666                }
19667            }
19668            part { name: "elm.text";
19669                clip_to: "disclip";
19670                type:           TEXTBLOCK;
19671                effect:         SOFT_SHADOW;
19672                mouse_events:   0;
19673                scale: 1;
19674                description {
19675                    state: "default" 0.0;
19676                    align: 0.0 0.5;
19677                    fixed: 0 1;
19678                    rel1 {
19679                        to_x:     "elm.swallow.icon";
19680                        to_y: "base";
19681                        relative: 1.0  0.5;
19682                        offset:   0 4;
19683                    }
19684                    rel2 {
19685                        to_x:     "elm.swallow.end";
19686                        to_y: "base";
19687                        relative: 0.0  0.5;
19688                        offset:   -1 -5;
19689                    }
19690                    text {
19691                        style: "genlist_style";
19692                        min: 1 1;
19693                    }
19694                }
19695                description { state: "selected" 0.0;
19696                    inherit: "default" 0.0;
19697                    text {
19698                        style: "genlist_selected_style";
19699                    }
19700                }
19701            }
19702            part { name: "fg1";
19703                clip_to: "disclip";
19704                mouse_events: 0;
19705                description { state: "default" 0.0;
19706                    visible: 0;
19707                    color: 255 255 255 0;
19708                    rel1.to: "bg";
19709                    rel2.relative: 1.0 0.5;
19710                    rel2.to: "bg";
19711                    image {
19712                        normal: "bt_sm_hilight.png";
19713                        border: 6 6 6 0;
19714                    }
19715                }
19716                description { state: "selected" 0.0;
19717                    inherit: "default" 0.0;
19718                    visible: 1;
19719                    color: 255 255 255 255;
19720                }
19721            }
19722            part { name: "fg2";
19723                clip_to: "disclip";
19724                mouse_events: 0;
19725                description { state: "default" 0.0;
19726                    visible: 0;
19727                    color: 255 255 255 0;
19728                    rel1.to: "bg";
19729                    rel2.to: "bg";
19730                    image {
19731                        normal: "bt_sm_shine.png";
19732                        border: 6 6 6 0;
19733                    }
19734                }
19735                description { state: "selected" 0.0;
19736                    inherit: "default" 0.0;
19737                    visible: 1;
19738                    color: 255 255 255 255;
19739                }
19740            }
19741            part { name: "disclip";
19742                type: RECT;
19743                description { state: "default" 0.0;
19744                    rel1.to: "bg";
19745                    rel2.to: "bg";
19746                }
19747                description { state: "disabled" 0.0;
19748                    inherit: "default" 0.0;
19749                    color: 255 255 255 64;
19750                }
19751            }
19752        }
19753        programs {
19754            // signal: elm,state,%s,active
19755            //   a "check" item named %s went active
19756            // signal: elm,state,%s,passive
19757            //   a "check" item named %s went passive
19758            // default is passive
19759            program {
19760                name:    "go_active";
19761                signal:  "elm,state,selected";
19762                source:  "elm";
19763                action:  STATE_SET "selected" 0.0;
19764                target:  "bg";
19765                target:  "fg1";
19766                target:  "fg2";
19767                target:  "elm.text";
19768            }
19769            program {
19770                name:    "go_passive";
19771                signal:  "elm,state,unselected";
19772                source:  "elm";
19773                action:  STATE_SET "default" 0.0;
19774                target:  "bg";
19775                target:  "fg1";
19776                target:  "fg2";
19777                target:  "elm.text";
19778                transition: LINEAR 0.1;
19779            }
19780            program {
19781                name:    "go_disabled";
19782                signal:  "elm,state,disabled";
19783                source:  "elm";
19784                action:  STATE_SET "disabled" 0.0;
19785                target:  "disclip";
19786            }
19787            program {
19788                name:    "go_enabled";
19789                signal:  "elm,state,enabled";
19790                source:  "elm";
19791                action:  STATE_SET "default" 0.0;
19792                target:  "disclip";
19793            }
19794            program {
19795                name:    "expand";
19796                signal:  "mouse,up,1";
19797                source:  "arrow";
19798                action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
19799            }
19800            program {
19801                name:    "go_expanded";
19802                signal:  "elm,state,expanded";
19803                source:  "elm";
19804                action:  STATE_SET "active" 0.0;
19805                target:  "arrow";
19806            }
19807            program {
19808                name:    "go_contracted";
19809                signal:  "elm,state,contracted";
19810                source:  "elm";
19811                action:  STATE_SET "default" 0.0;
19812                target:  "arrow";
19813            }
19814        }
19815    }
19816    group { name: "elm/genlist/tree_odd/default_style/default";
19817        data.item: "stacking" "below";
19818        data.item: "selectraise" "on";
19819        data.item: "labels" "elm.text";
19820        data.item: "icons" "elm.swallow.icon elm.swallow.end";
19821        data.item: "treesize" "20";
19822        images {
19823            image: "bt_sm_base1.png" COMP;
19824            image: "bt_sm_shine.png" COMP;
19825            image: "bt_sm_hilight.png" COMP;
19826            image: "ilist_2.png" COMP;
19827            image: "icon_arrow_right.png" COMP;
19828            image: "icon_arrow_down.png" COMP;
19829        }
19830        parts {
19831            part {
19832                name:           "event";
19833                type:           RECT;
19834                repeat_events: 1;
19835                description {
19836                    state: "default" 0.0;
19837                    color: 0 0 0 0;
19838                }
19839            }
19840            part {
19841                name: "base";
19842                mouse_events: 0;
19843                description {
19844                    state: "default" 0.0;
19845                    min: 16 28;
19846                    image {
19847                        normal: "ilist_2.png";
19848                        border: 2 2 2 2;
19849                    }
19850                    fill.smooth: 0;
19851                }
19852            }
19853            part { name: "bg";
19854                clip_to: "disclip";
19855                mouse_events: 0;
19856                description { state: "default" 0.0;
19857                    visible: 0;
19858                    color: 255 255 255 0;
19859                    rel1 {
19860                        relative: 0.0 0.0;
19861                        offset: -5 -5;
19862                    }
19863                    rel2 {
19864                        relative: 1.0 1.0;
19865                        offset: 4 4;
19866                    }
19867                    image {
19868                        normal: "bt_sm_base1.png";
19869                        border: 6 6 6 6;
19870                    }
19871                    image.middle: SOLID;
19872                }
19873                description { state: "selected" 0.0;
19874                    inherit: "default" 0.0;
19875                    visible: 1;
19876                    color: 255 255 255 255;
19877                    rel1 {
19878                        relative: 0.0 0.0;
19879                        offset: -2 -2;
19880                    }
19881                    rel2 {
19882                        relative: 1.0 1.0;
19883                        offset: 1 1;
19884                    }
19885                }
19886            }
19887            part { name: "elm.swallow.pad";
19888                type: SWALLOW;
19889                description { state: "default" 0.0;
19890                    fixed: 1 0;
19891                    align: 0.0 0.5;
19892                    rel1 {
19893                        relative: 0.0  0.0;
19894                        offset:   4    4;
19895                    }
19896                    rel2 {
19897                        relative: 0.0  1.0;
19898                        offset:   4   -5;
19899                    }
19900                }
19901            }
19902            part { name: "arrow";
19903                clip_to: "disclip";
19904                ignore_flags: ON_HOLD;
19905                description { state: "default" 0.0;
19906                    fixed: 1 0;
19907                    align: 0.0 0.5;
19908                    aspect: 1.0 1.0;
19909                    rel1 {
19910                        to_x: "elm.swallow.pad";
19911                        relative: 1.0  0.0;
19912                        offset:   -1    4;
19913                    }
19914                    rel2 {
19915                        to_x: "elm.swallow.pad";
19916                        relative: 1.0  1.0;
19917                        offset:   -1   -5;
19918                    }
19919                    image.normal: "icon_arrow_right.png";
19920                }
19921                description { state: "active" 0.0;
19922                    inherit: "default" 0.0;
19923                    image.normal: "icon_arrow_down.png";
19924                }
19925            }
19926            part { name: "elm.swallow.icon";
19927                clip_to: "disclip";
19928                type: SWALLOW;
19929                description { state: "default" 0.0;
19930                    fixed: 1 0;
19931                    align: 0.0 0.5;
19932                    rel1 {
19933                        to_x: "arrow";
19934                        relative: 1.0  0.0;
19935                        offset:   4    4;
19936                    }
19937                    rel2 {
19938                        to_x: "arrow";
19939                        relative: 1.0  1.0;
19940                        offset:   4   -5;
19941                    }
19942                }
19943            }
19944            part { name: "elm.swallow.end";
19945                clip_to: "disclip";
19946                type: SWALLOW;
19947                description { state: "default" 0.0;
19948                    fixed: 1 0;
19949                    align: 1.0 0.5;
19950                    aspect: 1.0 1.0;
19951                    aspect_preference: VERTICAL;
19952                    rel1 {
19953                        relative: 1.0  0.0;
19954                        offset:   -5    4;
19955                    }
19956                    rel2 {
19957                        relative: 1.0  1.0;
19958                        offset:   -5   -5;
19959                    }
19960                }
19961            }
19962            part { name: "elm.text";
19963                clip_to: "disclip";
19964                type:           TEXTBLOCK;
19965                effect:         SOFT_SHADOW;
19966                mouse_events:   0;
19967                scale: 1;
19968                description {
19969                    state: "default" 0.0;
19970                    align: 0.0 0.5;
19971                    fixed: 0 1;
19972                    rel1 {
19973                        to_x:     "elm.swallow.icon";
19974                        to_y: "base";
19975                        relative: 1.0  0.5;
19976                        offset:   0 4;
19977                    }
19978                    rel2 {
19979                        to_x:     "elm.swallow.end";
19980                        to_y: "base";
19981                        relative: 0.0  0.5;
19982                        offset:   -1 -5;
19983                    }
19984                    text {
19985                        style: "genlist_style";
19986                        min: 1 1;
19987                    }
19988                }
19989                description { state: "selected" 0.0;
19990                    inherit: "default" 0.0;
19991                    text {
19992                        style: "genlist_selected_style";
19993                    }
19994                }
19995            }
19996            part { name: "fg1";
19997                clip_to: "disclip";
19998                mouse_events: 0;
19999                description { state: "default" 0.0;
20000                    visible: 0;
20001                    color: 255 255 255 0;
20002                    rel1.to: "bg";
20003                    rel2.relative: 1.0 0.5;
20004                    rel2.to: "bg";
20005                    image {
20006                        normal: "bt_sm_hilight.png";
20007                        border: 6 6 6 0;
20008                    }
20009                }
20010                description { state: "selected" 0.0;
20011                    inherit: "default" 0.0;
20012                    visible: 1;
20013                    color: 255 255 255 255;
20014                }
20015            }
20016            part { name: "fg2";
20017                clip_to: "disclip";
20018                mouse_events: 0;
20019                description { state: "default" 0.0;
20020                    visible: 0;
20021                    color: 255 255 255 0;
20022                    rel1.to: "bg";
20023                    rel2.to: "bg";
20024                    image {
20025                        normal: "bt_sm_shine.png";
20026                        border: 6 6 6 0;
20027                    }
20028                }
20029                description { state: "selected" 0.0;
20030                    inherit: "default" 0.0;
20031                    visible: 1;
20032                    color: 255 255 255 255;
20033                }
20034            }
20035            part { name: "disclip";
20036                type: RECT;
20037                description { state: "default" 0.0;
20038                    rel1.to: "bg";
20039                    rel2.to: "bg";
20040                }
20041                description { state: "disabled" 0.0;
20042                    inherit: "default" 0.0;
20043                    color: 255 255 255 64;
20044                }
20045            }
20046        }
20047        programs {
20048            // signal: elm,state,%s,active
20049            //   a "check" item named %s went active
20050            // signal: elm,state,%s,passive
20051            //   a "check" item named %s went passive
20052            // default is passive
20053            program {
20054                name:    "go_active";
20055                signal:  "elm,state,selected";
20056                source:  "elm";
20057                action:  STATE_SET "selected" 0.0;
20058                target:  "bg";
20059                target:  "fg1";
20060                target:  "fg2";
20061                target:  "elm.text";
20062            }
20063            program {
20064                name:    "go_passive";
20065                signal:  "elm,state,unselected";
20066                source:  "elm";
20067                action:  STATE_SET "default" 0.0;
20068                target:  "bg";
20069                target:  "fg1";
20070                target:  "fg2";
20071                target:  "elm.text";
20072                transition: LINEAR 0.1;
20073            }
20074            program {
20075                name:    "go_disabled";
20076                signal:  "elm,state,disabled";
20077                source:  "elm";
20078                action:  STATE_SET "disabled" 0.0;
20079                target:  "disclip";
20080            }
20081            program {
20082                name:    "go_enabled";
20083                signal:  "elm,state,enabled";
20084                source:  "elm";
20085                action:  STATE_SET "default" 0.0;
20086                target:  "disclip";
20087            }
20088            program {
20089                name:    "expand";
20090                signal:  "mouse,up,1";
20091                source:  "arrow";
20092                action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
20093            }
20094            program {
20095                name:    "go_expanded";
20096                signal:  "elm,state,expanded";
20097                source:  "elm";
20098                action:  STATE_SET "active" 0.0;
20099                target:  "arrow";
20100            }
20101            program {
20102                name:    "go_contracted";
20103                signal:  "elm,state,contracted";
20104                source:  "elm";
20105                action:  STATE_SET "default" 0.0;
20106                target:  "arrow";
20107            }
20108        }
20109    }
20110
20111
20112    group { name: "elm/genlist/item/double_label/default";
20113       data.item: "stacking" "above";
20114       data.item: "selectraise" "on";
20115       data.item: "labels" "elm.text elm.text.sub";
20116       data.item: "icons" "elm.swallow.icon elm.swallow.end";
20117       data.item: "treesize" "20";
20118 //      data.item: "states" "";
20119       images {
20120          image: "bt_sm_base1.png" COMP;
20121          image: "bt_sm_shine.png" COMP;
20122          image: "bt_sm_hilight.png" COMP;
20123          image: "ilist_1.png" COMP;
20124          image: "ilist_item_shadow.png" COMP;
20125       }
20126       parts {
20127          part {
20128             name:           "event";
20129             type:           RECT;
20130             repeat_events: 1;
20131             description {
20132                state: "default" 0.0;
20133                color: 0 0 0 0;
20134             }
20135          }
20136          part {
20137             name: "base_sh";
20138             mouse_events: 0;
20139             description {
20140                state: "default" 0.0;
20141                align: 0.0 0.0;
20142                min: 0 10;
20143                fixed: 1 1;
20144                rel1 {
20145                   to: "base";
20146                   relative: 0.0 1.0;
20147                   offset: 0 0;
20148                }
20149                rel2 {
20150                   to: "base";
20151                   relative: 1.0 1.0;
20152                   offset: -1 0;
20153                }
20154                image {
20155                   normal: "ilist_item_shadow.png";
20156                }
20157                fill.smooth: 0;
20158             }
20159          }
20160          part {
20161             name: "base";
20162             mouse_events: 0;
20163             description {
20164                state: "default" 0.0;
20165                image {
20166                   normal: "ilist_1.png";
20167                   border: 2 2 2 2;
20168                }
20169                fill.smooth: 0;
20170             }
20171          }
20172          part { name: "bg";
20173             clip_to: "disclip";
20174             mouse_events: 0;
20175             description { state: "default" 0.0;
20176                visible: 0;
20177                color: 255 255 255 0;
20178                rel1 {
20179                   relative: 0.0 0.0;
20180                   offset: -5 -5;
20181                }
20182                rel2 {
20183                   relative: 1.0 1.0;
20184                   offset: 4 4;
20185                }
20186                image {
20187                   normal: "bt_sm_base1.png";
20188                   border: 6 6 6 6;
20189                }
20190                image.middle: SOLID;
20191             }
20192             description { state: "selected" 0.0;
20193                inherit: "default" 0.0;
20194                visible: 1;
20195                color: 255 255 255 255;
20196                rel1 {
20197                   relative: 0.0 0.0;
20198                   offset: -2 -2;
20199                }
20200                rel2 {
20201                   relative: 1.0 1.0;
20202                   offset: 1 1;
20203                }
20204             }
20205          }
20206          part { name: "elm.swallow.pad";
20207             type: SWALLOW;
20208             description { state: "default" 0.0;
20209                fixed: 1 0;
20210                align: 0.0 0.5;
20211                rel1 {
20212                   relative: 0.0  0.0;
20213                   offset:   4    4;
20214                }
20215                rel2 {
20216                   relative: 0.0  1.0;
20217                   offset:   4   -5;
20218                }
20219             }
20220          }
20221          part { name: "elm.swallow.icon";
20222             clip_to: "disclip";
20223             type: SWALLOW;
20224             description { state: "default" 0.0;
20225                fixed: 1 0;
20226                align: 0.0 0.5;
20227                rel1 {
20228                   to_x: "elm.swallow.pad";
20229                   relative: 1.0  0.0;
20230                   offset:   -1    4;
20231                }
20232                rel2 {
20233                   to_x: "elm.swallow.pad";
20234                   relative: 1.0  1.0;
20235                   offset:   -1   -5;
20236                }
20237             }
20238          }
20239          part { name: "elm.swallow.end";
20240             clip_to: "disclip";
20241             type: SWALLOW;
20242             description { state: "default" 0.0;
20243                fixed: 1 0;
20244                align: 1.0 0.5;
20245                aspect: 1.0 1.0;
20246                aspect_preference: VERTICAL;
20247                rel1 {
20248                   relative: 1.0  0.0;
20249                   offset:   -5    4;
20250                }
20251                rel2 {
20252                   relative: 1.0  1.0;
20253                   offset:   -5   -5;
20254                }
20255             }
20256          }
20257          part { name: "elm.text";
20258             clip_to: "disclip";
20259             type:           TEXT;
20260             effect:         SOFT_SHADOW;
20261             mouse_events:   0;
20262             scale: 1;
20263             description {
20264                state: "default" 0.0;
20265 //               min: 16 16;
20266                rel1 {
20267                   to_x:     "elm.swallow.icon";
20268                   relative: 1.0  0.0;
20269                   offset:   0 4;
20270                }
20271                rel2 {
20272                   to_x:     "elm.swallow.end";
20273                   relative: 0.0  0.5;
20274                   offset:   -1 -5;
20275                }
20276                color: 0 0 0 255;
20277                color3: 0 0 0 0;
20278                text {
20279                   font: "Sans";
20280                   size: 10;
20281                   min: 1 1;
20282 //                  min: 0 1;
20283                   align: 0.0 0.5;
20284                   text_class: "list_item";
20285                }
20286             }
20287             description { state: "selected" 0.0;
20288                inherit: "default" 0.0;
20289                color: 224 224 224 255;
20290                color3: 0 0 0 64;
20291             }
20292          }
20293          part { name: "elm.text.sub";
20294             clip_to: "disclip";
20295             type:           TEXT;
20296             mouse_events:   0;
20297             scale: 1;
20298             description {
20299                state: "default" 0.0;
20300 //               min: 16 16;
20301                rel1 {
20302                   to_x:     "elm.swallow.icon";
20303                   relative: 1.0  0.5;
20304                   offset:   0 4;
20305                }
20306                rel2 {
20307                   to_x:     "elm.swallow.end";
20308                   relative: 0.0  1.0;
20309                   offset:   -1 -5;
20310                }
20311                color: 0 0 0 128;
20312                color3: 0 0 0 0;
20313                text {
20314                   font: "Sans";
20315                   size: 8;
20316                   min: 1 1;
20317 //                  min: 0 1;
20318                   align: 0.0 0.5;
20319                   text_class: "list_item";
20320                }
20321             }
20322             description { state: "selected" 0.0;
20323                inherit: "default" 0.0;
20324                color: 128 128 128 255;
20325                color3: 0 0 0 32;
20326             }
20327          }
20328          part { name: "fg1";
20329             clip_to: "disclip";
20330             mouse_events: 0;
20331             description { state: "default" 0.0;
20332                visible: 0;
20333                color: 255 255 255 0;
20334                rel1.to: "bg";
20335                rel2.relative: 1.0 0.5;
20336                rel2.to: "bg";
20337                image {
20338                   normal: "bt_sm_hilight.png";
20339                   border: 6 6 6 0;
20340                }
20341             }
20342             description { state: "selected" 0.0;
20343                inherit: "default" 0.0;
20344                visible: 1;
20345                color: 255 255 255 255;
20346             }
20347          }
20348          part { name: "fg2";
20349             clip_to: "disclip";
20350             mouse_events: 0;
20351             description { state: "default" 0.0;
20352                visible: 0;
20353                color: 255 255 255 0;
20354                rel1.to: "bg";
20355                rel2.to: "bg";
20356                image {
20357                   normal: "bt_sm_shine.png";
20358                   border: 6 6 6 0;
20359                }
20360             }
20361             description { state: "selected" 0.0;
20362                inherit: "default" 0.0;
20363                visible: 1;
20364                color: 255 255 255 255;
20365             }
20366          }
20367          part { name: "disclip";
20368             type: RECT;
20369             description { state: "default" 0.0;
20370                rel1.to: "bg";
20371                rel2.to: "bg";
20372             }
20373             description { state: "disabled" 0.0;
20374                inherit: "default" 0.0;
20375                color: 255 255 255 64;
20376             }
20377          }
20378       }
20379       programs {
20380          // signal: elm,state,%s,active
20381          //   a "check" item named %s went active
20382          // signal: elm,state,%s,passive
20383          //   a "check" item named %s went passive
20384          // default is passive
20385          program {
20386             name:    "go_active";
20387             signal:  "elm,state,selected";
20388             source:  "elm";
20389             action:  STATE_SET "selected" 0.0;
20390             target:  "bg";
20391             target:  "fg1";
20392             target:  "fg2";
20393             target:  "elm.text";
20394             target:  "elm.text.sub";
20395          }
20396          program {
20397             name:    "go_passive";
20398             signal:  "elm,state,unselected";
20399             source:  "elm";
20400             action:  STATE_SET "default" 0.0;
20401             target:  "bg";
20402             target:  "fg1";
20403             target:  "fg2";
20404             target:  "elm.text";
20405             target:  "elm.text.sub";
20406             transition: LINEAR 0.1;
20407          }
20408          program {
20409             name:    "go_disabled";
20410             signal:  "elm,state,disabled";
20411             source:  "elm";
20412             action:  STATE_SET "disabled" 0.0;
20413             target:  "disclip";
20414          }
20415          program {
20416             name:    "go_enabled";
20417             signal:  "elm,state,enabled";
20418             source:  "elm";
20419             action:  STATE_SET "default" 0.0;
20420             target:  "disclip";
20421          }
20422       }
20423    }
20424    group { name: "elm/genlist/item_compress/double_label/default";
20425       data.item: "stacking" "above";
20426       data.item: "selectraise" "on";
20427       data.item: "labels" "elm.text elm.text.sub";
20428       data.item: "icons" "elm.swallow.icon elm.swallow.end";
20429       data.item: "treesize" "20";
20430 //      data.item: "states" "";
20431       images {
20432          image: "bt_sm_base1.png" COMP;
20433          image: "bt_sm_shine.png" COMP;
20434          image: "bt_sm_hilight.png" COMP;
20435          image: "ilist_1.png" COMP;
20436          image: "ilist_item_shadow.png" COMP;
20437       }
20438       parts {
20439          part {
20440             name:           "event";
20441             type:           RECT;
20442             repeat_events: 1;
20443             description {
20444                state: "default" 0.0;
20445                color: 0 0 0 0;
20446             }
20447          }
20448          part {
20449             name: "base_sh";
20450             mouse_events: 0;
20451             description {
20452                state: "default" 0.0;
20453                align: 0.0 0.0;
20454                min: 0 10;
20455                fixed: 1 1;
20456                rel1 {
20457                   to: "base";
20458                   relative: 0.0 1.0;
20459                   offset: 0 0;
20460                }
20461                rel2 {
20462                   to: "base";
20463                   relative: 1.0 1.0;
20464                   offset: -1 0;
20465                }
20466                image {
20467                   normal: "ilist_item_shadow.png";
20468                }
20469                fill.smooth: 0;
20470             }
20471          }
20472          part {
20473             name: "base";
20474             mouse_events: 0;
20475             description {
20476                state: "default" 0.0;
20477                image {
20478                   normal: "ilist_1.png";
20479                   border: 2 2 2 2;
20480                }
20481                fill.smooth: 0;
20482             }
20483          }
20484          part { name: "bg";
20485             clip_to: "disclip";
20486             mouse_events: 0;
20487             description { state: "default" 0.0;
20488                visible: 0;
20489                color: 255 255 255 0;
20490                rel1 {
20491                   relative: 0.0 0.0;
20492                   offset: -5 -5;
20493                }
20494                rel2 {
20495                   relative: 1.0 1.0;
20496                   offset: 4 4;
20497                }
20498                image {
20499                   normal: "bt_sm_base1.png";
20500                   border: 6 6 6 6;
20501                }
20502                image.middle: SOLID;
20503             }
20504             description { state: "selected" 0.0;
20505                inherit: "default" 0.0;
20506                visible: 1;
20507                color: 255 255 255 255;
20508                rel1 {
20509                   relative: 0.0 0.0;
20510                   offset: -2 -2;
20511                }
20512                rel2 {
20513                   relative: 1.0 1.0;
20514                   offset: 1 1;
20515                }
20516             }
20517          }
20518          part { name: "elm.swallow.pad";
20519             type: SWALLOW;
20520             description { state: "default" 0.0;
20521                fixed: 1 0;
20522                align: 0.0 0.5;
20523                rel1 {
20524                   relative: 0.0  0.0;
20525                   offset:   4    4;
20526                }
20527                rel2 {
20528                   relative: 0.0  1.0;
20529                   offset:   4   -5;
20530                }
20531             }
20532          }
20533          part { name: "elm.swallow.icon";
20534             clip_to: "disclip";
20535             type: SWALLOW;
20536             description { state: "default" 0.0;
20537                fixed: 1 0;
20538                align: 0.0 0.5;
20539                rel1 {
20540                   to_x: "elm.swallow.pad";
20541                   relative: 1.0  0.0;
20542                   offset:   -1    4;
20543                }
20544                rel2 {
20545                   to_x: "elm.swallow.pad";
20546                   relative: 1.0  1.0;
20547                   offset:   -1   -5;
20548                }
20549             }
20550          }
20551          part { name: "elm.swallow.end";
20552             clip_to: "disclip";
20553             type: SWALLOW;
20554             description { state: "default" 0.0;
20555                fixed: 1 0;
20556                align: 1.0 0.5;
20557                aspect: 1.0 1.0;
20558                aspect_preference: VERTICAL;
20559                rel1 {
20560                   relative: 1.0  0.0;
20561                   offset:   -5    4;
20562                }
20563                rel2 {
20564                   relative: 1.0  1.0;
20565                   offset:   -5   -5;
20566                }
20567             }
20568          }
20569          part { name: "elm.text";
20570             clip_to: "disclip";
20571             type:           TEXT;
20572             effect:         SOFT_SHADOW;
20573             mouse_events:   0;
20574             scale: 1;
20575             description {
20576                state: "default" 0.0;
20577 //               min: 16 16;
20578                rel1 {
20579                   to_x:     "elm.swallow.icon";
20580                   relative: 1.0  0.0;
20581                   offset:   0 4;
20582                }
20583                rel2 {
20584                   to_x:     "elm.swallow.end";
20585                   relative: 0.0  0.5;
20586                   offset:   -1 -5;
20587                }
20588                color: 0 0 0 255;
20589                color3: 0 0 0 0;
20590                text {
20591                   font: "Sans";
20592                   size: 10;
20593 //                  min: 1 1;
20594                   min: 0 1;
20595                   align: 0.0 0.5;
20596                   text_class: "list_item";
20597                }
20598             }
20599             description { state: "selected" 0.0;
20600                inherit: "default" 0.0;
20601                color: 224 224 224 255;
20602                color3: 0 0 0 64;
20603             }
20604          }
20605          part { name: "elm.text.sub";
20606             clip_to: "disclip";
20607             type:           TEXT;
20608             mouse_events:   0;
20609             scale: 1;
20610             description {
20611                state: "default" 0.0;
20612 //               min: 16 16;
20613                rel1 {
20614                   to_x:     "elm.swallow.icon";
20615                   relative: 1.0  0.5;
20616                   offset:   0 4;
20617                }
20618                rel2 {
20619                   to_x:     "elm.swallow.end";
20620                   relative: 0.0  1.0;
20621                   offset:   -1 -5;
20622                }
20623                color: 0 0 0 128;
20624                color3: 0 0 0 0;
20625                text {
20626                   font: "Sans";
20627                   size: 8;
20628 //                  min: 1 1;
20629                   min: 0 1;
20630                   align: 0.0 0.5;
20631                   text_class: "list_item";
20632                }
20633             }
20634             description { state: "selected" 0.0;
20635                inherit: "default" 0.0;
20636                color: 128 128 128 255;
20637                color3: 0 0 0 32;
20638             }
20639          }
20640          part { name: "fg1";
20641             clip_to: "disclip";
20642             mouse_events: 0;
20643             description { state: "default" 0.0;
20644                visible: 0;
20645                color: 255 255 255 0;
20646                rel1.to: "bg";
20647                rel2.relative: 1.0 0.5;
20648                rel2.to: "bg";
20649                image {
20650                   normal: "bt_sm_hilight.png";
20651                   border: 6 6 6 0;
20652                }
20653             }
20654             description { state: "selected" 0.0;
20655                inherit: "default" 0.0;
20656                visible: 1;
20657                color: 255 255 255 255;
20658             }
20659          }
20660          part { name: "fg2";
20661             clip_to: "disclip";
20662             mouse_events: 0;
20663             description { state: "default" 0.0;
20664                visible: 0;
20665                color: 255 255 255 0;
20666                rel1.to: "bg";
20667                rel2.to: "bg";
20668                image {
20669                   normal: "bt_sm_shine.png";
20670                   border: 6 6 6 0;
20671                }
20672             }
20673             description { state: "selected" 0.0;
20674                inherit: "default" 0.0;
20675                visible: 1;
20676                color: 255 255 255 255;
20677             }
20678          }
20679          part { name: "disclip";
20680             type: RECT;
20681             description { state: "default" 0.0;
20682                rel1.to: "bg";
20683                rel2.to: "bg";
20684             }
20685             description { state: "disabled" 0.0;
20686                inherit: "default" 0.0;
20687                color: 255 255 255 64;
20688             }
20689          }
20690       }
20691       programs {
20692          // signal: elm,state,%s,active
20693          //   a "check" item named %s went active
20694          // signal: elm,state,%s,passive
20695          //   a "check" item named %s went passive
20696          // default is passive
20697          program {
20698             name:    "go_active";
20699             signal:  "elm,state,selected";
20700             source:  "elm";
20701             action:  STATE_SET "selected" 0.0;
20702             target:  "bg";
20703             target:  "fg1";
20704             target:  "fg2";
20705             target:  "elm.text";
20706             target:  "elm.text.sub";
20707          }
20708          program {
20709             name:    "go_passive";
20710             signal:  "elm,state,unselected";
20711             source:  "elm";
20712             action:  STATE_SET "default" 0.0;
20713             target:  "bg";
20714             target:  "fg1";
20715             target:  "fg2";
20716             target:  "elm.text";
20717             target:  "elm.text.sub";
20718             transition: LINEAR 0.1;
20719          }
20720          program {
20721             name:    "go_disabled";
20722             signal:  "elm,state,disabled";
20723             source:  "elm";
20724             action:  STATE_SET "disabled" 0.0;
20725             target:  "disclip";
20726          }
20727          program {
20728             name:    "go_enabled";
20729             signal:  "elm,state,enabled";
20730             source:  "elm";
20731             action:  STATE_SET "default" 0.0;
20732             target:  "disclip";
20733          }
20734       }
20735    }
20736    group { name: "elm/genlist/item_odd/double_label/default";
20737       data.item: "stacking" "below";
20738       data.item: "selectraise" "on";
20739       data.item: "labels" "elm.text elm.text.sub";
20740       data.item: "icons" "elm.swallow.icon elm.swallow.end";
20741       data.item: "treesize" "20";
20742 //      data.item: "states" "";
20743       images {
20744          image: "bt_sm_base1.png" COMP;
20745          image: "bt_sm_shine.png" COMP;
20746          image: "bt_sm_hilight.png" COMP;
20747          image: "ilist_2.png" COMP;
20748       }
20749       parts {
20750          part { name: "event";
20751             type: RECT;
20752             repeat_events: 1;
20753             description {
20754                state: "default" 0.0;
20755                color: 0 0 0 0;
20756             }
20757          }
20758          part {
20759             name: "base";
20760             mouse_events: 0;
20761             description {
20762                state: "default" 0.0;
20763                image {
20764                   normal: "ilist_2.png";
20765                   border: 2 2 2 2;
20766                }
20767                fill.smooth: 0;
20768             }
20769          }
20770          part { name: "bg";
20771             clip_to: "disclip";
20772             mouse_events: 0;
20773             description { state: "default" 0.0;
20774                visible: 0;
20775                color: 255 255 255 0;
20776                rel1 {
20777                   relative: 0.0 0.0;
20778                   offset: -5 -5;
20779                }
20780                rel2 {
20781                   relative: 1.0 1.0;
20782                   offset: 4 4;
20783                }
20784                image {
20785                   normal: "bt_sm_base1.png";
20786                   border: 6 6 6 6;
20787                }
20788                image.middle: SOLID;
20789             }
20790             description { state: "selected" 0.0;
20791                inherit: "default" 0.0;
20792                visible: 1;
20793                color: 255 255 255 255;
20794                rel1 {
20795                   relative: 0.0 0.0;
20796                   offset: -2 -2;
20797                }
20798                rel2 {
20799                   relative: 1.0 1.0;
20800                   offset: 1 1;
20801                }
20802             }
20803          }
20804          part { name: "elm.swallow.pad";
20805             type: SWALLOW;
20806             description { state: "default" 0.0;
20807                fixed: 1 0;
20808                align: 0.0 0.5;
20809                rel1 {
20810                   relative: 0.0  0.0;
20811                   offset:   4    4;
20812                }
20813                rel2 {
20814                   relative: 0.0  1.0;
20815                   offset:   4   -5;
20816                }
20817             }
20818          }
20819          part { name: "elm.swallow.icon";
20820             clip_to: "disclip";
20821             type: SWALLOW;
20822             description { state: "default" 0.0;
20823                fixed: 1 0;
20824                align: 0.0 0.5;
20825                rel1 {
20826                   to_x: "elm.swallow.pad";
20827                   relative: 1.0  0.0;
20828                   offset:   -1    4;
20829                }
20830                rel2 {
20831                   to_x: "elm.swallow.pad";
20832                   relative: 1.0  1.0;
20833                   offset:   -1   -5;
20834                }
20835             }
20836          }
20837          part { name: "elm.swallow.end";
20838             clip_to: "disclip";
20839             type:          SWALLOW;
20840             description { state:    "default" 0.0;
20841                fixed: 1 0;
20842                align:    1.0 0.5;
20843                aspect: 1.0 1.0;
20844                aspect_preference: VERTICAL;
20845                rel1 {
20846                   relative: 1.0  0.0;
20847                   offset:   -5    4;
20848                }
20849                rel2 {
20850                   relative: 1.0  1.0;
20851                   offset:   -5   -5;
20852                }
20853             }
20854          }
20855          part { name: "elm.text";
20856             clip_to: "disclip";
20857             type:           TEXT;
20858             effect:         SOFT_SHADOW;
20859             mouse_events:   0;
20860             scale: 1;
20861             description {
20862                state: "default" 0.0;
20863 //               min: 16 16;
20864                rel1 {
20865                   to_x:     "elm.swallow.icon";
20866                   relative: 1.0  0.0;
20867                   offset:   0 4;
20868                }
20869                rel2 {
20870                   to_x:     "elm.swallow.end";
20871                   relative: 0.0  0.5;
20872                   offset:   -1 -5;
20873                }
20874                color: 0 0 0 255;
20875                color3: 0 0 0 0;
20876                text {
20877                   font: "Sans";
20878                   size: 10;
20879                   min: 1 1;
20880 //                  min: 0 1;
20881                   align: 0.0 0.5;
20882                   text_class: "list_item";
20883                }
20884             }
20885             description { state: "selected" 0.0;
20886                inherit: "default" 0.0;
20887                color: 224 224 224 255;
20888                color3: 0 0 0 64;
20889             }
20890          }
20891          part { name: "elm.text.sub";
20892             clip_to: "disclip";
20893             type:           TEXT;
20894             mouse_events:   0;
20895             scale: 1;
20896             description {
20897                state: "default" 0.0;
20898 //               min: 16 16;
20899                rel1 {
20900                   to_x:     "elm.swallow.icon";
20901                   relative: 1.0  0.5;
20902                   offset:   0 4;
20903                }
20904                rel2 {
20905                   to_x:     "elm.swallow.end";
20906                   relative: 0.0  1.0;
20907                   offset:   -1 -5;
20908                }
20909                color: 0 0 0 128;
20910                color3: 0 0 0 0;
20911                text {
20912                   font: "Sans";
20913                   size: 8;
20914                   min: 1 1;
20915 //                  min: 0 1;
20916                   align: 0.0 0.5;
20917                   text_class: "list_item";
20918                }
20919             }
20920             description { state: "selected" 0.0;
20921                inherit: "default" 0.0;
20922                color: 128 128 128 255;
20923                color3: 0 0 0 32;
20924             }
20925          }
20926          part { name: "fg1";
20927             clip_to: "disclip";
20928             mouse_events: 0;
20929             description { state: "default" 0.0;
20930                visible: 0;
20931                color: 255 255 255 0;
20932                rel1.to: "bg";
20933                rel2.relative: 1.0 0.5;
20934                rel2.to: "bg";
20935                image {
20936                   normal: "bt_sm_hilight.png";
20937                   border: 6 6 6 0;
20938                }
20939             }
20940             description { state: "selected" 0.0;
20941                inherit: "default" 0.0;
20942                visible: 1;
20943                color: 255 255 255 255;
20944             }
20945          }
20946          part { name: "fg2";
20947             clip_to: "disclip";
20948             mouse_events: 0;
20949             description { state: "default" 0.0;
20950                visible: 0;
20951                color: 255 255 255 0;
20952                rel1.to: "bg";
20953                rel2.to: "bg";
20954                image {
20955                   normal: "bt_sm_shine.png";
20956                   border: 6 6 6 0;
20957                }
20958             }
20959             description { state: "selected" 0.0;
20960                inherit: "default" 0.0;
20961                visible: 1;
20962                color: 255 255 255 255;
20963             }
20964          }
20965          part { name: "disclip";
20966             type: RECT;
20967             description { state: "default" 0.0;
20968                rel1.to: "bg";
20969                rel2.to: "bg";
20970             }
20971             description { state: "disabled" 0.0;
20972                inherit: "default" 0.0;
20973                color: 255 255 255 64;
20974             }
20975          }
20976       }
20977       programs {
20978          // signal: elm,state,%s,active
20979          //   a "check" item named %s went active
20980          // signal: elm,state,%s,passive
20981          //   a "check" item named %s went passive
20982          // default is passive
20983          program {
20984             name:    "go_active";
20985             signal:  "elm,state,selected";
20986             source:  "elm";
20987             action:  STATE_SET "selected" 0.0;
20988             target:  "bg";
20989             target:  "fg1";
20990             target:  "fg2";
20991             target:  "elm.text";
20992             target:  "elm.text.sub";
20993          }
20994          program {
20995             name:    "go_passive";
20996             signal:  "elm,state,unselected";
20997             source:  "elm";
20998             action:  STATE_SET "default" 0.0;
20999             target:  "bg";
21000             target:  "fg1";
21001             target:  "fg2";
21002             target:  "elm.text";
21003             target:  "elm.text.sub";
21004             transition: LINEAR 0.1;
21005          }
21006          program {
21007             name:    "go_disabled";
21008             signal:  "elm,state,disabled";
21009             source:  "elm";
21010             action:  STATE_SET "disabled" 0.0;
21011             target:  "disclip";
21012          }
21013          program {
21014             name:    "go_enabled";
21015             signal:  "elm,state,enabled";
21016             source:  "elm";
21017             action:  STATE_SET "default" 0.0;
21018             target:  "disclip";
21019          }
21020       }
21021    }
21022    group { name: "elm/genlist/item_compress_odd/double_label/default";
21023       data.item: "stacking" "below";
21024       data.item: "selectraise" "on";
21025       data.item: "labels" "elm.text elm.text.sub";
21026       data.item: "icons" "elm.swallow.icon elm.swallow.end";
21027       data.item: "treesize" "20";
21028 //      data.item: "states" "";
21029       images {
21030          image: "bt_sm_base1.png" COMP;
21031          image: "bt_sm_shine.png" COMP;
21032          image: "bt_sm_hilight.png" COMP;
21033          image: "ilist_2.png" COMP;
21034       }
21035       parts {
21036          part { name: "event";
21037             type: RECT;
21038             repeat_events: 1;
21039             description {
21040                state: "default" 0.0;
21041                color: 0 0 0 0;
21042             }
21043          }
21044          part {
21045             name: "base";
21046             mouse_events: 0;
21047             description {
21048                state: "default" 0.0;
21049                image {
21050                   normal: "ilist_2.png";
21051                   border: 2 2 2 2;
21052                }
21053                fill.smooth: 0;
21054             }
21055          }
21056          part { name: "bg";
21057             clip_to: "disclip";
21058             mouse_events: 0;
21059             description { state: "default" 0.0;
21060                visible: 0;
21061                color: 255 255 255 0;
21062                rel1 {
21063                   relative: 0.0 0.0;
21064                   offset: -5 -5;
21065                }
21066                rel2 {
21067                   relative: 1.0 1.0;
21068                   offset: 4 4;
21069                }
21070                image {
21071                   normal: "bt_sm_base1.png";
21072                   border: 6 6 6 6;
21073                }
21074                image.middle: SOLID;
21075             }
21076             description { state: "selected" 0.0;
21077                inherit: "default" 0.0;
21078                visible: 1;
21079                color: 255 255 255 255;
21080                rel1 {
21081                   relative: 0.0 0.0;
21082                   offset: -2 -2;
21083                }
21084                rel2 {
21085                   relative: 1.0 1.0;
21086                   offset: 1 1;
21087                }
21088             }
21089          }
21090          part { name: "elm.swallow.pad";
21091             type: SWALLOW;
21092             description { state: "default" 0.0;
21093                fixed: 1 0;
21094                align: 0.0 0.5;
21095                rel1 {
21096                   relative: 0.0  0.0;
21097                   offset:   4    4;
21098                }
21099                rel2 {
21100                   relative: 0.0  1.0;
21101                   offset:   4   -5;
21102                }
21103             }
21104          }
21105          part { name: "elm.swallow.icon";
21106             clip_to: "disclip";
21107             type: SWALLOW;
21108             description { state: "default" 0.0;
21109                fixed: 1 0;
21110                align: 0.0 0.5;
21111                rel1 {
21112                   to_x: "elm.swallow.pad";
21113                   relative: 1.0  0.0;
21114                   offset:   -1    4;
21115                }
21116                rel2 {
21117                   to_x: "elm.swallow.pad";
21118                   relative: 1.0  1.0;
21119                   offset:   -1   -5;
21120                }
21121             }
21122          }
21123          part { name: "elm.swallow.end";
21124             clip_to: "disclip";
21125             type:          SWALLOW;
21126             description { state:    "default" 0.0;
21127                fixed: 1 0;
21128                align:    1.0 0.5;
21129                aspect: 1.0 1.0;
21130                aspect_preference: VERTICAL;
21131                rel1 {
21132                   relative: 1.0  0.0;
21133                   offset:   -5    4;
21134                }
21135                rel2 {
21136                   relative: 1.0  1.0;
21137                   offset:   -5   -5;
21138                }
21139             }
21140          }
21141          part { name: "elm.text";
21142             clip_to: "disclip";
21143             type:           TEXT;
21144             effect:         SOFT_SHADOW;
21145             mouse_events:   0;
21146             scale: 1;
21147             description {
21148                state: "default" 0.0;
21149 //               min: 16 16;
21150                rel1 {
21151                   to_x:     "elm.swallow.icon";
21152                   relative: 1.0  0.0;
21153                   offset:   0 4;
21154                }
21155                rel2 {
21156                   to_x:     "elm.swallow.end";
21157                   relative: 0.0  0.5;
21158                   offset:   -1 -5;
21159                }
21160                color: 0 0 0 255;
21161                color3: 0 0 0 0;
21162                text {
21163                   font: "Sans";
21164                   size: 10;
21165 //                  min: 1 1;
21166                   min: 0 1;
21167                   align: 0.0 0.5;
21168                   text_class: "list_item";
21169                }
21170             }
21171             description { state: "selected" 0.0;
21172                inherit: "default" 0.0;
21173                color: 224 224 224 255;
21174                color3: 0 0 0 64;
21175             }
21176          }
21177          part { name: "elm.text.sub";
21178             clip_to: "disclip";
21179             type:           TEXT;
21180             mouse_events:   0;
21181             scale: 1;
21182             description {
21183                state: "default" 0.0;
21184 //               min: 16 16;
21185                rel1 {
21186                   to_x:     "elm.swallow.icon";
21187                   relative: 1.0  0.5;
21188                   offset:   0 4;
21189                }
21190                rel2 {
21191                   to_x:     "elm.swallow.end";
21192                   relative: 0.0  1.0;
21193                   offset:   -1 -5;
21194                }
21195                color: 0 0 0 128;
21196                color3: 0 0 0 0;
21197                text {
21198                   font: "Sans";
21199                   size: 8;
21200 //                  min: 1 1;
21201                   min: 0 1;
21202                   align: 0.0 0.5;
21203                   text_class: "list_item";
21204                }
21205             }
21206             description { state: "selected" 0.0;
21207                inherit: "default" 0.0;
21208                color: 128 128 128 255;
21209                color3: 0 0 0 32;
21210             }
21211          }
21212          part { name: "fg1";
21213             clip_to: "disclip";
21214             mouse_events: 0;
21215             description { state: "default" 0.0;
21216                visible: 0;
21217                color: 255 255 255 0;
21218                rel1.to: "bg";
21219                rel2.relative: 1.0 0.5;
21220                rel2.to: "bg";
21221                image {
21222                   normal: "bt_sm_hilight.png";
21223                   border: 6 6 6 0;
21224                }
21225             }
21226             description { state: "selected" 0.0;
21227                inherit: "default" 0.0;
21228                visible: 1;
21229                color: 255 255 255 255;
21230             }
21231          }
21232          part { name: "fg2";
21233             clip_to: "disclip";
21234             mouse_events: 0;
21235             description { state: "default" 0.0;
21236                visible: 0;
21237                color: 255 255 255 0;
21238                rel1.to: "bg";
21239                rel2.to: "bg";
21240                image {
21241                   normal: "bt_sm_shine.png";
21242                   border: 6 6 6 0;
21243                }
21244             }
21245             description { state: "selected" 0.0;
21246                inherit: "default" 0.0;
21247                visible: 1;
21248                color: 255 255 255 255;
21249             }
21250          }
21251          part { name: "disclip";
21252             type: RECT;
21253             description { state: "default" 0.0;
21254                rel1.to: "bg";
21255                rel2.to: "bg";
21256             }
21257             description { state: "disabled" 0.0;
21258                inherit: "default" 0.0;
21259                color: 255 255 255 64;
21260             }
21261          }
21262       }
21263       programs {
21264          // signal: elm,state,%s,active
21265          //   a "check" item named %s went active
21266          // signal: elm,state,%s,passive
21267          //   a "check" item named %s went passive
21268          // default is passive
21269          program {
21270             name:    "go_active";
21271             signal:  "elm,state,selected";
21272             source:  "elm";
21273             action:  STATE_SET "selected" 0.0;
21274             target:  "bg";
21275             target:  "fg1";
21276             target:  "fg2";
21277             target:  "elm.text";
21278             target:  "elm.text.sub";
21279          }
21280          program {
21281             name:    "go_passive";
21282             signal:  "elm,state,unselected";
21283             source:  "elm";
21284             action:  STATE_SET "default" 0.0;
21285             target:  "bg";
21286             target:  "fg1";
21287             target:  "fg2";
21288             target:  "elm.text";
21289             target:  "elm.text.sub";
21290             transition: LINEAR 0.1;
21291          }
21292          program {
21293             name:    "go_disabled";
21294             signal:  "elm,state,disabled";
21295             source:  "elm";
21296             action:  STATE_SET "disabled" 0.0;
21297             target:  "disclip";
21298          }
21299          program {
21300             name:    "go_enabled";
21301             signal:  "elm,state,enabled";
21302             source:  "elm";
21303             action:  STATE_SET "default" 0.0;
21304             target:  "disclip";
21305          }
21306       }
21307    }
21308
21309    group { name: "elm/genlist/tree/double_label/default";
21310       data.item: "stacking" "above";
21311       data.item: "selectraise" "on";
21312       data.item: "labels" "elm.text elm.text.sub";
21313       data.item: "icons" "elm.swallow.icon elm.swallow.end";
21314       data.item: "treesize" "20";
21315 //      data.item: "states" "";
21316       images {
21317          image: "bt_sm_base1.png" COMP;
21318          image: "bt_sm_shine.png" COMP;
21319          image: "bt_sm_hilight.png" COMP;
21320          image: "ilist_1.png" COMP;
21321          image: "ilist_item_shadow.png" COMP;
21322          image: "icon_arrow_right.png" COMP;
21323          image: "icon_arrow_down.png" COMP;
21324       }
21325       parts {
21326          part {
21327             name:           "event";
21328             type:           RECT;
21329             repeat_events: 1;
21330             description {
21331                state: "default" 0.0;
21332                color: 0 0 0 0;
21333             }
21334          }
21335          part {
21336             name: "base_sh";
21337             mouse_events: 0;
21338             description {
21339                state: "default" 0.0;
21340                align: 0.0 0.0;
21341                min: 0 10;
21342                fixed: 1 1;
21343                rel1 {
21344                   to: "base";
21345                   relative: 0.0 1.0;
21346                   offset: 0 0;
21347                }
21348                rel2 {
21349                   to: "base";
21350                   relative: 1.0 1.0;
21351                   offset: -1 0;
21352                }
21353                image {
21354                   normal: "ilist_item_shadow.png";
21355                }
21356                fill.smooth: 0;
21357             }
21358          }
21359          part {
21360             name: "base";
21361             mouse_events: 0;
21362             description {
21363                state: "default" 0.0;
21364                image {
21365                   normal: "ilist_1.png";
21366                   border: 2 2 2 2;
21367                }
21368                fill.smooth: 0;
21369             }
21370          }
21371          part { name: "bg";
21372             clip_to: "disclip";
21373             mouse_events: 0;
21374             description { state: "default" 0.0;
21375                visible: 0;
21376                color: 255 255 255 0;
21377                rel1 {
21378                   relative: 0.0 0.0;
21379                   offset: -5 -5;
21380                }
21381                rel2 {
21382                   relative: 1.0 1.0;
21383                   offset: 4 4;
21384                }
21385                image {
21386                   normal: "bt_sm_base1.png";
21387                   border: 6 6 6 6;
21388                }
21389                image.middle: SOLID;
21390             }
21391             description { state: "selected" 0.0;
21392                inherit: "default" 0.0;
21393                visible: 1;
21394                color: 255 255 255 255;
21395                rel1 {
21396                   relative: 0.0 0.0;
21397                   offset: -2 -2;
21398                }
21399                rel2 {
21400                   relative: 1.0 1.0;
21401                   offset: 1 1;
21402                }
21403             }
21404          }
21405          part { name: "elm.swallow.pad";
21406             type: SWALLOW;
21407             description { state: "default" 0.0;
21408                fixed: 1 0;
21409                align: 0.0 0.5;
21410                rel1 {
21411                   relative: 0.0  0.0;
21412                   offset:   4    4;
21413                }
21414                rel2 {
21415                   relative: 0.0  1.0;
21416                   offset:   4   -5;
21417                }
21418             }
21419          }
21420          part { name: "arrow";
21421             clip_to: "disclip";
21422             ignore_flags: ON_HOLD;
21423             description { state: "default" 0.0;
21424                fixed: 1 0;
21425                align: 0.0 0.5;
21426                aspect: 1.0 1.0;
21427                rel1 {
21428                   to_x: "elm.swallow.pad";
21429                   relative: 1.0  0.0;
21430                   offset:   -1    4;
21431                }
21432                rel2 {
21433                   to_x: "elm.swallow.pad";
21434                   relative: 1.0  1.0;
21435                   offset:   -1   -5;
21436                }
21437                image.normal: "icon_arrow_right.png";
21438             }
21439             description { state: "active" 0.0;
21440                inherit: "default" 0.0;
21441                image.normal: "icon_arrow_down.png";
21442             }
21443          }
21444          part { name: "elm.swallow.icon";
21445             clip_to: "disclip";
21446             type: SWALLOW;
21447             description { state: "default" 0.0;
21448                fixed: 1 0;
21449                align: 0.0 0.5;
21450                rel1 {
21451                   to_x: "arrow";
21452                   relative: 1.0  0.0;
21453                   offset:   4    4;
21454                }
21455                rel2 {
21456                   to_x: "arrow";
21457                   relative: 1.0  1.0;
21458                   offset:   4   -5;
21459                }
21460             }
21461          }
21462          part { name: "elm.swallow.end";
21463             clip_to: "disclip";
21464             type: SWALLOW;
21465             description { state: "default" 0.0;
21466                fixed: 1 0;
21467                align: 1.0 0.5;
21468                aspect: 1.0 1.0;
21469                aspect_preference: VERTICAL;
21470                rel1 {
21471                   relative: 1.0  0.0;
21472                   offset:   -5    4;
21473                }
21474                rel2 {
21475                   relative: 1.0  1.0;
21476                   offset:   -5   -5;
21477                }
21478             }
21479          }
21480          part { name: "elm.text";
21481             clip_to: "disclip";
21482             type:           TEXT;
21483             effect:         SOFT_SHADOW;
21484             mouse_events:   0;
21485             scale: 1;
21486             description {
21487                state: "default" 0.0;
21488 //               min: 16 16;
21489                rel1 {
21490                   to_x:     "elm.swallow.icon";
21491                   relative: 1.0  0.0;
21492                   offset:   0 4;
21493                }
21494                rel2 {
21495                   to_x:     "elm.swallow.end";
21496                   relative: 0.0  0.5;
21497                   offset:   -1 -5;
21498                }
21499                color: 0 0 0 255;
21500                color3: 0 0 0 0;
21501                text {
21502                   font: "Sans";
21503                   size: 10;
21504                   min: 1 1;
21505 //                  min: 0 1;
21506                   align: 0.0 0.5;
21507                   text_class: "list_item";
21508                }
21509             }
21510             description { state: "selected" 0.0;
21511                inherit: "default" 0.0;
21512                color: 224 224 224 255;
21513                color3: 0 0 0 64;
21514             }
21515          }
21516          part { name: "elm.text.sub";
21517             clip_to: "disclip";
21518             type:           TEXT;
21519             mouse_events:   0;
21520             scale: 1;
21521             description {
21522                state: "default" 0.0;
21523 //               min: 16 16;
21524                rel1 {
21525                   to_x:     "elm.swallow.icon";
21526                   relative: 1.0  0.5;
21527                   offset:   0 4;
21528                }
21529                rel2 {
21530                   to_x:     "elm.swallow.end";
21531                   relative: 0.0  1.0;
21532                   offset:   -1 -5;
21533                }
21534                color: 0 0 0 128;
21535                color3: 0 0 0 0;
21536                text {
21537                   font: "Sans";
21538                   size: 8;
21539                   min: 1 1;
21540 //                  min: 0 1;
21541                   align: 0.0 0.5;
21542                   text_class: "list_item";
21543                }
21544             }
21545             description { state: "selected" 0.0;
21546                inherit: "default" 0.0;
21547                color: 128 128 128 255;
21548                color3: 0 0 0 32;
21549             }
21550          }
21551          part { name: "fg1";
21552             clip_to: "disclip";
21553             mouse_events: 0;
21554             description { state: "default" 0.0;
21555                visible: 0;
21556                color: 255 255 255 0;
21557                rel1.to: "bg";
21558                rel2.relative: 1.0 0.5;
21559                rel2.to: "bg";
21560                image {
21561                   normal: "bt_sm_hilight.png";
21562                   border: 6 6 6 0;
21563                }
21564             }
21565             description { state: "selected" 0.0;
21566                inherit: "default" 0.0;
21567                visible: 1;
21568                color: 255 255 255 255;
21569             }
21570          }
21571          part { name: "fg2";
21572             clip_to: "disclip";
21573             mouse_events: 0;
21574             description { state: "default" 0.0;
21575                visible: 0;
21576                color: 255 255 255 0;
21577                rel1.to: "bg";
21578                rel2.to: "bg";
21579                image {
21580                   normal: "bt_sm_shine.png";
21581                   border: 6 6 6 0;
21582                }
21583             }
21584             description { state: "selected" 0.0;
21585                inherit: "default" 0.0;
21586                visible: 1;
21587                color: 255 255 255 255;
21588             }
21589          }
21590          part { name: "disclip";
21591             type: RECT;
21592             description { state: "default" 0.0;
21593                rel1.to: "bg";
21594                rel2.to: "bg";
21595             }
21596             description { state: "disabled" 0.0;
21597                inherit: "default" 0.0;
21598                color: 255 255 255 64;
21599             }
21600          }
21601       }
21602       programs {
21603          // signal: elm,state,%s,active
21604          //   a "check" item named %s went active
21605          // signal: elm,state,%s,passive
21606          //   a "check" item named %s went passive
21607          // default is passive
21608          program {
21609             name:    "go_active";
21610             signal:  "elm,state,selected";
21611             source:  "elm";
21612             action:  STATE_SET "selected" 0.0;
21613             target:  "bg";
21614             target:  "fg1";
21615             target:  "fg2";
21616             target:  "elm.text";
21617             target:  "elm.text.sub";
21618          }
21619          program {
21620             name:    "go_passive";
21621             signal:  "elm,state,unselected";
21622             source:  "elm";
21623             action:  STATE_SET "default" 0.0;
21624             target:  "bg";
21625             target:  "fg1";
21626             target:  "fg2";
21627             target:  "elm.text";
21628             target:  "elm.text.sub";
21629             transition: LINEAR 0.1;
21630          }
21631          program {
21632             name:    "go_disabled";
21633             signal:  "elm,state,disabled";
21634             source:  "elm";
21635             action:  STATE_SET "disabled" 0.0;
21636             target:  "disclip";
21637          }
21638          program {
21639             name:    "go_enabled";
21640             signal:  "elm,state,enabled";
21641             source:  "elm";
21642             action:  STATE_SET "default" 0.0;
21643             target:  "disclip";
21644          }
21645          program {
21646             name:    "expand";
21647             signal:  "mouse,up,1";
21648             source:  "arrow";
21649             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
21650          }
21651          program {
21652             name:    "go_expanded";
21653             signal:  "elm,state,expanded";
21654             source:  "elm";
21655             action:  STATE_SET "active" 0.0;
21656             target:  "arrow";
21657          }
21658          program {
21659             name:    "go_contracted";
21660             signal:  "elm,state,contracted";
21661             source:  "elm";
21662             action:  STATE_SET "default" 0.0;
21663             target:  "arrow";
21664          }
21665       }
21666    }
21667    group { name: "elm/genlist/tree_compress/double_label/default";
21668       data.item: "stacking" "above";
21669       data.item: "selectraise" "on";
21670       data.item: "labels" "elm.text elm.text.sub";
21671       data.item: "icons" "elm.swallow.icon elm.swallow.end";
21672       data.item: "treesize" "20";
21673 //      data.item: "states" "";
21674       images {
21675          image: "bt_sm_base1.png" COMP;
21676          image: "bt_sm_shine.png" COMP;
21677          image: "bt_sm_hilight.png" COMP;
21678          image: "ilist_1.png" COMP;
21679          image: "ilist_item_shadow.png" COMP;
21680          image: "icon_arrow_right.png" COMP;
21681          image: "icon_arrow_down.png" COMP;
21682       }
21683       parts {
21684          part {
21685             name:           "event";
21686             type:           RECT;
21687             repeat_events: 1;
21688             description {
21689                state: "default" 0.0;
21690                color: 0 0 0 0;
21691             }
21692          }
21693          part {
21694             name: "base_sh";
21695             mouse_events: 0;
21696             description {
21697                state: "default" 0.0;
21698                align: 0.0 0.0;
21699                min: 0 10;
21700                fixed: 1 1;
21701                rel1 {
21702                   to: "base";
21703                   relative: 0.0 1.0;
21704                   offset: 0 0;
21705                }
21706                rel2 {
21707                   to: "base";
21708                   relative: 1.0 1.0;
21709                   offset: -1 0;
21710                }
21711                image {
21712                   normal: "ilist_item_shadow.png";
21713                }
21714                fill.smooth: 0;
21715             }
21716          }
21717          part {
21718             name: "base";
21719             mouse_events: 0;
21720             description {
21721                state: "default" 0.0;
21722                image {
21723                   normal: "ilist_1.png";
21724                   border: 2 2 2 2;
21725                }
21726                fill.smooth: 0;
21727             }
21728          }
21729          part { name: "bg";
21730             clip_to: "disclip";
21731             mouse_events: 0;
21732             description { state: "default" 0.0;
21733                visible: 0;
21734                color: 255 255 255 0;
21735                rel1 {
21736                   relative: 0.0 0.0;
21737                   offset: -5 -5;
21738                }
21739                rel2 {
21740                   relative: 1.0 1.0;
21741                   offset: 4 4;
21742                }
21743                image {
21744                   normal: "bt_sm_base1.png";
21745                   border: 6 6 6 6;
21746                }
21747                image.middle: SOLID;
21748             }
21749             description { state: "selected" 0.0;
21750                inherit: "default" 0.0;
21751                visible: 1;
21752                color: 255 255 255 255;
21753                rel1 {
21754                   relative: 0.0 0.0;
21755                   offset: -2 -2;
21756                }
21757                rel2 {
21758                   relative: 1.0 1.0;
21759                   offset: 1 1;
21760                }
21761             }
21762          }
21763          part { name: "elm.swallow.pad";
21764             type: SWALLOW;
21765             description { state: "default" 0.0;
21766                fixed: 1 0;
21767                align: 0.0 0.5;
21768                rel1 {
21769                   relative: 0.0  0.0;
21770                   offset:   4    4;
21771                }
21772                rel2 {
21773                   relative: 0.0  1.0;
21774                   offset:   4   -5;
21775                }
21776             }
21777          }
21778          part { name: "arrow";
21779             clip_to: "disclip";
21780             ignore_flags: ON_HOLD;
21781             description { state: "default" 0.0;
21782                fixed: 1 0;
21783                align: 0.0 0.5;
21784                aspect: 1.0 1.0;
21785                rel1 {
21786                   to_x: "elm.swallow.pad";
21787                   relative: 1.0  0.0;
21788                   offset:   -1    4;
21789                }
21790                rel2 {
21791                   to_x: "elm.swallow.pad";
21792                   relative: 1.0  1.0;
21793                   offset:   -1   -5;
21794                }
21795                image.normal: "icon_arrow_right.png";
21796             }
21797             description { state: "active" 0.0;
21798                inherit: "default" 0.0;
21799                image.normal: "icon_arrow_down.png";
21800             }
21801          }
21802          part { name: "elm.swallow.icon";
21803             clip_to: "disclip";
21804             type: SWALLOW;
21805             description { state: "default" 0.0;
21806                fixed: 1 0;
21807                align: 0.0 0.5;
21808                rel1 {
21809                   to_x: "arrow";
21810                   relative: 1.0  0.0;
21811                   offset:   4    4;
21812                }
21813                rel2 {
21814                   to_x: "arrow";
21815                   relative: 1.0  1.0;
21816                   offset:   4   -5;
21817                }
21818             }
21819          }
21820          part { name: "elm.swallow.end";
21821             clip_to: "disclip";
21822             type: SWALLOW;
21823             description { state: "default" 0.0;
21824                fixed: 1 0;
21825                align: 1.0 0.5;
21826                aspect: 1.0 1.0;
21827                aspect_preference: VERTICAL;
21828                rel1 {
21829                   relative: 1.0  0.0;
21830                   offset:   -5    4;
21831                }
21832                rel2 {
21833                   relative: 1.0  1.0;
21834                   offset:   -5   -5;
21835                }
21836             }
21837          }
21838          part { name: "elm.text";
21839             clip_to: "disclip";
21840             type:           TEXT;
21841             effect:         SOFT_SHADOW;
21842             mouse_events:   0;
21843             scale: 1;
21844             description {
21845                state: "default" 0.0;
21846 //               min: 16 16;
21847                rel1 {
21848                   to_x:     "elm.swallow.icon";
21849                   relative: 1.0  0.0;
21850                   offset:   0 4;
21851                }
21852                rel2 {
21853                   to_x:     "elm.swallow.end";
21854                   relative: 0.0  0.5;
21855                   offset:   -1 -5;
21856                }
21857                color: 0 0 0 255;
21858                color3: 0 0 0 0;
21859                text {
21860                   font: "Sans";
21861                   size: 10;
21862 //                  min: 1 1;
21863                   min: 0 1;
21864                   align: 0.0 0.5;
21865                   text_class: "list_item";
21866                }
21867             }
21868             description { state: "selected" 0.0;
21869                inherit: "default" 0.0;
21870                color: 224 224 224 255;
21871                color3: 0 0 0 64;
21872             }
21873          }
21874          part { name: "elm.text.sub";
21875             clip_to: "disclip";
21876             type:           TEXT;
21877             mouse_events:   0;
21878             scale: 1;
21879             description {
21880                state: "default" 0.0;
21881 //               min: 16 16;
21882                rel1 {
21883                   to_x:     "elm.swallow.icon";
21884                   relative: 1.0  0.5;
21885                   offset:   0 4;
21886                }
21887                rel2 {
21888                   to_x:     "elm.swallow.end";
21889                   relative: 0.0  1.0;
21890                   offset:   -1 -5;
21891                }
21892                color: 0 0 0 128;
21893                color3: 0 0 0 0;
21894                text {
21895                   font: "Sans";
21896                   size: 8;
21897 //                  min: 1 1;
21898                   min: 0 1;
21899                   align: 0.0 0.5;
21900                   text_class: "list_item";
21901                }
21902             }
21903             description { state: "selected" 0.0;
21904                inherit: "default" 0.0;
21905                color: 128 128 128 255;
21906                color3: 0 0 0 32;
21907             }
21908          }
21909          part { name: "fg1";
21910             clip_to: "disclip";
21911             mouse_events: 0;
21912             description { state: "default" 0.0;
21913                visible: 0;
21914                color: 255 255 255 0;
21915                rel1.to: "bg";
21916                rel2.relative: 1.0 0.5;
21917                rel2.to: "bg";
21918                image {
21919                   normal: "bt_sm_hilight.png";
21920                   border: 6 6 6 0;
21921                }
21922             }
21923             description { state: "selected" 0.0;
21924                inherit: "default" 0.0;
21925                visible: 1;
21926                color: 255 255 255 255;
21927             }
21928          }
21929          part { name: "fg2";
21930             clip_to: "disclip";
21931             mouse_events: 0;
21932             description { state: "default" 0.0;
21933                visible: 0;
21934                color: 255 255 255 0;
21935                rel1.to: "bg";
21936                rel2.to: "bg";
21937                image {
21938                   normal: "bt_sm_shine.png";
21939                   border: 6 6 6 0;
21940                }
21941             }
21942             description { state: "selected" 0.0;
21943                inherit: "default" 0.0;
21944                visible: 1;
21945                color: 255 255 255 255;
21946             }
21947          }
21948          part { name: "disclip";
21949             type: RECT;
21950             description { state: "default" 0.0;
21951                rel1.to: "bg";
21952                rel2.to: "bg";
21953             }
21954             description { state: "disabled" 0.0;
21955                inherit: "default" 0.0;
21956                color: 255 255 255 64;
21957             }
21958          }
21959       }
21960       programs {
21961          // signal: elm,state,%s,active
21962          //   a "check" item named %s went active
21963          // signal: elm,state,%s,passive
21964          //   a "check" item named %s went passive
21965          // default is passive
21966          program {
21967             name:    "go_active";
21968             signal:  "elm,state,selected";
21969             source:  "elm";
21970             action:  STATE_SET "selected" 0.0;
21971             target:  "bg";
21972             target:  "fg1";
21973             target:  "fg2";
21974             target:  "elm.text";
21975             target:  "elm.text.sub";
21976          }
21977          program {
21978             name:    "go_passive";
21979             signal:  "elm,state,unselected";
21980             source:  "elm";
21981             action:  STATE_SET "default" 0.0;
21982             target:  "bg";
21983             target:  "fg1";
21984             target:  "fg2";
21985             target:  "elm.text";
21986             target:  "elm.text.sub";
21987             transition: LINEAR 0.1;
21988          }
21989          program {
21990             name:    "go_disabled";
21991             signal:  "elm,state,disabled";
21992             source:  "elm";
21993             action:  STATE_SET "disabled" 0.0;
21994             target:  "disclip";
21995          }
21996          program {
21997             name:    "go_enabled";
21998             signal:  "elm,state,enabled";
21999             source:  "elm";
22000             action:  STATE_SET "default" 0.0;
22001             target:  "disclip";
22002          }
22003          program {
22004             name:    "expand";
22005             signal:  "mouse,up,1";
22006             source:  "arrow";
22007             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
22008          }
22009          program {
22010             name:    "go_expanded";
22011             signal:  "elm,state,expanded";
22012             source:  "elm";
22013             action:  STATE_SET "active" 0.0;
22014             target:  "arrow";
22015          }
22016          program {
22017             name:    "go_contracted";
22018             signal:  "elm,state,contracted";
22019             source:  "elm";
22020             action:  STATE_SET "default" 0.0;
22021             target:  "arrow";
22022          }
22023       }
22024    }
22025    group { name: "elm/genlist/tree_odd/double_label/default";
22026       data.item: "stacking" "below";
22027       data.item: "selectraise" "on";
22028       data.item: "labels" "elm.text elm.text.sub";
22029       data.item: "icons" "elm.swallow.icon elm.swallow.end";
22030       data.item: "treesize" "20";
22031 //      data.item: "states" "";
22032       images {
22033          image: "bt_sm_base1.png" COMP;
22034          image: "bt_sm_shine.png" COMP;
22035          image: "bt_sm_hilight.png" COMP;
22036          image: "ilist_2.png" COMP;
22037          image: "icon_arrow_right.png" COMP;
22038          image: "icon_arrow_down.png" COMP;
22039       }
22040       parts {
22041          part {
22042             name:           "event";
22043             type:           RECT;
22044             repeat_events: 1;
22045             description {
22046                state: "default" 0.0;
22047                color: 0 0 0 0;
22048             }
22049          }
22050          part {
22051             name: "base";
22052             mouse_events: 0;
22053             description {
22054                state: "default" 0.0;
22055                image {
22056                   normal: "ilist_2.png";
22057                   border: 2 2 2 2;
22058                }
22059                fill.smooth: 0;
22060             }
22061          }
22062          part { name: "bg";
22063             clip_to: "disclip";
22064             mouse_events: 0;
22065             description { state: "default" 0.0;
22066                visible: 0;
22067                color: 255 255 255 0;
22068                rel1 {
22069                   relative: 0.0 0.0;
22070                   offset: -5 -5;
22071                }
22072                rel2 {
22073                   relative: 1.0 1.0;
22074                   offset: 4 4;
22075                }
22076                image {
22077                   normal: "bt_sm_base1.png";
22078                   border: 6 6 6 6;
22079                }
22080                image.middle: SOLID;
22081             }
22082             description { state: "selected" 0.0;
22083                inherit: "default" 0.0;
22084                visible: 1;
22085                color: 255 255 255 255;
22086                rel1 {
22087                   relative: 0.0 0.0;
22088                   offset: -2 -2;
22089                }
22090                rel2 {
22091                   relative: 1.0 1.0;
22092                   offset: 1 1;
22093                }
22094             }
22095          }
22096          part { name: "elm.swallow.pad";
22097             type: SWALLOW;
22098             description { state: "default" 0.0;
22099                fixed: 1 0;
22100                align: 0.0 0.5;
22101                rel1 {
22102                   relative: 0.0  0.0;
22103                   offset:   4    4;
22104                }
22105                rel2 {
22106                   relative: 0.0  1.0;
22107                   offset:   4   -5;
22108                }
22109             }
22110          }
22111          part { name: "arrow";
22112             clip_to: "disclip";
22113             ignore_flags: ON_HOLD;
22114             description { state: "default" 0.0;
22115                fixed: 1 0;
22116                align: 0.0 0.5;
22117                aspect: 1.0 1.0;
22118                rel1 {
22119                   to_x: "elm.swallow.pad";
22120                   relative: 1.0  0.0;
22121                   offset:   -1    4;
22122                }
22123                rel2 {
22124                   to_x: "elm.swallow.pad";
22125                   relative: 1.0  1.0;
22126                   offset:   -1   -5;
22127                }
22128                image.normal: "icon_arrow_right.png";
22129             }
22130             description { state: "active" 0.0;
22131                inherit: "default" 0.0;
22132                image.normal: "icon_arrow_down.png";
22133             }
22134          }
22135          part { name: "elm.swallow.icon";
22136             clip_to: "disclip";
22137             type: SWALLOW;
22138             description { state: "default" 0.0;
22139                fixed: 1 0;
22140                align: 0.0 0.5;
22141                rel1 {
22142                   to_x: "arrow";
22143                   relative: 1.0  0.0;
22144                   offset:   4    4;
22145                }
22146                rel2 {
22147                   to_x: "arrow";
22148                   relative: 1.0  1.0;
22149                   offset:   4   -5;
22150                }
22151             }
22152          }
22153          part { name: "elm.swallow.end";
22154             clip_to: "disclip";
22155             type: SWALLOW;
22156             description { state: "default" 0.0;
22157                fixed: 1 0;
22158                align: 1.0 0.5;
22159                aspect: 1.0 1.0;
22160                aspect_preference: VERTICAL;
22161                rel1 {
22162                   relative: 1.0  0.0;
22163                   offset:   -5    4;
22164                }
22165                rel2 {
22166                   relative: 1.0  1.0;
22167                   offset:   -5   -5;
22168                }
22169             }
22170          }
22171          part { name: "elm.text";
22172             clip_to: "disclip";
22173             type:           TEXT;
22174             effect:         SOFT_SHADOW;
22175             mouse_events:   0;
22176             scale: 1;
22177             description {
22178                state: "default" 0.0;
22179 //               min: 16 16;
22180                rel1 {
22181                   to_x:     "elm.swallow.icon";
22182                   relative: 1.0  0.0;
22183                   offset:   0 4;
22184                }
22185                rel2 {
22186                   to_x:     "elm.swallow.end";
22187                   relative: 0.0  0.5;
22188                   offset:   -1 -5;
22189                }
22190                color: 0 0 0 255;
22191                color3: 0 0 0 0;
22192                text {
22193                   font: "Sans";
22194                   size: 10;
22195                   min: 1 1;
22196 //                  min: 0 1;
22197                   align: 0.0 0.5;
22198                   text_class: "list_item";
22199                }
22200             }
22201             description { state: "selected" 0.0;
22202                inherit: "default" 0.0;
22203                color: 224 224 224 255;
22204                color3: 0 0 0 64;
22205             }
22206          }
22207          part { name: "elm.text.sub";
22208             clip_to: "disclip";
22209             type:           TEXT;
22210             mouse_events:   0;
22211             scale: 1;
22212             description {
22213                state: "default" 0.0;
22214 //               min: 16 16;
22215                rel1 {
22216                   to_x:     "elm.swallow.icon";
22217                   relative: 1.0  0.5;
22218                   offset:   0 4;
22219                }
22220                rel2 {
22221                   to_x:     "elm.swallow.end";
22222                   relative: 0.0  1.0;
22223                   offset:   -1 -5;
22224                }
22225                color: 0 0 0 128;
22226                color3: 0 0 0 0;
22227                text {
22228                   font: "Sans";
22229                   size: 8;
22230                   min: 1 1;
22231 //                  min: 0 1;
22232                   align: 0.0 0.5;
22233                   text_class: "list_item";
22234                }
22235             }
22236             description { state: "selected" 0.0;
22237                inherit: "default" 0.0;
22238                color: 128 128 128 255;
22239                color3: 0 0 0 32;
22240             }
22241          }
22242          part { name: "fg1";
22243             clip_to: "disclip";
22244             mouse_events: 0;
22245             description { state: "default" 0.0;
22246                visible: 0;
22247                color: 255 255 255 0;
22248                rel1.to: "bg";
22249                rel2.relative: 1.0 0.5;
22250                rel2.to: "bg";
22251                image {
22252                   normal: "bt_sm_hilight.png";
22253                   border: 6 6 6 0;
22254                }
22255             }
22256             description { state: "selected" 0.0;
22257                inherit: "default" 0.0;
22258                visible: 1;
22259                color: 255 255 255 255;
22260             }
22261          }
22262          part { name: "fg2";
22263             clip_to: "disclip";
22264             mouse_events: 0;
22265             description { state: "default" 0.0;
22266                visible: 0;
22267                color: 255 255 255 0;
22268                rel1.to: "bg";
22269                rel2.to: "bg";
22270                image {
22271                   normal: "bt_sm_shine.png";
22272                   border: 6 6 6 0;
22273                }
22274             }
22275             description { state: "selected" 0.0;
22276                inherit: "default" 0.0;
22277                visible: 1;
22278                color: 255 255 255 255;
22279             }
22280          }
22281          part { name: "disclip";
22282             type: RECT;
22283             description { state: "default" 0.0;
22284                rel1.to: "bg";
22285                rel2.to: "bg";
22286             }
22287             description { state: "disabled" 0.0;
22288                inherit: "default" 0.0;
22289                color: 255 255 255 64;
22290             }
22291          }
22292       }
22293       programs {
22294          // signal: elm,state,%s,active
22295          //   a "check" item named %s went active
22296          // signal: elm,state,%s,passive
22297          //   a "check" item named %s went passive
22298          // default is passive
22299          program {
22300             name:    "go_active";
22301             signal:  "elm,state,selected";
22302             source:  "elm";
22303             action:  STATE_SET "selected" 0.0;
22304             target:  "bg";
22305             target:  "fg1";
22306             target:  "fg2";
22307             target:  "elm.text";
22308             target:  "elm.text.sub";
22309          }
22310          program {
22311             name:    "go_passive";
22312             signal:  "elm,state,unselected";
22313             source:  "elm";
22314             action:  STATE_SET "default" 0.0;
22315             target:  "bg";
22316             target:  "fg1";
22317             target:  "fg2";
22318             target:  "elm.text";
22319             target:  "elm.text.sub";
22320             transition: LINEAR 0.1;
22321          }
22322          program {
22323             name:    "go_disabled";
22324             signal:  "elm,state,disabled";
22325             source:  "elm";
22326             action:  STATE_SET "disabled" 0.0;
22327             target:  "disclip";
22328          }
22329          program {
22330             name:    "go_enabled";
22331             signal:  "elm,state,enabled";
22332             source:  "elm";
22333             action:  STATE_SET "default" 0.0;
22334             target:  "disclip";
22335          }
22336          program {
22337             name:    "expand";
22338             signal:  "mouse,up,1";
22339             source:  "arrow";
22340             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
22341          }
22342          program {
22343             name:    "go_expanded";
22344             signal:  "elm,state,expanded";
22345             source:  "elm";
22346             action:  STATE_SET "active" 0.0;
22347             target:  "arrow";
22348          }
22349          program {
22350             name:    "go_contracted";
22351             signal:  "elm,state,contracted";
22352             source:  "elm";
22353             action:  STATE_SET "default" 0.0;
22354             target:  "arrow";
22355          }
22356       }
22357    }
22358
22359    group { name: "elm/genlist/item/icon_top_text_bottom/default";
22360       data.item: "stacking" "above";
22361       data.item: "selectraise" "on";
22362       data.item: "labels" "elm.text";
22363       data.item: "icons" "elm.swallow.icon";
22364       data.item: "treesize" "20";
22365 //      data.item: "states" "";
22366       images {
22367          image: "bt_sm_base1.png" COMP;
22368          image: "bt_sm_shine.png" COMP;
22369          image: "bt_sm_hilight.png" COMP;
22370          image: "ilist_1.png" COMP;
22371          image: "ilist_item_shadow.png" COMP;
22372       }
22373       parts {
22374          part {
22375             name:           "event";
22376             type:           RECT;
22377             repeat_events: 1;
22378             description {
22379                state: "default" 0.0;
22380                color: 0 0 0 0;
22381             }
22382          }
22383          part {
22384             name: "base_sh";
22385             mouse_events: 0;
22386             description {
22387                state: "default" 0.0;
22388                align: 0.0 0.0;
22389                min: 0 10;
22390                fixed: 1 1;
22391                rel1 {
22392                   to: "base";
22393                   relative: 0.0 1.0;
22394                   offset: 0 0;
22395                }
22396                rel2 {
22397                   to: "base";
22398                   relative: 1.0 1.0;
22399                   offset: -1 0;
22400                }
22401                image {
22402                   normal: "ilist_item_shadow.png";
22403                }
22404                fill.smooth: 0;
22405             }
22406          }
22407          part {
22408             name: "base";
22409             mouse_events: 0;
22410             description {
22411                state: "default" 0.0;
22412                image {
22413                   normal: "ilist_1.png";
22414                   border: 2 2 2 2;
22415                }
22416                fill.smooth: 0;
22417             }
22418          }
22419          part { name: "bg";
22420             clip_to: "disclip";
22421             mouse_events: 0;
22422             description { state: "default" 0.0;
22423                visible: 0;
22424                color: 255 255 255 0;
22425                rel1 {
22426                   relative: 0.0 0.0;
22427                   offset: -5 -5;
22428                }
22429                rel2 {
22430                   relative: 1.0 1.0;
22431                   offset: 4 4;
22432                }
22433                image {
22434                   normal: "bt_sm_base1.png";
22435                   border: 6 6 6 6;
22436                }
22437                image.middle: SOLID;
22438             }
22439             description { state: "selected" 0.0;
22440                inherit: "default" 0.0;
22441                visible: 1;
22442                color: 255 255 255 255;
22443                rel1 {
22444                   relative: 0.0 0.0;
22445                   offset: -2 -2;
22446                }
22447                rel2 {
22448                   relative: 1.0 1.0;
22449                   offset: 1 1;
22450                }
22451             }
22452          }
22453          part { name: "elm.swallow.pad";
22454             type: SWALLOW;
22455             description { state: "default" 0.0;
22456                fixed: 1 0;
22457                align: 0.0 0.5;
22458                rel1 {
22459                   relative: 0.0  0.0;
22460                   offset:   4    4;
22461                }
22462                rel2 {
22463                   relative: 1.0  1.0;
22464                   offset:   -4   -5;
22465                }
22466             }
22467          }
22468          part { name: "elm.swallow.icon";
22469             clip_to: "disclip";
22470             type: SWALLOW;
22471             description { state: "default" 0.0;
22472                fixed: 1 0;
22473                align: 0.5 0.5;
22474                rel1 {
22475                   to_x: "elm.swallow.pad";
22476                   relative: 0.0  0.0;
22477                   offset:   -1    4;
22478                }
22479                rel2 {
22480                   to_x: "elm.swallow.pad";
22481                   relative: 1.0  1.0;
22482                   offset:   -1   -5;
22483                }
22484             }
22485          }
22486          part { name: "elm.text";
22487             clip_to: "disclip";
22488             type:           TEXT;
22489             effect:         SOFT_SHADOW;
22490             mouse_events:   0;
22491             scale: 1;
22492             description {
22493                state: "default" 0.0;
22494 //               min: 16 16;
22495                rel1 {
22496                   to_y:     "elm.swallow.icon";
22497                   relative: 0.0  1.0;
22498                   offset:   0 4;
22499                }
22500                rel2 {
22501                   relative: 1.0  1.0;
22502                   offset:   -5 -5;
22503                }
22504                color: 0 0 0 255;
22505                color3: 0 0 0 0;
22506                text {
22507                   font: "Sans";
22508                   size: 10;
22509                   min: 1 1;
22510 //                  min: 0 1;
22511                   align: 0.5 0.5;
22512                   text_class: "list_item";
22513                }
22514             }
22515             description { state: "selected" 0.0;
22516                inherit: "default" 0.0;
22517                color: 224 224 224 255;
22518                color3: 0 0 0 64;
22519             }
22520          }
22521          part { name: "fg1";
22522             clip_to: "disclip";
22523             mouse_events: 0;
22524             description { state: "default" 0.0;
22525                visible: 0;
22526                color: 255 255 255 0;
22527                rel1.to: "bg";
22528                rel2.relative: 1.0 0.5;
22529                rel2.to: "bg";
22530                image {
22531                   normal: "bt_sm_hilight.png";
22532                   border: 6 6 6 0;
22533                }
22534             }
22535             description { state: "selected" 0.0;
22536                inherit: "default" 0.0;
22537                visible: 1;
22538                color: 255 255 255 255;
22539             }
22540          }
22541          part { name: "fg2";
22542             clip_to: "disclip";
22543             mouse_events: 0;
22544             description { state: "default" 0.0;
22545                visible: 0;
22546                color: 255 255 255 0;
22547                rel1.to: "bg";
22548                rel2.to: "bg";
22549                image {
22550                   normal: "bt_sm_shine.png";
22551                   border: 6 6 6 0;
22552                }
22553             }
22554             description { state: "selected" 0.0;
22555                inherit: "default" 0.0;
22556                visible: 1;
22557                color: 255 255 255 255;
22558             }
22559          }
22560          part { name: "disclip";
22561             type: RECT;
22562             description { state: "default" 0.0;
22563                rel1.to: "bg";
22564                rel2.to: "bg";
22565             }
22566             description { state: "disabled" 0.0;
22567                inherit: "default" 0.0;
22568                color: 255 255 255 64;
22569             }
22570          }
22571       }
22572       programs {
22573          // signal: elm,state,%s,active
22574          //   a "check" item named %s went active
22575          // signal: elm,state,%s,passive
22576          //   a "check" item named %s went passive
22577          // default is passive
22578          program {
22579             name:    "go_active";
22580             signal:  "elm,state,selected";
22581             source:  "elm";
22582             action:  STATE_SET "selected" 0.0;
22583             target:  "bg";
22584             target:  "fg1";
22585             target:  "fg2";
22586             target:  "elm.text";
22587          }
22588          program {
22589             name:    "go_passive";
22590             signal:  "elm,state,unselected";
22591             source:  "elm";
22592             action:  STATE_SET "default" 0.0;
22593             target:  "bg";
22594             target:  "fg1";
22595             target:  "fg2";
22596             target:  "elm.text";
22597             transition: LINEAR 0.1;
22598          }
22599          program {
22600             name:    "go_disabled";
22601             signal:  "elm,state,disabled";
22602             source:  "elm";
22603             action:  STATE_SET "disabled" 0.0;
22604             target:  "disclip";
22605          }
22606          program {
22607             name:    "go_enabled";
22608             signal:  "elm,state,enabled";
22609             source:  "elm";
22610             action:  STATE_SET "default" 0.0;
22611             target:  "disclip";
22612          }
22613       }
22614    }
22615    group { name: "elm/genlist/item_odd/icon_top_text_bottom/default";
22616       data.item: "stacking" "below";
22617       data.item: "selectraise" "on";
22618       data.item: "labels" "elm.text";
22619       data.item: "icons" "elm.swallow.icon";
22620       data.item: "treesize" "20";
22621 //      data.item: "states" "";
22622       images {
22623          image: "bt_sm_base1.png" COMP;
22624          image: "bt_sm_shine.png" COMP;
22625          image: "bt_sm_hilight.png" COMP;
22626          image: "ilist_2.png" COMP;
22627       }
22628       parts {
22629          part { name: "event";
22630             type: RECT;
22631             repeat_events: 1;
22632             description {
22633                state: "default" 0.0;
22634                color: 0 0 0 0;
22635             }
22636          }
22637          part {
22638             name: "base";
22639             mouse_events: 0;
22640             description {
22641                state: "default" 0.0;
22642                image {
22643                   normal: "ilist_2.png";
22644                   border: 2 2 2 2;
22645                }
22646                fill.smooth: 0;
22647             }
22648          }
22649          part { name: "bg";
22650             clip_to: "disclip";
22651             mouse_events: 0;
22652             description { state: "default" 0.0;
22653                visible: 0;
22654                color: 255 255 255 0;
22655                rel1 {
22656                   relative: 0.0 0.0;
22657                   offset: -5 -5;
22658                }
22659                rel2 {
22660                   relative: 1.0 1.0;
22661                   offset: 4 4;
22662                }
22663                image {
22664                   normal: "bt_sm_base1.png";
22665                   border: 6 6 6 6;
22666                }
22667                image.middle: SOLID;
22668             }
22669             description { state: "selected" 0.0;
22670                inherit: "default" 0.0;
22671                visible: 1;
22672                color: 255 255 255 255;
22673                rel1 {
22674                   relative: 0.0 0.0;
22675                   offset: -2 -2;
22676                }
22677                rel2 {
22678                   relative: 1.0 1.0;
22679                   offset: 1 1;
22680                }
22681             }
22682          }
22683          part { name: "elm.swallow.pad";
22684             type: SWALLOW;
22685             description { state: "default" 0.0;
22686                fixed: 1 0;
22687                align: 0.0 0.5;
22688                rel1 {
22689                   relative: 0.0  0.0;
22690                   offset:   4    4;
22691                }
22692                rel2 {
22693                   relative: 1.0  1.0;
22694                   offset:   -4   -5;
22695                }
22696             }
22697          }
22698          part { name: "elm.swallow.icon";
22699             clip_to: "disclip";
22700             type: SWALLOW;
22701             description { state: "default" 0.0;
22702                fixed: 1 0;
22703                align: 0.5 0.5;
22704                rel1 {
22705                   to_x: "elm.swallow.pad";
22706                   relative: 0.0  0.0;
22707                   offset:   -1    4;
22708                }
22709                rel2 {
22710                   to_x: "elm.swallow.pad";
22711                   relative: 1.0  1.0;
22712                   offset:   -1   -5;
22713                }
22714             }
22715          }
22716          part { name: "elm.text";
22717             clip_to: "disclip";
22718             type:           TEXT;
22719             effect:         SOFT_SHADOW;
22720             mouse_events:   0;
22721             scale: 1;
22722             description {
22723                state: "default" 0.0;
22724 //               min:      16 16;
22725                rel1 {
22726                   to_y:     "elm.swallow.icon";
22727                   relative: 0.0  1.0;
22728                   offset:   0 4;
22729                }
22730                rel2 {
22731                   relative: 1.0  1.0;
22732                   offset:   -5 -5;
22733                }
22734                color: 0 0 0 255;
22735                color3: 0 0 0 0;
22736                text {
22737                   font: "Sans";
22738                   size: 10;
22739                   min: 1 1;
22740 //                  min: 0 1;
22741                   align: 0.5 0.5;
22742                   text_class: "list_item";
22743                }
22744             }
22745             description { state: "selected" 0.0;
22746                inherit: "default" 0.0;
22747                color: 224 224 224 255;
22748                color3: 0 0 0 64;
22749             }
22750          }
22751          part { name: "fg1";
22752             clip_to: "disclip";
22753             mouse_events: 0;
22754             description { state: "default" 0.0;
22755                visible: 0;
22756                color: 255 255 255 0;
22757                rel1.to: "bg";
22758                rel2.relative: 1.0 0.5;
22759                rel2.to: "bg";
22760                image {
22761                   normal: "bt_sm_hilight.png";
22762                   border: 6 6 6 0;
22763                }
22764             }
22765             description { state: "selected" 0.0;
22766                inherit: "default" 0.0;
22767                visible: 1;
22768                color: 255 255 255 255;
22769             }
22770          }
22771          part { name: "fg2";
22772             clip_to: "disclip";
22773             mouse_events: 0;
22774             description { state: "default" 0.0;
22775                visible: 0;
22776                color: 255 255 255 0;
22777                rel1.to: "bg";
22778                rel2.to: "bg";
22779                image {
22780                   normal: "bt_sm_shine.png";
22781                   border: 6 6 6 0;
22782                }
22783             }
22784             description { state: "selected" 0.0;
22785                inherit: "default" 0.0;
22786                visible: 1;
22787                color: 255 255 255 255;
22788             }
22789          }
22790          part { name: "disclip";
22791             type: RECT;
22792             description { state: "default" 0.0;
22793                rel1.to: "bg";
22794                rel2.to: "bg";
22795             }
22796             description { state: "disabled" 0.0;
22797                inherit: "default" 0.0;
22798                color: 255 255 255 64;
22799             }
22800          }
22801       }
22802       programs {
22803          // signal: elm,state,%s,active
22804          //   a "check" item named %s went active
22805          // signal: elm,state,%s,passive
22806          //   a "check" item named %s went passive
22807          // default is passive
22808          program {
22809             name:    "go_active";
22810             signal:  "elm,state,selected";
22811             source:  "elm";
22812             action:  STATE_SET "selected" 0.0;
22813             target:  "bg";
22814             target:  "fg1";
22815             target:  "fg2";
22816             target:  "elm.text";
22817          }
22818          program {
22819             name:    "go_passive";
22820             signal:  "elm,state,unselected";
22821             source:  "elm";
22822             action:  STATE_SET "default" 0.0;
22823             target:  "bg";
22824             target:  "fg1";
22825             target:  "fg2";
22826             target:  "elm.text";
22827             transition: LINEAR 0.1;
22828          }
22829          program {
22830             name:    "go_disabled";
22831             signal:  "elm,state,disabled";
22832             source:  "elm";
22833             action:  STATE_SET "disabled" 0.0;
22834             target:  "disclip";
22835          }
22836          program {
22837             name:    "go_enabled";
22838             signal:  "elm,state,enabled";
22839             source:  "elm";
22840             action:  STATE_SET "default" 0.0;
22841             target:  "disclip";
22842          }
22843       }
22844    }
22845
22846    group { name: "elm/genlist/tree/icon_top_text_bottom/default";
22847       data.item: "stacking" "above";
22848       data.item: "selectraise" "on";
22849       data.item: "labels" "elm.text";
22850       data.item: "icons" "elm.swallow.icon";
22851       data.item: "treesize" "20";
22852 //      data.item: "states" "";
22853       images {
22854          image: "bt_sm_base1.png" COMP;
22855          image: "bt_sm_shine.png" COMP;
22856          image: "bt_sm_hilight.png" COMP;
22857          image: "ilist_1.png" COMP;
22858          image: "ilist_item_shadow.png" COMP;
22859          image: "icon_arrow_right.png" COMP;
22860          image: "icon_arrow_down.png" COMP;
22861       }
22862       parts {
22863          part {
22864             name:           "event";
22865             type:           RECT;
22866             repeat_events: 1;
22867             description {
22868                state: "default" 0.0;
22869                color: 0 0 0 0;
22870             }
22871          }
22872          part {
22873             name: "base_sh";
22874             mouse_events: 0;
22875             description {
22876                state: "default" 0.0;
22877                align: 0.0 0.0;
22878                min: 0 10;
22879                fixed: 1 1;
22880                rel1 {
22881                   to: "base";
22882                   relative: 0.0 1.0;
22883                   offset: 0 0;
22884                }
22885                rel2 {
22886                   to: "base";
22887                   relative: 1.0 1.0;
22888                   offset: -1 0;
22889                }
22890                image {
22891                   normal: "ilist_item_shadow.png";
22892                }
22893                fill.smooth: 0;
22894             }
22895          }
22896          part {
22897             name: "base";
22898             mouse_events: 0;
22899             description {
22900                state: "default" 0.0;
22901                image {
22902                   normal: "ilist_1.png";
22903                   border: 2 2 2 2;
22904                }
22905                fill.smooth: 0;
22906             }
22907          }
22908          part { name: "bg";
22909             clip_to: "disclip";
22910             mouse_events: 0;
22911             description { state: "default" 0.0;
22912                visible: 0;
22913                color: 255 255 255 0;
22914                rel1 {
22915                   relative: 0.0 0.0;
22916                   offset: -5 -5;
22917                }
22918                rel2 {
22919                   relative: 1.0 1.0;
22920                   offset: 4 4;
22921                }
22922                image {
22923                   normal: "bt_sm_base1.png";
22924                   border: 6 6 6 6;
22925                }
22926                image.middle: SOLID;
22927             }
22928             description { state: "selected" 0.0;
22929                inherit: "default" 0.0;
22930                visible: 1;
22931                color: 255 255 255 255;
22932                rel1 {
22933                   relative: 0.0 0.0;
22934                   offset: -2 -2;
22935                }
22936                rel2 {
22937                   relative: 1.0 1.0;
22938                   offset: 1 1;
22939                }
22940             }
22941          }
22942          part { name: "elm.swallow.pad";
22943             type: SWALLOW;
22944             description { state: "default" 0.0;
22945                fixed: 1 0;
22946                align: 0.0 0.5;
22947                rel1 {
22948                   relative: 0.0  0.0;
22949                   offset:   4    4;
22950                }
22951                rel2 {
22952                   relative: 0.0  1.0;
22953                   offset:   4   -5;
22954                }
22955             }
22956          }
22957          part { name: "arrow";
22958             clip_to: "disclip";
22959             ignore_flags: ON_HOLD;
22960             description { state: "default" 0.0;
22961                fixed: 1 0;
22962                align: 0.0 0.5;
22963                aspect: 1.0 1.0;
22964                rel1 {
22965                   to_x: "elm.swallow.pad";
22966                   relative: 1.0  0.0;
22967                   offset:   -1    4;
22968                }
22969                rel2 {
22970                   to_x: "elm.swallow.pad";
22971                   relative: 1.0  1.0;
22972                   offset:   -1   -5;
22973                }
22974                image.normal: "icon_arrow_right.png";
22975             }
22976             description { state: "active" 0.0;
22977                inherit: "default" 0.0;
22978                image.normal: "icon_arrow_down.png";
22979             }
22980          }
22981          part { name: "elm.swallow.icon";
22982             clip_to: "disclip";
22983             type: SWALLOW;
22984             description { state: "default" 0.0;
22985                fixed: 1 0;
22986                align: 0.5 0.5;
22987                rel1 {
22988                   to_x: "arrow";
22989                   relative: 1.0  0.0;
22990                   offset:   4    4;
22991                }
22992                rel2 {
22993                   relative: 1.0  1.0;
22994                   offset:   -4   -5;
22995                }
22996             }
22997          }
22998          part { name: "elm.text";
22999             clip_to: "disclip";
23000             type:           TEXT;
23001             effect:         SOFT_SHADOW;
23002             mouse_events:   0;
23003             scale: 1;
23004             description {
23005                state: "default" 0.0;
23006 //               min: 16 16;
23007                rel1 {
23008                   to_y:     "elm.swallow.icon";
23009                   relative: 0.0  1.0;
23010                   offset:   0 4;
23011                }
23012                rel2 {
23013                   relative: 1.0  1.0;
23014                   offset:   -5 -5;
23015                }
23016                color: 0 0 0 255;
23017                color3: 0 0 0 0;
23018                text {
23019                   font: "Sans";
23020                   size: 10;
23021                   min: 1 1;
23022 //                  min: 0 1;
23023                   align: 0.5 0.5;
23024                   text_class: "list_item";
23025                }
23026             }
23027             description { state: "selected" 0.0;
23028                inherit: "default" 0.0;
23029                color: 224 224 224 255;
23030                color3: 0 0 0 64;
23031             }
23032          }
23033          part { name: "fg1";
23034             clip_to: "disclip";
23035             mouse_events: 0;
23036             description { state: "default" 0.0;
23037                visible: 0;
23038                color: 255 255 255 0;
23039                rel1.to: "bg";
23040                rel2.relative: 1.0 0.5;
23041                rel2.to: "bg";
23042                image {
23043                   normal: "bt_sm_hilight.png";
23044                   border: 6 6 6 0;
23045                }
23046             }
23047             description { state: "selected" 0.0;
23048                inherit: "default" 0.0;
23049                visible: 1;
23050                color: 255 255 255 255;
23051             }
23052          }
23053          part { name: "fg2";
23054             clip_to: "disclip";
23055             mouse_events: 0;
23056             description { state: "default" 0.0;
23057                visible: 0;
23058                color: 255 255 255 0;
23059                rel1.to: "bg";
23060                rel2.to: "bg";
23061                image {
23062                   normal: "bt_sm_shine.png";
23063                   border: 6 6 6 0;
23064                }
23065             }
23066             description { state: "selected" 0.0;
23067                inherit: "default" 0.0;
23068                visible: 1;
23069                color: 255 255 255 255;
23070             }
23071          }
23072          part { name: "disclip";
23073             type: RECT;
23074             description { state: "default" 0.0;
23075                rel1.to: "bg";
23076                rel2.to: "bg";
23077             }
23078             description { state: "disabled" 0.0;
23079                inherit: "default" 0.0;
23080                color: 255 255 255 64;
23081             }
23082          }
23083       }
23084       programs {
23085          // signal: elm,state,%s,active
23086          //   a "check" item named %s went active
23087          // signal: elm,state,%s,passive
23088          //   a "check" item named %s went passive
23089          // default is passive
23090          program {
23091             name:    "go_active";
23092             signal:  "elm,state,selected";
23093             source:  "elm";
23094             action:  STATE_SET "selected" 0.0;
23095             target:  "bg";
23096             target:  "fg1";
23097             target:  "fg2";
23098             target:  "elm.text";
23099          }
23100          program {
23101             name:    "go_passive";
23102             signal:  "elm,state,unselected";
23103             source:  "elm";
23104             action:  STATE_SET "default" 0.0;
23105             target:  "bg";
23106             target:  "fg1";
23107             target:  "fg2";
23108             target:  "elm.text";
23109             transition: LINEAR 0.1;
23110          }
23111          program {
23112             name:    "go_disabled";
23113             signal:  "elm,state,disabled";
23114             source:  "elm";
23115             action:  STATE_SET "disabled" 0.0;
23116             target:  "disclip";
23117          }
23118          program {
23119             name:    "go_enabled";
23120             signal:  "elm,state,enabled";
23121             source:  "elm";
23122             action:  STATE_SET "default" 0.0;
23123             target:  "disclip";
23124          }
23125          program {
23126             name:    "expand";
23127             signal:  "mouse,up,1";
23128             source:  "arrow";
23129             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
23130          }
23131          program {
23132             name:    "go_expanded";
23133             signal:  "elm,state,expanded";
23134             source:  "elm";
23135             action:  STATE_SET "active" 0.0;
23136             target:  "arrow";
23137          }
23138          program {
23139             name:    "go_contracted";
23140             signal:  "elm,state,contracted";
23141             source:  "elm";
23142             action:  STATE_SET "default" 0.0;
23143             target:  "arrow";
23144          }
23145       }
23146    }
23147    group { name: "elm/genlist/tree_odd/icon_top_text_bottom/default";
23148       data.item: "stacking" "below";
23149       data.item: "selectraise" "on";
23150       data.item: "labels" "elm.text";
23151       data.item: "icons" "elm.swallow.icon";
23152       data.item: "treesize" "20";
23153 //      data.item: "states" "";
23154       images {
23155          image: "bt_sm_base1.png" COMP;
23156          image: "bt_sm_shine.png" COMP;
23157          image: "bt_sm_hilight.png" COMP;
23158          image: "ilist_2.png" COMP;
23159          image: "icon_arrow_right.png" COMP;
23160          image: "icon_arrow_down.png" COMP;
23161       }
23162       parts {
23163          part {
23164             name:           "event";
23165             type:           RECT;
23166             repeat_events: 1;
23167             description {
23168                state: "default" 0.0;
23169                color: 0 0 0 0;
23170             }
23171          }
23172          part {
23173             name: "base";
23174             mouse_events: 0;
23175             description {
23176                state: "default" 0.0;
23177                image {
23178                   normal: "ilist_2.png";
23179                   border: 2 2 2 2;
23180                }
23181                fill.smooth: 0;
23182             }
23183          }
23184          part { name: "bg";
23185             clip_to: "disclip";
23186             mouse_events: 0;
23187             description { state: "default" 0.0;
23188                visible: 0;
23189                color: 255 255 255 0;
23190                rel1 {
23191                   relative: 0.0 0.0;
23192                   offset: -5 -5;
23193                }
23194                rel2 {
23195                   relative: 1.0 1.0;
23196                   offset: 4 4;
23197                }
23198                image {
23199                   normal: "bt_sm_base1.png";
23200                   border: 6 6 6 6;
23201                }
23202                image.middle: SOLID;
23203             }
23204             description { state: "selected" 0.0;
23205                inherit: "default" 0.0;
23206                visible: 1;
23207                color: 255 255 255 255;
23208                rel1 {
23209                   relative: 0.0 0.0;
23210                   offset: -2 -2;
23211                }
23212                rel2 {
23213                   relative: 1.0 1.0;
23214                   offset: 1 1;
23215                }
23216             }
23217          }
23218          part { name: "elm.swallow.pad";
23219             type: SWALLOW;
23220             description { state: "default" 0.0;
23221                fixed: 1 0;
23222                align: 0.0 0.5;
23223                rel1 {
23224                   relative: 0.0  0.0;
23225                   offset:   4    4;
23226                }
23227                rel2 {
23228                   relative: 0.0  1.0;
23229                   offset:   4   -5;
23230                }
23231             }
23232          }
23233          part { name: "arrow";
23234             clip_to: "disclip";
23235             ignore_flags: ON_HOLD;
23236             description { state: "default" 0.0;
23237                fixed: 1 0;
23238                align: 0.0 0.5;
23239                aspect: 1.0 1.0;
23240                rel1 {
23241                   to_x: "elm.swallow.pad";
23242                   relative: 1.0  0.0;
23243                   offset:   -1    4;
23244                }
23245                rel2 {
23246                   to_x: "elm.swallow.pad";
23247                   relative: 1.0  1.0;
23248                   offset:   -1   -5;
23249                }
23250                image.normal: "icon_arrow_right.png";
23251             }
23252             description { state: "active" 0.0;
23253                inherit: "default" 0.0;
23254                image.normal: "icon_arrow_down.png";
23255             }
23256          }
23257          part { name: "elm.swallow.icon";
23258             clip_to: "disclip";
23259             type: SWALLOW;
23260             description { state: "default" 0.0;
23261                fixed: 1 0;
23262                align: 0.5 0.5;
23263                rel1 {
23264                   to_x: "arrow";
23265                   relative: 1.0  0.0;
23266                   offset:   4    4;
23267                }
23268                rel2 {
23269                   relative: 1.0  1.0;
23270                   offset:   -4   -5;
23271                }
23272             }
23273          }
23274          part { name: "elm.text";
23275             clip_to: "disclip";
23276             type:           TEXT;
23277             effect:         SOFT_SHADOW;
23278             mouse_events:   0;
23279             scale: 1;
23280             description {
23281                state: "default" 0.0;
23282 //               min: 16 16;
23283                rel1 {
23284                   to_y:     "elm.swallow.icon";
23285                   relative: 0.0  1.0;
23286                   offset:   0 4;
23287                }
23288                rel2 {
23289                   relative: 1.0  1.0;
23290                   offset:   -5 -5;
23291                }
23292                color: 0 0 0 255;
23293                color3: 0 0 0 0;
23294                text {
23295                   font: "Sans";
23296                   size: 10;
23297                   min: 1 1;
23298 //                  min: 0 1;
23299                   align: 0.5 0.5;
23300                   text_class: "list_item";
23301                }
23302             }
23303             description { state: "selected" 0.0;
23304                inherit: "default" 0.0;
23305                color: 224 224 224 255;
23306                color3: 0 0 0 64;
23307             }
23308          }
23309          part { name: "fg1";
23310             clip_to: "disclip";
23311             mouse_events: 0;
23312             description { state: "default" 0.0;
23313                visible: 0;
23314                color: 255 255 255 0;
23315                rel1.to: "bg";
23316                rel2.relative: 1.0 0.5;
23317                rel2.to: "bg";
23318                image {
23319                   normal: "bt_sm_hilight.png";
23320                   border: 6 6 6 0;
23321                }
23322             }
23323             description { state: "selected" 0.0;
23324                inherit: "default" 0.0;
23325                visible: 1;
23326                color: 255 255 255 255;
23327             }
23328          }
23329          part { name: "fg2";
23330             clip_to: "disclip";
23331             mouse_events: 0;
23332             description { state: "default" 0.0;
23333                visible: 0;
23334                color: 255 255 255 0;
23335                rel1.to: "bg";
23336                rel2.to: "bg";
23337                image {
23338                   normal: "bt_sm_shine.png";
23339                   border: 6 6 6 0;
23340                }
23341             }
23342             description { state: "selected" 0.0;
23343                inherit: "default" 0.0;
23344                visible: 1;
23345                color: 255 255 255 255;
23346             }
23347          }
23348          part { name: "disclip";
23349             type: RECT;
23350             description { state: "default" 0.0;
23351                rel1.to: "bg";
23352                rel2.to: "bg";
23353             }
23354             description { state: "disabled" 0.0;
23355                inherit: "default" 0.0;
23356                color: 255 255 255 64;
23357             }
23358          }
23359       }
23360       programs {
23361          // signal: elm,state,%s,active
23362          //   a "check" item named %s went active
23363          // signal: elm,state,%s,passive
23364          //   a "check" item named %s went passive
23365          // default is passive
23366          program {
23367             name:    "go_active";
23368             signal:  "elm,state,selected";
23369             source:  "elm";
23370             action:  STATE_SET "selected" 0.0;
23371             target:  "bg";
23372             target:  "fg1";
23373             target:  "fg2";
23374             target:  "elm.text";
23375          }
23376          program {
23377             name:    "go_passive";
23378             signal:  "elm,state,unselected";
23379             source:  "elm";
23380             action:  STATE_SET "default" 0.0;
23381             target:  "bg";
23382             target:  "fg1";
23383             target:  "fg2";
23384             target:  "elm.text";
23385             transition: LINEAR 0.1;
23386          }
23387          program {
23388             name:    "go_disabled";
23389             signal:  "elm,state,disabled";
23390             source:  "elm";
23391             action:  STATE_SET "disabled" 0.0;
23392             target:  "disclip";
23393          }
23394          program {
23395             name:    "go_enabled";
23396             signal:  "elm,state,enabled";
23397             source:  "elm";
23398             action:  STATE_SET "default" 0.0;
23399             target:  "disclip";
23400          }
23401          program {
23402             name:    "expand";
23403             signal:  "mouse,up,1";
23404             source:  "arrow";
23405             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
23406          }
23407          program {
23408             name:    "go_expanded";
23409             signal:  "elm,state,expanded";
23410             source:  "elm";
23411             action:  STATE_SET "active" 0.0;
23412             target:  "arrow";
23413          }
23414          program {
23415             name:    "go_contracted";
23416             signal:  "elm,state,contracted";
23417             source:  "elm";
23418             action:  STATE_SET "default" 0.0;
23419             target:  "arrow";
23420          }
23421       }
23422    }
23423
23424
23425 ///////////////////////////////////////////////////////////////////////////////
23426    group { name: "elm/check/base/default";
23427       images {
23428          image: "check_base.png" COMP;
23429          image: "check.png" COMP;
23430          image: "check2.png" COMP;
23431       }
23432       parts {
23433          part { name: "bg";
23434             mouse_events: 0;
23435             scale: 1;
23436             description { state: "default" 0.0;
23437                rel1.offset: 1 1;
23438                rel2.relative: 0.0 1.0;
23439                rel2.offset: 1 -2;
23440                align: 0.0 0.5;
23441                min: 16 16;
23442                max: 16 16;
23443                aspect: 1.0 1.0;
23444                aspect_preference: VERTICAL;
23445                image {
23446                   normal: "check_base.png";
23447                   border: 5 5 5 5;
23448                   middle: 0;
23449                }
23450                fill.smooth : 0;
23451             }
23452          }
23453          part { name: "check";
23454             mouse_events: 0;
23455             scale: 1;
23456             description { state: "default" 0.0;
23457                rel1 {
23458                   to: "bg";
23459                   offset: 1 1;
23460                }
23461                rel2 {
23462                   to: "bg";
23463                   offset: -2 -2;
23464                }
23465                visible: 0;
23466                color: 255 255 255 255;
23467                image.normal: "check.png";
23468             }
23469             description { state: "visible" 0.0;
23470                inherit: "default" 0.0;
23471                visible: 1;
23472             }
23473             description { state: "disabled" 0.0;
23474                inherit: "default" 0.0;
23475                visible: 0;
23476                color: 128 128 128 128;
23477             }
23478             description { state: "disabled_visible" 0.0;
23479                inherit: "default" 0.0;
23480                color: 128 128 128 128;
23481                visible: 1;
23482             }
23483          }
23484          part { name: "elm.swallow.content";
23485             type: SWALLOW;
23486             description { state: "default" 0.0;
23487                fixed: 1 0;
23488                visible: 0;
23489                align: 0.0 0.5;
23490           rel1.to_x: "bg";
23491                rel1.relative: 1.0 0.0;
23492                rel1.offset: 1 1;
23493           rel2.to_x: "bg";
23494                rel2.offset: 1 -2;
23495                rel2.relative: 1.0 1.0;
23496             }
23497             description { state: "visible" 0.0;
23498                inherit: "default" 0.0;
23499           fixed: 1 0;
23500                visible: 1;
23501                aspect: 1.0 1.0;
23502             }
23503             description { state: "disabled" 0.0;
23504                inherit: "default" 0.0;
23505                color: 128 128 128 128;
23506             }
23507             description { state: "disabled_visible" 0.0;
23508                inherit: "default" 0.0;
23509                color: 128 128 128 128;
23510           fixed: 1 0;
23511                visible: 1;
23512                aspect: 1.0 1.0;
23513             }
23514          }
23515          part { name: "elm.text";
23516             type: TEXT;
23517             mouse_events: 0;
23518             scale: 1;
23519             description { state: "default" 0.0;
23520                visible: 0;
23521                rel1.to_x: "elm.swallow.content";
23522                rel1.relative: 1.0 0.0;
23523                rel1.offset: 1 1;
23524                rel2.relative: 1.0 1.0;
23525                rel2.offset: -2 -2;
23526                color: 0 0 0 255;
23527                text {
23528                   font: "Sans,Edje-Vera";
23529                   size: 10;
23530                   min: 0 1;
23531                   align: 0.0 0.5;
23532                }
23533             }
23534             description { state: "visible" 0.0;
23535                inherit: "default" 0.0;
23536                visible: 1;
23537                text.min: 1 1;
23538             }
23539             description { state: "disabled" 0.0;
23540                inherit: "default" 0.0;
23541                color: 0 0 0 128;
23542                color3: 0 0 0 0;
23543             }
23544             description { state: "disabled_visible" 0.0;
23545                inherit: "default" 0.0;
23546                color: 0 0 0 128;
23547                color3: 0 0 0 0;
23548                visible: 1;
23549                text.min: 1 1;
23550             }
23551          }
23552          part { name: "events";
23553             type: RECT;
23554             ignore_flags: ON_HOLD;
23555             description { state: "default" 0.0;
23556                color: 0 0 0 0;
23557             }
23558          }
23559           part { name: "disabler";
23560             type: RECT;
23561             description { state: "default" 0.0;
23562                color: 0 0 0 0;
23563                visible: 0;
23564             }
23565             description { state: "disabled" 0.0;
23566                inherit: "default" 0.0;
23567                visible: 1;
23568             }
23569          }
23570       }
23571       programs {
23572          program { name: "click";
23573             signal: "mouse,up,1";
23574             source: "events";
23575             action: SIGNAL_EMIT "elm,action,check,toggle" "";
23576          }
23577          program { name: "check_on";
23578             signal: "elm,state,check,on";
23579             source: "elm";
23580             action:  STATE_SET "visible" 0.0;
23581             target: "check";
23582          }
23583          program { name: "check_off";
23584             signal: "elm,state,check,off";
23585             source: "elm";
23586             action:  STATE_SET "default" 0.0;
23587             target: "check";
23588          }
23589          program { name: "text_show";
23590             signal: "elm,state,text,visible";
23591             source: "elm";
23592             action:  STATE_SET "visible" 0.0;
23593             target: "elm.text";
23594          }
23595          program { name: "text_hide";
23596             signal: "elm,state,text,hidden";
23597             source: "elm";
23598             action:  STATE_SET "default" 0.0;
23599             target: "elm.text";
23600          }
23601          program { name: "icon_show";
23602             signal: "elm,state,icon,visible";
23603             source: "elm";
23604             action:  STATE_SET "visible" 0.0;
23605             target: "elm.swallow.content";
23606          }
23607          program { name: "icon_hide";
23608             signal: "elm,state,icon,hidden";
23609             source: "elm";
23610             action:  STATE_SET "default" 0.0;
23611             target: "elm.swallow.content";
23612          }
23613          program { name: "disable";
23614             signal: "elm,state,disabled";
23615             source: "elm";
23616             action: STATE_SET "disabled" 0.0;
23617             target: "disabler";
23618             after: "disable_text";
23619          }
23620          program { name: "disable_text";
23621             script {
23622                new st[31];
23623                new Float:vl;
23624                get_state(PART:"elm.text", st, 30, vl);
23625                if (!strcmp(st, "visible"))
23626                  set_state(PART:"elm.text", "disabled_visible", 0.0);
23627                else
23628                  set_state(PART:"elm.text", "disabled", 0.0);
23629
23630                get_state(PART:"elm.swallow.content", st, 30, vl);
23631                if (!strcmp(st, "visible"))
23632                  set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
23633                else
23634                  set_state(PART:"elm.swallow.content", "disabled", 0.0);
23635
23636                get_state(PART:"check", st, 30, vl);
23637                if (!strcmp(st, "visible"))
23638                  set_state(PART:"check", "disabled_visible", 0.0);
23639                else
23640                  set_state(PART:"check", "disabled", 0.0);
23641             }
23642          }
23643          program { name: "enable";
23644             signal: "elm,state,enabled";
23645             source: "elm";
23646             action: STATE_SET "default" 0.0;
23647             target: "disabler";
23648             after: "enable_text";
23649          }
23650          program { name: "enable_text";
23651             script {
23652                new st[31];
23653                new Float:vl;
23654                get_state(PART:"elm.text", st, 30, vl);
23655                if (!strcmp(st, "disabled_visible"))
23656                  set_state(PART:"elm.text", "visible", 0.0);
23657                else
23658                  set_state(PART:"elm.text", "default", 0.0);
23659
23660                get_state(PART:"elm.swallow.content", st, 30, vl);
23661                if (!strcmp(st, "visible"))
23662                  set_state(PART:"elm.swallow.content", "visible", 0.0);
23663                else
23664                  set_state(PART:"elm.swallow.content", "default", 0.0);
23665
23666                get_state(PART:"check", st, 30, vl);
23667                if (!strcmp(st, "visible"))
23668                  set_state(PART:"check", "visible", 0.0);
23669                else
23670                  set_state(PART:"check", "default", 0.0);
23671             }
23672          }
23673       }
23674    }
23675 ///////////////////////////////////////////////////////////////////////////////
23676    group { name: "elm/radio/base/default";
23677       images {
23678          image: "radio_base.png" COMP;
23679          image: "radio.png" COMP;
23680          image: "radio2.png" COMP;
23681       }
23682       parts {
23683          part { name: "bg";
23684             mouse_events: 0;
23685             scale: 1;
23686             description { state: "default" 0.0;
23687                rel1.offset: 1 1;
23688                rel2.relative: 0.0 1.0;
23689                rel2.offset: 1 -2;
23690                align: 0.0 0.5;
23691                min: 16 16;
23692                max: 16 16;
23693                aspect: 1.0 1.0;
23694                aspect_preference: VERTICAL;
23695                image.normal: "radio_base.png";
23696             }
23697          }
23698          part { name: "radio";
23699             mouse_events: 0;
23700             scale: 1;
23701             description { state: "default" 0.0;
23702                rel1.to: "bg";
23703                rel2.to: "bg";
23704                visible: 0;
23705                image.normal: "radio.png";
23706             }
23707             description { state: "visible" 0.0;
23708                inherit: "default" 0.0;
23709                visible: 1;
23710             }
23711          }
23712          part { name: "elm.swallow.content";
23713             type: SWALLOW;
23714             description { state: "default" 0.0;
23715                fixed: 1 0;
23716                visible: 0;
23717                align: 0.0 0.5;
23718                color: 0 0 0 0;
23719                rel1.to_x: "bg";
23720                rel1.relative: 1.0 0.0;
23721                rel1.offset: 1 1;
23722                rel2.to_x: "bg";
23723                rel2.relative: 1.0 1.0;
23724                rel2.offset: 2 -2;
23725             }
23726             description { state: "visible" 0.0;
23727                inherit: "default" 0.0;
23728                visible: 1;
23729                color: 255 255 255 255;
23730                aspect: 1.0 1.0;
23731             }
23732             description { state: "disabled" 0.0;
23733                inherit: "default" 0.0;
23734                color: 128 128 128 128;
23735             }
23736             description { state: "disabled_visible" 0.0;
23737                inherit: "default" 0.0;
23738                color: 128 128 128 128;
23739                visible: 1;
23740                aspect: 1.0 1.0;
23741             }
23742          }
23743          part { name: "elm.text";
23744             type: TEXT;
23745             mouse_events: 0;
23746             scale: 1;
23747             description { state: "default" 0.0;
23748                visible: 0;
23749                rel1.to_x: "elm.swallow.content";
23750                rel1.relative: 1.0 0.0;
23751                rel1.offset: 1 1;
23752                rel2.relative: 1.0 1.0;
23753                rel2.offset: -2 -2;
23754                color: 0 0 0 255;
23755                text {
23756                   font: "Sans,Edje-Vera";
23757                   size: 10;
23758                   min: 0 0;
23759                   align: 0.0 0.5;
23760                }
23761             }
23762             description { state: "visible" 0.0;
23763                inherit: "default" 0.0;
23764                visible: 1;
23765                text.min: 1 1;
23766             }
23767             description { state: "disabled" 0.0;
23768                inherit: "default" 0.0;
23769                color: 0 0 0 128;
23770                color3: 0 0 0 0;
23771             }
23772             description { state: "disabled_visible" 0.0;
23773                inherit: "default" 0.0;
23774                color: 0 0 0 128;
23775                color3: 0 0 0 0;
23776                visible: 1;
23777                text.min: 1 1;
23778             }
23779          }
23780          part { name: "events";
23781             type: RECT;
23782             ignore_flags: ON_HOLD;
23783             description { state: "default" 0.0;
23784                color: 0 0 0 0;
23785             }
23786          }
23787           part { name: "disabler";
23788             type: RECT;
23789             description { state: "default" 0.0;
23790                color: 0 0 0 0;
23791                visible: 0;
23792             }
23793             description { state: "disabled" 0.0;
23794                inherit: "default" 0.0;
23795                visible: 1;
23796             }
23797          }
23798       }
23799       programs {
23800          program { name: "click";
23801             signal: "mouse,up,1";
23802             source: "events";
23803             action: SIGNAL_EMIT "elm,action,radio,toggle" "";
23804          }
23805          program { name: "radio_on";
23806             signal: "elm,state,radio,on";
23807             source: "elm";
23808             action:  STATE_SET "visible" 0.0;
23809             target: "radio";
23810          }
23811          program { name: "radio_off";
23812             signal: "elm,state,radio,off";
23813             source: "elm";
23814             action:  STATE_SET "default" 0.0;
23815             target: "radio";
23816          }
23817          program { name: "text_show";
23818             signal: "elm,state,text,visible";
23819             source: "elm";
23820             action:  STATE_SET "visible" 0.0;
23821             target: "elm.text";
23822          }
23823          program { name: "text_hide";
23824             signal: "elm,state,text,hidden";
23825             source: "elm";
23826             action:  STATE_SET "default" 0.0;
23827             target: "elm.text";
23828          }
23829          program { name: "icon_show";
23830             signal: "elm,state,icon,visible";
23831             source: "elm";
23832             action:  STATE_SET "visible" 0.0;
23833             target: "elm.swallow.content";
23834          }
23835          program { name: "icon_hide";
23836             signal: "elm,state,icon,hidden";
23837             source: "elm";
23838             action:  STATE_SET "default" 0.0;
23839             target: "elm.swallow.content";
23840          }
23841          program { name: "disable";
23842             signal: "elm,state,disabled";
23843             source: "elm";
23844             action: STATE_SET "disabled" 0.0;
23845             target: "disabler";
23846             after: "disable_text";
23847          }
23848          program { name: "disable_text";
23849             script {
23850                new st[31];
23851                new Float:vl;
23852                get_state(PART:"elm.text", st, 30, vl);
23853                if (!strcmp(st, "visible"))
23854                  set_state(PART:"elm.text", "disabled_visible", 0.0);
23855                else
23856                  set_state(PART:"elm.text", "disabled", 0.0);
23857
23858                get_state(PART:"elm.swallow.content", st, 30, vl);
23859                if (!strcmp(st, "visible"))
23860                  set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
23861                else
23862                  set_state(PART:"elm.swallow.content", "disabled", 0.0);
23863             }
23864          }
23865          program { name: "enable";
23866             signal: "elm,state,enabled";
23867             source: "elm";
23868             action: STATE_SET "default" 0.0;
23869             target: "disabler";
23870             after: "enable_text";
23871          }
23872          program { name: "enable_text";
23873             script {
23874                new st[31];
23875                new Float:vl;
23876                get_state(PART:"elm.text", st, 30, vl);
23877                if (!strcmp(st, "disabled_visible"))
23878                  set_state(PART:"elm.text", "visible", 0.0);
23879                else
23880                  set_state(PART:"elm.text", "default", 0.0);
23881
23882                get_state(PART:"elm.swallow.content", st, 30, vl);
23883                if (!strcmp(st, "visible"))
23884                  set_state(PART:"elm.swallow.content", "visible", 0.0);
23885                else
23886                  set_state(PART:"elm.swallow.content", "default", 0.0);
23887             }
23888          }
23889       }
23890    }
23891    group { name: "elm/genlist/tree_compress_odd/double_label/default";
23892       data.item: "stacking" "below";
23893       data.item: "selectraise" "on";
23894       data.item: "labels" "elm.text elm.text.sub";
23895       data.item: "icons" "elm.swallow.icon elm.swallow.end";
23896       data.item: "treesize" "20";
23897 //      data.item: "states" "";
23898       images {
23899          image: "bt_sm_base1.png" COMP;
23900          image: "bt_sm_shine.png" COMP;
23901          image: "bt_sm_hilight.png" COMP;
23902          image: "ilist_2.png" COMP;
23903          image: "icon_arrow_right.png" COMP;
23904          image: "icon_arrow_down.png" COMP;
23905       }
23906       parts {
23907          part {
23908             name:           "event";
23909             type:           RECT;
23910             repeat_events: 1;
23911             description {
23912                state: "default" 0.0;
23913                color: 0 0 0 0;
23914             }
23915          }
23916          part {
23917             name: "base";
23918             mouse_events: 0;
23919             description {
23920                state: "default" 0.0;
23921                image {
23922                   normal: "ilist_2.png";
23923                   border: 2 2 2 2;
23924                }
23925                fill.smooth: 0;
23926             }
23927          }
23928          part { name: "bg";
23929             clip_to: "disclip";
23930             mouse_events: 0;
23931             description { state: "default" 0.0;
23932                visible: 0;
23933                color: 255 255 255 0;
23934                rel1 {
23935                   relative: 0.0 0.0;
23936                   offset: -5 -5;
23937                }
23938                rel2 {
23939                   relative: 1.0 1.0;
23940                   offset: 4 4;
23941                }
23942                image {
23943                   normal: "bt_sm_base1.png";
23944                   border: 6 6 6 6;
23945                }
23946                image.middle: SOLID;
23947             }
23948             description { state: "selected" 0.0;
23949                inherit: "default" 0.0;
23950                visible: 1;
23951                color: 255 255 255 255;
23952                rel1 {
23953                   relative: 0.0 0.0;
23954                   offset: -2 -2;
23955                }
23956                rel2 {
23957                   relative: 1.0 1.0;
23958                   offset: 1 1;
23959                }
23960             }
23961          }
23962          part { name: "elm.swallow.pad";
23963             type: SWALLOW;
23964             description { state: "default" 0.0;
23965                fixed: 1 0;
23966                align: 0.0 0.5;
23967                rel1 {
23968                   relative: 0.0  0.0;
23969                   offset:   4    4;
23970                }
23971                rel2 {
23972                   relative: 0.0  1.0;
23973                   offset:   4   -5;
23974                }
23975             }
23976          }
23977          part { name: "arrow";
23978             clip_to: "disclip";
23979             ignore_flags: ON_HOLD;
23980             description { state: "default" 0.0;
23981                fixed: 1 0;
23982                align: 0.0 0.5;
23983                aspect: 1.0 1.0;
23984                rel1 {
23985                   to_x: "elm.swallow.pad";
23986                   relative: 1.0  0.0;
23987                   offset:   -1    4;
23988                }
23989                rel2 {
23990                   to_x: "elm.swallow.pad";
23991                   relative: 1.0  1.0;
23992                   offset:   -1   -5;
23993                }
23994                image.normal: "icon_arrow_right.png";
23995             }
23996             description { state: "active" 0.0;
23997                inherit: "default" 0.0;
23998                image.normal: "icon_arrow_down.png";
23999             }
24000          }
24001          part { name: "elm.swallow.icon";
24002             clip_to: "disclip";
24003             type: SWALLOW;
24004             description { state: "default" 0.0;
24005                fixed: 1 0;
24006                align: 0.0 0.5;
24007                rel1 {
24008                   to_x: "arrow";
24009                   relative: 1.0  0.0;
24010                   offset:   4    4;
24011                }
24012                rel2 {
24013                   to_x: "arrow";
24014                   relative: 1.0  1.0;
24015                   offset:   4   -5;
24016                }
24017             }
24018          }
24019          part { name: "elm.swallow.end";
24020             clip_to: "disclip";
24021             type: SWALLOW;
24022             description { state: "default" 0.0;
24023                fixed: 1 0;
24024                align: 1.0 0.5;
24025                aspect: 1.0 1.0;
24026                aspect_preference: VERTICAL;
24027                rel1 {
24028                   relative: 1.0  0.0;
24029                   offset:   -5    4;
24030                }
24031                rel2 {
24032                   relative: 1.0  1.0;
24033                   offset:   -5   -5;
24034                }
24035             }
24036          }
24037          part { name: "elm.text";
24038             clip_to: "disclip";
24039             type:           TEXT;
24040             effect:         SOFT_SHADOW;
24041             mouse_events:   0;
24042             scale: 1;
24043             description {
24044                state: "default" 0.0;
24045 //               min: 16 16;
24046                rel1 {
24047                   to_x:     "elm.swallow.icon";
24048                   relative: 1.0  0.0;
24049                   offset:   0 4;
24050                }
24051                rel2 {
24052                   to_x:     "elm.swallow.end";
24053                   relative: 0.0  0.5;
24054                   offset:   -1 -5;
24055                }
24056                color: 0 0 0 255;
24057                color3: 0 0 0 0;
24058                text {
24059                   font: "Sans";
24060                   size: 10;
24061 //                  min: 1 1;
24062                   min: 0 1;
24063                   align: 0.0 0.5;
24064                   text_class: "list_item";
24065                }
24066             }
24067             description { state: "selected" 0.0;
24068                inherit: "default" 0.0;
24069                color: 224 224 224 255;
24070                color3: 0 0 0 64;
24071             }
24072          }
24073          part { name: "elm.text.sub";
24074             clip_to: "disclip";
24075             type:           TEXT;
24076             mouse_events:   0;
24077             scale: 1;
24078             description {
24079                state: "default" 0.0;
24080 //               min: 16 16;
24081                rel1 {
24082                   to_x:     "elm.swallow.icon";
24083                   relative: 1.0  0.5;
24084                   offset:   0 4;
24085                }
24086                rel2 {
24087                   to_x:     "elm.swallow.end";
24088                   relative: 0.0  1.0;
24089                   offset:   -1 -5;
24090                }
24091                color: 0 0 0 128;
24092                color3: 0 0 0 0;
24093                text {
24094                   font: "Sans";
24095                   size: 8;
24096 //                  min: 1 1;
24097                   min: 0 1;
24098                   align: 0.0 0.5;
24099                   text_class: "list_item";
24100                }
24101             }
24102             description { state: "selected" 0.0;
24103                inherit: "default" 0.0;
24104                color: 128 128 128 255;
24105                color3: 0 0 0 32;
24106             }
24107          }
24108          part { name: "fg1";
24109             clip_to: "disclip";
24110             mouse_events: 0;
24111             description { state: "default" 0.0;
24112                visible: 0;
24113                color: 255 255 255 0;
24114                rel1.to: "bg";
24115                rel2.relative: 1.0 0.5;
24116                rel2.to: "bg";
24117                image {
24118                   normal: "bt_sm_hilight.png";
24119                   border: 6 6 6 0;
24120                }
24121             }
24122             description { state: "selected" 0.0;
24123                inherit: "default" 0.0;
24124                visible: 1;
24125                color: 255 255 255 255;
24126             }
24127          }
24128          part { name: "fg2";
24129             clip_to: "disclip";
24130             mouse_events: 0;
24131             description { state: "default" 0.0;
24132                visible: 0;
24133                color: 255 255 255 0;
24134                rel1.to: "bg";
24135                rel2.to: "bg";
24136                image {
24137                   normal: "bt_sm_shine.png";
24138                   border: 6 6 6 0;
24139                }
24140             }
24141             description { state: "selected" 0.0;
24142                inherit: "default" 0.0;
24143                visible: 1;
24144                color: 255 255 255 255;
24145             }
24146          }
24147          part { name: "disclip";
24148             type: RECT;
24149             description { state: "default" 0.0;
24150                rel1.to: "bg";
24151                rel2.to: "bg";
24152             }
24153             description { state: "disabled" 0.0;
24154                inherit: "default" 0.0;
24155                color: 255 255 255 64;
24156             }
24157          }
24158       }
24159       programs {
24160          // signal: elm,state,%s,active
24161          //   a "check" item named %s went active
24162          // signal: elm,state,%s,passive
24163          //   a "check" item named %s went passive
24164          // default is passive
24165          program {
24166             name:    "go_active";
24167             signal:  "elm,state,selected";
24168             source:  "elm";
24169             action:  STATE_SET "selected" 0.0;
24170             target:  "bg";
24171             target:  "fg1";
24172             target:  "fg2";
24173             target:  "elm.text";
24174             target:  "elm.text.sub";
24175          }
24176          program {
24177             name:    "go_passive";
24178             signal:  "elm,state,unselected";
24179             source:  "elm";
24180             action:  STATE_SET "default" 0.0;
24181             target:  "bg";
24182             target:  "fg1";
24183             target:  "fg2";
24184             target:  "elm.text";
24185             target:  "elm.text.sub";
24186             transition: LINEAR 0.1;
24187          }
24188          program {
24189             name:    "go_disabled";
24190             signal:  "elm,state,disabled";
24191             source:  "elm";
24192             action:  STATE_SET "disabled" 0.0;
24193             target:  "disclip";
24194          }
24195          program {
24196             name:    "go_enabled";
24197             signal:  "elm,state,enabled";
24198             source:  "elm";
24199             action:  STATE_SET "default" 0.0;
24200             target:  "disclip";
24201          }
24202          program {
24203             name:    "expand";
24204             signal:  "mouse,up,1";
24205             source:  "arrow";
24206             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
24207          }
24208          program {
24209             name:    "go_expanded";
24210             signal:  "elm,state,expanded";
24211             source:  "elm";
24212             action:  STATE_SET "active" 0.0;
24213             target:  "arrow";
24214          }
24215          program {
24216             name:    "go_contracted";
24217             signal:  "elm,state,contracted";
24218             source:  "elm";
24219             action:  STATE_SET "default" 0.0;
24220             target:  "arrow";
24221          }
24222       }
24223    }
24224
24225    group { name: "elm/genlist/item_compress/media/default";
24226       data.item: "stacking" "above";
24227       data.item: "selectraise" "on";
24228       data.item: "labels" "elm.text.title elm.text.album-artist";
24229       data.item: "treesize" "20";
24230       images {
24231          image: "bt_sm_base1.png" COMP;
24232          image: "bt_sm_shine.png" COMP;
24233          image: "bt_sm_hilight.png" COMP;
24234          image: "ilist_1.png" COMP;
24235          image: "ilist_item_shadow.png" COMP;
24236       }
24237       parts {
24238          part {
24239             name:           "event";
24240             type:           RECT;
24241             repeat_events: 1;
24242             description {
24243                state: "default" 0.0;
24244                color: 0 0 0 0;
24245             }
24246          }
24247          part {
24248             name: "base_sh";
24249             mouse_events: 0;
24250             description {
24251                state: "default" 0.0;
24252                align: 0.0 0.0;
24253                min: 0 10;
24254                fixed: 1 1;
24255                rel1 {
24256                   to: "base";
24257                   relative: 0.0 1.0;
24258                   offset: 0 0;
24259                }
24260                rel2 {
24261                   to: "base";
24262                   relative: 1.0 1.0;
24263                   offset: -1 0;
24264                }
24265                image {
24266                   normal: "ilist_item_shadow.png";
24267                }
24268                fill.smooth: 0;
24269             }
24270          }
24271          part {
24272             name: "base";
24273             mouse_events: 0;
24274             description {
24275                state: "default" 0.0;
24276                image {
24277                   normal: "ilist_1.png";
24278                   border: 2 2 2 2;
24279                }
24280                fill.smooth: 0;
24281             }
24282          }
24283          part { name: "bg";
24284             clip_to: "disclip";
24285             mouse_events: 0;
24286             description { state: "default" 0.0;
24287                visible: 0;
24288                color: 255 255 255 0;
24289                rel1 {
24290                   relative: 0.0 0.0;
24291                   offset: -5 -5;
24292                }
24293                rel2 {
24294                   relative: 1.0 1.0;
24295                   offset: 4 4;
24296                }
24297                image {
24298                   normal: "bt_sm_base1.png";
24299                   border: 6 6 6 6;
24300                }
24301                image.middle: SOLID;
24302             }
24303             description { state: "selected" 0.0;
24304                inherit: "default" 0.0;
24305                visible: 1;
24306                color: 255 255 255 255;
24307                rel1 {
24308                   relative: 0.0 0.0;
24309                   offset: -2 -2;
24310                }
24311                rel2 {
24312                   relative: 1.0 1.0;
24313                   offset: 1 1;
24314                }
24315             }
24316          }
24317          part { name: "elm.swallow.pad";
24318             type: SWALLOW;
24319             description { state: "default" 0.0;
24320                fixed: 1 0;
24321                align: 0.0 0.5;
24322                rel1 {
24323                   relative: 0.0  0.0;
24324                   offset:   4    4;
24325                }
24326                rel2 {
24327                   relative: 0.0  1.0;
24328                   offset:   4   -5;
24329                }
24330             }
24331          }
24332          part { name: "elm.text.title";
24333             clip_to: "disclip";
24334             type:           TEXT;
24335             effect:         SOFT_SHADOW;
24336             mouse_events:   0;
24337             scale: 1;
24338             description {
24339                state: "default" 0.0;
24340                rel1 {
24341                   relative: 0.0  0.0;
24342                   offset:   4 4;
24343                }
24344                rel2 {
24345                   relative: 1.0  0.5;
24346                   offset:   -1 -5;
24347                }
24348                color: 0 0 0 255;
24349                color3: 0 0 0 0;
24350                text {
24351                   font: "Sans";
24352                   size: 10;
24353                   min: 0 1;
24354                   align: 0.0 0.5;
24355                }
24356             }
24357             description { state: "selected" 0.0;
24358                inherit: "default" 0.0;
24359                color: 224 224 224 255;
24360                color3: 0 0 0 64;
24361             }
24362          }
24363          part { name: "elm.text.album-artist";
24364             clip_to: "disclip";
24365             type:           TEXT;
24366             mouse_events:   0;
24367             scale: 1;
24368             description {
24369                state: "default" 0.0;
24370                rel1 {
24371                   relative: 0.0  0.5;
24372                   offset:   4 4;
24373                }
24374                rel2 {
24375                   relative: 1.0  1.0;
24376                   offset:   -1 -5;
24377                }
24378                color: 0 0 0 128;
24379                color3: 0 0 0 0;
24380                text {
24381                   font: "Sans";
24382                   size: 8;
24383                   min: 0 1;
24384                   align: 0.0 0.5;
24385                }
24386             }
24387             description { state: "selected" 0.0;
24388                inherit: "default" 0.0;
24389                color: 128 128 128 255;
24390                color3: 0 0 0 32;
24391             }
24392          }
24393          part { name: "fg1";
24394             clip_to: "disclip";
24395             mouse_events: 0;
24396             description { state: "default" 0.0;
24397                visible: 0;
24398                color: 255 255 255 0;
24399                rel1.to: "bg";
24400                rel2.relative: 1.0 0.5;
24401                rel2.to: "bg";
24402                image {
24403                   normal: "bt_sm_hilight.png";
24404                   border: 6 6 6 0;
24405                }
24406             }
24407             description { state: "selected" 0.0;
24408                inherit: "default" 0.0;
24409                visible: 1;
24410                color: 255 255 255 255;
24411             }
24412          }
24413          part { name: "fg2";
24414             clip_to: "disclip";
24415             mouse_events: 0;
24416             description { state: "default" 0.0;
24417                visible: 0;
24418                color: 255 255 255 0;
24419                rel1.to: "bg";
24420                rel2.to: "bg";
24421                image {
24422                   normal: "bt_sm_shine.png";
24423                   border: 6 6 6 0;
24424                }
24425             }
24426             description { state: "selected" 0.0;
24427                inherit: "default" 0.0;
24428                visible: 1;
24429                color: 255 255 255 255;
24430             }
24431          }
24432          part { name: "disclip";
24433             type: RECT;
24434             description { state: "default" 0.0;
24435                rel1.to: "bg";
24436                rel2.to: "bg";
24437             }
24438             description { state: "disabled" 0.0;
24439                inherit: "default" 0.0;
24440                color: 255 255 255 64;
24441             }
24442          }
24443       }
24444       programs {
24445          // signal: elm,state,%s,active
24446          //   a "check" item named %s went active
24447          // signal: elm,state,%s,passive
24448          //   a "check" item named %s went passive
24449          // default is passive
24450          program {
24451             name:    "go_active";
24452             signal:  "elm,state,selected";
24453             source:  "elm";
24454             action:  STATE_SET "selected" 0.0;
24455             target:  "bg";
24456             target:  "fg1";
24457             target:  "fg2";
24458             target:  "elm.text.title";
24459             target:  "elm.text.album-artist";
24460          }
24461          program {
24462             name:    "go_passive";
24463             signal:  "elm,state,unselected";
24464             source:  "elm";
24465             action:  STATE_SET "default" 0.0;
24466             target:  "bg";
24467             target:  "fg1";
24468             target:  "fg2";
24469             target:  "elm.text.title";
24470             target:  "elm.text.album-artist";
24471             transition: LINEAR 0.1;
24472          }
24473          program {
24474             name:    "go_disabled";
24475             signal:  "elm,state,disabled";
24476             source:  "elm";
24477             action:  STATE_SET "disabled" 0.0;
24478             target:  "disclip";
24479          }
24480          program {
24481             name:    "go_enabled";
24482             signal:  "elm,state,enabled";
24483             source:  "elm";
24484             action:  STATE_SET "default" 0.0;
24485             target:  "disclip";
24486          }
24487       }
24488    }
24489    group { name: "elm/genlist/item_compress_odd/media/default";
24490       data.item: "stacking" "below";
24491       data.item: "selectraise" "on";
24492       data.item: "labels" "elm.text.title elm.text.album-artist";
24493       data.item: "treesize" "20";
24494       images {
24495          image: "bt_sm_base1.png" COMP;
24496          image: "bt_sm_shine.png" COMP;
24497          image: "bt_sm_hilight.png" COMP;
24498          image: "ilist_2.png" COMP;
24499       }
24500       parts {
24501          part { name: "event";
24502             type: RECT;
24503             repeat_events: 1;
24504             description {
24505                state: "default" 0.0;
24506                color: 0 0 0 0;
24507             }
24508          }
24509          part {
24510             name: "base";
24511             mouse_events: 0;
24512             description {
24513                state: "default" 0.0;
24514                image {
24515                   normal: "ilist_2.png";
24516                   border: 2 2 2 2;
24517                }
24518                fill.smooth: 0;
24519             }
24520          }
24521          part { name: "bg";
24522             clip_to: "disclip";
24523             mouse_events: 0;
24524             description { state: "default" 0.0;
24525                visible: 0;
24526                color: 255 255 255 0;
24527                rel1 {
24528                   relative: 0.0 0.0;
24529                   offset: -5 -5;
24530                }
24531                rel2 {
24532                   relative: 1.0 1.0;
24533                   offset: 4 4;
24534                }
24535                image {
24536                   normal: "bt_sm_base1.png";
24537                   border: 6 6 6 6;
24538                }
24539                image.middle: SOLID;
24540             }
24541             description { state: "selected" 0.0;
24542                inherit: "default" 0.0;
24543                visible: 1;
24544                color: 255 255 255 255;
24545                rel1 {
24546                   relative: 0.0 0.0;
24547                   offset: -2 -2;
24548                }
24549                rel2 {
24550                   relative: 1.0 1.0;
24551                   offset: 1 1;
24552                }
24553             }
24554          }
24555          part { name: "elm.swallow.pad";
24556             type: SWALLOW;
24557             description { state: "default" 0.0;
24558                fixed: 1 0;
24559                align: 0.0 0.5;
24560                rel1 {
24561                   relative: 0.0  0.0;
24562                   offset:   4    4;
24563                }
24564                rel2 {
24565                   relative: 0.0  1.0;
24566                   offset:   4   -5;
24567                }
24568             }
24569          }
24570          part { name: "elm.text.title";
24571             clip_to: "disclip";
24572             type:           TEXT;
24573             effect:         SOFT_SHADOW;
24574             mouse_events:   0;
24575             scale: 1;
24576             description {
24577                state: "default" 0.0;
24578                rel1 {
24579                   relative: 0.0  0.0;
24580                   offset:   4 4;
24581                }
24582                rel2 {
24583                   relative: 1.0  0.5;
24584                   offset:   -1 -5;
24585                }
24586                color: 0 0 0 255;
24587                color3: 0 0 0 0;
24588                text {
24589                   font: "Sans";
24590                   size: 10;
24591                   min: 0 1;
24592                   align: 0.0 0.5;
24593                }
24594             }
24595             description { state: "selected" 0.0;
24596                inherit: "default" 0.0;
24597                color: 224 224 224 255;
24598                color3: 0 0 0 64;
24599             }
24600          }
24601          part { name: "elm.text.album-artist";
24602             clip_to: "disclip";
24603             type:           TEXT;
24604             mouse_events:   0;
24605             scale: 1;
24606             description {
24607                state: "default" 0.0;
24608                rel1 {
24609                   relative: 0.0  0.5;
24610                   offset:   4 4;
24611                }
24612                rel2 {
24613                   relative: 1.0  1.0;
24614                   offset:   -1 -5;
24615                }
24616                color: 0 0 0 128;
24617                color3: 0 0 0 0;
24618                text {
24619                   font: "Sans";
24620                   size: 8;
24621                   min: 0 1;
24622                   align: 0.0 0.5;
24623                }
24624             }
24625             description { state: "selected" 0.0;
24626                inherit: "default" 0.0;
24627                color: 128 128 128 255;
24628                color3: 0 0 0 32;
24629             }
24630          }
24631          part { name: "fg1";
24632             clip_to: "disclip";
24633             mouse_events: 0;
24634             description { state: "default" 0.0;
24635                visible: 0;
24636                color: 255 255 255 0;
24637                rel1.to: "bg";
24638                rel2.relative: 1.0 0.5;
24639                rel2.to: "bg";
24640                image {
24641                   normal: "bt_sm_hilight.png";
24642                   border: 6 6 6 0;
24643                }
24644             }
24645             description { state: "selected" 0.0;
24646                inherit: "default" 0.0;
24647                visible: 1;
24648                color: 255 255 255 255;
24649             }
24650          }
24651          part { name: "fg2";
24652             clip_to: "disclip";
24653             mouse_events: 0;
24654             description { state: "default" 0.0;
24655                visible: 0;
24656                color: 255 255 255 0;
24657                rel1.to: "bg";
24658                rel2.to: "bg";
24659                image {
24660                   normal: "bt_sm_shine.png";
24661                   border: 6 6 6 0;
24662                }
24663             }
24664             description { state: "selected" 0.0;
24665                inherit: "default" 0.0;
24666                visible: 1;
24667                color: 255 255 255 255;
24668             }
24669          }
24670          part { name: "disclip";
24671             type: RECT;
24672             description { state: "default" 0.0;
24673                rel1.to: "bg";
24674                rel2.to: "bg";
24675             }
24676             description { state: "disabled" 0.0;
24677                inherit: "default" 0.0;
24678                color: 255 255 255 64;
24679             }
24680          }
24681       }
24682       programs {
24683          // signal: elm,state,%s,active
24684          //   a "check" item named %s went active
24685          // signal: elm,state,%s,passive
24686          //   a "check" item named %s went passive
24687          // default is passive
24688          program {
24689             name:    "go_active";
24690             signal:  "elm,state,selected";
24691             source:  "elm";
24692             action:  STATE_SET "selected" 0.0;
24693             target:  "bg";
24694             target:  "fg1";
24695             target:  "fg2";
24696             target:  "elm.text.title";
24697             target:  "elm.text.album-artist";
24698          }
24699          program {
24700             name:    "go_passive";
24701             signal:  "elm,state,unselected";
24702             source:  "elm";
24703             action:  STATE_SET "default" 0.0;
24704             target:  "bg";
24705             target:  "fg1";
24706             target:  "fg2";
24707             target:  "elm.text.title";
24708             target:  "elm.text.album-artist";
24709             transition: LINEAR 0.1;
24710          }
24711          program {
24712             name:    "go_disabled";
24713             signal:  "elm,state,disabled";
24714             source:  "elm";
24715             action:  STATE_SET "disabled" 0.0;
24716             target:  "disclip";
24717          }
24718          program {
24719             name:    "go_enabled";
24720             signal:  "elm,state,enabled";
24721             source:  "elm";
24722             action:  STATE_SET "default" 0.0;
24723             target:  "disclip";
24724          }
24725       }
24726    }
24727
24728    group { name: "elm/genlist/item_compress/media-album/default";
24729       data.item: "stacking" "above";
24730       data.item: "selectraise" "on";
24731       data.item: "labels" "elm.text.title elm.text.trackno elm.text.length";
24732       data.item: "states" "elm.state.trackno";
24733       data.item: "treesize" "20";
24734       images {
24735          image: "bt_sm_base1.png" COMP;
24736          image: "bt_sm_shine.png" COMP;
24737          image: "bt_sm_hilight.png" COMP;
24738          image: "ilist_1.png" COMP;
24739          image: "ilist_item_shadow.png" COMP;
24740       }
24741       script {
24742          public dot_visible;
24743       }
24744       parts {
24745          part {
24746             name: "event";
24747             type: RECT;
24748             repeat_events: 1;
24749             description {
24750                state: "default" 0.0;
24751                color: 0 0 0 0;
24752             }
24753          }
24754          part {
24755             name: "base_sh";
24756             mouse_events: 0;
24757             description {
24758                state: "default" 0.0;
24759                align: 0.0 0.0;
24760                min: 0 10;
24761                fixed: 1 1;
24762                rel1 {
24763                   to: "base";
24764                   relative: 0.0 1.0;
24765                   offset: 0 0;
24766                }
24767                rel2 {
24768                   to: "base";
24769                   relative: 1.0 1.0;
24770                   offset: -1 0;
24771                }
24772                image {
24773                   normal: "ilist_item_shadow.png";
24774                }
24775                fill.smooth: 0;
24776             }
24777          }
24778          part {
24779             name: "base";
24780             mouse_events: 0;
24781             description {
24782                state: "default" 0.0;
24783                image {
24784                   normal: "ilist_1.png";
24785                   border: 2 2 2 2;
24786                }
24787                fill.smooth: 0;
24788             }
24789          }
24790          part { name: "bg";
24791             clip_to: "disclip";
24792             mouse_events: 0;
24793             description { state: "default" 0.0;
24794                visible: 0;
24795                color: 255 255 255 0;
24796                rel1 {
24797                   relative: 0.0 0.0;
24798                   offset: -5 -5;
24799                }
24800                rel2 {
24801                   relative: 1.0 1.0;
24802                   offset: 4 4;
24803                }
24804                image {
24805                   normal: "bt_sm_base1.png";
24806                   border: 6 6 6 6;
24807                }
24808                image.middle: SOLID;
24809             }
24810             description { state: "selected" 0.0;
24811                inherit: "default" 0.0;
24812                visible: 1;
24813                color: 255 255 255 255;
24814                rel1 {
24815                   relative: 0.0 0.0;
24816                   offset: -2 -2;
24817                }
24818                rel2 {
24819                   relative: 1.0 1.0;
24820                   offset: 1 1;
24821                }
24822             }
24823          }
24824          part { name: "elm.swallow.pad";
24825             type: SWALLOW;
24826             description { state: "default" 0.0;
24827                fixed: 1 0;
24828                align: 0.0 0.5;
24829                rel1 {
24830                   relative: 0.0  0.0;
24831                   offset:   4    4;
24832                }
24833                rel2 {
24834                   relative: 0.0  1.0;
24835                   offset:   4   -5;
24836                }
24837             }
24838          }
24839          part {
24840             name: "elm.text.trackno";
24841             type: TEXT;
24842             scale: 1;
24843             mouse_events: 0;
24844             description {
24845                state: "default" 0.0;
24846                color: 255 255 255 255;
24847                align: 0.0 0.0;
24848                fixed: 1 0;
24849                rel1 {
24850                   to_y: "elm.text.title";
24851                   relative: 0.0 0.0;
24852                   offset: 5 0;
24853                }
24854                rel2 {
24855                   to_y: "elm.text.title";
24856                   relative: 0.0 1.0;
24857                   offset: 20 0;
24858                }
24859                color: 0 0 0 255;
24860                color3: 0 0 0 0;
24861                text {
24862                   font: "Sans";
24863                   size: 10;
24864                   min: 1 1;
24865                   align: 1.0 0.5;
24866                }
24867             }
24868             description { state: "selected" 0.0;
24869                inherit: "default" 0.0;
24870                color: 224 224 224 255;
24871                color3: 0 0 0 64;
24872             }
24873          }
24874          part {
24875             name: "dot";
24876             type: TEXT;
24877             scale: 1;
24878             mouse_events: 0;
24879             description {
24880                state: "default" 0.0;
24881                color: 255 255 255 255;
24882                visible: 0;
24883                fixed: 1 1;
24884                align: 0.0 0.0;
24885                rel1 {
24886                   to_x: "elm.text.trackno";
24887                   to_y: "elm.text.title";
24888                   relative: 1.0 0.0;
24889                   offset: 1 0;
24890                }
24891                rel2 {
24892                   to_x: "elm.text.trackno";
24893                   to_y: "elm.text.title";
24894                   relative: 1.0 1.0;
24895                   offset: 1 0;
24896
24897                }
24898                color: 0 0 0 255;
24899                color3: 0 0 0 0;
24900                text {
24901                   font: "Sans";
24902                   size: 10;
24903                   min: 1 1;
24904                   align: 0.0 0.5;
24905                   text: ".";
24906                }
24907             }
24908             description {
24909                state: "visible" 0.0;
24910                inherit: "default" 0.0;
24911                visible: 1;
24912             }
24913             description { state: "selected" 0.0;
24914                inherit: "default" 0.0;
24915                color: 224 224 224 255;
24916                color3: 0 0 0 64;
24917                visible: 1;
24918             }
24919          }
24920          programs {
24921             program {
24922                signal: "elm,state,elm.state.trackno,active";
24923                source: "elm";
24924                script {
24925                   set_state(PART:"dot", "visible", 0.0);
24926                   set_int(dot_visible, 1);
24927                }
24928             }
24929          }
24930          part { name: "elm.text.title";
24931             clip_to: "disclip";
24932             type:           TEXT;
24933             effect:         SOFT_SHADOW;
24934             mouse_events:   0;
24935             scale: 1;
24936             description {
24937                state: "default" 0.0;
24938                rel1 {
24939                   to_x: "dot";
24940                   relative: 0.0  0.0;
24941                   offset:   4 4;
24942                }
24943                rel2 {
24944                   relative: 1.0  0.5;
24945                   offset:   -1 -5;
24946                }
24947                color: 0 0 0 255;
24948                color3: 0 0 0 0;
24949                text {
24950                   font: "Sans";
24951                   size: 10;
24952                   min: 0 1;
24953                   align: 0.0 0.5;
24954                }
24955             }
24956             description { state: "selected" 0.0;
24957                inherit: "default" 0.0;
24958                color: 224 224 224 255;
24959                color3: 0 0 0 64;
24960             }
24961          }
24962          part { name: "elm.text.length";
24963             clip_to: "disclip";
24964             type:           TEXT;
24965             mouse_events:   0;
24966             scale: 1;
24967             description {
24968                state: "default" 0.0;
24969                rel1 {
24970                   relative: 0.0  0.5;
24971                   offset:   4 4;
24972                }
24973                rel2 {
24974                   relative: 1.0  1.0;
24975                   offset:   -1 -5;
24976                }
24977                color: 0 0 0 128;
24978                color3: 0 0 0 0;
24979                text {
24980                   font: "Sans";
24981                   size: 8;
24982                   min: 0 1;
24983                   align: 0.0 0.5;
24984                }
24985             }
24986             description { state: "selected" 0.0;
24987                inherit: "default" 0.0;
24988                color: 128 128 128 255;
24989                color3: 0 0 0 32;
24990             }
24991          }
24992          part { name: "fg1";
24993             clip_to: "disclip";
24994             mouse_events: 0;
24995             description { state: "default" 0.0;
24996                visible: 0;
24997                color: 255 255 255 0;
24998                rel1.to: "bg";
24999                rel2.relative: 1.0 0.5;
25000                rel2.to: "bg";
25001                image {
25002                   normal: "bt_sm_hilight.png";
25003                   border: 6 6 6 0;
25004                }
25005             }
25006             description { state: "selected" 0.0;
25007                inherit: "default" 0.0;
25008                visible: 1;
25009                color: 255 255 255 255;
25010             }
25011          }
25012          part { name: "fg2";
25013             clip_to: "disclip";
25014             mouse_events: 0;
25015             description { state: "default" 0.0;
25016                visible: 0;
25017                color: 255 255 255 0;
25018                rel1.to: "bg";
25019                rel2.to: "bg";
25020                image {
25021                   normal: "bt_sm_shine.png";
25022                   border: 6 6 6 0;
25023                }
25024             }
25025             description { state: "selected" 0.0;
25026                inherit: "default" 0.0;
25027                visible: 1;
25028                color: 255 255 255 255;
25029             }
25030          }
25031          part { name: "disclip";
25032             type: RECT;
25033             description { state: "default" 0.0;
25034                rel1.to: "bg";
25035                rel2.to: "bg";
25036             }
25037             description { state: "disabled" 0.0;
25038                inherit: "default" 0.0;
25039                color: 255 255 255 64;
25040             }
25041          }
25042       }
25043       programs {
25044          // signal: elm,state,%s,active
25045          //   a "check" item named %s went active
25046          // signal: elm,state,%s,passive
25047          //   a "check" item named %s went passive
25048          // default is passive
25049          program {
25050             name:    "go_active";
25051             signal:  "elm,state,selected";
25052             source:  "elm";
25053             action:  STATE_SET "selected" 0.0;
25054             target:  "bg";
25055             target:  "fg1";
25056             target:  "fg2";
25057             target:  "elm.text.title";
25058             target:  "elm.text.trackno";
25059             target:  "elm.text.length";
25060             after:   "dot_active";
25061          }
25062          program {
25063             name: "dot_active";
25064             script {
25065                if (get_int(dot_visible) == 1)
25066                   set_state(PART:"dot", "selected", 0.0);
25067             }
25068          }
25069          program {
25070             name:    "go_passive";
25071             signal:  "elm,state,unselected";
25072             source:  "elm";
25073             action:  STATE_SET "default" 0.0;
25074             target:  "bg";
25075             target:  "fg1";
25076             target:  "fg2";
25077             target:  "elm.text.title";
25078             target:  "elm.text.length";
25079             target:  "elm.text.trackno";
25080             transition: LINEAR 0.1;
25081             after:   "dot_passive";
25082          }
25083          program {
25084             name: "dot_passive";
25085             script {
25086                if (get_int(dot_visible) == 1)
25087                   set_state(PART:"dot", "visible", 0.0);
25088             }
25089          }
25090          program {
25091             name:    "go_disabled";
25092             signal:  "elm,state,disabled";
25093             source:  "elm";
25094             action:  STATE_SET "disabled" 0.0;
25095             target:  "disclip";
25096          }
25097          program {
25098             name:    "go_enabled";
25099             signal:  "elm,state,enabled";
25100             source:  "elm";
25101             action:  STATE_SET "default" 0.0;
25102             target:  "disclip";
25103          }
25104       }
25105    }
25106    group { name: "elm/genlist/item_compress_odd/media-album/default";
25107       data.item: "stacking" "below";
25108       data.item: "selectraise" "on";
25109       data.item: "labels" "elm.text.title elm.text.trackno elm.text.length";
25110       data.item: "states" "elm.state.trackno";
25111       data.item: "treesize" "20";
25112       images {
25113          image: "bt_sm_base1.png" COMP;
25114          image: "bt_sm_shine.png" COMP;
25115          image: "bt_sm_hilight.png" COMP;
25116          image: "ilist_2.png" COMP;
25117       }
25118       script {
25119          public dot_visible;
25120       }
25121       parts {
25122          part { name: "event";
25123             type: RECT;
25124             repeat_events: 1;
25125             description {
25126                state: "default" 0.0;
25127                color: 0 0 0 0;
25128             }
25129          }
25130          part {
25131             name: "base";
25132             mouse_events: 0;
25133             description {
25134                state: "default" 0.0;
25135                image {
25136                   normal: "ilist_2.png";
25137                   border: 2 2 2 2;
25138                }
25139                fill.smooth: 0;
25140             }
25141          }
25142          part { name: "bg";
25143             clip_to: "disclip";
25144             mouse_events: 0;
25145             description { state: "default" 0.0;
25146                visible: 0;
25147                color: 255 255 255 0;
25148                rel1 {
25149                   relative: 0.0 0.0;
25150                   offset: -5 -5;
25151                }
25152                rel2 {
25153                   relative: 1.0 1.0;
25154                   offset: 4 4;
25155                }
25156                image {
25157                   normal: "bt_sm_base1.png";
25158                   border: 6 6 6 6;
25159                }
25160                image.middle: SOLID;
25161             }
25162             description { state: "selected" 0.0;
25163                inherit: "default" 0.0;
25164                visible: 1;
25165                color: 255 255 255 255;
25166                rel1 {
25167                   relative: 0.0 0.0;
25168                   offset: -2 -2;
25169                }
25170                rel2 {
25171                   relative: 1.0 1.0;
25172                   offset: 1 1;
25173                }
25174             }
25175          }
25176          part { name: "elm.swallow.pad";
25177             type: SWALLOW;
25178             description { state: "default" 0.0;
25179                fixed: 1 0;
25180                align: 0.0 0.5;
25181                rel1 {
25182                   relative: 0.0  0.0;
25183                   offset:   4    4;
25184                }
25185                rel2 {
25186                   relative: 0.0  1.0;
25187                   offset:   4   -5;
25188                }
25189             }
25190          }
25191          part {
25192             name: "elm.text.trackno";
25193             type: TEXT;
25194             scale: 1;
25195             mouse_events: 0;
25196             description {
25197                state: "default" 0.0;
25198                color: 255 255 255 255;
25199                align: 0.0 0.0;
25200                fixed: 1 0;
25201                rel1 {
25202                   to_y: "elm.text.title";
25203                   relative: 0.0 0.0;
25204                   offset: 5 0;
25205                }
25206                rel2 {
25207                   to_y: "elm.text.title";
25208                   relative: 0.0 1.0;
25209                   offset: 20 0;
25210                }
25211                color: 0 0 0 255;
25212                color3: 0 0 0 0;
25213                text {
25214                   font: "Sans";
25215                   size: 10;
25216                   min: 1 1;
25217                   align: 1.0 0.5;
25218                }
25219             }
25220             description { state: "selected" 0.0;
25221                inherit: "default" 0.0;
25222                color: 224 224 224 255;
25223                color3: 0 0 0 64;
25224             }
25225          }
25226          part {
25227             name: "dot";
25228             type: TEXT;
25229             scale: 1;
25230             mouse_events: 0;
25231             description {
25232                state: "default" 0.0;
25233                color: 255 255 255 255;
25234                visible: 0;
25235                fixed: 1 1;
25236                align: 0.0 0.0;
25237                rel1 {
25238                   to_x: "elm.text.trackno";
25239                   to_y: "elm.text.title";
25240                   relative: 1.0 0.0;
25241                   offset: 1 0;
25242                }
25243                rel2 {
25244                   to_x: "elm.text.trackno";
25245                   to_y: "elm.text.title";
25246                   relative: 1.0 1.0;
25247                   offset: 1 0;
25248
25249                }
25250                color: 0 0 0 255;
25251                color3: 0 0 0 0;
25252                text {
25253                   font: "Sans";
25254                   size: 10;
25255                   min: 1 1;
25256                   align: 0.0 0.5;
25257                   text: ".";
25258                }
25259             }
25260             description {
25261                state: "visible" 0.0;
25262                inherit: "default" 0.0;
25263                visible: 1;
25264             }
25265             description { state: "selected" 0.0;
25266                inherit: "default" 0.0;
25267                color: 224 224 224 255;
25268                color3: 0 0 0 64;
25269                visible: 1;
25270             }
25271          }
25272          programs {
25273             program {
25274                signal: "elm,state,elm.state.trackno,active";
25275                source: "elm";
25276                script {
25277                   set_state(PART:"dot", "visible", 0.0);
25278                   set_int(dot_visible, 1);
25279                }
25280             }
25281          }
25282          part { name: "elm.text.title";
25283             clip_to: "disclip";
25284             type:           TEXT;
25285             effect:         SOFT_SHADOW;
25286             mouse_events:   0;
25287             scale: 1;
25288             description {
25289                state: "default" 0.0;
25290                rel1 {
25291                   to_x: "dot";
25292                   relative: 1.0  0.0;
25293                   offset:   4 4;
25294                }
25295                rel2 {
25296                   relative: 1.0  0.5;
25297                   offset:   -1 -5;
25298                }
25299                color: 0 0 0 255;
25300                color3: 0 0 0 0;
25301                text {
25302                   font: "Sans";
25303                   size: 10;
25304                   min: 0 1;
25305                   align: 0.0 0.5;
25306                }
25307             }
25308             description { state: "selected" 0.0;
25309                inherit: "default" 0.0;
25310                color: 224 224 224 255;
25311                color3: 0 0 0 64;
25312             }
25313          }
25314          part { name: "elm.text.length";
25315             clip_to: "disclip";
25316             type:           TEXT;
25317             mouse_events:   0;
25318             scale: 1;
25319             description {
25320                state: "default" 0.0;
25321                rel1 {
25322                   relative: 0.0  0.5;
25323                   offset:   4 4;
25324                }
25325                rel2 {
25326                   relative: 1.0  1.0;
25327                   offset:   -1 -5;
25328                }
25329                color: 0 0 0 128;
25330                color3: 0 0 0 0;
25331                text {
25332                   font: "Sans";
25333                   size: 8;
25334                   min: 0 1;
25335                   align: 0.0 0.5;
25336                }
25337             }
25338             description { state: "selected" 0.0;
25339                inherit: "default" 0.0;
25340                color: 128 128 128 255;
25341                color3: 0 0 0 32;
25342             }
25343          }
25344          part { name: "fg1";
25345             clip_to: "disclip";
25346             mouse_events: 0;
25347             description { state: "default" 0.0;
25348                visible: 0;
25349                color: 255 255 255 0;
25350                rel1.to: "bg";
25351                rel2.relative: 1.0 0.5;
25352                rel2.to: "bg";
25353                image {
25354                   normal: "bt_sm_hilight.png";
25355                   border: 6 6 6 0;
25356                }
25357             }
25358             description { state: "selected" 0.0;
25359                inherit: "default" 0.0;
25360                visible: 1;
25361                color: 255 255 255 255;
25362             }
25363          }
25364          part { name: "fg2";
25365             clip_to: "disclip";
25366             mouse_events: 0;
25367             description { state: "default" 0.0;
25368                visible: 0;
25369                color: 255 255 255 0;
25370                rel1.to: "bg";
25371                rel2.to: "bg";
25372                image {
25373                   normal: "bt_sm_shine.png";
25374                   border: 6 6 6 0;
25375                }
25376             }
25377             description { state: "selected" 0.0;
25378                inherit: "default" 0.0;
25379                visible: 1;
25380                color: 255 255 255 255;
25381             }
25382          }
25383          part { name: "disclip";
25384             type: RECT;
25385             description { state: "default" 0.0;
25386                rel1.to: "bg";
25387                rel2.to: "bg";
25388             }
25389             description { state: "disabled" 0.0;
25390                inherit: "default" 0.0;
25391                color: 255 255 255 64;
25392             }
25393          }
25394       }
25395       programs {
25396          // signal: elm,state,%s,active
25397          //   a "check" item named %s went active
25398          // signal: elm,state,%s,passive
25399          //   a "check" item named %s went passive
25400          // default is passive
25401          program {
25402             name:    "go_active";
25403             signal:  "elm,state,selected";
25404             source:  "elm";
25405             action:  STATE_SET "selected" 0.0;
25406             target:  "bg";
25407             target:  "fg1";
25408             target:  "fg2";
25409             target:  "elm.text.title";
25410             target:  "elm.text.length";
25411             target:  "elm.text.trackno";
25412             after:   "dot_active";
25413          }
25414          program {
25415             name: "dot_active";
25416             script {
25417                if (get_int(dot_visible) == 1)
25418                   set_state(PART:"dot", "selected", 0.0);
25419             }
25420          }
25421          program {
25422             name:    "go_passive";
25423             signal:  "elm,state,unselected";
25424             source:  "elm";
25425             action:  STATE_SET "default" 0.0;
25426             target:  "bg";
25427             target:  "fg1";
25428             target:  "fg2";
25429             target:  "elm.text.title";
25430             target:  "elm.text.length";
25431             target:  "elm.text.trackno";
25432             transition: LINEAR 0.1;
25433             after:   "dot_passive";
25434          }
25435          program {
25436             name: "dot_passive";
25437             script {
25438                if (get_int(dot_visible) == 1)
25439                   set_state(PART:"dot", "visible", 0.0);
25440             }
25441          }
25442          program {
25443             name:    "go_disabled";
25444             signal:  "elm,state,disabled";
25445             source:  "elm";
25446             action:  STATE_SET "disabled" 0.0;
25447             target:  "disclip";
25448          }
25449          program {
25450             name:    "go_enabled";
25451             signal:  "elm,state,enabled";
25452             source:  "elm";
25453             action:  STATE_SET "default" 0.0;
25454             target:  "disclip";
25455          }
25456       }
25457    }
25458
25459    group { name: "elm/genlist/item_compress/media-preview/default";
25460       data.item: "stacking" "above";
25461       data.item: "selectraise" "on";
25462       data.item: "labels" "elm.text.title elm.text.artist";
25463       data.item: "icons" "elm.swallow.preview";
25464       data.item: "treesize" "20";
25465       images {
25466          image: "bt_sm_base1.png" COMP;
25467          image: "bt_sm_shine.png" COMP;
25468          image: "bt_sm_hilight.png" COMP;
25469          image: "ilist_1.png" COMP;
25470          image: "ilist_item_shadow.png" COMP;
25471       }
25472       parts {
25473          part {
25474             name: "event";
25475             type: RECT;
25476             repeat_events: 1;
25477             description {
25478                state: "default" 0.0;
25479                color: 0 0 0 0;
25480             }
25481          }
25482          part {
25483             name: "base_sh";
25484             mouse_events: 0;
25485             description {
25486                state: "default" 0.0;
25487                align: 0.0 0.0;
25488                min: 0 10;
25489                fixed: 1 1;
25490                rel1 {
25491                   to: "base";
25492                   relative: 0.0 1.0;
25493                   offset: 0 0;
25494                }
25495                rel2 {
25496                   to: "base";
25497                   relative: 1.0 1.0;
25498                   offset: -1 0;
25499                }
25500                image {
25501                   normal: "ilist_item_shadow.png";
25502                }
25503                fill.smooth: 0;
25504             }
25505          }
25506          part {
25507             name: "base";
25508             mouse_events: 0;
25509             description {
25510                state: "default" 0.0;
25511                image {
25512                   normal: "ilist_1.png";
25513                   border: 2 2 2 2;
25514                }
25515                fill.smooth: 0;
25516             }
25517          }
25518          part { name: "bg";
25519             clip_to: "disclip";
25520             mouse_events: 0;
25521             description { state: "default" 0.0;
25522                visible: 0;
25523                color: 255 255 255 0;
25524                rel1 {
25525                   relative: 0.0 0.0;
25526                   offset: -5 -5;
25527                }
25528                rel2 {
25529                   relative: 1.0 1.0;
25530                   offset: 4 4;
25531                }
25532                image {
25533                   normal: "bt_sm_base1.png";
25534                   border: 6 6 6 6;
25535                }
25536                image.middle: SOLID;
25537             }
25538             description { state: "selected" 0.0;
25539                inherit: "default" 0.0;
25540                visible: 1;
25541                color: 255 255 255 255;
25542                rel1 {
25543                   relative: 0.0 0.0;
25544                   offset: -2 -2;
25545                }
25546                rel2 {
25547                   relative: 1.0 1.0;
25548                   offset: 1 1;
25549                }
25550             }
25551          }
25552          part { name: "elm.swallow.pad";
25553             type: SWALLOW;
25554             description { state: "default" 0.0;
25555                fixed: 1 0;
25556                align: 0.0 0.5;
25557                rel1 {
25558                   relative: 0.0  0.0;
25559                   offset:   4    4;
25560                }
25561                rel2 {
25562                   relative: 0.0  1.0;
25563                   offset:   4   -5;
25564                }
25565             }
25566          }
25567          part { name: "elm.swallow.preview";
25568             clip_to: "disclip";
25569             type: SWALLOW;
25570             description { state: "default" 0.0;
25571                fixed: 1 0;
25572                align: 0.0 0.5;
25573                min: 68 68;
25574                max: 68 68;
25575                rel1 {
25576                   to_x: "elm.swallow.pad";
25577                   relative: 1.0  0.0;
25578                   offset:   -1    4;
25579                }
25580                rel2 {
25581                   to_x: "elm.swallow.pad";
25582                   relative: 1.0  1.0;
25583                   offset:   -1   -5;
25584                }
25585             }
25586          }
25587          part { name: "elm.text.title";
25588             clip_to: "disclip";
25589             type:           TEXT;
25590             effect:         SOFT_SHADOW;
25591             mouse_events:   0;
25592             scale: 1;
25593             description {
25594                state: "default" 0.0;
25595                rel1 {
25596                   to_x:     "elm.swallow.preview";
25597                   relative: 1.0  0.0;
25598                   offset:   4 4;
25599                }
25600                rel2 {
25601                   relative: 1.0  0.5;
25602                   offset:   -1 -5;
25603                }
25604                color: 0 0 0 255;
25605                color3: 0 0 0 0;
25606                text {
25607                   font: "Sans";
25608                   size: 10;
25609                   min: 0 1;
25610                   align: 0.0 0.5;
25611                }
25612             }
25613             description { state: "selected" 0.0;
25614                inherit: "default" 0.0;
25615                color: 224 224 224 255;
25616                color3: 0 0 0 64;
25617             }
25618          }
25619          part { name: "elm.text.artist";
25620             clip_to: "disclip";
25621             type:           TEXT;
25622             mouse_events:   0;
25623             scale: 1;
25624             description {
25625                state: "default" 0.0;
25626                rel1 {
25627                   to_x:     "elm.swallow.preview";
25628                   relative: 1.0  0.5;
25629                   offset:   4 4;
25630                }
25631                rel2 {
25632                   relative: 1.0  1.0;
25633                   offset:   -1 -5;
25634                }
25635                color: 0 0 0 128;
25636                color3: 0 0 0 0;
25637                text {
25638                   font: "Sans";
25639                   size: 8;
25640                   min: 0 1;
25641                   align: 0.0 0.5;
25642                }
25643             }
25644             description { state: "selected" 0.0;
25645                inherit: "default" 0.0;
25646                color: 128 128 128 255;
25647                color3: 0 0 0 32;
25648             }
25649          }
25650          part { name: "fg1";
25651             clip_to: "disclip";
25652             mouse_events: 0;
25653             description { state: "default" 0.0;
25654                visible: 0;
25655                color: 255 255 255 0;
25656                rel1.to: "bg";
25657                rel2.relative: 1.0 0.5;
25658                rel2.to: "bg";
25659                image {
25660                   normal: "bt_sm_hilight.png";
25661                   border: 6 6 6 0;
25662                }
25663             }
25664             description { state: "selected" 0.0;
25665                inherit: "default" 0.0;
25666                visible: 1;
25667                color: 255 255 255 255;
25668             }
25669          }
25670          part { name: "fg2";
25671             clip_to: "disclip";
25672             mouse_events: 0;
25673             description { state: "default" 0.0;
25674                visible: 0;
25675                color: 255 255 255 0;
25676                rel1.to: "bg";
25677                rel2.to: "bg";
25678                image {
25679                   normal: "bt_sm_shine.png";
25680                   border: 6 6 6 0;
25681                }
25682             }
25683             description { state: "selected" 0.0;
25684                inherit: "default" 0.0;
25685                visible: 1;
25686                color: 255 255 255 255;
25687             }
25688          }
25689          part { name: "disclip";
25690             type: RECT;
25691             description { state: "default" 0.0;
25692                rel1.to: "bg";
25693                rel2.to: "bg";
25694             }
25695             description { state: "disabled" 0.0;
25696                inherit: "default" 0.0;
25697                color: 255 255 255 64;
25698             }
25699          }
25700       }
25701       programs {
25702          // signal: elm,state,%s,active
25703          //   a "check" item named %s went active
25704          // signal: elm,state,%s,passive
25705          //   a "check" item named %s went passive
25706          // default is passive
25707          program {
25708             name:    "go_active";
25709             signal:  "elm,state,selected";
25710             source:  "elm";
25711             action:  STATE_SET "selected" 0.0;
25712             target:  "bg";
25713             target:  "fg1";
25714             target:  "fg2";
25715             target:  "elm.text.title";
25716             target:  "elm.text.artist";
25717          }
25718          program {
25719             name:    "go_passive";
25720             signal:  "elm,state,unselected";
25721             source:  "elm";
25722             action:  STATE_SET "default" 0.0;
25723             target:  "bg";
25724             target:  "fg1";
25725             target:  "fg2";
25726             target:  "elm.text.title";
25727             target:  "elm.text.artist";
25728             transition: LINEAR 0.1;
25729          }
25730          program {
25731             name:    "go_disabled";
25732             signal:  "elm,state,disabled";
25733             source:  "elm";
25734             action:  STATE_SET "disabled" 0.0;
25735             target:  "disclip";
25736          }
25737          program {
25738             name:    "go_enabled";
25739             signal:  "elm,state,enabled";
25740             source:  "elm";
25741             action:  STATE_SET "default" 0.0;
25742             target:  "disclip";
25743          }
25744       }
25745    }
25746    group { name: "elm/genlist/item_compress_odd/media-preview/default";
25747       data.item: "stacking" "below";
25748       data.item: "selectraise" "on";
25749       data.item: "labels" "elm.text.title elm.text.artist";
25750       data.item: "icons" "elm.swallow.preview";
25751       data.item: "treesize" "20";
25752       images {
25753          image: "bt_sm_base1.png" COMP;
25754          image: "bt_sm_shine.png" COMP;
25755          image: "bt_sm_hilight.png" COMP;
25756          image: "ilist_2.png" COMP;
25757       }
25758       parts {
25759          part { name: "event";
25760             type: RECT;
25761             repeat_events: 1;
25762             description {
25763                state: "default" 0.0;
25764                color: 0 0 0 0;
25765             }
25766          }
25767          part {
25768             name: "base";
25769             mouse_events: 0;
25770             description {
25771                state: "default" 0.0;
25772                image {
25773                   normal: "ilist_2.png";
25774                   border: 2 2 2 2;
25775                }
25776                fill.smooth: 0;
25777             }
25778          }
25779          part { name: "bg";
25780             clip_to: "disclip";
25781             mouse_events: 0;
25782             description { state: "default" 0.0;
25783                visible: 0;
25784                color: 255 255 255 0;
25785                rel1 {
25786                   relative: 0.0 0.0;
25787                   offset: -5 -5;
25788                }
25789                rel2 {
25790                   relative: 1.0 1.0;
25791                   offset: 4 4;
25792                }
25793                image {
25794                   normal: "bt_sm_base1.png";
25795                   border: 6 6 6 6;
25796                }
25797                image.middle: SOLID;
25798             }
25799             description { state: "selected" 0.0;
25800                inherit: "default" 0.0;
25801                visible: 1;
25802                color: 255 255 255 255;
25803                rel1 {
25804                   relative: 0.0 0.0;
25805                   offset: -2 -2;
25806                }
25807                rel2 {
25808                   relative: 1.0 1.0;
25809                   offset: 1 1;
25810                }
25811             }
25812          }
25813          part { name: "elm.swallow.pad";
25814             type: SWALLOW;
25815             description { state: "default" 0.0;
25816                fixed: 1 0;
25817                align: 0.0 0.5;
25818                rel1 {
25819                   relative: 0.0  0.0;
25820                   offset:   4    4;
25821                }
25822                rel2 {
25823                   relative: 0.0  1.0;
25824                   offset:   4   -5;
25825                }
25826             }
25827          }
25828          part { name: "elm.swallow.preview";
25829             clip_to: "disclip";
25830             type: SWALLOW;
25831             description { state: "default" 0.0;
25832                fixed: 1 0;
25833                align: 0.0 0.5;
25834                min: 68 68;
25835                max: 68 68;
25836                rel1 {
25837                   to_x: "elm.swallow.pad";
25838                   relative: 1.0  0.0;
25839                   offset:   -1    4;
25840                }
25841                rel2 {
25842                   to_x: "elm.swallow.pad";
25843                   relative: 1.0  1.0;
25844                   offset:   -1   -5;
25845                }
25846             }
25847          }
25848          part { name: "elm.text.title";
25849             clip_to: "disclip";
25850             type:           TEXT;
25851             effect:         SOFT_SHADOW;
25852             mouse_events:   0;
25853             scale: 1;
25854             description {
25855                state: "default" 0.0;
25856                rel1 {
25857                   to_x:     "elm.swallow.preview";
25858                   relative: 1.0  0.0;
25859                   offset:   4 4;
25860                }
25861                rel2 {
25862                   relative: 1.0  0.5;
25863                   offset:   -1 -5;
25864                }
25865                color: 0 0 0 255;
25866                color3: 0 0 0 0;
25867                text {
25868                   font: "Sans";
25869                   size: 10;
25870                   min: 0 1;
25871                   align: 0.0 0.5;
25872                }
25873             }
25874             description { state: "selected" 0.0;
25875                inherit: "default" 0.0;
25876                color: 224 224 224 255;
25877                color3: 0 0 0 64;
25878             }
25879          }
25880          part { name: "elm.text.artist";
25881             clip_to: "disclip";
25882             type:           TEXT;
25883             mouse_events:   0;
25884             scale: 1;
25885             description {
25886                state: "default" 0.0;
25887                rel1 {
25888                   to_x:     "elm.swallow.preview";
25889                   relative: 1.0  0.5;
25890                   offset:   4 4;
25891                }
25892                rel2 {
25893                   relative: 1.0  1.0;
25894                   offset:   -1 -5;
25895                }
25896                color: 0 0 0 128;
25897                color3: 0 0 0 0;
25898                text {
25899                   font: "Sans";
25900                   size: 8;
25901                   min: 0 1;
25902                   align: 0.0 0.5;
25903                }
25904             }
25905             description { state: "selected" 0.0;
25906                inherit: "default" 0.0;
25907                color: 128 128 128 255;
25908                color3: 0 0 0 32;
25909             }
25910          }
25911          part { name: "fg1";
25912             clip_to: "disclip";
25913             mouse_events: 0;
25914             description { state: "default" 0.0;
25915                visible: 0;
25916                color: 255 255 255 0;
25917                rel1.to: "bg";
25918                rel2.relative: 1.0 0.5;
25919                rel2.to: "bg";
25920                image {
25921                   normal: "bt_sm_hilight.png";
25922                   border: 6 6 6 0;
25923                }
25924             }
25925             description { state: "selected" 0.0;
25926                inherit: "default" 0.0;
25927                visible: 1;
25928                color: 255 255 255 255;
25929             }
25930          }
25931          part { name: "fg2";
25932             clip_to: "disclip";
25933             mouse_events: 0;
25934             description { state: "default" 0.0;
25935                visible: 0;
25936                color: 255 255 255 0;
25937                rel1.to: "bg";
25938                rel2.to: "bg";
25939                image {
25940                   normal: "bt_sm_shine.png";
25941                   border: 6 6 6 0;
25942                }
25943             }
25944             description { state: "selected" 0.0;
25945                inherit: "default" 0.0;
25946                visible: 1;
25947                color: 255 255 255 255;
25948             }
25949          }
25950          part { name: "disclip";
25951             type: RECT;
25952             description { state: "default" 0.0;
25953                rel1.to: "bg";
25954                rel2.to: "bg";
25955             }
25956             description { state: "disabled" 0.0;
25957                inherit: "default" 0.0;
25958                color: 255 255 255 64;
25959             }
25960          }
25961       }
25962       programs {
25963          // signal: elm,state,%s,active
25964          //   a "check" item named %s went active
25965          // signal: elm,state,%s,passive
25966          //   a "check" item named %s went passive
25967          // default is passive
25968          program {
25969             name:    "go_active";
25970             signal:  "elm,state,selected";
25971             source:  "elm";
25972             action:  STATE_SET "selected" 0.0;
25973             target:  "bg";
25974             target:  "fg1";
25975             target:  "fg2";
25976             target:  "elm.text.title";
25977             target:  "elm.text.artist";
25978          }
25979          program {
25980             name:    "go_passive";
25981             signal:  "elm,state,unselected";
25982             source:  "elm";
25983             action:  STATE_SET "default" 0.0;
25984             target:  "bg";
25985             target:  "fg1";
25986             target:  "fg2";
25987             target:  "elm.text.title";
25988             target:  "elm.text.artist";
25989             transition: LINEAR 0.1;
25990          }
25991          program {
25992             name:    "go_disabled";
25993             signal:  "elm,state,disabled";
25994             source:  "elm";
25995             action:  STATE_SET "disabled" 0.0;
25996             target:  "disclip";
25997          }
25998          program {
25999             name:    "go_enabled";
26000             signal:  "elm,state,enabled";
26001             source:  "elm";
26002             action:  STATE_SET "default" 0.0;
26003             target:  "disclip";
26004          }
26005       }
26006    }
26007
26008    group { name: "elm/genlist/item/mode/default";
26009       data.item: "stacking" "above";
26010       data.item: "selectraise" "on";
26011       data.item: "labels" "elm.text.mode";
26012       data.item: "icons" "elm.swallow.mode";
26013       data.item: "mode_part" "elm.swallow.origin";
26014       data.item: "treesize" "20";
26015       images {
26016          image: "bt_sm_base1.png" COMP;
26017          image: "bt_sm_shine.png" COMP;
26018          image: "bt_sm_hilight.png" COMP;
26019          image: "ilist_1.png" COMP;
26020          image: "ilist_item_shadow.png" COMP;
26021       }
26022
26023       parts {
26024          part {
26025             name: "event";
26026             type: RECT;
26027             repeat_events: 1;
26028             description {
26029                state: "default" 0.0;
26030                color: 0 0 0 0;
26031             }
26032          }
26033          part {
26034             name: "base_sh";
26035             mouse_events: 0;
26036             description {
26037                state: "default" 0.0;
26038                align: 0.0 0.0;
26039                min: 0 10;
26040                fixed: 1 1;
26041                rel1 {
26042                   to: "base";
26043                   relative: 0.0 1.0;
26044                   offset: 0 0;
26045                }
26046                rel2 {
26047                   to: "base";
26048                   relative: 1.0 1.0;
26049                   offset: -1 0;
26050                }
26051                image {
26052                   normal: "ilist_item_shadow.png";
26053                }
26054                fill.smooth: 0;
26055             }
26056          }
26057          part {
26058             name: "base";
26059             mouse_events: 0;
26060             description {
26061                state: "default" 0.0;
26062                image {
26063                   normal: "ilist_1.png";
26064                   border: 2 2 2 2;
26065                }
26066                fill.smooth: 0;
26067             }
26068          }
26069          part { name: "bg";
26070             clip_to: "disclip";
26071             mouse_events: 0;
26072             description { state: "default" 0.0;
26073                visible: 0;
26074                color: 255 255 255 0;
26075                rel1 {
26076                   relative: 0.0 0.0;
26077                   offset: -5 -5;
26078                }
26079                rel2 {
26080                   relative: 1.0 1.0;
26081                   offset: 4 4;
26082                }
26083                image {
26084                   normal: "bt_sm_base1.png";
26085                   border: 6 6 6 6;
26086                }
26087                image.middle: SOLID;
26088             }
26089             description { state: "selected" 0.0;
26090                inherit: "default" 0.0;
26091                visible: 1;
26092                color: 255 255 255 255;
26093                rel1 {
26094                   relative: 0.0 0.0;
26095                   offset: -2 -2;
26096                }
26097                rel2 {
26098                   relative: 1.0 1.0;
26099                   offset: 1 1;
26100                }
26101             }
26102          }
26103          part { name: "elm.text.mode";
26104             clip_to: "disclip";
26105             type: TEXT;
26106             scale: 1;
26107             description { state: "default" 0.0;
26108                rel2.relative: 0.5 1.0;
26109                color: 0 0 0 255;
26110                text {
26111                   font: "Sans";
26112                   size: 10;
26113                   min: 1 1;
26114                   align: 0.5 0.5;
26115                   text_class: "list_item";
26116                }
26117             }
26118          }
26119         part { name: "elm.swallow.mode";
26120             clip_to: "disclip";
26121             type: SWALLOW;
26122             description { state: "default" 0.0;
26123                rel1.relative: 0.5 0.0;
26124             }
26125          }
26126          part { name: "fg1";
26127             clip_to: "disclip";
26128             mouse_events: 0;
26129             description { state: "default" 0.0;
26130                visible: 0;
26131                color: 255 255 255 0;
26132                rel1.to: "bg";
26133                rel2.relative: 1.0 0.5;
26134                rel2.to: "bg";
26135                image {
26136                   normal: "bt_sm_hilight.png";
26137                   border: 6 6 6 0;
26138                }
26139             }
26140             description { state: "selected" 0.0;
26141                inherit: "default" 0.0;
26142                visible: 1;
26143                color: 255 255 255 255;
26144             }
26145          }
26146          part { name: "fg2";
26147             clip_to: "disclip";
26148             mouse_events: 0;
26149             description { state: "default" 0.0;
26150                visible: 0;
26151                color: 255 255 255 0;
26152                rel1.to: "bg";
26153                rel2.to: "bg";
26154                image {
26155                   normal: "bt_sm_shine.png";
26156                   border: 6 6 6 0;
26157                }
26158             }
26159             description { state: "selected" 0.0;
26160                inherit: "default" 0.0;
26161                visible: 1;
26162                color: 255 255 255 255;
26163             }
26164          }
26165          // Transparent part between base parts and slidable parts
26166          part { name: "event_block_layer";
26167             type: RECT;
26168             clip_to: "disclip";
26169             mouse_events: 1;
26170             description { state: "default" 0.0;
26171                rel1.to: "base";
26172                rel2.to: "base";
26173                color: 0 0 0 0;
26174             }
26175             description { state: "repeat_events" 0.0;
26176                inherit: "default" 0.0;
26177                visible: 0;
26178             }
26179          }
26180          part { name: "pers";
26181             clip_to: "disclip";
26182             type: RECT;
26183             description { state: "default" 0.0;
26184                rel1.relative: 0.0 1.0;
26185             }
26186          }
26187          part { name: "elm.swallow.origin";
26188             clip_to: "disclip";
26189             type: SWALLOW;
26190             description { state: "default" 0.0;
26191                fixed: 1 0;
26192                align: 0.0 0.5;
26193             }
26194             description { state: "slide" 0.0;
26195                inherit: "default" 0.0;
26196                rel1.relative: 1 0;
26197                rel2.relative: 2 1;
26198             }
26199             description { state: "rotate" 0.0;
26200                inherit: "default" 0.0;
26201                map {
26202                   perspective: "pers";
26203                   on: 1;
26204                   smooth: 1;
26205                   perspective_on: 1;
26206                   backface_cull: 1;
26207                   rotation {
26208                      center: "pers";
26209                      x: 0.0;
26210                      y: 0.0;
26211                      z: 0.0;
26212                   }
26213                }
26214             }
26215             description { state: "rotate" 1.0;
26216                inherit: "default" 0.0;
26217                map {
26218                   perspective: "pers";
26219                   on: 1;
26220                   smooth: 1;
26221                   perspective_on: 1;
26222                   backface_cull: 1;
26223                   rotation {
26224                      center: "pers";
26225                      x: 90.0;
26226                      y: 0.0;
26227                      z: 0.0;
26228                   }
26229                }
26230             }
26231          }
26232          part { name: "disclip";
26233             type: RECT;
26234             description { state: "default" 0.0;
26235                rel1.to: "bg";
26236                rel2.to: "bg";
26237             }
26238             description { state: "disabled" 0.0;
26239                inherit: "default" 0.0;
26240                color: 255 255 255 64;
26241             }
26242          }
26243       }
26244       programs {
26245          program {
26246             name:    "go_active";
26247             signal:  "elm,state,selected";
26248             source:  "elm";
26249             action:  STATE_SET "selected" 0.0;
26250             target:  "bg";
26251             target:  "fg1";
26252             target:  "fg2";
26253          }
26254          program {
26255             name:    "go_passive";
26256             signal:  "elm,state,unselected";
26257             source:  "elm";
26258             action:  STATE_SET "default" 0.0;
26259             target:  "bg";
26260             target:  "fg1";
26261             target:  "fg2";
26262             transition: LINEAR 0.1;
26263          }
26264          program {
26265             name:    "go_disabled";
26266             signal:  "elm,state,disabled";
26267             source:  "elm";
26268             action:  STATE_SET "disabled" 0.0;
26269             target:  "disclip";
26270          }
26271          program {
26272             name:    "go_enabled";
26273             signal:  "elm,state,enabled";
26274             source:  "elm";
26275             action:  STATE_SET "default" 0.0;
26276             target:  "disclip";
26277          }
26278          program {
26279             name:    "slide_right";
26280             signal:  "elm,state,slide,active";
26281             source:  "elm";
26282             action:  STATE_SET "slide" 0.0;
26283             target:  "elm.swallow.origin";
26284             transition: ACCELERATE 0.5;
26285             after:   "unblock_event";
26286          }
26287          program {
26288             name:    "unblock_event";
26289             action:  STATE_SET "repeat_events" 0.0;
26290             target:  "event_block_layer";
26291          }
26292          program {
26293             name:    "slide_left";
26294             signal:  "elm,state,slide,passive";
26295             source:  "elm";
26296             action:  STATE_SET "default" 0.0;
26297             target:  "event_block_layer";
26298             after:   "slide_left2";
26299          }
26300          program {
26301             name:    "slide_left2";
26302             action:  STATE_SET "default" 0.0;
26303             target:  "elm.swallow.origin";
26304             transition: DECELERATE 0.5;
26305             after:   "slide_left_finished";
26306          }
26307          program {
26308             name:    "slide_left_finished";
26309             action:  SIGNAL_EMIT "elm,state,slide,passive,finished" "elm";
26310          }
26311          program {
26312             name:    "rotate_on";
26313             signal:  "elm,state,rotate,active";
26314             source:  "elm";
26315             action:  STATE_SET "rotate" 0.0;
26316             target:  "elm.swallow.origin";
26317             after:   "rotate_on2";
26318          }
26319          program {
26320             name:    "rotate_on2";
26321             action:  STATE_SET "rotate" 1.0;
26322             target:  "elm.swallow.origin";
26323             transition: LINEAR 0.5;
26324             after:   "unblock_event";
26325          }
26326          program {
26327             name:    "rotate_off";
26328             signal:  "elm,state,rotate,passive";
26329             source:  "elm";
26330             action:  STATE_SET "default" 0.0;
26331             target:  "event_block_layer";
26332             after:   "rotate_off2";
26333          }
26334          program {
26335             name:    "rotate_off2";
26336             action:  STATE_SET "rotate" 0.0;
26337             transition: LINEAR 0.5;
26338             target:  "elm.swallow.origin";
26339             after:   "rotate_off3";
26340          }
26341          program {
26342             name:    "rotate_off3";
26343             action:  STATE_SET "default" 0.0;
26344             target:  "elm.swallow.origin";
26345             after:   "rotate_off_finished";
26346          }
26347          program {
26348             name:    "rotate_off_finished";
26349             action:  SIGNAL_EMIT "elm,state,rotate,passive,finished" "elm";
26350          }
26351       }
26352    }
26353
26354    group { name: "elm/genlist/item_odd/mode/default";
26355       data.item: "stacking" "below";
26356       data.item: "selectraise" "on";
26357       data.item: "labels" "elm.text.mode";
26358       data.item: "icons" "elm.swallow.mode";
26359       data.item: "mode_part" "elm.swallow.origin";
26360       data.item: "treesize" "20";
26361       images {
26362          image: "bt_sm_base1.png" COMP;
26363          image: "bt_sm_shine.png" COMP;
26364          image: "bt_sm_hilight.png" COMP;
26365          image: "ilist_2.png" COMP;
26366       }
26367
26368       parts {
26369          part {
26370             name: "event";
26371             type: RECT;
26372             repeat_events: 1;
26373             description {
26374                state: "default" 0.0;
26375                color: 0 0 0 0;
26376             }
26377          }
26378          part {
26379             name: "base";
26380             mouse_events: 0;
26381             description {
26382                state: "default" 0.0;
26383                image {
26384                   normal: "ilist_2.png";
26385                   border: 2 2 2 2;
26386                }
26387                fill.smooth: 0;
26388             }
26389          }
26390          part { name: "bg";
26391             clip_to: "disclip";
26392             mouse_events: 0;
26393             description { state: "default" 0.0;
26394                visible: 0;
26395                color: 255 255 255 0;
26396                rel1 {
26397                   relative: 0.0 0.0;
26398                   offset: -5 -5;
26399                }
26400                rel2 {
26401                   relative: 1.0 1.0;
26402                   offset: 4 4;
26403                }
26404                image {
26405                   normal: "bt_sm_base1.png";
26406                   border: 6 6 6 6;
26407                }
26408                image.middle: SOLID;
26409             }
26410             description { state: "selected" 0.0;
26411                inherit: "default" 0.0;
26412                visible: 1;
26413                color: 255 255 255 255;
26414                rel1 {
26415                   relative: 0.0 0.0;
26416                   offset: -2 -2;
26417                }
26418                rel2 {
26419                   relative: 1.0 1.0;
26420                   offset: 1 1;
26421                }
26422             }
26423          }
26424          part { name: "elm.text.mode";
26425             clip_to: "disclip";
26426             type: TEXT;
26427             scale: 1;
26428             description { state: "default" 0.0;
26429                rel2.relative: 0.5 1.0;
26430                color: 0 0 0 255;
26431                text {
26432                   font: "Sans";
26433                   size: 10;
26434                   min: 1 1;
26435                   align: 0.5 0.5;
26436                   text_class: "list_item";
26437                }
26438             }
26439          }
26440         part { name: "elm.swallow.mode";
26441             clip_to: "disclip";
26442             type: SWALLOW;
26443             description { state: "default" 0.0;
26444                rel1.relative: 0.5 0.0;
26445             }
26446          }
26447          part { name: "fg1";
26448             clip_to: "disclip";
26449             mouse_events: 0;
26450             description { state: "default" 0.0;
26451                visible: 0;
26452                color: 255 255 255 0;
26453                rel1.to: "bg";
26454                rel2.relative: 1.0 0.5;
26455                rel2.to: "bg";
26456                image {
26457                   normal: "bt_sm_hilight.png";
26458                   border: 6 6 6 0;
26459                }
26460             }
26461             description { state: "selected" 0.0;
26462                inherit: "default" 0.0;
26463                visible: 1;
26464                color: 255 255 255 255;
26465             }
26466          }
26467          part { name: "fg2";
26468             clip_to: "disclip";
26469             mouse_events: 0;
26470             description { state: "default" 0.0;
26471                visible: 0;
26472                color: 255 255 255 0;
26473                rel1.to: "bg";
26474                rel2.to: "bg";
26475                image {
26476                   normal: "bt_sm_shine.png";
26477                   border: 6 6 6 0;
26478                }
26479             }
26480             description { state: "selected" 0.0;
26481                inherit: "default" 0.0;
26482                visible: 1;
26483                color: 255 255 255 255;
26484             }
26485          }
26486          // Transparent part between base parts and slidable parts
26487          part { name: "event_block_layer";
26488             type: RECT;
26489             clip_to: "disclip";
26490             mouse_events: 1;
26491             description { state: "default" 0.0;
26492                rel1.to: "base";
26493                rel2.to: "base";
26494                color: 0 0 0 0;
26495             }
26496             description { state: "repeat_events" 0.0;
26497                inherit: "default" 0.0;
26498                visible: 0;
26499             }
26500          }
26501          part { name: "pers";
26502             clip_to: "disclip";
26503             type: RECT;
26504             description { state: "default" 0.0;
26505                rel1.relative: 0.0 1.0;
26506             }
26507          }
26508          part { name: "elm.swallow.origin";
26509             clip_to: "disclip";
26510             type: SWALLOW;
26511             description { state: "default" 0.0;
26512                fixed: 1 0;
26513                align: 0.0 0.5;
26514             }
26515             description { state: "slide" 0.0;
26516                inherit: "default" 0.0;
26517                rel1.relative: 1 0;
26518                rel2.relative: 2 1;
26519             }
26520             description { state: "rotate" 0.0;
26521                inherit: "default" 0.0;
26522                map {
26523                   perspective: "pers";
26524                   on: 1;
26525                   smooth: 1;
26526                   perspective_on: 1;
26527                   backface_cull: 1;
26528                   rotation {
26529                      center: "pers";
26530                      x: 0.0;
26531                      y: 0.0;
26532                      z: 0.0;
26533                   }
26534                }
26535             }
26536             description { state: "rotate" 1.0;
26537                inherit: "default" 0.0;
26538                map {
26539                   perspective: "pers";
26540                   on: 1;
26541                   smooth: 1;
26542                   perspective_on: 1;
26543                   backface_cull: 1;
26544                   rotation {
26545                      center: "pers";
26546                      x: 90.0;
26547                      y: 0.0;
26548                      z: 0.0;
26549                   }
26550                }
26551             }
26552          }
26553          part { name: "disclip";
26554             type: RECT;
26555             description { state: "default" 0.0;
26556                rel1.to: "bg";
26557                rel2.to: "bg";
26558             }
26559             description { state: "disabled" 0.0;
26560                inherit: "default" 0.0;
26561                color: 255 255 255 64;
26562             }
26563          }
26564       }
26565       programs {
26566          program {
26567             name:    "go_active";
26568             signal:  "elm,state,selected";
26569             source:  "elm";
26570             action:  STATE_SET "selected" 0.0;
26571             target:  "bg";
26572             target:  "fg1";
26573             target:  "fg2";
26574          }
26575          program {
26576             name:    "go_passive";
26577             signal:  "elm,state,unselected";
26578             source:  "elm";
26579             action:  STATE_SET "default" 0.0;
26580             target:  "bg";
26581             target:  "fg1";
26582             target:  "fg2";
26583             transition: LINEAR 0.1;
26584          }
26585          program {
26586             name:    "go_disabled";
26587             signal:  "elm,state,disabled";
26588             source:  "elm";
26589             action:  STATE_SET "disabled" 0.0;
26590             target:  "disclip";
26591          }
26592          program {
26593             name:    "go_enabled";
26594             signal:  "elm,state,enabled";
26595             source:  "elm";
26596             action:  STATE_SET "default" 0.0;
26597             target:  "disclip";
26598          }
26599          program {
26600             name:    "slide_right";
26601             signal:  "elm,state,slide,active";
26602             source:  "elm";
26603             action:  STATE_SET "slide" 0.0;
26604             target:  "elm.swallow.origin";
26605             transition: ACCELERATE 0.5;
26606             after:   "unblock_event";
26607          }
26608          program {
26609             name:    "unblock_event";
26610             action:  STATE_SET "repeat_events" 0.0;
26611             target:  "event_block_layer";
26612          }
26613          program {
26614             name:    "slide_left";
26615             signal:  "elm,state,slide,passive";
26616             source:  "elm";
26617             action:  STATE_SET "default" 0.0;
26618             target:   "event_block_layer";
26619             after:   "slide_left2";
26620          }
26621          program {
26622             name:    "slide_left2";
26623             action:  STATE_SET "default" 0.0;
26624             target:  "elm.swallow.origin";
26625             transition: DECELERATE 0.5;
26626             after:   "slide_left_finished";
26627          }
26628          program {
26629             name:    "slide_left_finished";
26630             action:  SIGNAL_EMIT "elm,state,slide,passive,finished" "elm";
26631          }
26632          program {
26633             name:    "rotate_on";
26634             signal:  "elm,state,rotate,active";
26635             source:  "elm";
26636             action:  STATE_SET "rotate" 0.0;
26637             target:  "elm.swallow.origin";
26638             after:   "rotate_on2";
26639          }
26640          program {
26641             name:    "rotate_on2";
26642             action:  STATE_SET "rotate" 1.0;
26643             target:  "elm.swallow.origin";
26644             transition: LINEAR 0.5;
26645             after:   "unblock_event";
26646          }
26647          program {
26648             name:    "rotate_off";
26649             signal:  "elm,state,rotate,passive";
26650             source:  "elm";
26651             action:  STATE_SET "default" 0.0;
26652             target:  "event_block_layer";
26653             after:   "rotate_off2";
26654          }
26655          program {
26656             name:    "rotate_off2";
26657             action:  STATE_SET "rotate" 0.0;
26658             transition: LINEAR 0.5;
26659             target:  "elm.swallow.origin";
26660             after:   "rotate_off3";
26661          }
26662          program {
26663             name:    "rotate_off3";
26664             action:  STATE_SET "default" 0.0;
26665             target:  "elm.swallow.origin";
26666             after:   "rotate_off_finished";
26667          }
26668          program {
26669             name:    "rotate_off_finished";
26670             action:  SIGNAL_EMIT "elm,state,rotate,passive,finished" "elm";
26671          }
26672       }
26673    }
26674
26675 ///////////////////////////////////////////////////////////////////////////////
26676    group { name: "elm/pager/base/default";
26677       data.item: "onshow" "raise";
26678 // other options
26679 //      data.item: "onhide" "lower";
26680 //      data.item: "onshow" "lower";
26681       images {
26682          image: "frame_1.png" COMP;
26683          image: "frame_2.png" COMP;
26684          image: "dia_grad.png" COMP;
26685       }
26686       parts {
26687          part { name: "clip";
26688             type: RECT;
26689             mouse_events: 0;
26690             description { state: "default" 0.0;
26691                rel1 {
26692                   to: "base";
26693                   offset: -9999 -9999;
26694                }
26695                rel2 {
26696                   to: "base";
26697                   offset: 9999 9999;
26698                }
26699                color: 255 255 255 255;
26700             }
26701             description { state: "visible" 0.0;
26702                inherit: "default" 0.0;
26703             }
26704             description { state: "hidden" 0.0;
26705                inherit: "default" 0.0;
26706                color: 255 255 255 0;
26707                visible: 0;
26708             }
26709          }
26710          part { name: "base0";
26711             mouse_events:  0;
26712             clip_to: "clip";
26713             description { state: "default" 0.0;
26714                image.normal: "dia_grad.png";
26715                rel1.to: "over";
26716                rel2.to: "over";
26717                fill {
26718                   smooth: 0;
26719                   size {
26720                      relative: 0.0 1.0;
26721                      offset: 64 0;
26722                   }
26723                }
26724             }
26725          }
26726          part { name: "base";
26727             mouse_events:  0;
26728             clip_to: "clip";
26729             description { state: "default" 0.0;
26730                image {
26731                   normal: "frame_2.png";
26732                   border: 5 5 32 26;
26733                   middle: 0;
26734                }
26735                fill.smooth : 0;
26736             }
26737             description { state: "hidden" 0.0;
26738                inherit: "default" 0.0;
26739                rel1.relative: -1.0 0.0;
26740                rel2.relative: 0.0 1.0;
26741             }
26742             description { state: "visible" 0.0;
26743                inherit: "default" 0.0;
26744                rel1.relative: 0.0 0.0;
26745                rel2.relative: 1.0 1.0;
26746             }
26747          }
26748          part { name: "over";
26749             mouse_events:  0;
26750             clip_to: "clip";
26751             description { state:    "default" 0.0;
26752                rel1 {
26753                   to: "base";
26754                   offset: 4 4;
26755                }
26756                rel2 {
26757                   to: "base";
26758                   offset: -5 -5;
26759                }
26760                image {
26761                   normal: "frame_1.png";
26762                   border: 2 2 28 22;
26763                   middle: 0;
26764                }
26765                fill.smooth : 0;
26766             }
26767          }
26768          part { name: "elm.swallow.content";
26769             type: SWALLOW;
26770             clip_to: "clip";
26771             description { state: "default" 0.0;
26772                rel1 {
26773                   to: "base";
26774                   offset: 8 8;
26775                }
26776                rel2 {
26777                   to: "base";
26778                   offset: -9 -9;
26779                }
26780             }
26781          }
26782       }
26783       programs {
26784          program { name: "push_start";
26785             signal: "elm,action,push";
26786             source: "elm";
26787             action:  STATE_SET "hidden" 0.0;
26788             target: "base";
26789             target: "clip";
26790             after: "show_start2";
26791          }
26792          program { name: "show_start";
26793             signal: "elm,action,show";
26794             source: "elm";
26795             action:  STATE_SET "hidden" 0.0;
26796             target: "base";
26797             target: "clip";
26798             after: "show_start2";
26799          }
26800          program { name: "show_start2";
26801             action:  STATE_SET "visible" 0.0;
26802             transition: DECELERATE 0.5;
26803             target: "base";
26804             target: "clip";
26805             after: "show_end";
26806          }
26807          program { name: "show_end";
26808             action: SIGNAL_EMIT "elm,action,show,finished" "";
26809          }
26810          program { name: "pop_start";
26811             signal: "elm,action,pop";
26812             source: "elm";
26813             action:  STATE_SET "visible" 0.0;
26814             target: "base";
26815             target: "clip";
26816             after: "hide_start2";
26817          }
26818          program { name: "hide_start";
26819             signal: "elm,action,hide";
26820             source: "elm";
26821             action:  STATE_SET "visible" 0.0;
26822             target: "base";
26823             target: "clip";
26824             after: "hide_start2";
26825          }
26826          program { name: "hide_start2";
26827             action:  STATE_SET "hidden" 0.0;
26828             transition: DECELERATE 0.5;
26829             target: "base";
26830             target: "clip";
26831             after: "hide_end";
26832          }
26833          program { name: "hide_end";
26834             action: SIGNAL_EMIT "elm,action,hide,finished" "";
26835          }
26836          program { name: "reset";
26837             signal: "elm,action,reset";
26838             source: "elm";
26839             action:  STATE_SET "default" 0.0;
26840             target: "base";
26841             target: "clip";
26842          }
26843       }
26844    }
26845
26846    group { name: "elm/pager/base/slide";
26847       images {
26848          image: "frame_1.png" COMP;
26849          image: "frame_2.png" COMP;
26850          image: "dia_grad.png" COMP;
26851       }
26852       parts {
26853          part { name: "clip";
26854             type: RECT;
26855             mouse_events: 0;
26856             description { state: "default" 0.0;
26857                rel1 {
26858                   to: "base";
26859                   offset: -9999 -9999;
26860                }
26861                rel2 {
26862                   to: "base";
26863                   offset: 9999 9999;
26864                }
26865                color: 255 255 255 255;
26866             }
26867             description { state: "visible" 0.0;
26868                inherit: "default" 0.0;
26869             }
26870             description { state: "hidden" 0.0;
26871                inherit: "default" 0.0;
26872                color: 255 255 255 0;
26873                visible: 0;
26874             }
26875             description { state: "hidden2" 0.0;
26876                inherit: "default" 0.0;
26877                color: 255 255 255 0;
26878                visible: 0;
26879             }
26880          }
26881          part { name: "base0";
26882             mouse_events:  0;
26883             clip_to: "clip";
26884             description { state: "default" 0.0;
26885                image.normal: "dia_grad.png";
26886                rel1.to: "over";
26887                rel2.to: "over";
26888                fill {
26889                   smooth: 0;
26890                   size {
26891                      relative: 0.0 1.0;
26892                      offset: 64 0;
26893                   }
26894                }
26895             }
26896          }
26897          part { name: "base";
26898             mouse_events:  0;
26899             clip_to: "clip";
26900             description { state: "default" 0.0;
26901                image {
26902                   normal: "frame_2.png";
26903                   border: 5 5 32 26;
26904                   middle: 0;
26905                }
26906                fill.smooth : 0;
26907             }
26908             description { state: "hidden" 0.0;
26909                inherit: "default" 0.0;
26910                rel1.relative: -1.0 0.0;
26911                rel2.relative: 0.0 1.0;
26912             }
26913             description { state: "hidden2" 0.0;
26914                inherit: "default" 0.0;
26915                rel1.relative: 1.0 0.0;
26916                rel2.relative: 2.0 1.0;
26917             }
26918             description { state: "visible" 0.0;
26919                inherit: "default" 0.0;
26920                rel1.relative: 0.0 0.0;
26921                rel2.relative: 1.0 1.0;
26922             }
26923          }
26924          part { name: "over";
26925             mouse_events:  0;
26926             clip_to: "clip";
26927             description { state:    "default" 0.0;
26928                rel1 {
26929                   to: "base";
26930                   offset: 4 4;
26931                }
26932                rel2 {
26933                   to: "base";
26934                   offset: -5 -5;
26935                }
26936                image {
26937                   normal: "frame_1.png";
26938                   border: 2 2 28 22;
26939                   middle: 0;
26940                }
26941                fill.smooth : 0;
26942             }
26943          }
26944          part { name: "elm.swallow.content";
26945             type: SWALLOW;
26946             clip_to: "clip";
26947             description { state: "default" 0.0;
26948                rel1 {
26949                   to: "base";
26950                   offset: 8 8;
26951                }
26952                rel2 {
26953                   to: "base";
26954                   offset: -9 -9;
26955                }
26956             }
26957          }
26958       }
26959       programs {
26960          program { name: "push_start";
26961             signal: "elm,action,push";
26962             source: "elm";
26963             action:  STATE_SET "hidden2" 0.0;
26964             target: "base";
26965             target: "clip";
26966             after: "show_start2";
26967          }
26968          program { name: "show_start";
26969             signal: "elm,action,show";
26970             source: "elm";
26971             action:  STATE_SET "hidden" 0.0;
26972             target: "base";
26973             target: "clip";
26974             after: "show_start2";
26975          }
26976          program { name: "show_start2";
26977             action:  STATE_SET "visible" 0.0;
26978             transition: DECELERATE 0.5;
26979             target: "base";
26980             target: "clip";
26981             after: "show_end";
26982          }
26983          program { name: "show_end";
26984             action: SIGNAL_EMIT "elm,action,show,finished" "";
26985          }
26986          program { name: "pop_start";
26987             signal: "elm,action,pop";
26988             source: "elm";
26989             action:  STATE_SET "visible" 0.0;
26990             target: "base";
26991             target: "clip";
26992             after: "pop_start2";
26993          }
26994          program { name: "pop_start2";
26995             action:  STATE_SET "hidden2" 0.0;
26996             transition: DECELERATE 0.5;
26997             target: "base";
26998             target: "clip";
26999             after: "hide_end";
27000          }
27001          program { name: "hide_start";
27002             signal: "elm,action,hide";
27003             source: "elm";
27004             action:  STATE_SET "visible" 0.0;
27005             target: "base";
27006             target: "clip";
27007             after: "hide_start2";
27008          }
27009          program { name: "hide_start2";
27010             action:  STATE_SET "hidden" 0.0;
27011             transition: DECELERATE 0.5;
27012             target: "base";
27013             target: "clip";
27014             after: "hide_end";
27015          }
27016          program { name: "hide_end";
27017             action: SIGNAL_EMIT "elm,action,hide,finished" "";
27018          }
27019          program { name: "reset";
27020             signal: "elm,action,reset";
27021             source: "elm";
27022             action:  STATE_SET "default" 0.0;
27023             target: "base";
27024             target: "clip";
27025          }
27026       }
27027    }
27028    group { name: "elm/pager/base/slide_invisible";
27029       parts {
27030          part { name: "clip";
27031             type: RECT;
27032             mouse_events: 0;
27033             description { state: "default" 0.0;
27034                rel1 {
27035                   to: "base";
27036                   offset: -9999 -9999;
27037             }
27038                rel2 {
27039                   to: "base";
27040                   offset: 9999 9999;
27041                }
27042                color: 255 255 255 255;
27043             }
27044             description { state: "visible" 0.0;
27045                inherit: "default" 0.0;
27046             }
27047             description { state: "hidden" 0.0;
27048                inherit: "default" 0.0;
27049                color: 255 255 255 0;
27050                visible: 0;
27051             }
27052             description { state: "hidden2" 0.0;
27053                inherit: "default" 0.0;
27054                color: 255 255 255 0;
27055                visible: 0;
27056             }
27057          }
27058          part { name: "base";
27059             type: RECT;
27060             mouse_events:  0;
27061             clip_to: "clip";
27062             description { state: "default" 0.0;
27063                color: 0 0 0 0;
27064             }
27065             description { state: "hidden" 0.0;
27066                color: 0 0 0 0;
27067                rel1.relative: -1.0 0.0;
27068                rel2.relative: 0.0 1.0;
27069             }
27070             description { state: "hidden2" 0.0;
27071                color: 0 0 0 0;
27072                rel1.relative: 1.0 0.0;
27073                rel2.relative: 2.0 1.0;
27074             }
27075             description { state: "visible" 0.0;
27076                color: 0 0 0 0;
27077                rel1.relative: 0.0 0.0;
27078                rel2.relative: 1.0 1.0;
27079             }
27080          }
27081          part { name: "elm.swallow.content";
27082             type: SWALLOW;
27083             clip_to: "clip";
27084             description { state: "default" 0.0;
27085                rel1.to: "base";
27086                rel2.to: "base";
27087             }
27088          }
27089       }
27090       programs {
27091          program { name: "push_start";
27092             signal: "elm,action,push";
27093             source: "elm";
27094             action:  STATE_SET "hidden2" 0.0;
27095             target: "base";
27096             target: "clip";
27097             after: "show_start2";
27098          }
27099          program { name: "show_start";
27100             signal: "elm,action,show";
27101             source: "elm";
27102             action:  STATE_SET "hidden" 0.0;
27103             target: "base";
27104             target: "clip";
27105             after: "show_start2";
27106          }
27107          program { name: "show_start2";
27108             action:  STATE_SET "visible" 0.0;
27109             transition: DECELERATE 0.5;
27110             target: "base";
27111             target: "clip";
27112             after: "show_end";
27113          }
27114          program { name: "show_end";
27115             action: SIGNAL_EMIT "elm,action,show,finished" "";
27116          }
27117          program { name: "pop_start";
27118             signal: "elm,action,pop";
27119             source: "elm";
27120             action:  STATE_SET "visible" 0.0;
27121             target: "base";
27122             target: "clip";
27123             after: "pop_start2";
27124          }
27125          program { name: "pop_start2";
27126             action:  STATE_SET "hidden2" 0.0;
27127             transition: DECELERATE 0.5;
27128             target: "base";
27129             target: "clip";
27130             after: "hide_end";
27131          }
27132          program { name: "hide_start";
27133             signal: "elm,action,hide";
27134             source: "elm";
27135             action:  STATE_SET "visible" 0.0;
27136             target: "base";
27137             target: "clip";
27138             after: "hide_start2";
27139          }
27140          program { name: "hide_start2";
27141             action:  STATE_SET "hidden" 0.0;
27142             transition: DECELERATE 0.5;
27143             target: "base";
27144             target: "clip";
27145             after: "hide_end";
27146          }
27147          program { name: "hide_end";
27148             action: SIGNAL_EMIT "elm,action,hide,finished" "";
27149          }
27150          program { name: "reset";
27151             signal: "elm,action,reset";
27152             source: "elm";
27153             action:  STATE_SET "default" 0.0;
27154             target: "base";
27155             target: "clip";
27156          }
27157       }
27158    }
27159
27160    group { name: "elm/pager/base/fade";
27161        data.item: "onshow" "raise";
27162        // other options
27163        //      data.item: "onhide" "lower";
27164        //      data.item: "onshow" "lower";
27165        images {
27166            image: "frame_1.png" COMP;
27167            image: "frame_2.png" COMP;
27168            image: "dia_grad.png" COMP;
27169        }
27170        parts {
27171            part { name: "clip_base";
27172                type: RECT;
27173                mouse_events: 0;
27174                description { state: "default" 0.0;
27175                    rel1 {
27176                        to: "base";
27177                        offset: -9999 -9999;
27178                    }
27179                    rel2 {
27180                        to: "base";
27181                        offset: 9999 9999;
27182                    }
27183                    color: 255 255 255 120;
27184                }
27185                description { state: "visible" 0.0;
27186                    inherit: "default" 0.0;
27187                }
27188                description { state: "hidden" 0.0;
27189                    inherit: "default" 0.0;
27190                    color: 255 255 255 0;
27191                    visible: 0;
27192                }
27193            }
27194            part { name: "clip";
27195                type: RECT;
27196                mouse_events: 0;
27197                description { state: "default" 0.0;
27198                    rel1 {
27199                        to: "base";
27200                        offset: -9999 -9999;
27201                    }
27202                    rel2 {
27203                        to: "base";
27204                        offset: 9999 9999;
27205                    }
27206                    color: 255 255 255 255;
27207                }
27208                description { state: "visible" 0.0;
27209                    inherit: "default" 0.0;
27210                }
27211                description { state: "hidden" 0.0;
27212                    inherit: "default" 0.0;
27213                    color: 255 255 255 0;
27214                    visible: 0;
27215                }
27216            }
27217            part { name: "base0";
27218                mouse_events:  0;
27219                clip_to: "clip_base";
27220                description { state: "default" 0.0;
27221                    image.normal: "dia_grad.png";
27222                    rel1.to: "over";
27223                    rel2.to: "over";
27224                    fill {
27225                        smooth: 0;
27226                        size {
27227                            relative: 0.0 1.0;
27228                            offset: 64 0;
27229                        }
27230                    }
27231                }
27232            }
27233            part { name: "base";
27234                mouse_events:  0;
27235                clip_to: "clip_base";
27236                description { state: "default" 0.0;
27237                    image {
27238                        normal: "frame_2.png";
27239                        border: 5 5 32 26;
27240                        middle: 0;
27241                    }
27242                    fill.smooth : 0;
27243                }
27244            }
27245            part { name: "over";
27246                mouse_events:  0;
27247                clip_to: "clip";
27248                description { state:    "default" 0.0;
27249                    rel1 {
27250                        to: "base";
27251                        offset: 4 4;
27252                    }
27253                    rel2 {
27254                        to: "base";
27255                        offset: -5 -5;
27256                    }
27257                    image {
27258                        normal: "frame_1.png";
27259                        border: 2 2 28 22;
27260                        middle: 0;
27261                    }
27262                    fill.smooth : 0;
27263                }
27264            }
27265            part { name: "elm.swallow.content";
27266                type: SWALLOW;
27267                clip_to: "clip";
27268                description { state: "default" 0.0;
27269                    rel1 {
27270                        to: "base";
27271                        offset: 8 8;
27272                    }
27273                    rel2 {
27274                        to: "base";
27275                        offset: -9 -9;
27276                    }
27277                }
27278            }
27279        }
27280        programs {
27281            program { name: "push_start";
27282                signal: "elm,action,push";
27283                source: "elm";
27284                action:  STATE_SET "hidden" 0.0;
27285                target: "clip";
27286                target: "clip_base";
27287                after: "show_start2";
27288            }
27289            program { name: "show_start";
27290                signal: "elm,action,show";
27291                source: "elm";
27292                action:  STATE_SET "hidden" 0.0;
27293                target: "clip";
27294                target: "clip_base";
27295                after: "show_start2";
27296            }
27297            program { name: "show_start2";
27298                action:  STATE_SET "visible" 0.0;
27299                transition: DECELERATE 0.5;
27300                target: "clip";
27301                target: "clip_base";
27302                after: "show_end";
27303            }
27304            program { name: "show_end";
27305                action: SIGNAL_EMIT "elm,action,show,finished" "";
27306            }
27307            program { name: "pop_start";
27308                signal: "elm,action,pop";
27309                source: "elm";
27310                action:  STATE_SET "visible" 0.0;
27311                target: "clip";
27312                target: "clip_base";
27313                after: "hide_start2";
27314            }
27315            program { name: "hide_start";
27316                signal: "elm,action,hide";
27317                source: "elm";
27318                action:  STATE_SET "visible" 0.0;
27319                target: "clip";
27320                target: "clip_base";
27321                after: "hide_start2";
27322            }
27323            program { name: "hide_start2";
27324                action:  STATE_SET "hidden" 0.0;
27325                transition: DECELERATE 0.5;
27326                target: "clip";
27327                target: "clip_base";
27328                after: "hide_end";
27329            }
27330            program { name: "hide_end";
27331                action: SIGNAL_EMIT "elm,action,hide,finished" "";
27332            }
27333            program { name: "reset";
27334                signal: "elm,action,reset";
27335                source: "elm";
27336                action:  STATE_SET "default" 0.0;
27337                target: "clip_base";
27338                target: "clip";
27339            }
27340        }
27341    }
27342    group { name: "elm/pager/base/fade_translucide";
27343        data.item: "onshow" "raise";
27344        // other options
27345        //      data.item: "onhide" "lower";
27346        //      data.item: "onshow" "lower";
27347        images {
27348            image: "frame_1.png" COMP;
27349            image: "frame_2.png" COMP;
27350            image: "dia_grad.png" COMP;
27351        }
27352        parts {
27353            part { name: "clip_base";
27354                type: RECT;
27355                mouse_events: 0;
27356                description { state: "default" 0.0;
27357                    rel1 {
27358                        to: "base";
27359                        offset: -9999 -9999;
27360                    }
27361                    rel2 {
27362                        to: "base";
27363                        offset: 9999 9999;
27364                    }
27365                    color: 255 255 255 120;
27366                }
27367                description { state: "visible" 0.0;
27368                    inherit: "default" 0.0;
27369                }
27370                description { state: "hidden" 0.0;
27371                    inherit: "default" 0.0;
27372                    color: 255 255 255 0;
27373                    visible: 0;
27374                }
27375            }
27376            part { name: "clip";
27377                type: RECT;
27378                mouse_events: 0;
27379                description { state: "default" 0.0;
27380                    rel1 {
27381                        to: "base";
27382                        offset: -9999 -9999;
27383                    }
27384                    rel2 {
27385                        to: "base";
27386                        offset: 9999 9999;
27387                    }
27388                    color: 255 255 255 255;
27389                }
27390                description { state: "visible" 0.0;
27391                    inherit: "default" 0.0;
27392                }
27393                description { state: "hidden" 0.0;
27394                    inherit: "default" 0.0;
27395                    color: 255 255 255 0;
27396                    visible: 0;
27397                }
27398            }
27399            part { name: "base0";
27400                mouse_events:  0;
27401                clip_to: "clip_base";
27402                description { state: "default" 0.0;
27403                    image.normal: "dia_grad.png";
27404                    rel1.to: "over";
27405                    rel2.to: "over";
27406                    fill {
27407                        smooth: 0;
27408                        size {
27409                            relative: 0.0 1.0;
27410                            offset: 64 0;
27411                        }
27412                    }
27413                }
27414            }
27415            part { name: "base";
27416                mouse_events:  0;
27417                clip_to: "clip_base";
27418                description { state: "default" 0.0;
27419                    image {
27420                        normal: "frame_2.png";
27421                        border: 5 5 32 26;
27422                        middle: 0;
27423                    }
27424                    fill.smooth : 0;
27425                }
27426            }
27427            part { name: "over";
27428                mouse_events:  0;
27429                clip_to: "clip";
27430                description { state:    "default" 0.0;
27431                    rel1 {
27432                        to: "base";
27433                        offset: 4 4;
27434                    }
27435                    rel2 {
27436                        to: "base";
27437                        offset: -5 -5;
27438                    }
27439                    image {
27440                        normal: "frame_1.png";
27441                        border: 2 2 28 22;
27442                        middle: 0;
27443                    }
27444                    fill.smooth : 0;
27445                }
27446            }
27447            part { name: "elm.swallow.content";
27448                type: SWALLOW;
27449                clip_to: "clip";
27450                description { state: "default" 0.0;
27451                    rel1 {
27452                        to: "base";
27453                        offset: 8 8;
27454                    }
27455                    rel2 {
27456                        to: "base";
27457                        offset: -9 -9;
27458                    }
27459                }
27460            }
27461        }
27462        programs {
27463            program { name: "push_start";
27464                signal: "elm,action,push";
27465                source: "elm";
27466                action:  STATE_SET "hidden" 0.0;
27467                target: "clip";
27468                target: "clip_base";
27469                after: "show_start2";
27470            }
27471            program { name: "show_start";
27472                signal: "elm,action,show";
27473                source: "elm";
27474                action:  STATE_SET "hidden" 0.0;
27475                target: "clip";
27476                target: "clip_base";
27477                after: "show_start2";
27478            }
27479            program { name: "show_start2";
27480                action:  STATE_SET "visible" 0.0;
27481                transition: DECELERATE 0.5;
27482                target: "clip";
27483                target: "clip_base";
27484                after: "show_end";
27485            }
27486            program { name: "show_end";
27487                action: SIGNAL_EMIT "elm,action,show,finished" "";
27488            }
27489            program { name: "pop_start";
27490                signal: "elm,action,pop";
27491                source: "elm";
27492                action:  STATE_SET "visible" 0.0;
27493                target: "clip";
27494                target: "clip_base";
27495                after: "hide_start2";
27496            }
27497            program { name: "hide_start";
27498                signal: "elm,action,hide";
27499                source: "elm";
27500                action:  STATE_SET "visible" 0.0;
27501                target: "clip";
27502                target: "clip_base";
27503                after: "hide_start2";
27504            }
27505            program { name: "hide_start2";
27506                action:  STATE_SET "hidden" 0.0;
27507                transition: DECELERATE 0.5;
27508                target: "clip";
27509                target: "clip_base";
27510                after: "hide_end";
27511            }
27512            program { name: "hide_end";
27513                action: SIGNAL_EMIT "elm,action,hide,finished" "";
27514            }
27515            program { name: "reset";
27516                signal: "elm,action,reset";
27517                source: "elm";
27518                action:  STATE_SET "default" 0.0;
27519                target: "clip_base";
27520                target: "clip";
27521            }
27522        }
27523    }
27524    group { name: "elm/pager/base/fade_invisible";
27525        data.item: "onshow" "raise";
27526        // other options
27527        //      data.item: "onhide" "lower";
27528        //      data.item: "onshow" "lower";
27529        parts {
27530            part { name: "clip";
27531                type: RECT;
27532                mouse_events: 0;
27533                description { state: "default" 0.0;
27534                    rel1 {
27535                        offset: -9999 -9999;
27536                    }
27537                    rel2 {
27538                        offset: 9999 9999;
27539                    }
27540                    color: 255 255 255 255;
27541                }
27542                description { state: "visible" 0.0;
27543                    inherit: "default" 0.0;
27544                }
27545                description { state: "hidden" 0.0;
27546                    inherit: "default" 0.0;
27547                    color: 255 255 255 0;
27548                    visible: 0;
27549                }
27550            }
27551            part { name: "elm.swallow.content";
27552                type: SWALLOW;
27553                clip_to: "clip";
27554                description { state: "default" 0.0;
27555                    rel1 {
27556                        offset: 8 8;
27557                    }
27558                    rel2 {
27559                        offset: -9 -9;
27560                    }
27561                }
27562            }
27563        }
27564        programs {
27565            program { name: "push_start";
27566                signal: "elm,action,push";
27567                source: "elm";
27568                action:  STATE_SET "hidden" 0.0;
27569                target: "clip";
27570                after: "show_start2";
27571            }
27572            program { name: "show_start";
27573                signal: "elm,action,show";
27574                source: "elm";
27575                action:  STATE_SET "hidden" 0.0;
27576                target: "clip";
27577                after: "show_start2";
27578            }
27579            program { name: "show_start2";
27580                action:  STATE_SET "visible" 0.0;
27581                transition: DECELERATE 0.5;
27582                target: "clip";
27583                after: "show_end";
27584            }
27585            program { name: "show_end";
27586                action: SIGNAL_EMIT "elm,action,show,finished" "";
27587            }
27588            program { name: "pop_start";
27589                signal: "elm,action,pop";
27590                source: "elm";
27591                action:  STATE_SET "visible" 0.0;
27592                target: "clip";
27593                after: "hide_start2";
27594            }
27595            program { name: "hide_start";
27596                signal: "elm,action,hide";
27597                source: "elm";
27598                action:  STATE_SET "visible" 0.0;
27599                target: "clip";
27600                after: "hide_start2";
27601            }
27602            program { name: "hide_start2";
27603                action:  STATE_SET "hidden" 0.0;
27604                transition: DECELERATE 0.5;
27605                target: "clip";
27606                after: "hide_end";
27607            }
27608            program { name: "hide_end";
27609                action: SIGNAL_EMIT "elm,action,hide,finished" "";
27610            }
27611            program { name: "reset";
27612                signal: "elm,action,reset";
27613                source: "elm";
27614                action:  STATE_SET "default" 0.0;
27615                target: "clip";
27616            }
27617        }
27618    }
27619
27620    group { name: "elm/pager/base/flip";
27621       data.item: "onshow" "raise";
27622       images {
27623          image: "frame_1.png" COMP;
27624          image: "frame_2.png" COMP;
27625          image: "dia_grad.png" COMP;
27626       }
27627       parts {
27628          part { name: "elm.swallow.content";
27629             type: SWALLOW;
27630             description { state: "default" 0.0;
27631                map {
27632                   on: 1;
27633                   smooth: 1;
27634                   backface_cull: 1;
27635                   perspective_on: 1;
27636                }
27637                perspective {
27638                   zplane: 0;
27639                   focal: 1000;
27640                }
27641             }
27642             description { state: "hidden" 0.0;
27643                inherit: "default" 0.0;
27644                visible: 0;
27645                map.rotation.y: 90.0;
27646             }
27647             description { state: "before_hidden" 0.0;
27648                inherit: "default" 0.0;
27649                visible: 0;
27650                map.rotation.y: -90.0;
27651             }
27652          }
27653       }
27654       programs {
27655          program { name: "push_start";
27656             signal: "elm,action,push";
27657             source: "elm";
27658             after: "push1";
27659          }
27660          program { name: "push1";
27661             action:  STATE_SET "hidden" 0.0;
27662             target: "elm.swallow.content";
27663             after: "push2";
27664          }
27665          program { name: "push2";
27666             action:  STATE_SET "default" 0.0;
27667             in: 0.5 0.0;
27668             transition: LINEAR 0.5;
27669             target: "elm.swallow.content";
27670             after: "push3";
27671          }
27672          program { name: "push3";
27673             action: SIGNAL_EMIT "elm,action,show,finished" "";
27674          }
27675
27676          program { name: "show_start";
27677             signal: "elm,action,show";
27678             source: "elm";
27679             after: "show1";
27680          }
27681          program { name: "show1";
27682             action:  STATE_SET "before_hidden" 0.0;
27683             target: "elm.swallow.content";
27684             after: "show2";
27685          }
27686          program { name: "show2";
27687             action:  STATE_SET "default" 0.0;
27688             in: 0.5 0.0;
27689             transition: LINEAR 0.5;
27690             target: "elm.swallow.content";
27691             after: "show3";
27692          }
27693          program { name: "show3";
27694             action: SIGNAL_EMIT "elm,action,show,finished" "";
27695          }
27696
27697          program { name: "pop_start";
27698             signal: "elm,action,pop";
27699             source: "elm";
27700             after: "pop1";
27701          }
27702          program { name: "pop1";
27703             action:  STATE_SET "default" 0.0;
27704             target: "elm.swallow.content";
27705             after: "pop2";
27706          }
27707          program { name: "pop2";
27708             action:  STATE_SET "hidden" 0.0;
27709             transition: LINEAR 0.5;
27710             target: "elm.swallow.content";
27711             after: "pop3";
27712          }
27713          program { name: "pop3";
27714             action: SIGNAL_EMIT "elm,action,hide,finished" "";
27715          }
27716
27717          program { name: "hide_start";
27718             signal: "elm,action,hide";
27719             source: "elm";
27720             after: "hide1";
27721          }
27722          program { name: "hide1";
27723             action:  STATE_SET "default" 0.0;
27724             target: "elm.swallow.content";
27725             after: "hide2";
27726          }
27727          program { name: "hide2";
27728             action:  STATE_SET "before_hidden" 0.0;
27729             transition: LINEAR 0.5;
27730             target: "elm.swallow.content";
27731             after: "hide3";
27732          }
27733          program { name: "hide3";
27734             action: SIGNAL_EMIT "elm,action,hide,finished" "";
27735          }
27736
27737          program { name: "reset";
27738             signal: "elm,action,reset";
27739             source: "elm";
27740             action:  STATE_SET "default" 0.0;
27741             target: "elm.swallow.content";
27742          }
27743       }
27744    }
27745
27746
27747
27748 ///////////////////////////////////////////////////////////////////////////////
27749 // FIXME: this doesn't look too hot. need to fix it up
27750    group { name: "elm/progressbar/horizontal/default";
27751       images {
27752          image: "shelf_inset.png" COMP;
27753          image: "bt_sm_base2.png" COMP;
27754          image: "bt_sm_hilight.png" COMP;
27755          image: "bt_sm_shine.png" COMP;
27756       }
27757       parts {
27758          part { name: "elm.background.progressbar";
27759             mouse_events: 0;
27760             description {
27761                state: "default" 0.0;
27762                rel1 {
27763                   relative: 0.0 0.0;
27764                   offset: 0 0;
27765                }
27766                rel2 {
27767                   relative: 1.0 1.0;
27768                }
27769             }
27770          }
27771          part { name: "elm.swallow.bar";
27772             mouse_events: 0;
27773             type: SWALLOW;
27774             description {
27775                min: 48 28;
27776                max: 99999 28;
27777                state: "default" 0.0;
27778                rel1 {
27779                   to_x: "elm.text";
27780                   to_y: "elm.background.progressbar";
27781                   relative: 1.0 0.0;
27782                }
27783                rel2 {
27784                   to: "elm.background.progressbar";
27785                   relative: 1.0 1.0;
27786                }
27787             }
27788          }
27789          part { name: "elm.swallow.content";
27790             type: SWALLOW;
27791             description { state: "default" 0.0;
27792                visible: 0;
27793                align: 0.0 0.5;
27794                rel1 {
27795                   offset: 4 0;
27796                   to_y: "elm.background.progressbar";
27797                }
27798                rel2 {
27799                   offset: 3 -1;
27800                   relative: 0.0 1.0;
27801                   to_y: "elm.background.progressbar";
27802                }
27803             }
27804             description { state: "visible" 0.0;
27805                inherit: "default" 0.0;
27806                visible: 1;
27807                aspect: 1.0 1.0;
27808                aspect_preference: VERTICAL;
27809                rel2.offset: 4 -1;
27810             }
27811          }
27812          part { name: "elm.text";
27813             type: TEXT;
27814             mouse_events: 0;
27815             scale: 1;
27816             description { state: "default" 0.0;
27817                visible: 0;
27818                fixed: 1 1;
27819                align: 0.0 0.5;
27820                rel1.to_x: "elm.swallow.content";
27821                rel1.relative: 1.0 0.0;
27822                rel1.offset: -1 4;
27823                rel2.to_x: "elm.swallow.content";
27824                rel2.relative: 1.0 1.0;
27825                rel2.offset: -1 -5;
27826                color: 0 0 0 255;
27827                text {
27828                   font: "Sans,Edje-Vera";
27829                   size: 10;
27830                   min: 0 0;
27831                   align: 0.0 0.5;
27832                }
27833             }
27834             description { state: "visible" 0.0;
27835                inherit: "default" 0.0;
27836                visible: 1;
27837                text.min: 1 1;
27838                rel1.offset: 0 4;
27839                rel2.offset: 0 -5;
27840             }
27841          }
27842
27843          part { name: "background";
27844             mouse_events: 0;
27845             clip_to: "elm.background.progressbar";
27846             description {
27847                state: "default" 0.0;
27848                rel1 {
27849                   to: "elm.swallow.bar";
27850                   relative: 0.0 0.0;
27851                }
27852                rel2 {
27853                   to: "elm.swallow.bar";
27854                   relative: 1.0 1.0;
27855                   offset: -1 -1;
27856                }
27857                image {
27858                   normal: "shelf_inset.png";
27859                   border: 7 7 7 7;
27860                }
27861             }
27862          }
27863
27864          part { name: "elm.text.status";
27865             type: TEXT;
27866             mouse_events: 0;
27867             description { state: "default" 0.0;
27868                fixed: 1 1;
27869                visible: 1;
27870                rel1 {
27871                   to: "background";
27872                   relative: 0.5 0.5;
27873                }
27874                rel2 {
27875                   to: "background";
27876                   relative: 0.5 0.5;
27877                }
27878                text {
27879                   font: "Sans:style=Bold,Edje-Vera-Bold";
27880                   size: 10;
27881                   min: 1 1;
27882                   align: 0.5 0.0;
27883                }
27884                color: 0 0 0 255;
27885             }
27886             description { state: "hidden" 0.0;
27887                inherit: "default" 0.0;
27888                visible: 0;
27889                text.min: 0 0;
27890             }
27891          }
27892
27893          part { name: "elm.progress.progressbar";
27894             mouse_events: 0;
27895             clip_to: "elm.background.progressbar";
27896             description {
27897                state: "default" 0.0;
27898                min: 14 28;
27899                fixed: 1 1;
27900                rel1 {
27901                   to: "elm.swallow.bar";
27902                   relative: 0.0 0.0;
27903                }
27904                rel2 {
27905                   to_y: "elm.swallow.bar";
27906                   to_x: "elm.cur.progressbar";
27907                   offset: -1 -1;
27908                }
27909                image {
27910                   normal: "bt_sm_base2.png";
27911                   border: 6 6 6 6;
27912                }
27913             }
27914             description {
27915                state: "invert" 0.0;
27916                inherit: "default" 0.0;
27917                rel1 {
27918                   to_y: "elm.swallow.bar";
27919                   to_x: "elm.cur.progressbar";
27920                }
27921                rel2 {
27922                   to: "elm.swallow.bar";
27923                   relative: 1.0 1.0;
27924                }
27925             }
27926             description {
27927                state: "state_begin" 0.0;
27928                inherit: "default" 0.0;
27929                rel1 {
27930                   to: "elm.swallow.bar";
27931                   relative: 0.0 0.0;
27932                }
27933                rel2 {
27934                   to: "elm.swallow.bar";
27935                   relative: 0.1 1.0;
27936                }
27937             }
27938             description {
27939                state: "state_end" 0.0;
27940                inherit: "default" 0.0;
27941                rel1 {
27942                   to: "elm.swallow.bar";
27943                   relative: 0.9 0.0;
27944                }
27945                rel2 {
27946                   to: "elm.swallow.bar";
27947                   relative: 1.0 1.0;
27948                }
27949             }
27950          }
27951          part { name: "text-bar";
27952             type: TEXT;
27953             mouse_events: 0;
27954             clip_to: "progress-rect";
27955             effect: SOFT_SHADOW;
27956             scale: 1;
27957             description { state: "default" 0.0;
27958                align: 0.0 0.0;
27959                fixed: 1 1;
27960                visible: 1;
27961                rel1.to: "elm.text.status";
27962                rel1.offset: -1 -1;
27963                rel2.to: "elm.text.status";
27964                text {
27965                   text_source: "elm.text.status";
27966                   font: "Sans:style=Bold,Edje-Vera-Bold";
27967                   size: 10;
27968                   min: 1 1;
27969                   align: 0.0 0.0;
27970                }
27971                color: 224 224 224 255;
27972                color3: 0 0 0 64;
27973             }
27974             description { state: "hidden" 0.0;
27975                inherit: "default" 0.0;
27976                visible: 0;
27977                text.min: 0 0;
27978             }
27979          }
27980
27981          part { name: "over1";
27982             mouse_events: 0;
27983             description { state: "default" 0.0;
27984                rel1.to: "elm.progress.progressbar";
27985                rel2.to: "elm.progress.progressbar";
27986                rel2.relative: 1.0 0.5;
27987                image {
27988                   normal: "bt_sm_hilight.png";
27989                   border: 6 6 6 0;
27990                }
27991             }
27992          }
27993
27994          part { name: "over2";
27995             mouse_events: 1;
27996             repeat_events: 1;
27997             description { state: "default" 0.0;
27998                rel1.to: "elm.progress.progressbar";
27999                rel2.to: "elm.progress.progressbar";
28000                image {
28001                   normal: "bt_sm_shine.png";
28002                   border: 6 6 6 0;
28003                }
28004             }
28005          }
28006
28007          part { name: "elm.cur.progressbar";
28008             mouse_events: 0;
28009             dragable {
28010                confine: "background";
28011                x: 1 1 1;
28012                y: 0 0 0;
28013             }
28014             description { state: "default" 0.0;
28015                min: 14 28;
28016                fixed: 1 1;
28017                visible: 0;
28018                rel1 {
28019                   to: "background";
28020                   relative: 0 0;
28021                }
28022                rel2.to: "background";
28023            }
28024          }
28025          part { name: "progress-rect";
28026             mouse_events: 0;
28027             description {
28028                state: "default" 0.0;
28029                rel1.to: "elm.progress.progressbar";
28030                rel2.to: "elm.progress.progressbar";
28031             }
28032          }
28033       }
28034       programs {
28035          program { name: "label_show";
28036             signal: "elm,state,text,visible";
28037             source: "elm";
28038             action:  STATE_SET "visible" 0.0;
28039             target: "elm.text";
28040          }
28041          program { name: "label_hide";
28042             signal: "elm,state,text,hidden";
28043             source: "elm";
28044             action:  STATE_SET "default" 0.0;
28045             target: "elm.text";
28046          }
28047          program { name: "icon_show";
28048             signal: "elm,state,icon,visible";
28049             source: "elm";
28050             action:  STATE_SET "visible" 0.0;
28051             target: "elm.swallow.content";
28052          }
28053          program { name: "icon_hide";
28054             signal: "elm,state,icon,hidden";
28055             source: "elm";
28056             action:  STATE_SET "default" 0.0;
28057             target: "elm.swallow.content";
28058          }
28059          program { name: "units_show";
28060             signal: "elm,state,units,visible";
28061             source: "elm";
28062             action:  STATE_SET "default" 0.0;
28063             target: "text-bar";
28064             target: "elm.text.status";
28065          }
28066          program { name: "units_hide";
28067             signal: "elm,state,units,hidden";
28068             source: "elm";
28069             action:  STATE_SET "hidden" 0.0;
28070             target: "text-bar";
28071             target: "elm.text.status";
28072          }
28073          program { name: "slide_to_end";
28074             action:  STATE_SET "state_end" 0.0;
28075             transition: LINEAR 0.5;
28076             target: "elm.progress.progressbar";
28077             after: "slide_to_begin";
28078          }
28079          program { name: "slide_to_begin";
28080             signal: "elm,state,slide,begin";
28081             action: STATE_SET "state_begin" 0.0;
28082             target: "elm.progress.progressbar";
28083             transition: LINEAR 0.5;
28084             after: "slide_to_end";
28085          }
28086          program { name: "start_pulse";
28087             signal: "elm,state,pulse,start";
28088             source: "elm";
28089             after: "slide_to_end";
28090          }
28091          program { name: "stop_pulse";
28092             signal: "elm,state,pulse,stop";
28093             source: "elm";
28094             action: ACTION_STOP;
28095             target: "slide_to_begin";
28096             target: "slide_to_end";
28097             target: "start_pulse";
28098             after: "state_pulse";
28099          }
28100          program { name: "state_pulse";
28101             signal: "elm,state,pulse";
28102             source: "elm";
28103             action: STATE_SET "state_begin" 0.0;
28104             target: "elm.progress.progressbar";
28105             after: "units_hide";
28106          }
28107          program { name: "state_fraction";
28108             signal: "elm,state,fraction";
28109             source: "elm";
28110             action: ACTION_STOP;
28111             target: "slide_to_begin";
28112             target: "slide_to_end";
28113             target: "start_pulse";
28114             action: STATE_SET "default" 0.0;
28115             target: "elm.progress.progressbar";
28116          }
28117          program { name: "set_invert_on";
28118             signal: "elm,state,inverted,on";
28119             source: "elm";
28120             action:  STATE_SET "invert" 0.0;
28121             target: "elm.progress.progressbar";
28122          }
28123          program { name: "set_invert_off";
28124             signal: "elm,state,inverted,off";
28125             source: "elm";
28126             action:  STATE_SET "default" 0.0;
28127             target: "elm.progress.progressbar";
28128          }
28129       }
28130    }
28131
28132 ///////////////////////////////////////////////////////////////////////////////
28133    group { name: "elm/progressbar/vertical/default";
28134       images {
28135          image: "shelf_inset.png" COMP;
28136          image: "bt_sm_base2.png" COMP;
28137          image: "bt_sm_hilight.png" COMP;
28138          image: "bt_sm_shine.png" COMP;
28139       }
28140       parts {
28141          part { name: "elm.background.progressbar";
28142             type: RECT;
28143             mouse_events: 0;
28144             description {
28145                state: "default" 0.0;
28146                rel1 {
28147                   relative: 0.0 0.0;
28148                   offset: 0 0;
28149                }
28150                rel2 {
28151                   relative: 1.0 1.0;
28152                   offset: -1 -1;
28153                }
28154             }
28155          }
28156          part { name: "elm.swallow.bar";
28157             type: SWALLOW;
28158             scale: 1;
28159             description { state: "default" 0.0;
28160                min: 28 48;
28161                max: 28 9999;
28162                align: 0.5 1.0;
28163                rel1 {
28164                   to_y: "elm.text";
28165                   relative: 0.0 1.0;
28166                   offset: 0 2;
28167                }
28168                rel2 {
28169                   to_y: "elm.text.box";
28170                   relative: 1.0 0.0;
28171                   offset: -1 -3;
28172                }
28173             }
28174          }
28175          part { name: "elm.swallow.content";
28176             type: SWALLOW;
28177             description { state: "default" 0.0;
28178                visible: 0;
28179                align: 0.5 0.0;
28180                rel1 {
28181                   offset: 0 4;
28182                   to_x: "elm.swallow.bar";
28183                }
28184                rel2 {
28185                   offset: -1 3;
28186                   relative: 1.0 0.0;
28187                   to_x: "elm.swallow.bar";
28188                }
28189             }
28190             description { state: "visible" 0.0;
28191                inherit: "default" 0.0;
28192                visible: 1;
28193                aspect: 1.0 1.0;
28194                aspect_preference: HORIZONTAL;
28195                rel2.offset: -1 4;
28196             }
28197          }
28198          part { name: "elm.text";
28199             type: TEXT;
28200             mouse_events: 0;
28201             scale: 1;
28202             description { state: "default" 0.0;
28203                visible: 0;
28204                fixed: 1 1;
28205                align: 0.5 0.0;
28206                rel1.to_y: "elm.swallow.content";
28207                rel1.relative: 0.5 1.0;
28208                rel1.offset: 0 -1;
28209                rel2.to_y: "elm.swallow.content";
28210                rel2.relative: 0.5 1.0;
28211                rel2.offset: -1 -1;
28212                color: 0 0 0 255;
28213                text {
28214                   font: "Sans,Edje-Vera";
28215                   size: 10;
28216                   min: 0 0;
28217                   align: 0.5 0.0;
28218                }
28219             }
28220             description { state: "visible" 0.0;
28221                inherit: "default" 0.0;
28222                visible: 1;
28223                text.min: 1 1;
28224                rel1.offset: 4 0;
28225                rel2.offset: -5 0;
28226             }
28227          }
28228
28229          part { name: "background";
28230             mouse_events: 0;
28231             clip_to: "elm.background.progressbar";
28232             description {
28233                state: "default" 0.0;
28234                rel1 {
28235                   to: "elm.swallow.bar";
28236                   relative: 0.0 0.0;
28237                }
28238                rel2 {
28239                   to: "elm.swallow.bar";
28240                   relative: 1.0 1.0;
28241                   offset: -1 -1;
28242                }
28243                image {
28244                   normal: "shelf_inset.png";
28245                   border: 7 7 7 7;
28246                }
28247             }
28248          }
28249
28250          part { name: "elm.progress.progressbar";
28251             mouse_events: 0;
28252             clip_to: "elm.background.progressbar";
28253             description {
28254                state: "default" 0.0;
28255                min: 28 14;
28256                fixed: 1 1;
28257                rel1 {
28258                   to: "elm.swallow.bar";
28259                   relative: 0.0 0.0;
28260                }
28261                rel2 {
28262                   to_x: "elm.swallow.bar";
28263                   to_y: "elm.cur.progressbar";
28264                   offset: -1 -1;
28265                }
28266                image {
28267                   normal: "bt_sm_base2.png";
28268                   border: 6 6 6 6;
28269                }
28270             }
28271             description {
28272                state: "invert" 0.0;
28273                inherit: "default" 0.0;
28274                rel1 {
28275                   to_x: "elm.swallow.bar";
28276                   to_y: "elm.cur.progressbar";
28277                }
28278                rel2 {
28279                   to: "elm.swallow.bar";
28280                   relative: 1.0 1.0;
28281                }
28282             }
28283             description {
28284                state: "state_begin" 0.0;
28285                inherit: "default" 0.0;
28286                rel1 {
28287                   to: "elm.swallow.bar";
28288                   relative: 0.0 0.0;
28289                }
28290                rel2 {
28291                   to: "elm.swallow.bar";
28292                   relative: 1.0 0.1;
28293                }
28294             }
28295             description {
28296                state: "state_end" 0.0;
28297                inherit: "default" 0.0;
28298                rel1 {
28299                   to: "elm.swallow.bar";
28300                   relative: 0.0 0.9;
28301                }
28302                rel2 {
28303                   to: "elm.swallow.bar";
28304                   relative: 1.0 1.0;
28305                }
28306             }
28307          }
28308
28309          part { name: "over1";
28310             mouse_events: 0;
28311             description { state: "default" 0.0;
28312                rel1.to: "elm.progress.progressbar";
28313                rel2.to: "elm.progress.progressbar";
28314                rel2.relative: 1.0 0.5;
28315                image {
28316                   normal: "bt_sm_hilight.png";
28317                   border: 6 6 6 0;
28318                }
28319             }
28320          }
28321
28322          part { name: "over2";
28323             mouse_events: 1;
28324             repeat_events: 1;
28325             description { state: "default" 0.0;
28326                rel1.to: "elm.progress.progressbar";
28327                rel2.to: "elm.progress.progressbar";
28328                image {
28329                   normal: "bt_sm_shine.png";
28330                   border: 6 6 6 0;
28331                }
28332             }
28333          }
28334
28335          part { name: "elm.cur.progressbar";
28336             mouse_events: 0;
28337             dragable {
28338                confine: "background";
28339                x: 0 0 0;
28340                y: 1 1 1;
28341             }
28342             description { state: "default" 0.0;
28343                min: 28 14;
28344                fixed: 1 1;
28345                visible: 0;
28346                rel1 {
28347                   to: "background";
28348                   relative: 0 0;
28349                }
28350                rel2.to: "background";
28351            }
28352          }
28353
28354          part { name: "elm.text.box";
28355             mouse_events: 0;
28356             type: RECT;
28357             description { state: "default" 0.0;
28358                visible: 0;
28359                rel1 {
28360                   to: "elm.text.status";
28361                   offset: -2 -2;
28362                }
28363                rel2 {
28364                   to: "elm.text.status";
28365                   offset: 2 2;
28366                }
28367                color: 255 255 255 0;
28368             }
28369             description { state: "visible" 0.0;
28370                inherit: "default" 0.0;
28371                visible: 1;
28372             }
28373          }
28374          part { name: "elm.text.status";
28375             type: TEXT;
28376             mouse_events: 0;
28377             scale: 1;
28378             description { state: "default" 0.0;
28379                visible: 0;
28380                fixed: 1 1;
28381                align: 0.5 1.0;
28382                rel1.relative: 0.0 1.0;
28383                rel1.offset: 2 0;
28384                rel2.relative: 1.0 1.0;
28385                rel2.offset: -2 0;
28386                color: 0 0 0 255;
28387                text {
28388                   font: "Sans:style=Bold,Edje-Vera-Bold";
28389                   size: 10;
28390                   min: 0 0;
28391                   align: 0.5 0.0;
28392                }
28393             }
28394             description { state: "visible" 0.0;
28395                inherit: "default" 0.0;
28396                fixed: 1 1;
28397                visible: 1;
28398                text.min: 1 1;
28399                rel1.offset: 8 -9;
28400                rel2.offset: -9 -9;
28401             }
28402          }
28403       }
28404       programs {
28405          program { name: "label_show";
28406             signal: "elm,state,text,visible";
28407             source: "elm";
28408             action:  STATE_SET "visible" 0.0;
28409             target: "elm.text";
28410          }
28411          program { name: "label_hide";
28412             signal: "elm,state,text,hidden";
28413             source: "elm";
28414             action:  STATE_SET "default" 0.0;
28415             target: "elm.text";
28416          }
28417          program { name: "icon_show";
28418             signal: "elm,state,icon,visible";
28419             source: "elm";
28420             action:  STATE_SET "visible" 0.0;
28421             target: "elm.swallow.content";
28422          }
28423          program { name: "icon_hide";
28424             signal: "elm,state,icon,hidden";
28425             source: "elm";
28426             action:  STATE_SET "default" 0.0;
28427             target: "elm.swallow.content";
28428          }
28429          program { name: "units_show";
28430             signal: "elm,state,units,visible";
28431             source: "elm";
28432             action:  STATE_SET "visible" 0.0;
28433             target: "elm.text.status";
28434             target: "elm.text.box";
28435          }
28436          program { name: "units_hide";
28437             signal: "elm,state,units,hidden";
28438             source: "elm";
28439             action:  STATE_SET "default" 0.0;
28440             target: "elm.text.status";
28441             target: "elm.text.box";
28442          }
28443          program { name: "slide_to_end";
28444             action:  STATE_SET "state_end" 0.0;
28445             transition: LINEAR 0.5;
28446             target: "elm.progress.progressbar";
28447             after: "slide_to_begin";
28448          }
28449          program { name: "slide_to_begin";
28450             action:  STATE_SET "state_begin" 0.0;
28451             target: "elm.progress.progressbar";
28452             transition: LINEAR 0.5;
28453             after: "slide_to_end";
28454          }
28455          program { name: "start_pulse";
28456             signal: "elm,state,pulse,start";
28457             source: "elm";
28458             action: STATE_SET "state_begin" 0.0;
28459             target: "elm.progress.progressbar";
28460             after: "slide_to_end";
28461          }
28462          program { name: "stop_pulse";
28463             signal: "elm,state,pulse,stop";
28464             source: "elm";
28465             action: ACTION_STOP;
28466             target: "slide_to_begin";
28467             target: "slide_to_end";
28468             target: "start_pulse";
28469             after: "state_pulse";
28470          }
28471          program { name: "state_pulse";
28472             signal: "elm,state,pulse";
28473             source: "elm";
28474             action: STATE_SET "state_begin" 0.0;
28475             target: "elm.progress.progressbar";
28476             after: "units_hide";
28477          }
28478          program { name: "state_fraction";
28479             signal: "elm,state,fraction";
28480             source: "elm";
28481             action: ACTION_STOP;
28482             target: "slide_to_begin";
28483             target: "slide_to_end";
28484             target: "start_pulse";
28485             action: STATE_SET "default" 0.0;
28486             target: "elm.progress.progressbar";
28487          }
28488          program { name: "set_invert_on";
28489             signal: "elm,state,inverted,on";
28490             source: "elm";
28491             action:  STATE_SET "invert" 0.0;
28492             target: "elm.progress.progressbar";
28493             target: "elm.cur.progressbar";
28494          }
28495          program { name: "set_invert_off";
28496             signal: "elm,state,inverted,off";
28497             source: "elm";
28498             action:  STATE_SET "default" 0.0;
28499             target: "elm.progress.progressbar";
28500             target: "elm.cur.progressbar";
28501          }
28502       }
28503    }
28504
28505 ///////////////////////////////////////////////////////////////////////////////
28506    group { name: "elm/separator/horizontal/default";
28507        images {
28508            image: "separator_h.png" COMP;
28509        }
28510        parts {
28511            part { name: "separator"; // separator group
28512                description { state: "default" 0.0;
28513                    min: 2 2;
28514                    rel1.offset: 4 4;
28515                    rel2.offset: -5 -5;
28516                    image {
28517                        normal: "separator_h.png";
28518                    }
28519                    fill {
28520                        smooth: 0;
28521                    }
28522                }
28523            }
28524        }
28525    }
28526
28527    ///////////////////////////////////////////////////////////////////////////////
28528    group { name: "elm/separator/vertical/default";
28529        images {
28530            image: "separator_v.png" COMP;
28531        }
28532        parts {
28533            part { name: "separator"; // separator group
28534                description { state: "default" 0.0;
28535                    min: 2 2;
28536                    rel1.offset: 4 4;
28537                    rel2.offset: -5 -5;
28538                    image {
28539                        normal: "separator_v.png";
28540                    }
28541                    fill {
28542                        smooth: 0;
28543                    }
28544                }
28545            }
28546        }
28547    }
28548
28549    group { name: "elm/progressbar/horizontal/wheel";
28550        images {
28551            image: "busy-1.png" COMP;
28552            image: "busy-2.png" COMP;
28553            image: "busy-3.png" COMP;
28554            image: "busy-4.png" COMP;
28555            image: "busy-5.png" COMP;
28556            image: "busy-6.png" COMP;
28557            image: "busy-7.png" COMP;
28558            image: "busy-8.png" COMP;
28559            image: "busy-9.png" COMP;
28560        }
28561        parts {
28562            part { name: "elm.background.progressbar";
28563                mouse_events: 0;
28564                type: RECT;
28565                description {
28566                    state: "default" 0.0;
28567                }
28568            }
28569            part { name: "elm.swallow.bar";
28570                mouse_events: 0;
28571                type: SWALLOW;
28572                description { state: "default" 0.0;
28573                    min: 0 0;
28574                    max: 0 0;
28575                    visible: 0;
28576                }
28577            }
28578            part { name: "elm.swallow.content";
28579                type: SWALLOW;
28580                description { state: "default" 0.0;
28581                    min: 0 0;
28582                    max: 0 0;
28583                    visible: 0;
28584                }
28585            }
28586            part { name: "background";
28587                mouse_events: 0;
28588                clip_to: "elm.background.progressbar";
28589                description {
28590                    state: "default" 0.0;
28591                    min: 32 32;
28592                    max: 32 32;
28593                    visible: 1;
28594                    aspect: 1.0 1.0;
28595                    aspect_preference: BOTH;
28596                    image {
28597                        normal: "busy-9.png";
28598                        border: 7 7 7 7;
28599                    }
28600                }
28601                description {
28602                    state: "pulse" 0.0;
28603                    inherit: "default" 0.0;
28604                    image {
28605                        normal: "busy-9.png";
28606                        tween:  "busy-1.png";
28607                        tween:  "busy-2.png";
28608                        tween:  "busy-3.png";
28609                        tween:  "busy-4.png";
28610                        tween:  "busy-5.png";
28611                        tween:  "busy-6.png";
28612                        tween:  "busy-7.png";
28613                        tween:  "busy-8.png";
28614                        border: 7 7 7 7;
28615                    }
28616                }
28617            }
28618        }
28619        programs {
28620            program { name: "start_pulse";
28621                signal: "elm,state,pulse,start";
28622                source: "elm";
28623                action: STATE_SET "pulse" 0.0;
28624                target: "background";
28625                transition: LINEAR 0.5;
28626                after: "start_pulse";
28627            }
28628            program { name: "stop_pulse";
28629                signal: "elm,state,pulse,stop";
28630                source: "elm";
28631                action: STATE_SET "default" 0.0;
28632                target: "background";
28633            }
28634        }
28635    }
28636
28637
28638 ///////////////////////////////////////////////////////////////////////////////
28639    group { name: "elm/spinner/base/default";
28640        images {
28641            image: "shelf_inset.png" COMP;
28642            image: "bt_base1.png" COMP;
28643            image: "bt_hilight.png" COMP;
28644            image: "bt_shine.png" COMP;
28645            image: "bt_glow.png" COMP;
28646            image: "bt_dis_base.png" COMP;
28647            image: "bt_dis_hilight.png" COMP;
28648            image: "sp_bt_l.png" COMP;
28649            image: "sp_bt_r.png" COMP;
28650        }
28651        parts {
28652            part { name: "bg";
28653                type: RECT;
28654                description { state: "default" 0.0;
28655                    min: 0 30;
28656                    rel1.offset: 1 1;
28657                    rel2.offset: -2 -2;
28658                    color: 255 255 255 0;
28659                }
28660            }
28661            part { name: "conf_over";
28662                mouse_events:  0;
28663                description { state: "default" 0.0;
28664                    rel1.to: "bg";
28665                    rel2.to: "bg";
28666                    image {
28667                        normal: "shelf_inset.png";
28668                        border: 7 7 7 7;
28669                        middle: 0;
28670                    }
28671                    fill.smooth : 0;
28672                }
28673            }
28674            part { name: "left_bt";
28675                mouse_events:  1;
28676                description { state: "default" 0.0;
28677                    rel1 { to: "bg";
28678                        offset: 3 3;
28679                    }
28680                    rel2 { to: "bg";
28681                        offset: -4 -4;
28682                    }
28683                    align: 0.0 0.5;
28684                    min: 24 24;
28685                    aspect: 1.0 1.0;
28686                    aspect_preference: VERTICAL;
28687                    image {
28688                        normal: "bt_base1.png";
28689                        border: 6 6 6 6;
28690                    }
28691                    fill.smooth : 0;
28692                }
28693                description { state: "clicked" 0.0;
28694                    inherit: "default" 0.0;
28695                    image.normal: "bt_base1.png";
28696                    image.middle: SOLID;
28697                }
28698                description { state: "disabled" 0.0;
28699                    inherit:  "default" 0.0;
28700                    image {
28701                        normal: "bt_dis_base.png";
28702                        border: 4 4 4 4;
28703                    }
28704                }
28705            }
28706            part {          name: "left_over1";
28707                mouse_events: 0;
28708                description { state: "default" 0.0;
28709                    rel1.to: "left_bt";
28710                    rel2 { to: "left_bt";
28711                        relative: 1.0 0.5;
28712                    }
28713                    image {
28714                        normal: "bt_hilight.png";
28715                        border: 7 7 7 0;
28716                    }
28717                }
28718                description { state: "disabled" 0.0;
28719                    inherit:  "default" 0.0;
28720                    image {
28721                        normal: "bt_dis_hilight.png";
28722                        border: 4 4 4 0;
28723                    }
28724                }
28725            }
28726            part { name: "left_over2";
28727                mouse_events: 1;
28728                repeat_events: 1;
28729                ignore_flags: ON_HOLD;
28730                description { state: "default" 0.0;
28731                    rel1.to: "left_bt";
28732                    rel2.to: "left_bt";
28733                    image {
28734                        normal: "bt_shine.png";
28735                        border: 7 7 7 7;
28736                    }
28737                }
28738                description { state: "disabled" 0.0;
28739                    inherit:  "default" 0.0;
28740                    visible: 0;
28741                }
28742            }
28743            part { name: "left_over3";
28744                mouse_events: 1;
28745                repeat_events: 1;
28746                description { state: "default" 0.0;
28747                    color: 255 255 255 0;
28748                    rel1.to: "left_bt";
28749                    rel2.to: "left_bt";
28750                    image {
28751                        normal: "bt_glow.png";
28752                        border: 12 12 12 12;
28753                    }
28754                    fill.smooth : 0;
28755                }
28756                description { state: "clicked" 0.0;
28757                    inherit:  "default" 0.0;
28758                    visible: 1;
28759                    color: 255 255 255 255;
28760                }
28761            }
28762            part { name: "right_bt";
28763                mouse_events:  1;
28764                description { state: "default" 0.0;
28765                    rel1 { to: "bg";
28766                        offset: -26 3;
28767                    }
28768                    rel2 { to: "bg";
28769                        offset: -4 -4;
28770                    }
28771                    align: 1.0 0.5;
28772                    min: 24 24;
28773                    aspect: 1.0 1.0;
28774                    aspect_preference: VERTICAL;
28775                    image {
28776                        normal: "bt_base1.png";
28777                        border: 5 5 4 12;
28778                    }
28779                    fill.smooth : 0;
28780                }
28781                description { state: "clicked" 0.0;
28782                    inherit: "default" 0.0;
28783                    image.normal: "bt_base1.png";
28784                    image.middle: SOLID;
28785                }
28786                description { state: "disabled" 0.0;
28787                    inherit:  "default" 0.0;
28788                    image {
28789                        normal: "bt_dis_base.png";
28790                        border: 4 4 4 4;
28791                    }
28792                }
28793            }
28794            part { name: "right_over1";
28795                mouse_events: 0;
28796                description { state: "default" 0.0;
28797                    rel1.to: "right_bt";
28798                    rel2 { to: "right_bt";
28799                        relative: 1.0 0.5;
28800                    }
28801                    image {
28802                        normal: "bt_hilight.png";
28803                        border: 7 7 7 0;
28804                    }
28805                }
28806                description { state: "disabled" 0.0;
28807                    inherit:  "default" 0.0;
28808                    image {
28809                        normal: "bt_dis_hilight.png";
28810                        border: 4 4 4 0;
28811                    }
28812                }
28813            }
28814            part { name: "right_over2";
28815                mouse_events: 1;
28816                repeat_events: 1;
28817                ignore_flags: ON_HOLD;
28818                description { state: "default" 0.0;
28819                    rel1.to: "right_bt";
28820                    rel2.to: "right_bt";
28821                    image {
28822                        normal: "bt_shine.png";
28823                        border: 7 7 7 7;
28824                    }
28825                }
28826                description { state: "disabled" 0.0;
28827                    inherit:  "default" 0.0;
28828                    visible: 0;
28829                }
28830            }
28831            part { name: "right_over3";
28832                mouse_events: 1;
28833                repeat_events: 1;
28834                description { state: "default" 0.0;
28835                    color: 255 255 255 0;
28836                    rel1.to: "right_bt";
28837                    rel2.to: "right_bt";
28838                    image {
28839                        normal: "bt_glow.png";
28840                        border: 12 12 12 12;
28841                    }
28842                    fill.smooth : 0;
28843                }
28844                description { state: "clicked" 0.0;
28845                    inherit:  "default" 0.0;
28846                    visible: 1;
28847                    color: 255 255 255 255;
28848                }
28849            }
28850            part { name: "left_bt_icon";
28851                repeat_events: 1;
28852                description { state: "default" 0.0;
28853                    rel1.to: "left_bt";
28854                    rel1.offset: 4 4;
28855                    rel2.to: "left_bt";
28856                    rel2.offset: -5 -5;
28857                    align: 0.5 0.5;
28858                    min: 16 16;
28859                    aspect: 1.0 1.0;
28860                    aspect_preference: BOTH;
28861                    image.normal: "sp_bt_l.png";
28862                }
28863                description { state: "rtl" 0.0;
28864                    inherit: "default" 0.0;
28865                    image.normal: "sp_bt_r.png";
28866                }
28867            }
28868            part { name: "right_bt_icon";
28869                repeat_events: 1;
28870                description { state: "default" 0.0;
28871                    rel1.to: "right_bt";
28872                    rel1.offset: 4 4;
28873                    rel2.to: "right_bt";
28874                    rel2.offset: -5 -5;
28875                    align: 0.5 0.5;
28876                    min: 16 16;
28877                    aspect: 1.0 1.0;
28878                    aspect_preference: BOTH;
28879                    image.normal: "sp_bt_r.png";
28880                }
28881                description { state: "rtl" 0.0;
28882                    inherit: "default" 0.0;
28883                    image.normal: "sp_bt_l.png";
28884                }
28885            }
28886            part { name: "elm.text";
28887                type: TEXT;
28888                mouse_events: 0;
28889                scale: 1;
28890                description { state: "default" 0.0;
28891                    visible: 1;
28892                    align: 0.0 0.5;
28893                    rel1 { relative: 1.0 0.0;
28894                        offset: 3 2;
28895                        to_x: "left_bt";
28896                        to_y: "bg";
28897                    }
28898                    rel2 { relative: 0.0 1.0;
28899                        offset: -3 -2;
28900                        to_x: "right_bt";
28901                        to_y: "bg";
28902                    }
28903                    color: 0 0 0 255;
28904                    text {
28905                        font: "Sans,Edje-Vera";
28906                        size: 10;
28907                        min: 1 1;
28908                        align: 0.5 0.5;
28909                    }
28910                }
28911                description { state: "active" 0.0;
28912                    inherit: "default" 0.0;
28913                    visible: 0;
28914                }
28915                description { state: "disabled_active" 0.0;
28916                    inherit: "default" 0.0;
28917                    color: 0 0 0 128;
28918                    color3: 0 0 0 0;
28919                }
28920                description { state: "disabled" 0.0;
28921                    inherit: "default" 0.0;
28922                    color: 0 0 0 128;
28923                    color3: 0 0 0 0;
28924                }
28925            }
28926            part { name: "elm.dragable.slider";
28927                type: RECT;
28928                mouse_events: 0;
28929                scale: 1;
28930                dragable {
28931                    x: 1 1 0;
28932                    y: 0 0 0;
28933                }
28934                description { state: "default" 0.0;
28935                    rel1.to: "bg";
28936                    rel2.to: "bg";
28937                    fixed: 1 1;
28938                    color: 0 0 0 0;
28939                }
28940            }
28941            part { name: "button_events";
28942                type: RECT;
28943                dragable {
28944                    events: "elm.dragable.slider";
28945                }
28946                mouse_events: 1;
28947                description { state: "default" 0.0;
28948                    rel1.to: "elm.text";
28949                    rel2.to: "elm.text";
28950                    color: 0 0 0 0;
28951                }
28952            }
28953            part { name: "elm.swallow.entry";
28954                type: SWALLOW;
28955                description { state: "default" 0.0;
28956                    visible: 0;
28957                    align: 0.5 0.5;
28958                    rel1 { relative: 1.0 0.5;
28959                        offset: 3 2;
28960                        to_x: "left_bt";
28961                        to_y: "bg";
28962                    }
28963                    rel2 { relative: 0.0 0.5;
28964                        offset: -3 -2;
28965                        to_x: "right_bt";
28966                        to_y: "bg";
28967                    }
28968                    fixed: 1 1;
28969                    color: 0 0 0 0;
28970                }
28971                description { state: "active" 0.0;
28972                    inherit: "default" 0.0;
28973                    visible: 1;
28974                    color: 255 255 255 255;
28975                }
28976                description { state: "disabled_active" 0.0;
28977                    inherit: "default" 0.0;
28978                    visible: 0;
28979                }
28980                description { state: "disabled" 0.0;
28981                    inherit: "default" 0.0;
28982                    visible: 0;
28983                }
28984            }
28985            part { name: "disabler";
28986                type: RECT;
28987                description { state: "default" 0.0;
28988                    color: 0 0 0 0;
28989                    visible: 0;
28990                }
28991                description { state: "disabled" 0.0;
28992                    inherit: "default" 0.0;
28993                    visible: 1;
28994                }
28995            }
28996        }
28997        programs {
28998            program { name: "text_show";
28999                signal: "elm,state,text,visible";
29000                source: "elm";
29001                action:  STATE_SET "visible" 0.0;
29002                target: "elm.text";
29003            }
29004            program { name: "text_hide";
29005                signal: "elm,state,text,hidden";
29006                source: "elm";
29007                action:  STATE_SET "default" 0.0;
29008                target: "elm.text";
29009            }
29010            program { name: "dec";
29011                signal: "mouse,down,1";
29012                source: "left_bt";
29013                action: SIGNAL_EMIT "elm,action,decrement,start" "";
29014            }
29015            program { name: "dec2";
29016                signal: "mouse,up,1";
29017                source: "left_bt";
29018                action: SIGNAL_EMIT "elm,action,decrement,stop" "";
29019            }
29020            program { name: "inc";
29021                signal: "mouse,down,1";
29022                source: "right_bt";
29023                action: SIGNAL_EMIT "elm,action,increment,start" "";
29024            }
29025            program { name: "inc2";
29026                signal: "mouse,up,1";
29027                source: "right_bt";
29028                action: SIGNAL_EMIT "elm,action,increment,stop" "";
29029            }
29030            program {
29031                name:   "left_bt_click";
29032                signal: "mouse,down,1";
29033                source: "left_over2";
29034                action: STATE_SET "clicked" 0.0;
29035                target: "left_bt";
29036            }
29037            program {
29038                name:   "left_bt_unclick";
29039                signal: "mouse,up,1";
29040                source: "left_over2";
29041                action: STATE_SET "default" 0.0;
29042                target: "left_bt";
29043            }
29044            program {
29045                name:   "left_bt_click2";
29046                signal: "mouse,down,1";
29047                source: "left_over3";
29048                action: STATE_SET "clicked" 0.0;
29049                target: "left_over3";
29050            }
29051            program {
29052                name:   "left_bt_unclick2";
29053                signal: "mouse,up,1";
29054                source: "left_over3";
29055                action: STATE_SET "default" 0.0;
29056                transition: DECELERATE 0.5;
29057                target: "left_over3";
29058            }
29059            program {
29060                name:   "left_bt_unclick3";
29061                signal: "mouse,up,1";
29062                source: "left_over2";
29063                action: SIGNAL_EMIT "elm,action,click" "";
29064            }
29065            program {
29066                name:   "left_bt_pressed_anim";
29067                signal: "elm,left,anim,activate";
29068                source: "elm";
29069                action: STATE_SET "clicked" 0.0;
29070                target: "left_bt";
29071                target: "left_over3";
29072                after: "left_bt_unpressed_anim";
29073            }
29074            program {
29075                name:   "left_bt_unpressed_anim";
29076                action: STATE_SET "default" 0.0;
29077                transition: DECELERATE 0.5;
29078                target: "left_bt";
29079                target: "left_over3";
29080            }
29081
29082            program {
29083                name:   "right_bt_click";
29084                signal: "mouse,down,1";
29085                source: "right_over2";
29086                action: STATE_SET "clicked" 0.0;
29087                target: "right_bt";
29088            }
29089            program {
29090                name:   "right_bt_unclick";
29091                signal: "mouse,up,1";
29092                source: "right_over2";
29093                action: STATE_SET "default" 0.0;
29094                target: "right_bt";
29095            }
29096            program {
29097                name:   "right_bt_click2";
29098                signal: "mouse,down,1";
29099                source: "right_over3";
29100                action: STATE_SET "clicked" 0.0;
29101                target: "right_over3";
29102            }
29103            program {
29104                name:   "right_bt_unclick2";
29105                signal: "mouse,up,1";
29106                source: "right_over3";
29107                action: STATE_SET "default" 0.0;
29108                transition: DECELERATE 0.5;
29109                target: "right_over3";
29110            }
29111            program {
29112                name:   "right_bt_unclick3";
29113                signal: "mouse,up,1";
29114                source: "right_over2";
29115                action: SIGNAL_EMIT "elm,action,click" "";
29116            }
29117            program {
29118                name:   "right_bt_pressed_anim";
29119                signal: "elm,right,anim,activate";
29120                source: "elm";
29121                action: STATE_SET "clicked" 0.0;
29122                target: "right_bt";
29123                target: "right_over3";
29124                after: "right_bt_unpressed_anim";
29125            }
29126            program {
29127                name:   "right_bt_unpressed_anim";
29128                action: STATE_SET "default" 0.0;
29129                transition: DECELERATE 0.5;
29130                target: "right_bt";
29131                target: "right_over3";
29132            }
29133
29134            program { name: "disable";
29135                signal: "elm,state,disabled";
29136                source: "elm";
29137                action: STATE_SET "disabled" 0.0;
29138                target: "left_bt";
29139                target: "left_over1";
29140                target: "left_over2";
29141                target: "right_bt";
29142                target: "right_over1";
29143                target: "right_over2";
29144                target: "disabler";
29145                after: "disable_text";
29146            }
29147            program { name: "disable_text";
29148                script {
29149                    new st[31];
29150                    new Float:vl;
29151                    get_state(PART:"elm.text", st, 30, vl);
29152                    if (!strcmp(st, "active"))
29153                    set_state(PART:"elm.text", "disabled_active", 0.0);
29154                    else
29155                    set_state(PART:"elm.text", "disabled", 0.0);
29156
29157                    get_state(PART:"elm.swallow.entry", st, 30, vl);
29158                    if (!strcmp(st, "active"))
29159                    set_state(PART:"elm.swallow.entry", "disabled_active", 0.0);
29160                    else
29161                    set_state(PART:"elm.swallow.entry", "disabled", 0.0);
29162                }
29163            }
29164            program { name: "enable";
29165                signal: "elm,state,enabled";
29166                source: "elm";
29167                action: STATE_SET "default" 0.0;
29168                target: "left_bt";
29169                target: "left_over1";
29170                target: "left_over2";
29171                target: "right_bt";
29172                target: "right_over1";
29173                target: "right_over2";
29174                target: "disabler";
29175                after: "enable_text";
29176            }
29177            program { name: "enable_text";
29178                script {
29179                    new st[31];
29180                    new Float:vl;
29181                    get_state(PART:"elm.text", st, 30, vl);
29182                    if (!strcmp(st, "disabled_active"))
29183                    set_state(PART:"elm.text", "active", 0.0);
29184                    else
29185                    set_state(PART:"elm.text", "default", 0.0);
29186
29187                    get_state(PART:"elm.swallow.entry", st, 30, vl);
29188                    if (!strcmp(st, "disabled_active"))
29189                    set_state(PART:"elm.swallow.entry", "active", 0.0);
29190                    else
29191                    set_state(PART:"elm.swallow.entry", "default", 0.0);
29192                }
29193            }
29194            program { name: "active";
29195                signal: "elm,state,active";
29196                source: "elm";
29197                action: STATE_SET "active" 0.0;
29198                target: "elm.text";
29199                target: "elm.swallow.entry";
29200            }
29201            program { name: "inactive";
29202                signal: "elm,state,inactive";
29203                source: "elm";
29204                action: STATE_SET "default" 0.0;
29205                target: "elm.text";
29206                target: "elm.swallow.entry";
29207            }
29208            program { name: "toggle_text";
29209                signal: "mouse,up,1";
29210                source: "button_events";
29211                action: SIGNAL_EMIT "elm,action,entry,toggle" "";
29212            }
29213            program { name: "to_rtl";
29214                signal: "edje,state,rtl";
29215                source: "edje";
29216                action: STATE_SET "rtl" 0.0;
29217                target: "right_bt_icon";
29218                target: "left_bt_icon";
29219            }
29220            program { name: "to_ltr";
29221                signal: "edje,state,ltr";
29222                source: "edje";
29223                action: STATE_SET "default" 0.0;
29224                target: "right_bt_icon";
29225                target: "left_bt_icon";
29226            }
29227        }
29228    }
29229
29230 ///////////////////////////////////////////////////////////////////////////////
29231    group { name: "elm/spinner/base/vertical";
29232        images {
29233            image: "shelf_inset.png" COMP;
29234            image: "bt_hilight.png" COMP;
29235            image: "bt_shine.png" COMP;
29236            image: "bt_glow.png" COMP;
29237            image: "bt_dis_base.png" COMP;
29238            image: "bt_dis_hilight.png" COMP;
29239            image: "up.png" COMP;
29240            image: "down.png" COMP;
29241            image: "bt_spinner_up.png" COMP;
29242            image: "bt_spinner_down.png" COMP;
29243            image: "bt_spinner_hilight.png" COMP;
29244        }
29245        parts {
29246            part { name: "bg";
29247                type: RECT;
29248                description { state: "default" 0.0;
29249                    min: 0 30;
29250                    rel1.offset: 1 1;
29251                    rel2.offset: -2 -2;
29252                    color: 255 255 255 0;
29253                }
29254            }
29255            part { name: "conf_over";
29256                mouse_events:  0;
29257                description { state: "default" 0.0;
29258                    rel1 {
29259                      to: "bg";
29260                      relative: 0.0 0.0;
29261                    }
29262                    rel2 {
29263                       to: "bg";
29264                    }
29265                    image {
29266                        normal: "shelf_inset.png";
29267                        border: 7 7 7 7;
29268                        middle: 0;
29269                    }
29270                    fill.smooth : 0;
29271                }
29272            }
29273            part { name: "down_bt";
29274                mouse_events:  1;
29275                description { state: "default" 0.0;
29276                    fixed: 1 1;
29277                    rel1 {
29278                        to: "up_bt";
29279                        relative: 0 1;
29280                        offset: 0 1;
29281                    }
29282                    rel2 {
29283                        to_y: "bg";
29284                        to_x: "up_bt";
29285                        relative: 1 1;
29286                        offset: -1 -4;
29287                    }
29288                    align: 1.0 0.5;
29289                    min: 24 16;
29290                    image {
29291                        normal: "bt_spinner_down.png";
29292                        border: 6 6 6 6;
29293                    }
29294                    fill.smooth : 0;
29295                }
29296                description { state: "clicked" 0.0;
29297                    inherit: "default" 0.0;
29298                    image.normal: "bt_spinner_down.png";
29299                    image.middle: SOLID;
29300                }
29301                description { state: "disabled" 0.0;
29302                    inherit:  "default" 0.0;
29303                    image {
29304                        normal: "bt_dis_base.png";
29305                        border: 4 4 4 4;
29306                    }
29307                }
29308            }
29309            part { name: "down_over3";
29310                mouse_events: 1;
29311                repeat_events: 1;
29312                description { state: "default" 0.0;
29313                    color: 255 255 255 0;
29314                    rel1.to: "down_bt";
29315                    rel2.to: "down_bt";
29316                    image {
29317                        normal: "bt_glow.png";
29318                        border: 12 12 12 12;
29319                    }
29320                    fill.smooth : 0;
29321                }
29322                description { state: "clicked" 0.0;
29323                    inherit:  "default" 0.0;
29324                    visible: 1;
29325                    color: 255 255 255 255;
29326                }
29327            }
29328            part { name: "up_bt";
29329                mouse_events:  1;
29330                description { state: "default" 0.0;
29331                    fixed: 1 0;
29332                    rel1 { to: "bg";
29333                        relative: 0 0;
29334                        offset: 0 2;
29335                    }
29336                    rel2 { to: "bg";
29337                        relative: 1 0.5;
29338                        offset: -3 0;
29339                    }
29340                    align: 1.0 0.5;
29341                    min: 24 16;
29342                    aspect: 1.5 1.0;
29343                    aspect_preference: BOTH;
29344                    image {
29345                        normal: "bt_spinner_up.png";
29346                        border: 6 6 6 6;
29347                    }
29348                    fill.smooth : 0;
29349                }
29350                description { state: "clicked" 0.0;
29351                    inherit: "default" 0.0;
29352                    image.normal: "bt_spinner_up.png";
29353                    image.middle: SOLID;
29354                }
29355                description { state: "disabled" 0.0;
29356                    inherit:  "default" 0.0;
29357                    image {
29358                        normal: "bt_dis_base.png";
29359                        border: 4 4 4 4;
29360                    }
29361                }
29362            }
29363            part { name: "up_over1";
29364                mouse_events: 0;
29365                description { state: "default" 0.0;
29366                    rel1.to: "up_bt";
29367                    rel2 { to: "up_bt";
29368                        relative: 1.0 0.5;
29369                    }
29370                    image {
29371                        normal: "bt_spinner_hilight.png";
29372                        border: 7 7 7 0;
29373                    }
29374                }
29375                description { state: "disabled" 0.0;
29376                    inherit:  "default" 0.0;
29377                    image {
29378                        normal: "bt_dis_hilight.png";
29379                        border: 4 4 4 0;
29380                    }
29381                }
29382            }
29383            part { name: "up_over3";
29384                mouse_events: 1;
29385                repeat_events: 1;
29386                description { state: "default" 0.0;
29387                    color: 255 255 255 0;
29388                    rel1.to: "up_bt";
29389                    rel2.to: "up_bt";
29390                    image {
29391                        normal: "bt_glow.png";
29392                        border: 12 12 12 12;
29393                    }
29394                    fill.smooth : 0;
29395                }
29396                description { state: "clicked" 0.0;
29397                    inherit:  "default" 0.0;
29398                    visible: 1;
29399                    color: 255 255 255 255;
29400                }
29401            }
29402            part { name: "down_bt_icon";
29403                repeat_events: 1;
29404                description { state: "default" 0.0;
29405                    rel1.to: "down_bt";
29406                    rel1.offset: 5 3;
29407                    rel2.to: "down_bt";
29408                    rel2.offset: -6 -3;
29409                    align: 0.5 0.5;
29410                    image.normal: "down.png";
29411                }
29412            }
29413            part { name: "up_bt_icon";
29414                repeat_events: 1;
29415                description { state: "default" 0.0;
29416                    rel1.to: "up_bt";
29417                    rel1.offset: 5 3;
29418                    rel2.to: "up_bt";
29419                    rel2.offset: -6 -3;
29420                    align: 0.5 0.5;
29421                    image.normal: "up.png";
29422                }
29423            }
29424            part { name: "elm.text";
29425                type: TEXT;
29426                mouse_events: 0;
29427                scale: 1;
29428                description { state: "default" 0.0;
29429                    visible: 1;
29430                    align: 0.0 0.5;
29431                    rel1 { relative: 0.0 0.0;
29432                        offset: 3 2;
29433                        to_x: "bg";
29434                        to_y: "bg";
29435                    }
29436                    rel2 { relative: 0.0 1.0;
29437                        offset: -3 -2;
29438                        to_x: "down_bt";
29439                        to_y: "bg";
29440                    }
29441                    color: 0 0 0 255;
29442                    text {
29443                        font: "Sans,Edje-Vera";
29444                        size: 10;
29445                        min: 1 1;
29446                        align: 0.5 0.5;
29447                    }
29448                }
29449                description { state: "active" 0.0;
29450                    inherit: "default" 0.0;
29451                    visible: 0;
29452                }
29453                description { state: "disabled_active" 0.0;
29454                    inherit: "default" 0.0;
29455                    color: 0 0 0 128;
29456                    color3: 0 0 0 0;
29457                }
29458                description { state: "disabled" 0.0;
29459                    inherit: "default" 0.0;
29460                    color: 0 0 0 128;
29461                    color3: 0 0 0 0;
29462                }
29463            }
29464            part { name: "elm.dragable.slider";
29465                type: RECT;
29466                mouse_events: 0;
29467                scale: 1;
29468                dragable {
29469                    x: 1 1 0;
29470                    y: 0 0 0;
29471                }
29472                description { state: "default" 0.0;
29473                    rel1.to: "bg";
29474                    rel2.to: "bg";
29475                    fixed: 1 1;
29476                    color: 0 0 0 0;
29477                }
29478            }
29479            part { name: "button_events";
29480                type: RECT;
29481                dragable {
29482                    events: "elm.dragable.slider";
29483                }
29484                mouse_events: 1;
29485                description { state: "default" 0.0;
29486                    rel1.to: "elm.text";
29487                    rel2.to: "elm.text";
29488                    color: 0 0 0 0;
29489                }
29490            }
29491            part { name: "elm.swallow.entry";
29492                type: SWALLOW;
29493                description { state: "default" 0.0;
29494                    visible: 0;
29495                    align: 0.5 0.5;
29496                    rel1 { relative: 0.0 0.5;
29497                        offset: 3 2;
29498                        to: "bg";
29499                    }
29500                    rel2 { relative: 1.0 0.5;
29501                        offset: -3 -2;
29502                        to: "bg";
29503                    }
29504                    fixed: 1 1;
29505                    color: 0 0 0 0;
29506                }
29507                description { state: "active" 0.0;
29508                    inherit: "default" 0.0;
29509                    visible: 1;
29510                    color: 255 255 255 255;
29511                }
29512                description { state: "disabled_active" 0.0;
29513                    inherit: "default" 0.0;
29514                    visible: 0;
29515                }
29516                description { state: "disabled" 0.0;
29517                    inherit: "default" 0.0;
29518                    visible: 0;
29519                }
29520            }
29521            part { name: "disabler";
29522                type: RECT;
29523                description { state: "default" 0.0;
29524                    color: 0 0 0 0;
29525                    visible: 0;
29526                }
29527                description { state: "disabled" 0.0;
29528                    inherit: "default" 0.0;
29529                    visible: 1;
29530                }
29531            }
29532        }
29533        programs {
29534            program { name: "text_show";
29535                signal: "elm,state,text,visible";
29536                source: "elm";
29537                action:  STATE_SET "visible" 0.0;
29538                target: "elm.text";
29539            }
29540            program { name: "text_hide";
29541                signal: "elm,state,text,hidden";
29542                source: "elm";
29543                action:  STATE_SET "default" 0.0;
29544                target: "elm.text";
29545            }
29546            program { name: "dec";
29547                signal: "mouse,down,1";
29548                source: "down_bt";
29549                action: SIGNAL_EMIT "elm,action,decrement,start" "";
29550            }
29551            program { name: "dec2";
29552                signal: "mouse,up,1";
29553                source: "down_bt";
29554                action: SIGNAL_EMIT "elm,action,decrement,stop" "";
29555            }
29556            program { name: "inc";
29557                signal: "mouse,down,1";
29558                source: "up_bt";
29559                action: SIGNAL_EMIT "elm,action,increment,start" "";
29560            }
29561            program { name: "inc2";
29562                signal: "mouse,up,1";
29563                source: "up_bt";
29564                action: SIGNAL_EMIT "elm,action,increment,stop" "";
29565            }
29566            program {
29567                name:   "down_bt_click2";
29568                signal: "mouse,down,1";
29569                source: "down_over3";
29570                action: STATE_SET "clicked" 0.0;
29571                target: "down_over3";
29572            }
29573            program {
29574                name:   "down_bt_unclick2";
29575                signal: "mouse,up,1";
29576                source: "down_over3";
29577                action: STATE_SET "default" 0.0;
29578                transition: DECELERATE 0.5;
29579                target: "down_over3";
29580            }
29581            program {
29582                name:   "up_bt_click2";
29583                signal: "mouse,down,1";
29584                source: "up_over3";
29585                action: STATE_SET "clicked" 0.0;
29586                target: "up_over3";
29587            }
29588            program {
29589                name:   "up_bt_unclick2";
29590                signal: "mouse,up,1";
29591                source: "up_over3";
29592                action: STATE_SET "default" 0.0;
29593                transition: DECELERATE 0.5;
29594                target: "up_over3";
29595            }
29596            program { name: "disable";
29597                signal: "elm,state,disabled";
29598                source: "elm";
29599                action: STATE_SET "disabled" 0.0;
29600                target: "down_bt";
29601                target: "up_bt";
29602                target: "disabler";
29603                after: "disable_text";
29604            }
29605            program { name: "disable_text";
29606                script {
29607                    new st[31];
29608                    new Float:vl;
29609                    get_state(PART:"elm.text", st, 30, vl);
29610                    if (!strcmp(st, "active"))
29611                    set_state(PART:"elm.text", "disabled_active", 0.0);
29612                    else
29613                    set_state(PART:"elm.text", "disabled", 0.0);
29614
29615                    get_state(PART:"elm.swallow.entry", st, 30, vl);
29616                    if (!strcmp(st, "active"))
29617                    set_state(PART:"elm.swallow.entry", "disabled_active", 0.0);
29618                    else
29619                    set_state(PART:"elm.swallow.entry", "disabled", 0.0);
29620                }
29621            }
29622            program { name: "enable";
29623                signal: "elm,state,enabled";
29624                source: "elm";
29625                action: STATE_SET "default" 0.0;
29626                target: "down_bt";
29627                target: "up_bt";
29628                target: "disabler";
29629                after: "enable_text";
29630            }
29631            program { name: "enable_text";
29632                script {
29633                    new st[31];
29634                    new Float:vl;
29635                    get_state(PART:"elm.text", st, 30, vl);
29636                    if (!strcmp(st, "disabled_active"))
29637                    set_state(PART:"elm.text", "active", 0.0);
29638                    else
29639                    set_state(PART:"elm.text", "default", 0.0);
29640
29641                    get_state(PART:"elm.swallow.entry", st, 30, vl);
29642                    if (!strcmp(st, "disabled_active"))
29643                    set_state(PART:"elm.swallow.entry", "active", 0.0);
29644                    else
29645                    set_state(PART:"elm.swallow.entry", "default", 0.0);
29646                }
29647            }
29648            program { name: "active";
29649                signal: "elm,state,active";
29650                source: "elm";
29651                action: STATE_SET "active" 0.0;
29652                target: "elm.text";
29653                target: "elm.swallow.entry";
29654            }
29655            program { name: "inactive";
29656                signal: "elm,state,inactive";
29657                source: "elm";
29658                action: STATE_SET "default" 0.0;
29659                target: "elm.text";
29660                target: "elm.swallow.entry";
29661            }
29662            program { name: "toggle_text";
29663                signal: "mouse,up,1";
29664                source: "button_events";
29665                action: SIGNAL_EMIT "elm,action,entry,toggle" "";
29666            }
29667        }
29668    }
29669
29670
29671    ///////////////////////////////////////////////////////////////////////////////
29672    group { name: "elm/index/base/vertical/default";
29673        images {
29674            image: "bt_base1.png" COMP;
29675            image: "bt_base2.png" COMP;
29676            image: "bt_hilight.png" COMP;
29677            image: "bt_shine.png" COMP;
29678        }
29679        parts {
29680            part { name: "clip";
29681                type: RECT;
29682                mouse_events:  0;
29683                description { state: "default" 0.0;
29684                    visible:  0;
29685                    color: 255 255 255 0;
29686                }
29687                description { state: "active" 0.0;
29688                    visible:  1;
29689                    color: 255 255 255 255;
29690                }
29691            }
29692            part { name: "clip2";
29693                type: RECT;
29694                mouse_events:  0;
29695                clip_to: "clip";
29696                description { state: "default" 0.0;
29697                    visible: 0;
29698                    color: 255 255 255 0;
29699                }
29700                description { state: "active" 0.0;
29701                    visible:  1;
29702                    color: 255 255 255 255;
29703                }
29704            }
29705            part { name: "elm.swallow.index.0";
29706                type: SWALLOW;
29707                clip_to: "clip";
29708                description { state: "default" 0.0;
29709                    align: 1.0 0.5;
29710                    fixed: 1 1;
29711                    rel1 {
29712                        relative: 1.0 0.5;
29713                        offset: -1 5;
29714                    }
29715                    rel2 {
29716                        relative: 1.0 0.5;
29717                        offset: -1 -6;
29718                    }
29719                }
29720            }
29721            part { name: "button_image";
29722                mouse_events: 1;
29723                clip_to: "clip";
29724                description { state: "default" 0.0;
29725                    rel1 {
29726                        to: "elm.text.body";
29727                        offset: -5 -5;
29728                    }
29729                    rel2 {
29730                        to: "elm.text";
29731                        offset: 4 4;
29732                    }
29733                    image {
29734                        normal: "bt_base2.png";
29735                        border: 7 7 7 7;
29736                    }
29737                    image.middle: SOLID;
29738                }
29739            }
29740            part { name: "elm.text.body";
29741                type: TEXT;
29742                effect: SOFT_SHADOW;
29743                mouse_events: 0;
29744                scale: 1;
29745                clip_to: "clip";
29746                description { state: "default" 0.0;
29747                    align: 1.0 0.5;
29748                    fixed: 1 1;
29749                    rel1 {
29750                        to: "elm.text";
29751                        relative: 0.0 0.0;
29752                        offset: 5 0;
29753                    }
29754                    rel2 {
29755                        to: "elm.text";
29756                        relative: 0.0 1.0;
29757                        offset: 5 -1;
29758                    }
29759                    color: 224 224 224 255;
29760                    color3: 0 0 0 64;
29761                    text {
29762                        font:     "Sans,Edje-Vera";
29763                        size:     20;
29764                        min:      1 1;
29765                        align:    1.0 0.5;
29766                    }
29767                }
29768            }
29769            part { name: "elm.text";
29770                type: TEXT;
29771                effect: SOFT_SHADOW;
29772                mouse_events: 0;
29773                scale: 1;
29774                clip_to: "clip";
29775                description { state: "default" 0.0;
29776                    align: 1.0 0.5;
29777                    fixed: 1 1;
29778                    rel1 {
29779                        to_x: "elm.swallow.event.0";
29780                        to_y: "elm.dragable.pointer";
29781                        relative: 0.0 0.5;
29782                        offset: -16 0;
29783                    }
29784                    rel2 {
29785                        to_x: "elm.swallow.event.0";
29786                        to_y: "elm.dragable.pointer";
29787                        relative: 0.0 0.5;
29788                        offset: -16 -1;
29789                    }
29790                    color: 255 0 0 255;
29791                    color3: 0 0 0 64;
29792                    text {
29793                        font:     "Sans,Edje-Vera";
29794                        size:     20;
29795                        min:      1 1;
29796                        align:    1.0 0.5;
29797                    }
29798                }
29799            }
29800            part {        name: "over1";
29801                mouse_events: 0;
29802                clip_to: "clip";
29803                description { state: "default" 0.0;
29804                    rel1 {
29805                        to: "button_image";
29806                    }
29807                    rel2 {
29808                        to: "button_image";
29809                        relative: 1.0 0.5;
29810                    }
29811                    image {
29812                        normal: "bt_hilight.png";
29813                        border: 7 7 7 0;
29814                    }
29815                }
29816            }
29817            part { name: "over2";
29818                mouse_events: 1;
29819                repeat_events: 1;
29820                ignore_flags: ON_HOLD;
29821                clip_to: "clip";
29822                description { state: "default" 0.0;
29823                    rel1 {
29824                        to: "button_image";
29825                    }
29826                    rel2 {
29827                        to: "button_image";
29828                    }
29829                    image {
29830                        normal: "bt_shine.png";
29831                        border: 7 7 7 7;
29832                    }
29833                }
29834            }
29835            part { name: "elm.dragable.pointer";
29836                type: RECT;
29837                mouse_events: 0;
29838                dragable {
29839                    x: 1 1 0;
29840                    y: 1 1 0;
29841                }
29842                clip_to: "clip";
29843                description { state: "default" 0.0;
29844                    fixed: 1 1;
29845                    min: 8 8;
29846                    max: 8 8;
29847                    visible: 0;
29848                    rel1 {
29849                        relative: 0.0 0.0;
29850                        offset:   0 0;
29851                    }
29852                    rel2 {
29853                        relative: 0.0 0.0;
29854                        offset:   0 0;
29855                    }
29856                }
29857            }
29858            part { name: "elm.swallow.event.0";
29859                type: SWALLOW;
29860                description { state: "default" 0.0;
29861                    align: 1.0 0.5;
29862                    fixed: 1 1;
29863                    rel1 {
29864                        relative: 1.0 0.0;
29865                        offset: -1 0;
29866                    }
29867                    rel2 {
29868                        relative: 1.0 1.0;
29869                        offset: -1 -1;
29870                    }
29871                }
29872            }
29873        }
29874        programs {
29875            program { name: "active";
29876                signal: "elm,state,active";
29877                source: "elm";
29878                action: STATE_SET "active" 0.0;
29879                transition: DECELERATE 0.5;
29880                target: "clip";
29881            }
29882            program { name: "inactive";
29883                signal: "elm,state,inactive";
29884                source: "elm";
29885                action: STATE_SET "default" 0.0;
29886                transition: DECELERATE 0.5;
29887                target: "clip";
29888            }
29889        }
29890    }
29891
29892    group { name: "elm/index/item/vertical/default";
29893        data.item: "stacking" "above";
29894        data.item: "selectraise" "on";
29895        images {
29896            image: "ilist_1.png" COMP;
29897            image: "ilist_item_shadow.png" COMP;
29898        }
29899        parts {
29900            part {
29901                name: "base_sh";
29902                mouse_events: 0;
29903                description {
29904                    state: "default" 0.0;
29905                    align: 0.0 0.0;
29906                    min: 0 10;
29907                    fixed: 1 1;
29908                    rel1 {
29909                        to: "base";
29910                        relative: 0.0 1.0;
29911                        offset: 0 0;
29912                    }
29913                    rel2 {
29914                        to: "base";
29915                        relative: 1.0 1.0;
29916                        offset: -1 0;
29917                    }
29918                    image {
29919                        normal: "ilist_item_shadow.png";
29920                    }
29921                    fill.smooth: 0;
29922                }
29923            }
29924            part {
29925                name: "base";
29926                mouse_events: 0;
29927                description {
29928                    state: "default" 0.0;
29929                    image {
29930                        normal: "ilist_1.png";
29931                        border: 2 2 2 2;
29932                    }
29933                    fill.smooth: 0;
29934                }
29935                description { state: "active" 0.0;
29936                    inherit: "default" 0.0;
29937                    rel1 {
29938                        offset: -16 0;
29939                    }
29940                }
29941            }
29942            part { name: "elm.text";
29943                type:           TEXT;
29944                mouse_events:   0;
29945                scale: 1;
29946                description {
29947                    state: "default" 0.0;
29948                           //               min: 16 16;
29949                    rel1 {
29950                        to: "base";
29951                        relative: 0.0  0.0;
29952                        offset:   4 4;
29953                    }
29954                    rel2 {
29955                        to: "base";
29956                        relative: 0.5  1.0;
29957                        offset:   -1 -1;
29958                    }
29959                    color: 0 0 0 128;
29960                    text {
29961                        font: "Sans";
29962                        size: 10;
29963                        min: 1 1;
29964                             //                  min: 0 1;
29965                        align: 0.5 0.5;
29966                    }
29967                }
29968                description { state: "active" 0.0;
29969                    inherit: "default" 0.0;
29970                    color: 0 0 0 255;
29971                }
29972            }
29973        }
29974        programs {
29975            program { name: "active";
29976                signal: "elm,state,active";
29977                source: "elm";
29978                action: STATE_SET "active" 0.0;
29979                transition: DECELERATE 0.5;
29980                target: "elm.text";
29981                target: "base";
29982            }
29983            program { name: "inactive";
29984                signal: "elm,state,inactive";
29985                source: "elm";
29986                action: STATE_SET "default" 0.0;
29987                transition: DECELERATE 0.5;
29988                target: "elm.text";
29989                target: "base";
29990            }
29991        }
29992    }
29993
29994    group { name: "elm/index/item_odd/vertical/default";
29995        data.item: "stacking" "below";
29996        images {
29997            image: "ilist_2.png" COMP;
29998        }
29999        parts {
30000            part {
30001                name: "base";
30002                mouse_events: 0;
30003                description {
30004                    state: "default" 0.0;
30005                    image {
30006                        normal: "ilist_2.png";
30007                        border: 2 2 2 2;
30008                    }
30009                    fill.smooth: 0;
30010                }
30011                description { state: "active" 0.0;
30012                    inherit: "default" 0.0;
30013                    rel1 {
30014                        offset: -16 0;
30015                    }
30016                }
30017            }
30018            part { name: "elm.text";
30019                type:           TEXT;
30020                mouse_events:   0;
30021                scale: 1;
30022                description {
30023                    state: "default" 0.0;
30024                           //               min: 16 16;
30025                    rel1 {
30026                        to: "base";
30027                        relative: 0.0  0.0;
30028                        offset:   4 4;
30029                    }
30030                    rel2 {
30031                        to: "base";
30032                        relative: 0.5  1.0;
30033                        offset:   -1 -1;
30034                    }
30035                    color: 0 0 0 128;
30036                    text {
30037                        font: "Sans";
30038                        size: 10;
30039                        min: 1 1;
30040                             //                  min: 0 1;
30041                        align: 0.5 0.5;
30042                    }
30043                }
30044                description { state: "active" 0.0;
30045                    inherit: "default" 0.0;
30046                    color: 0 0 0 255;
30047                }
30048            }
30049        }
30050        programs {
30051            program { name: "active";
30052                signal: "elm,state,active";
30053                source: "elm";
30054                action: STATE_SET "active" 0.0;
30055                transition: DECELERATE 0.5;
30056                target: "elm.text";
30057                target: "base";
30058            }
30059            program { name: "inactive";
30060                signal: "elm,state,inactive";
30061                source: "elm";
30062                action: STATE_SET "default" 0.0;
30063                transition: DECELERATE 0.5;
30064                target: "elm.text";
30065                target: "base";
30066            }
30067        }
30068    }
30069
30070 ///////////////////////////////////////////////////////////////////////////////
30071    group { name: "elm/gengrid/item/default/default";
30072       data.item: "labels" "elm.text";
30073       data.item: "icons" "elm.swallow.icon elm.swallow.end";
30074       images {
30075          image: "bt_sm_base1.png" COMP;
30076          image: "bt_sm_shine.png" COMP;
30077          image: "bt_sm_hilight.png" COMP;
30078          image: "ilist_1.png" COMP;
30079          image: "ilist_item_shadow.png" COMP;
30080       }
30081       parts {
30082          part { name: "event";
30083             type: RECT;
30084             repeat_events: 1;
30085             description {
30086                state: "default" 0.0;
30087                color: 0 0 0 0;
30088             }
30089          }
30090          part { name: "base_sh";
30091             mouse_events: 0;
30092             description { state: "default" 0.0;
30093                align: 0.0 0.0;
30094                min: 0 10;
30095                fixed: 1 1;
30096                rel1 {
30097                   to: "base";
30098                   relative: 0.0 1.0;
30099                   offset: 0 0;
30100                }
30101                rel2 {
30102                   to: "base";
30103                   relative: 1.0 1.0;
30104                   offset: -1 0;
30105                }
30106                image {
30107                   normal: "ilist_item_shadow.png";
30108                }
30109                fill.smooth: 0;
30110             }
30111          }
30112          part { name: "base";
30113             mouse_events: 0;
30114             description { state: "default" 0.0;
30115                image {
30116                   normal: "ilist_1.png";
30117                   border: 2 2 2 2;
30118                }
30119                fill.smooth: 0;
30120             }
30121          }
30122          part { name: "bg";
30123             clip_to: "disclip";
30124             mouse_events: 0;
30125             description { state: "default" 0.0;
30126                visible: 0;
30127                color: 255 255 255 0;
30128                rel1 {
30129                   relative: 0.0 0.0;
30130                   offset: -5 -5;
30131                }
30132                rel2 {
30133                   relative: 1.0 1.0;
30134                   offset: 4 4;
30135                }
30136                image {
30137                   normal: "bt_sm_base1.png";
30138                   border: 6 6 6 6;
30139                }
30140                image.middle: SOLID;
30141             }
30142             description { state: "selected" 0.0;
30143                inherit: "default" 0.0;
30144                visible: 1;
30145                color: 255 255 255 255;
30146                rel1 {
30147                   relative: 0.0 0.0;
30148                   offset: -2 -2;
30149                }
30150                rel2 {
30151                   relative: 1.0 1.0;
30152                   offset: 1 1;
30153                }
30154             }
30155          }
30156          part { name: "elm.swallow.pad";
30157             type: SWALLOW;
30158             description { state: "default" 0.0;
30159                fixed: 1 0;
30160                align: 0.0 0.5;
30161                rel1 {
30162                   relative: 0.0  1.0;
30163                   offset:   0    -10;
30164                }
30165                rel2 {
30166                   to_y: "elm.text";
30167                   relative: 0.0  0.0;
30168                   offset:   -1   -1;
30169                }
30170             }
30171          }
30172          part { name: "elm.swallow.icon";
30173             clip_to: "disclip";
30174             type: SWALLOW;
30175             description { state: "default" 0.0;
30176                fixed: 1 0;
30177                align: 0.5 0.5;
30178                rel1 {
30179                   relative: 0.0  0.0;
30180                   offset:   -1    4;
30181                }
30182                rel2 {
30183                   to_y: "elm.swallow.pad";
30184                   relative: 1.0  0.0;
30185                   offset:   -1   -5;
30186                }
30187             }
30188          }
30189          part { name: "elm.swallow.end";
30190             clip_to: "disclip";
30191             type: SWALLOW;
30192             description { state: "default" 0.0;
30193                fixed: 1 0;
30194                align: 1.0 0.0;
30195                aspect: 1.0 1.0;
30196                aspect_preference: HORIZONTAL;
30197                rel1 {
30198                   relative: 1.0 0.0;
30199                   offset: -5 -5;
30200                }
30201                rel2 {
30202                   relative: 1.0 1.0;
30203                   offset: 5 5;
30204                }
30205             }
30206          }
30207          part { name: "elm.text";
30208             clip_to: "disclip";
30209             type: TEXT;
30210             effect: SOFT_SHADOW;
30211             mouse_events: 0;
30212             scale: 1;
30213             description { state: "default" 0.0;
30214                rel1 {
30215                   relative: 0.0  1.0;
30216                   offset: 0 0;
30217                }
30218                rel2 {
30219                   relative: 1.0  1.0;
30220                   offset: -5 -5;
30221                }
30222                color: 0 0 0 255;
30223                color3: 0 0 0 0;
30224                text {
30225                   font: "Sans";
30226                   size: 10;
30227                   min: 0 1;
30228                   align: 0.5 0.0;
30229                   text_class: "grid_item";
30230                }
30231             }
30232             description { state: "selected" 0.0;
30233                inherit: "default" 0.0;
30234                color: 224 224 224 255;
30235                color3: 0 0 0 64;
30236             }
30237          }
30238          part { name: "fg1";
30239             clip_to: "disclip";
30240             mouse_events: 0;
30241             description { state: "default" 0.0;
30242                visible: 0;
30243                color: 255 255 255 0;
30244                rel1.to: "bg";
30245                rel2.relative: 1.0 0.5;
30246                rel2.to: "bg";
30247                image {
30248                   normal: "bt_sm_hilight.png";
30249                   border: 6 6 6 0;
30250                }
30251             }
30252             description { state: "selected" 0.0;
30253                inherit: "default" 0.0;
30254                visible: 1;
30255                color: 255 255 255 255;
30256             }
30257          }
30258          part { name: "fg2";
30259             clip_to: "disclip";
30260             mouse_events: 0;
30261             description { state: "default" 0.0;
30262                visible: 0;
30263                color: 255 255 255 0;
30264                rel1.to: "bg";
30265                rel2.to: "bg";
30266                image {
30267                   normal: "bt_sm_shine.png";
30268                   border: 6 6 6 0;
30269                }
30270             }
30271             description { state: "selected" 0.0;
30272                inherit: "default" 0.0;
30273                visible: 1;
30274                color: 255 255 255 255;
30275             }
30276          }
30277          part { name: "disclip";
30278             type: RECT;
30279             description { state: "default" 0.0;
30280                rel1.to: "bg";
30281                rel2.to: "bg";
30282             }
30283             description { state: "disabled" 0.0;
30284                inherit: "default" 0.0;
30285                color: 255 255 255 64;
30286             }
30287          }
30288       }
30289       programs {
30290          // signal: elm,state,%s,active
30291          //   a "check" item named %s went active
30292          // signal: elm,state,%s,passive
30293          //   a "check" item named %s went passive
30294          // default is passive
30295          program { name:    "go_active";
30296             signal:  "elm,state,selected";
30297             source:  "elm";
30298             action:  STATE_SET "selected" 0.0;
30299             target:  "bg";
30300             target:  "fg1";
30301             target:  "fg2";
30302             target:  "elm.text";
30303          }
30304          program { name:    "go_passive";
30305             signal:  "elm,state,unselected";
30306             source:  "elm";
30307             action:  STATE_SET "default" 0.0;
30308             target:  "bg";
30309             target:  "fg1";
30310             target:  "fg2";
30311             target:  "elm.text";
30312             transition: LINEAR 0.1;
30313          }
30314          program { name:    "go_disabled";
30315             signal:  "elm,state,disabled";
30316             source:  "elm";
30317             action:  STATE_SET "disabled" 0.0;
30318             target:  "disclip";
30319          }
30320          program { name:    "go_enabled";
30321             signal:  "elm,state,enabled";
30322             source:  "elm";
30323             action:  STATE_SET "default" 0.0;
30324             target:  "disclip";
30325          }
30326       }
30327    }
30328    group { name: "elm/gengrid/item/default_style/default";
30329        styles
30330        {
30331            style { name: "gengrid_style";
30332                base: "font=Sans font_size=10 align=left valign=0.5 color=#000 text_class=grid_item";
30333                tag:  "br" "\n";
30334                tag:  "ps" "ps";
30335                tag:  "hilight" "+ font=Sans:style=Bold";
30336                tag:  "b" "+ font=Sans:style=Bold";
30337                tag:  "tab" "\t";
30338            }
30339            style { name: "gengrid_selected_style";
30340                base: "font=Sans font_size=10 align=left valign=0.5 color=#fff text_class=grid_item";
30341                tag:  "br" "\n";
30342                tag:  "ps" "ps";
30343                tag:  "hilight" "+ font=Sans:style=Bold";
30344                tag:  "b" "+ font=Sans:style=Bold";
30345                tag:  "tab" "\t";
30346            }
30347        }
30348        data.item: "labels" "elm.text";
30349        data.item: "icons" "elm.swallow.icon elm.swallow.end";
30350        images {
30351            image: "bt_sm_base1.png" COMP;
30352            image: "bt_sm_shine.png" COMP;
30353            image: "bt_sm_hilight.png" COMP;
30354            image: "ilist_1.png" COMP;
30355            image: "ilist_item_shadow.png" COMP;
30356        }
30357        parts {
30358            part { name: "event";
30359                type: RECT;
30360                repeat_events: 1;
30361                description { state: "default" 0.0;
30362                    color: 0 0 0 0;
30363                }
30364            }
30365            part { name: "base_sh";
30366                mouse_events: 0;
30367                description { state: "default" 0.0;
30368                    align: 0.0 0.0;
30369                    min: 0 10;
30370                    fixed: 1 1;
30371                    rel1 {
30372                        to: "base";
30373                        relative: 0.0 1.0;
30374                        offset: 0 0;
30375                    }
30376                    rel2 {
30377                        to: "base";
30378                        relative: 1.0 1.0;
30379                        offset: -1 0;
30380                    }
30381                    image {
30382                        normal: "ilist_item_shadow.png";
30383                    }
30384                    fill.smooth: 0;
30385                }
30386            }
30387            part { name: "base";
30388                mouse_events: 0;
30389                description { state: "default" 0.0;
30390                    min: 16 28;
30391                    image {
30392                        normal: "ilist_1.png";
30393                        border: 2 2 2 2;
30394                    }
30395                    fill.smooth: 0;
30396                }
30397            }
30398            part { name: "bg";
30399                clip_to: "disclip";
30400                mouse_events: 0;
30401                description { state: "default" 0.0;
30402                    visible: 0;
30403                    color: 255 255 255 0;
30404                    rel1 {
30405                        relative: 0.0 0.0;
30406                        offset: -5 -5;
30407                    }
30408                    rel2 {
30409                        relative: 1.0 1.0;
30410                        offset: 4 4;
30411                    }
30412                    image {
30413                        normal: "bt_sm_base1.png";
30414                        border: 6 6 6 6;
30415                    }
30416                    image.middle: SOLID;
30417                }
30418                description { state: "selected" 0.0;
30419                    inherit: "default" 0.0;
30420                    visible: 1;
30421                    color: 255 255 255 255;
30422                    rel1 {
30423                        relative: 0.0 0.0;
30424                        offset: -2 -2;
30425                    }
30426                    rel2 {
30427                        relative: 1.0 1.0;
30428                        offset: 1 1;
30429                    }
30430                }
30431            }
30432            part { name: "elm.swallow.pad";
30433                type: SWALLOW;
30434                description { state: "default" 0.0;
30435                    fixed: 1 0;
30436                    align: 0.0 0.5;
30437                    rel1 {
30438                        relative: 0.0  0.0;
30439                        offset:   4    4;
30440                    }
30441                    rel2 {
30442                        relative: 0.0  1.0;
30443                        offset:   4   -5;
30444                    }
30445                }
30446            }
30447            part { name: "elm.swallow.icon";
30448                clip_to: "disclip";
30449                type: SWALLOW;
30450                description { state: "default" 0.0;
30451                    fixed: 1 0;
30452                    align: 0.0 0.5;
30453                    rel1 {
30454                        to_x: "elm.swallow.pad";
30455                        relative: 1.0  0.0;
30456                        offset:   -1    4;
30457                    }
30458                    rel2 {
30459                        to_x: "elm.swallow.pad";
30460                        relative: 1.0  1.0;
30461                        offset:   -1   -5;
30462                    }
30463                }
30464            }
30465            part { name: "elm.swallow.end";
30466                clip_to: "disclip";
30467                type: SWALLOW;
30468                description { state: "default" 0.0;
30469                    fixed: 1 0;
30470                    align: 1.0 0.5;
30471                    aspect: 1.0 1.0;
30472                    aspect_preference: VERTICAL;
30473                    rel1 {
30474                        relative: 1.0  0.0;
30475                        offset:   -5    4;
30476                    }
30477                    rel2 {
30478                        relative: 1.0  1.0;
30479                        offset:   -5   -5;
30480                    }
30481                }
30482            }
30483            part { name: "elm.text";
30484                clip_to: "disclip";
30485                type: TEXTBLOCK;
30486                mouse_events: 0;
30487                scale: 1;
30488                description {
30489                    state: "default" 0.0;
30490                    align: 0.0 0.5;
30491                    fixed: 0 1;
30492                    rel1 {
30493                        to_x: "elm.swallow.icon";
30494                        to_y: "base";
30495                        relative: 1.0  0.5;
30496                        offset:   0 4;
30497                    }
30498                    rel2 {
30499                        to_x: "elm.swallow.end";
30500                        to_y: "base";
30501                        relative: 0.0  0.5;
30502                        offset:   -1 -5;
30503                    }
30504                    text {
30505                        style: "gengrid_style";
30506                        min: 1 1;
30507                    }
30508                }
30509                description { state: "selected" 0.0;
30510                    inherit: "default" 0.0;
30511                    text {
30512                        style: "gengrid_selected_style";
30513                    }
30514                }
30515            }
30516            part { name: "fg1";
30517                clip_to: "disclip";
30518                mouse_events: 0;
30519                description { state: "default" 0.0;
30520                    visible: 0;
30521                    color: 255 255 255 0;
30522                    rel1.to: "bg";
30523                    rel2.relative: 1.0 0.5;
30524                    rel2.to: "bg";
30525                    image {
30526                        normal: "bt_sm_hilight.png";
30527                        border: 6 6 6 0;
30528                    }
30529                }
30530                description { state: "selected" 0.0;
30531                    inherit: "default" 0.0;
30532                    visible: 1;
30533                    color: 255 255 255 255;
30534                }
30535            }
30536            part { name: "fg2";
30537                clip_to: "disclip";
30538                mouse_events: 0;
30539                description { state: "default" 0.0;
30540                    visible: 0;
30541                    color: 255 255 255 0;
30542                    rel1.to: "bg";
30543                    rel2.to: "bg";
30544                    image {
30545                        normal: "bt_sm_shine.png";
30546                        border: 6 6 6 0;
30547                    }
30548                }
30549                description { state: "selected" 0.0;
30550                    inherit: "default" 0.0;
30551                    visible: 1;
30552                    color: 255 255 255 255;
30553                }
30554            }
30555            part { name: "disclip";
30556                type: RECT;
30557                description { state: "default" 0.0;
30558                    rel1.to: "bg";
30559                    rel2.to: "bg";
30560                }
30561                description { state: "disabled" 0.0;
30562                    inherit: "default" 0.0;
30563                    color: 255 255 255 64;
30564                }
30565            }
30566        }
30567        programs {
30568            // signal: elm,state,%s,active
30569            //   a "check" item named %s went active
30570            // signal: elm,state,%s,passive
30571            //   a "check" item named %s went passive
30572            // default is passive
30573            program { name:    "go_active";
30574                signal:  "elm,state,selected";
30575                source:  "elm";
30576                action:  STATE_SET "selected" 0.0;
30577                target:  "bg";
30578                target:  "fg1";
30579                target:  "fg2";
30580                target:  "elm.text";
30581            }
30582            program { name:    "go_passive";
30583                signal:  "elm,state,unselected";
30584                source:  "elm";
30585                action:  STATE_SET "default" 0.0;
30586                target:  "bg";
30587                target:  "fg1";
30588                target:  "fg2";
30589                target:  "elm.text";
30590                transition: LINEAR 0.1;
30591            }
30592            program { name:    "go_disabled";
30593                signal:  "elm,state,disabled";
30594                source:  "elm";
30595                action:  STATE_SET "disabled" 0.0;
30596                target:  "disclip";
30597            }
30598            program { name:    "go_enabled";
30599                signal:  "elm,state,enabled";
30600                source:  "elm";
30601                action:  STATE_SET "default" 0.0;
30602                target:  "disclip";
30603            }
30604        }
30605    }
30606
30607    group { name: "elm/gengrid/item/up/default";
30608       data.item: "labels" "elm.text";
30609       images {
30610           image: "bt_sm_base1.png" COMP;
30611           image: "bt_sm_shine.png" COMP;
30612           image: "bt_sm_hilight.png" COMP;
30613           image: "arrow_up.png" COMP;
30614       }
30615       parts {
30616          part { name: "event";
30617             type: RECT;
30618             repeat_events: 1;
30619             description { state: "default" 0.0;
30620                color: 0 0 0 0;
30621             }
30622          }
30623          part { name: "bg";
30624             clip_to: "disclip";
30625             mouse_events: 0;
30626             description { state: "default" 0.0;
30627                visible: 0;
30628                color: 255 255 255 0;
30629                rel1.offset: -3 -3;
30630                rel2.offset: 2 2;
30631                image { normal: "bt_sm_base1.png";
30632                   border: 6 6 6 6;
30633                   middle: SOLID;
30634                }
30635             }
30636             description { state: "selected" 0.0;
30637                inherit: "default" 0.0;
30638                visible: 1;
30639                color: 255 255 255 255;
30640             }
30641          }
30642          part { name: "image";
30643              type: IMAGE;
30644              mouse_events: 0;
30645              description { state: "default" 0.0;
30646                  aspect_preference: BOTH;
30647                  aspect: 1.0 1.0;
30648                  image.normal: "arrow_up.png";
30649                  rel2 {
30650                      to_y: "elm.text";
30651                      relative: 1.0 0.0;
30652                      offset: -1 -2;
30653                  }
30654              }
30655          }
30656          part { name: "elm.text";
30657             clip_to: "disclip";
30658             type: TEXT;
30659             effect: SOFT_SHADOW;
30660             mouse_events: 0;
30661             scale: 1;
30662             description { state: "default" 0.0;
30663                rel1 {
30664                   relative: 0.0  1.0;
30665                   offset: 20 -25;
30666                }
30667                rel2 {
30668                   relative: 1.0  1.0;
30669                   offset: -21 -3;
30670                }
30671                color: 0 0 0 255;
30672                color3: 0 0 0 0;
30673                text {
30674                   font: "Sans";
30675                   size: 10;
30676                   min: 0 1;
30677                   align: 0.5 0.0;
30678                   text_class: "grid_item";
30679                }
30680             }
30681             description { state: "selected" 0.0;
30682                inherit: "default" 0.0;
30683                color: 224 224 224 255;
30684                color3: 0 0 0 64;
30685             }
30686          }
30687          part { name: "fg1";
30688             clip_to: "disclip";
30689             mouse_events: 0;
30690             description { state: "default" 0.0;
30691                visible: 0;
30692                color: 255 255 255 0;
30693                rel1.offset: -3 -3;
30694                rel2 {
30695                    relative: 1.0 0.5;
30696                    offset: 2 -1;
30697                }
30698                image {
30699                   normal: "bt_sm_hilight.png";
30700                   border: 6 6 6 0;
30701                }
30702             }
30703             description { state: "selected" 0.0;
30704                inherit: "default" 0.0;
30705                visible: 1;
30706                color: 255 255 255 255;
30707             }
30708          }
30709          part { name: "fg2";
30710             clip_to: "disclip";
30711             mouse_events: 0;
30712             description { state: "default" 0.0;
30713                visible: 0;
30714                color: 255 255 255 0;
30715                rel1.offset: -3 -3;
30716                rel2.offset: 2 2;
30717                image {
30718                   normal: "bt_sm_shine.png";
30719                   border: 6 6 6 0;
30720                }
30721             }
30722             description { state: "selected" 0.0;
30723                inherit: "default" 0.0;
30724                visible: 1;
30725                color: 255 255 255 255;
30726             }
30727          }
30728          part { name: "disclip";
30729             type: RECT;
30730             description { state: "default" 0.0;
30731                rel1.to: "bg";
30732                rel2.to: "bg";
30733             }
30734             description { state: "disabled" 0.0;
30735                inherit: "default" 0.0;
30736                color: 255 255 255 64;
30737             }
30738          }
30739       }
30740       programs {
30741          program { name:    "go_active";
30742             signal:  "elm,state,selected";
30743             source:  "elm";
30744             action:  STATE_SET "selected" 0.0;
30745             target:  "bg";
30746             target:  "fg1";
30747             target:  "fg2";
30748             target:  "elm.text";
30749          }
30750          program { name:    "go_passive";
30751             signal:  "elm,state,unselected";
30752             source:  "elm";
30753             action:  STATE_SET "default" 0.0;
30754             target:  "bg";
30755             target:  "fg1";
30756             target:  "fg2";
30757             target:  "elm.text";
30758             transition: LINEAR 0.1;
30759          }
30760          program { name:    "go_disabled";
30761             signal:  "elm,state,disabled";
30762             source:  "elm";
30763             action:  STATE_SET "disabled" 0.0;
30764             target:  "disclip";
30765          }
30766          program { name:    "go_enabled";
30767             signal:  "elm,state,enabled";
30768             source:  "elm";
30769             action:  STATE_SET "default" 0.0;
30770             target:  "disclip";
30771          }
30772       }
30773    }
30774
30775    group { name: "elm/gengrid/item/album-preview/default";
30776       data.item: "labels" "elm.text";
30777       data.item: "icons" "elm.swallow.icon.1 elm.swallow.icon.2 elm.swallow.icon.3 elm.swallow.icon.4";
30778       data.item: "states" "have_files";
30779       images {
30780          image: "bt_sm_base1.png" COMP;
30781          image: "bt_sm_shine.png" COMP;
30782          image: "bt_sm_hilight.png" COMP;
30783          image: "icon_folder.png" COMP;
30784       }
30785       parts {
30786          part { name: "event";
30787             type: RECT;
30788             repeat_events: 1;
30789             description { state: "default" 0.0;
30790                color: 0 0 0 0;
30791             }
30792          }
30793          part { name: "bg";
30794             clip_to: "disclip";
30795             mouse_events: 0;
30796             description { state: "default" 0.0;
30797                visible: 0;
30798                color: 255 255 255 0;
30799                rel1.offset: -3 -3;
30800                rel2.offset: 2 2;
30801                image {
30802                   normal: "bt_sm_base1.png";
30803                   border: 6 6 6 6;
30804                   middle: SOLID;
30805                }
30806             }
30807             description { state: "selected" 0.0;
30808                inherit: "default" 0.0;
30809                visible: 1;
30810                color: 255 255 255 255;
30811             }
30812          }
30813          part { name: "image";
30814              type: IMAGE;
30815              mouse_events: 0;
30816              description { state: "default" 0.0;
30817                  aspect_preference: BOTH;
30818                  aspect: 1.0 1.0;
30819                  image.normal: "icon_folder.png";
30820                  rel2 {
30821                      to_y: "elm.text";
30822                      relative: 1.0 0.0;
30823                      offset: -1 -2;
30824                  }
30825              }
30826          }
30827          part { name: "have-files-clipper";
30828              type: RECT;
30829              description { state: "default" 0.0;
30830                  color: 255 255 255 0;
30831                  visible: 0;
30832              }
30833              description { state: "visible" 0.0;
30834                  inherit: "default" 0.0;
30835                  color: 255 255 255 255;
30836                  visible: 1;
30837              }
30838          }
30839          part { name: "icon_box_margin";
30840              type: RECT;
30841              mouse_events: 0;
30842              clip_to: "have-files-clipper";
30843              description { state: "default" 0.0;
30844                  color: 0 0 0 255;
30845                  rel1 {
30846                      to: "icon_box";
30847                      offset: -1 -1;
30848                  }
30849                  rel2 {
30850                      to: "icon_box";
30851                      offset: 0 0;
30852                  }
30853              }
30854          }
30855          part { name: "icon_box";
30856              type: RECT;
30857              mouse_events: 0;
30858              clip_to: "have-files-clipper";
30859              description { state: "default" 0.0;
30860                  color: 255 255 255 255;
30861                  align: 1.0 1.0;
30862                  min: 32 32;
30863                  rel1 {
30864                      relative: 0.25 0.25;
30865                      offset: 0 0;
30866                  }
30867                  rel2 {
30868                      relative: 1.0 0.0;
30869                      offset: -11 -4;
30870                      to_y: "elm.text";
30871                  }
30872              }
30873          }
30874          part { name: "elm.swallow.icon.1";
30875              type: SWALLOW;
30876              mouse_events: 0;
30877              clip_to: "have-files-clipper";
30878              description { state: "default" 0.0;
30879                rel1 {
30880                   relative: 0.0  0.0;
30881                   to: "icon_box";
30882                }
30883                rel2 {
30884                   relative: 0.5  0.5;
30885                   offset: -1 -1;
30886                   to: "icon_box";
30887                }
30888             }
30889          }
30890          part { name: "elm.swallow.icon.2";
30891              type: SWALLOW;
30892              mouse_events: 0;
30893              clip_to: "have-files-clipper";
30894              description { state: "default" 0.0;
30895                rel1 {
30896                   relative: 0.5  0.0;
30897                   to: "icon_box";
30898                }
30899                rel2 {
30900                   relative: 1.0  0.5;
30901                   offset: -1 -1;
30902                   to: "icon_box";
30903                }
30904             }
30905          }
30906          part { name: "elm.swallow.icon.3";
30907              type: SWALLOW;
30908              mouse_events: 0;
30909              clip_to: "have-files-clipper";
30910              description { state: "default" 0.0;
30911                rel1 {
30912                   relative: 0.0  0.5;
30913                   to: "icon_box";
30914                }
30915                rel2 {
30916                   relative: 0.5  1.0;
30917                   offset: -1 -1;
30918                   to: "icon_box";
30919                }
30920             }
30921          }
30922          part { name: "elm.swallow.icon.4";
30923              type: SWALLOW;
30924              mouse_events: 0;
30925              clip_to: "have-files-clipper";
30926              description { state: "default" 0.0;
30927                rel1 {
30928                   relative: 0.5  0.5;
30929                   to: "icon_box";
30930                }
30931                rel2 {
30932                   relative: 1.0  1.0;
30933                   offset: -1 -1;
30934                   to: "icon_box";
30935                }
30936             }
30937          }
30938          part { name: "elm.text";
30939             clip_to: "disclip";
30940             type: TEXT;
30941             effect: SOFT_SHADOW;
30942             mouse_events: 0;
30943             scale: 1;
30944             description { state: "default" 0.0;
30945                rel1 {
30946                   relative: 0.0  1.0;
30947                   offset: 20 -30;
30948                }
30949                rel2 {
30950                   relative: 1.0  1.0;
30951                   offset: -21 -15;
30952                }
30953                color: 0 0 0 255;
30954                color3: 0 0 0 0;
30955                text {
30956                   font: "Sans";
30957                   size: 10;
30958                   min: 0 1;
30959                   align: 0.5 0.0;
30960                   text_class: "grid_item";
30961                }
30962             }
30963             description { state: "selected" 0.0;
30964                 inherit: "default" 0.0;
30965                 color: 255 255 255 255;
30966             }
30967          }
30968          part { name: "fg1";
30969             clip_to: "disclip";
30970             mouse_events: 0;
30971             description { state: "default" 0.0;
30972                visible: 0;
30973                color: 255 255 255 0;
30974                rel1.offset: -3 -3;
30975                rel2 {
30976                    relative: 1.0 0.5;
30977                    offset: 2 -1;
30978                }
30979                image {
30980                   normal: "bt_sm_hilight.png";
30981                   border: 6 6 6 0;
30982                }
30983             }
30984             description { state: "selected" 0.0;
30985                inherit: "default" 0.0;
30986                visible: 1;
30987                color: 255 255 255 255;
30988             }
30989          }
30990          part { name: "fg2";
30991             clip_to: "disclip";
30992             mouse_events: 0;
30993             description { state: "default" 0.0;
30994                visible: 0;
30995                color: 255 255 255 0;
30996                rel1.offset: -3 -3;
30997                rel2.offset: 2 2;
30998                image {
30999                   normal: "bt_sm_shine.png";
31000                   border: 6 6 6 0;
31001                }
31002             }
31003             description { state: "selected" 0.0;
31004                inherit: "default" 0.0;
31005                visible: 1;
31006                color: 255 255 255 255;
31007             }
31008          }
31009          part { name: "disclip";
31010             type: RECT;
31011             description { state: "default" 0.0;
31012                rel1.to: "bg";
31013                rel2.to: "bg";
31014             }
31015             description { state: "disabled" 0.0;
31016                inherit: "default" 0.0;
31017                color: 255 255 255 64;
31018             }
31019          }
31020       }
31021       programs {
31022          program { name:    "go_active";
31023             signal:  "elm,state,selected";
31024             source:  "elm";
31025             action:  STATE_SET "selected" 0.0;
31026             target:  "bg";
31027             target:  "fg1";
31028             target:  "fg2";
31029             target:  "elm.text";
31030          }
31031          program { name:    "go_passive";
31032             signal:  "elm,state,unselected";
31033             source:  "elm";
31034             action:  STATE_SET "default" 0.0;
31035             target:  "bg";
31036             target:  "fg1";
31037             target:  "fg2";
31038             target:  "elm.text";
31039             transition: LINEAR 0.1;
31040          }
31041          program { name:    "go_disabled";
31042             signal:  "elm,state,disabled";
31043             source:  "elm";
31044             action:  STATE_SET "disabled" 0.0;
31045             target:  "disclip";
31046          }
31047          program { name:    "go_enabled";
31048             signal:  "elm,state,enabled";
31049             source:  "elm";
31050             action:  STATE_SET "default" 0.0;
31051             target:  "disclip";
31052          }
31053          program {
31054              signal: "elm,state,have_files,active";
31055              source: "elm";
31056              action: STATE_SET "visible" 0.0;
31057              target: "have-files-clipper";
31058          }
31059       }
31060    }
31061
31062    group { name: "elm/gengrid/item/thumb/default";
31063        data {
31064            item: "icons" "elm.swallow.icon";
31065            item: "labels" "elm.text";
31066        }
31067        images {
31068            image: "bt_sm_base1.png" COMP;
31069            image: "bt_sm_shine.png" COMP;
31070            image: "bt_sm_hilight.png" COMP;
31071            image: "thumb_shadow.png" COMP;
31072        }
31073        parts {
31074            part { name: "event";
31075                type: RECT;
31076                repeat_events: 1;
31077                description { state: "default" 0.0;
31078                    color: 0 0 0 0;
31079                }
31080            }
31081            part { name: "bg";
31082                mouse_events: 0;
31083                description { state: "default" 0.0;
31084                    visible: 0;
31085                    color: 255 255 255 0;
31086                    rel1.offset: -3 -3;
31087                    rel2.offset: 2 2;
31088                    image {
31089                        normal: "bt_sm_base1.png";
31090                        border: 6 6 6 6;
31091                        middle: SOLID;
31092                    }
31093                }
31094                description { state: "selected" 0.0;
31095                    inherit: "default" 0.0;
31096                    visible: 1;
31097                    color: 255 255 255 255;
31098                }
31099            }
31100            part { name: "border-shadow";
31101                type: IMAGE;
31102                mouse_events: 0;
31103                description { state: "default" 0.0;
31104                    rel1 {
31105                        to: "elm.swallow.icon";
31106                        offset: -18 -18;
31107                    }
31108                    rel2 {
31109                        to_x: "elm.swallow.icon";
31110                        to_y: "elm.text";
31111                        offset: 17 17;
31112                    }
31113                    image {
31114                        normal: "thumb_shadow.png";
31115                        border: 17 17 17 17;
31116                        middle: NONE;
31117                    }
31118                }
31119            }
31120            part { name: "border";
31121                type: RECT;
31122                mouse_events: 0;
31123                description { state: "default" 0.0;
31124                    rel1 {
31125                        to: "border-shadow";
31126                        offset: 16 16;
31127                    }
31128                    rel2 {
31129                        to: "border-shadow";
31130                        offset: -15 -15;
31131                    }
31132                }
31133            }
31134            part { name: "elm.swallow.icon";
31135                type: SWALLOW;
31136                mouse_events: 0;
31137                description { state: "default" 0.0;
31138                    aspect_preference: BOTH;
31139                    aspect: 1.0 1.0;
31140                    rel1.offset: 0 8;
31141                    rel2 {
31142                        to_y: "elm.text";
31143                        relative: 1.0 0.0;
31144                        offset: -1 -2;
31145                    }
31146                }
31147            }
31148            part { name: "elm.text";
31149                type: TEXT;
31150                effect: SOFT_SHADOW;
31151                mouse_events: 0;
31152                scale: 1;
31153                description { state: "default" 0.0;
31154                    color: 0 0 0 255;
31155                    color3: 0 0 0 0;
31156                    align: 0.5 1.0;
31157                    rel1 {
31158                        relative: 0.0 1.0;
31159                        offset: 20 -30;
31160                    }
31161                    rel2 {
31162                        relative: 1.0 1.0;
31163                        offset: -21 -15;
31164                    }
31165                    text {
31166                        font: "Sans";
31167                        size: 10;
31168                        min: 0 1;
31169                        align: 0.5 0.0;
31170                        text_class: "grid_item";
31171                    }
31172                }
31173            }
31174            part { name: "fg1";
31175                mouse_events: 0;
31176                description { state: "default" 0.0;
31177                    visible: 0;
31178                    color: 255 255 255 0;
31179                    rel1.offset: -3 -3;
31180                    rel2 {
31181                        relative: 1.0 0.5;
31182                        offset: 2 -1;
31183                    }
31184                    image {
31185                        normal: "bt_sm_hilight.png";
31186                        border: 6 6 6 0;
31187                    }
31188                }
31189                description { state: "selected" 0.0;
31190                    inherit: "default" 0.0;
31191                    visible: 1;
31192                    color: 255 255 255 255;
31193                }
31194            }
31195            part { name: "fg2";
31196                mouse_events: 0;
31197                description { state: "default" 0.0;
31198                    visible: 0;
31199                    color: 255 255 255 0;
31200                    rel1.offset: -3 -3;
31201                    rel2.offset: 2 2;
31202                    image {
31203                        image: "bt_sm_shine.png";
31204                        border: 6 6 6 0;
31205                    }
31206                }
31207                description { state: "selected" 0.0;
31208                    inherit: "default" 0.0;
31209                    visible: 1;
31210                    color: 255 255 255 255;
31211                }
31212            }
31213        }
31214        programs {
31215            program {
31216                signal: "elm,state,selected";
31217                source: "elm";
31218                action: STATE_SET "selected" 0.0;
31219                target: "bg";
31220                target: "fg1";
31221                target: "fg2";
31222            }
31223            program {
31224                signal: "elm,state,unselected";
31225                source: "elm";
31226                action:  STATE_SET "default" 0.0;
31227                target: "bg";
31228                target: "fg1";
31229                target: "fg2";
31230                transition: LINEAR 0.1;
31231            }
31232        }
31233    }
31234
31235 ///////////////////////////////////////////////////////////////////////////////
31236    group { name: "elm/photocam/base/default";
31237        script {
31238            public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
31239            public timer0(val) {
31240                new v;
31241                v = get_int(sbvis_v);
31242                if (v) {
31243                    v = get_int(sbalways_v);
31244                    if (!v) {
31245                        emit("do-hide-vbar", "");
31246                        set_int(sbvis_v, 0);
31247                    }
31248                }
31249                v = get_int(sbvis_h);
31250                if (v) {
31251                    v = get_int(sbalways_h);
31252                    if (!v) {
31253                        emit("do-hide-hbar", "");
31254                        set_int(sbvis_h, 0);
31255                    }
31256                }
31257                set_int(sbvis_timer, 0);
31258                return 0;
31259            }
31260        }
31261        images {
31262            image: "shelf_inset.png" COMP;
31263            image: "bt_sm_base2.png" COMP;
31264            image: "bt_sm_shine.png" COMP;
31265            image: "bt_sm_hilight.png" COMP;
31266            image: "busy-1.png" COMP;
31267            image: "busy-2.png" COMP;
31268            image: "busy-3.png" COMP;
31269            image: "busy-4.png" COMP;
31270            image: "busy-5.png" COMP;
31271            image: "busy-6.png" COMP;
31272            image: "busy-7.png" COMP;
31273            image: "busy-8.png" COMP;
31274            image: "busy-9.png" COMP;
31275        }
31276        parts {
31277            part { name: "bg";
31278                type: RECT;
31279                description { state: "default" 0.0;
31280                    rel1.offset: 1 1;
31281                    rel2.offset: -2 -2;
31282                    color: 255 255 255 0;
31283                }
31284            }
31285            part { name: "clipper";
31286                type: RECT;
31287                mouse_events: 0;
31288                description { state: "default" 0.0;
31289                    rel1.to: "bg";
31290                    rel2.to: "bg";
31291                }
31292            }
31293            part { name: "elm.swallow.content";
31294                clip_to: "clipper";
31295                type: SWALLOW;
31296                description { state: "default" 0.0;
31297                    rel1.offset: 1 1;
31298                    rel2.offset: -2 -2;
31299                }
31300            }
31301            part { name: "busy_clip";
31302                type: RECT;
31303                mouse_events: 0;
31304                description { state: "default" 0.0;
31305                    visible: 0;
31306                    color: 255 255 255 0;
31307                }
31308                description { state: "active" 0.0;
31309                    visible: 1;
31310                    color: 255 255 255 255;
31311                }
31312            }
31313            part { name: "busy";
31314                clip_to: "busy_clip";
31315                mouse_events: 0;
31316                description { state: "default" 0.0;
31317                    fixed: 1 1;
31318                    min: 32 32;
31319                    aspect: 1.0 1.0;
31320                    align: 1.0 1.0;
31321                    aspect_preference: BOTH;
31322                    rel1 {
31323                        relative: 0.9 0.9;
31324                        offset:   -9 -9;
31325                    }
31326                    rel2 {
31327                        relative: 0.9 0.9;
31328                        offset:   -9 -9;
31329                    }
31330                    image {
31331                        normal: "busy-9.png";
31332                        tween:  "busy-1.png";
31333                        tween:  "busy-2.png";
31334                        tween:  "busy-3.png";
31335                        tween:  "busy-4.png";
31336                        tween:  "busy-5.png";
31337                        tween:  "busy-6.png";
31338                        tween:  "busy-7.png";
31339                        tween:  "busy-8.png";
31340                    }
31341                }
31342            }
31343            part { name: "conf_over";
31344                mouse_events:  0;
31345                description { state: "default" 0.0;
31346                    rel1.offset: 0 0;
31347                    rel2.offset: -1 -1;
31348                    image {
31349                        normal: "shelf_inset.png";
31350                        border: 7 7 7 7;
31351                        middle: 0;
31352                    }
31353                    fill.smooth : 0;
31354                }
31355            }
31356            part { name: "sb_vbar_clip_master";
31357                type: RECT;
31358                mouse_events: 0;
31359                description { state: "default" 0.0;
31360                }
31361                description { state: "hidden" 0.0;
31362                    visible: 0;
31363                    color: 255 255 255 0;
31364                }
31365            }
31366            part { name: "sb_vbar_clip";
31367                clip_to: "sb_vbar_clip_master";
31368                type: RECT;
31369                mouse_events: 0;
31370                description { state: "default" 0.0;
31371                }
31372                description { state: "hidden" 0.0;
31373                    visible: 0;
31374                    color: 255 255 255 0;
31375                }
31376            }
31377            part { name: "sb_vbar";
31378                type: RECT;
31379                mouse_events: 0;
31380                description { state: "default" 0.0;
31381                    fixed: 1 1;
31382                    visible: 0;
31383                    min: 10 17;
31384                    align: 1.0 0.0;
31385                    rel1 {
31386                        relative: 1.0 0.0;
31387                        offset:   -2 0;
31388                    }
31389                    rel2 {
31390                        relative: 1.0 0.0;
31391                        offset:   -2 -1;
31392                        to_y:     "sb_hbar";
31393                    }
31394                }
31395            }
31396            part { name: "elm.dragable.vbar";
31397                clip_to: "sb_vbar_clip";
31398                mouse_events: 0;
31399                dragable {
31400                    x: 0 0 0;
31401                    y: 1 1 0;
31402                    confine: "sb_vbar";
31403                }
31404                description { state: "default" 0.0;
31405                    fixed: 1 1;
31406                    min: 10 17;
31407                    max: 10 99999;
31408                    rel1 {
31409                        relative: 0.5  0.5;
31410                        offset:   0    0;
31411                        to: "sb_vbar";
31412                    }
31413                    rel2 {
31414                        relative: 0.5  0.5;
31415                        offset:   0    0;
31416                        to: "sb_vbar";
31417                    }
31418                    image {
31419                        normal: "bt_sm_base2.png";
31420                        border: 6 6 6 6;
31421                        middle: SOLID;
31422                    }
31423                }
31424            }
31425            part { name: "sb_vbar_over1";
31426                clip_to: "sb_vbar_clip";
31427                mouse_events: 0;
31428                description { state: "default" 0.0;
31429                    rel1.to: "elm.dragable.vbar";
31430                    rel2.relative: 1.0 0.5;
31431                    rel2.to: "elm.dragable.vbar";
31432                    image {
31433                        normal: "bt_sm_hilight.png";
31434                        border: 6 6 6 0;
31435                    }
31436                }
31437            }
31438            part { name: "sb_vbar_over2";
31439                clip_to: "sb_vbar_clip";
31440                mouse_events: 0;
31441                description { state: "default" 0.0;
31442                    rel1.to: "elm.dragable.vbar";
31443                    rel2.to: "elm.dragable.vbar";
31444                    image {
31445                        normal: "bt_sm_shine.png";
31446                        border: 6 6 6 0;
31447                    }
31448                }
31449            }
31450
31451            part { name: "sb_hbar_clip_master";
31452                type: RECT;
31453                mouse_events: 0;
31454                description { state: "default" 0.0;
31455                }
31456                description { state: "hidden" 0.0;
31457                    visible: 0;
31458                    color: 255 255 255 0;
31459                }
31460            }
31461            part { name: "sb_hbar_clip";
31462                clip_to: "sb_hbar_clip_master";
31463                type: RECT;
31464                mouse_events: 0;
31465                description { state: "default" 0.0;
31466                }
31467                description { state: "hidden" 0.0;
31468                    visible: 0;
31469                    color: 255 255 255 0;
31470                }
31471            }
31472            part { name: "sb_hbar";
31473                type: RECT;
31474                mouse_events: 0;
31475                description { state: "default" 0.0;
31476                    fixed: 1 1;
31477                    visible: 0;
31478                    min: 17 10;
31479                    align: 0.0 1.0;
31480                    rel1 {
31481                        relative: 0.0 1.0;
31482                        offset:   0 -2;
31483                    }
31484                    rel2 {
31485                        relative: 0.0 1.0;
31486                        offset:   -1 -2;
31487                        to_x:     "sb_vbar";
31488                    }
31489                }
31490            }
31491            part { name: "elm.dragable.hbar";
31492                clip_to: "sb_hbar_clip";
31493                mouse_events: 0;
31494                dragable {
31495                    x: 1 1 0;
31496                    y: 0 0 0;
31497                    confine: "sb_hbar";
31498                }
31499                description { state: "default" 0.0;
31500                    fixed: 1 1;
31501                    min: 17 10;
31502                    max: 99999 10;
31503                    rel1 {
31504                        relative: 0.5  0.5;
31505                        offset:   0    0;
31506                        to: "sb_hbar";
31507                    }
31508                    rel2 {
31509                        relative: 0.5  0.5;
31510                        offset:   0    0;
31511                        to: "sb_hbar";
31512                    }
31513                    image {
31514                        normal: "bt_sm_base2.png";
31515                        border: 4 4 4 4;
31516                        middle: SOLID;
31517                    }
31518                }
31519            }
31520            part { name: "sb_hbar_over1";
31521                clip_to: "sb_hbar_clip";
31522                mouse_events: 0;
31523                description { state: "default" 0.0;
31524                    rel1.to: "elm.dragable.hbar";
31525                    rel2.relative: 1.0 0.5;
31526                    rel2.to: "elm.dragable.hbar";
31527                    image {
31528                        normal: "bt_sm_hilight.png";
31529                        border: 4 4 4 0;
31530                    }
31531                }
31532            }
31533            part { name: "sb_hbar_over2";
31534                clip_to: "sb_hbar_clip";
31535                mouse_events: 0;
31536                description { state: "default" 0.0;
31537                    rel1.to: "elm.dragable.hbar";
31538                    rel2.to: "elm.dragable.hbar";
31539                    image {
31540                        normal: "bt_sm_shine.png";
31541                        border: 4 4 4 0;
31542                    }
31543                }
31544            }
31545        }
31546        programs {
31547            program { name: "load";
31548                signal: "load";
31549                source: "";
31550                script {
31551                    set_state(PART:"sb_hbar_clip", "hidden", 0.0);
31552                    set_state(PART:"sb_vbar_clip", "hidden", 0.0);
31553                    set_int(sbvis_h, 0);
31554                    set_int(sbvis_v, 0);
31555                    set_int(sbalways_v, 0);
31556                    set_int(sbalways_h, 0);
31557                    set_int(sbvis_timer, 0);
31558                }
31559            }
31560
31561            program { name: "vbar_show";
31562                signal: "elm,action,show,vbar";
31563                source: "elm";
31564                action:  STATE_SET "default" 0.0;
31565                target: "sb_vbar_clip_master";
31566            }
31567            program { name: "vbar_hide";
31568                signal: "elm,action,hide,vbar";
31569                source: "elm";
31570                action:  STATE_SET "hidden" 0.0;
31571                target: "sb_vbar_clip_master";
31572            }
31573            program { name: "vbar_show_always";
31574                signal: "elm,action,show_always,vbar";
31575                source: "elm";
31576                script {
31577                    new v;
31578                    v = get_int(sbvis_v);
31579                    v |= get_int(sbalways_v);
31580                    if (!v) {
31581                        set_int(sbalways_v, 1);
31582                        emit("do-show-vbar", "");
31583                        set_int(sbvis_v, 1);
31584                    }
31585                }
31586            }
31587            program { name: "vbar_show_notalways";
31588                signal: "elm,action,show_notalways,vbar";
31589                source: "elm";
31590                script {
31591                    new v;
31592                    v = get_int(sbalways_v);
31593                    if (v) {
31594                        set_int(sbalways_v, 0);
31595                        v = get_int(sbvis_v);
31596                        if (!v) {
31597                            emit("do-hide-vbar", "");
31598                            set_int(sbvis_v, 0);
31599                        }
31600                    }
31601                }
31602            }
31603            program { name: "sb_vbar_show";
31604                signal: "do-show-vbar";
31605                source: "";
31606                action:  STATE_SET "default" 0.0;
31607                transition: LINEAR 0.5;
31608                target: "sb_vbar_clip";
31609            }
31610            program { name: "sb_vbar_hide";
31611                signal: "do-hide-vbar";
31612                source: "";
31613                action:  STATE_SET "hidden" 0.0;
31614                transition: LINEAR 0.5;
31615                target: "sb_vbar_clip";
31616            }
31617
31618            program { name: "hbar_show";
31619                signal: "elm,action,show,hbar";
31620                source: "elm";
31621                action:  STATE_SET "default" 0.0;
31622                target: "sb_hbar_clip_master";
31623            }
31624            program { name: "hbar_hide";
31625                signal: "elm,action,hide,hbar";
31626                source: "elm";
31627                action:  STATE_SET "hidden" 0.0;
31628                target: "sb_hbar_clip_master";
31629            }
31630            program { name: "hbar_show_always";
31631                signal: "elm,action,show_always,hbar";
31632                source: "elm";
31633                script {
31634                    new v;
31635                    v = get_int(sbvis_h);
31636                    v |= get_int(sbalways_h);
31637                    if (!v) {
31638                        set_int(sbalways_h, 1);
31639                        emit("do-show-hbar", "");
31640                        set_int(sbvis_h, 1);
31641                    }
31642                }
31643            }
31644            program { name: "hbar_show_notalways";
31645                signal: "elm,action,show_notalways,hbar";
31646                source: "elm";
31647                script {
31648                    new v;
31649                    v = get_int(sbalways_h);
31650                    if (v) {
31651                        set_int(sbalways_h, 0);
31652                        v = get_int(sbvis_h);
31653                        if (!v) {
31654                            emit("do-hide-hbar", "");
31655                            set_int(sbvis_h, 0);
31656                        }
31657                    }
31658                }
31659            }
31660            program { name: "sb_hbar_show";
31661                signal: "do-show-hbar";
31662                source: "";
31663                action:  STATE_SET "default" 0.0;
31664                transition: LINEAR 0.5;
31665                target: "sb_hbar_clip";
31666            }
31667            program { name: "sb_hbar_hide";
31668                signal: "do-hide-hbar";
31669                source: "";
31670                action:  STATE_SET "hidden" 0.0;
31671                transition: LINEAR 0.5;
31672                target: "sb_hbar_clip";
31673            }
31674
31675            program { name: "scroll";
31676                signal: "elm,action,scroll";
31677                source: "elm";
31678                script {
31679                    new v;
31680                    v = get_int(sbvis_v);
31681                    v |= get_int(sbalways_v);
31682                    if (!v) {
31683                        emit("do-show-vbar", "");
31684                        set_int(sbvis_v, 1);
31685                    }
31686                    v = get_int(sbvis_h);
31687                    v |= get_int(sbalways_h);
31688                    if (!v) {
31689                        emit("do-show-hbar", "");
31690                        set_int(sbvis_h, 1);
31691                    }
31692                    v = get_int(sbvis_timer);
31693                    if (v > 0) cancel_timer(v);
31694                    v = timer(1.0, "timer0", 0);
31695                    set_int(sbvis_timer, v);
31696                }
31697            }
31698            program { name: "go1";
31699                signal: "elm,state,busy,start";
31700                source: "elm";
31701                action: STATE_SET "active" 0.0;
31702                transition: SINUSOIDAL 1.0;
31703                target:  "busy_clip";
31704            }
31705            program { name: "go2";
31706                signal: "elm,state,busy,start";
31707                source: "elm";
31708                action: STATE_SET "default" 0.0;
31709                transition: LINEAR 0.5;
31710                target: "busy";
31711                after:  "go2";
31712            }
31713            program { name: "stop1";
31714                signal: "elm,state,busy,stop";
31715                source: "elm";
31716                action: STATE_SET "default" 0.0;
31717                transition: SINUSOIDAL 1.0;
31718                target: "busy_clip";
31719                after: "stop2";
31720            }
31721          program { name: "stop2";
31722             action: ACTION_STOP;
31723             target: "go2";
31724          }
31725       }
31726    }
31727
31728    ///////////////////////////////////////////////////////////////////////////////
31729    group { name: "elm/map/base/default";
31730        script {
31731            public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
31732            public timer0(val) {
31733                new v;
31734                v = get_int(sbvis_v);
31735                if (v) {
31736                    v = get_int(sbalways_v);
31737                    if (!v) {
31738                        emit("do-hide-vbar", "");
31739                        set_int(sbvis_v, 0);
31740                    }
31741                }
31742                v = get_int(sbvis_h);
31743                if (v) {
31744                    v = get_int(sbalways_h);
31745                    if (!v) {
31746                        emit("do-hide-hbar", "");
31747                        set_int(sbvis_h, 0);
31748                    }
31749                }
31750                set_int(sbvis_timer, 0);
31751                return 0;
31752            }
31753        }
31754        images {
31755            image: "shelf_inset.png" COMP;
31756            image: "bt_sm_base2.png" COMP;
31757            image: "bt_sm_shine.png" COMP;
31758            image: "bt_sm_hilight.png" COMP;
31759            image: "busy-1.png" COMP;
31760            image: "busy-2.png" COMP;
31761            image: "busy-3.png" COMP;
31762            image: "busy-4.png" COMP;
31763            image: "busy-5.png" COMP;
31764            image: "busy-6.png" COMP;
31765            image: "busy-7.png" COMP;
31766            image: "busy-8.png" COMP;
31767            image: "busy-9.png" COMP;
31768        }
31769        parts {
31770            part { name: "bg";
31771                type: RECT;
31772                description { state: "default" 0.0;
31773                    rel1.offset: 1 1;
31774                    rel2.offset: -2 -2;
31775                    color: 255 255 255 0;
31776                }
31777            }
31778            part { name: "clipper";
31779                type: RECT;
31780                mouse_events: 0;
31781                description { state: "default" 0.0;
31782                    rel1.to: "bg";
31783                    rel2.to: "bg";
31784                }
31785            }
31786            part { name: "elm.swallow.content";
31787                clip_to: "clipper";
31788                type: SWALLOW;
31789                description { state: "default" 0.0;
31790                    rel1.offset: 1 1;
31791                    rel2.offset: -2 -2;
31792                }
31793            }
31794            part { name: "busy_clip";
31795                type: RECT;
31796                mouse_events: 0;
31797                description { state: "default" 0.0;
31798                    visible: 0;
31799                    color: 255 255 255 0;
31800                }
31801                description { state: "active" 0.0;
31802                    visible: 1;
31803                    color: 255 255 255 255;
31804                }
31805            }
31806            part { name: "busy";
31807                clip_to: "busy_clip";
31808                mouse_events: 0;
31809                description { state: "default" 0.0;
31810                    fixed: 1 1;
31811                    min: 32 32;
31812                    aspect: 1.0 1.0;
31813                    align: 1.0 1.0;
31814                    aspect_preference: BOTH;
31815                    rel1 {
31816                        relative: 0.9 0.9;
31817                        offset:   -9 -9;
31818                    }
31819                    rel2 {
31820                        relative: 0.9 0.9;
31821                        offset:   -9 -9;
31822                    }
31823                    image {
31824                        normal: "busy-9.png";
31825                        tween:  "busy-1.png";
31826                        tween:  "busy-2.png";
31827                        tween:  "busy-3.png";
31828                        tween:  "busy-4.png";
31829                        tween:  "busy-5.png";
31830                        tween:  "busy-6.png";
31831                        tween:  "busy-7.png";
31832                        tween:  "busy-8.png";
31833                    }
31834                }
31835            }
31836            part { name: "conf_over";
31837                mouse_events:  0;
31838                description { state: "default" 0.0;
31839                    rel1.offset: 0 0;
31840                    rel2.offset: -1 -1;
31841                    image {
31842                        normal: "shelf_inset.png";
31843                        border: 7 7 7 7;
31844                        middle: 0;
31845                    }
31846                    fill.smooth : 0;
31847                }
31848            }
31849            part { name: "sb_vbar_clip_master";
31850                type: RECT;
31851                mouse_events: 0;
31852                description { state: "default" 0.0;
31853                }
31854                description { state: "hidden" 0.0;
31855                    visible: 0;
31856                    color: 255 255 255 0;
31857                }
31858            }
31859            part { name: "sb_vbar_clip";
31860                clip_to: "sb_vbar_clip_master";
31861                type: RECT;
31862                mouse_events: 0;
31863                description { state: "default" 0.0;
31864                }
31865                description { state: "hidden" 0.0;
31866                    visible: 0;
31867                    color: 255 255 255 0;
31868                }
31869            }
31870            part { name: "sb_vbar";
31871                type: RECT;
31872                mouse_events: 0;
31873                description { state: "default" 0.0;
31874                    fixed: 1 1;
31875                    visible: 0;
31876                    min: 10 17;
31877                    align: 1.0 0.0;
31878                    rel1 {
31879                        relative: 1.0 0.0;
31880                        offset:   -2 0;
31881                    }
31882                    rel2 {
31883                        relative: 1.0 0.0;
31884                        offset:   -2 -1;
31885                        to_y:     "sb_hbar";
31886                    }
31887                }
31888            }
31889            part { name: "elm.dragable.vbar";
31890                clip_to: "sb_vbar_clip";
31891                mouse_events: 0;
31892                dragable {
31893                    x: 0 0 0;
31894                    y: 1 1 0;
31895                    confine: "sb_vbar";
31896                }
31897                description { state: "default" 0.0;
31898                    fixed: 1 1;
31899                    min: 10 17;
31900                    max: 10 99999;
31901                    rel1 {
31902                        relative: 0.5  0.5;
31903                        offset:   0    0;
31904                        to: "sb_vbar";
31905                    }
31906                    rel2 {
31907                        relative: 0.5  0.5;
31908                        offset:   0    0;
31909                        to: "sb_vbar";
31910                    }
31911                    image {
31912                        normal: "bt_sm_base2.png";
31913                        border: 6 6 6 6;
31914                        middle: SOLID;
31915                    }
31916                }
31917            }
31918            part { name: "sb_vbar_over1";
31919                clip_to: "sb_vbar_clip";
31920                mouse_events: 0;
31921                description { state: "default" 0.0;
31922                    rel1.to: "elm.dragable.vbar";
31923                    rel2.relative: 1.0 0.5;
31924                    rel2.to: "elm.dragable.vbar";
31925                    image {
31926                        normal: "bt_sm_hilight.png";
31927                        border: 6 6 6 0;
31928                    }
31929                }
31930            }
31931            part { name: "sb_vbar_over2";
31932                clip_to: "sb_vbar_clip";
31933                mouse_events: 0;
31934                description { state: "default" 0.0;
31935                    rel1.to: "elm.dragable.vbar";
31936                    rel2.to: "elm.dragable.vbar";
31937                    image {
31938                        normal: "bt_sm_shine.png";
31939                        border: 6 6 6 0;
31940                    }
31941                }
31942            }
31943
31944            part { name: "sb_hbar_clip_master";
31945                type: RECT;
31946                mouse_events: 0;
31947                description { state: "default" 0.0;
31948                }
31949                description { state: "hidden" 0.0;
31950                    visible: 0;
31951                    color: 255 255 255 0;
31952                }
31953            }
31954            part { name: "sb_hbar_clip";
31955                clip_to: "sb_hbar_clip_master";
31956                type: RECT;
31957                mouse_events: 0;
31958                description { state: "default" 0.0;
31959                }
31960                description { state: "hidden" 0.0;
31961                    visible: 0;
31962                    color: 255 255 255 0;
31963                }
31964            }
31965            part { name: "sb_hbar";
31966                type: RECT;
31967                mouse_events: 0;
31968                description { state: "default" 0.0;
31969                    fixed: 1 1;
31970                    visible: 0;
31971                    min: 17 10;
31972                    align: 0.0 1.0;
31973                    rel1 {
31974                        relative: 0.0 1.0;
31975                        offset:   0 -2;
31976                    }
31977                    rel2 {
31978                        relative: 0.0 1.0;
31979                        offset:   -1 -2;
31980                        to_x:     "sb_vbar";
31981                    }
31982                }
31983            }
31984            part { name: "elm.dragable.hbar";
31985                clip_to: "sb_hbar_clip";
31986                mouse_events: 0;
31987                dragable {
31988                    x: 1 1 0;
31989                    y: 0 0 0;
31990                    confine: "sb_hbar";
31991                }
31992                description { state: "default" 0.0;
31993                    fixed: 1 1;
31994                    min: 17 10;
31995                    max: 99999 10;
31996                    rel1 {
31997                        relative: 0.5  0.5;
31998                        offset:   0    0;
31999                        to: "sb_hbar";
32000                    }
32001                    rel2 {
32002                        relative: 0.5  0.5;
32003                        offset:   0    0;
32004                        to: "sb_hbar";
32005                    }
32006                    image {
32007                        normal: "bt_sm_base2.png";
32008                        border: 4 4 4 4;
32009                        middle: SOLID;
32010                    }
32011                }
32012            }
32013            part { name: "sb_hbar_over1";
32014                clip_to: "sb_hbar_clip";
32015                mouse_events: 0;
32016                description { state: "default" 0.0;
32017                    rel1.to: "elm.dragable.hbar";
32018                    rel2.relative: 1.0 0.5;
32019                    rel2.to: "elm.dragable.hbar";
32020                    image {
32021                        normal: "bt_sm_hilight.png";
32022                        border: 4 4 4 0;
32023                    }
32024                }
32025            }
32026            part { name: "sb_hbar_over2";
32027                clip_to: "sb_hbar_clip";
32028                mouse_events: 0;
32029                description { state: "default" 0.0;
32030                    rel1.to: "elm.dragable.hbar";
32031                    rel2.to: "elm.dragable.hbar";
32032                    image {
32033                        normal: "bt_sm_shine.png";
32034                        border: 4 4 4 0;
32035                    }
32036                }
32037            }
32038        }
32039        programs {
32040            program { name: "load";
32041                signal: "load";
32042                source: "";
32043                script {
32044                    set_state(PART:"sb_hbar_clip", "hidden", 0.0);
32045                    set_state(PART:"sb_vbar_clip", "hidden", 0.0);
32046                    set_int(sbvis_h, 0);
32047                    set_int(sbvis_v, 0);
32048                    set_int(sbalways_v, 0);
32049                    set_int(sbalways_h, 0);
32050                    set_int(sbvis_timer, 0);
32051                }
32052            }
32053
32054            program { name: "vbar_show";
32055                signal: "elm,action,show,vbar";
32056                source: "elm";
32057                action:  STATE_SET "default" 0.0;
32058                target: "sb_vbar_clip_master";
32059            }
32060            program { name: "vbar_hide";
32061                signal: "elm,action,hide,vbar";
32062                source: "elm";
32063                action:  STATE_SET "hidden" 0.0;
32064                target: "sb_vbar_clip_master";
32065            }
32066            program { name: "vbar_show_always";
32067                signal: "elm,action,show_always,vbar";
32068                source: "elm";
32069                script {
32070                    new v;
32071                    v = get_int(sbvis_v);
32072                    v |= get_int(sbalways_v);
32073                    if (!v) {
32074                        set_int(sbalways_v, 1);
32075                        emit("do-show-vbar", "");
32076                        set_int(sbvis_v, 1);
32077                    }
32078                }
32079            }
32080            program { name: "vbar_show_notalways";
32081                signal: "elm,action,show_notalways,vbar";
32082                source: "elm";
32083                script {
32084                    new v;
32085                    v = get_int(sbalways_v);
32086                    if (v) {
32087                        set_int(sbalways_v, 0);
32088                        v = get_int(sbvis_v);
32089                        if (!v) {
32090                            emit("do-hide-vbar", "");
32091                            set_int(sbvis_v, 0);
32092                        }
32093                    }
32094                }
32095            }
32096            program { name: "sb_vbar_show";
32097                signal: "do-show-vbar";
32098                source: "";
32099                action:  STATE_SET "default" 0.0;
32100                transition: LINEAR 0.5;
32101                target: "sb_vbar_clip";
32102            }
32103            program { name: "sb_vbar_hide";
32104                signal: "do-hide-vbar";
32105                source: "";
32106                action:  STATE_SET "hidden" 0.0;
32107                transition: LINEAR 0.5;
32108                target: "sb_vbar_clip";
32109            }
32110
32111            program { name: "hbar_show";
32112                signal: "elm,action,show,hbar";
32113                source: "elm";
32114                action:  STATE_SET "default" 0.0;
32115                target: "sb_hbar_clip_master";
32116            }
32117            program { name: "hbar_hide";
32118                signal: "elm,action,hide,hbar";
32119                source: "elm";
32120                action:  STATE_SET "hidden" 0.0;
32121                target: "sb_hbar_clip_master";
32122            }
32123            program { name: "hbar_show_always";
32124                signal: "elm,action,show_always,hbar";
32125                source: "elm";
32126                script {
32127                    new v;
32128                    v = get_int(sbvis_h);
32129                    v |= get_int(sbalways_h);
32130                    if (!v) {
32131                        set_int(sbalways_h, 1);
32132                        emit("do-show-hbar", "");
32133                        set_int(sbvis_h, 1);
32134                    }
32135                }
32136            }
32137            program { name: "hbar_show_notalways";
32138                signal: "elm,action,show_notalways,hbar";
32139                source: "elm";
32140                script {
32141                    new v;
32142                    v = get_int(sbalways_h);
32143                    if (v) {
32144                        set_int(sbalways_h, 0);
32145                        v = get_int(sbvis_h);
32146                        if (!v) {
32147                            emit("do-hide-hbar", "");
32148                            set_int(sbvis_h, 0);
32149                        }
32150                    }
32151                }
32152            }
32153            program { name: "sb_hbar_show";
32154                signal: "do-show-hbar";
32155                source: "";
32156                action:  STATE_SET "default" 0.0;
32157                transition: LINEAR 0.5;
32158                target: "sb_hbar_clip";
32159            }
32160            program { name: "sb_hbar_hide";
32161                signal: "do-hide-hbar";
32162                source: "";
32163                action:  STATE_SET "hidden" 0.0;
32164                transition: LINEAR 0.5;
32165                target: "sb_hbar_clip";
32166            }
32167
32168            program { name: "scroll";
32169                signal: "elm,action,scroll";
32170                source: "elm";
32171                script {
32172                    new v;
32173                    v = get_int(sbvis_v);
32174                    v |= get_int(sbalways_v);
32175                    if (!v) {
32176                        emit("do-show-vbar", "");
32177                        set_int(sbvis_v, 1);
32178                    }
32179                    v = get_int(sbvis_h);
32180                    v |= get_int(sbalways_h);
32181                    if (!v) {
32182                        emit("do-show-hbar", "");
32183                        set_int(sbvis_h, 1);
32184                    }
32185                    v = get_int(sbvis_timer);
32186                    if (v > 0) cancel_timer(v);
32187                    v = timer(1.0, "timer0", 0);
32188                    set_int(sbvis_timer, v);
32189                }
32190            }
32191            program { name: "go1";
32192                signal: "elm,state,busy,start";
32193                source: "elm";
32194                action: STATE_SET "active" 0.0;
32195                transition: SINUSOIDAL 1.0;
32196                target:  "busy_clip";
32197            }
32198            program { name: "go2";
32199                signal: "elm,state,busy,start";
32200                source: "elm";
32201                action: STATE_SET "default" 0.0;
32202                transition: LINEAR 0.5;
32203                target: "busy";
32204                after:  "go2";
32205            }
32206            program { name: "stop1";
32207                signal: "elm,state,busy,stop";
32208                source: "elm";
32209                action: STATE_SET "default" 0.0;
32210                transition: SINUSOIDAL 1.0;
32211                target: "busy_clip";
32212                after: "stop2";
32213            }
32214          program { name: "stop2";
32215             action: ACTION_STOP;
32216             target: "go2";
32217          }
32218       }
32219    }
32220    group { name: "elm/map/marker/radio/default";
32221         data {
32222             item: size_w 24;
32223             item: size_h 24;
32224             item: size_max_w 58;
32225             item: size_max_h 58;
32226         }
32227         images {
32228                 image: "map_item.png" COMP;
32229         }
32230         parts {
32231             part { name: "whole";
32232                 description { state: "default" 0.0;
32233                 }
32234             }
32235             part { name: "base";
32236                 ignore_flags: ON_HOLD;
32237                 description { state: "default" 0.0;
32238                     image.normal: "map_item.png";
32239                 }
32240             }
32241             part { name: "elm.icon";
32242                 type: SWALLOW;
32243                 clip_to: "whole";
32244                 mouse_events:  0;
32245                 description { state: "default" 0.0;
32246                     rel1.relative: 0.27 0.27;
32247                     rel2.relative: 0.73 0.73;
32248                 }
32249             }
32250             part { name: "elm.text";
32251                 type:          TEXT;
32252                 effect:        SOFT_SHADOW;
32253                 mouse_events:  0;
32254                 scale: 1;
32255                 description { state: "default" 0.0;
32256                     align:    0.5 0.5;
32257                     color: 224 224 224 255;
32258                     color3: 0 0 0 64;
32259                     rel1.relative: 0.28 0.25;
32260                     rel2.relative: 0.75 0.75;
32261                     text {
32262                         font:     "Sans,Edje-Vera";
32263                         size:     10;
32264                         min:      0 0;
32265                         align:    0.5 0.5;
32266                     }
32267                 }
32268             }
32269        }
32270        programs {
32271             program { name: "open";
32272                 signal: "mouse,clicked,1";
32273                 source: "base";
32274                 action: SIGNAL_EMIT "open" "elm";
32275             }
32276             program { name: "bringin";
32277                 signal: "mouse,down,1,double";
32278                 source: "base";
32279                 action: SIGNAL_EMIT "bringin" "elm";
32280             }
32281        }
32282    }
32283    group { name: "elm/map/marker/radio2/default";
32284         data {
32285             item: size_w 24;
32286             item: size_h 24;
32287             item: size_max_w 58;
32288             item: size_max_h 58;
32289         }
32290         images {
32291                 image: "map_item_2.png" COMP;
32292         }
32293         parts {
32294             part { name: "base";
32295                 ignore_flags: ON_HOLD;
32296                 description { state: "default" 0.0;
32297                     image.normal: "map_item_2.png";
32298                 }
32299             }
32300             part { name: "elm.text";
32301                 type:          TEXT;
32302                 effect:        SOFT_SHADOW;
32303                 mouse_events:  0;
32304                 scale: 1;
32305                 description { state: "default" 0.0;
32306                     align:    0.5 0.5;
32307                     color: 224 224 224 255;
32308                     color3: 0 0 0 64;
32309                     rel1.relative: 0.28 0.25;
32310                     rel2.relative: 0.75 0.75;
32311                     text {
32312                         font:     "Sans,Edje-Vera";
32313                         size:     10;
32314                         min:      0 0;
32315                         align:    0.5 0.5;
32316                     }
32317                 }
32318             }
32319        }
32320        programs {
32321             program { name: "open";
32322                 signal: "mouse,clicked,1";
32323                 source: "base";
32324                 action: SIGNAL_EMIT "open" "elm";
32325             }
32326             program { name: "bringin";
32327                 signal: "mouse,down,1,double";
32328                 source: "base";
32329                 action: SIGNAL_EMIT "bringin" "elm";
32330             }
32331        }
32332    }
32333    group { name: "elm/map/marker/empty/default";
32334         data {
32335             item: size_w 22;
32336             item: size_h 22;
32337             item: size_max_w 64;
32338             item: size_max_h 64;
32339         }
32340         parts {
32341             part { name: "whole";
32342                 description { state: "default" 0.0;
32343                 }
32344             }
32345             part { name: "base";
32346                 ignore_flags: ON_HOLD;
32347                 description { state: "default" 0.0;
32348                 }
32349             }
32350             part { name: "elm.icon";
32351                 type: SWALLOW;
32352                 clip_to: "whole";
32353                 mouse_events:  0;
32354                 description { state: "default" 0.0;
32355                 }
32356             }
32357             part { name: "elm.text";
32358                 type:          TEXT;
32359                 effect:        SOFT_SHADOW;
32360                 mouse_events:  0;
32361                 scale: 1;
32362                 description { state: "default" 0.0;
32363                     align:    0.5 0.5;
32364                     color: 224 224 224 255;
32365                     color3: 0 0 0 64;
32366                     rel1.relative: 0.28 0.25;
32367                     rel2.relative: 0.75 0.75;
32368                     text {
32369                         font:     "Sans,Edje-Vera";
32370                         size:     10;
32371                         min:      0 0;
32372                         align:    0.5 0.5;
32373                     }
32374                 }
32375             }
32376        }
32377        programs {
32378             program { name: "open";
32379                 signal: "mouse,clicked,1";
32380                 source: "base";
32381                 action: SIGNAL_EMIT "open" "elm";
32382             }
32383             program { name: "bringin";
32384                 signal: "mouse,down,1,double";
32385                 source: "base";
32386                 action: SIGNAL_EMIT "bringin" "elm";
32387             }
32388        }
32389    }
32390    group { name: "elm/map/marker_bubble/default";
32391     images {
32392       image: "bubble.png" COMP;
32393       image: "bubble_shine.png" COMP;
32394     }
32395     data {
32396             item: size_w 400;
32397             item: size_h 100;
32398         }
32399     parts {
32400     part { name: "clipper";
32401         mouse_events:  1;
32402         description { state: "default" 0.0;
32403           color: 255 255 255 0;
32404         }
32405         description { state: "show" 0.0;
32406             inherit: "default" 0.0;
32407             color: 255 255 255 255;
32408         }
32409       }
32410      part { name: "base0";
32411         mouse_events:  0;
32412         clip_to: "clipper";
32413         description { state: "default" 0.0;
32414           image {
32415             normal: "bubble.png";
32416             border: 11 36 10 19;
32417           }
32418           image.middle: SOLID;
32419           fill.smooth: 0;
32420         }
32421         description { state: "rtl" 0.0;
32422            inherit: "default" 0.0;
32423            image {
32424               normal: "bubble_4.png";
32425               border: 11 36 18 9;
32426            }
32427         }
32428       }
32429       part { name: "elm.swallow.content";
32430         type: SWALLOW;
32431         clip_to: "clipper";
32432         description { state: "default" 0.0;
32433             align: 0.5 0.5;
32434           rel1 {
32435             offset: 9 8;
32436           }
32437           rel2 {
32438             offset: -10 -17;
32439           }
32440         }
32441       }
32442       part { name: "shine";
32443         mouse_events:  0;
32444         clip_to: "clipper";
32445         description { state:    "default" 0.0;
32446           rel1 {
32447             to: "base0";
32448           }
32449           rel2 {
32450             to: "base0";
32451             relative: 1.0 0.5;
32452           }
32453           image {
32454             normal: "bubble_shine.png";
32455             border: 5 5 5 0;
32456           }
32457           fill.smooth: 0;
32458         }
32459         }
32460     }
32461     programs {
32462         program { name: "show";
32463             signal: "show";
32464             action: STATE_SET "show" 0.0;
32465             target: "clipper";
32466             transition: ACCELERATE 0.5;
32467         }
32468     }
32469   }
32470
32471 /////////////////////////////////////////////////////////////////////////////
32472 // PANES
32473 /////////////////////////////////////////////////////////////////////////////
32474   group {
32475      name: "elm/panes/vertical/default";
32476       images {
32477          image: "bt_base1.png" COMP;
32478          image: "bt_base2.png" COMP;
32479          image: "bt_hilight.png" COMP;
32480          image: "bt_shine.png" COMP;
32481          image: "bt_glow.png" COMP;
32482          image: "bt_dis_base.png" COMP;
32483          image: "bt_dis_hilight.png" COMP;
32484          image: "arrow_right.png" COMP;
32485          image: "arrow_left.png" COMP;
32486       }
32487      parts
32488        {
32489           part
32490             {
32491                name: "whole";
32492                type: RECT;
32493                mouse_events: 0;
32494                description
32495                  {
32496                     state: "default" 0.0;
32497                     visible: 0;
32498                  }
32499             }
32500
32501          //2 contents
32502           part
32503             {
32504                name: "whole_left";
32505                type: RECT;
32506                mouse_events: 0;
32507                description
32508                  {
32509                     state: "default" 0.0;
32510                     rel2.to_x: "elm.bar";
32511                     rel2.relative: 0.0 1.0;
32512                     visible: 1;
32513                  }
32514             }
32515           part
32516             {
32517                name: "elm.swallow.left";
32518                type: SWALLOW;
32519                clip_to: "whole_left";
32520                description
32521                  {
32522                     state: "default" 0.0;
32523                     rel1.to: "whole_left";
32524                     rel2.to: "whole_left";
32525                  }
32526             }
32527
32528             part
32529             {
32530                name: "whole_right";
32531                type: RECT;
32532                mouse_events: 0;
32533                description
32534                  {
32535                     state: "default" 0.0;
32536                     rel1.to_x: "elm.bar";
32537                     rel1.relative: 1.0 0.0;
32538                     visible: 1;
32539                  }
32540             }
32541           part
32542             {
32543                name: "elm.swallow.right";
32544                type: SWALLOW;
32545                clip_to: "whole_right";
32546                description
32547                  {
32548                     state: "default" 0.0;
32549                     rel1.to: "whole_right";
32550                     rel2.to: "whole_right";
32551                  }
32552             }
32553          //BAR
32554          part { name: "elm.bar";
32555             mouse_events: 1;
32556             dragable {
32557                confine: "whole";
32558                x: 1 1 1;
32559                y: 0 0 0;
32560             }
32561             description { state: "default" 0.0;
32562                max: 15 9999;
32563                min: 15 100;
32564                rel1.relative: 0.0 0.5;
32565                rel2.relative: 1.0 0.5;
32566                image {
32567                   normal: "bt_base2.png";
32568                   border: 7 7 7 7;
32569                }
32570                image.middle: SOLID;
32571             }
32572             description { state: "clicked" 0.0;
32573                inherit: "default" 0.0;
32574                image.normal: "bt_base1.png";
32575                image.middle: SOLID;
32576             }
32577             description { state: "disabled" 0.0;
32578                inherit:  "default" 0.0;
32579                image {
32580                   normal: "bt_dis_base.png";
32581                   border: 4 4 4 4;
32582                }
32583             }
32584          }
32585          part {          name: "over1";
32586             mouse_events: 0;
32587             description { state: "default" 0.0;
32588             rel1.to: "elm.bar";
32589             rel2.to: "elm.bar";
32590                rel2.relative: 1.0 0.5;
32591                image {
32592                   normal: "bt_hilight.png";
32593                   border: 7 7 7 0;
32594                }
32595             }
32596             description { state: "disabled" 0.0;
32597                inherit:  "default" 0.0;
32598                image {
32599                   normal: "bt_dis_hilight.png";
32600                   border: 4 4 4 0;
32601                }
32602             }
32603          }
32604          part { name: "over2";
32605             mouse_events: 1;
32606             repeat_events: 1;
32607             ignore_flags: ON_HOLD;
32608             description { state: "default" 0.0;
32609             rel1.to: "elm.bar";
32610             rel2.to: "elm.bar";
32611                image {
32612                   normal: "bt_shine.png";
32613                   border: 7 7 7 7;
32614                }
32615             }
32616             description { state: "disabled" 0.0;
32617                inherit:  "default" 0.0;
32618                visible: 0;
32619             }
32620          }
32621          part { name: "over3";
32622             mouse_events: 1;
32623             repeat_events: 1;
32624             description { state: "default" 0.0;
32625                color: 255 255 255 0;
32626             rel1.to: "elm.bar";
32627             rel2.to: "elm.bar";
32628                image {
32629                   normal: "bt_glow.png";
32630                   border: 12 12 12 12;
32631                }
32632                fill.smooth : 0;
32633             }
32634             description { state: "clicked" 0.0;
32635                inherit:  "default" 0.0;
32636                visible: 1;
32637                color: 255 255 255 255;
32638             }
32639          }
32640
32641          //Arrow
32642          part {
32643             name: "arrow_right";
32644             repeat_events: 1;
32645             description { state: "default" 0.0;
32646                 min: 45 45;
32647                 max: 45 45;
32648                 color: 255 255 255 0;
32649
32650                 rel1.relative: 1.0 0.5;
32651                 rel1.to_x: "elm.bar";
32652                 rel1.offset: 45/2 -45/2;
32653
32654                 rel2.relative: 1.0 0.5;
32655                 rel2.to_x: "elm.bar";
32656                 rel2.offset: 45/2 45/2;
32657
32658                 image.normal: "arrow_right.png";
32659
32660                 fixed: 1 1;
32661             }
32662             description { state: "default" 0.1;
32663                 inherit: "default" 0.0;
32664                 image.normal: "arrow_left.png";
32665             }
32666             description { state: "anim_1" 0.0;
32667                 inherit: "default" 0.0;
32668                 color: 255 255 255 200;
32669                 rel1.offset: (45/2 + 10) -45/2;
32670                 rel2.offset: (45/2 +10) 45/2;
32671             }
32672             description { state: "anim_1" 0.1;
32673                 inherit: "default" 0.0;
32674                 image.normal: "arrow_left.png";
32675                 color: 255 255 255 200;
32676                 rel1.offset: (45/2 + 10) -45/2;
32677                 rel2.offset: (45/2 +10) 45/2;
32678             }
32679             description { state: "anim_2" 0.0;
32680                 inherit: "default" 0.0;
32681                 color: 255 255 255 0;
32682                 rel1.offset: (45/2 + 20) -45/2;
32683                 rel2.offset: (45/2 + 20) 45/2;
32684             }
32685             description { state: "anim_2" 0.1;
32686                 inherit: "default" 0.0;
32687                 image.normal: "arrow_left.png";
32688                 color: 255 255 255 0;
32689                 rel1.offset: (45/2 + 20) -45/2;
32690                 rel2.offset: (45/2 + 20) 45/2;
32691             }
32692          }
32693         part {
32694             name: "arrow_left";
32695             repeat_events: 1;
32696             description { state: "default" 0.0;
32697                 min: 45 45;
32698                 max: 45 45;
32699                 color: 255 255 255 0;
32700
32701                 rel1.relative: 0.0 0.5;
32702                 rel1.to_x: "elm.bar";
32703                 rel1.offset: -45/2 -45/2;
32704
32705                 rel2.relative: 0.0 0.5;
32706                 rel2.to_x: "elm.bar";
32707                 rel2.offset: -45/2 45/2;
32708
32709                 image.normal: "arrow_left.png";
32710
32711                 fixed: 1 1;
32712             }
32713             description { state: "default" 0.1;
32714                 inherit: "default" 0.0;
32715                 image.normal: "arrow_right.png";
32716             }
32717             description { state: "anim_1" 0.0;
32718                 inherit: "default" 0.0;
32719                 color: 255 255 255 200;
32720                 rel1.offset: (-45/2 - 10) -45/2;
32721                 rel2.offset: (-45/2 - 10) 45/2;
32722             }
32723             description { state: "anim_1" 0.1;
32724                 inherit: "default" 0.0;
32725                 image.normal: "arrow_right.png";
32726                 color: 255 255 255 200;
32727                 rel1.offset: (-45/2 - 10) -45/2;
32728                 rel2.offset: (-45/2 - 10) 45/2;
32729             }
32730             description { state: "anim_2" 0.0;
32731                 inherit: "default" 0.0;
32732                 color: 255 255 255 0;
32733                 rel1.offset: (-45/2 - 20) -45/2;
32734                 rel2.offset: (-45/2 - 20) 45/2;
32735             }
32736             description { state: "anim_2" 0.1;
32737                 inherit: "default" 0.0;
32738                 image.normal: "arrow_right.png";
32739                 color: 255 255 255 0;
32740                 rel1.offset: (-45/2 - 20) -45/2;
32741                 rel2.offset: (-45/2 - 20) 45/2;
32742             }
32743          }
32744
32745        }
32746         programs {
32747          program {
32748             name:   "button_click";
32749             signal: "mouse,down,1";
32750             source: "over2";
32751             action: SIGNAL_EMIT "elm,action,press" "";
32752             after: "button_click_anim";
32753             after: "arrow_anim_start";
32754          }
32755          program {
32756             name:   "button_click_anim";
32757             action: STATE_SET "clicked" 0.0;
32758             target: "elm.bar";
32759          }
32760          program {
32761             name:   "button_unclick";
32762             signal: "mouse,up,1";
32763             source: "over2";
32764             action: SIGNAL_EMIT "elm,action,unpress" "";
32765             after: "button_unclick_anim";
32766             after: "arrow_anim_stop";
32767          }
32768          program {
32769             name:   "button_unclick_anim";
32770             action: STATE_SET "default" 0.0;
32771             target: "elm.bar";
32772          }
32773          program {
32774             name:   "button_click2";
32775             signal: "mouse,down,1";
32776             source: "over3";
32777             action: STATE_SET "clicked" 0.0;
32778             target: "over3";
32779          }
32780          program {
32781             name:   "button_unclick2";
32782             signal: "mouse,up,1";
32783             source: "over3";
32784             action: STATE_SET "default" 0.0;
32785             transition: DECELERATE 0.5;
32786             target: "over3";
32787          }
32788          program {
32789             name:   "button_unclick3";
32790             signal: "mouse,up,1";
32791             source: "over2";
32792             action: SIGNAL_EMIT "elm,action,click" "";
32793          }
32794          program {
32795             name:   "button_down_double";
32796             signal: "mouse,down,1,double";
32797             source: "over3";
32798             action: SIGNAL_EMIT "elm,action,click,double" "";
32799          }
32800
32801          //arrows animation
32802          program {
32803             name: "arrow_anim_start";
32804             script {
32805                new st[31];
32806                new Float:vl;
32807                get_state(PART:"arrow_left", st, 30, vl);
32808                if (vl == 0.0) {
32809                   run_program(PROGRAM:"arrow_anim_start_ltr");
32810                }
32811                else {
32812                   run_program(PROGRAM:"arrow_anim_start_rtl");
32813                }
32814             }
32815          }
32816          program {
32817             name: "arrow_anim_stop";
32818             script {
32819                new st[31];
32820                new Float:vl;
32821                get_state(PART:"arrow_left", st, 30, vl);
32822                if (vl == 0.0) {
32823                   run_program(PROGRAM:"arrow_anim_stop_ltr");
32824                }
32825                else {
32826                   run_program(PROGRAM:"arrow_anim_stop_rtl");
32827                }
32828             }
32829          }
32830
32831          program {
32832             name: "arrow_anim_start_ltr";
32833             action: STATE_SET "anim_1" 0.0;
32834             target: "arrow_right";
32835             target: "arrow_left";
32836             transition: LINEAR 0.6;
32837             after: "arrow_anim_1_ltr";
32838          }
32839          program {
32840             name: "arrow_anim_1_ltr";
32841             action: STATE_SET "anim_2" 0.0;
32842             target: "arrow_right";
32843             target: "arrow_left";
32844             transition: LINEAR 0.6;
32845             after: "arrow_anim_2_ltr";
32846          }
32847          program {
32848             name: "arrow_anim_2_ltr";
32849             action: STATE_SET "default" 0.0;
32850             target: "arrow_right";
32851             target: "arrow_left";
32852             after: "arrow_anim_start_ltr";
32853          }
32854          program {
32855             name: "arrow_anim_stop_ltr";
32856             action: ACTION_STOP;
32857             target: "arrow_anim_start_ltr";
32858             target: "arrow_anim_1_ltr";
32859             target: "arrow_anim_2_ltr";
32860             after: "arrow_anim_stop_1_ltr";
32861          }
32862          program {
32863             name: "arrow_anim_stop_1_ltr";
32864             action: STATE_SET "default" 0.0;
32865             target: "arrow_right";
32866             target: "arrow_left";
32867             transition: DECELERATE 0.4;
32868         }
32869          program {
32870             name: "arrow_anim_start_rtl";
32871             action: STATE_SET "anim_1" 0.1;
32872             target: "arrow_right";
32873             target: "arrow_left";
32874             transition: LINEAR 0.6;
32875             after: "arrow_anim_1_rtl";
32876          }
32877          program {
32878             name: "arrow_anim_1_rtl";
32879             action: STATE_SET "anim_2" 0.1;
32880             target: "arrow_right";
32881             target: "arrow_left";
32882             transition: LINEAR 0.6;
32883             after: "arrow_anim_2_rtl";
32884          }
32885          program {
32886             name: "arrow_anim_2_rtl";
32887             action: STATE_SET "default" 0.1;
32888             target: "arrow_right";
32889             target: "arrow_left";
32890             after: "arrow_anim_start_rtl";
32891          }
32892          program {
32893             name: "arrow_anim_stop_rtl";
32894             action: ACTION_STOP;
32895             target: "arrow_anim_start_rtl";
32896             target: "arrow_anim_1_rtl";
32897             target: "arrow_anim_2_rtl";
32898             after: "arrow_anim_stop_1_rtl";
32899          }
32900          program {
32901             name: "arrow_anim_stop_1_rtl";
32902             action: STATE_SET "default" 0.1;
32903             target: "arrow_right";
32904             target: "arrow_left";
32905             transition: DECELERATE 0.4;
32906         }
32907          program { name: "to_rtl";
32908             signal: "edje,state,rtl";
32909             source: "edje";
32910             script {
32911                new st[31];
32912                new Float:vl;
32913                get_state(PART:"arrow_left", st, 30, vl);
32914                if (vl == 0.0) {
32915                   set_state(PART:"arrow_left", st, 0.1);
32916                }
32917                get_state(PART:"arrow_right", st, 30, vl);
32918                if (vl == 0.0) {
32919                   set_state(PART:"arrow_right", st, 0.1);
32920                }
32921             }
32922          }
32923          program { name: "to_ltr";
32924             signal: "edje,state,ltr";
32925             source: "edje";
32926             script {
32927                new st[31];
32928                new Float:vl;
32929                get_state(PART:"arrow_left", st, 30, vl);
32930                if (vl == 0.1) {
32931                   set_state(PART:"arrow_left", st, 0.0);
32932                }
32933                get_state(PART:"arrow_right", st, 30, vl);
32934                if (vl == 0.1) {
32935                   set_state(PART:"arrow_right", st, 0.0);
32936                }
32937             }
32938          }
32939       }
32940   }
32941
32942   group {
32943      name: "elm/panes/horizontal/default";
32944       images {
32945          image: "bt_base1.png" COMP;
32946          image: "bt_base2.png" COMP;
32947          image: "bt_hilight.png" COMP;
32948          image: "bt_shine.png" COMP;
32949          image: "bt_glow.png" COMP;
32950          image: "bt_dis_base.png" COMP;
32951          image: "bt_dis_hilight.png" COMP;
32952          image: "arrow_up.png" COMP;
32953          image: "arrow_down.png" COMP;
32954       }
32955      parts
32956        {
32957           part
32958             {
32959                name: "whole";
32960                type: RECT;
32961                mouse_events: 0;
32962                description
32963                  {
32964                     state: "default" 0.0;
32965                     visible: 0;
32966                  }
32967             }
32968
32969          //2 contents
32970           part
32971             {
32972                name: "whole_left";
32973                type: RECT;
32974                mouse_events: 0;
32975                description
32976                  {
32977                     state: "default" 0.0;
32978                     rel2.to_y: "elm.bar";
32979                     rel2.relative: 1.0 0.0;
32980                     visible: 1;
32981                  }
32982             }
32983           part
32984             {
32985                name: "elm.swallow.left";
32986                type: SWALLOW;
32987                clip_to: "whole_left";
32988                description
32989                  {
32990                     state: "default" 0.0;
32991                     rel1.to: "whole_left";
32992                     rel2.to: "whole_left";
32993                  }
32994             }
32995
32996             part
32997             {
32998                name: "whole_right";
32999                type: RECT;
33000                mouse_events: 0;
33001                description
33002                  {
33003                     state: "default" 0.0;
33004                     rel1.to_y: "elm.bar";
33005                     rel1.relative: 0.0 1.0;
33006                     visible: 1;
33007                  }
33008             }
33009           part
33010             {
33011                name: "elm.swallow.right";
33012                type: SWALLOW;
33013                clip_to: "whole_right";
33014                description
33015                  {
33016                     state: "default" 0.0;
33017                     rel1.to: "whole_right";
33018                     rel2.to: "whole_right";
33019                  }
33020             }
33021          //BAR
33022          part { name: "elm.bar";
33023             mouse_events: 1;
33024             dragable {
33025                confine: "whole";
33026                x: 0 0 0;
33027                y: 1 1 1;
33028             }
33029             description { state: "default" 0.0;
33030                max: 999 15;
33031                min: 100 15;
33032                rel1.relative: 0.5 0.0;
33033                rel2.relative: 0.5 1.0;
33034                image {
33035                   normal: "bt_base2.png";
33036                   border: 7 7 7 7;
33037                }
33038                image.middle: SOLID;
33039             }
33040             description { state: "clicked" 0.0;
33041                inherit: "default" 0.0;
33042                image.normal: "bt_base1.png";
33043                image.middle: SOLID;
33044             }
33045             description { state: "disabled" 0.0;
33046                inherit:  "default" 0.0;
33047                image {
33048                   normal: "bt_dis_base.png";
33049                   border: 4 4 4 4;
33050                }
33051             }
33052          }
33053          part {          name: "over1";
33054             mouse_events: 0;
33055             description { state: "default" 0.0;
33056             rel1.to: "elm.bar";
33057             rel2.to: "elm.bar";
33058                rel2.relative: 1.0 0.5;
33059                image {
33060                   normal: "bt_hilight.png";
33061                   border: 7 7 7 0;
33062                }
33063             }
33064             description { state: "disabled" 0.0;
33065                inherit:  "default" 0.0;
33066                image {
33067                   normal: "bt_dis_hilight.png";
33068                   border: 4 4 4 0;
33069                }
33070             }
33071          }
33072          part { name: "over2";
33073             mouse_events: 1;
33074             repeat_events: 1;
33075             ignore_flags: ON_HOLD;
33076             description { state: "default" 0.0;
33077             rel1.to: "elm.bar";
33078             rel2.to: "elm.bar";
33079                image {
33080                   normal: "bt_shine.png";
33081                   border: 7 7 7 7;
33082                }
33083             }
33084             description { state: "disabled" 0.0;
33085                inherit:  "default" 0.0;
33086                visible: 0;
33087             }
33088          }
33089          part { name: "over3";
33090             mouse_events: 1;
33091             repeat_events: 1;
33092             description { state: "default" 0.0;
33093                color: 255 255 255 0;
33094             rel1.to: "elm.bar";
33095             rel2.to: "elm.bar";
33096                image {
33097                   normal: "bt_glow.png";
33098                   border: 12 12 12 12;
33099                }
33100                fill.smooth : 0;
33101             }
33102             description { state: "clicked" 0.0;
33103                inherit:  "default" 0.0;
33104                visible: 1;
33105                color: 255 255 255 255;
33106             }
33107          }
33108
33109          //Arrow
33110          part {
33111             name: "arrow_right";
33112             repeat_events: 1;
33113             description { state: "default" 0.0;
33114                 min: 45 45;
33115                 max: 45 45;
33116                 color: 255 255 255 0;
33117
33118                 rel1.relative: 0.5 1.0;
33119                 rel1.to_y: "elm.bar";
33120                 rel1.offset: -45/2 45/2;
33121
33122                 rel2.relative: 0.5 1.0;
33123                 rel2.to_y: "elm.bar";
33124                 rel2.offset: 45/2 45/2;
33125
33126                 image.normal: "arrow_down.png";
33127
33128                 fixed: 1 1;
33129             }
33130             description { state: "anim_1" 0.0;
33131                 inherit: "default" 0.0;
33132                 color: 255 255 255 200;
33133                 rel1.offset: -45/2 (45/2 +10);
33134                 rel2.offset: 45/2 (45/2 +10);
33135             }
33136             description { state: "anim_2" 0.0;
33137                 inherit: "default" 0.0;
33138                 color: 255 255 255 0;
33139                 rel1.offset: -45/2 (45/2 + 20);
33140                 rel2.offset: 45/2 (45/2 + 20);
33141             }
33142          }
33143         part {
33144             name: "arrow_left";
33145             repeat_events: 1;
33146             description { state: "default" 0.0;
33147                 min: 45 45;
33148                 max: 45 45;
33149                 color: 255 255 255 0;
33150
33151                 rel1.relative: 0.5 0.0;
33152                 rel1.to_y: "elm.bar";
33153                 rel1.offset: -45/2 -45/2;
33154
33155                 rel2.relative: 0.5 0.0;
33156                 rel2.to_y: "elm.bar";
33157                 rel2.offset: 45/2 -45/2;
33158
33159                 image.normal: "arrow_up.png";
33160
33161                 fixed: 1 1;
33162             }
33163             description { state: "anim_1" 0.0;
33164                 inherit: "default" 0.0;
33165                 color: 255 255 255 200;
33166                 rel1.offset: -45/2 (-45/2 - 10);
33167                 rel2.offset: 45/2 (-45/2 - 10);
33168             }
33169             description { state: "anim_2" 0.0;
33170                 inherit: "default" 0.0;
33171                 color: 255 255 255 0;
33172                 rel1.offset: -45/2 (-45/2 - 20);
33173                 rel2.offset: 45/2 (-45/2 - 20);
33174             }
33175          }
33176
33177        }
33178         programs {
33179          program {
33180             name:   "button_click";
33181             signal: "mouse,down,1";
33182             source: "over2";
33183             action: SIGNAL_EMIT "elm,action,press" "";
33184             after: "button_click_anim";
33185             after: "arrow_anim_start";
33186          }
33187          program {
33188             name:   "button_click_anim";
33189             action: STATE_SET "clicked" 0.0;
33190             target: "elm.bar";
33191          }
33192          program {
33193             name:   "button_unclick";
33194             signal: "mouse,up,1";
33195             source: "over2";
33196             action: SIGNAL_EMIT "elm,action,unpress" "";
33197             after: "button_unclick_anim";
33198             after: "arrow_anim_stop";
33199          }
33200          program {
33201             name:   "button_unclick_anim";
33202             action: STATE_SET "default" 0.0;
33203             target: "elm.bar";
33204          }
33205          program {
33206             name:   "button_click2";
33207             signal: "mouse,down,1";
33208             source: "over3";
33209             action: STATE_SET "clicked" 0.0;
33210             target: "over3";
33211          }
33212          program {
33213             name:   "button_unclick2";
33214             signal: "mouse,up,1";
33215             source: "over3";
33216             action: STATE_SET "default" 0.0;
33217             transition: DECELERATE 0.5;
33218             target: "over3";
33219          }
33220          program {
33221             name:   "button_unclick3";
33222             signal: "mouse,up,1";
33223             source: "over2";
33224             action: SIGNAL_EMIT "elm,action,click" "";
33225          }
33226          program {
33227             name:   "button_down_double";
33228             signal: "mouse,down,1,double";
33229             source: "over3";
33230             action: SIGNAL_EMIT "elm,action,click,double" "";
33231          }
33232
33233          //arrows animation
33234          program {
33235             name: "arrow_anim_start";
33236             action: STATE_SET "anim_1" 0.0;
33237             target: "arrow_right";
33238             target: "arrow_left";
33239             transition: LINEAR 0.6;
33240             after: "arrow_anim_1";
33241          }
33242          program {
33243             name: "arrow_anim_1";
33244             action: STATE_SET "anim_2" 0.0;
33245             target: "arrow_right";
33246             target: "arrow_left";
33247             transition: LINEAR 0.6;
33248             after: "arrow_anim_2";
33249          }
33250          program {
33251             name: "arrow_anim_2";
33252             action: STATE_SET "default" 0.0;
33253             target: "arrow_right";
33254             target: "arrow_left";
33255             after: "arrow_anim_start";
33256          }
33257          program {
33258             name: "arrow_anim_stop";
33259             action: ACTION_STOP;
33260             target: "arrow_anim_start";
33261             target: "arrow_anim_1";
33262             target: "arrow_anim_2";
33263             after: "arrow_anim_stop_1";
33264          }
33265          program {
33266             name: "arrow_anim_stop_1";
33267             action: STATE_SET "default" 0.0;
33268             target: "arrow_right";
33269             target: "arrow_left";
33270             transition: DECELERATE 0.4;
33271         }
33272       }
33273   }
33274
33275
33276
33277 /////////////////////////////////////////////////////////////////////////////
33278 // PANEL
33279 /////////////////////////////////////////////////////////////////////////////
33280   group {
33281      name: "elm/panel/base/left";
33282      alias: "elm/panel/base/top";
33283      images
33284        {
33285           image: "bt_base1.png" COMP;
33286           image: "bt_hilight.png" COMP;
33287           image: "bt_shine.png" COMP;
33288           image: "bt_glow.png" COMP;
33289           image: "bt_dis_base.png" COMP;
33290           image: "icon_arrow_left.png" COMP;
33291           image: "icon_arrow_right.png" COMP;
33292        }
33293        data {
33294           item: "focus_highlight" "on";
33295        }
33296      parts
33297        {
33298             part { name: "focus_highlight";
33299                description { state: "default" 0.0;
33300                   visible: 0;
33301                   color: 255 255 255 0;
33302                   rel1 {
33303                      to: "btn";
33304                      offset: -8 -8;
33305                   }
33306                   rel2 {
33307                      to: "btn";
33308                      offset: 7 7;
33309                   }
33310                   image {
33311                      normal: "frame_2.png";
33312                      border: 5 5 32 26;
33313                      middle: 0;
33314                   }
33315                }
33316                description { state: "enabled" 0.0;
33317                   inherit: "default" 0.0;
33318                   visible: 1;
33319                   color: 255 255 255 255;
33320                }
33321             }
33322           part
33323             {
33324                name: "bg";
33325                type: RECT;
33326                mouse_events: 0;
33327                description
33328                  {
33329                     state: "default" 0.0;
33330                     color: 255 255 255 0;
33331                     rel1.relative: 0.0 0.0;
33332                     rel1.offset: 0 0;
33333                     rel2.relative: 1.0 1.0;
33334                     rel2.offset: -1 -1;
33335                  }
33336                description
33337                  {
33338                     state: "hidden" 0.0;
33339                     inherit: "default" 0.0;
33340                     rel1.relative: -1.0 0.0;
33341                     rel1.offset: 21 0;
33342                     rel2.relative: 0.0 1.0;
33343                     rel2.offset: 20 -1;
33344                  }
33345             }
33346           part
33347             {
33348                name: "base";
33349                type: IMAGE;
33350                mouse_events: 0;
33351                description
33352                  {
33353                     state: "default" 0.0;
33354                     rel1.to: "bg";
33355                     rel2.to: "bg";
33356                     rel2.offset: -20 -1;
33357                     image
33358                       {
33359                          normal: "bt_dis_base.png";
33360                          border: 4 4 4 4;
33361                       }
33362                  }
33363             }
33364           part
33365             {
33366                name: "clipper";
33367                type: RECT;
33368                mouse_events: 0;
33369                description
33370                  {
33371                     state: "default" 0.0;
33372                     rel1
33373                       {
33374                          offset: 4 4;
33375                          to: "base";
33376                       }
33377                     rel2
33378                       {
33379                          offset: -5 -5;
33380                          to: "base";
33381                       }
33382                  }
33383             }
33384           part
33385             {
33386                name: "elm.swallow.content";
33387                type: SWALLOW;
33388                clip_to: "clipper";
33389                description
33390                  {
33391                     state: "default" 0.0;
33392                     rel1.to: "clipper";
33393                     rel2.to: "clipper";
33394                  }
33395             }
33396           part
33397             {
33398                name: "btn";
33399                type: IMAGE;
33400                mouse_events: 1;
33401                description
33402                  {
33403                     state: "default" 0.0;
33404                     max: 32 48;
33405                     fixed: 1 1;
33406                     align: 0.0 0.5;
33407                     rel1
33408                       {
33409                          relative: 1.0 0.0;
33410                          offset: -3 0;
33411                          to_x: "base";
33412                       }
33413                     rel2.to_x: "bg";
33414                     image
33415                       {
33416                          normal: "bt_base1.png";
33417                          border: 0 5 4 12;
33418                       }
33419                     fill.smooth: 0;
33420                  }
33421                description
33422                  {
33423                     state: "clicked" 0.0;
33424                     inherit: "default" 0.0;
33425                  }
33426             }
33427           part
33428             {
33429                name: "btn_over";
33430                type: IMAGE;
33431                mouse_events: 0;
33432                description
33433                  {
33434                     state: "default" 0.0;
33435                     rel1.to: "btn";
33436                     rel2
33437                       {
33438                          relative: 1.0 0.5;
33439                          to: "btn";
33440                       }
33441                     image
33442                       {
33443                          normal: "bt_hilight.png";
33444                          border: 0 7 7 0;
33445                       }
33446                  }
33447             }
33448           part
33449             {
33450                name: "btn_over2";
33451                type: IMAGE;
33452                mouse_events: 1;
33453                repeat_events: 1;
33454                ignore_flags: ON_HOLD;
33455                description
33456                  {
33457                     state: "default" 0.0;
33458                     rel1.to: "btn";
33459                     rel2.to: "btn";
33460                     image
33461                       {
33462                          normal: "bt_shine.png";
33463                          border: 0 7 7 7;
33464                     }
33465                  }
33466             }
33467           part
33468             {
33469                name: "btn_over3";
33470                type: IMAGE;
33471                mouse_events: 1;
33472                repeat_events: 1;
33473                description
33474                  {
33475                     state: "default" 0.0;
33476                     color: 255 255 255 0;
33477                     rel1.to: "btn";
33478                     rel2.to: "btn";
33479                     image
33480                       {
33481                        normal: "bt_glow.png";
33482                        border: 12 12 12 12;
33483                     }
33484                   fill.smooth: 0;
33485                }
33486              description
33487                {
33488                   state: "clicked" 0.0;
33489                   inherit: "default" 0.0;
33490                   visible: 1;
33491                   color: 255 255 255 255;
33492                }
33493             }
33494           part
33495             {
33496                name: "btn_icon";
33497                type: IMAGE;
33498                repeat_events: 1;
33499                description
33500                  {
33501                     state: "default" 0.0;
33502                     rel1.to: "btn";
33503                     rel2.to: "btn";
33504                     align: 0.5 0.5;
33505                     min: 16 16;
33506                     max: 16 16;
33507                     image.normal: "icon_arrow_left.png";
33508                  }
33509                description
33510                  {
33511                     state: "hidden" 0.0;
33512                     inherit: "default" 0.0;
33513                     image.normal: "icon_arrow_right.png";
33514                  }
33515             }
33516        }
33517      programs
33518        {
33519           program
33520             {
33521                name: "show";
33522                signal: "elm,action,show";
33523                source: "elm";
33524                action: STATE_SET "default" 0.0;
33525                target: "bg";
33526                target: "btn_icon";
33527                transition: LINEAR 0.5;
33528             }
33529           program
33530             {
33531                name: "hide";
33532                signal: "elm,action,hide";
33533                source: "elm";
33534                action: STATE_SET "hidden" 0.0;
33535                target: "bg";
33536                target: "btn_icon";
33537                transition: LINEAR 0.5;
33538             }
33539           program
33540             {
33541                name: "btn_click";
33542                signal: "mouse,down,1";
33543                source: "btn_over2";
33544                action: STATE_SET "clicked" 0.0;
33545                target: "btn";
33546             }
33547           program
33548             {
33549                name: "btn_unclick";
33550                signal: "mouse,up,1";
33551                source: "btn_over2";
33552                action: STATE_SET "default" 0.0;
33553                target: "btn";
33554             }
33555           program
33556             {
33557                name: "btn_click2";
33558                signal: "mouse,down,1";
33559                source: "btn_over3";
33560                action: STATE_SET "clicked" 0.0;
33561                target: "btn_over3";
33562             }
33563           program
33564             {
33565                name: "btn_unclick2";
33566                signal: "mouse,up,1";
33567                source: "btn_over3";
33568                action: STATE_SET "default" 0.0;
33569                transition: DECELERATE 0.5;
33570                target: "btn_over3";
33571             }
33572           program
33573             {
33574                name: "btn_unclick3";
33575                signal: "mouse,clicked,1";
33576                source: "btn_over2";
33577                action: SIGNAL_EMIT "elm,action,panel,toggle" "";
33578             }
33579          program { name: "highlight_show";
33580             signal: "elm,action,focus_highlight,show";
33581             source: "elm";
33582             action: STATE_SET "enabled" 0.0;
33583             transition: ACCELERATE 0.3;
33584             target: "focus_highlight";
33585          }
33586          program { name: "highlight_hide";
33587             signal: "elm,action,focus_highlight,hide";
33588             source: "elm";
33589             action: STATE_SET "default" 0.0;
33590             transition: DECELERATE 0.3;
33591             target: "focus_highlight";
33592          }
33593        }
33594   }
33595
33596   group {
33597      name: "elm/panel/base/right";
33598      alias: "elm/panel/base/bottom";
33599      images
33600        {
33601           image: "bt_base1.png" COMP;
33602           image: "bt_hilight.png" COMP;
33603           image: "bt_shine.png" COMP;
33604           image: "bt_glow.png" COMP;
33605           image: "bt_dis_base.png" COMP;
33606           image: "icon_arrow_left.png" COMP;
33607           image: "icon_arrow_right.png" COMP;
33608        }
33609      parts
33610        {
33611             part { name: "focus_highlight";
33612                description { state: "default" 0.0;
33613                   visible: 0;
33614                   color: 255 255 255 0;
33615                   rel1 {
33616                      to: "btn";
33617                      offset: -8 -8;
33618                   }
33619                   rel2 {
33620                      to: "btn";
33621                      offset: 7 7;
33622                   }
33623                   image {
33624                      normal: "frame_2.png";
33625                      border: 5 5 32 26;
33626                      middle: 0;
33627                   }
33628                }
33629                description { state: "enabled" 0.0;
33630                   inherit: "default" 0.0;
33631                   visible: 1;
33632                   color: 255 255 255 255;
33633                }
33634             }
33635           part
33636             {
33637                name: "bg";
33638                type: RECT;
33639                mouse_events: 0;
33640                description
33641                  {
33642                     state: "default" 0.0;
33643                     color: 255 255 255 0;
33644                     rel1.relative: 0.0 0.0;
33645                     rel1.offset: 0 0;
33646                     rel2.relative: 1.0 1.0;
33647                     rel2.offset: -1 -1;
33648                  }
33649                description
33650                  {
33651                     state: "hidden" 0.0;
33652                     inherit: "default" 0.0;
33653                     rel1.relative: 1.0 0.0;
33654                     rel1.offset: -22 0;
33655                     rel2.relative: 2.0 1.0;
33656                     rel2.offset: -23 -1;
33657                  }
33658             }
33659           part
33660             {
33661                name: "base";
33662                type: IMAGE;
33663                mouse_events: 0;
33664                description
33665                  {
33666                     state: "default" 0.0;
33667                     rel1.to: "bg";
33668                     rel1.offset: 20 0;
33669                     rel2.to: "bg";
33670                     image
33671                       {
33672                          normal: "bt_dis_base.png";
33673                          border: 4 4 4 4;
33674                       }
33675                  }
33676             }
33677           part
33678             {
33679                name: "clipper";
33680                type: RECT;
33681                mouse_events: 0;
33682                description
33683                  {
33684                     state: "default" 0.0;
33685                     rel1
33686                       {
33687                          offset: 4 4;
33688                          to: "base";
33689                       }
33690                     rel2
33691                       {
33692                          offset: -5 -5;
33693                          to: "base";
33694                       }
33695                  }
33696             }
33697           part
33698             {
33699                name: "elm.swallow.content";
33700                type: SWALLOW;
33701                clip_to: "clipper";
33702                description
33703                  {
33704                     state: "default" 0.0;
33705                     rel1.to: "clipper";
33706                     rel2.to: "clipper";
33707                  }
33708             }
33709           part
33710             {
33711                name: "btn";
33712                type: IMAGE;
33713                mouse_events: 1;
33714                description
33715                  {
33716                     state: "default" 0.0;
33717                     max: 32 48;
33718                     fixed: 1 1;
33719                     align: 1 0.5;
33720                     rel1
33721                       {
33722                          to_x: "bg";
33723                       }
33724                     rel2
33725                       {
33726                          offset: 2 0;
33727                          relative: 0.0 1;
33728                          to_x: "base";
33729                       }
33730                     image
33731                       {
33732                          normal: "bt_base1.png";
33733                          border: 5 0 4 12;
33734                       }
33735                     fill.smooth: 0;
33736                  }
33737                description
33738                  {
33739                     state: "clicked" 0.0;
33740                     inherit: "default" 0.0;
33741                  }
33742             }
33743           part
33744             {
33745                name: "btn_over";
33746                type: IMAGE;
33747                mouse_events: 0;
33748                description
33749                  {
33750                     state: "default" 0.0;
33751                     rel1.to: "btn";
33752                     rel2
33753                       {
33754                          relative: 1.0 0.5;
33755                          to: "btn";
33756                       }
33757                     image
33758                       {
33759                          normal: "bt_hilight.png";
33760                          border: 7 0 7 0;
33761                       }
33762                  }
33763             }
33764           part
33765             {
33766                name: "btn_over2";
33767                type: IMAGE;
33768                mouse_events: 1;
33769                repeat_events: 1;
33770                ignore_flags: ON_HOLD;
33771                description
33772                  {
33773                     state: "default" 0.0;
33774                     rel1.to: "btn";
33775                     rel2.to: "btn";
33776                     image
33777                       {
33778                          normal: "bt_shine.png";
33779                          border: 7 0 7 7;
33780                     }
33781                  }
33782             }
33783           part
33784             {
33785                name: "btn_over3";
33786                type: IMAGE;
33787                mouse_events: 1;
33788                repeat_events: 1;
33789                description
33790                  {
33791                     state: "default" 0.0;
33792                     color: 255 255 255 0;
33793                     rel1.to: "btn";
33794                     rel2.to: "btn";
33795                     image
33796                       {
33797                        normal: "bt_glow.png";
33798                        border: 12 12 12 12;
33799                     }
33800                   fill.smooth: 0;
33801                }
33802              description
33803                {
33804                   state: "clicked" 0.0;
33805                   inherit: "default" 0.0;
33806                   visible: 1;
33807                   color: 255 255 255 255;
33808                }
33809             }
33810           part
33811             {
33812                name: "btn_icon";
33813                type: IMAGE;
33814                repeat_events: 1;
33815                description
33816                  {
33817                     state: "default" 0.0;
33818                     rel1.to: "btn";
33819                     rel2.to: "btn";
33820                     align: 0.5 0.5;
33821                     min: 16 16;
33822                     max: 16 16;
33823                     image.normal: "icon_arrow_right.png";
33824                  }
33825                description
33826                  {
33827                     state: "hidden" 0.0;
33828                     inherit: "default" 0.0;
33829                     image.normal: "icon_arrow_left.png";
33830                  }
33831             }
33832        }
33833      programs
33834        {
33835           program
33836             {
33837                name: "show";
33838                signal: "elm,action,show";
33839                source: "elm";
33840                action: STATE_SET "default" 0.0;
33841                target: "bg";
33842                target: "btn_icon";
33843                transition: LINEAR 0.5;
33844             }
33845           program
33846             {
33847                name: "hide";
33848                signal: "elm,action,hide";
33849                source: "elm";
33850                action: STATE_SET "hidden" 0.0;
33851                target: "bg";
33852                target: "btn_icon";
33853                transition: LINEAR 0.5;
33854             }
33855           program
33856             {
33857                name: "btn_click";
33858                signal: "mouse,down,1";
33859                source: "btn_over2";
33860                action: STATE_SET "clicked" 0.0;
33861                target: "btn";
33862             }
33863           program
33864             {
33865                name: "btn_unclick";
33866                signal: "mouse,up,1";
33867                source: "btn_over2";
33868                action: STATE_SET "default" 0.0;
33869                target: "btn";
33870             }
33871           program
33872             {
33873                name: "btn_click2";
33874                signal: "mouse,down,1";
33875                source: "btn_over3";
33876                action: STATE_SET "clicked" 0.0;
33877                target: "btn_over3";
33878             }
33879           program
33880             {
33881                name: "btn_unclick2";
33882                signal: "mouse,up,1";
33883                source: "btn_over3";
33884                action: STATE_SET "default" 0.0;
33885                transition: DECELERATE 0.5;
33886                target: "btn_over3";
33887             }
33888           program
33889             {
33890                name: "btn_unclick3";
33891                signal: "mouse,up,1";
33892                source: "btn_over2";
33893                action: SIGNAL_EMIT "elm,action,panel,toggle" "";
33894             }
33895          program { name: "highlight_show";
33896             signal: "elm,action,focus";
33897             source: "elm";
33898             action: STATE_SET "enabled" 0.0;
33899             transition: ACCELERATE 0.3;
33900             target: "focus_highlight";
33901          }
33902          program { name: "highlight_hide";
33903             signal: "elm,action,unfocus";
33904             source: "elm";
33905             action: STATE_SET "default" 0.0;
33906             transition: DECELERATE 0.3;
33907             target: "focus_highlight";
33908          }
33909        }
33910   }
33911
33912 ///////////////////////////////////////////////////////////////////////////////
33913   group { name: "elm/conformant/base/default";
33914      parts {
33915         part { name: "elm.swallow.shelf";
33916            type: SWALLOW;
33917            description { state: "default" 0.0;
33918               fixed: 1 1;
33919               align: 0.0 0.0;
33920               rel2.relative: 1.0 0.0;
33921            }
33922         }
33923         part { name: "elm.swallow.content";
33924            type: SWALLOW;
33925            description { state: "default" 0.0;
33926               align: 0.5 0.5;
33927               rel1.relative: 0.0 1.0;
33928               rel1.to_y: "elm.swallow.shelf";
33929               rel2.relative: 1.0 0.0;
33930               rel2.to_y: "elm.swallow.panel";
33931            }
33932         }
33933         part { name: "elm.swallow.panel";
33934            type: SWALLOW;
33935            description { state: "default" 0.0;
33936               fixed: 1 1;
33937               align: 0.0 1.0;
33938               rel1.relative: 0.0 1.0;
33939            }
33940         }
33941      }
33942   }
33943
33944 /////////////////////////////////////////////////////////////////////////////
33945 // CALENDAR
33946 /////////////////////////////////////////////////////////////////////////////
33947 #define CH(_pos) \
33948          part { name: "ch_"#_pos".base"; \
33949             type: RECT; \
33950             description { state: "default" 0.0; \
33951                rel1 { \
33952                   relative: (_pos % 7 * 7 / 8 / 6) 0; \
33953                   to: "header"; \
33954                } \
33955                rel2 { \
33956                   relative: (_pos % 7 * 7 / 8 / 6 + 1 / 8) 1; \
33957                   to: "header"; \
33958                } \
33959                color: 0 0 0 0; \
33960                visible: 0; \
33961             } \
33962          } \
33963          part { name: "ch_"#_pos".text"; \
33964             type: TEXT; \
33965             effect: SOFT_SHADOW; \
33966             mouse_events: 0; \
33967             scale: 1; \
33968             clip_to: "ch_"#_pos".clipper"; \
33969             description { \
33970                state: "default" 0.0; \
33971                rel1.to: "ch_"#_pos".base"; \
33972                rel2.to: "ch_"#_pos".base"; \
33973                color: 0 0 0 255; \
33974                color3: 0 0 0 0; \
33975                text { \
33976                   font: "Sans"; \
33977                   size: 10; \
33978                   min: 1 1; \
33979                   align: 0.5 0.5; \
33980                } \
33981             } \
33982          } \
33983          part { name: "ch_"#_pos".clipper"; \
33984             type: RECT; \
33985             description { state: "default" 0.0; \
33986                rel1.to: "ch_"#_pos".base"; \
33987                rel2.to: "ch_"#_pos".base"; \
33988             } \
33989          }
33990
33991 #define CIT(_pos) \
33992          part { name: "cit_"#_pos".rect"; \
33993             type: RECT; \
33994             description { state: "default" 0.0; \
33995                rel1 { \
33996                   relative: (_pos % 7 * 7 / 8 / 6) \
33997                             (_pos / 8 / 5 - _pos % 7 / 8 / 5); \
33998                   to: "base"; \
33999                } \
34000                rel2 { \
34001                   relative: (_pos % 7 * 7 / 8 / 6 + 1 / 8) \
34002                             (_pos / 8 / 5 - _pos % 7 / 8 / 5 + 1 / 8); \
34003                   to: "base"; \
34004                } \
34005                color: 0 0 0 0; \
34006                visible: 0; \
34007             } \
34008          } \
34009          part { \
34010             name: "cit_"#_pos".event"; \
34011             type: RECT; \
34012             repeat_events: 1; \
34013             description { \
34014                rel1.to: "cit_"#_pos".rect"; \
34015                rel2.to: "cit_"#_pos".rect"; \
34016                state: "default" 0.0; \
34017                color: 0 0 0 0; \
34018             } \
34019          } \
34020          part { name: "cit_"#_pos".shelf"; \
34021             type: RECT; \
34022             mouse_events: 0; \
34023             description { state: "default" 0.0; \
34024                rel1 { \
34025                   to: "cit_"#_pos".bg"; \
34026                   offset: -1 -1; \
34027                } \
34028                rel2 { \
34029                   to: "cit_"#_pos".bg"; \
34030                } \
34031                color: 200 200 200 255; \
34032             } \
34033          } \
34034          part { name: "cit_"#_pos".hd"; \
34035             type: RECT; \
34036             mouse_events: 0; \
34037             description { state: "default" 0.0; \
34038                rel1 { \
34039                   to: "cit_"#_pos".bg"; \
34040                   offset: -1 -1; \
34041                } \
34042                rel2 { \
34043                   to: "cit_"#_pos".bg"; \
34044                } \
34045                visible: 0; \
34046                color: 160 0 0 255; \
34047             } \
34048             description { state: "visible" 0.0; \
34049                inherit: "default" 0.0; \
34050                visible: 1; \
34051             } \
34052          } \
34053          part { \
34054             name: "cit_"#_pos".base_sh"; \
34055             mouse_events: 0; \
34056             description { \
34057                state: "default" 0.0; \
34058                align: 0.0 0.0; \
34059                min: 0 1; \
34060                rel1 { \
34061                   to: "cit_"#_pos".base"; \
34062                   relative: 0.0 1.0; \
34063                   offset: 0 0; \
34064                } \
34065                rel2 { \
34066                   to: "cit_"#_pos".base"; \
34067                   relative: 1.0 1.05; \
34068                   offset: -1 0; \
34069                } \
34070                image { \
34071                   normal: "ilist_item_shadow.png"; \
34072                } \
34073                fill.smooth: 0; \
34074             } \
34075          } \
34076          part { \
34077             name: "cit_"#_pos".base"; \
34078             mouse_events: 0; \
34079             description { \
34080                state: "default" 0.0; \
34081                rel1.to: "cit_"#_pos".rect"; \
34082                rel2.to: "cit_"#_pos".rect"; \
34083                rel2.offset: -1 -1; \
34084                image { \
34085                   normal: "ilist_1.png"; \
34086                   border: 2 2 2 2; \
34087                } \
34088                fill.smooth: 0; \
34089             } \
34090             description { \
34091                state: "today" 0.0; \
34092                inherit: "default" 0.0; \
34093                image.normal: "ilist_2.png"; \
34094                color: 240 240 240 255; \
34095             } \
34096          } \
34097          part { name: "cit_"#_pos".bg"; \
34098             mouse_events: 0; \
34099             description { state: "default" 0.0; \
34100                visible: 0; \
34101                color: 255 255 255 0; \
34102                rel1 { \
34103                   to: "cit_"#_pos".rect"; \
34104                   relative: 0.0 0.0; \
34105                } \
34106                rel2 { \
34107                   to: "cit_"#_pos".rect"; \
34108                   relative: 1.0 1.0; \
34109                   offset: -1 -1; \
34110                } \
34111                image { \
34112                   normal: "bt_sm_base1.png"; \
34113                   border: 6 6 6 6; \
34114                } \
34115                image.middle: SOLID; \
34116             } \
34117             description { state: "selected" 0.0; \
34118                inherit: "default" 0.0; \
34119                visible: 1; \
34120                color: 255 255 255 255; \
34121             } \
34122          } \
34123          part { name: "cit_"#_pos".text"; \
34124             type: TEXT; \
34125             effect: SOFT_SHADOW; \
34126             mouse_events: 0; \
34127             scale: 1; \
34128             description { \
34129                state: "default" 0.0; \
34130                rel1.to: "cit_"#_pos".bg"; \
34131                rel2.to: "cit_"#_pos".bg"; \
34132                color: 0 0 0 255; \
34133                color3: 0 0 0 0; \
34134                text { \
34135                   font: "Sans"; \
34136                   size: 10; \
34137                   min: 1 1; \
34138                   align: 0.5 0.5; \
34139                } \
34140             } \
34141             description { state: "selected" 0.0; \
34142                inherit: "default" 0.0; \
34143                color: 224 224 224 255; \
34144                color3: 0 0 0 64; \
34145             } \
34146          } \
34147          part { name: "cit_"#_pos".fg1"; \
34148             mouse_events: 0; \
34149             description { state: "default" 0.0; \
34150                visible: 0; \
34151                color: 255 255 255 0; \
34152                rel1.to: "cit_"#_pos".bg"; \
34153                rel2.relative: 1.0 0.5; \
34154                rel2.to: "cit_"#_pos".bg"; \
34155                image { \
34156                   normal: "bt_sm_hilight.png"; \
34157                   border: 6 6 6 0; \
34158                } \
34159             } \
34160             description { state: "selected" 0.0; \
34161                inherit: "default" 0.0; \
34162                visible: 1; \
34163                color: 255 255 255 255; \
34164             } \
34165          } \
34166          part { name: "cit_"#_pos".fg2"; \
34167             mouse_events: 0; \
34168             description { state: "default" 0.0; \
34169                visible: 0; \
34170                color: 255 255 255 0; \
34171                rel1.to: "cit_"#_pos".bg"; \
34172                rel2.to: "cit_"#_pos".bg"; \
34173                image { \
34174                   normal: "bt_sm_shine.png"; \
34175                   border: 6 6 6 0; \
34176                } \
34177             } \
34178             description { state: "selected" 0.0; \
34179                inherit: "default" 0.0; \
34180                visible: 1; \
34181                color: 255 255 255 255; \
34182             } \
34183          } \
34184          part { name: "cit_"#_pos".check"; \
34185             mouse_events: 0; \
34186             description { state: "default" 0.0; \
34187                rel1 { \
34188                   to: "cit_"#_pos".bg"; \
34189                   relative: 0.7 0.6; \
34190                   offset: 1 1; \
34191                } \
34192                rel2 { \
34193                   to: "cit_"#_pos".bg"; \
34194                   relative: 1.1 1.2; \
34195                   offset: -2 -2; \
34196                } \
34197                aspect: 1 1; \
34198                visible: 0; \
34199                color: 255 0 0 255; \
34200                image.normal: "check.png"; \
34201             } \
34202             description { state: "visible" 0.0; \
34203                inherit: "default" 0.0; \
34204                visible: 1; \
34205             } \
34206          } \
34207       programs { \
34208          program { \
34209             name:    "cit_"#_pos".go_active"; \
34210             signal:  "cit_"#_pos",selected"; \
34211             source:  "elm"; \
34212             action:  STATE_SET "selected" 0.0; \
34213             target:  "cit_"#_pos".bg"; \
34214             target:  "cit_"#_pos".fg1"; \
34215             target:  "cit_"#_pos".fg2"; \
34216             target:  "cit_"#_pos".text"; \
34217          } \
34218          program { \
34219             name:    "cit_"#_pos".go_passive"; \
34220             signal:  "cit_"#_pos",unselected"; \
34221             source:  "elm"; \
34222             action:  STATE_SET "default" 0.0; \
34223             target:  "cit_"#_pos".bg"; \
34224             target:  "cit_"#_pos".fg1"; \
34225             target:  "cit_"#_pos".fg2"; \
34226             target:  "cit_"#_pos".text"; \
34227          } \
34228          program { \
34229             name:    "cit_"#_pos".is_today"; \
34230             signal:  "cit_"#_pos",today"; \
34231             source:  "elm"; \
34232             action:  STATE_SET "today" 0.0; \
34233             target: "cit_"#_pos".base"; \
34234          } \
34235          program { \
34236             name:    "cit_"#_pos".not_today"; \
34237             signal:  "cit_"#_pos",not_today"; \
34238             source:  "elm"; \
34239             action:  STATE_SET "default" 0.0; \
34240             target: "cit_"#_pos".base"; \
34241          } \
34242          program { \
34243             source: "cit_"#_pos".clicked"; \
34244             signal: "mouse,clicked,1"; \
34245             source: "cit_"#_pos".event"; \
34246             action: SIGNAL_EMIT "elm,action,selected" #_pos; \
34247          } \
34248          program { \
34249             name:    "cit_"#_pos".clear"; \
34250             signal:  "cit_"#_pos",clear"; \
34251             source:  "elm"; \
34252             action:  STATE_SET "default" 0.0; \
34253             target: "cit_"#_pos".check"; \
34254             target: "cit_"#_pos".hd"; \
34255          } \
34256          program { \
34257             name:    "cit_"#_pos".checked"; \
34258             signal:  "cit_"#_pos",checked"; \
34259             source:  "elm"; \
34260             action:  STATE_SET "visible" 0.0; \
34261             target: "cit_"#_pos".check"; \
34262          } \
34263          program { \
34264             name:    "cit_"#_pos".holiday"; \
34265             signal:  "cit_"#_pos",holiday"; \
34266             source:  "elm"; \
34267             action:  STATE_SET "visible" 0.0; \
34268             target: "cit_"#_pos".hd"; \
34269          } \
34270       }
34271
34272    group { name: "elm/calendar/base/default";
34273        images {
34274            image: "shelf_inset.png" COMP;
34275            image: "bt_base1.png" COMP;
34276            image: "bt_hilight.png" COMP;
34277            image: "bt_shine.png" COMP;
34278            image: "bt_glow.png" COMP;
34279            image: "bt_dis_base.png" COMP;
34280            image: "bt_dis_hilight.png" COMP;
34281            image: "sp_bt_l.png" COMP;
34282            image: "sp_bt_r.png" COMP;
34283            image: "bt_sm_base1.png" COMP;
34284            image: "bt_sm_shine.png" COMP;
34285            image: "bt_sm_hilight.png" COMP;
34286            image: "ilist_1.png" COMP;
34287            image: "ilist_2.png" COMP;
34288            image: "ilist_item_shadow.png" COMP;
34289            image: "check.png" COMP;
34290        }
34291        parts {
34292            part { name: "bg";
34293                type: RECT;
34294                description { state: "default" 0.0;
34295                    min: 0 30;
34296                    rel1.offset: 1 1;
34297                    rel2.offset: -2 -2;
34298                    color: 255 255 255 0;
34299                    align: 0.0 0.5;
34300                }
34301            }
34302            part { name: "spinner-base";
34303                type: RECT;
34304                mouse_events: 0;
34305                description { state: "default" 0.0;
34306                    min: 24 24;
34307                    max: 999999 24;
34308                    rel1.to: "bg";
34309                    rel1.offset: 6 6;
34310                    rel2.to: "bg";
34311                    rel2.offset: -7 -7;
34312                    color: 255 255 255 0;
34313                    align: 0.0 0.0;
34314                }
34315            }
34316            part { name: "conf_over_spinner";
34317                mouse_events:  0;
34318                description { state: "default" 0.0;
34319                    rel1.to: "spinner-base";
34320                    rel1.offset: -3 -3;
34321                    rel2.to: "spinner-base";
34322                    rel2.offset: 2 2;
34323                    image {
34324                        normal: "shelf_inset.png";
34325                        border: 7 7 7 7;
34326                        middle: 0;
34327                    }
34328                    fill.smooth : 0;
34329                }
34330            }
34331            part { name: "table-base";
34332                type: RECT;
34333                mouse_events: 0;
34334                description { state: "default" 0.0;
34335                    min: 256 220;
34336                    rel1.to_x: "bg";
34337                    rel1.to_y: "spinner-base";
34338                    rel1.offset: 6 6;
34339                    rel1.relative: 0 1;
34340                    rel2.to: "bg";
34341                    rel2.offset: -7 -7;
34342                    color: 255 255 255 0;
34343                }
34344            }
34345            part { name: "conf_over_table";
34346                mouse_events:  0;
34347                description { state: "default" 0.0;
34348                    rel1.to: "table-base";
34349                    rel1.offset: -3 -3;
34350                    rel2.to: "table-base";
34351                    rel2.offset: 2 2;
34352                    image {
34353                        normal: "shelf_inset.png";
34354                        border: 7 7 7 7;
34355                        middle: 0;
34356                    }
34357                    fill.smooth : 0;
34358                }
34359            }
34360            part { name: "header";
34361                type: RECT;
34362                mouse_events: 0;
34363                description { state: "default" 0.0;
34364                    rel1.to: "table-base";
34365                    rel1.relative: 0 0;
34366                    rel2.to: "table-base";
34367                    rel2.relative: 1 0.1;
34368                    color: 255 255 255 0;
34369                }
34370            }
34371            part { name: "base";
34372                type: RECT;
34373                mouse_events: 0;
34374                description { state: "default" 0.0;
34375                    rel1.to_x: "table-base";
34376                    rel1.to_y: "header";
34377                    rel1.relative: 0 1;
34378                    rel1.offset: 3 0;
34379                    rel2.to: "table-base";
34380                    rel2.offset: -3 0;
34381                    color: 255 255 255 0;
34382                }
34383            }
34384            part { name: "left_bt";
34385                mouse_events:  1;
34386                description { state: "default" 0.0;
34387                    rel1 { to: "spinner-base";
34388                        offset: 2 2;
34389                    }
34390                    rel2 { to: "spinner-base";
34391                        offset: -3 -3;
34392                    }
34393                    align: 0.0 0.5;
34394                    min: 24 24;
34395                    max: 24 24;
34396                    fixed: 1 1;
34397                    image {
34398                        normal: "bt_base1.png";
34399                        border: 6 6 6 6;
34400                    }
34401                    fill.smooth : 0;
34402                }
34403                description { state: "clicked" 0.0;
34404                    inherit: "default" 0.0;
34405                    image.normal: "bt_base1.png";
34406                    image.middle: SOLID;
34407                }
34408            }
34409            part { name: "left_over1";
34410                mouse_events: 0;
34411                description { state: "default" 0.0;
34412                    rel1.to: "left_bt";
34413                    rel2 { to: "left_bt";
34414                        relative: 1.0 0.5;
34415                    }
34416                    image {
34417                        normal: "bt_hilight.png";
34418                        border: 7 7 7 0;
34419                    }
34420                }
34421            }
34422            part { name: "left_over2";
34423                mouse_events: 1;
34424                repeat_events: 1;
34425                description { state: "default" 0.0;
34426                    rel1.to: "left_bt";
34427                    rel2.to: "left_bt";
34428                    image {
34429                        normal: "bt_shine.png";
34430                        border: 7 7 7 7;
34431                    }
34432                }
34433            }
34434            part { name: "left_over3";
34435                mouse_events: 1;
34436                repeat_events: 1;
34437                description { state: "default" 0.0;
34438                    color: 255 255 255 0;
34439                    rel1.to: "left_bt";
34440                    rel2.to: "left_bt";
34441                    image {
34442                        normal: "bt_glow.png";
34443                        border: 12 12 12 12;
34444                    }
34445                    fill.smooth : 0;
34446                }
34447                description { state: "clicked" 0.0;
34448                    inherit:  "default" 0.0;
34449                    visible: 1;
34450                    color: 255 255 255 255;
34451                }
34452            }
34453            part { name: "right_bt";
34454                mouse_events:  1;
34455                description { state: "default" 0.0;
34456                    rel1 { to: "spinner-base";
34457                        offset: -27 3;
34458                    }
34459                    rel2 { to: "spinner-base";
34460                        offset: -3 -3;
34461                    }
34462                    align: 1.0 0.5;
34463                    min: 24 24;
34464                    max: 24 24;
34465                    fixed: 1 1;
34466                    image {
34467                        normal: "bt_base1.png";
34468                        border: 5 5 4 12;
34469                    }
34470                    fill.smooth : 0;
34471                }
34472                description { state: "clicked" 0.0;
34473                    inherit: "default" 0.0;
34474                    image.normal: "bt_base1.png";
34475                    image.middle: SOLID;
34476                }
34477            }
34478            part { name: "right_over1";
34479                mouse_events: 0;
34480                description { state: "default" 0.0;
34481                    rel1.to: "right_bt";
34482                    rel2 { to: "right_bt";
34483                        relative: 1.0 0.5;
34484                    }
34485                    image {
34486                        normal: "bt_hilight.png";
34487                        border: 7 7 7 0;
34488                    }
34489                }
34490            }
34491            part { name: "right_over2";
34492                mouse_events: 1;
34493                repeat_events: 1;
34494                description { state: "default" 0.0;
34495                    rel1.to: "right_bt";
34496                    rel2.to: "right_bt";
34497                    image {
34498                        normal: "bt_shine.png";
34499                        border: 7 7 7 7;
34500                    }
34501                }
34502            }
34503            part { name: "right_over3";
34504                mouse_events: 1;
34505                repeat_events: 1;
34506                description { state: "default" 0.0;
34507                    color: 255 255 255 0;
34508                    rel1.to: "right_bt";
34509                    rel2.to: "right_bt";
34510                    image {
34511                        normal: "bt_glow.png";
34512                        border: 12 12 12 12;
34513                    }
34514                    fill.smooth : 0;
34515                }
34516                description { state: "clicked" 0.0;
34517                    inherit:  "default" 0.0;
34518                    visible: 1;
34519                    color: 255 255 255 255;
34520                }
34521            }
34522            part { name: "left_bt_icon";
34523                repeat_events: 1;
34524                description { state: "default" 0.0;
34525                    rel1.to: "left_bt";
34526                    rel2.to: "left_bt";
34527                    align: 0.5 0.5;
34528                    min: 16 16;
34529                    max: 16 16;
34530                    image.normal: "sp_bt_l.png";
34531                }
34532                description { state: "rtl" 0.0;
34533                    inherit: "default" 0.0;
34534                    image.normal: "sp_bt_r.png";
34535                }
34536            }
34537            part { name: "right_bt_icon";
34538                repeat_events: 1;
34539                description { state: "default" 0.0;
34540                    rel1.to: "right_bt";
34541                    rel2.to: "right_bt";
34542                    align: 0.5 0.5;
34543                    min: 16 16;
34544                    max: 16 16;
34545                    image.normal: "sp_bt_r.png";
34546                }
34547                description { state: "rtl" 0.0;
34548                    inherit: "default" 0.0;
34549                    image.normal: "sp_bt_l.png";
34550                }
34551            }
34552            part { name: "month_text";
34553                type: TEXT;
34554                mouse_events: 0;
34555                scale: 1;
34556                description { state: "default" 0.0;
34557                    align: 0 0.5;
34558                    fixed: 1 1;
34559                    rel1 { relative: 1.0 0.0;
34560                        offset: 3 2;
34561                        to: "left_bt";
34562                        to_y: "spinner-base";
34563                    }
34564                    rel2 { relative: 0.0 1.0;
34565                        offset: -3 -2;
34566                        to_x: "right_bt";
34567                        to_y: "spinner-base";
34568                    }
34569                    color: 0 0 0 255;
34570                    text {
34571                        font: "Sans,Edje-Vera";
34572                        size: 12;
34573                        min: 1 1;
34574                        align: 0.5 0.5;
34575                    }
34576                }
34577            }
34578            CH(0)   CH(1)   CH(2)   CH(3)   CH(4)   CH(5)   CH(6)
34579            CIT(0)  CIT(1)  CIT(2)  CIT(3)  CIT(4)  CIT(5)  CIT(6)
34580            CIT(7)  CIT(8)  CIT(9)  CIT(10) CIT(11) CIT(12) CIT(13)
34581            CIT(14) CIT(15) CIT(16) CIT(17) CIT(18) CIT(19) CIT(20)
34582            CIT(21) CIT(22) CIT(23) CIT(24) CIT(25) CIT(26) CIT(27)
34583            CIT(28) CIT(29) CIT(30) CIT(31) CIT(32) CIT(33) CIT(34)
34584            CIT(35) CIT(36) CIT(37) CIT(38) CIT(39) CIT(40) CIT(41)
34585        }
34586        programs {
34587            program { name: "dec_start";
34588                signal: "mouse,down,1";
34589                source: "left_bt";
34590                action: SIGNAL_EMIT "elm,action,decrement,start" "";
34591            }
34592            program { name: "dec_stop";
34593                signal: "mouse,up,1";
34594                source: "left_bt";
34595                action: SIGNAL_EMIT "elm,action,stop" "";
34596            }
34597            program { name: "inc_start";
34598                signal: "mouse,down,1";
34599                source: "right_bt";
34600                action: SIGNAL_EMIT "elm,action,increment,start" "";
34601            }
34602            program { name: "inc_stop";
34603                signal: "mouse,up,1";
34604                source: "right_bt";
34605                action: SIGNAL_EMIT "elm,action,stop" "";
34606            }
34607            program {
34608                name:   "left_bt_click";
34609                signal: "mouse,down,1";
34610                source: "left_over2";
34611                action: STATE_SET "clicked" 0.0;
34612                target: "left_bt";
34613            }
34614            program {
34615                name:   "left_bt_unclick";
34616                signal: "mouse,up,1";
34617                source: "left_over2";
34618                action: STATE_SET "default" 0.0;
34619                target: "left_bt";
34620            }
34621            program {
34622                name:   "left_bt_click2";
34623                signal: "mouse,down,1";
34624                source: "left_over3";
34625                action: STATE_SET "clicked" 0.0;
34626                target: "left_over3";
34627            }
34628            program {
34629                name:   "left_bt_unclick2";
34630                signal: "mouse,up,1";
34631                source: "left_over3";
34632                action: STATE_SET "default" 0.0;
34633                transition: DECELERATE 0.5;
34634                target: "left_over3";
34635            }
34636            program {
34637                name:   "right_bt_click";
34638                signal: "mouse,down,1";
34639                source: "right_over2";
34640                action: STATE_SET "clicked" 0.0;
34641                target: "right_bt";
34642            }
34643            program {
34644                name:   "right_bt_unclick";
34645                signal: "mouse,up,1";
34646                source: "right_over2";
34647                action: STATE_SET "default" 0.0;
34648                target: "right_bt";
34649            }
34650            program {
34651                name:   "right_bt_click2";
34652                signal: "mouse,down,1";
34653                source: "right_over3";
34654                action: STATE_SET "clicked" 0.0;
34655                target: "right_over3";
34656            }
34657            program {
34658                name:   "right_bt_unclick2";
34659                signal: "mouse,up,1";
34660                source: "right_over3";
34661                action: STATE_SET "default" 0.0;
34662                transition: DECELERATE 0.5;
34663                target: "right_over3";
34664            }
34665            program { name: "to_rtl";
34666                signal: "edje,state,rtl";
34667                source: "edje";
34668                action: STATE_SET "rtl" 0.0;
34669                target: "right_bt_icon";
34670                target: "left_bt_icon";
34671            }
34672            program { name: "to_ltr";
34673                signal: "edje,state,ltr";
34674                source: "edje";
34675                action: STATE_SET "default" 0.0;
34676                target: "right_bt_icon";
34677                target: "left_bt_icon";
34678            }
34679        }
34680    }
34681
34682 #undef CIT
34683 #undef CH
34684
34685 ////////////////////////////////////////////////////////////////////////////////
34686 // colorselector
34687 ////////////////////////////////////////////////////////////////////////////////
34688    group { name: "elm/colorselector/bg/default";
34689       parts {
34690          part { name: "elm.colorbar_0";
34691             type: SWALLOW;
34692             mouse_events: 1;
34693             description { state: "default" 0.0;
34694                min: 120 30;
34695                rel1.relative: 0.0 0.00653594771;
34696                rel2.relative: 1.0 0.254901961;
34697             }
34698          }
34699          part { name: "elm.colorbar_1";
34700             type: SWALLOW;
34701             mouse_events: 1;
34702             description { state: "default" 0.0;
34703                min: 120 30;
34704                rel1.relative: 0.0 0.254901961;
34705                rel2.relative: 1.0 0.503267974;
34706             }
34707          }
34708          part { name: "elm.colorbar_2";
34709             type: SWALLOW;
34710             mouse_events: 1;
34711             description { state: "default" 0.0;
34712                min: 120 30;
34713                rel1.relative: 0.0 0.503267974;
34714                rel2.relative: 1.0 0.751633987;
34715             }
34716          }
34717          part { name: "elm.colorbar_3";
34718             type: SWALLOW;
34719             mouse_events: 1;
34720             description { state: "default" 0.0;
34721                min: 120 30;
34722                rel1.relative: 0.0 0.751633987;
34723                rel2.relative: 1.0 1.0;
34724             }
34725          }
34726       }
34727    }
34728
34729    group { name: "elm/colorselector/base/default";
34730       parts {
34731          part { name: "elm.bar_bg";
34732             type: SWALLOW;
34733             mouse_events: 0;
34734             description { state: "default" 0.0;
34735                min: 60 22;
34736                rel1 {
34737                   relative: 0.0 0.8;
34738                   to_x: "elm.arrow_bg";
34739                   to_y: "elm.arrow_icon";
34740                   offset: 0 0;
34741                }
34742                rel2 {
34743                   relative: 1.0 0.83;
34744                   to_x: "elm.arrow_bg";
34745                   offset: 0 0;
34746                }
34747             }
34748          }
34749          part { name: "elm.bar";
34750             type: SWALLOW;
34751             mouse_events: 0;
34752             description { state: "default" 0.0;
34753                rel1.to: "elm.bar_bg";
34754                rel2.to: "elm.bar_bg";
34755             }
34756          }
34757          part { name: "elm.arrow_bg";
34758             type: SWALLOW;
34759             mouse_events: 1;
34760             description { state: "default" 0.0;
34761                rel1 {
34762                   relative: 1.0 0.17;
34763                   offset: 3 0;
34764                   to_x: "elm.l_button";
34765                }
34766                rel2 {
34767                   relative: 0.0 0.83;
34768                      offset: -4 0;
34769                   to_x: "elm.r_button";
34770                }
34771             }
34772          }
34773          part { name: "elm.arrow";
34774             type: RECT;
34775             mouse_events: 1;
34776             scale: 1;
34777             description { state: "default" 0.0;
34778                min: 1 1;
34779                fixed: 1 1;
34780                align: 0 0;
34781                rel1 {
34782                   to_x: "elm.arrow_bg";
34783                }
34784                rel2 {
34785                   relative: 0.0 0.17;
34786                   to_x: "elm.arrow_bg";
34787                }
34788                color: 0 0 0 0;
34789                visible: 0;
34790             }
34791             dragable {
34792                confine: "elm.arrow_bg";
34793                x: 1 1 0;
34794                y: 0 0 0;
34795             }
34796          }
34797          part { name: "elm.arrow_icon";
34798             type: SWALLOW;
34799             mouse_events: 0;
34800             description { state: "default" 0.0;
34801                min: 25 15;
34802                max: 25 15;
34803                fixed: 1 1;
34804                align: 0.5 0;
34805                rel1 {
34806                   to_x: "elm.arrow";
34807                }
34808                rel2 {
34809                   relative: 1.0 0.0;
34810                   offset: 0 10;
34811                   to_x: "elm.arrow";
34812                }
34813             }
34814          }
34815          part { name: "event";
34816             type: RECT;
34817             mouse_events: 1;
34818             description { state: "default" 0.0;
34819                rel1 {
34820                   to: "elm.arrow_icon";
34821                }
34822                rel2 {
34823                   to_x: "elm.arrow_icon";
34824                   to_y: "elm.arrow_bg";
34825                   offset: 0 0;
34826                }
34827                color: 0 0 0 0;
34828             }
34829             dragable {
34830                events: "elm.arrow";
34831             }
34832          }
34833          part { name: "elm.l_button";
34834             type: SWALLOW;
34835             mouse_events: 1;
34836             scale: 1;
34837             description { state: "default" 0.0;
34838                min: 24 24;
34839                fixed: 1 1;
34840                rel1 {
34841                   relative: 0.0 0.0;
34842                   to_y: "elm.bar_bg";
34843                }
34844                rel2 {
34845                   relative: 0.0 1.0;
34846                   to_y: "elm.bar_bg";
34847                }
34848                align: 0.0 0.5;
34849             }
34850          }
34851          part { name: "elm.r_button";
34852             type: SWALLOW;
34853             mouse_events: 1;
34854             scale: 1;
34855             description {
34856                state: "default" 0.0;
34857                min: 24 24;
34858                fixed: 1 1;
34859                rel1 {
34860                   relative: 1.0 0.0;
34861                   to_y: "elm.bar_bg";
34862                }
34863                rel2 {
34864                   relative: 1.0 1.0;
34865                   to_y: "elm.bar_bg";
34866                }
34867                align: 1.0 0.5;
34868             }
34869          }
34870       }
34871    }
34872
34873    group{ name: "elm/colorselector/image/colorbar_0";
34874       images {
34875          image: "color_picker_color.png" COMP;
34876       }
34877       parts {
34878          part { name: "colorbar_0_image";
34879             type: IMAGE;
34880             mouse_events: 1;
34881             description { state: "default" 0.0;
34882                rel2.offset: -1 -1;
34883                image.normal: "color_picker_color.png";
34884             }
34885          }
34886       }
34887    }
34888
34889    group { name: "elm/colorselector/image/colorbar_1";
34890       images {
34891          image: "color_picker_opacity.png" COMP;
34892       }
34893       parts {
34894          part { name: "colorbar_1_image";
34895             type: IMAGE;
34896             mouse_events: 1;
34897             description { state: "default" 0.0;
34898                rel2.offset: -1 -1;
34899                image.normal: "color_picker_opacity.png";
34900             }
34901          }
34902       }
34903    }
34904
34905    group { name: "elm/colorselector/image/colorbar_2";
34906       images {
34907          image: "color_picker_brightness.png" COMP;
34908       }
34909       parts {
34910          part { name: "colorbar_2_image";
34911             type: IMAGE;
34912             mouse_events: 1;
34913             description { state: "default" 0.0;
34914                rel2.offset: -1 -1;
34915                image.normal: "color_picker_brightness.png";
34916             }
34917          }
34918       }
34919    }
34920
34921    group { name: "elm/colorselector/image/colorbar_3";
34922       images {
34923          image: "color_picker_alpha.png" COMP;
34924       }
34925       parts {
34926          part { name: "colorbar_3_image";
34927             type: IMAGE;
34928             mouse_events: 1;
34929             description { state: "default" 0.0;
34930                rel2.offset: -1 -1;
34931                image.normal: "color_picker_alpha.png";
34932             }
34933          }
34934       }
34935    }
34936
34937    group { name: "elm/colorselector/bg_image/colorbar_3";
34938       images {
34939          image: "color_picker_alpha_bg.png" COMP;
34940       }
34941       parts {
34942          part { name: "colorbar_3_image";
34943             type: IMAGE;
34944             mouse_events: 1;
34945             description { state: "default" 0.0;
34946                rel2.offset: -1 -1;
34947                image.normal: "color_picker_alpha_bg.png";
34948             }
34949          }
34950       }
34951    }
34952
34953    group { name: "elm/colorselector/image/updown";
34954       images {
34955          image: "icon_arrow_down.png" COMP;
34956       }
34957       parts {
34958          part { name: "bg";
34959             type: RECT;
34960             mouse_events: 1;
34961             description { state: "default" 0.0;
34962                color: 0 0 0 0;
34963             }
34964          }
34965          part { name: "arrow_image";
34966             type: IMAGE;
34967             mouse_events: 1;
34968             description { state: "default" 0.0;
34969                image.normal: "icon_arrow_down.png";
34970             }
34971          }
34972       }
34973    }
34974
34975    group { name: "elm/colorselector/button/left";
34976       images {
34977          image: "bt_base1.png" COMP;
34978          image: "bt_shine.png" COMP;
34979          image: "sp_bt_l.png" COMP;
34980       }
34981       parts {
34982          part { name: "button_image";
34983             mouse_events: 1;
34984             description { state: "default" 0.0;
34985                image.normal: "bt_base1.png";
34986                image.border: 6 6 6 6;
34987                image.middle: SOLID;
34988             }
34989
34990             description { state: "clicked" 0.0;
34991                inherit: "default" 0.0;
34992                image.normal: "bt_shine.png";
34993                image.border: 6 6 6 6;
34994                image.middle: SOLID;
34995             }
34996          }
34997          part { name: "btn_over";
34998             type: IMAGE;
34999             mouse_events: 0;
35000             description { state: "default" 0.0;
35001                rel1.to: "button_image";
35002                rel2 {
35003                   relative: 1.0 0.5;
35004                   to: "button_image";
35005                }
35006                image {
35007                   normal: "bt_hilight.png";
35008                   border: 7 7 7 0;
35009                }
35010             }
35011          }
35012          part { name: "btn_over2";
35013             type: IMAGE;
35014             mouse_events: 1;
35015             repeat_events: 1;
35016             ignore_flags: ON_HOLD;
35017             description { state: "default" 0.0;
35018                rel1.to: "button_image";
35019                rel2.to: "button_image";
35020                image {
35021                   normal: "bt_shine.png";
35022                   border: 7 7 7 7;
35023                }
35024             }
35025          }
35026          part { name: "focus_image";
35027             type: IMAGE;
35028             description { state: "default" 0.0;
35029                color: 255 255 255 0;
35030                rel1.to: "button_image";
35031                rel2.to: "button_image";
35032                image {
35033                   normal: "bt_glow.png";
35034                   border: 12 12 12 12;
35035                }
35036                fill.smooth: 0;
35037
35038             }
35039             description { state: "clicked" 0.0;
35040                inherit: "default" 0.0;
35041                visible: 1;
35042                color: 255 255 255 255;
35043             }
35044          }
35045          part { name: "left_arrow";
35046             mouse_events: 1;
35047             description { state: "default" 0.0;
35048                min: 16 16;
35049                max: 16 16;
35050                image.normal: "sp_bt_l.png";
35051             }
35052          }
35053       }
35054
35055       programs {
35056          program {
35057             name:   "button_down";
35058             signal: "elm,state,left,button,down";
35059             source: "left_button";
35060             action: STATE_SET "clicked" 0.0;
35061             target: "button_image";
35062             target: "focus_image";
35063          }
35064          program {
35065             name:   "button_up";
35066             signal: "elm,state,left,button,up";
35067             source: "left_button";
35068             action: STATE_SET "default" 0.0;
35069             target: "button_image";
35070             target: "focus_image";
35071          }
35072       }
35073    }
35074
35075    group { name: "elm/colorselector/button/right";
35076       images {
35077          image: "bt_base1.png" COMP;
35078          image: "bt_shine.png" COMP;
35079          image: "sp_bt_r.png" COMP;
35080       }
35081       parts {
35082          part { name: "button_image";
35083             mouse_events: 1;
35084             description { state: "default" 0.0;
35085                image.normal: "bt_base1.png";
35086                image.border: 6 6 6 6;
35087                image.middle: SOLID;
35088             }
35089
35090             description { state: "clicked" 0.0;
35091                inherit: "default" 0.0;
35092                image.normal: "bt_shine.png";
35093                image.border: 6 6 6 6;
35094                image.middle: SOLID;
35095             }
35096          }
35097          part { name: "btn_over";
35098             type: IMAGE;
35099             mouse_events: 0;
35100             description { state: "default" 0.0;
35101                rel1.to: "button_image";
35102                rel2 {
35103                   relative: 1.0 0.5;
35104                   to: "button_image";
35105                }
35106                image {
35107                   normal: "bt_hilight.png";
35108                   border: 7 7 7 0;
35109                }
35110             }
35111          }
35112          part { name: "btn_over2";
35113             type: IMAGE;
35114             mouse_events: 1;
35115             repeat_events: 1;
35116             ignore_flags: ON_HOLD;
35117             description { state: "default" 0.0;
35118                rel1.to: "button_image";
35119                rel2.to: "button_image";
35120                image {
35121                   normal: "bt_shine.png";
35122                   border: 7 7 7 7;
35123                }
35124             }
35125          }
35126          part { name: "focus_image";
35127             type: IMAGE;
35128             description { state: "default" 0.0;
35129                color: 255 255 255 0;
35130                rel1.to: "button_image";
35131                rel2.to: "button_image";
35132                image {
35133                   normal: "bt_glow.png";
35134                   border: 12 12 12 12;
35135                }
35136                fill.smooth: 0;
35137
35138             }
35139             description { state: "clicked" 0.0;
35140                inherit: "default" 0.0;
35141                visible: 1;
35142                color: 255 255 255 255;
35143             }
35144          }
35145          part { name: "right_arrow";
35146             mouse_events: 1;
35147             description { state: "default" 0.0;
35148                min: 16 16;
35149                max: 16 16;
35150                image.normal: "sp_bt_r.png";
35151             }
35152          }
35153       }
35154
35155       programs {
35156          program {
35157             name:   "button_down";
35158             signal: "elm,state,right,button,down";
35159             source: "right_button";
35160             action: STATE_SET "clicked" 0.0;
35161             target: "button_image";
35162             target: "focus_image";
35163          }
35164          program {
35165             name:   "button_up";
35166             signal: "elm,state,right,button,up";
35167             source: "right_button";
35168             action: STATE_SET "default" 0.0;
35169             target: "button_image";
35170             target: "focus_image";
35171          }
35172       }
35173    }
35174
35175 ///////////////////////////////////////////////////////////////////////////////
35176 #define FLIP_PICKER_MAX_LEN (50)
35177 #define FLIP_PICKER_MAX_LEN_STR "50"
35178
35179    group { name: "elm/flipselector/base/default";
35180       images {
35181          image: "flip_base.png" COMP;
35182          image: "flip_base_shad.png" COMP;
35183          image: "flip_shad.png" COMP;
35184          image: "arrow_up.png" COMP;
35185          image: "arrow_down.png" COMP;
35186          image: "flip_t.png" COMP;
35187          image: "flip_b.png" COMP;
35188       }
35189
35190       data {
35191          item: "max_len" FLIP_PICKER_MAX_LEN_STR;
35192       }
35193
35194       //FIXME: quick successive clicks on, say, up, lead to nastiness
35195       script {
35196          public cur, prev, next, lock;
35197
35198          public animator_bottom_down(val, Float:pos) {
35199             new tmp[FLIP_PICKER_MAX_LEN];
35200
35201             set_tween_state(PART:"bottom", pos, "shrink", 0.0, "default", 0.0);
35202             set_tween_state(PART:"bottom_sheet", pos, "shrink", 0.0, "default",
35203                             0.0);
35204             set_tween_state(PART:"shadow", pos, "half", 0.0, "full",
35205                             0.0);
35206
35207             if (pos >= 1.0) {
35208                set_state(PART:"shadow", "default", 0.0);
35209                set_int(lock, 0);
35210
35211                fetch_str(next, 0, tmp, FLIP_PICKER_MAX_LEN);
35212                if (strncmp(tmp, "", FLIP_PICKER_MAX_LEN) != 0) {
35213                   replace_str(next, 0, "");
35214                   message(MSG_STRING, 1, tmp);
35215                }
35216             }
35217          }
35218
35219          public animator_top_down(val, Float:pos) {
35220             set_tween_state(PART:"top", pos, "default", 0.0, "shrink", 0.0);
35221             set_tween_state(PART:"top_sheet", pos, "default", 0.0, "shrink",
35222                             0.0);
35223             set_tween_state(PART:"shadow", pos, "default", 0.0, "half",
35224                             0.0);
35225
35226             if (pos >= 1.0)
35227                anim(0.2, "animator_bottom_down", val);
35228          }
35229
35230          public animator_bottom_up(val, Float:pos) {
35231             set_tween_state(PART:"bottom", pos, "default", 0.0, "shrink", 0.0);
35232             set_tween_state(PART:"bottom_sheet", pos, "default", 0.0, "shrink",
35233                             0.0);
35234             set_tween_state(PART:"shadow", pos, "full", 0.0, "half",
35235                             0.0);
35236
35237             if (pos >= 1.0)
35238                anim(0.2, "animator_top_up", val);
35239          }
35240
35241          public animator_top_up(val, Float:pos) {
35242             new tmp[FLIP_PICKER_MAX_LEN];
35243
35244             set_tween_state(PART:"top", pos, "shrink", 0.0, "default", 0.0);
35245             set_tween_state(PART:"top_sheet", pos, "shrink", 0.0, "default",
35246                             0.0);
35247             set_tween_state(PART:"shadow", pos, "half", 0.0, "default",
35248                             0.0);
35249
35250             if (pos >= 1.0) {
35251                set_state(PART:"shadow", "default", 0.0);
35252                set_int(lock, 0);
35253
35254                fetch_str(next, 0, tmp, FLIP_PICKER_MAX_LEN);
35255                if (strncmp(tmp, "", FLIP_PICKER_MAX_LEN) != 0) {
35256                   replace_str(next, 0, "");
35257                   message(MSG_STRING, 2, tmp);
35258                }
35259             }
35260          }
35261
35262          public message(Msg_Type:type, id, ...) {
35263             /* flip down */
35264             if ((type == MSG_STRING) && (id == 1)) {
35265                new value[FLIP_PICKER_MAX_LEN], tmp[FLIP_PICKER_MAX_LEN];
35266
35267                snprintf(value, FLIP_PICKER_MAX_LEN, "%s", getarg(2));
35268
35269                if (get_int(lock) == 1) {
35270                   replace_str(next, 0, value);
35271                   return;
35272                }
35273
35274                fetch_str(cur, 0, tmp, FLIP_PICKER_MAX_LEN);
35275
35276                set_text(PART:"bottom_b", tmp);
35277
35278                set_state(PART:"top", "shrink", 0.0);
35279                set_text(PART:"top", tmp);
35280                set_state(PART:"top", "default", 0.0);
35281                set_text(PART:"top", tmp);
35282
35283                replace_str(prev, 0, tmp);
35284
35285                set_state(PART:"bottom", "default", 0.0);
35286                set_text(PART:"bottom", value);
35287                set_state(PART:"bottom", "shrink", 0.0);
35288                set_text(PART:"bottom", value);
35289
35290                set_text(PART:"top_b", value);
35291
35292                replace_str(cur, 0, value);
35293
35294                set_state(PART:"bottom_sheet", "shrink", 0.0);
35295                set_state(PART:"top_sheet", "default", 0.0);
35296
35297                set_int(lock, 1);
35298                set_state(PART:"shadow", "default", 0.0);
35299                anim(0.2, "animator_top_down", 1);
35300             }
35301
35302             /* flip up */
35303             if ((type == MSG_STRING) && (id == 2)) {
35304                new value[FLIP_PICKER_MAX_LEN], tmp[FLIP_PICKER_MAX_LEN];
35305
35306                snprintf(value, FLIP_PICKER_MAX_LEN, "%s", getarg(2));
35307
35308                if (get_int(lock) == 1) {
35309                   replace_str(next, 0, value);
35310                   return;
35311                }
35312
35313                fetch_str(cur, 0, tmp, FLIP_PICKER_MAX_LEN);
35314
35315                set_text(PART:"top_b", tmp);
35316
35317                set_state(PART:"bottom", "shrink", 0.0);
35318                set_text(PART:"bottom", tmp);
35319                set_state(PART:"bottom", "default", 0.0);
35320                set_text(PART:"bottom", tmp);
35321
35322                replace_str(prev, 0, tmp);
35323
35324                set_state(PART:"top", "default", 0.0);
35325                set_text(PART:"top", value);
35326                set_state(PART:"top", "shrink", 0.0);
35327                set_text(PART:"top", value);
35328
35329                set_text(PART:"bottom_b", value);
35330
35331                replace_str(cur, 0, value);
35332
35333                set_state(PART:"bottom_sheet", "default", 0.0);
35334                set_state(PART:"top_sheet", "shrink", 0.0);
35335
35336                set_int(lock, 1);
35337                set_state(PART:"shadow", "full", 0.0);
35338                anim(0.2, "animator_bottom_up", 1);
35339             }
35340          }
35341       }
35342
35343       parts {
35344          part { name: "shad";
35345             mouse_events: 0;
35346             description { state: "default" 0.0;
35347                rel1.offset: -4 -4;
35348                rel1.to: "base";
35349                rel2.offset: 3 3;
35350                rel2.to: "base";
35351                image {
35352                   normal: "flip_base_shad.png";
35353                   border: 8 8 8 8;
35354                }
35355             }
35356          }
35357
35358          part { name: "base";
35359             scale: 1;
35360             description { state: "default" 0.0;
35361                rel1.offset: 4 4;
35362                rel2.offset: -5 -5;
35363                min: 24 48;
35364                image.normal: "flip_base.png";
35365             }
35366          }
35367
35368          part { name: "b";
35369             type: RECT;
35370             mouse_events: 1;
35371             description { state: "default" 0.0;
35372                rel1.to: "base";
35373                rel1.relative: 0.0 0.5;
35374                rel2.to: "base";
35375                color: 0 0 0 0;
35376             }
35377             description { state: "hidden" 0.0;
35378                inherit: "default" 0.0;
35379                visible: 0;
35380             }
35381          }
35382
35383          part { name: "t";
35384             type: RECT;
35385             mouse_events: 1;
35386             description { state: "default" 0.0;
35387                rel1.to: "base";
35388                rel2.to: "base";
35389                rel2.relative: 1.0 0.5;
35390                color: 0 0 0 0;
35391             }
35392             description { state: "hidden" 0.0;
35393                inherit: "default" 0.0;
35394                visible: 0;
35395             }
35396          }
35397
35398          part { name: "bottom_sheet_static";
35399             mouse_events: 0;
35400             description { state: "default" 0.0;
35401                visible: 1;
35402                rel1.to: "b";
35403                rel2.to: "b";
35404                image.normal: "flip_b.png";
35405             }
35406          }
35407
35408          part { name: "bottom_b";
35409             mouse_events: 0;
35410             clip_to: "bottom_clipper";
35411             type: TEXT;
35412             scale: 1;
35413             description { state: "default" 0.0;
35414                rel1.to: "base";
35415                rel2.to: "base";
35416                color: 0 0 0 255;
35417                color2: 0 0 0 255;
35418                text {
35419                   font: "Sans:style=Bold,Edje-Vera-Bold";
35420                   size: 30;
35421                   min: 1 1;
35422                   align: 0.5 0.5;
35423                }
35424             }
35425          }
35426
35427          part { name: "shadow";
35428             mouse_events: 0;
35429             description { state: "default" 0.0;
35430                rel1.to: "b";
35431                rel2.to: "b";
35432                rel2.relative: 1.0 0.0;
35433                image.normal: "flip_shad.png";
35434             }
35435             description { state: "half" 0.0;
35436                inherit: "default" 0.0;
35437                rel2.relative: 1.0 0.5;
35438             }
35439             description { state: "full" 0.0;
35440                inherit: "default" 0.0;
35441                rel2.relative: 1.0 1.0;
35442             }
35443          }
35444
35445          part { name: "bottom_sheet";
35446             mouse_events: 0;
35447             description { state: "default" 0.0;
35448                visible: 1;
35449                rel1.to: "b";
35450                rel2.to: "b";
35451                image.normal: "flip_b.png";
35452             }
35453             description { state: "shrink" 0.0;
35454                inherit: "default" 0.0;
35455                visible: 0;
35456                rel2.relative: 1.0 0.0;
35457             }
35458          }
35459
35460          part { name: "bottom";
35461             mouse_events: 0;
35462             clip_to: "bottom_clipper";
35463             type: TEXT;
35464             scale: 1;
35465             description { state: "default" 0.0;
35466                rel1.to: "base";
35467                rel2.to: "base";
35468                color: 0 0 0 255;
35469                color2: 0 0 0 255;
35470                text {
35471                   font: "Sans:style=Bold,Edje-Vera-Bold";
35472                   size: 30;
35473                   min: 1 1;
35474                   align: 0.5 0.5;
35475                }
35476             }
35477             description { state: "shrink" 0.0;
35478                inherit: "default" 0.0;
35479                color: 128 128 128 255;
35480                visible: 0;
35481                rel2.relative: 1.0 0.5; /* FIXME: same visual effect? --> MAP! */
35482             }
35483          }
35484
35485          part { name: "top_sheet_static";
35486             mouse_events: 0;
35487             description { state: "default" 0.0;
35488                visible: 1;
35489                rel1.to: "t";
35490                rel2.to: "t";
35491                image.normal: "flip_t.png";
35492             }
35493          }
35494
35495          part { name: "top_b";
35496             mouse_events: 0;
35497             clip_to: "top_clipper";
35498             type: TEXT;
35499             scale: 1;
35500             description { state: "default" 0.0;
35501                rel1.to: "base";
35502                rel2.to: "base";
35503                color: 0 0 0 255;
35504                color2: 0 0 0 255;
35505                text {
35506                   font: "Sans:style=Bold,Edje-Vera-Bold";
35507                   size: 30;
35508                   min: 1 1;
35509                   align: 0.5 0.5;
35510                   source: "top";
35511                }
35512             }
35513          }
35514
35515          part { name: "top_sheet";
35516             mouse_events: 0;
35517             description { state: "default" 0.0;
35518                visible: 1;
35519                rel1.to: "t";
35520                rel2.to: "t";
35521                image.normal: "flip_t.png";
35522             }
35523             description { state: "shrink" 0.0;
35524                inherit: "default" 0.0;
35525                color: 128 128 128 255;
35526                visible: 0;
35527                rel1.relative: 0.0 1.0;
35528             }
35529          }
35530
35531          part { name: "top";
35532             mouse_events: 0;
35533             clip_to: "top_clipper";
35534             type: TEXT;
35535             scale: 1;
35536             description { state: "default" 0.0;
35537                rel1.to: "base";
35538                rel2.to: "base";
35539                color: 0 0 0 255;
35540                color2: 0 0 0 255;
35541                text {
35542                   font: "Sans:style=Bold,Edje-Vera-Bold";
35543                   size: 30;
35544                   min: 1 1;
35545                   align: 0.5 0.5;
35546                }
35547             }
35548             description { state: "shrink" 0.0;
35549                inherit: "default" 0.0;
35550                visible: 0;
35551                rel1.relative: 0.0 0.5;
35552             }
35553          }
35554
35555          part { name: "arrow_top";
35556             mouse_events: 0;
35557             scale: 1;
35558             description { state: "default" 0.0;
35559                min: 15 15;
35560                max: 15 15;
35561                align: 0.5 0.0;
35562                rel1.to: "t";
35563                rel2.to: "t";
35564                image.normal: "arrow_up.png";
35565             }
35566             description { state: "hidden" 0.0;
35567                inherit: "default" 0.0;
35568                visible: 0;
35569             }
35570          }
35571          part { name: "arrow_bottom";
35572             mouse_events: 0;
35573             scale: 1;
35574             description { state: "default" 0.0;
35575                min: 15 15;
35576                max: 15 15;
35577                align: 0.5 1.0;
35578                rel1.to: "b";
35579                rel2.to: "b";
35580                image.normal: "arrow_down.png";
35581             }
35582             description { state: "hidden" 0.0;
35583                inherit: "default" 0.0;
35584                visible: 0;
35585             }
35586          }
35587
35588          part {
35589             type: RECT;
35590             mouse_events: 0;
35591             name: "top_clipper";
35592             description {
35593                state: "default" 0.0;
35594                rel1.to: "t";
35595                rel2.to: "t";
35596                visible: 1;
35597             }
35598          }
35599
35600          part {
35601             type: RECT;
35602             mouse_events: 0;
35603             name: "bottom_clipper";
35604             description {
35605                state: "default" 0.0;
35606                rel1.to: "b";
35607                rel2.to: "b";
35608                visible: 1;
35609             }
35610          }
35611       }
35612
35613       programs {
35614          program { name: "load";
35615             signal: "load";
35616             source: "";
35617             script {
35618                append_str(cur, "");
35619                append_str(prev, "");
35620                append_str(next, "");
35621                set_int(lock, 0);
35622             }
35623          }
35624
35625          program { name: "hide_arrows";
35626             signal: "elm,state,button,hidden";
35627             source: "elm";
35628             action: STATE_SET "hidden" 0.0;
35629             target: "arrow_top";
35630             target: "arrow_bottom";
35631             target: "t";
35632             target: "b";
35633          }
35634
35635          program { name: "show_arrows";
35636             signal: "elm,state,button,visible";
35637             source: "elm";
35638             action: STATE_SET "default" 0.0;
35639             target: "arrow_top";
35640             target: "arrow_bottom";
35641             target: "t";
35642             target: "b";
35643          }
35644
35645          program { name: "up";
35646             signal: "mouse,down,1";
35647             source: "t";
35648             action: SIGNAL_EMIT "elm,action,up,start" "";
35649          }
35650          program { name: "up,stop";
35651             signal: "mouse,up,1";
35652             source: "t";
35653             action: SIGNAL_EMIT "elm,action,up,stop" "";
35654          }
35655          program { name: "down";
35656             signal: "mouse,down,1";
35657             source: "b";
35658             action: SIGNAL_EMIT "elm,action,down,start" "";
35659          }
35660          program { name: "down,stop";
35661             signal: "mouse,up,1";
35662             source: "b";
35663             action: SIGNAL_EMIT "elm,action,down,stop" "";
35664          }
35665       }
35666    }
35667
35668 ////////////////////////////////////////////////////////////////////////////////
35669 // diskselector
35670 ////////////////////////////////////////////////////////////////////////////////
35671    group { name: "elm/diskselector/base/default";
35672       images {
35673          image: "bar_shine.png" COMP;
35674       }
35675
35676       parts {
35677          part { name: "bg";
35678             type: RECT;
35679             mouse_events: 0;
35680             description { state: "default" 0.0;
35681                color: 0 0 0 255;
35682             }
35683          }
35684          part { name: "shine_left";
35685             mouse_events:  0;
35686             description { state: "default" 0.0;
35687                rel1.to: "bg";
35688                rel1.relative: -0.1 0;
35689                rel2.to: "bg";
35690                rel2.relative: 0.1 1;
35691                image.normal: "bar_shine.png";
35692                color: 255 255 255 120;
35693             }
35694          }
35695          part { name: "shine_center";
35696             mouse_events:  0;
35697             description { state: "default" 0.0;
35698                rel1.to: "bg";
35699                rel1.relative: 0.2 0;
35700                rel2.to: "bg";
35701                rel2.relative: 0.8 1;
35702                image.normal: "bar_shine.png";
35703                color: 255 255 255 180;
35704             }
35705          }
35706          part { name: "shine_right";
35707             mouse_events:  0;
35708             description { state: "default" 0.0;
35709                rel1.to: "bg";
35710                rel1.relative: 0.9 0;
35711                rel2.to: "bg";
35712                rel2.relative: 1.1 1;
35713                image.normal: "bar_shine.png";
35714                color: 255 255 255 120;
35715             }
35716          }
35717          part { name: "clipper";
35718             type: RECT;
35719             mouse_events: 0;
35720             description { state: "default" 0.0;
35721                rel1.to: "bg";
35722                rel2.to: "bg";
35723                rel1.offset: 2 2;
35724                rel2.offset: -3 -3;
35725             }
35726          }
35727          part { name: "elm.swallow.content";
35728             clip_to: "clipper";
35729             type: SWALLOW;
35730             description { state: "default" 0.0;
35731                rel1.to: "bg";
35732                rel2.to: "bg";
35733             }
35734          }
35735       }
35736    }
35737
35738    group { name: "elm/diskselector/item/default";
35739
35740       data {
35741          item: "len_threshold" "14";
35742          item: "display_item_num" "3";
35743          item: "min_height" "-1";
35744          item: "min_width" "-1";
35745       }
35746
35747       parts {
35748          part { name: "elm.swallow.icon";
35749             type: SWALLOW;
35750             description { state: "default" 0.0;
35751                fixed: 1 0;
35752                align: 0.0 0.5;
35753                rel1 {
35754                   relative: 0 0;
35755                   offset: 4 4;
35756                }
35757                rel2 {
35758                   relative: 0 1;
35759                   offset: 4 -5;
35760                }
35761             }
35762             description { state: "show" 0.0;
35763                inherit: "default" 0.0;
35764             }
35765             description { state: "default_small" 0.0;
35766                inherit: "default" 0.0;
35767                rel1.relative: 0 0.2;
35768                rel2.relative: 0 0.8;
35769             }
35770             description { state: "left_side" 0.0;
35771                inherit: "default" 0.0;
35772                rel1.relative: 0 0.2;
35773                rel2.relative: 0 0.8;
35774                color: 255 255 255 160;
35775             }
35776             description { state: "right_side" 0.0;
35777                inherit: "left_side" 0.0;
35778                rel1.relative: 0.4 0.2;
35779                rel2.relative: 0.4 0.8;
35780                color: 255 255 255 160;
35781             }
35782          }
35783          part { name: "elm.text";
35784             type: TEXT;
35785             mouse_events: 0;
35786             scale: 1;
35787             description { state: "default" 0.0;
35788                rel1.relative: 1 0.0;
35789                rel1.to_x: "elm.swallow.icon";
35790                rel2.relative: 1.0 1.0;
35791                color: 255 255 255 255;
35792                visible: 0;
35793                text {
35794                   font: "Sans,Edje-Vera";
35795                   size: 13;
35796                   align: 0.5 0.5;
35797                   min: 0 1;
35798                }
35799             }
35800             description { state: "show" 0.0;
35801                inherit: "default" 0.0;
35802                visible: 1;
35803             }
35804             description { state: "default_small" 0.0;
35805                inherit: "default" 0.0;
35806                visible: 1;
35807                text.size: 10;
35808             }
35809             description { state: "left_side" 0.0;
35810                inherit: "default" 0.0;
35811                color: 172 172 172 255;
35812                text.size: 10;
35813                visible: 1;
35814                text.align: 0.2 0.5;
35815             }
35816             description { state: "right_side" 0.0;
35817                inherit: "default" 0.0;
35818                color: 172 172 172 255;
35819                visible: 1;
35820                text.size: 10;
35821                text.align: 0.8 0.5;
35822             }
35823          }
35824       }
35825
35826       programs {
35827          program { name: "center_text";
35828             signal: "elm,state,center";
35829             source: "elm";
35830             action: STATE_SET "show" 0.0;
35831             target: "elm.text";
35832             target: "elm.swallow.icon";
35833          }
35834          program { name: "center_small_text";
35835             signal: "elm,state,center_small";
35836             source: "elm";
35837             action: STATE_SET "default_small" 0.0;
35838             target: "elm.text";
35839             target: "elm.swallow.icon";
35840          }
35841          program { name: "l_side_text";
35842             signal: "elm,state,left_side";
35843             source: "elm";
35844             action: STATE_SET "left_side" 0.0;
35845             target: "elm.text";
35846             target: "elm.swallow.icon";
35847          }
35848          program { name: "r_side_text";
35849             signal: "elm,state,right_side";
35850             source: "elm";
35851             action: STATE_SET "right_side" 0.0;
35852             target: "elm.text";
35853             target: "elm.swallow.icon";
35854          }
35855       }
35856    }
35857
35858    group { name: "elm/entry/path/separator/default";
35859       images.image: "arrow_right.png" COMP;
35860       parts {
35861          part { name: "icon";
35862             mouse_events: 0;
35863             description { state: "default" 0.0;
35864                image.normal: "arrow_right.png";
35865                max: 64 64;
35866                aspect: 1.0 1.0;
35867             }
35868          }
35869       }
35870    }
35871
35872    group { name: "elm/fileselector/base/default";
35873       data {
35874          item: "path_separator" "<item relsize=16x16 vsize=full href=path/separator></item>";
35875       }
35876       parts {
35877          part { name: "elm.swallow.up";
35878             type: SWALLOW;
35879             description { state: "default" 0.0;
35880                align: 0.0 0.0;
35881                min: 10 10;
35882                fixed: 1 1;
35883                rel2 {
35884                   relative: 0.0 0.0;
35885                   offset: 0 0;
35886                }
35887             }
35888          }
35889          part { name: "elm.swallow.home";
35890             type: SWALLOW;
35891             description { state: "default" 0.0;
35892                align: 0.0 0.0;
35893                min: 10 10;
35894                fixed: 1 1;
35895                rel1 {
35896                   to: "elm.swallow.up";
35897                   relative: 1.0 0.0;
35898                   offset: 5 0;
35899                }
35900                rel2 {
35901                   to: "elm.swallow.up";
35902                   relative: 1.0 1.0;
35903                   offset: 20 -1;
35904                }
35905             }
35906          }
35907          part { name: "elm.swallow.files";
35908             type: SWALLOW;
35909             description { state: "default" 0.0;
35910                align: 1.0 0.0;
35911                min: 10 10;
35912                fixed: 1 1;
35913                rel1 {
35914                   to_y: "elm.swallow.home";
35915                   relative: 0.0 1.0;
35916                   offset: 0 0;
35917                }
35918                rel2 {
35919                   to_y: "elm.swallow.path";
35920                   relative: 1.0 0.0;
35921                   offset: -1 -1;
35922                }
35923             }
35924          }
35925          part { name: "elm.swallow.path";
35926             type: SWALLOW;
35927             description { state: "default" 0.0;
35928                align: 0.5 1.0;
35929                fixed: 1 1;
35930                rel1 {
35931                   to_y: "elm.swallow.filename";
35932                   relative: 0.0 0.0;
35933                   offset: 0 -1;
35934                }
35935                rel2 {
35936                   to_y: "elm.swallow.filename";
35937                   relative: 1.0 0.0;
35938                   offset: -1 -1;
35939                }
35940             }
35941          }
35942          part { name: "elm.swallow.filename";
35943             type: SWALLOW;
35944             description { state: "default" 0.0;
35945                align: 0.5 1.0;
35946                fixed: 1 1;
35947                rel1 {
35948                   to_y: "elm.swallow.ok";
35949                   relative: 0.0 0.0;
35950                   offset: 0 -1;
35951                }
35952                rel2 {
35953                   to_y: "elm.swallow.ok";
35954                   relative: 1.0 0.0;
35955                   offset: -1 -1;
35956                }
35957             }
35958          }
35959          part { name: "elm.swallow.cancel";
35960             type: SWALLOW;
35961             description { state: "default" 0.0;
35962                align: 1.0 1.0;
35963                fixed: 1 1;
35964                rel1 {
35965                   to: "elm.swallow.ok";
35966                   relative: 0.0 0.0;
35967                   offset: -3 0;
35968                }
35969                rel2 {
35970                   to: "elm.swallow.ok";
35971                   relative: 0.0 1.0;
35972                   offset: -3 -1;
35973                }
35974             }
35975          }
35976          part { name: "elm.swallow.ok";
35977             type: SWALLOW;
35978             description { state: "default" 0.0;
35979                align: 1.0 1.0;
35980                fixed: 1 1;
35981                rel1 {
35982                   relative: 1.0 1.0;
35983                   offset: -1 -1;
35984                }
35985             }
35986          }
35987       }
35988    }
35989
35990    group { name: "elm/fileselector_entry/base/default";
35991       parts {
35992          part { name: "elm.swallow.entry";
35993             type: SWALLOW;
35994             description { state: "default" 0.0;
35995                align: 0.0 0.0;
35996                min: 50 10;
35997                rel2 { to_x: "elm.swallow.button";
35998                   relative: 0.0 1.0;
35999                   offset: -1 -1;
36000                }
36001             }
36002          }
36003          part { name: "elm.swallow.button";
36004             type: SWALLOW;
36005             description { state: "default" 0.0;
36006                align: 1.0 0.0;
36007                min: 10 10;
36008                fixed: 1 1;
36009                rel1 {
36010                   relative: 1.0 0.0;
36011                   offset: -21 0;
36012                }
36013             }
36014          }
36015       }
36016    }
36017
36018 ////////////////////////////////////////////////////////////////////////
36019 // Standard layouts to be used                                        //
36020 ////////////////////////////////////////////////////////////////////////
36021    /* application with toolbar and main content area */
36022    group { name: "elm/layout/application/toolbar-content";
36023       parts {
36024          part { name: "elm.swallow.content";
36025             type: SWALLOW;
36026             description { state: "default" 0.0;
36027                rel1 { to_y: "elm.external.toolbar";
36028                   relative: 0.0 1.0;
36029                   offset: -1 1;
36030                }
36031             }
36032          }
36033
36034          part { name: "elm.external.toolbar";
36035             type: EXTERNAL;
36036             source: "elm/toolbar";
36037             description { state: "default" 0.0;
36038                align: 0.5 0.0;
36039                fixed: 0 1;
36040                rel2 {
36041                   relative: 1.0 0.0;
36042                   offset: -1 47;
36043                }
36044             }
36045          }
36046       }
36047    }
36048
36049    /* application with toolbar and main content area with a back button and title area */
36050    group { name: "elm/layout/application/toolbar-content-back";
36051       parts {
36052          part { name: "elm.swallow.content";
36053             type: SWALLOW;
36054             description { state: "default" 0.0;
36055                rel1 { to_y: "title_clipper";
36056                   relative: 0.0 1.0;
36057                   offset: -1 1;
36058                }
36059             }
36060          }
36061
36062          part { name: "elm.external.toolbar";
36063             type: EXTERNAL;
36064             source: "elm/toolbar";
36065             description { state: "default" 0.0;
36066                fixed: 0 1;
36067                align: 0.5 0.0;
36068                rel2 {
36069                   relative: 1.0 0.0;
36070                   offset: -1 47;
36071                }
36072             }
36073          }
36074          part { name: "title_clipper";
36075             type: RECT;
36076             description { state: "default" 0.0;
36077                visible: 1;
36078                rel1 {
36079                   to_y: "back";
36080                }
36081                rel2 {
36082                   to_y: "back";
36083                }
36084             }
36085             description { state: "hidden" 0.0;
36086                inherit: "default" 0.0;
36087                visible: 0;
36088                rel2 {
36089                   relative: 1.0 0.0;
36090                }
36091             }
36092          }
36093          part { name: "back_clipper";
36094             type: RECT;
36095             clip_to: "title_clipper";
36096             description { state: "default" 0.0;
36097                visible: 1;
36098             }
36099             description { state: "hidden" 0.0;
36100                visible: 0;
36101             }
36102          }
36103          part { name: "back";
36104             type: EXTERNAL;
36105             source: "elm/button";
36106             clip_to: "back_clipper";
36107             description { state: "default" 0.0;
36108                align: 0.0 0.0;
36109                fixed: 1 1;
36110                rel1 { to_y: "elm.external.toolbar";
36111                   relative: 0.0 1.0;
36112                   offset: 0 1;
36113                }
36114                rel2 { to_y: "elm.external.toolbar";
36115                   relative: 0.0 1.0;
36116                   offset: 50 32;
36117                }
36118                params.string: "label" "Back";
36119             }
36120          }
36121          programs {
36122             program {
36123                signal: "clicked";
36124                source: "back";
36125                action: SIGNAL_EMIT "elm,action,back" "";
36126             }
36127             program {
36128                signal: "elm,back,hide";
36129                source: "elm";
36130                action: STATE_SET "hidden" 0.0;
36131                target: "back_clipper";
36132             }
36133             program {
36134                signal: "elm,back,show";
36135                source: "elm";
36136                action: STATE_SET "default" 0.0;
36137                target: "back_clipper";
36138             }
36139             program {
36140                signal: "elm,title,hide";
36141                source: "elm";
36142                action: STATE_SET "hidden" 0.0;
36143                transition: LINEAR 0.1;
36144                target: "title_clipper";
36145             }
36146             program {
36147                signal: "elm,title,show";
36148                source: "elm";
36149                action: STATE_SET "default" 0.0;
36150                target: "title_clipper";
36151             }
36152          }
36153
36154          part { name: "elm.swallow.end";
36155             type: SWALLOW;
36156             description { state: "default" 0.0;
36157                align: 1.0 0.0;
36158                fixed: 1 1;
36159                rel1 { to_y: "elm.external.toolbar";
36160                   relative: 1.0 1.0;
36161                   offset: -2 1;
36162                }
36163                rel2 { to_y: "elm.external.toolbar";
36164                   relative: 1.0 1.0;
36165                   offset: -1 32;
36166                }
36167             }
36168          }
36169
36170          part { name: "elm.text.title";
36171             type: TEXT;
36172             effect: SOFT_SHADOW;
36173             scale: 1;
36174             description { state: "default" 0.0;
36175                rel1 { to_y: "elm.external.toolbar";
36176                   to_x: "back";
36177                   relative: 1.0 1.0;
36178                   offset: 2 1;
36179                }
36180                rel2 { to_y: "back";
36181                   to_x: "elm.swallow.end";
36182                   relative: 0.0 1.0;
36183                   offset: -3 -1;
36184                }
36185                text {
36186                   font: "Sans:style=Bold";
36187                   size: 12;
36188                }
36189             }
36190          }
36191       }
36192    }
36193
36194    /* application with toolbar and main content area with a back and next buttons and title area */
36195    group { name: "elm/layout/application/toolbar-content-back-next";
36196       parts {
36197          part { name: "elm.swallow.content";
36198             type: SWALLOW;
36199             description { state: "default" 0.0;
36200                rel1 { to_y: "title_clipper";
36201                   relative: 0.0 1.0;
36202                   offset: -1 1;
36203                }
36204             }
36205          }
36206
36207          part { name: "elm.external.toolbar";
36208             type: EXTERNAL;
36209             source: "elm/toolbar";
36210             description { state: "default" 0.0;
36211                fixed: 0 1;
36212                align: 0.5 0.0;
36213                rel2 {
36214                   relative: 1.0 0.0;
36215                   offset: -1 47;
36216                }
36217             }
36218          }
36219          part { name: "title_clipper";
36220             type: RECT;
36221             description { state: "default" 0.0;
36222                visible: 1;
36223                rel1 {
36224                   to_y: "back";
36225                }
36226                rel2 {
36227                   to_y: "back";
36228                }
36229             }
36230             description { state: "hidden" 0.0;
36231                inherit: "default" 0.0;
36232                visible: 0;
36233                rel2 {
36234                   relative: 1.0 0.0;
36235                }
36236             }
36237          }
36238          part { name: "back";
36239             type: EXTERNAL;
36240             source: "elm/button";
36241             clip_to: "back_clipper";
36242             description { state: "default" 0.0;
36243                align: 0.0 0.0;
36244                fixed: 1 1;
36245                rel1 { to_y: "elm.external.toolbar";
36246                   relative: 0.0 1.0;
36247                   offset: 0 1;
36248                }
36249                rel2 { to_y: "elm.external.toolbar";
36250                   relative: 0.0 1.0;
36251                   offset: 50 32;
36252                }
36253                params.string: "label" "Back";
36254             }
36255          }
36256          part { name: "back_clipper";
36257             type: RECT;
36258             clip_to: "title_clipper";
36259             description { state: "default" 0.0;
36260                visible: 1;
36261             }
36262             description { state: "hidden" 0.0;
36263                visible: 0;
36264             }
36265          }
36266          part { name: "next";
36267             type: EXTERNAL;
36268             source: "elm/button";
36269             clip_to: "next_clipper";
36270             description { state: "default" 0.0;
36271                align: 1.0 0.0;
36272                fixed: 1 1;
36273                rel1 { to_y: "elm.external.toolbar";
36274                   relative: 1.0 1.0;
36275                   offset: -2 1;
36276                }
36277                rel2 { to_y: "elm.external.toolbar";
36278                   relative: 1.0 1.0;
36279                   offset: -1 32;
36280                }
36281                params.string: "label" "Next";
36282            }
36283          }
36284          part { name: "next_clipper";
36285             type: RECT;
36286             clip_to: "title_clipper";
36287             description { state: "default" 0.0;
36288                visible: 1;
36289             }
36290             description { state: "hidden" 0.0;
36291                visible: 0;
36292             }
36293          }
36294          programs {
36295             program {
36296                signal: "clicked";
36297                source: "back";
36298                action: SIGNAL_EMIT "elm,action,back" "";
36299             }
36300             program {
36301                signal: "elm,title,hide";
36302                source: "elm";
36303                action: STATE_SET "hidden" 0.0;
36304                transition: LINEAR 0.1;
36305                target: "title_clipper";
36306             }
36307             program {
36308                signal: "elm,title,show";
36309                source: "elm";
36310                action: STATE_SET "default" 0.0;
36311                target: "title_clipper";
36312             }
36313             program {
36314                signal: "elm,back,hide";
36315                source: "elm";
36316                action: STATE_SET "hidden" 0.0;
36317                target: "back_clipper";
36318             }
36319             program {
36320                signal: "elm,back,show";
36321                source: "elm";
36322                action: STATE_SET "default" 0.0;
36323                target: "back_clipper";
36324             }
36325             program {
36326                signal: "clicked";
36327                source: "next";
36328                action: SIGNAL_EMIT "elm,action,next" "";
36329             }
36330             program {
36331                signal: "elm,next,hide";
36332                source: "elm";
36333                action: STATE_SET "hidden" 0.0;
36334                target: "next_clipper";
36335             }
36336             program {
36337                signal: "elm,next,show";
36338                source: "elm";
36339                action: STATE_SET "default" 0.0;
36340                target: "next_clipper";
36341             }
36342          }
36343          part { name: "elm.text.title";
36344             type: TEXT;
36345             effect: SOFT_SHADOW;
36346             scale: 1;
36347             clip_to: "title_clipper";
36348             description { state: "default" 0.0;
36349                rel1 { to_y: "elm.external.toolbar";
36350                   to_x: "back";
36351                   relative: 1.0 1.0;
36352                   offset: 2 1;
36353                }
36354                rel2 { to_y: "back";
36355                   to_x: "next";
36356                   relative: 0.0 1.0;
36357                   offset: -3 -1;
36358                }
36359                text {
36360                   font: "Sans:style=Bold";
36361                   size: 12;
36362                }
36363             }
36364          }
36365       }
36366    }
36367    /* application with a main content area with a back button and title area */
36368    group { name: "elm/layout/application/content-back";
36369       parts {
36370          part { name: "elm.swallow.content";
36371             type: SWALLOW;
36372             description { state: "default" 0.0;
36373                rel1 { to_y: "title_clipper";
36374                   relative: 0.0 1.0;
36375                   offset: -1 1;
36376                }
36377             }
36378          }
36379          part { name: "title_clipper";
36380             type: RECT;
36381             description { state: "default" 0.0;
36382                visible: 1;
36383                rel1 {
36384                   to_y: "back";
36385                }
36386                rel2 {
36387                   to_y: "back";
36388                }
36389             }
36390             description { state: "hidden" 0.0;
36391                inherit: "default" 0.0;
36392                visible: 0;
36393                rel2 {
36394                   relative: 1.0 0.0;
36395                }
36396             }
36397          }
36398          part { name: "back_clipper";
36399             type: RECT;
36400             clip_to: "title_clipper";
36401             description { state: "default" 0.0;
36402                visible: 1;
36403             }
36404             description { state: "hidden" 0.0;
36405                visible: 0;
36406             }
36407          }
36408          part { name: "back";
36409             type: EXTERNAL;
36410             source: "elm/button";
36411             clip_to: "back_clipper";
36412             description { state: "default" 0.0;
36413                align: 0.0 0.0;
36414                fixed: 1 1;
36415                rel1 {
36416                   relative: 0.0 0.0;
36417                   offset: 0 1;
36418                }
36419                rel2 {
36420                   relative: 0.0 0.0;
36421                   offset: 50 32;
36422                }
36423                params.string: "label" "Back";
36424             }
36425          }
36426          programs {
36427             program {
36428                signal: "clicked";
36429                source: "back";
36430                action: SIGNAL_EMIT "elm,action,back" "";
36431             }
36432             program {
36433                signal: "elm,back,hide";
36434                source: "elm";
36435                action: STATE_SET "hidden" 0.0;
36436                target: "back_clipper";
36437             }
36438             program {
36439                signal: "elm,back,show";
36440                source: "elm";
36441                action: STATE_SET "default" 0.0;
36442                target: "back_clipper";
36443             }
36444             program {
36445                signal: "elm,title,hide";
36446                source: "elm";
36447                action: STATE_SET "hidden" 0.0;
36448                transition: LINEAR 0.1;
36449                target: "title_clipper";
36450             }
36451             program {
36452                signal: "elm,title,show";
36453                source: "elm";
36454                action: STATE_SET "default" 0.0;
36455                target: "title_clipper";
36456             }
36457          }
36458
36459          part { name: "elm.swallow.end";
36460             type: SWALLOW;
36461             description { state: "default" 0.0;
36462                align: 1.0 0.0;
36463                fixed: 1 1;
36464                rel1 {
36465                   relative: 1.0 0.0;
36466                   offset: -2 1;
36467                }
36468                rel2 {
36469                   relative: 1.0 1.0;
36470                   offset: -1 32;
36471                }
36472             }
36473          }
36474
36475          part { name: "elm.text.title";
36476             type: TEXT;
36477             effect: SOFT_SHADOW;
36478             scale: 1;
36479             description { state: "default" 0.0;
36480                rel1 {
36481                   to_x: "back";
36482                   relative: 1.0 0.0;
36483                   offset: 2 1;
36484                }
36485                rel2 { to_y: "back";
36486                   to_x: "elm.swallow.end";
36487                   relative: 0.0 1.0;
36488                   offset: -3 -1;
36489                }
36490                text {
36491                   font: "Sans:style=Bold";
36492                   size: 12;
36493                }
36494             }
36495          }
36496       }
36497    }
36498
36499    /* application with a main content area with a back and next buttons and title area */
36500    group { name: "elm/layout/application/content-back-next";
36501       parts {
36502          part { name: "elm.swallow.content";
36503             type: SWALLOW;
36504             description { state: "default" 0.0;
36505                rel1 { to_y: "title_clipper";
36506                   relative: 0.0 1.0;
36507                   offset: -1 1;
36508                }
36509             }
36510          }
36511
36512          part { name: "title_clipper";
36513             type: RECT;
36514             description { state: "default" 0.0;
36515                visible: 1;
36516                rel1 {
36517                   to_y: "back";
36518                }
36519                rel2 {
36520                   to_y: "back";
36521                }
36522             }
36523             description { state: "hidden" 0.0;
36524                inherit: "default" 0.0;
36525                visible: 0;
36526                rel2 {
36527                   relative: 1.0 0.0;
36528                }
36529             }
36530          }
36531          part { name: "back";
36532             type: EXTERNAL;
36533             source: "elm/button";
36534             clip_to: "back_clipper";
36535             description { state: "default" 0.0;
36536                align: 0.0 0.0;
36537                fixed: 1 1;
36538                rel1 {
36539                   relative: 0.0 0.0;
36540                   offset: 0 1;
36541                }
36542                rel2 {
36543                   relative: 0.0 0.0;
36544                   offset: 50 32;
36545                }
36546                params.string: "label" "Back";
36547             }
36548          }
36549          part { name: "back_clipper";
36550             type: RECT;
36551             clip_to: "title_clipper";
36552             description { state: "default" 0.0;
36553                visible: 1;
36554             }
36555             description { state: "hidden" 0.0;
36556                visible: 0;
36557             }
36558          }
36559          part { name: "next";
36560             type: EXTERNAL;
36561             source: "elm/button";
36562             clip_to: "next_clipper";
36563             description { state: "default" 0.0;
36564                align: 1.0 0.0;
36565                fixed: 1 1;
36566                rel1 {
36567                   relative: 1.0 0.0;
36568                   offset: -2 1;
36569                }
36570                rel2 {
36571                   relative: 1.0 0.0;
36572                   offset: -1 32;
36573                }
36574                params.string: "label" "Next";
36575            }
36576          }
36577          part { name: "next_clipper";
36578             type: RECT;
36579             clip_to: "title_clipper";
36580             description { state: "default" 0.0;
36581                visible: 1;
36582             }
36583             description { state: "hidden" 0.0;
36584                visible: 0;
36585             }
36586          }
36587          programs {
36588             program {
36589                signal: "clicked";
36590                source: "back";
36591                action: SIGNAL_EMIT "elm,action,back" "";
36592             }
36593             program {
36594                signal: "elm,title,hide";
36595                source: "elm";
36596                action: STATE_SET "hidden" 0.0;
36597                transition: LINEAR 0.1;
36598                target: "title_clipper";
36599             }
36600             program {
36601                signal: "elm,title,show";
36602                source: "elm";
36603                action: STATE_SET "default" 0.0;
36604                target: "title_clipper";
36605             }
36606             program {
36607                signal: "elm,back,hide";
36608                source: "elm";
36609                action: STATE_SET "hidden" 0.0;
36610                target: "back_clipper";
36611             }
36612             program {
36613                signal: "elm,back,show";
36614                source: "elm";
36615                action: STATE_SET "default" 0.0;
36616                target: "back_clipper";
36617             }
36618             program {
36619                signal: "clicked";
36620                source: "next";
36621                action: SIGNAL_EMIT "elm,action,next" "";
36622             }
36623             program {
36624                signal: "elm,next,hide";
36625                source: "elm";
36626                action: STATE_SET "hidden" 0.0;
36627                target: "next_clipper";
36628             }
36629             program {
36630                signal: "elm,next,show";
36631                source: "elm";
36632                action: STATE_SET "default" 0.0;
36633                target: "next_clipper";
36634             }
36635          }
36636          part { name: "elm.text.title";
36637             type: TEXT;
36638             effect: SOFT_SHADOW;
36639             scale: 1;
36640             clip_to: "title_clipper";
36641             description { state: "default" 0.0;
36642                rel1 {
36643                   to_x: "back";
36644                   relative: 1.0 0.0;
36645                   offset: 2 1;
36646                }
36647                rel2 { to_y: "back";
36648                   to_x: "next";
36649                   relative: 0.0 1.0;
36650                   offset: -3 -1;
36651                }
36652                text {
36653                   font: "Sans:style=Bold";
36654                   size: 12;
36655                }
36656             }
36657          }
36658       }
36659    }
36660
36661    /* application with toolbar and main content area as a vertical box */
36662    group { name: "elm/layout/application/toolbar-vbox";
36663       parts {
36664          part { name: "elm.box.content";
36665             type: BOX;
36666             description { state: "default" 0.0;
36667                rel1 { to_y: "elm.external.toolbar";
36668                   relative: 0.0 1.0;
36669                   offset: -1 1;
36670                }
36671                box.layout: "vertical";
36672             }
36673          }
36674
36675          part { name: "elm.external.toolbar";
36676             type: EXTERNAL;
36677             source: "elm/toolbar";
36678             description { state: "default" 0.0;
36679                align: 0.5 0.0;
36680                fixed: 0 1;
36681                rel2 {
36682                   relative: 1.0 0.0;
36683                   offset: -1 47;
36684                }
36685             }
36686          }
36687       }
36688    }
36689
36690    /* application with toolbar and main content area as a table */
36691    group { name: "elm/layout/application/toolbar-table";
36692       parts {
36693          part { name: "elm.table.content";
36694             type: TABLE;
36695             description { state: "default" 0.0;
36696                rel1 { to_y: "elm.external.toolbar";
36697                   relative: 0.0 1.0;
36698                   offset: -1 1;
36699                }
36700             }
36701          }
36702
36703          part { name: "elm.external.toolbar";
36704             type: EXTERNAL;
36705             source: "elm/toolbar";
36706             description { state: "default" 0.0;
36707                align: 0.5 0.0;
36708                fixed: 0 1;
36709                rel2 {
36710                   relative: 1.0 0.0;
36711                   offset: -1 47;
36712                }
36713             }
36714          }
36715       }
36716    }
36717
36718 ///////////////////////////////////////////////////////////////////////////////
36719    group { name: "elm/segment_control/base/default";
36720 #define SEGMENT_TYPE_SINGLE 1
36721 #define SEGMENT_TYPE_LEFT 2
36722 #define SEGMENT_TYPE_MIDDLE 3
36723 #define SEGMENT_TYPE_RIGHT 4
36724 #define SEGMENT_STATE_NORMAL 1
36725 #define SEGMENT_STATE_PRESSED 2
36726 #define SEGMENT_STATE_SELECTED 3
36727 #define SEGMENT_STATUS_ENABLED 0
36728 #define SEGMENT_STATUS_DISABLED 1
36729       parts {
36730          part { name: "bg";
36731             type: RECT;
36732             mouse_events: 0;
36733             scale: 1;
36734             description {
36735                state: "default" 0.0;
36736                color: 0 0 0 0;
36737                min: 100 40;
36738             }
36739          }
36740       }
36741    }
36742    group { name: "elm/segment_control/item/default";
36743       data.item: "label.wrap.part" "label.bg";
36744       styles {
36745          style { name: "seg_text_style_normal";
36746             base: "font=Sans font_size=16 style=shadow \
36747             shadow_color=#2924224d \
36748             align=center \
36749             color=#ffffffff wrap=char text_class=label";
36750             tag:  "br" "\n";
36751             tag:  "hilight" "+ font=Sans:style=Bold";
36752             tag:  "tab" "\t";
36753          }
36754          style { name: "seg_text_style_selected";
36755             base: "font=Sans:style=Bold font_size=16 style=shadow \
36756             shadow_color=#aaaaaa4d \
36757             align=center \
36758             color=#111111ff wrap=char text_class=label";
36759             tag:  "br" "\n";
36760             tag:  "hilight" "+ font=Sans:style=Bold";
36761             tag:  "b" "+ font=Sans:style=Bold";
36762             tag:  "tab" "\t";
36763          }
36764          style { name: "seg_text_style_disabled";
36765             base: "font=Sans:style=Medium font_size=16 style=shadow \
36766             shadow_color=#2924224d \
36767             align=center color=#2924224d \
36768             wrap=char text_class=label";
36769             tag:  "br" "\n";
36770             tag:  "hilight" "+ font=Sans:style=Bold";
36771             tag:  "b" "+ font=Sans:style=Bold";
36772             tag:  "tab" "\t";
36773          }
36774       }
36775       images {
36776          image: "seg_single_pressed.png" COMP;
36777          image: "seg_single_selected.png" COMP;
36778          image: "seg_single_normal.png" COMP;
36779
36780          image: "seg_left_pressed.png" COMP;
36781          image: "seg_left_selected.png" COMP;
36782          image: "seg_left_normal.png" COMP;
36783
36784          image: "seg_middle_pressed.png" COMP;
36785          image: "seg_middle_selected.png" COMP;
36786          image: "seg_middle_normal.png" COMP;
36787
36788          image: "seg_right_pressed.png" COMP;
36789          image: "seg_right_selected.png" COMP;
36790          image: "seg_right_normal.png" COMP;
36791       }
36792       parts {
36793          part { name: "segment";
36794             mouse_events: 1;
36795             scale: 1;
36796             description { state: "default" 0.0;
36797                min: 1 1;
36798                visible: 0;
36799                image {
36800                   normal: "seg_single_normal.png";
36801                   border: 7 7 7 7;
36802                   border_scale: 1;
36803                   middle: 1;
36804                }
36805             }
36806             description { state: "default_single" 0.0;
36807                inherit: "default" 0.0;
36808                visible: 1;
36809                image {
36810                   normal: "seg_single_normal.png";
36811                   border: 7 7 7 7;
36812                }
36813             }
36814             description { state: "default_left" 0.0;
36815                inherit: "default" 0.0;
36816                visible: 1;
36817                image {
36818                normal: "seg_left_normal.png";
36819                   border:  6 1 7 7;
36820                }
36821             }
36822             description { state: "default_right" 0.0;
36823                inherit: "default" 0.0;
36824                visible: 1;
36825                image {
36826                   normal: "seg_right_normal.png";
36827                   border: 1 6 7 7;
36828                }
36829             }
36830             description { state: "default_middle" 0.0;
36831                inherit: "default" 0.0;
36832                visible: 1;
36833                image {
36834                   normal: "seg_middle_normal.png";
36835                   border: 2 2 2 2;
36836                }
36837             }
36838             description { state: "pressed_single" 0.0;
36839                inherit: "default" 0.0;
36840                visible: 1;
36841                image {
36842                   normal: "seg_single_pressed.png";
36843                   border: 7 7 7 7;
36844                }
36845             }
36846             description { state: "pressed_left" 0.0;
36847                inherit: "default" 0.0;
36848                visible: 1;
36849                image {
36850                   normal: "seg_left_pressed.png";
36851                   border:  6 1 7 7;
36852                }
36853             }
36854             description { state: "pressed_right" 0.0;
36855                inherit: "default" 0.0;
36856                visible: 1;
36857                image {
36858                   normal: "seg_right_pressed.png";
36859                   border: 1 6 7 7;
36860                }
36861             }
36862             description { state: "pressed_middle" 0.0;
36863                inherit: "default" 0.0;
36864                visible: 1;
36865                image {
36866                   normal: "seg_middle_pressed.png";
36867                   border: 1 1 2 2;
36868                }
36869             }
36870             description { state: "selected_single" 0.0;
36871                inherit: "default" 0.0;
36872                visible: 1;
36873                image {
36874                   normal: "seg_single_selected.png";
36875                   border: 7 7 7 7;
36876                }
36877             }
36878             description { state: "selected_left" 0.0;
36879                inherit: "default" 0.0;
36880                visible: 1;
36881                image {
36882                   normal: "seg_left_selected.png";
36883                   border:  6 3 7 7;
36884                }
36885             }
36886             description { state: "selected_right" 0.0;
36887                inherit: "default" 0.0;
36888                visible: 1;
36889                image {
36890                   normal: "seg_right_selected.png";
36891                   border: 3 6 7 7;
36892                }
36893             }
36894             description { state: "selected_middle" 0.0;
36895                inherit: "default" 0.0;
36896                visible: 1;
36897                image {
36898                   normal: "seg_middle_selected.png";
36899                   border: 3 3 3 3;
36900                }
36901             }
36902          }
36903          part { name: "padding_left";
36904             type: RECT;
36905             scale: 1;
36906             mouse_events: 0;
36907             description { state: "default" 0.0;
36908                align: 0.0 0.0;
36909                rel1.relative: 0.0 0.0;
36910                rel2.relative: 0.0 1.0;
36911                min: 2 2;
36912                max: 2 2;
36913                fixed: 1 0;
36914                color: 0 0 0 0;
36915             }
36916          }
36917          part { name: "padding_right";
36918             type: RECT;
36919             scale: 1;
36920             mouse_events: 0;
36921             description { state: "default" 0.0;
36922                align: 1.0 0.0;
36923                rel1.relative: 1.0 0.0;
36924                rel2.relative: 1.0 1.0;
36925                min: 2 2;
36926                max: 2 2;
36927                fixed: 1 0;
36928                color: 0 0 0 0;
36929             }
36930          }
36931          part { name: "padding_top";
36932             type: RECT;
36933             scale: 1;
36934             mouse_events: 0;
36935             description { state: "default" 0.0;
36936                align: 0.0 0.0;
36937                rel1.relative: 0.0 0.0;
36938                rel2.relative: 1.0 0.0;
36939                min: 2 2;
36940                max: 2 2;
36941                fixed: 0 1;
36942                color: 0 0 0 0;
36943             }
36944          }
36945          part { name: "padding_bottom";
36946             type: RECT;
36947             scale: 1;
36948             mouse_events: 0;
36949             description { state: "default" 0.0;
36950                align: 1.0 1.0;
36951                rel1.relative: 0.0 1.0;
36952                rel2.relative: 1.0 1.0;
36953                min: 2 2;
36954                max: 2 2;
36955                fixed: 0 1;
36956                color: 0 0 0 0;
36957             }
36958          }
36959          part { name: "icon.bg";
36960             type: RECT;
36961             scale: 1;
36962             mouse_events: 0;
36963             description { state: "default" 0.0;
36964                visible: 1;
36965                fixed: 1 0;
36966                rel1 {
36967                   to_x: "padding_left";
36968                   to_y: "padding_top";
36969                   relative: 1.0 1.0;
36970                }
36971                rel2 {
36972                   to: "elm.swallow.icon";
36973                   relative: 1.0 1.0;
36974                }
36975                align: 0.0 0.5;
36976                color: 0 0 0 0;
36977             }
36978          }
36979          part { name: "padding_icon_text";
36980             type: RECT;
36981             scale: 1;
36982             mouse_events: 0;
36983             description { state: "default" 0.0; //when only icon or no icon is there
36984                align: 0.0 0.0;
36985                rel1 {
36986                   to: "icon.bg";
36987                   relative: 1.0 0.0;
36988                }
36989                rel2 {
36990                   to: "icon.bg";
36991                   relative: 1.0 1.0;
36992                }
36993                fixed: 1 0;
36994                min: 0 0;
36995                color: 0 0 0 0;
36996             }
36997             description { state: "icononly" 0.0;
36998                inherit: "default" 0.0;
36999             }
37000             description { state: "visible" 0.0; //when icon is visible
37001                inherit: "default" 0.0;
37002                min: 2 0;
37003             }
37004          }
37005          part { name: "elm.swallow.icon";
37006             type: SWALLOW;
37007             scale: 1;
37008             description { state: "default" 0.0;
37009                visible: 0;
37010                align: 0.0 0.5;
37011                rel1 {
37012                   to_x: "padding_left";
37013                   to_y: "padding_top";
37014                   relative: 1.0 1.0;
37015                }
37016                rel2 {
37017                   to_y: "padding_bottom";
37018                   relative: 0.0 0.0;
37019                }
37020                fixed: 1 0;
37021                aspect: 1.0 1.0;
37022                aspect_preference: BOTH;
37023             }
37024             description { state: "visible" 0.0;
37025                inherit: "default" 0.0;
37026                visible: 1;
37027                rel2 {
37028                   to_y: "padding_bottom";
37029                   relative: 0.3 0.0;
37030                }
37031             }
37032             description { state: "icononly" 0.0;
37033                inherit: "default" 0.0;
37034                visible: 1;
37035                rel2 {
37036                   to_x: "padding_right";
37037                   to_y: "padding_bottom";
37038                   relative: 0.0 0.0;
37039                }
37040                align: 0.5 0.5;
37041             }
37042          }
37043          part { name: "elm.text";
37044             type: TEXT;
37045             mouse_events: 0;
37046             scale: 1;
37047             description {
37048                state: "default" 0.0;
37049                visible: 0;
37050                fixed: 1 1;
37051                min: 1 1;
37052                rel1 {
37053                   to_x: "padding_icon_text";
37054                   relative: 1.0 1.0;
37055                }
37056                rel2 {
37057                   to_x: "padding_right";
37058                   relative: 0.0 0.0;
37059                }
37060                color: 224 224 224 255;
37061                color3: 0 0 0 64;
37062                text {
37063                   font: "Sans";
37064                   ellipsis: 0.0;
37065                   fit: 1 1;
37066                   size: 24;
37067                   size_range: 8 36;
37068                   min: 0 1;
37069                }
37070             }
37071             description { state: "normal" 0.0;
37072                inherit: "default" 0.0;
37073                visible: 1;
37074             }
37075             description { state: "pressed" 0.0;
37076                inherit: "default" 0.0;
37077                visible: 1;
37078                color: 0 0 0 255;
37079             }
37080             description { state: "selected" 0.0;
37081                inherit: "default" 0.0;
37082                visible: 1;
37083                color: 50 50 50 255;
37084             }
37085             description { state: "disabled" 0.0;
37086                inherit: "default" 0.0;
37087                visible: 1;
37088                color: 200 200 200 255;
37089             }
37090          }
37091          part { name: "disabler";
37092             repeat_events: 0;
37093             scale: 1;
37094             description { state: "default" 0.0;
37095                visible: 0;
37096                fixed: 1 1;
37097                min: 1 1;
37098                align: 0.0 0.5;
37099                rel1 { relative: 0.0 0.0; to: "segment";}
37100                rel2 { relative: 1.0 1.0; to: "segment";}
37101                color: 255 255 255 150;
37102             }
37103             description { state: "disabled_single" 0.0;
37104                inherit: "default" 0.0;
37105                visible: 1;
37106                image {
37107                   normal: "seg_single_normal.png";
37108                   border: 7 7 7 7;
37109                }
37110             }
37111             description { state: "disabled_left" 0.0;
37112                inherit: "default" 0.0;
37113                visible: 1;
37114                image {
37115                   normal: "seg_left_normal.png";
37116                   border:  6 1 7 7;
37117                }
37118             }
37119             description { state: "disabled_right" 0.0;
37120                inherit: "default" 0.0;
37121                visible: 1;
37122                image {
37123                   normal: "seg_right_normal.png";
37124                   border: 1 6 7 7;
37125                }
37126             }
37127             description { state: "disabled_middle" 0.0;
37128                inherit: "default" 0.0;
37129                visible: 1;
37130                image {
37131                   normal: "seg_middle_normal.png";
37132                   border: 2 2 2 2;
37133                }
37134             }
37135          }
37136       }
37137       programs {
37138          script {
37139             public seg_type; // Single, Left, Middle, Right.
37140             public seg_state; // Normal/Default, Pressed, Selected.
37141             public seg_status;// Enabled/Default, Disabled
37142
37143             public update_state() {
37144                new type, state, disabled;
37145                type = get_int(seg_type);
37146                state = get_int(seg_state);
37147                disabled = get_int(seg_status);
37148
37149                if(state == SEGMENT_STATE_NORMAL)
37150                  {
37151                     if(type == SEGMENT_TYPE_SINGLE)
37152                       set_state(PART:"segment", "default_single", 0.0);
37153                     else if(type == SEGMENT_TYPE_LEFT)
37154                       set_state(PART:"segment", "default_left", 0.0);
37155                     else if(type == SEGMENT_TYPE_MIDDLE)
37156                       set_state(PART:"segment", "default_middle", 0.0);
37157                     else if(type == SEGMENT_TYPE_RIGHT)
37158                       set_state(PART:"segment", "default_right", 0.0);
37159                     set_state(PART:"elm.text", "normal", 0.0);
37160                  }
37161                else if(state == SEGMENT_STATE_PRESSED)
37162                  {
37163                     if(type == SEGMENT_TYPE_SINGLE)
37164                       set_state(PART:"segment", "pressed_single", 0.0);
37165                     else if(type == SEGMENT_TYPE_LEFT)
37166                       set_state(PART:"segment", "pressed_left", 0.0);
37167                     else if(type == SEGMENT_TYPE_MIDDLE)
37168                       set_state(PART:"segment", "pressed_middle", 0.0);
37169                     else if(type == SEGMENT_TYPE_RIGHT)
37170                       set_state(PART:"segment", "pressed_right", 0.0);
37171                     set_state(PART:"elm.text", "pressed", 0.0);
37172                  }
37173                else if(state == SEGMENT_STATE_SELECTED)
37174                  {
37175                     if(type == SEGMENT_TYPE_SINGLE)
37176                       set_state(PART:"segment", "selected_single", 0.0);
37177                     else if(type == SEGMENT_TYPE_LEFT)
37178                       set_state(PART:"segment", "selected_left", 0.0);
37179                     else if(type == SEGMENT_TYPE_MIDDLE)
37180                       set_state(PART:"segment", "selected_middle", 0.0);
37181                     else if(type == SEGMENT_TYPE_RIGHT)
37182                       set_state(PART:"segment", "selected_right", 0.0);
37183                     set_state(PART:"elm.text", "selected", 0.0);
37184                  }
37185                if(disabled == SEGMENT_STATUS_DISABLED)
37186                  {
37187                     if(type == SEGMENT_TYPE_SINGLE)
37188                       set_state(PART:"disabler", "disabled_single", 0.0);
37189                     else if(type == SEGMENT_TYPE_LEFT)
37190                       set_state(PART:"disabler", "disabled_left", 0.0);
37191                     else if(type == SEGMENT_TYPE_MIDDLE)
37192                       set_state(PART:"disabler", "disabled_middle", 0.0);
37193                     else if(type == SEGMENT_TYPE_RIGHT)
37194                       set_state(PART:"disabler", "disabled_right", 0.0);
37195                     set_state(PART:"elm.text", "disabled", 0.0);
37196                  }
37197             }
37198          }
37199          program {
37200             name: "segment_type_s";
37201             signal: "elm,type,segment,single";
37202             source: "elm";
37203             script {
37204                set_int(seg_type, SEGMENT_TYPE_SINGLE);
37205                update_state();
37206             }
37207          }
37208          program {
37209             name: "segment_type_l";
37210             signal: "elm,type,segment,left";
37211             source: "elm";
37212             script {
37213                set_int(seg_type, SEGMENT_TYPE_LEFT);
37214                update_state();
37215             }
37216          }
37217          program {
37218             name: "segment_type_m";
37219             signal: "elm,type,segment,middle";
37220             source: "elm";
37221             script {
37222                set_int(seg_type, SEGMENT_TYPE_MIDDLE);
37223                update_state();
37224             }
37225          }
37226          program {
37227             name: "segment_type_r";
37228             signal: "elm,type,segment,right";
37229             source: "elm";
37230             script {
37231                set_int(seg_type, SEGMENT_TYPE_RIGHT);
37232                update_state();
37233             }
37234          }
37235          program {
37236             name: "normal_segment";
37237             signal: "elm,state,segment,normal";
37238             source: "elm";
37239             script {
37240                set_int(seg_state, SEGMENT_STATE_NORMAL);
37241                update_state();
37242             }
37243          }
37244          program {
37245             name: "pressed_segment";
37246             signal: "elm,state,segment,pressed";
37247             source: "elm";
37248             script {
37249                set_int(seg_state, SEGMENT_STATE_PRESSED);
37250                update_state();
37251             }
37252          }
37253          program {
37254             name: "selected_segment";
37255             signal: "elm,state,segment,selected";
37256             source: "elm";
37257             script {
37258                set_int(seg_state, SEGMENT_STATE_SELECTED);
37259                update_state();
37260             }
37261          }
37262          program { name: "disable_segment";
37263             signal: "elm,state,disabled";
37264             source: "elm";
37265             script {
37266                set_int(seg_status, SEGMENT_STATUS_DISABLED);
37267                update_state();
37268             }
37269          }
37270          program { name: "enable_segment";
37271             signal: "elm,state,enabled";
37272             source: "elm";
37273             script {
37274                set_int(seg_status, SEGMENT_STATUS_ENABLED);
37275                update_state();
37276             }
37277          }
37278          program { name: "text_show";
37279             signal: "elm,state,text,visible";
37280             source: "elm";
37281             script {
37282                new st[31];
37283                new Float:vl;
37284                get_state(PART:"elm.swallow.icon", st, 30, vl);
37285                if (!strcmp(st, "icononly"))
37286                  {
37287                     set_state(PART:"elm.swallow.icon", "visible", 0.0);
37288                     set_state(PART:"padding_icon_text", "visible", 0.0);
37289                  }
37290                get_state(PART:"elm.text", st, 30, vl);
37291                if (!strcmp(st, "selected"))
37292                   set_state(PART:"elm.text", "selected", 0.0);
37293                else
37294                   set_state(PART:"elm.text", "normal", 0.0);
37295             }
37296          }
37297          program { name: "text_hide";
37298             signal: "elm,state,text,hidden";
37299             source: "elm";
37300             script {
37301                new st[31];
37302                new Float:vl;
37303                get_state(PART:"elm.swallow.icon", st, 30, vl);
37304                if (!strcmp(st, "visible"))
37305                  {
37306                     set_state(PART:"elm.swallow.icon", "icononly", 0.0);
37307                     set_state(PART:"padding_icon_text", "icononly", 0.0);
37308                  }
37309                set_state(PART:"elm.text", "default", 0.0);
37310             }
37311          }
37312          program { name: "icon_show";
37313             signal: "elm,state,icon,visible";
37314             source: "elm";
37315             script {
37316                new st[31];
37317                new Float:vl;
37318                get_state(PART:"elm.text", st, 30, vl);
37319                if ((!strcmp(st, "normal")) || (!strcmp(st, "selected")))
37320                  {
37321                     set_state(PART:"elm.swallow.icon", "visible", 0.0);
37322                     set_state(PART:"padding_icon_text", "visible", 0.0);
37323                  }
37324                else
37325                  {
37326                     set_state(PART:"elm.swallow.icon", "icononly", 0.0);
37327                     set_state(PART:"padding_icon_text", "icononly", 0.0);
37328                  }
37329             }
37330          }
37331          program { name: "icon_hide";
37332             signal: "elm,state,icon,hidden";
37333             source: "elm";
37334             action:  STATE_SET "default" 0.0;
37335             target: "elm.swallow.icon";
37336          }
37337       }
37338 #undef SEGMENT_TYPE_SINGLE
37339 #undef SEGMENT_TYPE_LEFT
37340 #undef SEGMENT_TYPE_MIDDLE
37341 #undef SEGMENT_TYPE_RIGHT
37342 #undef SEGMENT_STATE_NORMAL
37343 #undef SEGMENT_STATE_PRESSED
37344 #undef SEGMENT_STATE_SELECTED
37345 #undef SEGMENT_STATUS_ENABLED
37346 #undef SEGMENT_STATUS_DISABLED
37347    }
37348
37349    /* a simple title layout, with a label and two icons */
37350    group { name: "elm/layout/application/titlebar";
37351       images {
37352          image: "toolbar_sel.png" COMP;
37353       }
37354       parts {
37355          part { name: "base";
37356             mouse_events: 0;
37357             scale: 1;
37358             description { state: "default" 0.0;
37359                min: 0 33;
37360                max: 99999 33;
37361                align: 0.5 0.0;
37362                rel1.offset: -1 0;
37363                rel2.offset: 1 0;
37364                image {
37365                   normal: "toolbar_sel.png";
37366                   border: 3 3 0 0;
37367                }
37368             }
37369          }
37370          part { name: "elm.swallow.content";
37371             type: SWALLOW;
37372             description { state: "default" 0.0;
37373                visible: 1;
37374                rel1 {
37375                   to: "base";
37376                   relative: 0.0 1.0;
37377                }
37378             }
37379          }
37380          part { name: "elm.swallow.icon";
37381             type: SWALLOW;
37382             scale: 1;
37383             description { state: "default" 0.0;
37384                visible: 0;
37385                fixed: 1 1;
37386                align: 0.0 0.0;
37387                rel1 {
37388                   to: "base";
37389                   relative: 0.0 0.0;
37390                   offset: 4 0;
37391                }
37392                rel2 {
37393                   to: "base";
37394                   relative: 0.0 1.0;
37395                }
37396             }
37397             description { state: "visible" 0.0;
37398                inherit: "default" 0.0;
37399                visible: 1;
37400             }
37401          }
37402          part { name: "elm.swallow.end";
37403             type: SWALLOW;
37404             scale: 1;
37405             description { state: "default" 0.0;
37406                visible: 0;
37407                fixed: 1 1;
37408                align: 1.0 0.0;
37409                rel1 {
37410                   to: "base";
37411                   relative: 1.0 0.0;
37412                   offset: 0 0;
37413                }
37414                rel2 {
37415                   to: "base";
37416                   relative: 1.0 1.0;
37417                   offset: -5 -1;
37418                }
37419             }
37420             description { state: "visible" 0.0;
37421                inherit: "default" 0.0;
37422                visible: 1;
37423             }
37424          }
37425          part { name: "elm.text";
37426             type: TEXT;
37427             effect: SOFT_SHADOW;
37428             mouse_events: 0;
37429             scale: 1;
37430             description { state: "default" 0.0;
37431                fixed: 1 1;
37432                rel1 {
37433                   to_x: "elm.swallow.icon";
37434                   to_y: "base";
37435                   relative: 1.0 0.0;
37436                }
37437                rel2 {
37438                   to_x: "elm.swallow.end";
37439                   to_y: "base";
37440                   relative: 0.0 1.0;
37441                }
37442                text {
37443                   font: "Sans";
37444                   size: 12;
37445                   min: 0 0;
37446                   align: 0.5 0.5;
37447                   text_class: "title_bar";
37448                }
37449             }
37450          }
37451       }
37452       programs {
37453          program { name: "show_icon";
37454             signal: "elm,state,icon,visible";
37455             source: "elm";
37456             action: STATE_SET "visible" 0.0;
37457             target: "elm.swallow.icon";
37458          }
37459          program { name: "hide_icon";
37460             signal: "elm,state,icon,hidden";
37461             source: "elm";
37462             action: STATE_SET "default" 0.0;
37463             target: "elm.swallow.icon";
37464          }
37465          program { name: "show_end";
37466             signal: "elm,state,end,visible";
37467             source: "elm";
37468             action: STATE_SET "visible" 0.0;
37469             target: "elm.swallow.end";
37470          }
37471          program { name: "hide_end";
37472             signal: "elm,state,end,hidden";
37473             source: "elm";
37474             action: STATE_SET "default" 0.0;
37475             target: "elm.swallow.end";
37476          }
37477       }
37478    }
37479 }
37480
37481
37482
37483