and use the new valign mojo for tb.. yay!
[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 ///////////////////////////////////////////////////////////////////////////////
26009    group { name: "elm/pager/base/default";
26010       data.item: "onshow" "raise";
26011 // other options
26012 //      data.item: "onhide" "lower";
26013 //      data.item: "onshow" "lower";
26014       images {
26015          image: "frame_1.png" COMP;
26016          image: "frame_2.png" COMP;
26017          image: "dia_grad.png" COMP;
26018       }
26019       parts {
26020          part { name: "clip";
26021             type: RECT;
26022             mouse_events: 0;
26023             description { state: "default" 0.0;
26024                rel1 {
26025                   to: "base";
26026                   offset: -9999 -9999;
26027                }
26028                rel2 {
26029                   to: "base";
26030                   offset: 9999 9999;
26031                }
26032                color: 255 255 255 255;
26033             }
26034             description { state: "visible" 0.0;
26035                inherit: "default" 0.0;
26036             }
26037             description { state: "hidden" 0.0;
26038                inherit: "default" 0.0;
26039                color: 255 255 255 0;
26040                visible: 0;
26041             }
26042          }
26043          part { name: "base0";
26044             mouse_events:  0;
26045             clip_to: "clip";
26046             description { state: "default" 0.0;
26047                image.normal: "dia_grad.png";
26048                rel1.to: "over";
26049                rel2.to: "over";
26050                fill {
26051                   smooth: 0;
26052                   size {
26053                      relative: 0.0 1.0;
26054                      offset: 64 0;
26055                   }
26056                }
26057             }
26058          }
26059          part { name: "base";
26060             mouse_events:  0;
26061             clip_to: "clip";
26062             description { state: "default" 0.0;
26063                image {
26064                   normal: "frame_2.png";
26065                   border: 5 5 32 26;
26066                   middle: 0;
26067                }
26068                fill.smooth : 0;
26069             }
26070             description { state: "hidden" 0.0;
26071                inherit: "default" 0.0;
26072                rel1.relative: -1.0 0.0;
26073                rel2.relative: 0.0 1.0;
26074             }
26075             description { state: "visible" 0.0;
26076                inherit: "default" 0.0;
26077                rel1.relative: 0.0 0.0;
26078                rel2.relative: 1.0 1.0;
26079             }
26080          }
26081          part { name: "over";
26082             mouse_events:  0;
26083             clip_to: "clip";
26084             description { state:    "default" 0.0;
26085                rel1 {
26086                   to: "base";
26087                   offset: 4 4;
26088                }
26089                rel2 {
26090                   to: "base";
26091                   offset: -5 -5;
26092                }
26093                image {
26094                   normal: "frame_1.png";
26095                   border: 2 2 28 22;
26096                   middle: 0;
26097                }
26098                fill.smooth : 0;
26099             }
26100          }
26101          part { name: "elm.swallow.content";
26102             type: SWALLOW;
26103             clip_to: "clip";
26104             description { state: "default" 0.0;
26105                rel1 {
26106                   to: "base";
26107                   offset: 8 8;
26108                }
26109                rel2 {
26110                   to: "base";
26111                   offset: -9 -9;
26112                }
26113             }
26114          }
26115       }
26116       programs {
26117          program { name: "push_start";
26118             signal: "elm,action,push";
26119             source: "elm";
26120             action:  STATE_SET "hidden" 0.0;
26121             target: "base";
26122             target: "clip";
26123             after: "show_start2";
26124          }
26125          program { name: "show_start";
26126             signal: "elm,action,show";
26127             source: "elm";
26128             action:  STATE_SET "hidden" 0.0;
26129             target: "base";
26130             target: "clip";
26131             after: "show_start2";
26132          }
26133          program { name: "show_start2";
26134             action:  STATE_SET "visible" 0.0;
26135             transition: DECELERATE 0.5;
26136             target: "base";
26137             target: "clip";
26138             after: "show_end";
26139          }
26140          program { name: "show_end";
26141             action: SIGNAL_EMIT "elm,action,show,finished" "";
26142          }
26143          program { name: "pop_start";
26144             signal: "elm,action,pop";
26145             source: "elm";
26146             action:  STATE_SET "visible" 0.0;
26147             target: "base";
26148             target: "clip";
26149             after: "hide_start2";
26150          }
26151          program { name: "hide_start";
26152             signal: "elm,action,hide";
26153             source: "elm";
26154             action:  STATE_SET "visible" 0.0;
26155             target: "base";
26156             target: "clip";
26157             after: "hide_start2";
26158          }
26159          program { name: "hide_start2";
26160             action:  STATE_SET "hidden" 0.0;
26161             transition: DECELERATE 0.5;
26162             target: "base";
26163             target: "clip";
26164             after: "hide_end";
26165          }
26166          program { name: "hide_end";
26167             action: SIGNAL_EMIT "elm,action,hide,finished" "";
26168          }
26169          program { name: "reset";
26170             signal: "elm,action,reset";
26171             source: "elm";
26172             action:  STATE_SET "default" 0.0;
26173             target: "base";
26174             target: "clip";
26175          }
26176       }
26177    }
26178
26179    group { name: "elm/pager/base/slide";
26180       images {
26181          image: "frame_1.png" COMP;
26182          image: "frame_2.png" COMP;
26183          image: "dia_grad.png" COMP;
26184       }
26185       parts {
26186          part { name: "clip";
26187             type: RECT;
26188             mouse_events: 0;
26189             description { state: "default" 0.0;
26190                rel1 {
26191                   to: "base";
26192                   offset: -9999 -9999;
26193                }
26194                rel2 {
26195                   to: "base";
26196                   offset: 9999 9999;
26197                }
26198                color: 255 255 255 255;
26199             }
26200             description { state: "visible" 0.0;
26201                inherit: "default" 0.0;
26202             }
26203             description { state: "hidden" 0.0;
26204                inherit: "default" 0.0;
26205                color: 255 255 255 0;
26206                visible: 0;
26207             }
26208             description { state: "hidden2" 0.0;
26209                inherit: "default" 0.0;
26210                color: 255 255 255 0;
26211                visible: 0;
26212             }
26213          }
26214          part { name: "base0";
26215             mouse_events:  0;
26216             clip_to: "clip";
26217             description { state: "default" 0.0;
26218                image.normal: "dia_grad.png";
26219                rel1.to: "over";
26220                rel2.to: "over";
26221                fill {
26222                   smooth: 0;
26223                   size {
26224                      relative: 0.0 1.0;
26225                      offset: 64 0;
26226                   }
26227                }
26228             }
26229          }
26230          part { name: "base";
26231             mouse_events:  0;
26232             clip_to: "clip";
26233             description { state: "default" 0.0;
26234                image {
26235                   normal: "frame_2.png";
26236                   border: 5 5 32 26;
26237                   middle: 0;
26238                }
26239                fill.smooth : 0;
26240             }
26241             description { state: "hidden" 0.0;
26242                inherit: "default" 0.0;
26243                rel1.relative: -1.0 0.0;
26244                rel2.relative: 0.0 1.0;
26245             }
26246             description { state: "hidden2" 0.0;
26247                inherit: "default" 0.0;
26248                rel1.relative: 1.0 0.0;
26249                rel2.relative: 2.0 1.0;
26250             }
26251             description { state: "visible" 0.0;
26252                inherit: "default" 0.0;
26253                rel1.relative: 0.0 0.0;
26254                rel2.relative: 1.0 1.0;
26255             }
26256          }
26257          part { name: "over";
26258             mouse_events:  0;
26259             clip_to: "clip";
26260             description { state:    "default" 0.0;
26261                rel1 {
26262                   to: "base";
26263                   offset: 4 4;
26264                }
26265                rel2 {
26266                   to: "base";
26267                   offset: -5 -5;
26268                }
26269                image {
26270                   normal: "frame_1.png";
26271                   border: 2 2 28 22;
26272                   middle: 0;
26273                }
26274                fill.smooth : 0;
26275             }
26276          }
26277          part { name: "elm.swallow.content";
26278             type: SWALLOW;
26279             clip_to: "clip";
26280             description { state: "default" 0.0;
26281                rel1 {
26282                   to: "base";
26283                   offset: 8 8;
26284                }
26285                rel2 {
26286                   to: "base";
26287                   offset: -9 -9;
26288                }
26289             }
26290          }
26291       }
26292       programs {
26293          program { name: "push_start";
26294             signal: "elm,action,push";
26295             source: "elm";
26296             action:  STATE_SET "hidden2" 0.0;
26297             target: "base";
26298             target: "clip";
26299             after: "show_start2";
26300          }
26301          program { name: "show_start";
26302             signal: "elm,action,show";
26303             source: "elm";
26304             action:  STATE_SET "hidden" 0.0;
26305             target: "base";
26306             target: "clip";
26307             after: "show_start2";
26308          }
26309          program { name: "show_start2";
26310             action:  STATE_SET "visible" 0.0;
26311             transition: DECELERATE 0.5;
26312             target: "base";
26313             target: "clip";
26314             after: "show_end";
26315          }
26316          program { name: "show_end";
26317             action: SIGNAL_EMIT "elm,action,show,finished" "";
26318          }
26319          program { name: "pop_start";
26320             signal: "elm,action,pop";
26321             source: "elm";
26322             action:  STATE_SET "visible" 0.0;
26323             target: "base";
26324             target: "clip";
26325             after: "pop_start2";
26326          }
26327          program { name: "pop_start2";
26328             action:  STATE_SET "hidden2" 0.0;
26329             transition: DECELERATE 0.5;
26330             target: "base";
26331             target: "clip";
26332             after: "hide_end";
26333          }
26334          program { name: "hide_start";
26335             signal: "elm,action,hide";
26336             source: "elm";
26337             action:  STATE_SET "visible" 0.0;
26338             target: "base";
26339             target: "clip";
26340             after: "hide_start2";
26341          }
26342          program { name: "hide_start2";
26343             action:  STATE_SET "hidden" 0.0;
26344             transition: DECELERATE 0.5;
26345             target: "base";
26346             target: "clip";
26347             after: "hide_end";
26348          }
26349          program { name: "hide_end";
26350             action: SIGNAL_EMIT "elm,action,hide,finished" "";
26351          }
26352          program { name: "reset";
26353             signal: "elm,action,reset";
26354             source: "elm";
26355             action:  STATE_SET "default" 0.0;
26356             target: "base";
26357             target: "clip";
26358          }
26359       }
26360    }
26361    group { name: "elm/pager/base/slide_invisible";
26362       parts {
26363          part { name: "clip";
26364             type: RECT;
26365             mouse_events: 0;
26366             description { state: "default" 0.0;
26367                rel1 {
26368                   to: "base";
26369                   offset: -9999 -9999;
26370             }
26371                rel2 {
26372                   to: "base";
26373                   offset: 9999 9999;
26374                }
26375                color: 255 255 255 255;
26376             }
26377             description { state: "visible" 0.0;
26378                inherit: "default" 0.0;
26379             }
26380             description { state: "hidden" 0.0;
26381                inherit: "default" 0.0;
26382                color: 255 255 255 0;
26383                visible: 0;
26384             }
26385             description { state: "hidden2" 0.0;
26386                inherit: "default" 0.0;
26387                color: 255 255 255 0;
26388                visible: 0;
26389             }
26390          }
26391          part { name: "base";
26392             type: RECT;
26393             mouse_events:  0;
26394             clip_to: "clip";
26395             description { state: "default" 0.0;
26396                color: 0 0 0 0;
26397             }
26398             description { state: "hidden" 0.0;
26399                color: 0 0 0 0;
26400                rel1.relative: -1.0 0.0;
26401                rel2.relative: 0.0 1.0;
26402             }
26403             description { state: "hidden2" 0.0;
26404                color: 0 0 0 0;
26405                rel1.relative: 1.0 0.0;
26406                rel2.relative: 2.0 1.0;
26407             }
26408             description { state: "visible" 0.0;
26409                color: 0 0 0 0;
26410                rel1.relative: 0.0 0.0;
26411                rel2.relative: 1.0 1.0;
26412             }
26413          }
26414          part { name: "elm.swallow.content";
26415             type: SWALLOW;
26416             clip_to: "clip";
26417             description { state: "default" 0.0;
26418                rel1.to: "base";
26419                rel2.to: "base";
26420             }
26421          }
26422       }
26423       programs {
26424          program { name: "push_start";
26425             signal: "elm,action,push";
26426             source: "elm";
26427             action:  STATE_SET "hidden2" 0.0;
26428             target: "base";
26429             target: "clip";
26430             after: "show_start2";
26431          }
26432          program { name: "show_start";
26433             signal: "elm,action,show";
26434             source: "elm";
26435             action:  STATE_SET "hidden" 0.0;
26436             target: "base";
26437             target: "clip";
26438             after: "show_start2";
26439          }
26440          program { name: "show_start2";
26441             action:  STATE_SET "visible" 0.0;
26442             transition: DECELERATE 0.5;
26443             target: "base";
26444             target: "clip";
26445             after: "show_end";
26446          }
26447          program { name: "show_end";
26448             action: SIGNAL_EMIT "elm,action,show,finished" "";
26449          }
26450          program { name: "pop_start";
26451             signal: "elm,action,pop";
26452             source: "elm";
26453             action:  STATE_SET "visible" 0.0;
26454             target: "base";
26455             target: "clip";
26456             after: "pop_start2";
26457          }
26458          program { name: "pop_start2";
26459             action:  STATE_SET "hidden2" 0.0;
26460             transition: DECELERATE 0.5;
26461             target: "base";
26462             target: "clip";
26463             after: "hide_end";
26464          }
26465          program { name: "hide_start";
26466             signal: "elm,action,hide";
26467             source: "elm";
26468             action:  STATE_SET "visible" 0.0;
26469             target: "base";
26470             target: "clip";
26471             after: "hide_start2";
26472          }
26473          program { name: "hide_start2";
26474             action:  STATE_SET "hidden" 0.0;
26475             transition: DECELERATE 0.5;
26476             target: "base";
26477             target: "clip";
26478             after: "hide_end";
26479          }
26480          program { name: "hide_end";
26481             action: SIGNAL_EMIT "elm,action,hide,finished" "";
26482          }
26483          program { name: "reset";
26484             signal: "elm,action,reset";
26485             source: "elm";
26486             action:  STATE_SET "default" 0.0;
26487             target: "base";
26488             target: "clip";
26489          }
26490       }
26491    }
26492
26493    group { name: "elm/pager/base/fade";
26494        data.item: "onshow" "raise";
26495        // other options
26496        //      data.item: "onhide" "lower";
26497        //      data.item: "onshow" "lower";
26498        images {
26499            image: "frame_1.png" COMP;
26500            image: "frame_2.png" COMP;
26501            image: "dia_grad.png" COMP;
26502        }
26503        parts {
26504            part { name: "clip_base";
26505                type: RECT;
26506                mouse_events: 0;
26507                description { state: "default" 0.0;
26508                    rel1 {
26509                        to: "base";
26510                        offset: -9999 -9999;
26511                    }
26512                    rel2 {
26513                        to: "base";
26514                        offset: 9999 9999;
26515                    }
26516                    color: 255 255 255 120;
26517                }
26518                description { state: "visible" 0.0;
26519                    inherit: "default" 0.0;
26520                }
26521                description { state: "hidden" 0.0;
26522                    inherit: "default" 0.0;
26523                    color: 255 255 255 0;
26524                    visible: 0;
26525                }
26526            }
26527            part { name: "clip";
26528                type: RECT;
26529                mouse_events: 0;
26530                description { state: "default" 0.0;
26531                    rel1 {
26532                        to: "base";
26533                        offset: -9999 -9999;
26534                    }
26535                    rel2 {
26536                        to: "base";
26537                        offset: 9999 9999;
26538                    }
26539                    color: 255 255 255 255;
26540                }
26541                description { state: "visible" 0.0;
26542                    inherit: "default" 0.0;
26543                }
26544                description { state: "hidden" 0.0;
26545                    inherit: "default" 0.0;
26546                    color: 255 255 255 0;
26547                    visible: 0;
26548                }
26549            }
26550            part { name: "base0";
26551                mouse_events:  0;
26552                clip_to: "clip_base";
26553                description { state: "default" 0.0;
26554                    image.normal: "dia_grad.png";
26555                    rel1.to: "over";
26556                    rel2.to: "over";
26557                    fill {
26558                        smooth: 0;
26559                        size {
26560                            relative: 0.0 1.0;
26561                            offset: 64 0;
26562                        }
26563                    }
26564                }
26565            }
26566            part { name: "base";
26567                mouse_events:  0;
26568                clip_to: "clip_base";
26569                description { state: "default" 0.0;
26570                    image {
26571                        normal: "frame_2.png";
26572                        border: 5 5 32 26;
26573                        middle: 0;
26574                    }
26575                    fill.smooth : 0;
26576                }
26577            }
26578            part { name: "over";
26579                mouse_events:  0;
26580                clip_to: "clip";
26581                description { state:    "default" 0.0;
26582                    rel1 {
26583                        to: "base";
26584                        offset: 4 4;
26585                    }
26586                    rel2 {
26587                        to: "base";
26588                        offset: -5 -5;
26589                    }
26590                    image {
26591                        normal: "frame_1.png";
26592                        border: 2 2 28 22;
26593                        middle: 0;
26594                    }
26595                    fill.smooth : 0;
26596                }
26597            }
26598            part { name: "elm.swallow.content";
26599                type: SWALLOW;
26600                clip_to: "clip";
26601                description { state: "default" 0.0;
26602                    rel1 {
26603                        to: "base";
26604                        offset: 8 8;
26605                    }
26606                    rel2 {
26607                        to: "base";
26608                        offset: -9 -9;
26609                    }
26610                }
26611            }
26612        }
26613        programs {
26614            program { name: "push_start";
26615                signal: "elm,action,push";
26616                source: "elm";
26617                action:  STATE_SET "hidden" 0.0;
26618                target: "clip";
26619                target: "clip_base";
26620                after: "show_start2";
26621            }
26622            program { name: "show_start";
26623                signal: "elm,action,show";
26624                source: "elm";
26625                action:  STATE_SET "hidden" 0.0;
26626                target: "clip";
26627                target: "clip_base";
26628                after: "show_start2";
26629            }
26630            program { name: "show_start2";
26631                action:  STATE_SET "visible" 0.0;
26632                transition: DECELERATE 0.5;
26633                target: "clip";
26634                target: "clip_base";
26635                after: "show_end";
26636            }
26637            program { name: "show_end";
26638                action: SIGNAL_EMIT "elm,action,show,finished" "";
26639            }
26640            program { name: "pop_start";
26641                signal: "elm,action,pop";
26642                source: "elm";
26643                action:  STATE_SET "visible" 0.0;
26644                target: "clip";
26645                target: "clip_base";
26646                after: "hide_start2";
26647            }
26648            program { name: "hide_start";
26649                signal: "elm,action,hide";
26650                source: "elm";
26651                action:  STATE_SET "visible" 0.0;
26652                target: "clip";
26653                target: "clip_base";
26654                after: "hide_start2";
26655            }
26656            program { name: "hide_start2";
26657                action:  STATE_SET "hidden" 0.0;
26658                transition: DECELERATE 0.5;
26659                target: "clip";
26660                target: "clip_base";
26661                after: "hide_end";
26662            }
26663            program { name: "hide_end";
26664                action: SIGNAL_EMIT "elm,action,hide,finished" "";
26665            }
26666            program { name: "reset";
26667                signal: "elm,action,reset";
26668                source: "elm";
26669                action:  STATE_SET "default" 0.0;
26670                target: "clip_base";
26671                target: "clip";
26672            }
26673        }
26674    }
26675    group { name: "elm/pager/base/fade_translucide";
26676        data.item: "onshow" "raise";
26677        // other options
26678        //      data.item: "onhide" "lower";
26679        //      data.item: "onshow" "lower";
26680        images {
26681            image: "frame_1.png" COMP;
26682            image: "frame_2.png" COMP;
26683            image: "dia_grad.png" COMP;
26684        }
26685        parts {
26686            part { name: "clip_base";
26687                type: RECT;
26688                mouse_events: 0;
26689                description { state: "default" 0.0;
26690                    rel1 {
26691                        to: "base";
26692                        offset: -9999 -9999;
26693                    }
26694                    rel2 {
26695                        to: "base";
26696                        offset: 9999 9999;
26697                    }
26698                    color: 255 255 255 120;
26699                }
26700                description { state: "visible" 0.0;
26701                    inherit: "default" 0.0;
26702                }
26703                description { state: "hidden" 0.0;
26704                    inherit: "default" 0.0;
26705                    color: 255 255 255 0;
26706                    visible: 0;
26707                }
26708            }
26709            part { name: "clip";
26710                type: RECT;
26711                mouse_events: 0;
26712                description { state: "default" 0.0;
26713                    rel1 {
26714                        to: "base";
26715                        offset: -9999 -9999;
26716                    }
26717                    rel2 {
26718                        to: "base";
26719                        offset: 9999 9999;
26720                    }
26721                    color: 255 255 255 255;
26722                }
26723                description { state: "visible" 0.0;
26724                    inherit: "default" 0.0;
26725                }
26726                description { state: "hidden" 0.0;
26727                    inherit: "default" 0.0;
26728                    color: 255 255 255 0;
26729                    visible: 0;
26730                }
26731            }
26732            part { name: "base0";
26733                mouse_events:  0;
26734                clip_to: "clip_base";
26735                description { state: "default" 0.0;
26736                    image.normal: "dia_grad.png";
26737                    rel1.to: "over";
26738                    rel2.to: "over";
26739                    fill {
26740                        smooth: 0;
26741                        size {
26742                            relative: 0.0 1.0;
26743                            offset: 64 0;
26744                        }
26745                    }
26746                }
26747            }
26748            part { name: "base";
26749                mouse_events:  0;
26750                clip_to: "clip_base";
26751                description { state: "default" 0.0;
26752                    image {
26753                        normal: "frame_2.png";
26754                        border: 5 5 32 26;
26755                        middle: 0;
26756                    }
26757                    fill.smooth : 0;
26758                }
26759            }
26760            part { name: "over";
26761                mouse_events:  0;
26762                clip_to: "clip";
26763                description { state:    "default" 0.0;
26764                    rel1 {
26765                        to: "base";
26766                        offset: 4 4;
26767                    }
26768                    rel2 {
26769                        to: "base";
26770                        offset: -5 -5;
26771                    }
26772                    image {
26773                        normal: "frame_1.png";
26774                        border: 2 2 28 22;
26775                        middle: 0;
26776                    }
26777                    fill.smooth : 0;
26778                }
26779            }
26780            part { name: "elm.swallow.content";
26781                type: SWALLOW;
26782                clip_to: "clip";
26783                description { state: "default" 0.0;
26784                    rel1 {
26785                        to: "base";
26786                        offset: 8 8;
26787                    }
26788                    rel2 {
26789                        to: "base";
26790                        offset: -9 -9;
26791                    }
26792                }
26793            }
26794        }
26795        programs {
26796            program { name: "push_start";
26797                signal: "elm,action,push";
26798                source: "elm";
26799                action:  STATE_SET "hidden" 0.0;
26800                target: "clip";
26801                target: "clip_base";
26802                after: "show_start2";
26803            }
26804            program { name: "show_start";
26805                signal: "elm,action,show";
26806                source: "elm";
26807                action:  STATE_SET "hidden" 0.0;
26808                target: "clip";
26809                target: "clip_base";
26810                after: "show_start2";
26811            }
26812            program { name: "show_start2";
26813                action:  STATE_SET "visible" 0.0;
26814                transition: DECELERATE 0.5;
26815                target: "clip";
26816                target: "clip_base";
26817                after: "show_end";
26818            }
26819            program { name: "show_end";
26820                action: SIGNAL_EMIT "elm,action,show,finished" "";
26821            }
26822            program { name: "pop_start";
26823                signal: "elm,action,pop";
26824                source: "elm";
26825                action:  STATE_SET "visible" 0.0;
26826                target: "clip";
26827                target: "clip_base";
26828                after: "hide_start2";
26829            }
26830            program { name: "hide_start";
26831                signal: "elm,action,hide";
26832                source: "elm";
26833                action:  STATE_SET "visible" 0.0;
26834                target: "clip";
26835                target: "clip_base";
26836                after: "hide_start2";
26837            }
26838            program { name: "hide_start2";
26839                action:  STATE_SET "hidden" 0.0;
26840                transition: DECELERATE 0.5;
26841                target: "clip";
26842                target: "clip_base";
26843                after: "hide_end";
26844            }
26845            program { name: "hide_end";
26846                action: SIGNAL_EMIT "elm,action,hide,finished" "";
26847            }
26848            program { name: "reset";
26849                signal: "elm,action,reset";
26850                source: "elm";
26851                action:  STATE_SET "default" 0.0;
26852                target: "clip_base";
26853                target: "clip";
26854            }
26855        }
26856    }
26857    group { name: "elm/pager/base/fade_invisible";
26858        data.item: "onshow" "raise";
26859        // other options
26860        //      data.item: "onhide" "lower";
26861        //      data.item: "onshow" "lower";
26862        parts {
26863            part { name: "clip";
26864                type: RECT;
26865                mouse_events: 0;
26866                description { state: "default" 0.0;
26867                    rel1 {
26868                        offset: -9999 -9999;
26869                    }
26870                    rel2 {
26871                        offset: 9999 9999;
26872                    }
26873                    color: 255 255 255 255;
26874                }
26875                description { state: "visible" 0.0;
26876                    inherit: "default" 0.0;
26877                }
26878                description { state: "hidden" 0.0;
26879                    inherit: "default" 0.0;
26880                    color: 255 255 255 0;
26881                    visible: 0;
26882                }
26883            }
26884            part { name: "elm.swallow.content";
26885                type: SWALLOW;
26886                clip_to: "clip";
26887                description { state: "default" 0.0;
26888                    rel1 {
26889                        offset: 8 8;
26890                    }
26891                    rel2 {
26892                        offset: -9 -9;
26893                    }
26894                }
26895            }
26896        }
26897        programs {
26898            program { name: "push_start";
26899                signal: "elm,action,push";
26900                source: "elm";
26901                action:  STATE_SET "hidden" 0.0;
26902                target: "clip";
26903                after: "show_start2";
26904            }
26905            program { name: "show_start";
26906                signal: "elm,action,show";
26907                source: "elm";
26908                action:  STATE_SET "hidden" 0.0;
26909                target: "clip";
26910                after: "show_start2";
26911            }
26912            program { name: "show_start2";
26913                action:  STATE_SET "visible" 0.0;
26914                transition: DECELERATE 0.5;
26915                target: "clip";
26916                after: "show_end";
26917            }
26918            program { name: "show_end";
26919                action: SIGNAL_EMIT "elm,action,show,finished" "";
26920            }
26921            program { name: "pop_start";
26922                signal: "elm,action,pop";
26923                source: "elm";
26924                action:  STATE_SET "visible" 0.0;
26925                target: "clip";
26926                after: "hide_start2";
26927            }
26928            program { name: "hide_start";
26929                signal: "elm,action,hide";
26930                source: "elm";
26931                action:  STATE_SET "visible" 0.0;
26932                target: "clip";
26933                after: "hide_start2";
26934            }
26935            program { name: "hide_start2";
26936                action:  STATE_SET "hidden" 0.0;
26937                transition: DECELERATE 0.5;
26938                target: "clip";
26939                after: "hide_end";
26940            }
26941            program { name: "hide_end";
26942                action: SIGNAL_EMIT "elm,action,hide,finished" "";
26943            }
26944            program { name: "reset";
26945                signal: "elm,action,reset";
26946                source: "elm";
26947                action:  STATE_SET "default" 0.0;
26948                target: "clip";
26949            }
26950        }
26951    }
26952
26953    group { name: "elm/pager/base/flip";
26954       data.item: "onshow" "raise";
26955       images {
26956          image: "frame_1.png" COMP;
26957          image: "frame_2.png" COMP;
26958          image: "dia_grad.png" COMP;
26959       }
26960       parts {
26961          part { name: "elm.swallow.content";
26962             type: SWALLOW;
26963             description { state: "default" 0.0;
26964                map {
26965                   on: 1;
26966                   smooth: 1;
26967                   backface_cull: 1;
26968                   perspective_on: 1;
26969                }
26970                perspective {
26971                   zplane: 0;
26972                   focal: 1000;
26973                }
26974             }
26975             description { state: "hidden" 0.0;
26976                inherit: "default" 0.0;
26977                visible: 0;
26978                map.rotation.y: 90.0;
26979             }
26980             description { state: "before_hidden" 0.0;
26981                inherit: "default" 0.0;
26982                visible: 0;
26983                map.rotation.y: -90.0;
26984             }
26985          }
26986       }
26987       programs {
26988          program { name: "push_start";
26989             signal: "elm,action,push";
26990             source: "elm";
26991             after: "push1";
26992          }
26993          program { name: "push1";
26994             action:  STATE_SET "hidden" 0.0;
26995             target: "elm.swallow.content";
26996             after: "push2";
26997          }
26998          program { name: "push2";
26999             action:  STATE_SET "default" 0.0;
27000             in: 0.5 0.0;
27001             transition: LINEAR 0.5;
27002             target: "elm.swallow.content";
27003             after: "push3";
27004          }
27005          program { name: "push3";
27006             action: SIGNAL_EMIT "elm,action,show,finished" "";
27007          }
27008
27009          program { name: "show_start";
27010             signal: "elm,action,show";
27011             source: "elm";
27012             after: "show1";
27013          }
27014          program { name: "show1";
27015             action:  STATE_SET "before_hidden" 0.0;
27016             target: "elm.swallow.content";
27017             after: "show2";
27018          }
27019          program { name: "show2";
27020             action:  STATE_SET "default" 0.0;
27021             in: 0.5 0.0;
27022             transition: LINEAR 0.5;
27023             target: "elm.swallow.content";
27024             after: "show3";
27025          }
27026          program { name: "show3";
27027             action: SIGNAL_EMIT "elm,action,show,finished" "";
27028          }
27029
27030          program { name: "pop_start";
27031             signal: "elm,action,pop";
27032             source: "elm";
27033             after: "pop1";
27034          }
27035          program { name: "pop1";
27036             action:  STATE_SET "default" 0.0;
27037             target: "elm.swallow.content";
27038             after: "pop2";
27039          }
27040          program { name: "pop2";
27041             action:  STATE_SET "hidden" 0.0;
27042             transition: LINEAR 0.5;
27043             target: "elm.swallow.content";
27044             after: "pop3";
27045          }
27046          program { name: "pop3";
27047             action: SIGNAL_EMIT "elm,action,hide,finished" "";
27048          }
27049
27050          program { name: "hide_start";
27051             signal: "elm,action,hide";
27052             source: "elm";
27053             after: "hide1";
27054          }
27055          program { name: "hide1";
27056             action:  STATE_SET "default" 0.0;
27057             target: "elm.swallow.content";
27058             after: "hide2";
27059          }
27060          program { name: "hide2";
27061             action:  STATE_SET "before_hidden" 0.0;
27062             transition: LINEAR 0.5;
27063             target: "elm.swallow.content";
27064             after: "hide3";
27065          }
27066          program { name: "hide3";
27067             action: SIGNAL_EMIT "elm,action,hide,finished" "";
27068          }
27069
27070          program { name: "reset";
27071             signal: "elm,action,reset";
27072             source: "elm";
27073             action:  STATE_SET "default" 0.0;
27074             target: "elm.swallow.content";
27075          }
27076       }
27077    }
27078
27079
27080
27081 ///////////////////////////////////////////////////////////////////////////////
27082 // FIXME: this doesn't look too hot. need to fix it up
27083    group { name: "elm/progressbar/horizontal/default";
27084       images {
27085          image: "shelf_inset.png" COMP;
27086          image: "bt_sm_base2.png" COMP;
27087          image: "bt_sm_hilight.png" COMP;
27088          image: "bt_sm_shine.png" COMP;
27089       }
27090       parts {
27091          part { name: "elm.background.progressbar";
27092             mouse_events: 0;
27093             description {
27094                state: "default" 0.0;
27095                rel1 {
27096                   relative: 0.0 0.0;
27097                   offset: 0 0;
27098                }
27099                rel2 {
27100                   relative: 1.0 1.0;
27101                }
27102             }
27103          }
27104          part { name: "elm.swallow.bar";
27105             mouse_events: 0;
27106             type: SWALLOW;
27107             description {
27108                min: 48 28;
27109                max: 99999 28;
27110                state: "default" 0.0;
27111                rel1 {
27112                   to_x: "elm.text";
27113                   to_y: "elm.background.progressbar";
27114                   relative: 1.0 0.0;
27115                }
27116                rel2 {
27117                   to: "elm.background.progressbar";
27118                   relative: 1.0 1.0;
27119                }
27120             }
27121          }
27122          part { name: "elm.swallow.content";
27123             type: SWALLOW;
27124             description { state: "default" 0.0;
27125                visible: 0;
27126                align: 0.0 0.5;
27127                rel1 {
27128                   offset: 4 0;
27129                   to_y: "elm.background.progressbar";
27130                }
27131                rel2 {
27132                   offset: 3 -1;
27133                   relative: 0.0 1.0;
27134                   to_y: "elm.background.progressbar";
27135                }
27136             }
27137             description { state: "visible" 0.0;
27138                inherit: "default" 0.0;
27139                visible: 1;
27140                aspect: 1.0 1.0;
27141                aspect_preference: VERTICAL;
27142                rel2.offset: 4 -1;
27143             }
27144          }
27145          part { name: "elm.text";
27146             type: TEXT;
27147             mouse_events: 0;
27148             scale: 1;
27149             description { state: "default" 0.0;
27150                visible: 0;
27151                fixed: 1 1;
27152                align: 0.0 0.5;
27153                rel1.to_x: "elm.swallow.content";
27154                rel1.relative: 1.0 0.0;
27155                rel1.offset: -1 4;
27156                rel2.to_x: "elm.swallow.content";
27157                rel2.relative: 1.0 1.0;
27158                rel2.offset: -1 -5;
27159                color: 0 0 0 255;
27160                text {
27161                   font: "Sans,Edje-Vera";
27162                   size: 10;
27163                   min: 0 0;
27164                   align: 0.0 0.5;
27165                }
27166             }
27167             description { state: "visible" 0.0;
27168                inherit: "default" 0.0;
27169                visible: 1;
27170                text.min: 1 1;
27171                rel1.offset: 0 4;
27172                rel2.offset: 0 -5;
27173             }
27174          }
27175
27176          part { name: "background";
27177             mouse_events: 0;
27178             clip_to: "elm.background.progressbar";
27179             description {
27180                state: "default" 0.0;
27181                rel1 {
27182                   to: "elm.swallow.bar";
27183                   relative: 0.0 0.0;
27184                }
27185                rel2 {
27186                   to: "elm.swallow.bar";
27187                   relative: 1.0 1.0;
27188                   offset: -1 -1;
27189                }
27190                image {
27191                   normal: "shelf_inset.png";
27192                   border: 7 7 7 7;
27193                }
27194             }
27195          }
27196
27197          part { name: "elm.text.status";
27198             type: TEXT;
27199             mouse_events: 0;
27200             description { state: "default" 0.0;
27201                fixed: 1 1;
27202                visible: 1;
27203                rel1 {
27204                   to: "background";
27205                   relative: 0.5 0.5;
27206                }
27207                rel2 {
27208                   to: "background";
27209                   relative: 0.5 0.5;
27210                }
27211                text {
27212                   font: "Sans:style=Bold,Edje-Vera-Bold";
27213                   size: 10;
27214                   min: 1 1;
27215                   align: 0.5 0.0;
27216                }
27217                color: 0 0 0 255;
27218             }
27219             description { state: "hidden" 0.0;
27220                inherit: "default" 0.0;
27221                visible: 0;
27222                text.min: 0 0;
27223             }
27224          }
27225
27226          part { name: "elm.progress.progressbar";
27227             mouse_events: 0;
27228             clip_to: "elm.background.progressbar";
27229             description {
27230                state: "default" 0.0;
27231                min: 14 28;
27232                fixed: 1 1;
27233                rel1 {
27234                   to: "elm.swallow.bar";
27235                   relative: 0.0 0.0;
27236                }
27237                rel2 {
27238                   to_y: "elm.swallow.bar";
27239                   to_x: "elm.cur.progressbar";
27240                   offset: -1 -1;
27241                }
27242                image {
27243                   normal: "bt_sm_base2.png";
27244                   border: 6 6 6 6;
27245                }
27246             }
27247             description {
27248                state: "invert" 0.0;
27249                inherit: "default" 0.0;
27250                rel1 {
27251                   to_y: "elm.swallow.bar";
27252                   to_x: "elm.cur.progressbar";
27253                }
27254                rel2 {
27255                   to: "elm.swallow.bar";
27256                   relative: 1.0 1.0;
27257                }
27258             }
27259             description {
27260                state: "state_begin" 0.0;
27261                inherit: "default" 0.0;
27262                rel1 {
27263                   to: "elm.swallow.bar";
27264                   relative: 0.0 0.0;
27265                }
27266                rel2 {
27267                   to: "elm.swallow.bar";
27268                   relative: 0.1 1.0;
27269                }
27270             }
27271             description {
27272                state: "state_end" 0.0;
27273                inherit: "default" 0.0;
27274                rel1 {
27275                   to: "elm.swallow.bar";
27276                   relative: 0.9 0.0;
27277                }
27278                rel2 {
27279                   to: "elm.swallow.bar";
27280                   relative: 1.0 1.0;
27281                }
27282             }
27283          }
27284          part { name: "text-bar";
27285             type: TEXT;
27286             mouse_events: 0;
27287             clip_to: "progress-rect";
27288             effect: SOFT_SHADOW;
27289             scale: 1;
27290             description { state: "default" 0.0;
27291                align: 0.0 0.0;
27292                fixed: 1 1;
27293                visible: 1;
27294                rel1.to: "elm.text.status";
27295                rel1.offset: -1 -1;
27296                rel2.to: "elm.text.status";
27297                text {
27298                   text_source: "elm.text.status";
27299                   font: "Sans:style=Bold,Edje-Vera-Bold";
27300                   size: 10;
27301                   min: 1 1;
27302                   align: 0.0 0.0;
27303                }
27304                color: 224 224 224 255;
27305                color3: 0 0 0 64;
27306             }
27307             description { state: "hidden" 0.0;
27308                inherit: "default" 0.0;
27309                visible: 0;
27310                text.min: 0 0;
27311             }
27312          }
27313
27314          part { name: "over1";
27315             mouse_events: 0;
27316             description { state: "default" 0.0;
27317                rel1.to: "elm.progress.progressbar";
27318                rel2.to: "elm.progress.progressbar";
27319                rel2.relative: 1.0 0.5;
27320                image {
27321                   normal: "bt_sm_hilight.png";
27322                   border: 6 6 6 0;
27323                }
27324             }
27325          }
27326
27327          part { name: "over2";
27328             mouse_events: 1;
27329             repeat_events: 1;
27330             description { state: "default" 0.0;
27331                rel1.to: "elm.progress.progressbar";
27332                rel2.to: "elm.progress.progressbar";
27333                image {
27334                   normal: "bt_sm_shine.png";
27335                   border: 6 6 6 0;
27336                }
27337             }
27338          }
27339
27340          part { name: "elm.cur.progressbar";
27341             mouse_events: 0;
27342             dragable {
27343                confine: "background";
27344                x: 1 1 1;
27345                y: 0 0 0;
27346             }
27347             description { state: "default" 0.0;
27348                min: 14 28;
27349                fixed: 1 1;
27350                visible: 0;
27351                rel1 {
27352                   to: "background";
27353                   relative: 0 0;
27354                }
27355                rel2.to: "background";
27356            }
27357          }
27358          part { name: "progress-rect";
27359             mouse_events: 0;
27360             description {
27361                state: "default" 0.0;
27362                rel1.to: "elm.progress.progressbar";
27363                rel2.to: "elm.progress.progressbar";
27364             }
27365          }
27366       }
27367       programs {
27368          program { name: "label_show";
27369             signal: "elm,state,text,visible";
27370             source: "elm";
27371             action:  STATE_SET "visible" 0.0;
27372             target: "elm.text";
27373          }
27374          program { name: "label_hide";
27375             signal: "elm,state,text,hidden";
27376             source: "elm";
27377             action:  STATE_SET "default" 0.0;
27378             target: "elm.text";
27379          }
27380          program { name: "icon_show";
27381             signal: "elm,state,icon,visible";
27382             source: "elm";
27383             action:  STATE_SET "visible" 0.0;
27384             target: "elm.swallow.content";
27385          }
27386          program { name: "icon_hide";
27387             signal: "elm,state,icon,hidden";
27388             source: "elm";
27389             action:  STATE_SET "default" 0.0;
27390             target: "elm.swallow.content";
27391          }
27392          program { name: "units_show";
27393             signal: "elm,state,units,visible";
27394             source: "elm";
27395             action:  STATE_SET "default" 0.0;
27396             target: "text-bar";
27397             target: "elm.text.status";
27398          }
27399          program { name: "units_hide";
27400             signal: "elm,state,units,hidden";
27401             source: "elm";
27402             action:  STATE_SET "hidden" 0.0;
27403             target: "text-bar";
27404             target: "elm.text.status";
27405          }
27406          program { name: "slide_to_end";
27407             action:  STATE_SET "state_end" 0.0;
27408             transition: LINEAR 0.5;
27409             target: "elm.progress.progressbar";
27410             after: "slide_to_begin";
27411          }
27412          program { name: "slide_to_begin";
27413             signal: "elm,state,slide,begin";
27414             action: STATE_SET "state_begin" 0.0;
27415             target: "elm.progress.progressbar";
27416             transition: LINEAR 0.5;
27417             after: "slide_to_end";
27418          }
27419          program { name: "start_pulse";
27420             signal: "elm,state,pulse,start";
27421             source: "elm";
27422             after: "slide_to_end";
27423          }
27424          program { name: "stop_pulse";
27425             signal: "elm,state,pulse,stop";
27426             source: "elm";
27427             action: ACTION_STOP;
27428             target: "slide_to_begin";
27429             target: "slide_to_end";
27430             target: "start_pulse";
27431             after: "state_pulse";
27432          }
27433          program { name: "state_pulse";
27434             signal: "elm,state,pulse";
27435             source: "elm";
27436             action: STATE_SET "state_begin" 0.0;
27437             target: "elm.progress.progressbar";
27438             after: "units_hide";
27439          }
27440          program { name: "state_fraction";
27441             signal: "elm,state,fraction";
27442             source: "elm";
27443             action: ACTION_STOP;
27444             target: "slide_to_begin";
27445             target: "slide_to_end";
27446             target: "start_pulse";
27447             action: STATE_SET "default" 0.0;
27448             target: "elm.progress.progressbar";
27449          }
27450          program { name: "set_invert_on";
27451             signal: "elm,state,inverted,on";
27452             source: "elm";
27453             action:  STATE_SET "invert" 0.0;
27454             target: "elm.progress.progressbar";
27455          }
27456          program { name: "set_invert_off";
27457             signal: "elm,state,inverted,off";
27458             source: "elm";
27459             action:  STATE_SET "default" 0.0;
27460             target: "elm.progress.progressbar";
27461          }
27462       }
27463    }
27464
27465 ///////////////////////////////////////////////////////////////////////////////
27466    group { name: "elm/progressbar/vertical/default";
27467       images {
27468          image: "shelf_inset.png" COMP;
27469          image: "bt_sm_base2.png" COMP;
27470          image: "bt_sm_hilight.png" COMP;
27471          image: "bt_sm_shine.png" COMP;
27472       }
27473       parts {
27474          part { name: "elm.background.progressbar";
27475             type: RECT;
27476             mouse_events: 0;
27477             description {
27478                state: "default" 0.0;
27479                rel1 {
27480                   relative: 0.0 0.0;
27481                   offset: 0 0;
27482                }
27483                rel2 {
27484                   relative: 1.0 1.0;
27485                   offset: -1 -1;
27486                }
27487             }
27488          }
27489          part { name: "elm.swallow.bar";
27490             type: SWALLOW;
27491             scale: 1;
27492             description { state: "default" 0.0;
27493                min: 28 48;
27494                max: 28 9999;
27495                align: 0.5 1.0;
27496                rel1 {
27497                   to_y: "elm.text";
27498                   relative: 0.0 1.0;
27499                   offset: 0 2;
27500                }
27501                rel2 {
27502                   to_y: "elm.text.box";
27503                   relative: 1.0 0.0;
27504                   offset: -1 -3;
27505                }
27506             }
27507          }
27508          part { name: "elm.swallow.content";
27509             type: SWALLOW;
27510             description { state: "default" 0.0;
27511                visible: 0;
27512                align: 0.5 0.0;
27513                rel1 {
27514                   offset: 0 4;
27515                   to_x: "elm.swallow.bar";
27516                }
27517                rel2 {
27518                   offset: -1 3;
27519                   relative: 1.0 0.0;
27520                   to_x: "elm.swallow.bar";
27521                }
27522             }
27523             description { state: "visible" 0.0;
27524                inherit: "default" 0.0;
27525                visible: 1;
27526                aspect: 1.0 1.0;
27527                aspect_preference: HORIZONTAL;
27528                rel2.offset: -1 4;
27529             }
27530          }
27531          part { name: "elm.text";
27532             type: TEXT;
27533             mouse_events: 0;
27534             scale: 1;
27535             description { state: "default" 0.0;
27536                visible: 0;
27537                fixed: 1 1;
27538                align: 0.5 0.0;
27539                rel1.to_y: "elm.swallow.content";
27540                rel1.relative: 0.5 1.0;
27541                rel1.offset: 0 -1;
27542                rel2.to_y: "elm.swallow.content";
27543                rel2.relative: 0.5 1.0;
27544                rel2.offset: -1 -1;
27545                color: 0 0 0 255;
27546                text {
27547                   font: "Sans,Edje-Vera";
27548                   size: 10;
27549                   min: 0 0;
27550                   align: 0.5 0.0;
27551                }
27552             }
27553             description { state: "visible" 0.0;
27554                inherit: "default" 0.0;
27555                visible: 1;
27556                text.min: 1 1;
27557                rel1.offset: 4 0;
27558                rel2.offset: -5 0;
27559             }
27560          }
27561
27562          part { name: "background";
27563             mouse_events: 0;
27564             clip_to: "elm.background.progressbar";
27565             description {
27566                state: "default" 0.0;
27567                rel1 {
27568                   to: "elm.swallow.bar";
27569                   relative: 0.0 0.0;
27570                }
27571                rel2 {
27572                   to: "elm.swallow.bar";
27573                   relative: 1.0 1.0;
27574                   offset: -1 -1;
27575                }
27576                image {
27577                   normal: "shelf_inset.png";
27578                   border: 7 7 7 7;
27579                }
27580             }
27581          }
27582
27583          part { name: "elm.progress.progressbar";
27584             mouse_events: 0;
27585             clip_to: "elm.background.progressbar";
27586             description {
27587                state: "default" 0.0;
27588                min: 28 14;
27589                fixed: 1 1;
27590                rel1 {
27591                   to: "elm.swallow.bar";
27592                   relative: 0.0 0.0;
27593                }
27594                rel2 {
27595                   to_x: "elm.swallow.bar";
27596                   to_y: "elm.cur.progressbar";
27597                   offset: -1 -1;
27598                }
27599                image {
27600                   normal: "bt_sm_base2.png";
27601                   border: 6 6 6 6;
27602                }
27603             }
27604             description {
27605                state: "invert" 0.0;
27606                inherit: "default" 0.0;
27607                rel1 {
27608                   to_x: "elm.swallow.bar";
27609                   to_y: "elm.cur.progressbar";
27610                }
27611                rel2 {
27612                   to: "elm.swallow.bar";
27613                   relative: 1.0 1.0;
27614                }
27615             }
27616             description {
27617                state: "state_begin" 0.0;
27618                inherit: "default" 0.0;
27619                rel1 {
27620                   to: "elm.swallow.bar";
27621                   relative: 0.0 0.0;
27622                }
27623                rel2 {
27624                   to: "elm.swallow.bar";
27625                   relative: 1.0 0.1;
27626                }
27627             }
27628             description {
27629                state: "state_end" 0.0;
27630                inherit: "default" 0.0;
27631                rel1 {
27632                   to: "elm.swallow.bar";
27633                   relative: 0.0 0.9;
27634                }
27635                rel2 {
27636                   to: "elm.swallow.bar";
27637                   relative: 1.0 1.0;
27638                }
27639             }
27640          }
27641
27642          part { name: "over1";
27643             mouse_events: 0;
27644             description { state: "default" 0.0;
27645                rel1.to: "elm.progress.progressbar";
27646                rel2.to: "elm.progress.progressbar";
27647                rel2.relative: 1.0 0.5;
27648                image {
27649                   normal: "bt_sm_hilight.png";
27650                   border: 6 6 6 0;
27651                }
27652             }
27653          }
27654
27655          part { name: "over2";
27656             mouse_events: 1;
27657             repeat_events: 1;
27658             description { state: "default" 0.0;
27659                rel1.to: "elm.progress.progressbar";
27660                rel2.to: "elm.progress.progressbar";
27661                image {
27662                   normal: "bt_sm_shine.png";
27663                   border: 6 6 6 0;
27664                }
27665             }
27666          }
27667
27668          part { name: "elm.cur.progressbar";
27669             mouse_events: 0;
27670             dragable {
27671                confine: "background";
27672                x: 0 0 0;
27673                y: 1 1 1;
27674             }
27675             description { state: "default" 0.0;
27676                min: 28 14;
27677                fixed: 1 1;
27678                visible: 0;
27679                rel1 {
27680                   to: "background";
27681                   relative: 0 0;
27682                }
27683                rel2.to: "background";
27684            }
27685          }
27686
27687          part { name: "elm.text.box";
27688             mouse_events: 0;
27689             type: RECT;
27690             description { state: "default" 0.0;
27691                visible: 0;
27692                rel1 {
27693                   to: "elm.text.status";
27694                   offset: -2 -2;
27695                }
27696                rel2 {
27697                   to: "elm.text.status";
27698                   offset: 2 2;
27699                }
27700                color: 255 255 255 0;
27701             }
27702             description { state: "visible" 0.0;
27703                inherit: "default" 0.0;
27704                visible: 1;
27705             }
27706          }
27707          part { name: "elm.text.status";
27708             type: TEXT;
27709             mouse_events: 0;
27710             scale: 1;
27711             description { state: "default" 0.0;
27712                visible: 0;
27713                fixed: 1 1;
27714                align: 0.5 1.0;
27715                rel1.relative: 0.0 1.0;
27716                rel1.offset: 2 0;
27717                rel2.relative: 1.0 1.0;
27718                rel2.offset: -2 0;
27719                color: 0 0 0 255;
27720                text {
27721                   font: "Sans:style=Bold,Edje-Vera-Bold";
27722                   size: 10;
27723                   min: 0 0;
27724                   align: 0.5 0.0;
27725                }
27726             }
27727             description { state: "visible" 0.0;
27728                inherit: "default" 0.0;
27729                fixed: 1 1;
27730                visible: 1;
27731                text.min: 1 1;
27732                rel1.offset: 8 -9;
27733                rel2.offset: -9 -9;
27734             }
27735          }
27736       }
27737       programs {
27738          program { name: "label_show";
27739             signal: "elm,state,text,visible";
27740             source: "elm";
27741             action:  STATE_SET "visible" 0.0;
27742             target: "elm.text";
27743          }
27744          program { name: "label_hide";
27745             signal: "elm,state,text,hidden";
27746             source: "elm";
27747             action:  STATE_SET "default" 0.0;
27748             target: "elm.text";
27749          }
27750          program { name: "icon_show";
27751             signal: "elm,state,icon,visible";
27752             source: "elm";
27753             action:  STATE_SET "visible" 0.0;
27754             target: "elm.swallow.content";
27755          }
27756          program { name: "icon_hide";
27757             signal: "elm,state,icon,hidden";
27758             source: "elm";
27759             action:  STATE_SET "default" 0.0;
27760             target: "elm.swallow.content";
27761          }
27762          program { name: "units_show";
27763             signal: "elm,state,units,visible";
27764             source: "elm";
27765             action:  STATE_SET "visible" 0.0;
27766             target: "elm.text.status";
27767             target: "elm.text.box";
27768          }
27769          program { name: "units_hide";
27770             signal: "elm,state,units,hidden";
27771             source: "elm";
27772             action:  STATE_SET "default" 0.0;
27773             target: "elm.text.status";
27774             target: "elm.text.box";
27775          }
27776          program { name: "slide_to_end";
27777             action:  STATE_SET "state_end" 0.0;
27778             transition: LINEAR 0.5;
27779             target: "elm.progress.progressbar";
27780             after: "slide_to_begin";
27781          }
27782          program { name: "slide_to_begin";
27783             action:  STATE_SET "state_begin" 0.0;
27784             target: "elm.progress.progressbar";
27785             transition: LINEAR 0.5;
27786             after: "slide_to_end";
27787          }
27788          program { name: "start_pulse";
27789             signal: "elm,state,pulse,start";
27790             source: "elm";
27791             action: STATE_SET "state_begin" 0.0;
27792             target: "elm.progress.progressbar";
27793             after: "slide_to_end";
27794          }
27795          program { name: "stop_pulse";
27796             signal: "elm,state,pulse,stop";
27797             source: "elm";
27798             action: ACTION_STOP;
27799             target: "slide_to_begin";
27800             target: "slide_to_end";
27801             target: "start_pulse";
27802             after: "state_pulse";
27803          }
27804          program { name: "state_pulse";
27805             signal: "elm,state,pulse";
27806             source: "elm";
27807             action: STATE_SET "state_begin" 0.0;
27808             target: "elm.progress.progressbar";
27809             after: "units_hide";
27810          }
27811          program { name: "state_fraction";
27812             signal: "elm,state,fraction";
27813             source: "elm";
27814             action: ACTION_STOP;
27815             target: "slide_to_begin";
27816             target: "slide_to_end";
27817             target: "start_pulse";
27818             action: STATE_SET "default" 0.0;
27819             target: "elm.progress.progressbar";
27820          }
27821          program { name: "set_invert_on";
27822             signal: "elm,state,inverted,on";
27823             source: "elm";
27824             action:  STATE_SET "invert" 0.0;
27825             target: "elm.progress.progressbar";
27826             target: "elm.cur.progressbar";
27827          }
27828          program { name: "set_invert_off";
27829             signal: "elm,state,inverted,off";
27830             source: "elm";
27831             action:  STATE_SET "default" 0.0;
27832             target: "elm.progress.progressbar";
27833             target: "elm.cur.progressbar";
27834          }
27835       }
27836    }
27837
27838 ///////////////////////////////////////////////////////////////////////////////
27839    group { name: "elm/separator/horizontal/default";
27840        images {
27841            image: "separator_h.png" COMP;
27842        }
27843        parts {
27844            part { name: "separator"; // separator group
27845                description { state: "default" 0.0;
27846                    min: 2 2;
27847                    rel1.offset: 4 4;
27848                    rel2.offset: -5 -5;
27849                    image {
27850                        normal: "separator_h.png";
27851                    }
27852                    fill {
27853                        smooth: 0;
27854                    }
27855                }
27856            }
27857        }
27858    }
27859
27860    ///////////////////////////////////////////////////////////////////////////////
27861    group { name: "elm/separator/vertical/default";
27862        images {
27863            image: "separator_v.png" COMP;
27864        }
27865        parts {
27866            part { name: "separator"; // separator group
27867                description { state: "default" 0.0;
27868                    min: 2 2;
27869                    rel1.offset: 4 4;
27870                    rel2.offset: -5 -5;
27871                    image {
27872                        normal: "separator_v.png";
27873                    }
27874                    fill {
27875                        smooth: 0;
27876                    }
27877                }
27878            }
27879        }
27880    }
27881
27882    group { name: "elm/progressbar/horizontal/wheel";
27883        images {
27884            image: "busy-1.png" COMP;
27885            image: "busy-2.png" COMP;
27886            image: "busy-3.png" COMP;
27887            image: "busy-4.png" COMP;
27888            image: "busy-5.png" COMP;
27889            image: "busy-6.png" COMP;
27890            image: "busy-7.png" COMP;
27891            image: "busy-8.png" COMP;
27892            image: "busy-9.png" COMP;
27893        }
27894        parts {
27895            part { name: "elm.background.progressbar";
27896                mouse_events: 0;
27897                type: RECT;
27898                description {
27899                    state: "default" 0.0;
27900                }
27901            }
27902            part { name: "elm.swallow.bar";
27903                mouse_events: 0;
27904                type: SWALLOW;
27905                description { state: "default" 0.0;
27906                    min: 0 0;
27907                    max: 0 0;
27908                    visible: 0;
27909                }
27910            }
27911            part { name: "elm.swallow.content";
27912                type: SWALLOW;
27913                description { state: "default" 0.0;
27914                    min: 0 0;
27915                    max: 0 0;
27916                    visible: 0;
27917                }
27918            }
27919            part { name: "background";
27920                mouse_events: 0;
27921                clip_to: "elm.background.progressbar";
27922                description {
27923                    state: "default" 0.0;
27924                    min: 32 32;
27925                    max: 32 32;
27926                    visible: 1;
27927                    aspect: 1.0 1.0;
27928                    aspect_preference: BOTH;
27929                    image {
27930                        normal: "busy-9.png";
27931                        border: 7 7 7 7;
27932                    }
27933                }
27934                description {
27935                    state: "pulse" 0.0;
27936                    inherit: "default" 0.0;
27937                    image {
27938                        normal: "busy-9.png";
27939                        tween:  "busy-1.png";
27940                        tween:  "busy-2.png";
27941                        tween:  "busy-3.png";
27942                        tween:  "busy-4.png";
27943                        tween:  "busy-5.png";
27944                        tween:  "busy-6.png";
27945                        tween:  "busy-7.png";
27946                        tween:  "busy-8.png";
27947                        border: 7 7 7 7;
27948                    }
27949                }
27950            }
27951        }
27952        programs {
27953            program { name: "start_pulse";
27954                signal: "elm,state,pulse,start";
27955                source: "elm";
27956                action: STATE_SET "pulse" 0.0;
27957                target: "background";
27958                transition: LINEAR 0.5;
27959                after: "start_pulse";
27960            }
27961            program { name: "stop_pulse";
27962                signal: "elm,state,pulse,stop";
27963                source: "elm";
27964                action: STATE_SET "default" 0.0;
27965                target: "background";
27966            }
27967        }
27968    }
27969
27970
27971 ///////////////////////////////////////////////////////////////////////////////
27972    group { name: "elm/spinner/base/default";
27973        images {
27974            image: "shelf_inset.png" COMP;
27975            image: "bt_base1.png" COMP;
27976            image: "bt_hilight.png" COMP;
27977            image: "bt_shine.png" COMP;
27978            image: "bt_glow.png" COMP;
27979            image: "bt_dis_base.png" COMP;
27980            image: "bt_dis_hilight.png" COMP;
27981            image: "sp_bt_l.png" COMP;
27982            image: "sp_bt_r.png" COMP;
27983        }
27984        parts {
27985            part { name: "bg";
27986                type: RECT;
27987                description { state: "default" 0.0;
27988                    min: 0 30;
27989                    rel1.offset: 1 1;
27990                    rel2.offset: -2 -2;
27991                    color: 255 255 255 0;
27992                }
27993            }
27994            part { name: "conf_over";
27995                mouse_events:  0;
27996                description { state: "default" 0.0;
27997                    rel1.to: "bg";
27998                    rel2.to: "bg";
27999                    image {
28000                        normal: "shelf_inset.png";
28001                        border: 7 7 7 7;
28002                        middle: 0;
28003                    }
28004                    fill.smooth : 0;
28005                }
28006            }
28007            part { name: "left_bt";
28008                mouse_events:  1;
28009                description { state: "default" 0.0;
28010                    rel1 { to: "bg";
28011                        offset: 3 3;
28012                    }
28013                    rel2 { to: "bg";
28014                        offset: -4 -4;
28015                    }
28016                    align: 0.0 0.5;
28017                    min: 24 24;
28018                    aspect: 1.0 1.0;
28019                    aspect_preference: VERTICAL;
28020                    image {
28021                        normal: "bt_base1.png";
28022                        border: 6 6 6 6;
28023                    }
28024                    fill.smooth : 0;
28025                }
28026                description { state: "clicked" 0.0;
28027                    inherit: "default" 0.0;
28028                    image.normal: "bt_base1.png";
28029                    image.middle: SOLID;
28030                }
28031                description { state: "disabled" 0.0;
28032                    inherit:  "default" 0.0;
28033                    image {
28034                        normal: "bt_dis_base.png";
28035                        border: 4 4 4 4;
28036                    }
28037                }
28038            }
28039            part {          name: "left_over1";
28040                mouse_events: 0;
28041                description { state: "default" 0.0;
28042                    rel1.to: "left_bt";
28043                    rel2 { to: "left_bt";
28044                        relative: 1.0 0.5;
28045                    }
28046                    image {
28047                        normal: "bt_hilight.png";
28048                        border: 7 7 7 0;
28049                    }
28050                }
28051                description { state: "disabled" 0.0;
28052                    inherit:  "default" 0.0;
28053                    image {
28054                        normal: "bt_dis_hilight.png";
28055                        border: 4 4 4 0;
28056                    }
28057                }
28058            }
28059            part { name: "left_over2";
28060                mouse_events: 1;
28061                repeat_events: 1;
28062                ignore_flags: ON_HOLD;
28063                description { state: "default" 0.0;
28064                    rel1.to: "left_bt";
28065                    rel2.to: "left_bt";
28066                    image {
28067                        normal: "bt_shine.png";
28068                        border: 7 7 7 7;
28069                    }
28070                }
28071                description { state: "disabled" 0.0;
28072                    inherit:  "default" 0.0;
28073                    visible: 0;
28074                }
28075            }
28076            part { name: "left_over3";
28077                mouse_events: 1;
28078                repeat_events: 1;
28079                description { state: "default" 0.0;
28080                    color: 255 255 255 0;
28081                    rel1.to: "left_bt";
28082                    rel2.to: "left_bt";
28083                    image {
28084                        normal: "bt_glow.png";
28085                        border: 12 12 12 12;
28086                    }
28087                    fill.smooth : 0;
28088                }
28089                description { state: "clicked" 0.0;
28090                    inherit:  "default" 0.0;
28091                    visible: 1;
28092                    color: 255 255 255 255;
28093                }
28094            }
28095            part { name: "right_bt";
28096                mouse_events:  1;
28097                description { state: "default" 0.0;
28098                    rel1 { to: "bg";
28099                        offset: -26 3;
28100                    }
28101                    rel2 { to: "bg";
28102                        offset: -4 -4;
28103                    }
28104                    align: 1.0 0.5;
28105                    min: 24 24;
28106                    aspect: 1.0 1.0;
28107                    aspect_preference: VERTICAL;
28108                    image {
28109                        normal: "bt_base1.png";
28110                        border: 5 5 4 12;
28111                    }
28112                    fill.smooth : 0;
28113                }
28114                description { state: "clicked" 0.0;
28115                    inherit: "default" 0.0;
28116                    image.normal: "bt_base1.png";
28117                    image.middle: SOLID;
28118                }
28119                description { state: "disabled" 0.0;
28120                    inherit:  "default" 0.0;
28121                    image {
28122                        normal: "bt_dis_base.png";
28123                        border: 4 4 4 4;
28124                    }
28125                }
28126            }
28127            part { name: "right_over1";
28128                mouse_events: 0;
28129                description { state: "default" 0.0;
28130                    rel1.to: "right_bt";
28131                    rel2 { to: "right_bt";
28132                        relative: 1.0 0.5;
28133                    }
28134                    image {
28135                        normal: "bt_hilight.png";
28136                        border: 7 7 7 0;
28137                    }
28138                }
28139                description { state: "disabled" 0.0;
28140                    inherit:  "default" 0.0;
28141                    image {
28142                        normal: "bt_dis_hilight.png";
28143                        border: 4 4 4 0;
28144                    }
28145                }
28146            }
28147            part { name: "right_over2";
28148                mouse_events: 1;
28149                repeat_events: 1;
28150                ignore_flags: ON_HOLD;
28151                description { state: "default" 0.0;
28152                    rel1.to: "right_bt";
28153                    rel2.to: "right_bt";
28154                    image {
28155                        normal: "bt_shine.png";
28156                        border: 7 7 7 7;
28157                    }
28158                }
28159                description { state: "disabled" 0.0;
28160                    inherit:  "default" 0.0;
28161                    visible: 0;
28162                }
28163            }
28164            part { name: "right_over3";
28165                mouse_events: 1;
28166                repeat_events: 1;
28167                description { state: "default" 0.0;
28168                    color: 255 255 255 0;
28169                    rel1.to: "right_bt";
28170                    rel2.to: "right_bt";
28171                    image {
28172                        normal: "bt_glow.png";
28173                        border: 12 12 12 12;
28174                    }
28175                    fill.smooth : 0;
28176                }
28177                description { state: "clicked" 0.0;
28178                    inherit:  "default" 0.0;
28179                    visible: 1;
28180                    color: 255 255 255 255;
28181                }
28182            }
28183            part { name: "left_bt_icon";
28184                repeat_events: 1;
28185                description { state: "default" 0.0;
28186                    rel1.to: "left_bt";
28187                    rel1.offset: 4 4;
28188                    rel2.to: "left_bt";
28189                    rel2.offset: -5 -5;
28190                    align: 0.5 0.5;
28191                    min: 16 16;
28192                    aspect: 1.0 1.0;
28193                    aspect_preference: BOTH;
28194                    image.normal: "sp_bt_l.png";
28195                }
28196                description { state: "rtl" 0.0;
28197                    inherit: "default" 0.0;
28198                    image.normal: "sp_bt_r.png";
28199                }
28200            }
28201            part { name: "right_bt_icon";
28202                repeat_events: 1;
28203                description { state: "default" 0.0;
28204                    rel1.to: "right_bt";
28205                    rel1.offset: 4 4;
28206                    rel2.to: "right_bt";
28207                    rel2.offset: -5 -5;
28208                    align: 0.5 0.5;
28209                    min: 16 16;
28210                    aspect: 1.0 1.0;
28211                    aspect_preference: BOTH;
28212                    image.normal: "sp_bt_r.png";
28213                }
28214                description { state: "rtl" 0.0;
28215                    inherit: "default" 0.0;
28216                    image.normal: "sp_bt_l.png";
28217                }
28218            }
28219            part { name: "elm.text";
28220                type: TEXT;
28221                mouse_events: 0;
28222                scale: 1;
28223                description { state: "default" 0.0;
28224                    visible: 1;
28225                    align: 0.0 0.5;
28226                    rel1 { relative: 1.0 0.0;
28227                        offset: 3 2;
28228                        to_x: "left_bt";
28229                        to_y: "bg";
28230                    }
28231                    rel2 { relative: 0.0 1.0;
28232                        offset: -3 -2;
28233                        to_x: "right_bt";
28234                        to_y: "bg";
28235                    }
28236                    color: 0 0 0 255;
28237                    text {
28238                        font: "Sans,Edje-Vera";
28239                        size: 10;
28240                        min: 1 1;
28241                        align: 0.5 0.5;
28242                    }
28243                }
28244                description { state: "active" 0.0;
28245                    inherit: "default" 0.0;
28246                    visible: 0;
28247                }
28248                description { state: "disabled_active" 0.0;
28249                    inherit: "default" 0.0;
28250                    color: 0 0 0 128;
28251                    color3: 0 0 0 0;
28252                }
28253                description { state: "disabled" 0.0;
28254                    inherit: "default" 0.0;
28255                    color: 0 0 0 128;
28256                    color3: 0 0 0 0;
28257                }
28258            }
28259            part { name: "elm.dragable.slider";
28260                type: RECT;
28261                mouse_events: 0;
28262                scale: 1;
28263                dragable {
28264                    x: 1 1 0;
28265                    y: 0 0 0;
28266                }
28267                description { state: "default" 0.0;
28268                    rel1.to: "bg";
28269                    rel2.to: "bg";
28270                    fixed: 1 1;
28271                    color: 0 0 0 0;
28272                }
28273            }
28274            part { name: "button_events";
28275                type: RECT;
28276                dragable {
28277                    events: "elm.dragable.slider";
28278                }
28279                mouse_events: 1;
28280                description { state: "default" 0.0;
28281                    rel1.to: "elm.text";
28282                    rel2.to: "elm.text";
28283                    color: 0 0 0 0;
28284                }
28285            }
28286            part { name: "elm.swallow.entry";
28287                type: SWALLOW;
28288                description { state: "default" 0.0;
28289                    visible: 0;
28290                    align: 0.5 0.5;
28291                    rel1 { relative: 1.0 0.5;
28292                        offset: 3 2;
28293                        to_x: "left_bt";
28294                        to_y: "bg";
28295                    }
28296                    rel2 { relative: 0.0 0.5;
28297                        offset: -3 -2;
28298                        to_x: "right_bt";
28299                        to_y: "bg";
28300                    }
28301                    fixed: 1 1;
28302                    color: 0 0 0 0;
28303                }
28304                description { state: "active" 0.0;
28305                    inherit: "default" 0.0;
28306                    visible: 1;
28307                    color: 255 255 255 255;
28308                }
28309                description { state: "disabled_active" 0.0;
28310                    inherit: "default" 0.0;
28311                    visible: 0;
28312                }
28313                description { state: "disabled" 0.0;
28314                    inherit: "default" 0.0;
28315                    visible: 0;
28316                }
28317            }
28318            part { name: "disabler";
28319                type: RECT;
28320                description { state: "default" 0.0;
28321                    color: 0 0 0 0;
28322                    visible: 0;
28323                }
28324                description { state: "disabled" 0.0;
28325                    inherit: "default" 0.0;
28326                    visible: 1;
28327                }
28328            }
28329        }
28330        programs {
28331            program { name: "text_show";
28332                signal: "elm,state,text,visible";
28333                source: "elm";
28334                action:  STATE_SET "visible" 0.0;
28335                target: "elm.text";
28336            }
28337            program { name: "text_hide";
28338                signal: "elm,state,text,hidden";
28339                source: "elm";
28340                action:  STATE_SET "default" 0.0;
28341                target: "elm.text";
28342            }
28343            program { name: "dec";
28344                signal: "mouse,down,1";
28345                source: "left_bt";
28346                action: SIGNAL_EMIT "elm,action,decrement,start" "";
28347            }
28348            program { name: "dec2";
28349                signal: "mouse,up,1";
28350                source: "left_bt";
28351                action: SIGNAL_EMIT "elm,action,decrement,stop" "";
28352            }
28353            program { name: "inc";
28354                signal: "mouse,down,1";
28355                source: "right_bt";
28356                action: SIGNAL_EMIT "elm,action,increment,start" "";
28357            }
28358            program { name: "inc2";
28359                signal: "mouse,up,1";
28360                source: "right_bt";
28361                action: SIGNAL_EMIT "elm,action,increment,stop" "";
28362            }
28363            program {
28364                name:   "left_bt_click";
28365                signal: "mouse,down,1";
28366                source: "left_over2";
28367                action: STATE_SET "clicked" 0.0;
28368                target: "left_bt";
28369            }
28370            program {
28371                name:   "left_bt_unclick";
28372                signal: "mouse,up,1";
28373                source: "left_over2";
28374                action: STATE_SET "default" 0.0;
28375                target: "left_bt";
28376            }
28377            program {
28378                name:   "left_bt_click2";
28379                signal: "mouse,down,1";
28380                source: "left_over3";
28381                action: STATE_SET "clicked" 0.0;
28382                target: "left_over3";
28383            }
28384            program {
28385                name:   "left_bt_unclick2";
28386                signal: "mouse,up,1";
28387                source: "left_over3";
28388                action: STATE_SET "default" 0.0;
28389                transition: DECELERATE 0.5;
28390                target: "left_over3";
28391            }
28392            program {
28393                name:   "left_bt_unclick3";
28394                signal: "mouse,up,1";
28395                source: "left_over2";
28396                action: SIGNAL_EMIT "elm,action,click" "";
28397            }
28398            program {
28399                name:   "left_bt_pressed_anim";
28400                signal: "elm,left,anim,activate";
28401                source: "elm";
28402                action: STATE_SET "clicked" 0.0;
28403                target: "left_bt";
28404                target: "left_over3";
28405                after: "left_bt_unpressed_anim";
28406            }
28407            program {
28408                name:   "left_bt_unpressed_anim";
28409                action: STATE_SET "default" 0.0;
28410                transition: DECELERATE 0.5;
28411                target: "left_bt";
28412                target: "left_over3";
28413            }
28414
28415            program {
28416                name:   "right_bt_click";
28417                signal: "mouse,down,1";
28418                source: "right_over2";
28419                action: STATE_SET "clicked" 0.0;
28420                target: "right_bt";
28421            }
28422            program {
28423                name:   "right_bt_unclick";
28424                signal: "mouse,up,1";
28425                source: "right_over2";
28426                action: STATE_SET "default" 0.0;
28427                target: "right_bt";
28428            }
28429            program {
28430                name:   "right_bt_click2";
28431                signal: "mouse,down,1";
28432                source: "right_over3";
28433                action: STATE_SET "clicked" 0.0;
28434                target: "right_over3";
28435            }
28436            program {
28437                name:   "right_bt_unclick2";
28438                signal: "mouse,up,1";
28439                source: "right_over3";
28440                action: STATE_SET "default" 0.0;
28441                transition: DECELERATE 0.5;
28442                target: "right_over3";
28443            }
28444            program {
28445                name:   "right_bt_unclick3";
28446                signal: "mouse,up,1";
28447                source: "right_over2";
28448                action: SIGNAL_EMIT "elm,action,click" "";
28449            }
28450            program {
28451                name:   "right_bt_pressed_anim";
28452                signal: "elm,right,anim,activate";
28453                source: "elm";
28454                action: STATE_SET "clicked" 0.0;
28455                target: "right_bt";
28456                target: "right_over3";
28457                after: "right_bt_unpressed_anim";
28458            }
28459            program {
28460                name:   "right_bt_unpressed_anim";
28461                action: STATE_SET "default" 0.0;
28462                transition: DECELERATE 0.5;
28463                target: "right_bt";
28464                target: "right_over3";
28465            }
28466
28467            program { name: "disable";
28468                signal: "elm,state,disabled";
28469                source: "elm";
28470                action: STATE_SET "disabled" 0.0;
28471                target: "left_bt";
28472                target: "left_over1";
28473                target: "left_over2";
28474                target: "right_bt";
28475                target: "right_over1";
28476                target: "right_over2";
28477                target: "disabler";
28478                after: "disable_text";
28479            }
28480            program { name: "disable_text";
28481                script {
28482                    new st[31];
28483                    new Float:vl;
28484                    get_state(PART:"elm.text", st, 30, vl);
28485                    if (!strcmp(st, "active"))
28486                    set_state(PART:"elm.text", "disabled_active", 0.0);
28487                    else
28488                    set_state(PART:"elm.text", "disabled", 0.0);
28489
28490                    get_state(PART:"elm.swallow.entry", st, 30, vl);
28491                    if (!strcmp(st, "active"))
28492                    set_state(PART:"elm.swallow.entry", "disabled_active", 0.0);
28493                    else
28494                    set_state(PART:"elm.swallow.entry", "disabled", 0.0);
28495                }
28496            }
28497            program { name: "enable";
28498                signal: "elm,state,enabled";
28499                source: "elm";
28500                action: STATE_SET "default" 0.0;
28501                target: "left_bt";
28502                target: "left_over1";
28503                target: "left_over2";
28504                target: "right_bt";
28505                target: "right_over1";
28506                target: "right_over2";
28507                target: "disabler";
28508                after: "enable_text";
28509            }
28510            program { name: "enable_text";
28511                script {
28512                    new st[31];
28513                    new Float:vl;
28514                    get_state(PART:"elm.text", st, 30, vl);
28515                    if (!strcmp(st, "disabled_active"))
28516                    set_state(PART:"elm.text", "active", 0.0);
28517                    else
28518                    set_state(PART:"elm.text", "default", 0.0);
28519
28520                    get_state(PART:"elm.swallow.entry", st, 30, vl);
28521                    if (!strcmp(st, "disabled_active"))
28522                    set_state(PART:"elm.swallow.entry", "active", 0.0);
28523                    else
28524                    set_state(PART:"elm.swallow.entry", "default", 0.0);
28525                }
28526            }
28527            program { name: "active";
28528                signal: "elm,state,active";
28529                source: "elm";
28530                action: STATE_SET "active" 0.0;
28531                target: "elm.text";
28532                target: "elm.swallow.entry";
28533            }
28534            program { name: "inactive";
28535                signal: "elm,state,inactive";
28536                source: "elm";
28537                action: STATE_SET "default" 0.0;
28538                target: "elm.text";
28539                target: "elm.swallow.entry";
28540            }
28541            program { name: "toggle_text";
28542                signal: "mouse,up,1";
28543                source: "button_events";
28544                action: SIGNAL_EMIT "elm,action,entry,toggle" "";
28545            }
28546            program { name: "to_rtl";
28547                signal: "edje,state,rtl";
28548                source: "edje";
28549                action: STATE_SET "rtl" 0.0;
28550                target: "right_bt_icon";
28551                target: "left_bt_icon";
28552            }
28553            program { name: "to_ltr";
28554                signal: "edje,state,ltr";
28555                source: "edje";
28556                action: STATE_SET "default" 0.0;
28557                target: "right_bt_icon";
28558                target: "left_bt_icon";
28559            }
28560        }
28561    }
28562
28563 ///////////////////////////////////////////////////////////////////////////////
28564    group { name: "elm/spinner/base/vertical";
28565        images {
28566            image: "shelf_inset.png" COMP;
28567            image: "bt_hilight.png" COMP;
28568            image: "bt_shine.png" COMP;
28569            image: "bt_glow.png" COMP;
28570            image: "bt_dis_base.png" COMP;
28571            image: "bt_dis_hilight.png" COMP;
28572            image: "up.png" COMP;
28573            image: "down.png" COMP;
28574            image: "bt_spinner_up.png" COMP;
28575            image: "bt_spinner_down.png" COMP;
28576            image: "bt_spinner_hilight.png" COMP;
28577        }
28578        parts {
28579            part { name: "bg";
28580                type: RECT;
28581                description { state: "default" 0.0;
28582                    min: 0 30;
28583                    rel1.offset: 1 1;
28584                    rel2.offset: -2 -2;
28585                    color: 255 255 255 0;
28586                }
28587            }
28588            part { name: "conf_over";
28589                mouse_events:  0;
28590                description { state: "default" 0.0;
28591                    rel1 {
28592                      to: "bg";
28593                      relative: 0.0 0.0;
28594                    }
28595                    rel2 {
28596                       to: "bg";
28597                    }
28598                    image {
28599                        normal: "shelf_inset.png";
28600                        border: 7 7 7 7;
28601                        middle: 0;
28602                    }
28603                    fill.smooth : 0;
28604                }
28605            }
28606            part { name: "down_bt";
28607                mouse_events:  1;
28608                description { state: "default" 0.0;
28609                    fixed: 1 1;
28610                    rel1 {
28611                        to: "up_bt";
28612                        relative: 0 1;
28613                        offset: 0 1;
28614                    }
28615                    rel2 {
28616                        to_y: "bg";
28617                        to_x: "up_bt";
28618                        relative: 1 1;
28619                        offset: -1 -4;
28620                    }
28621                    align: 1.0 0.5;
28622                    min: 24 16;
28623                    image {
28624                        normal: "bt_spinner_down.png";
28625                        border: 6 6 6 6;
28626                    }
28627                    fill.smooth : 0;
28628                }
28629                description { state: "clicked" 0.0;
28630                    inherit: "default" 0.0;
28631                    image.normal: "bt_spinner_down.png";
28632                    image.middle: SOLID;
28633                }
28634                description { state: "disabled" 0.0;
28635                    inherit:  "default" 0.0;
28636                    image {
28637                        normal: "bt_dis_base.png";
28638                        border: 4 4 4 4;
28639                    }
28640                }
28641            }
28642            part { name: "down_over3";
28643                mouse_events: 1;
28644                repeat_events: 1;
28645                description { state: "default" 0.0;
28646                    color: 255 255 255 0;
28647                    rel1.to: "down_bt";
28648                    rel2.to: "down_bt";
28649                    image {
28650                        normal: "bt_glow.png";
28651                        border: 12 12 12 12;
28652                    }
28653                    fill.smooth : 0;
28654                }
28655                description { state: "clicked" 0.0;
28656                    inherit:  "default" 0.0;
28657                    visible: 1;
28658                    color: 255 255 255 255;
28659                }
28660            }
28661            part { name: "up_bt";
28662                mouse_events:  1;
28663                description { state: "default" 0.0;
28664                    fixed: 1 0;
28665                    rel1 { to: "bg";
28666                        relative: 0 0;
28667                        offset: 0 2;
28668                    }
28669                    rel2 { to: "bg";
28670                        relative: 1 0.5;
28671                        offset: -3 0;
28672                    }
28673                    align: 1.0 0.5;
28674                    min: 24 16;
28675                    aspect: 1.5 1.0;
28676                    aspect_preference: BOTH;
28677                    image {
28678                        normal: "bt_spinner_up.png";
28679                        border: 6 6 6 6;
28680                    }
28681                    fill.smooth : 0;
28682                }
28683                description { state: "clicked" 0.0;
28684                    inherit: "default" 0.0;
28685                    image.normal: "bt_spinner_up.png";
28686                    image.middle: SOLID;
28687                }
28688                description { state: "disabled" 0.0;
28689                    inherit:  "default" 0.0;
28690                    image {
28691                        normal: "bt_dis_base.png";
28692                        border: 4 4 4 4;
28693                    }
28694                }
28695            }
28696            part { name: "up_over1";
28697                mouse_events: 0;
28698                description { state: "default" 0.0;
28699                    rel1.to: "up_bt";
28700                    rel2 { to: "up_bt";
28701                        relative: 1.0 0.5;
28702                    }
28703                    image {
28704                        normal: "bt_spinner_hilight.png";
28705                        border: 7 7 7 0;
28706                    }
28707                }
28708                description { state: "disabled" 0.0;
28709                    inherit:  "default" 0.0;
28710                    image {
28711                        normal: "bt_dis_hilight.png";
28712                        border: 4 4 4 0;
28713                    }
28714                }
28715            }
28716            part { name: "up_over3";
28717                mouse_events: 1;
28718                repeat_events: 1;
28719                description { state: "default" 0.0;
28720                    color: 255 255 255 0;
28721                    rel1.to: "up_bt";
28722                    rel2.to: "up_bt";
28723                    image {
28724                        normal: "bt_glow.png";
28725                        border: 12 12 12 12;
28726                    }
28727                    fill.smooth : 0;
28728                }
28729                description { state: "clicked" 0.0;
28730                    inherit:  "default" 0.0;
28731                    visible: 1;
28732                    color: 255 255 255 255;
28733                }
28734            }
28735            part { name: "down_bt_icon";
28736                repeat_events: 1;
28737                description { state: "default" 0.0;
28738                    rel1.to: "down_bt";
28739                    rel1.offset: 5 3;
28740                    rel2.to: "down_bt";
28741                    rel2.offset: -6 -3;
28742                    align: 0.5 0.5;
28743                    image.normal: "down.png";
28744                }
28745            }
28746            part { name: "up_bt_icon";
28747                repeat_events: 1;
28748                description { state: "default" 0.0;
28749                    rel1.to: "up_bt";
28750                    rel1.offset: 5 3;
28751                    rel2.to: "up_bt";
28752                    rel2.offset: -6 -3;
28753                    align: 0.5 0.5;
28754                    image.normal: "up.png";
28755                }
28756            }
28757            part { name: "elm.text";
28758                type: TEXT;
28759                mouse_events: 0;
28760                scale: 1;
28761                description { state: "default" 0.0;
28762                    visible: 1;
28763                    align: 0.0 0.5;
28764                    rel1 { relative: 0.0 0.0;
28765                        offset: 3 2;
28766                        to_x: "bg";
28767                        to_y: "bg";
28768                    }
28769                    rel2 { relative: 0.0 1.0;
28770                        offset: -3 -2;
28771                        to_x: "down_bt";
28772                        to_y: "bg";
28773                    }
28774                    color: 0 0 0 255;
28775                    text {
28776                        font: "Sans,Edje-Vera";
28777                        size: 10;
28778                        min: 1 1;
28779                        align: 0.5 0.5;
28780                    }
28781                }
28782                description { state: "active" 0.0;
28783                    inherit: "default" 0.0;
28784                    visible: 0;
28785                }
28786                description { state: "disabled_active" 0.0;
28787                    inherit: "default" 0.0;
28788                    color: 0 0 0 128;
28789                    color3: 0 0 0 0;
28790                }
28791                description { state: "disabled" 0.0;
28792                    inherit: "default" 0.0;
28793                    color: 0 0 0 128;
28794                    color3: 0 0 0 0;
28795                }
28796            }
28797            part { name: "elm.dragable.slider";
28798                type: RECT;
28799                mouse_events: 0;
28800                scale: 1;
28801                dragable {
28802                    x: 1 1 0;
28803                    y: 0 0 0;
28804                }
28805                description { state: "default" 0.0;
28806                    rel1.to: "bg";
28807                    rel2.to: "bg";
28808                    fixed: 1 1;
28809                    color: 0 0 0 0;
28810                }
28811            }
28812            part { name: "button_events";
28813                type: RECT;
28814                dragable {
28815                    events: "elm.dragable.slider";
28816                }
28817                mouse_events: 1;
28818                description { state: "default" 0.0;
28819                    rel1.to: "elm.text";
28820                    rel2.to: "elm.text";
28821                    color: 0 0 0 0;
28822                }
28823            }
28824            part { name: "elm.swallow.entry";
28825                type: SWALLOW;
28826                description { state: "default" 0.0;
28827                    visible: 0;
28828                    align: 0.5 0.5;
28829                    rel1 { relative: 0.0 0.5;
28830                        offset: 3 2;
28831                        to: "bg";
28832                    }
28833                    rel2 { relative: 1.0 0.5;
28834                        offset: -3 -2;
28835                        to: "bg";
28836                    }
28837                    fixed: 1 1;
28838                    color: 0 0 0 0;
28839                }
28840                description { state: "active" 0.0;
28841                    inherit: "default" 0.0;
28842                    visible: 1;
28843                    color: 255 255 255 255;
28844                }
28845                description { state: "disabled_active" 0.0;
28846                    inherit: "default" 0.0;
28847                    visible: 0;
28848                }
28849                description { state: "disabled" 0.0;
28850                    inherit: "default" 0.0;
28851                    visible: 0;
28852                }
28853            }
28854            part { name: "disabler";
28855                type: RECT;
28856                description { state: "default" 0.0;
28857                    color: 0 0 0 0;
28858                    visible: 0;
28859                }
28860                description { state: "disabled" 0.0;
28861                    inherit: "default" 0.0;
28862                    visible: 1;
28863                }
28864            }
28865        }
28866        programs {
28867            program { name: "text_show";
28868                signal: "elm,state,text,visible";
28869                source: "elm";
28870                action:  STATE_SET "visible" 0.0;
28871                target: "elm.text";
28872            }
28873            program { name: "text_hide";
28874                signal: "elm,state,text,hidden";
28875                source: "elm";
28876                action:  STATE_SET "default" 0.0;
28877                target: "elm.text";
28878            }
28879            program { name: "dec";
28880                signal: "mouse,down,1";
28881                source: "down_bt";
28882                action: SIGNAL_EMIT "elm,action,decrement,start" "";
28883            }
28884            program { name: "dec2";
28885                signal: "mouse,up,1";
28886                source: "down_bt";
28887                action: SIGNAL_EMIT "elm,action,decrement,stop" "";
28888            }
28889            program { name: "inc";
28890                signal: "mouse,down,1";
28891                source: "up_bt";
28892                action: SIGNAL_EMIT "elm,action,increment,start" "";
28893            }
28894            program { name: "inc2";
28895                signal: "mouse,up,1";
28896                source: "up_bt";
28897                action: SIGNAL_EMIT "elm,action,increment,stop" "";
28898            }
28899            program {
28900                name:   "down_bt_click2";
28901                signal: "mouse,down,1";
28902                source: "down_over3";
28903                action: STATE_SET "clicked" 0.0;
28904                target: "down_over3";
28905            }
28906            program {
28907                name:   "down_bt_unclick2";
28908                signal: "mouse,up,1";
28909                source: "down_over3";
28910                action: STATE_SET "default" 0.0;
28911                transition: DECELERATE 0.5;
28912                target: "down_over3";
28913            }
28914            program {
28915                name:   "up_bt_click2";
28916                signal: "mouse,down,1";
28917                source: "up_over3";
28918                action: STATE_SET "clicked" 0.0;
28919                target: "up_over3";
28920            }
28921            program {
28922                name:   "up_bt_unclick2";
28923                signal: "mouse,up,1";
28924                source: "up_over3";
28925                action: STATE_SET "default" 0.0;
28926                transition: DECELERATE 0.5;
28927                target: "up_over3";
28928            }
28929            program { name: "disable";
28930                signal: "elm,state,disabled";
28931                source: "elm";
28932                action: STATE_SET "disabled" 0.0;
28933                target: "down_bt";
28934                target: "up_bt";
28935                target: "disabler";
28936                after: "disable_text";
28937            }
28938            program { name: "disable_text";
28939                script {
28940                    new st[31];
28941                    new Float:vl;
28942                    get_state(PART:"elm.text", st, 30, vl);
28943                    if (!strcmp(st, "active"))
28944                    set_state(PART:"elm.text", "disabled_active", 0.0);
28945                    else
28946                    set_state(PART:"elm.text", "disabled", 0.0);
28947
28948                    get_state(PART:"elm.swallow.entry", st, 30, vl);
28949                    if (!strcmp(st, "active"))
28950                    set_state(PART:"elm.swallow.entry", "disabled_active", 0.0);
28951                    else
28952                    set_state(PART:"elm.swallow.entry", "disabled", 0.0);
28953                }
28954            }
28955            program { name: "enable";
28956                signal: "elm,state,enabled";
28957                source: "elm";
28958                action: STATE_SET "default" 0.0;
28959                target: "down_bt";
28960                target: "up_bt";
28961                target: "disabler";
28962                after: "enable_text";
28963            }
28964            program { name: "enable_text";
28965                script {
28966                    new st[31];
28967                    new Float:vl;
28968                    get_state(PART:"elm.text", st, 30, vl);
28969                    if (!strcmp(st, "disabled_active"))
28970                    set_state(PART:"elm.text", "active", 0.0);
28971                    else
28972                    set_state(PART:"elm.text", "default", 0.0);
28973
28974                    get_state(PART:"elm.swallow.entry", st, 30, vl);
28975                    if (!strcmp(st, "disabled_active"))
28976                    set_state(PART:"elm.swallow.entry", "active", 0.0);
28977                    else
28978                    set_state(PART:"elm.swallow.entry", "default", 0.0);
28979                }
28980            }
28981            program { name: "active";
28982                signal: "elm,state,active";
28983                source: "elm";
28984                action: STATE_SET "active" 0.0;
28985                target: "elm.text";
28986                target: "elm.swallow.entry";
28987            }
28988            program { name: "inactive";
28989                signal: "elm,state,inactive";
28990                source: "elm";
28991                action: STATE_SET "default" 0.0;
28992                target: "elm.text";
28993                target: "elm.swallow.entry";
28994            }
28995            program { name: "toggle_text";
28996                signal: "mouse,up,1";
28997                source: "button_events";
28998                action: SIGNAL_EMIT "elm,action,entry,toggle" "";
28999            }
29000        }
29001    }
29002
29003
29004    ///////////////////////////////////////////////////////////////////////////////
29005    group { name: "elm/index/base/vertical/default";
29006        images {
29007            image: "bt_base1.png" COMP;
29008            image: "bt_base2.png" COMP;
29009            image: "bt_hilight.png" COMP;
29010            image: "bt_shine.png" COMP;
29011        }
29012        parts {
29013            part { name: "clip";
29014                type: RECT;
29015                mouse_events:  0;
29016                description { state: "default" 0.0;
29017                    visible:  0;
29018                    color: 255 255 255 0;
29019                }
29020                description { state: "active" 0.0;
29021                    visible:  1;
29022                    color: 255 255 255 255;
29023                }
29024            }
29025            part { name: "clip2";
29026                type: RECT;
29027                mouse_events:  0;
29028                clip_to: "clip";
29029                description { state: "default" 0.0;
29030                    visible: 0;
29031                    color: 255 255 255 0;
29032                }
29033                description { state: "active" 0.0;
29034                    visible:  1;
29035                    color: 255 255 255 255;
29036                }
29037            }
29038            part { name: "elm.swallow.index.0";
29039                type: SWALLOW;
29040                clip_to: "clip";
29041                description { state: "default" 0.0;
29042                    align: 1.0 0.5;
29043                    fixed: 1 1;
29044                    rel1 {
29045                        relative: 1.0 0.5;
29046                        offset: -1 5;
29047                    }
29048                    rel2 {
29049                        relative: 1.0 0.5;
29050                        offset: -1 -6;
29051                    }
29052                }
29053            }
29054            part { name: "button_image";
29055                mouse_events: 1;
29056                clip_to: "clip";
29057                description { state: "default" 0.0;
29058                    rel1 {
29059                        to: "elm.text.body";
29060                        offset: -5 -5;
29061                    }
29062                    rel2 {
29063                        to: "elm.text";
29064                        offset: 4 4;
29065                    }
29066                    image {
29067                        normal: "bt_base2.png";
29068                        border: 7 7 7 7;
29069                    }
29070                    image.middle: SOLID;
29071                }
29072            }
29073            part { name: "elm.text.body";
29074                type: TEXT;
29075                effect: SOFT_SHADOW;
29076                mouse_events: 0;
29077                scale: 1;
29078                clip_to: "clip";
29079                description { state: "default" 0.0;
29080                    align: 1.0 0.5;
29081                    fixed: 1 1;
29082                    rel1 {
29083                        to: "elm.text";
29084                        relative: 0.0 0.0;
29085                        offset: 5 0;
29086                    }
29087                    rel2 {
29088                        to: "elm.text";
29089                        relative: 0.0 1.0;
29090                        offset: 5 -1;
29091                    }
29092                    color: 224 224 224 255;
29093                    color3: 0 0 0 64;
29094                    text {
29095                        font:     "Sans,Edje-Vera";
29096                        size:     20;
29097                        min:      1 1;
29098                        align:    1.0 0.5;
29099                    }
29100                }
29101            }
29102            part { name: "elm.text";
29103                type: TEXT;
29104                effect: SOFT_SHADOW;
29105                mouse_events: 0;
29106                scale: 1;
29107                clip_to: "clip";
29108                description { state: "default" 0.0;
29109                    align: 1.0 0.5;
29110                    fixed: 1 1;
29111                    rel1 {
29112                        to_x: "elm.swallow.event.0";
29113                        to_y: "elm.dragable.pointer";
29114                        relative: 0.0 0.5;
29115                        offset: -16 0;
29116                    }
29117                    rel2 {
29118                        to_x: "elm.swallow.event.0";
29119                        to_y: "elm.dragable.pointer";
29120                        relative: 0.0 0.5;
29121                        offset: -16 -1;
29122                    }
29123                    color: 255 0 0 255;
29124                    color3: 0 0 0 64;
29125                    text {
29126                        font:     "Sans,Edje-Vera";
29127                        size:     20;
29128                        min:      1 1;
29129                        align:    1.0 0.5;
29130                    }
29131                }
29132            }
29133            part {        name: "over1";
29134                mouse_events: 0;
29135                clip_to: "clip";
29136                description { state: "default" 0.0;
29137                    rel1 {
29138                        to: "button_image";
29139                    }
29140                    rel2 {
29141                        to: "button_image";
29142                        relative: 1.0 0.5;
29143                    }
29144                    image {
29145                        normal: "bt_hilight.png";
29146                        border: 7 7 7 0;
29147                    }
29148                }
29149            }
29150            part { name: "over2";
29151                mouse_events: 1;
29152                repeat_events: 1;
29153                ignore_flags: ON_HOLD;
29154                clip_to: "clip";
29155                description { state: "default" 0.0;
29156                    rel1 {
29157                        to: "button_image";
29158                    }
29159                    rel2 {
29160                        to: "button_image";
29161                    }
29162                    image {
29163                        normal: "bt_shine.png";
29164                        border: 7 7 7 7;
29165                    }
29166                }
29167            }
29168            part { name: "elm.dragable.pointer";
29169                type: RECT;
29170                mouse_events: 0;
29171                dragable {
29172                    x: 1 1 0;
29173                    y: 1 1 0;
29174                }
29175                clip_to: "clip";
29176                description { state: "default" 0.0;
29177                    fixed: 1 1;
29178                    min: 8 8;
29179                    max: 8 8;
29180                    visible: 0;
29181                    rel1 {
29182                        relative: 0.0 0.0;
29183                        offset:   0 0;
29184                    }
29185                    rel2 {
29186                        relative: 0.0 0.0;
29187                        offset:   0 0;
29188                    }
29189                }
29190            }
29191            part { name: "elm.swallow.event.0";
29192                type: SWALLOW;
29193                description { state: "default" 0.0;
29194                    align: 1.0 0.5;
29195                    fixed: 1 1;
29196                    rel1 {
29197                        relative: 1.0 0.0;
29198                        offset: -1 0;
29199                    }
29200                    rel2 {
29201                        relative: 1.0 1.0;
29202                        offset: -1 -1;
29203                    }
29204                }
29205            }
29206        }
29207        programs {
29208            program { name: "active";
29209                signal: "elm,state,active";
29210                source: "elm";
29211                action: STATE_SET "active" 0.0;
29212                transition: DECELERATE 0.5;
29213                target: "clip";
29214            }
29215            program { name: "inactive";
29216                signal: "elm,state,inactive";
29217                source: "elm";
29218                action: STATE_SET "default" 0.0;
29219                transition: DECELERATE 0.5;
29220                target: "clip";
29221            }
29222        }
29223    }
29224
29225    group { name: "elm/index/item/vertical/default";
29226        data.item: "stacking" "above";
29227        data.item: "selectraise" "on";
29228        images {
29229            image: "ilist_1.png" COMP;
29230            image: "ilist_item_shadow.png" COMP;
29231        }
29232        parts {
29233            part {
29234                name: "base_sh";
29235                mouse_events: 0;
29236                description {
29237                    state: "default" 0.0;
29238                    align: 0.0 0.0;
29239                    min: 0 10;
29240                    fixed: 1 1;
29241                    rel1 {
29242                        to: "base";
29243                        relative: 0.0 1.0;
29244                        offset: 0 0;
29245                    }
29246                    rel2 {
29247                        to: "base";
29248                        relative: 1.0 1.0;
29249                        offset: -1 0;
29250                    }
29251                    image {
29252                        normal: "ilist_item_shadow.png";
29253                    }
29254                    fill.smooth: 0;
29255                }
29256            }
29257            part {
29258                name: "base";
29259                mouse_events: 0;
29260                description {
29261                    state: "default" 0.0;
29262                    image {
29263                        normal: "ilist_1.png";
29264                        border: 2 2 2 2;
29265                    }
29266                    fill.smooth: 0;
29267                }
29268                description { state: "active" 0.0;
29269                    inherit: "default" 0.0;
29270                    rel1 {
29271                        offset: -16 0;
29272                    }
29273                }
29274            }
29275            part { name: "elm.text";
29276                type:           TEXT;
29277                mouse_events:   0;
29278                scale: 1;
29279                description {
29280                    state: "default" 0.0;
29281                           //               min: 16 16;
29282                    rel1 {
29283                        to: "base";
29284                        relative: 0.0  0.0;
29285                        offset:   4 4;
29286                    }
29287                    rel2 {
29288                        to: "base";
29289                        relative: 0.5  1.0;
29290                        offset:   -1 -1;
29291                    }
29292                    color: 0 0 0 128;
29293                    text {
29294                        font: "Sans";
29295                        size: 10;
29296                        min: 1 1;
29297                             //                  min: 0 1;
29298                        align: 0.5 0.5;
29299                    }
29300                }
29301                description { state: "active" 0.0;
29302                    inherit: "default" 0.0;
29303                    color: 0 0 0 255;
29304                }
29305            }
29306        }
29307        programs {
29308            program { name: "active";
29309                signal: "elm,state,active";
29310                source: "elm";
29311                action: STATE_SET "active" 0.0;
29312                transition: DECELERATE 0.5;
29313                target: "elm.text";
29314                target: "base";
29315            }
29316            program { name: "inactive";
29317                signal: "elm,state,inactive";
29318                source: "elm";
29319                action: STATE_SET "default" 0.0;
29320                transition: DECELERATE 0.5;
29321                target: "elm.text";
29322                target: "base";
29323            }
29324        }
29325    }
29326
29327    group { name: "elm/index/item_odd/vertical/default";
29328        data.item: "stacking" "below";
29329        images {
29330            image: "ilist_2.png" COMP;
29331        }
29332        parts {
29333            part {
29334                name: "base";
29335                mouse_events: 0;
29336                description {
29337                    state: "default" 0.0;
29338                    image {
29339                        normal: "ilist_2.png";
29340                        border: 2 2 2 2;
29341                    }
29342                    fill.smooth: 0;
29343                }
29344                description { state: "active" 0.0;
29345                    inherit: "default" 0.0;
29346                    rel1 {
29347                        offset: -16 0;
29348                    }
29349                }
29350            }
29351            part { name: "elm.text";
29352                type:           TEXT;
29353                mouse_events:   0;
29354                scale: 1;
29355                description {
29356                    state: "default" 0.0;
29357                           //               min: 16 16;
29358                    rel1 {
29359                        to: "base";
29360                        relative: 0.0  0.0;
29361                        offset:   4 4;
29362                    }
29363                    rel2 {
29364                        to: "base";
29365                        relative: 0.5  1.0;
29366                        offset:   -1 -1;
29367                    }
29368                    color: 0 0 0 128;
29369                    text {
29370                        font: "Sans";
29371                        size: 10;
29372                        min: 1 1;
29373                             //                  min: 0 1;
29374                        align: 0.5 0.5;
29375                    }
29376                }
29377                description { state: "active" 0.0;
29378                    inherit: "default" 0.0;
29379                    color: 0 0 0 255;
29380                }
29381            }
29382        }
29383        programs {
29384            program { name: "active";
29385                signal: "elm,state,active";
29386                source: "elm";
29387                action: STATE_SET "active" 0.0;
29388                transition: DECELERATE 0.5;
29389                target: "elm.text";
29390                target: "base";
29391            }
29392            program { name: "inactive";
29393                signal: "elm,state,inactive";
29394                source: "elm";
29395                action: STATE_SET "default" 0.0;
29396                transition: DECELERATE 0.5;
29397                target: "elm.text";
29398                target: "base";
29399            }
29400        }
29401    }
29402
29403 ///////////////////////////////////////////////////////////////////////////////
29404    group { name: "elm/gengrid/item/default/default";
29405       data.item: "labels" "elm.text";
29406       data.item: "icons" "elm.swallow.icon elm.swallow.end";
29407       images {
29408          image: "bt_sm_base1.png" COMP;
29409          image: "bt_sm_shine.png" COMP;
29410          image: "bt_sm_hilight.png" COMP;
29411          image: "ilist_1.png" COMP;
29412          image: "ilist_item_shadow.png" COMP;
29413       }
29414       parts {
29415          part { name: "event";
29416             type: RECT;
29417             repeat_events: 1;
29418             description {
29419                state: "default" 0.0;
29420                color: 0 0 0 0;
29421             }
29422          }
29423          part { name: "base_sh";
29424             mouse_events: 0;
29425             description { state: "default" 0.0;
29426                align: 0.0 0.0;
29427                min: 0 10;
29428                fixed: 1 1;
29429                rel1 {
29430                   to: "base";
29431                   relative: 0.0 1.0;
29432                   offset: 0 0;
29433                }
29434                rel2 {
29435                   to: "base";
29436                   relative: 1.0 1.0;
29437                   offset: -1 0;
29438                }
29439                image {
29440                   normal: "ilist_item_shadow.png";
29441                }
29442                fill.smooth: 0;
29443             }
29444          }
29445          part { name: "base";
29446             mouse_events: 0;
29447             description { state: "default" 0.0;
29448                image {
29449                   normal: "ilist_1.png";
29450                   border: 2 2 2 2;
29451                }
29452                fill.smooth: 0;
29453             }
29454          }
29455          part { name: "bg";
29456             clip_to: "disclip";
29457             mouse_events: 0;
29458             description { state: "default" 0.0;
29459                visible: 0;
29460                color: 255 255 255 0;
29461                rel1 {
29462                   relative: 0.0 0.0;
29463                   offset: -5 -5;
29464                }
29465                rel2 {
29466                   relative: 1.0 1.0;
29467                   offset: 4 4;
29468                }
29469                image {
29470                   normal: "bt_sm_base1.png";
29471                   border: 6 6 6 6;
29472                }
29473                image.middle: SOLID;
29474             }
29475             description { state: "selected" 0.0;
29476                inherit: "default" 0.0;
29477                visible: 1;
29478                color: 255 255 255 255;
29479                rel1 {
29480                   relative: 0.0 0.0;
29481                   offset: -2 -2;
29482                }
29483                rel2 {
29484                   relative: 1.0 1.0;
29485                   offset: 1 1;
29486                }
29487             }
29488          }
29489          part { name: "elm.swallow.pad";
29490             type: SWALLOW;
29491             description { state: "default" 0.0;
29492                fixed: 1 0;
29493                align: 0.0 0.5;
29494                rel1 {
29495                   relative: 0.0  1.0;
29496                   offset:   0    -10;
29497                }
29498                rel2 {
29499                   to_y: "elm.text";
29500                   relative: 0.0  0.0;
29501                   offset:   -1   -1;
29502                }
29503             }
29504          }
29505          part { name: "elm.swallow.icon";
29506             clip_to: "disclip";
29507             type: SWALLOW;
29508             description { state: "default" 0.0;
29509                fixed: 1 0;
29510                align: 0.5 0.5;
29511                rel1 {
29512                   relative: 0.0  0.0;
29513                   offset:   -1    4;
29514                }
29515                rel2 {
29516                   to_y: "elm.swallow.pad";
29517                   relative: 1.0  0.0;
29518                   offset:   -1   -5;
29519                }
29520             }
29521          }
29522          part { name: "elm.swallow.end";
29523             clip_to: "disclip";
29524             type: SWALLOW;
29525             description { state: "default" 0.0;
29526                fixed: 1 0;
29527                align: 1.0 0.0;
29528                aspect: 1.0 1.0;
29529                aspect_preference: HORIZONTAL;
29530                rel1 {
29531                   relative: 1.0 0.0;
29532                   offset: -5 -5;
29533                }
29534                rel2 {
29535                   relative: 1.0 1.0;
29536                   offset: 5 5;
29537                }
29538             }
29539          }
29540          part { name: "elm.text";
29541             clip_to: "disclip";
29542             type: TEXT;
29543             effect: SOFT_SHADOW;
29544             mouse_events: 0;
29545             scale: 1;
29546             description { state: "default" 0.0;
29547                rel1 {
29548                   relative: 0.0  1.0;
29549                   offset: 0 0;
29550                }
29551                rel2 {
29552                   relative: 1.0  1.0;
29553                   offset: -5 -5;
29554                }
29555                color: 0 0 0 255;
29556                color3: 0 0 0 0;
29557                text {
29558                   font: "Sans";
29559                   size: 10;
29560                   min: 0 1;
29561                   align: 0.5 0.0;
29562                   text_class: "grid_item";
29563                }
29564             }
29565             description { state: "selected" 0.0;
29566                inherit: "default" 0.0;
29567                color: 224 224 224 255;
29568                color3: 0 0 0 64;
29569             }
29570          }
29571          part { name: "fg1";
29572             clip_to: "disclip";
29573             mouse_events: 0;
29574             description { state: "default" 0.0;
29575                visible: 0;
29576                color: 255 255 255 0;
29577                rel1.to: "bg";
29578                rel2.relative: 1.0 0.5;
29579                rel2.to: "bg";
29580                image {
29581                   normal: "bt_sm_hilight.png";
29582                   border: 6 6 6 0;
29583                }
29584             }
29585             description { state: "selected" 0.0;
29586                inherit: "default" 0.0;
29587                visible: 1;
29588                color: 255 255 255 255;
29589             }
29590          }
29591          part { name: "fg2";
29592             clip_to: "disclip";
29593             mouse_events: 0;
29594             description { state: "default" 0.0;
29595                visible: 0;
29596                color: 255 255 255 0;
29597                rel1.to: "bg";
29598                rel2.to: "bg";
29599                image {
29600                   normal: "bt_sm_shine.png";
29601                   border: 6 6 6 0;
29602                }
29603             }
29604             description { state: "selected" 0.0;
29605                inherit: "default" 0.0;
29606                visible: 1;
29607                color: 255 255 255 255;
29608             }
29609          }
29610          part { name: "disclip";
29611             type: RECT;
29612             description { state: "default" 0.0;
29613                rel1.to: "bg";
29614                rel2.to: "bg";
29615             }
29616             description { state: "disabled" 0.0;
29617                inherit: "default" 0.0;
29618                color: 255 255 255 64;
29619             }
29620          }
29621       }
29622       programs {
29623          // signal: elm,state,%s,active
29624          //   a "check" item named %s went active
29625          // signal: elm,state,%s,passive
29626          //   a "check" item named %s went passive
29627          // default is passive
29628          program { name:    "go_active";
29629             signal:  "elm,state,selected";
29630             source:  "elm";
29631             action:  STATE_SET "selected" 0.0;
29632             target:  "bg";
29633             target:  "fg1";
29634             target:  "fg2";
29635             target:  "elm.text";
29636          }
29637          program { name:    "go_passive";
29638             signal:  "elm,state,unselected";
29639             source:  "elm";
29640             action:  STATE_SET "default" 0.0;
29641             target:  "bg";
29642             target:  "fg1";
29643             target:  "fg2";
29644             target:  "elm.text";
29645             transition: LINEAR 0.1;
29646          }
29647          program { name:    "go_disabled";
29648             signal:  "elm,state,disabled";
29649             source:  "elm";
29650             action:  STATE_SET "disabled" 0.0;
29651             target:  "disclip";
29652          }
29653          program { name:    "go_enabled";
29654             signal:  "elm,state,enabled";
29655             source:  "elm";
29656             action:  STATE_SET "default" 0.0;
29657             target:  "disclip";
29658          }
29659       }
29660    }
29661    group { name: "elm/gengrid/item/default_style/default";
29662        styles
29663        {
29664            style { name: "gengrid_style";
29665                base: "font=Sans font_size=10 align=left valign=0.5 color=#000 text_class=grid_item";
29666                tag:  "br" "\n";
29667                tag:  "ps" "ps";
29668                tag:  "hilight" "+ font=Sans:style=Bold";
29669                tag:  "b" "+ font=Sans:style=Bold";
29670                tag:  "tab" "\t";
29671            }
29672            style { name: "gengrid_selected_style";
29673                base: "font=Sans font_size=10 align=left valign=0.5 color=#fff text_class=grid_item";
29674                tag:  "br" "\n";
29675                tag:  "ps" "ps";
29676                tag:  "hilight" "+ font=Sans:style=Bold";
29677                tag:  "b" "+ font=Sans:style=Bold";
29678                tag:  "tab" "\t";
29679            }
29680        }
29681        data.item: "labels" "elm.text";
29682        data.item: "icons" "elm.swallow.icon elm.swallow.end";
29683        images {
29684            image: "bt_sm_base1.png" COMP;
29685            image: "bt_sm_shine.png" COMP;
29686            image: "bt_sm_hilight.png" COMP;
29687            image: "ilist_1.png" COMP;
29688            image: "ilist_item_shadow.png" COMP;
29689        }
29690        parts {
29691            part { name: "event";
29692                type: RECT;
29693                repeat_events: 1;
29694                description { state: "default" 0.0;
29695                    color: 0 0 0 0;
29696                }
29697            }
29698            part { name: "base_sh";
29699                mouse_events: 0;
29700                description { state: "default" 0.0;
29701                    align: 0.0 0.0;
29702                    min: 0 10;
29703                    fixed: 1 1;
29704                    rel1 {
29705                        to: "base";
29706                        relative: 0.0 1.0;
29707                        offset: 0 0;
29708                    }
29709                    rel2 {
29710                        to: "base";
29711                        relative: 1.0 1.0;
29712                        offset: -1 0;
29713                    }
29714                    image {
29715                        normal: "ilist_item_shadow.png";
29716                    }
29717                    fill.smooth: 0;
29718                }
29719            }
29720            part { name: "base";
29721                mouse_events: 0;
29722                description { state: "default" 0.0;
29723                    min: 16 28;
29724                    image {
29725                        normal: "ilist_1.png";
29726                        border: 2 2 2 2;
29727                    }
29728                    fill.smooth: 0;
29729                }
29730            }
29731            part { name: "bg";
29732                clip_to: "disclip";
29733                mouse_events: 0;
29734                description { state: "default" 0.0;
29735                    visible: 0;
29736                    color: 255 255 255 0;
29737                    rel1 {
29738                        relative: 0.0 0.0;
29739                        offset: -5 -5;
29740                    }
29741                    rel2 {
29742                        relative: 1.0 1.0;
29743                        offset: 4 4;
29744                    }
29745                    image {
29746                        normal: "bt_sm_base1.png";
29747                        border: 6 6 6 6;
29748                    }
29749                    image.middle: SOLID;
29750                }
29751                description { state: "selected" 0.0;
29752                    inherit: "default" 0.0;
29753                    visible: 1;
29754                    color: 255 255 255 255;
29755                    rel1 {
29756                        relative: 0.0 0.0;
29757                        offset: -2 -2;
29758                    }
29759                    rel2 {
29760                        relative: 1.0 1.0;
29761                        offset: 1 1;
29762                    }
29763                }
29764            }
29765            part { name: "elm.swallow.pad";
29766                type: SWALLOW;
29767                description { state: "default" 0.0;
29768                    fixed: 1 0;
29769                    align: 0.0 0.5;
29770                    rel1 {
29771                        relative: 0.0  0.0;
29772                        offset:   4    4;
29773                    }
29774                    rel2 {
29775                        relative: 0.0  1.0;
29776                        offset:   4   -5;
29777                    }
29778                }
29779            }
29780            part { name: "elm.swallow.icon";
29781                clip_to: "disclip";
29782                type: SWALLOW;
29783                description { state: "default" 0.0;
29784                    fixed: 1 0;
29785                    align: 0.0 0.5;
29786                    rel1 {
29787                        to_x: "elm.swallow.pad";
29788                        relative: 1.0  0.0;
29789                        offset:   -1    4;
29790                    }
29791                    rel2 {
29792                        to_x: "elm.swallow.pad";
29793                        relative: 1.0  1.0;
29794                        offset:   -1   -5;
29795                    }
29796                }
29797            }
29798            part { name: "elm.swallow.end";
29799                clip_to: "disclip";
29800                type: SWALLOW;
29801                description { state: "default" 0.0;
29802                    fixed: 1 0;
29803                    align: 1.0 0.5;
29804                    aspect: 1.0 1.0;
29805                    aspect_preference: VERTICAL;
29806                    rel1 {
29807                        relative: 1.0  0.0;
29808                        offset:   -5    4;
29809                    }
29810                    rel2 {
29811                        relative: 1.0  1.0;
29812                        offset:   -5   -5;
29813                    }
29814                }
29815            }
29816            part { name: "elm.text";
29817                clip_to: "disclip";
29818                type: TEXTBLOCK;
29819                mouse_events: 0;
29820                scale: 1;
29821                description {
29822                    state: "default" 0.0;
29823                    align: 0.0 0.5;
29824                    fixed: 0 1;
29825                    rel1 {
29826                        to_x: "elm.swallow.icon";
29827                        to_y: "base";
29828                        relative: 1.0  0.5;
29829                        offset:   0 4;
29830                    }
29831                    rel2 {
29832                        to_x: "elm.swallow.end";
29833                        to_y: "base";
29834                        relative: 0.0  0.5;
29835                        offset:   -1 -5;
29836                    }
29837                    text {
29838                        style: "gengrid_style";
29839                        min: 1 1;
29840                    }
29841                }
29842                description { state: "selected" 0.0;
29843                    inherit: "default" 0.0;
29844                    text {
29845                        style: "gengrid_selected_style";
29846                    }
29847                }
29848            }
29849            part { name: "fg1";
29850                clip_to: "disclip";
29851                mouse_events: 0;
29852                description { state: "default" 0.0;
29853                    visible: 0;
29854                    color: 255 255 255 0;
29855                    rel1.to: "bg";
29856                    rel2.relative: 1.0 0.5;
29857                    rel2.to: "bg";
29858                    image {
29859                        normal: "bt_sm_hilight.png";
29860                        border: 6 6 6 0;
29861                    }
29862                }
29863                description { state: "selected" 0.0;
29864                    inherit: "default" 0.0;
29865                    visible: 1;
29866                    color: 255 255 255 255;
29867                }
29868            }
29869            part { name: "fg2";
29870                clip_to: "disclip";
29871                mouse_events: 0;
29872                description { state: "default" 0.0;
29873                    visible: 0;
29874                    color: 255 255 255 0;
29875                    rel1.to: "bg";
29876                    rel2.to: "bg";
29877                    image {
29878                        normal: "bt_sm_shine.png";
29879                        border: 6 6 6 0;
29880                    }
29881                }
29882                description { state: "selected" 0.0;
29883                    inherit: "default" 0.0;
29884                    visible: 1;
29885                    color: 255 255 255 255;
29886                }
29887            }
29888            part { name: "disclip";
29889                type: RECT;
29890                description { state: "default" 0.0;
29891                    rel1.to: "bg";
29892                    rel2.to: "bg";
29893                }
29894                description { state: "disabled" 0.0;
29895                    inherit: "default" 0.0;
29896                    color: 255 255 255 64;
29897                }
29898            }
29899        }
29900        programs {
29901            // signal: elm,state,%s,active
29902            //   a "check" item named %s went active
29903            // signal: elm,state,%s,passive
29904            //   a "check" item named %s went passive
29905            // default is passive
29906            program { name:    "go_active";
29907                signal:  "elm,state,selected";
29908                source:  "elm";
29909                action:  STATE_SET "selected" 0.0;
29910                target:  "bg";
29911                target:  "fg1";
29912                target:  "fg2";
29913                target:  "elm.text";
29914            }
29915            program { name:    "go_passive";
29916                signal:  "elm,state,unselected";
29917                source:  "elm";
29918                action:  STATE_SET "default" 0.0;
29919                target:  "bg";
29920                target:  "fg1";
29921                target:  "fg2";
29922                target:  "elm.text";
29923                transition: LINEAR 0.1;
29924            }
29925            program { name:    "go_disabled";
29926                signal:  "elm,state,disabled";
29927                source:  "elm";
29928                action:  STATE_SET "disabled" 0.0;
29929                target:  "disclip";
29930            }
29931            program { name:    "go_enabled";
29932                signal:  "elm,state,enabled";
29933                source:  "elm";
29934                action:  STATE_SET "default" 0.0;
29935                target:  "disclip";
29936            }
29937        }
29938    }
29939
29940    group { name: "elm/gengrid/item/up/default";
29941       data.item: "labels" "elm.text";
29942       images {
29943           image: "bt_sm_base1.png" COMP;
29944           image: "bt_sm_shine.png" COMP;
29945           image: "bt_sm_hilight.png" COMP;
29946           image: "arrow_up.png" COMP;
29947       }
29948       parts {
29949          part { name: "event";
29950             type: RECT;
29951             repeat_events: 1;
29952             description { state: "default" 0.0;
29953                color: 0 0 0 0;
29954             }
29955          }
29956          part { name: "bg";
29957             clip_to: "disclip";
29958             mouse_events: 0;
29959             description { state: "default" 0.0;
29960                visible: 0;
29961                color: 255 255 255 0;
29962                rel1.offset: -3 -3;
29963                rel2.offset: 2 2;
29964                image { normal: "bt_sm_base1.png";
29965                   border: 6 6 6 6;
29966                   middle: SOLID;
29967                }
29968             }
29969             description { state: "selected" 0.0;
29970                inherit: "default" 0.0;
29971                visible: 1;
29972                color: 255 255 255 255;
29973             }
29974          }
29975          part { name: "image";
29976              type: IMAGE;
29977              mouse_events: 0;
29978              description { state: "default" 0.0;
29979                  aspect_preference: BOTH;
29980                  aspect: 1.0 1.0;
29981                  image.normal: "arrow_up.png";
29982                  rel2 {
29983                      to_y: "elm.text";
29984                      relative: 1.0 0.0;
29985                      offset: -1 -2;
29986                  }
29987              }
29988          }
29989          part { name: "elm.text";
29990             clip_to: "disclip";
29991             type: TEXT;
29992             effect: SOFT_SHADOW;
29993             mouse_events: 0;
29994             scale: 1;
29995             description { state: "default" 0.0;
29996                rel1 {
29997                   relative: 0.0  1.0;
29998                   offset: 20 -25;
29999                }
30000                rel2 {
30001                   relative: 1.0  1.0;
30002                   offset: -21 -3;
30003                }
30004                color: 0 0 0 255;
30005                color3: 0 0 0 0;
30006                text {
30007                   font: "Sans";
30008                   size: 10;
30009                   min: 0 1;
30010                   align: 0.5 0.0;
30011                   text_class: "grid_item";
30012                }
30013             }
30014             description { state: "selected" 0.0;
30015                inherit: "default" 0.0;
30016                color: 224 224 224 255;
30017                color3: 0 0 0 64;
30018             }
30019          }
30020          part { name: "fg1";
30021             clip_to: "disclip";
30022             mouse_events: 0;
30023             description { state: "default" 0.0;
30024                visible: 0;
30025                color: 255 255 255 0;
30026                rel1.offset: -3 -3;
30027                rel2 {
30028                    relative: 1.0 0.5;
30029                    offset: 2 -1;
30030                }
30031                image {
30032                   normal: "bt_sm_hilight.png";
30033                   border: 6 6 6 0;
30034                }
30035             }
30036             description { state: "selected" 0.0;
30037                inherit: "default" 0.0;
30038                visible: 1;
30039                color: 255 255 255 255;
30040             }
30041          }
30042          part { name: "fg2";
30043             clip_to: "disclip";
30044             mouse_events: 0;
30045             description { state: "default" 0.0;
30046                visible: 0;
30047                color: 255 255 255 0;
30048                rel1.offset: -3 -3;
30049                rel2.offset: 2 2;
30050                image {
30051                   normal: "bt_sm_shine.png";
30052                   border: 6 6 6 0;
30053                }
30054             }
30055             description { state: "selected" 0.0;
30056                inherit: "default" 0.0;
30057                visible: 1;
30058                color: 255 255 255 255;
30059             }
30060          }
30061          part { name: "disclip";
30062             type: RECT;
30063             description { state: "default" 0.0;
30064                rel1.to: "bg";
30065                rel2.to: "bg";
30066             }
30067             description { state: "disabled" 0.0;
30068                inherit: "default" 0.0;
30069                color: 255 255 255 64;
30070             }
30071          }
30072       }
30073       programs {
30074          program { name:    "go_active";
30075             signal:  "elm,state,selected";
30076             source:  "elm";
30077             action:  STATE_SET "selected" 0.0;
30078             target:  "bg";
30079             target:  "fg1";
30080             target:  "fg2";
30081             target:  "elm.text";
30082          }
30083          program { name:    "go_passive";
30084             signal:  "elm,state,unselected";
30085             source:  "elm";
30086             action:  STATE_SET "default" 0.0;
30087             target:  "bg";
30088             target:  "fg1";
30089             target:  "fg2";
30090             target:  "elm.text";
30091             transition: LINEAR 0.1;
30092          }
30093          program { name:    "go_disabled";
30094             signal:  "elm,state,disabled";
30095             source:  "elm";
30096             action:  STATE_SET "disabled" 0.0;
30097             target:  "disclip";
30098          }
30099          program { name:    "go_enabled";
30100             signal:  "elm,state,enabled";
30101             source:  "elm";
30102             action:  STATE_SET "default" 0.0;
30103             target:  "disclip";
30104          }
30105       }
30106    }
30107
30108    group { name: "elm/gengrid/item/album-preview/default";
30109       data.item: "labels" "elm.text";
30110       data.item: "icons" "elm.swallow.icon.1 elm.swallow.icon.2 elm.swallow.icon.3 elm.swallow.icon.4";
30111       data.item: "states" "have_files";
30112       images {
30113          image: "bt_sm_base1.png" COMP;
30114          image: "bt_sm_shine.png" COMP;
30115          image: "bt_sm_hilight.png" COMP;
30116          image: "icon_folder.png" COMP;
30117       }
30118       parts {
30119          part { name: "event";
30120             type: RECT;
30121             repeat_events: 1;
30122             description { state: "default" 0.0;
30123                color: 0 0 0 0;
30124             }
30125          }
30126          part { name: "bg";
30127             clip_to: "disclip";
30128             mouse_events: 0;
30129             description { state: "default" 0.0;
30130                visible: 0;
30131                color: 255 255 255 0;
30132                rel1.offset: -3 -3;
30133                rel2.offset: 2 2;
30134                image {
30135                   normal: "bt_sm_base1.png";
30136                   border: 6 6 6 6;
30137                   middle: SOLID;
30138                }
30139             }
30140             description { state: "selected" 0.0;
30141                inherit: "default" 0.0;
30142                visible: 1;
30143                color: 255 255 255 255;
30144             }
30145          }
30146          part { name: "image";
30147              type: IMAGE;
30148              mouse_events: 0;
30149              description { state: "default" 0.0;
30150                  aspect_preference: BOTH;
30151                  aspect: 1.0 1.0;
30152                  image.normal: "icon_folder.png";
30153                  rel2 {
30154                      to_y: "elm.text";
30155                      relative: 1.0 0.0;
30156                      offset: -1 -2;
30157                  }
30158              }
30159          }
30160          part { name: "have-files-clipper";
30161              type: RECT;
30162              description { state: "default" 0.0;
30163                  color: 255 255 255 0;
30164                  visible: 0;
30165              }
30166              description { state: "visible" 0.0;
30167                  inherit: "default" 0.0;
30168                  color: 255 255 255 255;
30169                  visible: 1;
30170              }
30171          }
30172          part { name: "icon_box_margin";
30173              type: RECT;
30174              mouse_events: 0;
30175              clip_to: "have-files-clipper";
30176              description { state: "default" 0.0;
30177                  color: 0 0 0 255;
30178                  rel1 {
30179                      to: "icon_box";
30180                      offset: -1 -1;
30181                  }
30182                  rel2 {
30183                      to: "icon_box";
30184                      offset: 0 0;
30185                  }
30186              }
30187          }
30188          part { name: "icon_box";
30189              type: RECT;
30190              mouse_events: 0;
30191              clip_to: "have-files-clipper";
30192              description { state: "default" 0.0;
30193                  color: 255 255 255 255;
30194                  align: 1.0 1.0;
30195                  min: 32 32;
30196                  rel1 {
30197                      relative: 0.25 0.25;
30198                      offset: 0 0;
30199                  }
30200                  rel2 {
30201                      relative: 1.0 0.0;
30202                      offset: -11 -4;
30203                      to_y: "elm.text";
30204                  }
30205              }
30206          }
30207          part { name: "elm.swallow.icon.1";
30208              type: SWALLOW;
30209              mouse_events: 0;
30210              clip_to: "have-files-clipper";
30211              description { state: "default" 0.0;
30212                rel1 {
30213                   relative: 0.0  0.0;
30214                   to: "icon_box";
30215                }
30216                rel2 {
30217                   relative: 0.5  0.5;
30218                   offset: -1 -1;
30219                   to: "icon_box";
30220                }
30221             }
30222          }
30223          part { name: "elm.swallow.icon.2";
30224              type: SWALLOW;
30225              mouse_events: 0;
30226              clip_to: "have-files-clipper";
30227              description { state: "default" 0.0;
30228                rel1 {
30229                   relative: 0.5  0.0;
30230                   to: "icon_box";
30231                }
30232                rel2 {
30233                   relative: 1.0  0.5;
30234                   offset: -1 -1;
30235                   to: "icon_box";
30236                }
30237             }
30238          }
30239          part { name: "elm.swallow.icon.3";
30240              type: SWALLOW;
30241              mouse_events: 0;
30242              clip_to: "have-files-clipper";
30243              description { state: "default" 0.0;
30244                rel1 {
30245                   relative: 0.0  0.5;
30246                   to: "icon_box";
30247                }
30248                rel2 {
30249                   relative: 0.5  1.0;
30250                   offset: -1 -1;
30251                   to: "icon_box";
30252                }
30253             }
30254          }
30255          part { name: "elm.swallow.icon.4";
30256              type: SWALLOW;
30257              mouse_events: 0;
30258              clip_to: "have-files-clipper";
30259              description { state: "default" 0.0;
30260                rel1 {
30261                   relative: 0.5  0.5;
30262                   to: "icon_box";
30263                }
30264                rel2 {
30265                   relative: 1.0  1.0;
30266                   offset: -1 -1;
30267                   to: "icon_box";
30268                }
30269             }
30270          }
30271          part { name: "elm.text";
30272             clip_to: "disclip";
30273             type: TEXT;
30274             effect: SOFT_SHADOW;
30275             mouse_events: 0;
30276             scale: 1;
30277             description { state: "default" 0.0;
30278                rel1 {
30279                   relative: 0.0  1.0;
30280                   offset: 20 -30;
30281                }
30282                rel2 {
30283                   relative: 1.0  1.0;
30284                   offset: -21 -15;
30285                }
30286                color: 0 0 0 255;
30287                color3: 0 0 0 0;
30288                text {
30289                   font: "Sans";
30290                   size: 10;
30291                   min: 0 1;
30292                   align: 0.5 0.0;
30293                   text_class: "grid_item";
30294                }
30295             }
30296             description { state: "selected" 0.0;
30297                 inherit: "default" 0.0;
30298                 color: 255 255 255 255;
30299             }
30300          }
30301          part { name: "fg1";
30302             clip_to: "disclip";
30303             mouse_events: 0;
30304             description { state: "default" 0.0;
30305                visible: 0;
30306                color: 255 255 255 0;
30307                rel1.offset: -3 -3;
30308                rel2 {
30309                    relative: 1.0 0.5;
30310                    offset: 2 -1;
30311                }
30312                image {
30313                   normal: "bt_sm_hilight.png";
30314                   border: 6 6 6 0;
30315                }
30316             }
30317             description { state: "selected" 0.0;
30318                inherit: "default" 0.0;
30319                visible: 1;
30320                color: 255 255 255 255;
30321             }
30322          }
30323          part { name: "fg2";
30324             clip_to: "disclip";
30325             mouse_events: 0;
30326             description { state: "default" 0.0;
30327                visible: 0;
30328                color: 255 255 255 0;
30329                rel1.offset: -3 -3;
30330                rel2.offset: 2 2;
30331                image {
30332                   normal: "bt_sm_shine.png";
30333                   border: 6 6 6 0;
30334                }
30335             }
30336             description { state: "selected" 0.0;
30337                inherit: "default" 0.0;
30338                visible: 1;
30339                color: 255 255 255 255;
30340             }
30341          }
30342          part { name: "disclip";
30343             type: RECT;
30344             description { state: "default" 0.0;
30345                rel1.to: "bg";
30346                rel2.to: "bg";
30347             }
30348             description { state: "disabled" 0.0;
30349                inherit: "default" 0.0;
30350                color: 255 255 255 64;
30351             }
30352          }
30353       }
30354       programs {
30355          program { name:    "go_active";
30356             signal:  "elm,state,selected";
30357             source:  "elm";
30358             action:  STATE_SET "selected" 0.0;
30359             target:  "bg";
30360             target:  "fg1";
30361             target:  "fg2";
30362             target:  "elm.text";
30363          }
30364          program { name:    "go_passive";
30365             signal:  "elm,state,unselected";
30366             source:  "elm";
30367             action:  STATE_SET "default" 0.0;
30368             target:  "bg";
30369             target:  "fg1";
30370             target:  "fg2";
30371             target:  "elm.text";
30372             transition: LINEAR 0.1;
30373          }
30374          program { name:    "go_disabled";
30375             signal:  "elm,state,disabled";
30376             source:  "elm";
30377             action:  STATE_SET "disabled" 0.0;
30378             target:  "disclip";
30379          }
30380          program { name:    "go_enabled";
30381             signal:  "elm,state,enabled";
30382             source:  "elm";
30383             action:  STATE_SET "default" 0.0;
30384             target:  "disclip";
30385          }
30386          program {
30387              signal: "elm,state,have_files,active";
30388              source: "elm";
30389              action: STATE_SET "visible" 0.0;
30390              target: "have-files-clipper";
30391          }
30392       }
30393    }
30394
30395    group { name: "elm/gengrid/item/thumb/default";
30396        data {
30397            item: "icons" "elm.swallow.icon";
30398            item: "labels" "elm.text";
30399        }
30400        images {
30401            image: "bt_sm_base1.png" COMP;
30402            image: "bt_sm_shine.png" COMP;
30403            image: "bt_sm_hilight.png" COMP;
30404            image: "thumb_shadow.png" COMP;
30405        }
30406        parts {
30407            part { name: "event";
30408                type: RECT;
30409                repeat_events: 1;
30410                description { state: "default" 0.0;
30411                    color: 0 0 0 0;
30412                }
30413            }
30414            part { name: "bg";
30415                mouse_events: 0;
30416                description { state: "default" 0.0;
30417                    visible: 0;
30418                    color: 255 255 255 0;
30419                    rel1.offset: -3 -3;
30420                    rel2.offset: 2 2;
30421                    image {
30422                        normal: "bt_sm_base1.png";
30423                        border: 6 6 6 6;
30424                        middle: SOLID;
30425                    }
30426                }
30427                description { state: "selected" 0.0;
30428                    inherit: "default" 0.0;
30429                    visible: 1;
30430                    color: 255 255 255 255;
30431                }
30432            }
30433            part { name: "border-shadow";
30434                type: IMAGE;
30435                mouse_events: 0;
30436                description { state: "default" 0.0;
30437                    rel1 {
30438                        to: "elm.swallow.icon";
30439                        offset: -18 -18;
30440                    }
30441                    rel2 {
30442                        to_x: "elm.swallow.icon";
30443                        to_y: "elm.text";
30444                        offset: 17 17;
30445                    }
30446                    image {
30447                        normal: "thumb_shadow.png";
30448                        border: 17 17 17 17;
30449                        middle: NONE;
30450                    }
30451                }
30452            }
30453            part { name: "border";
30454                type: RECT;
30455                mouse_events: 0;
30456                description { state: "default" 0.0;
30457                    rel1 {
30458                        to: "border-shadow";
30459                        offset: 16 16;
30460                    }
30461                    rel2 {
30462                        to: "border-shadow";
30463                        offset: -15 -15;
30464                    }
30465                }
30466            }
30467            part { name: "elm.swallow.icon";
30468                type: SWALLOW;
30469                mouse_events: 0;
30470                description { state: "default" 0.0;
30471                    aspect_preference: BOTH;
30472                    aspect: 1.0 1.0;
30473                    rel1.offset: 0 8;
30474                    rel2 {
30475                        to_y: "elm.text";
30476                        relative: 1.0 0.0;
30477                        offset: -1 -2;
30478                    }
30479                }
30480            }
30481            part { name: "elm.text";
30482                type: TEXT;
30483                effect: SOFT_SHADOW;
30484                mouse_events: 0;
30485                scale: 1;
30486                description { state: "default" 0.0;
30487                    color: 0 0 0 255;
30488                    color3: 0 0 0 0;
30489                    align: 0.5 1.0;
30490                    rel1 {
30491                        relative: 0.0 1.0;
30492                        offset: 20 -30;
30493                    }
30494                    rel2 {
30495                        relative: 1.0 1.0;
30496                        offset: -21 -15;
30497                    }
30498                    text {
30499                        font: "Sans";
30500                        size: 10;
30501                        min: 0 1;
30502                        align: 0.5 0.0;
30503                        text_class: "grid_item";
30504                    }
30505                }
30506            }
30507            part { name: "fg1";
30508                mouse_events: 0;
30509                description { state: "default" 0.0;
30510                    visible: 0;
30511                    color: 255 255 255 0;
30512                    rel1.offset: -3 -3;
30513                    rel2 {
30514                        relative: 1.0 0.5;
30515                        offset: 2 -1;
30516                    }
30517                    image {
30518                        normal: "bt_sm_hilight.png";
30519                        border: 6 6 6 0;
30520                    }
30521                }
30522                description { state: "selected" 0.0;
30523                    inherit: "default" 0.0;
30524                    visible: 1;
30525                    color: 255 255 255 255;
30526                }
30527            }
30528            part { name: "fg2";
30529                mouse_events: 0;
30530                description { state: "default" 0.0;
30531                    visible: 0;
30532                    color: 255 255 255 0;
30533                    rel1.offset: -3 -3;
30534                    rel2.offset: 2 2;
30535                    image {
30536                        image: "bt_sm_shine.png";
30537                        border: 6 6 6 0;
30538                    }
30539                }
30540                description { state: "selected" 0.0;
30541                    inherit: "default" 0.0;
30542                    visible: 1;
30543                    color: 255 255 255 255;
30544                }
30545            }
30546        }
30547        programs {
30548            program {
30549                signal: "elm,state,selected";
30550                source: "elm";
30551                action: STATE_SET "selected" 0.0;
30552                target: "bg";
30553                target: "fg1";
30554                target: "fg2";
30555            }
30556            program {
30557                signal: "elm,state,unselected";
30558                source: "elm";
30559                action:  STATE_SET "default" 0.0;
30560                target: "bg";
30561                target: "fg1";
30562                target: "fg2";
30563                transition: LINEAR 0.1;
30564            }
30565        }
30566    }
30567
30568 ///////////////////////////////////////////////////////////////////////////////
30569    group { name: "elm/photocam/base/default";
30570        script {
30571            public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
30572            public timer0(val) {
30573                new v;
30574                v = get_int(sbvis_v);
30575                if (v) {
30576                    v = get_int(sbalways_v);
30577                    if (!v) {
30578                        emit("do-hide-vbar", "");
30579                        set_int(sbvis_v, 0);
30580                    }
30581                }
30582                v = get_int(sbvis_h);
30583                if (v) {
30584                    v = get_int(sbalways_h);
30585                    if (!v) {
30586                        emit("do-hide-hbar", "");
30587                        set_int(sbvis_h, 0);
30588                    }
30589                }
30590                set_int(sbvis_timer, 0);
30591                return 0;
30592            }
30593        }
30594        images {
30595            image: "shelf_inset.png" COMP;
30596            image: "bt_sm_base2.png" COMP;
30597            image: "bt_sm_shine.png" COMP;
30598            image: "bt_sm_hilight.png" COMP;
30599            image: "busy-1.png" COMP;
30600            image: "busy-2.png" COMP;
30601            image: "busy-3.png" COMP;
30602            image: "busy-4.png" COMP;
30603            image: "busy-5.png" COMP;
30604            image: "busy-6.png" COMP;
30605            image: "busy-7.png" COMP;
30606            image: "busy-8.png" COMP;
30607            image: "busy-9.png" COMP;
30608        }
30609        parts {
30610            part { name: "bg";
30611                type: RECT;
30612                description { state: "default" 0.0;
30613                    rel1.offset: 1 1;
30614                    rel2.offset: -2 -2;
30615                    color: 255 255 255 0;
30616                }
30617            }
30618            part { name: "clipper";
30619                type: RECT;
30620                mouse_events: 0;
30621                description { state: "default" 0.0;
30622                    rel1.to: "bg";
30623                    rel2.to: "bg";
30624                }
30625            }
30626            part { name: "elm.swallow.content";
30627                clip_to: "clipper";
30628                type: SWALLOW;
30629                description { state: "default" 0.0;
30630                    rel1.offset: 1 1;
30631                    rel2.offset: -2 -2;
30632                }
30633            }
30634            part { name: "busy_clip";
30635                type: RECT;
30636                mouse_events: 0;
30637                description { state: "default" 0.0;
30638                    visible: 0;
30639                    color: 255 255 255 0;
30640                }
30641                description { state: "active" 0.0;
30642                    visible: 1;
30643                    color: 255 255 255 255;
30644                }
30645            }
30646            part { name: "busy";
30647                clip_to: "busy_clip";
30648                mouse_events: 0;
30649                description { state: "default" 0.0;
30650                    fixed: 1 1;
30651                    min: 32 32;
30652                    aspect: 1.0 1.0;
30653                    align: 1.0 1.0;
30654                    aspect_preference: BOTH;
30655                    rel1 {
30656                        relative: 0.9 0.9;
30657                        offset:   -9 -9;
30658                    }
30659                    rel2 {
30660                        relative: 0.9 0.9;
30661                        offset:   -9 -9;
30662                    }
30663                    image {
30664                        normal: "busy-9.png";
30665                        tween:  "busy-1.png";
30666                        tween:  "busy-2.png";
30667                        tween:  "busy-3.png";
30668                        tween:  "busy-4.png";
30669                        tween:  "busy-5.png";
30670                        tween:  "busy-6.png";
30671                        tween:  "busy-7.png";
30672                        tween:  "busy-8.png";
30673                    }
30674                }
30675            }
30676            part { name: "conf_over";
30677                mouse_events:  0;
30678                description { state: "default" 0.0;
30679                    rel1.offset: 0 0;
30680                    rel2.offset: -1 -1;
30681                    image {
30682                        normal: "shelf_inset.png";
30683                        border: 7 7 7 7;
30684                        middle: 0;
30685                    }
30686                    fill.smooth : 0;
30687                }
30688            }
30689            part { name: "sb_vbar_clip_master";
30690                type: RECT;
30691                mouse_events: 0;
30692                description { state: "default" 0.0;
30693                }
30694                description { state: "hidden" 0.0;
30695                    visible: 0;
30696                    color: 255 255 255 0;
30697                }
30698            }
30699            part { name: "sb_vbar_clip";
30700                clip_to: "sb_vbar_clip_master";
30701                type: RECT;
30702                mouse_events: 0;
30703                description { state: "default" 0.0;
30704                }
30705                description { state: "hidden" 0.0;
30706                    visible: 0;
30707                    color: 255 255 255 0;
30708                }
30709            }
30710            part { name: "sb_vbar";
30711                type: RECT;
30712                mouse_events: 0;
30713                description { state: "default" 0.0;
30714                    fixed: 1 1;
30715                    visible: 0;
30716                    min: 10 17;
30717                    align: 1.0 0.0;
30718                    rel1 {
30719                        relative: 1.0 0.0;
30720                        offset:   -2 0;
30721                    }
30722                    rel2 {
30723                        relative: 1.0 0.0;
30724                        offset:   -2 -1;
30725                        to_y:     "sb_hbar";
30726                    }
30727                }
30728            }
30729            part { name: "elm.dragable.vbar";
30730                clip_to: "sb_vbar_clip";
30731                mouse_events: 0;
30732                dragable {
30733                    x: 0 0 0;
30734                    y: 1 1 0;
30735                    confine: "sb_vbar";
30736                }
30737                description { state: "default" 0.0;
30738                    fixed: 1 1;
30739                    min: 10 17;
30740                    max: 10 99999;
30741                    rel1 {
30742                        relative: 0.5  0.5;
30743                        offset:   0    0;
30744                        to: "sb_vbar";
30745                    }
30746                    rel2 {
30747                        relative: 0.5  0.5;
30748                        offset:   0    0;
30749                        to: "sb_vbar";
30750                    }
30751                    image {
30752                        normal: "bt_sm_base2.png";
30753                        border: 6 6 6 6;
30754                        middle: SOLID;
30755                    }
30756                }
30757            }
30758            part { name: "sb_vbar_over1";
30759                clip_to: "sb_vbar_clip";
30760                mouse_events: 0;
30761                description { state: "default" 0.0;
30762                    rel1.to: "elm.dragable.vbar";
30763                    rel2.relative: 1.0 0.5;
30764                    rel2.to: "elm.dragable.vbar";
30765                    image {
30766                        normal: "bt_sm_hilight.png";
30767                        border: 6 6 6 0;
30768                    }
30769                }
30770            }
30771            part { name: "sb_vbar_over2";
30772                clip_to: "sb_vbar_clip";
30773                mouse_events: 0;
30774                description { state: "default" 0.0;
30775                    rel1.to: "elm.dragable.vbar";
30776                    rel2.to: "elm.dragable.vbar";
30777                    image {
30778                        normal: "bt_sm_shine.png";
30779                        border: 6 6 6 0;
30780                    }
30781                }
30782            }
30783
30784            part { name: "sb_hbar_clip_master";
30785                type: RECT;
30786                mouse_events: 0;
30787                description { state: "default" 0.0;
30788                }
30789                description { state: "hidden" 0.0;
30790                    visible: 0;
30791                    color: 255 255 255 0;
30792                }
30793            }
30794            part { name: "sb_hbar_clip";
30795                clip_to: "sb_hbar_clip_master";
30796                type: RECT;
30797                mouse_events: 0;
30798                description { state: "default" 0.0;
30799                }
30800                description { state: "hidden" 0.0;
30801                    visible: 0;
30802                    color: 255 255 255 0;
30803                }
30804            }
30805            part { name: "sb_hbar";
30806                type: RECT;
30807                mouse_events: 0;
30808                description { state: "default" 0.0;
30809                    fixed: 1 1;
30810                    visible: 0;
30811                    min: 17 10;
30812                    align: 0.0 1.0;
30813                    rel1 {
30814                        relative: 0.0 1.0;
30815                        offset:   0 -2;
30816                    }
30817                    rel2 {
30818                        relative: 0.0 1.0;
30819                        offset:   -1 -2;
30820                        to_x:     "sb_vbar";
30821                    }
30822                }
30823            }
30824            part { name: "elm.dragable.hbar";
30825                clip_to: "sb_hbar_clip";
30826                mouse_events: 0;
30827                dragable {
30828                    x: 1 1 0;
30829                    y: 0 0 0;
30830                    confine: "sb_hbar";
30831                }
30832                description { state: "default" 0.0;
30833                    fixed: 1 1;
30834                    min: 17 10;
30835                    max: 99999 10;
30836                    rel1 {
30837                        relative: 0.5  0.5;
30838                        offset:   0    0;
30839                        to: "sb_hbar";
30840                    }
30841                    rel2 {
30842                        relative: 0.5  0.5;
30843                        offset:   0    0;
30844                        to: "sb_hbar";
30845                    }
30846                    image {
30847                        normal: "bt_sm_base2.png";
30848                        border: 4 4 4 4;
30849                        middle: SOLID;
30850                    }
30851                }
30852            }
30853            part { name: "sb_hbar_over1";
30854                clip_to: "sb_hbar_clip";
30855                mouse_events: 0;
30856                description { state: "default" 0.0;
30857                    rel1.to: "elm.dragable.hbar";
30858                    rel2.relative: 1.0 0.5;
30859                    rel2.to: "elm.dragable.hbar";
30860                    image {
30861                        normal: "bt_sm_hilight.png";
30862                        border: 4 4 4 0;
30863                    }
30864                }
30865            }
30866            part { name: "sb_hbar_over2";
30867                clip_to: "sb_hbar_clip";
30868                mouse_events: 0;
30869                description { state: "default" 0.0;
30870                    rel1.to: "elm.dragable.hbar";
30871                    rel2.to: "elm.dragable.hbar";
30872                    image {
30873                        normal: "bt_sm_shine.png";
30874                        border: 4 4 4 0;
30875                    }
30876                }
30877            }
30878        }
30879        programs {
30880            program { name: "load";
30881                signal: "load";
30882                source: "";
30883                script {
30884                    set_state(PART:"sb_hbar_clip", "hidden", 0.0);
30885                    set_state(PART:"sb_vbar_clip", "hidden", 0.0);
30886                    set_int(sbvis_h, 0);
30887                    set_int(sbvis_v, 0);
30888                    set_int(sbalways_v, 0);
30889                    set_int(sbalways_h, 0);
30890                    set_int(sbvis_timer, 0);
30891                }
30892            }
30893
30894            program { name: "vbar_show";
30895                signal: "elm,action,show,vbar";
30896                source: "elm";
30897                action:  STATE_SET "default" 0.0;
30898                target: "sb_vbar_clip_master";
30899            }
30900            program { name: "vbar_hide";
30901                signal: "elm,action,hide,vbar";
30902                source: "elm";
30903                action:  STATE_SET "hidden" 0.0;
30904                target: "sb_vbar_clip_master";
30905            }
30906            program { name: "vbar_show_always";
30907                signal: "elm,action,show_always,vbar";
30908                source: "elm";
30909                script {
30910                    new v;
30911                    v = get_int(sbvis_v);
30912                    v |= get_int(sbalways_v);
30913                    if (!v) {
30914                        set_int(sbalways_v, 1);
30915                        emit("do-show-vbar", "");
30916                        set_int(sbvis_v, 1);
30917                    }
30918                }
30919            }
30920            program { name: "vbar_show_notalways";
30921                signal: "elm,action,show_notalways,vbar";
30922                source: "elm";
30923                script {
30924                    new v;
30925                    v = get_int(sbalways_v);
30926                    if (v) {
30927                        set_int(sbalways_v, 0);
30928                        v = get_int(sbvis_v);
30929                        if (!v) {
30930                            emit("do-hide-vbar", "");
30931                            set_int(sbvis_v, 0);
30932                        }
30933                    }
30934                }
30935            }
30936            program { name: "sb_vbar_show";
30937                signal: "do-show-vbar";
30938                source: "";
30939                action:  STATE_SET "default" 0.0;
30940                transition: LINEAR 0.5;
30941                target: "sb_vbar_clip";
30942            }
30943            program { name: "sb_vbar_hide";
30944                signal: "do-hide-vbar";
30945                source: "";
30946                action:  STATE_SET "hidden" 0.0;
30947                transition: LINEAR 0.5;
30948                target: "sb_vbar_clip";
30949            }
30950
30951            program { name: "hbar_show";
30952                signal: "elm,action,show,hbar";
30953                source: "elm";
30954                action:  STATE_SET "default" 0.0;
30955                target: "sb_hbar_clip_master";
30956            }
30957            program { name: "hbar_hide";
30958                signal: "elm,action,hide,hbar";
30959                source: "elm";
30960                action:  STATE_SET "hidden" 0.0;
30961                target: "sb_hbar_clip_master";
30962            }
30963            program { name: "hbar_show_always";
30964                signal: "elm,action,show_always,hbar";
30965                source: "elm";
30966                script {
30967                    new v;
30968                    v = get_int(sbvis_h);
30969                    v |= get_int(sbalways_h);
30970                    if (!v) {
30971                        set_int(sbalways_h, 1);
30972                        emit("do-show-hbar", "");
30973                        set_int(sbvis_h, 1);
30974                    }
30975                }
30976            }
30977            program { name: "hbar_show_notalways";
30978                signal: "elm,action,show_notalways,hbar";
30979                source: "elm";
30980                script {
30981                    new v;
30982                    v = get_int(sbalways_h);
30983                    if (v) {
30984                        set_int(sbalways_h, 0);
30985                        v = get_int(sbvis_h);
30986                        if (!v) {
30987                            emit("do-hide-hbar", "");
30988                            set_int(sbvis_h, 0);
30989                        }
30990                    }
30991                }
30992            }
30993            program { name: "sb_hbar_show";
30994                signal: "do-show-hbar";
30995                source: "";
30996                action:  STATE_SET "default" 0.0;
30997                transition: LINEAR 0.5;
30998                target: "sb_hbar_clip";
30999            }
31000            program { name: "sb_hbar_hide";
31001                signal: "do-hide-hbar";
31002                source: "";
31003                action:  STATE_SET "hidden" 0.0;
31004                transition: LINEAR 0.5;
31005                target: "sb_hbar_clip";
31006            }
31007
31008            program { name: "scroll";
31009                signal: "elm,action,scroll";
31010                source: "elm";
31011                script {
31012                    new v;
31013                    v = get_int(sbvis_v);
31014                    v |= get_int(sbalways_v);
31015                    if (!v) {
31016                        emit("do-show-vbar", "");
31017                        set_int(sbvis_v, 1);
31018                    }
31019                    v = get_int(sbvis_h);
31020                    v |= get_int(sbalways_h);
31021                    if (!v) {
31022                        emit("do-show-hbar", "");
31023                        set_int(sbvis_h, 1);
31024                    }
31025                    v = get_int(sbvis_timer);
31026                    if (v > 0) cancel_timer(v);
31027                    v = timer(1.0, "timer0", 0);
31028                    set_int(sbvis_timer, v);
31029                }
31030            }
31031            program { name: "go1";
31032                signal: "elm,state,busy,start";
31033                source: "elm";
31034                action: STATE_SET "active" 0.0;
31035                transition: SINUSOIDAL 1.0;
31036                target:  "busy_clip";
31037            }
31038            program { name: "go2";
31039                signal: "elm,state,busy,start";
31040                source: "elm";
31041                action: STATE_SET "default" 0.0;
31042                transition: LINEAR 0.5;
31043                target: "busy";
31044                after:  "go2";
31045            }
31046            program { name: "stop1";
31047                signal: "elm,state,busy,stop";
31048                source: "elm";
31049                action: STATE_SET "default" 0.0;
31050                transition: SINUSOIDAL 1.0;
31051                target: "busy_clip";
31052                after: "stop2";
31053            }
31054          program { name: "stop2";
31055             action: ACTION_STOP;
31056             target: "go2";
31057          }
31058       }
31059    }
31060
31061    ///////////////////////////////////////////////////////////////////////////////
31062    group { name: "elm/map/base/default";
31063        script {
31064            public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
31065            public timer0(val) {
31066                new v;
31067                v = get_int(sbvis_v);
31068                if (v) {
31069                    v = get_int(sbalways_v);
31070                    if (!v) {
31071                        emit("do-hide-vbar", "");
31072                        set_int(sbvis_v, 0);
31073                    }
31074                }
31075                v = get_int(sbvis_h);
31076                if (v) {
31077                    v = get_int(sbalways_h);
31078                    if (!v) {
31079                        emit("do-hide-hbar", "");
31080                        set_int(sbvis_h, 0);
31081                    }
31082                }
31083                set_int(sbvis_timer, 0);
31084                return 0;
31085            }
31086        }
31087        images {
31088            image: "shelf_inset.png" COMP;
31089            image: "bt_sm_base2.png" COMP;
31090            image: "bt_sm_shine.png" COMP;
31091            image: "bt_sm_hilight.png" COMP;
31092            image: "busy-1.png" COMP;
31093            image: "busy-2.png" COMP;
31094            image: "busy-3.png" COMP;
31095            image: "busy-4.png" COMP;
31096            image: "busy-5.png" COMP;
31097            image: "busy-6.png" COMP;
31098            image: "busy-7.png" COMP;
31099            image: "busy-8.png" COMP;
31100            image: "busy-9.png" COMP;
31101        }
31102        parts {
31103            part { name: "bg";
31104                type: RECT;
31105                description { state: "default" 0.0;
31106                    rel1.offset: 1 1;
31107                    rel2.offset: -2 -2;
31108                    color: 255 255 255 0;
31109                }
31110            }
31111            part { name: "clipper";
31112                type: RECT;
31113                mouse_events: 0;
31114                description { state: "default" 0.0;
31115                    rel1.to: "bg";
31116                    rel2.to: "bg";
31117                }
31118            }
31119            part { name: "elm.swallow.content";
31120                clip_to: "clipper";
31121                type: SWALLOW;
31122                description { state: "default" 0.0;
31123                    rel1.offset: 1 1;
31124                    rel2.offset: -2 -2;
31125                }
31126            }
31127            part { name: "busy_clip";
31128                type: RECT;
31129                mouse_events: 0;
31130                description { state: "default" 0.0;
31131                    visible: 0;
31132                    color: 255 255 255 0;
31133                }
31134                description { state: "active" 0.0;
31135                    visible: 1;
31136                    color: 255 255 255 255;
31137                }
31138            }
31139            part { name: "busy";
31140                clip_to: "busy_clip";
31141                mouse_events: 0;
31142                description { state: "default" 0.0;
31143                    fixed: 1 1;
31144                    min: 32 32;
31145                    aspect: 1.0 1.0;
31146                    align: 1.0 1.0;
31147                    aspect_preference: BOTH;
31148                    rel1 {
31149                        relative: 0.9 0.9;
31150                        offset:   -9 -9;
31151                    }
31152                    rel2 {
31153                        relative: 0.9 0.9;
31154                        offset:   -9 -9;
31155                    }
31156                    image {
31157                        normal: "busy-9.png";
31158                        tween:  "busy-1.png";
31159                        tween:  "busy-2.png";
31160                        tween:  "busy-3.png";
31161                        tween:  "busy-4.png";
31162                        tween:  "busy-5.png";
31163                        tween:  "busy-6.png";
31164                        tween:  "busy-7.png";
31165                        tween:  "busy-8.png";
31166                    }
31167                }
31168            }
31169            part { name: "conf_over";
31170                mouse_events:  0;
31171                description { state: "default" 0.0;
31172                    rel1.offset: 0 0;
31173                    rel2.offset: -1 -1;
31174                    image {
31175                        normal: "shelf_inset.png";
31176                        border: 7 7 7 7;
31177                        middle: 0;
31178                    }
31179                    fill.smooth : 0;
31180                }
31181            }
31182            part { name: "sb_vbar_clip_master";
31183                type: RECT;
31184                mouse_events: 0;
31185                description { state: "default" 0.0;
31186                }
31187                description { state: "hidden" 0.0;
31188                    visible: 0;
31189                    color: 255 255 255 0;
31190                }
31191            }
31192            part { name: "sb_vbar_clip";
31193                clip_to: "sb_vbar_clip_master";
31194                type: RECT;
31195                mouse_events: 0;
31196                description { state: "default" 0.0;
31197                }
31198                description { state: "hidden" 0.0;
31199                    visible: 0;
31200                    color: 255 255 255 0;
31201                }
31202            }
31203            part { name: "sb_vbar";
31204                type: RECT;
31205                mouse_events: 0;
31206                description { state: "default" 0.0;
31207                    fixed: 1 1;
31208                    visible: 0;
31209                    min: 10 17;
31210                    align: 1.0 0.0;
31211                    rel1 {
31212                        relative: 1.0 0.0;
31213                        offset:   -2 0;
31214                    }
31215                    rel2 {
31216                        relative: 1.0 0.0;
31217                        offset:   -2 -1;
31218                        to_y:     "sb_hbar";
31219                    }
31220                }
31221            }
31222            part { name: "elm.dragable.vbar";
31223                clip_to: "sb_vbar_clip";
31224                mouse_events: 0;
31225                dragable {
31226                    x: 0 0 0;
31227                    y: 1 1 0;
31228                    confine: "sb_vbar";
31229                }
31230                description { state: "default" 0.0;
31231                    fixed: 1 1;
31232                    min: 10 17;
31233                    max: 10 99999;
31234                    rel1 {
31235                        relative: 0.5  0.5;
31236                        offset:   0    0;
31237                        to: "sb_vbar";
31238                    }
31239                    rel2 {
31240                        relative: 0.5  0.5;
31241                        offset:   0    0;
31242                        to: "sb_vbar";
31243                    }
31244                    image {
31245                        normal: "bt_sm_base2.png";
31246                        border: 6 6 6 6;
31247                        middle: SOLID;
31248                    }
31249                }
31250            }
31251            part { name: "sb_vbar_over1";
31252                clip_to: "sb_vbar_clip";
31253                mouse_events: 0;
31254                description { state: "default" 0.0;
31255                    rel1.to: "elm.dragable.vbar";
31256                    rel2.relative: 1.0 0.5;
31257                    rel2.to: "elm.dragable.vbar";
31258                    image {
31259                        normal: "bt_sm_hilight.png";
31260                        border: 6 6 6 0;
31261                    }
31262                }
31263            }
31264            part { name: "sb_vbar_over2";
31265                clip_to: "sb_vbar_clip";
31266                mouse_events: 0;
31267                description { state: "default" 0.0;
31268                    rel1.to: "elm.dragable.vbar";
31269                    rel2.to: "elm.dragable.vbar";
31270                    image {
31271                        normal: "bt_sm_shine.png";
31272                        border: 6 6 6 0;
31273                    }
31274                }
31275            }
31276
31277            part { name: "sb_hbar_clip_master";
31278                type: RECT;
31279                mouse_events: 0;
31280                description { state: "default" 0.0;
31281                }
31282                description { state: "hidden" 0.0;
31283                    visible: 0;
31284                    color: 255 255 255 0;
31285                }
31286            }
31287            part { name: "sb_hbar_clip";
31288                clip_to: "sb_hbar_clip_master";
31289                type: RECT;
31290                mouse_events: 0;
31291                description { state: "default" 0.0;
31292                }
31293                description { state: "hidden" 0.0;
31294                    visible: 0;
31295                    color: 255 255 255 0;
31296                }
31297            }
31298            part { name: "sb_hbar";
31299                type: RECT;
31300                mouse_events: 0;
31301                description { state: "default" 0.0;
31302                    fixed: 1 1;
31303                    visible: 0;
31304                    min: 17 10;
31305                    align: 0.0 1.0;
31306                    rel1 {
31307                        relative: 0.0 1.0;
31308                        offset:   0 -2;
31309                    }
31310                    rel2 {
31311                        relative: 0.0 1.0;
31312                        offset:   -1 -2;
31313                        to_x:     "sb_vbar";
31314                    }
31315                }
31316            }
31317            part { name: "elm.dragable.hbar";
31318                clip_to: "sb_hbar_clip";
31319                mouse_events: 0;
31320                dragable {
31321                    x: 1 1 0;
31322                    y: 0 0 0;
31323                    confine: "sb_hbar";
31324                }
31325                description { state: "default" 0.0;
31326                    fixed: 1 1;
31327                    min: 17 10;
31328                    max: 99999 10;
31329                    rel1 {
31330                        relative: 0.5  0.5;
31331                        offset:   0    0;
31332                        to: "sb_hbar";
31333                    }
31334                    rel2 {
31335                        relative: 0.5  0.5;
31336                        offset:   0    0;
31337                        to: "sb_hbar";
31338                    }
31339                    image {
31340                        normal: "bt_sm_base2.png";
31341                        border: 4 4 4 4;
31342                        middle: SOLID;
31343                    }
31344                }
31345            }
31346            part { name: "sb_hbar_over1";
31347                clip_to: "sb_hbar_clip";
31348                mouse_events: 0;
31349                description { state: "default" 0.0;
31350                    rel1.to: "elm.dragable.hbar";
31351                    rel2.relative: 1.0 0.5;
31352                    rel2.to: "elm.dragable.hbar";
31353                    image {
31354                        normal: "bt_sm_hilight.png";
31355                        border: 4 4 4 0;
31356                    }
31357                }
31358            }
31359            part { name: "sb_hbar_over2";
31360                clip_to: "sb_hbar_clip";
31361                mouse_events: 0;
31362                description { state: "default" 0.0;
31363                    rel1.to: "elm.dragable.hbar";
31364                    rel2.to: "elm.dragable.hbar";
31365                    image {
31366                        normal: "bt_sm_shine.png";
31367                        border: 4 4 4 0;
31368                    }
31369                }
31370            }
31371        }
31372        programs {
31373            program { name: "load";
31374                signal: "load";
31375                source: "";
31376                script {
31377                    set_state(PART:"sb_hbar_clip", "hidden", 0.0);
31378                    set_state(PART:"sb_vbar_clip", "hidden", 0.0);
31379                    set_int(sbvis_h, 0);
31380                    set_int(sbvis_v, 0);
31381                    set_int(sbalways_v, 0);
31382                    set_int(sbalways_h, 0);
31383                    set_int(sbvis_timer, 0);
31384                }
31385            }
31386
31387            program { name: "vbar_show";
31388                signal: "elm,action,show,vbar";
31389                source: "elm";
31390                action:  STATE_SET "default" 0.0;
31391                target: "sb_vbar_clip_master";
31392            }
31393            program { name: "vbar_hide";
31394                signal: "elm,action,hide,vbar";
31395                source: "elm";
31396                action:  STATE_SET "hidden" 0.0;
31397                target: "sb_vbar_clip_master";
31398            }
31399            program { name: "vbar_show_always";
31400                signal: "elm,action,show_always,vbar";
31401                source: "elm";
31402                script {
31403                    new v;
31404                    v = get_int(sbvis_v);
31405                    v |= get_int(sbalways_v);
31406                    if (!v) {
31407                        set_int(sbalways_v, 1);
31408                        emit("do-show-vbar", "");
31409                        set_int(sbvis_v, 1);
31410                    }
31411                }
31412            }
31413            program { name: "vbar_show_notalways";
31414                signal: "elm,action,show_notalways,vbar";
31415                source: "elm";
31416                script {
31417                    new v;
31418                    v = get_int(sbalways_v);
31419                    if (v) {
31420                        set_int(sbalways_v, 0);
31421                        v = get_int(sbvis_v);
31422                        if (!v) {
31423                            emit("do-hide-vbar", "");
31424                            set_int(sbvis_v, 0);
31425                        }
31426                    }
31427                }
31428            }
31429            program { name: "sb_vbar_show";
31430                signal: "do-show-vbar";
31431                source: "";
31432                action:  STATE_SET "default" 0.0;
31433                transition: LINEAR 0.5;
31434                target: "sb_vbar_clip";
31435            }
31436            program { name: "sb_vbar_hide";
31437                signal: "do-hide-vbar";
31438                source: "";
31439                action:  STATE_SET "hidden" 0.0;
31440                transition: LINEAR 0.5;
31441                target: "sb_vbar_clip";
31442            }
31443
31444            program { name: "hbar_show";
31445                signal: "elm,action,show,hbar";
31446                source: "elm";
31447                action:  STATE_SET "default" 0.0;
31448                target: "sb_hbar_clip_master";
31449            }
31450            program { name: "hbar_hide";
31451                signal: "elm,action,hide,hbar";
31452                source: "elm";
31453                action:  STATE_SET "hidden" 0.0;
31454                target: "sb_hbar_clip_master";
31455            }
31456            program { name: "hbar_show_always";
31457                signal: "elm,action,show_always,hbar";
31458                source: "elm";
31459                script {
31460                    new v;
31461                    v = get_int(sbvis_h);
31462                    v |= get_int(sbalways_h);
31463                    if (!v) {
31464                        set_int(sbalways_h, 1);
31465                        emit("do-show-hbar", "");
31466                        set_int(sbvis_h, 1);
31467                    }
31468                }
31469            }
31470            program { name: "hbar_show_notalways";
31471                signal: "elm,action,show_notalways,hbar";
31472                source: "elm";
31473                script {
31474                    new v;
31475                    v = get_int(sbalways_h);
31476                    if (v) {
31477                        set_int(sbalways_h, 0);
31478                        v = get_int(sbvis_h);
31479                        if (!v) {
31480                            emit("do-hide-hbar", "");
31481                            set_int(sbvis_h, 0);
31482                        }
31483                    }
31484                }
31485            }
31486            program { name: "sb_hbar_show";
31487                signal: "do-show-hbar";
31488                source: "";
31489                action:  STATE_SET "default" 0.0;
31490                transition: LINEAR 0.5;
31491                target: "sb_hbar_clip";
31492            }
31493            program { name: "sb_hbar_hide";
31494                signal: "do-hide-hbar";
31495                source: "";
31496                action:  STATE_SET "hidden" 0.0;
31497                transition: LINEAR 0.5;
31498                target: "sb_hbar_clip";
31499            }
31500
31501            program { name: "scroll";
31502                signal: "elm,action,scroll";
31503                source: "elm";
31504                script {
31505                    new v;
31506                    v = get_int(sbvis_v);
31507                    v |= get_int(sbalways_v);
31508                    if (!v) {
31509                        emit("do-show-vbar", "");
31510                        set_int(sbvis_v, 1);
31511                    }
31512                    v = get_int(sbvis_h);
31513                    v |= get_int(sbalways_h);
31514                    if (!v) {
31515                        emit("do-show-hbar", "");
31516                        set_int(sbvis_h, 1);
31517                    }
31518                    v = get_int(sbvis_timer);
31519                    if (v > 0) cancel_timer(v);
31520                    v = timer(1.0, "timer0", 0);
31521                    set_int(sbvis_timer, v);
31522                }
31523            }
31524            program { name: "go1";
31525                signal: "elm,state,busy,start";
31526                source: "elm";
31527                action: STATE_SET "active" 0.0;
31528                transition: SINUSOIDAL 1.0;
31529                target:  "busy_clip";
31530            }
31531            program { name: "go2";
31532                signal: "elm,state,busy,start";
31533                source: "elm";
31534                action: STATE_SET "default" 0.0;
31535                transition: LINEAR 0.5;
31536                target: "busy";
31537                after:  "go2";
31538            }
31539            program { name: "stop1";
31540                signal: "elm,state,busy,stop";
31541                source: "elm";
31542                action: STATE_SET "default" 0.0;
31543                transition: SINUSOIDAL 1.0;
31544                target: "busy_clip";
31545                after: "stop2";
31546            }
31547          program { name: "stop2";
31548             action: ACTION_STOP;
31549             target: "go2";
31550          }
31551       }
31552    }
31553    group { name: "elm/map/marker/radio/default";
31554         data {
31555             item: size_w 24;
31556             item: size_h 24;
31557             item: size_max_w 58;
31558             item: size_max_h 58;
31559         }
31560         images {
31561                 image: "map_item.png" COMP;
31562         }
31563         parts {
31564             part { name: "whole";
31565                 description { state: "default" 0.0;
31566                 }
31567             }
31568             part { name: "base";
31569                 ignore_flags: ON_HOLD;
31570                 description { state: "default" 0.0;
31571                     image.normal: "map_item.png";
31572                 }
31573             }
31574             part { name: "elm.icon";
31575                 type: SWALLOW;
31576                 clip_to: "whole";
31577                 mouse_events:  0;
31578                 description { state: "default" 0.0;
31579                     rel1.relative: 0.27 0.27;
31580                     rel2.relative: 0.73 0.73;
31581                 }
31582             }
31583             part { name: "elm.text";
31584                 type:          TEXT;
31585                 effect:        SOFT_SHADOW;
31586                 mouse_events:  0;
31587                 scale: 1;
31588                 description { state: "default" 0.0;
31589                     align:    0.5 0.5;
31590                     color: 224 224 224 255;
31591                     color3: 0 0 0 64;
31592                     rel1.relative: 0.28 0.25;
31593                     rel2.relative: 0.75 0.75;
31594                     text {
31595                         font:     "Sans,Edje-Vera";
31596                         size:     10;
31597                         min:      0 0;
31598                         align:    0.5 0.5;
31599                     }
31600                 }
31601             }
31602        }
31603        programs {
31604             program { name: "open";
31605                 signal: "mouse,clicked,1";
31606                 source: "base";
31607                 action: SIGNAL_EMIT "open" "elm";
31608             }
31609             program { name: "bringin";
31610                 signal: "mouse,down,1,double";
31611                 source: "base";
31612                 action: SIGNAL_EMIT "bringin" "elm";
31613             }
31614        }
31615    }
31616    group { name: "elm/map/marker/radio2/default";
31617         data {
31618             item: size_w 24;
31619             item: size_h 24;
31620             item: size_max_w 58;
31621             item: size_max_h 58;
31622         }
31623         images {
31624                 image: "map_item_2.png" COMP;
31625         }
31626         parts {
31627             part { name: "base";
31628                 ignore_flags: ON_HOLD;
31629                 description { state: "default" 0.0;
31630                     image.normal: "map_item_2.png";
31631                 }
31632             }
31633             part { name: "elm.text";
31634                 type:          TEXT;
31635                 effect:        SOFT_SHADOW;
31636                 mouse_events:  0;
31637                 scale: 1;
31638                 description { state: "default" 0.0;
31639                     align:    0.5 0.5;
31640                     color: 224 224 224 255;
31641                     color3: 0 0 0 64;
31642                     rel1.relative: 0.28 0.25;
31643                     rel2.relative: 0.75 0.75;
31644                     text {
31645                         font:     "Sans,Edje-Vera";
31646                         size:     10;
31647                         min:      0 0;
31648                         align:    0.5 0.5;
31649                     }
31650                 }
31651             }
31652        }
31653        programs {
31654             program { name: "open";
31655                 signal: "mouse,clicked,1";
31656                 source: "base";
31657                 action: SIGNAL_EMIT "open" "elm";
31658             }
31659             program { name: "bringin";
31660                 signal: "mouse,down,1,double";
31661                 source: "base";
31662                 action: SIGNAL_EMIT "bringin" "elm";
31663             }
31664        }
31665    }
31666    group { name: "elm/map/marker/empty/default";
31667         data {
31668             item: size_w 22;
31669             item: size_h 22;
31670             item: size_max_w 64;
31671             item: size_max_h 64;
31672         }
31673         parts {
31674             part { name: "whole";
31675                 description { state: "default" 0.0;
31676                 }
31677             }
31678             part { name: "base";
31679                 ignore_flags: ON_HOLD;
31680                 description { state: "default" 0.0;
31681                 }
31682             }
31683             part { name: "elm.icon";
31684                 type: SWALLOW;
31685                 clip_to: "whole";
31686                 mouse_events:  0;
31687                 description { state: "default" 0.0;
31688                 }
31689             }
31690             part { name: "elm.text";
31691                 type:          TEXT;
31692                 effect:        SOFT_SHADOW;
31693                 mouse_events:  0;
31694                 scale: 1;
31695                 description { state: "default" 0.0;
31696                     align:    0.5 0.5;
31697                     color: 224 224 224 255;
31698                     color3: 0 0 0 64;
31699                     rel1.relative: 0.28 0.25;
31700                     rel2.relative: 0.75 0.75;
31701                     text {
31702                         font:     "Sans,Edje-Vera";
31703                         size:     10;
31704                         min:      0 0;
31705                         align:    0.5 0.5;
31706                     }
31707                 }
31708             }
31709        }
31710        programs {
31711             program { name: "open";
31712                 signal: "mouse,clicked,1";
31713                 source: "base";
31714                 action: SIGNAL_EMIT "open" "elm";
31715             }
31716             program { name: "bringin";
31717                 signal: "mouse,down,1,double";
31718                 source: "base";
31719                 action: SIGNAL_EMIT "bringin" "elm";
31720             }
31721        }
31722    }
31723    group { name: "elm/map/marker_bubble/default";
31724     images {
31725       image: "bubble.png" COMP;
31726       image: "bubble_shine.png" COMP;
31727     }
31728     data {
31729             item: size_w 400;
31730             item: size_h 100;
31731         }
31732     parts {
31733     part { name: "clipper";
31734         mouse_events:  1;
31735         description { state: "default" 0.0;
31736           color: 255 255 255 0;
31737         }
31738         description { state: "show" 0.0;
31739             inherit: "default" 0.0;
31740             color: 255 255 255 255;
31741         }
31742       }
31743      part { name: "base0";
31744         mouse_events:  0;
31745         clip_to: "clipper";
31746         description { state: "default" 0.0;
31747           image {
31748             normal: "bubble.png";
31749             border: 11 36 10 19;
31750           }
31751           image.middle: SOLID;
31752           fill.smooth: 0;
31753         }
31754         description { state: "rtl" 0.0;
31755            inherit: "default" 0.0;
31756            image {
31757               normal: "bubble_4.png";
31758               border: 11 36 18 9;
31759            }
31760         }
31761       }
31762       part { name: "elm.swallow.content";
31763         type: SWALLOW;
31764         clip_to: "clipper";
31765         description { state: "default" 0.0;
31766             align: 0.5 0.5;
31767           rel1 {
31768             offset: 9 8;
31769           }
31770           rel2 {
31771             offset: -10 -17;
31772           }
31773         }
31774       }
31775       part { name: "shine";
31776         mouse_events:  0;
31777         clip_to: "clipper";
31778         description { state:    "default" 0.0;
31779           rel1 {
31780             to: "base0";
31781           }
31782           rel2 {
31783             to: "base0";
31784             relative: 1.0 0.5;
31785           }
31786           image {
31787             normal: "bubble_shine.png";
31788             border: 5 5 5 0;
31789           }
31790           fill.smooth: 0;
31791         }
31792         }
31793     }
31794     programs {
31795         program { name: "show";
31796             signal: "show";
31797             action: STATE_SET "show" 0.0;
31798             target: "clipper";
31799             transition: ACCELERATE 0.5;
31800         }
31801     }
31802   }
31803
31804 /////////////////////////////////////////////////////////////////////////////
31805 // PANES
31806 /////////////////////////////////////////////////////////////////////////////
31807   group {
31808      name: "elm/panes/vertical/default";
31809       images {
31810          image: "bt_base1.png" COMP;
31811          image: "bt_base2.png" COMP;
31812          image: "bt_hilight.png" COMP;
31813          image: "bt_shine.png" COMP;
31814          image: "bt_glow.png" COMP;
31815          image: "bt_dis_base.png" COMP;
31816          image: "bt_dis_hilight.png" COMP;
31817          image: "arrow_right.png" COMP;
31818          image: "arrow_left.png" COMP;
31819       }
31820      parts
31821        {
31822           part
31823             {
31824                name: "whole";
31825                type: RECT;
31826                mouse_events: 0;
31827                description
31828                  {
31829                     state: "default" 0.0;
31830                     visible: 0;
31831                  }
31832             }
31833
31834          //2 contents
31835           part
31836             {
31837                name: "whole_left";
31838                type: RECT;
31839                mouse_events: 0;
31840                description
31841                  {
31842                     state: "default" 0.0;
31843                     rel2.to_x: "elm.bar";
31844                     rel2.relative: 0.0 1.0;
31845                     visible: 1;
31846                  }
31847             }
31848           part
31849             {
31850                name: "elm.swallow.left";
31851                type: SWALLOW;
31852                clip_to: "whole_left";
31853                description
31854                  {
31855                     state: "default" 0.0;
31856                     rel1.to: "whole_left";
31857                     rel2.to: "whole_left";
31858                  }
31859             }
31860
31861             part
31862             {
31863                name: "whole_right";
31864                type: RECT;
31865                mouse_events: 0;
31866                description
31867                  {
31868                     state: "default" 0.0;
31869                     rel1.to_x: "elm.bar";
31870                     rel1.relative: 1.0 0.0;
31871                     visible: 1;
31872                  }
31873             }
31874           part
31875             {
31876                name: "elm.swallow.right";
31877                type: SWALLOW;
31878                clip_to: "whole_right";
31879                description
31880                  {
31881                     state: "default" 0.0;
31882                     rel1.to: "whole_right";
31883                     rel2.to: "whole_right";
31884                  }
31885             }
31886          //BAR
31887          part { name: "elm.bar";
31888             mouse_events: 1;
31889             dragable {
31890                confine: "whole";
31891                x: 1 1 1;
31892                y: 0 0 0;
31893             }
31894             description { state: "default" 0.0;
31895                max: 15 9999;
31896                min: 15 100;
31897                rel1.relative: 0.0 0.5;
31898                rel2.relative: 1.0 0.5;
31899                image {
31900                   normal: "bt_base2.png";
31901                   border: 7 7 7 7;
31902                }
31903                image.middle: SOLID;
31904             }
31905             description { state: "clicked" 0.0;
31906                inherit: "default" 0.0;
31907                image.normal: "bt_base1.png";
31908                image.middle: SOLID;
31909             }
31910             description { state: "disabled" 0.0;
31911                inherit:  "default" 0.0;
31912                image {
31913                   normal: "bt_dis_base.png";
31914                   border: 4 4 4 4;
31915                }
31916             }
31917          }
31918          part {          name: "over1";
31919             mouse_events: 0;
31920             description { state: "default" 0.0;
31921             rel1.to: "elm.bar";
31922             rel2.to: "elm.bar";
31923                rel2.relative: 1.0 0.5;
31924                image {
31925                   normal: "bt_hilight.png";
31926                   border: 7 7 7 0;
31927                }
31928             }
31929             description { state: "disabled" 0.0;
31930                inherit:  "default" 0.0;
31931                image {
31932                   normal: "bt_dis_hilight.png";
31933                   border: 4 4 4 0;
31934                }
31935             }
31936          }
31937          part { name: "over2";
31938             mouse_events: 1;
31939             repeat_events: 1;
31940             ignore_flags: ON_HOLD;
31941             description { state: "default" 0.0;
31942             rel1.to: "elm.bar";
31943             rel2.to: "elm.bar";
31944                image {
31945                   normal: "bt_shine.png";
31946                   border: 7 7 7 7;
31947                }
31948             }
31949             description { state: "disabled" 0.0;
31950                inherit:  "default" 0.0;
31951                visible: 0;
31952             }
31953          }
31954          part { name: "over3";
31955             mouse_events: 1;
31956             repeat_events: 1;
31957             description { state: "default" 0.0;
31958                color: 255 255 255 0;
31959             rel1.to: "elm.bar";
31960             rel2.to: "elm.bar";
31961                image {
31962                   normal: "bt_glow.png";
31963                   border: 12 12 12 12;
31964                }
31965                fill.smooth : 0;
31966             }
31967             description { state: "clicked" 0.0;
31968                inherit:  "default" 0.0;
31969                visible: 1;
31970                color: 255 255 255 255;
31971             }
31972          }
31973
31974          //Arrow
31975          part {
31976             name: "arrow_right";
31977             repeat_events: 1;
31978             description { state: "default" 0.0;
31979                 min: 45 45;
31980                 max: 45 45;
31981                 color: 255 255 255 0;
31982
31983                 rel1.relative: 1.0 0.5;
31984                 rel1.to_x: "elm.bar";
31985                 rel1.offset: 45/2 -45/2;
31986
31987                 rel2.relative: 1.0 0.5;
31988                 rel2.to_x: "elm.bar";
31989                 rel2.offset: 45/2 45/2;
31990
31991                 image.normal: "arrow_right.png";
31992
31993                 fixed: 1 1;
31994             }
31995             description { state: "default" 0.1;
31996                 inherit: "default" 0.0;
31997                 image.normal: "arrow_left.png";
31998             }
31999             description { state: "anim_1" 0.0;
32000                 inherit: "default" 0.0;
32001                 color: 255 255 255 200;
32002                 rel1.offset: (45/2 + 10) -45/2;
32003                 rel2.offset: (45/2 +10) 45/2;
32004             }
32005             description { state: "anim_1" 0.1;
32006                 inherit: "default" 0.0;
32007                 image.normal: "arrow_left.png";
32008                 color: 255 255 255 200;
32009                 rel1.offset: (45/2 + 10) -45/2;
32010                 rel2.offset: (45/2 +10) 45/2;
32011             }
32012             description { state: "anim_2" 0.0;
32013                 inherit: "default" 0.0;
32014                 color: 255 255 255 0;
32015                 rel1.offset: (45/2 + 20) -45/2;
32016                 rel2.offset: (45/2 + 20) 45/2;
32017             }
32018             description { state: "anim_2" 0.1;
32019                 inherit: "default" 0.0;
32020                 image.normal: "arrow_left.png";
32021                 color: 255 255 255 0;
32022                 rel1.offset: (45/2 + 20) -45/2;
32023                 rel2.offset: (45/2 + 20) 45/2;
32024             }
32025          }
32026         part {
32027             name: "arrow_left";
32028             repeat_events: 1;
32029             description { state: "default" 0.0;
32030                 min: 45 45;
32031                 max: 45 45;
32032                 color: 255 255 255 0;
32033
32034                 rel1.relative: 0.0 0.5;
32035                 rel1.to_x: "elm.bar";
32036                 rel1.offset: -45/2 -45/2;
32037
32038                 rel2.relative: 0.0 0.5;
32039                 rel2.to_x: "elm.bar";
32040                 rel2.offset: -45/2 45/2;
32041
32042                 image.normal: "arrow_left.png";
32043
32044                 fixed: 1 1;
32045             }
32046             description { state: "default" 0.1;
32047                 inherit: "default" 0.0;
32048                 image.normal: "arrow_right.png";
32049             }
32050             description { state: "anim_1" 0.0;
32051                 inherit: "default" 0.0;
32052                 color: 255 255 255 200;
32053                 rel1.offset: (-45/2 - 10) -45/2;
32054                 rel2.offset: (-45/2 - 10) 45/2;
32055             }
32056             description { state: "anim_1" 0.1;
32057                 inherit: "default" 0.0;
32058                 image.normal: "arrow_right.png";
32059                 color: 255 255 255 200;
32060                 rel1.offset: (-45/2 - 10) -45/2;
32061                 rel2.offset: (-45/2 - 10) 45/2;
32062             }
32063             description { state: "anim_2" 0.0;
32064                 inherit: "default" 0.0;
32065                 color: 255 255 255 0;
32066                 rel1.offset: (-45/2 - 20) -45/2;
32067                 rel2.offset: (-45/2 - 20) 45/2;
32068             }
32069             description { state: "anim_2" 0.1;
32070                 inherit: "default" 0.0;
32071                 image.normal: "arrow_right.png";
32072                 color: 255 255 255 0;
32073                 rel1.offset: (-45/2 - 20) -45/2;
32074                 rel2.offset: (-45/2 - 20) 45/2;
32075             }
32076          }
32077
32078        }
32079         programs {
32080          program {
32081             name:   "button_click";
32082             signal: "mouse,down,1";
32083             source: "over2";
32084             action: SIGNAL_EMIT "elm,action,press" "";
32085             after: "button_click_anim";
32086             after: "arrow_anim_start";
32087          }
32088          program {
32089             name:   "button_click_anim";
32090             action: STATE_SET "clicked" 0.0;
32091             target: "elm.bar";
32092          }
32093          program {
32094             name:   "button_unclick";
32095             signal: "mouse,up,1";
32096             source: "over2";
32097             action: SIGNAL_EMIT "elm,action,unpress" "";
32098             after: "button_unclick_anim";
32099             after: "arrow_anim_stop";
32100          }
32101          program {
32102             name:   "button_unclick_anim";
32103             action: STATE_SET "default" 0.0;
32104             target: "elm.bar";
32105          }
32106          program {
32107             name:   "button_click2";
32108             signal: "mouse,down,1";
32109             source: "over3";
32110             action: STATE_SET "clicked" 0.0;
32111             target: "over3";
32112          }
32113          program {
32114             name:   "button_unclick2";
32115             signal: "mouse,up,1";
32116             source: "over3";
32117             action: STATE_SET "default" 0.0;
32118             transition: DECELERATE 0.5;
32119             target: "over3";
32120          }
32121          program {
32122             name:   "button_unclick3";
32123             signal: "mouse,up,1";
32124             source: "over2";
32125             action: SIGNAL_EMIT "elm,action,click" "";
32126          }
32127          program {
32128             name:   "button_down_double";
32129             signal: "mouse,down,1,double";
32130             source: "over3";
32131             action: SIGNAL_EMIT "elm,action,click,double" "";
32132          }
32133
32134          //arrows animation
32135          program {
32136             name: "arrow_anim_start";
32137             script {
32138                new st[31];
32139                new Float:vl;
32140                get_state(PART:"arrow_left", st, 30, vl);
32141                if (vl == 0.0) {
32142                   run_program(PROGRAM:"arrow_anim_start_ltr");
32143                }
32144                else {
32145                   run_program(PROGRAM:"arrow_anim_start_rtl");
32146                }
32147             }
32148          }
32149          program {
32150             name: "arrow_anim_stop";
32151             script {
32152                new st[31];
32153                new Float:vl;
32154                get_state(PART:"arrow_left", st, 30, vl);
32155                if (vl == 0.0) {
32156                   run_program(PROGRAM:"arrow_anim_stop_ltr");
32157                }
32158                else {
32159                   run_program(PROGRAM:"arrow_anim_stop_rtl");
32160                }
32161             }
32162          }
32163
32164          program {
32165             name: "arrow_anim_start_ltr";
32166             action: STATE_SET "anim_1" 0.0;
32167             target: "arrow_right";
32168             target: "arrow_left";
32169             transition: LINEAR 0.6;
32170             after: "arrow_anim_1_ltr";
32171          }
32172          program {
32173             name: "arrow_anim_1_ltr";
32174             action: STATE_SET "anim_2" 0.0;
32175             target: "arrow_right";
32176             target: "arrow_left";
32177             transition: LINEAR 0.6;
32178             after: "arrow_anim_2_ltr";
32179          }
32180          program {
32181             name: "arrow_anim_2_ltr";
32182             action: STATE_SET "default" 0.0;
32183             target: "arrow_right";
32184             target: "arrow_left";
32185             after: "arrow_anim_start_ltr";
32186          }
32187          program {
32188             name: "arrow_anim_stop_ltr";
32189             action: ACTION_STOP;
32190             target: "arrow_anim_start_ltr";
32191             target: "arrow_anim_1_ltr";
32192             target: "arrow_anim_2_ltr";
32193             after: "arrow_anim_stop_1_ltr";
32194          }
32195          program {
32196             name: "arrow_anim_stop_1_ltr";
32197             action: STATE_SET "default" 0.0;
32198             target: "arrow_right";
32199             target: "arrow_left";
32200             transition: DECELERATE 0.4;
32201         }
32202          program {
32203             name: "arrow_anim_start_rtl";
32204             action: STATE_SET "anim_1" 0.1;
32205             target: "arrow_right";
32206             target: "arrow_left";
32207             transition: LINEAR 0.6;
32208             after: "arrow_anim_1_rtl";
32209          }
32210          program {
32211             name: "arrow_anim_1_rtl";
32212             action: STATE_SET "anim_2" 0.1;
32213             target: "arrow_right";
32214             target: "arrow_left";
32215             transition: LINEAR 0.6;
32216             after: "arrow_anim_2_rtl";
32217          }
32218          program {
32219             name: "arrow_anim_2_rtl";
32220             action: STATE_SET "default" 0.1;
32221             target: "arrow_right";
32222             target: "arrow_left";
32223             after: "arrow_anim_start_rtl";
32224          }
32225          program {
32226             name: "arrow_anim_stop_rtl";
32227             action: ACTION_STOP;
32228             target: "arrow_anim_start_rtl";
32229             target: "arrow_anim_1_rtl";
32230             target: "arrow_anim_2_rtl";
32231             after: "arrow_anim_stop_1_rtl";
32232          }
32233          program {
32234             name: "arrow_anim_stop_1_rtl";
32235             action: STATE_SET "default" 0.1;
32236             target: "arrow_right";
32237             target: "arrow_left";
32238             transition: DECELERATE 0.4;
32239         }
32240          program { name: "to_rtl";
32241             signal: "edje,state,rtl";
32242             source: "edje";
32243             script {
32244                new st[31];
32245                new Float:vl;
32246                get_state(PART:"arrow_left", st, 30, vl);
32247                if (vl == 0.0) {
32248                   set_state(PART:"arrow_left", st, 0.1);
32249                }
32250                get_state(PART:"arrow_right", st, 30, vl);
32251                if (vl == 0.0) {
32252                   set_state(PART:"arrow_right", st, 0.1);
32253                }
32254             }
32255          }
32256          program { name: "to_ltr";
32257             signal: "edje,state,ltr";
32258             source: "edje";
32259             script {
32260                new st[31];
32261                new Float:vl;
32262                get_state(PART:"arrow_left", st, 30, vl);
32263                if (vl == 0.1) {
32264                   set_state(PART:"arrow_left", st, 0.0);
32265                }
32266                get_state(PART:"arrow_right", st, 30, vl);
32267                if (vl == 0.1) {
32268                   set_state(PART:"arrow_right", st, 0.0);
32269                }
32270             }
32271          }
32272       }
32273   }
32274
32275   group {
32276      name: "elm/panes/horizontal/default";
32277       images {
32278          image: "bt_base1.png" COMP;
32279          image: "bt_base2.png" COMP;
32280          image: "bt_hilight.png" COMP;
32281          image: "bt_shine.png" COMP;
32282          image: "bt_glow.png" COMP;
32283          image: "bt_dis_base.png" COMP;
32284          image: "bt_dis_hilight.png" COMP;
32285          image: "arrow_up.png" COMP;
32286          image: "arrow_down.png" COMP;
32287       }
32288      parts
32289        {
32290           part
32291             {
32292                name: "whole";
32293                type: RECT;
32294                mouse_events: 0;
32295                description
32296                  {
32297                     state: "default" 0.0;
32298                     visible: 0;
32299                  }
32300             }
32301
32302          //2 contents
32303           part
32304             {
32305                name: "whole_left";
32306                type: RECT;
32307                mouse_events: 0;
32308                description
32309                  {
32310                     state: "default" 0.0;
32311                     rel2.to_y: "elm.bar";
32312                     rel2.relative: 1.0 0.0;
32313                     visible: 1;
32314                  }
32315             }
32316           part
32317             {
32318                name: "elm.swallow.left";
32319                type: SWALLOW;
32320                clip_to: "whole_left";
32321                description
32322                  {
32323                     state: "default" 0.0;
32324                     rel1.to: "whole_left";
32325                     rel2.to: "whole_left";
32326                  }
32327             }
32328
32329             part
32330             {
32331                name: "whole_right";
32332                type: RECT;
32333                mouse_events: 0;
32334                description
32335                  {
32336                     state: "default" 0.0;
32337                     rel1.to_y: "elm.bar";
32338                     rel1.relative: 0.0 1.0;
32339                     visible: 1;
32340                  }
32341             }
32342           part
32343             {
32344                name: "elm.swallow.right";
32345                type: SWALLOW;
32346                clip_to: "whole_right";
32347                description
32348                  {
32349                     state: "default" 0.0;
32350                     rel1.to: "whole_right";
32351                     rel2.to: "whole_right";
32352                  }
32353             }
32354          //BAR
32355          part { name: "elm.bar";
32356             mouse_events: 1;
32357             dragable {
32358                confine: "whole";
32359                x: 0 0 0;
32360                y: 1 1 1;
32361             }
32362             description { state: "default" 0.0;
32363                max: 999 15;
32364                min: 100 15;
32365                rel1.relative: 0.5 0.0;
32366                rel2.relative: 0.5 1.0;
32367                image {
32368                   normal: "bt_base2.png";
32369                   border: 7 7 7 7;
32370                }
32371                image.middle: SOLID;
32372             }
32373             description { state: "clicked" 0.0;
32374                inherit: "default" 0.0;
32375                image.normal: "bt_base1.png";
32376                image.middle: SOLID;
32377             }
32378             description { state: "disabled" 0.0;
32379                inherit:  "default" 0.0;
32380                image {
32381                   normal: "bt_dis_base.png";
32382                   border: 4 4 4 4;
32383                }
32384             }
32385          }
32386          part {          name: "over1";
32387             mouse_events: 0;
32388             description { state: "default" 0.0;
32389             rel1.to: "elm.bar";
32390             rel2.to: "elm.bar";
32391                rel2.relative: 1.0 0.5;
32392                image {
32393                   normal: "bt_hilight.png";
32394                   border: 7 7 7 0;
32395                }
32396             }
32397             description { state: "disabled" 0.0;
32398                inherit:  "default" 0.0;
32399                image {
32400                   normal: "bt_dis_hilight.png";
32401                   border: 4 4 4 0;
32402                }
32403             }
32404          }
32405          part { name: "over2";
32406             mouse_events: 1;
32407             repeat_events: 1;
32408             ignore_flags: ON_HOLD;
32409             description { state: "default" 0.0;
32410             rel1.to: "elm.bar";
32411             rel2.to: "elm.bar";
32412                image {
32413                   normal: "bt_shine.png";
32414                   border: 7 7 7 7;
32415                }
32416             }
32417             description { state: "disabled" 0.0;
32418                inherit:  "default" 0.0;
32419                visible: 0;
32420             }
32421          }
32422          part { name: "over3";
32423             mouse_events: 1;
32424             repeat_events: 1;
32425             description { state: "default" 0.0;
32426                color: 255 255 255 0;
32427             rel1.to: "elm.bar";
32428             rel2.to: "elm.bar";
32429                image {
32430                   normal: "bt_glow.png";
32431                   border: 12 12 12 12;
32432                }
32433                fill.smooth : 0;
32434             }
32435             description { state: "clicked" 0.0;
32436                inherit:  "default" 0.0;
32437                visible: 1;
32438                color: 255 255 255 255;
32439             }
32440          }
32441
32442          //Arrow
32443          part {
32444             name: "arrow_right";
32445             repeat_events: 1;
32446             description { state: "default" 0.0;
32447                 min: 45 45;
32448                 max: 45 45;
32449                 color: 255 255 255 0;
32450
32451                 rel1.relative: 0.5 1.0;
32452                 rel1.to_y: "elm.bar";
32453                 rel1.offset: -45/2 45/2;
32454
32455                 rel2.relative: 0.5 1.0;
32456                 rel2.to_y: "elm.bar";
32457                 rel2.offset: 45/2 45/2;
32458
32459                 image.normal: "arrow_down.png";
32460
32461                 fixed: 1 1;
32462             }
32463             description { state: "anim_1" 0.0;
32464                 inherit: "default" 0.0;
32465                 color: 255 255 255 200;
32466                 rel1.offset: -45/2 (45/2 +10);
32467                 rel2.offset: 45/2 (45/2 +10);
32468             }
32469             description { state: "anim_2" 0.0;
32470                 inherit: "default" 0.0;
32471                 color: 255 255 255 0;
32472                 rel1.offset: -45/2 (45/2 + 20);
32473                 rel2.offset: 45/2 (45/2 + 20);
32474             }
32475          }
32476         part {
32477             name: "arrow_left";
32478             repeat_events: 1;
32479             description { state: "default" 0.0;
32480                 min: 45 45;
32481                 max: 45 45;
32482                 color: 255 255 255 0;
32483
32484                 rel1.relative: 0.5 0.0;
32485                 rel1.to_y: "elm.bar";
32486                 rel1.offset: -45/2 -45/2;
32487
32488                 rel2.relative: 0.5 0.0;
32489                 rel2.to_y: "elm.bar";
32490                 rel2.offset: 45/2 -45/2;
32491
32492                 image.normal: "arrow_up.png";
32493
32494                 fixed: 1 1;
32495             }
32496             description { state: "anim_1" 0.0;
32497                 inherit: "default" 0.0;
32498                 color: 255 255 255 200;
32499                 rel1.offset: -45/2 (-45/2 - 10);
32500                 rel2.offset: 45/2 (-45/2 - 10);
32501             }
32502             description { state: "anim_2" 0.0;
32503                 inherit: "default" 0.0;
32504                 color: 255 255 255 0;
32505                 rel1.offset: -45/2 (-45/2 - 20);
32506                 rel2.offset: 45/2 (-45/2 - 20);
32507             }
32508          }
32509
32510        }
32511         programs {
32512          program {
32513             name:   "button_click";
32514             signal: "mouse,down,1";
32515             source: "over2";
32516             action: SIGNAL_EMIT "elm,action,press" "";
32517             after: "button_click_anim";
32518             after: "arrow_anim_start";
32519          }
32520          program {
32521             name:   "button_click_anim";
32522             action: STATE_SET "clicked" 0.0;
32523             target: "elm.bar";
32524          }
32525          program {
32526             name:   "button_unclick";
32527             signal: "mouse,up,1";
32528             source: "over2";
32529             action: SIGNAL_EMIT "elm,action,unpress" "";
32530             after: "button_unclick_anim";
32531             after: "arrow_anim_stop";
32532          }
32533          program {
32534             name:   "button_unclick_anim";
32535             action: STATE_SET "default" 0.0;
32536             target: "elm.bar";
32537          }
32538          program {
32539             name:   "button_click2";
32540             signal: "mouse,down,1";
32541             source: "over3";
32542             action: STATE_SET "clicked" 0.0;
32543             target: "over3";
32544          }
32545          program {
32546             name:   "button_unclick2";
32547             signal: "mouse,up,1";
32548             source: "over3";
32549             action: STATE_SET "default" 0.0;
32550             transition: DECELERATE 0.5;
32551             target: "over3";
32552          }
32553          program {
32554             name:   "button_unclick3";
32555             signal: "mouse,up,1";
32556             source: "over2";
32557             action: SIGNAL_EMIT "elm,action,click" "";
32558          }
32559          program {
32560             name:   "button_down_double";
32561             signal: "mouse,down,1,double";
32562             source: "over3";
32563             action: SIGNAL_EMIT "elm,action,click,double" "";
32564          }
32565
32566          //arrows animation
32567          program {
32568             name: "arrow_anim_start";
32569             action: STATE_SET "anim_1" 0.0;
32570             target: "arrow_right";
32571             target: "arrow_left";
32572             transition: LINEAR 0.6;
32573             after: "arrow_anim_1";
32574          }
32575          program {
32576             name: "arrow_anim_1";
32577             action: STATE_SET "anim_2" 0.0;
32578             target: "arrow_right";
32579             target: "arrow_left";
32580             transition: LINEAR 0.6;
32581             after: "arrow_anim_2";
32582          }
32583          program {
32584             name: "arrow_anim_2";
32585             action: STATE_SET "default" 0.0;
32586             target: "arrow_right";
32587             target: "arrow_left";
32588             after: "arrow_anim_start";
32589          }
32590          program {
32591             name: "arrow_anim_stop";
32592             action: ACTION_STOP;
32593             target: "arrow_anim_start";
32594             target: "arrow_anim_1";
32595             target: "arrow_anim_2";
32596             after: "arrow_anim_stop_1";
32597          }
32598          program {
32599             name: "arrow_anim_stop_1";
32600             action: STATE_SET "default" 0.0;
32601             target: "arrow_right";
32602             target: "arrow_left";
32603             transition: DECELERATE 0.4;
32604         }
32605       }
32606   }
32607
32608
32609
32610 /////////////////////////////////////////////////////////////////////////////
32611 // PANEL
32612 /////////////////////////////////////////////////////////////////////////////
32613   group {
32614      name: "elm/panel/base/left";
32615      alias: "elm/panel/base/top";
32616      images
32617        {
32618           image: "bt_base1.png" COMP;
32619           image: "bt_hilight.png" COMP;
32620           image: "bt_shine.png" COMP;
32621           image: "bt_glow.png" COMP;
32622           image: "bt_dis_base.png" COMP;
32623           image: "icon_arrow_left.png" COMP;
32624           image: "icon_arrow_right.png" COMP;
32625        }
32626        data {
32627           item: "focus_highlight" "on";
32628        }
32629      parts
32630        {
32631             part { name: "focus_highlight";
32632                description { state: "default" 0.0;
32633                   visible: 0;
32634                   color: 255 255 255 0;
32635                   rel1 {
32636                      to: "btn";
32637                      offset: -8 -8;
32638                   }
32639                   rel2 {
32640                      to: "btn";
32641                      offset: 7 7;
32642                   }
32643                   image {
32644                      normal: "frame_2.png";
32645                      border: 5 5 32 26;
32646                      middle: 0;
32647                   }
32648                }
32649                description { state: "enabled" 0.0;
32650                   inherit: "default" 0.0;
32651                   visible: 1;
32652                   color: 255 255 255 255;
32653                }
32654             }
32655           part
32656             {
32657                name: "bg";
32658                type: RECT;
32659                mouse_events: 0;
32660                description
32661                  {
32662                     state: "default" 0.0;
32663                     color: 255 255 255 0;
32664                     rel1.relative: 0.0 0.0;
32665                     rel1.offset: 0 0;
32666                     rel2.relative: 1.0 1.0;
32667                     rel2.offset: -1 -1;
32668                  }
32669                description
32670                  {
32671                     state: "hidden" 0.0;
32672                     inherit: "default" 0.0;
32673                     rel1.relative: -1.0 0.0;
32674                     rel1.offset: 21 0;
32675                     rel2.relative: 0.0 1.0;
32676                     rel2.offset: 20 -1;
32677                  }
32678             }
32679           part
32680             {
32681                name: "base";
32682                type: IMAGE;
32683                mouse_events: 0;
32684                description
32685                  {
32686                     state: "default" 0.0;
32687                     rel1.to: "bg";
32688                     rel2.to: "bg";
32689                     rel2.offset: -20 -1;
32690                     image
32691                       {
32692                          normal: "bt_dis_base.png";
32693                          border: 4 4 4 4;
32694                       }
32695                  }
32696             }
32697           part
32698             {
32699                name: "clipper";
32700                type: RECT;
32701                mouse_events: 0;
32702                description
32703                  {
32704                     state: "default" 0.0;
32705                     rel1
32706                       {
32707                          offset: 4 4;
32708                          to: "base";
32709                       }
32710                     rel2
32711                       {
32712                          offset: -5 -5;
32713                          to: "base";
32714                       }
32715                  }
32716             }
32717           part
32718             {
32719                name: "elm.swallow.content";
32720                type: SWALLOW;
32721                clip_to: "clipper";
32722                description
32723                  {
32724                     state: "default" 0.0;
32725                     rel1.to: "clipper";
32726                     rel2.to: "clipper";
32727                  }
32728             }
32729           part
32730             {
32731                name: "btn";
32732                type: IMAGE;
32733                mouse_events: 1;
32734                description
32735                  {
32736                     state: "default" 0.0;
32737                     max: 32 48;
32738                     fixed: 1 1;
32739                     align: 0.0 0.5;
32740                     rel1
32741                       {
32742                          relative: 1.0 0.0;
32743                          offset: -3 0;
32744                          to_x: "base";
32745                       }
32746                     rel2.to_x: "bg";
32747                     image
32748                       {
32749                          normal: "bt_base1.png";
32750                          border: 0 5 4 12;
32751                       }
32752                     fill.smooth: 0;
32753                  }
32754                description
32755                  {
32756                     state: "clicked" 0.0;
32757                     inherit: "default" 0.0;
32758                  }
32759             }
32760           part
32761             {
32762                name: "btn_over";
32763                type: IMAGE;
32764                mouse_events: 0;
32765                description
32766                  {
32767                     state: "default" 0.0;
32768                     rel1.to: "btn";
32769                     rel2
32770                       {
32771                          relative: 1.0 0.5;
32772                          to: "btn";
32773                       }
32774                     image
32775                       {
32776                          normal: "bt_hilight.png";
32777                          border: 0 7 7 0;
32778                       }
32779                  }
32780             }
32781           part
32782             {
32783                name: "btn_over2";
32784                type: IMAGE;
32785                mouse_events: 1;
32786                repeat_events: 1;
32787                ignore_flags: ON_HOLD;
32788                description
32789                  {
32790                     state: "default" 0.0;
32791                     rel1.to: "btn";
32792                     rel2.to: "btn";
32793                     image
32794                       {
32795                          normal: "bt_shine.png";
32796                          border: 0 7 7 7;
32797                     }
32798                  }
32799             }
32800           part
32801             {
32802                name: "btn_over3";
32803                type: IMAGE;
32804                mouse_events: 1;
32805                repeat_events: 1;
32806                description
32807                  {
32808                     state: "default" 0.0;
32809                     color: 255 255 255 0;
32810                     rel1.to: "btn";
32811                     rel2.to: "btn";
32812                     image
32813                       {
32814                        normal: "bt_glow.png";
32815                        border: 12 12 12 12;
32816                     }
32817                   fill.smooth: 0;
32818                }
32819              description
32820                {
32821                   state: "clicked" 0.0;
32822                   inherit: "default" 0.0;
32823                   visible: 1;
32824                   color: 255 255 255 255;
32825                }
32826             }
32827           part
32828             {
32829                name: "btn_icon";
32830                type: IMAGE;
32831                repeat_events: 1;
32832                description
32833                  {
32834                     state: "default" 0.0;
32835                     rel1.to: "btn";
32836                     rel2.to: "btn";
32837                     align: 0.5 0.5;
32838                     min: 16 16;
32839                     max: 16 16;
32840                     image.normal: "icon_arrow_left.png";
32841                  }
32842                description
32843                  {
32844                     state: "hidden" 0.0;
32845                     inherit: "default" 0.0;
32846                     image.normal: "icon_arrow_right.png";
32847                  }
32848             }
32849        }
32850      programs
32851        {
32852           program
32853             {
32854                name: "show";
32855                signal: "elm,action,show";
32856                source: "elm";
32857                action: STATE_SET "default" 0.0;
32858                target: "bg";
32859                target: "btn_icon";
32860                transition: LINEAR 0.5;
32861             }
32862           program
32863             {
32864                name: "hide";
32865                signal: "elm,action,hide";
32866                source: "elm";
32867                action: STATE_SET "hidden" 0.0;
32868                target: "bg";
32869                target: "btn_icon";
32870                transition: LINEAR 0.5;
32871             }
32872           program
32873             {
32874                name: "btn_click";
32875                signal: "mouse,down,1";
32876                source: "btn_over2";
32877                action: STATE_SET "clicked" 0.0;
32878                target: "btn";
32879             }
32880           program
32881             {
32882                name: "btn_unclick";
32883                signal: "mouse,up,1";
32884                source: "btn_over2";
32885                action: STATE_SET "default" 0.0;
32886                target: "btn";
32887             }
32888           program
32889             {
32890                name: "btn_click2";
32891                signal: "mouse,down,1";
32892                source: "btn_over3";
32893                action: STATE_SET "clicked" 0.0;
32894                target: "btn_over3";
32895             }
32896           program
32897             {
32898                name: "btn_unclick2";
32899                signal: "mouse,up,1";
32900                source: "btn_over3";
32901                action: STATE_SET "default" 0.0;
32902                transition: DECELERATE 0.5;
32903                target: "btn_over3";
32904             }
32905           program
32906             {
32907                name: "btn_unclick3";
32908                signal: "mouse,clicked,1";
32909                source: "btn_over2";
32910                action: SIGNAL_EMIT "elm,action,panel,toggle" "";
32911             }
32912          program { name: "highlight_show";
32913             signal: "elm,action,focus_highlight,show";
32914             source: "elm";
32915             action: STATE_SET "enabled" 0.0;
32916             transition: ACCELERATE 0.3;
32917             target: "focus_highlight";
32918          }
32919          program { name: "highlight_hide";
32920             signal: "elm,action,focus_highlight,hide";
32921             source: "elm";
32922             action: STATE_SET "default" 0.0;
32923             transition: DECELERATE 0.3;
32924             target: "focus_highlight";
32925          }
32926        }
32927   }
32928
32929   group {
32930      name: "elm/panel/base/right";
32931      alias: "elm/panel/base/bottom";
32932      images
32933        {
32934           image: "bt_base1.png" COMP;
32935           image: "bt_hilight.png" COMP;
32936           image: "bt_shine.png" COMP;
32937           image: "bt_glow.png" COMP;
32938           image: "bt_dis_base.png" COMP;
32939           image: "icon_arrow_left.png" COMP;
32940           image: "icon_arrow_right.png" COMP;
32941        }
32942      parts
32943        {
32944             part { name: "focus_highlight";
32945                description { state: "default" 0.0;
32946                   visible: 0;
32947                   color: 255 255 255 0;
32948                   rel1 {
32949                      to: "btn";
32950                      offset: -8 -8;
32951                   }
32952                   rel2 {
32953                      to: "btn";
32954                      offset: 7 7;
32955                   }
32956                   image {
32957                      normal: "frame_2.png";
32958                      border: 5 5 32 26;
32959                      middle: 0;
32960                   }
32961                }
32962                description { state: "enabled" 0.0;
32963                   inherit: "default" 0.0;
32964                   visible: 1;
32965                   color: 255 255 255 255;
32966                }
32967             }
32968           part
32969             {
32970                name: "bg";
32971                type: RECT;
32972                mouse_events: 0;
32973                description
32974                  {
32975                     state: "default" 0.0;
32976                     color: 255 255 255 0;
32977                     rel1.relative: 0.0 0.0;
32978                     rel1.offset: 0 0;
32979                     rel2.relative: 1.0 1.0;
32980                     rel2.offset: -1 -1;
32981                  }
32982                description
32983                  {
32984                     state: "hidden" 0.0;
32985                     inherit: "default" 0.0;
32986                     rel1.relative: 1.0 0.0;
32987                     rel1.offset: -22 0;
32988                     rel2.relative: 2.0 1.0;
32989                     rel2.offset: -23 -1;
32990                  }
32991             }
32992           part
32993             {
32994                name: "base";
32995                type: IMAGE;
32996                mouse_events: 0;
32997                description
32998                  {
32999                     state: "default" 0.0;
33000                     rel1.to: "bg";
33001                     rel1.offset: 20 0;
33002                     rel2.to: "bg";
33003                     image
33004                       {
33005                          normal: "bt_dis_base.png";
33006                          border: 4 4 4 4;
33007                       }
33008                  }
33009             }
33010           part
33011             {
33012                name: "clipper";
33013                type: RECT;
33014                mouse_events: 0;
33015                description
33016                  {
33017                     state: "default" 0.0;
33018                     rel1
33019                       {
33020                          offset: 4 4;
33021                          to: "base";
33022                       }
33023                     rel2
33024                       {
33025                          offset: -5 -5;
33026                          to: "base";
33027                       }
33028                  }
33029             }
33030           part
33031             {
33032                name: "elm.swallow.content";
33033                type: SWALLOW;
33034                clip_to: "clipper";
33035                description
33036                  {
33037                     state: "default" 0.0;
33038                     rel1.to: "clipper";
33039                     rel2.to: "clipper";
33040                  }
33041             }
33042           part
33043             {
33044                name: "btn";
33045                type: IMAGE;
33046                mouse_events: 1;
33047                description
33048                  {
33049                     state: "default" 0.0;
33050                     max: 32 48;
33051                     fixed: 1 1;
33052                     align: 1 0.5;
33053                     rel1
33054                       {
33055                          to_x: "bg";
33056                       }
33057                     rel2
33058                       {
33059                          offset: 2 0;
33060                          relative: 0.0 1;
33061                          to_x: "base";
33062                       }
33063                     image
33064                       {
33065                          normal: "bt_base1.png";
33066                          border: 5 0 4 12;
33067                       }
33068                     fill.smooth: 0;
33069                  }
33070                description
33071                  {
33072                     state: "clicked" 0.0;
33073                     inherit: "default" 0.0;
33074                  }
33075             }
33076           part
33077             {
33078                name: "btn_over";
33079                type: IMAGE;
33080                mouse_events: 0;
33081                description
33082                  {
33083                     state: "default" 0.0;
33084                     rel1.to: "btn";
33085                     rel2
33086                       {
33087                          relative: 1.0 0.5;
33088                          to: "btn";
33089                       }
33090                     image
33091                       {
33092                          normal: "bt_hilight.png";
33093                          border: 7 0 7 0;
33094                       }
33095                  }
33096             }
33097           part
33098             {
33099                name: "btn_over2";
33100                type: IMAGE;
33101                mouse_events: 1;
33102                repeat_events: 1;
33103                ignore_flags: ON_HOLD;
33104                description
33105                  {
33106                     state: "default" 0.0;
33107                     rel1.to: "btn";
33108                     rel2.to: "btn";
33109                     image
33110                       {
33111                          normal: "bt_shine.png";
33112                          border: 7 0 7 7;
33113                     }
33114                  }
33115             }
33116           part
33117             {
33118                name: "btn_over3";
33119                type: IMAGE;
33120                mouse_events: 1;
33121                repeat_events: 1;
33122                description
33123                  {
33124                     state: "default" 0.0;
33125                     color: 255 255 255 0;
33126                     rel1.to: "btn";
33127                     rel2.to: "btn";
33128                     image
33129                       {
33130                        normal: "bt_glow.png";
33131                        border: 12 12 12 12;
33132                     }
33133                   fill.smooth: 0;
33134                }
33135              description
33136                {
33137                   state: "clicked" 0.0;
33138                   inherit: "default" 0.0;
33139                   visible: 1;
33140                   color: 255 255 255 255;
33141                }
33142             }
33143           part
33144             {
33145                name: "btn_icon";
33146                type: IMAGE;
33147                repeat_events: 1;
33148                description
33149                  {
33150                     state: "default" 0.0;
33151                     rel1.to: "btn";
33152                     rel2.to: "btn";
33153                     align: 0.5 0.5;
33154                     min: 16 16;
33155                     max: 16 16;
33156                     image.normal: "icon_arrow_right.png";
33157                  }
33158                description
33159                  {
33160                     state: "hidden" 0.0;
33161                     inherit: "default" 0.0;
33162                     image.normal: "icon_arrow_left.png";
33163                  }
33164             }
33165        }
33166      programs
33167        {
33168           program
33169             {
33170                name: "show";
33171                signal: "elm,action,show";
33172                source: "elm";
33173                action: STATE_SET "default" 0.0;
33174                target: "bg";
33175                target: "btn_icon";
33176                transition: LINEAR 0.5;
33177             }
33178           program
33179             {
33180                name: "hide";
33181                signal: "elm,action,hide";
33182                source: "elm";
33183                action: STATE_SET "hidden" 0.0;
33184                target: "bg";
33185                target: "btn_icon";
33186                transition: LINEAR 0.5;
33187             }
33188           program
33189             {
33190                name: "btn_click";
33191                signal: "mouse,down,1";
33192                source: "btn_over2";
33193                action: STATE_SET "clicked" 0.0;
33194                target: "btn";
33195             }
33196           program
33197             {
33198                name: "btn_unclick";
33199                signal: "mouse,up,1";
33200                source: "btn_over2";
33201                action: STATE_SET "default" 0.0;
33202                target: "btn";
33203             }
33204           program
33205             {
33206                name: "btn_click2";
33207                signal: "mouse,down,1";
33208                source: "btn_over3";
33209                action: STATE_SET "clicked" 0.0;
33210                target: "btn_over3";
33211             }
33212           program
33213             {
33214                name: "btn_unclick2";
33215                signal: "mouse,up,1";
33216                source: "btn_over3";
33217                action: STATE_SET "default" 0.0;
33218                transition: DECELERATE 0.5;
33219                target: "btn_over3";
33220             }
33221           program
33222             {
33223                name: "btn_unclick3";
33224                signal: "mouse,up,1";
33225                source: "btn_over2";
33226                action: SIGNAL_EMIT "elm,action,panel,toggle" "";
33227             }
33228          program { name: "highlight_show";
33229             signal: "elm,action,focus";
33230             source: "elm";
33231             action: STATE_SET "enabled" 0.0;
33232             transition: ACCELERATE 0.3;
33233             target: "focus_highlight";
33234          }
33235          program { name: "highlight_hide";
33236             signal: "elm,action,unfocus";
33237             source: "elm";
33238             action: STATE_SET "default" 0.0;
33239             transition: DECELERATE 0.3;
33240             target: "focus_highlight";
33241          }
33242        }
33243   }
33244
33245 ///////////////////////////////////////////////////////////////////////////////
33246   group { name: "elm/conformant/base/default";
33247      parts {
33248         part { name: "elm.swallow.shelf";
33249            type: SWALLOW;
33250            description { state: "default" 0.0;
33251               fixed: 1 1;
33252               align: 0.0 0.0;
33253               rel2.relative: 1.0 0.0;
33254            }
33255         }
33256         part { name: "elm.swallow.content";
33257            type: SWALLOW;
33258            description { state: "default" 0.0;
33259               align: 0.5 0.5;
33260               rel1.relative: 0.0 1.0;
33261               rel1.to_y: "elm.swallow.shelf";
33262               rel2.relative: 1.0 0.0;
33263               rel2.to_y: "elm.swallow.panel";
33264            }
33265         }
33266         part { name: "elm.swallow.panel";
33267            type: SWALLOW;
33268            description { state: "default" 0.0;
33269               fixed: 1 1;
33270               align: 0.0 1.0;
33271               rel1.relative: 0.0 1.0;
33272            }
33273         }
33274      }
33275   }
33276
33277 /////////////////////////////////////////////////////////////////////////////
33278 // CALENDAR
33279 /////////////////////////////////////////////////////////////////////////////
33280 #define CH(_pos) \
33281          part { name: "ch_"#_pos".base"; \
33282             type: RECT; \
33283             description { state: "default" 0.0; \
33284                rel1 { \
33285                   relative: (_pos % 7 * 7 / 8 / 6) 0; \
33286                   to: "header"; \
33287                } \
33288                rel2 { \
33289                   relative: (_pos % 7 * 7 / 8 / 6 + 1 / 8) 1; \
33290                   to: "header"; \
33291                } \
33292                color: 0 0 0 0; \
33293                visible: 0; \
33294             } \
33295          } \
33296          part { name: "ch_"#_pos".text"; \
33297             type: TEXT; \
33298             effect: SOFT_SHADOW; \
33299             mouse_events: 0; \
33300             scale: 1; \
33301             clip_to: "ch_"#_pos".clipper"; \
33302             description { \
33303                state: "default" 0.0; \
33304                rel1.to: "ch_"#_pos".base"; \
33305                rel2.to: "ch_"#_pos".base"; \
33306                color: 0 0 0 255; \
33307                color3: 0 0 0 0; \
33308                text { \
33309                   font: "Sans"; \
33310                   size: 10; \
33311                   min: 1 1; \
33312                   align: 0.5 0.5; \
33313                } \
33314             } \
33315          } \
33316          part { name: "ch_"#_pos".clipper"; \
33317             type: RECT; \
33318             description { state: "default" 0.0; \
33319                rel1.to: "ch_"#_pos".base"; \
33320                rel2.to: "ch_"#_pos".base"; \
33321             } \
33322          }
33323
33324 #define CIT(_pos) \
33325          part { name: "cit_"#_pos".rect"; \
33326             type: RECT; \
33327             description { state: "default" 0.0; \
33328                rel1 { \
33329                   relative: (_pos % 7 * 7 / 8 / 6) \
33330                             (_pos / 8 / 5 - _pos % 7 / 8 / 5); \
33331                   to: "base"; \
33332                } \
33333                rel2 { \
33334                   relative: (_pos % 7 * 7 / 8 / 6 + 1 / 8) \
33335                             (_pos / 8 / 5 - _pos % 7 / 8 / 5 + 1 / 8); \
33336                   to: "base"; \
33337                } \
33338                color: 0 0 0 0; \
33339                visible: 0; \
33340             } \
33341          } \
33342          part { \
33343             name: "cit_"#_pos".event"; \
33344             type: RECT; \
33345             repeat_events: 1; \
33346             description { \
33347                rel1.to: "cit_"#_pos".rect"; \
33348                rel2.to: "cit_"#_pos".rect"; \
33349                state: "default" 0.0; \
33350                color: 0 0 0 0; \
33351             } \
33352          } \
33353          part { name: "cit_"#_pos".shelf"; \
33354             type: RECT; \
33355             mouse_events: 0; \
33356             description { state: "default" 0.0; \
33357                rel1 { \
33358                   to: "cit_"#_pos".bg"; \
33359                   offset: -1 -1; \
33360                } \
33361                rel2 { \
33362                   to: "cit_"#_pos".bg"; \
33363                } \
33364                color: 200 200 200 255; \
33365             } \
33366          } \
33367          part { name: "cit_"#_pos".hd"; \
33368             type: RECT; \
33369             mouse_events: 0; \
33370             description { state: "default" 0.0; \
33371                rel1 { \
33372                   to: "cit_"#_pos".bg"; \
33373                   offset: -1 -1; \
33374                } \
33375                rel2 { \
33376                   to: "cit_"#_pos".bg"; \
33377                } \
33378                visible: 0; \
33379                color: 160 0 0 255; \
33380             } \
33381             description { state: "visible" 0.0; \
33382                inherit: "default" 0.0; \
33383                visible: 1; \
33384             } \
33385          } \
33386          part { \
33387             name: "cit_"#_pos".base_sh"; \
33388             mouse_events: 0; \
33389             description { \
33390                state: "default" 0.0; \
33391                align: 0.0 0.0; \
33392                min: 0 1; \
33393                rel1 { \
33394                   to: "cit_"#_pos".base"; \
33395                   relative: 0.0 1.0; \
33396                   offset: 0 0; \
33397                } \
33398                rel2 { \
33399                   to: "cit_"#_pos".base"; \
33400                   relative: 1.0 1.05; \
33401                   offset: -1 0; \
33402                } \
33403                image { \
33404                   normal: "ilist_item_shadow.png"; \
33405                } \
33406                fill.smooth: 0; \
33407             } \
33408          } \
33409          part { \
33410             name: "cit_"#_pos".base"; \
33411             mouse_events: 0; \
33412             description { \
33413                state: "default" 0.0; \
33414                rel1.to: "cit_"#_pos".rect"; \
33415                rel2.to: "cit_"#_pos".rect"; \
33416                rel2.offset: -1 -1; \
33417                image { \
33418                   normal: "ilist_1.png"; \
33419                   border: 2 2 2 2; \
33420                } \
33421                fill.smooth: 0; \
33422             } \
33423             description { \
33424                state: "today" 0.0; \
33425                inherit: "default" 0.0; \
33426                image.normal: "ilist_2.png"; \
33427                color: 240 240 240 255; \
33428             } \
33429          } \
33430          part { name: "cit_"#_pos".bg"; \
33431             mouse_events: 0; \
33432             description { state: "default" 0.0; \
33433                visible: 0; \
33434                color: 255 255 255 0; \
33435                rel1 { \
33436                   to: "cit_"#_pos".rect"; \
33437                   relative: 0.0 0.0; \
33438                } \
33439                rel2 { \
33440                   to: "cit_"#_pos".rect"; \
33441                   relative: 1.0 1.0; \
33442                   offset: -1 -1; \
33443                } \
33444                image { \
33445                   normal: "bt_sm_base1.png"; \
33446                   border: 6 6 6 6; \
33447                } \
33448                image.middle: SOLID; \
33449             } \
33450             description { state: "selected" 0.0; \
33451                inherit: "default" 0.0; \
33452                visible: 1; \
33453                color: 255 255 255 255; \
33454             } \
33455          } \
33456          part { name: "cit_"#_pos".text"; \
33457             type: TEXT; \
33458             effect: SOFT_SHADOW; \
33459             mouse_events: 0; \
33460             scale: 1; \
33461             description { \
33462                state: "default" 0.0; \
33463                rel1.to: "cit_"#_pos".bg"; \
33464                rel2.to: "cit_"#_pos".bg"; \
33465                color: 0 0 0 255; \
33466                color3: 0 0 0 0; \
33467                text { \
33468                   font: "Sans"; \
33469                   size: 10; \
33470                   min: 1 1; \
33471                   align: 0.5 0.5; \
33472                } \
33473             } \
33474             description { state: "selected" 0.0; \
33475                inherit: "default" 0.0; \
33476                color: 224 224 224 255; \
33477                color3: 0 0 0 64; \
33478             } \
33479          } \
33480          part { name: "cit_"#_pos".fg1"; \
33481             mouse_events: 0; \
33482             description { state: "default" 0.0; \
33483                visible: 0; \
33484                color: 255 255 255 0; \
33485                rel1.to: "cit_"#_pos".bg"; \
33486                rel2.relative: 1.0 0.5; \
33487                rel2.to: "cit_"#_pos".bg"; \
33488                image { \
33489                   normal: "bt_sm_hilight.png"; \
33490                   border: 6 6 6 0; \
33491                } \
33492             } \
33493             description { state: "selected" 0.0; \
33494                inherit: "default" 0.0; \
33495                visible: 1; \
33496                color: 255 255 255 255; \
33497             } \
33498          } \
33499          part { name: "cit_"#_pos".fg2"; \
33500             mouse_events: 0; \
33501             description { state: "default" 0.0; \
33502                visible: 0; \
33503                color: 255 255 255 0; \
33504                rel1.to: "cit_"#_pos".bg"; \
33505                rel2.to: "cit_"#_pos".bg"; \
33506                image { \
33507                   normal: "bt_sm_shine.png"; \
33508                   border: 6 6 6 0; \
33509                } \
33510             } \
33511             description { state: "selected" 0.0; \
33512                inherit: "default" 0.0; \
33513                visible: 1; \
33514                color: 255 255 255 255; \
33515             } \
33516          } \
33517          part { name: "cit_"#_pos".check"; \
33518             mouse_events: 0; \
33519             description { state: "default" 0.0; \
33520                rel1 { \
33521                   to: "cit_"#_pos".bg"; \
33522                   relative: 0.7 0.6; \
33523                   offset: 1 1; \
33524                } \
33525                rel2 { \
33526                   to: "cit_"#_pos".bg"; \
33527                   relative: 1.1 1.2; \
33528                   offset: -2 -2; \
33529                } \
33530                aspect: 1 1; \
33531                visible: 0; \
33532                color: 255 0 0 255; \
33533                image.normal: "check.png"; \
33534             } \
33535             description { state: "visible" 0.0; \
33536                inherit: "default" 0.0; \
33537                visible: 1; \
33538             } \
33539          } \
33540       programs { \
33541          program { \
33542             name:    "cit_"#_pos".go_active"; \
33543             signal:  "cit_"#_pos",selected"; \
33544             source:  "elm"; \
33545             action:  STATE_SET "selected" 0.0; \
33546             target:  "cit_"#_pos".bg"; \
33547             target:  "cit_"#_pos".fg1"; \
33548             target:  "cit_"#_pos".fg2"; \
33549             target:  "cit_"#_pos".text"; \
33550          } \
33551          program { \
33552             name:    "cit_"#_pos".go_passive"; \
33553             signal:  "cit_"#_pos",unselected"; \
33554             source:  "elm"; \
33555             action:  STATE_SET "default" 0.0; \
33556             target:  "cit_"#_pos".bg"; \
33557             target:  "cit_"#_pos".fg1"; \
33558             target:  "cit_"#_pos".fg2"; \
33559             target:  "cit_"#_pos".text"; \
33560          } \
33561          program { \
33562             name:    "cit_"#_pos".is_today"; \
33563             signal:  "cit_"#_pos",today"; \
33564             source:  "elm"; \
33565             action:  STATE_SET "today" 0.0; \
33566             target: "cit_"#_pos".base"; \
33567          } \
33568          program { \
33569             name:    "cit_"#_pos".not_today"; \
33570             signal:  "cit_"#_pos",not_today"; \
33571             source:  "elm"; \
33572             action:  STATE_SET "default" 0.0; \
33573             target: "cit_"#_pos".base"; \
33574          } \
33575          program { \
33576             source: "cit_"#_pos".clicked"; \
33577             signal: "mouse,clicked,1"; \
33578             source: "cit_"#_pos".event"; \
33579             action: SIGNAL_EMIT "elm,action,selected" #_pos; \
33580          } \
33581          program { \
33582             name:    "cit_"#_pos".clear"; \
33583             signal:  "cit_"#_pos",clear"; \
33584             source:  "elm"; \
33585             action:  STATE_SET "default" 0.0; \
33586             target: "cit_"#_pos".check"; \
33587             target: "cit_"#_pos".hd"; \
33588          } \
33589          program { \
33590             name:    "cit_"#_pos".checked"; \
33591             signal:  "cit_"#_pos",checked"; \
33592             source:  "elm"; \
33593             action:  STATE_SET "visible" 0.0; \
33594             target: "cit_"#_pos".check"; \
33595          } \
33596          program { \
33597             name:    "cit_"#_pos".holiday"; \
33598             signal:  "cit_"#_pos",holiday"; \
33599             source:  "elm"; \
33600             action:  STATE_SET "visible" 0.0; \
33601             target: "cit_"#_pos".hd"; \
33602          } \
33603       }
33604
33605    group { name: "elm/calendar/base/default";
33606        images {
33607            image: "shelf_inset.png" COMP;
33608            image: "bt_base1.png" COMP;
33609            image: "bt_hilight.png" COMP;
33610            image: "bt_shine.png" COMP;
33611            image: "bt_glow.png" COMP;
33612            image: "bt_dis_base.png" COMP;
33613            image: "bt_dis_hilight.png" COMP;
33614            image: "sp_bt_l.png" COMP;
33615            image: "sp_bt_r.png" COMP;
33616            image: "bt_sm_base1.png" COMP;
33617            image: "bt_sm_shine.png" COMP;
33618            image: "bt_sm_hilight.png" COMP;
33619            image: "ilist_1.png" COMP;
33620            image: "ilist_2.png" COMP;
33621            image: "ilist_item_shadow.png" COMP;
33622            image: "check.png" COMP;
33623        }
33624        parts {
33625            part { name: "bg";
33626                type: RECT;
33627                description { state: "default" 0.0;
33628                    min: 0 30;
33629                    rel1.offset: 1 1;
33630                    rel2.offset: -2 -2;
33631                    color: 255 255 255 0;
33632                    align: 0.0 0.5;
33633                }
33634            }
33635            part { name: "spinner-base";
33636                type: RECT;
33637                mouse_events: 0;
33638                description { state: "default" 0.0;
33639                    min: 24 24;
33640                    max: 999999 24;
33641                    rel1.to: "bg";
33642                    rel1.offset: 6 6;
33643                    rel2.to: "bg";
33644                    rel2.offset: -7 -7;
33645                    color: 255 255 255 0;
33646                    align: 0.0 0.0;
33647                }
33648            }
33649            part { name: "conf_over_spinner";
33650                mouse_events:  0;
33651                description { state: "default" 0.0;
33652                    rel1.to: "spinner-base";
33653                    rel1.offset: -3 -3;
33654                    rel2.to: "spinner-base";
33655                    rel2.offset: 2 2;
33656                    image {
33657                        normal: "shelf_inset.png";
33658                        border: 7 7 7 7;
33659                        middle: 0;
33660                    }
33661                    fill.smooth : 0;
33662                }
33663            }
33664            part { name: "table-base";
33665                type: RECT;
33666                mouse_events: 0;
33667                description { state: "default" 0.0;
33668                    min: 256 220;
33669                    rel1.to_x: "bg";
33670                    rel1.to_y: "spinner-base";
33671                    rel1.offset: 6 6;
33672                    rel1.relative: 0 1;
33673                    rel2.to: "bg";
33674                    rel2.offset: -7 -7;
33675                    color: 255 255 255 0;
33676                }
33677            }
33678            part { name: "conf_over_table";
33679                mouse_events:  0;
33680                description { state: "default" 0.0;
33681                    rel1.to: "table-base";
33682                    rel1.offset: -3 -3;
33683                    rel2.to: "table-base";
33684                    rel2.offset: 2 2;
33685                    image {
33686                        normal: "shelf_inset.png";
33687                        border: 7 7 7 7;
33688                        middle: 0;
33689                    }
33690                    fill.smooth : 0;
33691                }
33692            }
33693            part { name: "header";
33694                type: RECT;
33695                mouse_events: 0;
33696                description { state: "default" 0.0;
33697                    rel1.to: "table-base";
33698                    rel1.relative: 0 0;
33699                    rel2.to: "table-base";
33700                    rel2.relative: 1 0.1;
33701                    color: 255 255 255 0;
33702                }
33703            }
33704            part { name: "base";
33705                type: RECT;
33706                mouse_events: 0;
33707                description { state: "default" 0.0;
33708                    rel1.to_x: "table-base";
33709                    rel1.to_y: "header";
33710                    rel1.relative: 0 1;
33711                    rel1.offset: 3 0;
33712                    rel2.to: "table-base";
33713                    rel2.offset: -3 0;
33714                    color: 255 255 255 0;
33715                }
33716            }
33717            part { name: "left_bt";
33718                mouse_events:  1;
33719                description { state: "default" 0.0;
33720                    rel1 { to: "spinner-base";
33721                        offset: 2 2;
33722                    }
33723                    rel2 { to: "spinner-base";
33724                        offset: -3 -3;
33725                    }
33726                    align: 0.0 0.5;
33727                    min: 24 24;
33728                    max: 24 24;
33729                    fixed: 1 1;
33730                    image {
33731                        normal: "bt_base1.png";
33732                        border: 6 6 6 6;
33733                    }
33734                    fill.smooth : 0;
33735                }
33736                description { state: "clicked" 0.0;
33737                    inherit: "default" 0.0;
33738                    image.normal: "bt_base1.png";
33739                    image.middle: SOLID;
33740                }
33741            }
33742            part { name: "left_over1";
33743                mouse_events: 0;
33744                description { state: "default" 0.0;
33745                    rel1.to: "left_bt";
33746                    rel2 { to: "left_bt";
33747                        relative: 1.0 0.5;
33748                    }
33749                    image {
33750                        normal: "bt_hilight.png";
33751                        border: 7 7 7 0;
33752                    }
33753                }
33754            }
33755            part { name: "left_over2";
33756                mouse_events: 1;
33757                repeat_events: 1;
33758                description { state: "default" 0.0;
33759                    rel1.to: "left_bt";
33760                    rel2.to: "left_bt";
33761                    image {
33762                        normal: "bt_shine.png";
33763                        border: 7 7 7 7;
33764                    }
33765                }
33766            }
33767            part { name: "left_over3";
33768                mouse_events: 1;
33769                repeat_events: 1;
33770                description { state: "default" 0.0;
33771                    color: 255 255 255 0;
33772                    rel1.to: "left_bt";
33773                    rel2.to: "left_bt";
33774                    image {
33775                        normal: "bt_glow.png";
33776                        border: 12 12 12 12;
33777                    }
33778                    fill.smooth : 0;
33779                }
33780                description { state: "clicked" 0.0;
33781                    inherit:  "default" 0.0;
33782                    visible: 1;
33783                    color: 255 255 255 255;
33784                }
33785            }
33786            part { name: "right_bt";
33787                mouse_events:  1;
33788                description { state: "default" 0.0;
33789                    rel1 { to: "spinner-base";
33790                        offset: -27 3;
33791                    }
33792                    rel2 { to: "spinner-base";
33793                        offset: -3 -3;
33794                    }
33795                    align: 1.0 0.5;
33796                    min: 24 24;
33797                    max: 24 24;
33798                    fixed: 1 1;
33799                    image {
33800                        normal: "bt_base1.png";
33801                        border: 5 5 4 12;
33802                    }
33803                    fill.smooth : 0;
33804                }
33805                description { state: "clicked" 0.0;
33806                    inherit: "default" 0.0;
33807                    image.normal: "bt_base1.png";
33808                    image.middle: SOLID;
33809                }
33810            }
33811            part { name: "right_over1";
33812                mouse_events: 0;
33813                description { state: "default" 0.0;
33814                    rel1.to: "right_bt";
33815                    rel2 { to: "right_bt";
33816                        relative: 1.0 0.5;
33817                    }
33818                    image {
33819                        normal: "bt_hilight.png";
33820                        border: 7 7 7 0;
33821                    }
33822                }
33823            }
33824            part { name: "right_over2";
33825                mouse_events: 1;
33826                repeat_events: 1;
33827                description { state: "default" 0.0;
33828                    rel1.to: "right_bt";
33829                    rel2.to: "right_bt";
33830                    image {
33831                        normal: "bt_shine.png";
33832                        border: 7 7 7 7;
33833                    }
33834                }
33835            }
33836            part { name: "right_over3";
33837                mouse_events: 1;
33838                repeat_events: 1;
33839                description { state: "default" 0.0;
33840                    color: 255 255 255 0;
33841                    rel1.to: "right_bt";
33842                    rel2.to: "right_bt";
33843                    image {
33844                        normal: "bt_glow.png";
33845                        border: 12 12 12 12;
33846                    }
33847                    fill.smooth : 0;
33848                }
33849                description { state: "clicked" 0.0;
33850                    inherit:  "default" 0.0;
33851                    visible: 1;
33852                    color: 255 255 255 255;
33853                }
33854            }
33855            part { name: "left_bt_icon";
33856                repeat_events: 1;
33857                description { state: "default" 0.0;
33858                    rel1.to: "left_bt";
33859                    rel2.to: "left_bt";
33860                    align: 0.5 0.5;
33861                    min: 16 16;
33862                    max: 16 16;
33863                    image.normal: "sp_bt_l.png";
33864                }
33865                description { state: "rtl" 0.0;
33866                    inherit: "default" 0.0;
33867                    image.normal: "sp_bt_r.png";
33868                }
33869            }
33870            part { name: "right_bt_icon";
33871                repeat_events: 1;
33872                description { state: "default" 0.0;
33873                    rel1.to: "right_bt";
33874                    rel2.to: "right_bt";
33875                    align: 0.5 0.5;
33876                    min: 16 16;
33877                    max: 16 16;
33878                    image.normal: "sp_bt_r.png";
33879                }
33880                description { state: "rtl" 0.0;
33881                    inherit: "default" 0.0;
33882                    image.normal: "sp_bt_l.png";
33883                }
33884            }
33885            part { name: "month_text";
33886                type: TEXT;
33887                mouse_events: 0;
33888                scale: 1;
33889                description { state: "default" 0.0;
33890                    align: 0 0.5;
33891                    fixed: 1 1;
33892                    rel1 { relative: 1.0 0.0;
33893                        offset: 3 2;
33894                        to: "left_bt";
33895                        to_y: "spinner-base";
33896                    }
33897                    rel2 { relative: 0.0 1.0;
33898                        offset: -3 -2;
33899                        to_x: "right_bt";
33900                        to_y: "spinner-base";
33901                    }
33902                    color: 0 0 0 255;
33903                    text {
33904                        font: "Sans,Edje-Vera";
33905                        size: 12;
33906                        min: 1 1;
33907                        align: 0.5 0.5;
33908                    }
33909                }
33910            }
33911            CH(0)   CH(1)   CH(2)   CH(3)   CH(4)   CH(5)   CH(6)
33912            CIT(0)  CIT(1)  CIT(2)  CIT(3)  CIT(4)  CIT(5)  CIT(6)
33913            CIT(7)  CIT(8)  CIT(9)  CIT(10) CIT(11) CIT(12) CIT(13)
33914            CIT(14) CIT(15) CIT(16) CIT(17) CIT(18) CIT(19) CIT(20)
33915            CIT(21) CIT(22) CIT(23) CIT(24) CIT(25) CIT(26) CIT(27)
33916            CIT(28) CIT(29) CIT(30) CIT(31) CIT(32) CIT(33) CIT(34)
33917            CIT(35) CIT(36) CIT(37) CIT(38) CIT(39) CIT(40) CIT(41)
33918        }
33919        programs {
33920            program { name: "dec_start";
33921                signal: "mouse,down,1";
33922                source: "left_bt";
33923                action: SIGNAL_EMIT "elm,action,decrement,start" "";
33924            }
33925            program { name: "dec_stop";
33926                signal: "mouse,up,1";
33927                source: "left_bt";
33928                action: SIGNAL_EMIT "elm,action,stop" "";
33929            }
33930            program { name: "inc_start";
33931                signal: "mouse,down,1";
33932                source: "right_bt";
33933                action: SIGNAL_EMIT "elm,action,increment,start" "";
33934            }
33935            program { name: "inc_stop";
33936                signal: "mouse,up,1";
33937                source: "right_bt";
33938                action: SIGNAL_EMIT "elm,action,stop" "";
33939            }
33940            program {
33941                name:   "left_bt_click";
33942                signal: "mouse,down,1";
33943                source: "left_over2";
33944                action: STATE_SET "clicked" 0.0;
33945                target: "left_bt";
33946            }
33947            program {
33948                name:   "left_bt_unclick";
33949                signal: "mouse,up,1";
33950                source: "left_over2";
33951                action: STATE_SET "default" 0.0;
33952                target: "left_bt";
33953            }
33954            program {
33955                name:   "left_bt_click2";
33956                signal: "mouse,down,1";
33957                source: "left_over3";
33958                action: STATE_SET "clicked" 0.0;
33959                target: "left_over3";
33960            }
33961            program {
33962                name:   "left_bt_unclick2";
33963                signal: "mouse,up,1";
33964                source: "left_over3";
33965                action: STATE_SET "default" 0.0;
33966                transition: DECELERATE 0.5;
33967                target: "left_over3";
33968            }
33969            program {
33970                name:   "right_bt_click";
33971                signal: "mouse,down,1";
33972                source: "right_over2";
33973                action: STATE_SET "clicked" 0.0;
33974                target: "right_bt";
33975            }
33976            program {
33977                name:   "right_bt_unclick";
33978                signal: "mouse,up,1";
33979                source: "right_over2";
33980                action: STATE_SET "default" 0.0;
33981                target: "right_bt";
33982            }
33983            program {
33984                name:   "right_bt_click2";
33985                signal: "mouse,down,1";
33986                source: "right_over3";
33987                action: STATE_SET "clicked" 0.0;
33988                target: "right_over3";
33989            }
33990            program {
33991                name:   "right_bt_unclick2";
33992                signal: "mouse,up,1";
33993                source: "right_over3";
33994                action: STATE_SET "default" 0.0;
33995                transition: DECELERATE 0.5;
33996                target: "right_over3";
33997            }
33998            program { name: "to_rtl";
33999                signal: "edje,state,rtl";
34000                source: "edje";
34001                action: STATE_SET "rtl" 0.0;
34002                target: "right_bt_icon";
34003                target: "left_bt_icon";
34004            }
34005            program { name: "to_ltr";
34006                signal: "edje,state,ltr";
34007                source: "edje";
34008                action: STATE_SET "default" 0.0;
34009                target: "right_bt_icon";
34010                target: "left_bt_icon";
34011            }
34012        }
34013    }
34014
34015 #undef CIT
34016 #undef CH
34017
34018 ////////////////////////////////////////////////////////////////////////////////
34019 // colorselector
34020 ////////////////////////////////////////////////////////////////////////////////
34021    group { name: "elm/colorselector/bg/default";
34022       parts {
34023          part { name: "elm.colorbar_0";
34024             type: SWALLOW;
34025             mouse_events: 1;
34026             description { state: "default" 0.0;
34027                min: 120 30;
34028                rel1.relative: 0.0 0.00653594771;
34029                rel2.relative: 1.0 0.254901961;
34030             }
34031          }
34032          part { name: "elm.colorbar_1";
34033             type: SWALLOW;
34034             mouse_events: 1;
34035             description { state: "default" 0.0;
34036                min: 120 30;
34037                rel1.relative: 0.0 0.254901961;
34038                rel2.relative: 1.0 0.503267974;
34039             }
34040          }
34041          part { name: "elm.colorbar_2";
34042             type: SWALLOW;
34043             mouse_events: 1;
34044             description { state: "default" 0.0;
34045                min: 120 30;
34046                rel1.relative: 0.0 0.503267974;
34047                rel2.relative: 1.0 0.751633987;
34048             }
34049          }
34050          part { name: "elm.colorbar_3";
34051             type: SWALLOW;
34052             mouse_events: 1;
34053             description { state: "default" 0.0;
34054                min: 120 30;
34055                rel1.relative: 0.0 0.751633987;
34056                rel2.relative: 1.0 1.0;
34057             }
34058          }
34059       }
34060    }
34061
34062    group { name: "elm/colorselector/base/default";
34063       parts {
34064          part { name: "elm.bar_bg";
34065             type: SWALLOW;
34066             mouse_events: 0;
34067             description { state: "default" 0.0;
34068                min: 60 22;
34069                rel1 {
34070                   relative: 0.0 0.8;
34071                   to_x: "elm.arrow_bg";
34072                   to_y: "elm.arrow_icon";
34073                   offset: 0 0;
34074                }
34075                rel2 {
34076                   relative: 1.0 0.83;
34077                   to_x: "elm.arrow_bg";
34078                   offset: 0 0;
34079                }
34080             }
34081          }
34082          part { name: "elm.bar";
34083             type: SWALLOW;
34084             mouse_events: 0;
34085             description { state: "default" 0.0;
34086                rel1.to: "elm.bar_bg";
34087                rel2.to: "elm.bar_bg";
34088             }
34089          }
34090          part { name: "elm.arrow_bg";
34091             type: SWALLOW;
34092             mouse_events: 1;
34093             description { state: "default" 0.0;
34094                rel1 {
34095                   relative: 1.0 0.17;
34096                   offset: 3 0;
34097                   to_x: "elm.l_button";
34098                }
34099                rel2 {
34100                   relative: 0.0 0.83;
34101                      offset: -4 0;
34102                   to_x: "elm.r_button";
34103                }
34104             }
34105          }
34106          part { name: "elm.arrow";
34107             type: RECT;
34108             mouse_events: 1;
34109             scale: 1;
34110             description { state: "default" 0.0;
34111                min: 1 1;
34112                fixed: 1 1;
34113                align: 0 0;
34114                rel1 {
34115                   to_x: "elm.arrow_bg";
34116                }
34117                rel2 {
34118                   relative: 0.0 0.17;
34119                   to_x: "elm.arrow_bg";
34120                }
34121                color: 0 0 0 0;
34122                visible: 0;
34123             }
34124             dragable {
34125                confine: "elm.arrow_bg";
34126                x: 1 1 0;
34127                y: 0 0 0;
34128             }
34129          }
34130          part { name: "elm.arrow_icon";
34131             type: SWALLOW;
34132             mouse_events: 0;
34133             description { state: "default" 0.0;
34134                min: 25 15;
34135                max: 25 15;
34136                fixed: 1 1;
34137                align: 0.5 0;
34138                rel1 {
34139                   to_x: "elm.arrow";
34140                }
34141                rel2 {
34142                   relative: 1.0 0.0;
34143                   offset: 0 10;
34144                   to_x: "elm.arrow";
34145                }
34146             }
34147          }
34148          part { name: "event";
34149             type: RECT;
34150             mouse_events: 1;
34151             description { state: "default" 0.0;
34152                rel1 {
34153                   to: "elm.arrow_icon";
34154                }
34155                rel2 {
34156                   to_x: "elm.arrow_icon";
34157                   to_y: "elm.arrow_bg";
34158                   offset: 0 0;
34159                }
34160                color: 0 0 0 0;
34161             }
34162             dragable {
34163                events: "elm.arrow";
34164             }
34165          }
34166          part { name: "elm.l_button";
34167             type: SWALLOW;
34168             mouse_events: 1;
34169             scale: 1;
34170             description { state: "default" 0.0;
34171                min: 24 24;
34172                fixed: 1 1;
34173                rel1 {
34174                   relative: 0.0 0.0;
34175                   to_y: "elm.bar_bg";
34176                }
34177                rel2 {
34178                   relative: 0.0 1.0;
34179                   to_y: "elm.bar_bg";
34180                }
34181                align: 0.0 0.5;
34182             }
34183          }
34184          part { name: "elm.r_button";
34185             type: SWALLOW;
34186             mouse_events: 1;
34187             scale: 1;
34188             description {
34189                state: "default" 0.0;
34190                min: 24 24;
34191                fixed: 1 1;
34192                rel1 {
34193                   relative: 1.0 0.0;
34194                   to_y: "elm.bar_bg";
34195                }
34196                rel2 {
34197                   relative: 1.0 1.0;
34198                   to_y: "elm.bar_bg";
34199                }
34200                align: 1.0 0.5;
34201             }
34202          }
34203       }
34204    }
34205
34206    group{ name: "elm/colorselector/image/colorbar_0";
34207       images {
34208          image: "color_picker_color.png" COMP;
34209       }
34210       parts {
34211          part { name: "colorbar_0_image";
34212             type: IMAGE;
34213             mouse_events: 1;
34214             description { state: "default" 0.0;
34215                rel2.offset: -1 -1;
34216                image.normal: "color_picker_color.png";
34217             }
34218          }
34219       }
34220    }
34221
34222    group { name: "elm/colorselector/image/colorbar_1";
34223       images {
34224          image: "color_picker_opacity.png" COMP;
34225       }
34226       parts {
34227          part { name: "colorbar_1_image";
34228             type: IMAGE;
34229             mouse_events: 1;
34230             description { state: "default" 0.0;
34231                rel2.offset: -1 -1;
34232                image.normal: "color_picker_opacity.png";
34233             }
34234          }
34235       }
34236    }
34237
34238    group { name: "elm/colorselector/image/colorbar_2";
34239       images {
34240          image: "color_picker_brightness.png" COMP;
34241       }
34242       parts {
34243          part { name: "colorbar_2_image";
34244             type: IMAGE;
34245             mouse_events: 1;
34246             description { state: "default" 0.0;
34247                rel2.offset: -1 -1;
34248                image.normal: "color_picker_brightness.png";
34249             }
34250          }
34251       }
34252    }
34253
34254    group { name: "elm/colorselector/image/colorbar_3";
34255       images {
34256          image: "color_picker_alpha.png" COMP;
34257       }
34258       parts {
34259          part { name: "colorbar_3_image";
34260             type: IMAGE;
34261             mouse_events: 1;
34262             description { state: "default" 0.0;
34263                rel2.offset: -1 -1;
34264                image.normal: "color_picker_alpha.png";
34265             }
34266          }
34267       }
34268    }
34269
34270    group { name: "elm/colorselector/bg_image/colorbar_3";
34271       images {
34272          image: "color_picker_alpha_bg.png" COMP;
34273       }
34274       parts {
34275          part { name: "colorbar_3_image";
34276             type: IMAGE;
34277             mouse_events: 1;
34278             description { state: "default" 0.0;
34279                rel2.offset: -1 -1;
34280                image.normal: "color_picker_alpha_bg.png";
34281             }
34282          }
34283       }
34284    }
34285
34286    group { name: "elm/colorselector/image/updown";
34287       images {
34288          image: "icon_arrow_down.png" COMP;
34289       }
34290       parts {
34291          part { name: "bg";
34292             type: RECT;
34293             mouse_events: 1;
34294             description { state: "default" 0.0;
34295                color: 0 0 0 0;
34296             }
34297          }
34298          part { name: "arrow_image";
34299             type: IMAGE;
34300             mouse_events: 1;
34301             description { state: "default" 0.0;
34302                image.normal: "icon_arrow_down.png";
34303             }
34304          }
34305       }
34306    }
34307
34308    group { name: "elm/colorselector/button/left";
34309       images {
34310          image: "bt_base1.png" COMP;
34311          image: "bt_shine.png" COMP;
34312          image: "sp_bt_l.png" COMP;
34313       }
34314       parts {
34315          part { name: "button_image";
34316             mouse_events: 1;
34317             description { state: "default" 0.0;
34318                image.normal: "bt_base1.png";
34319                image.border: 6 6 6 6;
34320                image.middle: SOLID;
34321             }
34322
34323             description { state: "clicked" 0.0;
34324                inherit: "default" 0.0;
34325                image.normal: "bt_shine.png";
34326                image.border: 6 6 6 6;
34327                image.middle: SOLID;
34328             }
34329          }
34330          part { name: "btn_over";
34331             type: IMAGE;
34332             mouse_events: 0;
34333             description { state: "default" 0.0;
34334                rel1.to: "button_image";
34335                rel2 {
34336                   relative: 1.0 0.5;
34337                   to: "button_image";
34338                }
34339                image {
34340                   normal: "bt_hilight.png";
34341                   border: 7 7 7 0;
34342                }
34343             }
34344          }
34345          part { name: "btn_over2";
34346             type: IMAGE;
34347             mouse_events: 1;
34348             repeat_events: 1;
34349             ignore_flags: ON_HOLD;
34350             description { state: "default" 0.0;
34351                rel1.to: "button_image";
34352                rel2.to: "button_image";
34353                image {
34354                   normal: "bt_shine.png";
34355                   border: 7 7 7 7;
34356                }
34357             }
34358          }
34359          part { name: "focus_image";
34360             type: IMAGE;
34361             description { state: "default" 0.0;
34362                color: 255 255 255 0;
34363                rel1.to: "button_image";
34364                rel2.to: "button_image";
34365                image {
34366                   normal: "bt_glow.png";
34367                   border: 12 12 12 12;
34368                }
34369                fill.smooth: 0;
34370
34371             }
34372             description { state: "clicked" 0.0;
34373                inherit: "default" 0.0;
34374                visible: 1;
34375                color: 255 255 255 255;
34376             }
34377          }
34378          part { name: "left_arrow";
34379             mouse_events: 1;
34380             description { state: "default" 0.0;
34381                min: 16 16;
34382                max: 16 16;
34383                image.normal: "sp_bt_l.png";
34384             }
34385          }
34386       }
34387
34388       programs {
34389          program {
34390             name:   "button_down";
34391             signal: "elm,state,left,button,down";
34392             source: "left_button";
34393             action: STATE_SET "clicked" 0.0;
34394             target: "button_image";
34395             target: "focus_image";
34396          }
34397          program {
34398             name:   "button_up";
34399             signal: "elm,state,left,button,up";
34400             source: "left_button";
34401             action: STATE_SET "default" 0.0;
34402             target: "button_image";
34403             target: "focus_image";
34404          }
34405       }
34406    }
34407
34408    group { name: "elm/colorselector/button/right";
34409       images {
34410          image: "bt_base1.png" COMP;
34411          image: "bt_shine.png" COMP;
34412          image: "sp_bt_r.png" COMP;
34413       }
34414       parts {
34415          part { name: "button_image";
34416             mouse_events: 1;
34417             description { state: "default" 0.0;
34418                image.normal: "bt_base1.png";
34419                image.border: 6 6 6 6;
34420                image.middle: SOLID;
34421             }
34422
34423             description { state: "clicked" 0.0;
34424                inherit: "default" 0.0;
34425                image.normal: "bt_shine.png";
34426                image.border: 6 6 6 6;
34427                image.middle: SOLID;
34428             }
34429          }
34430          part { name: "btn_over";
34431             type: IMAGE;
34432             mouse_events: 0;
34433             description { state: "default" 0.0;
34434                rel1.to: "button_image";
34435                rel2 {
34436                   relative: 1.0 0.5;
34437                   to: "button_image";
34438                }
34439                image {
34440                   normal: "bt_hilight.png";
34441                   border: 7 7 7 0;
34442                }
34443             }
34444          }
34445          part { name: "btn_over2";
34446             type: IMAGE;
34447             mouse_events: 1;
34448             repeat_events: 1;
34449             ignore_flags: ON_HOLD;
34450             description { state: "default" 0.0;
34451                rel1.to: "button_image";
34452                rel2.to: "button_image";
34453                image {
34454                   normal: "bt_shine.png";
34455                   border: 7 7 7 7;
34456                }
34457             }
34458          }
34459          part { name: "focus_image";
34460             type: IMAGE;
34461             description { state: "default" 0.0;
34462                color: 255 255 255 0;
34463                rel1.to: "button_image";
34464                rel2.to: "button_image";
34465                image {
34466                   normal: "bt_glow.png";
34467                   border: 12 12 12 12;
34468                }
34469                fill.smooth: 0;
34470
34471             }
34472             description { state: "clicked" 0.0;
34473                inherit: "default" 0.0;
34474                visible: 1;
34475                color: 255 255 255 255;
34476             }
34477          }
34478          part { name: "right_arrow";
34479             mouse_events: 1;
34480             description { state: "default" 0.0;
34481                min: 16 16;
34482                max: 16 16;
34483                image.normal: "sp_bt_r.png";
34484             }
34485          }
34486       }
34487
34488       programs {
34489          program {
34490             name:   "button_down";
34491             signal: "elm,state,right,button,down";
34492             source: "right_button";
34493             action: STATE_SET "clicked" 0.0;
34494             target: "button_image";
34495             target: "focus_image";
34496          }
34497          program {
34498             name:   "button_up";
34499             signal: "elm,state,right,button,up";
34500             source: "right_button";
34501             action: STATE_SET "default" 0.0;
34502             target: "button_image";
34503             target: "focus_image";
34504          }
34505       }
34506    }
34507
34508 ///////////////////////////////////////////////////////////////////////////////
34509 #define FLIP_PICKER_MAX_LEN (50)
34510 #define FLIP_PICKER_MAX_LEN_STR "50"
34511
34512    group { name: "elm/flipselector/base/default";
34513       images {
34514          image: "flip_base.png" COMP;
34515          image: "flip_base_shad.png" COMP;
34516          image: "flip_shad.png" COMP;
34517          image: "arrow_up.png" COMP;
34518          image: "arrow_down.png" COMP;
34519          image: "flip_t.png" COMP;
34520          image: "flip_b.png" COMP;
34521       }
34522
34523       data {
34524          item: "max_len" FLIP_PICKER_MAX_LEN_STR;
34525       }
34526
34527       //FIXME: quick successive clicks on, say, up, lead to nastiness
34528       script {
34529          public cur, prev, next, lock;
34530
34531          public animator_bottom_down(val, Float:pos) {
34532             new tmp[FLIP_PICKER_MAX_LEN];
34533
34534             set_tween_state(PART:"bottom", pos, "shrink", 0.0, "default", 0.0);
34535             set_tween_state(PART:"bottom_sheet", pos, "shrink", 0.0, "default",
34536                             0.0);
34537             set_tween_state(PART:"shadow", pos, "half", 0.0, "full",
34538                             0.0);
34539
34540             if (pos >= 1.0) {
34541                set_state(PART:"shadow", "default", 0.0);
34542                set_int(lock, 0);
34543
34544                fetch_str(next, 0, tmp, FLIP_PICKER_MAX_LEN);
34545                if (strncmp(tmp, "", FLIP_PICKER_MAX_LEN) != 0) {
34546                   replace_str(next, 0, "");
34547                   message(MSG_STRING, 1, tmp);
34548                }
34549             }
34550          }
34551
34552          public animator_top_down(val, Float:pos) {
34553             set_tween_state(PART:"top", pos, "default", 0.0, "shrink", 0.0);
34554             set_tween_state(PART:"top_sheet", pos, "default", 0.0, "shrink",
34555                             0.0);
34556             set_tween_state(PART:"shadow", pos, "default", 0.0, "half",
34557                             0.0);
34558
34559             if (pos >= 1.0)
34560                anim(0.2, "animator_bottom_down", val);
34561          }
34562
34563          public animator_bottom_up(val, Float:pos) {
34564             set_tween_state(PART:"bottom", pos, "default", 0.0, "shrink", 0.0);
34565             set_tween_state(PART:"bottom_sheet", pos, "default", 0.0, "shrink",
34566                             0.0);
34567             set_tween_state(PART:"shadow", pos, "full", 0.0, "half",
34568                             0.0);
34569
34570             if (pos >= 1.0)
34571                anim(0.2, "animator_top_up", val);
34572          }
34573
34574          public animator_top_up(val, Float:pos) {
34575             new tmp[FLIP_PICKER_MAX_LEN];
34576
34577             set_tween_state(PART:"top", pos, "shrink", 0.0, "default", 0.0);
34578             set_tween_state(PART:"top_sheet", pos, "shrink", 0.0, "default",
34579                             0.0);
34580             set_tween_state(PART:"shadow", pos, "half", 0.0, "default",
34581                             0.0);
34582
34583             if (pos >= 1.0) {
34584                set_state(PART:"shadow", "default", 0.0);
34585                set_int(lock, 0);
34586
34587                fetch_str(next, 0, tmp, FLIP_PICKER_MAX_LEN);
34588                if (strncmp(tmp, "", FLIP_PICKER_MAX_LEN) != 0) {
34589                   replace_str(next, 0, "");
34590                   message(MSG_STRING, 2, tmp);
34591                }
34592             }
34593          }
34594
34595          public message(Msg_Type:type, id, ...) {
34596             /* flip down */
34597             if ((type == MSG_STRING) && (id == 1)) {
34598                new value[FLIP_PICKER_MAX_LEN], tmp[FLIP_PICKER_MAX_LEN];
34599
34600                snprintf(value, FLIP_PICKER_MAX_LEN, "%s", getarg(2));
34601
34602                if (get_int(lock) == 1) {
34603                   replace_str(next, 0, value);
34604                   return;
34605                }
34606
34607                fetch_str(cur, 0, tmp, FLIP_PICKER_MAX_LEN);
34608
34609                set_text(PART:"bottom_b", tmp);
34610
34611                set_state(PART:"top", "shrink", 0.0);
34612                set_text(PART:"top", tmp);
34613                set_state(PART:"top", "default", 0.0);
34614                set_text(PART:"top", tmp);
34615
34616                replace_str(prev, 0, tmp);
34617
34618                set_state(PART:"bottom", "default", 0.0);
34619                set_text(PART:"bottom", value);
34620                set_state(PART:"bottom", "shrink", 0.0);
34621                set_text(PART:"bottom", value);
34622
34623                set_text(PART:"top_b", value);
34624
34625                replace_str(cur, 0, value);
34626
34627                set_state(PART:"bottom_sheet", "shrink", 0.0);
34628                set_state(PART:"top_sheet", "default", 0.0);
34629
34630                set_int(lock, 1);
34631                set_state(PART:"shadow", "default", 0.0);
34632                anim(0.2, "animator_top_down", 1);
34633             }
34634
34635             /* flip up */
34636             if ((type == MSG_STRING) && (id == 2)) {
34637                new value[FLIP_PICKER_MAX_LEN], tmp[FLIP_PICKER_MAX_LEN];
34638
34639                snprintf(value, FLIP_PICKER_MAX_LEN, "%s", getarg(2));
34640
34641                if (get_int(lock) == 1) {
34642                   replace_str(next, 0, value);
34643                   return;
34644                }
34645
34646                fetch_str(cur, 0, tmp, FLIP_PICKER_MAX_LEN);
34647
34648                set_text(PART:"top_b", tmp);
34649
34650                set_state(PART:"bottom", "shrink", 0.0);
34651                set_text(PART:"bottom", tmp);
34652                set_state(PART:"bottom", "default", 0.0);
34653                set_text(PART:"bottom", tmp);
34654
34655                replace_str(prev, 0, tmp);
34656
34657                set_state(PART:"top", "default", 0.0);
34658                set_text(PART:"top", value);
34659                set_state(PART:"top", "shrink", 0.0);
34660                set_text(PART:"top", value);
34661
34662                set_text(PART:"bottom_b", value);
34663
34664                replace_str(cur, 0, value);
34665
34666                set_state(PART:"bottom_sheet", "default", 0.0);
34667                set_state(PART:"top_sheet", "shrink", 0.0);
34668
34669                set_int(lock, 1);
34670                set_state(PART:"shadow", "full", 0.0);
34671                anim(0.2, "animator_bottom_up", 1);
34672             }
34673          }
34674       }
34675
34676       parts {
34677          part { name: "shad";
34678             mouse_events: 0;
34679             description { state: "default" 0.0;
34680                rel1.offset: -4 -4;
34681                rel1.to: "base";
34682                rel2.offset: 3 3;
34683                rel2.to: "base";
34684                image {
34685                   normal: "flip_base_shad.png";
34686                   border: 8 8 8 8;
34687                }
34688             }
34689          }
34690
34691          part { name: "base";
34692             scale: 1;
34693             description { state: "default" 0.0;
34694                rel1.offset: 4 4;
34695                rel2.offset: -5 -5;
34696                min: 24 48;
34697                image.normal: "flip_base.png";
34698             }
34699          }
34700
34701          part { name: "b";
34702             type: RECT;
34703             mouse_events: 1;
34704             description { state: "default" 0.0;
34705                rel1.to: "base";
34706                rel1.relative: 0.0 0.5;
34707                rel2.to: "base";
34708                color: 0 0 0 0;
34709             }
34710             description { state: "hidden" 0.0;
34711                inherit: "default" 0.0;
34712                visible: 0;
34713             }
34714          }
34715
34716          part { name: "t";
34717             type: RECT;
34718             mouse_events: 1;
34719             description { state: "default" 0.0;
34720                rel1.to: "base";
34721                rel2.to: "base";
34722                rel2.relative: 1.0 0.5;
34723                color: 0 0 0 0;
34724             }
34725             description { state: "hidden" 0.0;
34726                inherit: "default" 0.0;
34727                visible: 0;
34728             }
34729          }
34730
34731          part { name: "bottom_sheet_static";
34732             mouse_events: 0;
34733             description { state: "default" 0.0;
34734                visible: 1;
34735                rel1.to: "b";
34736                rel2.to: "b";
34737                image.normal: "flip_b.png";
34738             }
34739          }
34740
34741          part { name: "bottom_b";
34742             mouse_events: 0;
34743             clip_to: "bottom_clipper";
34744             type: TEXT;
34745             scale: 1;
34746             description { state: "default" 0.0;
34747                rel1.to: "base";
34748                rel2.to: "base";
34749                color: 0 0 0 255;
34750                color2: 0 0 0 255;
34751                text {
34752                   font: "Sans:style=Bold,Edje-Vera-Bold";
34753                   size: 30;
34754                   min: 1 1;
34755                   align: 0.5 0.5;
34756                }
34757             }
34758          }
34759
34760          part { name: "shadow";
34761             mouse_events: 0;
34762             description { state: "default" 0.0;
34763                rel1.to: "b";
34764                rel2.to: "b";
34765                rel2.relative: 1.0 0.0;
34766                image.normal: "flip_shad.png";
34767             }
34768             description { state: "half" 0.0;
34769                inherit: "default" 0.0;
34770                rel2.relative: 1.0 0.5;
34771             }
34772             description { state: "full" 0.0;
34773                inherit: "default" 0.0;
34774                rel2.relative: 1.0 1.0;
34775             }
34776          }
34777
34778          part { name: "bottom_sheet";
34779             mouse_events: 0;
34780             description { state: "default" 0.0;
34781                visible: 1;
34782                rel1.to: "b";
34783                rel2.to: "b";
34784                image.normal: "flip_b.png";
34785             }
34786             description { state: "shrink" 0.0;
34787                inherit: "default" 0.0;
34788                visible: 0;
34789                rel2.relative: 1.0 0.0;
34790             }
34791          }
34792
34793          part { name: "bottom";
34794             mouse_events: 0;
34795             clip_to: "bottom_clipper";
34796             type: TEXT;
34797             scale: 1;
34798             description { state: "default" 0.0;
34799                rel1.to: "base";
34800                rel2.to: "base";
34801                color: 0 0 0 255;
34802                color2: 0 0 0 255;
34803                text {
34804                   font: "Sans:style=Bold,Edje-Vera-Bold";
34805                   size: 30;
34806                   min: 1 1;
34807                   align: 0.5 0.5;
34808                }
34809             }
34810             description { state: "shrink" 0.0;
34811                inherit: "default" 0.0;
34812                color: 128 128 128 255;
34813                visible: 0;
34814                rel2.relative: 1.0 0.5; /* FIXME: same visual effect? --> MAP! */
34815             }
34816          }
34817
34818          part { name: "top_sheet_static";
34819             mouse_events: 0;
34820             description { state: "default" 0.0;
34821                visible: 1;
34822                rel1.to: "t";
34823                rel2.to: "t";
34824                image.normal: "flip_t.png";
34825             }
34826          }
34827
34828          part { name: "top_b";
34829             mouse_events: 0;
34830             clip_to: "top_clipper";
34831             type: TEXT;
34832             scale: 1;
34833             description { state: "default" 0.0;
34834                rel1.to: "base";
34835                rel2.to: "base";
34836                color: 0 0 0 255;
34837                color2: 0 0 0 255;
34838                text {
34839                   font: "Sans:style=Bold,Edje-Vera-Bold";
34840                   size: 30;
34841                   min: 1 1;
34842                   align: 0.5 0.5;
34843                   source: "top";
34844                }
34845             }
34846          }
34847
34848          part { name: "top_sheet";
34849             mouse_events: 0;
34850             description { state: "default" 0.0;
34851                visible: 1;
34852                rel1.to: "t";
34853                rel2.to: "t";
34854                image.normal: "flip_t.png";
34855             }
34856             description { state: "shrink" 0.0;
34857                inherit: "default" 0.0;
34858                color: 128 128 128 255;
34859                visible: 0;
34860                rel1.relative: 0.0 1.0;
34861             }
34862          }
34863
34864          part { name: "top";
34865             mouse_events: 0;
34866             clip_to: "top_clipper";
34867             type: TEXT;
34868             scale: 1;
34869             description { state: "default" 0.0;
34870                rel1.to: "base";
34871                rel2.to: "base";
34872                color: 0 0 0 255;
34873                color2: 0 0 0 255;
34874                text {
34875                   font: "Sans:style=Bold,Edje-Vera-Bold";
34876                   size: 30;
34877                   min: 1 1;
34878                   align: 0.5 0.5;
34879                }
34880             }
34881             description { state: "shrink" 0.0;
34882                inherit: "default" 0.0;
34883                visible: 0;
34884                rel1.relative: 0.0 0.5;
34885             }
34886          }
34887
34888          part { name: "arrow_top";
34889             mouse_events: 0;
34890             scale: 1;
34891             description { state: "default" 0.0;
34892                min: 15 15;
34893                max: 15 15;
34894                align: 0.5 0.0;
34895                rel1.to: "t";
34896                rel2.to: "t";
34897                image.normal: "arrow_up.png";
34898             }
34899             description { state: "hidden" 0.0;
34900                inherit: "default" 0.0;
34901                visible: 0;
34902             }
34903          }
34904          part { name: "arrow_bottom";
34905             mouse_events: 0;
34906             scale: 1;
34907             description { state: "default" 0.0;
34908                min: 15 15;
34909                max: 15 15;
34910                align: 0.5 1.0;
34911                rel1.to: "b";
34912                rel2.to: "b";
34913                image.normal: "arrow_down.png";
34914             }
34915             description { state: "hidden" 0.0;
34916                inherit: "default" 0.0;
34917                visible: 0;
34918             }
34919          }
34920
34921          part {
34922             type: RECT;
34923             mouse_events: 0;
34924             name: "top_clipper";
34925             description {
34926                state: "default" 0.0;
34927                rel1.to: "t";
34928                rel2.to: "t";
34929                visible: 1;
34930             }
34931          }
34932
34933          part {
34934             type: RECT;
34935             mouse_events: 0;
34936             name: "bottom_clipper";
34937             description {
34938                state: "default" 0.0;
34939                rel1.to: "b";
34940                rel2.to: "b";
34941                visible: 1;
34942             }
34943          }
34944       }
34945
34946       programs {
34947          program { name: "load";
34948             signal: "load";
34949             source: "";
34950             script {
34951                append_str(cur, "");
34952                append_str(prev, "");
34953                append_str(next, "");
34954                set_int(lock, 0);
34955             }
34956          }
34957
34958          program { name: "hide_arrows";
34959             signal: "elm,state,button,hidden";
34960             source: "elm";
34961             action: STATE_SET "hidden" 0.0;
34962             target: "arrow_top";
34963             target: "arrow_bottom";
34964             target: "t";
34965             target: "b";
34966          }
34967
34968          program { name: "show_arrows";
34969             signal: "elm,state,button,visible";
34970             source: "elm";
34971             action: STATE_SET "default" 0.0;
34972             target: "arrow_top";
34973             target: "arrow_bottom";
34974             target: "t";
34975             target: "b";
34976          }
34977
34978          program { name: "up";
34979             signal: "mouse,down,1";
34980             source: "t";
34981             action: SIGNAL_EMIT "elm,action,up,start" "";
34982          }
34983          program { name: "up,stop";
34984             signal: "mouse,up,1";
34985             source: "t";
34986             action: SIGNAL_EMIT "elm,action,up,stop" "";
34987          }
34988          program { name: "down";
34989             signal: "mouse,down,1";
34990             source: "b";
34991             action: SIGNAL_EMIT "elm,action,down,start" "";
34992          }
34993          program { name: "down,stop";
34994             signal: "mouse,up,1";
34995             source: "b";
34996             action: SIGNAL_EMIT "elm,action,down,stop" "";
34997          }
34998       }
34999    }
35000
35001 ////////////////////////////////////////////////////////////////////////////////
35002 // diskselector
35003 ////////////////////////////////////////////////////////////////////////////////
35004    group { name: "elm/diskselector/base/default";
35005       images {
35006          image: "bar_shine.png" COMP;
35007       }
35008
35009       parts {
35010          part { name: "bg";
35011             type: RECT;
35012             mouse_events: 0;
35013             description { state: "default" 0.0;
35014                color: 0 0 0 255;
35015             }
35016          }
35017          part { name: "shine_left";
35018             mouse_events:  0;
35019             description { state: "default" 0.0;
35020                rel1.to: "bg";
35021                rel1.relative: -0.1 0;
35022                rel2.to: "bg";
35023                rel2.relative: 0.1 1;
35024                image.normal: "bar_shine.png";
35025                color: 255 255 255 120;
35026             }
35027          }
35028          part { name: "shine_center";
35029             mouse_events:  0;
35030             description { state: "default" 0.0;
35031                rel1.to: "bg";
35032                rel1.relative: 0.2 0;
35033                rel2.to: "bg";
35034                rel2.relative: 0.8 1;
35035                image.normal: "bar_shine.png";
35036                color: 255 255 255 180;
35037             }
35038          }
35039          part { name: "shine_right";
35040             mouse_events:  0;
35041             description { state: "default" 0.0;
35042                rel1.to: "bg";
35043                rel1.relative: 0.9 0;
35044                rel2.to: "bg";
35045                rel2.relative: 1.1 1;
35046                image.normal: "bar_shine.png";
35047                color: 255 255 255 120;
35048             }
35049          }
35050          part { name: "clipper";
35051             type: RECT;
35052             mouse_events: 0;
35053             description { state: "default" 0.0;
35054                rel1.to: "bg";
35055                rel2.to: "bg";
35056                rel1.offset: 2 2;
35057                rel2.offset: -3 -3;
35058             }
35059          }
35060          part { name: "elm.swallow.content";
35061             clip_to: "clipper";
35062             type: SWALLOW;
35063             description { state: "default" 0.0;
35064                rel1.to: "bg";
35065                rel2.to: "bg";
35066             }
35067          }
35068       }
35069    }
35070
35071    group { name: "elm/diskselector/item/default";
35072
35073       data {
35074          item: "len_threshold" "14";
35075       }
35076
35077       parts {
35078          part { name: "elm.swallow.icon";
35079             type: SWALLOW;
35080             description { state: "default" 0.0;
35081                fixed: 1 0;
35082                align: 0.0 0.5;
35083                rel1 {
35084                   relative: 0 0;
35085                   offset: 4 4;
35086                }
35087                rel2 {
35088                   relative: 0 1;
35089                   offset: 4 -5;
35090                }
35091             }
35092             description { state: "show" 0.0;
35093                inherit: "default" 0.0;
35094             }
35095             description { state: "default_small" 0.0;
35096                inherit: "default" 0.0;
35097                rel1.relative: 0 0.2;
35098                rel2.relative: 0 0.8;
35099             }
35100             description { state: "left_side" 0.0;
35101                inherit: "default" 0.0;
35102                rel1.relative: 0 0.2;
35103                rel2.relative: 0 0.8;
35104                color: 255 255 255 160;
35105             }
35106             description { state: "right_side" 0.0;
35107                inherit: "left_side" 0.0;
35108                rel1.relative: 0.4 0.2;
35109                rel2.relative: 0.4 0.8;
35110                color: 255 255 255 160;
35111             }
35112          }
35113          part { name: "elm.text";
35114             type: TEXT;
35115             mouse_events: 0;
35116             scale: 1;
35117             description { state: "default" 0.0;
35118                rel1.relative: 1 0.0;
35119                rel1.to_x: "elm.swallow.icon";
35120                rel2.relative: 1.0 1.0;
35121                color: 255 255 255 255;
35122                visible: 0;
35123                text {
35124                   font: "Sans,Edje-Vera";
35125                   size: 13;
35126                   align: 0.5 0.5;
35127                   min: 0 1;
35128                }
35129             }
35130             description { state: "show" 0.0;
35131                inherit: "default" 0.0;
35132                visible: 1;
35133             }
35134             description { state: "default_small" 0.0;
35135                inherit: "default" 0.0;
35136                visible: 1;
35137                text.size: 10;
35138             }
35139             description { state: "left_side" 0.0;
35140                inherit: "default" 0.0;
35141                color: 172 172 172 255;
35142                text.size: 10;
35143                visible: 1;
35144                text.align: 0.2 0.5;
35145             }
35146             description { state: "right_side" 0.0;
35147                inherit: "default" 0.0;
35148                color: 172 172 172 255;
35149                visible: 1;
35150                text.size: 10;
35151                text.align: 0.8 0.5;
35152             }
35153          }
35154       }
35155
35156       programs {
35157          program { name: "center_text";
35158             signal: "elm,state,center";
35159             source: "elm";
35160             action: STATE_SET "show" 0.0;
35161             target: "elm.text";
35162             target: "elm.swallow.icon";
35163          }
35164          program { name: "center_small_text";
35165             signal: "elm,state,center_small";
35166             source: "elm";
35167             action: STATE_SET "default_small" 0.0;
35168             target: "elm.text";
35169             target: "elm.swallow.icon";
35170          }
35171          program { name: "l_side_text";
35172             signal: "elm,state,left_side";
35173             source: "elm";
35174             action: STATE_SET "left_side" 0.0;
35175             target: "elm.text";
35176             target: "elm.swallow.icon";
35177          }
35178          program { name: "r_side_text";
35179             signal: "elm,state,right_side";
35180             source: "elm";
35181             action: STATE_SET "right_side" 0.0;
35182             target: "elm.text";
35183             target: "elm.swallow.icon";
35184          }
35185       }
35186    }
35187
35188    group { name: "elm/entry/path/separator/default";
35189       images.image: "arrow_right.png" COMP;
35190       parts {
35191          part { name: "icon";
35192             mouse_events: 0;
35193             description { state: "default" 0.0;
35194                image.normal: "arrow_right.png";
35195                max: 64 64;
35196                aspect: 1.0 1.0;
35197             }
35198          }
35199       }
35200    }
35201
35202    group { name: "elm/fileselector/base/default";
35203       data {
35204          item: "path_separator" "<item relsize=16x16 vsize=full href=path/separator></item>";
35205       }
35206       parts {
35207          part { name: "elm.swallow.up";
35208             type: SWALLOW;
35209             description { state: "default" 0.0;
35210                align: 0.0 0.0;
35211                min: 10 10;
35212                fixed: 1 1;
35213                rel2 {
35214                   relative: 0.0 0.0;
35215                   offset: 0 0;
35216                }
35217             }
35218          }
35219          part { name: "elm.swallow.home";
35220             type: SWALLOW;
35221             description { state: "default" 0.0;
35222                align: 0.0 0.0;
35223                min: 10 10;
35224                fixed: 1 1;
35225                rel1 {
35226                   to: "elm.swallow.up";
35227                   relative: 1.0 0.0;
35228                   offset: 5 0;
35229                }
35230                rel2 {
35231                   to: "elm.swallow.up";
35232                   relative: 1.0 1.0;
35233                   offset: 20 -1;
35234                }
35235             }
35236          }
35237          part { name: "elm.swallow.files";
35238             type: SWALLOW;
35239             description { state: "default" 0.0;
35240                align: 1.0 0.0;
35241                min: 10 10;
35242                fixed: 1 1;
35243                rel1 {
35244                   to_y: "elm.swallow.home";
35245                   relative: 0.0 1.0;
35246                   offset: 0 0;
35247                }
35248                rel2 {
35249                   to_y: "elm.swallow.path";
35250                   relative: 1.0 0.0;
35251                   offset: -1 -1;
35252                }
35253             }
35254          }
35255          part { name: "elm.swallow.path";
35256             type: SWALLOW;
35257             description { state: "default" 0.0;
35258                align: 0.5 1.0;
35259                fixed: 1 1;
35260                rel1 {
35261                   to_y: "elm.swallow.filename";
35262                   relative: 0.0 0.0;
35263                   offset: 0 -1;
35264                }
35265                rel2 {
35266                   to_y: "elm.swallow.filename";
35267                   relative: 1.0 0.0;
35268                   offset: -1 -1;
35269                }
35270             }
35271          }
35272          part { name: "elm.swallow.filename";
35273             type: SWALLOW;
35274             description { state: "default" 0.0;
35275                align: 0.5 1.0;
35276                fixed: 1 1;
35277                rel1 {
35278                   to_y: "elm.swallow.ok";
35279                   relative: 0.0 0.0;
35280                   offset: 0 -1;
35281                }
35282                rel2 {
35283                   to_y: "elm.swallow.ok";
35284                   relative: 1.0 0.0;
35285                   offset: -1 -1;
35286                }
35287             }
35288          }
35289          part { name: "elm.swallow.cancel";
35290             type: SWALLOW;
35291             description { state: "default" 0.0;
35292                align: 1.0 1.0;
35293                fixed: 1 1;
35294                rel1 {
35295                   to: "elm.swallow.ok";
35296                   relative: 0.0 0.0;
35297                   offset: -3 0;
35298                }
35299                rel2 {
35300                   to: "elm.swallow.ok";
35301                   relative: 0.0 1.0;
35302                   offset: -3 -1;
35303                }
35304             }
35305          }
35306          part { name: "elm.swallow.ok";
35307             type: SWALLOW;
35308             description { state: "default" 0.0;
35309                align: 1.0 1.0;
35310                fixed: 1 1;
35311                rel1 {
35312                   relative: 1.0 1.0;
35313                   offset: -1 -1;
35314                }
35315             }
35316          }
35317       }
35318    }
35319
35320    group { name: "elm/fileselector_entry/base/default";
35321       parts {
35322          part { name: "elm.swallow.entry";
35323             type: SWALLOW;
35324             description { state: "default" 0.0;
35325                align: 0.0 0.0;
35326                min: 50 10;
35327                rel2 { to_x: "elm.swallow.button";
35328                   relative: 0.0 1.0;
35329                   offset: -1 -1;
35330                }
35331             }
35332          }
35333          part { name: "elm.swallow.button";
35334             type: SWALLOW;
35335             description { state: "default" 0.0;
35336                align: 1.0 0.0;
35337                min: 10 10;
35338                fixed: 1 1;
35339                rel1 {
35340                   relative: 1.0 0.0;
35341                   offset: -21 0;
35342                }
35343             }
35344          }
35345       }
35346    }
35347
35348 ////////////////////////////////////////////////////////////////////////
35349 // Standard layouts to be used                                        //
35350 ////////////////////////////////////////////////////////////////////////
35351    /* application with toolbar and main content area */
35352    group { name: "elm/layout/application/toolbar-content";
35353       parts {
35354          part { name: "elm.swallow.content";
35355             type: SWALLOW;
35356             description { state: "default" 0.0;
35357                rel1 { to_y: "elm.external.toolbar";
35358                   relative: 0.0 1.0;
35359                   offset: -1 1;
35360                }
35361             }
35362          }
35363
35364          part { name: "elm.external.toolbar";
35365             type: EXTERNAL;
35366             source: "elm/toolbar";
35367             description { state: "default" 0.0;
35368                align: 0.5 0.0;
35369                fixed: 0 1;
35370                rel2 {
35371                   relative: 1.0 0.0;
35372                   offset: -1 47;
35373                }
35374             }
35375          }
35376       }
35377    }
35378
35379    /* application with toolbar and main content area with a back button and title area */
35380    group { name: "elm/layout/application/toolbar-content-back";
35381       parts {
35382          part { name: "elm.swallow.content";
35383             type: SWALLOW;
35384             description { state: "default" 0.0;
35385                rel1 { to_y: "title_clipper";
35386                   relative: 0.0 1.0;
35387                   offset: -1 1;
35388                }
35389             }
35390          }
35391
35392          part { name: "elm.external.toolbar";
35393             type: EXTERNAL;
35394             source: "elm/toolbar";
35395             description { state: "default" 0.0;
35396                fixed: 0 1;
35397                align: 0.5 0.0;
35398                rel2 {
35399                   relative: 1.0 0.0;
35400                   offset: -1 47;
35401                }
35402             }
35403          }
35404          part { name: "title_clipper";
35405             type: RECT;
35406             description { state: "default" 0.0;
35407                visible: 1;
35408                rel1 {
35409                   to_y: "back";
35410                }
35411                rel2 {
35412                   to_y: "back";
35413                }
35414             }
35415             description { state: "hidden" 0.0;
35416                inherit: "default" 0.0;
35417                visible: 0;
35418                rel2 {
35419                   relative: 1.0 0.0;
35420                }
35421             }
35422          }
35423          part { name: "back_clipper";
35424             type: RECT;
35425             clip_to: "title_clipper";
35426             description { state: "default" 0.0;
35427                visible: 1;
35428             }
35429             description { state: "hidden" 0.0;
35430                visible: 0;
35431             }
35432          }
35433          part { name: "back";
35434             type: EXTERNAL;
35435             source: "elm/button";
35436             clip_to: "back_clipper";
35437             description { state: "default" 0.0;
35438                align: 0.0 0.0;
35439                fixed: 1 1;
35440                rel1 { to_y: "elm.external.toolbar";
35441                   relative: 0.0 1.0;
35442                   offset: 0 1;
35443                }
35444                rel2 { to_y: "elm.external.toolbar";
35445                   relative: 0.0 1.0;
35446                   offset: 50 32;
35447                }
35448                params.string: "label" "Back";
35449             }
35450          }
35451          programs {
35452             program {
35453                signal: "clicked";
35454                source: "back";
35455                action: SIGNAL_EMIT "elm,action,back" "";
35456             }
35457             program {
35458                signal: "elm,back,hide";
35459                source: "elm";
35460                action: STATE_SET "hidden" 0.0;
35461                target: "back_clipper";
35462             }
35463             program {
35464                signal: "elm,back,show";
35465                source: "elm";
35466                action: STATE_SET "default" 0.0;
35467                target: "back_clipper";
35468             }
35469             program {
35470                signal: "elm,title,hide";
35471                source: "elm";
35472                action: STATE_SET "hidden" 0.0;
35473                transition: LINEAR 0.1;
35474                target: "title_clipper";
35475             }
35476             program {
35477                signal: "elm,title,show";
35478                source: "elm";
35479                action: STATE_SET "default" 0.0;
35480                target: "title_clipper";
35481             }
35482          }
35483
35484          part { name: "elm.swallow.end";
35485             type: SWALLOW;
35486             description { state: "default" 0.0;
35487                align: 1.0 0.0;
35488                fixed: 1 1;
35489                rel1 { to_y: "elm.external.toolbar";
35490                   relative: 1.0 1.0;
35491                   offset: -2 1;
35492                }
35493                rel2 { to_y: "elm.external.toolbar";
35494                   relative: 1.0 1.0;
35495                   offset: -1 32;
35496                }
35497             }
35498          }
35499
35500          part { name: "elm.text.title";
35501             type: TEXT;
35502             effect: SOFT_SHADOW;
35503             scale: 1;
35504             description { state: "default" 0.0;
35505                rel1 { to_y: "elm.external.toolbar";
35506                   to_x: "back";
35507                   relative: 1.0 1.0;
35508                   offset: 2 1;
35509                }
35510                rel2 { to_y: "back";
35511                   to_x: "elm.swallow.end";
35512                   relative: 0.0 1.0;
35513                   offset: -3 -1;
35514                }
35515                text {
35516                   font: "Sans:style=Bold";
35517                   size: 12;
35518                }
35519             }
35520          }
35521       }
35522    }
35523
35524    /* application with toolbar and main content area with a back and next buttons and title area */
35525    group { name: "elm/layout/application/toolbar-content-back-next";
35526       parts {
35527          part { name: "elm.swallow.content";
35528             type: SWALLOW;
35529             description { state: "default" 0.0;
35530                rel1 { to_y: "title_clipper";
35531                   relative: 0.0 1.0;
35532                   offset: -1 1;
35533                }
35534             }
35535          }
35536
35537          part { name: "elm.external.toolbar";
35538             type: EXTERNAL;
35539             source: "elm/toolbar";
35540             description { state: "default" 0.0;
35541                fixed: 0 1;
35542                align: 0.5 0.0;
35543                rel2 {
35544                   relative: 1.0 0.0;
35545                   offset: -1 47;
35546                }
35547             }
35548          }
35549          part { name: "title_clipper";
35550             type: RECT;
35551             description { state: "default" 0.0;
35552                visible: 1;
35553                rel1 {
35554                   to_y: "back";
35555                }
35556                rel2 {
35557                   to_y: "back";
35558                }
35559             }
35560             description { state: "hidden" 0.0;
35561                inherit: "default" 0.0;
35562                visible: 0;
35563                rel2 {
35564                   relative: 1.0 0.0;
35565                }
35566             }
35567          }
35568          part { name: "back";
35569             type: EXTERNAL;
35570             source: "elm/button";
35571             clip_to: "back_clipper";
35572             description { state: "default" 0.0;
35573                align: 0.0 0.0;
35574                fixed: 1 1;
35575                rel1 { to_y: "elm.external.toolbar";
35576                   relative: 0.0 1.0;
35577                   offset: 0 1;
35578                }
35579                rel2 { to_y: "elm.external.toolbar";
35580                   relative: 0.0 1.0;
35581                   offset: 50 32;
35582                }
35583                params.string: "label" "Back";
35584             }
35585          }
35586          part { name: "back_clipper";
35587             type: RECT;
35588             clip_to: "title_clipper";
35589             description { state: "default" 0.0;
35590                visible: 1;
35591             }
35592             description { state: "hidden" 0.0;
35593                visible: 0;
35594             }
35595          }
35596          part { name: "next";
35597             type: EXTERNAL;
35598             source: "elm/button";
35599             clip_to: "next_clipper";
35600             description { state: "default" 0.0;
35601                align: 1.0 0.0;
35602                fixed: 1 1;
35603                rel1 { to_y: "elm.external.toolbar";
35604                   relative: 1.0 1.0;
35605                   offset: -2 1;
35606                }
35607                rel2 { to_y: "elm.external.toolbar";
35608                   relative: 1.0 1.0;
35609                   offset: -1 32;
35610                }
35611                params.string: "label" "Next";
35612            }
35613          }
35614          part { name: "next_clipper";
35615             type: RECT;
35616             clip_to: "title_clipper";
35617             description { state: "default" 0.0;
35618                visible: 1;
35619             }
35620             description { state: "hidden" 0.0;
35621                visible: 0;
35622             }
35623          }
35624          programs {
35625             program {
35626                signal: "clicked";
35627                source: "back";
35628                action: SIGNAL_EMIT "elm,action,back" "";
35629             }
35630             program {
35631                signal: "elm,title,hide";
35632                source: "elm";
35633                action: STATE_SET "hidden" 0.0;
35634                transition: LINEAR 0.1;
35635                target: "title_clipper";
35636             }
35637             program {
35638                signal: "elm,title,show";
35639                source: "elm";
35640                action: STATE_SET "default" 0.0;
35641                target: "title_clipper";
35642             }
35643             program {
35644                signal: "elm,back,hide";
35645                source: "elm";
35646                action: STATE_SET "hidden" 0.0;
35647                target: "back_clipper";
35648             }
35649             program {
35650                signal: "elm,back,show";
35651                source: "elm";
35652                action: STATE_SET "default" 0.0;
35653                target: "back_clipper";
35654             }
35655             program {
35656                signal: "clicked";
35657                source: "next";
35658                action: SIGNAL_EMIT "elm,action,next" "";
35659             }
35660             program {
35661                signal: "elm,next,hide";
35662                source: "elm";
35663                action: STATE_SET "hidden" 0.0;
35664                target: "next_clipper";
35665             }
35666             program {
35667                signal: "elm,next,show";
35668                source: "elm";
35669                action: STATE_SET "default" 0.0;
35670                target: "next_clipper";
35671             }
35672          }
35673          part { name: "elm.text.title";
35674             type: TEXT;
35675             effect: SOFT_SHADOW;
35676             scale: 1;
35677             clip_to: "title_clipper";
35678             description { state: "default" 0.0;
35679                rel1 { to_y: "elm.external.toolbar";
35680                   to_x: "back";
35681                   relative: 1.0 1.0;
35682                   offset: 2 1;
35683                }
35684                rel2 { to_y: "back";
35685                   to_x: "next";
35686                   relative: 0.0 1.0;
35687                   offset: -3 -1;
35688                }
35689                text {
35690                   font: "Sans:style=Bold";
35691                   size: 12;
35692                }
35693             }
35694          }
35695       }
35696    }
35697    /* application with a main content area with a back button and title area */
35698    group { name: "elm/layout/application/content-back";
35699       parts {
35700          part { name: "elm.swallow.content";
35701             type: SWALLOW;
35702             description { state: "default" 0.0;
35703                rel1 { to_y: "title_clipper";
35704                   relative: 0.0 1.0;
35705                   offset: -1 1;
35706                }
35707             }
35708          }
35709          part { name: "title_clipper";
35710             type: RECT;
35711             description { state: "default" 0.0;
35712                visible: 1;
35713                rel1 {
35714                   to_y: "back";
35715                }
35716                rel2 {
35717                   to_y: "back";
35718                }
35719             }
35720             description { state: "hidden" 0.0;
35721                inherit: "default" 0.0;
35722                visible: 0;
35723                rel2 {
35724                   relative: 1.0 0.0;
35725                }
35726             }
35727          }
35728          part { name: "back_clipper";
35729             type: RECT;
35730             clip_to: "title_clipper";
35731             description { state: "default" 0.0;
35732                visible: 1;
35733             }
35734             description { state: "hidden" 0.0;
35735                visible: 0;
35736             }
35737          }
35738          part { name: "back";
35739             type: EXTERNAL;
35740             source: "elm/button";
35741             clip_to: "back_clipper";
35742             description { state: "default" 0.0;
35743                align: 0.0 0.0;
35744                fixed: 1 1;
35745                rel1 {
35746                   relative: 0.0 0.0;
35747                   offset: 0 1;
35748                }
35749                rel2 {
35750                   relative: 0.0 0.0;
35751                   offset: 50 32;
35752                }
35753                params.string: "label" "Back";
35754             }
35755          }
35756          programs {
35757             program {
35758                signal: "clicked";
35759                source: "back";
35760                action: SIGNAL_EMIT "elm,action,back" "";
35761             }
35762             program {
35763                signal: "elm,back,hide";
35764                source: "elm";
35765                action: STATE_SET "hidden" 0.0;
35766                target: "back_clipper";
35767             }
35768             program {
35769                signal: "elm,back,show";
35770                source: "elm";
35771                action: STATE_SET "default" 0.0;
35772                target: "back_clipper";
35773             }
35774             program {
35775                signal: "elm,title,hide";
35776                source: "elm";
35777                action: STATE_SET "hidden" 0.0;
35778                transition: LINEAR 0.1;
35779                target: "title_clipper";
35780             }
35781             program {
35782                signal: "elm,title,show";
35783                source: "elm";
35784                action: STATE_SET "default" 0.0;
35785                target: "title_clipper";
35786             }
35787          }
35788
35789          part { name: "elm.swallow.end";
35790             type: SWALLOW;
35791             description { state: "default" 0.0;
35792                align: 1.0 0.0;
35793                fixed: 1 1;
35794                rel1 {
35795                   relative: 1.0 0.0;
35796                   offset: -2 1;
35797                }
35798                rel2 {
35799                   relative: 1.0 1.0;
35800                   offset: -1 32;
35801                }
35802             }
35803          }
35804
35805          part { name: "elm.text.title";
35806             type: TEXT;
35807             effect: SOFT_SHADOW;
35808             scale: 1;
35809             description { state: "default" 0.0;
35810                rel1 {
35811                   to_x: "back";
35812                   relative: 1.0 0.0;
35813                   offset: 2 1;
35814                }
35815                rel2 { to_y: "back";
35816                   to_x: "elm.swallow.end";
35817                   relative: 0.0 1.0;
35818                   offset: -3 -1;
35819                }
35820                text {
35821                   font: "Sans:style=Bold";
35822                   size: 12;
35823                }
35824             }
35825          }
35826       }
35827    }
35828
35829    /* application with a main content area with a back and next buttons and title area */
35830    group { name: "elm/layout/application/content-back-next";
35831       parts {
35832          part { name: "elm.swallow.content";
35833             type: SWALLOW;
35834             description { state: "default" 0.0;
35835                rel1 { to_y: "title_clipper";
35836                   relative: 0.0 1.0;
35837                   offset: -1 1;
35838                }
35839             }
35840          }
35841
35842          part { name: "title_clipper";
35843             type: RECT;
35844             description { state: "default" 0.0;
35845                visible: 1;
35846                rel1 {
35847                   to_y: "back";
35848                }
35849                rel2 {
35850                   to_y: "back";
35851                }
35852             }
35853             description { state: "hidden" 0.0;
35854                inherit: "default" 0.0;
35855                visible: 0;
35856                rel2 {
35857                   relative: 1.0 0.0;
35858                }
35859             }
35860          }
35861          part { name: "back";
35862             type: EXTERNAL;
35863             source: "elm/button";
35864             clip_to: "back_clipper";
35865             description { state: "default" 0.0;
35866                align: 0.0 0.0;
35867                fixed: 1 1;
35868                rel1 {
35869                   relative: 0.0 0.0;
35870                   offset: 0 1;
35871                }
35872                rel2 {
35873                   relative: 0.0 0.0;
35874                   offset: 50 32;
35875                }
35876                params.string: "label" "Back";
35877             }
35878          }
35879          part { name: "back_clipper";
35880             type: RECT;
35881             clip_to: "title_clipper";
35882             description { state: "default" 0.0;
35883                visible: 1;
35884             }
35885             description { state: "hidden" 0.0;
35886                visible: 0;
35887             }
35888          }
35889          part { name: "next";
35890             type: EXTERNAL;
35891             source: "elm/button";
35892             clip_to: "next_clipper";
35893             description { state: "default" 0.0;
35894                align: 1.0 0.0;
35895                fixed: 1 1;
35896                rel1 {
35897                   relative: 1.0 0.0;
35898                   offset: -2 1;
35899                }
35900                rel2 {
35901                   relative: 1.0 0.0;
35902                   offset: -1 32;
35903                }
35904                params.string: "label" "Next";
35905            }
35906          }
35907          part { name: "next_clipper";
35908             type: RECT;
35909             clip_to: "title_clipper";
35910             description { state: "default" 0.0;
35911                visible: 1;
35912             }
35913             description { state: "hidden" 0.0;
35914                visible: 0;
35915             }
35916          }
35917          programs {
35918             program {
35919                signal: "clicked";
35920                source: "back";
35921                action: SIGNAL_EMIT "elm,action,back" "";
35922             }
35923             program {
35924                signal: "elm,title,hide";
35925                source: "elm";
35926                action: STATE_SET "hidden" 0.0;
35927                transition: LINEAR 0.1;
35928                target: "title_clipper";
35929             }
35930             program {
35931                signal: "elm,title,show";
35932                source: "elm";
35933                action: STATE_SET "default" 0.0;
35934                target: "title_clipper";
35935             }
35936             program {
35937                signal: "elm,back,hide";
35938                source: "elm";
35939                action: STATE_SET "hidden" 0.0;
35940                target: "back_clipper";
35941             }
35942             program {
35943                signal: "elm,back,show";
35944                source: "elm";
35945                action: STATE_SET "default" 0.0;
35946                target: "back_clipper";
35947             }
35948             program {
35949                signal: "clicked";
35950                source: "next";
35951                action: SIGNAL_EMIT "elm,action,next" "";
35952             }
35953             program {
35954                signal: "elm,next,hide";
35955                source: "elm";
35956                action: STATE_SET "hidden" 0.0;
35957                target: "next_clipper";
35958             }
35959             program {
35960                signal: "elm,next,show";
35961                source: "elm";
35962                action: STATE_SET "default" 0.0;
35963                target: "next_clipper";
35964             }
35965          }
35966          part { name: "elm.text.title";
35967             type: TEXT;
35968             effect: SOFT_SHADOW;
35969             scale: 1;
35970             clip_to: "title_clipper";
35971             description { state: "default" 0.0;
35972                rel1 {
35973                   to_x: "back";
35974                   relative: 1.0 0.0;
35975                   offset: 2 1;
35976                }
35977                rel2 { to_y: "back";
35978                   to_x: "next";
35979                   relative: 0.0 1.0;
35980                   offset: -3 -1;
35981                }
35982                text {
35983                   font: "Sans:style=Bold";
35984                   size: 12;
35985                }
35986             }
35987          }
35988       }
35989    }
35990
35991    /* application with toolbar and main content area as a vertical box */
35992    group { name: "elm/layout/application/toolbar-vbox";
35993       parts {
35994          part { name: "elm.box.content";
35995             type: BOX;
35996             description { state: "default" 0.0;
35997                rel1 { to_y: "elm.external.toolbar";
35998                   relative: 0.0 1.0;
35999                   offset: -1 1;
36000                }
36001                box.layout: "vertical";
36002             }
36003          }
36004
36005          part { name: "elm.external.toolbar";
36006             type: EXTERNAL;
36007             source: "elm/toolbar";
36008             description { state: "default" 0.0;
36009                align: 0.5 0.0;
36010                fixed: 0 1;
36011                rel2 {
36012                   relative: 1.0 0.0;
36013                   offset: -1 47;
36014                }
36015             }
36016          }
36017       }
36018    }
36019
36020    /* application with toolbar and main content area as a table */
36021    group { name: "elm/layout/application/toolbar-table";
36022       parts {
36023          part { name: "elm.table.content";
36024             type: TABLE;
36025             description { state: "default" 0.0;
36026                rel1 { to_y: "elm.external.toolbar";
36027                   relative: 0.0 1.0;
36028                   offset: -1 1;
36029                }
36030             }
36031          }
36032
36033          part { name: "elm.external.toolbar";
36034             type: EXTERNAL;
36035             source: "elm/toolbar";
36036             description { state: "default" 0.0;
36037                align: 0.5 0.0;
36038                fixed: 0 1;
36039                rel2 {
36040                   relative: 1.0 0.0;
36041                   offset: -1 47;
36042                }
36043             }
36044          }
36045       }
36046    }
36047
36048    /* a simple title layout, with a label and two icons */
36049    group { name: "elm/layout/application/titlebar";
36050       images {
36051          image: "toolbar_sel.png" COMP;
36052       }
36053       parts {
36054          part { name: "base";
36055             mouse_events: 0;
36056             scale: 1;
36057             description { state: "default" 0.0;
36058                min: 0 33;
36059                max: 99999 33;
36060                align: 0.5 0.0;
36061                rel1.offset: -1 0;
36062                rel2.offset: 1 0;
36063                image {
36064                   normal: "toolbar_sel.png";
36065                   border: 3 3 0 0;
36066                }
36067             }
36068          }
36069          part { name: "elm.swallow.content";
36070             type: SWALLOW;
36071             description { state: "default" 0.0;
36072                visible: 1;
36073                rel1 {
36074                   to: "base";
36075                   relative: 0.0 1.0;
36076                }
36077             }
36078          }
36079          part { name: "elm.swallow.icon";
36080             type: SWALLOW;
36081             scale: 1;
36082             description { state: "default" 0.0;
36083                visible: 0;
36084                fixed: 1 1;
36085                align: 0.0 0.0;
36086                rel1 {
36087                   to: "base";
36088                   relative: 0.0 0.0;
36089                   offset: 4 0;
36090                }
36091                rel2 {
36092                   to: "base";
36093                   relative: 0.0 1.0;
36094                }
36095             }
36096             description { state: "visible" 0.0;
36097                inherit: "default" 0.0;
36098                visible: 1;
36099             }
36100          }
36101          part { name: "elm.swallow.end";
36102             type: SWALLOW;
36103             scale: 1;
36104             description { state: "default" 0.0;
36105                visible: 0;
36106                fixed: 1 1;
36107                align: 1.0 0.0;
36108                rel1 {
36109                   to: "base";
36110                   relative: 1.0 0.0;
36111                   offset: 0 0;
36112                }
36113                rel2 {
36114                   to: "base";
36115                   relative: 1.0 1.0;
36116                   offset: -5 -1;
36117                }
36118             }
36119             description { state: "visible" 0.0;
36120                inherit: "default" 0.0;
36121                visible: 1;
36122             }
36123          }
36124          part { name: "elm.text";
36125             type: TEXT;
36126             effect: SOFT_SHADOW;
36127             mouse_events: 0;
36128             scale: 1;
36129             description { state: "default" 0.0;
36130                fixed: 1 1;
36131                rel1 {
36132                   to_x: "elm.swallow.icon";
36133                   to_y: "base";
36134                   relative: 1.0 0.0;
36135                }
36136                rel2 {
36137                   to_x: "elm.swallow.end";
36138                   to_y: "base";
36139                   relative: 0.0 1.0;
36140                }
36141                text {
36142                   font: "Sans";
36143                   size: 12;
36144                   min: 0 0;
36145                   align: 0.5 0.5;
36146                   text_class: "title_bar";
36147                }
36148             }
36149          }
36150       }
36151       programs {
36152          program { name: "show_icon";
36153             signal: "elm,state,icon,visible";
36154             source: "elm";
36155             action: STATE_SET "visible" 0.0;
36156             target: "elm.swallow.icon";
36157          }
36158          program { name: "hide_icon";
36159             signal: "elm,state,icon,hidden";
36160             source: "elm";
36161             action: STATE_SET "default" 0.0;
36162             target: "elm.swallow.icon";
36163          }
36164          program { name: "show_end";
36165             signal: "elm,state,end,visible";
36166             source: "elm";
36167             action: STATE_SET "visible" 0.0;
36168             target: "elm.swallow.end";
36169          }
36170          program { name: "hide_end";
36171             signal: "elm,state,end,hidden";
36172             source: "elm";
36173             action: STATE_SET "default" 0.0;
36174             target: "elm.swallow.end";
36175          }
36176       }
36177    }
36178 }
36179
36180
36181
36182