format fix.
[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                after: "item_mouse_out_2";
4662                after: "item_mouse_out_3";
4663            }
4664            program {
4665                name:   "item_mouse_out_2";
4666                transition: DECELERATE 0.5;
4667                script {
4668                    new v, d;
4669                    v = get_int(menu_text_visible);
4670                    d = get_int(menu_disable);
4671
4672                    if (v==1 && d==0)
4673                         run_program(PROGRAM:"visible_text");
4674                }
4675            }
4676            program {
4677                name:   "item_mouse_out_3";
4678                action: STATE_SET "default" 0.0;
4679                target: "item_image";
4680                target: "over1";
4681                transition: DECELERATE 0.5;
4682            }
4683            program {
4684                name:   "visible_text";
4685                action: STATE_SET "visible" 0.0;
4686                target: "elm.text";
4687                transition: DECELERATE 0.5;
4688            }
4689            //
4690
4691            program {
4692                name:   "item_unclick";
4693                signal: "mouse,up,1";
4694                source: "over2";
4695                action: STATE_SET "visible" 0.0;
4696                target: "item_image";
4697            }
4698            program {
4699                name:   "item_click2";
4700                signal: "mouse,down,1";
4701                source: "over3";
4702                action: STATE_SET "clicked" 0.0;
4703                target: "over3";
4704            }
4705            program {
4706                name:   "item_unclick2";
4707                signal: "mouse,up,1";
4708                source: "over3";
4709                action: STATE_SET "default" 0.0;
4710                transition: DECELERATE 0.5;
4711                target: "over3";
4712            }
4713            program {
4714                name:   "item_unclick3";
4715                signal: "mouse,up,1";
4716                source: "over2";
4717                action: SIGNAL_EMIT "elm,action,click" "";
4718            }
4719            program { name: "text_show";
4720                signal: "elm,state,text,visible";
4721                source: "elm";
4722                script {
4723                    set_int(menu_text_visible, 1);
4724                    set_state(PART:"elm.text", "visible", 0.0);
4725                }
4726            }
4727            program { name: "text_hide";
4728                signal: "elm,state,text,hidden";
4729                source: "elm";
4730                script {
4731                    set_int(menu_text_visible, 0);
4732                    set_state(PART:"elm.text", "default", 0.0);
4733                }
4734            }
4735            program { name: "disable";
4736                signal: "elm,state,disabled";
4737                source: "elm";
4738                action: STATE_SET "disabled" 0.0;
4739                target: "item_image";
4740                target: "item_image_disabled";
4741                target: "over1";
4742                target: "over2";
4743                target: "over_disabled";
4744                target: "disabler";
4745                after: "disable_text";
4746            }
4747            program { name: "disable_text";
4748                script {
4749                    new v;
4750                    v = get_int(menu_text_visible);
4751                    if (v==1)
4752                     set_state(PART:"elm.text", "disabled_visible", 0.0);
4753                    else if (v==0)
4754                     set_state(PART:"elm.text", "disabled", 0.0);
4755                    set_int(menu_disable, 1);
4756                }
4757            }
4758            program { name: "enable";
4759                signal: "elm,state,enabled";
4760                source: "elm";
4761                action: STATE_SET "default" 0.0;
4762                target: "item_image";
4763                target: "item_image_disabled";
4764                target: "over1";
4765                target: "over2";
4766                target: "over_disabled";
4767                target: "disabler";
4768                after: "enable_text";
4769            }
4770            program { name: "enable_text";
4771                script {
4772                    new v;
4773                    v = get_int(menu_text_visible);
4774                    if (v==1)
4775                     set_state(PART:"elm.text", "visible", 0.0);
4776                    else  if (v==0)
4777                     set_state(PART:"elm.text", "default", 0.0);
4778                    set_int(menu_disable, 0);
4779                }
4780            }
4781        }
4782    }
4783
4784    group { name: "elm/menu/item_with_submenu/default";
4785        images {
4786            image: "bt_base1.png" COMP;
4787            image: "bt_base2.png" COMP;
4788            image: "bt_hilight.png" COMP;
4789            image: "bt_shine.png" COMP;
4790            image: "bt_glow.png" COMP;
4791            image: "bt_dis_base.png" COMP;
4792            image: "bt_dis_hilight.png" COMP;
4793            image: "arrow_right.png" COMP;
4794            image: "arrow_left.png" COMP;
4795        }
4796        script {
4797             public menu_text_visible; //0:hide (default), 1:visible
4798             public menu_disable; //0:enable, 1:disable
4799        }
4800        parts {
4801            part { name: "item_image";
4802                mouse_events: 1;
4803                description { state: "default" 0.0;
4804                    color: 255 255 255 0;
4805                    image {
4806                        normal: "bt_base2.png";
4807                        border: 7 7 7 7;
4808                    }
4809                    image.middle: SOLID;
4810                }
4811                description { state: "visible" 0.0;
4812                    inherit: "default" 0.0;
4813                    color: 255 255 255 255;
4814                }
4815                description { state: "clicked" 0.0;
4816                    inherit: "default" 0.0;
4817                    inherit: "visible" 0.0;
4818                    image.normal: "bt_base1.png";
4819                    image.middle: SOLID;
4820                }
4821                description { state: "disabled" 0.0;
4822                    inherit:  "default" 0.0;
4823                }
4824            }
4825            part { name: "item_image_disabled";
4826                mouse_events: 1;
4827                description { state: "default" 0.0;
4828                    color: 255 255 255 0;
4829                    image {
4830                        normal: "bt_dis_base.png";
4831                        border: 4 4 4 4;
4832                    }
4833                    image.middle: SOLID;
4834                }
4835                description { state: "disabled" 0.0;
4836                    inherit:  "default" 0.0;
4837                    color: 255 255 255 255;
4838                }
4839            }
4840            part { name: "arrow";
4841                mouse_events: 1;
4842                description { state: "default" 0.0;
4843                    color: 255 255 255 255;
4844                    align: 1.0 0.5;
4845                    aspect: 1 1;
4846                    aspect_preference: BOTH;
4847                    image {
4848                        normal: "arrow_right.png";
4849                    }
4850                }
4851                description { state: "rtl" 0.0;
4852                   inherit: "default" 0.0;
4853                   image.normal: "arrow_left.png";
4854                }
4855            }
4856            part { name: "elm.swallow.content";
4857                type: SWALLOW;
4858                description { state: "default" 0.0;
4859                    fixed: 1 0;
4860                    visible: 1;
4861                    align: 0.0 0.5;
4862                    rel1.offset: 4 4;
4863                    rel2.offset: 3 -5;
4864                    rel2.relative: 0.0 1.0;
4865                    aspect: 1.0 1.0;
4866                    aspect_preference: VERTICAL;
4867                    rel2.offset: 4 -5;
4868                }
4869            }
4870            part {
4871                name:          "elm.text";
4872                type:          TEXT;
4873                mouse_events:  0;
4874                scale: 1;
4875                description { state: "default" 0.0;
4876                    visible: 0;
4877                    rel1.to_x: "elm.swallow.content";
4878                    rel1.relative: 1.0 0.0;
4879                    rel1.offset: 5 7;
4880                    rel2.offset: -10 -8;
4881                    color: 0 0 0 255;
4882                    text {
4883                        font:     "Sans,Edje-Vera";
4884                        size:     10;
4885                        min:      1 1;
4886                        align:    0.0 0.5;
4887                        text_class: "menu_item";
4888                    }
4889                }
4890                description { state: "visible" 0.0;
4891                    inherit: "default" 0.0;
4892                    visible: 1;
4893                    text.min: 1 1;
4894                }
4895                description { state: "selected" 0.0;
4896                    inherit: "default" 0.0;
4897                    inherit: "visible" 0.0;
4898                    color: 254 254 254 255;
4899                }
4900                description { state: "disabled" 0.0;
4901                    inherit: "default" 0.0;
4902                    color: 0 0 0 128;
4903                }
4904                description { state: "disabled_visible" 0.0;
4905                    inherit: "default" 0.0;
4906                    inherit: "visible" 0.0;
4907                    color: 0 0 0 128;
4908                }
4909            }
4910            part {          name: "over1";
4911                mouse_events: 0;
4912                description { state: "default" 0.0;
4913                    color: 255 255 255 0;
4914                    rel2.relative: 1.0 0.5;
4915                    image {
4916                        normal: "bt_hilight.png";
4917                        border: 7 7 7 0;
4918                    }
4919                }
4920                description { state: "visible" 0.0;
4921                    inherit:  "default" 0.0;
4922                    color: 255 255 255 255;
4923                }
4924                description { state: "disabled" 0.0;
4925                    inherit:  "default" 0.0;
4926                }
4927            }
4928            part { name: "over_disabled";
4929                mouse_events: 0;
4930                description { state: "default" 0.0;
4931                    color: 255 255 255 0;
4932                    rel2.relative: 1.0 0.5;
4933                    image {
4934                        normal: "bt_dis_hilight.png";
4935                        border: 4 4 4 0;
4936                    }
4937                }
4938                description { state: "disabled" 0.0;
4939                    inherit:  "default" 0.0;
4940                    color: 255 255 255 255;
4941                }
4942            }
4943            part { name: "over2";
4944                mouse_events: 1;
4945                repeat_events: 1;
4946                ignore_flags: ON_HOLD;
4947                description { state: "default" 0.0;
4948                    image {
4949                        normal: "bt_shine.png";
4950                        border: 7 7 7 7;
4951                    }
4952                }
4953                description { state: "disabled" 0.0;
4954                    inherit:  "default" 0.0;
4955                    visible: 0;
4956                }
4957            }
4958            part { name: "over3";
4959                mouse_events: 1;
4960                repeat_events: 1;
4961                description { state: "default" 0.0;
4962                    color: 255 255 255 0;
4963                    image {
4964                        normal: "bt_glow.png";
4965                        border: 12 12 12 12;
4966                    }
4967                    fill.smooth : 0;
4968                }
4969                description { state: "clicked" 0.0;
4970                    inherit:  "default" 0.0;
4971                    visible: 1;
4972                    color: 255 255 255 255;
4973                }
4974            }
4975            part { name: "disabler";
4976                type: RECT;
4977                description { state: "default" 0.0;
4978                    color: 0 0 0 0;
4979                    visible: 0;
4980                }
4981                description { state: "disabled" 0.0;
4982                    inherit: "default" 0.0;
4983                    visible: 1;
4984                }
4985            }
4986        }
4987        programs {
4988            //
4989            program {
4990                name:   "item_mouse_in";
4991                signal: "mouse,in";
4992                source: "over2";
4993                action: SIGNAL_EMIT "elm,action,activate" "";
4994                after: "item_mouse_in_2";
4995                after: "item_mouse_in_3";
4996            }
4997            program {
4998                name:   "item_mouse_in_2";
4999                transition: DECELERATE 0.5;
5000                script {
5001                    new v, d;
5002                    v = get_int(menu_text_visible);
5003                    d = get_int(menu_disable);
5004
5005                    if (v==1 && d==0)
5006                         run_program(PROGRAM:"selected_text");
5007                }
5008            }
5009            program {
5010                name:   "item_mouse_in_3";
5011                action : STATE_SET "visible" 0.0;
5012                target: "item_image";
5013                target: "over1";
5014                transition: DECELERATE 0.5;
5015            }
5016            program {
5017                name:   "selected_text";
5018                action: STATE_SET "selected" 0.0;
5019                target: "elm.text";
5020                transition: DECELERATE 0.5;
5021            }
5022            //
5023
5024            //
5025            program {
5026                name:   "item_mouse_out";
5027                signal: "mouse,out";
5028                source: "over2";
5029                after: "item_mouse_out_2";
5030                after: "item_mouse_out_3";
5031            }
5032            program {
5033                name:   "item_mouse_out_2";
5034                transition: DECELERATE 0.5;
5035                script {
5036                    new v, d;
5037                    v = get_int(menu_text_visible);
5038                    d = get_int(menu_disable);
5039
5040                    if (v==1 && d==0)
5041                         run_program(PROGRAM:"visible_text");
5042                }
5043            }
5044            program {
5045                name:   "item_mouse_out_3";
5046                action: STATE_SET "default" 0.0;
5047                target: "item_image";
5048                target: "over1";
5049                transition: DECELERATE 0.5;
5050            }
5051            program {
5052                name:   "visible_text";
5053                action: STATE_SET "visible" 0.0;
5054                target: "elm.text";
5055                transition: DECELERATE 0.5;
5056            }
5057            //
5058
5059            program {
5060                name:   "item_unclick";
5061                signal: "mouse,up,1";
5062                source: "over2";
5063                action: STATE_SET "visible" 0.0;
5064                target: "item_image";
5065            }
5066            program {
5067                name:   "item_click2";
5068                signal: "mouse,down,1";
5069                source: "over3";
5070                action: STATE_SET "clicked" 0.0;
5071                target: "over3";
5072            }
5073            program {
5074                name:   "item_unclick2";
5075                signal: "mouse,up,1";
5076                source: "over3";
5077                action: STATE_SET "default" 0.0;
5078                transition: DECELERATE 0.5;
5079                target: "over3";
5080            }
5081            program {
5082                name:   "item_unclick3";
5083                signal: "mouse,up,1";
5084                source: "over2";
5085                action: SIGNAL_EMIT "elm,action,click" "";
5086            }
5087            program {
5088                name:   "menu_open";
5089                signal: "mouse,in";
5090                source: "over2";
5091                action: SIGNAL_EMIT "elm,action,open" "";
5092            }
5093             program { name: "text_show";
5094                signal: "elm,state,text,visible";
5095                source: "elm";
5096                script {
5097                    set_int(menu_text_visible, 1);
5098                    set_state(PART:"elm.text", "visible", 0.0);
5099                }
5100            }
5101            program { name: "text_hide";
5102                signal: "elm,state,text,hidden";
5103                source: "elm";
5104                script {
5105                    set_int(menu_text_visible, 0);
5106                    set_state(PART:"elm.text", "default", 0.0);
5107                }
5108            }
5109            program { name: "disable";
5110                signal: "elm,state,disabled";
5111                source: "elm";
5112                action: STATE_SET "disabled" 0.0;
5113                target: "item_image";
5114                target: "item_image_disabled";
5115                target: "over1";
5116                target: "over2";
5117                target: "over_disabled";
5118                target: "disabler";
5119                after: "disable_text";
5120            }
5121            program { name: "disable_text";
5122                script {
5123                    new st[31];
5124                    new Float:vl;
5125                    get_state(PART:"elm.text", st, 30, vl);
5126                    if (!strcmp(st, "visible"))
5127                    set_state(PART:"elm.text", "disabled_visible", 0.0);
5128                    else if (!strcmp(st, "default"))
5129                    set_state(PART:"elm.text", "disabled", 0.0);
5130                }
5131            }
5132            program { name: "enable";
5133                signal: "elm,state,enabled";
5134                source: "elm";
5135                action: STATE_SET "default" 0.0;
5136                target: "item_image";
5137                target: "item_image_disabled";
5138                target: "over1";
5139                target: "over2";
5140                target: "over_disabled";
5141                target: "disabler";
5142                after: "enable_text";
5143            }
5144            program { name: "enable_text";
5145                script {
5146                    new v;
5147                    v = get_int(menu_text_visible);
5148                    if (v==1)
5149                     set_state(PART:"elm.text", "visible", 0.0);
5150                    else  if (v==0)
5151                     set_state(PART:"elm.text", "default", 0.0);
5152                    set_int(menu_disable, 0);
5153                }
5154            }
5155            program { name: "to_rtl";
5156                signal: "edje,state,rtl";
5157                source: "edje";
5158                action: STATE_SET "rtl" 0.0;
5159                target: "arrow";
5160            }
5161            program { name: "to_ltr";
5162                signal: "edje,state,ltr";
5163                source: "edje";
5164                action: STATE_SET "default" 0.0;
5165                target: "arrow";
5166            }
5167        }
5168    }
5169
5170    group { name: "elm/menu/separator/default";
5171        images {
5172            image: "separator_h.png" COMP;
5173        }
5174        parts {
5175            part { name: "separator"; // separator group
5176                description { state: "default" 0.0;
5177                    min: 2 2;
5178                    rel1.offset: 4 4;
5179                    rel2.offset: -5 -5;
5180                    image {
5181                        normal: "separator_h.png";
5182                    }
5183                    fill {
5184                        smooth: 0;
5185                    }
5186                }
5187            }
5188        }
5189    }
5190 ///////////////////////////////////////////////////////////////////////////////
5191    group { name: "elm/clock/base-all/default";
5192       parts {
5193          part { name: "d0";
5194             type: SWALLOW;
5195             description { state: "default" 0.0;
5196                rel1.relative: 0.0000000 0.0;
5197                rel2.relative: 0.1250000 1.0;
5198             }
5199          }
5200          part { name: "d1";
5201             type: SWALLOW;
5202             description { state: "default" 0.0;
5203                rel1.relative: 0.1250000 0.0;
5204                rel2.relative: 0.2500000 1.0;
5205             }
5206          }
5207          part { name: "c0";
5208             type: SWALLOW;
5209             type: TEXT;
5210             mouse_events:  0;
5211             scale: 1;
5212             description { state: "default" 0.0;
5213                rel1.relative: 0.2500000 0.0;
5214                rel2.relative: 0.3125000 1.0;
5215                color: 0 0 0 255;
5216                text {
5217                   font:     "Sans,Edje-Vera";
5218                   text:     ":";
5219                   size:     10;
5220                   min:      1 1;
5221                   align:    0.5 0.5;
5222                }
5223             }
5224          }
5225          part { name: "d2";
5226             type: SWALLOW;
5227             description { state: "default" 0.0;
5228                rel1.relative: 0.3125000 0.0;
5229                rel2.relative: 0.4375000 1.0;
5230             }
5231          }
5232          part { name: "d3";
5233             type: SWALLOW;
5234             description { state: "default" 0.0;
5235                rel1.relative: 0.4375000 0.0;
5236                rel2.relative: 0.5625000 1.0;
5237             }
5238          }
5239          // (if seconds)
5240          part { name: "c1";
5241             type: SWALLOW;
5242             type: TEXT;
5243             mouse_events:  0;
5244             scale: 1;
5245             description { state: "default" 0.0;
5246                rel1.relative: 0.5625000 0.0;
5247                rel2.relative: 0.6250000 1.0;
5248                color: 0 0 0 255;
5249                text {
5250                   font:     "Sans,Edje-Vera";
5251                   text:     ":";
5252                   size:     10;
5253                   min:      1 1;
5254                   align:    0.5 0.5;
5255                }
5256             }
5257          }
5258          // (if seconds)
5259          part { name: "d4";
5260             type: SWALLOW;
5261             description { state: "default" 0.0;
5262                rel1.relative: 0.6250000 0.0;
5263                rel2.relative: 0.7500000 1.0;
5264             }
5265          }
5266          // (if seconds)
5267          part { name: "d5";
5268             type: SWALLOW;
5269             description { state: "default" 0.0;
5270                rel1.relative: 0.7500000 0.0;
5271                rel2.relative: 0.8750000 1.0;
5272             }
5273          }
5274          // (if am_pm)
5275          part { name: "ampm";
5276             type: SWALLOW;
5277             description { state: "default" 0.0;
5278                rel1.relative: 0.8750000 0.0;
5279                rel2.relative: 1.0 1.0;
5280             }
5281          }
5282       }
5283    }
5284
5285 ///////////////////////////////////////////////////////////////////////////////
5286    group { name: "elm/clock/base-seconds/default";
5287       parts {
5288          part { name: "d0";
5289             type: SWALLOW;
5290             description { state: "default" 0.0;
5291                rel1.relative: 0.000000000 0.0;
5292                rel2.relative: 0.142857143 1.0;
5293             }
5294          }
5295          part { name: "d1";
5296             type: SWALLOW;
5297             description { state: "default" 0.0;
5298                rel1.relative: 0.142857143 0.0;
5299                rel2.relative: 0.285714286 1.0;
5300             }
5301          }
5302          part { name: "c0";
5303             type: SWALLOW;
5304             type: TEXT;
5305             mouse_events:  0;
5306             scale: 1;
5307             description { state: "default" 0.0;
5308                rel1.relative: 0.285714286 0.0;
5309                rel2.relative: 0.357142857 1.0;
5310                color: 0 0 0 255;
5311                text {
5312                   font:     "Sans,Edje-Vera";
5313                   text:     ":";
5314                   size:     10;
5315                   min:      1 1;
5316                   align:    0.5 0.5;
5317                }
5318             }
5319          }
5320          part { name: "d2";
5321             type: SWALLOW;
5322             description { state: "default" 0.0;
5323                rel1.relative: 0.357142857 0.0;
5324                rel2.relative: 0.500000000 1.0;
5325             }
5326          }
5327          part { name: "d3";
5328             type: SWALLOW;
5329             description { state: "default" 0.0;
5330                rel1.relative: 0.500000000 0.0;
5331                rel2.relative: 0.642857143 1.0;
5332             }
5333          }
5334          // (if seconds)
5335          part { name: "c1";
5336             type: SWALLOW;
5337             type: TEXT;
5338             mouse_events:  0;
5339             scale: 1;
5340             description { state: "default" 0.0;
5341                rel1.relative: 0.642857143 0.0;
5342                rel2.relative: 0.714285714 1.0;
5343                color: 0 0 0 255;
5344                text {
5345                   font:     "Sans,Edje-Vera";
5346                   text:     ":";
5347                   size:     10;
5348                   min:      1 1;
5349                   align:    0.5 0.5;
5350                }
5351             }
5352          }
5353          // (if seconds)
5354          part { name: "d4";
5355             type: SWALLOW;
5356             description { state: "default" 0.0;
5357                rel1.relative: 0.714285714 0.0;
5358                rel2.relative: 0.857142857 1.0;
5359             }
5360          }
5361          // (if seconds)
5362          part { name: "d5";
5363             type: SWALLOW;
5364             description { state: "default" 0.0;
5365                rel1.relative: 0.857142857 0.0;
5366                rel2.relative: 1.000000000 1.0;
5367             }
5368          }
5369       }
5370    }
5371
5372 ///////////////////////////////////////////////////////////////////////////////
5373    group { name: "elm/clock/base-am_pm/default";
5374       parts {
5375          part { name: "d0";
5376             type: SWALLOW;
5377             description { state: "default" 0.0;
5378                rel1.relative: 0.000000000 0.0;
5379                rel2.relative: 0.181818182 1.0;
5380             }
5381          }
5382          part { name: "d1";
5383             type: SWALLOW;
5384             description { state: "default" 0.0;
5385                rel1.relative: 0.181818182 0.0;
5386                rel2.relative: 0.363636364 1.0;
5387             }
5388          }
5389          part { name: "c0";
5390             type: SWALLOW;
5391             type: TEXT;
5392             mouse_events:  0;
5393             scale: 1;
5394             description { state: "default" 0.0;
5395                rel1.relative: 0.363636364 0.0;
5396                rel2.relative: 0.454545455 1.0;
5397                color: 0 0 0 255;
5398                text {
5399                   font:     "Sans,Edje-Vera";
5400                   text:     ":";
5401                   size:     10;
5402                   min:      1 1;
5403                   align:    0.5 0.5;
5404                }
5405             }
5406          }
5407          part { name: "d2";
5408             type: SWALLOW;
5409             description { state: "default" 0.0;
5410                rel1.relative: 0.454545455 0.0;
5411                rel2.relative: 0.636363636 1.0;
5412             }
5413          }
5414          part { name: "d3";
5415             type: SWALLOW;
5416             description { state: "default" 0.0;
5417                rel1.relative: 0.636363636 0.0;
5418                rel2.relative: 0.818181818 1.0;
5419             }
5420          }
5421          // (if am_pm)
5422          part { name: "ampm";
5423             type: SWALLOW;
5424             description { state: "default" 0.0;
5425                rel1.relative: 0.818181818 0.0;
5426                rel2.relative: 1.0 1.0;
5427             }
5428          }
5429       }
5430    }
5431
5432 ///////////////////////////////////////////////////////////////////////////////
5433    group { name: "elm/clock/base/default";
5434       parts {
5435          part { name: "d0";
5436             type: SWALLOW;
5437             description { state: "default" 0.0;
5438                rel1.relative: 0.000000000 0.0;
5439                rel2.relative: 0.222222222 1.0;
5440             }
5441          }
5442          part { name: "d1";
5443             type: SWALLOW;
5444             description { state: "default" 0.0;
5445                rel1.relative: 0.222222222 0.0;
5446                rel2.relative: 0.444444444 1.0;
5447             }
5448          }
5449          part { name: "c0";
5450             type: SWALLOW;
5451             type: TEXT;
5452             mouse_events:  0;
5453             scale: 1;
5454             description { state: "default" 0.0;
5455                rel1.relative: 0.444444444 0.0;
5456                rel2.relative: 0.555555556 1.0;
5457                color: 0 0 0 255;
5458                text {
5459                   font:     "Sans,Edje-Vera";
5460                   text:     ":";
5461                   size:     10;
5462                   min:      1 1;
5463                   align:    0.5 0.5;
5464                }
5465             }
5466          }
5467          part { name: "d2";
5468             type: SWALLOW;
5469             description { state: "default" 0.0;
5470                rel1.relative: 0.555555556 0.0;
5471                rel2.relative: 0.777777778 1.0;
5472             }
5473          }
5474          part { name: "d3";
5475             type: SWALLOW;
5476             description { state: "default" 0.0;
5477                rel1.relative: 0.777777778 0.0;
5478                rel2.relative: 1.000000000 1.0;
5479             }
5480          }
5481       }
5482    }
5483
5484 ///////////////////////////////////////////////////////////////////////////////
5485    group { name: "elm/frame/base/default";
5486        images {
5487            image: "frame_1.png" COMP;
5488            image: "frame_2.png" COMP;
5489            image: "dia_grad.png" COMP;
5490        }
5491        parts {
5492            part { name: "base0";
5493                mouse_events:  0;
5494                description { state: "default" 0.0;
5495                    image.normal: "dia_grad.png";
5496                    rel1.to: "over";
5497                    rel2.to: "over";
5498                    fill {
5499                        smooth: 0;
5500                        size {
5501                            relative: 0.0 1.0;
5502                            offset: 64 0;
5503                        }
5504                    }
5505                }
5506            }
5507            part { name: "base";
5508                mouse_events:  0;
5509                description { state:    "default" 0.0;
5510                    rel2.to: "elm.swallow.content";
5511                    rel2.offset: 9 9;
5512                    image {
5513                        normal: "frame_2.png";
5514                        border: 5 5 32 26;
5515                        middle: 0;
5516                    }
5517                    fill.smooth : 0;
5518                }
5519            }
5520            part { name: "elm.text";
5521                type: TEXT;
5522                mouse_events:   0;
5523                scale: 1;
5524                description { state: "default" 0.0;
5525                    align: 0.0 0.0;
5526                    fixed: 0 1;
5527                    rel1 {
5528                        relative: 0.0 0.0;
5529                        offset: 6 6;
5530                    }
5531                    rel2 {
5532                        relative: 1.0 0.0;
5533                        offset: -7 6;
5534                    }
5535                    color: 0 0 0 64;
5536                    text {
5537                        font: "Sans:style=Bold,Edje-Vera-Bold";
5538                        size: 10;
5539                        min: 1 1;
5540                        max: 1 1;
5541                        align: 0.0 0.0;
5542                    }
5543                }
5544            }
5545            part { name: "over";
5546                mouse_events:  0;
5547                description { state:    "default" 0.0;
5548                    rel1.offset: 4 4;
5549                    rel2.to: "elm.swallow.content";
5550                    rel2.offset: 5 5;
5551                    image {
5552                        normal: "frame_1.png";
5553                        border: 2 2 28 22;
5554                        middle: 0;
5555                    }
5556                    fill.smooth : 0;
5557                }
5558            }
5559            part { name: "elm.swallow.content";
5560                type: SWALLOW;
5561                description { state: "default" 0.0;
5562                    align: 0.0 0.0;
5563                    rel1 {
5564                        to_y: "elm.text";
5565                        relative: 0.0 1.0;
5566                        offset: 8 2;
5567                    }
5568                    rel2.offset: -9 -9;
5569                }
5570            }
5571        }
5572    }
5573
5574    group { name: "elm/frame/base/pad_small";
5575        parts {
5576            part { name: "b0";
5577                mouse_events:  0;
5578                type: RECT;
5579                scale: 1;
5580                description { state: "default" 0.0;
5581                    visible: 0;
5582                    min: 4 4;
5583                    max: 4 4;
5584                    align: 0.0 0.0;
5585                }
5586            }
5587            part { name: "b1";
5588                mouse_events:  0;
5589                type: RECT;
5590                scale: 1;
5591                description { state: "default" 0.0;
5592                    visible: 0;
5593                    min: 4 4;
5594                    max: 4 4;
5595                    align: 1.0 1.0;
5596                }
5597            }
5598            part { name: "elm.swallow.content";
5599                type: SWALLOW;
5600                description { state: "default" 0.0;
5601                    rel1 {
5602                        to: "b0";
5603                        relative: 1.0 1.0;
5604                        offset: 0 0;
5605                    }
5606                    rel2 {
5607                        to: "b1";
5608                        relative: 0.0 0.0;
5609                        offset: -1 -1;
5610                    }
5611                }
5612            }
5613        }
5614    }
5615
5616    group { name: "elm/frame/base/pad_medium";
5617        parts {
5618            part { name: "b0";
5619                mouse_events:  0;
5620                type: RECT;
5621                scale: 1;
5622                description { state: "default" 0.0;
5623                    visible: 0;
5624                    min: 8 8;
5625                    max: 8 8;
5626                    align: 0.0 0.0;
5627                }
5628            }
5629            part { name: "b1";
5630                mouse_events:  0;
5631                type: RECT;
5632                scale: 1;
5633                description { state: "default" 0.0;
5634                    visible: 0;
5635                    min: 8 8;
5636                    max: 8 8;
5637                    align: 1.0 1.0;
5638                }
5639            }
5640            part { name: "elm.swallow.content";
5641                type: SWALLOW;
5642                description { state: "default" 0.0;
5643                    rel1 {
5644                        to: "b0";
5645                        relative: 1.0 1.0;
5646                        offset: 0 0;
5647                    }
5648                    rel2 {
5649                        to: "b1";
5650                        relative: 0.0 0.0;
5651                        offset: -1 -1;
5652                    }
5653                }
5654            }
5655        }
5656    }
5657
5658    group { name: "elm/frame/base/pad_large";
5659        parts {
5660            part { name: "b0";
5661                mouse_events:  0;
5662                type: RECT;
5663                scale: 1;
5664                description { state: "default" 0.0;
5665                    visible: 0;
5666                    min: 16 16;
5667                    max: 16 16;
5668                    align: 0.0 0.0;
5669                }
5670            }
5671            part { name: "b1";
5672                mouse_events:  0;
5673                type: RECT;
5674                scale: 1;
5675                description { state: "default" 0.0;
5676                    visible: 0;
5677                    min: 16 16;
5678                    max: 16 16;
5679                    align: 1.0 1.0;
5680                }
5681            }
5682            part { name: "elm.swallow.content";
5683                type: SWALLOW;
5684                description { state: "default" 0.0;
5685                    rel1 {
5686                        to: "b0";
5687                        relative: 1.0 1.0;
5688                        offset: 0 0;
5689                    }
5690                    rel2 {
5691                        to: "b1";
5692                        relative: 0.0 0.0;
5693                        offset: -1 -1;
5694                    }
5695                }
5696            }
5697        }
5698    }
5699
5700    group { name: "elm/frame/base/pad_huge";
5701        parts {
5702            part { name: "b0";
5703                mouse_events:  0;
5704                type: RECT;
5705                scale: 1;
5706                description { state: "default" 0.0;
5707                    visible: 0;
5708                    min: 32 32;
5709                    max: 32 32;
5710                    align: 0.0 0.0;
5711                }
5712            }
5713            part { name: "b1";
5714                mouse_events:  0;
5715                type: RECT;
5716                scale: 1;
5717                description { state: "default" 0.0;
5718                    visible: 0;
5719                    min: 32 32;
5720                    max: 32 32;
5721                    align: 1.0 1.0;
5722                }
5723            }
5724            part { name: "elm.swallow.content";
5725                type: SWALLOW;
5726                description { state: "default" 0.0;
5727                    rel1 {
5728                        to: "b0";
5729                        relative: 1.0 1.0;
5730                        offset: 0 0;
5731                    }
5732                    rel2 {
5733                        to: "b1";
5734                        relative: 0.0 0.0;
5735                        offset: -1 -1;
5736                    }
5737                }
5738            }
5739        }
5740    }
5741
5742    group { name: "elm/frame/base/outdent_top";
5743        images {
5744            image: "outdent-top.png" COMP;
5745        }
5746        parts {
5747            part { name: "base0";
5748                mouse_events:  0;
5749                description { state: "default" 0.0;
5750                    image.normal: "outdent-top.png";
5751                    image.border: 0 0 0 13;
5752                    fill.smooth: 0;
5753                }
5754            }
5755            part { name: "elm.swallow.content";
5756                type: SWALLOW;
5757                description { state: "default" 0.0;
5758                    rel1.offset: 2 2;
5759                    rel2.offset: -3 -13;
5760                }
5761            }
5762        }
5763    }
5764
5765    group { name: "elm/frame/base/outdent_bottom";
5766        images {
5767            image: "outdent-bottom.png" COMP;
5768        }
5769        parts {
5770            part { name: "base0";
5771                mouse_events:  0;
5772                description { state: "default" 0.0;
5773                    image.normal: "outdent-bottom.png";
5774                    image.border: 0 0 13 0;
5775                    fill.smooth: 0;
5776                }
5777            }
5778            part { name: "elm.swallow.content";
5779                type: SWALLOW;
5780                description { state: "default" 0.0;
5781                    rel1.offset: 2 12;
5782                    rel2.offset: -3 -3;
5783                }
5784            }
5785        }
5786    }
5787
5788 ///////////////////////////////////////////////////////////////////////////////
5789    group { name: "elm/label/base/tooltip";
5790       styles {
5791          style { name: "tooltip_style";
5792             base: "font=Sans font_size=8 color=#666 wrap=word";
5793             tag:  "br" "\n";
5794             tag:  "hilight" "+ font=Sans:style=Bold";
5795             tag:  "b" "+ font=Sans:style=Bold";
5796             tag:  "tab" "\t";
5797          }
5798       }
5799       parts {
5800          part { name: "elm.text";
5801             type: TEXTBLOCK;
5802             mouse_events: 0;
5803             scale: 1;
5804             description { state: "default" 0.0;
5805                text {
5806                   style: "tooltip_style";
5807                   min: 1 1;
5808                }
5809             }
5810          }
5811       }
5812    }
5813
5814    group { name: "elm/tooltip/base/default";
5815        min: 30 30;
5816        data {
5817            item: "pad_x" "20";
5818            item: "pad_y" "20";
5819            item: "pad_border_x" "10";
5820            item: "pad_border_y" "10";
5821            item: "hide_timeout" "0.35"; /**< tooltip is hidden after this amount, keep in sync with hide animations */
5822        }
5823        images {
5824            image: "tooltip-base.png" COMP;
5825            image: "tooltip-corner-top-left-tip.png" COMP;
5826            image: "tooltip-corner-top-right-tip.png" COMP;
5827            image: "tooltip-corner-bottom-left-tip.png" COMP;
5828            image: "tooltip-corner-bottom-right-tip.png" COMP;
5829            image: "tooltip-edge-left-tip.png" COMP;
5830            image: "tooltip-edge-right-tip.png" COMP;
5831            image: "tooltip-edge-bottom-tip.png" COMP;
5832            image: "tooltip-edge-top-tip.png" COMP;
5833        }
5834        script {
5835           hide_corners() {
5836              set_state(PART:"corner-top-left", "default", 0.0);
5837              set_state(PART:"corner-top-right", "default", 0.0);
5838              set_state(PART:"corner-bottom-left", "default", 0.0);
5839              set_state(PART:"corner-bottom-right", "default", 0.0);
5840           }
5841           hide_edges() {
5842              set_state(PART:"clipper-edge-left", "default", 0.0);
5843              set_state(PART:"clipper-edge-right", "default", 0.0);
5844              set_state(PART:"clipper-edge-top", "default", 0.0);
5845              set_state(PART:"clipper-edge-bottom", "default", 0.0);
5846           }
5847
5848           show_corner_top_left() {
5849              set_state(PART:"corner-top-left", "visible", 0.0);
5850
5851              set_state(PART:"corner-top-right", "default", 0.0);
5852              set_state(PART:"corner-bottom-left", "default", 0.0);
5853              set_state(PART:"corner-bottom-right", "default", 0.0);
5854              hide_edges();
5855           }
5856           show_corner_top_right() {
5857              set_state(PART:"corner-top-right", "visible", 0.0);
5858
5859              set_state(PART:"corner-top-left", "default", 0.0);
5860              set_state(PART:"corner-bottom-left", "default", 0.0);
5861              set_state(PART:"corner-bottom-right", "default", 0.0);
5862              hide_edges();
5863           }
5864
5865           show_corner_bottom_left() {
5866              set_state(PART:"corner-bottom-left", "visible", 0.0);
5867
5868              set_state(PART:"corner-bottom-right", "default", 0.0);
5869              set_state(PART:"corner-top-left", "default", 0.0);
5870              set_state(PART:"corner-top-right", "default", 0.0);
5871              hide_edges();
5872           }
5873           show_corner_bottom_right() {
5874              set_state(PART:"corner-bottom-right", "visible", 0.0);
5875
5876              set_state(PART:"corner-bottom-left", "default", 0.0);
5877              set_state(PART:"corner-top-left", "default", 0.0);
5878              set_state(PART:"corner-top-right", "default", 0.0);
5879              hide_edges();
5880           }
5881
5882           show_edge_left(Float:val) {
5883              set_state(PART:"clipper-edge-left", "visible", 0.0);
5884              set_drag(PART:"edge-drag-left", 0.0, val);
5885
5886              set_state(PART:"clipper-edge-right", "default", 0.0);
5887              set_state(PART:"clipper-edge-top", "default", 0.0);
5888              set_state(PART:"clipper-edge-bottom", "default", 0.0);
5889              hide_corners();
5890           }
5891           show_edge_right(Float:val) {
5892              set_state(PART:"clipper-edge-right", "visible", 0.0);
5893              set_drag(PART:"edge-drag-right", 0.0, val);
5894
5895              set_state(PART:"clipper-edge-left", "default", 0.0);
5896              set_state(PART:"clipper-edge-top", "default", 0.0);
5897              set_state(PART:"clipper-edge-bottom", "default", 0.0);
5898              hide_corners();
5899           }
5900
5901           show_edge_top(Float:val) {
5902              set_state(PART:"clipper-edge-top", "visible", 0.0);
5903              set_drag(PART:"edge-drag-top", val, 0.0);
5904
5905              set_state(PART:"clipper-edge-bottom", "default", 0.0);
5906              set_state(PART:"clipper-edge-left", "default", 0.0);
5907              set_state(PART:"clipper-edge-right", "default", 0.0);
5908              hide_corners();
5909           }
5910           show_edge_bottom(Float:val) {
5911              set_state(PART:"clipper-edge-bottom", "visible", 0.0);
5912              set_drag(PART:"edge-drag-bottom", val, 0.0);
5913
5914              set_state(PART:"clipper-edge-top", "default", 0.0);
5915              set_state(PART:"clipper-edge-left", "default", 0.0);
5916              set_state(PART:"clipper-edge-right", "default", 0.0);
5917              hide_corners();
5918           }
5919
5920           public message(Msg_Type:type, id, ...) {
5921              if ((type == MSG_FLOAT_SET) && (id == 1)) {
5922                 new Float:x, Float:y;
5923
5924                 x = getfarg(2);
5925                 y = getfarg(3);
5926
5927                 if (x < 0.0)
5928                   {
5929                      if (y < 0.0)      show_corner_top_left();
5930                      else if (y > 1.0) show_corner_bottom_left();
5931                      else              show_edge_left(y);
5932                   }
5933                 else if (x > 1.0)
5934                   {
5935                      if (y < 0.0)      show_corner_top_right();
5936                      else if (y > 1.0) show_corner_bottom_right();
5937                      else              show_edge_right(y);
5938                   }
5939                 else
5940                   {
5941                      if (y < 0.0)      show_edge_top(x);
5942                      else if (y > 1.0) show_edge_bottom(x);
5943                      else
5944                        {
5945                           hide_corners();
5946                           hide_edges();
5947                        }
5948                   }
5949              }
5950           }
5951        }
5952        parts {
5953            part { name: "clipper";
5954                type: RECT;
5955                description { state: "default" 0.0;
5956                    color: 255 255 255 0;
5957                    rel1.to: "elm.swallow.content";
5958                    rel1.offset: -64 -64;
5959                    rel2.to: "elm.swallow.content";
5960                    rel2.offset: 63 63;
5961                }
5962                description { state: "visible" 0.0;
5963                    inherit: "default" 0.0;
5964                    color: 255 255 255 255;
5965                }
5966            }
5967            part { name: "pop";
5968                mouse_events: 0;
5969                clip_to: "clipper";
5970                description { state: "default" 0.0;
5971                    min: 30 30;
5972                    rel1 {
5973                        to: "elm.swallow.content";
5974                        offset: -15 -15;
5975                    }
5976                    rel2 {
5977                        to: "elm.swallow.content";
5978                        offset: 14 14;
5979                    }
5980                    image {
5981                        normal: "tooltip-base.png";
5982                        border: 14 14 14 14;
5983                    }
5984                    image.middle: SOLID;
5985                }
5986            }
5987
5988 #define TT_CORNER(name_, rx, ry, ax, ay, ox, oy)                        \
5989            part { name: "corner-"name_;                                 \
5990               type: IMAGE;                                              \
5991               mouse_events: 0;                                          \
5992               clip_to: "clipper";                                       \
5993               description { state: "default" 0.0;                       \
5994                  color: 255 255 255 0;                                  \
5995                  visible: 0;                                            \
5996                  min: 14 14;                                            \
5997                  max: 14 14;                                            \
5998                  align: ax ay;                                          \
5999                  fixed: 1 1;                                            \
6000                  rel1 {                                                 \
6001                     relative: rx ry;                                    \
6002                     offset: ox oy;                                      \
6003                     to: "elm.swallow.content";                          \
6004                  }                                                      \
6005                  rel2 {                                                 \
6006                     relative: rx ry;                                    \
6007                     offset: ox oy;                                      \
6008                     to: "elm.swallow.content";                          \
6009                  }                                                      \
6010                  image.normal: "tooltip-corner-"name_"-tip.png";        \
6011               }                                                         \
6012               description { state: "visible" 0.0;                       \
6013                  inherit: "default" 0.0;                                \
6014                  color: 255 255 255 255;                                \
6015                  visible: 1;                                            \
6016               }                                                         \
6017            }
6018            TT_CORNER("top-left", 0, 0, 1, 1, 4, 4);
6019            TT_CORNER("top-right", 1, 0, 0, 1, -5, 4);
6020            TT_CORNER("bottom-left", 0, 1, 1, 0, 4, -5);
6021            TT_CORNER("bottom-right", 1, 1, 0, 0, -5, -5);
6022 #undef TT_CORNER
6023
6024 #define TT_EDGE_VERT(name_, rx, ax, ox)                                 \
6025            part { name: "clipper-edge-"name_;                           \
6026               type: RECT;                                               \
6027               clip_to: "clipper";                                       \
6028               description { state: "default" 0.0;                       \
6029                  color: 255 255 255 0;                                  \
6030                  visible: 0;                                            \
6031                  min: 14 14;                                            \
6032                  align: ax 0.5;                                         \
6033                  fixed: 1 1;                                            \
6034                  rel1 {                                                 \
6035                     relative: rx 0.0;                                   \
6036                     offset: ox 0;                                       \
6037                     to: "elm.swallow.content";                          \
6038                  }                                                      \
6039                  rel2 {                                                 \
6040                     relative: rx 1.0;                                   \
6041                     offset: ox 0;                                       \
6042                     to: "elm.swallow.content";                          \
6043                  }                                                      \
6044               }                                                         \
6045               description { state: "visible" 0.0;                       \
6046                  inherit: "default" 0.0;                                \
6047                  color: 255 255 255 255;                                \
6048                  visible: 1;                                            \
6049               }                                                         \
6050            }                                                            \
6051            part { name: "edge-area-"name_;                              \
6052               type: RECT;                                               \
6053               mouse_events: 0;                                          \
6054               clip_to: "clipper-edge-"name_;                            \
6055               description { state: "default" 0.0;                       \
6056                  color: 0 0 0 0;                                        \
6057                  min: 14 14;                                            \
6058                  align: ax 0.5;                                         \
6059                  fixed: 1 1;                                            \
6060                  rel1 {                                                 \
6061                     relative: rx 0.0;                                   \
6062                     offset: ox 0;                                       \
6063                     to: "elm.swallow.content";                          \
6064                  }                                                      \
6065                  rel2 {                                                 \
6066                     relative: rx 1.0;                                   \
6067                     offset: ox 0;                                       \
6068                     to: "elm.swallow.content";                          \
6069                  }                                                      \
6070               }                                                         \
6071            }                                                            \
6072            part { name: "edge-drag-"name_;                              \
6073               type: RECT;                                               \
6074               mouse_events: 0;                                          \
6075               clip_to: "clipper-edge-"name_;                            \
6076               dragable {                                                \
6077                   x: 0 0 0;                                             \
6078                   y: 1 1 0;                                             \
6079                   confine: "edge-area-"name_;                           \
6080               }                                                         \
6081               description { state: "default" 0.0;                       \
6082                  color: 0 0 0 0;                                        \
6083                  min: 14 14;                                            \
6084                  rel1.to: "edge-area-"name_;                            \
6085                  rel2.to: "edge-area-"name_;                            \
6086               }                                                         \
6087            }                                                            \
6088            part { name: "edge-img-"name_;                               \
6089               type: IMAGE;                                              \
6090               mouse_events: 0;                                          \
6091               clip_to: "clipper-edge-"name_;                            \
6092               description { state: "default" 0.0;                       \
6093                  min: 14 14;                                            \
6094                  max: 14 14;                                            \
6095                  align: ax 0.5;                                         \
6096                  fixed: 1 1;                                            \
6097                  rel1.to: "edge-drag-"name_;                            \
6098                  rel2.to: "edge-drag-"name_;                            \
6099                  image.normal: "tooltip-edge-"name_"-tip.png";          \
6100               }                                                         \
6101            }
6102            TT_EDGE_VERT("left", 0, 1, -2);
6103            TT_EDGE_VERT("right", 1, 0, 1);
6104 #undef TT_EDGE_VERT
6105
6106 #define TT_EDGE_HORIZ(name_, ry, ay, oy)                                \
6107            part { name: "clipper-edge-"name_;                           \
6108               type: RECT;                                               \
6109               clip_to: "clipper";                                       \
6110               description { state: "default" 0.0;                       \
6111                  color: 255 255 255 0;                                  \
6112                  visible: 0;                                            \
6113                  min: 14 14;                                            \
6114                  align: 0.5 ay;                                         \
6115                  fixed: 1 1;                                            \
6116                  rel1 {                                                 \
6117                     relative: 0.0 ry;                                   \
6118                     offset: 0 oy;                                       \
6119                     to: "elm.swallow.content";                          \
6120                  }                                                      \
6121                  rel2 {                                                 \
6122                     relative: 1.0 ry;                                   \
6123                     offset: 0 oy;                                       \
6124                     to: "elm.swallow.content";                          \
6125                  }                                                      \
6126               }                                                         \
6127               description { state: "visible" 0.0;                       \
6128                  inherit: "default" 0.0;                                \
6129                  color: 255 255 255 255;                                \
6130                  visible: 1;                                            \
6131               }                                                         \
6132            }                                                            \
6133            part { name: "edge-area-"name_;                              \
6134               type: RECT;                                               \
6135               mouse_events: 0;                                          \
6136               clip_to: "clipper-edge-"name_;                            \
6137               description { state: "default" 0.0;                       \
6138                  color: 0 0 0 0;                                        \
6139                  min: 14 14;                                            \
6140                  align: 0.5 ay;                                         \
6141                  fixed: 1 1;                                            \
6142                  rel1 {                                                 \
6143                     relative: 0.0 ry;                                   \
6144                     offset: 0 oy;                                       \
6145                     to: "elm.swallow.content";                          \
6146                  }                                                      \
6147                  rel2 {                                                 \
6148                     relative: 1.0 ry;                                   \
6149                     offset: 0 oy;                                       \
6150                     to: "elm.swallow.content";                          \
6151                  }                                                      \
6152               }                                                         \
6153            }                                                            \
6154            part { name: "edge-drag-"name_;                              \
6155               type: RECT;                                               \
6156               mouse_events: 0;                                          \
6157               clip_to: "clipper-edge-"name_;                            \
6158               dragable {                                                \
6159                   x: 1 1 0;                                             \
6160                   y: 0 0 0;                                             \
6161                   confine: "edge-area-"name_;                           \
6162               }                                                         \
6163               description { state: "default" 0.0;                       \
6164                  color: 0 0 0 0;                                        \
6165                  min: 14 14;                                            \
6166                  rel1.to: "edge-area-"name_;                            \
6167                  rel2.to: "edge-area-"name_;                            \
6168               }                                                         \
6169            }                                                            \
6170            part { name: "edge-img-"name_;                               \
6171               type: IMAGE;                                              \
6172               mouse_events: 0;                                          \
6173               clip_to: "clipper-edge-"name_;                            \
6174               description { state: "default" 0.0;                       \
6175                  min: 14 14;                                            \
6176                  max: 14 14;                                            \
6177                  align: 0.5 ay;                                         \
6178                  fixed: 1 1;                                            \
6179                  rel1.to: "edge-drag-"name_;                            \
6180                  rel2.to: "edge-drag-"name_;                            \
6181                  image.normal: "tooltip-edge-"name_"-tip.png";          \
6182               }                                                         \
6183            }
6184            TT_EDGE_HORIZ("top", 0, 1, -2);
6185            TT_EDGE_HORIZ("bottom", 1, 0, 1);
6186 #undef TT_EDGE_HORIZ
6187
6188            part { name: "clipper_content";
6189                type: RECT;
6190                description { state: "default" 0.0;
6191                    color: 255 255 255 0;
6192                    rel1.to: "elm.swallow.content";
6193                    rel1.offset: -64 -64;
6194                    rel2.to: "elm.swallow.content";
6195                    rel2.offset: 63 63;
6196                }
6197                description { state: "visible" 0.0;
6198                    inherit: "default" 0.0;
6199                    color: 255 255 255 255;
6200                }
6201            }
6202            part { name: "elm.swallow.content";
6203                type: SWALLOW;
6204                clip_to: "clipper_content";
6205                description { state: "default" 0.0; }
6206            }
6207            programs {
6208                program {
6209                    name: "show0";
6210                    signal: "elm,action,show";
6211                    source: "elm";
6212                    action: ACTION_STOP;
6213                    target: "hide0";
6214                    target: "hide1";
6215                    target: "hide2";
6216                    target: "hide3";
6217                    after: "show1";
6218                    after: "show2";
6219                }
6220                program {
6221                    name: "show1";
6222                    action: STATE_SET "visible" 0.0;
6223                    transition: LINEAR 0.15;
6224                    target: "clipper";
6225                }
6226                program {
6227                    name: "show2";
6228                    in: 0.1 0.0;
6229                    action: STATE_SET "visible" 0.0;
6230                    transition: LINEAR 0.15;
6231                    target: "clipper_content";
6232                }
6233
6234                program {
6235                    name: "hide0";
6236                    signal: "elm,action,hide";
6237                    source: "elm";
6238                    action: ACTION_STOP;
6239                    target: "show0";
6240                    target: "show1";
6241                    target: "show2";
6242                    after: "hide1";
6243                    after: "hide2";
6244                    after: "hide3";
6245                }
6246                program {
6247                    name: "hide1";
6248                    script {
6249                       hide_corners();
6250                       hide_edges();
6251                    }
6252                }
6253                program {
6254                    name: "hide2";
6255                    action: STATE_SET "default" 0.0;
6256                    transition: LINEAR 0.1;
6257                    target: "clipper_content";
6258                }
6259                program {
6260                    name: "hide3";
6261                    in: 0.1 0.0;
6262                    action: STATE_SET "default" 0.0;
6263                    transition: LINEAR 0.1;
6264                    target: "clipper";
6265                }
6266            }
6267        }
6268    }
6269    group { name: "elm/tooltip/base/transparent";
6270       parts {
6271          part { name: "elm.swallow.content";
6272             type: SWALLOW;
6273             mouse_events:   0;
6274             scale: 1;
6275             description { state: "default" 0.0; }
6276          }
6277       }
6278    }
6279
6280 ///////////////////////////////////////////////////////////////////////////////
6281
6282    /* TODO: replicate diagonal swallow slots to the other hover styles */
6283    group { name: "elm/hover/base/default";
6284       images {
6285          image: "shad_circ.png" COMP;
6286       }
6287       parts {
6288          part { name: "elm.swallow.offset";
6289             type: SWALLOW;
6290             description { state: "default" 0.0;
6291                align: 0.0 0.0;
6292                rel1.relative: 0.0 0.0;
6293                rel2.relative: 0.0 0.0;
6294             }
6295          }
6296          part { name: "elm.swallow.size";
6297             type: SWALLOW;
6298             description { state: "default" 0.0;
6299                align: 0.0 0.0;
6300                rel1.to: "elm.swallow.offset";
6301                rel1.relative: 1.0 1.0;
6302                rel2.to: "elm.swallow.offset";
6303                rel2.relative: 1.0 1.0;
6304             }
6305          }
6306          part { name: "base";
6307             type: RECT;
6308             mouse_events: 1;
6309             description { state: "default" 0.0;
6310                color: 0 0 0 64;
6311             }
6312          }
6313          part { name: "shad";
6314             mouse_events:  0;
6315             description { state: "default" 0.0;
6316                image.normal: "shad_circ.png";
6317                rel1.to: "elm.swallow.size";
6318                rel1.offset: -32 -32;
6319                rel2.to: "elm.swallow.size";
6320                rel2.offset: 31 31;
6321                fill.smooth: 0;
6322             }
6323          }
6324          part { name: "box";
6325             type: RECT;
6326             mouse_events: 0;
6327             description { state: "default" 0.0;
6328                color: 0 0 0 0;
6329                rel1.to: "elm.swallow.size";
6330                rel1.offset: -2 -2;
6331                rel2.to: "elm.swallow.size";
6332                rel2.offset: 1 1;
6333             }
6334          }
6335          part { name: "elm.swallow.slot.left";
6336             type: SWALLOW;
6337             description { state: "default" 0.0;
6338                align: 1.0 0.5;
6339                rel1.to: "elm.swallow.slot.middle";
6340                rel1.relative: 0.0 0.0;
6341                rel1.offset: -1 0;
6342                rel2.to: "elm.swallow.slot.middle";
6343                rel2.relative: 0.0 1.0;
6344                rel2.offset: -1 -1;
6345             }
6346          }
6347          part { name: "elm.swallow.slot.top-left";
6348             type: SWALLOW;
6349             description { state: "default" 0.0;
6350                align: 1.0 1.0;
6351                rel1.to: "elm.swallow.slot.middle";
6352                rel1.relative: 0.0 0.0;
6353                rel1.offset: 0 0;
6354                rel2.to: "elm.swallow.slot.middle";
6355                rel2.relative: 0.0 0.0;
6356                rel2.offset: -1 -1;
6357             }
6358          }
6359          part { name: "elm.swallow.slot.top";
6360             type: SWALLOW;
6361             description { state: "default" 0.0;
6362                align: 0.5 1.0;
6363                rel1.to: "elm.swallow.slot.middle";
6364                rel1.relative: 0.0 0.0;
6365                rel1.offset: 0 -1;
6366                rel2.to: "elm.swallow.slot.middle";
6367                rel2.relative: 1.0 0.0;
6368                rel2.offset: -1 -1;
6369             }
6370          }
6371          part { name: "elm.swallow.slot.top-right";
6372             type: SWALLOW;
6373             description { state: "default" 0.0;
6374                align: 0.0 1.0;
6375                rel1.to: "elm.swallow.slot.middle";
6376                rel1.relative: 1.0 0.0;
6377                rel1.offset: 0 0;
6378                rel2.to: "elm.swallow.slot.middle";
6379                rel2.relative: 1.0 0.0;
6380                rel2.offset: -1 -1;
6381             }
6382          }
6383          part { name: "elm.swallow.slot.right";
6384             type: SWALLOW;
6385             description { state: "default" 0.0;
6386                align: 0.0 0.5;
6387                rel1.to: "elm.swallow.slot.middle";
6388                rel1.relative: 1.0 0.0;
6389                rel1.offset: 0 0;
6390                rel2.to: "elm.swallow.slot.middle";
6391                rel2.relative: 1.0 1.0;
6392                rel2.offset: 0 -1;
6393             }
6394          }
6395          part { name: "elm.swallow.slot.bottom-right";
6396             type: SWALLOW;
6397             description { state: "default" 0.0;
6398                align: 0.0 0.0;
6399                rel1.to: "elm.swallow.slot.middle";
6400                rel1.relative: 1.0 1.0;
6401                rel1.offset: 0 0;
6402                rel2.to: "elm.swallow.slot.middle";
6403                rel2.relative: 1.0 1.0;
6404                rel2.offset: -1 -1;
6405             }
6406          }
6407          part { name: "elm.swallow.slot.bottom";
6408             type: SWALLOW;
6409             description { state: "default" 0.0;
6410                align: 0.5 0.0;
6411                rel1.to: "elm.swallow.slot.middle";
6412                rel1.relative: 0.0 1.0;
6413                rel1.offset: 0 0;
6414                rel2.to: "elm.swallow.slot.middle";
6415                rel2.relative: 1.0 1.0;
6416                rel2.offset: -1 0;
6417             }
6418          }
6419          part { name: "elm.swallow.slot.bottom-left";
6420             type: SWALLOW;
6421             description { state: "default" 0.0;
6422                align: 1.0 0.0;
6423                rel1.to: "elm.swallow.slot.middle";
6424                rel1.relative: 0.0 1.0;
6425                rel1.offset: 0 0;
6426                rel2.to: "elm.swallow.slot.middle";
6427                rel2.relative: 0.0 1.0;
6428                rel2.offset: -1 0;
6429             }
6430          }
6431          part { name: "elm.swallow.slot.middle";
6432             type: SWALLOW;
6433             description { state: "default" 0.0;
6434                rel1.to: "elm.swallow.size";
6435                rel2.to: "elm.swallow.size";
6436             }
6437          }
6438       }
6439       programs {
6440          program { name: "end";
6441             signal: "mouse,up,1";
6442             source: "base";
6443             action: SIGNAL_EMIT "elm,action,dismiss" "";
6444          }
6445       }
6446    }
6447
6448    group { name: "elm/hover/base/popout";
6449       images {
6450          image: "shad_circ.png" COMP;
6451          image: "bt_dis_base.png" COMP;
6452          image: "bt_dis_hilight.png" COMP;
6453       }
6454       parts {
6455          part { name: "elm.swallow.offset";
6456             type: SWALLOW;
6457             description { state: "default" 0.0;
6458                align: 0.0 0.0;
6459                rel1.relative: 0.0 0.0;
6460                rel2.relative: 0.0 0.0;
6461             }
6462          }
6463          part { name: "elm.swallow.size";
6464             type: SWALLOW;
6465             description { state: "default" 0.0;
6466                align: 0.0 0.0;
6467                rel1.to: "elm.swallow.offset";
6468                rel1.relative: 1.0 1.0;
6469                rel2.to: "elm.swallow.offset";
6470                rel2.relative: 1.0 1.0;
6471             }
6472          }
6473          part { name: "base";
6474             type: RECT;
6475             mouse_events: 1;
6476             description { state: "default" 0.0;
6477                color: 0 0 0 0;
6478             }
6479             description { state: "visible" 0.0;
6480                inherit: "default" 1.0;
6481                color: 0 0 0 64;
6482             }
6483          }
6484          part { name: "leftclip";
6485             type: RECT;
6486             description { state: "default" 0.0;
6487                rel2.to_x: "pop";
6488                rel2.relative: 0.0 1.0;
6489                rel2.offset: 1 -1;
6490             }
6491          }
6492          part { name: "left";
6493             clip_to: "leftclip";
6494             description { state: "default" 0.0;
6495                visible: 0;
6496                rel1.to: "elm.swallow.slot.left";
6497                rel1.offset: -5 -5;
6498                rel2.to: "elm.swallow.slot.left";
6499                rel2.offset: 4 4;
6500                image {
6501                   normal: "bt_dis_base.png";
6502                   border: 4 4 4 4;
6503                }
6504                image.middle: SOLID;
6505             }
6506             description { state: "visible" 0.0;
6507                inherit: "default" 0.0;
6508                visible: 1;
6509             }
6510          }
6511          part { name: "elm.swallow.slot.left";
6512             type: SWALLOW;
6513             clip_to: "leftclip";
6514             description { state: "default" 0.0;
6515                align: 0.0 0.5;
6516                rel1.to: "elm.swallow.slot.middle";
6517                rel1.relative: 0.0 0.0;
6518                rel1.offset: -1 0;
6519                rel2.to: "elm.swallow.slot.middle";
6520                rel2.relative: 0.0 1.0;
6521                rel2.offset: -1 -1;
6522             }
6523             description { state: "visible" 0.0;
6524                inherit: "default" 0.0;
6525                rel1.offset: -7 0;
6526                rel2.offset: -7 -1;
6527                align: 1.0 0.5;
6528             }
6529          }
6530          part { name: "leftover";
6531             clip_to: "leftclip";
6532             mouse_events: 0;
6533             description { state: "default" 0.0;
6534                rel1.to: "left";
6535                rel2.to: "left";
6536                rel2.relative: 1.0 0.5;
6537                image {
6538                   normal: "bt_dis_hilight.png";
6539                   border: 4 4 4 0;
6540                }
6541             }
6542          }
6543          part { name: "rightclip";
6544             type: RECT;
6545             description { state: "default" 0.0;
6546                rel1.to_x: "pop";
6547                rel1.relative: 1.0 0.0;
6548                rel1.offset: -2 0;
6549             }
6550          }
6551          part { name: "right";
6552             clip_to: "rightclip";
6553             description { state: "default" 0.0;
6554                visible: 0;
6555                rel1.to: "elm.swallow.slot.right";
6556                rel1.offset: -5 -5;
6557                rel2.to: "elm.swallow.slot.right";
6558                rel2.offset: 4 4;
6559                image {
6560                   normal: "bt_dis_base.png";
6561                   border: 4 4 4 4;
6562                }
6563                image.middle: SOLID;
6564             }
6565             description { state: "visible" 0.0;
6566                inherit: "default" 0.0;
6567                visible: 1;
6568             }
6569          }
6570          part { name: "elm.swallow.slot.right";
6571             type: SWALLOW;
6572             clip_to: "rightclip";
6573             description { state: "default" 0.0;
6574                align: 1.0 0.5;
6575                rel1.to: "elm.swallow.slot.middle";
6576                rel1.relative: 1.0 0.0;
6577                rel1.offset: 0 0;
6578                rel2.to: "elm.swallow.slot.middle";
6579                rel2.relative: 1.0 1.0;
6580                rel2.offset: 0 -1;
6581             }
6582             description { state: "visible" 0.0;
6583                inherit: "default" 0.0;
6584                rel1.offset: 6 0;
6585                rel2.offset: 6 -1;
6586                align: 0.0 0.5;
6587             }
6588          }
6589          part { name: "rightover";
6590             clip_to: "rightclip";
6591             mouse_events: 0;
6592             description { state: "default" 0.0;
6593                rel1.to: "right";
6594                rel2.to: "right";
6595                rel2.relative: 1.0 0.5;
6596                image {
6597                   normal: "bt_dis_hilight.png";
6598                   border: 4 4 4 0;
6599                }
6600             }
6601          }
6602          part { name: "topclip";
6603             type: RECT;
6604             description { state: "default" 0.0;
6605                rel2.to_y: "pop";
6606                rel2.relative: 1.0 0.0;
6607                rel2.offset: -1 1;
6608             }
6609          }
6610          part { name: "top";
6611             clip_to: "topclip";
6612             description { state: "default" 0.0;
6613                visible: 0;
6614                rel1.to: "elm.swallow.slot.top";
6615                rel1.offset: -5 -5;
6616                rel2.to: "elm.swallow.slot.top";
6617                rel2.offset: 4 4;
6618                image {
6619                   normal: "bt_dis_base.png";
6620                   border: 4 4 4 4;
6621                }
6622                image.middle: SOLID;
6623             }
6624             description { state: "visible" 0.0;
6625                inherit: "default" 0.0;
6626                visible: 1;
6627             }
6628          }
6629          part { name: "elm.swallow.slot.top";
6630             type: SWALLOW;
6631             clip_to: "topclip";
6632             description { state: "default" 0.0;
6633                visible: 1;
6634                align: 0.5 0.0;
6635                rel1.to: "elm.swallow.slot.middle";
6636                rel1.relative: 0.0 0.0;
6637                rel1.offset: 0 -1;
6638                rel2.to: "elm.swallow.slot.middle";
6639                rel2.relative: 1.0 0.0;
6640                rel2.offset: -1 -1;
6641             }
6642             description { state: "visible" 0.0;
6643                inherit: "default" 0.0;
6644                rel1.offset: 0 -7;
6645                rel2.offset: -1 -7;
6646                align: 0.5 1.0;
6647             }
6648          }
6649          part { name: "topover";
6650             clip_to: "topclip";
6651             mouse_events: 0;
6652             description { state: "default" 0.0;
6653                rel1.to: "top";
6654                rel2.to: "top";
6655                rel2.relative: 1.0 0.5;
6656                image {
6657                   normal: "bt_dis_hilight.png";
6658                   border: 4 4 4 0;
6659                }
6660             }
6661          }
6662          part { name: "bottomclip";
6663             type: RECT;
6664             description { state: "default" 0.0;
6665                rel1.to_y: "pop";
6666                rel1.relative: 0.0 1.0;
6667                rel1.offset: -1 -2;
6668             }
6669          }
6670          part { name: "bottom";
6671             clip_to: "bottomclip";
6672             description { state: "default" 0.0;
6673                visible: 0;
6674                rel1.to: "elm.swallow.slot.bottom";
6675                rel1.offset: -5 -5;
6676                rel2.to: "elm.swallow.slot.bottom";
6677                rel2.offset: 4 4;
6678                image {
6679                   normal: "bt_dis_base.png";
6680                   border: 4 4 4 4;
6681                }
6682                image.middle: SOLID;
6683             }
6684             description { state: "visible" 0.0;
6685                inherit: "default" 0.0;
6686                visible: 1;
6687             }
6688          }
6689          part { name: "elm.swallow.slot.bottom";
6690             type: SWALLOW;
6691             clip_to: "bottomclip";
6692             description { state: "default" 0.0;
6693                align: 0.5 1.0;
6694                rel1.to: "elm.swallow.slot.middle";
6695                rel1.relative: 0.0 1.0;
6696                rel1.offset: 0 0;
6697                rel2.to: "elm.swallow.slot.middle";
6698                rel2.relative: 1.0 1.0;
6699                rel2.offset: -1 0;
6700             }
6701             description { state: "visible" 0.0;
6702                inherit: "default" 0.0;
6703                rel1.offset: 0 6;
6704                rel2.offset: -1 6;
6705                align: 0.5 0.0;
6706             }
6707          }
6708          part { name: "bottomover";
6709             clip_to: "bottomclip";
6710             mouse_events: 0;
6711             description { state: "default" 0.0;
6712                rel1.to: "bottom";
6713                rel2.to: "bottom";
6714                rel2.relative: 1.0 0.5;
6715                image {
6716                   normal: "bt_dis_hilight.png";
6717                   border: 4 4 4 0;
6718                }
6719             }
6720          }
6721          part { name: "shad";
6722             mouse_events:  0;
6723             description { state: "default" 0.0;
6724                image.normal: "shad_circ.png";
6725                rel1.to: "elm.swallow.size";
6726                rel1.offset: -64 -64;
6727                rel2.to: "elm.swallow.size";
6728                rel2.offset: 63 63;
6729                fill.smooth: 0;
6730             }
6731          }
6732          part { name: "pop";
6733             mouse_events: 1;
6734             description { state: "default" 0.0;
6735                rel1.to: "elm.swallow.slot.middle";
6736                rel1.offset: -5 -5;
6737                rel2.to: "elm.swallow.slot.middle";
6738                rel2.offset: 4 4;
6739                image {
6740                   normal: "bt_dis_base.png";
6741                   border: 4 4 4 4;
6742                }
6743                image.middle: SOLID;
6744             }
6745          }
6746          part { name: "elm.swallow.slot.middle";
6747             type: SWALLOW;
6748             description { state: "default" 0.0;
6749                rel1.to: "elm.swallow.size";
6750                rel2.to: "elm.swallow.size";
6751             }
6752          }
6753          part { name: "popover";
6754             mouse_events: 0;
6755             description { state: "default" 0.0;
6756                rel1.to: "pop";
6757                rel2.to: "pop";
6758                rel2.relative: 1.0 0.5;
6759                image {
6760                   normal: "bt_dis_hilight.png";
6761                   border: 4 4 4 0;
6762                }
6763             }
6764          }
6765       }
6766       programs {
6767          program { name: "end";
6768             signal: "mouse,up,1";
6769             source: "base";
6770             action: SIGNAL_EMIT "elm,action,dismiss" "";
6771          }
6772
6773          program { name: "show";
6774             signal: "elm,action,show";
6775             source: "elm";
6776             action: STATE_SET "visible" 0.0;
6777 //            transition: DECELERATE 0.5;
6778             target: "base";
6779          }
6780          program { name: "hide";
6781             signal: "elm,action,hide";
6782             source: "elm";
6783             action: STATE_SET "default" 0.0;
6784 //            transition: DECELERATE 0.5;
6785             target: "base";
6786          }
6787
6788          program { name: "leftshow";
6789             signal: "elm,action,slot,left,show";
6790             source: "elm";
6791             action: STATE_SET "visible" 0.0;
6792             transition: DECELERATE 0.5;
6793             target: "left";
6794             target: "elm.swallow.slot.left";
6795          }
6796          program { name: "lefthide";
6797             signal: "elm,action,slot,left,hide";
6798             source: "elm";
6799             action: STATE_SET "default" 0.0;
6800             transition: DECELERATE 0.5;
6801             target: "left";
6802             target: "elm.swallow.slot.left";
6803          }
6804          program { name: "rightshow";
6805             signal: "elm,action,slot,right,show";
6806             source: "elm";
6807             action: STATE_SET "visible" 0.0;
6808             transition: DECELERATE 0.5;
6809             target: "right";
6810             target: "elm.swallow.slot.right";
6811          }
6812          program { name: "righthide";
6813             signal: "elm,action,slot,right,hide";
6814             source: "elm";
6815             action: STATE_SET "default" 0.0;
6816             transition: DECELERATE 0.5;
6817             target: "right";
6818             target: "elm.swallow.slot.right";
6819          }
6820          program { name: "topshow";
6821             signal: "elm,action,slot,top,show";
6822             source: "elm";
6823             action: STATE_SET "visible" 0.0;
6824             transition: DECELERATE 0.5;
6825             target: "top";
6826             target: "elm.swallow.slot.top";
6827          }
6828          program { name: "tophide";
6829             signal: "elm,action,slot,top,hide";
6830             source: "elm";
6831             action: STATE_SET "default" 0.0;
6832             transition: DECELERATE 0.5;
6833             target: "top";
6834             target: "elm.swallow.slot.top";
6835          }
6836          program { name: "bottomshow";
6837             signal: "elm,action,slot,bottom,show";
6838             source: "elm";
6839             action: STATE_SET "visible" 0.0;
6840             transition: DECELERATE 0.5;
6841             target: "bottom";
6842             target: "elm.swallow.slot.bottom";
6843          }
6844          program { name: "bottomhide";
6845             signal: "elm,action,slot,bottom,hide";
6846             source: "elm";
6847             action: STATE_SET "default" 0.0;
6848             transition: DECELERATE 0.5;
6849             target: "bottom";
6850             target: "elm.swallow.slot.bottom";
6851          }
6852       }
6853    }
6854
6855    //In the hover used by the menu only the bottom part is used.
6856    group { name: "elm/hover/base/menu";
6857        images {
6858            image: "shad_circ.png" COMP;
6859            image: "bt_dis_base.png" COMP;
6860        }
6861        parts {
6862            part { name: "elm.swallow.offset";
6863                type: SWALLOW;
6864                description { state: "default" 0.0;
6865                    align: 0.0 0.0;
6866                    rel1.relative: 0.0 0.0;
6867                    rel2.relative: 0.0 0.0;
6868                }
6869            }
6870            part { name: "elm.swallow.size";
6871                type: SWALLOW;
6872                description { state: "default" 0.0;
6873                    align: 0.0 0.0;
6874                    rel1.to: "elm.swallow.offset";
6875                    rel1.relative: 1.0 1.0;
6876                    rel2.to: "elm.swallow.offset";
6877                    rel2.relative: 1.0 1.0;
6878                }
6879            }
6880            part { name: "base";
6881                type: RECT;
6882                mouse_events: 1;
6883                description { state: "default" 0.0;
6884                    color: 0 0 0 0;
6885                }
6886                description { state: "visible" 0.0;
6887                    inherit: "default" 1.0;
6888                    color: 0 0 0 64;
6889                }
6890            }
6891            part { name: "elm.swallow.slot.left";
6892                type: SWALLOW;
6893                description { state: "default" 0.0;
6894                }
6895            }
6896            part { name: "elm.swallow.slot.right";
6897                type: SWALLOW;
6898                description { state: "default" 0.0;
6899                }
6900            }
6901            part { name: "elm.swallow.slot.top";
6902                type: SWALLOW;
6903                description { state: "default" 0.0;
6904                }
6905                description { state: "visible" 0.0;
6906                    inherit: "default" 0.0;
6907                }
6908            }
6909            part { name: "bottomclip";
6910                type: RECT;
6911                description { state: "default" 0.0;
6912                    rel1.to_y: "pop";
6913                    rel1.relative: 0.0 1.0;
6914                    rel1.offset: -1 -2;
6915                }
6916            }
6917            part { name: "bottom";
6918                clip_to: "bottomclip";
6919                description { state: "default" 0.0;
6920                    visible: 0;
6921                    rel1.to: "elm.swallow.slot.bottom";
6922                    rel1.offset: -5 -5;
6923                    rel2.to: "elm.swallow.slot.bottom";
6924                    rel2.offset: 4 4;
6925                    image {
6926                        normal: "bt_dis_base.png";
6927                        border: 4 4 4 4;
6928                    }
6929                    image.middle: SOLID;
6930                }
6931                description { state: "visible" 0.0;
6932                    inherit: "default" 0.0;
6933                    visible: 1;
6934                }
6935            }
6936            part { name: "elm.swallow.slot.bottom";
6937                type: SWALLOW;
6938                clip_to: "bottomclip";
6939                description { state: "default" 0.0;
6940                    align: 0.5 1.0;
6941                    rel1.to: "elm.swallow.slot.middle";
6942                    rel1.relative: 0.0 1.0;
6943                    rel1.offset: 0 0;
6944                    rel2.to: "elm.swallow.slot.middle";
6945                    rel2.relative: 1.0 1.0;
6946                    rel2.offset: -1 0;
6947                }
6948                description { state: "visible" 0.0;
6949                    inherit: "default" 0.0;
6950                    rel1.offset: 0 6;
6951                    rel2.offset: -1 6;
6952                    align: 0.5 0.0;
6953                }
6954            }
6955            part { name: "pop";
6956                mouse_events: 1;
6957                repeat_events:1;
6958                description { state: "default" 0.0;
6959                    rel1.to: "elm.swallow.slot.middle";
6960                    rel1.offset: -5 -5;
6961                    rel2.to: "elm.swallow.slot.middle";
6962                    rel2.offset: 4 4;
6963                }
6964            }
6965            part { name: "elm.swallow.slot.middle";
6966                type: SWALLOW;
6967                repeat_events:1;
6968                description { state: "default" 0.0;
6969                    rel1.to: "elm.swallow.size";
6970                    rel2.to: "elm.swallow.size";
6971                }
6972            }
6973        }
6974        programs {
6975            program { name: "end";
6976                signal: "mouse,up,1";
6977                source: "base";
6978                action: SIGNAL_EMIT "elm,action,dismiss" "";
6979            }
6980            program { name: "show";
6981                signal: "elm,action,show";
6982                source: "elm";
6983                action: STATE_SET "visible" 0.0;
6984                        //            transition: DECELERATE 0.5;
6985                target: "base";
6986            }
6987            program { name: "hide";
6988                signal: "elm,action,hide";
6989                source: "elm";
6990                action: STATE_SET "default" 0.0;
6991                        //            transition: DECELERATE 0.5;
6992                target: "base";
6993            }
6994            program { name: "bottomshow";
6995                signal: "elm,action,slot,bottom,show";
6996                source: "elm";
6997                action: STATE_SET "visible" 0.0;
6998                transition: DECELERATE 0.3;
6999                target: "bottom";
7000                target: "elm.swallow.slot.bottom";
7001            }
7002            program { name: "bottomhide";
7003                signal: "elm,action,slot,bottom,hide";
7004                source: "elm";
7005                action: STATE_SET "default" 0.0;
7006                transition: DECELERATE 0.5;
7007                target: "bottom";
7008                target: "elm.swallow.slot.bottom";
7009            }
7010        }
7011    }
7012
7013    //In the hover used by the submenu only the bottom part is used
7014    //and no part should interact except the bottom area
7015    group { name: "elm/hover/base/submenu";
7016        images {
7017            image: "shad_circ.png" COMP;
7018            image: "bt_dis_base.png" COMP;
7019        }
7020        parts {
7021            part { name: "elm.swallow.offset";
7022                type: SWALLOW;
7023                repeat_events:1;
7024                description { state: "default" 0.0;
7025                    align: 0.0 0.0;
7026                    rel1.relative: 0.0 0.0;
7027                    rel2.relative: 0.0 0.0;
7028                }
7029            }
7030            part { name: "elm.swallow.size";
7031                type: SWALLOW;
7032                description { state: "default" 0.0;
7033                    align: 0.0 0.0;
7034                    rel1.to: "elm.swallow.offset";
7035                    rel1.relative: 1.0 1.0;
7036                    rel2.to: "elm.swallow.offset";
7037                    rel2.relative: 1.0 1.0;
7038                }
7039            }
7040            //here we do non catch events like the hover hover does
7041            part { name: "base";
7042                type: RECT;
7043                mouse_events: 1;
7044                description { state: "default" 0.0;
7045                    color: 0 0 0 0;
7046                    visible: 0;
7047                }
7048            }
7049            part { name: "elm.swallow.slot.left";
7050                type: SWALLOW;
7051                description { state: "default" 0.0;
7052                }
7053            }
7054            part { name: "elm.swallow.slot.right";
7055                type: SWALLOW;
7056                description { state: "default" 0.0;
7057                }
7058            }
7059            part { name: "elm.swallow.slot.top";
7060                type: SWALLOW;
7061                description { state: "default" 0.0;
7062                }
7063            }
7064            part { name: "bottomclip";
7065                type: RECT;
7066                description { state: "default" 0.0;
7067                    rel1.to_y: "pop";
7068                    rel1.relative: 0.0 1.0;
7069                    rel1.offset: -1 -2;
7070                }
7071            }
7072            part { name: "bottom";
7073                clip_to: "bottomclip";
7074                description { state: "default" 0.0;
7075                    visible: 0;
7076                    rel1.to: "elm.swallow.slot.bottom";
7077                    rel1.offset: -5 -5;
7078                    rel2.to: "elm.swallow.slot.bottom";
7079                    rel2.offset: 4 4;
7080                    image {
7081                        normal: "bt_dis_base.png";
7082                        border: 4 4 4 4;
7083                    }
7084                    image.middle: SOLID;
7085                }
7086                description { state: "visible" 0.0;
7087                    inherit: "default" 0.0;
7088                    visible: 1;
7089                }
7090            }
7091            part { name: "elm.swallow.slot.bottom";
7092                type: SWALLOW;
7093                clip_to: "bottomclip";
7094                description { state: "default" 0.0;
7095                    align: 0.5 1.0;
7096                    rel1.to: "elm.swallow.slot.middle";
7097                    rel1.relative: 0.0 1.0;
7098                    rel1.offset: 0 0;
7099                    rel2.to: "elm.swallow.slot.middle";
7100                    rel2.relative: 1.0 1.0;
7101                    rel2.offset: -1 0;
7102                }
7103                description { state: "visible" 0.0;
7104                    inherit: "default" 0.0;
7105                    rel1.offset: 0 6;
7106                    rel2.offset: -1 6;
7107                    align: 0.5 0.0;
7108                }
7109            }
7110            part { name: "pop";
7111                mouse_events: 1;
7112                repeat_events:1;
7113                description { state: "default" 0.0;
7114                    rel1.to: "elm.swallow.slot.middle";
7115                    rel1.offset: -5 -5;
7116                    rel2.to: "elm.swallow.slot.middle";
7117                    rel2.offset: 4 4;
7118                }
7119            }
7120            part { name: "elm.swallow.slot.middle";
7121                type: SWALLOW;
7122                repeat_events:1;
7123                description { state: "default" 0.0;
7124                    rel1.to: "elm.swallow.size";
7125                    rel2.to: "elm.swallow.size";
7126                }
7127            }
7128        }
7129        programs {
7130            program { name: "end";
7131                signal: "mouse,up,1";
7132                source: "base";
7133                action: SIGNAL_EMIT "elm,action,dismiss" "";
7134            }
7135            program { name: "show";
7136                signal: "elm,action,show";
7137                source: "elm";
7138                action: STATE_SET "visible" 0.0;
7139                        //            transition: DECELERATE 0.5;
7140                target: "base";
7141            }
7142            program { name: "hide";
7143                signal: "elm,action,hide";
7144                source: "elm";
7145                action: STATE_SET "default" 0.0;
7146                        //            transition: DECELERATE 0.5;
7147                target: "base";
7148            }
7149            program { name: "bottomshow";
7150                signal: "elm,action,slot,bottom,show";
7151                source: "elm";
7152                action: STATE_SET "visible" 0.0;
7153                transition: DECELERATE 0.3;
7154                target: "bottom";
7155                target: "elm.swallow.slot.bottom";
7156            }
7157            program { name: "bottomhide";
7158                signal: "elm,action,slot,bottom,hide";
7159                source: "elm";
7160                action: STATE_SET "default" 0.0;
7161                transition: DECELERATE 0.5;
7162                target: "bottom";
7163                target: "elm.swallow.slot.bottom";
7164            }
7165        }
7166    }
7167
7168    group { name: "elm/hover/base/hoversel_vertical/default";
7169       alias: "elm/hover/base/hoversel_vertical/entry";
7170       images {
7171 //         image: "shad_circ.png" COMP;
7172          image: "bt_base2.png" COMP;
7173          image: "bt_hilight.png" COMP;
7174          image: "bt_shine.png" COMP;
7175          image: "outdent-top.png" COMP;
7176          image: "outdent-bottom.png" COMP;
7177       }
7178       parts {
7179          part { name: "elm.swallow.offset";
7180             type: SWALLOW;
7181             description { state: "default" 0.0;
7182                align: 0.0 0.0;
7183                rel1.relative: 0.0 0.0;
7184                rel2.relative: 0.0 0.0;
7185             }
7186          }
7187          part { name: "elm.swallow.size";
7188             type: SWALLOW;
7189             description { state: "default" 0.0;
7190                align: 0.0 0.0;
7191                rel1.to: "elm.swallow.offset";
7192                rel1.relative: 1.0 1.0;
7193                rel2.to: "elm.swallow.offset";
7194                rel2.relative: 1.0 1.0;
7195             }
7196          }
7197 /*
7198         part { name: "shad";
7199             mouse_events:  0;
7200             description { state: "default" 0.0;
7201                image.normal: "shad_circ.png";
7202                rel1.to: "button_image";
7203                rel1.offset: -64 -64;
7204                rel2.to: "button_image";
7205                rel2.offset: 63 63;
7206                fill.smooth: 0;
7207             }
7208          }
7209  */
7210          part { name: "button_image";
7211             mouse_events: 1;
7212             description { state: "default" 0.0;
7213                rel1.to_x: "elm.swallow.slot.top";
7214                rel1.to_y: "elm.swallow.slot.top";
7215                rel1.offset: -2 -6;
7216                rel2.to_x: "elm.swallow.slot.top";
7217                rel2.to_y: "elm.swallow.slot.bottom";
7218                rel2.offset: 1 5;
7219                image {
7220                   normal: "bt_base2.png";
7221                   border: 7 7 7 7;
7222                }
7223                image.middle: SOLID;
7224             }
7225             description { state: "bottom" 0.0;
7226                rel1.to_x: "elm.swallow.slot.bottom";
7227                rel1.to_y: "elm.swallow.slot.top";
7228                rel1.offset: -2 -6;
7229                rel2.to_x: "elm.swallow.slot.bottom";
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          }
7239
7240          part { name: "base";
7241             type: RECT;
7242             mouse_events: 1;
7243             description { state: "default" 0.0;
7244                color: 0 0 0 0;
7245             }
7246             description { state: "visible" 0.0;
7247                inherit: "default" 1.0;
7248                color: 0 0 0 64;
7249             }
7250          }
7251
7252          part { name: "topclip";
7253             type: RECT;
7254             description { state: "default" 0.0;
7255                rel2.to_y: "edge_top";
7256                rel2.relative: 1.0 0.0;
7257                rel2.offset: -1 7;
7258             }
7259          }
7260          part { name: "elm.swallow.slot.top";
7261             type: SWALLOW;
7262             clip_to: "topclip";
7263             description { state: "default" 0.0;
7264                visible: 1;
7265                align: 0.5 0.0;
7266                rel1.to: "elm.swallow.slot.middle";
7267                rel1.relative: 0.0 0.0;
7268                rel1.offset: 0 -1;
7269                rel2.to: "elm.swallow.slot.middle";
7270                rel2.relative: 1.0 0.0;
7271                rel2.offset: -1 -1;
7272             }
7273             description { state: "visible" 0.0;
7274                inherit: "default" 0.0;
7275                rel1.offset: 0 -7;
7276                rel2.offset: -1 -7;
7277                align: 0.5 1.0;
7278             }
7279          }
7280
7281          part { name: "bottomclip";
7282             type: RECT;
7283             description { state: "default" 0.0;
7284                rel1.to_y: "edge_bottom";
7285                rel1.relative: 0.0 1.0;
7286                rel1.offset: -1 -8;
7287             }
7288          }
7289          part { name: "elm.swallow.slot.bottom";
7290             type: SWALLOW;
7291             clip_to: "bottomclip";
7292             description { state: "default" 0.0;
7293                align: 0.5 1.0;
7294                rel1.to: "elm.swallow.slot.middle";
7295                rel1.relative: 0.0 1.0;
7296                rel1.offset: 0 0;
7297                rel2.to: "elm.swallow.slot.middle";
7298                rel2.relative: 1.0 1.0;
7299                rel2.offset: -1 0;
7300             }
7301             description { state: "visible" 0.0;
7302                inherit: "default" 0.0;
7303                rel1.offset: 0 6;
7304                rel2.offset: -1 6;
7305                align: 0.5 0.0;
7306             }
7307          }
7308
7309          part {          name: "over1";
7310             mouse_events: 0;
7311             description { state: "default" 0.0;
7312                rel1.to: "button_image";
7313                rel2.to: "button_image";
7314                rel2.relative: 1.0 0.5;
7315                image {
7316                   normal: "bt_hilight.png";
7317                   border: 7 7 7 0;
7318                }
7319             }
7320          }
7321          part { name: "over2";
7322             mouse_events: 1;
7323             repeat_events: 1;
7324             ignore_flags: ON_HOLD;
7325             description { state: "default" 0.0;
7326                rel1.to: "button_image";
7327                rel2.to: "button_image";
7328                image {
7329                   normal: "bt_shine.png";
7330                   border: 7 7 7 7;
7331                }
7332             }
7333          }
7334          part { name: "edge_top";
7335             mouse_events:  0;
7336             description { state: "default" 0.0;
7337                visible: 0;
7338                rel1 {
7339                   to: "elm.swallow.size";
7340                   offset: 0 -10;
7341                }
7342                rel2 {
7343                   to: "elm.swallow.size";
7344                }
7345                image.normal: "outdent-bottom.png";
7346                image.border: 0 0 13 0;
7347                fill.smooth: 0;
7348             }
7349             description { state: "visible" 0.0;
7350                inherit: "default" 0.0;
7351                visible: 1;
7352             }
7353          }
7354          part { name: "edge_bottom";
7355             mouse_events:  0;
7356             description { state: "default" 0.0;
7357                visible: 0;
7358                rel1 {
7359                   to: "elm.swallow.size";
7360                }
7361                rel2 {
7362                   to: "elm.swallow.size";
7363                   offset: -1 9;
7364                }
7365                image.normal: "outdent-top.png";
7366                image.border: 0 0 0 13;
7367                fill.smooth: 0;
7368             }
7369             description { state: "visible" 0.0;
7370                inherit: "default" 0.0;
7371                visible: 1;
7372             }
7373          }
7374          part { name: "elm.swallow.slot.middle";
7375             type: SWALLOW;
7376             description { state: "default" 0.0;
7377                rel1.to: "elm.swallow.size";
7378                rel2.to: "elm.swallow.size";
7379             }
7380          }
7381       }
7382       programs {
7383          program { name: "end";
7384             signal: "mouse,up,1";
7385             source: "base";
7386             action: SIGNAL_EMIT "elm,action,dismiss" "";
7387          }
7388
7389          program { name: "show";
7390             signal: "elm,action,show";
7391             source: "elm";
7392             action: STATE_SET "visible" 0.0;
7393 //            transition: DECELERATE 0.5;
7394             target: "base";
7395          }
7396          program { name: "hide";
7397             signal: "elm,action,hide";
7398             source: "elm";
7399             action: STATE_SET "default" 0.0;
7400 //            transition: DECELERATE 0.5;
7401             target: "base";
7402          }
7403          program { name: "topshow";
7404             signal: "elm,action,slot,top,show";
7405             source: "elm";
7406             action: STATE_SET "visible" 0.0;
7407             target: "edge_top";
7408             after: "topshow2";
7409          }
7410          program { name: "topshow2";
7411             action: STATE_SET "visible" 0.0;
7412             transition: DECELERATE 0.5;
7413             target: "elm.swallow.slot.top";
7414          }
7415          program { name: "topshow3";
7416             signal: "elm,action,slot,top,show";
7417             source: "elm";
7418             action: STATE_SET "default" 0.0;
7419             target: "button_image";
7420          }
7421          program { name: "tophide";
7422             signal: "elm,action,slot,top,hide";
7423             source: "elm";
7424             action: STATE_SET "default" 0.0;
7425             transition: DECELERATE 0.5;
7426             target: "elm.swallow.slot.top";
7427             after: "tophide2";
7428          }
7429          program { name: "tophide2";
7430             action: STATE_SET "default" 0.0;
7431             target: "edge_top";
7432          }
7433          program { name: "bottomshow";
7434             signal: "elm,action,slot,bottom,show";
7435             source: "elm";
7436             action: STATE_SET "visible" 0.0;
7437             target: "edge_bottom";
7438             after: "bottomshow2";
7439          }
7440          program { name: "bottomshow2";
7441             action: STATE_SET "visible" 0.0;
7442             transition: DECELERATE 0.5;
7443             target: "elm.swallow.slot.bottom";
7444          }
7445          program { name: "bottomshow3";
7446             signal: "elm,action,slot,bottom,show";
7447             source: "elm";
7448             action: STATE_SET "bottom" 0.0;
7449             target: "button_image";
7450          }
7451          program { name: "bottomhide";
7452             signal: "elm,action,slot,bottom,hide";
7453             source: "elm";
7454             action: STATE_SET "default" 0.0;
7455             transition: DECELERATE 0.5;
7456             target: "elm.swallow.slot.bottom";
7457             after: "bottomhide2";
7458          }
7459          program { name: "bottomhide2";
7460             action: STATE_SET "default" 0.0;
7461             target: "edge_bottom";
7462          }
7463       }
7464    }
7465 ///////////////////////////////////////////////////////////////////////////////
7466    group { name: "elm/scroller/base/ctxpopup";
7467       data {
7468          item: "focus_highlight" "on";
7469       }
7470       script {
7471          public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
7472          public timer0(val) {
7473             new v;
7474             v = get_int(sbvis_v);
7475             if (v) {
7476                v = get_int(sbalways_v);
7477                if(!v) {
7478                   emit("do-hide-vbar", "");
7479                   set_int(sbvis_v, 0);
7480                }
7481             }
7482             v = get_int(sbvis_h);
7483             if (v) {
7484                v = get_int(sbalways_h);
7485                if(!v) {
7486                   emit("do-hide-hbar", "");
7487                   set_int(sbvis_h, 0);
7488                }
7489             }
7490             set_int(sbvis_timer, 0);
7491             return 0;
7492          }
7493       }
7494       images {
7495          image: "bt_sm_base2.png" COMP;
7496          image: "bt_sm_shine.png" COMP;
7497          image: "bt_sm_hilight.png" COMP;
7498          image: "sl_bt2_2.png" COMP;
7499       }
7500       parts {
7501          part { name: "clipper";
7502             type: RECT;
7503             mouse_events: 0;
7504             scale: 1;
7505             description { state: "default" 0.0;
7506             }
7507          }
7508          part { name: "elm.swallow.content";
7509             clip_to: "clipper";
7510             type: SWALLOW;
7511             scale: 1;
7512             description { state: "default" 0.0;
7513                align: 0.5 0.5;
7514             }
7515          }
7516          part { name: "focus_highlight";
7517             mouse_events: 0;
7518             description { state: "default" 0.0;
7519                rel1.offset: -1 -1;
7520                rel2.offset: 0 0;
7521                image { normal: "sl_bt2_2.png";
7522                   border: 7 7 7 7;
7523                   middle: 0;
7524                }
7525                fill.smooth : 0;
7526                color: 200 155 0 0;
7527             }
7528             description { state: "enabled" 0.0;
7529                inherit: "default" 0.0;
7530                color: 200 155 0 255;
7531             }
7532          }
7533          part { name: "sb_vbar_clip_master";
7534             type: RECT;
7535             mouse_events: 0;
7536             description { state: "default" 0.0;
7537             }
7538             description { state: "hidden" 0.0;
7539                visible: 0;
7540                color: 255 255 255 0;
7541             }
7542          }
7543          part { name: "sb_vbar_clip";
7544             clip_to:"sb_vbar_clip_master";
7545             type: RECT;
7546             mouse_events: 0;
7547             scale: 1;
7548             description { state: "default" 0.0;
7549                align: 0.0 0.0;
7550                rel2{ to:"clipper"; relative: 1.0 1.0;}
7551             }
7552             description { state: "hidden" 0.0;
7553                visible: 0;
7554                color: 255 255 255 0;
7555             }
7556          }
7557          part { name: "sb_vbar";
7558             type: RECT;
7559             mouse_events: 0;
7560             scale: 1;
7561             description { state: "default" 0.0;
7562                fixed: 1 1;
7563                visible: 0;
7564                align: 1.0 0.0;
7565                rel1{ to:"clipper"; relative: 1.0 0.0; }
7566                rel2{ to:"clipper"; relative: 1.0 1.0; }
7567             }
7568          }
7569          part { name: "elm.dragable.vbar";
7570             clip_to: "sb_vbar_clip";
7571             mouse_events: 0;
7572             scale: 1;
7573             dragable {
7574                x: 0 0 0;
7575                y: 1 1 0;
7576                confine: "sb_vbar";
7577             }
7578             description { state: "default" 0.0;
7579                fixed: 1 1;
7580                min: 10 17;
7581                max: 10 99999;
7582                rel1 { relative: 0.5 0.5; to: "sb_vbar"; }
7583                rel2 { relative: 0.5  0.5; to: "sb_vbar"; }
7584                image { normal: "bt_sm_base2.png";
7585                   border: 6 6 6 6;
7586                   middle: SOLID;
7587                }
7588             }
7589          }
7590          part { name: "sb_vbar_over1";
7591             clip_to: "sb_vbar_clip";
7592             mouse_events: 0;
7593             description { state: "default" 0.0;
7594                rel1.to: "elm.dragable.vbar";
7595                rel2.relative: 1.0 0.5;
7596                rel2.to: "elm.dragable.vbar";
7597                image { normal: "bt_sm_hilight.png";
7598                   border: 6 6 6 0;
7599                }
7600             }
7601          }
7602          part { name: "sb_vbar_over2";
7603             clip_to: "sb_vbar_clip";
7604             mouse_events: 0;
7605             description { state: "default" 0.0;
7606                rel1.to: "elm.dragable.vbar";
7607                rel2.to: "elm.dragable.vbar";
7608                image { normal: "bt_sm_shine.png";
7609                   border: 6 6 6 0;
7610                }
7611             }
7612          }
7613          part { name: "sb_hbar_clip_master";
7614             type: RECT;
7615             mouse_events: 0;
7616             description { state: "default" 0.0;
7617             }
7618             description { state: "hidden" 0.0;
7619                visible: 0;
7620                color: 255 255 255 0;
7621             }
7622          }
7623          part { name: "sb_hbar_clip";
7624             clip_to: "sb_hbar_clip_master";
7625             type: RECT;
7626             mouse_events: 0;
7627             scale: 1;
7628             description { state: "default" 0.0;
7629                align: 0.0 0.0;
7630                rel2{ to:"clipper"; relative: 1.0 1.0;}
7631             }
7632             description { state: "hidden" 0.0;
7633                visible: 0;
7634                color: 255 255 255 0;
7635             }
7636          }
7637          part { name: "sb_hbar";
7638             type: RECT;
7639             mouse_events: 0;
7640             scale: 1;
7641             description { state: "default" 0.0;
7642                fixed: 1 1;
7643                visible: 0;
7644                align: 0.0 1.0;
7645                rel1 { to:"clipper"; relative: 0.0 1.0; }
7646                rel2 { to:"clipper"; relative: 1.0 1.0; }
7647             }
7648          }
7649          part { name: "elm.dragable.hbar";
7650             clip_to: "sb_hbar_clip";
7651             mouse_events: 0;
7652             scale: 1;
7653             dragable {
7654                x: 1 1 0;
7655                y: 0 0 0;
7656                confine: "sb_hbar";
7657             }
7658             description { state: "default" 0.0;
7659                min: 17 10;
7660                max: 99999 10;
7661                fixed: 1 1;
7662                rel1 { relative: 0.5  0.5; to: "sb_hbar"; }
7663                rel2 { relative: 0.5  0.5; to: "sb_hbar"; }
7664                image { normal: "bt_sm_base2.png";
7665                   border: 4 4 4 4;
7666                   middle: SOLID;
7667                }
7668             }
7669          }
7670          part { name: "sb_hbar_over1";
7671             clip_to: "sb_hbar_clip";
7672             mouse_events: 0;
7673             description { state: "default" 0.0;
7674                rel1.to: "elm.dragable.hbar";
7675                rel2.relative: 1.0 0.5;
7676                rel2.to: "elm.dragable.hbar";
7677                image { normal: "bt_sm_hilight.png";
7678                   border: 6 6 6 0;
7679                }
7680             }
7681          }
7682          part { name: "sb_hbar_over2";
7683             clip_to: "sb_hbar_clip";
7684             mouse_events: 0;
7685             description { state: "default" 0.0;
7686                rel1.to: "elm.dragable.hbar";
7687                rel2.to: "elm.dragable.hbar";
7688                image { normal: "bt_sm_shine.png";
7689                   border: 6 6 6 0;
7690                }
7691             }
7692          }
7693       }
7694       programs {
7695          program { name: "load";
7696             signal: "load";
7697             source: "";
7698             script {
7699                set_state(PART:"sb_vbar_clip", "hidden", 0.0);
7700                set_state(PART:"sb_hbar_clip", "hidden", 0.0);
7701                set_int(sbvis_v, 0);
7702                set_int(sbvis_h, 0);
7703                set_int(sbalways_v, 0);
7704                                    set_int(sbalways_h, 0);
7705                set_int(sbvis_timer, 0);
7706             }
7707          }
7708          program { name: "vbar_show";
7709             signal: "elm,action,show,vbar";
7710             source: "elm";
7711             action: STATE_SET "default" 0.0;
7712             target: "sb_vbar_clip_master";
7713          }
7714          program { name: "vbar_hide";
7715             signal: "elm,action,hide,vbar";
7716             source: "elm";
7717             action:  STATE_SET "hidden" 0.0;
7718             target: "sb_vbar_clip_master";
7719          }
7720          program { name: "vbar_show_always";
7721             signal: "elm,action,show_always,vbar";
7722             source: "elm";
7723             script {
7724                new v;
7725                v = get_int(sbvis_v);
7726                v |= get_int(sbalways_v);
7727                if (!v) {
7728                   set_int(sbalways_v, 1);
7729                   emit("do-show-vbar", "");
7730                   set_int(sbvis_v, 1);
7731                }
7732             }
7733          }
7734          program { name: "vbar_show_notalways";
7735             signal: "elm,action,show_notalways,vbar";
7736             source: "elm";
7737             script {
7738                new v;
7739                v = get_int(sbalways_v);
7740                if (v) {
7741                   set_int(sbalways_v, 0);
7742                   v = get_int(sbvis_v);
7743                   if (!v) {
7744                      emit("do-hide-vbar", "");
7745                      set_int(sbvis_v, 0);
7746                   }
7747                }
7748             }
7749          }
7750          program { name: "sb_vbar_show";
7751             signal: "do-show-vbar";
7752             source: "";
7753             action:  STATE_SET "default" 0.0;
7754             transition: LINEAR 1.0;
7755             target: "sb_vbar_clip";
7756          }
7757          program { name: "sb_vbar_hide";
7758             signal: "do-hide-vbar";
7759             source: "";
7760             action:  STATE_SET "hidden" 0.0;
7761             transition: LINEAR 1.0;
7762             target: "sb_vbar_clip";
7763          }
7764          program { name: "hbar_show";
7765             signal: "elm,action,show,hbar";
7766             source: "elm";
7767             action:  STATE_SET "default" 0.0;
7768             target: "sb_hbar_clip_master";
7769          }
7770          program { name: "hbar_hide";
7771             signal: "elm,action,hide,hbar";
7772             source: "elm";
7773             action:  STATE_SET "hidden" 0.0;
7774             target: "sb_hbar_clip_master";
7775          }
7776          program { name: "hbar_show_always";
7777             signal: "elm,action,show_always,hbar";
7778             source: "elm";
7779             script {
7780                new v;
7781                v = get_int(sbvis_h);
7782                v |= get_int(sbalways_h);
7783                if (!v) {
7784                   set_int(sbalways_h, 1);
7785                   emit("do-show-hbar", "");
7786                   set_int(sbvis_h, 1);
7787                }
7788             }
7789          }
7790          program { name: "hbar_show_notalways";
7791             signal: "elm,action,show_notalways,hbar";
7792             source: "elm";
7793             script {
7794                new v;
7795                v = get_int(sbalways_h);
7796                if (v) {
7797                   set_int(sbalways_h, 0);
7798                   v = get_int(sbvis_h);
7799                   if (!v) {
7800                      emit("do-hide-hbar", "");
7801                      set_int(sbvis_h, 0);
7802                   }
7803                }
7804             }
7805          }
7806          program { name: "sb_hbar_show";
7807             signal: "do-show-hbar";
7808             source: "";
7809             action:  STATE_SET "default" 0.0;
7810             transition: LINEAR 1.0;
7811             target: "sb_hbar_clip";
7812          }
7813          program { name: "sb_hbar_hide";
7814             signal: "do-hide-hbar";
7815             source: "";
7816             action:  STATE_SET "hidden" 0.0;
7817             transition: LINEAR 1.0;
7818             target: "sb_hbar_clip";
7819          }             
7820          program { name: "scroll";
7821             signal: "elm,action,scroll";
7822             source: "elm";
7823             script {
7824                new v;
7825                v = get_int(sbvis_v);
7826                v |= get_int(sbalways_v);
7827                if (!v) {
7828                   emit("do-show-vbar", "")
7829                   set_int(sbvis_v, 1);
7830                }
7831                v = get_int(sbvis_h);
7832                v |= get_int(sbalways_h);
7833                if (!v) {
7834                   emit("do-show-hbar", "");
7835                   set_int(sbvis_h, 1);
7836                }
7837                v = get_int(sbvis_timer);
7838                if (v > 0) cancel_timer(v);
7839                v = timer(1.0, "timer0", 0);
7840                set_int(sbvis_timer, v);
7841             }
7842          }
7843          program { name: "highlight_show";
7844             signal: "elm,action,focus_highlight,show";
7845             source: "elm";
7846             action: STATE_SET "enabled" 0.0;
7847             transition: ACCELERATE 0.3;
7848             target: "focus_highlight";
7849           }
7850          program { name: "highlight_hide";
7851             signal: "elm,action,focus_highlight,hide";
7852             source: "elm";
7853             action: STATE_SET "default" 0.0;
7854             transition: DECELERATE 0.3;
7855             target: "focus_highlight";
7856          }
7857       }
7858    }
7859 ///////////////////////////////////////////////////////////////////////////////
7860    group { name: "elm/ctxpopup/bg/default";
7861       parts {
7862          part { name: "ctxpopup_bg";
7863             type: RECT;
7864             mouse_events: 1;
7865             description { state: "default" 0.0;
7866                color: 0 0 0 0;
7867             }
7868             description { state: "visible" 0.0;
7869                inherit: "default" 0.0;
7870                color: 0 0 0 64;
7871             }
7872          }
7873       }
7874       programs {
7875          program { name: "clicked_event";
7876             signal: "mouse,clicked,1";
7877             source: "ctxpopup_bg";
7878             action: SIGNAL_EMIT "elm,action,click" "";
7879          }
7880          program { name: "show";
7881             signal: "elm,state,show";
7882             source: "elm";
7883             action: STATE_SET "visible" 0.0;
7884             target: "ctxpopup_bg";
7885          }
7886          program { name: "hide";
7887             signal: "elm,state,hide";
7888             source: "elm";
7889             action: STATE_SET "default" 0.0;
7890             target: "ctxpopup_bg";
7891          }
7892       }
7893    }
7894 ///////////////////////////////////////////////////////////////////////////////
7895    group { name: "elm/ctxpopup/base/default";
7896       images {
7897          image: "bt_base2.png" COMP;
7898          image: "bt_hilight.png" COMP;
7899          image: "bt_shine.png" COMP;
7900       }
7901       parts {
7902          part { name: "base";
7903             scale: 1;
7904             description { state: "default" 0.0;
7905                rel1.offset: -3 -3;
7906                rel2.offset: 3 3;
7907                image { normal: "bt_base2.png";
7908                   border: 7 7 7 7;
7909                }
7910             }
7911          }
7912          part { name: "over1";
7913             scale: 1;
7914             description { state: "default" 0.0;
7915                rel1.to: "base";
7916                rel2.to: "base";
7917                rel2.relative: 1.0 0.5;
7918                image { normal: "bt_hilight.png";
7919                   border: 7 7 7 0;
7920                }
7921             }
7922          }
7923          part { name: "over2";
7924             scale: 1;
7925             description { state: "default" 0.0;
7926                rel1.to: "base";
7927                rel2.to: "base";
7928                image { normal: "bt_shine.png";
7929                   border: 7 7 7 7;
7930                }
7931             }
7932          }
7933          part { name: "elm.swallow.content";
7934             type: SWALLOW;
7935             description { state: "default" 0.0;
7936                rel1 { to:"base"; offset: 4 4; };
7937                rel2 { to:"base"; offset: -5 -5; };
7938             }
7939          }          
7940       }
7941    }
7942 ///////////////////////////////////////////////////////////////////////////////
7943    group { name: "elm/ctxpopup/arrow/default";
7944       images {
7945          image: "icon_arrow_left.png" COMP;
7946          image: "icon_arrow_right.png" COMP;
7947          image: "icon_arrow_up.png" COMP;
7948          image: "icon_arrow_down.png" COMP;
7949       }
7950       parts {
7951                         part { name: "ctxpopup_arrow";
7952             type: IMAGE;
7953             scale: 1;
7954             description {
7955                state: "default" 0.0;
7956                min: 40 40;
7957                fixed: 1 1;
7958                visible: 0;
7959                align: 0.5 0.5;
7960             }
7961             description {
7962                state: "left" 0.0;
7963                min: 40 40;
7964                fixed: 1 1;
7965                align: 0.0 0.5;
7966                image { normal: "icon_arrow_left.png";
7967                }
7968             }
7969             description { state: "right" 0.0;
7970                min: 40 40;
7971                fixed: 1 1;
7972                align: 1.0 0.5;
7973                image { normal: "icon_arrow_right.png";    
7974                                         }
7975             }
7976             description { state: "top" 0.0;
7977                min: 40 40;
7978                fixed: 1 1;
7979                align: 0.5 0.0;
7980                image { normal: "icon_arrow_up.png";
7981                }
7982             }
7983             description { state: "bottom" 0.0;
7984                min: 40 40;
7985                fixed: 1 1;
7986                align: 0.5 1.0;
7987                image { normal: "icon_arrow_down.png";
7988                }
7989             }
7990          }
7991       }
7992       programs {
7993          program { name: "enable_left_arrow";
7994             signal: "elm,state,left";
7995             source: "elm";
7996             action: STATE_SET "left" 0.0;
7997             target: "ctxpopup_arrow";
7998          }
7999          program { name: "enable_right_arrow";
8000             signal: "elm,state,right";
8001             source: "elm";
8002             action: STATE_SET "right" 0.0;
8003             target: "ctxpopup_arrow";
8004          }
8005          program { name: "enable_top_arrow";
8006             signal: "elm,state,top";
8007             source: "elm";
8008             action: STATE_SET "top" 0.0;
8009             target: "ctxpopup_arrow";
8010          }
8011          program { name: "enable_bottom_arrow";
8012             signal: "elm,state,bottom";
8013             source: "elm";
8014             action: STATE_SET "bottom" 0.0;
8015             target: "ctxpopup_arrow";
8016          }
8017       }
8018    }
8019 ///////////////////////////////////////////////////////////////////////////////
8020    group {
8021       name: "elm/ctxpopup/icon_text_style_item/default";
8022            alias: "elm/ctxpopup/text_style_item/default";
8023            alias: "elm/ctxpopup/icon_style_item/default";
8024       images {
8025          image: "hoversel_entry_bg.png" COMP;
8026       }
8027       parts {
8028          part { name: "event";
8029             mouse_events: 1;
8030             description { state: "default" 0.0;
8031             }
8032          }
8033          part { name: "bg";
8034             mouse_events: 0;
8035             description { state: "default" 0.0;
8036                rel1.offset: 2 2;
8037                rel2.offset: -3 -3;
8038                image { normal:"hoversel_entry_bg.png";
8039                   border: 0 0 2 2;
8040                }
8041                fill.smooth: 0;
8042                color: 255 255 255 0;
8043             }
8044             description { state: "clicked" 0.0;
8045                inherit: "default" 0.0;
8046                color: 255 255 255 255;
8047             }
8048          }
8049          part { name: "elm.swallow.icon";
8050             type: SWALLOW;
8051             clip_to: "disclip";
8052             scale: 1;
8053             description { state: "default" 0.0;
8054                min: 25 25;
8055                max: 25 25;  
8056                align: 0 0.5;
8057                aspect: 1.0 1.0;
8058                rel1 { offset: 10 10; }  
8059                                         rel2 { offset: 0 -10; }
8060             }
8061          }
8062          part { name: "elm.text";
8063             type: TEXT;
8064             mouse_events: 0;
8065             clip_to: "disclip";
8066             scale: 1;
8067             description { state: "default" 0.0;
8068                min: 1 40;
8069                fixed: 0 1;
8070                align: 0.5 0.5;
8071                rel1 { relative: 1.0 0.0; to: "elm.swallow.icon"; offset: 10 0; }
8072                rel2 { relative: 1.0 1.0; offset: -11 -1; }
8073                color: 255 255 255 255;
8074                text {
8075                   font: "Sans";
8076                   size: 10;
8077                   align: 0.0 0.5;
8078                   min: 1 1;
8079                }
8080             }
8081             description { state: "clicked" 0.0;
8082                inherit: "default" 0.0;
8083                color: 0 0 0 255;
8084             }
8085          }
8086                         part { name: "over1";
8087             mouse_events: 1;
8088             repeat_events: 1;
8089             ignore_flags: ON_HOLD;
8090             description { state: "default" 0.0;
8091                color: 255 255 255 0;
8092             }
8093             description { state: "clicked" 0.0;
8094                inherit: "default" 0.0;
8095                color: 255 255 255 255;
8096             }
8097          }
8098          part { name: "over2";
8099             mouse_events: 1;
8100             repeat_events: 1;
8101             description { state: "default" 0.0;
8102                color: 255 255 255 0;
8103             }
8104             description { state: "clicked" 0.0;
8105                inherit: "default" 0.0;
8106                color: 255 255 255 255;
8107             }
8108          }
8109          part { name: "disclip";
8110             type: RECT;
8111             description { state: "default" 0.0;
8112                color: 255 255 255 255;
8113             }
8114             description { state: "enabled" 0.0;
8115                color: 127 127 127 127;
8116             }
8117          }
8118          part { name: "blocker";
8119             description { state: "default" 0.0;
8120                visible: 0;
8121             }
8122             description { state: "enabled" 0.0;
8123                visible: 1;
8124                color: 0 0 0 0;
8125             }
8126          }
8127                 }
8128       programs {
8129          program {
8130             name: "item_unclick";
8131             signal: "mouse,up,1";
8132             source: "over1";
8133             action: SIGNAL_EMIT "elm,action,click" "";
8134          }
8135          program { name: "disable";
8136             signal: "elm,state,disabled";
8137             source: "elm";
8138             action: STATE_SET "enabled" 0.0;
8139             target: "disclip";
8140             target: "blocker";
8141          }
8142          program { name: "enable";
8143             signal: "elm,state,enabled";
8144             source: "elm";
8145             action: STATE_SET "default" 0.0;
8146             target: "disclip";
8147             target: "blocker";
8148          }
8149          program { name: "item_click2";
8150             signal: "mouse,down,1";
8151             source: "over2";
8152             script {
8153                set_state(PART:"elm.text", "clicked", 0.0);
8154                set_state(PART:"bg", "clicked", 0.0);
8155             }
8156          }
8157          program { name: "item_unclick2";
8158             signal: "mouse,up,1";
8159             source: "over2";
8160             script {
8161                                         set_state(PART:"elm.text", "default", 0.0);
8162                set_state(PART:"bg", "default", 0.0);
8163             }
8164          }
8165       }
8166    }
8167 ///////////////////////////////////////////////////////////////////////////////
8168 // emoticon images from:
8169 // Tanya - Latvia
8170 // http://lazycrazy.deviantart.com/
8171 // http://lazycrazy.deviantart.com/art/Very-Emotional-Emoticons-144461621
8172   group { name: "elm/entry/emoticon/angry/default"; images.image:
8173      "emo-angry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8174         "emo-angry.png"; } } } }
8175   group { name: "elm/entry/emoticon/angry-shout/default"; images.image:
8176      "emo-angry-shout.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8177         "emo-angry-shout.png"; } } } }
8178   group { name: "elm/entry/emoticon/crazy-laugh/default"; images.image:
8179      "emo-crazy-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8180         "emo-crazy-laugh.png"; } } } }
8181   group { name: "elm/entry/emoticon/evil-laugh/default"; images.image:
8182      "emo-evil-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8183         "emo-evil-laugh.png"; } } } }
8184   group { name: "elm/entry/emoticon/evil/default"; images.image:
8185      "emo-evil.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8186         "emo-evil.png"; } } } }
8187   group { name: "elm/entry/emoticon/goggle-smile/default"; images.image:
8188      "emo-goggle-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8189         "emo-goggle-smile.png"; } } } }
8190   group { name: "elm/entry/emoticon/grumpy/default"; images.image:
8191      "emo-grumpy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8192         "emo-grumpy.png"; } } } }
8193   group { name: "elm/entry/emoticon/grumpy-smile/default"; images.image:
8194      "emo-grumpy-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8195         "emo-grumpy-smile.png"; } } } }
8196   group { name: "elm/entry/emoticon/guilty/default"; images.image:
8197      "emo-guilty.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8198         "emo-guilty.png"; } } } }
8199   group { name: "elm/entry/emoticon/guilty-smile/default"; images.image:
8200      "emo-guilty-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8201         "emo-guilty-smile.png"; } } } }
8202   group { name: "elm/entry/emoticon/haha/default"; images.image:
8203      "emo-haha.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8204         "emo-haha.png"; } } } }
8205   group { name: "elm/entry/emoticon/half-smile/default"; images.image:
8206      "emo-half-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8207         "emo-half-smile.png"; } } } }
8208   group { name: "elm/entry/emoticon/happy-panting/default"; images.image:
8209      "emo-happy-panting.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8210         "emo-happy-panting.png"; } } } }
8211   group { name: "elm/entry/emoticon/happy/default"; images.image:
8212      "emo-happy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8213         "emo-happy.png"; } } } }
8214   group { name: "elm/entry/emoticon/indifferent/default"; images.image:
8215      "emo-indifferent.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8216         "emo-indifferent.png"; } } } }
8217   group { name: "elm/entry/emoticon/kiss/default"; images.image:
8218      "emo-kiss.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8219         "emo-kiss.png"; } } } }
8220   group { name: "elm/entry/emoticon/knowing-grin/default"; images.image:
8221      "emo-knowing-grin.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8222         "emo-knowing-grin.png"; } } } }
8223   group { name: "elm/entry/emoticon/laugh/default"; images.image:
8224      "emo-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8225         "emo-laugh.png"; } } } }
8226   group { name: "elm/entry/emoticon/little-bit-sorry/default"; images.image:
8227      "emo-little-bit-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8228         "emo-little-bit-sorry.png"; } } } }
8229   group { name: "elm/entry/emoticon/love-lots/default"; images.image:
8230      "emo-love-lots.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8231         "emo-love-lots.png"; } } } }
8232   group { name: "elm/entry/emoticon/love/default"; images.image:
8233      "emo-love.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8234         "emo-love.png"; } } } }
8235   group { name: "elm/entry/emoticon/minimal-smile/default"; images.image:
8236      "emo-minimal-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8237         "emo-minimal-smile.png"; } } } }
8238   group { name: "elm/entry/emoticon/not-happy/default"; images.image:
8239      "emo-not-happy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8240         "emo-not-happy.png"; } } } }
8241   group { name: "elm/entry/emoticon/not-impressed/default"; images.image:
8242      "emo-not-impressed.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8243         "emo-not-impressed.png"; } } } }
8244   group { name: "elm/entry/emoticon/omg/default"; images.image:
8245      "emo-omg.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8246         "emo-omg.png"; } } } }
8247   group { name: "elm/entry/emoticon/opensmile/default"; images.image:
8248      "emo-opensmile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8249         "emo-opensmile.png"; } } } }
8250   group { name: "elm/entry/emoticon/smile/default"; images.image:
8251      "emo-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8252         "emo-smile.png"; } } } }
8253   group { name: "elm/entry/emoticon/sorry/default"; images.image:
8254      "emo-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8255         "emo-sorry.png"; } } } }
8256   group { name: "elm/entry/emoticon/squint-laugh/default"; images.image:
8257      "emo-squint-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8258         "emo-squint-laugh.png"; } } } }
8259   group { name: "elm/entry/emoticon/surprised/default"; images.image:
8260      "emo-surprised.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8261         "emo-surprised.png"; } } } }
8262   group { name: "elm/entry/emoticon/suspicious/default"; images.image:
8263      "emo-suspicious.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8264         "emo-suspicious.png"; } } } }
8265   group { name: "elm/entry/emoticon/tongue-dangling/default"; images.image:
8266      "emo-tongue-dangling.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8267         "emo-tongue-dangling.png"; } } } }
8268   group { name: "elm/entry/emoticon/tongue-poke/default"; images.image:
8269      "emo-tongue-poke.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8270         "emo-tongue-poke.png"; } } } }
8271   group { name: "elm/entry/emoticon/uh/default"; images.image:
8272      "emo-uh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8273         "emo-uh.png"; } } } }
8274   group { name: "elm/entry/emoticon/unhappy/default"; images.image:
8275      "emo-unhappy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8276         "emo-unhappy.png"; } } } }
8277   group { name: "elm/entry/emoticon/very-sorry/default"; images.image:
8278      "emo-very-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8279         "emo-very-sorry.png"; } } } }
8280   group { name: "elm/entry/emoticon/what/default"; images.image:
8281      "emo-what.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8282         "emo-what.png"; } } } }
8283   group { name: "elm/entry/emoticon/wink/default"; images.image:
8284      "emo-wink.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8285         "emo-wink.png"; } } } }
8286   group { name: "elm/entry/emoticon/worried/default"; images.image:
8287      "emo-worried.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8288         "emo-worried.png"; } } } }
8289   group { name: "elm/entry/emoticon/wtf/default"; images.image:
8290      "emo-wtf.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8291         "emo-wtf.png"; } } } }
8292 //------------------------------------------------------------
8293    group { name: "elm/entry/base/default";
8294       styles
8295       {
8296          style { name: "entry_textblock_style";
8297             base: "font=Sans font_size=10 color=#000 wrap=word text_class=entry";
8298             tag:  "br" "\n";
8299             tag:  "ps" "ps";
8300             tag:  "tab" "\t";
8301             tag:  "em" "+ font=Sans:style=Oblique";
8302             tag:  "b" "+ font=Sans:style=Bold";
8303             tag:  "link" "+ color=#800 underline=on underline_color=#8008";
8304             tag:  "hilight" "+ font=Sans:style=Bold";
8305          }
8306          style { name: "entry_textblock_disabled_style";
8307             base: "font=Sans font_size=10 color=#00000080 wrap=word text_class=entry";
8308             tag:  "br" "\n";
8309             tag:  "ps" "ps";
8310             tag:  "tab" "\t";
8311             tag:  "em" "+ font=Sans:style=Oblique";
8312             tag:  "b" "+ font=Sans:style=Bold";
8313             tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
8314             tag:  "hilight" "+ font=Sans:style=Bold";
8315          }
8316       }
8317       data {
8318 //         item: context_menu_orientation "horizontal";
8319       }
8320       parts {
8321          part { name: "elm.text";
8322             type: TEXTBLOCK;
8323             mouse_events: 1;
8324             scale: 1;
8325             entry_mode: EDITABLE;
8326             select_mode: EXPLICIT;
8327             multiline: 1;
8328             source: "elm/entry/selection/default"; // selection under
8329    //       source2: "X"; // selection over
8330    //       source3: "X"; // cursor under
8331             source4: "elm/entry/cursor/default"; // cursorover
8332             source5: "elm/entry/anchor/default"; // anchor under
8333    //       source6: "X"; // anchor over
8334             description { state: "default" 0.0;
8335                /* we gotta use 0 0 here, because of scrolled entries */
8336                fixed: 0 0;
8337                text {
8338                   style: "entry_textblock_style";
8339                   min: 0 1;
8340                }
8341             }
8342             description { state: "disabled" 0.0;
8343                inherit: "default" 0.0;
8344                text {
8345                   style: "entry_textblock_disabled_style";
8346                   min: 0 1;
8347                }
8348             }
8349          }
8350       }
8351       programs {
8352          program { name: "focus";
8353             signal: "load";
8354             source: "";
8355             action: FOCUS_SET;
8356             target: "elm.text";
8357          }
8358          program { name: "disable";
8359             signal: "elm,state,disabled";
8360             source: "elm";
8361             action: STATE_SET "disabled" 0.0;
8362             target: "elm.text";
8363          }
8364          program { name: "enable";
8365             signal: "elm,state,enabled";
8366             source: "elm";
8367             action: STATE_SET "default" 0.0;
8368             target: "elm.text";
8369          }
8370       }
8371    }
8372
8373    group { name: "elm/entry/base-charwrap/default";
8374       styles
8375       {
8376          style { name: "entry_textblock_style_charwrap";
8377             base: "font=Sans font_size=10 color=#000 wrap=char text_class=entry";
8378             tag:  "br" "\n";
8379             tag:  "ps" "ps";
8380             tag:  "tab" "\t";
8381             tag:  "em" "+ font=Sans:style=Oblique";
8382             tag:  "b" "+ font=Sans:style=Bold";
8383             tag:  "link" "+ color=#800 underline=on underline_color=#8008";
8384             tag:  "hilight" "+ font=Sans:style=Bold";
8385          }
8386          style { name: "entry_textblock_disabled_style_charwrap";
8387             base: "font=Sans font_size=10 color=#00000080 wrap=char text_class=entry";
8388             tag:  "br" "\n";
8389             tag:  "ps" "ps";
8390             tag:  "tab" "\t";
8391             tag:  "em" "+ font=Sans:style=Oblique";
8392             tag:  "b" "+ font=Sans:style=Bold";
8393             tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
8394             tag:  "hilight" "+ font=Sans:style=Bold";
8395          }
8396       }
8397       parts {
8398          part { name: "elm.text";
8399             type: TEXTBLOCK;
8400             mouse_events: 1;
8401             scale: 1;
8402             entry_mode: EDITABLE;
8403             select_mode: EXPLICIT;
8404             multiline: 1;
8405             source: "elm/entry/selection/default"; // selection under
8406 //          source2: "X"; // selection over
8407 //          source3: "X"; // cursor under
8408             source4: "elm/entry/cursor/default"; // cursorover
8409             source5: "elm/entry/anchor/default"; // anchor under
8410 //          source6: "X"; // anchor over
8411             description { state: "default" 0.0;
8412                fixed: 1 0;
8413                text {
8414                   style: "entry_textblock_style_charwrap";
8415                   min: 0 1;
8416                }
8417             }
8418             description { state: "disabled" 0.0;
8419                inherit: "default" 0.0;
8420                text {
8421                   style: "entry_textblock_disabled_style_charwrap";
8422                   min: 0 1;
8423                }
8424             }
8425          }
8426       }
8427       programs {
8428          program { name: "focus";
8429             signal: "load";
8430             source: "";
8431             action: FOCUS_SET;
8432             target: "elm.text";
8433          }
8434          program { name: "disable";
8435             signal: "elm,state,disabled";
8436             source: "elm";
8437             action: STATE_SET "disabled" 0.0;
8438             target: "elm.text";
8439          }
8440          program { name: "enable";
8441             signal: "elm,state,enabled";
8442             source: "elm";
8443             action: STATE_SET "default" 0.0;
8444             target: "elm.text";
8445          }
8446       }
8447    }
8448
8449    group { name: "elm/entry/base-nowrap/default";
8450       parts {
8451          part { name: "elm.text";
8452             type: TEXTBLOCK;
8453             mouse_events: 1;
8454             scale: 1;
8455             entry_mode: EDITABLE;
8456             select_mode: EXPLICIT;
8457             multiline: 1;
8458             source: "elm/entry/selection/default"; // selection under
8459             source4: "elm/entry/cursor/default"; // cursorover
8460             source5: "elm/entry/anchor/default"; // anchor under
8461             description { state: "default" 0.0;
8462                text {
8463                   style: "entry_textblock_style";
8464                   min: 1 1;
8465                }
8466             }
8467             description { state: "disabled" 0.0;
8468                inherit: "default" 0.0;
8469                text {
8470                   style: "entry_textblock_disabled_style";
8471                   min: 0 1;
8472                }
8473             }
8474          }
8475 /*
8476          part { name: "sel";
8477             type: RECT;
8478             mouse_events: 0;
8479             description { state: "default" 0.0;
8480                align: 1.0 1.0;
8481                max: 16 16;
8482                aspect: 1.0 1.0;
8483                color: 255 0 0 0;
8484             }
8485             description { state: "visible" 0.0;
8486                inherit: "default" 0.0;
8487                color: 255 0 0 50;
8488             }
8489          }
8490  */
8491       }
8492       programs {
8493          program { name: "focus";
8494             signal: "load";
8495             source: "";
8496             action: FOCUS_SET;
8497             target: "elm.text";
8498          }
8499          program { name: "disable";
8500             signal: "elm,state,disabled";
8501             source: "elm";
8502             action: STATE_SET "disabled" 0.0;
8503             target: "elm.text";
8504          }
8505          program { name: "enable";
8506             signal: "elm,state,enabled";
8507             source: "elm";
8508             action: STATE_SET "default" 0.0;
8509             target: "elm.text";
8510          }
8511 /*
8512          program { name: "selmode0";
8513             signal: "elm,state,select,on";
8514             source: "elm";
8515             action: STATE_SET "visible" 0.0;
8516             target: "sel";
8517          }
8518          program { name: "selmode1";
8519             signal: "elm,state,select,off";
8520             source: "elm";
8521             action: STATE_SET "default" 0.0;
8522             target: "sel";
8523          }
8524  */
8525       }
8526    }
8527
8528    group { name: "elm/entry/base-single/default";
8529       styles
8530       {
8531          style { name: "entry_single_textblock_style";
8532             base: "font=Sans font_size=10 color=#000 wrap=none text_class=entry";
8533             tag:  "br" "\n";
8534             tag:  "ps" "ps";
8535             tag:  "tab" "\t";
8536             tag:  "em" "+ font=Sans:style=Oblique";
8537             tag:  "b" "+ font=Sans:style=Bold";
8538             tag:  "link" "+ color=#800 underline=on underline_color=#8008";
8539             tag:  "hilight" "+ font=Sans:style=Bold";
8540          }
8541          style { name: "entry_single_textblock_disabled_style";
8542             base: "font=Sans font_size=10 color=#00000080 wrap=none text_class=entry";
8543             tag:  "br" "\n";
8544             tag:  "ps" "ps";
8545             tag:  "tab" "\t";
8546             tag:  "em" "+ font=Sans:style=Oblique";
8547             tag:  "b" "+ font=Sans:style=Bold";
8548             tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
8549             tag:  "hilight" "+ font=Sans:style=Bold";
8550          }
8551       }
8552       parts {
8553          part { name: "elm.text";
8554             type: TEXTBLOCK;
8555             mouse_events: 1;
8556             scale: 1;
8557             entry_mode: EDITABLE;
8558             select_mode: EXPLICIT;
8559             multiline: 0;
8560             source: "elm/entry/selection/default"; // selection under
8561             source4: "elm/entry/cursor/default"; // cursorover
8562             source5: "elm/entry/anchor/default"; // anchor under
8563             description { state: "default" 0.0;
8564                text {
8565                   style: "entry_single_textblock_style";
8566                   min: 1 1;
8567                   max: 0 1;
8568                }
8569             }
8570             description { state: "disabled" 0.0;
8571                inherit: "default" 0.0;
8572                text {
8573                   style: "entry_single_textblock_disabled_style";
8574                }
8575             }
8576          }
8577       }
8578       programs {
8579          program { name: "focus";
8580             signal: "load";
8581             source: "";
8582             action: FOCUS_SET;
8583             target: "elm.text";
8584          }
8585          program { name: "disable";
8586             signal: "elm,state,disabled";
8587             source: "elm";
8588             action: STATE_SET "disabled" 0.0;
8589             target: "elm.text";
8590          }
8591          program { name: "enable";
8592             signal: "elm,state,enabled";
8593             source: "elm";
8594             action: STATE_SET "default" 0.0;
8595             target: "elm.text";
8596          }
8597       }
8598    }
8599
8600    group { name: "elm/entry/base-single-noedit/default";
8601       parts {
8602          part { name: "elm.text";
8603             type: TEXTBLOCK;
8604             mouse_events: 1;
8605             scale: 1;
8606             entry_mode: PLAIN;
8607             select_mode: EXPLICIT;
8608             multiline: 0;
8609             source: "elm/entry/selection/default"; // selection under
8610             source5: "elm/entry/anchor/default"; // anchor under
8611             description { state: "default" 0.0;
8612                text {
8613                   style: "entry_single_textblock_style";
8614                   min: 1 1;
8615                   max: 0 1;
8616                }
8617             }
8618             description { state: "disabled" 0.0;
8619                inherit: "default" 0.0;
8620                text {
8621                style: "entry_single_textblock_disabled_style";
8622                }
8623             }
8624          }
8625       }
8626       programs {
8627          program { name: "focus";
8628             signal: "load";
8629             source: "";
8630             action: FOCUS_SET;
8631             target: "elm.text";
8632          }
8633          program { name: "disable";
8634             signal: "elm,state,disabled";
8635             source: "elm";
8636             action: STATE_SET "disabled" 0.0;
8637             target: "elm.text";
8638          }
8639          program { name: "enable";
8640             signal: "elm,state,enabled";
8641             source: "elm";
8642             action: STATE_SET "default" 0.0;
8643             target: "elm.text";
8644          }
8645       }
8646    }
8647
8648    group { name: "elm/entry/base-noedit/default";
8649       parts {
8650          part { name: "elm.text";
8651             type: TEXTBLOCK;
8652             mouse_events: 1;
8653             scale: 1;
8654             entry_mode: PLAIN;
8655             select_mode: EXPLICIT;
8656             multiline: 1;
8657             source: "elm/entry/selection/default"; // selection under
8658             source5: "elm/entry/anchor/default"; // anchor under
8659             description { state: "default" 0.0;
8660                fixed: 1 0;
8661                text {
8662                   style: "entry_textblock_style";
8663                   min: 0 1;
8664                }
8665             }
8666             description { state: "disabled" 0.0;
8667                inherit: "default" 0.0;
8668                text {
8669                   style: "entry_textblock_disabled_style";
8670                }
8671             }
8672          }
8673       }
8674       programs {
8675          program { name: "focus";
8676             signal: "load";
8677             source: "";
8678             action: FOCUS_SET;
8679             target: "elm.text";
8680          }
8681          program { name: "disable";
8682             signal: "elm,state,disabled";
8683             source: "elm";
8684             action: STATE_SET "disabled" 0.0;
8685             target: "elm.text";
8686          }
8687          program { name: "enable";
8688             signal: "elm,state,enabled";
8689             source: "elm";
8690             action: STATE_SET "default" 0.0;
8691             target: "elm.text";
8692          }
8693       }
8694    }
8695
8696    group { name: "elm/entry/base-noedit-charwrap/default";
8697       parts {
8698          part { name: "elm.text";
8699             type: TEXTBLOCK;
8700             mouse_events: 1;
8701             scale: 1;
8702             entry_mode: PLAIN;
8703             select_mode: EXPLICIT;
8704             multiline: 1;
8705             source: "elm/entry/selection/default"; // selection under
8706             source5: "elm/entry/anchor/default"; // anchor under
8707             description { state: "default" 0.0;
8708                fixed: 1 0;
8709                text {
8710                   style: "entry_textblock_style_charwrap";
8711                   min: 0 1;
8712                }
8713             }
8714             description { state: "disabled" 0.0;
8715                inherit: "default" 0.0;
8716                text {
8717                   style: "entry_textblock_disabled_style_charwrap";
8718                }
8719             }
8720          }
8721       }
8722       programs {
8723          program { name: "focus";
8724             signal: "load";
8725             source: "";
8726             action: FOCUS_SET;
8727             target: "elm.text";
8728          }
8729          program { name: "disable";
8730             signal: "elm,state,disabled";
8731             source: "elm";
8732             action: STATE_SET "disabled" 0.0;
8733             target: "elm.text";
8734          }
8735          program { name: "enable";
8736             signal: "elm,state,enabled";
8737             source: "elm";
8738             action: STATE_SET "default" 0.0;
8739             target: "elm.text";
8740          }
8741       }
8742    }
8743
8744    group { name: "elm/entry/base-nowrap-noedit/default";
8745       parts {
8746          part { name: "elm.text";
8747             type: TEXTBLOCK;
8748             mouse_events: 1;
8749             scale: 1;
8750             entry_mode: PLAIN;
8751             select_mode: EXPLICIT;
8752             multiline: 1;
8753             source: "elm/entry/selection/default"; // selection under
8754             source5: "elm/entry/anchor/default"; // anchor under
8755             description { state: "default" 0.0;
8756                text {
8757                   style: "entry_textblock_style";
8758                   min: 1 1;
8759                }
8760             }
8761             description { state: "disabled" 0.0;
8762                inherit: "default" 0.0;
8763                text {
8764                   style: "entry_textblock_disabled_style";
8765                }
8766             }
8767          }
8768       }
8769       programs {
8770          program { name: "focus";
8771             signal: "load";
8772             source: "";
8773             action: FOCUS_SET;
8774             target: "elm.text";
8775          }
8776          program { name: "disable";
8777             signal: "elm,state,disabled";
8778             source: "elm";
8779             action: STATE_SET "disabled" 0.0;
8780             target: "elm.text";
8781          }
8782          program { name: "enable";
8783             signal: "elm,state,enabled";
8784             source: "elm";
8785             action: STATE_SET "default" 0.0;
8786             target: "elm.text";
8787          }
8788       }
8789    }
8790
8791    group { name: "elm/entry/base-password/default";
8792       parts {
8793          part { name: "elm.text";
8794             type: TEXTBLOCK;
8795             mouse_events: 1;
8796             scale: 1;
8797             entry_mode: PASSWORD;
8798             select_mode: EXPLICIT;
8799             multiline: 0;
8800             source: "elm/entry/selection/default"; // selection under
8801             source4: "elm/entry/cursor/default"; // cursorover
8802             source5: "elm/entry/anchor/default"; // anchor under
8803             description { state: "default" 0.0;
8804                text {
8805                   style: "entry_single_textblock_style";
8806                   repch: "*";
8807                   min: 1 1;
8808                   max: 0 1;
8809                }
8810             }
8811             description { state: "disabled" 0.0;
8812                inherit: "default" 0.0;
8813                text {
8814                   style: "entry_single_textblock_disabled_style";
8815                }
8816             }
8817          }
8818       }
8819       programs {
8820          program { name: "focus";
8821             signal: "load";
8822             source: "";
8823             action: FOCUS_SET;
8824             target: "elm.text";
8825          }
8826          program { name: "disable";
8827             signal: "elm,state,disabled";
8828             source: "elm";
8829             action: STATE_SET "disabled" 0.0;
8830             target: "elm.text";
8831          }
8832          program { name: "enable";
8833             signal: "elm,state,enabled";
8834             source: "elm";
8835             action: STATE_SET "default" 0.0;
8836             target: "elm.text";
8837          }
8838       }
8839    }
8840
8841    group { name: "elm/entry/cursor/default";
8842       images {
8843          image: "cur_box.png" COMP;
8844          image: "cur_hi.png" COMP;
8845          image: "cur_shad.png" COMP;
8846          image: "cur_shine.png" COMP;
8847          image: "cur_glow.png" COMP;
8848       }
8849       parts {
8850          part { name: "clip2";
8851             type: RECT;
8852             mouse_events: 0;
8853             description { state: "default" 0.0;
8854                rel1.to: "clip";
8855                rel2.to: "clip";
8856                visible: 0;
8857             }
8858             description { state: "focused" 0.0;
8859                inherit: "default" 0.0;
8860                visible: 1;
8861             }
8862          }
8863          part { name: "clip";
8864             type: RECT;
8865             mouse_events: 0;
8866             clip_to: "clip2";
8867             description { state: "default" 0.0;
8868                rel1.offset: -10 0;
8869                rel2.offset: 9 9;
8870             }
8871             description { state: "hidden" 0.0;
8872                inherit: "default" 0.0;
8873                visible: 0;
8874             }
8875          }
8876          part { name: "bg";
8877             mouse_events: 0;
8878             clip_to: "clip";
8879             description { state: "default" 0.0;
8880                rel1.to: "base";
8881                rel1.offset: -2 0;
8882                rel2.to: "base";
8883                rel2.offset: 1 1;
8884                image.border: 2 2 2 2;
8885                image.normal: "cur_shad.png";
8886             }
8887          }
8888          part { name: "base";
8889             mouse_events: 0;
8890             scale: 1;
8891             clip_to: "clip";
8892             description { state: "default" 0.0;
8893                min: 2 2;
8894                align: 0.5 1.0;
8895                rel1.relative: 0.0 1.0;
8896                rel1.offset: 0 -1;
8897                rel2.relative: 1.0 1.0;
8898                rel2.offset: -1 -1;
8899                image.normal: "cur_box.png";
8900             }
8901          }
8902          part { name: "hi";
8903             mouse_events: 0;
8904             clip_to: "clip";
8905             description { state: "default" 0.0;
8906                rel1.to: "base";
8907                rel2.to: "base";
8908                rel2.relative: 1.0 0.5;
8909                image.normal: "cur_hi.png";
8910             }
8911          }
8912          part { name: "shine";
8913             mouse_events: 0;
8914             clip_to: "clip";
8915             clip_to: "clip2";
8916             description { state: "default" 0.0;
8917                rel1.to: "base";
8918                rel2.to: "base";
8919                rel2.relative: 1.0 0.75;
8920                image.border: 2 2 1 0;
8921                image.normal: "cur_shine.png";
8922                fill.smooth: 0;
8923             }
8924          }
8925          part { name: "glow";
8926             mouse_events: 0;
8927             clip_to: "clip2";
8928             description { state: "default" 0.0;
8929                rel1.to: "base";
8930                rel1.relative: 0.0 -2.0;
8931                rel1.offset: -2 0;
8932                rel2.to: "base";
8933                rel2.relative: 1.0 0.0;
8934                rel2.offset: 1 1;
8935                image.border: 2 2 0 4;
8936                image.normal: "cur_glow.png";
8937                fill.smooth: 0;
8938             }
8939             description { state: "hidden" 0.0;
8940                inherit: "default" 0.0;
8941                color: 255 255 255 0;
8942             }
8943          }
8944       }
8945       programs {
8946          program { name: "show";
8947             signal: "show";
8948             source: "";
8949             action: STATE_SET "hidden" 0.0;
8950             in: 1.0 0.0;
8951             transition: DECELERATE 2.0;
8952             target: "glow";
8953             after: "show2";
8954          }
8955          program { name: "show2";
8956             action: STATE_SET "hidden" 0.0;
8957             in: 0.2 0.0;
8958             target: "clip";
8959             after: "show3";
8960          }
8961          program { name: "show3";
8962             action: STATE_SET "default" 0.0;
8963             in: 0.5 0.0;
8964             target: "clip";
8965             after: "show4";
8966          }
8967          program { name: "show4";
8968             action: STATE_SET "default" 0.0;
8969             in: 0.5 0.0;
8970             transition: DECELERATE 0.5;
8971             target: "glow";
8972             after: "show";
8973          }
8974          program { name: "focused";
8975             signal: "elm,action,focus";
8976             source: "elm";
8977             action: STATE_SET "focused" 0.0;
8978             target: "clip2";
8979          }
8980          program { name: "unfocused";
8981             signal: "elm,action,unfocus";
8982             source: "elm";
8983             action: STATE_SET "default" 0.0;
8984             target: "clip2";
8985          }
8986       }
8987    }
8988
8989    group { name: "elm/entry/selection/default";
8990       parts {
8991          part { name: "bg";
8992             type: RECT;
8993             mouse_events: 0;
8994             description { state: "default" 0.0;
8995                color: 128 128 128 128;
8996             }
8997          }
8998       }
8999    }
9000
9001    group { name: "elm/entry/anchor/default";
9002       parts {
9003          part { name: "bg";
9004             type: RECT;
9005             mouse_events: 0;
9006             description { state: "default" 0.0;
9007                color: 128 0 0 64;
9008             }
9009          }
9010       }
9011    }
9012
9013 ///////////////////////////////////////////////////////////////////////////////
9014   group { name: "elm/bubble/top_left/default";
9015     alias: "elm/bubble/base/default";
9016     images {
9017       image: "bubble_3.png" COMP;
9018       image: "bubble_4.png" COMP;
9019       image: "bubble_shine3.png" COMP;
9020       image: "bubble_shine4.png" COMP;
9021     }
9022     parts {
9023       part { name: "event";
9024          type: RECT;
9025          description {
9026             state: "default" 0.0;
9027             color: 0 0 0 0;
9028          }
9029       }
9030       part { name: "elm.swallow.icon";
9031         type: SWALLOW;
9032         description { state: "default" 0.0;
9033           fixed: 1 1;
9034           visible: 0;
9035           align: 0.0 0.0;
9036           aspect: 1.0 1.0;
9037           aspect_preference: VERTICAL;
9038           rel1 {
9039             relative: 0.0 0.0;
9040             offset: 4 4;
9041           }
9042           rel2 {
9043             to_y: "elm.text";
9044             relative: 0.0 1.0;
9045             offset: 4 -1;
9046           }
9047         }
9048         description { state: "visible" 0.0;
9049           inherit: "default" 0.0;
9050           visible: 1;
9051         }
9052       }
9053       part { name: "elm.text";
9054         type: TEXT;
9055         mouse_events:   0;
9056         scale: 1;
9057         description { state: "default" 0.0;
9058           align: 0.0 0.0;
9059           fixed: 0 1;
9060           rel1 {
9061             to_x: "elm.swallow.icon";
9062             relative: 1.0 0.0;
9063             offset: 4 4;
9064           }
9065           rel2 {
9066             to_x: "elm.info";
9067             relative: 0.0 0.0;
9068             offset: -5 4;
9069           }
9070           color: 0 0 0 255;
9071           text {
9072             font: "Sans:style=Bold,Edje-Vera-Bold";
9073             size: 10;
9074             min: 0 1;
9075             max: 0 1;
9076             align: 0.0 0.0;
9077           }
9078         }
9079       }
9080       part { name: "elm.info";
9081         type: TEXT;
9082         mouse_events:   0;
9083         scale: 1;
9084         description { state: "default" 0.0;
9085           align: 1.0 0.0;
9086           fixed: 1 1;
9087           rel1 {
9088             relative: 1.0 0.0;
9089             offset: -5 4;
9090           }
9091           rel2 {
9092             relative: 1.0 0.0;
9093             offset: -5 4;
9094           }
9095           color: 0 0 0 64;
9096           text {
9097             font: "Sans:style=Bold,Edje-Vera-Bold";
9098             size: 10;
9099             min: 1 1;
9100             max: 1 1;
9101             align: 1.0 0.0;
9102           }
9103         }
9104       }
9105       part { name: "base0";
9106         mouse_events:  0;
9107         description { state: "default" 0.0;
9108           rel1 {
9109             to_y: "elm.swallow.icon";
9110             relative: 0.0 1.0;
9111             offset: 0 0;
9112           }
9113           image {
9114             normal: "bubble_3.png";
9115             border: 36 11 18 9;
9116           }
9117           image.middle: SOLID;
9118           fill.smooth: 0;
9119         }
9120         description { state: "rtl" 0.0;
9121            inherit: "default" 0.0;
9122            image {
9123               normal: "bubble_4.png";
9124               border: 11 36 18 9;
9125            }
9126         }
9127       }
9128       part { name: "elm.swallow.content";
9129         type: SWALLOW;
9130         description { state: "default" 0.0;
9131           rel1 {
9132             to: "base0";
9133             offset: 9 16;
9134           }
9135           rel2 {
9136             to: "base0";
9137             offset: -10 -9;
9138           }
9139         }
9140       }
9141       part { name: "shine";
9142         mouse_events:  0;
9143         description { state:    "default" 0.0;
9144           rel1 {
9145             to: "base0";
9146             offset: 5 4;
9147           }
9148           rel2 {
9149             to: "base0";
9150             relative: 1.0 0.5;
9151             offset: -6 7;
9152           }
9153           image {
9154             normal: "bubble_shine3.png";
9155             border: 36 5 14 0;
9156           }
9157           fill.smooth: 0;
9158         }
9159         description { state: "rtl" 0.0;
9160            inherit: "default" 0.0;
9161            image {
9162               normal: "bubble_shine4.png";
9163               border: 5 36 14 0;
9164            }
9165         }
9166       }
9167     }
9168     programs {
9169       program {
9170         name: "icon_show";
9171         signal: "elm,state,icon,visible";
9172         source: "elm";
9173         action: STATE_SET "visible" 0.0;
9174         target: "elm.swallow.icon";
9175       }
9176       program {
9177         name: "icon_hide";
9178         signal: "elm,state,icon,hidden";
9179         source: "elm";
9180         action: STATE_SET "default" 0.0;
9181         target: "elm.swallow.icon";
9182       }
9183       program { name: "to_rtl";
9184          signal: "edje,state,rtl";
9185          source: "edje";
9186          action: STATE_SET "rtl" 0.0;
9187          target: "base0";
9188          target: "shine";
9189       }
9190       program { name: "to_ltr";
9191          signal: "edje,state,ltr";
9192          source: "edje";
9193          action: STATE_SET "default" 0.0;
9194          target: "base0";
9195          target: "shine";
9196       }
9197     }
9198   }
9199
9200   group { name: "elm/bubble/top_right/default";
9201     images {
9202       image: "bubble_3.png" COMP;
9203       image: "bubble_4.png" COMP;
9204       image: "bubble_shine3.png" COMP;
9205       image: "bubble_shine4.png" COMP;
9206     }
9207     parts {
9208       part { name: "event";
9209          type: RECT;
9210          description {
9211             state: "default" 0.0;
9212             color: 0 0 0 0;
9213          }
9214       }
9215       part { name: "elm.swallow.icon";
9216         type: SWALLOW;
9217         description { state: "default" 0.0;
9218           fixed: 1 1;
9219           visible: 0;
9220           align: 1.0 0.0;
9221           aspect: 1.0 1.0;
9222           aspect_preference: VERTICAL;
9223           rel1 {
9224             relative: 1.0 0.0;
9225             offset: -5 4;
9226           }
9227           rel2 {
9228             to_y: "elm.text";
9229             relative: 1.0 1.0;
9230             offset: -5 -1;
9231           }
9232         }
9233         description { state: "visible" 0.0;
9234           inherit: "default" 0.0;
9235           visible: 1;
9236         }
9237       }
9238       part { name: "elm.text";
9239         type: TEXT;
9240         mouse_events:   0;
9241         scale: 1;
9242         description { state: "default" 0.0;
9243           align: 0.0 0.0;
9244           fixed: 0 1;
9245           rel1 {
9246             relative: 0.0 0.0;
9247             offset: 4 4;
9248           }
9249           rel2 {
9250             to_x: "elm.info";
9251             relative: 0.0 0.0;
9252             offset: -5 4;
9253           }
9254           color: 0 0 0 255;
9255           text {
9256             font: "Sans:style=Bold,Edje-Vera-Bold";
9257             size: 10;
9258             min: 0 1;
9259             max: 0 1;
9260             align: 0.0 0.0;
9261           }
9262         }
9263       }
9264       part { name: "elm.info";
9265         type: TEXT;
9266         mouse_events:   0;
9267         scale: 1;
9268         description { state: "default" 0.0;
9269           align: 1.0 0.0;
9270           fixed: 1 1;
9271           rel1 {
9272             relative: 1.0 0.0;
9273             offset: -5 4;
9274           }
9275           rel2 {
9276             to_x: "elm.swallow.icon";
9277             relative: 0.0 0.0;
9278             offset: -5 4;
9279           }
9280           color: 0 0 0 64;
9281           text {
9282             font: "Sans:style=Bold,Edje-Vera-Bold";
9283             size: 10;
9284             min: 1 1;
9285             max: 1 1;
9286             align: 1.0 0.0;
9287           }
9288         }
9289       }
9290       part { name: "base0";
9291         mouse_events:  0;
9292         description { state: "default" 0.0;
9293           rel1 {
9294             to_y: "elm.swallow.icon";
9295             relative: 0.0 1.0;
9296             offset: 0 0;
9297           }
9298           image {
9299             normal: "bubble_4.png";
9300             border: 11 36 18 9;
9301           }
9302           image.middle: SOLID;
9303           fill.smooth: 0;
9304         }
9305         description { state: "rtl" 0.0;
9306            inherit: "default" 0.0;
9307            image {
9308               normal: "bubble_3.png";
9309               border: 36 11 18 9;
9310            }
9311         }
9312       }
9313       part { name: "elm.swallow.content";
9314         type: SWALLOW;
9315         description { state: "default" 0.0;
9316           rel1 {
9317             to: "base0";
9318             offset: 9 16;
9319           }
9320           rel2 {
9321             to: "base0";
9322             offset: -10 -9;
9323           }
9324         }
9325       }
9326       part { name: "shine";
9327         mouse_events:  0;
9328         description { state:    "default" 0.0;
9329           rel1 {
9330             to: "base0";
9331             offset: 5 4;
9332           }
9333           rel2 {
9334             to: "base0";
9335             relative: 1.0 0.5;
9336             offset: -6 7;
9337           }
9338           image {
9339             normal: "bubble_shine4.png";
9340             border: 5 36 14 0;
9341           }
9342           fill.smooth: 0;
9343         }
9344         description { state: "rtl" 0.0;
9345            inherit: "default" 0.0;
9346            image {
9347               normal: "bubble_shine3.png";
9348               border: 36 5 14 0;
9349            }
9350         }
9351       }
9352     }
9353     programs {
9354       program {
9355         name: "icon_show";
9356         signal: "elm,state,icon,visible";
9357         source: "elm";
9358         action: STATE_SET "visible" 0.0;
9359         target: "elm.swallow.icon";
9360       }
9361       program {
9362         name: "icon_hide";
9363         signal: "elm,state,icon,hidden";
9364         source: "elm";
9365         action: STATE_SET "default" 0.0;
9366         target: "elm.swallow.icon";
9367       }
9368       program { name: "to_rtl";
9369          signal: "edje,state,rtl";
9370          source: "edje";
9371          action: STATE_SET "rtl" 0.0;
9372          target: "base0";
9373          target: "shine";
9374       }
9375       program { name: "to_ltr";
9376          signal: "edje,state,ltr";
9377          source: "edje";
9378          action: STATE_SET "default" 0.0;
9379          target: "base0";
9380          target: "shine";
9381       }
9382     }
9383   }
9384
9385   group { name: "elm/bubble/bottom_left/default";
9386     images {
9387       image: "bubble_1.png" COMP;
9388       image: "bubble_2.png" COMP;
9389       image: "bubble_shine.png" COMP;
9390     }
9391     parts {
9392       part { name: "event";
9393          type: RECT;
9394          description {
9395             state: "default" 0.0;
9396             color: 0 0 0 0;
9397          }
9398       }
9399       part { name: "elm.swallow.icon";
9400         type: SWALLOW;
9401         description { state: "default" 0.0;
9402           fixed: 1 1;
9403           visible: 0;
9404           align: 0.0 1.0;
9405           aspect: 1.0 1.0;
9406           aspect_preference: VERTICAL;
9407           rel1 {
9408             to_y: "elm.text";
9409             relative: 0.0 0.0;
9410             offset: 4 0;
9411           }
9412           rel2 {
9413             relative: 0.0 1.0;
9414             offset: 4 -5;
9415           }
9416         }
9417         description { state: "visible" 0.0;
9418           inherit: "default" 0.0;
9419           visible: 1;
9420         }
9421       }
9422       part { name: "elm.text";
9423         type: TEXT;
9424         mouse_events:   0;
9425         scale: 1;
9426         description { state: "default" 0.0;
9427           align: 0.0 1.0;
9428           fixed: 0 1;
9429           rel1 {
9430             to_x: "elm.swallow.icon";
9431             relative: 1.0 1.0;
9432             offset: 4 -5;
9433           }
9434           rel2 {
9435             to_x: "elm.info";
9436             relative: 0.0 1.0;
9437             offset: -5 -5;
9438           }
9439           color: 0 0 0 255;
9440           text {
9441             font: "Sans:style=Bold,Edje-Vera-Bold";
9442             size: 10;
9443             min: 0 1;
9444             max: 0 1;
9445             align: 0.0 1.0;
9446           }
9447         }
9448       }
9449       part { name: "elm.info";
9450         type: TEXT;
9451         mouse_events:   0;
9452         scale: 1;
9453         description { state: "default" 0.0;
9454           align: 1.0 1.0;
9455           fixed: 1 1;
9456           rel1 {
9457             relative: 1.0 1.0;
9458             offset: -5 -5;
9459           }
9460           rel2 {
9461             relative: 1.0 1.0;
9462             offset: -5 -5;
9463           }
9464           color: 0 0 0 64;
9465           text {
9466             font: "Sans:style=Bold,Edje-Vera-Bold";
9467             size: 10;
9468             min: 1 1;
9469             max: 1 1;
9470             align: 1.0 1.0;
9471           }
9472         }
9473       }
9474       part { name: "base0";
9475         mouse_events:  0;
9476         description { state: "default" 0.0;
9477           rel2 {
9478             to_y: "elm.swallow.icon";
9479             relative: 1.0 0.0;
9480             offset: -1 -1;
9481           }
9482           image {
9483             normal: "bubble_1.png";
9484             border: 36 11 10 19;
9485           }
9486           image.middle: SOLID;
9487           fill.smooth: 0;
9488         }
9489         description { state: "rtl" 0.0;
9490            inherit: "default" 0.0;
9491            image {
9492               normal: "bubble_2.png";
9493               border: 11 36 10 19;
9494            }
9495         }
9496       }
9497       part { name: "elm.swallow.content";
9498         type: SWALLOW;
9499         description { state: "default" 0.0;
9500           rel1 {
9501             to: "base0";
9502             offset: 9 8;
9503           }
9504           rel2 {
9505             to: "base0";
9506             offset: -10 -17;
9507           }
9508         }
9509       }
9510       part { name: "shine";
9511         mouse_events:  0;
9512         description { state:    "default" 0.0;
9513           rel1 {
9514             to: "base0";
9515             offset: 5 4;
9516           }
9517           rel2 {
9518             to: "base0";
9519             relative: 1.0 0.5;
9520             offset: -6 -16;
9521           }
9522           image {
9523             normal: "bubble_shine.png";
9524             border: 5 5 5 0;
9525           }
9526           fill.smooth: 0;
9527         }
9528         description { state: "rtl" 0.0;
9529            inherit: "default" 0.0;
9530            image {
9531               normal: "bubble_shine4.png";
9532               border: 5 36 14 0;
9533            }
9534         }
9535       }
9536     }
9537     programs {
9538       program {
9539         name: "icon_show";
9540         signal: "elm,state,icon,visible";
9541         source: "elm";
9542         action: STATE_SET "visible" 0.0;
9543         target: "elm.swallow.icon";
9544       }
9545       program {
9546         name: "icon_hide";
9547         signal: "elm,state,icon,hidden";
9548         source: "elm";
9549         action: STATE_SET "default" 0.0;
9550         target: "elm.swallow.icon";
9551       }
9552       program { name: "to_rtl";
9553          signal: "edje,state,rtl";
9554          source: "edje";
9555          action: STATE_SET "rtl" 0.0;
9556          target: "base0";
9557       }
9558       program { name: "to_ltr";
9559          signal: "edje,state,ltr";
9560          source: "edje";
9561          action: STATE_SET "default" 0.0;
9562          target: "base0";
9563       }
9564     }
9565   }
9566
9567   group { name: "elm/bubble/bottom_right/default";
9568     images {
9569       image: "bubble_1.png" COMP;
9570       image: "bubble_2.png" COMP;
9571       image: "bubble_shine.png" COMP;
9572     }
9573     parts {
9574       part { name: "event";
9575          type: RECT;
9576          description {
9577             state: "default" 0.0;
9578             color: 0 0 0 0;
9579          }
9580       }
9581       part { name: "elm.swallow.icon";
9582         type: SWALLOW;
9583         description { state: "default" 0.0;
9584           fixed: 1 1;
9585           visible: 0.0;
9586           align: 1.0 1.0;
9587           aspect: 1.0 1.0;
9588           aspect_preference: VERTICAL;
9589           rel1 {
9590             to_y: "elm.text";
9591             relative: 1.0 0.0;
9592             offset: -5 0;
9593           }
9594           rel2 {
9595             relative: 1.0 1.0;
9596             offset: -5 -5;
9597           }
9598         }
9599         description { state: "visible" 0.0;
9600           inherit: "default" 0.0;
9601           visible: 1;
9602         }
9603       }
9604       part { name: "elm.text";
9605         type: TEXT;
9606         mouse_events:   0;
9607         scale: 1;
9608         description { state: "default" 0.0;
9609           align: 0.0 1.0;
9610           fixed: 0 1;
9611           rel1 {
9612             relative: 0.0 1.0;
9613             offset: 4 -5;
9614           }
9615           rel2 {
9616             to_x: "elm.info";
9617             relative: 0.0 1.0;
9618             offset: -5 -5;
9619           }
9620           color: 0 0 0 255;
9621           text {
9622             font: "Sans:style=Bold,Edje-Vera-Bold";
9623             size: 10;
9624             min: 0 1;
9625             max: 0 1;
9626             align: 0.0 1.0;
9627           }
9628         }
9629       }
9630       part { name: "elm.info";
9631         type: TEXT;
9632         mouse_events:   0;
9633         scale: 1;
9634         description { state: "default" 0.0;
9635           align: 1.0 1.0;
9636           fixed: 1 1;
9637           rel1 {
9638             relative: 1.0 1.0;
9639             offset: -5 -5;
9640           }
9641           rel2 {
9642             to_x: "elm.swallow.icon";
9643             relative: 0.0 1.0;
9644             offset: -5 -5;
9645           }
9646           color: 0 0 0 64;
9647           text {
9648             font: "Sans:style=Bold,Edje-Vera-Bold";
9649             size: 10;
9650             min: 1 1;
9651             max: 1 1;
9652             align: 1.0 1.0;
9653           }
9654         }
9655       }
9656       part { name: "base0";
9657         mouse_events:  0;
9658         description { state: "default" 0.0;
9659           rel2 {
9660             to_y: "elm.swallow.icon";
9661             relative: 1.0 0.0;
9662             offset: -1 -1;
9663           }
9664           image {
9665             normal: "bubble_2.png";
9666             border: 11 36 10 19;
9667           }
9668           image.middle: SOLID;
9669           fill.smooth: 0;
9670         }
9671         description { state: "rtl" 0.0;
9672            inherit: "default" 0.0;
9673            image {
9674               normal: "bubble_1.png";
9675               border: 36 11 10 19;
9676            }
9677         }
9678       }
9679       part { name: "elm.swallow.content";
9680         type: SWALLOW;
9681         description { state: "default" 0.0;
9682           rel1 {
9683             to: "base0";
9684             offset: 9 8;
9685           }
9686           rel2 {
9687             to: "base0";
9688             offset: -10 -17;
9689           }
9690         }
9691       }
9692       part { name: "shine";
9693         mouse_events:  0;
9694         description { state:    "default" 0.0;
9695           rel1 {
9696             to: "base0";
9697             offset: 5 4;
9698           }
9699           rel2 {
9700             to: "base0";
9701             relative: 1.0 0.5;
9702             offset: -6 -16;
9703           }
9704           image {
9705             normal: "bubble_shine.png";
9706             border: 5 5 5 0;
9707           }
9708           fill.smooth: 0;
9709         }
9710         description { state: "rtl" 0.0;
9711            inherit: "default" 0.0;
9712            image {
9713               normal: "bubble_shine3.png";
9714               border: 36 5 14 0;
9715            }
9716         }
9717       }
9718     }
9719     programs {
9720       program {
9721         name: "icon_show";
9722         signal: "elm,state,icon,visible";
9723         source: "elm";
9724         action: STATE_SET "visible" 0.0;
9725         target: "elm.swallow.icon";
9726       }
9727       program {
9728         name: "icon_hide";
9729         signal: "elm,state,icon,hidden";
9730         source: "elm";
9731         action: STATE_SET "default" 0.0;
9732         target: "elm.swallow.icon";
9733       }
9734       program { name: "to_rtl";
9735          signal: "edje,state,rtl";
9736          source: "edje";
9737          action: STATE_SET "rtl" 0.0;
9738          target: "base0";
9739       }
9740       program { name: "to_ltr";
9741          signal: "edje,state,ltr";
9742          source: "edje";
9743          action: STATE_SET "default" 0.0;
9744          target: "base0";
9745       }
9746     }
9747   }
9748
9749 ///////////////////////////////////////////////////////////////////////////////
9750    group { name: "elm/photo/base/default";
9751       images {
9752          image: "frame_1.png" COMP;
9753          image: "frame_2.png" COMP;
9754          image: "dia_grad.png" COMP;
9755          image: "head.png" COMP;
9756       }
9757       parts {
9758          part { name: "base0";
9759             mouse_events:  0;
9760             description { state: "default" 0.0;
9761                image.normal: "dia_grad.png";
9762                rel1.to: "over";
9763                rel2.to: "over";
9764                fill {
9765                   smooth: 0;
9766                   size {
9767                      relative: 0.0 1.0;
9768                      offset: 64 0;
9769                   }
9770                }
9771             }
9772          }
9773          part { name: "base";
9774             mouse_events:  0;
9775             description { state:    "default" 0.0;
9776                image {
9777                   normal: "frame_2.png";
9778                   border: 5 5 32 26;
9779                   middle: 0;
9780                }
9781                fill.smooth : 0;
9782             }
9783          }
9784          part { name: "head";
9785             mouse_events:  0;
9786             description { state:    "default" 0.0;
9787                rel1.offset: 4 4;
9788                rel2.offset: -5 -5;
9789                aspect: 1.0 1.0;
9790                aspect_preference: BOTH;
9791                image.normal: "head.png";
9792             }
9793          }
9794          part { name: "clip";
9795             mouse_events:  0;
9796             type: RECT;
9797             description { state:    "default" 0.0;
9798                rel1.offset: 4 4;
9799                rel2.offset: -5 -5;
9800                color: 255 255 255 255;
9801             }
9802          }
9803          part { name: "elm.swallow.content";
9804             type: SWALLOW;
9805             clip_to: "clip";
9806             description { state: "default" 0.0;
9807                rel1.offset: 4 4;
9808                rel2.offset: -5 -5;
9809             }
9810          }
9811          part { name: "over";
9812             mouse_events:  0;
9813             description { state:    "default" 0.0;
9814                rel1.offset: 4 4;
9815                rel2.offset: -5 -5;
9816                image {
9817                   normal: "frame_1.png";
9818                   border: 2 2 28 22;
9819                   middle: 0;
9820                }
9821                fill.smooth: 0;
9822             }
9823          }
9824      }
9825    }
9826
9827    group { name: "elm/photo/base/shadow";
9828               images {
9829                         image: "shadow.png" COMP;
9830                         image: "black.png" COMP;
9831               }
9832               script {
9833               public message(Msg_Type:type, id, ...) {
9834                 if( (type==MSG_INT_SET) && (id==0) )
9835                 {
9836                     new w;
9837                     new h;
9838
9839                     custom_state(PART:"size", "default", 0.0);
9840
9841                     w = getarg(2);
9842                     h = getarg(3);
9843                     set_state_val(PART:"size", STATE_REL1_OFFSET, - w/2, - h/2);
9844                     set_state_val(PART:"size", STATE_REL2_OFFSET, w/2 + 1, h/2 + 1);
9845                     set_state(PART:"size", "custom", 0.0);
9846                 }
9847             }
9848             }
9849               parts {
9850               part { name: "size";
9851                     type: SWALLOW;
9852                     description { state: "default" 0.0;
9853                             rel1.relative: 0.5 0.5;
9854                             rel2.relative: 0.5 0.5;
9855                     }
9856                  }
9857               part {
9858                 name: "shadow";
9859                 type: IMAGE;
9860                 repeat_events: 1;
9861                 description {
9862                     state: "default" 0.0;
9863                     rel1.to: "size";
9864                     rel2.to: "size";
9865                     rel1.relative: -0.06 -0.06;
9866                     rel2.relative: 1.07 1.07;
9867                     image.normal: "shadow.png";
9868                 }
9869             }
9870   
9871
9872                  part { name: "elm.swallow.content";
9873                     type: SWALLOW;
9874                     description { state: "default" 0.0;
9875                     rel1.offset: 3 3;
9876                     rel2.offset: -3 -3;
9877                             fixed: 1 1;
9878                     }
9879                  }
9880      
9881                  part {
9882                 name: "border";
9883                 type: IMAGE;
9884                 repeat_events: 1;
9885                 description {
9886                     state: "default" 0.0;
9887                     visible: 1;
9888                     color: 0 0 0 255;
9889                     rel1.to: "size";
9890                     rel2.to: "size";
9891                     image.normal: "black.png";
9892                     image.border: 1 1 1 1;
9893                     image.middle: 0;
9894                 }
9895             }
9896                  }
9897    }
9898
9899 ///////////////////////////////////////////////////////////////////////////////
9900    group { name: "elm/thumb/base/default";
9901       images {
9902          image: "frame_1.png" COMP;
9903          image: "frame_2.png" COMP;
9904          image: "dia_grad.png" COMP;
9905          image: "busy-1.png" COMP;
9906          image: "busy-2.png" COMP;
9907          image: "busy-3.png" COMP;
9908          image: "busy-4.png" COMP;
9909          image: "busy-5.png" COMP;
9910          image: "busy-6.png" COMP;
9911          image: "busy-7.png" COMP;
9912          image: "busy-8.png" COMP;
9913          image: "busy-9.png" COMP;
9914       }
9915       parts {
9916          part { name: "base0";
9917             mouse_events:  0;
9918             description { state:        "default" 0.0;
9919                image.normal: "dia_grad.png";
9920                rel1.to: "over";
9921                rel2.to: "over";
9922                fill {
9923                   smooth: 0;
9924                   size {
9925                      relative: 0.0 1.0;
9926                      offset: 64 0;
9927                   }
9928                }
9929             }
9930          }
9931          part { name: "base";
9932             mouse_events:  0;
9933             description { state:        "default" 0.0;
9934                image {
9935                   normal: "frame_2.png";
9936                   border: 5 5 32 26;
9937                   middle: 0;
9938                }
9939                fill.smooth : 0;
9940             }
9941          }
9942          part { name: "clip";
9943             mouse_events:  0;
9944             type: RECT;
9945             description { state:        "default" 0.0;
9946                rel1.offset: 4 4;
9947                rel2.offset: -5 -5;
9948                color: 255 255 255 255;
9949             }
9950          }
9951          part { name: "elm.swallow.content";
9952             type: SWALLOW;
9953             clip_to: "clip";
9954             description { state:        "default" 0.0;
9955                rel1.offset: 4 4;
9956                rel2.offset: -5 -5;
9957             }
9958          }
9959          part { name: "progress";
9960             mouse_events: 0;
9961
9962             clip_to: "clip";
9963             description { state:        "default" 0.0;
9964                min: 32 32;
9965                max: 32 32;
9966                visible: 0;
9967                aspect: 1.0 1.0;
9968                aspect_preference: BOTH;
9969             }
9970             description { state:        "pulse" 0.0;
9971                inherit: "default" 0.0;
9972                visible: 1;
9973                image {
9974                   normal: "busy-9.png";
9975                   tween:  "busy-1.png";
9976                   tween:  "busy-2.png";
9977                   tween:  "busy-3.png";
9978                   tween:  "busy-4.png";
9979                   tween:  "busy-5.png";
9980                   tween:  "busy-6.png";
9981                   tween:  "busy-7.png";
9982                   tween:  "busy-8.png";
9983                   border: 7 7 7 7;
9984                }
9985             }
9986          }
9987          part { name: "over";
9988             mouse_events:  0;
9989             description { state:        "default" 0.0;
9990                rel1.offset: 4 4;
9991                rel2.offset: -5 -5;
9992                image {
9993                   normal: "frame_1.png";
9994                   border: 2 2 28 22;
9995                   middle: 0;
9996                }
9997                fill.smooth: 0;
9998             }
9999          }
10000          programs {
10001             program { name: "start_pulse";
10002                signal: "elm,state,pulse,start";
10003                source: "elm";
10004                action: STATE_SET "pulse" 0.0;
10005                target: "progress";
10006                transition: LINEAR 0.5;
10007                after: "start_pulse";
10008             }
10009             program { name: "stop_pulse";
10010                signal: "elm,state,pulse,stop";
10011                source: "elm";
10012                action: STATE_SET "default" 0.0;
10013                target: "progress";
10014             }
10015          }
10016       }
10017    }
10018
10019    group { name: "elm/thumb/base/noframe";
10020       images {
10021          image: "busy-1.png" COMP;
10022          image: "busy-2.png" COMP;
10023          image: "busy-3.png" COMP;
10024          image: "busy-4.png" COMP;
10025          image: "busy-5.png" COMP;
10026          image: "busy-6.png" COMP;
10027          image: "busy-7.png" COMP;
10028          image: "busy-8.png" COMP;
10029          image: "busy-9.png" COMP;
10030       }
10031       parts {
10032          part { name: "elm.swallow.content";
10033             type: SWALLOW;
10034             description { state: "default" 0.0;
10035                rel1.offset: 4 4;
10036                rel2.offset: -5 -5;
10037             }
10038          }
10039          part { name: "progress";
10040             mouse_events: 0;
10041             description { state:        "default" 0.0;
10042                min: 32 32;
10043                max: 32 32;
10044                visible: 0;
10045                aspect: 1.0 1.0;
10046                aspect_preference: BOTH;
10047             }
10048             description { state:        "pulse" 0.0;
10049                inherit: "default" 0.0;
10050                visible: 1;
10051                image {
10052                   normal: "busy-9.png";
10053                   tween:  "busy-1.png";
10054                   tween:  "busy-2.png";
10055                   tween:  "busy-3.png";
10056                   tween:  "busy-4.png";
10057                   tween:  "busy-5.png";
10058                   tween:  "busy-6.png";
10059                   tween:  "busy-7.png";
10060                   tween:  "busy-8.png";
10061                   border: 7 7 7 7;
10062                }
10063             }
10064          }
10065          programs {
10066             program { name: "start_pulse";
10067                signal: "elm,state,pulse,start";
10068                source: "elm";
10069                action: STATE_SET "pulse" 0.0;
10070                target: "progress";
10071                transition: LINEAR 0.5;
10072                after: "start_pulse";
10073             }
10074             program { name: "stop_pulse";
10075                signal: "elm,state,pulse,stop";
10076                source: "elm";
10077                action: STATE_SET "default" 0.0;
10078                target: "progress";
10079             }
10080          }
10081       }
10082    }
10083
10084
10085 ///////////////////////////////////////////////////////////////////////////////
10086    group { name: "elm/icon/home/default"; alias: "elm/icon/toolbar/home/default"; min: 32 32;
10087       images.image: "icon_home.png" COMP; parts { part { name: "base";
10088          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10089             image.normal: "icon_home.png"; } } } }
10090    group { name: "elm/icon/close/default"; alias: "elm/icon/toolbar/close/default"; min: 32 32;
10091       images.image: "icon_close.png" COMP; parts { part { name: "base";
10092          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10093             image.normal: "icon_close.png"; } } } }
10094    group { name: "elm/icon/apps/default"; alias: "elm/icon/toolbar/apps/default"; min: 32 32;
10095       images.image: "icon_apps.png" COMP; parts { part { name: "base";
10096          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10097             image.normal: "icon_apps.png"; } } } }
10098    group { name: "elm/icon/arrow_up/default"; alias: "elm/icon/toolbar/arrow_up/default"; min: 32 32;
10099       images.image: "icon_arrow_up.png" COMP; parts { part { name: "base";
10100          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10101             image.normal: "icon_arrow_up.png"; } } } }
10102    group { name: "elm/icon/arrow_down/default";
10103            alias: "elm/icon/toolbar/arrow_down/default";
10104            alias: "elm/icon/toolbar/more_menu/default"; min: 32 32;
10105       images.image: "icon_arrow_down.png" COMP; parts { part { name: "base";
10106          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10107             image.normal: "icon_arrow_down.png"; } } } }
10108    group { name: "elm/icon/arrow_left/default"; alias: "elm/icon/toolbar/arrow_left/default"; min: 32 32;
10109       images.image: "icon_arrow_left.png" COMP; parts { part { name: "base";
10110          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10111             image.normal: "icon_arrow_left.png"; } } } }
10112    group { name: "elm/icon/arrow_right/default"; alias: "elm/icon/toolbar/arrow_right/default"; min: 32 32;
10113       images.image: "icon_arrow_right.png" COMP; parts { part { name: "base";
10114          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10115             image.normal: "icon_arrow_right.png"; } } } }
10116    group { name: "elm/icon/chat/default"; alias: "elm/icon/toolbar/chat/default"; min: 32 32;
10117       images.image: "icon_chat.png" COMP; parts { part { name: "base";
10118          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10119             image.normal: "icon_chat.png"; } } } }
10120    group { name: "elm/icon/clock/default"; alias: "elm/icon/toolbar/clock/default"; min: 32 32;
10121       images.image: "icon_clock.png" COMP; parts { part { name: "base";
10122          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10123             image.normal: "icon_clock.png"; } } } }
10124    group { name: "elm/icon/delete/default"; alias: "elm/icon/toolbar/delete/default"; min: 32 32;
10125       images.image: "icon_delete.png" COMP; parts { part { name: "base";
10126          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10127             image.normal: "icon_delete.png"; } } } }
10128    group { name: "elm/icon/edit/default"; alias: "elm/icon/toolbar/edit/default"; min: 32 32;
10129       images.image: "icon_edit.png" COMP; parts { part { name: "base";
10130          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10131             image.normal: "icon_edit.png"; } } } }
10132    group { name: "elm/icon/refresh/default"; alias: "elm/icon/toolbar/refresh/default"; min: 32 32;
10133       images.image: "icon_refresh.png" COMP; parts { part { name: "base";
10134          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10135             image.normal: "icon_refresh.png"; } } } }
10136    group { name: "elm/icon/folder/default"; alias: "elm/icon/toolbar/folder/default"; min: 32 32;
10137       images.image: "icon_folder.png" COMP; parts { part { name: "base";
10138          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10139             image.normal: "icon_folder.png"; } } } }
10140    group { name: "elm/icon/file/default"; alias: "elm/icon/toolbar/file/default"; min: 32 32;
10141       images.image: "icon_file.png" COMP; parts { part { name: "base";
10142          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10143             image.normal: "icon_file.png"; } } } }
10144 ///////////////////////////////////////////////////////////////////////////////
10145    group { name: "elm/icon/menu/home/default"; min: 24 24; max: 24 24;
10146       images.image: "icon_home.png" COMP; parts { part { name: "base";
10147          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10148             image.normal: "icon_home.png"; } } } }
10149    group { name: "elm/icon/menu/close/default"; min: 24 24; max: 24 24;
10150       images.image: "icon_close.png" COMP; parts { part { name: "base";
10151          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10152             image.normal: "icon_close.png"; } } } }
10153    group { name: "elm/icon/menu/apps/default"; min: 24 24; max: 24 24;
10154       images.image: "icon_apps.png" COMP; parts { part { name: "base";
10155          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10156             image.normal: "icon_apps.png"; } } } }
10157    group { name: "elm/icon/menu/arrow_up/default"; min: 24 24; max: 24 24;
10158       images.image: "icon_arrow_up.png" COMP; parts { part { name: "base";
10159          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10160             image.normal: "icon_arrow_up.png"; } } } }
10161    group { name: "elm/icon/menu/arrow_down/default"; min: 24 24; max: 24 24;
10162       images.image: "icon_arrow_down.png" COMP; parts { part { name: "base";
10163          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10164             image.normal: "icon_arrow_down.png"; } } } }
10165    group { name: "elm/icon/menu/arrow_left/default"; min: 24 24; max: 24 24;
10166       images.image: "icon_arrow_left.png" COMP; parts { part { name: "base";
10167          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10168             image.normal: "icon_arrow_left.png"; } } } }
10169    group { name: "elm/icon/menu/arrow_right/default"; min: 24 24; max: 24 24;
10170       images.image: "icon_arrow_right.png" COMP; parts { part { name: "base";
10171          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10172             image.normal: "icon_arrow_right.png"; } } } }
10173    group { name: "elm/icon/menu/chat/default"; min: 24 24; max: 24 24;
10174       images.image: "icon_chat.png" COMP; parts { part { name: "base";
10175          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10176             image.normal: "icon_chat.png"; } } } }
10177    group { name: "elm/icon/menu/clock/default"; min: 24 24; max: 24 24;
10178       images.image: "icon_clock.png" COMP; parts { part { name: "base";
10179          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10180             image.normal: "icon_clock.png"; } } } }
10181    group { name: "elm/icon/menu/delete/default"; min: 24 24; max: 24 24;
10182       images.image: "icon_delete.png" COMP; parts { part { name: "base";
10183          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10184             image.normal: "icon_delete.png"; } } } }
10185    group { name: "elm/icon/menu/edit/default"; min: 24 24; max: 24 24;
10186       images.image: "icon_edit.png" COMP; parts { part { name: "base";
10187          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10188             image.normal: "icon_edit.png"; } } } }
10189    group { name: "elm/icon/menu/refresh/default"; min: 24 24; max: 24 24;
10190       images.image: "icon_refresh.png" COMP; parts { part { name: "base";
10191          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10192             image.normal: "icon_refresh.png"; } } } }
10193    group { name: "elm/icon/menu/folder/default"; min: 24 24; max: 24 24;
10194       images.image: "icon_folder.png" COMP; parts { part { name: "base";
10195          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10196             image.normal: "icon_folder.png"; } } } }
10197    group { name: "elm/icon/menu/file/default"; min: 24 24; max: 24 24;
10198       images.image: "icon_file.png" COMP; parts { part { name: "base";
10199          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10200             image.normal: "icon_file.png"; } } } }
10201
10202 ///////////////////////////////////////////////////////////////////////////////
10203    group { name: "elm/toolbar/base/default";
10204       images {
10205          image: "bt_dis_base.png" COMP;
10206          image: "bt_dis_hilight.png" COMP;
10207          image: "bt_dis_shine.png" COMP;
10208          image: "icon_left_arrow.png" COMP;
10209          image: "icon_right_arrow.png" COMP;
10210       }
10211       parts {
10212          part { name: "base";
10213             mouse_events: 1;
10214             description { state: "default" 0.0;
10215                rel1 {
10216                   relative: 0.0 0.0;
10217                   offset: 2 2;
10218                }
10219                rel2.offset: -3 -3;
10220                image {
10221                   normal: "bt_dis_base.png";
10222                   border: 4 4 4 4;
10223                }
10224                image.middle: SOLID;
10225             }
10226          }
10227          part { name: "clipper";
10228             type: RECT;
10229             mouse_events: 0;
10230             description {
10231                state: "default" 0.0;
10232                rel1 {
10233                   to: "base";
10234                   offset: 2 2;
10235                }
10236                rel2 {
10237                   to: "base";
10238                   offset: -3 -3;
10239                }
10240             }
10241          }
10242          part { name: "elm.swallow.content";
10243             clip_to: "clipper";
10244             type: SWALLOW;
10245             description {
10246                state: "default" 0.0;
10247                rel1.to: "clipper";
10248                rel2.to: "clipper";
10249             }
10250          }
10251          part { name: "over2";
10252             mouse_events: 0;
10253             description { state: "default" 0.0;
10254                rel1.to: "base";
10255                rel2.to: "base";
10256                image {
10257                   normal: "bt_dis_shine.png";
10258                   border: 4 4 4 4;
10259                }
10260             }
10261          }
10262          part { name: "over1";
10263             mouse_events: 0;
10264             description { state: "default" 0.0;
10265                rel1.to: "base";
10266                rel2.to: "base";
10267                rel2.relative: 1.0 0.5;
10268                image {
10269                   normal: "bt_dis_hilight.png";
10270                   border: 4 4 4 0;
10271                }
10272                color: 255 255 255 128;
10273             }
10274          }
10275          part { name: "left_arrow";
10276             mouse_events: 0;
10277             description { state: "default" 0.0;
10278                image.normal: "icon_left_arrow.png";
10279                aspect: 1.0 1.0;
10280                aspect_preference: VERTICAL;
10281                align: 0.0 0.5;
10282                min: 32 32;
10283                max: 32 32;
10284             }
10285             description { state: "hidden" 0.0;
10286                inherit: "default" 0.0;
10287                visible: 0;
10288                color: 255 255 255 0;
10289             }
10290          }
10291          part { name: "right_arrow";
10292             mouse_events: 0;
10293             description { state: "default" 0.0;
10294                image.normal: "icon_right_arrow.png";
10295                aspect: 1.0 1.0;
10296                aspect_preference: VERTICAL;
10297                align: 1.0 0.5;
10298                min: 32 32;
10299                max: 32 32;
10300             }
10301             description { state: "hidden" 0.0;
10302                inherit: "default" 0.0;
10303                visible: 0;
10304                color: 255 255 255 0;
10305             }
10306          }
10307          part { name: "event";
10308             type: RECT;
10309             mouse_events: 1;
10310             repeat_events: 1;
10311             description { state: "default" 0.0;
10312                color: 0 0 0 0;
10313             }
10314          }
10315       }
10316       programs {
10317          program { name: "sb_hbar_show";
10318             signal: "elm,action,show,hbar";
10319             source: "elm";
10320             action:  STATE_SET "default" 0.0;
10321             transition: LINEAR 0.5;
10322             target: "left_arrow";
10323             target: "right_arrow";
10324          }
10325          program { name: "sb_hbar_hide";
10326             signal: "elm,action,hide,hbar";
10327             source: "elm";
10328             action:  STATE_SET "hidden" 0.0;
10329             target: "left_arrow";
10330             target: "right_arrow";
10331             transition: LINEAR 0.5;
10332          }
10333       }
10334    }
10335
10336    group { name: "elm/toolbar/item/default";
10337        images {
10338            image: "toolbar_sel.png" COMP;
10339        }
10340        data.item: "transition_animation_on" "1";
10341        parts {
10342            part { name: "label2";
10343                type: TEXT;
10344                mouse_events:  0;
10345                scale: 1;
10346                clip_to: "elm.text.clipper";
10347                description { state: "default" 0.0;
10348                    align: 0.5 1.0;
10349                    fixed: 0 1;
10350                    rel1.to: "elm.text";
10351                    rel2.to: "elm.text";
10352                    color: 0 0 0 255;
10353                    text {
10354                        font: "Sans";
10355                        text_source: "elm.text";
10356                        size: 10;
10357                        min: 1 1;
10358                        align: 0.5 0.5;
10359                        text_class: "toolbar_item";
10360                    }
10361                }
10362                description { state: "selected" 0.0;
10363                    inherit: "default" 0.0;
10364                    visible: 0;
10365                }
10366                description { state: "disabled" 0.0;
10367                    inherit: "default" 0.0;
10368                    color: 0 0 0 128;
10369                    color3: 0 0 0 0;
10370                }
10371                description { state: "disabled_visible" 0.0;
10372                    inherit: "default" 0.0;
10373                    color: 0 0 0 128;
10374                    color3: 0 0 0 0;
10375                    visible: 1;
10376                    text.min: 1 1;
10377                }
10378            }
10379            part { name: "label2_new";
10380                type: TEXT;
10381                mouse_events:  0;
10382                scale: 1;
10383                clip_to: "elm.text_new.clipper";
10384                description { state: "default" 0.0;
10385                    align: 0.5 1.0;
10386                    fixed: 0 1;
10387                    rel1.to: "elm.text_new";
10388                    rel2.to: "elm.text_new";
10389                    color: 0 0 0 255;
10390                    text {
10391                        font: "Sans";
10392                        text_source: "elm.text_new";
10393                        size: 10;
10394                        min: 1 1;
10395                        align: 0.5 0.5;
10396                        text_class: "toolbar_item";
10397                    }
10398                }
10399                description { state: "selected" 0.0;
10400                    inherit: "default" 0.0;
10401                    visible: 0;
10402                }
10403                description { state: "disabled" 0.0;
10404                    inherit: "default" 0.0;
10405                    color: 0 0 0 128;
10406                    color3: 0 0 0 0;
10407                }
10408                description { state: "disabled_visible" 0.0;
10409                    inherit: "default" 0.0;
10410                    color: 0 0 0 128;
10411                    color3: 0 0 0 0;
10412                    visible: 1;
10413                    text.min: 1 1;
10414                }
10415            }
10416            part { name: "bg";
10417                mouse_events: 0;
10418                description { state: "default" 0.0;
10419                    visible: 0;
10420                    color: 255 255 255 0;
10421                    image {
10422                        normal: "toolbar_sel.png";
10423                        border: 3 3 0 0;
10424                    }
10425                    image.middle: SOLID;
10426                    fill.smooth: 0;
10427                }
10428                description { state: "selected" 0.0;
10429                    inherit: "default" 0.0;
10430                    visible: 1;
10431                    color: 255 255 255 255;
10432                }
10433                description { state: "disabled" 0.0;
10434                    inherit: "default" 0.0;
10435                    visible: 0;
10436                    color: 255 255 255 0;
10437                }
10438            }
10439            part { name: "elm.swallow.icon";
10440                type: SWALLOW;
10441                clip_to: "elm.icon.clipper";
10442                description { state: "default" 0.0;
10443                    align: 0.5 0.5;
10444                    fixed: 0 0;
10445                    rel1 {
10446                        relative: 0.0 0.0;
10447                        offset: 2 2;
10448                    }
10449                    rel2 {
10450                        to_y: "elm.text";
10451                        relative: 1.0 0.0;
10452                        offset: -3 -1;
10453                    }
10454                    color: 0 0 0 0;
10455                }
10456            }
10457            part { name: "elm.swallow.icon_new";
10458                type: SWALLOW;
10459                clip_to: "elm.icon_new.clipper";
10460                description { state: "default" 0.0;
10461                    align: 0.5 0.5;
10462                    fixed: 0 0;
10463                    rel1 {
10464                        relative: 0.0 0.0;
10465                        offset: 2 2;
10466                    }
10467                    rel2 {
10468                        to_y: "elm.text_new";
10469                        relative: 1.0 0.0;
10470                        offset: -3 -1;
10471                    }
10472                    color: 0 0 0 0;
10473                }
10474            }
10475            part { name: "elm.text";
10476                type: TEXT;
10477                effect: SOFT_SHADOW;
10478                mouse_events:  0;
10479                scale: 1;
10480                clip_to: "elm.text.clipper";
10481                description { state: "default" 0.0;
10482                    align: 0.5 1.0;
10483                    fixed: 0 1;
10484                    rel1 {
10485                        relative: 0.0 1.0;
10486                        offset:   0 -1;
10487                    }
10488                    rel2 {
10489                        relative: 1.0 1.0;
10490                        offset:   -1 -1;
10491                    }
10492                    visible: 0;
10493                    color: 224 224 224 255;
10494                    color3: 0 0 0 32;
10495                    text {
10496                        font: "Sans:style=Bold";
10497                        size: 10;
10498                        min: 1 1;
10499                        align: 0.5 0.5;
10500                        text_class: "toolbar_item";
10501                    }
10502                }
10503                description { state: "selected" 0.0;
10504                    inherit: "default" 0.0;
10505                    visible: 1;
10506                }
10507                description { state: "visible" 0.0;
10508                    inherit: "default" 0.0;
10509                    visible: 1;
10510                    text.min: 1 1;
10511                }
10512                description { state: "disabled" 0.0;
10513                    inherit: "default" 0.0;
10514                    color: 0 0 0 128;
10515                    color3: 0 0 0 0;
10516                }
10517                description { state: "disabled_visible" 0.0;
10518                    inherit: "default" 0.0;
10519                    color: 0 0 0 128;
10520                    color3: 0 0 0 0;
10521                    visible: 1;
10522                    text.min: 1 1;
10523                }
10524            }
10525            part { name: "elm.text_new";
10526                type: TEXT;
10527                effect: SOFT_SHADOW;
10528                mouse_events:  0;
10529                clip_to: "elm.text_new.clipper";
10530                scale: 1;
10531                description { state: "default" 0.0;
10532                    align: 0.5 1.0;
10533                    fixed: 0 1;
10534                    rel1 {
10535                        relative: 0.0 1.0;
10536                        offset:   0 -1;
10537                    }
10538                    rel2 {
10539                        relative: 1.0 1.0;
10540                        offset:   -1 -1;
10541                    }
10542                    visible: 0;
10543                    color: 224 224 224 255;
10544                    color3: 0 0 0 32;
10545                    text {
10546                        font: "Sans:style=Bold";
10547                        size: 10;
10548                        min: 1 1;
10549                        align: 0.5 0.5;
10550                        text_class: "toolbar_item";
10551                    }
10552                }
10553                description { state: "selected" 0.0;
10554                    inherit: "default" 0.0;
10555                    visible: 1;
10556                }
10557                description { state: "visible" 0.0;
10558                    inherit: "default" 0.0;
10559                    visible: 1;
10560                    text.min: 1 1;
10561                }
10562                description { state: "disabled" 0.0;
10563                    inherit: "default" 0.0;
10564                    color: 0 0 0 128;
10565                    color3: 0 0 0 0;
10566                }
10567                description { state: "disabled_visible" 0.0;
10568                    inherit: "default" 0.0;
10569                    color: 0 0 0 128;
10570                    color3: 0 0 0 0;
10571                    visible: 1;
10572                    text.min: 1 1;
10573                }
10574            }
10575            part { name: "elm.text.clipper";
10576                type: RECT;
10577                description { state: "default" 0.0;
10578                    color: 255 255 255 255;
10579                }
10580                description { state: "animation" 0.0;
10581                    color: 255 255 255 0;
10582                }
10583            }
10584            part { name: "elm.text_new.clipper";
10585                type: RECT;
10586                description { state: "default" 0.0;
10587                    color: 255 255 255 0;
10588                }
10589                description { state: "animation" 0.0;
10590                    color: 255 255 255 255;
10591                }
10592            }
10593            part { name: "elm.icon.clipper";
10594                type: RECT;
10595                description { state: "default" 0.0;
10596                    color: 255 255 255 255;
10597                }
10598                description { state: "animation" 0.0;
10599                    color: 255 255 255 0;
10600                }
10601            }
10602            part { name: "elm.icon_new.clipper";
10603                type: RECT;
10604                description { state: "default" 0.0;
10605                    color: 255 255 255 0;
10606                }
10607                description { state: "animation" 0.0;
10608                    color: 255 255 255 255;
10609                }
10610            }
10611            part { name: "event";
10612                type: RECT;
10613                mouse_events: 1;
10614                ignore_flags: ON_HOLD;
10615                description { state: "default" 0.0;
10616                    color: 0 0 0 0;
10617                }
10618            }
10619        }
10620        programs {
10621            program { name: "go_active";
10622                signal:  "elm,state,selected";
10623                source:  "elm";
10624                action:  STATE_SET "selected" 0.0;
10625                target:  "bg";
10626                target:  "elm.text";
10627                target:  "label2";
10628                target:  "elm.text_new";
10629                target:  "label2_new";
10630                transition: LINEAR 0.2;
10631            }
10632            program { name: "go_passive";
10633                signal:  "elm,state,unselected";
10634                source:  "elm";
10635                action:  STATE_SET "default" 0.0;
10636                target:  "bg";
10637                target:  "elm.text";
10638                target:  "label2";
10639                target:  "elm.text_new";
10640                target:  "label2_new";
10641                transition: LINEAR 0.1;
10642            }
10643            program { name: "go";
10644                signal:  "mouse,up,1";
10645                source:  "event";
10646                action:  SIGNAL_EMIT "elm,action,click" "elm";
10647            }
10648            program { name: "mouse,in";
10649               signal:  "mouse,in";
10650               source:  "event";
10651               action:  SIGNAL_EMIT "elm,mouse,in" "elm";
10652            }
10653            program { name: "mouse,out";
10654               signal:  "mouse,out";
10655               source:  "event";
10656               action:  SIGNAL_EMIT "elm,mouse,out" "elm";
10657            }
10658            program { name: "disable";
10659                signal: "elm,state,disabled";
10660                source: "elm";
10661                action: STATE_SET "disabled" 0.0;
10662                target: "label2";
10663                target: "label2_new";
10664                target: "bg";
10665                after: "disable_text";
10666            }
10667            program { name: "disable_text";
10668                script {
10669                    new st[31];
10670                    new Float:vl;
10671                    get_state(PART:"elm.text", st, 30, vl);
10672                    if (!strcmp(st, "visible"))
10673                    {
10674                       set_state(PART:"elm.text", "disabled_visible", 0.0);
10675                       set_state(PART:"elm.text_new", "disabled_visible", 0.0);
10676                    }
10677                    else
10678                    {
10679                       set_state(PART:"elm.text", "disabled", 0.0);
10680                       set_state(PART:"elm.text_new", "disabled", 0.0);
10681                    }
10682                }
10683            }
10684            program { name: "enable";
10685                signal: "elm,state,enabled";
10686                source: "elm";
10687                action: STATE_SET "default" 0.0;
10688                target: "label2";
10689                target: "label2_new";
10690                target: "bg";
10691                after: "enable_text";
10692            }
10693            program { name: "enable_text";
10694                script {
10695                    new st[31];
10696                    new Float:vl;
10697                    get_state(PART:"elm.text", st, 30, vl);
10698                    if (!strcmp(st, "disabled_visible"))
10699                    {
10700                       set_state(PART:"elm.text", "visible", 0.0);
10701                       set_state(PART:"elm.text_new", "visible", 0.0);
10702                    }
10703                    else
10704                    {
10705                       set_state(PART:"elm.text", "default", 0.0);
10706                       set_state(PART:"elm.text_new", "default", 0.0);
10707                    }
10708                }
10709            }
10710            program { name: "label_set,animation,forward";
10711               signal: "elm,state,label_set,forward";
10712               source: "elm";
10713               after: "label_set,animation";
10714            }
10715            program { name: "label_set,animation,backward";
10716               signal: "elm,state,label_set,backward";
10717               source: "elm";
10718               after: "label_set,animation";
10719            }
10720            program { name: "label_set,animation";
10721               signal: "elm,state,label_set";
10722               source: "elm";
10723               action: STATE_SET "animation" 0.0;
10724               target: "elm.text.clipper";
10725               target: "elm.text_new.clipper";
10726               transition: LINEAR 0.2;
10727               after: "label_set,animation,done";
10728            }
10729            program { name: "label_set,animation,done";
10730               action: SIGNAL_EMIT "elm,state,label_set,done" "elm";
10731            }
10732            program { name: "label,reset";
10733               signal: "elm,state,label,reset";
10734               source: "elm";
10735               action: STATE_SET "default" 0.0;
10736               target: "elm.text.clipper";
10737               target: "elm.text_new.clipper";
10738            }
10739            program { name: "icon_set,animation,forward";
10740               signal: "elm,state,icon_set,forward";
10741               source: "elm";
10742               after: "icon_set,animation";
10743            }
10744            program { name: "icon_set,animation,backward";
10745               signal: "elm,state,icon_set,backward";
10746               source: "elm";
10747               after: "icon_set,animation";
10748            }
10749            program { name: "icon_set,animation";
10750               signal: "elm,state,icon_set";
10751               source: "elm";
10752               action: STATE_SET "animation" 0.0;
10753               target: "elm.icon.clipper";
10754               target: "elm.icon_new.clipper";
10755               transition: LINEAR 0.2;
10756               after: "icon_set,animation,done";
10757            }
10758            program { name: "icon_set,animation,done";
10759               action: SIGNAL_EMIT "elm,state,icon_set,done" "elm";
10760            }
10761            program { name: "icon,reset";
10762               signal: "elm,state,icon,reset";
10763               source: "elm";
10764               action: STATE_SET "default" 0.0;
10765               target: "elm.icon.clipper";
10766               target: "elm.icon_new.clipper";
10767            }
10768        }
10769    }
10770
10771    group { name: "elm/toolbar/separator/default";
10772       images {
10773          image: "toolbar_separator_v.png" COMP;
10774       }
10775       parts {
10776          part { name: "separator"; // separator group
10777             description { state: "default" 0.0;
10778                min: 2 2;
10779                max: 2 9999;
10780                rel1.offset: 4 4;
10781                rel2.offset: -5 -5;
10782                image {
10783                   normal: "toolbar_separator_v.png";
10784                }
10785                fill {
10786                   smooth: 0;
10787                }
10788             }
10789          }
10790       }
10791    }
10792
10793    ///////////////////////////////////////////////////////////////////////////////
10794    group { name: "elm/notify/block_events/default";
10795        parts {
10796            part { name: "block_events";
10797                type: RECT;
10798                description { state: "default" 0.0;
10799                    color: 0 0 0 64;
10800                    visible: 1;
10801                }
10802            }
10803        }
10804            programs {
10805                    program {
10806                                 name: "block_clicked";
10807                                 signal: "mouse,clicked,1";
10808                                 source: "block_events";
10809                                 action: SIGNAL_EMIT "elm,action,clicked" "elm";
10810                    }
10811            }
10812    }
10813    group { name: "elm/notify/top/default";
10814        //this group is a design similar to the inwin group
10815        images {
10816            image: "shad_circ.png" COMP;
10817            image: "bt_dis_base.png" COMP;
10818            image: "bt_dis_hilight.png" COMP;
10819        }
10820        parts {
10821            part { name: "base";
10822                type: RECT;
10823                mouse_events: 0;
10824                repeat_events: 1;
10825                description { state: "default" 0.0;
10826                    color: 0 0 0 0;
10827                    rel1.offset: 10 10;
10828                    rel2.offset: -10 -10;
10829                    rel1.relative: 0.0 -1.0;
10830                    rel2.relative: 1.0 0.0;
10831                }
10832                description { state: "visible" 0.0;
10833                    inherit: "default" 0.0;
10834                    color: 0 0 0 64;
10835                    rel1.relative: 0.0 0.0;
10836                    rel2.relative: 1.0 1.0;
10837                }
10838            }
10839            part { name: "shad";
10840                mouse_events:  0;
10841                description { state: "default" 0.0;
10842                    image.normal: "shad_circ.png";
10843                    rel1.to: "elm.swallow.content";
10844                    rel1.offset: -64 -64;
10845                    rel2.to: "elm.swallow.content";
10846                    rel2.offset: 63 63;
10847                    fill.smooth: 0;
10848                }
10849            }
10850            part { name: "pop";
10851                mouse_events: 1;
10852                description { state: "default" 0.0;
10853                    rel1.to: "elm.swallow.content";
10854                    rel1.offset: -5 -5;
10855                    rel2.to: "elm.swallow.content";
10856                    rel2.offset: 4 4;
10857                    image {
10858                        normal: "bt_dis_base.png";
10859                        border: 4 4 4 4;
10860                    }
10861                    image.middle: SOLID;
10862                }
10863            }
10864            part { name: "popover";
10865                mouse_events: 0;
10866                description { state: "default" 0.0;
10867                    rel1.to: "pop";
10868                    rel2.to: "pop";
10869                    rel2.relative: 1.0 0.5;
10870                    image {
10871                        normal: "bt_dis_hilight.png";
10872                        border: 4 4 4 0;
10873                    }
10874                }
10875            }
10876            part { name: "elm.swallow.content";
10877                type: SWALLOW;
10878                description { state: "default" 0.0;
10879                    rel1.to: "base";
10880                    rel2.to: "base";
10881                }
10882            }
10883        }
10884        programs {
10885            program { name: "show";
10886                signal: "elm,action,show";
10887                source: "elm";
10888                action: STATE_SET "visible" 0.0;
10889                target: "base";
10890            }
10891            program { name: "show_2";
10892                 signal: "show";
10893                 action: STATE_SET "default" 0.0;
10894                 target: "base";
10895                 after: "show_3";
10896            }
10897            program { name: "show_3";
10898                 signal: "show";
10899                 action: STATE_SET "visible" 0.0;
10900                 target: "base";
10901                 transition: LINEAR 0.5;
10902            }
10903            program { name: "hide";
10904                signal: "elm,action,hide";
10905                source: "elm";
10906                action: STATE_SET "default" 0.0;
10907                target: "base";
10908            }
10909        }
10910    }
10911    group { name: "elm/notify/center/default";
10912        //this group is a design similar to the inwin group
10913        images {
10914            image: "bt_dis_base.png" COMP;
10915        }
10916        parts {
10917            part { name: "base";
10918                type: RECT;
10919                mouse_events: 0;
10920                repeat_events: 1;
10921                description { state: "default" 0.0;
10922                    color: 0 0 0 0;
10923                    rel1.relative: 0.0 0.0;
10924                    rel2.relative: 1.0 1.0;
10925                }
10926            }
10927            part { name: "pop";
10928                mouse_events: 1;
10929                description { state: "default" 0.0;
10930                    rel1.to: "elm.swallow.content";
10931                    rel1.offset: -5 -5;
10932                    rel2.to: "elm.swallow.content";
10933                    rel2.offset: 4 4;
10934                    image {
10935                        normal: "bt_dis_base.png";
10936                        border: 4 4 4 4;
10937                    }
10938                }
10939            }
10940            part { name: "elm.swallow.content";
10941                type: SWALLOW;
10942                description { state: "default" 0.0;
10943                    rel1.to: "base";
10944                    rel2.to: "base";
10945                }
10946            }
10947        }
10948        programs {
10949            program { name: "show";
10950                signal: "elm,action,show";
10951                source: "elm";
10952                action: STATE_SET "default" 0.0;
10953                target: "base";
10954            }
10955            program { name: "show_2";
10956                 signal: "show";
10957                 action: STATE_SET "default" 0.0;
10958                 target: "base";
10959            }
10960            program { name: "hide";
10961                signal: "elm,action,hide";
10962                source: "elm";
10963                action: STATE_SET "default" 0.0;
10964                target: "base";
10965            }
10966        }
10967    }
10968    group { name: "elm/notify/bottom/default";
10969        //this group is a design similar to the inwin group
10970        images {
10971            image: "shad_circ.png" COMP;
10972            image: "bt_dis_base.png" COMP;
10973            image: "bt_dis_hilight.png" COMP;
10974        }
10975        parts {
10976            part { name: "base";
10977                type: RECT;
10978                mouse_events: 0;
10979                repeat_events: 1;
10980                description { state: "default" 0.0;
10981                    color: 0 0 0 0;
10982                    rel1.offset: 10 10;
10983                    rel2.offset: -10 -10;
10984                    rel1.relative: 0.0 1.0;
10985                    rel2.relative: 1.0 2.0;
10986                }
10987                description { state: "visible" 0.0;
10988                    inherit: "default" 0.0;
10989                    color: 0 0 0 64;
10990                    rel1.relative: 0.0 0.0;
10991                    rel2.relative: 1.0 1.0;
10992                }
10993            }
10994            part { name: "shad";
10995                mouse_events:  0;
10996                description { state: "default" 0.0;
10997                    image.normal: "shad_circ.png";
10998                    rel1.to: "elm.swallow.content";
10999                    rel1.offset: -64 -64;
11000                    rel2.to: "elm.swallow.content";
11001                    rel2.offset: 63 63;
11002                    fill.smooth: 0;
11003                }
11004            }
11005            part { name: "pop";
11006                mouse_events: 1;
11007                description { state: "default" 0.0;
11008                    rel1.to: "elm.swallow.content";
11009                    rel1.offset: -5 -5;
11010                    rel2.to: "elm.swallow.content";
11011                    rel2.offset: 4 4;
11012                    image {
11013                        normal: "bt_dis_base.png";
11014                        border: 4 4 4 4;
11015                    }
11016                    image.middle: SOLID;
11017                }
11018            }
11019            part { name: "popover";
11020                mouse_events: 0;
11021                description { state: "default" 0.0;
11022                    rel1.to: "pop";
11023                    rel2.to: "pop";
11024                    rel2.relative: 1.0 0.5;
11025                    image {
11026                        normal: "bt_dis_hilight.png";
11027                        border: 4 4 4 0;
11028                    }
11029                }
11030            }
11031            part { name: "elm.swallow.content";
11032                type: SWALLOW;
11033                description { state: "default" 0.0;
11034                    rel1.to: "base";
11035                    rel2.to: "base";
11036                }
11037            }
11038        }
11039        programs {
11040            program { name: "show";
11041                signal: "elm,action,show";
11042                source: "elm";
11043                action: STATE_SET "visible" 0.0;
11044                target: "base";
11045            }
11046            program { name: "show_2";
11047                 signal: "show";
11048                 action: STATE_SET "default" 0.0;
11049                 target: "base";
11050                 after: "show_3";
11051            }
11052            program { name: "show_3";
11053                 signal: "show";
11054                 action: STATE_SET "visible" 0.0;
11055                 target: "base";
11056                 transition: LINEAR 0.5;
11057            }
11058            program { name: "hide";
11059                signal: "elm,action,hide";
11060                source: "elm";
11061                action: STATE_SET "default" 0.0;
11062                target: "base";
11063            }
11064        }
11065    }
11066    group { name: "elm/notify/left/default";
11067        //this group is a design similar to the inwin group
11068        images {
11069            image: "shad_circ.png" COMP;
11070            image: "bt_dis_base.png" COMP;
11071            image: "bt_dis_hilight.png" COMP;
11072        }
11073        parts {
11074            part { name: "base";
11075                type: RECT;
11076                mouse_events: 0;
11077                repeat_events: 1;
11078                description { state: "default" 0.0;
11079                    color: 0 0 0 0;
11080                    rel1.offset: 10 10;
11081                    rel2.offset: -10 -10;
11082                    rel1.relative: -1.0 0.0;
11083                    rel2.relative: 0.0 1.0;
11084                }
11085                description { state: "visible" 0.0;
11086                    inherit: "default" 0.0;
11087                    color: 0 0 0 64;
11088                    rel1.relative: 0.0 0.0;
11089                    rel2.relative: 1.0 1.0;
11090                }
11091            }
11092            part { name: "shad";
11093                mouse_events:  0;
11094                description { state: "default" 0.0;
11095                    image.normal: "shad_circ.png";
11096                    rel1.to: "elm.swallow.content";
11097                    rel1.offset: -64 -64;
11098                    rel2.to: "elm.swallow.content";
11099                    rel2.offset: 63 63;
11100                    fill.smooth: 0;
11101                }
11102            }
11103            part { name: "pop";
11104                mouse_events: 1;
11105                description { state: "default" 0.0;
11106                    rel1.to: "elm.swallow.content";
11107                    rel1.offset: -5 -5;
11108                    rel2.to: "elm.swallow.content";
11109                    rel2.offset: 4 4;
11110                    image {
11111                        normal: "bt_dis_base.png";
11112                        border: 4 4 4 4;
11113                    }
11114                    image.middle: SOLID;
11115                }
11116            }
11117            part { name: "popover";
11118                mouse_events: 0;
11119                description { state: "default" 0.0;
11120                    rel1.to: "pop";
11121                    rel2.to: "pop";
11122                    rel2.relative: 1.0 0.5;
11123                    image {
11124                        normal: "bt_dis_hilight.png";
11125                        border: 4 4 4 0;
11126                    }
11127                }
11128            }
11129            part { name: "elm.swallow.content";
11130                type: SWALLOW;
11131                description { state: "default" 0.0;
11132                    rel1.to: "base";
11133                    rel2.to: "base";
11134                }
11135            }
11136        }
11137        programs {
11138            program { name: "show";
11139                signal: "elm,action,show";
11140                source: "elm";
11141                action: STATE_SET "visible" 0.0;
11142                target: "base";
11143            }
11144            program { name: "show_2";
11145                signal: "show";
11146                action: STATE_SET "default" 0.0;
11147                target: "base";
11148                after: "show_3";
11149            }
11150            program { name: "show_3";
11151                signal: "show";
11152                action: STATE_SET "visible" 0.0;
11153                target: "base";
11154                transition: LINEAR 0.5;
11155            }
11156            program { name: "hide";
11157                signal: "elm,action,hide";
11158                source: "elm";
11159                action: STATE_SET "default" 0.0;
11160                target: "base";
11161            }
11162        }
11163    }
11164    group { name: "elm/notify/right/default";
11165        //this group is a design similar to the inwin group
11166        images {
11167            image: "shad_circ.png" COMP;
11168            image: "bt_dis_base.png" COMP;
11169            image: "bt_dis_hilight.png" COMP;
11170        }
11171        parts {
11172            part { name: "base";
11173                type: RECT;
11174                mouse_events: 0;
11175                repeat_events: 1;
11176                 description { state: "default" 0.0;
11177                    color: 0 0 0 0;
11178                    rel1.offset: 10 10;
11179                    rel2.offset: -10 -10;
11180                    rel1.relative: 1.0 0.0;
11181                    rel2.relative: 2.0 1.0;
11182                }
11183                description { state: "visible" 0.0;
11184                    inherit: "default" 0.0;
11185                    color: 0 0 0 64;
11186                    rel1.relative: 0.0 0.0;
11187                    rel2.relative: 1.0 1.0;
11188                }
11189            }
11190            part { name: "shad";
11191                mouse_events:  0;
11192                description { state: "default" 0.0;
11193                    image.normal: "shad_circ.png";
11194                    rel1.to: "elm.swallow.content";
11195                    rel1.offset: -64 -64;
11196                    rel2.to: "elm.swallow.content";
11197                    rel2.offset: 63 63;
11198                    fill.smooth: 0;
11199                }
11200            }
11201            part { name: "pop";
11202                mouse_events: 1;
11203                description { state: "default" 0.0;
11204                    rel1.to: "elm.swallow.content";
11205                    rel1.offset: -5 -5;
11206                    rel2.to: "elm.swallow.content";
11207                    rel2.offset: 4 4;
11208                    image {
11209                        normal: "bt_dis_base.png";
11210                        border: 4 4 4 4;
11211                    }
11212                    image.middle: SOLID;
11213                }
11214            }
11215            part { name: "popover";
11216                mouse_events: 0;
11217                description { state: "default" 0.0;
11218                    rel1.to: "pop";
11219                    rel2.to: "pop";
11220                    rel2.relative: 1.0 0.5;
11221                    image {
11222                        normal: "bt_dis_hilight.png";
11223                        border: 4 4 4 0;
11224                    }
11225                }
11226            }
11227            part { name: "elm.swallow.content";
11228                type: SWALLOW;
11229                description { state: "default" 0.0;
11230                    rel1.to: "base";
11231                    rel2.to: "base";
11232                }
11233            }
11234        }
11235        programs {
11236            program { name: "show";
11237                signal: "elm,action,show";
11238                source: "elm";
11239                action: STATE_SET "visible" 0.0;
11240                target: "base";
11241            }
11242            program { name: "show_2";
11243                signal: "show";
11244                action: STATE_SET "default" 0.0;
11245                target: "base";
11246                after: "show_3";
11247            }
11248            program { name: "show_3";
11249                signal: "show";
11250                action: STATE_SET "visible" 0.0;
11251                target: "base";
11252                transition: LINEAR 0.5;
11253            }
11254            program { name: "hide";
11255                signal: "elm,action,hide";
11256                source: "elm";
11257                action: STATE_SET "default" 0.0;
11258                target: "base";
11259            }
11260        }
11261    }
11262    group { name: "elm/notify/top_left/default";
11263        //this group is a design similar to the inwin group
11264        images {
11265            image: "shad_circ.png" COMP;
11266            image: "bt_dis_base.png" COMP;
11267            image: "bt_dis_hilight.png" COMP;
11268        }
11269        parts {
11270            part { name: "base";
11271                type: RECT;
11272                mouse_events: 0;
11273                repeat_events: 1;
11274                 description { state: "default" 0.0;
11275                    color: 0 0 0 0;
11276                    rel1.offset: 10 10;
11277                    rel2.offset: -10 -10;
11278                    rel1.relative: 0.0 -1.0;
11279                    rel2.relative: 1.0 0.0;
11280                }
11281                description { state: "visible" 0.0;
11282                    inherit: "default" 0.0;
11283                    color: 0 0 0 64;
11284                    rel1.relative: 0.0 0.0;
11285                    rel2.relative: 1.0 1.0;
11286                }
11287            }
11288            part { name: "shad";
11289                mouse_events:  0;
11290                description { state: "default" 0.0;
11291                    image.normal: "shad_circ.png";
11292                    rel1.to: "elm.swallow.content";
11293                    rel1.offset: -64 -64;
11294                    rel2.to: "elm.swallow.content";
11295                    rel2.offset: 63 63;
11296                    fill.smooth: 0;
11297                }
11298            }
11299            part { name: "pop";
11300                mouse_events: 1;
11301                description { state: "default" 0.0;
11302                    rel1.to: "elm.swallow.content";
11303                    rel1.offset: -5 -5;
11304                    rel2.to: "elm.swallow.content";
11305                    rel2.offset: 4 4;
11306                    image {
11307                        normal: "bt_dis_base.png";
11308                        border: 4 4 4 4;
11309                    }
11310                    image.middle: SOLID;
11311                }
11312            }
11313            part { name: "popover";
11314                mouse_events: 0;
11315                description { state: "default" 0.0;
11316                    rel1.to: "pop";
11317                    rel2.to: "pop";
11318                    rel2.relative: 1.0 0.5;
11319                    image {
11320                        normal: "bt_dis_hilight.png";
11321                        border: 4 4 4 0;
11322                    }
11323                }
11324            }
11325            part { name: "elm.swallow.content";
11326                type: SWALLOW;
11327                description { state: "default" 0.0;
11328                    rel1.to: "base";
11329                    rel2.to: "base";
11330                }
11331            }
11332        }
11333        programs {
11334            program { name: "show";
11335                signal: "elm,action,show";
11336                source: "elm";
11337                action: STATE_SET "visible" 0.0;
11338                target: "base";
11339            }
11340            program { name: "show_2";
11341                signal: "show";
11342                action: STATE_SET "default" 0.0;
11343                target: "base";
11344                after: "show_3";
11345            }
11346            program { name: "show_3";
11347                signal: "show";
11348                action: STATE_SET "visible" 0.0;
11349                target: "base";
11350                transition: LINEAR 0.5;
11351            }
11352            program { name: "hide";
11353                signal: "elm,action,hide";
11354                source: "elm";
11355                action: STATE_SET "default" 0.0;
11356                target: "base";
11357            }
11358        }
11359    }
11360    group { name: "elm/notify/top_right/default";
11361        //this group is a design similar to the inwin group
11362        images {
11363            image: "shad_circ.png" COMP;
11364            image: "bt_dis_base.png" COMP;
11365            image: "bt_dis_hilight.png" COMP;
11366        }
11367        parts {
11368            part { name: "base";
11369                type: RECT;
11370                mouse_events: 0;
11371                repeat_events: 1;
11372                description { state: "default" 0.0;
11373                    color: 0 0 0 0;
11374                    rel1.offset: 10 10;
11375                    rel2.offset: -10 -10;
11376                    rel1.relative: 0.0 -1.0;
11377                    rel2.relative: 1.0 0.0;
11378                }
11379                description { state: "visible" 0.0;
11380                    inherit: "default" 0.0;
11381                    color: 0 0 0 64;
11382                    rel1.relative: 0.0 0.0;
11383                    rel2.relative: 1.0 1.0;
11384                }
11385            }
11386            part { name: "shad";
11387                mouse_events:  0;
11388                description { state: "default" 0.0;
11389                    image.normal: "shad_circ.png";
11390                    rel1.to: "elm.swallow.content";
11391                    rel1.offset: -64 -64;
11392                    rel2.to: "elm.swallow.content";
11393                    rel2.offset: 63 63;
11394                    fill.smooth: 0;
11395                }
11396            }
11397            part { name: "pop";
11398                mouse_events: 1;
11399                description { state: "default" 0.0;
11400                    rel1.to: "elm.swallow.content";
11401                    rel1.offset: -5 -5;
11402                    rel2.to: "elm.swallow.content";
11403                    rel2.offset: 4 4;
11404                    image {
11405                        normal: "bt_dis_base.png";
11406                        border: 4 4 4 4;
11407                    }
11408                    image.middle: SOLID;
11409                }
11410            }
11411            part { name: "popover";
11412                mouse_events: 0;
11413                description { state: "default" 0.0;
11414                    rel1.to: "pop";
11415                    rel2.to: "pop";
11416                    rel2.relative: 1.0 0.5;
11417                    image {
11418                        normal: "bt_dis_hilight.png";
11419                        border: 4 4 4 0;
11420                    }
11421                }
11422            }
11423            part { name: "elm.swallow.content";
11424                type: SWALLOW;
11425                description { state: "default" 0.0;
11426                    rel1.to: "base";
11427                    rel2.to: "base";
11428                }
11429            }
11430        }
11431        programs {
11432            program { name: "show";
11433                signal: "elm,action,show";
11434                source: "elm";
11435                action: STATE_SET "visible" 0.0;
11436                target: "base";
11437            }
11438            program { name: "show_2";
11439                signal: "show";
11440                action: STATE_SET "default" 0.0;
11441                target: "base";
11442                after: "show_3";
11443            }
11444            program { name: "show_3";
11445                signal: "show";
11446                action: STATE_SET "visible" 0.0;
11447                target: "base";
11448                transition: LINEAR 0.5;
11449            }
11450            program { name: "hide";
11451                signal: "elm,action,hide";
11452                source: "elm";
11453                action: STATE_SET "default" 0.0;
11454                target: "base";
11455            }
11456        }
11457    }
11458    group { name: "elm/notify/bottom_left/default";
11459        //this group is a design similar to the inwin group
11460        images {
11461            image: "shad_circ.png" COMP;
11462            image: "bt_dis_base.png" COMP;
11463            image: "bt_dis_hilight.png" COMP;
11464        }
11465        parts {
11466            part { name: "base";
11467                type: RECT;
11468                mouse_events: 0;
11469                repeat_events: 1;
11470                description { state: "default" 0.0;
11471                    color: 0 0 0 0;
11472                    rel1.offset: 10 10;
11473                    rel2.offset: -10 -10;
11474                    rel1.relative: 0.0 1.0;
11475                    rel2.relative: 1.0 2.0;
11476                }
11477                description { state: "visible" 0.0;
11478                    inherit: "default" 0.0;
11479                    color: 0 0 0 64;
11480                    rel1.relative: 0.0 0.0;
11481                    rel2.relative: 1.0 1.0;
11482                }
11483            }
11484            part { name: "shad";
11485                mouse_events:  0;
11486                description { state: "default" 0.0;
11487                    image.normal: "shad_circ.png";
11488                    rel1.to: "elm.swallow.content";
11489                    rel1.offset: -64 -64;
11490                    rel2.to: "elm.swallow.content";
11491                    rel2.offset: 63 63;
11492                    fill.smooth: 0;
11493                }
11494            }
11495            part { name: "pop";
11496                mouse_events: 1;
11497                description { state: "default" 0.0;
11498                    rel1.to: "elm.swallow.content";
11499                    rel1.offset: -5 -5;
11500                    rel2.to: "elm.swallow.content";
11501                    rel2.offset: 4 4;
11502                    image {
11503                        normal: "bt_dis_base.png";
11504                        border: 4 4 4 4;
11505                    }
11506                    image.middle: SOLID;
11507                }
11508            }
11509            part { name: "popover";
11510                mouse_events: 0;
11511                description { state: "default" 0.0;
11512                    rel1.to: "pop";
11513                    rel2.to: "pop";
11514                    rel2.relative: 1.0 0.5;
11515                    image {
11516                        normal: "bt_dis_hilight.png";
11517                        border: 4 4 4 0;
11518                    }
11519                }
11520            }
11521            part { name: "elm.swallow.content";
11522                type: SWALLOW;
11523                description { state: "default" 0.0;
11524                    rel1.to: "base";
11525                    rel2.to: "base";
11526                }
11527            }
11528        }
11529        programs {
11530            program { name: "show";
11531                signal: "elm,action,show";
11532                source: "elm";
11533                action: STATE_SET "visible" 0.0;
11534                target: "base";
11535            }
11536            program { name: "show_2";
11537                signal: "show";
11538                action: STATE_SET "default" 0.0;
11539                target: "base";
11540                after: "show_3";
11541            }
11542            program { name: "show_3";
11543                signal: "show";
11544                action: STATE_SET "visible" 0.0;
11545                target: "base";
11546                transition: LINEAR 0.5;
11547            }
11548            program { name: "hide";
11549                signal: "elm,action,hide";
11550                source: "elm";
11551                action: STATE_SET "default" 0.0;
11552                target: "base";
11553            }
11554        }
11555    }
11556    group { name: "elm/notify/bottom_right/default";
11557        //this group is a design similar to the inwin group
11558        images {
11559            image: "shad_circ.png" COMP;
11560            image: "bt_dis_base.png" COMP;
11561            image: "bt_dis_hilight.png" COMP;
11562        }
11563        parts {
11564            part { name: "base";
11565                type: RECT;
11566                mouse_events: 0;
11567                repeat_events: 1;
11568               description { state: "default" 0.0;
11569                    color: 0 0 0 0;
11570                    rel1.offset: 10 10;
11571                    rel2.offset: -10 -10;
11572                    rel1.relative: 0.0 1.0;
11573                    rel2.relative: 1.0 2.0;
11574                }
11575                description { state: "visible" 0.0;
11576                    inherit: "default" 0.0;
11577                    color: 0 0 0 64;
11578                    rel1.relative: 0.0 0.0;
11579                    rel2.relative: 1.0 1.0;
11580                }
11581            }
11582            part { name: "shad";
11583                mouse_events:  0;
11584                description { state: "default" 0.0;
11585                    image.normal: "shad_circ.png";
11586                    rel1.to: "elm.swallow.content";
11587                    rel1.offset: -64 -64;
11588                    rel2.to: "elm.swallow.content";
11589                    rel2.offset: 63 63;
11590                    fill.smooth: 0;
11591                }
11592            }
11593            part { name: "pop";
11594                mouse_events: 1;
11595                description { state: "default" 0.0;
11596                    rel1.to: "elm.swallow.content";
11597                    rel1.offset: -5 -5;
11598                    rel2.to: "elm.swallow.content";
11599                    rel2.offset: 4 4;
11600                    image {
11601                        normal: "bt_dis_base.png";
11602                        border: 4 4 4 4;
11603                    }
11604                    image.middle: SOLID;
11605                }
11606            }
11607            part { name: "popover";
11608                mouse_events: 0;
11609                description { state: "default" 0.0;
11610                    rel1.to: "pop";
11611                    rel2.to: "pop";
11612                    rel2.relative: 1.0 0.5;
11613                    image {
11614                        normal: "bt_dis_hilight.png";
11615                        border: 4 4 4 0;
11616                    }
11617                }
11618            }
11619            part { name: "elm.swallow.content";
11620                type: SWALLOW;
11621                description { state: "default" 0.0;
11622                    rel1.to: "base";
11623                    rel2.to: "base";
11624                }
11625            }
11626        }
11627        programs {
11628            program { name: "show";
11629                signal: "elm,action,show";
11630                source: "elm";
11631                action: STATE_SET "visible" 0.0;
11632                target: "base";
11633            }
11634            program { name: "show_2";
11635                signal: "show";
11636                action: STATE_SET "default" 0.0;
11637                target: "base";
11638                after: "show_3";
11639            }
11640            program { name: "show_3";
11641                signal: "show";
11642                action: STATE_SET "visible" 0.0;
11643                target: "base";
11644                transition: LINEAR 0.5;
11645            }
11646            program { name: "hide";
11647                signal: "elm,action,hide";
11648                source: "elm";
11649                action: STATE_SET "default" 0.0;
11650                target: "base";
11651            }
11652        }
11653    }
11654
11655 ///////////////////////////////////////////////////////////////////////////////
11656    group { name: "elm/slideshow/base/default";
11657       data {
11658          item: transitions "fade black_fade horizontal vertical square";
11659          item: layouts "fullscreen not_fullscreen";
11660       }
11661       parts {
11662          part { name: "whole";
11663                  type: RECT;
11664             description {
11665                state: "default" 0.0;
11666                visible: 1;
11667                color: 20 20 20 255;
11668             }
11669          }
11670          part { name: "image_1_whole";
11671             description {
11672                state: "default" 0.0;
11673                color: 255 255 255 255;
11674             }
11675             description {
11676                state: "fade_prev_next" 0.0;
11677                inherit: "default" 0.0;
11678                color: 255 255 255 0;
11679             }
11680             description {
11681                state: "black_fade_prev_next_init" 0.0;
11682                inherit: "default" 0.0;
11683                color: 255 255 255 255;
11684             }
11685             description {
11686                state: "black_fade_prev_next" 0.0;
11687                inherit: "default" 0.0;
11688                color: 0 0 0 255;
11689             }
11690             description {
11691                state: "horizontal_next_init" 0.0;
11692                inherit: "default" 0.0;
11693             }
11694             description {
11695                state: "horizontal_next" 0.0;
11696                inherit: "default" 0.0;
11697                rel1.relative: -1.0 0.0;
11698                rel2.relative: 0.0 1.0;
11699             }
11700             description {
11701                state: "horizontal_prev_init" 0.0;
11702                inherit: "default" 0.0;
11703             }
11704             description {
11705                state: "horizontal_prev" 0.0;
11706                inherit: "default" 0.0;
11707                rel1.relative: 1.0 0.0;
11708                rel2.relative: 2.0 1.0;
11709             }
11710             description {
11711                state: "vertical_next_init" 0.0;
11712                inherit: "default" 0.0;
11713             }
11714             description {
11715                state: "vertical_next" 0.0;
11716                inherit: "default" 0.0;
11717                rel1.relative: 0.0 -1.0;
11718                rel2.relative: 1.0 0.0;
11719             }
11720             description {
11721                state: "vertical_prev_init" 0.0;
11722                inherit: "default" 0.0;
11723             }
11724             description {
11725                state: "vertical_prev" 0.0;
11726                inherit: "default" 0.0;
11727                rel1.relative: 0.0 1.0;
11728                rel2.relative: 1.0 2.0;
11729             }
11730             description {
11731                state: "square_prev_next" 0.0;
11732                inherit: "default" 0.0;
11733                color: 255 255 255 0;
11734             }
11735          }
11736          part { name: "image_2_whole";
11737             description {
11738                state: "default" 0.0;
11739                visible: 1;
11740                color: 255 255 255 0;
11741             }
11742             description {
11743                state: "fade_prev_next" 0.0;
11744                inherit: "default" 0.0;
11745                color: 255 255 255 255;
11746             }
11747             description {
11748                state: "black_fade_prev_next_init" 0.0;
11749                inherit: "default" 0.0;
11750                color: 0 0 0 0;
11751             }
11752             description {
11753                state: "black_fade_prev_next" 0.0;
11754                inherit: "default" 0.0;
11755                color: 255 255 255 255;
11756             }
11757             description {
11758                state: "horizontal_next_init" 0.0;
11759                inherit: "default" 0.0;
11760                rel1.relative: 1.0 0.0;
11761                rel2.relative: 2.0 1.0;
11762                color: 255 255 255 255;
11763             }
11764             description {
11765                state: "horizontal_next" 0.0;
11766                inherit: "default" 0.0;
11767                color: 255 255 255 255;
11768             }
11769             description {
11770                state: "horizontal_prev_init" 0.0;
11771                inherit: "default" 0.0;
11772                rel1.relative: -1.0 0.0;
11773                rel2.relative: 0.0 1.0;
11774                color: 255 255 255 255;
11775             }
11776             description {
11777                state: "horizontal_prev" 0.0;
11778                inherit: "default" 0.0;
11779                color: 255 255 255 255;
11780             }
11781             description {
11782                state: "vertical_next_init" 0.0;
11783                inherit: "default" 0.0;
11784                rel1.relative: 0.0 1.0;
11785                rel2.relative: 1.0 2.0;
11786                color: 255 255 255 255;
11787             }
11788             description {
11789                state: "vertical_next" 0.0;
11790                inherit: "default" 0.0;
11791                color: 255 255 255 255;
11792             }
11793             description {
11794                state: "vertical_prev_init" 0.0;
11795                inherit: "default" 0.0;
11796                rel1.relative: 0.0 -1.0;
11797                rel2.relative: 1.0 0.0;
11798                color: 255 255 255 255;
11799             }
11800             description {
11801                state: "vertical_prev" 0.0;
11802                inherit: "default" 0.0;
11803                color: 255 255 255 255;
11804             }
11805             description {
11806                state: "square_prev_next_init" 0.0;
11807                inherit: "default" 0.0;
11808                rel1.relative: 0.5 0.5;
11809                rel2.relative: 0.5 0.5;
11810                color: 255 255 255 255;
11811             }
11812             description {
11813                state: "square_prev_next" 0.0;
11814                inherit: "default" 0.0;
11815                rel1.relative: 0.0 0.0;
11816                rel2.relative: 1.0 1.0;
11817                color: 255 255 255 255;
11818             }
11819          }
11820          part { name: "elm.swallow.1";
11821             type: SWALLOW;
11822             clip_to: "image_1_whole";
11823             description {
11824                state: "default" 0.0;
11825                rel1.to: "image_1_whole";
11826                rel2.to: "image_1_whole";
11827                color: 255 255 255 255;
11828             }
11829             description {
11830                state: "not_fullscreen" 0.0;
11831                rel1.relative: 0.1 0.1;
11832                rel1.to: "image_1_whole";
11833                rel2.relative: 0.9 0.9;
11834                rel2.to: "image_1_whole";
11835                color: 255 255 255 255;
11836             }
11837          }
11838          part { name: "elm.swallow.2";
11839             type: SWALLOW;
11840             clip_to: "image_2_whole";
11841             description {
11842                state: "default" 0.0;
11843                color: 255 255 255 255;
11844                rel1.to: "image_2_whole";
11845                rel2.to: "image_2_whole";
11846             }
11847             description {
11848                state: "not_fullscreen" 0.0;
11849                color: 255 255 255 255;
11850                rel1.relative: 0.1 0.1;
11851                rel1.to: "image_2_whole";
11852                rel2.relative: 0.9 0.9;
11853                rel2.to: "image_2_whole";
11854             }
11855          }
11856          part { name: "events_catcher";
11857             type: RECT;
11858             repeat_events: 1;
11859             description {
11860                state: "default" 0.0;
11861                visible: 1;
11862                color: 0 0 0 0;
11863             }
11864          }
11865       }
11866       programs {
11867               //Substyle
11868               program { name: "layout_fullscreen";
11869             signal: "layout,fullscreen";
11870             source: "slideshow";
11871             action: STATE_SET "default" 0.0;
11872             target: "elm.swallow.1";
11873             target: "elm.swallow.2";
11874             transition: SINUSOIDAL 1.0;
11875         }
11876         program { name: "layout_not_fullscreen";
11877             signal: "layout,not_fullscreen";
11878             source: "slideshow";
11879             action: STATE_SET "not_fullscreen" 0.0;
11880             target: "elm.swallow.1";
11881             target: "elm.swallow.2";
11882             transition: SINUSOIDAL 1.0;
11883          }
11884                //
11885          program { name: "fade_next";
11886             signal: "fade,next";
11887             source: "slideshow";
11888             action: STATE_SET "default" 0.0;
11889             target: "image_1_whole";
11890             target: "image_2_whole";
11891             after: "fade_next_2";
11892          }
11893          program { name: "fade_next_2";
11894             action: STATE_SET "fade_prev_next" 0.0;
11895             target: "image_1_whole";
11896             target: "image_2_whole";
11897             transition: SINUSOIDAL 1.5;
11898             after: "end";
11899          }
11900          program { name: "fade_previous";
11901             signal: "fade,previous";
11902             source: "slideshow";
11903             action: STATE_SET "default" 0.0;
11904             target: "image_1_whole";
11905             target: "image_2_whole";
11906             after: "fade_previous_2";
11907          }
11908          program { name: "fade_previous_2";
11909             action: STATE_SET "fade_prev_next" 0.0;
11910             target: "image_1_whole";
11911             target: "image_2_whole";
11912             transition: SINUSOIDAL 1.5;
11913             after: "end";
11914          }
11915          program { name: "black_fade_next";
11916             signal: "black_fade,next";
11917             source: "slideshow";
11918             action: STATE_SET "black_fade_prev_next_init" 0.0;
11919             target: "image_1_whole";
11920             target: "image_2_whole";
11921             after: "black_fade_next_2";
11922          }
11923          program { name: "black_fade_next_2";
11924             action: STATE_SET "black_fade_prev_next" 0.0;
11925             target: "image_1_whole";
11926             transition: SINUSOIDAL 0.75;
11927             after: "black_fade_next_3";
11928          }
11929          program { name: "black_fade_next_3";
11930             action: STATE_SET "black_fade_prev_next" 0.0;
11931             target: "image_2_whole";
11932             transition: SINUSOIDAL 0.75;
11933             after: "end";
11934          }
11935          program { name: "black_fade_previous";
11936             signal: "black_fade,previous";
11937             source: "slideshow";
11938             action: STATE_SET "black_fade_prev_next_init" 0.0;
11939             target: "image_1_whole";
11940             target: "image_2_whole";
11941             after: "black_fade_previous_2";
11942          }
11943          program { name: "black_fade_previous_2";
11944             action: STATE_SET "black_fade_prev_next" 0.0;
11945             target: "image_1_whole";
11946             transition: SINUSOIDAL 0.75;
11947             after: "black_fade_previous_3";
11948          }
11949          program { name: "black_fade_previous_3";
11950             action: STATE_SET "black_fade_prev_next" 0.0;
11951             target: "image_2_whole";
11952             transition: SINUSOIDAL 0.75;
11953             after: "end";
11954          }
11955          program { name: "horizontal_next";
11956             signal: "horizontal,next";
11957             source: "slideshow";
11958             action: STATE_SET "horizontal_next_init" 0.0;
11959             target: "image_1_whole";
11960             target: "image_2_whole";
11961             after: "horizontal_next_2";
11962          }
11963          program { name: "horizontal_next_2";
11964             action: STATE_SET "horizontal_next" 0.0;
11965             target: "image_1_whole";
11966             target: "image_2_whole";
11967             transition: SINUSOIDAL 1.5;
11968             after: "end";
11969          }
11970          program { name: "horizontal_previous";
11971             signal: "horizontal,previous";
11972             source: "slideshow";
11973             action: STATE_SET "horizontal_prev_init" 0.0;
11974             target: "image_1_whole";
11975             target: "image_2_whole";
11976             after: "horizontal_previous_2";
11977          }
11978          program { name: "horizontal_previous_2";
11979             action: STATE_SET "horizontal_prev" 0.0;
11980             target: "image_1_whole";
11981             target: "image_2_whole";
11982             transition: SINUSOIDAL 1.5;
11983             after: "end";
11984          }
11985          program { name: "vertical_next";
11986             signal: "vertical,next";
11987             source: "slideshow";
11988             action: STATE_SET "vertical_next_init" 0.0;
11989             target: "image_1_whole";
11990             target: "image_2_whole";
11991             after: "vertical_next_2";
11992          }
11993          program { name: "vertical_next_2";
11994             action: STATE_SET "vertical_next" 0.0;
11995             target: "image_1_whole";
11996             target: "image_2_whole";
11997             transition: SINUSOIDAL 1.5;
11998             after: "end";
11999          }
12000          program { name: "vertical_previous";
12001             signal: "vertical,previous";
12002             source: "slideshow";
12003             action: STATE_SET "vertical_prev_init" 0.0;
12004             target: "image_1_whole";
12005             target: "image_2_whole";
12006             after: "vertical_previous_2";
12007          }
12008          program { name: "vertical_previous_2";
12009             action: STATE_SET "vertical_prev" 0.0;
12010             target: "image_1_whole";
12011             target: "image_2_whole";
12012             transition: SINUSOIDAL 1.5;
12013             after: "end";
12014          }
12015          program { name: "square_next";
12016             signal: "square,next";
12017             source: "slideshow";
12018             action: STATE_SET "square_prev_next_init" 0.0;
12019             target: "image_2_whole";
12020             after: "square_next_2";
12021          }
12022          program { name: "square_next_2";
12023             action: STATE_SET "square_prev_next" 0.0;
12024             target: "image_2_whole";
12025             target: "image_1_whole";
12026             transition: SINUSOIDAL 1.5;
12027             after: "end";
12028          }
12029          program { name: "square_previous";
12030             signal: "square,previous";
12031             source: "slideshow";
12032             action: STATE_SET "square_prev_next_init" 0.0;
12033             target: "image_2_whole";
12034             after: "square_next_2";
12035          }
12036          program { name: "end";
12037             action: SIGNAL_EMIT "end" "slideshow";
12038          }
12039          program { name: "end_signal";
12040             signal: "anim,end";
12041             source: "slideshow";
12042             action: STATE_SET "default" 0.0;
12043             target: "image_1_whole";
12044             target: "image_2_whole";
12045          }
12046       }
12047    }
12048
12049 ///////////////////////////////////////////////////////////////////////////////
12050    group { name: "elm/win/inwin/default";
12051       images {
12052          image: "shad_circ.png" COMP;
12053          image: "bt_dis_base.png" COMP;
12054          image: "bt_dis_hilight.png" COMP;
12055       }
12056       parts {
12057          part { name: "base";
12058             type: RECT;
12059             mouse_events: 1;
12060             description { state: "default" 0.0;
12061                color: 0 0 0 0;
12062             }
12063             description { state: "visible" 0.0;
12064                inherit: "default" 1.0;
12065                color: 0 0 0 64;
12066             }
12067          }
12068          part { name: "shad";
12069             mouse_events:  0;
12070             description { state: "default" 0.0;
12071                image.normal: "shad_circ.png";
12072                rel1.to: "elm.swallow.content";
12073                rel1.offset: -64 -64;
12074                rel2.to: "elm.swallow.content";
12075                rel2.offset: 63 63;
12076                fill.smooth: 0;
12077             }
12078          }
12079          part { name: "pop";
12080             mouse_events: 1;
12081             description { state: "default" 0.0;
12082                rel1.to: "elm.swallow.content";
12083                rel1.offset: -5 -5;
12084                rel2.to: "elm.swallow.content";
12085                rel2.offset: 4 4;
12086                image {
12087                   normal: "bt_dis_base.png";
12088                   border: 4 4 4 4;
12089                }
12090                image.middle: SOLID;
12091             }
12092          }
12093          part { name: "popover";
12094             mouse_events: 0;
12095             description { state: "default" 0.0;
12096                rel1.to: "pop";
12097                rel2.to: "pop";
12098                rel2.relative: 1.0 0.5;
12099                image {
12100                   normal: "bt_dis_hilight.png";
12101                   border: 4 4 4 0;
12102                }
12103             }
12104          }
12105          part { name: "elm.swallow.content";
12106             type: SWALLOW;
12107             description { state: "default" 0.0;
12108                rel1.relative: 0.1 0.1;
12109                rel2.relative: 0.9 0.9;
12110             }
12111          }
12112       }
12113       programs {
12114          program { name: "show";
12115             signal: "elm,action,show";
12116             source: "elm";
12117             action: STATE_SET "visible" 0.0;
12118 //            transition: DECELERATE 0.5;
12119             target: "base";
12120          }
12121          program { name: "hide";
12122             signal: "elm,action,hide";
12123             source: "elm";
12124             action: STATE_SET "default" 0.0;
12125 //            transition: DECELERATE 0.5;
12126             target: "base";
12127          }
12128       }
12129    }
12130
12131    group { name: "elm/win/inwin/minimal";
12132       images {
12133          image: "shad_circ.png" COMP;
12134          image: "bt_dis_base.png" COMP;
12135          image: "bt_dis_hilight.png" COMP;
12136       }
12137       parts {
12138          part { name: "base";
12139             type: RECT;
12140             mouse_events: 1;
12141             description { state: "default" 0.0;
12142                color: 0 0 0 0;
12143             }
12144             description { state: "visible" 0.0;
12145                inherit: "default" 1.0;
12146                color: 0 0 0 64;
12147             }
12148          }
12149          part { name: "shad";
12150             mouse_events:  0;
12151             description { state: "default" 0.0;
12152                image.normal: "shad_circ.png";
12153                rel1.to: "elm.swallow.content";
12154                rel1.offset: -64 -64;
12155                rel2.to: "elm.swallow.content";
12156                rel2.offset: 63 63;
12157                fill.smooth: 0;
12158             }
12159          }
12160          part { name: "pop";
12161             mouse_events: 1;
12162             description { state: "default" 0.0;
12163                rel1.to: "elm.swallow.content";
12164                rel1.offset: -5 -5;
12165                rel2.to: "elm.swallow.content";
12166                rel2.offset: 4 4;
12167                image {
12168                   normal: "bt_dis_base.png";
12169                   border: 4 4 4 4;
12170                }
12171                image.middle: SOLID;
12172             }
12173          }
12174          part { name: "popover";
12175             mouse_events: 0;
12176             description { state: "default" 0.0;
12177                rel1.to: "pop";
12178                rel2.to: "pop";
12179                rel2.relative: 1.0 0.5;
12180                image {
12181                   normal: "bt_dis_hilight.png";
12182                   border: 4 4 4 0;
12183                }
12184             }
12185          }
12186          part { name: "elm.swallow.content";
12187             type: SWALLOW;
12188             description { state: "default" 0.0;
12189                fixed: 1 1;
12190                rel1.relative: 0.5 0.5;
12191                rel2.relative: 0.5 0.5;
12192             }
12193          }
12194       }
12195       programs {
12196          program { name: "show";
12197             signal: "elm,action,show";
12198             source: "elm";
12199             action: STATE_SET "visible" 0.0;
12200 //            transition: DECELERATE 0.5;
12201             target: "base";
12202          }
12203          program { name: "hide";
12204             signal: "elm,action,hide";
12205             source: "elm";
12206             action: STATE_SET "default" 0.0;
12207 //            transition: DECELERATE 0.5;
12208             target: "base";
12209          }
12210       }
12211    }
12212
12213    group { name: "elm/win/inwin/minimal_vertical";
12214       images {
12215          image: "shad_circ.png" COMP;
12216          image: "bt_dis_base.png" COMP;
12217          image: "bt_dis_hilight.png" COMP;
12218       }
12219       parts {
12220          part { name: "base";
12221             type: RECT;
12222             mouse_events: 1;
12223             description { state: "default" 0.0;
12224                color: 0 0 0 0;
12225             }
12226             description { state: "visible" 0.0;
12227                inherit: "default" 1.0;
12228                color: 0 0 0 64;
12229             }
12230          }
12231          part { name: "shad";
12232             mouse_events:  0;
12233             description { state: "default" 0.0;
12234                image.normal: "shad_circ.png";
12235                rel1.to: "elm.swallow.content";
12236                rel1.offset: -64 -64;
12237                rel2.to: "elm.swallow.content";
12238                rel2.offset: 63 63;
12239                fill.smooth: 0;
12240             }
12241          }
12242          part { name: "pop";
12243             mouse_events: 1;
12244             description { state: "default" 0.0;
12245                rel1.to: "elm.swallow.content";
12246                rel1.offset: -5 -5;
12247                rel2.to: "elm.swallow.content";
12248                rel2.offset: 4 4;
12249                image {
12250                   normal: "bt_dis_base.png";
12251                   border: 4 4 4 4;
12252                }
12253                image.middle: SOLID;
12254             }
12255          }
12256          part { name: "popover";
12257             mouse_events: 0;
12258             description { state: "default" 0.0;
12259                rel1.to: "pop";
12260                rel2.to: "pop";
12261                rel2.relative: 1.0 0.5;
12262                image {
12263                   normal: "bt_dis_hilight.png";
12264                   border: 4 4 4 0;
12265                }
12266             }
12267          }
12268          part { name: "elm.swallow.content";
12269             type: SWALLOW;
12270             description { state: "default" 0.0;
12271                fixed: 1 1;
12272                rel1.relative: 0.1 0.5;
12273                rel2.relative: 0.9 0.5;
12274             }
12275          }
12276       }
12277       programs {
12278          program { name: "show";
12279             signal: "elm,action,show";
12280             source: "elm";
12281             action: STATE_SET "visible" 0.0;
12282 //            transition: DECELERATE 0.5;
12283             target: "base";
12284          }
12285          program { name: "hide";
12286             signal: "elm,action,hide";
12287             source: "elm";
12288             action: STATE_SET "default" 0.0;
12289 //            transition: DECELERATE 0.5;
12290             target: "base";
12291          }
12292       }
12293    }
12294
12295 ///////////////////////////////////////////////////////////////////////////////
12296
12297 ///////////////////////////////////////////////////////////////////////////////
12298    group { name: "elm/list/item/default";
12299       data.item: "stacking" "above";
12300       images {
12301          image: "bt_sm_base1.png" COMP;
12302          image: "bt_sm_shine.png" COMP;
12303          image: "bt_sm_hilight.png" COMP;
12304          image: "ilist_1.png" COMP;
12305          image: "ilist_item_shadow.png" COMP;
12306       }
12307       parts {
12308          part {
12309             name:           "event";
12310             type:           RECT;
12311             repeat_events: 1;
12312             description {
12313                state: "default" 0.0;
12314                color: 0 0 0 0;
12315             }
12316          }
12317          part {
12318             name: "base_sh";
12319             mouse_events: 0;
12320             description {
12321                state: "default" 0.0;
12322                align: 0.0 0.0;
12323                min: 0 10;
12324                fixed: 1 1;
12325                rel1 {
12326                   to: "base";
12327                   relative: 0.0 1.0;
12328                   offset: 0 0;
12329                }
12330                rel2 {
12331                   to: "base";
12332                   relative: 1.0 1.0;
12333                   offset: -1 0;
12334                }
12335                image {
12336                   normal: "ilist_item_shadow.png";
12337                }
12338                fill.smooth: 0;
12339             }
12340          }
12341          part {
12342             name: "base";
12343             mouse_events: 0;
12344             description {
12345                state: "default" 0.0;
12346                image {
12347                   normal: "ilist_1.png";
12348                   border: 2 2 2 2;
12349                }
12350                fill.smooth: 0;
12351             }
12352          }
12353          part { name: "bg";
12354             mouse_events: 0;
12355             description { state: "default" 0.0;
12356                visible: 0;
12357                color: 255 255 255 0;
12358                rel1 {
12359                   relative: 0.0 0.0;
12360                   offset: -5 -5;
12361                }
12362                rel2 {
12363                   relative: 1.0 1.0;
12364                   offset: 4 4;
12365                }
12366                image {
12367                   normal: "bt_sm_base1.png";
12368                   border: 6 6 6 6;
12369                }
12370                image.middle: SOLID;
12371             }
12372             description { state: "selected" 0.0;
12373                inherit: "default" 0.0;
12374                visible: 1;
12375                color: 255 255 255 255;
12376                rel1 {
12377                   relative: 0.0 0.0;
12378                   offset: -2 -2;
12379                }
12380                rel2 {
12381                   relative: 1.0 1.0;
12382                   offset: 1 1;
12383                }
12384             }
12385          }
12386          part { name: "elm.swallow.icon";
12387             type: SWALLOW;
12388             description { state: "default" 0.0;
12389                fixed: 1 0;
12390                align: 0.0 0.5;
12391                rel1 {
12392                   relative: 0.0  0.0;
12393                   offset:   4    4;
12394                }
12395                rel2 {
12396                   relative: 0.0  1.0;
12397                   offset:   4   -5;
12398                }
12399             }
12400          }
12401          part { name: "elm.swallow.end";
12402             type: SWALLOW;
12403             description { state: "default" 0.0;
12404                fixed: 1 0;
12405                align: 1.0 0.5;
12406                rel1 {
12407                   relative: 1.0  0.0;
12408                   offset:   -5    4;
12409                }
12410                rel2 {
12411                   relative: 1.0  1.0;
12412                   offset:   -5   -5;
12413                }
12414             }
12415          }
12416          part { name: "elm.text";
12417             type:           TEXT;
12418             effect:         SOFT_SHADOW;
12419             mouse_events:   0;
12420             scale: 1;
12421             description {
12422                state: "default" 0.0;
12423 //               min: 16 16;
12424                rel1 {
12425                   to_x:     "elm.swallow.icon";
12426                   relative: 1.0  0.0;
12427                   offset:   4 4;
12428                }
12429                rel2 {
12430                   to_x:     "elm.swallow.end";
12431                   relative: 0.0  1.0;
12432                   offset:   -1 -5;
12433                }
12434                color: 0 0 0 255;
12435                color3: 0 0 0 0;
12436                text {
12437                   font: "Sans";
12438                   size: 10;
12439                   min: 1 1;
12440 //                  min: 0 1;
12441                   align: -1.0 0.5;
12442                   text_class: "list_item";
12443                }
12444             }
12445             description { state: "selected" 0.0;
12446                inherit: "default" 0.0;
12447                color: 224 224 224 255;
12448                color3: 0 0 0 64;
12449             }
12450          }
12451          part { name: "fg1";
12452             mouse_events: 0;
12453             description { state: "default" 0.0;
12454                visible: 0;
12455                color: 255 255 255 0;
12456                rel1.to: "bg";
12457                rel2.relative: 1.0 0.5;
12458                rel2.to: "bg";
12459                image {
12460                   normal: "bt_sm_hilight.png";
12461                   border: 6 6 6 0;
12462                }
12463             }
12464             description { state: "selected" 0.0;
12465                inherit: "default" 0.0;
12466                visible: 1;
12467                color: 255 255 255 255;
12468             }
12469          }
12470          part { name: "fg2";
12471             mouse_events: 0;
12472             description { state: "default" 0.0;
12473                visible: 0;
12474                color: 255 255 255 0;
12475                rel1.to: "bg";
12476                rel2.to: "bg";
12477                image {
12478                   normal: "bt_sm_shine.png";
12479                   border: 6 6 6 0;
12480                }
12481             }
12482             description { state: "selected" 0.0;
12483                inherit: "default" 0.0;
12484                visible: 1;
12485                color: 255 255 255 255;
12486             }
12487          }
12488       }
12489       programs {
12490          program {
12491             name:    "go_active";
12492             signal:  "elm,state,selected";
12493             source:  "elm";
12494             action:  STATE_SET "selected" 0.0;
12495             target:  "bg";
12496             target:  "fg1";
12497             target:  "fg2";
12498             target:  "elm.text";
12499          }
12500          program {
12501             name:    "go_passive";
12502             signal:  "elm,state,unselected";
12503             source:  "elm";
12504             action:  STATE_SET "default" 0.0;
12505             target:  "bg";
12506             target:  "fg1";
12507             target:  "fg2";
12508             target:  "elm.text";
12509             transition: LINEAR 0.1;
12510          }
12511       }
12512    }
12513    group { name: "elm/list/item_odd/default";
12514       data.item: "stacking" "below";
12515       data.item: "selectraise" "on";
12516       images {
12517          image: "bt_sm_base1.png" COMP;
12518          image: "bt_sm_shine.png" COMP;
12519          image: "bt_sm_hilight.png" COMP;
12520          image: "ilist_2.png" COMP;
12521       }
12522       parts {
12523          part {
12524             name:           "event";
12525             type:           RECT;
12526             repeat_events: 1;
12527             description {
12528                state: "default" 0.0;
12529                color: 0 0 0 0;
12530             }
12531          }
12532          part {
12533             name: "base";
12534             mouse_events: 0;
12535             description {
12536                state: "default" 0.0;
12537                image {
12538                   normal: "ilist_2.png";
12539                   border: 2 2 2 2;
12540                }
12541                fill.smooth: 0;
12542             }
12543          }
12544          part { name: "bg";
12545             mouse_events: 0;
12546             description { state: "default" 0.0;
12547                visible: 0;
12548                color: 255 255 255 0;
12549                rel1 {
12550                   relative: 0.0 0.0;
12551                   offset: -5 -5;
12552                }
12553                rel2 {
12554                   relative: 1.0 1.0;
12555                   offset: 4 4;
12556                }
12557                image {
12558                   normal: "bt_sm_base1.png";
12559                   border: 6 6 6 6;
12560                }
12561                image.middle: SOLID;
12562             }
12563             description { state: "selected" 0.0;
12564                inherit: "default" 0.0;
12565                visible: 1;
12566                color: 255 255 255 255;
12567                rel1 {
12568                   relative: 0.0 0.0;
12569                   offset: -2 -2;
12570                }
12571                rel2 {
12572                   relative: 1.0 1.0;
12573                   offset: 1 1;
12574                }
12575             }
12576          }
12577          part {
12578             name:          "elm.swallow.icon";
12579             type:          SWALLOW;
12580             description { state:    "default" 0.0;
12581                fixed: 1 0;
12582                align:    0.0 0.5;
12583                rel1 {
12584                   relative: 0.0  0.0;
12585                   offset:   4    4;
12586                }
12587                rel2 {
12588                   relative: 0.0  1.0;
12589                   offset:   4   -5;
12590                }
12591             }
12592          }
12593          part {
12594             name:          "elm.swallow.end";
12595             type:          SWALLOW;
12596             description { state:    "default" 0.0;
12597                fixed: 1 0;
12598                align: 1.0 0.5;
12599                rel1 {
12600                   relative: 1.0  0.0;
12601                   offset:   -5    4;
12602                }
12603                rel2 {
12604                   relative: 1.0  1.0;
12605                   offset:   -5   -5;
12606                }
12607             }
12608          }
12609          part {
12610             name:           "elm.text";
12611             type:           TEXT;
12612             effect:         SOFT_SHADOW;
12613             mouse_events:   0;
12614             scale: 1;
12615             description {
12616                state: "default" 0.0;
12617 //               min:      16 16;
12618                rel1 {
12619                   to_x:     "elm.swallow.icon";
12620                   relative: 1.0  0.0;
12621                   offset:   4 4;
12622                }
12623                rel2 {
12624                   to_x:     "elm.swallow.end";
12625                   relative: 0.0  1.0;
12626                   offset:   -1 -5;
12627                }
12628                color: 0 0 0 255;
12629                color3: 0 0 0 0;
12630                text {
12631                   font: "Sans";
12632                   size: 10;
12633                   min: 1 1;
12634 //                  min: 0 1;
12635                   align: -1.0 0.5;
12636                   text_class: "list_item";
12637                }
12638             }
12639             description { state: "selected" 0.0;
12640                inherit: "default" 0.0;
12641                color: 224 224 224 255;
12642                color3: 0 0 0 64;
12643             }
12644          }
12645          part { name: "fg1";
12646             mouse_events: 0;
12647             description { state: "default" 0.0;
12648                visible: 0;
12649                color: 255 255 255 0;
12650                rel1.to: "bg";
12651                rel2.relative: 1.0 0.5;
12652                rel2.to: "bg";
12653                image {
12654                   normal: "bt_sm_hilight.png";
12655                   border: 6 6 6 0;
12656                }
12657             }
12658             description { state: "selected" 0.0;
12659                inherit: "default" 0.0;
12660                visible: 1;
12661                color: 255 255 255 255;
12662             }
12663          }
12664          part { name: "fg2";
12665             mouse_events: 0;
12666             description { state: "default" 0.0;
12667                visible: 0;
12668                color: 255 255 255 0;
12669                rel1.to: "bg";
12670                rel2.to: "bg";
12671                image {
12672                   normal: "bt_sm_shine.png";
12673                   border: 6 6 6 0;
12674                }
12675             }
12676             description { state: "selected" 0.0;
12677                inherit: "default" 0.0;
12678                visible: 1;
12679                color: 255 255 255 255;
12680             }
12681          }
12682       }
12683       programs {
12684          program {
12685             name:    "go_active";
12686             signal:  "elm,state,selected";
12687             source:  "elm";
12688             action:  STATE_SET "selected" 0.0;
12689             target:  "bg";
12690             target:  "fg1";
12691             target:  "fg2";
12692             target:  "elm.text";
12693          }
12694          program {
12695             name:    "go_passive";
12696             signal:  "elm,state,unselected";
12697             source:  "elm";
12698             action:  STATE_SET "default" 0.0;
12699             target:  "bg";
12700             target:  "fg1";
12701             target:  "fg2";
12702             target:  "elm.text";
12703             transition: LINEAR 0.1;
12704          }
12705       }
12706    }
12707    group { name: "elm/list/item_compress/default";
12708       data.item: "stacking" "above";
12709       data.item: "selectraise" "on";
12710       images {
12711          image: "bt_sm_base1.png" COMP;
12712          image: "bt_sm_shine.png" COMP;
12713          image: "bt_sm_hilight.png" COMP;
12714          image: "ilist_1.png" COMP;
12715          image: "ilist_item_shadow.png" COMP;
12716       }
12717       parts {
12718          part {
12719             name:           "event";
12720             type:           RECT;
12721             repeat_events: 1;
12722             description {
12723                state: "default" 0.0;
12724                color: 0 0 0 0;
12725             }
12726          }
12727          part {
12728             name: "base_sh";
12729             mouse_events: 0;
12730             description { state: "default" 0.0;
12731                fixed: 1 1;
12732                align: 0.0 0.0;
12733                min: 0 10;
12734                rel1 {
12735                   to: "base";
12736                   relative: 0.0 1.0;
12737                   offset: 0 0;
12738                }
12739                rel2 {
12740                   to: "base";
12741                   relative: 1.0 1.0;
12742                   offset: -1 0;
12743                }
12744                image {
12745                   normal: "ilist_item_shadow.png";
12746                }
12747                fill.smooth: 0;
12748             }
12749          }
12750          part {
12751             name: "base";
12752             mouse_events: 0;
12753             description {
12754                state: "default" 0.0;
12755                image {
12756                   normal: "ilist_1.png";
12757                   border: 2 2 2 2;
12758                }
12759                fill.smooth: 0;
12760             }
12761          }
12762          part { name: "bg";
12763             mouse_events: 0;
12764             description { state: "default" 0.0;
12765                visible: 0;
12766                color: 255 255 255 0;
12767                rel1 {
12768                   relative: 0.0 0.0;
12769                   offset: -5 -5;
12770                }
12771                rel2 {
12772                   relative: 1.0 1.0;
12773                   offset: 4 4;
12774                }
12775                image {
12776                   normal: "bt_sm_base1.png";
12777                   border: 6 6 6 6;
12778                }
12779                image.middle: SOLID;
12780             }
12781             description { state: "selected" 0.0;
12782                inherit: "default" 0.0;
12783                visible: 1;
12784                color: 255 255 255 255;
12785                rel1 {
12786                   relative: 0.0 0.0;
12787                   offset: -2 -2;
12788                }
12789                rel2 {
12790                   relative: 1.0 1.0;
12791                   offset: 1 1;
12792                }
12793             }
12794          }
12795          part { name:          "elm.swallow.icon";
12796             type:          SWALLOW;
12797             description { state:    "default" 0.0;
12798                fixed: 1 0;
12799                align:    0.0 0.5;
12800                rel1 {
12801                   relative: 0.0  0.0;
12802                   offset:   4    4;
12803                }
12804                rel2 {
12805                   relative: 0.0  1.0;
12806                   offset:   4   -5;
12807                }
12808             }
12809          }
12810          part { name:          "elm.swallow.end";
12811             type:          SWALLOW;
12812             description { state:    "default" 0.0;
12813                fixed: 1 0;
12814                align:    1.0 0.5;
12815                rel1 {
12816                   relative: 1.0  0.0;
12817                   offset:   -5    4;
12818                }
12819                rel2 {
12820                   relative: 1.0  1.0;
12821                   offset:   -5   -5;
12822                }
12823             }
12824          }
12825          part {
12826             name:           "elm.text";
12827             type:           TEXT;
12828             effect:         SOFT_SHADOW;
12829             mouse_events:   0;
12830             scale: 1;
12831             description { state: "default" 0.0;
12832 //               min:      16 16;
12833                rel1 {
12834                   to_x:     "elm.swallow.icon";
12835                   relative: 1.0  0.0;
12836                   offset:   4 4;
12837                }
12838                rel2 {
12839                   to_x:     "elm.swallow.end";
12840                   relative: 0.0  1.0;
12841                   offset:   -1 -5;
12842                }
12843                color: 0 0 0 255;
12844                color3: 0 0 0 0;
12845                text {
12846                   font: "Sans";
12847                   size: 10;
12848 //                  min: 1 1;
12849                   min: 0 1;
12850                   align: 0.0 0.5;
12851                   text_class: "list_item";
12852                }
12853             }
12854             description { state: "selected" 0.0;
12855                inherit: "default" 0.0;
12856                color: 224 224 224 255;
12857                color3: 0 0 0 64;
12858             }
12859          }
12860          part { name: "fg1";
12861             mouse_events: 0;
12862             description { state: "default" 0.0;
12863                visible: 0;
12864                color: 255 255 255 0;
12865                rel1.to: "bg";
12866                rel2.relative: 1.0 0.5;
12867                rel2.to: "bg";
12868                image {
12869                   normal: "bt_sm_hilight.png";
12870                   border: 6 6 6 0;
12871                }
12872             }
12873             description { state: "selected" 0.0;
12874                inherit: "default" 0.0;
12875                visible: 1;
12876                color: 255 255 255 255;
12877             }
12878          }
12879          part { name: "fg2";
12880             mouse_events: 0;
12881             description { state: "default" 0.0;
12882                visible: 0;
12883                color: 255 255 255 0;
12884                rel1.to: "bg";
12885                rel2.to: "bg";
12886                image {
12887                   normal: "bt_sm_shine.png";
12888                   border: 6 6 6 0;
12889                }
12890             }
12891             description { state: "selected" 0.0;
12892                inherit: "default" 0.0;
12893                visible: 1;
12894                color: 255 255 255 255;
12895             }
12896          }
12897       }
12898       programs {
12899          program {
12900             name:    "go_active";
12901             signal:  "elm,state,selected";
12902             source:  "elm";
12903             action:  STATE_SET "selected" 0.0;
12904             target:  "bg";
12905             target:  "fg1";
12906             target:  "fg2";
12907             target:  "elm.text";
12908          }
12909          program {
12910             name:    "go_passive";
12911             signal:  "elm,state,unselected";
12912             source:  "elm";
12913             action:  STATE_SET "default" 0.0;
12914             target:  "bg";
12915             target:  "fg1";
12916             target:  "fg2";
12917             target:  "elm.text";
12918             transition: LINEAR 0.1;
12919          }
12920       }
12921    }
12922    group { name: "elm/list/item_compress_odd/default";
12923       data.item: "stacking" "below";
12924       data.item: "selectraise" "on";
12925       images {
12926          image: "bt_sm_base1.png" COMP;
12927          image: "bt_sm_shine.png" COMP;
12928          image: "bt_sm_hilight.png" COMP;
12929          image: "ilist_2.png" COMP;
12930       }
12931       parts {
12932          part {
12933             name:           "event";
12934             type:           RECT;
12935             repeat_events: 1;
12936             description {
12937                state: "default" 0.0;
12938                color: 0 0 0 0;
12939             }
12940          }
12941          part {
12942             name: "base";
12943             mouse_events: 0;
12944             description {
12945                state: "default" 0.0;
12946                image {
12947                   normal: "ilist_2.png";
12948                   border: 2 2 2 2;
12949                }
12950                fill.smooth: 0;
12951             }
12952          }
12953          part { name: "bg";
12954             mouse_events: 0;
12955             description { state: "default" 0.0;
12956                visible: 0;
12957                color: 255 255 255 0;
12958                rel1 {
12959                   relative: 0.0 0.0;
12960                   offset: -5 -5;
12961                }
12962                rel2 {
12963                   relative: 1.0 1.0;
12964                   offset: 4 4;
12965                }
12966                image {
12967                   normal: "bt_sm_base1.png";
12968                   border: 6 6 6 6;
12969                }
12970                image.middle: SOLID;
12971             }
12972             description { state: "selected" 0.0;
12973                inherit: "default" 0.0;
12974                visible: 1;
12975                color: 255 255 255 255;
12976                rel1 {
12977                   relative: 0.0 0.0;
12978                   offset: -2 -2;
12979                }
12980                rel2 {
12981                   relative: 1.0 1.0;
12982                   offset: 1 1;
12983                }
12984             }
12985          }
12986          part { name:          "elm.swallow.icon";
12987             type:          SWALLOW;
12988             description { state:    "default" 0.0;
12989                fixed: 1 0;
12990                align:    0.0 0.5;
12991                rel1 {
12992                   relative: 0.0  0.0;
12993                   offset:   4    4;
12994                }
12995                rel2 {
12996                   relative: 0.0  1.0;
12997                   offset:   4   -5;
12998                }
12999             }
13000          }
13001          part { name:          "elm.swallow.end";
13002             type:          SWALLOW;
13003             description { state:    "default" 0.0;
13004                fixed: 1 0;
13005                align:    1.0 0.5;
13006                rel1 {
13007                   relative: 1.0  0.0;
13008                   offset:   -5    4;
13009                }
13010                rel2 {
13011                   relative: 1.0  1.0;
13012                   offset:   -5   -5;
13013                }
13014             }
13015          }
13016          part {
13017             name:           "elm.text";
13018             type:           TEXT;
13019             effect:         SOFT_SHADOW;
13020             mouse_events:   0;
13021             scale: 1;
13022             description {
13023                state: "default" 0.0;
13024 //               min:      16 16;
13025                rel1 {
13026                   to_x:     "elm.swallow.icon";
13027                   relative: 1.0  0.0;
13028                   offset:   4 4;
13029                }
13030                rel2 {
13031                   to_x:     "elm.swallow.end";
13032                   relative: 0.0  1.0;
13033                   offset:   -1 -5;
13034                }
13035                color: 0 0 0 255;
13036                color3: 0 0 0 0;
13037                text {
13038                   font: "Sans";
13039                   size: 10;
13040 //                  min: 1 1;
13041                   min: 0 1;
13042                   align: 0.0 0.5;
13043                   text_class: "list_item";
13044                }
13045             }
13046             description { state: "selected" 0.0;
13047                inherit: "default" 0.0;
13048                color: 224 224 224 255;
13049                color3: 0 0 0 64;
13050             }
13051          }
13052          part { name: "fg1";
13053             mouse_events: 0;
13054             description { state: "default" 0.0;
13055                visible: 0;
13056                color: 255 255 255 0;
13057                rel1.to: "bg";
13058                rel2.relative: 1.0 0.5;
13059                rel2.to: "bg";
13060                image {
13061                   normal: "bt_sm_hilight.png";
13062                   border: 6 6 6 0;
13063                }
13064             }
13065             description { state: "selected" 0.0;
13066                inherit: "default" 0.0;
13067                visible: 1;
13068                color: 255 255 255 255;
13069             }
13070          }
13071          part { name: "fg2";
13072             mouse_events: 0;
13073             description { state: "default" 0.0;
13074                visible: 0;
13075                color: 255 255 255 0;
13076                rel1.to: "bg";
13077                rel2.to: "bg";
13078                image {
13079                   normal: "bt_sm_shine.png";
13080                   border: 6 6 6 0;
13081                }
13082             }
13083             description { state: "selected" 0.0;
13084                inherit: "default" 0.0;
13085                visible: 1;
13086                color: 255 255 255 255;
13087             }
13088          }
13089       }
13090       programs {
13091          program {
13092             name:    "go_active";
13093             signal:  "elm,state,selected";
13094             source:  "elm";
13095             action:  STATE_SET "selected" 0.0;
13096             target:  "bg";
13097             target:  "fg1";
13098             target:  "fg2";
13099             target:  "elm.text";
13100          }
13101          program {
13102             name:    "go_passive";
13103             signal:  "elm,state,unselected";
13104             source:  "elm";
13105             action:  STATE_SET "default" 0.0;
13106             target:  "bg";
13107             target:  "fg1";
13108             target:  "fg2";
13109             target:  "elm.text";
13110             transition: LINEAR 0.1;
13111          }
13112       }
13113    }
13114
13115 ///////////////////////////////////////////////////////////////////////////////
13116    group { name: "elm/list/h_item/default";
13117       data.item: "stacking" "above";
13118       images {
13119          image: "bt_sm_base1.png" COMP;
13120          image: "bt_sm_shine.png" COMP;
13121          image: "bt_sm_hilight.png" COMP;
13122          image: "ilist_1_h.png" COMP;
13123          image: "ilist_item_shadow_h.png" COMP;
13124       }
13125       parts {
13126          part {
13127             name: "event";
13128             type: RECT;
13129             repeat_events: 1;
13130             description {
13131                state: "default" 0.0;
13132                color: 0 0 0 0;
13133             }
13134          }
13135          part {
13136             name: "base_sh";
13137             mouse_events: 0;
13138             description {
13139                state: "default" 0.0;
13140                align: 0.0 0.0;
13141                min: 10 0;
13142                fixed: 1 1;
13143                rel1 {
13144                   to: "base";
13145                   relative: 1.0 0.0;
13146                   offset: 0 0;
13147                }
13148                rel2 {
13149                   to: "base";
13150                   relative: 1.0 1.0;
13151                   offset: 0 -1;
13152                }
13153                image {
13154                   normal: "ilist_item_shadow_h.png";
13155                }
13156                fill.smooth: 0;
13157             }
13158          }
13159          part {
13160             name: "base";
13161             mouse_events: 0;
13162             description {
13163                state: "default" 0.0;
13164                image {
13165                   normal: "ilist_1_h.png";
13166                   border: 2 2 2 2;
13167                }
13168                fill.smooth: 0;
13169             }
13170          }
13171          part { name: "bg";
13172             mouse_events: 0;
13173             description { state: "default" 0.0;
13174                visible: 0;
13175                color: 255 255 255 0;
13176                rel1 {
13177                   relative: 0.0 0.0;
13178                   offset: -5 -5;
13179                }
13180                rel2 {
13181                   relative: 1.0 1.0;
13182                   offset: 4 4;
13183                }
13184                image {
13185                   normal: "bt_sm_base1.png";
13186                   border: 6 6 6 6;
13187                }
13188                image.middle: SOLID;
13189             }
13190             description { state: "selected" 0.0;
13191                inherit: "default" 0.0;
13192                visible: 1;
13193                color: 255 255 255 255;
13194                rel1 {
13195                   relative: 0.0 0.0;
13196                   offset: -2 -2;
13197                }
13198                rel2 {
13199                   relative: 1.0 1.0;
13200                   offset: 1 1;
13201                }
13202             }
13203          }
13204          part { name: "elm.swallow.icon";
13205             type: SWALLOW;
13206             description { state: "default" 0.0;
13207                fixed: 0 1;
13208                align: 0.5 0.0;
13209                rel1 {
13210                   relative: 0.0 0.0;
13211                   offset: 4 4;
13212                }
13213                rel2 {
13214                   relative: 1.0 0.0;
13215                   offset: -5 4;
13216                }
13217             }
13218          }
13219          part { name: "elm.swallow.end";
13220             type: SWALLOW;
13221             description { state: "default" 0.0;
13222                fixed: 0 1;
13223                align: 0.5 1.0;
13224                rel1 {
13225                   relative: 0.0 1.0;
13226                   offset: 4 -5;
13227                }
13228                rel2 {
13229                   relative: 1.0 1.0;
13230                   offset: -5 -5;
13231                }
13232             }
13233          }
13234          part { name: "elm.text";
13235             type: TEXT;
13236             effect: SOFT_SHADOW;
13237             mouse_events: 0;
13238             scale: 1;
13239             description {
13240                state: "default" 0.0;
13241                fixed: 0 1;
13242                rel1 {
13243                   to_x: "elm.swallow.icon";
13244                   relative: 0.0 1.0;
13245                   offset: 4 4;
13246                }
13247                rel2 {
13248                   to_x: "elm.swallow.end";
13249                   relative: 1.0 0.0;
13250                   offset: -5 -1;
13251                }
13252                color: 0 0 0 255;
13253                color3: 0 0 0 0;
13254                text {
13255                   font: "Sans";
13256                   size: 10;
13257                   min: 1 1;
13258                   align: 0.5 0.5;
13259                   text_class: "list_item";
13260                }
13261             }
13262             description { state: "selected" 0.0;
13263                inherit: "default" 0.0;
13264                color: 224 224 224 255;
13265                color3: 0 0 0 64;
13266             }
13267          }
13268          part { name: "fg1";
13269             mouse_events: 0;
13270             description { state: "default" 0.0;
13271                visible: 0;
13272                color: 255 255 255 0;
13273                rel1.to: "bg";
13274                rel2.relative: 1.0 0.5;
13275                rel2.to: "bg";
13276                image {
13277                   normal: "bt_sm_hilight.png";
13278                   border: 6 6 6 0;
13279                }
13280             }
13281             description { state: "selected" 0.0;
13282                inherit: "default" 0.0;
13283                visible: 1;
13284                color: 255 255 255 255;
13285             }
13286          }
13287          part { name: "fg2";
13288             mouse_events: 0;
13289             description { state: "default" 0.0;
13290                visible: 0;
13291                color: 255 255 255 0;
13292                rel1.to: "bg";
13293                rel2.to: "bg";
13294                image {
13295                   normal: "bt_sm_shine.png";
13296                   border: 6 6 6 0;
13297                }
13298             }
13299             description { state: "selected" 0.0;
13300                inherit: "default" 0.0;
13301                visible: 1;
13302                color: 255 255 255 255;
13303             }
13304          }
13305       }
13306       programs {
13307          program {
13308             name: "go_active";
13309             signal: "elm,state,selected";
13310             source: "elm";
13311             action: STATE_SET "selected" 0.0;
13312             target: "bg";
13313             target: "fg1";
13314             target: "fg2";
13315             target: "elm.text";
13316          }
13317          program {
13318             name: "go_passive";
13319             signal: "elm,state,unselected";
13320             source: "elm";
13321             action: STATE_SET "default" 0.0;
13322             target: "bg";
13323             target: "fg1";
13324             target: "fg2";
13325             target: "elm.text";
13326             transition: LINEAR 0.1;
13327          }
13328       }
13329    }
13330    group { name: "elm/list/h_item_odd/default";
13331       data.item: "stacking" "below";
13332       data.item: "selectraise" "on";
13333       images {
13334          image: "bt_sm_base1.png" COMP;
13335          image: "bt_sm_shine.png" COMP;
13336          image: "bt_sm_hilight.png" COMP;
13337          image: "ilist_2_h.png" COMP;
13338       }
13339       parts {
13340          part {
13341             name: "event";
13342             type: RECT;
13343             repeat_events: 1;
13344             description {
13345                state: "default" 0.0;
13346                color: 0 0 0 0;
13347             }
13348          }
13349          part {
13350             name: "base";
13351             mouse_events: 0;
13352             description {
13353                state: "default" 0.0;
13354                image {
13355                   normal: "ilist_2_h.png";
13356                   border: 2 2 2 2;
13357                }
13358                fill.smooth: 0;
13359             }
13360          }
13361          part { name: "bg";
13362             mouse_events: 0;
13363             description { state: "default" 0.0;
13364                visible: 0;
13365                color: 255 255 255 0;
13366                rel1 {
13367                   relative: 0.0 0.0;
13368                   offset: -5 -5;
13369                }
13370                rel2 {
13371                   relative: 1.0 1.0;
13372                   offset: 4 4;
13373                }
13374                image {
13375                   normal: "bt_sm_base1.png";
13376                   border: 6 6 6 6;
13377                }
13378                image.middle: SOLID;
13379             }
13380             description { state: "selected" 0.0;
13381                inherit: "default" 0.0;
13382                visible: 1;
13383                color: 255 255 255 255;
13384                rel1 {
13385                   relative: 0.0 0.0;
13386                   offset: -2 -2;
13387                }
13388                rel2 {
13389                   relative: 1.0 1.0;
13390                   offset: 1 1;
13391                }
13392             }
13393          }
13394          part {
13395             name: "elm.swallow.icon";
13396             type: SWALLOW;
13397             description { state: "default" 0.0;
13398                fixed: 0 1;
13399                align: 0.5 0.0;
13400                rel1 {
13401                   relative: 0.0 0.0;
13402                   offset: 4 4;
13403                }
13404                rel2 {
13405                   relative: 1.0 0.0;
13406                   offset: -5 4;
13407                }
13408             }
13409          }
13410          part {
13411             name: "elm.swallow.end";
13412             type: SWALLOW;
13413             description { state: "default" 0.0;
13414                fixed: 0 1;
13415                align: 0.5 1.0;
13416                rel1 {
13417                   relative: 0.0 1.0;
13418                   offset: 4 -5;
13419                }
13420                rel2 {
13421                   relative: 1.0 1.0;
13422                   offset: -5 -5;
13423                }
13424             }
13425          }
13426          part { name: "elm.text";
13427             type: TEXT;
13428             effect: SOFT_SHADOW;
13429             mouse_events: 0;
13430             scale: 1;
13431             description {
13432                state: "default" 0.0;
13433                fixed: 1 1;
13434                rel1 {
13435                   to_x: "elm.swallow.icon";
13436                   relative: 0.0 1.0;
13437                   offset: 4 4;
13438                }
13439                rel2 {
13440                   to_x: "elm.swallow.end";
13441                   relative: 1.0 0.0;
13442                   offset: -5 -1;
13443                }
13444                color: 0 0 0 255;
13445                color3: 0 0 0 0;
13446                text {
13447                   font: "Sans";
13448                   size: 10;
13449                   min: 1 1;
13450                   align: 0.5 0.5;
13451                   text_class: "list_item";
13452                }
13453             }
13454             description { state: "selected" 0.0;
13455                inherit: "default" 0.0;
13456                color: 224 224 224 255;
13457                color3: 0 0 0 64;
13458             }
13459          }
13460          part { name: "fg1";
13461             mouse_events: 0;
13462             description { state: "default" 0.0;
13463                visible: 0;
13464                color: 255 255 255 0;
13465                rel1.to: "bg";
13466                rel2.relative: 1.0 0.5;
13467                rel2.to: "bg";
13468                image {
13469                   normal: "bt_sm_hilight.png";
13470                   border: 6 6 6 0;
13471                }
13472             }
13473             description { state: "selected" 0.0;
13474                inherit: "default" 0.0;
13475                visible: 1;
13476                color: 255 255 255 255;
13477             }
13478          }
13479          part { name: "fg2";
13480             mouse_events: 0;
13481             description { state: "default" 0.0;
13482                visible: 0;
13483                color: 255 255 255 0;
13484                rel1.to: "bg";
13485                rel2.to: "bg";
13486                image {
13487                   normal: "bt_sm_shine.png";
13488                   border: 6 6 6 0;
13489                }
13490             }
13491             description { state: "selected" 0.0;
13492                inherit: "default" 0.0;
13493                visible: 1;
13494                color: 255 255 255 255;
13495             }
13496          }
13497       }
13498       programs {
13499          program {
13500             name: "go_active";
13501             signal: "elm,state,selected";
13502             source: "elm";
13503             action: STATE_SET "selected" 0.0;
13504             target: "bg";
13505             target: "fg1";
13506             target: "fg2";
13507             target: "elm.text";
13508          }
13509          program {
13510             name: "go_passive";
13511             signal: "elm,state,unselected";
13512             source: "elm";
13513             action: STATE_SET "default" 0.0;
13514             target: "bg";
13515             target: "fg1";
13516             target: "fg2";
13517             target: "elm.text";
13518             transition: LINEAR 0.1;
13519          }
13520       }
13521    }
13522    group { name: "elm/list/h_item_compress/default";
13523       data.item: "stacking" "above";
13524       data.item: "selectraise" "on";
13525       images {
13526          image: "bt_sm_base1.png" COMP;
13527          image: "bt_sm_shine.png" COMP;
13528          image: "bt_sm_hilight.png" COMP;
13529          image: "ilist_1_h.png" COMP;
13530          image: "ilist_item_shadow_h.png" COMP;
13531       }
13532       parts {
13533          part {
13534             name: "event";
13535             type: RECT;
13536             repeat_events: 1;
13537             description {
13538                state: "default" 0.0;
13539                color: 0 0 0 0;
13540             }
13541          }
13542          part {
13543             name: "base_sh";
13544             mouse_events: 0;
13545             description { state: "default" 0.0;
13546                fixed: 1 1;
13547                align: 0.0 0.0;
13548                min: 10 0;
13549                rel1 {
13550                   to: "base";
13551                   relative: 1.0 0.0;
13552                   offset: 0 0;
13553                }
13554                rel2 {
13555                   to: "base";
13556                   relative: 1.0 1.0;
13557                   offset: 0 -1;
13558                }
13559                image {
13560                   normal: "ilist_item_shadow_h.png";
13561                }
13562                fill.smooth: 0;
13563             }
13564          }
13565          part {
13566             name: "base";
13567             mouse_events: 0;
13568             description {
13569                state: "default" 0.0;
13570                image {
13571                   normal: "ilist_1_h.png";
13572                   border: 2 2 2 2;
13573                }
13574                fill.smooth: 0;
13575             }
13576          }
13577          part { name: "bg";
13578             mouse_events: 0;
13579             description { state: "default" 0.0;
13580                visible: 0;
13581                color: 255 255 255 0;
13582                rel1 {
13583                   relative: 0.0 0.0;
13584                   offset: -5 -5;
13585                }
13586                rel2 {
13587                   relative: 1.0 1.0;
13588                   offset: 4 4;
13589                }
13590                image {
13591                   normal: "bt_sm_base1.png";
13592                   border: 6 6 6 6;
13593                }
13594                image.middle: SOLID;
13595             }
13596             description { state: "selected" 0.0;
13597                inherit: "default" 0.0;
13598                visible: 1;
13599                color: 255 255 255 255;
13600                rel1 {
13601                   relative: 0.0 0.0;
13602                   offset: -2 -2;
13603                }
13604                rel2 {
13605                   relative: 1.0 1.0;
13606                   offset: 1 1;
13607                }
13608             }
13609          }
13610          part { name: "elm.swallow.icon";
13611             type: SWALLOW;
13612             description { state: "default" 0.0;
13613                fixed: 0 1;
13614                align: 0.5 0.0;
13615                rel1 {
13616                   relative: 0.0 0.0;
13617                   offset: 4 4;
13618                }
13619                rel2 {
13620                   relative: 1.0 0.0;
13621                   offset: -5 4;
13622                }
13623             }
13624          }
13625          part { name: "elm.swallow.end";
13626             type: SWALLOW;
13627             description { state: "default" 0.0;
13628                fixed: 0 1;
13629                align: 0.5 1.0;
13630                rel1 {
13631                   relative: 0.0 1.0;
13632                   offset: 4 -5;
13633                }
13634                rel2 {
13635                   relative: 1.0 1.0;
13636                   offset: -5 -5;
13637                }
13638             }
13639          }
13640          part {
13641             name: "elm.text";
13642             type: TEXT;
13643             effect: SOFT_SHADOW;
13644             mouse_events: 0;
13645             scale: 1;
13646             description { state: "default" 0.0;
13647                fixed: 1 1;
13648                rel1 {
13649                   to_x: "elm.swallow.icon";
13650                   relative: 0.0 1.0;
13651                   offset: 4 4;
13652                }
13653                rel2 {
13654                   to_x: "elm.swallow.end";
13655                   relative: 1.0 0.0;
13656                   offset: -5 -1;
13657                }
13658                color: 0 0 0 255;
13659                color3: 0 0 0 0;
13660                text {
13661                   font: "Sans";
13662                   size: 10;
13663                   min: 1 1;
13664                   align: 0.5 0.5;
13665                   text_class: "list_item";
13666                }
13667             }
13668             description { state: "selected" 0.0;
13669                inherit: "default" 0.0;
13670                color: 224 224 224 255;
13671                color3: 0 0 0 64;
13672             }
13673          }
13674          part { name: "fg1";
13675             mouse_events: 0;
13676             description { state: "default" 0.0;
13677                visible: 0;
13678                color: 255 255 255 0;
13679                rel1.to: "bg";
13680                rel2.relative: 1.0 0.5;
13681                rel2.to: "bg";
13682                image {
13683                   normal: "bt_sm_hilight.png";
13684                   border: 6 6 6 0;
13685                }
13686             }
13687             description { state: "selected" 0.0;
13688                inherit: "default" 0.0;
13689                visible: 1;
13690                color: 255 255 255 255;
13691             }
13692          }
13693          part { name: "fg2";
13694             mouse_events: 0;
13695             description { state: "default" 0.0;
13696                visible: 0;
13697                color: 255 255 255 0;
13698                rel1.to: "bg";
13699                rel2.to: "bg";
13700                image {
13701                   normal: "bt_sm_shine.png";
13702                   border: 6 6 6 0;
13703                }
13704             }
13705             description { state: "selected" 0.0;
13706                inherit: "default" 0.0;
13707                visible: 1;
13708                color: 255 255 255 255;
13709             }
13710          }
13711       }
13712       programs {
13713          program {
13714             name: "go_active";
13715             signal: "elm,state,selected";
13716             source: "elm";
13717             action: STATE_SET "selected" 0.0;
13718             target: "bg";
13719             target: "fg1";
13720             target: "fg2";
13721             target: "elm.text";
13722          }
13723          program {
13724             name: "go_passive";
13725             signal: "elm,state,unselected";
13726             source: "elm";
13727             action: STATE_SET "default" 0.0;
13728             target: "bg";
13729             target: "fg1";
13730             target: "fg2";
13731             target: "elm.text";
13732             transition: LINEAR 0.1;
13733          }
13734       }
13735    }
13736    group { name: "elm/list/h_item_compress_odd/default";
13737       data.item: "stacking" "below";
13738       data.item: "selectraise" "on";
13739       images {
13740          image: "bt_sm_base1.png" COMP;
13741          image: "bt_sm_shine.png" COMP;
13742          image: "bt_sm_hilight.png" COMP;
13743          image: "ilist_2_h.png" COMP;
13744       }
13745       parts {
13746          part {
13747             name: "event";
13748             type: RECT;
13749             repeat_events: 1;
13750             description {
13751                state: "default" 0.0;
13752                color: 0 0 0 0;
13753             }
13754          }
13755          part {
13756             name: "base";
13757             mouse_events: 0;
13758             description {
13759                state: "default" 0.0;
13760                image {
13761                   normal: "ilist_2_h.png";
13762                   border: 2 2 2 2;
13763                }
13764                fill.smooth: 0;
13765             }
13766          }
13767          part { name: "bg";
13768             mouse_events: 0;
13769             description { state: "default" 0.0;
13770                visible: 0;
13771                color: 255 255 255 0;
13772                rel1 {
13773                   relative: 0.0 0.0;
13774                   offset: -5 -5;
13775                }
13776                rel2 {
13777                   relative: 1.0 1.0;
13778                   offset: 4 4;
13779                }
13780                image {
13781                   normal: "bt_sm_base1.png";
13782                   border: 6 6 6 6;
13783                }
13784                image.middle: SOLID;
13785             }
13786             description { state: "selected" 0.0;
13787                inherit: "default" 0.0;
13788                visible: 1;
13789                color: 255 255 255 255;
13790                rel1 {
13791                   relative: 0.0 0.0;
13792                   offset: -2 -2;
13793                }
13794                rel2 {
13795                   relative: 1.0 1.0;
13796                   offset: 1 1;
13797                }
13798             }
13799          }
13800          part { name: "elm.swallow.icon";
13801             type: SWALLOW;
13802             description { state: "default" 0.0;
13803                fixed: 0 1;
13804                align: 0.5 0.0;
13805                rel1 {
13806                   relative: 0.0 0.0;
13807                   offset: 4 4;
13808                }
13809                rel2 {
13810                   relative: 1.0 0.0;
13811                   offset: -5 4;
13812                }
13813             }
13814          }
13815          part { name: "elm.swallow.end";
13816             type: SWALLOW;
13817             description { state: "default" 0.0;
13818                fixed: 0 1;
13819                align: 0.5 1.0;
13820                rel1 {
13821                   relative: 0.0 1.0;
13822                   offset: 4 -5;
13823                }
13824                rel2 {
13825                   relative: 1.0 1.0;
13826                   offset: -5 -5;
13827                }
13828             }
13829          }
13830          part { name: "elm.text";
13831             type: TEXT;
13832             effect: SOFT_SHADOW;
13833             mouse_events: 0;
13834             scale: 1;
13835             description {
13836                state: "default" 0.0;
13837                fixed: 1 1;
13838                rel1 {
13839                   to_x: "elm.swallow.icon";
13840                   relative: 0.0 1.0;
13841                   offset: 4 4;
13842                }
13843                rel2 {
13844                   to_x: "elm.swallow.end";
13845                   relative: 1.0 0.0;
13846                   offset: -5 -1;
13847                }
13848                color: 0 0 0 255;
13849                color3: 0 0 0 0;
13850                text {
13851                   font: "Sans";
13852                   size: 10;
13853                   min: 1 1;
13854                   align: 0.5 0.5;
13855                   text_class: "list_item";
13856                }
13857             }
13858             description { state: "selected" 0.0;
13859                inherit: "default" 0.0;
13860                color: 224 224 224 255;
13861                color3: 0 0 0 64;
13862             }
13863          }
13864          part { name: "fg1";
13865             mouse_events: 0;
13866             description { state: "default" 0.0;
13867                visible: 0;
13868                color: 255 255 255 0;
13869                rel1.to: "bg";
13870                rel2.relative: 1.0 0.5;
13871                rel2.to: "bg";
13872                image {
13873                   normal: "bt_sm_hilight.png";
13874                   border: 6 6 6 0;
13875                }
13876             }
13877             description { state: "selected" 0.0;
13878                inherit: "default" 0.0;
13879                visible: 1;
13880                color: 255 255 255 255;
13881             }
13882          }
13883          part { name: "fg2";
13884             mouse_events: 0;
13885             description { state: "default" 0.0;
13886                visible: 0;
13887                color: 255 255 255 0;
13888                rel1.to: "bg";
13889                rel2.to: "bg";
13890                image {
13891                   normal: "bt_sm_shine.png";
13892                   border: 6 6 6 0;
13893                }
13894             }
13895             description { state: "selected" 0.0;
13896                inherit: "default" 0.0;
13897                visible: 1;
13898                color: 255 255 255 255;
13899             }
13900          }
13901       }
13902       programs {
13903          program {
13904             name: "go_active";
13905             signal: "elm,state,selected";
13906             source: "elm";
13907             action: STATE_SET "selected" 0.0;
13908             target: "bg";
13909             target: "fg1";
13910             target: "fg2";
13911             target: "elm.text";
13912          }
13913          program {
13914             name: "go_passive";
13915             signal: "elm,state,unselected";
13916             source: "elm";
13917             action: STATE_SET "default" 0.0;
13918             target: "bg";
13919             target: "fg1";
13920             target: "fg2";
13921             target: "elm.text";
13922             transition: LINEAR 0.1;
13923          }
13924       }
13925    }
13926
13927 ///////////////////////////////////////////////////////////////////////////////
13928    group { name: "elm/slider/horizontal/default";
13929            alias: "elm/slider/horizontal/disabled";
13930       images {
13931          image: "sl_bg.png" COMP;
13932          image: "sl_bg_over.png" COMP;
13933
13934          image: "sl_units.png" COMP;
13935       }
13936       parts {
13937          part { name: "base";
13938             mouse_events: 0;
13939             description { state: "default" 0.0;
13940                max: 99999 6;
13941                min: 0 6;
13942                rel1 { to: "bg";
13943                   offset: 1 0;
13944                }
13945                rel2 { to: "bg";
13946                   offset: -2 -1;
13947                }
13948                image.normal: "sl_bg.png";
13949                fill.smooth: 0;
13950             }
13951          }
13952          part { name: "level";
13953             type: RECT;
13954             mouse_events: 0;
13955             description { state: "default" 0.0;
13956                fixed: 1 1;
13957                rel1.to: "base";
13958                rel2 {
13959                   to_y: "base";
13960                   to_x: "elm.dragable.slider";
13961                   relative: 0.5 1.0;
13962                }
13963                color: 255 0 0 200;
13964             }
13965             description { state: "inverted" 0.0;
13966                inherit: "default" 0.0;
13967                visible: 0;
13968             }
13969             description { state: "disabled" 0.0;
13970                inherit: "default" 0.0;
13971                color: 255 0 0 100;
13972             }
13973             description { state: "disabled_inverted" 0.0;
13974                inherit: "default" 0.0;
13975                visible: 0;
13976             }
13977          }
13978          part { name: "level2";
13979             type: RECT;
13980             mouse_events: 0;
13981             description { state: "default" 0.0;
13982                fixed: 1 1;
13983                visible: 0;
13984                rel1 {
13985                   to_y: "base";
13986                   to_x: "elm.dragable.slider";
13987                   relative: 0.5 0.0;
13988                }
13989                rel2.to: "base";
13990                color: 255 0 0 200;
13991             }
13992             description { state: "inverted" 0.0;
13993                inherit: "default" 0.0;
13994                visible: 1;
13995             }
13996             description { state: "disabled" 0.0;
13997                inherit: "default" 0.0;
13998             }
13999             description { state: "disabled_inverted" 0.0;
14000                inherit: "default" 0.0;
14001                color: 255 0 0 100;
14002                visible: 1;
14003             }
14004          }
14005          part {
14006             name: "base_over";
14007             mouse_events: 0;
14008             description { state: "default" 0.0;
14009                rel1.to: "base";
14010                rel1.offset: -1 -1;
14011                rel2.to: "base";
14012                rel2.offset: 0 0;
14013                image {
14014                   normal: "sl_bg_over.png";
14015                   border: 3 3 3 3;
14016                }
14017                fill.smooth: 0;
14018             }
14019          }
14020          part { name: "bg";
14021             type: RECT;
14022             mouse_events: 0;
14023             scale: 1;
14024             description { state: "default" 0.0;
14025                visible: 0;
14026                rel1.to: "elm.swallow.bar";
14027                rel2.to: "elm.swallow.bar";
14028                color: 0 0 0 0;
14029             }
14030          }
14031          part { name: "elm.swallow.bar";
14032             type: SWALLOW;
14033             scale: 1;
14034             description { state: "default" 0.0;
14035                min: 48 24;
14036                max: 99999 24;
14037                align: 1.0 0.5;
14038                rel1 {
14039                   to_x: "elm.text";
14040                   relative: 1.0 0.0;
14041                   offset: 8 0;
14042                }
14043                rel2 {
14044                   to_x: "elm.units";
14045                   relative: 0.0 1.0;
14046                   offset: -10 -1;
14047                }
14048             }
14049          }
14050          part { name: "elm.swallow.icon";
14051             type: SWALLOW;
14052             description { state: "default" 0.0;
14053                visible: 0;
14054                align: 0.0 0.5;
14055                rel1 {
14056                   offset: 4 0;
14057                   to_y: "elm.swallow.bar";
14058                }
14059                rel2 {
14060                   offset: 3 -1;
14061                   relative: 0.0 1.0;
14062                   to_y: "elm.swallow.bar";
14063                }
14064             }
14065             description { state: "visible" 0.0;
14066                inherit: "default" 0.0;
14067                visible: 1;
14068                aspect: 1.0 1.0;
14069                aspect_preference: VERTICAL;
14070                rel2.offset: 4 -1;
14071             }
14072          }
14073          part { name: "elm.text";
14074             type: TEXT;
14075             mouse_events: 0;
14076             scale: 1;
14077             description { state: "default" 0.0;
14078                visible: 0;
14079                fixed: 1 1;
14080                align: 0.0 0.5;
14081                rel1.to_x: "elm.swallow.icon";
14082                rel1.relative: 1.0 0.0;
14083                rel1.offset: -1 4;
14084                rel2.to_x: "elm.swallow.icon";
14085                rel2.relative: 1.0 1.0;
14086                rel2.offset: -1 -5;
14087                color: 0 0 0 255;
14088                text {
14089                   font: "Sans,Edje-Vera";
14090                   size: 10;
14091                   min: 0 0;
14092                   align: 0.0 0.5;
14093                }
14094             }
14095             description { state: "visible" 0.0;
14096                inherit: "default" 0.0;
14097                visible: 1;
14098                text.min: 1 1;
14099                rel1.offset: 0 4;
14100                rel2.offset: 0 -5;
14101             }
14102             description { state: "disabled" 0.0;
14103                inherit: "default" 0.0;
14104                color: 255 128 128 128;
14105                visible: 0;
14106             }
14107             description { state: "disabled_visible" 0.0;
14108                inherit: "default" 0.0;
14109                color: 0 0 0 128;
14110                color3: 0 0 0 0;
14111                visible: 1;
14112                text.min: 1 1;
14113             }
14114          }
14115          part {
14116             name: "elm.swallow.end";
14117             type: SWALLOW;
14118             description {
14119                state: "default" 0.0;
14120                visible: 0;
14121                align: 1.0 0.5;
14122                rel1 {
14123                   offset: -4 0;
14124                   relative: 1.0 0.0;
14125                   to_y: "elm.swallow.bar";
14126                }
14127                rel2 {
14128                   offset: -3 -1;
14129                   to_y: "elm.swallow.bar";
14130                }
14131             }
14132             description { state: "visible" 0.0;
14133                inherit: "default" 0.0;
14134                visible: 1;
14135                aspect: 1.0 1.0;
14136                aspect_preference: VERTICAL;
14137                rel2.offset: -4 -1;
14138             }
14139          }
14140          part { name: "units";
14141             mouse_events: 0;
14142             description { state: "default" 0.0;
14143                visible: 0;
14144                rel1 {
14145                   to_x: "elm.units";
14146                   offset: 0 5;
14147                }
14148                rel2 {
14149                   to_x: "elm.units";
14150                   offset: 5 -3;
14151                }
14152                image {
14153                   normal: "sl_units.png";
14154                   border: 0 5 3 8;
14155                }
14156                fill.smooth: 0;
14157             }
14158             description { state: "visible" 0.0;
14159                inherit: "default" 0.0;
14160                visible: 1;
14161             }
14162          }
14163          part { name: "elm.units";
14164             type: TEXT;
14165             mouse_events: 0;
14166             scale: 1;
14167             description { state: "default" 0.0;
14168                visible: 0;
14169                fixed: 1 1;
14170                align: 1.0 0.5;
14171                rel1.to_x: "elm.swallow.end";
14172                rel1.relative: 0.0 0.0;
14173                rel1.offset: 0 8;
14174                rel2.to_x: "elm.swallow.end";
14175                rel2.relative: 0.0 1.0;
14176                rel2.offset: 0 -9;
14177                color: 0 0 0 255;
14178                text {
14179                   font: "Sans,Edje-Vera";
14180                   size: 10;
14181                   min: 0 0;
14182                   align: 0.0 0.5;
14183                }
14184             }
14185             description { state: "visible" 0.0;
14186                inherit: "default" 0.0;
14187                fixed: 1 1;
14188                visible: 1;
14189                text.min: 1 1;
14190                rel1.offset: -5 0;
14191                rel2.offset: -5 -1;
14192             }
14193             description { state: "disabled" 0.0;
14194                inherit: "default" 0.0;
14195                color: 255 128 128 128;
14196                visible: 0;
14197             }
14198             description { state: "disabled_visible" 0.0;
14199                inherit: "default" 0.0;
14200                color: 0 0 0 128;
14201                color3: 0 0 0 0;
14202                visible: 1;
14203                text.min: 1 1;
14204             }
14205          }
14206          part { name: "elm.dragable.slider";
14207             type: GROUP;
14208             source: "elm/slider/horizontal/indicator/default";
14209             mouse_events: 1;
14210             repeat_events: 1;
14211             scale: 1;
14212             dragable {
14213                x: 1 1 0;
14214                y: 0 0 0;
14215                confine: "bg";
14216             }
14217             description { state: "default" 0.0;
14218                min: 0 24;
14219                max: 0 24;
14220                fixed: 1 1;
14221                rel1 {
14222                   relative: 0.5 0.0;
14223                   to_x: "bg";
14224                }
14225                rel2 {
14226                   relative: 0.5 1.0;
14227                   to_x: "bg";
14228                }
14229                color: 255 0 0 100;
14230             }
14231          }
14232           part { name: "disabler";
14233             type: RECT;
14234             description { state: "default" 0.0;
14235                color: 0 0 0 0;
14236                visible: 0;
14237             }
14238             description { state: "disabled" 0.0;
14239                inherit: "default" 0.0;
14240                visible: 1;
14241             }
14242          }
14243       }
14244       programs {
14245          program { name: "text_show";
14246             signal: "elm,state,text,visible";
14247             source: "elm";
14248             action:  STATE_SET "visible" 0.0;
14249             target: "elm.text";
14250          }
14251          program { name: "text_hide";
14252             signal: "elm,state,text,hidden";
14253             source: "elm";
14254             action:  STATE_SET "default" 0.0;
14255             target: "elm.text";
14256          }
14257          program { name: "icon_show";
14258             signal: "elm,state,icon,visible";
14259             source: "elm";
14260             action:  STATE_SET "visible" 0.0;
14261             target: "elm.swallow.icon";
14262          }
14263          program { name: "icon_hide";
14264             signal: "elm,state,icon,hidden";
14265             source: "elm";
14266             action:  STATE_SET "default" 0.0;
14267             target: "elm.swallow.icon";
14268          }
14269           program { name: "end_show";
14270             signal: "elm,state,end,visible";
14271             source: "elm";
14272             action:  STATE_SET "visible" 0.0;
14273             target: "elm.swallow.end";
14274          }
14275          program { name: "end_hide";
14276             signal: "elm,state,end,hidden";
14277             source: "elm";
14278             action:  STATE_SET "default" 0.0;
14279             target: "elm.swallow.end";
14280          }
14281          program { name: "units_show";
14282             signal: "elm,state,units,visible";
14283             source: "elm";
14284             action:  STATE_SET "visible" 0.0;
14285             target: "elm.units";
14286             target: "units";
14287          }
14288          program { name: "units_hide";
14289             signal: "elm,state,units,hidden";
14290             source: "elm";
14291             action:  STATE_SET "default" 0.0;
14292             target: "elm.units";
14293             target: "units";
14294          }
14295          program { name: "invert_on";
14296             signal: "elm,state,inverted,on";
14297             source: "elm";
14298             action:  STATE_SET "inverted" 0.0;
14299             target: "level";
14300             target: "level2";
14301          }
14302          program { name: "invert_off";
14303             signal: "elm,state,inverted,off";
14304             source: "elm";
14305             action:  STATE_SET "default" 0.0;
14306             target: "level";
14307             target: "level2";
14308          }
14309          program {
14310             name:    "go_disabled";
14311             signal:  "elm,state,disabled";
14312             source:  "elm";
14313             action:  STATE_SET "disabled" 0.0;
14314 //            target: "button0";
14315             target: "disabler";
14316             after: "disable_text";
14317             after: "disable_ind";
14318          }
14319
14320          program { name: "disable_ind";
14321             action: SIGNAL_EMIT "elm.dragable.slider:elm,state,disabled" "elm";
14322          }
14323          program { name: "disable_text";
14324             script {
14325                new st[31];
14326                new Float:vl;
14327                get_state(PART:"elm.text", st, 30, vl);
14328                if (!strcmp(st, "visible"))
14329                   set_state(PART:"elm.text", "disabled_visible", 0.0);
14330                else
14331                   set_state(PART:"elm.text", "disabled", 0.0);
14332
14333                get_state(PART:"elm.units", st, 30, vl);
14334                if (!strcmp(st, "visible"))
14335                   set_state(PART:"elm.units", "disabled_visible", 0.0);
14336                else
14337                   set_state(PART:"elm.units", "disabled", 0.0);
14338
14339                get_state(PART:"level2", st, 30, vl);
14340                if (!strcmp(st, "inverted"))
14341                {
14342                   set_state(PART:"level", "disabled_inverted", 0.0);
14343                   set_state(PART:"level2", "disabled_inverted", 0.0);
14344                }
14345                else
14346                {
14347                   set_state(PART:"level", "disabled", 0.0);
14348                   set_state(PART:"level2", "disabled", 0.0);
14349                }
14350             }
14351          }
14352          program { name: "enable";
14353             signal: "elm,state,enabled";
14354             source: "elm";
14355             action: STATE_SET "default" 0.0;
14356 //            target: "button0";
14357             target: "disabler";
14358             after: "enable_text";
14359             after: "enable_ind";
14360          }
14361
14362          program { name: "enable_ind";
14363             action: SIGNAL_EMIT "elm.dragable.slider:elm,state,enabled" "elm";
14364          }
14365
14366          program { name: "enable_text";
14367             script {
14368                new st[31];
14369                new Float:vl;
14370                get_state(PART:"elm.text", st, 30, vl);
14371                if (!strcmp(st, "disabled_visible"))
14372                   set_state(PART:"elm.text", "visible", 0.0);
14373                else
14374                   set_state(PART:"elm.text", "default", 0.0);
14375
14376                get_state(PART:"elm.units", st, 30, vl);
14377                if (!strcmp(st, "disabled_visible"))
14378                   set_state(PART:"elm.units", "visible", 0.0);
14379                else
14380                   set_state(PART:"elm.units", "default", 0.0);
14381
14382                get_state(PART:"level2", st, 30, vl);
14383                if (!strcmp(st, "disabled_inverted"))
14384                {
14385                   set_state(PART:"level", "inverted", 0.0);
14386                   set_state(PART:"level2", "inverted", 0.0);
14387                }
14388                else
14389                {
14390                   set_state(PART:"level", "default", 0.0);
14391                   set_state(PART:"level2", "default", 0.0);
14392                }
14393             }
14394          }
14395       }
14396    }
14397
14398    group { name: "elm/slider/vertical/default";
14399       images {
14400          image: "slv_bg.png" COMP;
14401          image: "slv_bg_over.png" COMP;
14402
14403          image: "slv_units.png" COMP;
14404       }
14405       parts {
14406          part { name: "base";
14407             mouse_events: 0;
14408             description { state: "default" 0.0;
14409                max: 6 99999;
14410                min: 6 0;
14411                rel1 { to: "bg";
14412                   offset: 1 0;
14413                }
14414                rel2 { to: "bg";
14415                   offset: -2 -1;
14416                }
14417                image.normal: "slv_bg.png";
14418                fill.smooth: 0;
14419             }
14420          }
14421          part { name: "level";
14422             type: RECT;
14423             mouse_events: 0;
14424             description { state: "default" 0.0;
14425                fixed: 1 1;
14426                rel1.to: "base";
14427                rel2 {
14428                   to_x: "base";
14429                   to_y: "elm.dragable.slider";
14430                   relative: 1.0 0.5;
14431                }
14432                color: 255 0 0 200;
14433             }
14434             description { state: "inverted" 0.0;
14435                inherit: "default" 0.0;
14436                visible: 0;
14437             }
14438             description { state: "disabled" 0.0;
14439                inherit: "default" 0.0;
14440                color: 255 0 0 100;
14441             }
14442             description { state: "disabled_inverted" 0.0;
14443                inherit: "default" 0.0;
14444                visible: 0;
14445             }
14446          }
14447          part { name: "level2";
14448             type: RECT;
14449             mouse_events: 0;
14450             description { state: "default" 0.0;
14451                fixed: 1 1;
14452                visible: 0;
14453                rel1 {
14454                   to_x: "base";
14455                   to_y: "elm.dragable.slider";
14456                   relative: 0.0 0.5;
14457                }
14458                rel2.to: "base";
14459                color: 255 0 0 200;
14460             }
14461             description { state: "inverted" 0.0;
14462                inherit: "default" 0.0;
14463                visible: 1;
14464             }
14465             description { state: "disabled" 0.0;
14466                inherit: "default" 0.0;
14467                color: 255 0 0 100;
14468             }
14469             description { state: "disabled_inverted" 0.0;
14470                inherit: "default" 0.0;
14471                color: 255 0 0 100;
14472                visible: 1;
14473             }
14474          }
14475          part {
14476             name: "base_over";
14477             mouse_events: 0;
14478             description { state: "default" 0.0;
14479                rel1.to: "base";
14480                rel1.offset: -1 -1;
14481                rel2.to: "base";
14482                rel2.offset: 0 0;
14483                image {
14484                   normal: "slv_bg_over.png";
14485                   border: 3 3 3 3;
14486                }
14487                fill.smooth: 0;
14488             }
14489          }
14490          part { name: "bg";
14491             type: RECT;
14492             mouse_events: 0;
14493             scale: 1;
14494             description { state: "default" 0.0;
14495                visible: 0;
14496                rel1.to: "elm.swallow.bar";
14497                rel2.to: "elm.swallow.bar";
14498                color: 0 0 0 0;
14499             }
14500          }
14501          part { name: "elm.swallow.bar";
14502             type: SWALLOW;
14503             scale: 1;
14504             description { state: "default" 0.0;
14505                min: 24 48;
14506                max: 24 9999;
14507                align: 0.5 1.0;
14508                rel1 {
14509                   to_y: "elm.text";
14510                   relative: 0.0 1.0;
14511                   offset: 0 10;
14512                }
14513                rel2 {
14514                   to_y: "elm.units";
14515                   relative: 1.0 0.0;
14516                   offset: -1 -8;
14517                }
14518             }
14519          }
14520          part { name: "elm.swallow.icon";
14521             type: SWALLOW;
14522             description { state: "default" 0.0;
14523                visible: 0;
14524                align: 0.5 0.0;
14525                rel1 {
14526                   offset: 0 4;
14527                   to_x: "elm.swallow.bar";
14528                }
14529                rel2 {
14530                   offset: -1 3;
14531                   relative: 1.0 0.0;
14532                   to_x: "elm.swallow.bar";
14533                }
14534             }
14535             description { state: "visible" 0.0;
14536                inherit: "default" 0.0;
14537                visible: 1;
14538                aspect: 1.0 1.0;
14539                aspect_preference: HORIZONTAL;
14540                rel2.offset: -1 4;
14541             }
14542          }
14543          part { name: "elm.text";
14544             type: TEXT;
14545             mouse_events: 0;
14546             scale: 1;
14547             description { state: "default" 0.0;
14548                visible: 0;
14549                fixed: 0 1;
14550                align: 0.5 0.0;
14551                rel1.to_y: "elm.swallow.icon";
14552                rel1.relative: 0.0 1.0;
14553                rel1.offset: 0 -1;
14554                rel2.to_y: "elm.swallow.icon";
14555                rel2.relative: 1.0 1.0;
14556                rel2.offset: -1 -1;
14557                color: 0 0 0 255;
14558                text {
14559                   font: "Sans,Edje-Vera";
14560                   size: 10;
14561                   min: 0 0;
14562                   align: 0.5 0.0;
14563                }
14564             }
14565             description { state: "visible" 0.0;
14566                inherit: "default" 0.0;
14567                visible: 1;
14568                text.min: 1 1;
14569                rel1.offset: 4 0;
14570                rel2.offset: -5 0;
14571             }
14572             description { state: "disabled" 0.0;
14573                inherit: "default" 0.0;
14574                color: 255 128 128 128;
14575                visible: 0;
14576             }
14577             description { state: "disabled_visible" 0.0;
14578                inherit: "default" 0.0;
14579                color: 0 0 0 128;
14580                color3: 0 0 0 0;
14581                visible: 1;
14582                text.min: 1 1;
14583             }
14584          }
14585          part {
14586             name: "elm.swallow.end";
14587             type: SWALLOW;
14588             description {
14589                state: "default" 0.0;
14590                visible: 0;
14591                align: 0.5 1.0;
14592                rel1 {
14593                   offset: 0 -4;
14594                   relative: 0.0 1.0;
14595                   to_x: "elm.swallow.bar";
14596                }
14597                rel2 {
14598                   offset: -1 -3;
14599                   to_x: "elm.swallow.bar";
14600                }
14601             }
14602             description { state: "visible" 0.0;
14603                inherit: "default" 0.0;
14604                visible: 1;
14605                aspect: 1.0 1.0;
14606                aspect_preference: HORIZONTAL;
14607                rel2.offset: -1 -4;
14608             }
14609          }
14610          part { name: "units";
14611             mouse_events: 0;
14612             description { state: "default" 0.0;
14613                visible: 0;
14614                rel1 {
14615                   to: "elm.units";
14616                   offset: -8 0;
14617                }
14618                rel2 {
14619                   to: "elm.units";
14620                   offset: 7 8;
14621                }
14622                image {
14623                   normal: "slv_units.png";
14624                   border: 8 8 0 9;
14625                }
14626                fill.smooth: 0;
14627             }
14628             description { state: "visible" 0.0;
14629                inherit: "default" 0.0;
14630                visible: 1;
14631             }
14632          }
14633          part { name: "elm.units";
14634             type: TEXT;
14635             mouse_events: 0;
14636             scale: 1;
14637             description { state: "default" 0.0;
14638                visible: 0;
14639                fixed: 1 1;
14640                align: 0.5 1.0;
14641                rel1.relative: 0.0 0.0;
14642                rel1.to_y: "elm.swallow.end";
14643                rel1.offset: 8 0;
14644                rel2.relative: 1.0 0.0;
14645                rel2.to_y: "elm.swallow.end";
14646                rel2.offset: -9 0;
14647                color: 0 0 0 255;
14648                text {
14649                   font: "Sans,Edje-Vera";
14650                   size: 10;
14651                   min: 0 0;
14652                   align: 0.5 0.0;
14653                }
14654             }
14655             description { state: "visible" 0.0;
14656                inherit: "default" 0.0;
14657                fixed: 1 1;
14658                visible: 1;
14659                text.min: 1 1;
14660                rel1.offset: 8 -9;
14661                rel2.offset: -9 -9;
14662             }
14663             description { state: "disabled" 0.0;
14664                inherit: "default" 0.0;
14665                color:  0 0 0 128;
14666                color3: 0 0 0 0;
14667                visible: 0;
14668             }
14669             description { state: "disabled_visible" 0.0;
14670                inherit: "default" 0.0;
14671                fixed: 1 1;
14672                visible: 1;
14673                text.min: 1 1;
14674                rel1.offset: 8 -9;
14675                rel2.offset: -9 -9;
14676                color: 0 0 0 128;
14677                color3: 0 0 0 0;
14678             }
14679          }
14680          part { name: "elm.dragable.slider";
14681             type: GROUP;
14682             source: "elm/slider/vertical/indicator/default";
14683             mouse_events: 1;
14684             repeat_events: 1;
14685             scale: 1;
14686             dragable {
14687                x: 0 0 0;
14688                y: 1 1 0;
14689                confine: "bg";
14690             }
14691             description { state: "default" 0.0;
14692                min: 24 0;
14693                max: 24 0;
14694                fixed: 1 1;
14695                rel1 {
14696                   relative: 0.5  0.0;
14697                   to_y: "bg";
14698                }
14699                rel2 {
14700                   relative: 0.5  1.0;
14701                   to_y: "bg";
14702                }
14703                color: 0 0 0 0;
14704             }
14705          }
14706               part { name: "disabler";
14707                 type: RECT;
14708                 description { state: "default" 0.0;
14709                    color: 0 0 0 0;
14710                    visible: 0;
14711                 }
14712                 description { state: "disabled" 0.0;
14713                    inherit: "default" 0.0;
14714                    visible: 1;
14715                 }
14716              }
14717           }
14718
14719       programs {
14720          program { name: "text_show";
14721             signal: "elm,state,text,visible";
14722             source: "elm";
14723             action:  STATE_SET "visible" 0.0;
14724             target: "elm.text";
14725          }
14726          program { name: "text_hide";
14727             signal: "elm,state,text,hidden";
14728             source: "elm";
14729             action:  STATE_SET "default" 0.0;
14730             target: "elm.text";
14731          }
14732          program { name: "icon_show";
14733             signal: "elm,state,icon,visible";
14734             source: "elm";
14735             action:  STATE_SET "visible" 0.0;
14736             target: "elm.swallow.icon";
14737          }
14738          program { name: "icon_hide";
14739             signal: "elm,state,icon,hidden";
14740             source: "elm";
14741             action:  STATE_SET "default" 0.0;
14742             target: "elm.swallow.icon";
14743          }
14744          program { name: "end_show";
14745             signal: "elm,state,end,visible";
14746             source: "elm";
14747             action:  STATE_SET "visible" 0.0;
14748             target: "elm.swallow.end";
14749          }
14750          program { name: "end_hide";
14751             signal: "elm,state,end,hidden";
14752             source: "elm";
14753             action:  STATE_SET "default" 0.0;
14754             target: "elm.swallow.end";
14755          }
14756          program { name: "units_show";
14757             signal: "elm,state,units,visible";
14758             source: "elm";
14759             action:  STATE_SET "visible" 0.0;
14760             target: "elm.units";
14761             target: "units";
14762          }
14763          program { name: "units_hide";
14764             signal: "elm,state,units,hidden";
14765             source: "elm";
14766             action:  STATE_SET "default" 0.0;
14767             target: "elm.units";
14768             target: "units";
14769          }
14770          program { name: "invert_on";
14771             signal: "elm,state,inverted,on";
14772             source: "elm";
14773             action:  STATE_SET "inverted" 0.0;
14774             target: "level";
14775             target: "level2";
14776          }
14777          program { name: "invert_off";
14778             signal: "elm,state,inverted,off";
14779             source: "elm";
14780             action:  STATE_SET "default" 0.0;
14781             target: "level";
14782             target: "level2";
14783          }
14784          program {
14785             name:   "go_disabled";
14786             signal: "elm,state,disabled";
14787             source: "elm";
14788             action: STATE_SET "disabled" 0.0;
14789 //            target: "button0";
14790             target: "disabler";
14791             after: "disable_text";
14792             after: "disable_ind";
14793          }
14794
14795          program { name: "disable_ind";
14796             action: SIGNAL_EMIT "elm.dragable.slider:elm,state,disabled" "elm";
14797          }
14798
14799          program { name: "disable_text";
14800             script {
14801             new st[31];
14802             new Float:vl;
14803                get_state(PART:"elm.text", st, 30, vl);
14804                if (!strcmp(st, "visible"))
14805                   set_state(PART:"elm.text", "disabled_visible", 0.0);
14806                else
14807                   set_state(PART:"elm.text", "disabled", 0.0);
14808
14809                get_state(PART:"elm.units", st, 30, vl);
14810                if (!strcmp(st, "visible"))
14811                   set_state(PART:"elm.units", "disabled_visible", 0.0);
14812                else
14813                   set_state(PART:"elm.units", "disabled", 0.0);
14814
14815                get_state(PART:"level2", st, 30, vl);
14816                if (!strcmp(st, "inverted"))
14817                {
14818                   set_state(PART:"level", "disabled_inverted", 0.0);
14819                   set_state(PART:"level2", "disabled_inverted", 0.0);
14820                }
14821                else
14822                {
14823                   set_state(PART:"level", "disabled", 0.0);
14824                   set_state(PART:"level2", "disabled", 0.0);
14825                }
14826             }
14827          }
14828
14829          program { name: "enable";
14830             signal: "elm,state,enabled";
14831             source: "elm";
14832             action: STATE_SET "default" 0.0;
14833 //            target: "button0";
14834             target: "disabler";
14835             after: "enable_text";
14836             after: "enable_ind";
14837          }
14838
14839          program { name: "enable_ind";
14840             action: SIGNAL_EMIT "elm.dragable.slider:elm,state,enabled" "elm";
14841          }
14842          program { name: "enable_text";
14843             script {
14844                new st[31];
14845                new Float:vl;
14846                get_state(PART:"elm.text", st, 30, vl);
14847                if (!strcmp(st, "disabled_visible"))
14848                   set_state(PART:"elm.text", "visible", 0.0);
14849                else
14850                   set_state(PART:"elm.text", "default", 0.0);
14851
14852                get_state(PART:"elm.units", st, 30, vl);
14853                if (!strcmp(st, "disabled_visible"))
14854                   set_state(PART:"elm.units", "visible", 0.0);
14855                else
14856                   set_state(PART:"elm.units", "default", 0.0);
14857
14858                get_state(PART:"level2", st, 30, vl);
14859                if (!strcmp(st, "disabled_inverted"))
14860                {
14861                   set_state(PART:"level", "inverted", 0.0);
14862                   set_state(PART:"level2", "inverted", 0.0);
14863                }
14864                else
14865                {
14866                   set_state(PART:"level", "default", 0.0);
14867                   set_state(PART:"level2", "default", 0.0);
14868                }
14869             }
14870          }
14871       }
14872    }
14873    group { name: "elm/slider/horizontal/indicator/default";
14874            alias: "elm/slider/horizontal/indicator/disabled";
14875            alias: "elm/slider/vertical/indicator/default";
14876            alias: "elm/slider/vertical/indicator/disabled";
14877       images {
14878          image: "sl_bt_0.png" COMP;
14879          image: "sl_bt_1.png" COMP;
14880          image: "sl_bt_2.png" COMP;
14881          image: "sl_bt_3.png" COMP;
14882          image: "sl_bt2_0_0.png" COMP;
14883          image: "sl_bt2_0_1.png" COMP;
14884          image: "sl_bt2_0_2.png" COMP;
14885          image: "sl_bt2_1.png" COMP;
14886          image: "sl_bt2_2.png" COMP;
14887       }
14888       script {
14889          public value_hide = 0;
14890          public set_value_show() {
14891             set_int(value_hide, 0);
14892          }
14893          public set_value_hide() {
14894             set_int(value_hide, 1);
14895          }
14896          public thumb_down() {
14897             if (get_int(value_hide) == 1) {
14898                set_state(PART:"elm.indicator", "default", 0.0);
14899                set_state(PART:"button3", "default", 0.0);
14900                set_state(PART:"button4", "default", 0.0);
14901                set_state(PART:"button5", "default", 0.0);
14902                set_state(PART:"button6", "default", 0.0);
14903                set_state(PART:"button7", "default", 0.0);
14904             } else {
14905                set_state(PART:"elm.indicator", "visible", 0.0);
14906                set_state(PART:"button3", "visible", 0.0);
14907                set_state(PART:"button4", "visible", 0.0);
14908                set_state(PART:"button5", "visible", 0.0);
14909                set_state(PART:"button6", "visible", 0.0);
14910                set_state(PART:"button7", "visible", 0.0);
14911             }
14912          }
14913          public thumb_up() {
14914             set_state(PART:"elm.indicator", "default", 0.0);
14915             set_state(PART:"button3", "default", 0.0);
14916             set_state(PART:"button4", "default", 0.0);
14917             set_state(PART:"button5", "default", 0.0);
14918             set_state(PART:"button6", "default", 0.0);
14919             set_state(PART:"button7", "default", 0.0);
14920          }
14921       }
14922       parts {
14923          part { name: "button_events";
14924             type: RECT;
14925             mouse_events: 1;
14926             description { state: "default" 0.0;
14927                fixed: 1 1;
14928                min: 16 16;
14929                aspect: 1.0 1.0;
14930                aspect_preference: VERTICAL;
14931                color: 0 0 0 0;
14932             }
14933          }
14934          part { name: "button0";
14935             mouse_events: 0;
14936             description { state: "default" 0.0;
14937                fixed: 1 1;
14938                max: 17 999;
14939                min: 17 24;
14940                image {
14941                   normal: "sl_bt_0.png";
14942                   border: 5 5 5 10;
14943                }
14944                fill.smooth: 0;
14945             }
14946             description { state: "disabled" 0.0;
14947                inherit: "default" 0.0;
14948                image {
14949                   normal: "sl_bt_3.png";
14950                   border: 5 5 5 10;
14951                }
14952             }
14953          }
14954          part { name: "button1";
14955             mouse_events: 0;
14956             description { state: "default" 0.0;
14957                rel1.to: "button0";
14958                rel2 {
14959                   to: "button0";
14960                   relative: 1.0 0.5;
14961                   offset: -1 -5;
14962                }
14963                image {
14964                   normal: "sl_bt_1.png";
14965                   border: 5 5 5 0;
14966                }
14967             }
14968          }
14969          part { name: "button2";
14970             mouse_events: 0;
14971             description { state: "default" 0.0;
14972                rel1.to: "button0";
14973                rel2.to: "button0";
14974                image {
14975                   normal: "sl_bt_2.png";
14976                   border: 5 5 5 10;
14977                }
14978                fill.smooth: 0;
14979             }
14980          }
14981          part { name: "button3";
14982             mouse_events: 0;
14983             description { state: "default" 0.0;
14984                fixed: 1 1;
14985                visible: 0;
14986                min: 8 32;
14987                align: 1.0 0.5;
14988                rel1 {
14989                   to_x: "elm.indicator";
14990                   to_y: "button4";
14991                   relative: 0.0 0.0;
14992                   offset: -7 0;
14993                }
14994                rel2 {
14995                   to: "button4";
14996                   relative: 0.0 1.0;
14997                   offset: -1 -1;
14998                }
14999                image {
15000                   normal: "sl_bt2_0_0.png";
15001                   border: 6 0 6 12;
15002                }
15003                fill.smooth: 0;
15004             }
15005             description { state: "visible" 0.0;
15006                inherit: "default" 0.0;
15007                visible: 1;
15008             }
15009          }
15010          part { name: "button4";
15011             mouse_events: 0;
15012             description { state: "default" 0.0;
15013                visible: 0;
15014                max: 15 999;
15015                min: 15 32;
15016                rel1 {
15017                   to_x: "button0";
15018                   to_y: "elm.indicator";
15019                   offset: 0 0;
15020                }
15021                rel2.to: "button0";
15022                image {
15023                   normal: "sl_bt2_0_1.png";
15024                   border: 0 0 6 12;
15025                }
15026                fill.smooth: 0;
15027             }
15028             description { state: "visible" 0.0;
15029                inherit: "default" 0.0;
15030                visible: 1;
15031             }
15032          }
15033          part { name: "button5";
15034             mouse_events: 0;
15035             description { state: "default" 0.0;
15036                fixed: 1 1;
15037                visible: 0;
15038                min: 8 32;
15039                align: 0.0 0.5;
15040                rel1 {
15041                   to: "button4";
15042                   relative: 1.0 0.0;
15043                   offset: 0 0;
15044                }
15045                rel2 {
15046                   to_x: "elm.indicator";
15047                   to_y: "button4";
15048                   relative: 1.0 1.0;
15049                   offset: 6 -1;
15050                }
15051                image {
15052                   normal: "sl_bt2_0_2.png";
15053                   border: 0 6 6 12;
15054                }
15055                fill.smooth: 0;
15056             }
15057             description { state: "visible" 0.0;
15058                inherit: "default" 0.0;
15059                visible: 1;
15060             }
15061          }
15062          part { name: "elm.indicator";
15063             type: TEXT;
15064             mouse_events: 0;
15065             effect: SOFT_SHADOW;
15066             scale: 1;
15067             description { state: "default" 0.0;
15068                visible: 0;
15069                fixed: 1 1;
15070                align: 0.5 1.0;
15071                rel1 {
15072                   to: "button0";
15073                   relative: 0.0 -0.25;
15074                   offset: 0 0;
15075                }
15076                rel2 {
15077                   to_x: "button0";
15078                   relative: 1.0 -0.25;
15079                   offset: -1 0;
15080                }
15081                color: 224 224 224 255;
15082                color3: 0 0 0 64;
15083                text {
15084                   font:     "Sans,Edje-Vera";
15085                   size:     10;
15086                   min:      0 0;
15087                   align:    0.5 0.5;
15088                }
15089             }
15090             description { state: "visible" 0.0;
15091                inherit: "default" 0.0;
15092                visible: 1;
15093                text.min: 1 1;
15094                rel1.offset: 0 -1;
15095                rel2.offset: -1 -1;
15096             }
15097          }
15098          part { name: "button6";
15099             mouse_events: 0;
15100             description { state: "default" 0.0;
15101                visible: 0;
15102                rel1.to: "button3";
15103                rel2 {
15104                   to: "button5";
15105                   relative: 1.0 0.3;
15106                   offset: -1 -1;
15107                }
15108                image {
15109                   normal: "sl_bt2_1.png";
15110                   border: 5 5 5 0;
15111                }
15112                fill.smooth: 0;
15113             }
15114             description { state: "visible" 0.0;
15115                inherit: "default" 0.0;
15116                visible: 1;
15117             }
15118          }
15119          part { name: "button7";
15120             mouse_events: 0;
15121             description { state: "default" 0.0;
15122                visible: 0;
15123                rel1.to: "button3";
15124                rel2.to: "button5";
15125                image {
15126                   normal: "sl_bt2_2.png";
15127                   border: 5 5 5 0;
15128                   middle: 0;
15129                }
15130                fill.smooth: 0;
15131             }
15132             description { state: "visible" 0.0;
15133                inherit: "default" 0.0;
15134                visible: 1;
15135             }
15136          }
15137       }
15138       programs {
15139          program { name: "set_val_show";
15140             signal: "elm,state,val,show";
15141             source: "elm";
15142             script {
15143                set_value_show();
15144             }
15145          }
15146          program { name: "set_val_hide";
15147             signal: "elm,state,val,hide";
15148             source: "elm";
15149             script {
15150                set_value_hide();
15151             }
15152          }
15153          program { name: "val_show";
15154             signal: "mouse,down,*";
15155             source: "button_events";
15156             script {
15157                thumb_down();
15158             }
15159
15160          }
15161          program { name: "val_hide";
15162             signal: "mouse,up,*";
15163             source: "button_events";
15164             script {
15165                thumb_up();
15166             }
15167          }
15168          program {
15169             name:    "go_disabled";
15170             signal:  "elm,state,disabled";
15171             source:  "elm";
15172             action:  STATE_SET "disabled" 0.0;
15173             target:  "button0";
15174          }
15175          program {
15176             name:    "go_enabled";
15177             signal:  "elm,state,enabled";
15178             source:  "elm";
15179             action:  STATE_SET "default" 0.0;
15180             target:  "button0";
15181          }
15182       }
15183    }
15184
15185
15186 ////////////////////////////////////////////////////////////////////////////////
15187 // actionslider
15188 ////////////////////////////////////////////////////////////////////////////////
15189    group { name: "elm/actionslider/base/default";
15190
15191       images {
15192          image: "shelf_inset.png" COMP;
15193          image: "ilist_1.png" COMP;
15194          image: "bt_bases.png" COMP;
15195          image: "bt_basew.png" COMP;
15196          image: "bt_hilightw.png" COMP;
15197       }
15198
15199       parts {
15200          part {
15201             name: "base";
15202             mouse_events: 0;
15203             description {
15204                state: "default" 0.0;
15205                min: 75 25;
15206                rel1.offset: 1 1;
15207                rel2.offset: -2 -2;
15208                image {
15209                   normal: "ilist_1.png";
15210                   border: 2 2 2 2;
15211                }
15212                fill.smooth: 0;
15213             }
15214          }
15215          part { name: "conf_over";
15216             mouse_events:  0;
15217             description { state: "default" 0.0;
15218                rel1.to: "base";
15219                rel2.to: "base";
15220                image {
15221                   normal: "shelf_inset.png";
15222                   border: 7 7 7 7;
15223                   middle: 0;
15224                }
15225                fill.smooth : 0;
15226             }
15227          }
15228          part { name: "icon.dragable.area";
15229            type: RECT;
15230             mouse_events: 0;
15231             description { state: "default" 0.0;
15232                visible: 0;
15233                rel1.to: "base";
15234                rel2.to: "base";
15235             }
15236          }
15237          part { name: "elm.text.left";
15238             type: TEXT;
15239             mouse_events: 0;
15240             scale: 1;
15241             description { state: "default" 0.0;
15242                color: 0 0 0 255;
15243                text {
15244                   font: "Sans,Edje-Vera";
15245                   size: 10;
15246                   align: 0.05 0.5;
15247                   min: 1 1;
15248                }
15249             }
15250          }
15251          part { name: "elm.text.center";
15252             type: TEXT;
15253             mouse_events: 0;
15254             scale: 1;
15255             description { state: "default" 0.0;
15256                color: 0 0 0 255;
15257                text {
15258                   font: "Sans,Edje-Vera";
15259                   size: 10;
15260                   align: 0.5 0.5;
15261                   min: 1 1;
15262                }
15263             }
15264          }
15265          part { name: "elm.text.right";
15266             type: TEXT;
15267             mouse_events: 0;
15268             scale: 1;
15269             description { state: "default" 0.0;
15270                color: 0 0 0 255;
15271                text {
15272                   font: "Sans,Edje-Vera";
15273                   size: 10;
15274                   align: 0.95 0.5;
15275                   min: 1 1;
15276                }
15277             }
15278          }
15279          part { name: "elm.drag_button_base";
15280             type: SWALLOW;
15281             mouse_events: 0;
15282             scale: 1;
15283             description { state: "default" 0.0;
15284                fixed: 1 1;
15285                min: 50 25;
15286                align: 0.5 0.5;
15287                rel1.to: "icon.dragable.area";
15288                rel2 {
15289                   relative: 0.0 1.0;
15290                   to: "icon.dragable.area";
15291                }
15292             }
15293             dragable {
15294                confine: "icon.dragable.area";
15295                x: 1 1 0;
15296                y: 0 0 0;
15297             }
15298          }
15299          part { name: "elm.drag_button";
15300             type: RECT;
15301             mouse_events: 1;
15302             description { state: "default" 0.0;
15303                min: 50 25;
15304                color: 255 255 255 0;
15305                rel1.to_x: "elm.drag_button_base";
15306                rel1.to_y: "icon.dragable.area";
15307                rel2.to_x: "elm.drag_button_base";
15308                rel2.to_y: "icon.dragable.area";
15309             }
15310             dragable {
15311                events: "elm.drag_button_base";
15312             }
15313          }
15314          part { name: "button0";
15315             mouse_events: 0;
15316             description { state: "default" 0.0;
15317                rel1.to: "button2";
15318                rel1.offset: -4 -4;
15319                rel2.to: "button2";
15320                rel2.offset: 3 3;
15321                image {
15322                   normal: "bt_bases.png";
15323                   border: 11 11 11 11;
15324                   middle: SOLID;
15325                }
15326                color: 255 255 255 128;
15327             }
15328          }
15329          part { name: "button2";
15330             mouse_events: 0;
15331             description { state: "default" 0.0;
15332                rel1.to: "elm.drag_button";
15333                rel2.to: "elm.drag_button";
15334                image {
15335                   normal: "bt_basew.png";
15336                   border: 7 7 7 7;
15337                   middle: SOLID;
15338                }
15339                color: 255 255 255 210;
15340             }
15341          }
15342          part { name: "button3";
15343             mouse_events: 0;
15344             description { state: "default" 0.0;
15345                rel1.to: "button2";
15346                rel2.to: "button2";
15347                rel2.relative: 1.0 0.5;
15348                image {
15349                   normal: "bt_hilightw.png";
15350                   border: 4 4 4 0;
15351                }
15352                color: 255 255 255 190;
15353             }
15354          }
15355          part { name: "elm.text.indicator";
15356             type: TEXT;
15357             scale: 1;
15358             mouse_events: 0;
15359             description { state: "default" 0.0;
15360                rel1 {
15361                   to: "elm.drag_button";
15362                   offset: 5 0;
15363                }
15364                rel2 {
15365                   to: "elm.drag_button";
15366                   offset: -5 0;
15367                }
15368                color: 0 0 0 255;
15369                text {
15370                   font: "Sans,Edje-Vera";
15371                   size: 10;
15372                   align: 0.5 0.5;
15373                   min: 0 1;
15374                }
15375             }
15376          }
15377       }
15378       programs {
15379          program { name: "elm.drag_button,mouse,up";
15380             signal: "mouse,up,1";
15381             source: "elm.drag_button";
15382             action: SIGNAL_EMIT "elm.drag_button,mouse,up" "";
15383          }
15384          program { name: "elm.drag_button,mouse,down";
15385             signal: "mouse,down,1";
15386             source: "elm.drag_button";
15387             action: SIGNAL_EMIT "elm.drag_button,mouse,down" "";
15388          }
15389          program { name: "elm.drag_button,mouse,move";
15390             signal: "mouse,move";
15391             source: "elm.drag_button_base";
15392             action: SIGNAL_EMIT "elm.drag_button,mouse,move" "";
15393          }
15394       }
15395    }
15396
15397    group { name: "elm/actionslider/base/bar";
15398
15399       images {
15400          image: "shelf_inset.png" COMP;
15401          image: "ilist_1.png" COMP;
15402          image: "bt_bases.png" COMP;
15403          image: "bt_basew.png" COMP;
15404          image: "bt_hilightw.png" COMP;
15405       }
15406
15407       parts {
15408          part {
15409             name: "base";
15410             mouse_events: 0;
15411             description {
15412                state: "default" 0.0;
15413                min: 150 30;
15414                rel1.offset: 1 1;
15415                rel2.offset: -2 -2;
15416                image {
15417                   normal: "ilist_1.png";
15418                   border: 2 2 2 2;
15419                }
15420                fill.smooth: 0;
15421             }
15422          }
15423          part { name: "conf_over";
15424             mouse_events:  0;
15425             description { state: "default" 0.0;
15426                rel1.to: "base";
15427                rel2.to: "base";
15428                image {
15429                   normal: "shelf_inset.png";
15430                   border: 7 7 7 7;
15431                   middle: 0;
15432                }
15433                fill.smooth : 0;
15434             }
15435          }
15436          part { name: "icon.dragable.area";
15437            type: RECT;
15438             mouse_events: 0;
15439             description { state: "default" 0.0;
15440                visible: 0;
15441                rel1.to: "base";
15442                rel2.to: "base";
15443             }
15444          }
15445          part { name: "elm.text.left";
15446             type: TEXT;
15447             mouse_events: 0;
15448             scale: 1;
15449             description { state: "default" 0.0;
15450                color: 0 0 0 255;
15451                text {
15452                   font: "Sans,Edje-Vera";
15453                   size: 10;
15454                   align: 0.05 0.5;
15455                   min: 1 1;
15456                }
15457             }
15458          }
15459          part { name: "elm.text.center";
15460             type: TEXT;
15461             mouse_events: 0;
15462             scale: 1;
15463             description { state: "default" 0.0;
15464                color: 0 0 0 255;
15465                text {
15466                   font: "Sans,Edje-Vera";
15467                   size: 10;
15468                   align: 0.5 0.5;
15469                   min: 1 1;
15470                }
15471             }
15472          }
15473          part { name: "elm.text.right";
15474             type: TEXT;
15475             mouse_events: 0;
15476             scale: 1;
15477             description { state: "default" 0.0;
15478                color: 0 0 0 255;
15479                text {
15480                   font: "Sans,Edje-Vera";
15481                   size: 10;
15482                   align: 0.95 0.5;
15483                   min: 1 1;
15484                }
15485             }
15486          }
15487          part { name: "bar";
15488             type: RECT;
15489             mouse_events: 0;
15490             description { state: "default" 0.0;
15491                rel1.to: "base";
15492                rel1.offset: 0 2;
15493                rel2 {
15494                   relative: 0 1;
15495                   offset: 3 -3;
15496                   to_x: "elm.drag_button_base";
15497                   to_y: "base";
15498                }
15499                color: 0 0 0 180;
15500             }
15501          }
15502          part { name: "elm.drag_button_base";
15503             type: SWALLOW;
15504             mouse_events: 1;
15505             scale: 1;
15506             description { state: "default" 0.0;
15507                fixed: 1 1;
15508                min: 50 25;
15509                align: 0.5 0.5;
15510                rel1.to: "icon.dragable.area";
15511                rel2 {
15512                   relative: 0.0 1.0;
15513                   to: "icon.dragable.area";
15514                }
15515             }
15516             dragable {
15517                confine: "icon.dragable.area";
15518                x: 1 1 0;
15519                y: 0 0 0;
15520             }
15521          }
15522          part { name: "elm.drag_button";
15523             type: RECT;
15524             mouse_events: 1;
15525             description { state: "default" 0.0;
15526                min: 50 25;
15527                color: 255 255 255 0;
15528                rel1.to_x: "elm.drag_button_base";
15529                rel1.to_y: "icon.dragable.area";
15530                rel2.to_x: "elm.drag_button_base";
15531                rel2.to_y: "icon.dragable.area";
15532             }
15533             dragable {
15534                events: "elm.drag_button_base";
15535             }
15536          }
15537          part { name: "button0";
15538             mouse_events: 0;
15539             description { state: "default" 0.0;
15540                rel1.to: "button2";
15541                rel1.offset: -4 -4;
15542                rel2.to: "button2";
15543                rel2.offset: 3 3;
15544                image {
15545                   normal: "bt_bases.png";
15546                   border: 11 11 11 11;
15547                   middle: SOLID;
15548                }
15549                color: 255 255 255 128;
15550             }
15551          }
15552          part { name: "button2";
15553             mouse_events: 0;
15554             description { state: "default" 0.0;
15555                rel1.to: "elm.drag_button";
15556                rel2.to: "elm.drag_button";
15557                image {
15558                   normal: "bt_basew.png";
15559                   border: 7 7 7 7;
15560                   middle: SOLID;
15561                }
15562                color: 255 255 255 210;
15563             }
15564          }
15565          part { name: "button3";
15566             mouse_events: 0;
15567             description { state: "default" 0.0;
15568                rel1.to: "button2";
15569                rel2.to: "button2";
15570                rel2.relative: 1.0 0.5;
15571                image {
15572                   normal: "bt_hilightw.png";
15573                   border: 4 4 4 0;
15574                }
15575                color: 255 255 255 190;
15576             }
15577          }
15578          part { name: "elm.text.indicator";
15579             type: TEXT;
15580             scale: 1;
15581             mouse_events: 0;
15582             description { state: "default" 0.0;
15583                rel1 {
15584                   to: "elm.drag_button";
15585                   offset: 5 0;
15586                }
15587                rel2 {
15588                   to: "elm.drag_button";
15589                   offset: -5 0;
15590                }
15591                color: 0 0 0 255;
15592                text {
15593                   font: "Sans,Edje-Vera";
15594                   size: 10;
15595                   align: 0.5 0.5;
15596                   min: 0 1;
15597                }
15598             }
15599          }
15600       }
15601       programs {
15602          program { name: "elm.drag_button,mouse,up";
15603             signal: "mouse,up,1";
15604             source: "elm.drag_button";
15605             action: SIGNAL_EMIT "elm.drag_button,mouse,up" "";
15606          }
15607          program { name: "elm.drag_button,mouse,down";
15608             signal: "mouse,down,1";
15609             source: "elm.drag_button";
15610             action: SIGNAL_EMIT "elm.drag_button,mouse,down" "";
15611          }
15612          program { name: "elm.drag_button,mouse,move";
15613             signal: "mouse,move";
15614             source: "elm.drag_button_base";
15615             action: SIGNAL_EMIT "elm.drag_button,mouse,move" "";
15616          }
15617       }
15618    }
15619
15620 ///////////////////////////////////////////////////////////////////////////////
15621    group { name: "elm/genlist/item/default/default";
15622       data.item: "stacking" "above";
15623       data.item: "selectraise" "on";
15624       data.item: "labels" "elm.text";
15625       data.item: "icons" "elm.swallow.icon elm.swallow.end";
15626       data.item: "treesize" "20";
15627 //      data.item: "states" "";
15628       images {
15629          image: "bt_sm_base1.png" COMP;
15630          image: "bt_sm_shine.png" COMP;
15631          image: "bt_sm_hilight.png" COMP;
15632          image: "ilist_1.png" COMP;
15633          image: "ilist_item_shadow.png" COMP;
15634       }
15635       parts {
15636          part {
15637             name:           "event";
15638             type:           RECT;
15639             repeat_events: 1;
15640             description {
15641                state: "default" 0.0;
15642                color: 0 0 0 0;
15643             }
15644          }
15645          part {
15646             name: "base_sh";
15647             mouse_events: 0;
15648             description {
15649                state: "default" 0.0;
15650                align: 0.0 0.0;
15651                min: 0 10;
15652                fixed: 1 1;
15653                rel1 {
15654                   to: "base";
15655                   relative: 0.0 1.0;
15656                   offset: 0 0;
15657                }
15658                rel2 {
15659                   to: "base";
15660                   relative: 1.0 1.0;
15661                   offset: -1 0;
15662                }
15663                image {
15664                   normal: "ilist_item_shadow.png";
15665                }
15666                fill.smooth: 0;
15667             }
15668          }
15669          part {
15670             name: "base";
15671             mouse_events: 0;
15672             description {
15673                state: "default" 0.0;
15674                image {
15675                   normal: "ilist_1.png";
15676                   border: 2 2 2 2;
15677                }
15678                fill.smooth: 0;
15679             }
15680          }
15681          part { name: "bg";
15682             clip_to: "disclip";
15683             mouse_events: 0;
15684             description { state: "default" 0.0;
15685                visible: 0;
15686                color: 255 255 255 0;
15687                rel1 {
15688                   relative: 0.0 0.0;
15689                   offset: -5 -5;
15690                }
15691                rel2 {
15692                   relative: 1.0 1.0;
15693                   offset: 4 4;
15694                }
15695                image {
15696                   normal: "bt_sm_base1.png";
15697                   border: 6 6 6 6;
15698                }
15699                image.middle: SOLID;
15700             }
15701             description { state: "selected" 0.0;
15702                inherit: "default" 0.0;
15703                visible: 1;
15704                color: 255 255 255 255;
15705                rel1 {
15706                   relative: 0.0 0.0;
15707                   offset: -2 -2;
15708                }
15709                rel2 {
15710                   relative: 1.0 1.0;
15711                   offset: 1 1;
15712                }
15713             }
15714          }
15715          part { name: "elm.swallow.pad";
15716             type: SWALLOW;
15717             description { state: "default" 0.0;
15718                fixed: 1 0;
15719                align: 0.0 0.5;
15720                rel1 {
15721                   relative: 0.0  0.0;
15722                   offset:   4    4;
15723                }
15724                rel2 {
15725                   relative: 0.0  1.0;
15726                   offset:   4   -5;
15727                }
15728             }
15729          }
15730          part { name: "elm.swallow.icon";
15731             clip_to: "disclip";
15732             type: SWALLOW;
15733             description { state: "default" 0.0;
15734                fixed: 1 0;
15735                align: 0.0 0.5;
15736                rel1 {
15737                   to_x: "elm.swallow.pad";
15738                   relative: 1.0  0.0;
15739                   offset:   -1    4;
15740                }
15741                rel2 {
15742                   to_x: "elm.swallow.pad";
15743                   relative: 1.0  1.0;
15744                   offset:   -1   -5;
15745                }
15746             }
15747          }
15748          part { name: "elm.swallow.end";
15749             clip_to: "disclip";
15750             type: SWALLOW;
15751             description { state: "default" 0.0;
15752                fixed: 1 0;
15753                align: 1.0 0.5;
15754                aspect: 1.0 1.0;
15755                aspect_preference: VERTICAL;
15756                rel1 {
15757                   relative: 1.0  0.0;
15758                   offset:   -5    4;
15759                }
15760                rel2 {
15761                   relative: 1.0  1.0;
15762                   offset:   -5   -5;
15763                }
15764             }
15765          }
15766          part { name: "elm.text";
15767             clip_to: "disclip";
15768             type:           TEXT;
15769             effect:         SOFT_SHADOW;
15770             mouse_events:   0;
15771             scale: 1;
15772             description {
15773                state: "default" 0.0;
15774 //               min: 16 16;
15775                rel1 {
15776                   to_x:     "elm.swallow.icon";
15777                   relative: 1.0  0.0;
15778                   offset:   0 4;
15779                }
15780                rel2 {
15781                   to_x:     "elm.swallow.end";
15782                   relative: 0.0  1.0;
15783                   offset:   -1 -5;
15784                }
15785                color: 0 0 0 255;
15786                color3: 0 0 0 0;
15787                text {
15788                   font: "Sans";
15789                   size: 10;
15790                   min: 1 1;
15791 //                  min: 0 1;
15792                   align: 0.0 0.5;
15793                   text_class: "list_item";
15794                }
15795             }
15796             description { state: "selected" 0.0;
15797                inherit: "default" 0.0;
15798                color: 224 224 224 255;
15799                color3: 0 0 0 64;
15800             }
15801          }
15802          part { name: "fg1";
15803             clip_to: "disclip";
15804             mouse_events: 0;
15805             description { state: "default" 0.0;
15806                visible: 0;
15807                color: 255 255 255 0;
15808                rel1.to: "bg";
15809                rel2.relative: 1.0 0.5;
15810                rel2.to: "bg";
15811                image {
15812                   normal: "bt_sm_hilight.png";
15813                   border: 6 6 6 0;
15814                }
15815             }
15816             description { state: "selected" 0.0;
15817                inherit: "default" 0.0;
15818                visible: 1;
15819                color: 255 255 255 255;
15820             }
15821          }
15822          part { name: "fg2";
15823             clip_to: "disclip";
15824             mouse_events: 0;
15825             description { state: "default" 0.0;
15826                visible: 0;
15827                color: 255 255 255 0;
15828                rel1.to: "bg";
15829                rel2.to: "bg";
15830                image {
15831                   normal: "bt_sm_shine.png";
15832                   border: 6 6 6 0;
15833                }
15834             }
15835             description { state: "selected" 0.0;
15836                inherit: "default" 0.0;
15837                visible: 1;
15838                color: 255 255 255 255;
15839             }
15840          }
15841          part { name: "disclip";
15842             type: RECT;
15843             description { state: "default" 0.0;
15844                rel1.to: "bg";
15845                rel2.to: "bg";
15846             }
15847             description { state: "disabled" 0.0;
15848                inherit: "default" 0.0;
15849                color: 255 255 255 64;
15850             }
15851          }
15852       }
15853       programs {
15854          // signal: elm,state,%s,active
15855          //   a "check" item named %s went active
15856          // signal: elm,state,%s,passive
15857          //   a "check" item named %s went passive
15858          // default is passive
15859          program {
15860             name:    "go_active";
15861             signal:  "elm,state,selected";
15862             source:  "elm";
15863             action:  STATE_SET "selected" 0.0;
15864             target:  "bg";
15865             target:  "fg1";
15866             target:  "fg2";
15867             target:  "elm.text";
15868          }
15869          program {
15870             name:    "go_passive";
15871             signal:  "elm,state,unselected";
15872             source:  "elm";
15873             action:  STATE_SET "default" 0.0;
15874             target:  "bg";
15875             target:  "fg1";
15876             target:  "fg2";
15877             target:  "elm.text";
15878             transition: LINEAR 0.1;
15879          }
15880          program {
15881             name:    "go_disabled";
15882             signal:  "elm,state,disabled";
15883             source:  "elm";
15884             action:  STATE_SET "disabled" 0.0;
15885             target:  "disclip";
15886          }
15887          program {
15888             name:    "go_enabled";
15889             signal:  "elm,state,enabled";
15890             source:  "elm";
15891             action:  STATE_SET "default" 0.0;
15892             target:  "disclip";
15893          }
15894       }
15895    }
15896    group { name: "elm/genlist/item/group_index/default";
15897       alias: "elm/genlist/item_odd/group_index/default";
15898       data.item: "stacking" "above";
15899       data.item: "selectraise" "on";
15900       data.item: "labels" "elm.text";
15901       data.item: "icons" "elm.swallow.icon elm.swallow.end";
15902       data.item: "treesize" "20";
15903 //      data.item: "states" "";
15904       images {
15905          image: "bt_sm_base1.png" COMP;
15906          image: "bt_sm_shine.png" COMP;
15907          image: "bt_sm_hilight.png" COMP;
15908          image: "ilist_item_shadow.png" COMP;
15909          image: "group_index.png" COMP;
15910       }
15911       parts {
15912          part {
15913             name: "event";
15914             type: RECT;
15915             repeat_events: 0;
15916             description {
15917                state: "default" 0.0;
15918                color: 0 0 0 0;
15919             }
15920          }
15921          part {
15922             name: "base_sh";
15923             mouse_events: 0;
15924             description {
15925                state: "default" 0.0;
15926                align: 0.0 0.0;
15927                min: 0 10;
15928                fixed: 1 1;
15929                rel1 {
15930                   to: "base";
15931                   relative: 0.0 1.0;
15932                   offset: 0 0;
15933                }
15934                rel2 {
15935                   to: "base";
15936                   relative: 1.0 1.0;
15937                   offset: -1 0;
15938                }
15939                image {
15940                   normal: "ilist_item_shadow.png";
15941                }
15942                fill.smooth: 0;
15943             }
15944          }
15945          part {
15946             name: "base";
15947             mouse_events: 0;
15948             description {
15949                state: "default" 0.0;
15950                image {
15951                   normal: "group_index.png";
15952                   border: 2 2 2 2;
15953                }
15954                fill.smooth: 0;
15955             }
15956          }
15957          part { name: "bg";
15958             clip_to: "disclip";
15959             mouse_events: 0;
15960             description { state: "default" 0.0;
15961                visible: 0;
15962                color: 255 255 255 0;
15963                rel1 {
15964                   relative: 0.0 0.0;
15965                   offset: -5 -5;
15966                }
15967                rel2 {
15968                   relative: 1.0 1.0;
15969                   offset: 4 4;
15970                }
15971                image {
15972                   normal: "bt_sm_base1.png";
15973                   border: 6 6 6 6;
15974                }
15975                image.middle: SOLID;
15976             }
15977             description { state: "selected" 0.0;
15978                inherit: "default" 0.0;
15979                visible: 1;
15980                color: 255 255 255 255;
15981                rel1 {
15982                   relative: 0.0 0.0;
15983                   offset: -2 -2;
15984                }
15985                rel2 {
15986                   relative: 1.0 1.0;
15987                   offset: 1 1;
15988                }
15989             }
15990          }
15991          part { name: "elm.swallow.pad";
15992             type: SWALLOW;
15993             description { state: "default" 0.0;
15994                fixed: 1 0;
15995                align: 0.0 0.5;
15996                rel1 {
15997                   relative: 0.0  0.0;
15998                   offset: 4 4;
15999                }
16000                rel2 {
16001                   relative: 0.0  1.0;
16002                   offset: 4 -5;
16003                }
16004             }
16005          }
16006          part { name: "elm.swallow.icon";
16007             clip_to: "disclip";
16008             type: SWALLOW;
16009             description { state: "default" 0.0;
16010                fixed: 1 0;
16011                align: 0.0 0.5;
16012                rel1 {
16013                   to_x: "elm.swallow.pad";
16014                   relative: 1.0 0.0;
16015                   offset: -1 4;
16016                }
16017                rel2 {
16018                   to_x: "elm.swallow.pad";
16019                   relative: 1.0 1.0;
16020                   offset: -1 -5;
16021                }
16022             }
16023          }
16024          part { name: "elm.swallow.end";
16025             clip_to: "disclip";
16026             type: SWALLOW;
16027             description { state: "default" 0.0;
16028                fixed: 1 0;
16029                align: 1.0 0.5;
16030                aspect: 1.0 1.0;
16031                aspect_preference: VERTICAL;
16032                rel1 {
16033                   relative: 1.0 0.0;
16034                   offset: -5 4;
16035                }
16036                rel2 {
16037                   relative: 1.0 1.0;
16038                   offset: -5 -5;
16039                }
16040             }
16041          }
16042          part { name: "elm.text";
16043             clip_to: "disclip";
16044             type: TEXT;
16045             effect: SOFT_SHADOW;
16046             mouse_events: 0;
16047             scale: 1;
16048             description {
16049                state: "default" 0.0;
16050 //               min: 16 16;
16051                rel1 {
16052                   to_x: "elm.swallow.icon";
16053                   relative: 1.0  0.0;
16054                   offset: 0 4;
16055                }
16056                rel2 {
16057                   to_x: "elm.swallow.end";
16058                   relative: 0.0  1.0;
16059                   offset: -1 -5;
16060                }
16061                color: 0 0 0 255;
16062                color3: 0 0 0 0;
16063                text {
16064                   font: "Sans";
16065                   size: 10;
16066                   min: 1 1;
16067 //                  min: 0 1;
16068                   align: -1.0 0.5;
16069                   text_class: "list_item";
16070                }
16071             }
16072             description { state: "selected" 0.0;
16073                inherit: "default" 0.0;
16074                color: 224 224 224 255;
16075                color3: 0 0 0 64;
16076             }
16077          }
16078          part { name: "fg1";
16079             clip_to: "disclip";
16080             mouse_events: 0;
16081             description { state: "default" 0.0;
16082                visible: 0;
16083                color: 255 255 255 0;
16084                rel1.to: "bg";
16085                rel2.relative: 1.0 0.5;
16086                rel2.to: "bg";
16087                image {
16088                   normal: "bt_sm_hilight.png";
16089                   border: 6 6 6 0;
16090                }
16091             }
16092             description { state: "selected" 0.0;
16093                inherit: "default" 0.0;
16094                visible: 1;
16095                color: 255 255 255 255;
16096             }
16097          }
16098          part { name: "fg2";
16099             clip_to: "disclip";
16100             mouse_events: 0;
16101             description { state: "default" 0.0;
16102                visible: 0;
16103                color: 255 255 255 0;
16104                rel1.to: "bg";
16105                rel2.to: "bg";
16106                image {
16107                   normal: "bt_sm_shine.png";
16108                   border: 6 6 6 0;
16109                }
16110             }
16111             description { state: "selected" 0.0;
16112                inherit: "default" 0.0;
16113                visible: 1;
16114                color: 255 255 255 255;
16115             }
16116          }
16117          part { name: "disclip";
16118             type: RECT;
16119             description { state: "default" 0.0;
16120                rel1.to: "bg";
16121                rel2.to: "bg";
16122             }
16123             description { state: "disabled" 0.0;
16124                inherit: "default" 0.0;
16125                color: 255 255 255 64;
16126             }
16127          }
16128       }
16129       programs {
16130          // signal: elm,state,%s,active
16131          //   a "check" item named %s went active
16132          // signal: elm,state,%s,passive
16133          //   a "check" item named %s went passive
16134          // default is passive
16135          program {
16136             name:    "go_active";
16137             signal:  "elm,state,selected";
16138             source:  "elm";
16139             action:  STATE_SET "selected" 0.0;
16140             target:  "bg";
16141             target:  "fg1";
16142             target:  "fg2";
16143             target:  "elm.text";
16144          }
16145          program {
16146             name:    "go_passive";
16147             signal:  "elm,state,unselected";
16148             source:  "elm";
16149             action:  STATE_SET "default" 0.0;
16150             target:  "bg";
16151             target:  "fg1";
16152             target:  "fg2";
16153             target:  "elm.text";
16154             transition: LINEAR 0.1;
16155          }
16156          program {
16157             name:    "go_disabled";
16158             signal:  "elm,state,disabled";
16159             source:  "elm";
16160             action:  STATE_SET "disabled" 0.0;
16161             target:  "disclip";
16162          }
16163          program {
16164             name:    "go_enabled";
16165             signal:  "elm,state,enabled";
16166             source:  "elm";
16167             action:  STATE_SET "default" 0.0;
16168             target:  "disclip";
16169          }
16170       }
16171    }
16172    group { name: "elm/genlist/item_compress/message/default";
16173       data.item: "stacking" "above";
16174       data.item: "selectraise" "on";
16175       data.item: "labels" "elm.title.1 elm.title.2 elm.text";
16176 //      data.item: "icons" "elm.swallow.icon elm.swallow.end";
16177       data.item: "treesize" "20";
16178 //      data.item: "states" "";
16179       images {
16180          image: "bt_sm_base1.png" COMP;
16181          image: "bt_sm_shine.png" COMP;
16182          image: "bt_sm_hilight.png" COMP;
16183          image: "ilist_1.png" COMP;
16184          image: "ilist_item_shadow.png" COMP;
16185       }
16186       styles {
16187         style { name: "genlist_textblock_style";
16188           base: "font=Sans font_size=10 color=#000 wrap=char text_class=list_item";
16189           tag:  "br" "\n";
16190           tag:  "ps" "ps";
16191           tag:  "tab" "\t";
16192         }
16193         style { name: "genlist_textblock_style2";
16194           base: "font=Sans font_size=10 color=#fff wrap=char text_class=list_item";
16195           tag:  "br" "\n";
16196           tag:  "ps" "ps";
16197           tag:  "tab" "\t";
16198         }
16199       }
16200      parts {
16201          part {
16202             name:           "event";
16203             type:           RECT;
16204             repeat_events: 1;
16205             description {
16206                state: "default" 0.0;
16207                color: 0 0 0 0;
16208             }
16209          }
16210          part {
16211             name: "base_sh";
16212             mouse_events: 0;
16213             description {
16214                state: "default" 0.0;
16215                align: 0.0 0.0;
16216                min: 0 10;
16217                fixed: 1 1;
16218                rel1 {
16219                   to: "base";
16220                   relative: 0.0 1.0;
16221                   offset: 0 0;
16222                }
16223                rel2 {
16224                   to: "base";
16225                   relative: 1.0 1.0;
16226                   offset: -1 0;
16227                }
16228                image {
16229                   normal: "ilist_item_shadow.png";
16230                }
16231                fill.smooth: 0;
16232             }
16233          }
16234          part {
16235             name: "base";
16236             mouse_events: 0;
16237             description {
16238                state: "default" 0.0;
16239                image {
16240                   normal: "ilist_1.png";
16241                   border: 2 2 2 2;
16242                }
16243                fill.smooth: 0;
16244             }
16245          }
16246          part { name: "bg";
16247             clip_to: "disclip";
16248             mouse_events: 0;
16249             description { state: "default" 0.0;
16250                visible: 0;
16251                color: 255 255 255 0;
16252                rel1 {
16253                   relative: 0.0 0.0;
16254                   offset: -5 -5;
16255                }
16256                rel2 {
16257                   relative: 1.0 1.0;
16258                   offset: 4 4;
16259                }
16260                image {
16261                   normal: "bt_sm_base1.png";
16262                   border: 6 6 6 6;
16263                }
16264                image.middle: SOLID;
16265             }
16266             description { state: "selected" 0.0;
16267                inherit: "default" 0.0;
16268                visible: 1;
16269                color: 255 255 255 255;
16270                rel1 {
16271                   relative: 0.0 0.0;
16272                   offset: -2 -2;
16273                }
16274                rel2 {
16275                   relative: 1.0 1.0;
16276                   offset: 1 1;
16277                }
16278             }
16279          }
16280          part { name: "elm.title.1";
16281             clip_to: "disclip";
16282             type:           TEXT;
16283             effect:         SOFT_SHADOW;
16284             mouse_events:   0;
16285             scale: 1;
16286             description {
16287                state: "default" 0.0;
16288                fixed: 0 1;
16289 //               min: 16 16;
16290                rel1 {
16291                   relative: 0.0  0.0;
16292                   offset:   4 4;
16293                }
16294                rel2 {
16295                   relative: 1.0  0.0;
16296                   offset:   -5 4;
16297                }
16298                color: 0 0 0 255;
16299                color3: 0 0 0 0;
16300                align: 0.0 0.0;
16301                text {
16302                   font: "Sans";
16303                   size: 10;
16304                   min: 0 1;
16305 //                  min: 1 1;
16306                   align: 0.0 0.0;
16307                   text_class: "list_item";
16308                }
16309             }
16310             description { state: "selected" 0.0;
16311                inherit: "default" 0.0;
16312                color: 224 224 224 255;
16313                color3: 0 0 0 64;
16314             }
16315          }
16316          part { name: "elm.title.2";
16317             clip_to: "disclip";
16318             type:           TEXT;
16319             effect:         SOFT_SHADOW;
16320             mouse_events:   0;
16321             scale: 1;
16322             description {
16323                state: "default" 0.0;
16324                fixed: 0 1;
16325 //               min: 16 16;
16326                rel1 {
16327                   to_y:     "elm.title.1";
16328                   relative: 0.0  1.0;
16329                   offset:   4 0;
16330                }
16331                rel2 {
16332                   to_y:     "elm.title.1";
16333                   relative: 1.0  1.0;
16334                   offset:   -5 0;
16335                }
16336                color: 0 0 0 255;
16337                color3: 0 0 0 0;
16338                align: 0.0 0.0;
16339                text {
16340                   font: "Sans";
16341                   size: 10;
16342                   min: 0 1;
16343 //                  min: 1 1;
16344                   align: 0.0 0.0;
16345                   text_class: "list_item";
16346                }
16347             }
16348             description { state: "selected" 0.0;
16349                inherit: "default" 0.0;
16350                color: 224 224 224 255;
16351                color3: 0 0 0 64;
16352             }
16353          }
16354          part { name: "elm.text";
16355             clip_to: "disclip";
16356             type:           TEXTBLOCK;
16357             mouse_events:   0;
16358             scale: 1;
16359             description {
16360                state: "default" 0.0;
16361 //               fixed: 0 1;
16362 //               min: 16 16;
16363                rel1 {
16364                   to_y:     "elm.title.2";
16365                   relative: 0.0  1.0;
16366                   offset:   4 0;
16367                }
16368                rel2 {
16369                   relative: 1.0  1.0;
16370                   offset:   -5 -5;
16371                }
16372                align: 0.0 0.0;
16373                text {
16374                   style: "genlist_textblock_style";
16375                   min: 0 1;
16376 //                  min: 1 1;
16377                   align: 0.0 0.0;
16378                }
16379             }
16380             description { state: "selected" 0.0;
16381                inherit: "default" 0.0;
16382                text {
16383                   style: "genlist_textblock_style2";
16384                }
16385             }
16386          }
16387          part { name: "fg1";
16388             clip_to: "disclip";
16389             mouse_events: 0;
16390             description { state: "default" 0.0;
16391                visible: 0;
16392                color: 255 255 255 0;
16393                rel1.to: "bg";
16394                rel2.relative: 1.0 0.5;
16395                rel2.to: "bg";
16396                image {
16397                   normal: "bt_sm_hilight.png";
16398                   border: 6 6 6 0;
16399                }
16400             }
16401             description { state: "selected" 0.0;
16402                inherit: "default" 0.0;
16403                visible: 1;
16404                color: 255 255 255 255;
16405             }
16406          }
16407          part { name: "fg2";
16408             clip_to: "disclip";
16409             mouse_events: 0;
16410             description { state: "default" 0.0;
16411                visible: 0;
16412                color: 255 255 255 0;
16413                rel1.to: "bg";
16414                rel2.to: "bg";
16415                image {
16416                   normal: "bt_sm_shine.png";
16417                   border: 6 6 6 0;
16418                }
16419             }
16420             description { state: "selected" 0.0;
16421                inherit: "default" 0.0;
16422                visible: 1;
16423                color: 255 255 255 255;
16424             }
16425          }
16426          part { name: "disclip";
16427             type: RECT;
16428             description { state: "default" 0.0;
16429                rel1.to: "bg";
16430                rel2.to: "bg";
16431             }
16432             description { state: "disabled" 0.0;
16433                inherit: "default" 0.0;
16434                color: 255 255 255 64;
16435             }
16436          }
16437       }
16438       programs {
16439          // signal: elm,state,%s,active
16440          //   a "check" item named %s went active
16441          // signal: elm,state,%s,passive
16442          //   a "check" item named %s went passive
16443          // default is passive
16444          program {
16445             name:    "go_active";
16446             signal:  "elm,state,selected";
16447             source:  "elm";
16448             action:  STATE_SET "selected" 0.0;
16449             target:  "bg";
16450             target:  "fg1";
16451             target:  "fg2";
16452             target:  "elm.title.1";
16453             target:  "elm.title.2";
16454             target:  "elm.text";
16455          }
16456          program {
16457             name:    "go_passive";
16458             signal:  "elm,state,unselected";
16459             source:  "elm";
16460             action:  STATE_SET "default" 0.0;
16461             target:  "bg";
16462             target:  "fg1";
16463             target:  "fg2";
16464             target:  "elm.title.1";
16465             target:  "elm.title.2";
16466             target:  "elm.text";
16467             transition: LINEAR 0.1;
16468          }
16469          program {
16470             name:    "go_disabled";
16471             signal:  "elm,state,disabled";
16472             source:  "elm";
16473             action:  STATE_SET "disabled" 0.0;
16474             target:  "disclip";
16475          }
16476          program {
16477             name:    "go_enabled";
16478             signal:  "elm,state,enabled";
16479             source:  "elm";
16480             action:  STATE_SET "default" 0.0;
16481             target:  "disclip";
16482          }
16483       }
16484    }
16485    group { name: "elm/genlist/item_compress_odd/message/default";
16486       data.item: "stacking" "below";
16487       data.item: "selectraise" "on";
16488       data.item: "labels" "elm.title.1 elm.title.2 elm.text";
16489 //      data.item: "icons" "elm.swallow.icon elm.swallow.end";
16490       data.item: "treesize" "20";
16491 //      data.item: "states" "";
16492       images {
16493          image: "bt_sm_base1.png" COMP;
16494          image: "bt_sm_shine.png" COMP;
16495          image: "bt_sm_hilight.png" COMP;
16496          image: "ilist_2.png" COMP;
16497       }
16498       parts {
16499          part { name: "event";
16500             type: RECT;
16501             repeat_events: 1;
16502             description {
16503                state: "default" 0.0;
16504                color: 0 0 0 0;
16505             }
16506          }
16507          part {
16508             name: "base";
16509             mouse_events: 0;
16510             description {
16511                state: "default" 0.0;
16512                image {
16513                   normal: "ilist_2.png";
16514                   border: 2 2 2 2;
16515                }
16516                fill.smooth: 0;
16517             }
16518          }
16519          part { name: "bg";
16520             clip_to: "disclip";
16521             mouse_events: 0;
16522             description { state: "default" 0.0;
16523                visible: 0;
16524                color: 255 255 255 0;
16525                rel1 {
16526                   relative: 0.0 0.0;
16527                   offset: -5 -5;
16528                }
16529                rel2 {
16530                   relative: 1.0 1.0;
16531                   offset: 4 4;
16532                }
16533                image {
16534                   normal: "bt_sm_base1.png";
16535                   border: 6 6 6 6;
16536                }
16537                image.middle: SOLID;
16538             }
16539             description { state: "selected" 0.0;
16540                inherit: "default" 0.0;
16541                visible: 1;
16542                color: 255 255 255 255;
16543                rel1 {
16544                   relative: 0.0 0.0;
16545                   offset: -2 -2;
16546                }
16547                rel2 {
16548                   relative: 1.0 1.0;
16549                   offset: 1 1;
16550                }
16551             }
16552          }
16553          part { name: "elm.title.1";
16554             clip_to: "disclip";
16555             type:           TEXT;
16556             effect:         SOFT_SHADOW;
16557             mouse_events:   0;
16558             scale: 1;
16559             description {
16560                state: "default" 0.0;
16561                fixed: 0 1;
16562 //               min: 16 16;
16563                rel1 {
16564                   relative: 0.0  0.0;
16565                   offset:   4 4;
16566                }
16567                rel2 {
16568                   relative: 1.0  0.0;
16569                   offset:   -5 4;
16570                }
16571                color: 0 0 0 255;
16572                color3: 0 0 0 0;
16573                align: 0.0 0.0;
16574                text {
16575                   font: "Sans";
16576                   size: 10;
16577                   min: 0 1;
16578 //                  min: 1 1;
16579                   align: 0.0 0.0;
16580                   text_class: "list_item";
16581                }
16582             }
16583             description { state: "selected" 0.0;
16584                inherit: "default" 0.0;
16585                color: 224 224 224 255;
16586                color3: 0 0 0 64;
16587             }
16588          }
16589          part { name: "elm.title.2";
16590             clip_to: "disclip";
16591             type:           TEXT;
16592             effect:         SOFT_SHADOW;
16593             mouse_events:   0;
16594             scale: 1;
16595             description {
16596                state: "default" 0.0;
16597                fixed: 0 1;
16598 //               min: 16 16;
16599                rel1 {
16600                   to_y:     "elm.title.1";
16601                   relative: 0.0  1.0;
16602                   offset:   4 0;
16603                }
16604                rel2 {
16605                   to_y:     "elm.title.1";
16606                   relative: 1.0  1.0;
16607                   offset:   -5 0;
16608                }
16609                color: 0 0 0 255;
16610                color3: 0 0 0 0;
16611                align: 0.0 0.0;
16612                text {
16613                   font: "Sans";
16614                   size: 10;
16615                   min: 0 1;
16616 //                  min: 1 1;
16617                   align: 0.0 0.0;
16618                   text_class: "list_item";
16619                }
16620             }
16621             description { state: "selected" 0.0;
16622                inherit: "default" 0.0;
16623                color: 224 224 224 255;
16624                color3: 0 0 0 64;
16625             }
16626          }
16627          part { name: "elm.text";
16628             clip_to: "disclip";
16629             type:           TEXTBLOCK;
16630             mouse_events:   0;
16631             scale: 1;
16632             description {
16633                state: "default" 0.0;
16634 //               fixed: 0 1;
16635 //               min: 16 16;
16636                rel1 {
16637                   to_y:     "elm.title.2";
16638                   relative: 0.0  1.0;
16639                   offset:   4 0;
16640                }
16641                rel2 {
16642                   relative: 1.0  1.0;
16643                   offset:   -5 -5;
16644                }
16645                align: 0.0 0.0;
16646                text {
16647                   style: "genlist_textblock_style";
16648                   min: 0 1;
16649 //                  min: 1 1;
16650                   align: 0.0 0.0;
16651                }
16652             }
16653             description { state: "selected" 0.0;
16654                inherit: "default" 0.0;
16655                text {
16656                   style: "genlist_textblock_style2";
16657                }
16658             }
16659          }
16660          part { name: "fg1";
16661             clip_to: "disclip";
16662             mouse_events: 0;
16663             description { state: "default" 0.0;
16664                visible: 0;
16665                color: 255 255 255 0;
16666                rel1.to: "bg";
16667                rel2.relative: 1.0 0.5;
16668                rel2.to: "bg";
16669                image {
16670                   normal: "bt_sm_hilight.png";
16671                   border: 6 6 6 0;
16672                }
16673             }
16674             description { state: "selected" 0.0;
16675                inherit: "default" 0.0;
16676                visible: 1;
16677                color: 255 255 255 255;
16678             }
16679          }
16680          part { name: "fg2";
16681             clip_to: "disclip";
16682             mouse_events: 0;
16683             description { state: "default" 0.0;
16684                visible: 0;
16685                color: 255 255 255 0;
16686                rel1.to: "bg";
16687                rel2.to: "bg";
16688                image {
16689                   normal: "bt_sm_shine.png";
16690                   border: 6 6 6 0;
16691                }
16692             }
16693             description { state: "selected" 0.0;
16694                inherit: "default" 0.0;
16695                visible: 1;
16696                color: 255 255 255 255;
16697             }
16698          }
16699          part { name: "disclip";
16700             type: RECT;
16701             description { state: "default" 0.0;
16702                rel1.to: "bg";
16703                rel2.to: "bg";
16704             }
16705             description { state: "disabled" 0.0;
16706                inherit: "default" 0.0;
16707                color: 255 255 255 64;
16708             }
16709          }
16710       }
16711       programs {
16712          // signal: elm,state,%s,active
16713          //   a "check" item named %s went active
16714          // signal: elm,state,%s,passive
16715          //   a "check" item named %s went passive
16716          // default is passive
16717          program {
16718             name:    "go_active";
16719             signal:  "elm,state,selected";
16720             source:  "elm";
16721             action:  STATE_SET "selected" 0.0;
16722             target:  "bg";
16723             target:  "fg1";
16724             target:  "fg2";
16725             target:  "elm.title.1";
16726             target:  "elm.title.2";
16727             target:  "elm.text";
16728          }
16729          program {
16730             name:    "go_passive";
16731             signal:  "elm,state,unselected";
16732             source:  "elm";
16733             action:  STATE_SET "default" 0.0;
16734             target:  "bg";
16735             target:  "fg1";
16736             target:  "fg2";
16737             target:  "elm.title.1";
16738             target:  "elm.title.2";
16739             target:  "elm.text";
16740             transition: LINEAR 0.1;
16741          }
16742          program {
16743             name:    "go_disabled";
16744             signal:  "elm,state,disabled";
16745             source:  "elm";
16746             action:  STATE_SET "disabled" 0.0;
16747             target:  "disclip";
16748          }
16749          program {
16750             name:    "go_enabled";
16751             signal:  "elm,state,enabled";
16752             source:  "elm";
16753             action:  STATE_SET "default" 0.0;
16754             target:  "disclip";
16755          }
16756       }
16757    }
16758    group { name: "elm/genlist/item_compress/default/default";
16759       data.item: "stacking" "above";
16760       data.item: "selectraise" "on";
16761       data.item: "labels" "elm.text";
16762       data.item: "icons" "elm.swallow.icon elm.swallow.end";
16763       data.item: "treesize" "20";
16764 //      data.item: "states" "";
16765       images {
16766          image: "bt_sm_base1.png" COMP;
16767          image: "bt_sm_shine.png" COMP;
16768          image: "bt_sm_hilight.png" COMP;
16769          image: "ilist_1.png" COMP;
16770          image: "ilist_item_shadow.png" COMP;
16771       }
16772       parts {
16773          part {
16774             name:           "event";
16775             type:           RECT;
16776             repeat_events: 1;
16777             description {
16778                state: "default" 0.0;
16779                color: 0 0 0 0;
16780             }
16781          }
16782          part {
16783             name: "base_sh";
16784             mouse_events: 0;
16785             description {
16786                state: "default" 0.0;
16787                align: 0.0 0.0;
16788                min: 0 10;
16789                fixed: 1 1;
16790                rel1 {
16791                   to: "base";
16792                   relative: 0.0 1.0;
16793                   offset: 0 0;
16794                }
16795                rel2 {
16796                   to: "base";
16797                   relative: 1.0 1.0;
16798                   offset: -1 0;
16799                }
16800                image {
16801                   normal: "ilist_item_shadow.png";
16802                }
16803                fill.smooth: 0;
16804             }
16805          }
16806          part {
16807             name: "base";
16808             mouse_events: 0;
16809             description {
16810                state: "default" 0.0;
16811                image {
16812                   normal: "ilist_1.png";
16813                   border: 2 2 2 2;
16814                }
16815                fill.smooth: 0;
16816             }
16817          }
16818          part { name: "bg";
16819             clip_to: "disclip";
16820             mouse_events: 0;
16821             description { state: "default" 0.0;
16822                visible: 0;
16823                color: 255 255 255 0;
16824                rel1 {
16825                   relative: 0.0 0.0;
16826                   offset: -5 -5;
16827                }
16828                rel2 {
16829                   relative: 1.0 1.0;
16830                   offset: 4 4;
16831                }
16832                image {
16833                   normal: "bt_sm_base1.png";
16834                   border: 6 6 6 6;
16835                }
16836                image.middle: SOLID;
16837             }
16838             description { state: "selected" 0.0;
16839                inherit: "default" 0.0;
16840                visible: 1;
16841                color: 255 255 255 255;
16842                rel1 {
16843                   relative: 0.0 0.0;
16844                   offset: -2 -2;
16845                }
16846                rel2 {
16847                   relative: 1.0 1.0;
16848                   offset: 1 1;
16849                }
16850             }
16851          }
16852          part { name: "elm.swallow.pad";
16853             type: SWALLOW;
16854             description { state: "default" 0.0;
16855                fixed: 1 0;
16856                align: 0.0 0.5;
16857                rel1 {
16858                   relative: 0.0  0.0;
16859                   offset:   4    4;
16860                }
16861                rel2 {
16862                   relative: 0.0  1.0;
16863                   offset:   4   -5;
16864                }
16865             }
16866          }
16867          part { name: "elm.swallow.icon";
16868             clip_to: "disclip";
16869             type: SWALLOW;
16870             description { state: "default" 0.0;
16871                fixed: 1 0;
16872                align: 0.0 0.5;
16873                rel1 {
16874                   to_x: "elm.swallow.pad";
16875                   relative: 1.0  0.0;
16876                   offset:   -1    4;
16877                }
16878                rel2 {
16879                   to_x: "elm.swallow.pad";
16880                   relative: 1.0  1.0;
16881                   offset:   -1   -5;
16882                }
16883             }
16884          }
16885          part { name: "elm.swallow.end";
16886             clip_to: "disclip";
16887             type: SWALLOW;
16888             description { state: "default" 0.0;
16889                fixed: 1 0;
16890                align: 1.0 0.5;
16891                aspect: 1.0 1.0;
16892                aspect_preference: VERTICAL;
16893                rel1 {
16894                   relative: 1.0  0.0;
16895                   offset:   -5    4;
16896                }
16897                rel2 {
16898                   relative: 1.0  1.0;
16899                   offset:   -5   -5;
16900                }
16901             }
16902          }
16903          part { name: "elm.text";
16904             clip_to: "disclip";
16905             type:           TEXT;
16906             effect:         SOFT_SHADOW;
16907             mouse_events:   0;
16908             scale: 1;
16909             description {
16910                state: "default" 0.0;
16911 //               min: 16 16;
16912                rel1 {
16913                   to_x:     "elm.swallow.icon";
16914                   relative: 1.0  0.0;
16915                   offset:   0 4;
16916                }
16917                rel2 {
16918                   to_x:     "elm.swallow.end";
16919                   relative: 0.0  1.0;
16920                   offset:   -1 -5;
16921                }
16922                color: 0 0 0 255;
16923                color3: 0 0 0 0;
16924                text {
16925                   font: "Sans";
16926                   size: 10;
16927                   min: 0 1;
16928 //                  min: 1 1;
16929                   align: 0.0 0.5;
16930                   text_class: "list_item";
16931                }
16932             }
16933             description { state: "selected" 0.0;
16934                inherit: "default" 0.0;
16935                color: 224 224 224 255;
16936                color3: 0 0 0 64;
16937             }
16938          }
16939          part { name: "fg1";
16940             clip_to: "disclip";
16941             mouse_events: 0;
16942             description { state: "default" 0.0;
16943                visible: 0;
16944                color: 255 255 255 0;
16945                rel1.to: "bg";
16946                rel2.relative: 1.0 0.5;
16947                rel2.to: "bg";
16948                image {
16949                   normal: "bt_sm_hilight.png";
16950                   border: 6 6 6 0;
16951                }
16952             }
16953             description { state: "selected" 0.0;
16954                inherit: "default" 0.0;
16955                visible: 1;
16956                color: 255 255 255 255;
16957             }
16958          }
16959          part { name: "fg2";
16960             clip_to: "disclip";
16961             mouse_events: 0;
16962             description { state: "default" 0.0;
16963                visible: 0;
16964                color: 255 255 255 0;
16965                rel1.to: "bg";
16966                rel2.to: "bg";
16967                image {
16968                   normal: "bt_sm_shine.png";
16969                   border: 6 6 6 0;
16970                }
16971             }
16972             description { state: "selected" 0.0;
16973                inherit: "default" 0.0;
16974                visible: 1;
16975                color: 255 255 255 255;
16976             }
16977          }
16978          part { name: "disclip";
16979             type: RECT;
16980             description { state: "default" 0.0;
16981                rel1.to: "bg";
16982                rel2.to: "bg";
16983             }
16984             description { state: "disabled" 0.0;
16985                inherit: "default" 0.0;
16986                color: 255 255 255 64;
16987             }
16988          }
16989       }
16990       programs {
16991          // signal: elm,state,%s,active
16992          //   a "check" item named %s went active
16993          // signal: elm,state,%s,passive
16994          //   a "check" item named %s went passive
16995          // default is passive
16996          program {
16997             name:    "go_active";
16998             signal:  "elm,state,selected";
16999             source:  "elm";
17000             action:  STATE_SET "selected" 0.0;
17001             target:  "bg";
17002             target:  "fg1";
17003             target:  "fg2";
17004             target:  "elm.text";
17005          }
17006          program {
17007             name:    "go_passive";
17008             signal:  "elm,state,unselected";
17009             source:  "elm";
17010             action:  STATE_SET "default" 0.0;
17011             target:  "bg";
17012             target:  "fg1";
17013             target:  "fg2";
17014             target:  "elm.text";
17015             transition: LINEAR 0.1;
17016          }
17017          program {
17018             name:    "go_disabled";
17019             signal:  "elm,state,disabled";
17020             source:  "elm";
17021             action:  STATE_SET "disabled" 0.0;
17022             target:  "disclip";
17023          }
17024          program {
17025             name:    "go_enabled";
17026             signal:  "elm,state,enabled";
17027             source:  "elm";
17028             action:  STATE_SET "default" 0.0;
17029             target:  "disclip";
17030          }
17031       }
17032    }
17033    group { name: "elm/genlist/item_odd/default/default";
17034       data.item: "stacking" "below";
17035       data.item: "selectraise" "on";
17036       data.item: "labels" "elm.text";
17037       data.item: "icons" "elm.swallow.icon elm.swallow.end";
17038       data.item: "treesize" "20";
17039 //      data.item: "states" "";
17040       images {
17041          image: "bt_sm_base1.png" COMP;
17042          image: "bt_sm_shine.png" COMP;
17043          image: "bt_sm_hilight.png" COMP;
17044          image: "ilist_2.png" COMP;
17045       }
17046       parts {
17047          part { name: "event";
17048             type: RECT;
17049             repeat_events: 1;
17050             description {
17051                state: "default" 0.0;
17052                color: 0 0 0 0;
17053             }
17054          }
17055          part {
17056             name: "base";
17057             mouse_events: 0;
17058             description {
17059                state: "default" 0.0;
17060                image {
17061                   normal: "ilist_2.png";
17062                   border: 2 2 2 2;
17063                }
17064                fill.smooth: 0;
17065             }
17066          }
17067          part { name: "bg";
17068             clip_to: "disclip";
17069             mouse_events: 0;
17070             description { state: "default" 0.0;
17071                visible: 0;
17072                color: 255 255 255 0;
17073                rel1 {
17074                   relative: 0.0 0.0;
17075                   offset: -5 -5;
17076                }
17077                rel2 {
17078                   relative: 1.0 1.0;
17079                   offset: 4 4;
17080                }
17081                image {
17082                   normal: "bt_sm_base1.png";
17083                   border: 6 6 6 6;
17084                }
17085                image.middle: SOLID;
17086             }
17087             description { state: "selected" 0.0;
17088                inherit: "default" 0.0;
17089                visible: 1;
17090                color: 255 255 255 255;
17091                rel1 {
17092                   relative: 0.0 0.0;
17093                   offset: -2 -2;
17094                }
17095                rel2 {
17096                   relative: 1.0 1.0;
17097                   offset: 1 1;
17098                }
17099             }
17100          }
17101          part { name: "elm.swallow.pad";
17102             type: SWALLOW;
17103             description { state: "default" 0.0;
17104                fixed: 1 0;
17105                align: 0.0 0.5;
17106                rel1 {
17107                   relative: 0.0  0.0;
17108                   offset:   4    4;
17109                }
17110                rel2 {
17111                   relative: 0.0  1.0;
17112                   offset:   4   -5;
17113                }
17114             }
17115          }
17116          part { name: "elm.swallow.icon";
17117             clip_to: "disclip";
17118             type: SWALLOW;
17119             description { state: "default" 0.0;
17120                fixed: 1 0;
17121                align: 0.0 0.5;
17122                rel1 {
17123                   to_x: "elm.swallow.pad";
17124                   relative: 1.0  0.0;
17125                   offset:   -1    4;
17126                }
17127                rel2 {
17128                   to_x: "elm.swallow.pad";
17129                   relative: 1.0  1.0;
17130                   offset:   -1   -5;
17131                }
17132             }
17133          }
17134          part { name: "elm.swallow.end";
17135             clip_to: "disclip";
17136             type:          SWALLOW;
17137             description { state:    "default" 0.0;
17138                fixed: 1 0;
17139                align:    1.0 0.5;
17140                aspect: 1.0 1.0;
17141                aspect_preference: VERTICAL;
17142                rel1 {
17143                   relative: 1.0  0.0;
17144                   offset:   -5    4;
17145                }
17146                rel2 {
17147                   relative: 1.0  1.0;
17148                   offset:   -5   -5;
17149                }
17150             }
17151          }
17152          part { name: "elm.text";
17153             clip_to: "disclip";
17154             type:           TEXT;
17155             effect:         SOFT_SHADOW;
17156             mouse_events:   0;
17157             scale: 1;
17158             description {
17159                state: "default" 0.0;
17160 //               min:      16 16;
17161                rel1 {
17162                   to_x:     "elm.swallow.icon";
17163                   relative: 1.0  0.0;
17164                   offset:   0 4;
17165                }
17166                rel2 {
17167                   to_x:     "elm.swallow.end";
17168                   relative: 0.0  1.0;
17169                   offset:   -1 -5;
17170                }
17171                color: 0 0 0 255;
17172                color3: 0 0 0 0;
17173                text {
17174                   font: "Sans";
17175                   size: 10;
17176                   min: 1 1;
17177 //                  min: 0 1;
17178                   align: -1.0 0.5;
17179                   text_class: "list_item";
17180                }
17181             }
17182             description { state: "selected" 0.0;
17183                inherit: "default" 0.0;
17184                color: 224 224 224 255;
17185                color3: 0 0 0 64;
17186             }
17187          }
17188          part { name: "fg1";
17189             clip_to: "disclip";
17190             mouse_events: 0;
17191             description { state: "default" 0.0;
17192                visible: 0;
17193                color: 255 255 255 0;
17194                rel1.to: "bg";
17195                rel2.relative: 1.0 0.5;
17196                rel2.to: "bg";
17197                image {
17198                   normal: "bt_sm_hilight.png";
17199                   border: 6 6 6 0;
17200                }
17201             }
17202             description { state: "selected" 0.0;
17203                inherit: "default" 0.0;
17204                visible: 1;
17205                color: 255 255 255 255;
17206             }
17207          }
17208          part { name: "fg2";
17209             clip_to: "disclip";
17210             mouse_events: 0;
17211             description { state: "default" 0.0;
17212                visible: 0;
17213                color: 255 255 255 0;
17214                rel1.to: "bg";
17215                rel2.to: "bg";
17216                image {
17217                   normal: "bt_sm_shine.png";
17218                   border: 6 6 6 0;
17219                }
17220             }
17221             description { state: "selected" 0.0;
17222                inherit: "default" 0.0;
17223                visible: 1;
17224                color: 255 255 255 255;
17225             }
17226          }
17227          part { name: "disclip";
17228             type: RECT;
17229             description { state: "default" 0.0;
17230                rel1.to: "bg";
17231                rel2.to: "bg";
17232             }
17233             description { state: "disabled" 0.0;
17234                inherit: "default" 0.0;
17235                color: 255 255 255 64;
17236             }
17237          }
17238       }
17239       programs {
17240          // signal: elm,state,%s,active
17241          //   a "check" item named %s went active
17242          // signal: elm,state,%s,passive
17243          //   a "check" item named %s went passive
17244          // default is passive
17245          program {
17246             name:    "go_active";
17247             signal:  "elm,state,selected";
17248             source:  "elm";
17249             action:  STATE_SET "selected" 0.0;
17250             target:  "bg";
17251             target:  "fg1";
17252             target:  "fg2";
17253             target:  "elm.text";
17254          }
17255          program {
17256             name:    "go_passive";
17257             signal:  "elm,state,unselected";
17258             source:  "elm";
17259             action:  STATE_SET "default" 0.0;
17260             target:  "bg";
17261             target:  "fg1";
17262             target:  "fg2";
17263             target:  "elm.text";
17264             transition: LINEAR 0.1;
17265          }
17266          program {
17267             name:    "go_disabled";
17268             signal:  "elm,state,disabled";
17269             source:  "elm";
17270             action:  STATE_SET "disabled" 0.0;
17271             target:  "disclip";
17272          }
17273          program {
17274             name:    "go_enabled";
17275             signal:  "elm,state,enabled";
17276             source:  "elm";
17277             action:  STATE_SET "default" 0.0;
17278             target:  "disclip";
17279          }
17280       }
17281    }
17282    group { name: "elm/genlist/item_compress_odd/default/default";
17283       data.item: "stacking" "below";
17284       data.item: "selectraise" "on";
17285       data.item: "labels" "elm.text";
17286       data.item: "icons" "elm.swallow.icon elm.swallow.end";
17287       data.item: "treesize" "20";
17288 //      data.item: "states" "";
17289       images {
17290          image: "bt_sm_base1.png" COMP;
17291          image: "bt_sm_shine.png" COMP;
17292          image: "bt_sm_hilight.png" COMP;
17293          image: "ilist_2.png" COMP;
17294       }
17295       parts {
17296          part { name: "event";
17297             type: RECT;
17298             repeat_events: 1;
17299             description {
17300                state: "default" 0.0;
17301                color: 0 0 0 0;
17302             }
17303          }
17304          part {
17305             name: "base";
17306             mouse_events: 0;
17307             description {
17308                state: "default" 0.0;
17309                image {
17310                   normal: "ilist_2.png";
17311                   border: 2 2 2 2;
17312                }
17313                fill.smooth: 0;
17314             }
17315          }
17316          part { name: "bg";
17317             clip_to: "disclip";
17318             mouse_events: 0;
17319             description { state: "default" 0.0;
17320                visible: 0;
17321                color: 255 255 255 0;
17322                rel1 {
17323                   relative: 0.0 0.0;
17324                   offset: -5 -5;
17325                }
17326                rel2 {
17327                   relative: 1.0 1.0;
17328                   offset: 4 4;
17329                }
17330                image {
17331                   normal: "bt_sm_base1.png";
17332                   border: 6 6 6 6;
17333                }
17334                image.middle: SOLID;
17335             }
17336             description { state: "selected" 0.0;
17337                inherit: "default" 0.0;
17338                visible: 1;
17339                color: 255 255 255 255;
17340                rel1 {
17341                   relative: 0.0 0.0;
17342                   offset: -2 -2;
17343                }
17344                rel2 {
17345                   relative: 1.0 1.0;
17346                   offset: 1 1;
17347                }
17348             }
17349          }
17350          part { name: "elm.swallow.pad";
17351             type: SWALLOW;
17352             description { state: "default" 0.0;
17353                fixed: 1 0;
17354                align: 0.0 0.5;
17355                rel1 {
17356                   relative: 0.0  0.0;
17357                   offset:   4    4;
17358                }
17359                rel2 {
17360                   relative: 0.0  1.0;
17361                   offset:   4   -5;
17362                }
17363             }
17364          }
17365          part { name: "elm.swallow.icon";
17366             clip_to: "disclip";
17367             type: SWALLOW;
17368             description { state: "default" 0.0;
17369                fixed: 1 0;
17370                align: 0.0 0.5;
17371                rel1 {
17372                   to_x: "elm.swallow.pad";
17373                   relative: 1.0  0.0;
17374                   offset:   -1    4;
17375                }
17376                rel2 {
17377                   to_x: "elm.swallow.pad";
17378                   relative: 1.0  1.0;
17379                   offset:   -1   -5;
17380                }
17381             }
17382          }
17383          part { name: "elm.swallow.end";
17384             clip_to: "disclip";
17385             type:          SWALLOW;
17386             description { state:    "default" 0.0;
17387                fixed: 1 0;
17388                align:    1.0 0.5;
17389                aspect: 1.0 1.0;
17390                aspect_preference: VERTICAL;
17391                rel1 {
17392                   relative: 1.0  0.0;
17393                   offset:   -5    4;
17394                }
17395                rel2 {
17396                   relative: 1.0  1.0;
17397                   offset:   -5   -5;
17398                }
17399             }
17400          }
17401          part { name: "elm.text";
17402             clip_to: "disclip";
17403             type:           TEXT;
17404             effect:         SOFT_SHADOW;
17405             mouse_events:   0;
17406             scale: 1;
17407             description {
17408                state: "default" 0.0;
17409 //               min:      16 16;
17410                rel1 {
17411                   to_x:     "elm.swallow.icon";
17412                   relative: 1.0  0.0;
17413                   offset:   0 4;
17414                }
17415                rel2 {
17416                   to_x:     "elm.swallow.end";
17417                   relative: 0.0  1.0;
17418                   offset:   -1 -5;
17419                }
17420                color: 0 0 0 255;
17421                color3: 0 0 0 0;
17422                text {
17423                   font: "Sans";
17424                   size: 10;
17425                   min: 0 1;
17426 //                  min: 1 1;
17427                   align: 0.0 0.5;
17428                   text_class: "list_item";
17429                }
17430             }
17431             description { state: "selected" 0.0;
17432                inherit: "default" 0.0;
17433                color: 224 224 224 255;
17434                color3: 0 0 0 64;
17435             }
17436          }
17437          part { name: "fg1";
17438             clip_to: "disclip";
17439             mouse_events: 0;
17440             description { state: "default" 0.0;
17441                visible: 0;
17442                color: 255 255 255 0;
17443                rel1.to: "bg";
17444                rel2.relative: 1.0 0.5;
17445                rel2.to: "bg";
17446                image {
17447                   normal: "bt_sm_hilight.png";
17448                   border: 6 6 6 0;
17449                }
17450             }
17451             description { state: "selected" 0.0;
17452                inherit: "default" 0.0;
17453                visible: 1;
17454                color: 255 255 255 255;
17455             }
17456          }
17457          part { name: "fg2";
17458             clip_to: "disclip";
17459             mouse_events: 0;
17460             description { state: "default" 0.0;
17461                visible: 0;
17462                color: 255 255 255 0;
17463                rel1.to: "bg";
17464                rel2.to: "bg";
17465                image {
17466                   normal: "bt_sm_shine.png";
17467                   border: 6 6 6 0;
17468                }
17469             }
17470             description { state: "selected" 0.0;
17471                inherit: "default" 0.0;
17472                visible: 1;
17473                color: 255 255 255 255;
17474             }
17475          }
17476          part { name: "disclip";
17477             type: RECT;
17478             description { state: "default" 0.0;
17479                rel1.to: "bg";
17480                rel2.to: "bg";
17481             }
17482             description { state: "disabled" 0.0;
17483                inherit: "default" 0.0;
17484                color: 255 255 255 64;
17485             }
17486          }
17487       }
17488       programs {
17489          // signal: elm,state,%s,active
17490          //   a "check" item named %s went active
17491          // signal: elm,state,%s,passive
17492          //   a "check" item named %s went passive
17493          // default is passive
17494          program {
17495             name:    "go_active";
17496             signal:  "elm,state,selected";
17497             source:  "elm";
17498             action:  STATE_SET "selected" 0.0;
17499             target:  "bg";
17500             target:  "fg1";
17501             target:  "fg2";
17502             target:  "elm.text";
17503          }
17504          program {
17505             name:    "go_passive";
17506             signal:  "elm,state,unselected";
17507             source:  "elm";
17508             action:  STATE_SET "default" 0.0;
17509             target:  "bg";
17510             target:  "fg1";
17511             target:  "fg2";
17512             target:  "elm.text";
17513             transition: LINEAR 0.1;
17514          }
17515          program {
17516             name:    "go_disabled";
17517             signal:  "elm,state,disabled";
17518             source:  "elm";
17519             action:  STATE_SET "disabled" 0.0;
17520             target:  "disclip";
17521          }
17522          program {
17523             name:    "go_enabled";
17524             signal:  "elm,state,enabled";
17525             source:  "elm";
17526             action:  STATE_SET "default" 0.0;
17527             target:  "disclip";
17528          }
17529       }
17530    }
17531
17532    group { name: "elm/genlist/tree/default/default";
17533       data.item: "stacking" "above";
17534       data.item: "selectraise" "on";
17535       data.item: "labels" "elm.text";
17536       data.item: "icons" "elm.swallow.icon elm.swallow.end";
17537       data.item: "treesize" "20";
17538 //      data.item: "states" "";
17539       images {
17540          image: "bt_sm_base1.png" COMP;
17541          image: "bt_sm_shine.png" COMP;
17542          image: "bt_sm_hilight.png" COMP;
17543          image: "ilist_1.png" COMP;
17544          image: "ilist_item_shadow.png" COMP;
17545          image: "icon_arrow_left.png" COMP;
17546          image: "icon_arrow_right.png" COMP;
17547          image: "icon_arrow_down.png" COMP;
17548       }
17549       parts {
17550          part {
17551             name:           "event";
17552             type:           RECT;
17553             repeat_events: 1;
17554             description {
17555                state: "default" 0.0;
17556                color: 0 0 0 0;
17557             }
17558          }
17559          part {
17560             name: "base_sh";
17561             mouse_events: 0;
17562             description {
17563                state: "default" 0.0;
17564                align: 0.0 0.0;
17565                min: 0 10;
17566                fixed: 1 1;
17567                rel1 {
17568                   to: "base";
17569                   relative: 0.0 1.0;
17570                   offset: 0 0;
17571                }
17572                rel2 {
17573                   to: "base";
17574                   relative: 1.0 1.0;
17575                   offset: -1 0;
17576                }
17577                image {
17578                   normal: "ilist_item_shadow.png";
17579                }
17580                fill.smooth: 0;
17581             }
17582          }
17583          part {
17584             name: "base";
17585             mouse_events: 0;
17586             description {
17587                state: "default" 0.0;
17588                image {
17589                   normal: "ilist_1.png";
17590                   border: 2 2 2 2;
17591                }
17592                fill.smooth: 0;
17593             }
17594          }
17595          part { name: "bg";
17596             clip_to: "disclip";
17597             mouse_events: 0;
17598             description { state: "default" 0.0;
17599                visible: 0;
17600                color: 255 255 255 0;
17601                rel1 {
17602                   relative: 0.0 0.0;
17603                   offset: -5 -5;
17604                }
17605                rel2 {
17606                   relative: 1.0 1.0;
17607                   offset: 4 4;
17608                }
17609                image {
17610                   normal: "bt_sm_base1.png";
17611                   border: 6 6 6 6;
17612                }
17613                image.middle: SOLID;
17614             }
17615             description { state: "selected" 0.0;
17616                inherit: "default" 0.0;
17617                visible: 1;
17618                color: 255 255 255 255;
17619                rel1 {
17620                   relative: 0.0 0.0;
17621                   offset: -2 -2;
17622                }
17623                rel2 {
17624                   relative: 1.0 1.0;
17625                   offset: 1 1;
17626                }
17627             }
17628          }
17629          part { name: "elm.swallow.pad";
17630             type: SWALLOW;
17631             description { state: "default" 0.0;
17632                fixed: 1 0;
17633                align: 0.0 0.5;
17634                rel1 {
17635                   relative: 0.0  0.0;
17636                   offset:   4    4;
17637                }
17638                rel2 {
17639                   relative: 0.0  1.0;
17640                   offset:   4   -5;
17641                }
17642             }
17643          }
17644          part { name: "arrow";
17645             clip_to: "disclip";
17646             ignore_flags: ON_HOLD;
17647             description { state: "default" 0.0;
17648                fixed: 1 0;
17649                align: 0.0 0.5;
17650                aspect: 1.0 1.0;
17651                rel1 {
17652                   to_x: "elm.swallow.pad";
17653                   relative: 1.0  0.0;
17654                   offset:   -1    4;
17655                }
17656                rel2 {
17657                   to_x: "elm.swallow.pad";
17658                   relative: 1.0  1.0;
17659                   offset:   -1   -5;
17660                }
17661                image.normal: "icon_arrow_right.png";
17662             }
17663             description { state: "default" 0.1;
17664                inherit: "default" 0.0;
17665                image.normal: "icon_arrow_left.png";
17666             }
17667             description { state: "active" 0.0;
17668                inherit: "default" 0.0;
17669                image.normal: "icon_arrow_down.png";
17670             }
17671             description { state: "active" 0.1;
17672                inherit: "default" 0.0;
17673                image.normal: "icon_arrow_down.png";
17674             }
17675          }
17676          part { name: "elm.swallow.icon";
17677             clip_to: "disclip";
17678             type: SWALLOW;
17679             description { state: "default" 0.0;
17680                fixed: 1 0;
17681                align: 0.0 0.5;
17682                rel1 {
17683                   to_x: "arrow";
17684                   relative: 1.0  0.0;
17685                   offset:   4    4;
17686                }
17687                rel2 {
17688                   to_x: "arrow";
17689                   relative: 1.0  1.0;
17690                   offset:   4   -5;
17691                }
17692             }
17693          }
17694          part { name: "elm.swallow.end";
17695             clip_to: "disclip";
17696             type: SWALLOW;
17697             description { state: "default" 0.0;
17698                fixed: 1 0;
17699                align: 1.0 0.5;
17700                aspect: 1.0 1.0;
17701                aspect_preference: VERTICAL;
17702                rel1 {
17703                   relative: 1.0  0.0;
17704                   offset:   -5    4;
17705                }
17706                rel2 {
17707                   relative: 1.0  1.0;
17708                   offset:   -5   -5;
17709                }
17710             }
17711          }
17712          part { name: "elm.text";
17713             clip_to: "disclip";
17714             type:           TEXT;
17715             effect:         SOFT_SHADOW;
17716             mouse_events:   0;
17717             scale: 1;
17718             description {
17719                state: "default" 0.0;
17720 //               min: 16 16;
17721                rel1 {
17722                   to_x:     "elm.swallow.icon";
17723                   relative: 1.0  0.0;
17724                   offset:   0 4;
17725                }
17726                rel2 {
17727                   to_x:     "elm.swallow.end";
17728                   relative: 0.0  1.0;
17729                   offset:   -1 -5;
17730                }
17731                color: 0 0 0 255;
17732                color3: 0 0 0 0;
17733                text {
17734                   font: "Sans";
17735                   size: 10;
17736                   min: 1 1;
17737 //                  min: 0 1;
17738                   align: -1.0 0.5;
17739                   text_class: "list_item";
17740                }
17741             }
17742             description { state: "selected" 0.0;
17743                inherit: "default" 0.0;
17744                color: 224 224 224 255;
17745                color3: 0 0 0 64;
17746             }
17747          }
17748          part { name: "fg1";
17749             clip_to: "disclip";
17750             mouse_events: 0;
17751             description { state: "default" 0.0;
17752                visible: 0;
17753                color: 255 255 255 0;
17754                rel1.to: "bg";
17755                rel2.relative: 1.0 0.5;
17756                rel2.to: "bg";
17757                image {
17758                   normal: "bt_sm_hilight.png";
17759                   border: 6 6 6 0;
17760                }
17761             }
17762             description { state: "selected" 0.0;
17763                inherit: "default" 0.0;
17764                visible: 1;
17765                color: 255 255 255 255;
17766             }
17767          }
17768          part { name: "fg2";
17769             clip_to: "disclip";
17770             mouse_events: 0;
17771             description { state: "default" 0.0;
17772                visible: 0;
17773                color: 255 255 255 0;
17774                rel1.to: "bg";
17775                rel2.to: "bg";
17776                image {
17777                   normal: "bt_sm_shine.png";
17778                   border: 6 6 6 0;
17779                }
17780             }
17781             description { state: "selected" 0.0;
17782                inherit: "default" 0.0;
17783                visible: 1;
17784                color: 255 255 255 255;
17785             }
17786          }
17787          part { name: "disclip";
17788             type: RECT;
17789             description { state: "default" 0.0;
17790                rel1.to: "bg";
17791                rel2.to: "bg";
17792             }
17793             description { state: "disabled" 0.0;
17794                inherit: "default" 0.0;
17795                color: 255 255 255 64;
17796             }
17797          }
17798       }
17799       programs {
17800          // signal: elm,state,%s,active
17801          //   a "check" item named %s went active
17802          // signal: elm,state,%s,passive
17803          //   a "check" item named %s went passive
17804          // default is passive
17805          program {
17806             name:    "go_active";
17807             signal:  "elm,state,selected";
17808             source:  "elm";
17809             action:  STATE_SET "selected" 0.0;
17810             target:  "bg";
17811             target:  "fg1";
17812             target:  "fg2";
17813             target:  "elm.text";
17814          }
17815          program {
17816             name:    "go_passive";
17817             signal:  "elm,state,unselected";
17818             source:  "elm";
17819             action:  STATE_SET "default" 0.0;
17820             target:  "bg";
17821             target:  "fg1";
17822             target:  "fg2";
17823             target:  "elm.text";
17824             transition: LINEAR 0.1;
17825          }
17826          program {
17827             name:    "go_disabled";
17828             signal:  "elm,state,disabled";
17829             source:  "elm";
17830             action:  STATE_SET "disabled" 0.0;
17831             target:  "disclip";
17832          }
17833          program {
17834             name:    "go_enabled";
17835             signal:  "elm,state,enabled";
17836             source:  "elm";
17837             action:  STATE_SET "default" 0.0;
17838             target:  "disclip";
17839          }
17840          program {
17841             name:    "expand";
17842             signal:  "mouse,up,1";
17843             source:  "arrow";
17844             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
17845          }
17846          program {
17847             name:    "go_expanded";
17848             signal:  "elm,state,expanded";
17849             source:  "elm";
17850             script {
17851                new st[31];
17852                new Float:vl;
17853                get_state(PART:"arrow", st, 30, vl);
17854                set_state(PART:"arrow", "active", vl);
17855             }
17856          }
17857          program {
17858             name:    "go_contracted";
17859             signal:  "elm,state,contracted";
17860             source:  "elm";
17861             script {
17862                new st[31];
17863                new Float:vl;
17864                get_state(PART:"arrow", st, 30, vl);
17865                set_state(PART:"arrow", "default", vl);
17866             }
17867          }
17868          program { name: "to_rtl";
17869             signal: "edje,state,rtl";
17870             source: "edje";
17871             script {
17872                new st[31];
17873                new Float:vl;
17874                get_state(PART:"arrow", st, 30, vl);
17875                if (vl == 0.0) {
17876                   set_state(PART:"arrow", st, 0.1);
17877                }
17878             }
17879          }
17880          program { name: "to_ltr";
17881             signal: "edje,state,ltr";
17882             source: "edje";
17883             script {
17884                new st[31];
17885                new Float:vl;
17886                get_state(PART:"arrow", st, 30, vl);
17887                if (vl == 0.1) {
17888                   set_state(PART:"arrow", st, 0.0);
17889                }
17890             }
17891          }
17892       }
17893    }
17894    group { name: "elm/genlist/tree_compress/default/default";
17895       data.item: "stacking" "above";
17896       data.item: "selectraise" "on";
17897       data.item: "labels" "elm.text";
17898       data.item: "icons" "elm.swallow.icon elm.swallow.end";
17899       data.item: "treesize" "20";
17900 //      data.item: "states" "";
17901       images {
17902          image: "bt_sm_base1.png" COMP;
17903          image: "bt_sm_shine.png" COMP;
17904          image: "bt_sm_hilight.png" COMP;
17905          image: "ilist_1.png" COMP;
17906          image: "ilist_item_shadow.png" COMP;
17907          image: "icon_arrow_left.png" COMP;
17908          image: "icon_arrow_right.png" COMP;
17909          image: "icon_arrow_down.png" COMP;
17910       }
17911       parts {
17912          part {
17913             name:           "event";
17914             type:           RECT;
17915             repeat_events: 1;
17916             description {
17917                state: "default" 0.0;
17918                color: 0 0 0 0;
17919             }
17920          }
17921          part {
17922             name: "base_sh";
17923             mouse_events: 0;
17924             description {
17925                state: "default" 0.0;
17926                align: 0.0 0.0;
17927                min: 0 10;
17928                fixed: 1 1;
17929                rel1 {
17930                   to: "base";
17931                   relative: 0.0 1.0;
17932                   offset: 0 0;
17933                }
17934                rel2 {
17935                   to: "base";
17936                   relative: 1.0 1.0;
17937                   offset: -1 0;
17938                }
17939                image {
17940                   normal: "ilist_item_shadow.png";
17941                }
17942                fill.smooth: 0;
17943             }
17944          }
17945          part {
17946             name: "base";
17947             mouse_events: 0;
17948             description {
17949                state: "default" 0.0;
17950                image {
17951                   normal: "ilist_1.png";
17952                   border: 2 2 2 2;
17953                }
17954                fill.smooth: 0;
17955             }
17956          }
17957          part { name: "bg";
17958             clip_to: "disclip";
17959             mouse_events: 0;
17960             description { state: "default" 0.0;
17961                visible: 0;
17962                color: 255 255 255 0;
17963                rel1 {
17964                   relative: 0.0 0.0;
17965                   offset: -5 -5;
17966                }
17967                rel2 {
17968                   relative: 1.0 1.0;
17969                   offset: 4 4;
17970                }
17971                image {
17972                   normal: "bt_sm_base1.png";
17973                   border: 6 6 6 6;
17974                }
17975                image.middle: SOLID;
17976             }
17977             description { state: "selected" 0.0;
17978                inherit: "default" 0.0;
17979                visible: 1;
17980                color: 255 255 255 255;
17981                rel1 {
17982                   relative: 0.0 0.0;
17983                   offset: -2 -2;
17984                }
17985                rel2 {
17986                   relative: 1.0 1.0;
17987                   offset: 1 1;
17988                }
17989             }
17990          }
17991          part { name: "elm.swallow.pad";
17992             type: SWALLOW;
17993             description { state: "default" 0.0;
17994                fixed: 1 0;
17995                align: 0.0 0.5;
17996                rel1 {
17997                   relative: 0.0  0.0;
17998                   offset:   4    4;
17999                }
18000                rel2 {
18001                   relative: 0.0  1.0;
18002                   offset:   4   -5;
18003                }
18004             }
18005          }
18006          part { name: "arrow";
18007             clip_to: "disclip";
18008             ignore_flags: ON_HOLD;
18009             description { state: "default" 0.0;
18010                fixed: 1 0;
18011                align: 0.0 0.5;
18012                aspect: 1.0 1.0;
18013                rel1 {
18014                   to_x: "elm.swallow.pad";
18015                   relative: 1.0  0.0;
18016                   offset:   -1    4;
18017                }
18018                rel2 {
18019                   to_x: "elm.swallow.pad";
18020                   relative: 1.0  1.0;
18021                   offset:   -1   -5;
18022                }
18023                image.normal: "icon_arrow_right.png";
18024             }
18025             description { state: "default" 0.1;
18026                inherit: "default" 0.0;
18027                image.normal: "icon_arrow_left.png";
18028             }
18029             description { state: "active" 0.0;
18030                inherit: "default" 0.0;
18031                image.normal: "icon_arrow_down.png";
18032             }
18033             description { state: "active" 0.1;
18034                inherit: "default" 0.0;
18035                image.normal: "icon_arrow_down.png";
18036             }
18037          }
18038          part { name: "elm.swallow.icon";
18039             clip_to: "disclip";
18040             type: SWALLOW;
18041             description { state: "default" 0.0;
18042                fixed: 1 0;
18043                align: 0.0 0.5;
18044                rel1 {
18045                   to_x: "arrow";
18046                   relative: 1.0  0.0;
18047                   offset:   4    4;
18048                }
18049                rel2 {
18050                   to_x: "arrow";
18051                   relative: 1.0  1.0;
18052                   offset:   4   -5;
18053                }
18054             }
18055          }
18056          part { name: "elm.swallow.end";
18057             clip_to: "disclip";
18058             type: SWALLOW;
18059             description { state: "default" 0.0;
18060                fixed: 1 0;
18061                align: 1.0 0.5;
18062                aspect: 1.0 1.0;
18063                aspect_preference: VERTICAL;
18064                rel1 {
18065                   relative: 1.0  0.0;
18066                   offset:   -5    4;
18067                }
18068                rel2 {
18069                   relative: 1.0  1.0;
18070                   offset:   -5   -5;
18071                }
18072             }
18073          }
18074          part { name: "elm.text";
18075             clip_to: "disclip";
18076             type:           TEXT;
18077             effect:         SOFT_SHADOW;
18078             mouse_events:   0;
18079             scale: 1;
18080             description {
18081                state: "default" 0.0;
18082 //               min: 16 16;
18083                rel1 {
18084                   to_x:     "elm.swallow.icon";
18085                   relative: 1.0  0.0;
18086                   offset:   0 4;
18087                }
18088                rel2 {
18089                   to_x:     "elm.swallow.end";
18090                   relative: 0.0  1.0;
18091                   offset:   -1 -5;
18092                }
18093                color: 0 0 0 255;
18094                color3: 0 0 0 0;
18095                text {
18096                   font: "Sans";
18097                   size: 10;
18098 //                  min: 1 1;
18099                   min: 0 1;
18100                   align: 0.0 0.5;
18101                   text_class: "list_item";
18102                }
18103             }
18104             description { state: "selected" 0.0;
18105                inherit: "default" 0.0;
18106                color: 224 224 224 255;
18107                color3: 0 0 0 64;
18108             }
18109          }
18110          part { name: "fg1";
18111             clip_to: "disclip";
18112             mouse_events: 0;
18113             description { state: "default" 0.0;
18114                visible: 0;
18115                color: 255 255 255 0;
18116                rel1.to: "bg";
18117                rel2.relative: 1.0 0.5;
18118                rel2.to: "bg";
18119                image {
18120                   normal: "bt_sm_hilight.png";
18121                   border: 6 6 6 0;
18122                }
18123             }
18124             description { state: "selected" 0.0;
18125                inherit: "default" 0.0;
18126                visible: 1;
18127                color: 255 255 255 255;
18128             }
18129          }
18130          part { name: "fg2";
18131             clip_to: "disclip";
18132             mouse_events: 0;
18133             description { state: "default" 0.0;
18134                visible: 0;
18135                color: 255 255 255 0;
18136                rel1.to: "bg";
18137                rel2.to: "bg";
18138                image {
18139                   normal: "bt_sm_shine.png";
18140                   border: 6 6 6 0;
18141                }
18142             }
18143             description { state: "selected" 0.0;
18144                inherit: "default" 0.0;
18145                visible: 1;
18146                color: 255 255 255 255;
18147             }
18148          }
18149          part { name: "disclip";
18150             type: RECT;
18151             description { state: "default" 0.0;
18152                rel1.to: "bg";
18153                rel2.to: "bg";
18154             }
18155             description { state: "disabled" 0.0;
18156                inherit: "default" 0.0;
18157                color: 255 255 255 64;
18158             }
18159          }
18160       }
18161       programs {
18162          // signal: elm,state,%s,active
18163          //   a "check" item named %s went active
18164          // signal: elm,state,%s,passive
18165          //   a "check" item named %s went passive
18166          // default is passive
18167          program {
18168             name:    "go_active";
18169             signal:  "elm,state,selected";
18170             source:  "elm";
18171             action:  STATE_SET "selected" 0.0;
18172             target:  "bg";
18173             target:  "fg1";
18174             target:  "fg2";
18175             target:  "elm.text";
18176          }
18177          program {
18178             name:    "go_passive";
18179             signal:  "elm,state,unselected";
18180             source:  "elm";
18181             action:  STATE_SET "default" 0.0;
18182             target:  "bg";
18183             target:  "fg1";
18184             target:  "fg2";
18185             target:  "elm.text";
18186             transition: LINEAR 0.1;
18187          }
18188          program {
18189             name:    "go_disabled";
18190             signal:  "elm,state,disabled";
18191             source:  "elm";
18192             action:  STATE_SET "disabled" 0.0;
18193             target:  "disclip";
18194          }
18195          program {
18196             name:    "go_enabled";
18197             signal:  "elm,state,enabled";
18198             source:  "elm";
18199             action:  STATE_SET "default" 0.0;
18200             target:  "disclip";
18201          }
18202          program {
18203             name:    "expand";
18204             signal:  "mouse,up,1";
18205             source:  "arrow";
18206             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
18207          }
18208          program {
18209             name:    "go_expanded";
18210             signal:  "elm,state,expanded";
18211             source:  "elm";
18212             script {
18213                new st[31];
18214                new Float:vl;
18215                get_state(PART:"arrow", st, 30, vl);
18216                set_state(PART:"arrow", "active", vl);
18217             }
18218          }
18219          program {
18220             name:    "go_contracted";
18221             signal:  "elm,state,contracted";
18222             source:  "elm";
18223             script {
18224                new st[31];
18225                new Float:vl;
18226                get_state(PART:"arrow", st, 30, vl);
18227                set_state(PART:"arrow", "default", vl);
18228             }
18229          }
18230          program { name: "to_rtl";
18231             signal: "edje,state,rtl";
18232             source: "edje";
18233             script {
18234                new st[31];
18235                new Float:vl;
18236                get_state(PART:"arrow", st, 30, vl);
18237                if (vl == 0.0) {
18238                   set_state(PART:"arrow", st, 0.1);
18239                }
18240             }
18241          }
18242          program { name: "to_ltr";
18243             signal: "edje,state,ltr";
18244             source: "edje";
18245             script {
18246                new st[31];
18247                new Float:vl;
18248                get_state(PART:"arrow", st, 30, vl);
18249                if (vl == 0.1) {
18250                   set_state(PART:"arrow", st, 0.0);
18251                }
18252             }
18253          }
18254       }
18255    }
18256    group { name: "elm/genlist/tree_odd/default/default";
18257       data.item: "stacking" "below";
18258       data.item: "selectraise" "on";
18259       data.item: "labels" "elm.text";
18260       data.item: "icons" "elm.swallow.icon elm.swallow.end";
18261       data.item: "treesize" "20";
18262 //      data.item: "states" "";
18263       images {
18264          image: "bt_sm_base1.png" COMP;
18265          image: "bt_sm_shine.png" COMP;
18266          image: "bt_sm_hilight.png" COMP;
18267          image: "ilist_2.png" COMP;
18268          image: "icon_arrow_left.png" COMP;
18269          image: "icon_arrow_right.png" COMP;
18270          image: "icon_arrow_down.png" COMP;
18271       }
18272       parts {
18273          part {
18274             name:           "event";
18275             type:           RECT;
18276             repeat_events: 1;
18277             description {
18278                state: "default" 0.0;
18279                color: 0 0 0 0;
18280             }
18281          }
18282          part {
18283             name: "base";
18284             mouse_events: 0;
18285             description {
18286                state: "default" 0.0;
18287                image {
18288                   normal: "ilist_2.png";
18289                   border: 2 2 2 2;
18290                }
18291                fill.smooth: 0;
18292             }
18293          }
18294          part { name: "bg";
18295             clip_to: "disclip";
18296             mouse_events: 0;
18297             description { state: "default" 0.0;
18298                visible: 0;
18299                color: 255 255 255 0;
18300                rel1 {
18301                   relative: 0.0 0.0;
18302                   offset: -5 -5;
18303                }
18304                rel2 {
18305                   relative: 1.0 1.0;
18306                   offset: 4 4;
18307                }
18308                image {
18309                   normal: "bt_sm_base1.png";
18310                   border: 6 6 6 6;
18311                }
18312                image.middle: SOLID;
18313             }
18314             description { state: "selected" 0.0;
18315                inherit: "default" 0.0;
18316                visible: 1;
18317                color: 255 255 255 255;
18318                rel1 {
18319                   relative: 0.0 0.0;
18320                   offset: -2 -2;
18321                }
18322                rel2 {
18323                   relative: 1.0 1.0;
18324                   offset: 1 1;
18325                }
18326             }
18327          }
18328          part { name: "elm.swallow.pad";
18329             type: SWALLOW;
18330             description { state: "default" 0.0;
18331                fixed: 1 0;
18332                align: 0.0 0.5;
18333                rel1 {
18334                   relative: 0.0  0.0;
18335                   offset:   4    4;
18336                }
18337                rel2 {
18338                   relative: 0.0  1.0;
18339                   offset:   4   -5;
18340                }
18341             }
18342          }
18343          part { name: "arrow";
18344             clip_to: "disclip";
18345             ignore_flags: ON_HOLD;
18346             description { state: "default" 0.0;
18347                fixed: 1 0;
18348                align: 0.0 0.5;
18349                aspect: 1.0 1.0;
18350                rel1 {
18351                   to_x: "elm.swallow.pad";
18352                   relative: 1.0  0.0;
18353                   offset:   -1    4;
18354                }
18355                rel2 {
18356                   to_x: "elm.swallow.pad";
18357                   relative: 1.0  1.0;
18358                   offset:   -1   -5;
18359                }
18360                image.normal: "icon_arrow_right.png";
18361             }
18362             description { state: "default" 0.1;
18363                inherit: "default" 0.0;
18364                image.normal: "icon_arrow_left.png";
18365             }
18366             description { state: "active" 0.0;
18367                inherit: "default" 0.0;
18368                image.normal: "icon_arrow_down.png";
18369             }
18370             description { state: "active" 0.1;
18371                inherit: "default" 0.0;
18372                image.normal: "icon_arrow_down.png";
18373             }
18374          }
18375          part { name: "elm.swallow.icon";
18376             clip_to: "disclip";
18377             type: SWALLOW;
18378             description { state: "default" 0.0;
18379                fixed: 1 0;
18380                align: 0.0 0.5;
18381                rel1 {
18382                   to_x: "arrow";
18383                   relative: 1.0  0.0;
18384                   offset:   4    4;
18385                }
18386                rel2 {
18387                   to_x: "arrow";
18388                   relative: 1.0  1.0;
18389                   offset:   4   -5;
18390                }
18391             }
18392          }
18393          part { name: "elm.swallow.end";
18394             clip_to: "disclip";
18395             type: SWALLOW;
18396             description { state: "default" 0.0;
18397                fixed: 1 0;
18398                align: 1.0 0.5;
18399                aspect: 1.0 1.0;
18400                aspect_preference: VERTICAL;
18401                rel1 {
18402                   relative: 1.0  0.0;
18403                   offset:   -5    4;
18404                }
18405                rel2 {
18406                   relative: 1.0  1.0;
18407                   offset:   -5   -5;
18408                }
18409             }
18410          }
18411          part { name: "elm.text";
18412             clip_to: "disclip";
18413             type:           TEXT;
18414             effect:         SOFT_SHADOW;
18415             mouse_events:   0;
18416             scale: 1;
18417             description {
18418                state: "default" 0.0;
18419 //               min: 16 16;
18420                rel1 {
18421                   to_x:     "elm.swallow.icon";
18422                   relative: 1.0  0.0;
18423                   offset:   0 4;
18424                }
18425                rel2 {
18426                   to_x:     "elm.swallow.end";
18427                   relative: 0.0  1.0;
18428                   offset:   -1 -5;
18429                }
18430                color: 0 0 0 255;
18431                color3: 0 0 0 0;
18432                text {
18433                   font: "Sans";
18434                   size: 10;
18435                   min: 1 1;
18436 //                  min: 0 1;
18437                   align: -1.0 0.5;
18438                   text_class: "list_item";
18439                }
18440             }
18441             description { state: "selected" 0.0;
18442                inherit: "default" 0.0;
18443                color: 224 224 224 255;
18444                color3: 0 0 0 64;
18445             }
18446          }
18447          part { name: "fg1";
18448             clip_to: "disclip";
18449             mouse_events: 0;
18450             description { state: "default" 0.0;
18451                visible: 0;
18452                color: 255 255 255 0;
18453                rel1.to: "bg";
18454                rel2.relative: 1.0 0.5;
18455                rel2.to: "bg";
18456                image {
18457                   normal: "bt_sm_hilight.png";
18458                   border: 6 6 6 0;
18459                }
18460             }
18461             description { state: "selected" 0.0;
18462                inherit: "default" 0.0;
18463                visible: 1;
18464                color: 255 255 255 255;
18465             }
18466          }
18467          part { name: "fg2";
18468             clip_to: "disclip";
18469             mouse_events: 0;
18470             description { state: "default" 0.0;
18471                visible: 0;
18472                color: 255 255 255 0;
18473                rel1.to: "bg";
18474                rel2.to: "bg";
18475                image {
18476                   normal: "bt_sm_shine.png";
18477                   border: 6 6 6 0;
18478                }
18479             }
18480             description { state: "selected" 0.0;
18481                inherit: "default" 0.0;
18482                visible: 1;
18483                color: 255 255 255 255;
18484             }
18485          }
18486          part { name: "disclip";
18487             type: RECT;
18488             description { state: "default" 0.0;
18489                rel1.to: "bg";
18490                rel2.to: "bg";
18491             }
18492             description { state: "disabled" 0.0;
18493                inherit: "default" 0.0;
18494                color: 255 255 255 64;
18495             }
18496          }
18497       }
18498       programs {
18499          // signal: elm,state,%s,active
18500          //   a "check" item named %s went active
18501          // signal: elm,state,%s,passive
18502          //   a "check" item named %s went passive
18503          // default is passive
18504          program {
18505             name:    "go_active";
18506             signal:  "elm,state,selected";
18507             source:  "elm";
18508             action:  STATE_SET "selected" 0.0;
18509             target:  "bg";
18510             target:  "fg1";
18511             target:  "fg2";
18512             target:  "elm.text";
18513          }
18514          program {
18515             name:    "go_passive";
18516             signal:  "elm,state,unselected";
18517             source:  "elm";
18518             action:  STATE_SET "default" 0.0;
18519             target:  "bg";
18520             target:  "fg1";
18521             target:  "fg2";
18522             target:  "elm.text";
18523             transition: LINEAR 0.1;
18524          }
18525          program {
18526             name:    "go_disabled";
18527             signal:  "elm,state,disabled";
18528             source:  "elm";
18529             action:  STATE_SET "disabled" 0.0;
18530             target:  "disclip";
18531          }
18532          program {
18533             name:    "go_enabled";
18534             signal:  "elm,state,enabled";
18535             source:  "elm";
18536             action:  STATE_SET "default" 0.0;
18537             target:  "disclip";
18538          }
18539          program {
18540             name:    "expand";
18541             signal:  "mouse,up,1";
18542             source:  "arrow";
18543             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
18544          }
18545          program {
18546             name:    "go_expanded";
18547             signal:  "elm,state,expanded";
18548             source:  "elm";
18549             script {
18550                new st[31];
18551                new Float:vl;
18552                get_state(PART:"arrow", st, 30, vl);
18553                set_state(PART:"arrow", "active", vl);
18554             }
18555          }
18556          program {
18557             name:    "go_contracted";
18558             signal:  "elm,state,contracted";
18559             source:  "elm";
18560             script {
18561                new st[31];
18562                new Float:vl;
18563                get_state(PART:"arrow", st, 30, vl);
18564                set_state(PART:"arrow", "default", vl);
18565             }
18566          }
18567          program { name: "to_rtl";
18568             signal: "edje,state,rtl";
18569             source: "edje";
18570             script {
18571                new st[31];
18572                new Float:vl;
18573                get_state(PART:"arrow", st, 30, vl);
18574                if (vl == 0.0) {
18575                   set_state(PART:"arrow", st, 0.1);
18576                }
18577             }
18578          }
18579          program { name: "to_ltr";
18580             signal: "edje,state,ltr";
18581             source: "edje";
18582             script {
18583                new st[31];
18584                new Float:vl;
18585                get_state(PART:"arrow", st, 30, vl);
18586                if (vl == 0.1) {
18587                   set_state(PART:"arrow", st, 0.0);
18588                }
18589             }
18590          }
18591       }
18592    }
18593    group { name: "elm/genlist/tree_compress_odd/default/default";
18594       data.item: "stacking" "below";
18595       data.item: "selectraise" "on";
18596       data.item: "labels" "elm.text";
18597       data.item: "icons" "elm.swallow.icon elm.swallow.end";
18598       data.item: "treesize" "20";
18599 //      data.item: "states" "";
18600       images {
18601          image: "bt_sm_base1.png" COMP;
18602          image: "bt_sm_shine.png" COMP;
18603          image: "bt_sm_hilight.png" COMP;
18604          image: "ilist_2.png" COMP;
18605          image: "icon_arrow_left.png" COMP;
18606          image: "icon_arrow_right.png" COMP;
18607          image: "icon_arrow_down.png" COMP;
18608       }
18609       parts {
18610          part {
18611             name:           "event";
18612             type:           RECT;
18613             repeat_events: 1;
18614             description {
18615                state: "default" 0.0;
18616                color: 0 0 0 0;
18617             }
18618          }
18619          part {
18620             name: "base";
18621             mouse_events: 0;
18622             description {
18623                state: "default" 0.0;
18624                image {
18625                   normal: "ilist_2.png";
18626                   border: 2 2 2 2;
18627                }
18628                fill.smooth: 0;
18629             }
18630          }
18631          part { name: "bg";
18632             clip_to: "disclip";
18633             mouse_events: 0;
18634             description { state: "default" 0.0;
18635                visible: 0;
18636                color: 255 255 255 0;
18637                rel1 {
18638                   relative: 0.0 0.0;
18639                   offset: -5 -5;
18640                }
18641                rel2 {
18642                   relative: 1.0 1.0;
18643                   offset: 4 4;
18644                }
18645                image {
18646                   normal: "bt_sm_base1.png";
18647                   border: 6 6 6 6;
18648                }
18649                image.middle: SOLID;
18650             }
18651             description { state: "selected" 0.0;
18652                inherit: "default" 0.0;
18653                visible: 1;
18654                color: 255 255 255 255;
18655                rel1 {
18656                   relative: 0.0 0.0;
18657                   offset: -2 -2;
18658                }
18659                rel2 {
18660                   relative: 1.0 1.0;
18661                   offset: 1 1;
18662                }
18663             }
18664          }
18665          part { name: "elm.swallow.pad";
18666             type: SWALLOW;
18667             description { state: "default" 0.0;
18668                fixed: 1 0;
18669                align: 0.0 0.5;
18670                rel1 {
18671                   relative: 0.0  0.0;
18672                   offset:   4    4;
18673                }
18674                rel2 {
18675                   relative: 0.0  1.0;
18676                   offset:   4   -5;
18677                }
18678             }
18679          }
18680          part { name: "arrow";
18681             clip_to: "disclip";
18682             ignore_flags: ON_HOLD;
18683             description { state: "default" 0.0;
18684                fixed: 1 0;
18685                align: 0.0 0.5;
18686                aspect: 1.0 1.0;
18687                rel1 {
18688                   to_x: "elm.swallow.pad";
18689                   relative: 1.0  0.0;
18690                   offset:   -1    4;
18691                }
18692                rel2 {
18693                   to_x: "elm.swallow.pad";
18694                   relative: 1.0  1.0;
18695                   offset:   -1   -5;
18696                }
18697                image.normal: "icon_arrow_right.png";
18698             }
18699             description { state: "default" 0.1;
18700                inherit: "default" 0.0;
18701                image.normal: "icon_arrow_left.png";
18702             }
18703             description { state: "active" 0.0;
18704                inherit: "default" 0.0;
18705                image.normal: "icon_arrow_down.png";
18706             }
18707             description { state: "active" 0.1;
18708                inherit: "default" 0.0;
18709                image.normal: "icon_arrow_down.png";
18710             }
18711          }
18712          part { name: "elm.swallow.icon";
18713             clip_to: "disclip";
18714             type: SWALLOW;
18715             description { state: "default" 0.0;
18716                fixed: 1 0;
18717                align: 0.0 0.5;
18718                rel1 {
18719                   to_x: "arrow";
18720                   relative: 1.0  0.0;
18721                   offset:   4    4;
18722                }
18723                rel2 {
18724                   to_x: "arrow";
18725                   relative: 1.0  1.0;
18726                   offset:   4   -5;
18727                }
18728             }
18729          }
18730          part { name: "elm.swallow.end";
18731             clip_to: "disclip";
18732             type: SWALLOW;
18733             description { state: "default" 0.0;
18734                fixed: 1 0;
18735                align: 1.0 0.5;
18736                aspect: 1.0 1.0;
18737                aspect_preference: VERTICAL;
18738                rel1 {
18739                   relative: 1.0  0.0;
18740                   offset:   -5    4;
18741                }
18742                rel2 {
18743                   relative: 1.0  1.0;
18744                   offset:   -5   -5;
18745                }
18746             }
18747          }
18748          part { name: "elm.text";
18749             clip_to: "disclip";
18750             type:           TEXT;
18751             effect:         SOFT_SHADOW;
18752             mouse_events:   0;
18753             scale: 1;
18754             description {
18755                state: "default" 0.0;
18756 //               min: 16 16;
18757                rel1 {
18758                   to_x:     "elm.swallow.icon";
18759                   relative: 1.0  0.0;
18760                   offset:   0 4;
18761                }
18762                rel2 {
18763                   to_x:     "elm.swallow.end";
18764                   relative: 0.0  1.0;
18765                   offset:   -1 -5;
18766                }
18767                color: 0 0 0 255;
18768                color3: 0 0 0 0;
18769                text {
18770                   font: "Sans";
18771                   size: 10;
18772 //                  min: 1 1;
18773                   min: 0 1;
18774                   align: 0.0 0.5;
18775                   text_class: "list_item";
18776                }
18777             }
18778             description { state: "selected" 0.0;
18779                inherit: "default" 0.0;
18780                color: 224 224 224 255;
18781                color3: 0 0 0 64;
18782             }
18783          }
18784          part { name: "fg1";
18785             clip_to: "disclip";
18786             mouse_events: 0;
18787             description { state: "default" 0.0;
18788                visible: 0;
18789                color: 255 255 255 0;
18790                rel1.to: "bg";
18791                rel2.relative: 1.0 0.5;
18792                rel2.to: "bg";
18793                image {
18794                   normal: "bt_sm_hilight.png";
18795                   border: 6 6 6 0;
18796                }
18797             }
18798             description { state: "selected" 0.0;
18799                inherit: "default" 0.0;
18800                visible: 1;
18801                color: 255 255 255 255;
18802             }
18803          }
18804          part { name: "fg2";
18805             clip_to: "disclip";
18806             mouse_events: 0;
18807             description { state: "default" 0.0;
18808                visible: 0;
18809                color: 255 255 255 0;
18810                rel1.to: "bg";
18811                rel2.to: "bg";
18812                image {
18813                   normal: "bt_sm_shine.png";
18814                   border: 6 6 6 0;
18815                }
18816             }
18817             description { state: "selected" 0.0;
18818                inherit: "default" 0.0;
18819                visible: 1;
18820                color: 255 255 255 255;
18821             }
18822          }
18823          part { name: "disclip";
18824             type: RECT;
18825             description { state: "default" 0.0;
18826                rel1.to: "bg";
18827                rel2.to: "bg";
18828             }
18829             description { state: "disabled" 0.0;
18830                inherit: "default" 0.0;
18831                color: 255 255 255 64;
18832             }
18833          }
18834       }
18835       programs {
18836          // signal: elm,state,%s,active
18837          //   a "check" item named %s went active
18838          // signal: elm,state,%s,passive
18839          //   a "check" item named %s went passive
18840          // default is passive
18841          program {
18842             name:    "go_active";
18843             signal:  "elm,state,selected";
18844             source:  "elm";
18845             action:  STATE_SET "selected" 0.0;
18846             target:  "bg";
18847             target:  "fg1";
18848             target:  "fg2";
18849             target:  "elm.text";
18850          }
18851          program {
18852             name:    "go_passive";
18853             signal:  "elm,state,unselected";
18854             source:  "elm";
18855             action:  STATE_SET "default" 0.0;
18856             target:  "bg";
18857             target:  "fg1";
18858             target:  "fg2";
18859             target:  "elm.text";
18860             transition: LINEAR 0.1;
18861          }
18862          program {
18863             name:    "go_disabled";
18864             signal:  "elm,state,disabled";
18865             source:  "elm";
18866             action:  STATE_SET "disabled" 0.0;
18867             target:  "disclip";
18868          }
18869          program {
18870             name:    "go_enabled";
18871             signal:  "elm,state,enabled";
18872             source:  "elm";
18873             action:  STATE_SET "default" 0.0;
18874             target:  "disclip";
18875          }
18876          program {
18877             name:    "expand";
18878             signal:  "mouse,up,1";
18879             source:  "arrow";
18880             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
18881          }
18882          program {
18883             name:    "go_expanded";
18884             signal:  "elm,state,expanded";
18885             source:  "elm";
18886             script {
18887                new st[31];
18888                new Float:vl;
18889                get_state(PART:"arrow", st, 30, vl);
18890                set_state(PART:"arrow", "active", vl);
18891             }
18892          }
18893          program {
18894             name:    "go_contracted";
18895             signal:  "elm,state,contracted";
18896             source:  "elm";
18897             script {
18898                new st[31];
18899                new Float:vl;
18900                get_state(PART:"arrow", st, 30, vl);
18901                set_state(PART:"arrow", "default", vl);
18902             }
18903          }
18904          program { name: "to_rtl";
18905             signal: "edje,state,rtl";
18906             source: "edje";
18907             script {
18908                new st[31];
18909                new Float:vl;
18910                get_state(PART:"arrow", st, 30, vl);
18911                if (vl == 0.0) {
18912                   set_state(PART:"arrow", st, 0.1);
18913                }
18914             }
18915          }
18916          program { name: "to_ltr";
18917             signal: "edje,state,ltr";
18918             source: "edje";
18919             script {
18920                new st[31];
18921                new Float:vl;
18922                get_state(PART:"arrow", st, 30, vl);
18923                if (vl == 0.1) {
18924                   set_state(PART:"arrow", st, 0.0);
18925                }
18926             }
18927          }
18928       }
18929    }
18930
18931    group { name: "elm/genlist/item/default_style/default";
18932        styles
18933        {
18934            style { name: "genlist_style";
18935                base: "font=Sans font_size=10 align=left valign=0.5 color=#000 text_class=list_item";
18936                tag:  "br" "\n";
18937                tag:  "ps" "ps";
18938                tag:  "hilight" "+ font=Sans:style=Bold";
18939                tag:  "b" "+ font=Sans:style=Bold";
18940                tag:  "tab" "\t";
18941            }
18942            style { name: "genlist_selected_style";
18943                base: "font=Sans font_size=10 align=left valign=0.5 color=#fff text_class=list_item";
18944                tag:  "br" "\n";
18945                tag:  "ps" "ps";
18946                tag:  "hilight" "+ font=Sans:style=Bold";
18947                tag:  "b" "+ font=Sans:style=Bold";
18948                tag:  "tab" "\t";
18949            }
18950        }
18951        data.item: "stacking" "above";
18952        data.item: "selectraise" "on";
18953        data.item: "labels" "elm.text";
18954        data.item: "icons" "elm.swallow.icon elm.swallow.end";
18955        data.item: "treesize" "20";
18956        images {
18957            image: "bt_sm_base1.png" COMP;
18958            image: "bt_sm_shine.png" COMP;
18959            image: "bt_sm_hilight.png" COMP;
18960            image: "ilist_1.png" COMP;
18961            image: "ilist_item_shadow.png" COMP;
18962        }
18963        parts {
18964            part {
18965                name:           "event";
18966                type:           RECT;
18967                repeat_events: 1;
18968                description {
18969                    state: "default" 0.0;
18970                    color: 0 0 0 0;
18971                }
18972            }
18973            part {
18974                name: "base_sh";
18975                mouse_events: 0;
18976                description {
18977                    state: "default" 0.0;
18978                    align: 0.0 0.0;
18979                    min: 0 10;
18980                    fixed: 1 1;
18981                    rel1 {
18982                        to: "base";
18983                        relative: 0.0 1.0;
18984                        offset: 0 0;
18985                    }
18986                    rel2 {
18987                        to: "base";
18988                        relative: 1.0 1.0;
18989                        offset: -1 0;
18990                    }
18991                    image {
18992                        normal: "ilist_item_shadow.png";
18993                    }
18994                    fill.smooth: 0;
18995                }
18996            }
18997            part {
18998                name: "base";
18999                mouse_events: 0;
19000                description {
19001                    state: "default" 0.0;
19002                    min: 16 28;
19003                    image {
19004                        normal: "ilist_1.png";
19005                        border: 2 2 2 2;
19006                    }
19007                    fill.smooth: 0;
19008                }
19009            }
19010            part { name: "bg";
19011                clip_to: "disclip";
19012                mouse_events: 0;
19013                description { state: "default" 0.0;
19014                    visible: 0;
19015                    color: 255 255 255 0;
19016                    rel1 {
19017                        relative: 0.0 0.0;
19018                        offset: -5 -5;
19019                    }
19020                    rel2 {
19021                        relative: 1.0 1.0;
19022                        offset: 4 4;
19023                    }
19024                    image {
19025                        normal: "bt_sm_base1.png";
19026                        border: 6 6 6 6;
19027                    }
19028                    image.middle: SOLID;
19029                }
19030                description { state: "selected" 0.0;
19031                    inherit: "default" 0.0;
19032                    visible: 1;
19033                    color: 255 255 255 255;
19034                    rel1 {
19035                        relative: 0.0 0.0;
19036                        offset: -2 -2;
19037                    }
19038                    rel2 {
19039                        relative: 1.0 1.0;
19040                        offset: 1 1;
19041                    }
19042                }
19043            }
19044            part { name: "elm.swallow.pad";
19045                type: SWALLOW;
19046                description { state: "default" 0.0;
19047                    fixed: 1 0;
19048                    align: 0.0 0.5;
19049                    rel1 {
19050                        relative: 0.0  0.0;
19051                        offset:   4    4;
19052                    }
19053                    rel2 {
19054                        relative: 0.0  1.0;
19055                        offset:   4   -5;
19056                    }
19057                }
19058            }
19059            part { name: "elm.swallow.icon";
19060                clip_to: "disclip";
19061                type: SWALLOW;
19062                description { state: "default" 0.0;
19063                    fixed: 1 0;
19064                    align: 0.0 0.5;
19065                    rel1 {
19066                        to_x: "elm.swallow.pad";
19067                        relative: 1.0  0.0;
19068                        offset:   -1    4;
19069                    }
19070                    rel2 {
19071                        to_x: "elm.swallow.pad";
19072                        relative: 1.0  1.0;
19073                        offset:   -1   -5;
19074                    }
19075                }
19076            }
19077            part { name: "elm.swallow.end";
19078                clip_to: "disclip";
19079                type: SWALLOW;
19080                description { state: "default" 0.0;
19081                    fixed: 1 0;
19082                    align: 1.0 0.5;
19083                    aspect: 1.0 1.0;
19084                    aspect_preference: VERTICAL;
19085                    rel1 {
19086                        relative: 1.0  0.0;
19087                        offset:   -5    4;
19088                    }
19089                    rel2 {
19090                        relative: 1.0  1.0;
19091                        offset:   -5   -5;
19092                    }
19093                }
19094            }
19095            part { name: "elm.text";
19096                clip_to: "disclip";
19097                type: TEXTBLOCK;
19098                mouse_events: 0;
19099                scale: 1;
19100                description {
19101                    state: "default" 0.0;
19102                    align: 0.0 0.5;
19103                    fixed: 0 1;
19104                    rel1 {
19105                        to_x: "elm.swallow.icon";
19106                        to_y: "base";
19107                        relative: 1.0  0.5;
19108                        offset:   0 4;
19109                    }
19110                    rel2 {
19111                        to_x: "elm.swallow.end";
19112                        to_y: "base";
19113                        relative: 0.0  0.5;
19114                        offset:   -1 -5;
19115                    }
19116                    text {
19117                        style: "genlist_style";
19118                        min: 1 1;
19119                    }
19120                }
19121                description { state: "selected" 0.0;
19122                    inherit: "default" 0.0;
19123                    text {
19124                        style: "genlist_selected_style";
19125                    }
19126                }
19127            }
19128            part { name: "fg1";
19129                clip_to: "disclip";
19130                mouse_events: 0;
19131                description { state: "default" 0.0;
19132                    visible: 0;
19133                    color: 255 255 255 0;
19134                    rel1.to: "bg";
19135                    rel2.relative: 1.0 0.5;
19136                    rel2.to: "bg";
19137                    image {
19138                        normal: "bt_sm_hilight.png";
19139                        border: 6 6 6 0;
19140                    }
19141                }
19142                description { state: "selected" 0.0;
19143                    inherit: "default" 0.0;
19144                    visible: 1;
19145                    color: 255 255 255 255;
19146                }
19147            }
19148            part { name: "fg2";
19149                clip_to: "disclip";
19150                mouse_events: 0;
19151                description { state: "default" 0.0;
19152                    visible: 0;
19153                    color: 255 255 255 0;
19154                    rel1.to: "bg";
19155                    rel2.to: "bg";
19156                    image {
19157                        normal: "bt_sm_shine.png";
19158                        border: 6 6 6 0;
19159                    }
19160                }
19161                description { state: "selected" 0.0;
19162                    inherit: "default" 0.0;
19163                    visible: 1;
19164                    color: 255 255 255 255;
19165                }
19166            }
19167            part { name: "disclip";
19168                type: RECT;
19169                description { state: "default" 0.0;
19170                    rel1.to: "bg";
19171                    rel2.to: "bg";
19172                }
19173                description { state: "disabled" 0.0;
19174                    inherit: "default" 0.0;
19175                    color: 255 255 255 64;
19176                }
19177            }
19178        }
19179        programs {
19180            // signal: elm,state,%s,active
19181            //   a "check" item named %s went active
19182            // signal: elm,state,%s,passive
19183            //   a "check" item named %s went passive
19184            // default is passive
19185            program {
19186                name:    "go_active";
19187                signal:  "elm,state,selected";
19188                source:  "elm";
19189                action:  STATE_SET "selected" 0.0;
19190                target:  "bg";
19191                target:  "fg1";
19192                target:  "fg2";
19193                target:  "elm.text";
19194            }
19195            program {
19196                name:    "go_passive";
19197                signal:  "elm,state,unselected";
19198                source:  "elm";
19199                action:  STATE_SET "default" 0.0;
19200                target:  "bg";
19201                target:  "fg1";
19202                target:  "fg2";
19203                target:  "elm.text";
19204                transition: LINEAR 0.1;
19205            }
19206            program {
19207                name:    "go_disabled";
19208                signal:  "elm,state,disabled";
19209                source:  "elm";
19210                action:  STATE_SET "disabled" 0.0;
19211                target:  "disclip";
19212            }
19213            program {
19214                name:    "go_enabled";
19215                signal:  "elm,state,enabled";
19216                source:  "elm";
19217                action:  STATE_SET "default" 0.0;
19218                target:  "disclip";
19219            }
19220        }
19221    }
19222    group { name: "elm/genlist/item_odd/default_style/default";
19223        data.item: "stacking" "below";
19224        data.item: "selectraise" "on";
19225        data.item: "labels" "elm.text";
19226        data.item: "icons" "elm.swallow.icon elm.swallow.end";
19227        data.item: "treesize" "20";
19228        images {
19229            image: "bt_sm_base1.png" COMP;
19230            image: "bt_sm_shine.png" COMP;
19231            image: "bt_sm_hilight.png" COMP;
19232            image: "ilist_2.png" COMP;
19233        }
19234        parts {
19235            part { name: "event";
19236                type: RECT;
19237                repeat_events: 1;
19238                description {
19239                    state: "default" 0.0;
19240                    color: 0 0 0 0;
19241                }
19242            }
19243            part {
19244                name: "base";
19245                mouse_events: 0;
19246                description {
19247                    state: "default" 0.0;
19248                    min: 16 28;
19249                    image {
19250                        normal: "ilist_2.png";
19251                        border: 2 2 2 2;
19252                    }
19253                    fill.smooth: 0;
19254                }
19255            }
19256            part { name: "bg";
19257                clip_to: "disclip";
19258                mouse_events: 0;
19259                description { state: "default" 0.0;
19260                    visible: 0;
19261                    color: 255 255 255 0;
19262                    rel1 {
19263                        relative: 0.0 0.0;
19264                        offset: -5 -5;
19265                    }
19266                    rel2 {
19267                        relative: 1.0 1.0;
19268                        offset: 4 4;
19269                    }
19270                    image {
19271                        normal: "bt_sm_base1.png";
19272                        border: 6 6 6 6;
19273                    }
19274                    image.middle: SOLID;
19275                }
19276                description { state: "selected" 0.0;
19277                    inherit: "default" 0.0;
19278                    visible: 1;
19279                    color: 255 255 255 255;
19280                    rel1 {
19281                        relative: 0.0 0.0;
19282                        offset: -2 -2;
19283                    }
19284                    rel2 {
19285                        relative: 1.0 1.0;
19286                        offset: 1 1;
19287                    }
19288                }
19289            }
19290            part { name: "elm.swallow.pad";
19291                type: SWALLOW;
19292                description { state: "default" 0.0;
19293                    fixed: 1 0;
19294                    align: 0.0 0.5;
19295                    rel1 {
19296                        relative: 0.0  0.0;
19297                        offset:   4    4;
19298                    }
19299                    rel2 {
19300                        relative: 0.0  1.0;
19301                        offset:   4   -5;
19302                    }
19303                }
19304            }
19305            part { name: "elm.swallow.icon";
19306                clip_to: "disclip";
19307                type: SWALLOW;
19308                description { state: "default" 0.0;
19309                    fixed: 1 0;
19310                    align: 0.0 0.5;
19311                    rel1 {
19312                        to_x: "elm.swallow.pad";
19313                        relative: 1.0  0.0;
19314                        offset:   -1    4;
19315                    }
19316                    rel2 {
19317                        to_x: "elm.swallow.pad";
19318                        relative: 1.0  1.0;
19319                        offset:   -1   -5;
19320                    }
19321                }
19322            }
19323            part { name: "elm.swallow.end";
19324                clip_to: "disclip";
19325                type:          SWALLOW;
19326                description { state:    "default" 0.0;
19327                    fixed: 1 0;
19328                    align:    1.0 0.5;
19329                    aspect: 1.0 1.0;
19330                    aspect_preference: VERTICAL;
19331                    rel1 {
19332                        relative: 1.0  0.0;
19333                        offset:   -5    4;
19334                    }
19335                    rel2 {
19336                        relative: 1.0  1.0;
19337                        offset:   -5   -5;
19338                    }
19339                }
19340            }
19341            part { name: "elm.text";
19342                clip_to: "disclip";
19343                type:           TEXTBLOCK;
19344                mouse_events:   0;
19345                scale: 1;
19346                description {
19347                    state: "default" 0.0;
19348                    align: 0.0 0.5;
19349                    fixed: 0 1;
19350                    rel1 {
19351                        to_x: "elm.swallow.icon";
19352                        to_y: "base";
19353                        relative: 1.0  0.5;
19354                        offset:   0 4;
19355                    }
19356                    rel2 {
19357                        to_x: "elm.swallow.end";
19358                        to_y: "base";
19359                        relative: 0.0  0.5;
19360                        offset:   -1 -5;
19361                    }
19362                    text {
19363                        style: "genlist_style";
19364                        min: 1 1;
19365                    }
19366                }
19367                description { state: "selected" 0.0;
19368                    inherit: "default" 0.0;
19369                    text {
19370                        style: "genlist_selected_style";
19371                    }
19372                }
19373            }
19374            part { name: "fg1";
19375                clip_to: "disclip";
19376                mouse_events: 0;
19377                description { state: "default" 0.0;
19378                    visible: 0;
19379                    color: 255 255 255 0;
19380                    rel1.to: "bg";
19381                    rel2.relative: 1.0 0.5;
19382                    rel2.to: "bg";
19383                    image {
19384                        normal: "bt_sm_hilight.png";
19385                        border: 6 6 6 0;
19386                    }
19387                }
19388                description { state: "selected" 0.0;
19389                    inherit: "default" 0.0;
19390                    visible: 1;
19391                    color: 255 255 255 255;
19392                }
19393            }
19394            part { name: "fg2";
19395                clip_to: "disclip";
19396                mouse_events: 0;
19397                description { state: "default" 0.0;
19398                    visible: 0;
19399                    color: 255 255 255 0;
19400                    rel1.to: "bg";
19401                    rel2.to: "bg";
19402                    image {
19403                        normal: "bt_sm_shine.png";
19404                        border: 6 6 6 0;
19405                    }
19406                }
19407                description { state: "selected" 0.0;
19408                    inherit: "default" 0.0;
19409                    visible: 1;
19410                    color: 255 255 255 255;
19411                }
19412            }
19413            part { name: "disclip";
19414                type: RECT;
19415                description { state: "default" 0.0;
19416                    rel1.to: "bg";
19417                    rel2.to: "bg";
19418                }
19419                description { state: "disabled" 0.0;
19420                    inherit: "default" 0.0;
19421                    color: 255 255 255 64;
19422                }
19423            }
19424        }
19425        programs {
19426            // signal: elm,state,%s,active
19427            //   a "check" item named %s went active
19428            // signal: elm,state,%s,passive
19429            //   a "check" item named %s went passive
19430            // default is passive
19431            program {
19432                name:    "go_active";
19433                signal:  "elm,state,selected";
19434                source:  "elm";
19435                action:  STATE_SET "selected" 0.0;
19436                target:  "bg";
19437                target:  "fg1";
19438                target:  "fg2";
19439                target:  "elm.text";
19440            }
19441            program {
19442                name:    "go_passive";
19443                signal:  "elm,state,unselected";
19444                source:  "elm";
19445                action:  STATE_SET "default" 0.0;
19446                target:  "bg";
19447                target:  "fg1";
19448                target:  "fg2";
19449                target:  "elm.text";
19450                transition: LINEAR 0.1;
19451            }
19452            program {
19453                name:    "go_disabled";
19454                signal:  "elm,state,disabled";
19455                source:  "elm";
19456                action:  STATE_SET "disabled" 0.0;
19457                target:  "disclip";
19458            }
19459            program {
19460                name:    "go_enabled";
19461                signal:  "elm,state,enabled";
19462                source:  "elm";
19463                action:  STATE_SET "default" 0.0;
19464                target:  "disclip";
19465            }
19466        }
19467    }
19468
19469    group { name: "elm/genlist/tree/default_style/default";
19470        data.item: "stacking" "above";
19471        data.item: "selectraise" "on";
19472        data.item: "labels" "elm.text";
19473        data.item: "icons" "elm.swallow.icon elm.swallow.end";
19474        data.item: "treesize" "20";
19475        images {
19476            image: "bt_sm_base1.png" COMP;
19477            image: "bt_sm_shine.png" COMP;
19478            image: "bt_sm_hilight.png" COMP;
19479            image: "ilist_1.png" COMP;
19480            image: "ilist_item_shadow.png" COMP;
19481            image: "icon_arrow_right.png" COMP;
19482            image: "icon_arrow_down.png" COMP;
19483        }
19484        parts {
19485            part {
19486                name:           "event";
19487                type:           RECT;
19488                repeat_events: 1;
19489                description {
19490                    state: "default" 0.0;
19491                    color: 0 0 0 0;
19492                }
19493            }
19494            part {
19495                name: "base_sh";
19496                mouse_events: 0;
19497                description {
19498                    state: "default" 0.0;
19499                    align: 0.0 0.0;
19500                    min: 0 10;
19501                    fixed: 1 1;
19502                    rel1 {
19503                        to: "base";
19504                        relative: 0.0 1.0;
19505                        offset: 0 0;
19506                    }
19507                    rel2 {
19508                        to: "base";
19509                        relative: 1.0 1.0;
19510                        offset: -1 0;
19511                    }
19512                    image {
19513                        normal: "ilist_item_shadow.png";
19514                    }
19515                    fill.smooth: 0;
19516                }
19517            }
19518            part {
19519                name: "base";
19520                mouse_events: 0;
19521                description {
19522                    state: "default" 0.0;
19523                    min: 16 28;
19524                    image {
19525                        normal: "ilist_1.png";
19526                        border: 2 2 2 2;
19527                    }
19528                    fill.smooth: 0;
19529                }
19530            }
19531            part { name: "bg";
19532                clip_to: "disclip";
19533                mouse_events: 0;
19534                description { state: "default" 0.0;
19535                    visible: 0;
19536                    color: 255 255 255 0;
19537                    rel1 {
19538                        relative: 0.0 0.0;
19539                        offset: -5 -5;
19540                    }
19541                    rel2 {
19542                        relative: 1.0 1.0;
19543                        offset: 4 4;
19544                    }
19545                    image {
19546                        normal: "bt_sm_base1.png";
19547                        border: 6 6 6 6;
19548                    }
19549                    image.middle: SOLID;
19550                }
19551                description { state: "selected" 0.0;
19552                    inherit: "default" 0.0;
19553                    visible: 1;
19554                    color: 255 255 255 255;
19555                    rel1 {
19556                        relative: 0.0 0.0;
19557                        offset: -2 -2;
19558                    }
19559                    rel2 {
19560                        relative: 1.0 1.0;
19561                        offset: 1 1;
19562                    }
19563                }
19564            }
19565            part { name: "elm.swallow.pad";
19566                type: SWALLOW;
19567                description { state: "default" 0.0;
19568                    fixed: 1 0;
19569                    align: 0.0 0.5;
19570                    rel1 {
19571                        relative: 0.0  0.0;
19572                        offset:   4    4;
19573                    }
19574                    rel2 {
19575                        relative: 0.0  1.0;
19576                        offset:   4   -5;
19577                    }
19578                }
19579            }
19580            part { name: "arrow";
19581                clip_to: "disclip";
19582                ignore_flags: ON_HOLD;
19583                description { state: "default" 0.0;
19584                    fixed: 1 0;
19585                    align: 0.0 0.5;
19586                    aspect: 1.0 1.0;
19587                    rel1 {
19588                        to_x: "elm.swallow.pad";
19589                        relative: 1.0  0.0;
19590                        offset:   -1    4;
19591                    }
19592                    rel2 {
19593                        to_x: "elm.swallow.pad";
19594                        relative: 1.0  1.0;
19595                        offset:   -1   -5;
19596                    }
19597                    image.normal: "icon_arrow_right.png";
19598                }
19599                description { state: "active" 0.0;
19600                    inherit: "default" 0.0;
19601                    image.normal: "icon_arrow_down.png";
19602                }
19603            }
19604            part { name: "elm.swallow.icon";
19605                clip_to: "disclip";
19606                type: SWALLOW;
19607                description { state: "default" 0.0;
19608                    fixed: 1 0;
19609                    align: 0.0 0.5;
19610                    rel1 {
19611                        to_x: "arrow";
19612                        relative: 1.0  0.0;
19613                        offset:   4    4;
19614                    }
19615                    rel2 {
19616                        to_x: "arrow";
19617                        relative: 1.0  1.0;
19618                        offset:   4   -5;
19619                    }
19620                }
19621            }
19622            part { name: "elm.swallow.end";
19623                clip_to: "disclip";
19624                type: SWALLOW;
19625                description { state: "default" 0.0;
19626                    fixed: 1 0;
19627                    align: 1.0 0.5;
19628                    aspect: 1.0 1.0;
19629                    aspect_preference: VERTICAL;
19630                    rel1 {
19631                        relative: 1.0  0.0;
19632                        offset:   -5    4;
19633                    }
19634                    rel2 {
19635                        relative: 1.0  1.0;
19636                        offset:   -5   -5;
19637                    }
19638                }
19639            }
19640            part { name: "elm.text";
19641                clip_to: "disclip";
19642                type:           TEXTBLOCK;
19643                effect:         SOFT_SHADOW;
19644                mouse_events:   0;
19645                scale: 1;
19646                description {
19647                    state: "default" 0.0;
19648                    align: 0.0 0.5;
19649                    fixed: 0 1;
19650                    rel1 {
19651                        to_x:     "elm.swallow.icon";
19652                        to_y: "base";
19653                        relative: 1.0  0.5;
19654                        offset:   0 4;
19655                    }
19656                    rel2 {
19657                        to_x:     "elm.swallow.end";
19658                        to_y: "base";
19659                        relative: 0.0  0.5;
19660                        offset:   -1 -5;
19661                    }
19662                    text {
19663                        style: "genlist_style";
19664                        min: 1 1;
19665                    }
19666                }
19667                description { state: "selected" 0.0;
19668                    inherit: "default" 0.0;
19669                    text {
19670                        style: "genlist_selected_style";
19671                    }
19672                }
19673            }
19674            part { name: "fg1";
19675                clip_to: "disclip";
19676                mouse_events: 0;
19677                description { state: "default" 0.0;
19678                    visible: 0;
19679                    color: 255 255 255 0;
19680                    rel1.to: "bg";
19681                    rel2.relative: 1.0 0.5;
19682                    rel2.to: "bg";
19683                    image {
19684                        normal: "bt_sm_hilight.png";
19685                        border: 6 6 6 0;
19686                    }
19687                }
19688                description { state: "selected" 0.0;
19689                    inherit: "default" 0.0;
19690                    visible: 1;
19691                    color: 255 255 255 255;
19692                }
19693            }
19694            part { name: "fg2";
19695                clip_to: "disclip";
19696                mouse_events: 0;
19697                description { state: "default" 0.0;
19698                    visible: 0;
19699                    color: 255 255 255 0;
19700                    rel1.to: "bg";
19701                    rel2.to: "bg";
19702                    image {
19703                        normal: "bt_sm_shine.png";
19704                        border: 6 6 6 0;
19705                    }
19706                }
19707                description { state: "selected" 0.0;
19708                    inherit: "default" 0.0;
19709                    visible: 1;
19710                    color: 255 255 255 255;
19711                }
19712            }
19713            part { name: "disclip";
19714                type: RECT;
19715                description { state: "default" 0.0;
19716                    rel1.to: "bg";
19717                    rel2.to: "bg";
19718                }
19719                description { state: "disabled" 0.0;
19720                    inherit: "default" 0.0;
19721                    color: 255 255 255 64;
19722                }
19723            }
19724        }
19725        programs {
19726            // signal: elm,state,%s,active
19727            //   a "check" item named %s went active
19728            // signal: elm,state,%s,passive
19729            //   a "check" item named %s went passive
19730            // default is passive
19731            program {
19732                name:    "go_active";
19733                signal:  "elm,state,selected";
19734                source:  "elm";
19735                action:  STATE_SET "selected" 0.0;
19736                target:  "bg";
19737                target:  "fg1";
19738                target:  "fg2";
19739                target:  "elm.text";
19740            }
19741            program {
19742                name:    "go_passive";
19743                signal:  "elm,state,unselected";
19744                source:  "elm";
19745                action:  STATE_SET "default" 0.0;
19746                target:  "bg";
19747                target:  "fg1";
19748                target:  "fg2";
19749                target:  "elm.text";
19750                transition: LINEAR 0.1;
19751            }
19752            program {
19753                name:    "go_disabled";
19754                signal:  "elm,state,disabled";
19755                source:  "elm";
19756                action:  STATE_SET "disabled" 0.0;
19757                target:  "disclip";
19758            }
19759            program {
19760                name:    "go_enabled";
19761                signal:  "elm,state,enabled";
19762                source:  "elm";
19763                action:  STATE_SET "default" 0.0;
19764                target:  "disclip";
19765            }
19766            program {
19767                name:    "expand";
19768                signal:  "mouse,up,1";
19769                source:  "arrow";
19770                action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
19771            }
19772            program {
19773                name:    "go_expanded";
19774                signal:  "elm,state,expanded";
19775                source:  "elm";
19776                action:  STATE_SET "active" 0.0;
19777                target:  "arrow";
19778            }
19779            program {
19780                name:    "go_contracted";
19781                signal:  "elm,state,contracted";
19782                source:  "elm";
19783                action:  STATE_SET "default" 0.0;
19784                target:  "arrow";
19785            }
19786        }
19787    }
19788    group { name: "elm/genlist/tree_odd/default_style/default";
19789        data.item: "stacking" "below";
19790        data.item: "selectraise" "on";
19791        data.item: "labels" "elm.text";
19792        data.item: "icons" "elm.swallow.icon elm.swallow.end";
19793        data.item: "treesize" "20";
19794        images {
19795            image: "bt_sm_base1.png" COMP;
19796            image: "bt_sm_shine.png" COMP;
19797            image: "bt_sm_hilight.png" COMP;
19798            image: "ilist_2.png" COMP;
19799            image: "icon_arrow_right.png" COMP;
19800            image: "icon_arrow_down.png" COMP;
19801        }
19802        parts {
19803            part {
19804                name:           "event";
19805                type:           RECT;
19806                repeat_events: 1;
19807                description {
19808                    state: "default" 0.0;
19809                    color: 0 0 0 0;
19810                }
19811            }
19812            part {
19813                name: "base";
19814                mouse_events: 0;
19815                description {
19816                    state: "default" 0.0;
19817                    min: 16 28;
19818                    image {
19819                        normal: "ilist_2.png";
19820                        border: 2 2 2 2;
19821                    }
19822                    fill.smooth: 0;
19823                }
19824            }
19825            part { name: "bg";
19826                clip_to: "disclip";
19827                mouse_events: 0;
19828                description { state: "default" 0.0;
19829                    visible: 0;
19830                    color: 255 255 255 0;
19831                    rel1 {
19832                        relative: 0.0 0.0;
19833                        offset: -5 -5;
19834                    }
19835                    rel2 {
19836                        relative: 1.0 1.0;
19837                        offset: 4 4;
19838                    }
19839                    image {
19840                        normal: "bt_sm_base1.png";
19841                        border: 6 6 6 6;
19842                    }
19843                    image.middle: SOLID;
19844                }
19845                description { state: "selected" 0.0;
19846                    inherit: "default" 0.0;
19847                    visible: 1;
19848                    color: 255 255 255 255;
19849                    rel1 {
19850                        relative: 0.0 0.0;
19851                        offset: -2 -2;
19852                    }
19853                    rel2 {
19854                        relative: 1.0 1.0;
19855                        offset: 1 1;
19856                    }
19857                }
19858            }
19859            part { name: "elm.swallow.pad";
19860                type: SWALLOW;
19861                description { state: "default" 0.0;
19862                    fixed: 1 0;
19863                    align: 0.0 0.5;
19864                    rel1 {
19865                        relative: 0.0  0.0;
19866                        offset:   4    4;
19867                    }
19868                    rel2 {
19869                        relative: 0.0  1.0;
19870                        offset:   4   -5;
19871                    }
19872                }
19873            }
19874            part { name: "arrow";
19875                clip_to: "disclip";
19876                ignore_flags: ON_HOLD;
19877                description { state: "default" 0.0;
19878                    fixed: 1 0;
19879                    align: 0.0 0.5;
19880                    aspect: 1.0 1.0;
19881                    rel1 {
19882                        to_x: "elm.swallow.pad";
19883                        relative: 1.0  0.0;
19884                        offset:   -1    4;
19885                    }
19886                    rel2 {
19887                        to_x: "elm.swallow.pad";
19888                        relative: 1.0  1.0;
19889                        offset:   -1   -5;
19890                    }
19891                    image.normal: "icon_arrow_right.png";
19892                }
19893                description { state: "active" 0.0;
19894                    inherit: "default" 0.0;
19895                    image.normal: "icon_arrow_down.png";
19896                }
19897            }
19898            part { name: "elm.swallow.icon";
19899                clip_to: "disclip";
19900                type: SWALLOW;
19901                description { state: "default" 0.0;
19902                    fixed: 1 0;
19903                    align: 0.0 0.5;
19904                    rel1 {
19905                        to_x: "arrow";
19906                        relative: 1.0  0.0;
19907                        offset:   4    4;
19908                    }
19909                    rel2 {
19910                        to_x: "arrow";
19911                        relative: 1.0  1.0;
19912                        offset:   4   -5;
19913                    }
19914                }
19915            }
19916            part { name: "elm.swallow.end";
19917                clip_to: "disclip";
19918                type: SWALLOW;
19919                description { state: "default" 0.0;
19920                    fixed: 1 0;
19921                    align: 1.0 0.5;
19922                    aspect: 1.0 1.0;
19923                    aspect_preference: VERTICAL;
19924                    rel1 {
19925                        relative: 1.0  0.0;
19926                        offset:   -5    4;
19927                    }
19928                    rel2 {
19929                        relative: 1.0  1.0;
19930                        offset:   -5   -5;
19931                    }
19932                }
19933            }
19934            part { name: "elm.text";
19935                clip_to: "disclip";
19936                type:           TEXTBLOCK;
19937                effect:         SOFT_SHADOW;
19938                mouse_events:   0;
19939                scale: 1;
19940                description {
19941                    state: "default" 0.0;
19942                    align: 0.0 0.5;
19943                    fixed: 0 1;
19944                    rel1 {
19945                        to_x:     "elm.swallow.icon";
19946                        to_y: "base";
19947                        relative: 1.0  0.5;
19948                        offset:   0 4;
19949                    }
19950                    rel2 {
19951                        to_x:     "elm.swallow.end";
19952                        to_y: "base";
19953                        relative: 0.0  0.5;
19954                        offset:   -1 -5;
19955                    }
19956                    text {
19957                        style: "genlist_style";
19958                        min: 1 1;
19959                    }
19960                }
19961                description { state: "selected" 0.0;
19962                    inherit: "default" 0.0;
19963                    text {
19964                        style: "genlist_selected_style";
19965                    }
19966                }
19967            }
19968            part { name: "fg1";
19969                clip_to: "disclip";
19970                mouse_events: 0;
19971                description { state: "default" 0.0;
19972                    visible: 0;
19973                    color: 255 255 255 0;
19974                    rel1.to: "bg";
19975                    rel2.relative: 1.0 0.5;
19976                    rel2.to: "bg";
19977                    image {
19978                        normal: "bt_sm_hilight.png";
19979                        border: 6 6 6 0;
19980                    }
19981                }
19982                description { state: "selected" 0.0;
19983                    inherit: "default" 0.0;
19984                    visible: 1;
19985                    color: 255 255 255 255;
19986                }
19987            }
19988            part { name: "fg2";
19989                clip_to: "disclip";
19990                mouse_events: 0;
19991                description { state: "default" 0.0;
19992                    visible: 0;
19993                    color: 255 255 255 0;
19994                    rel1.to: "bg";
19995                    rel2.to: "bg";
19996                    image {
19997                        normal: "bt_sm_shine.png";
19998                        border: 6 6 6 0;
19999                    }
20000                }
20001                description { state: "selected" 0.0;
20002                    inherit: "default" 0.0;
20003                    visible: 1;
20004                    color: 255 255 255 255;
20005                }
20006            }
20007            part { name: "disclip";
20008                type: RECT;
20009                description { state: "default" 0.0;
20010                    rel1.to: "bg";
20011                    rel2.to: "bg";
20012                }
20013                description { state: "disabled" 0.0;
20014                    inherit: "default" 0.0;
20015                    color: 255 255 255 64;
20016                }
20017            }
20018        }
20019        programs {
20020            // signal: elm,state,%s,active
20021            //   a "check" item named %s went active
20022            // signal: elm,state,%s,passive
20023            //   a "check" item named %s went passive
20024            // default is passive
20025            program {
20026                name:    "go_active";
20027                signal:  "elm,state,selected";
20028                source:  "elm";
20029                action:  STATE_SET "selected" 0.0;
20030                target:  "bg";
20031                target:  "fg1";
20032                target:  "fg2";
20033                target:  "elm.text";
20034            }
20035            program {
20036                name:    "go_passive";
20037                signal:  "elm,state,unselected";
20038                source:  "elm";
20039                action:  STATE_SET "default" 0.0;
20040                target:  "bg";
20041                target:  "fg1";
20042                target:  "fg2";
20043                target:  "elm.text";
20044                transition: LINEAR 0.1;
20045            }
20046            program {
20047                name:    "go_disabled";
20048                signal:  "elm,state,disabled";
20049                source:  "elm";
20050                action:  STATE_SET "disabled" 0.0;
20051                target:  "disclip";
20052            }
20053            program {
20054                name:    "go_enabled";
20055                signal:  "elm,state,enabled";
20056                source:  "elm";
20057                action:  STATE_SET "default" 0.0;
20058                target:  "disclip";
20059            }
20060            program {
20061                name:    "expand";
20062                signal:  "mouse,up,1";
20063                source:  "arrow";
20064                action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
20065            }
20066            program {
20067                name:    "go_expanded";
20068                signal:  "elm,state,expanded";
20069                source:  "elm";
20070                action:  STATE_SET "active" 0.0;
20071                target:  "arrow";
20072            }
20073            program {
20074                name:    "go_contracted";
20075                signal:  "elm,state,contracted";
20076                source:  "elm";
20077                action:  STATE_SET "default" 0.0;
20078                target:  "arrow";
20079            }
20080        }
20081    }
20082
20083
20084    group { name: "elm/genlist/item/double_label/default";
20085       data.item: "stacking" "above";
20086       data.item: "selectraise" "on";
20087       data.item: "labels" "elm.text elm.text.sub";
20088       data.item: "icons" "elm.swallow.icon elm.swallow.end";
20089       data.item: "treesize" "20";
20090 //      data.item: "states" "";
20091       images {
20092          image: "bt_sm_base1.png" COMP;
20093          image: "bt_sm_shine.png" COMP;
20094          image: "bt_sm_hilight.png" COMP;
20095          image: "ilist_1.png" COMP;
20096          image: "ilist_item_shadow.png" COMP;
20097       }
20098       parts {
20099          part {
20100             name:           "event";
20101             type:           RECT;
20102             repeat_events: 1;
20103             description {
20104                state: "default" 0.0;
20105                color: 0 0 0 0;
20106             }
20107          }
20108          part {
20109             name: "base_sh";
20110             mouse_events: 0;
20111             description {
20112                state: "default" 0.0;
20113                align: 0.0 0.0;
20114                min: 0 10;
20115                fixed: 1 1;
20116                rel1 {
20117                   to: "base";
20118                   relative: 0.0 1.0;
20119                   offset: 0 0;
20120                }
20121                rel2 {
20122                   to: "base";
20123                   relative: 1.0 1.0;
20124                   offset: -1 0;
20125                }
20126                image {
20127                   normal: "ilist_item_shadow.png";
20128                }
20129                fill.smooth: 0;
20130             }
20131          }
20132          part {
20133             name: "base";
20134             mouse_events: 0;
20135             description {
20136                state: "default" 0.0;
20137                image {
20138                   normal: "ilist_1.png";
20139                   border: 2 2 2 2;
20140                }
20141                fill.smooth: 0;
20142             }
20143          }
20144          part { name: "bg";
20145             clip_to: "disclip";
20146             mouse_events: 0;
20147             description { state: "default" 0.0;
20148                visible: 0;
20149                color: 255 255 255 0;
20150                rel1 {
20151                   relative: 0.0 0.0;
20152                   offset: -5 -5;
20153                }
20154                rel2 {
20155                   relative: 1.0 1.0;
20156                   offset: 4 4;
20157                }
20158                image {
20159                   normal: "bt_sm_base1.png";
20160                   border: 6 6 6 6;
20161                }
20162                image.middle: SOLID;
20163             }
20164             description { state: "selected" 0.0;
20165                inherit: "default" 0.0;
20166                visible: 1;
20167                color: 255 255 255 255;
20168                rel1 {
20169                   relative: 0.0 0.0;
20170                   offset: -2 -2;
20171                }
20172                rel2 {
20173                   relative: 1.0 1.0;
20174                   offset: 1 1;
20175                }
20176             }
20177          }
20178          part { name: "elm.swallow.pad";
20179             type: SWALLOW;
20180             description { state: "default" 0.0;
20181                fixed: 1 0;
20182                align: 0.0 0.5;
20183                rel1 {
20184                   relative: 0.0  0.0;
20185                   offset:   4    4;
20186                }
20187                rel2 {
20188                   relative: 0.0  1.0;
20189                   offset:   4   -5;
20190                }
20191             }
20192          }
20193          part { name: "elm.swallow.icon";
20194             clip_to: "disclip";
20195             type: SWALLOW;
20196             description { state: "default" 0.0;
20197                fixed: 1 0;
20198                align: 0.0 0.5;
20199                rel1 {
20200                   to_x: "elm.swallow.pad";
20201                   relative: 1.0  0.0;
20202                   offset:   -1    4;
20203                }
20204                rel2 {
20205                   to_x: "elm.swallow.pad";
20206                   relative: 1.0  1.0;
20207                   offset:   -1   -5;
20208                }
20209             }
20210          }
20211          part { name: "elm.swallow.end";
20212             clip_to: "disclip";
20213             type: SWALLOW;
20214             description { state: "default" 0.0;
20215                fixed: 1 0;
20216                align: 1.0 0.5;
20217                aspect: 1.0 1.0;
20218                aspect_preference: VERTICAL;
20219                rel1 {
20220                   relative: 1.0  0.0;
20221                   offset:   -5    4;
20222                }
20223                rel2 {
20224                   relative: 1.0  1.0;
20225                   offset:   -5   -5;
20226                }
20227             }
20228          }
20229          part { name: "elm.text";
20230             clip_to: "disclip";
20231             type:           TEXT;
20232             effect:         SOFT_SHADOW;
20233             mouse_events:   0;
20234             scale: 1;
20235             description {
20236                state: "default" 0.0;
20237 //               min: 16 16;
20238                rel1 {
20239                   to_x:     "elm.swallow.icon";
20240                   relative: 1.0  0.0;
20241                   offset:   0 4;
20242                }
20243                rel2 {
20244                   to_x:     "elm.swallow.end";
20245                   relative: 0.0  0.5;
20246                   offset:   -1 -5;
20247                }
20248                color: 0 0 0 255;
20249                color3: 0 0 0 0;
20250                text {
20251                   font: "Sans";
20252                   size: 10;
20253                   min: 1 1;
20254 //                  min: 0 1;
20255                   align: 0.0 0.5;
20256                   text_class: "list_item";
20257                }
20258             }
20259             description { state: "selected" 0.0;
20260                inherit: "default" 0.0;
20261                color: 224 224 224 255;
20262                color3: 0 0 0 64;
20263             }
20264          }
20265          part { name: "elm.text.sub";
20266             clip_to: "disclip";
20267             type:           TEXT;
20268             mouse_events:   0;
20269             scale: 1;
20270             description {
20271                state: "default" 0.0;
20272 //               min: 16 16;
20273                rel1 {
20274                   to_x:     "elm.swallow.icon";
20275                   relative: 1.0  0.5;
20276                   offset:   0 4;
20277                }
20278                rel2 {
20279                   to_x:     "elm.swallow.end";
20280                   relative: 0.0  1.0;
20281                   offset:   -1 -5;
20282                }
20283                color: 0 0 0 128;
20284                color3: 0 0 0 0;
20285                text {
20286                   font: "Sans";
20287                   size: 8;
20288                   min: 1 1;
20289 //                  min: 0 1;
20290                   align: 0.0 0.5;
20291                   text_class: "list_item";
20292                }
20293             }
20294             description { state: "selected" 0.0;
20295                inherit: "default" 0.0;
20296                color: 128 128 128 255;
20297                color3: 0 0 0 32;
20298             }
20299          }
20300          part { name: "fg1";
20301             clip_to: "disclip";
20302             mouse_events: 0;
20303             description { state: "default" 0.0;
20304                visible: 0;
20305                color: 255 255 255 0;
20306                rel1.to: "bg";
20307                rel2.relative: 1.0 0.5;
20308                rel2.to: "bg";
20309                image {
20310                   normal: "bt_sm_hilight.png";
20311                   border: 6 6 6 0;
20312                }
20313             }
20314             description { state: "selected" 0.0;
20315                inherit: "default" 0.0;
20316                visible: 1;
20317                color: 255 255 255 255;
20318             }
20319          }
20320          part { name: "fg2";
20321             clip_to: "disclip";
20322             mouse_events: 0;
20323             description { state: "default" 0.0;
20324                visible: 0;
20325                color: 255 255 255 0;
20326                rel1.to: "bg";
20327                rel2.to: "bg";
20328                image {
20329                   normal: "bt_sm_shine.png";
20330                   border: 6 6 6 0;
20331                }
20332             }
20333             description { state: "selected" 0.0;
20334                inherit: "default" 0.0;
20335                visible: 1;
20336                color: 255 255 255 255;
20337             }
20338          }
20339          part { name: "disclip";
20340             type: RECT;
20341             description { state: "default" 0.0;
20342                rel1.to: "bg";
20343                rel2.to: "bg";
20344             }
20345             description { state: "disabled" 0.0;
20346                inherit: "default" 0.0;
20347                color: 255 255 255 64;
20348             }
20349          }
20350       }
20351       programs {
20352          // signal: elm,state,%s,active
20353          //   a "check" item named %s went active
20354          // signal: elm,state,%s,passive
20355          //   a "check" item named %s went passive
20356          // default is passive
20357          program {
20358             name:    "go_active";
20359             signal:  "elm,state,selected";
20360             source:  "elm";
20361             action:  STATE_SET "selected" 0.0;
20362             target:  "bg";
20363             target:  "fg1";
20364             target:  "fg2";
20365             target:  "elm.text";
20366             target:  "elm.text.sub";
20367          }
20368          program {
20369             name:    "go_passive";
20370             signal:  "elm,state,unselected";
20371             source:  "elm";
20372             action:  STATE_SET "default" 0.0;
20373             target:  "bg";
20374             target:  "fg1";
20375             target:  "fg2";
20376             target:  "elm.text";
20377             target:  "elm.text.sub";
20378             transition: LINEAR 0.1;
20379          }
20380          program {
20381             name:    "go_disabled";
20382             signal:  "elm,state,disabled";
20383             source:  "elm";
20384             action:  STATE_SET "disabled" 0.0;
20385             target:  "disclip";
20386          }
20387          program {
20388             name:    "go_enabled";
20389             signal:  "elm,state,enabled";
20390             source:  "elm";
20391             action:  STATE_SET "default" 0.0;
20392             target:  "disclip";
20393          }
20394       }
20395    }
20396    group { name: "elm/genlist/item_compress/double_label/default";
20397       data.item: "stacking" "above";
20398       data.item: "selectraise" "on";
20399       data.item: "labels" "elm.text elm.text.sub";
20400       data.item: "icons" "elm.swallow.icon elm.swallow.end";
20401       data.item: "treesize" "20";
20402 //      data.item: "states" "";
20403       images {
20404          image: "bt_sm_base1.png" COMP;
20405          image: "bt_sm_shine.png" COMP;
20406          image: "bt_sm_hilight.png" COMP;
20407          image: "ilist_1.png" COMP;
20408          image: "ilist_item_shadow.png" COMP;
20409       }
20410       parts {
20411          part {
20412             name:           "event";
20413             type:           RECT;
20414             repeat_events: 1;
20415             description {
20416                state: "default" 0.0;
20417                color: 0 0 0 0;
20418             }
20419          }
20420          part {
20421             name: "base_sh";
20422             mouse_events: 0;
20423             description {
20424                state: "default" 0.0;
20425                align: 0.0 0.0;
20426                min: 0 10;
20427                fixed: 1 1;
20428                rel1 {
20429                   to: "base";
20430                   relative: 0.0 1.0;
20431                   offset: 0 0;
20432                }
20433                rel2 {
20434                   to: "base";
20435                   relative: 1.0 1.0;
20436                   offset: -1 0;
20437                }
20438                image {
20439                   normal: "ilist_item_shadow.png";
20440                }
20441                fill.smooth: 0;
20442             }
20443          }
20444          part {
20445             name: "base";
20446             mouse_events: 0;
20447             description {
20448                state: "default" 0.0;
20449                image {
20450                   normal: "ilist_1.png";
20451                   border: 2 2 2 2;
20452                }
20453                fill.smooth: 0;
20454             }
20455          }
20456          part { name: "bg";
20457             clip_to: "disclip";
20458             mouse_events: 0;
20459             description { state: "default" 0.0;
20460                visible: 0;
20461                color: 255 255 255 0;
20462                rel1 {
20463                   relative: 0.0 0.0;
20464                   offset: -5 -5;
20465                }
20466                rel2 {
20467                   relative: 1.0 1.0;
20468                   offset: 4 4;
20469                }
20470                image {
20471                   normal: "bt_sm_base1.png";
20472                   border: 6 6 6 6;
20473                }
20474                image.middle: SOLID;
20475             }
20476             description { state: "selected" 0.0;
20477                inherit: "default" 0.0;
20478                visible: 1;
20479                color: 255 255 255 255;
20480                rel1 {
20481                   relative: 0.0 0.0;
20482                   offset: -2 -2;
20483                }
20484                rel2 {
20485                   relative: 1.0 1.0;
20486                   offset: 1 1;
20487                }
20488             }
20489          }
20490          part { name: "elm.swallow.pad";
20491             type: SWALLOW;
20492             description { state: "default" 0.0;
20493                fixed: 1 0;
20494                align: 0.0 0.5;
20495                rel1 {
20496                   relative: 0.0  0.0;
20497                   offset:   4    4;
20498                }
20499                rel2 {
20500                   relative: 0.0  1.0;
20501                   offset:   4   -5;
20502                }
20503             }
20504          }
20505          part { name: "elm.swallow.icon";
20506             clip_to: "disclip";
20507             type: SWALLOW;
20508             description { state: "default" 0.0;
20509                fixed: 1 0;
20510                align: 0.0 0.5;
20511                rel1 {
20512                   to_x: "elm.swallow.pad";
20513                   relative: 1.0  0.0;
20514                   offset:   -1    4;
20515                }
20516                rel2 {
20517                   to_x: "elm.swallow.pad";
20518                   relative: 1.0  1.0;
20519                   offset:   -1   -5;
20520                }
20521             }
20522          }
20523          part { name: "elm.swallow.end";
20524             clip_to: "disclip";
20525             type: SWALLOW;
20526             description { state: "default" 0.0;
20527                fixed: 1 0;
20528                align: 1.0 0.5;
20529                aspect: 1.0 1.0;
20530                aspect_preference: VERTICAL;
20531                rel1 {
20532                   relative: 1.0  0.0;
20533                   offset:   -5    4;
20534                }
20535                rel2 {
20536                   relative: 1.0  1.0;
20537                   offset:   -5   -5;
20538                }
20539             }
20540          }
20541          part { name: "elm.text";
20542             clip_to: "disclip";
20543             type:           TEXT;
20544             effect:         SOFT_SHADOW;
20545             mouse_events:   0;
20546             scale: 1;
20547             description {
20548                state: "default" 0.0;
20549 //               min: 16 16;
20550                rel1 {
20551                   to_x:     "elm.swallow.icon";
20552                   relative: 1.0  0.0;
20553                   offset:   0 4;
20554                }
20555                rel2 {
20556                   to_x:     "elm.swallow.end";
20557                   relative: 0.0  0.5;
20558                   offset:   -1 -5;
20559                }
20560                color: 0 0 0 255;
20561                color3: 0 0 0 0;
20562                text {
20563                   font: "Sans";
20564                   size: 10;
20565 //                  min: 1 1;
20566                   min: 0 1;
20567                   align: 0.0 0.5;
20568                   text_class: "list_item";
20569                }
20570             }
20571             description { state: "selected" 0.0;
20572                inherit: "default" 0.0;
20573                color: 224 224 224 255;
20574                color3: 0 0 0 64;
20575             }
20576          }
20577          part { name: "elm.text.sub";
20578             clip_to: "disclip";
20579             type:           TEXT;
20580             mouse_events:   0;
20581             scale: 1;
20582             description {
20583                state: "default" 0.0;
20584 //               min: 16 16;
20585                rel1 {
20586                   to_x:     "elm.swallow.icon";
20587                   relative: 1.0  0.5;
20588                   offset:   0 4;
20589                }
20590                rel2 {
20591                   to_x:     "elm.swallow.end";
20592                   relative: 0.0  1.0;
20593                   offset:   -1 -5;
20594                }
20595                color: 0 0 0 128;
20596                color3: 0 0 0 0;
20597                text {
20598                   font: "Sans";
20599                   size: 8;
20600 //                  min: 1 1;
20601                   min: 0 1;
20602                   align: 0.0 0.5;
20603                   text_class: "list_item";
20604                }
20605             }
20606             description { state: "selected" 0.0;
20607                inherit: "default" 0.0;
20608                color: 128 128 128 255;
20609                color3: 0 0 0 32;
20610             }
20611          }
20612          part { name: "fg1";
20613             clip_to: "disclip";
20614             mouse_events: 0;
20615             description { state: "default" 0.0;
20616                visible: 0;
20617                color: 255 255 255 0;
20618                rel1.to: "bg";
20619                rel2.relative: 1.0 0.5;
20620                rel2.to: "bg";
20621                image {
20622                   normal: "bt_sm_hilight.png";
20623                   border: 6 6 6 0;
20624                }
20625             }
20626             description { state: "selected" 0.0;
20627                inherit: "default" 0.0;
20628                visible: 1;
20629                color: 255 255 255 255;
20630             }
20631          }
20632          part { name: "fg2";
20633             clip_to: "disclip";
20634             mouse_events: 0;
20635             description { state: "default" 0.0;
20636                visible: 0;
20637                color: 255 255 255 0;
20638                rel1.to: "bg";
20639                rel2.to: "bg";
20640                image {
20641                   normal: "bt_sm_shine.png";
20642                   border: 6 6 6 0;
20643                }
20644             }
20645             description { state: "selected" 0.0;
20646                inherit: "default" 0.0;
20647                visible: 1;
20648                color: 255 255 255 255;
20649             }
20650          }
20651          part { name: "disclip";
20652             type: RECT;
20653             description { state: "default" 0.0;
20654                rel1.to: "bg";
20655                rel2.to: "bg";
20656             }
20657             description { state: "disabled" 0.0;
20658                inherit: "default" 0.0;
20659                color: 255 255 255 64;
20660             }
20661          }
20662       }
20663       programs {
20664          // signal: elm,state,%s,active
20665          //   a "check" item named %s went active
20666          // signal: elm,state,%s,passive
20667          //   a "check" item named %s went passive
20668          // default is passive
20669          program {
20670             name:    "go_active";
20671             signal:  "elm,state,selected";
20672             source:  "elm";
20673             action:  STATE_SET "selected" 0.0;
20674             target:  "bg";
20675             target:  "fg1";
20676             target:  "fg2";
20677             target:  "elm.text";
20678             target:  "elm.text.sub";
20679          }
20680          program {
20681             name:    "go_passive";
20682             signal:  "elm,state,unselected";
20683             source:  "elm";
20684             action:  STATE_SET "default" 0.0;
20685             target:  "bg";
20686             target:  "fg1";
20687             target:  "fg2";
20688             target:  "elm.text";
20689             target:  "elm.text.sub";
20690             transition: LINEAR 0.1;
20691          }
20692          program {
20693             name:    "go_disabled";
20694             signal:  "elm,state,disabled";
20695             source:  "elm";
20696             action:  STATE_SET "disabled" 0.0;
20697             target:  "disclip";
20698          }
20699          program {
20700             name:    "go_enabled";
20701             signal:  "elm,state,enabled";
20702             source:  "elm";
20703             action:  STATE_SET "default" 0.0;
20704             target:  "disclip";
20705          }
20706       }
20707    }
20708    group { name: "elm/genlist/item_odd/double_label/default";
20709       data.item: "stacking" "below";
20710       data.item: "selectraise" "on";
20711       data.item: "labels" "elm.text elm.text.sub";
20712       data.item: "icons" "elm.swallow.icon elm.swallow.end";
20713       data.item: "treesize" "20";
20714 //      data.item: "states" "";
20715       images {
20716          image: "bt_sm_base1.png" COMP;
20717          image: "bt_sm_shine.png" COMP;
20718          image: "bt_sm_hilight.png" COMP;
20719          image: "ilist_2.png" COMP;
20720       }
20721       parts {
20722          part { name: "event";
20723             type: RECT;
20724             repeat_events: 1;
20725             description {
20726                state: "default" 0.0;
20727                color: 0 0 0 0;
20728             }
20729          }
20730          part {
20731             name: "base";
20732             mouse_events: 0;
20733             description {
20734                state: "default" 0.0;
20735                image {
20736                   normal: "ilist_2.png";
20737                   border: 2 2 2 2;
20738                }
20739                fill.smooth: 0;
20740             }
20741          }
20742          part { name: "bg";
20743             clip_to: "disclip";
20744             mouse_events: 0;
20745             description { state: "default" 0.0;
20746                visible: 0;
20747                color: 255 255 255 0;
20748                rel1 {
20749                   relative: 0.0 0.0;
20750                   offset: -5 -5;
20751                }
20752                rel2 {
20753                   relative: 1.0 1.0;
20754                   offset: 4 4;
20755                }
20756                image {
20757                   normal: "bt_sm_base1.png";
20758                   border: 6 6 6 6;
20759                }
20760                image.middle: SOLID;
20761             }
20762             description { state: "selected" 0.0;
20763                inherit: "default" 0.0;
20764                visible: 1;
20765                color: 255 255 255 255;
20766                rel1 {
20767                   relative: 0.0 0.0;
20768                   offset: -2 -2;
20769                }
20770                rel2 {
20771                   relative: 1.0 1.0;
20772                   offset: 1 1;
20773                }
20774             }
20775          }
20776          part { name: "elm.swallow.pad";
20777             type: SWALLOW;
20778             description { state: "default" 0.0;
20779                fixed: 1 0;
20780                align: 0.0 0.5;
20781                rel1 {
20782                   relative: 0.0  0.0;
20783                   offset:   4    4;
20784                }
20785                rel2 {
20786                   relative: 0.0  1.0;
20787                   offset:   4   -5;
20788                }
20789             }
20790          }
20791          part { name: "elm.swallow.icon";
20792             clip_to: "disclip";
20793             type: SWALLOW;
20794             description { state: "default" 0.0;
20795                fixed: 1 0;
20796                align: 0.0 0.5;
20797                rel1 {
20798                   to_x: "elm.swallow.pad";
20799                   relative: 1.0  0.0;
20800                   offset:   -1    4;
20801                }
20802                rel2 {
20803                   to_x: "elm.swallow.pad";
20804                   relative: 1.0  1.0;
20805                   offset:   -1   -5;
20806                }
20807             }
20808          }
20809          part { name: "elm.swallow.end";
20810             clip_to: "disclip";
20811             type:          SWALLOW;
20812             description { state:    "default" 0.0;
20813                fixed: 1 0;
20814                align:    1.0 0.5;
20815                aspect: 1.0 1.0;
20816                aspect_preference: VERTICAL;
20817                rel1 {
20818                   relative: 1.0  0.0;
20819                   offset:   -5    4;
20820                }
20821                rel2 {
20822                   relative: 1.0  1.0;
20823                   offset:   -5   -5;
20824                }
20825             }
20826          }
20827          part { name: "elm.text";
20828             clip_to: "disclip";
20829             type:           TEXT;
20830             effect:         SOFT_SHADOW;
20831             mouse_events:   0;
20832             scale: 1;
20833             description {
20834                state: "default" 0.0;
20835 //               min: 16 16;
20836                rel1 {
20837                   to_x:     "elm.swallow.icon";
20838                   relative: 1.0  0.0;
20839                   offset:   0 4;
20840                }
20841                rel2 {
20842                   to_x:     "elm.swallow.end";
20843                   relative: 0.0  0.5;
20844                   offset:   -1 -5;
20845                }
20846                color: 0 0 0 255;
20847                color3: 0 0 0 0;
20848                text {
20849                   font: "Sans";
20850                   size: 10;
20851                   min: 1 1;
20852 //                  min: 0 1;
20853                   align: 0.0 0.5;
20854                   text_class: "list_item";
20855                }
20856             }
20857             description { state: "selected" 0.0;
20858                inherit: "default" 0.0;
20859                color: 224 224 224 255;
20860                color3: 0 0 0 64;
20861             }
20862          }
20863          part { name: "elm.text.sub";
20864             clip_to: "disclip";
20865             type:           TEXT;
20866             mouse_events:   0;
20867             scale: 1;
20868             description {
20869                state: "default" 0.0;
20870 //               min: 16 16;
20871                rel1 {
20872                   to_x:     "elm.swallow.icon";
20873                   relative: 1.0  0.5;
20874                   offset:   0 4;
20875                }
20876                rel2 {
20877                   to_x:     "elm.swallow.end";
20878                   relative: 0.0  1.0;
20879                   offset:   -1 -5;
20880                }
20881                color: 0 0 0 128;
20882                color3: 0 0 0 0;
20883                text {
20884                   font: "Sans";
20885                   size: 8;
20886                   min: 1 1;
20887 //                  min: 0 1;
20888                   align: 0.0 0.5;
20889                   text_class: "list_item";
20890                }
20891             }
20892             description { state: "selected" 0.0;
20893                inherit: "default" 0.0;
20894                color: 128 128 128 255;
20895                color3: 0 0 0 32;
20896             }
20897          }
20898          part { name: "fg1";
20899             clip_to: "disclip";
20900             mouse_events: 0;
20901             description { state: "default" 0.0;
20902                visible: 0;
20903                color: 255 255 255 0;
20904                rel1.to: "bg";
20905                rel2.relative: 1.0 0.5;
20906                rel2.to: "bg";
20907                image {
20908                   normal: "bt_sm_hilight.png";
20909                   border: 6 6 6 0;
20910                }
20911             }
20912             description { state: "selected" 0.0;
20913                inherit: "default" 0.0;
20914                visible: 1;
20915                color: 255 255 255 255;
20916             }
20917          }
20918          part { name: "fg2";
20919             clip_to: "disclip";
20920             mouse_events: 0;
20921             description { state: "default" 0.0;
20922                visible: 0;
20923                color: 255 255 255 0;
20924                rel1.to: "bg";
20925                rel2.to: "bg";
20926                image {
20927                   normal: "bt_sm_shine.png";
20928                   border: 6 6 6 0;
20929                }
20930             }
20931             description { state: "selected" 0.0;
20932                inherit: "default" 0.0;
20933                visible: 1;
20934                color: 255 255 255 255;
20935             }
20936          }
20937          part { name: "disclip";
20938             type: RECT;
20939             description { state: "default" 0.0;
20940                rel1.to: "bg";
20941                rel2.to: "bg";
20942             }
20943             description { state: "disabled" 0.0;
20944                inherit: "default" 0.0;
20945                color: 255 255 255 64;
20946             }
20947          }
20948       }
20949       programs {
20950          // signal: elm,state,%s,active
20951          //   a "check" item named %s went active
20952          // signal: elm,state,%s,passive
20953          //   a "check" item named %s went passive
20954          // default is passive
20955          program {
20956             name:    "go_active";
20957             signal:  "elm,state,selected";
20958             source:  "elm";
20959             action:  STATE_SET "selected" 0.0;
20960             target:  "bg";
20961             target:  "fg1";
20962             target:  "fg2";
20963             target:  "elm.text";
20964             target:  "elm.text.sub";
20965          }
20966          program {
20967             name:    "go_passive";
20968             signal:  "elm,state,unselected";
20969             source:  "elm";
20970             action:  STATE_SET "default" 0.0;
20971             target:  "bg";
20972             target:  "fg1";
20973             target:  "fg2";
20974             target:  "elm.text";
20975             target:  "elm.text.sub";
20976             transition: LINEAR 0.1;
20977          }
20978          program {
20979             name:    "go_disabled";
20980             signal:  "elm,state,disabled";
20981             source:  "elm";
20982             action:  STATE_SET "disabled" 0.0;
20983             target:  "disclip";
20984          }
20985          program {
20986             name:    "go_enabled";
20987             signal:  "elm,state,enabled";
20988             source:  "elm";
20989             action:  STATE_SET "default" 0.0;
20990             target:  "disclip";
20991          }
20992       }
20993    }
20994    group { name: "elm/genlist/item_compress_odd/double_label/default";
20995       data.item: "stacking" "below";
20996       data.item: "selectraise" "on";
20997       data.item: "labels" "elm.text elm.text.sub";
20998       data.item: "icons" "elm.swallow.icon elm.swallow.end";
20999       data.item: "treesize" "20";
21000 //      data.item: "states" "";
21001       images {
21002          image: "bt_sm_base1.png" COMP;
21003          image: "bt_sm_shine.png" COMP;
21004          image: "bt_sm_hilight.png" COMP;
21005          image: "ilist_2.png" COMP;
21006       }
21007       parts {
21008          part { name: "event";
21009             type: RECT;
21010             repeat_events: 1;
21011             description {
21012                state: "default" 0.0;
21013                color: 0 0 0 0;
21014             }
21015          }
21016          part {
21017             name: "base";
21018             mouse_events: 0;
21019             description {
21020                state: "default" 0.0;
21021                image {
21022                   normal: "ilist_2.png";
21023                   border: 2 2 2 2;
21024                }
21025                fill.smooth: 0;
21026             }
21027          }
21028          part { name: "bg";
21029             clip_to: "disclip";
21030             mouse_events: 0;
21031             description { state: "default" 0.0;
21032                visible: 0;
21033                color: 255 255 255 0;
21034                rel1 {
21035                   relative: 0.0 0.0;
21036                   offset: -5 -5;
21037                }
21038                rel2 {
21039                   relative: 1.0 1.0;
21040                   offset: 4 4;
21041                }
21042                image {
21043                   normal: "bt_sm_base1.png";
21044                   border: 6 6 6 6;
21045                }
21046                image.middle: SOLID;
21047             }
21048             description { state: "selected" 0.0;
21049                inherit: "default" 0.0;
21050                visible: 1;
21051                color: 255 255 255 255;
21052                rel1 {
21053                   relative: 0.0 0.0;
21054                   offset: -2 -2;
21055                }
21056                rel2 {
21057                   relative: 1.0 1.0;
21058                   offset: 1 1;
21059                }
21060             }
21061          }
21062          part { name: "elm.swallow.pad";
21063             type: SWALLOW;
21064             description { state: "default" 0.0;
21065                fixed: 1 0;
21066                align: 0.0 0.5;
21067                rel1 {
21068                   relative: 0.0  0.0;
21069                   offset:   4    4;
21070                }
21071                rel2 {
21072                   relative: 0.0  1.0;
21073                   offset:   4   -5;
21074                }
21075             }
21076          }
21077          part { name: "elm.swallow.icon";
21078             clip_to: "disclip";
21079             type: SWALLOW;
21080             description { state: "default" 0.0;
21081                fixed: 1 0;
21082                align: 0.0 0.5;
21083                rel1 {
21084                   to_x: "elm.swallow.pad";
21085                   relative: 1.0  0.0;
21086                   offset:   -1    4;
21087                }
21088                rel2 {
21089                   to_x: "elm.swallow.pad";
21090                   relative: 1.0  1.0;
21091                   offset:   -1   -5;
21092                }
21093             }
21094          }
21095          part { name: "elm.swallow.end";
21096             clip_to: "disclip";
21097             type:          SWALLOW;
21098             description { state:    "default" 0.0;
21099                fixed: 1 0;
21100                align:    1.0 0.5;
21101                aspect: 1.0 1.0;
21102                aspect_preference: VERTICAL;
21103                rel1 {
21104                   relative: 1.0  0.0;
21105                   offset:   -5    4;
21106                }
21107                rel2 {
21108                   relative: 1.0  1.0;
21109                   offset:   -5   -5;
21110                }
21111             }
21112          }
21113          part { name: "elm.text";
21114             clip_to: "disclip";
21115             type:           TEXT;
21116             effect:         SOFT_SHADOW;
21117             mouse_events:   0;
21118             scale: 1;
21119             description {
21120                state: "default" 0.0;
21121 //               min: 16 16;
21122                rel1 {
21123                   to_x:     "elm.swallow.icon";
21124                   relative: 1.0  0.0;
21125                   offset:   0 4;
21126                }
21127                rel2 {
21128                   to_x:     "elm.swallow.end";
21129                   relative: 0.0  0.5;
21130                   offset:   -1 -5;
21131                }
21132                color: 0 0 0 255;
21133                color3: 0 0 0 0;
21134                text {
21135                   font: "Sans";
21136                   size: 10;
21137 //                  min: 1 1;
21138                   min: 0 1;
21139                   align: 0.0 0.5;
21140                   text_class: "list_item";
21141                }
21142             }
21143             description { state: "selected" 0.0;
21144                inherit: "default" 0.0;
21145                color: 224 224 224 255;
21146                color3: 0 0 0 64;
21147             }
21148          }
21149          part { name: "elm.text.sub";
21150             clip_to: "disclip";
21151             type:           TEXT;
21152             mouse_events:   0;
21153             scale: 1;
21154             description {
21155                state: "default" 0.0;
21156 //               min: 16 16;
21157                rel1 {
21158                   to_x:     "elm.swallow.icon";
21159                   relative: 1.0  0.5;
21160                   offset:   0 4;
21161                }
21162                rel2 {
21163                   to_x:     "elm.swallow.end";
21164                   relative: 0.0  1.0;
21165                   offset:   -1 -5;
21166                }
21167                color: 0 0 0 128;
21168                color3: 0 0 0 0;
21169                text {
21170                   font: "Sans";
21171                   size: 8;
21172 //                  min: 1 1;
21173                   min: 0 1;
21174                   align: 0.0 0.5;
21175                   text_class: "list_item";
21176                }
21177             }
21178             description { state: "selected" 0.0;
21179                inherit: "default" 0.0;
21180                color: 128 128 128 255;
21181                color3: 0 0 0 32;
21182             }
21183          }
21184          part { name: "fg1";
21185             clip_to: "disclip";
21186             mouse_events: 0;
21187             description { state: "default" 0.0;
21188                visible: 0;
21189                color: 255 255 255 0;
21190                rel1.to: "bg";
21191                rel2.relative: 1.0 0.5;
21192                rel2.to: "bg";
21193                image {
21194                   normal: "bt_sm_hilight.png";
21195                   border: 6 6 6 0;
21196                }
21197             }
21198             description { state: "selected" 0.0;
21199                inherit: "default" 0.0;
21200                visible: 1;
21201                color: 255 255 255 255;
21202             }
21203          }
21204          part { name: "fg2";
21205             clip_to: "disclip";
21206             mouse_events: 0;
21207             description { state: "default" 0.0;
21208                visible: 0;
21209                color: 255 255 255 0;
21210                rel1.to: "bg";
21211                rel2.to: "bg";
21212                image {
21213                   normal: "bt_sm_shine.png";
21214                   border: 6 6 6 0;
21215                }
21216             }
21217             description { state: "selected" 0.0;
21218                inherit: "default" 0.0;
21219                visible: 1;
21220                color: 255 255 255 255;
21221             }
21222          }
21223          part { name: "disclip";
21224             type: RECT;
21225             description { state: "default" 0.0;
21226                rel1.to: "bg";
21227                rel2.to: "bg";
21228             }
21229             description { state: "disabled" 0.0;
21230                inherit: "default" 0.0;
21231                color: 255 255 255 64;
21232             }
21233          }
21234       }
21235       programs {
21236          // signal: elm,state,%s,active
21237          //   a "check" item named %s went active
21238          // signal: elm,state,%s,passive
21239          //   a "check" item named %s went passive
21240          // default is passive
21241          program {
21242             name:    "go_active";
21243             signal:  "elm,state,selected";
21244             source:  "elm";
21245             action:  STATE_SET "selected" 0.0;
21246             target:  "bg";
21247             target:  "fg1";
21248             target:  "fg2";
21249             target:  "elm.text";
21250             target:  "elm.text.sub";
21251          }
21252          program {
21253             name:    "go_passive";
21254             signal:  "elm,state,unselected";
21255             source:  "elm";
21256             action:  STATE_SET "default" 0.0;
21257             target:  "bg";
21258             target:  "fg1";
21259             target:  "fg2";
21260             target:  "elm.text";
21261             target:  "elm.text.sub";
21262             transition: LINEAR 0.1;
21263          }
21264          program {
21265             name:    "go_disabled";
21266             signal:  "elm,state,disabled";
21267             source:  "elm";
21268             action:  STATE_SET "disabled" 0.0;
21269             target:  "disclip";
21270          }
21271          program {
21272             name:    "go_enabled";
21273             signal:  "elm,state,enabled";
21274             source:  "elm";
21275             action:  STATE_SET "default" 0.0;
21276             target:  "disclip";
21277          }
21278       }
21279    }
21280
21281    group { name: "elm/genlist/tree/double_label/default";
21282       data.item: "stacking" "above";
21283       data.item: "selectraise" "on";
21284       data.item: "labels" "elm.text elm.text.sub";
21285       data.item: "icons" "elm.swallow.icon elm.swallow.end";
21286       data.item: "treesize" "20";
21287 //      data.item: "states" "";
21288       images {
21289          image: "bt_sm_base1.png" COMP;
21290          image: "bt_sm_shine.png" COMP;
21291          image: "bt_sm_hilight.png" COMP;
21292          image: "ilist_1.png" COMP;
21293          image: "ilist_item_shadow.png" COMP;
21294          image: "icon_arrow_right.png" COMP;
21295          image: "icon_arrow_down.png" COMP;
21296       }
21297       parts {
21298          part {
21299             name:           "event";
21300             type:           RECT;
21301             repeat_events: 1;
21302             description {
21303                state: "default" 0.0;
21304                color: 0 0 0 0;
21305             }
21306          }
21307          part {
21308             name: "base_sh";
21309             mouse_events: 0;
21310             description {
21311                state: "default" 0.0;
21312                align: 0.0 0.0;
21313                min: 0 10;
21314                fixed: 1 1;
21315                rel1 {
21316                   to: "base";
21317                   relative: 0.0 1.0;
21318                   offset: 0 0;
21319                }
21320                rel2 {
21321                   to: "base";
21322                   relative: 1.0 1.0;
21323                   offset: -1 0;
21324                }
21325                image {
21326                   normal: "ilist_item_shadow.png";
21327                }
21328                fill.smooth: 0;
21329             }
21330          }
21331          part {
21332             name: "base";
21333             mouse_events: 0;
21334             description {
21335                state: "default" 0.0;
21336                image {
21337                   normal: "ilist_1.png";
21338                   border: 2 2 2 2;
21339                }
21340                fill.smooth: 0;
21341             }
21342          }
21343          part { name: "bg";
21344             clip_to: "disclip";
21345             mouse_events: 0;
21346             description { state: "default" 0.0;
21347                visible: 0;
21348                color: 255 255 255 0;
21349                rel1 {
21350                   relative: 0.0 0.0;
21351                   offset: -5 -5;
21352                }
21353                rel2 {
21354                   relative: 1.0 1.0;
21355                   offset: 4 4;
21356                }
21357                image {
21358                   normal: "bt_sm_base1.png";
21359                   border: 6 6 6 6;
21360                }
21361                image.middle: SOLID;
21362             }
21363             description { state: "selected" 0.0;
21364                inherit: "default" 0.0;
21365                visible: 1;
21366                color: 255 255 255 255;
21367                rel1 {
21368                   relative: 0.0 0.0;
21369                   offset: -2 -2;
21370                }
21371                rel2 {
21372                   relative: 1.0 1.0;
21373                   offset: 1 1;
21374                }
21375             }
21376          }
21377          part { name: "elm.swallow.pad";
21378             type: SWALLOW;
21379             description { state: "default" 0.0;
21380                fixed: 1 0;
21381                align: 0.0 0.5;
21382                rel1 {
21383                   relative: 0.0  0.0;
21384                   offset:   4    4;
21385                }
21386                rel2 {
21387                   relative: 0.0  1.0;
21388                   offset:   4   -5;
21389                }
21390             }
21391          }
21392          part { name: "arrow";
21393             clip_to: "disclip";
21394             ignore_flags: ON_HOLD;
21395             description { state: "default" 0.0;
21396                fixed: 1 0;
21397                align: 0.0 0.5;
21398                aspect: 1.0 1.0;
21399                rel1 {
21400                   to_x: "elm.swallow.pad";
21401                   relative: 1.0  0.0;
21402                   offset:   -1    4;
21403                }
21404                rel2 {
21405                   to_x: "elm.swallow.pad";
21406                   relative: 1.0  1.0;
21407                   offset:   -1   -5;
21408                }
21409                image.normal: "icon_arrow_right.png";
21410             }
21411             description { state: "active" 0.0;
21412                inherit: "default" 0.0;
21413                image.normal: "icon_arrow_down.png";
21414             }
21415          }
21416          part { name: "elm.swallow.icon";
21417             clip_to: "disclip";
21418             type: SWALLOW;
21419             description { state: "default" 0.0;
21420                fixed: 1 0;
21421                align: 0.0 0.5;
21422                rel1 {
21423                   to_x: "arrow";
21424                   relative: 1.0  0.0;
21425                   offset:   4    4;
21426                }
21427                rel2 {
21428                   to_x: "arrow";
21429                   relative: 1.0  1.0;
21430                   offset:   4   -5;
21431                }
21432             }
21433          }
21434          part { name: "elm.swallow.end";
21435             clip_to: "disclip";
21436             type: SWALLOW;
21437             description { state: "default" 0.0;
21438                fixed: 1 0;
21439                align: 1.0 0.5;
21440                aspect: 1.0 1.0;
21441                aspect_preference: VERTICAL;
21442                rel1 {
21443                   relative: 1.0  0.0;
21444                   offset:   -5    4;
21445                }
21446                rel2 {
21447                   relative: 1.0  1.0;
21448                   offset:   -5   -5;
21449                }
21450             }
21451          }
21452          part { name: "elm.text";
21453             clip_to: "disclip";
21454             type:           TEXT;
21455             effect:         SOFT_SHADOW;
21456             mouse_events:   0;
21457             scale: 1;
21458             description {
21459                state: "default" 0.0;
21460 //               min: 16 16;
21461                rel1 {
21462                   to_x:     "elm.swallow.icon";
21463                   relative: 1.0  0.0;
21464                   offset:   0 4;
21465                }
21466                rel2 {
21467                   to_x:     "elm.swallow.end";
21468                   relative: 0.0  0.5;
21469                   offset:   -1 -5;
21470                }
21471                color: 0 0 0 255;
21472                color3: 0 0 0 0;
21473                text {
21474                   font: "Sans";
21475                   size: 10;
21476                   min: 1 1;
21477 //                  min: 0 1;
21478                   align: 0.0 0.5;
21479                   text_class: "list_item";
21480                }
21481             }
21482             description { state: "selected" 0.0;
21483                inherit: "default" 0.0;
21484                color: 224 224 224 255;
21485                color3: 0 0 0 64;
21486             }
21487          }
21488          part { name: "elm.text.sub";
21489             clip_to: "disclip";
21490             type:           TEXT;
21491             mouse_events:   0;
21492             scale: 1;
21493             description {
21494                state: "default" 0.0;
21495 //               min: 16 16;
21496                rel1 {
21497                   to_x:     "elm.swallow.icon";
21498                   relative: 1.0  0.5;
21499                   offset:   0 4;
21500                }
21501                rel2 {
21502                   to_x:     "elm.swallow.end";
21503                   relative: 0.0  1.0;
21504                   offset:   -1 -5;
21505                }
21506                color: 0 0 0 128;
21507                color3: 0 0 0 0;
21508                text {
21509                   font: "Sans";
21510                   size: 8;
21511                   min: 1 1;
21512 //                  min: 0 1;
21513                   align: 0.0 0.5;
21514                   text_class: "list_item";
21515                }
21516             }
21517             description { state: "selected" 0.0;
21518                inherit: "default" 0.0;
21519                color: 128 128 128 255;
21520                color3: 0 0 0 32;
21521             }
21522          }
21523          part { name: "fg1";
21524             clip_to: "disclip";
21525             mouse_events: 0;
21526             description { state: "default" 0.0;
21527                visible: 0;
21528                color: 255 255 255 0;
21529                rel1.to: "bg";
21530                rel2.relative: 1.0 0.5;
21531                rel2.to: "bg";
21532                image {
21533                   normal: "bt_sm_hilight.png";
21534                   border: 6 6 6 0;
21535                }
21536             }
21537             description { state: "selected" 0.0;
21538                inherit: "default" 0.0;
21539                visible: 1;
21540                color: 255 255 255 255;
21541             }
21542          }
21543          part { name: "fg2";
21544             clip_to: "disclip";
21545             mouse_events: 0;
21546             description { state: "default" 0.0;
21547                visible: 0;
21548                color: 255 255 255 0;
21549                rel1.to: "bg";
21550                rel2.to: "bg";
21551                image {
21552                   normal: "bt_sm_shine.png";
21553                   border: 6 6 6 0;
21554                }
21555             }
21556             description { state: "selected" 0.0;
21557                inherit: "default" 0.0;
21558                visible: 1;
21559                color: 255 255 255 255;
21560             }
21561          }
21562          part { name: "disclip";
21563             type: RECT;
21564             description { state: "default" 0.0;
21565                rel1.to: "bg";
21566                rel2.to: "bg";
21567             }
21568             description { state: "disabled" 0.0;
21569                inherit: "default" 0.0;
21570                color: 255 255 255 64;
21571             }
21572          }
21573       }
21574       programs {
21575          // signal: elm,state,%s,active
21576          //   a "check" item named %s went active
21577          // signal: elm,state,%s,passive
21578          //   a "check" item named %s went passive
21579          // default is passive
21580          program {
21581             name:    "go_active";
21582             signal:  "elm,state,selected";
21583             source:  "elm";
21584             action:  STATE_SET "selected" 0.0;
21585             target:  "bg";
21586             target:  "fg1";
21587             target:  "fg2";
21588             target:  "elm.text";
21589             target:  "elm.text.sub";
21590          }
21591          program {
21592             name:    "go_passive";
21593             signal:  "elm,state,unselected";
21594             source:  "elm";
21595             action:  STATE_SET "default" 0.0;
21596             target:  "bg";
21597             target:  "fg1";
21598             target:  "fg2";
21599             target:  "elm.text";
21600             target:  "elm.text.sub";
21601             transition: LINEAR 0.1;
21602          }
21603          program {
21604             name:    "go_disabled";
21605             signal:  "elm,state,disabled";
21606             source:  "elm";
21607             action:  STATE_SET "disabled" 0.0;
21608             target:  "disclip";
21609          }
21610          program {
21611             name:    "go_enabled";
21612             signal:  "elm,state,enabled";
21613             source:  "elm";
21614             action:  STATE_SET "default" 0.0;
21615             target:  "disclip";
21616          }
21617          program {
21618             name:    "expand";
21619             signal:  "mouse,up,1";
21620             source:  "arrow";
21621             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
21622          }
21623          program {
21624             name:    "go_expanded";
21625             signal:  "elm,state,expanded";
21626             source:  "elm";
21627             action:  STATE_SET "active" 0.0;
21628             target:  "arrow";
21629          }
21630          program {
21631             name:    "go_contracted";
21632             signal:  "elm,state,contracted";
21633             source:  "elm";
21634             action:  STATE_SET "default" 0.0;
21635             target:  "arrow";
21636          }
21637       }
21638    }
21639    group { name: "elm/genlist/tree_compress/double_label/default";
21640       data.item: "stacking" "above";
21641       data.item: "selectraise" "on";
21642       data.item: "labels" "elm.text elm.text.sub";
21643       data.item: "icons" "elm.swallow.icon elm.swallow.end";
21644       data.item: "treesize" "20";
21645 //      data.item: "states" "";
21646       images {
21647          image: "bt_sm_base1.png" COMP;
21648          image: "bt_sm_shine.png" COMP;
21649          image: "bt_sm_hilight.png" COMP;
21650          image: "ilist_1.png" COMP;
21651          image: "ilist_item_shadow.png" COMP;
21652          image: "icon_arrow_right.png" COMP;
21653          image: "icon_arrow_down.png" COMP;
21654       }
21655       parts {
21656          part {
21657             name:           "event";
21658             type:           RECT;
21659             repeat_events: 1;
21660             description {
21661                state: "default" 0.0;
21662                color: 0 0 0 0;
21663             }
21664          }
21665          part {
21666             name: "base_sh";
21667             mouse_events: 0;
21668             description {
21669                state: "default" 0.0;
21670                align: 0.0 0.0;
21671                min: 0 10;
21672                fixed: 1 1;
21673                rel1 {
21674                   to: "base";
21675                   relative: 0.0 1.0;
21676                   offset: 0 0;
21677                }
21678                rel2 {
21679                   to: "base";
21680                   relative: 1.0 1.0;
21681                   offset: -1 0;
21682                }
21683                image {
21684                   normal: "ilist_item_shadow.png";
21685                }
21686                fill.smooth: 0;
21687             }
21688          }
21689          part {
21690             name: "base";
21691             mouse_events: 0;
21692             description {
21693                state: "default" 0.0;
21694                image {
21695                   normal: "ilist_1.png";
21696                   border: 2 2 2 2;
21697                }
21698                fill.smooth: 0;
21699             }
21700          }
21701          part { name: "bg";
21702             clip_to: "disclip";
21703             mouse_events: 0;
21704             description { state: "default" 0.0;
21705                visible: 0;
21706                color: 255 255 255 0;
21707                rel1 {
21708                   relative: 0.0 0.0;
21709                   offset: -5 -5;
21710                }
21711                rel2 {
21712                   relative: 1.0 1.0;
21713                   offset: 4 4;
21714                }
21715                image {
21716                   normal: "bt_sm_base1.png";
21717                   border: 6 6 6 6;
21718                }
21719                image.middle: SOLID;
21720             }
21721             description { state: "selected" 0.0;
21722                inherit: "default" 0.0;
21723                visible: 1;
21724                color: 255 255 255 255;
21725                rel1 {
21726                   relative: 0.0 0.0;
21727                   offset: -2 -2;
21728                }
21729                rel2 {
21730                   relative: 1.0 1.0;
21731                   offset: 1 1;
21732                }
21733             }
21734          }
21735          part { name: "elm.swallow.pad";
21736             type: SWALLOW;
21737             description { state: "default" 0.0;
21738                fixed: 1 0;
21739                align: 0.0 0.5;
21740                rel1 {
21741                   relative: 0.0  0.0;
21742                   offset:   4    4;
21743                }
21744                rel2 {
21745                   relative: 0.0  1.0;
21746                   offset:   4   -5;
21747                }
21748             }
21749          }
21750          part { name: "arrow";
21751             clip_to: "disclip";
21752             ignore_flags: ON_HOLD;
21753             description { state: "default" 0.0;
21754                fixed: 1 0;
21755                align: 0.0 0.5;
21756                aspect: 1.0 1.0;
21757                rel1 {
21758                   to_x: "elm.swallow.pad";
21759                   relative: 1.0  0.0;
21760                   offset:   -1    4;
21761                }
21762                rel2 {
21763                   to_x: "elm.swallow.pad";
21764                   relative: 1.0  1.0;
21765                   offset:   -1   -5;
21766                }
21767                image.normal: "icon_arrow_right.png";
21768             }
21769             description { state: "active" 0.0;
21770                inherit: "default" 0.0;
21771                image.normal: "icon_arrow_down.png";
21772             }
21773          }
21774          part { name: "elm.swallow.icon";
21775             clip_to: "disclip";
21776             type: SWALLOW;
21777             description { state: "default" 0.0;
21778                fixed: 1 0;
21779                align: 0.0 0.5;
21780                rel1 {
21781                   to_x: "arrow";
21782                   relative: 1.0  0.0;
21783                   offset:   4    4;
21784                }
21785                rel2 {
21786                   to_x: "arrow";
21787                   relative: 1.0  1.0;
21788                   offset:   4   -5;
21789                }
21790             }
21791          }
21792          part { name: "elm.swallow.end";
21793             clip_to: "disclip";
21794             type: SWALLOW;
21795             description { state: "default" 0.0;
21796                fixed: 1 0;
21797                align: 1.0 0.5;
21798                aspect: 1.0 1.0;
21799                aspect_preference: VERTICAL;
21800                rel1 {
21801                   relative: 1.0  0.0;
21802                   offset:   -5    4;
21803                }
21804                rel2 {
21805                   relative: 1.0  1.0;
21806                   offset:   -5   -5;
21807                }
21808             }
21809          }
21810          part { name: "elm.text";
21811             clip_to: "disclip";
21812             type:           TEXT;
21813             effect:         SOFT_SHADOW;
21814             mouse_events:   0;
21815             scale: 1;
21816             description {
21817                state: "default" 0.0;
21818 //               min: 16 16;
21819                rel1 {
21820                   to_x:     "elm.swallow.icon";
21821                   relative: 1.0  0.0;
21822                   offset:   0 4;
21823                }
21824                rel2 {
21825                   to_x:     "elm.swallow.end";
21826                   relative: 0.0  0.5;
21827                   offset:   -1 -5;
21828                }
21829                color: 0 0 0 255;
21830                color3: 0 0 0 0;
21831                text {
21832                   font: "Sans";
21833                   size: 10;
21834 //                  min: 1 1;
21835                   min: 0 1;
21836                   align: 0.0 0.5;
21837                   text_class: "list_item";
21838                }
21839             }
21840             description { state: "selected" 0.0;
21841                inherit: "default" 0.0;
21842                color: 224 224 224 255;
21843                color3: 0 0 0 64;
21844             }
21845          }
21846          part { name: "elm.text.sub";
21847             clip_to: "disclip";
21848             type:           TEXT;
21849             mouse_events:   0;
21850             scale: 1;
21851             description {
21852                state: "default" 0.0;
21853 //               min: 16 16;
21854                rel1 {
21855                   to_x:     "elm.swallow.icon";
21856                   relative: 1.0  0.5;
21857                   offset:   0 4;
21858                }
21859                rel2 {
21860                   to_x:     "elm.swallow.end";
21861                   relative: 0.0  1.0;
21862                   offset:   -1 -5;
21863                }
21864                color: 0 0 0 128;
21865                color3: 0 0 0 0;
21866                text {
21867                   font: "Sans";
21868                   size: 8;
21869 //                  min: 1 1;
21870                   min: 0 1;
21871                   align: 0.0 0.5;
21872                   text_class: "list_item";
21873                }
21874             }
21875             description { state: "selected" 0.0;
21876                inherit: "default" 0.0;
21877                color: 128 128 128 255;
21878                color3: 0 0 0 32;
21879             }
21880          }
21881          part { name: "fg1";
21882             clip_to: "disclip";
21883             mouse_events: 0;
21884             description { state: "default" 0.0;
21885                visible: 0;
21886                color: 255 255 255 0;
21887                rel1.to: "bg";
21888                rel2.relative: 1.0 0.5;
21889                rel2.to: "bg";
21890                image {
21891                   normal: "bt_sm_hilight.png";
21892                   border: 6 6 6 0;
21893                }
21894             }
21895             description { state: "selected" 0.0;
21896                inherit: "default" 0.0;
21897                visible: 1;
21898                color: 255 255 255 255;
21899             }
21900          }
21901          part { name: "fg2";
21902             clip_to: "disclip";
21903             mouse_events: 0;
21904             description { state: "default" 0.0;
21905                visible: 0;
21906                color: 255 255 255 0;
21907                rel1.to: "bg";
21908                rel2.to: "bg";
21909                image {
21910                   normal: "bt_sm_shine.png";
21911                   border: 6 6 6 0;
21912                }
21913             }
21914             description { state: "selected" 0.0;
21915                inherit: "default" 0.0;
21916                visible: 1;
21917                color: 255 255 255 255;
21918             }
21919          }
21920          part { name: "disclip";
21921             type: RECT;
21922             description { state: "default" 0.0;
21923                rel1.to: "bg";
21924                rel2.to: "bg";
21925             }
21926             description { state: "disabled" 0.0;
21927                inherit: "default" 0.0;
21928                color: 255 255 255 64;
21929             }
21930          }
21931       }
21932       programs {
21933          // signal: elm,state,%s,active
21934          //   a "check" item named %s went active
21935          // signal: elm,state,%s,passive
21936          //   a "check" item named %s went passive
21937          // default is passive
21938          program {
21939             name:    "go_active";
21940             signal:  "elm,state,selected";
21941             source:  "elm";
21942             action:  STATE_SET "selected" 0.0;
21943             target:  "bg";
21944             target:  "fg1";
21945             target:  "fg2";
21946             target:  "elm.text";
21947             target:  "elm.text.sub";
21948          }
21949          program {
21950             name:    "go_passive";
21951             signal:  "elm,state,unselected";
21952             source:  "elm";
21953             action:  STATE_SET "default" 0.0;
21954             target:  "bg";
21955             target:  "fg1";
21956             target:  "fg2";
21957             target:  "elm.text";
21958             target:  "elm.text.sub";
21959             transition: LINEAR 0.1;
21960          }
21961          program {
21962             name:    "go_disabled";
21963             signal:  "elm,state,disabled";
21964             source:  "elm";
21965             action:  STATE_SET "disabled" 0.0;
21966             target:  "disclip";
21967          }
21968          program {
21969             name:    "go_enabled";
21970             signal:  "elm,state,enabled";
21971             source:  "elm";
21972             action:  STATE_SET "default" 0.0;
21973             target:  "disclip";
21974          }
21975          program {
21976             name:    "expand";
21977             signal:  "mouse,up,1";
21978             source:  "arrow";
21979             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
21980          }
21981          program {
21982             name:    "go_expanded";
21983             signal:  "elm,state,expanded";
21984             source:  "elm";
21985             action:  STATE_SET "active" 0.0;
21986             target:  "arrow";
21987          }
21988          program {
21989             name:    "go_contracted";
21990             signal:  "elm,state,contracted";
21991             source:  "elm";
21992             action:  STATE_SET "default" 0.0;
21993             target:  "arrow";
21994          }
21995       }
21996    }
21997    group { name: "elm/genlist/tree_odd/double_label/default";
21998       data.item: "stacking" "below";
21999       data.item: "selectraise" "on";
22000       data.item: "labels" "elm.text elm.text.sub";
22001       data.item: "icons" "elm.swallow.icon elm.swallow.end";
22002       data.item: "treesize" "20";
22003 //      data.item: "states" "";
22004       images {
22005          image: "bt_sm_base1.png" COMP;
22006          image: "bt_sm_shine.png" COMP;
22007          image: "bt_sm_hilight.png" COMP;
22008          image: "ilist_2.png" COMP;
22009          image: "icon_arrow_right.png" COMP;
22010          image: "icon_arrow_down.png" COMP;
22011       }
22012       parts {
22013          part {
22014             name:           "event";
22015             type:           RECT;
22016             repeat_events: 1;
22017             description {
22018                state: "default" 0.0;
22019                color: 0 0 0 0;
22020             }
22021          }
22022          part {
22023             name: "base";
22024             mouse_events: 0;
22025             description {
22026                state: "default" 0.0;
22027                image {
22028                   normal: "ilist_2.png";
22029                   border: 2 2 2 2;
22030                }
22031                fill.smooth: 0;
22032             }
22033          }
22034          part { name: "bg";
22035             clip_to: "disclip";
22036             mouse_events: 0;
22037             description { state: "default" 0.0;
22038                visible: 0;
22039                color: 255 255 255 0;
22040                rel1 {
22041                   relative: 0.0 0.0;
22042                   offset: -5 -5;
22043                }
22044                rel2 {
22045                   relative: 1.0 1.0;
22046                   offset: 4 4;
22047                }
22048                image {
22049                   normal: "bt_sm_base1.png";
22050                   border: 6 6 6 6;
22051                }
22052                image.middle: SOLID;
22053             }
22054             description { state: "selected" 0.0;
22055                inherit: "default" 0.0;
22056                visible: 1;
22057                color: 255 255 255 255;
22058                rel1 {
22059                   relative: 0.0 0.0;
22060                   offset: -2 -2;
22061                }
22062                rel2 {
22063                   relative: 1.0 1.0;
22064                   offset: 1 1;
22065                }
22066             }
22067          }
22068          part { name: "elm.swallow.pad";
22069             type: SWALLOW;
22070             description { state: "default" 0.0;
22071                fixed: 1 0;
22072                align: 0.0 0.5;
22073                rel1 {
22074                   relative: 0.0  0.0;
22075                   offset:   4    4;
22076                }
22077                rel2 {
22078                   relative: 0.0  1.0;
22079                   offset:   4   -5;
22080                }
22081             }
22082          }
22083          part { name: "arrow";
22084             clip_to: "disclip";
22085             ignore_flags: ON_HOLD;
22086             description { state: "default" 0.0;
22087                fixed: 1 0;
22088                align: 0.0 0.5;
22089                aspect: 1.0 1.0;
22090                rel1 {
22091                   to_x: "elm.swallow.pad";
22092                   relative: 1.0  0.0;
22093                   offset:   -1    4;
22094                }
22095                rel2 {
22096                   to_x: "elm.swallow.pad";
22097                   relative: 1.0  1.0;
22098                   offset:   -1   -5;
22099                }
22100                image.normal: "icon_arrow_right.png";
22101             }
22102             description { state: "active" 0.0;
22103                inherit: "default" 0.0;
22104                image.normal: "icon_arrow_down.png";
22105             }
22106          }
22107          part { name: "elm.swallow.icon";
22108             clip_to: "disclip";
22109             type: SWALLOW;
22110             description { state: "default" 0.0;
22111                fixed: 1 0;
22112                align: 0.0 0.5;
22113                rel1 {
22114                   to_x: "arrow";
22115                   relative: 1.0  0.0;
22116                   offset:   4    4;
22117                }
22118                rel2 {
22119                   to_x: "arrow";
22120                   relative: 1.0  1.0;
22121                   offset:   4   -5;
22122                }
22123             }
22124          }
22125          part { name: "elm.swallow.end";
22126             clip_to: "disclip";
22127             type: SWALLOW;
22128             description { state: "default" 0.0;
22129                fixed: 1 0;
22130                align: 1.0 0.5;
22131                aspect: 1.0 1.0;
22132                aspect_preference: VERTICAL;
22133                rel1 {
22134                   relative: 1.0  0.0;
22135                   offset:   -5    4;
22136                }
22137                rel2 {
22138                   relative: 1.0  1.0;
22139                   offset:   -5   -5;
22140                }
22141             }
22142          }
22143          part { name: "elm.text";
22144             clip_to: "disclip";
22145             type:           TEXT;
22146             effect:         SOFT_SHADOW;
22147             mouse_events:   0;
22148             scale: 1;
22149             description {
22150                state: "default" 0.0;
22151 //               min: 16 16;
22152                rel1 {
22153                   to_x:     "elm.swallow.icon";
22154                   relative: 1.0  0.0;
22155                   offset:   0 4;
22156                }
22157                rel2 {
22158                   to_x:     "elm.swallow.end";
22159                   relative: 0.0  0.5;
22160                   offset:   -1 -5;
22161                }
22162                color: 0 0 0 255;
22163                color3: 0 0 0 0;
22164                text {
22165                   font: "Sans";
22166                   size: 10;
22167                   min: 1 1;
22168 //                  min: 0 1;
22169                   align: 0.0 0.5;
22170                   text_class: "list_item";
22171                }
22172             }
22173             description { state: "selected" 0.0;
22174                inherit: "default" 0.0;
22175                color: 224 224 224 255;
22176                color3: 0 0 0 64;
22177             }
22178          }
22179          part { name: "elm.text.sub";
22180             clip_to: "disclip";
22181             type:           TEXT;
22182             mouse_events:   0;
22183             scale: 1;
22184             description {
22185                state: "default" 0.0;
22186 //               min: 16 16;
22187                rel1 {
22188                   to_x:     "elm.swallow.icon";
22189                   relative: 1.0  0.5;
22190                   offset:   0 4;
22191                }
22192                rel2 {
22193                   to_x:     "elm.swallow.end";
22194                   relative: 0.0  1.0;
22195                   offset:   -1 -5;
22196                }
22197                color: 0 0 0 128;
22198                color3: 0 0 0 0;
22199                text {
22200                   font: "Sans";
22201                   size: 8;
22202                   min: 1 1;
22203 //                  min: 0 1;
22204                   align: 0.0 0.5;
22205                   text_class: "list_item";
22206                }
22207             }
22208             description { state: "selected" 0.0;
22209                inherit: "default" 0.0;
22210                color: 128 128 128 255;
22211                color3: 0 0 0 32;
22212             }
22213          }
22214          part { name: "fg1";
22215             clip_to: "disclip";
22216             mouse_events: 0;
22217             description { state: "default" 0.0;
22218                visible: 0;
22219                color: 255 255 255 0;
22220                rel1.to: "bg";
22221                rel2.relative: 1.0 0.5;
22222                rel2.to: "bg";
22223                image {
22224                   normal: "bt_sm_hilight.png";
22225                   border: 6 6 6 0;
22226                }
22227             }
22228             description { state: "selected" 0.0;
22229                inherit: "default" 0.0;
22230                visible: 1;
22231                color: 255 255 255 255;
22232             }
22233          }
22234          part { name: "fg2";
22235             clip_to: "disclip";
22236             mouse_events: 0;
22237             description { state: "default" 0.0;
22238                visible: 0;
22239                color: 255 255 255 0;
22240                rel1.to: "bg";
22241                rel2.to: "bg";
22242                image {
22243                   normal: "bt_sm_shine.png";
22244                   border: 6 6 6 0;
22245                }
22246             }
22247             description { state: "selected" 0.0;
22248                inherit: "default" 0.0;
22249                visible: 1;
22250                color: 255 255 255 255;
22251             }
22252          }
22253          part { name: "disclip";
22254             type: RECT;
22255             description { state: "default" 0.0;
22256                rel1.to: "bg";
22257                rel2.to: "bg";
22258             }
22259             description { state: "disabled" 0.0;
22260                inherit: "default" 0.0;
22261                color: 255 255 255 64;
22262             }
22263          }
22264       }
22265       programs {
22266          // signal: elm,state,%s,active
22267          //   a "check" item named %s went active
22268          // signal: elm,state,%s,passive
22269          //   a "check" item named %s went passive
22270          // default is passive
22271          program {
22272             name:    "go_active";
22273             signal:  "elm,state,selected";
22274             source:  "elm";
22275             action:  STATE_SET "selected" 0.0;
22276             target:  "bg";
22277             target:  "fg1";
22278             target:  "fg2";
22279             target:  "elm.text";
22280             target:  "elm.text.sub";
22281          }
22282          program {
22283             name:    "go_passive";
22284             signal:  "elm,state,unselected";
22285             source:  "elm";
22286             action:  STATE_SET "default" 0.0;
22287             target:  "bg";
22288             target:  "fg1";
22289             target:  "fg2";
22290             target:  "elm.text";
22291             target:  "elm.text.sub";
22292             transition: LINEAR 0.1;
22293          }
22294          program {
22295             name:    "go_disabled";
22296             signal:  "elm,state,disabled";
22297             source:  "elm";
22298             action:  STATE_SET "disabled" 0.0;
22299             target:  "disclip";
22300          }
22301          program {
22302             name:    "go_enabled";
22303             signal:  "elm,state,enabled";
22304             source:  "elm";
22305             action:  STATE_SET "default" 0.0;
22306             target:  "disclip";
22307          }
22308          program {
22309             name:    "expand";
22310             signal:  "mouse,up,1";
22311             source:  "arrow";
22312             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
22313          }
22314          program {
22315             name:    "go_expanded";
22316             signal:  "elm,state,expanded";
22317             source:  "elm";
22318             action:  STATE_SET "active" 0.0;
22319             target:  "arrow";
22320          }
22321          program {
22322             name:    "go_contracted";
22323             signal:  "elm,state,contracted";
22324             source:  "elm";
22325             action:  STATE_SET "default" 0.0;
22326             target:  "arrow";
22327          }
22328       }
22329    }
22330
22331    group { name: "elm/genlist/item/icon_top_text_bottom/default";
22332       data.item: "stacking" "above";
22333       data.item: "selectraise" "on";
22334       data.item: "labels" "elm.text";
22335       data.item: "icons" "elm.swallow.icon";
22336       data.item: "treesize" "20";
22337 //      data.item: "states" "";
22338       images {
22339          image: "bt_sm_base1.png" COMP;
22340          image: "bt_sm_shine.png" COMP;
22341          image: "bt_sm_hilight.png" COMP;
22342          image: "ilist_1.png" COMP;
22343          image: "ilist_item_shadow.png" COMP;
22344       }
22345       parts {
22346          part {
22347             name:           "event";
22348             type:           RECT;
22349             repeat_events: 1;
22350             description {
22351                state: "default" 0.0;
22352                color: 0 0 0 0;
22353             }
22354          }
22355          part {
22356             name: "base_sh";
22357             mouse_events: 0;
22358             description {
22359                state: "default" 0.0;
22360                align: 0.0 0.0;
22361                min: 0 10;
22362                fixed: 1 1;
22363                rel1 {
22364                   to: "base";
22365                   relative: 0.0 1.0;
22366                   offset: 0 0;
22367                }
22368                rel2 {
22369                   to: "base";
22370                   relative: 1.0 1.0;
22371                   offset: -1 0;
22372                }
22373                image {
22374                   normal: "ilist_item_shadow.png";
22375                }
22376                fill.smooth: 0;
22377             }
22378          }
22379          part {
22380             name: "base";
22381             mouse_events: 0;
22382             description {
22383                state: "default" 0.0;
22384                image {
22385                   normal: "ilist_1.png";
22386                   border: 2 2 2 2;
22387                }
22388                fill.smooth: 0;
22389             }
22390          }
22391          part { name: "bg";
22392             clip_to: "disclip";
22393             mouse_events: 0;
22394             description { state: "default" 0.0;
22395                visible: 0;
22396                color: 255 255 255 0;
22397                rel1 {
22398                   relative: 0.0 0.0;
22399                   offset: -5 -5;
22400                }
22401                rel2 {
22402                   relative: 1.0 1.0;
22403                   offset: 4 4;
22404                }
22405                image {
22406                   normal: "bt_sm_base1.png";
22407                   border: 6 6 6 6;
22408                }
22409                image.middle: SOLID;
22410             }
22411             description { state: "selected" 0.0;
22412                inherit: "default" 0.0;
22413                visible: 1;
22414                color: 255 255 255 255;
22415                rel1 {
22416                   relative: 0.0 0.0;
22417                   offset: -2 -2;
22418                }
22419                rel2 {
22420                   relative: 1.0 1.0;
22421                   offset: 1 1;
22422                }
22423             }
22424          }
22425          part { name: "elm.swallow.pad";
22426             type: SWALLOW;
22427             description { state: "default" 0.0;
22428                fixed: 1 0;
22429                align: 0.0 0.5;
22430                rel1 {
22431                   relative: 0.0  0.0;
22432                   offset:   4    4;
22433                }
22434                rel2 {
22435                   relative: 1.0  1.0;
22436                   offset:   -4   -5;
22437                }
22438             }
22439          }
22440          part { name: "elm.swallow.icon";
22441             clip_to: "disclip";
22442             type: SWALLOW;
22443             description { state: "default" 0.0;
22444                fixed: 1 0;
22445                align: 0.5 0.5;
22446                rel1 {
22447                   to_x: "elm.swallow.pad";
22448                   relative: 0.0  0.0;
22449                   offset:   -1    4;
22450                }
22451                rel2 {
22452                   to_x: "elm.swallow.pad";
22453                   relative: 1.0  1.0;
22454                   offset:   -1   -5;
22455                }
22456             }
22457          }
22458          part { name: "elm.text";
22459             clip_to: "disclip";
22460             type:           TEXT;
22461             effect:         SOFT_SHADOW;
22462             mouse_events:   0;
22463             scale: 1;
22464             description {
22465                state: "default" 0.0;
22466 //               min: 16 16;
22467                rel1 {
22468                   to_y:     "elm.swallow.icon";
22469                   relative: 0.0  1.0;
22470                   offset:   0 4;
22471                }
22472                rel2 {
22473                   relative: 1.0  1.0;
22474                   offset:   -5 -5;
22475                }
22476                color: 0 0 0 255;
22477                color3: 0 0 0 0;
22478                text {
22479                   font: "Sans";
22480                   size: 10;
22481                   min: 1 1;
22482 //                  min: 0 1;
22483                   align: 0.5 0.5;
22484                   text_class: "list_item";
22485                }
22486             }
22487             description { state: "selected" 0.0;
22488                inherit: "default" 0.0;
22489                color: 224 224 224 255;
22490                color3: 0 0 0 64;
22491             }
22492          }
22493          part { name: "fg1";
22494             clip_to: "disclip";
22495             mouse_events: 0;
22496             description { state: "default" 0.0;
22497                visible: 0;
22498                color: 255 255 255 0;
22499                rel1.to: "bg";
22500                rel2.relative: 1.0 0.5;
22501                rel2.to: "bg";
22502                image {
22503                   normal: "bt_sm_hilight.png";
22504                   border: 6 6 6 0;
22505                }
22506             }
22507             description { state: "selected" 0.0;
22508                inherit: "default" 0.0;
22509                visible: 1;
22510                color: 255 255 255 255;
22511             }
22512          }
22513          part { name: "fg2";
22514             clip_to: "disclip";
22515             mouse_events: 0;
22516             description { state: "default" 0.0;
22517                visible: 0;
22518                color: 255 255 255 0;
22519                rel1.to: "bg";
22520                rel2.to: "bg";
22521                image {
22522                   normal: "bt_sm_shine.png";
22523                   border: 6 6 6 0;
22524                }
22525             }
22526             description { state: "selected" 0.0;
22527                inherit: "default" 0.0;
22528                visible: 1;
22529                color: 255 255 255 255;
22530             }
22531          }
22532          part { name: "disclip";
22533             type: RECT;
22534             description { state: "default" 0.0;
22535                rel1.to: "bg";
22536                rel2.to: "bg";
22537             }
22538             description { state: "disabled" 0.0;
22539                inherit: "default" 0.0;
22540                color: 255 255 255 64;
22541             }
22542          }
22543       }
22544       programs {
22545          // signal: elm,state,%s,active
22546          //   a "check" item named %s went active
22547          // signal: elm,state,%s,passive
22548          //   a "check" item named %s went passive
22549          // default is passive
22550          program {
22551             name:    "go_active";
22552             signal:  "elm,state,selected";
22553             source:  "elm";
22554             action:  STATE_SET "selected" 0.0;
22555             target:  "bg";
22556             target:  "fg1";
22557             target:  "fg2";
22558             target:  "elm.text";
22559          }
22560          program {
22561             name:    "go_passive";
22562             signal:  "elm,state,unselected";
22563             source:  "elm";
22564             action:  STATE_SET "default" 0.0;
22565             target:  "bg";
22566             target:  "fg1";
22567             target:  "fg2";
22568             target:  "elm.text";
22569             transition: LINEAR 0.1;
22570          }
22571          program {
22572             name:    "go_disabled";
22573             signal:  "elm,state,disabled";
22574             source:  "elm";
22575             action:  STATE_SET "disabled" 0.0;
22576             target:  "disclip";
22577          }
22578          program {
22579             name:    "go_enabled";
22580             signal:  "elm,state,enabled";
22581             source:  "elm";
22582             action:  STATE_SET "default" 0.0;
22583             target:  "disclip";
22584          }
22585       }
22586    }
22587    group { name: "elm/genlist/item_odd/icon_top_text_bottom/default";
22588       data.item: "stacking" "below";
22589       data.item: "selectraise" "on";
22590       data.item: "labels" "elm.text";
22591       data.item: "icons" "elm.swallow.icon";
22592       data.item: "treesize" "20";
22593 //      data.item: "states" "";
22594       images {
22595          image: "bt_sm_base1.png" COMP;
22596          image: "bt_sm_shine.png" COMP;
22597          image: "bt_sm_hilight.png" COMP;
22598          image: "ilist_2.png" COMP;
22599       }
22600       parts {
22601          part { name: "event";
22602             type: RECT;
22603             repeat_events: 1;
22604             description {
22605                state: "default" 0.0;
22606                color: 0 0 0 0;
22607             }
22608          }
22609          part {
22610             name: "base";
22611             mouse_events: 0;
22612             description {
22613                state: "default" 0.0;
22614                image {
22615                   normal: "ilist_2.png";
22616                   border: 2 2 2 2;
22617                }
22618                fill.smooth: 0;
22619             }
22620          }
22621          part { name: "bg";
22622             clip_to: "disclip";
22623             mouse_events: 0;
22624             description { state: "default" 0.0;
22625                visible: 0;
22626                color: 255 255 255 0;
22627                rel1 {
22628                   relative: 0.0 0.0;
22629                   offset: -5 -5;
22630                }
22631                rel2 {
22632                   relative: 1.0 1.0;
22633                   offset: 4 4;
22634                }
22635                image {
22636                   normal: "bt_sm_base1.png";
22637                   border: 6 6 6 6;
22638                }
22639                image.middle: SOLID;
22640             }
22641             description { state: "selected" 0.0;
22642                inherit: "default" 0.0;
22643                visible: 1;
22644                color: 255 255 255 255;
22645                rel1 {
22646                   relative: 0.0 0.0;
22647                   offset: -2 -2;
22648                }
22649                rel2 {
22650                   relative: 1.0 1.0;
22651                   offset: 1 1;
22652                }
22653             }
22654          }
22655          part { name: "elm.swallow.pad";
22656             type: SWALLOW;
22657             description { state: "default" 0.0;
22658                fixed: 1 0;
22659                align: 0.0 0.5;
22660                rel1 {
22661                   relative: 0.0  0.0;
22662                   offset:   4    4;
22663                }
22664                rel2 {
22665                   relative: 1.0  1.0;
22666                   offset:   -4   -5;
22667                }
22668             }
22669          }
22670          part { name: "elm.swallow.icon";
22671             clip_to: "disclip";
22672             type: SWALLOW;
22673             description { state: "default" 0.0;
22674                fixed: 1 0;
22675                align: 0.5 0.5;
22676                rel1 {
22677                   to_x: "elm.swallow.pad";
22678                   relative: 0.0  0.0;
22679                   offset:   -1    4;
22680                }
22681                rel2 {
22682                   to_x: "elm.swallow.pad";
22683                   relative: 1.0  1.0;
22684                   offset:   -1   -5;
22685                }
22686             }
22687          }
22688          part { name: "elm.text";
22689             clip_to: "disclip";
22690             type:           TEXT;
22691             effect:         SOFT_SHADOW;
22692             mouse_events:   0;
22693             scale: 1;
22694             description {
22695                state: "default" 0.0;
22696 //               min:      16 16;
22697                rel1 {
22698                   to_y:     "elm.swallow.icon";
22699                   relative: 0.0  1.0;
22700                   offset:   0 4;
22701                }
22702                rel2 {
22703                   relative: 1.0  1.0;
22704                   offset:   -5 -5;
22705                }
22706                color: 0 0 0 255;
22707                color3: 0 0 0 0;
22708                text {
22709                   font: "Sans";
22710                   size: 10;
22711                   min: 1 1;
22712 //                  min: 0 1;
22713                   align: 0.5 0.5;
22714                   text_class: "list_item";
22715                }
22716             }
22717             description { state: "selected" 0.0;
22718                inherit: "default" 0.0;
22719                color: 224 224 224 255;
22720                color3: 0 0 0 64;
22721             }
22722          }
22723          part { name: "fg1";
22724             clip_to: "disclip";
22725             mouse_events: 0;
22726             description { state: "default" 0.0;
22727                visible: 0;
22728                color: 255 255 255 0;
22729                rel1.to: "bg";
22730                rel2.relative: 1.0 0.5;
22731                rel2.to: "bg";
22732                image {
22733                   normal: "bt_sm_hilight.png";
22734                   border: 6 6 6 0;
22735                }
22736             }
22737             description { state: "selected" 0.0;
22738                inherit: "default" 0.0;
22739                visible: 1;
22740                color: 255 255 255 255;
22741             }
22742          }
22743          part { name: "fg2";
22744             clip_to: "disclip";
22745             mouse_events: 0;
22746             description { state: "default" 0.0;
22747                visible: 0;
22748                color: 255 255 255 0;
22749                rel1.to: "bg";
22750                rel2.to: "bg";
22751                image {
22752                   normal: "bt_sm_shine.png";
22753                   border: 6 6 6 0;
22754                }
22755             }
22756             description { state: "selected" 0.0;
22757                inherit: "default" 0.0;
22758                visible: 1;
22759                color: 255 255 255 255;
22760             }
22761          }
22762          part { name: "disclip";
22763             type: RECT;
22764             description { state: "default" 0.0;
22765                rel1.to: "bg";
22766                rel2.to: "bg";
22767             }
22768             description { state: "disabled" 0.0;
22769                inherit: "default" 0.0;
22770                color: 255 255 255 64;
22771             }
22772          }
22773       }
22774       programs {
22775          // signal: elm,state,%s,active
22776          //   a "check" item named %s went active
22777          // signal: elm,state,%s,passive
22778          //   a "check" item named %s went passive
22779          // default is passive
22780          program {
22781             name:    "go_active";
22782             signal:  "elm,state,selected";
22783             source:  "elm";
22784             action:  STATE_SET "selected" 0.0;
22785             target:  "bg";
22786             target:  "fg1";
22787             target:  "fg2";
22788             target:  "elm.text";
22789          }
22790          program {
22791             name:    "go_passive";
22792             signal:  "elm,state,unselected";
22793             source:  "elm";
22794             action:  STATE_SET "default" 0.0;
22795             target:  "bg";
22796             target:  "fg1";
22797             target:  "fg2";
22798             target:  "elm.text";
22799             transition: LINEAR 0.1;
22800          }
22801          program {
22802             name:    "go_disabled";
22803             signal:  "elm,state,disabled";
22804             source:  "elm";
22805             action:  STATE_SET "disabled" 0.0;
22806             target:  "disclip";
22807          }
22808          program {
22809             name:    "go_enabled";
22810             signal:  "elm,state,enabled";
22811             source:  "elm";
22812             action:  STATE_SET "default" 0.0;
22813             target:  "disclip";
22814          }
22815       }
22816    }
22817
22818    group { name: "elm/genlist/tree/icon_top_text_bottom/default";
22819       data.item: "stacking" "above";
22820       data.item: "selectraise" "on";
22821       data.item: "labels" "elm.text";
22822       data.item: "icons" "elm.swallow.icon";
22823       data.item: "treesize" "20";
22824 //      data.item: "states" "";
22825       images {
22826          image: "bt_sm_base1.png" COMP;
22827          image: "bt_sm_shine.png" COMP;
22828          image: "bt_sm_hilight.png" COMP;
22829          image: "ilist_1.png" COMP;
22830          image: "ilist_item_shadow.png" COMP;
22831          image: "icon_arrow_right.png" COMP;
22832          image: "icon_arrow_down.png" COMP;
22833       }
22834       parts {
22835          part {
22836             name:           "event";
22837             type:           RECT;
22838             repeat_events: 1;
22839             description {
22840                state: "default" 0.0;
22841                color: 0 0 0 0;
22842             }
22843          }
22844          part {
22845             name: "base_sh";
22846             mouse_events: 0;
22847             description {
22848                state: "default" 0.0;
22849                align: 0.0 0.0;
22850                min: 0 10;
22851                fixed: 1 1;
22852                rel1 {
22853                   to: "base";
22854                   relative: 0.0 1.0;
22855                   offset: 0 0;
22856                }
22857                rel2 {
22858                   to: "base";
22859                   relative: 1.0 1.0;
22860                   offset: -1 0;
22861                }
22862                image {
22863                   normal: "ilist_item_shadow.png";
22864                }
22865                fill.smooth: 0;
22866             }
22867          }
22868          part {
22869             name: "base";
22870             mouse_events: 0;
22871             description {
22872                state: "default" 0.0;
22873                image {
22874                   normal: "ilist_1.png";
22875                   border: 2 2 2 2;
22876                }
22877                fill.smooth: 0;
22878             }
22879          }
22880          part { name: "bg";
22881             clip_to: "disclip";
22882             mouse_events: 0;
22883             description { state: "default" 0.0;
22884                visible: 0;
22885                color: 255 255 255 0;
22886                rel1 {
22887                   relative: 0.0 0.0;
22888                   offset: -5 -5;
22889                }
22890                rel2 {
22891                   relative: 1.0 1.0;
22892                   offset: 4 4;
22893                }
22894                image {
22895                   normal: "bt_sm_base1.png";
22896                   border: 6 6 6 6;
22897                }
22898                image.middle: SOLID;
22899             }
22900             description { state: "selected" 0.0;
22901                inherit: "default" 0.0;
22902                visible: 1;
22903                color: 255 255 255 255;
22904                rel1 {
22905                   relative: 0.0 0.0;
22906                   offset: -2 -2;
22907                }
22908                rel2 {
22909                   relative: 1.0 1.0;
22910                   offset: 1 1;
22911                }
22912             }
22913          }
22914          part { name: "elm.swallow.pad";
22915             type: SWALLOW;
22916             description { state: "default" 0.0;
22917                fixed: 1 0;
22918                align: 0.0 0.5;
22919                rel1 {
22920                   relative: 0.0  0.0;
22921                   offset:   4    4;
22922                }
22923                rel2 {
22924                   relative: 0.0  1.0;
22925                   offset:   4   -5;
22926                }
22927             }
22928          }
22929          part { name: "arrow";
22930             clip_to: "disclip";
22931             ignore_flags: ON_HOLD;
22932             description { state: "default" 0.0;
22933                fixed: 1 0;
22934                align: 0.0 0.5;
22935                aspect: 1.0 1.0;
22936                rel1 {
22937                   to_x: "elm.swallow.pad";
22938                   relative: 1.0  0.0;
22939                   offset:   -1    4;
22940                }
22941                rel2 {
22942                   to_x: "elm.swallow.pad";
22943                   relative: 1.0  1.0;
22944                   offset:   -1   -5;
22945                }
22946                image.normal: "icon_arrow_right.png";
22947             }
22948             description { state: "active" 0.0;
22949                inherit: "default" 0.0;
22950                image.normal: "icon_arrow_down.png";
22951             }
22952          }
22953          part { name: "elm.swallow.icon";
22954             clip_to: "disclip";
22955             type: SWALLOW;
22956             description { state: "default" 0.0;
22957                fixed: 1 0;
22958                align: 0.5 0.5;
22959                rel1 {
22960                   to_x: "arrow";
22961                   relative: 1.0  0.0;
22962                   offset:   4    4;
22963                }
22964                rel2 {
22965                   relative: 1.0  1.0;
22966                   offset:   -4   -5;
22967                }
22968             }
22969          }
22970          part { name: "elm.text";
22971             clip_to: "disclip";
22972             type:           TEXT;
22973             effect:         SOFT_SHADOW;
22974             mouse_events:   0;
22975             scale: 1;
22976             description {
22977                state: "default" 0.0;
22978 //               min: 16 16;
22979                rel1 {
22980                   to_y:     "elm.swallow.icon";
22981                   relative: 0.0  1.0;
22982                   offset:   0 4;
22983                }
22984                rel2 {
22985                   relative: 1.0  1.0;
22986                   offset:   -5 -5;
22987                }
22988                color: 0 0 0 255;
22989                color3: 0 0 0 0;
22990                text {
22991                   font: "Sans";
22992                   size: 10;
22993                   min: 1 1;
22994 //                  min: 0 1;
22995                   align: 0.5 0.5;
22996                   text_class: "list_item";
22997                }
22998             }
22999             description { state: "selected" 0.0;
23000                inherit: "default" 0.0;
23001                color: 224 224 224 255;
23002                color3: 0 0 0 64;
23003             }
23004          }
23005          part { name: "fg1";
23006             clip_to: "disclip";
23007             mouse_events: 0;
23008             description { state: "default" 0.0;
23009                visible: 0;
23010                color: 255 255 255 0;
23011                rel1.to: "bg";
23012                rel2.relative: 1.0 0.5;
23013                rel2.to: "bg";
23014                image {
23015                   normal: "bt_sm_hilight.png";
23016                   border: 6 6 6 0;
23017                }
23018             }
23019             description { state: "selected" 0.0;
23020                inherit: "default" 0.0;
23021                visible: 1;
23022                color: 255 255 255 255;
23023             }
23024          }
23025          part { name: "fg2";
23026             clip_to: "disclip";
23027             mouse_events: 0;
23028             description { state: "default" 0.0;
23029                visible: 0;
23030                color: 255 255 255 0;
23031                rel1.to: "bg";
23032                rel2.to: "bg";
23033                image {
23034                   normal: "bt_sm_shine.png";
23035                   border: 6 6 6 0;
23036                }
23037             }
23038             description { state: "selected" 0.0;
23039                inherit: "default" 0.0;
23040                visible: 1;
23041                color: 255 255 255 255;
23042             }
23043          }
23044          part { name: "disclip";
23045             type: RECT;
23046             description { state: "default" 0.0;
23047                rel1.to: "bg";
23048                rel2.to: "bg";
23049             }
23050             description { state: "disabled" 0.0;
23051                inherit: "default" 0.0;
23052                color: 255 255 255 64;
23053             }
23054          }
23055       }
23056       programs {
23057          // signal: elm,state,%s,active
23058          //   a "check" item named %s went active
23059          // signal: elm,state,%s,passive
23060          //   a "check" item named %s went passive
23061          // default is passive
23062          program {
23063             name:    "go_active";
23064             signal:  "elm,state,selected";
23065             source:  "elm";
23066             action:  STATE_SET "selected" 0.0;
23067             target:  "bg";
23068             target:  "fg1";
23069             target:  "fg2";
23070             target:  "elm.text";
23071          }
23072          program {
23073             name:    "go_passive";
23074             signal:  "elm,state,unselected";
23075             source:  "elm";
23076             action:  STATE_SET "default" 0.0;
23077             target:  "bg";
23078             target:  "fg1";
23079             target:  "fg2";
23080             target:  "elm.text";
23081             transition: LINEAR 0.1;
23082          }
23083          program {
23084             name:    "go_disabled";
23085             signal:  "elm,state,disabled";
23086             source:  "elm";
23087             action:  STATE_SET "disabled" 0.0;
23088             target:  "disclip";
23089          }
23090          program {
23091             name:    "go_enabled";
23092             signal:  "elm,state,enabled";
23093             source:  "elm";
23094             action:  STATE_SET "default" 0.0;
23095             target:  "disclip";
23096          }
23097          program {
23098             name:    "expand";
23099             signal:  "mouse,up,1";
23100             source:  "arrow";
23101             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
23102          }
23103          program {
23104             name:    "go_expanded";
23105             signal:  "elm,state,expanded";
23106             source:  "elm";
23107             action:  STATE_SET "active" 0.0;
23108             target:  "arrow";
23109          }
23110          program {
23111             name:    "go_contracted";
23112             signal:  "elm,state,contracted";
23113             source:  "elm";
23114             action:  STATE_SET "default" 0.0;
23115             target:  "arrow";
23116          }
23117       }
23118    }
23119    group { name: "elm/genlist/tree_odd/icon_top_text_bottom/default";
23120       data.item: "stacking" "below";
23121       data.item: "selectraise" "on";
23122       data.item: "labels" "elm.text";
23123       data.item: "icons" "elm.swallow.icon";
23124       data.item: "treesize" "20";
23125 //      data.item: "states" "";
23126       images {
23127          image: "bt_sm_base1.png" COMP;
23128          image: "bt_sm_shine.png" COMP;
23129          image: "bt_sm_hilight.png" COMP;
23130          image: "ilist_2.png" COMP;
23131          image: "icon_arrow_right.png" COMP;
23132          image: "icon_arrow_down.png" COMP;
23133       }
23134       parts {
23135          part {
23136             name:           "event";
23137             type:           RECT;
23138             repeat_events: 1;
23139             description {
23140                state: "default" 0.0;
23141                color: 0 0 0 0;
23142             }
23143          }
23144          part {
23145             name: "base";
23146             mouse_events: 0;
23147             description {
23148                state: "default" 0.0;
23149                image {
23150                   normal: "ilist_2.png";
23151                   border: 2 2 2 2;
23152                }
23153                fill.smooth: 0;
23154             }
23155          }
23156          part { name: "bg";
23157             clip_to: "disclip";
23158             mouse_events: 0;
23159             description { state: "default" 0.0;
23160                visible: 0;
23161                color: 255 255 255 0;
23162                rel1 {
23163                   relative: 0.0 0.0;
23164                   offset: -5 -5;
23165                }
23166                rel2 {
23167                   relative: 1.0 1.0;
23168                   offset: 4 4;
23169                }
23170                image {
23171                   normal: "bt_sm_base1.png";
23172                   border: 6 6 6 6;
23173                }
23174                image.middle: SOLID;
23175             }
23176             description { state: "selected" 0.0;
23177                inherit: "default" 0.0;
23178                visible: 1;
23179                color: 255 255 255 255;
23180                rel1 {
23181                   relative: 0.0 0.0;
23182                   offset: -2 -2;
23183                }
23184                rel2 {
23185                   relative: 1.0 1.0;
23186                   offset: 1 1;
23187                }
23188             }
23189          }
23190          part { name: "elm.swallow.pad";
23191             type: SWALLOW;
23192             description { state: "default" 0.0;
23193                fixed: 1 0;
23194                align: 0.0 0.5;
23195                rel1 {
23196                   relative: 0.0  0.0;
23197                   offset:   4    4;
23198                }
23199                rel2 {
23200                   relative: 0.0  1.0;
23201                   offset:   4   -5;
23202                }
23203             }
23204          }
23205          part { name: "arrow";
23206             clip_to: "disclip";
23207             ignore_flags: ON_HOLD;
23208             description { state: "default" 0.0;
23209                fixed: 1 0;
23210                align: 0.0 0.5;
23211                aspect: 1.0 1.0;
23212                rel1 {
23213                   to_x: "elm.swallow.pad";
23214                   relative: 1.0  0.0;
23215                   offset:   -1    4;
23216                }
23217                rel2 {
23218                   to_x: "elm.swallow.pad";
23219                   relative: 1.0  1.0;
23220                   offset:   -1   -5;
23221                }
23222                image.normal: "icon_arrow_right.png";
23223             }
23224             description { state: "active" 0.0;
23225                inherit: "default" 0.0;
23226                image.normal: "icon_arrow_down.png";
23227             }
23228          }
23229          part { name: "elm.swallow.icon";
23230             clip_to: "disclip";
23231             type: SWALLOW;
23232             description { state: "default" 0.0;
23233                fixed: 1 0;
23234                align: 0.5 0.5;
23235                rel1 {
23236                   to_x: "arrow";
23237                   relative: 1.0  0.0;
23238                   offset:   4    4;
23239                }
23240                rel2 {
23241                   relative: 1.0  1.0;
23242                   offset:   -4   -5;
23243                }
23244             }
23245          }
23246          part { name: "elm.text";
23247             clip_to: "disclip";
23248             type:           TEXT;
23249             effect:         SOFT_SHADOW;
23250             mouse_events:   0;
23251             scale: 1;
23252             description {
23253                state: "default" 0.0;
23254 //               min: 16 16;
23255                rel1 {
23256                   to_y:     "elm.swallow.icon";
23257                   relative: 0.0  1.0;
23258                   offset:   0 4;
23259                }
23260                rel2 {
23261                   relative: 1.0  1.0;
23262                   offset:   -5 -5;
23263                }
23264                color: 0 0 0 255;
23265                color3: 0 0 0 0;
23266                text {
23267                   font: "Sans";
23268                   size: 10;
23269                   min: 1 1;
23270 //                  min: 0 1;
23271                   align: 0.5 0.5;
23272                   text_class: "list_item";
23273                }
23274             }
23275             description { state: "selected" 0.0;
23276                inherit: "default" 0.0;
23277                color: 224 224 224 255;
23278                color3: 0 0 0 64;
23279             }
23280          }
23281          part { name: "fg1";
23282             clip_to: "disclip";
23283             mouse_events: 0;
23284             description { state: "default" 0.0;
23285                visible: 0;
23286                color: 255 255 255 0;
23287                rel1.to: "bg";
23288                rel2.relative: 1.0 0.5;
23289                rel2.to: "bg";
23290                image {
23291                   normal: "bt_sm_hilight.png";
23292                   border: 6 6 6 0;
23293                }
23294             }
23295             description { state: "selected" 0.0;
23296                inherit: "default" 0.0;
23297                visible: 1;
23298                color: 255 255 255 255;
23299             }
23300          }
23301          part { name: "fg2";
23302             clip_to: "disclip";
23303             mouse_events: 0;
23304             description { state: "default" 0.0;
23305                visible: 0;
23306                color: 255 255 255 0;
23307                rel1.to: "bg";
23308                rel2.to: "bg";
23309                image {
23310                   normal: "bt_sm_shine.png";
23311                   border: 6 6 6 0;
23312                }
23313             }
23314             description { state: "selected" 0.0;
23315                inherit: "default" 0.0;
23316                visible: 1;
23317                color: 255 255 255 255;
23318             }
23319          }
23320          part { name: "disclip";
23321             type: RECT;
23322             description { state: "default" 0.0;
23323                rel1.to: "bg";
23324                rel2.to: "bg";
23325             }
23326             description { state: "disabled" 0.0;
23327                inherit: "default" 0.0;
23328                color: 255 255 255 64;
23329             }
23330          }
23331       }
23332       programs {
23333          // signal: elm,state,%s,active
23334          //   a "check" item named %s went active
23335          // signal: elm,state,%s,passive
23336          //   a "check" item named %s went passive
23337          // default is passive
23338          program {
23339             name:    "go_active";
23340             signal:  "elm,state,selected";
23341             source:  "elm";
23342             action:  STATE_SET "selected" 0.0;
23343             target:  "bg";
23344             target:  "fg1";
23345             target:  "fg2";
23346             target:  "elm.text";
23347          }
23348          program {
23349             name:    "go_passive";
23350             signal:  "elm,state,unselected";
23351             source:  "elm";
23352             action:  STATE_SET "default" 0.0;
23353             target:  "bg";
23354             target:  "fg1";
23355             target:  "fg2";
23356             target:  "elm.text";
23357             transition: LINEAR 0.1;
23358          }
23359          program {
23360             name:    "go_disabled";
23361             signal:  "elm,state,disabled";
23362             source:  "elm";
23363             action:  STATE_SET "disabled" 0.0;
23364             target:  "disclip";
23365          }
23366          program {
23367             name:    "go_enabled";
23368             signal:  "elm,state,enabled";
23369             source:  "elm";
23370             action:  STATE_SET "default" 0.0;
23371             target:  "disclip";
23372          }
23373          program {
23374             name:    "expand";
23375             signal:  "mouse,up,1";
23376             source:  "arrow";
23377             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
23378          }
23379          program {
23380             name:    "go_expanded";
23381             signal:  "elm,state,expanded";
23382             source:  "elm";
23383             action:  STATE_SET "active" 0.0;
23384             target:  "arrow";
23385          }
23386          program {
23387             name:    "go_contracted";
23388             signal:  "elm,state,contracted";
23389             source:  "elm";
23390             action:  STATE_SET "default" 0.0;
23391             target:  "arrow";
23392          }
23393       }
23394    }
23395
23396
23397 ///////////////////////////////////////////////////////////////////////////////
23398    group { name: "elm/check/base/default";
23399       images {
23400          image: "check_base.png" COMP;
23401          image: "check.png" COMP;
23402          image: "check2.png" COMP;
23403       }
23404       parts {
23405          part { name: "bg";
23406             mouse_events: 0;
23407             scale: 1;
23408             description { state: "default" 0.0;
23409                rel1.offset: 1 1;
23410                rel2.relative: 0.0 1.0;
23411                rel2.offset: 1 -2;
23412                align: 0.0 0.5;
23413                min: 16 16;
23414                max: 16 16;
23415                aspect: 1.0 1.0;
23416                aspect_preference: VERTICAL;
23417                image {
23418                   normal: "check_base.png";
23419                   border: 5 5 5 5;
23420                   middle: 0;
23421                }
23422                fill.smooth : 0;
23423             }
23424          }
23425          part { name: "check";
23426             mouse_events: 0;
23427             scale: 1;
23428             description { state: "default" 0.0;
23429                rel1 {
23430                   to: "bg";
23431                   offset: 1 1;
23432                }
23433                rel2 {
23434                   to: "bg";
23435                   offset: -2 -2;
23436                }
23437                visible: 0;
23438                color: 255 255 255 255;
23439                image.normal: "check.png";
23440             }
23441             description { state: "visible" 0.0;
23442                inherit: "default" 0.0;
23443                visible: 1;
23444             }
23445             description { state: "disabled" 0.0;
23446                inherit: "default" 0.0;
23447                visible: 0;
23448                color: 128 128 128 128;
23449             }
23450             description { state: "disabled_visible" 0.0;
23451                inherit: "default" 0.0;
23452                color: 128 128 128 128;
23453                visible: 1;
23454             }
23455          }
23456          part { name: "elm.swallow.content";
23457             type: SWALLOW;
23458             description { state: "default" 0.0;
23459                fixed: 1 0;
23460                visible: 0;
23461                align: 0.0 0.5;
23462           rel1.to_x: "bg";
23463                rel1.relative: 1.0 0.0;
23464                rel1.offset: 1 1;
23465           rel2.to_x: "bg";
23466                rel2.offset: 1 -2;
23467                rel2.relative: 1.0 1.0;
23468             }
23469             description { state: "visible" 0.0;
23470                inherit: "default" 0.0;
23471           fixed: 1 0;
23472                visible: 1;
23473                aspect: 1.0 1.0;
23474             }
23475             description { state: "disabled" 0.0;
23476                inherit: "default" 0.0;
23477                color: 128 128 128 128;
23478             }
23479             description { state: "disabled_visible" 0.0;
23480                inherit: "default" 0.0;
23481                color: 128 128 128 128;
23482           fixed: 1 0;
23483                visible: 1;
23484                aspect: 1.0 1.0;
23485             }
23486          }
23487          part { name: "elm.text";
23488             type: TEXT;
23489             mouse_events: 0;
23490             scale: 1;
23491             description { state: "default" 0.0;
23492                visible: 0;
23493                rel1.to_x: "elm.swallow.content";
23494                rel1.relative: 1.0 0.0;
23495                rel1.offset: 1 1;
23496                rel2.relative: 1.0 1.0;
23497                rel2.offset: -2 -2;
23498                color: 0 0 0 255;
23499                text {
23500                   font: "Sans,Edje-Vera";
23501                   size: 10;
23502                   min: 0 1;
23503                   align: 0.0 0.5;
23504                }
23505             }
23506             description { state: "visible" 0.0;
23507                inherit: "default" 0.0;
23508                visible: 1;
23509                text.min: 1 1;
23510             }
23511             description { state: "disabled" 0.0;
23512                inherit: "default" 0.0;
23513                color: 0 0 0 128;
23514                color3: 0 0 0 0;
23515             }
23516             description { state: "disabled_visible" 0.0;
23517                inherit: "default" 0.0;
23518                color: 0 0 0 128;
23519                color3: 0 0 0 0;
23520                visible: 1;
23521                text.min: 1 1;
23522             }
23523          }
23524          part { name: "events";
23525             type: RECT;
23526             ignore_flags: ON_HOLD;
23527             description { state: "default" 0.0;
23528                color: 0 0 0 0;
23529             }
23530          }
23531           part { name: "disabler";
23532             type: RECT;
23533             description { state: "default" 0.0;
23534                color: 0 0 0 0;
23535                visible: 0;
23536             }
23537             description { state: "disabled" 0.0;
23538                inherit: "default" 0.0;
23539                visible: 1;
23540             }
23541          }
23542       }
23543       programs {
23544          program { name: "click";
23545             signal: "mouse,up,1";
23546             source: "events";
23547             action: SIGNAL_EMIT "elm,action,check,toggle" "";
23548          }
23549          program { name: "check_on";
23550             signal: "elm,state,check,on";
23551             source: "elm";
23552             action:  STATE_SET "visible" 0.0;
23553             target: "check";
23554          }
23555          program { name: "check_off";
23556             signal: "elm,state,check,off";
23557             source: "elm";
23558             action:  STATE_SET "default" 0.0;
23559             target: "check";
23560          }
23561          program { name: "text_show";
23562             signal: "elm,state,text,visible";
23563             source: "elm";
23564             action:  STATE_SET "visible" 0.0;
23565             target: "elm.text";
23566          }
23567          program { name: "text_hide";
23568             signal: "elm,state,text,hidden";
23569             source: "elm";
23570             action:  STATE_SET "default" 0.0;
23571             target: "elm.text";
23572          }
23573          program { name: "icon_show";
23574             signal: "elm,state,icon,visible";
23575             source: "elm";
23576             action:  STATE_SET "visible" 0.0;
23577             target: "elm.swallow.content";
23578          }
23579          program { name: "icon_hide";
23580             signal: "elm,state,icon,hidden";
23581             source: "elm";
23582             action:  STATE_SET "default" 0.0;
23583             target: "elm.swallow.content";
23584          }
23585          program { name: "disable";
23586             signal: "elm,state,disabled";
23587             source: "elm";
23588             action: STATE_SET "disabled" 0.0;
23589             target: "disabler";
23590             after: "disable_text";
23591          }
23592          program { name: "disable_text";
23593             script {
23594                new st[31];
23595                new Float:vl;
23596                get_state(PART:"elm.text", st, 30, vl);
23597                if (!strcmp(st, "visible"))
23598                  set_state(PART:"elm.text", "disabled_visible", 0.0);
23599                else
23600                  set_state(PART:"elm.text", "disabled", 0.0);
23601
23602                get_state(PART:"elm.swallow.content", st, 30, vl);
23603                if (!strcmp(st, "visible"))
23604                  set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
23605                else
23606                  set_state(PART:"elm.swallow.content", "disabled", 0.0);
23607
23608                get_state(PART:"check", st, 30, vl);
23609                if (!strcmp(st, "visible"))
23610                  set_state(PART:"check", "disabled_visible", 0.0);
23611                else
23612                  set_state(PART:"check", "disabled", 0.0);
23613             }
23614          }
23615          program { name: "enable";
23616             signal: "elm,state,enabled";
23617             source: "elm";
23618             action: STATE_SET "default" 0.0;
23619             target: "disabler";
23620             after: "enable_text";
23621          }
23622          program { name: "enable_text";
23623             script {
23624                new st[31];
23625                new Float:vl;
23626                get_state(PART:"elm.text", st, 30, vl);
23627                if (!strcmp(st, "disabled_visible"))
23628                  set_state(PART:"elm.text", "visible", 0.0);
23629                else
23630                  set_state(PART:"elm.text", "default", 0.0);
23631
23632                get_state(PART:"elm.swallow.content", st, 30, vl);
23633                if (!strcmp(st, "visible"))
23634                  set_state(PART:"elm.swallow.content", "visible", 0.0);
23635                else
23636                  set_state(PART:"elm.swallow.content", "default", 0.0);
23637
23638                get_state(PART:"check", st, 30, vl);
23639                if (!strcmp(st, "visible"))
23640                  set_state(PART:"check", "visible", 0.0);
23641                else
23642                  set_state(PART:"check", "default", 0.0);
23643             }
23644          }
23645       }
23646    }
23647 ///////////////////////////////////////////////////////////////////////////////
23648    group { name: "elm/radio/base/default";
23649       images {
23650          image: "radio_base.png" COMP;
23651          image: "radio.png" COMP;
23652          image: "radio2.png" COMP;
23653       }
23654       parts {
23655          part { name: "bg";
23656             mouse_events: 0;
23657             scale: 1;
23658             description { state: "default" 0.0;
23659                rel1.offset: 1 1;
23660                rel2.relative: 0.0 1.0;
23661                rel2.offset: 1 -2;
23662                align: 0.0 0.5;
23663                min: 16 16;
23664                max: 16 16;
23665                aspect: 1.0 1.0;
23666                aspect_preference: VERTICAL;
23667                image.normal: "radio_base.png";
23668             }
23669          }
23670          part { name: "radio";
23671             mouse_events: 0;
23672             scale: 1;
23673             description { state: "default" 0.0;
23674                rel1.to: "bg";
23675                rel2.to: "bg";
23676                visible: 0;
23677                image.normal: "radio.png";
23678             }
23679             description { state: "visible" 0.0;
23680                inherit: "default" 0.0;
23681                visible: 1;
23682             }
23683          }
23684          part { name: "elm.swallow.content";
23685             type: SWALLOW;
23686             description { state: "default" 0.0;
23687                fixed: 1 0;
23688                visible: 0;
23689                align: 0.0 0.5;
23690                color: 0 0 0 0;
23691                rel1.to_x: "bg";
23692                rel1.relative: 1.0 0.0;
23693                rel1.offset: 1 1;
23694                rel2.to_x: "bg";
23695                rel2.relative: 1.0 1.0;
23696                rel2.offset: 2 -2;
23697             }
23698             description { state: "visible" 0.0;
23699                inherit: "default" 0.0;
23700                visible: 1;
23701                color: 255 255 255 255;
23702                aspect: 1.0 1.0;
23703             }
23704             description { state: "disabled" 0.0;
23705                inherit: "default" 0.0;
23706                color: 128 128 128 128;
23707             }
23708             description { state: "disabled_visible" 0.0;
23709                inherit: "default" 0.0;
23710                color: 128 128 128 128;
23711                visible: 1;
23712                aspect: 1.0 1.0;
23713             }
23714          }
23715          part { name: "elm.text";
23716             type: TEXT;
23717             mouse_events: 0;
23718             scale: 1;
23719             description { state: "default" 0.0;
23720                visible: 0;
23721                rel1.to_x: "elm.swallow.content";
23722                rel1.relative: 1.0 0.0;
23723                rel1.offset: 1 1;
23724                rel2.relative: 1.0 1.0;
23725                rel2.offset: -2 -2;
23726                color: 0 0 0 255;
23727                text {
23728                   font: "Sans,Edje-Vera";
23729                   size: 10;
23730                   min: 0 0;
23731                   align: 0.0 0.5;
23732                }
23733             }
23734             description { state: "visible" 0.0;
23735                inherit: "default" 0.0;
23736                visible: 1;
23737                text.min: 1 1;
23738             }
23739             description { state: "disabled" 0.0;
23740                inherit: "default" 0.0;
23741                color: 0 0 0 128;
23742                color3: 0 0 0 0;
23743             }
23744             description { state: "disabled_visible" 0.0;
23745                inherit: "default" 0.0;
23746                color: 0 0 0 128;
23747                color3: 0 0 0 0;
23748                visible: 1;
23749                text.min: 1 1;
23750             }
23751          }
23752          part { name: "events";
23753             type: RECT;
23754             ignore_flags: ON_HOLD;
23755             description { state: "default" 0.0;
23756                color: 0 0 0 0;
23757             }
23758          }
23759           part { name: "disabler";
23760             type: RECT;
23761             description { state: "default" 0.0;
23762                color: 0 0 0 0;
23763                visible: 0;
23764             }
23765             description { state: "disabled" 0.0;
23766                inherit: "default" 0.0;
23767                visible: 1;
23768             }
23769          }
23770       }
23771       programs {
23772          program { name: "click";
23773             signal: "mouse,up,1";
23774             source: "events";
23775             action: SIGNAL_EMIT "elm,action,radio,toggle" "";
23776          }
23777          program { name: "radio_on";
23778             signal: "elm,state,radio,on";
23779             source: "elm";
23780             action:  STATE_SET "visible" 0.0;
23781             target: "radio";
23782          }
23783          program { name: "radio_off";
23784             signal: "elm,state,radio,off";
23785             source: "elm";
23786             action:  STATE_SET "default" 0.0;
23787             target: "radio";
23788          }
23789          program { name: "text_show";
23790             signal: "elm,state,text,visible";
23791             source: "elm";
23792             action:  STATE_SET "visible" 0.0;
23793             target: "elm.text";
23794          }
23795          program { name: "text_hide";
23796             signal: "elm,state,text,hidden";
23797             source: "elm";
23798             action:  STATE_SET "default" 0.0;
23799             target: "elm.text";
23800          }
23801          program { name: "icon_show";
23802             signal: "elm,state,icon,visible";
23803             source: "elm";
23804             action:  STATE_SET "visible" 0.0;
23805             target: "elm.swallow.content";
23806          }
23807          program { name: "icon_hide";
23808             signal: "elm,state,icon,hidden";
23809             source: "elm";
23810             action:  STATE_SET "default" 0.0;
23811             target: "elm.swallow.content";
23812          }
23813          program { name: "disable";
23814             signal: "elm,state,disabled";
23815             source: "elm";
23816             action: STATE_SET "disabled" 0.0;
23817             target: "disabler";
23818             after: "disable_text";
23819          }
23820          program { name: "disable_text";
23821             script {
23822                new st[31];
23823                new Float:vl;
23824                get_state(PART:"elm.text", st, 30, vl);
23825                if (!strcmp(st, "visible"))
23826                  set_state(PART:"elm.text", "disabled_visible", 0.0);
23827                else
23828                  set_state(PART:"elm.text", "disabled", 0.0);
23829
23830                get_state(PART:"elm.swallow.content", st, 30, vl);
23831                if (!strcmp(st, "visible"))
23832                  set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
23833                else
23834                  set_state(PART:"elm.swallow.content", "disabled", 0.0);
23835             }
23836          }
23837          program { name: "enable";
23838             signal: "elm,state,enabled";
23839             source: "elm";
23840             action: STATE_SET "default" 0.0;
23841             target: "disabler";
23842             after: "enable_text";
23843          }
23844          program { name: "enable_text";
23845             script {
23846                new st[31];
23847                new Float:vl;
23848                get_state(PART:"elm.text", st, 30, vl);
23849                if (!strcmp(st, "disabled_visible"))
23850                  set_state(PART:"elm.text", "visible", 0.0);
23851                else
23852                  set_state(PART:"elm.text", "default", 0.0);
23853
23854                get_state(PART:"elm.swallow.content", st, 30, vl);
23855                if (!strcmp(st, "visible"))
23856                  set_state(PART:"elm.swallow.content", "visible", 0.0);
23857                else
23858                  set_state(PART:"elm.swallow.content", "default", 0.0);
23859             }
23860          }
23861       }
23862    }
23863    group { name: "elm/genlist/tree_compress_odd/double_label/default";
23864       data.item: "stacking" "below";
23865       data.item: "selectraise" "on";
23866       data.item: "labels" "elm.text elm.text.sub";
23867       data.item: "icons" "elm.swallow.icon elm.swallow.end";
23868       data.item: "treesize" "20";
23869 //      data.item: "states" "";
23870       images {
23871          image: "bt_sm_base1.png" COMP;
23872          image: "bt_sm_shine.png" COMP;
23873          image: "bt_sm_hilight.png" COMP;
23874          image: "ilist_2.png" COMP;
23875          image: "icon_arrow_right.png" COMP;
23876          image: "icon_arrow_down.png" COMP;
23877       }
23878       parts {
23879          part {
23880             name:           "event";
23881             type:           RECT;
23882             repeat_events: 1;
23883             description {
23884                state: "default" 0.0;
23885                color: 0 0 0 0;
23886             }
23887          }
23888          part {
23889             name: "base";
23890             mouse_events: 0;
23891             description {
23892                state: "default" 0.0;
23893                image {
23894                   normal: "ilist_2.png";
23895                   border: 2 2 2 2;
23896                }
23897                fill.smooth: 0;
23898             }
23899          }
23900          part { name: "bg";
23901             clip_to: "disclip";
23902             mouse_events: 0;
23903             description { state: "default" 0.0;
23904                visible: 0;
23905                color: 255 255 255 0;
23906                rel1 {
23907                   relative: 0.0 0.0;
23908                   offset: -5 -5;
23909                }
23910                rel2 {
23911                   relative: 1.0 1.0;
23912                   offset: 4 4;
23913                }
23914                image {
23915                   normal: "bt_sm_base1.png";
23916                   border: 6 6 6 6;
23917                }
23918                image.middle: SOLID;
23919             }
23920             description { state: "selected" 0.0;
23921                inherit: "default" 0.0;
23922                visible: 1;
23923                color: 255 255 255 255;
23924                rel1 {
23925                   relative: 0.0 0.0;
23926                   offset: -2 -2;
23927                }
23928                rel2 {
23929                   relative: 1.0 1.0;
23930                   offset: 1 1;
23931                }
23932             }
23933          }
23934          part { name: "elm.swallow.pad";
23935             type: SWALLOW;
23936             description { state: "default" 0.0;
23937                fixed: 1 0;
23938                align: 0.0 0.5;
23939                rel1 {
23940                   relative: 0.0  0.0;
23941                   offset:   4    4;
23942                }
23943                rel2 {
23944                   relative: 0.0  1.0;
23945                   offset:   4   -5;
23946                }
23947             }
23948          }
23949          part { name: "arrow";
23950             clip_to: "disclip";
23951             ignore_flags: ON_HOLD;
23952             description { state: "default" 0.0;
23953                fixed: 1 0;
23954                align: 0.0 0.5;
23955                aspect: 1.0 1.0;
23956                rel1 {
23957                   to_x: "elm.swallow.pad";
23958                   relative: 1.0  0.0;
23959                   offset:   -1    4;
23960                }
23961                rel2 {
23962                   to_x: "elm.swallow.pad";
23963                   relative: 1.0  1.0;
23964                   offset:   -1   -5;
23965                }
23966                image.normal: "icon_arrow_right.png";
23967             }
23968             description { state: "active" 0.0;
23969                inherit: "default" 0.0;
23970                image.normal: "icon_arrow_down.png";
23971             }
23972          }
23973          part { name: "elm.swallow.icon";
23974             clip_to: "disclip";
23975             type: SWALLOW;
23976             description { state: "default" 0.0;
23977                fixed: 1 0;
23978                align: 0.0 0.5;
23979                rel1 {
23980                   to_x: "arrow";
23981                   relative: 1.0  0.0;
23982                   offset:   4    4;
23983                }
23984                rel2 {
23985                   to_x: "arrow";
23986                   relative: 1.0  1.0;
23987                   offset:   4   -5;
23988                }
23989             }
23990          }
23991          part { name: "elm.swallow.end";
23992             clip_to: "disclip";
23993             type: SWALLOW;
23994             description { state: "default" 0.0;
23995                fixed: 1 0;
23996                align: 1.0 0.5;
23997                aspect: 1.0 1.0;
23998                aspect_preference: VERTICAL;
23999                rel1 {
24000                   relative: 1.0  0.0;
24001                   offset:   -5    4;
24002                }
24003                rel2 {
24004                   relative: 1.0  1.0;
24005                   offset:   -5   -5;
24006                }
24007             }
24008          }
24009          part { name: "elm.text";
24010             clip_to: "disclip";
24011             type:           TEXT;
24012             effect:         SOFT_SHADOW;
24013             mouse_events:   0;
24014             scale: 1;
24015             description {
24016                state: "default" 0.0;
24017 //               min: 16 16;
24018                rel1 {
24019                   to_x:     "elm.swallow.icon";
24020                   relative: 1.0  0.0;
24021                   offset:   0 4;
24022                }
24023                rel2 {
24024                   to_x:     "elm.swallow.end";
24025                   relative: 0.0  0.5;
24026                   offset:   -1 -5;
24027                }
24028                color: 0 0 0 255;
24029                color3: 0 0 0 0;
24030                text {
24031                   font: "Sans";
24032                   size: 10;
24033 //                  min: 1 1;
24034                   min: 0 1;
24035                   align: 0.0 0.5;
24036                   text_class: "list_item";
24037                }
24038             }
24039             description { state: "selected" 0.0;
24040                inherit: "default" 0.0;
24041                color: 224 224 224 255;
24042                color3: 0 0 0 64;
24043             }
24044          }
24045          part { name: "elm.text.sub";
24046             clip_to: "disclip";
24047             type:           TEXT;
24048             mouse_events:   0;
24049             scale: 1;
24050             description {
24051                state: "default" 0.0;
24052 //               min: 16 16;
24053                rel1 {
24054                   to_x:     "elm.swallow.icon";
24055                   relative: 1.0  0.5;
24056                   offset:   0 4;
24057                }
24058                rel2 {
24059                   to_x:     "elm.swallow.end";
24060                   relative: 0.0  1.0;
24061                   offset:   -1 -5;
24062                }
24063                color: 0 0 0 128;
24064                color3: 0 0 0 0;
24065                text {
24066                   font: "Sans";
24067                   size: 8;
24068 //                  min: 1 1;
24069                   min: 0 1;
24070                   align: 0.0 0.5;
24071                   text_class: "list_item";
24072                }
24073             }
24074             description { state: "selected" 0.0;
24075                inherit: "default" 0.0;
24076                color: 128 128 128 255;
24077                color3: 0 0 0 32;
24078             }
24079          }
24080          part { name: "fg1";
24081             clip_to: "disclip";
24082             mouse_events: 0;
24083             description { state: "default" 0.0;
24084                visible: 0;
24085                color: 255 255 255 0;
24086                rel1.to: "bg";
24087                rel2.relative: 1.0 0.5;
24088                rel2.to: "bg";
24089                image {
24090                   normal: "bt_sm_hilight.png";
24091                   border: 6 6 6 0;
24092                }
24093             }
24094             description { state: "selected" 0.0;
24095                inherit: "default" 0.0;
24096                visible: 1;
24097                color: 255 255 255 255;
24098             }
24099          }
24100          part { name: "fg2";
24101             clip_to: "disclip";
24102             mouse_events: 0;
24103             description { state: "default" 0.0;
24104                visible: 0;
24105                color: 255 255 255 0;
24106                rel1.to: "bg";
24107                rel2.to: "bg";
24108                image {
24109                   normal: "bt_sm_shine.png";
24110                   border: 6 6 6 0;
24111                }
24112             }
24113             description { state: "selected" 0.0;
24114                inherit: "default" 0.0;
24115                visible: 1;
24116                color: 255 255 255 255;
24117             }
24118          }
24119          part { name: "disclip";
24120             type: RECT;
24121             description { state: "default" 0.0;
24122                rel1.to: "bg";
24123                rel2.to: "bg";
24124             }
24125             description { state: "disabled" 0.0;
24126                inherit: "default" 0.0;
24127                color: 255 255 255 64;
24128             }
24129          }
24130       }
24131       programs {
24132          // signal: elm,state,%s,active
24133          //   a "check" item named %s went active
24134          // signal: elm,state,%s,passive
24135          //   a "check" item named %s went passive
24136          // default is passive
24137          program {
24138             name:    "go_active";
24139             signal:  "elm,state,selected";
24140             source:  "elm";
24141             action:  STATE_SET "selected" 0.0;
24142             target:  "bg";
24143             target:  "fg1";
24144             target:  "fg2";
24145             target:  "elm.text";
24146             target:  "elm.text.sub";
24147          }
24148          program {
24149             name:    "go_passive";
24150             signal:  "elm,state,unselected";
24151             source:  "elm";
24152             action:  STATE_SET "default" 0.0;
24153             target:  "bg";
24154             target:  "fg1";
24155             target:  "fg2";
24156             target:  "elm.text";
24157             target:  "elm.text.sub";
24158             transition: LINEAR 0.1;
24159          }
24160          program {
24161             name:    "go_disabled";
24162             signal:  "elm,state,disabled";
24163             source:  "elm";
24164             action:  STATE_SET "disabled" 0.0;
24165             target:  "disclip";
24166          }
24167          program {
24168             name:    "go_enabled";
24169             signal:  "elm,state,enabled";
24170             source:  "elm";
24171             action:  STATE_SET "default" 0.0;
24172             target:  "disclip";
24173          }
24174          program {
24175             name:    "expand";
24176             signal:  "mouse,up,1";
24177             source:  "arrow";
24178             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
24179          }
24180          program {
24181             name:    "go_expanded";
24182             signal:  "elm,state,expanded";
24183             source:  "elm";
24184             action:  STATE_SET "active" 0.0;
24185             target:  "arrow";
24186          }
24187          program {
24188             name:    "go_contracted";
24189             signal:  "elm,state,contracted";
24190             source:  "elm";
24191             action:  STATE_SET "default" 0.0;
24192             target:  "arrow";
24193          }
24194       }
24195    }
24196
24197    group { name: "elm/genlist/item_compress/media/default";
24198       data.item: "stacking" "above";
24199       data.item: "selectraise" "on";
24200       data.item: "labels" "elm.text.title elm.text.album-artist";
24201       data.item: "treesize" "20";
24202       images {
24203          image: "bt_sm_base1.png" COMP;
24204          image: "bt_sm_shine.png" COMP;
24205          image: "bt_sm_hilight.png" COMP;
24206          image: "ilist_1.png" COMP;
24207          image: "ilist_item_shadow.png" COMP;
24208       }
24209       parts {
24210          part {
24211             name:           "event";
24212             type:           RECT;
24213             repeat_events: 1;
24214             description {
24215                state: "default" 0.0;
24216                color: 0 0 0 0;
24217             }
24218          }
24219          part {
24220             name: "base_sh";
24221             mouse_events: 0;
24222             description {
24223                state: "default" 0.0;
24224                align: 0.0 0.0;
24225                min: 0 10;
24226                fixed: 1 1;
24227                rel1 {
24228                   to: "base";
24229                   relative: 0.0 1.0;
24230                   offset: 0 0;
24231                }
24232                rel2 {
24233                   to: "base";
24234                   relative: 1.0 1.0;
24235                   offset: -1 0;
24236                }
24237                image {
24238                   normal: "ilist_item_shadow.png";
24239                }
24240                fill.smooth: 0;
24241             }
24242          }
24243          part {
24244             name: "base";
24245             mouse_events: 0;
24246             description {
24247                state: "default" 0.0;
24248                image {
24249                   normal: "ilist_1.png";
24250                   border: 2 2 2 2;
24251                }
24252                fill.smooth: 0;
24253             }
24254          }
24255          part { name: "bg";
24256             clip_to: "disclip";
24257             mouse_events: 0;
24258             description { state: "default" 0.0;
24259                visible: 0;
24260                color: 255 255 255 0;
24261                rel1 {
24262                   relative: 0.0 0.0;
24263                   offset: -5 -5;
24264                }
24265                rel2 {
24266                   relative: 1.0 1.0;
24267                   offset: 4 4;
24268                }
24269                image {
24270                   normal: "bt_sm_base1.png";
24271                   border: 6 6 6 6;
24272                }
24273                image.middle: SOLID;
24274             }
24275             description { state: "selected" 0.0;
24276                inherit: "default" 0.0;
24277                visible: 1;
24278                color: 255 255 255 255;
24279                rel1 {
24280                   relative: 0.0 0.0;
24281                   offset: -2 -2;
24282                }
24283                rel2 {
24284                   relative: 1.0 1.0;
24285                   offset: 1 1;
24286                }
24287             }
24288          }
24289          part { name: "elm.swallow.pad";
24290             type: SWALLOW;
24291             description { state: "default" 0.0;
24292                fixed: 1 0;
24293                align: 0.0 0.5;
24294                rel1 {
24295                   relative: 0.0  0.0;
24296                   offset:   4    4;
24297                }
24298                rel2 {
24299                   relative: 0.0  1.0;
24300                   offset:   4   -5;
24301                }
24302             }
24303          }
24304          part { name: "elm.text.title";
24305             clip_to: "disclip";
24306             type:           TEXT;
24307             effect:         SOFT_SHADOW;
24308             mouse_events:   0;
24309             scale: 1;
24310             description {
24311                state: "default" 0.0;
24312                rel1 {
24313                   relative: 0.0  0.0;
24314                   offset:   4 4;
24315                }
24316                rel2 {
24317                   relative: 1.0  0.5;
24318                   offset:   -1 -5;
24319                }
24320                color: 0 0 0 255;
24321                color3: 0 0 0 0;
24322                text {
24323                   font: "Sans";
24324                   size: 10;
24325                   min: 0 1;
24326                   align: 0.0 0.5;
24327                }
24328             }
24329             description { state: "selected" 0.0;
24330                inherit: "default" 0.0;
24331                color: 224 224 224 255;
24332                color3: 0 0 0 64;
24333             }
24334          }
24335          part { name: "elm.text.album-artist";
24336             clip_to: "disclip";
24337             type:           TEXT;
24338             mouse_events:   0;
24339             scale: 1;
24340             description {
24341                state: "default" 0.0;
24342                rel1 {
24343                   relative: 0.0  0.5;
24344                   offset:   4 4;
24345                }
24346                rel2 {
24347                   relative: 1.0  1.0;
24348                   offset:   -1 -5;
24349                }
24350                color: 0 0 0 128;
24351                color3: 0 0 0 0;
24352                text {
24353                   font: "Sans";
24354                   size: 8;
24355                   min: 0 1;
24356                   align: 0.0 0.5;
24357                }
24358             }
24359             description { state: "selected" 0.0;
24360                inherit: "default" 0.0;
24361                color: 128 128 128 255;
24362                color3: 0 0 0 32;
24363             }
24364          }
24365          part { name: "fg1";
24366             clip_to: "disclip";
24367             mouse_events: 0;
24368             description { state: "default" 0.0;
24369                visible: 0;
24370                color: 255 255 255 0;
24371                rel1.to: "bg";
24372                rel2.relative: 1.0 0.5;
24373                rel2.to: "bg";
24374                image {
24375                   normal: "bt_sm_hilight.png";
24376                   border: 6 6 6 0;
24377                }
24378             }
24379             description { state: "selected" 0.0;
24380                inherit: "default" 0.0;
24381                visible: 1;
24382                color: 255 255 255 255;
24383             }
24384          }
24385          part { name: "fg2";
24386             clip_to: "disclip";
24387             mouse_events: 0;
24388             description { state: "default" 0.0;
24389                visible: 0;
24390                color: 255 255 255 0;
24391                rel1.to: "bg";
24392                rel2.to: "bg";
24393                image {
24394                   normal: "bt_sm_shine.png";
24395                   border: 6 6 6 0;
24396                }
24397             }
24398             description { state: "selected" 0.0;
24399                inherit: "default" 0.0;
24400                visible: 1;
24401                color: 255 255 255 255;
24402             }
24403          }
24404          part { name: "disclip";
24405             type: RECT;
24406             description { state: "default" 0.0;
24407                rel1.to: "bg";
24408                rel2.to: "bg";
24409             }
24410             description { state: "disabled" 0.0;
24411                inherit: "default" 0.0;
24412                color: 255 255 255 64;
24413             }
24414          }
24415       }
24416       programs {
24417          // signal: elm,state,%s,active
24418          //   a "check" item named %s went active
24419          // signal: elm,state,%s,passive
24420          //   a "check" item named %s went passive
24421          // default is passive
24422          program {
24423             name:    "go_active";
24424             signal:  "elm,state,selected";
24425             source:  "elm";
24426             action:  STATE_SET "selected" 0.0;
24427             target:  "bg";
24428             target:  "fg1";
24429             target:  "fg2";
24430             target:  "elm.text.title";
24431             target:  "elm.text.album-artist";
24432          }
24433          program {
24434             name:    "go_passive";
24435             signal:  "elm,state,unselected";
24436             source:  "elm";
24437             action:  STATE_SET "default" 0.0;
24438             target:  "bg";
24439             target:  "fg1";
24440             target:  "fg2";
24441             target:  "elm.text.title";
24442             target:  "elm.text.album-artist";
24443             transition: LINEAR 0.1;
24444          }
24445          program {
24446             name:    "go_disabled";
24447             signal:  "elm,state,disabled";
24448             source:  "elm";
24449             action:  STATE_SET "disabled" 0.0;
24450             target:  "disclip";
24451          }
24452          program {
24453             name:    "go_enabled";
24454             signal:  "elm,state,enabled";
24455             source:  "elm";
24456             action:  STATE_SET "default" 0.0;
24457             target:  "disclip";
24458          }
24459       }
24460    }
24461    group { name: "elm/genlist/item_compress_odd/media/default";
24462       data.item: "stacking" "below";
24463       data.item: "selectraise" "on";
24464       data.item: "labels" "elm.text.title elm.text.album-artist";
24465       data.item: "treesize" "20";
24466       images {
24467          image: "bt_sm_base1.png" COMP;
24468          image: "bt_sm_shine.png" COMP;
24469          image: "bt_sm_hilight.png" COMP;
24470          image: "ilist_2.png" COMP;
24471       }
24472       parts {
24473          part { name: "event";
24474             type: RECT;
24475             repeat_events: 1;
24476             description {
24477                state: "default" 0.0;
24478                color: 0 0 0 0;
24479             }
24480          }
24481          part {
24482             name: "base";
24483             mouse_events: 0;
24484             description {
24485                state: "default" 0.0;
24486                image {
24487                   normal: "ilist_2.png";
24488                   border: 2 2 2 2;
24489                }
24490                fill.smooth: 0;
24491             }
24492          }
24493          part { name: "bg";
24494             clip_to: "disclip";
24495             mouse_events: 0;
24496             description { state: "default" 0.0;
24497                visible: 0;
24498                color: 255 255 255 0;
24499                rel1 {
24500                   relative: 0.0 0.0;
24501                   offset: -5 -5;
24502                }
24503                rel2 {
24504                   relative: 1.0 1.0;
24505                   offset: 4 4;
24506                }
24507                image {
24508                   normal: "bt_sm_base1.png";
24509                   border: 6 6 6 6;
24510                }
24511                image.middle: SOLID;
24512             }
24513             description { state: "selected" 0.0;
24514                inherit: "default" 0.0;
24515                visible: 1;
24516                color: 255 255 255 255;
24517                rel1 {
24518                   relative: 0.0 0.0;
24519                   offset: -2 -2;
24520                }
24521                rel2 {
24522                   relative: 1.0 1.0;
24523                   offset: 1 1;
24524                }
24525             }
24526          }
24527          part { name: "elm.swallow.pad";
24528             type: SWALLOW;
24529             description { state: "default" 0.0;
24530                fixed: 1 0;
24531                align: 0.0 0.5;
24532                rel1 {
24533                   relative: 0.0  0.0;
24534                   offset:   4    4;
24535                }
24536                rel2 {
24537                   relative: 0.0  1.0;
24538                   offset:   4   -5;
24539                }
24540             }
24541          }
24542          part { name: "elm.text.title";
24543             clip_to: "disclip";
24544             type:           TEXT;
24545             effect:         SOFT_SHADOW;
24546             mouse_events:   0;
24547             scale: 1;
24548             description {
24549                state: "default" 0.0;
24550                rel1 {
24551                   relative: 0.0  0.0;
24552                   offset:   4 4;
24553                }
24554                rel2 {
24555                   relative: 1.0  0.5;
24556                   offset:   -1 -5;
24557                }
24558                color: 0 0 0 255;
24559                color3: 0 0 0 0;
24560                text {
24561                   font: "Sans";
24562                   size: 10;
24563                   min: 0 1;
24564                   align: 0.0 0.5;
24565                }
24566             }
24567             description { state: "selected" 0.0;
24568                inherit: "default" 0.0;
24569                color: 224 224 224 255;
24570                color3: 0 0 0 64;
24571             }
24572          }
24573          part { name: "elm.text.album-artist";
24574             clip_to: "disclip";
24575             type:           TEXT;
24576             mouse_events:   0;
24577             scale: 1;
24578             description {
24579                state: "default" 0.0;
24580                rel1 {
24581                   relative: 0.0  0.5;
24582                   offset:   4 4;
24583                }
24584                rel2 {
24585                   relative: 1.0  1.0;
24586                   offset:   -1 -5;
24587                }
24588                color: 0 0 0 128;
24589                color3: 0 0 0 0;
24590                text {
24591                   font: "Sans";
24592                   size: 8;
24593                   min: 0 1;
24594                   align: 0.0 0.5;
24595                }
24596             }
24597             description { state: "selected" 0.0;
24598                inherit: "default" 0.0;
24599                color: 128 128 128 255;
24600                color3: 0 0 0 32;
24601             }
24602          }
24603          part { name: "fg1";
24604             clip_to: "disclip";
24605             mouse_events: 0;
24606             description { state: "default" 0.0;
24607                visible: 0;
24608                color: 255 255 255 0;
24609                rel1.to: "bg";
24610                rel2.relative: 1.0 0.5;
24611                rel2.to: "bg";
24612                image {
24613                   normal: "bt_sm_hilight.png";
24614                   border: 6 6 6 0;
24615                }
24616             }
24617             description { state: "selected" 0.0;
24618                inherit: "default" 0.0;
24619                visible: 1;
24620                color: 255 255 255 255;
24621             }
24622          }
24623          part { name: "fg2";
24624             clip_to: "disclip";
24625             mouse_events: 0;
24626             description { state: "default" 0.0;
24627                visible: 0;
24628                color: 255 255 255 0;
24629                rel1.to: "bg";
24630                rel2.to: "bg";
24631                image {
24632                   normal: "bt_sm_shine.png";
24633                   border: 6 6 6 0;
24634                }
24635             }
24636             description { state: "selected" 0.0;
24637                inherit: "default" 0.0;
24638                visible: 1;
24639                color: 255 255 255 255;
24640             }
24641          }
24642          part { name: "disclip";
24643             type: RECT;
24644             description { state: "default" 0.0;
24645                rel1.to: "bg";
24646                rel2.to: "bg";
24647             }
24648             description { state: "disabled" 0.0;
24649                inherit: "default" 0.0;
24650                color: 255 255 255 64;
24651             }
24652          }
24653       }
24654       programs {
24655          // signal: elm,state,%s,active
24656          //   a "check" item named %s went active
24657          // signal: elm,state,%s,passive
24658          //   a "check" item named %s went passive
24659          // default is passive
24660          program {
24661             name:    "go_active";
24662             signal:  "elm,state,selected";
24663             source:  "elm";
24664             action:  STATE_SET "selected" 0.0;
24665             target:  "bg";
24666             target:  "fg1";
24667             target:  "fg2";
24668             target:  "elm.text.title";
24669             target:  "elm.text.album-artist";
24670          }
24671          program {
24672             name:    "go_passive";
24673             signal:  "elm,state,unselected";
24674             source:  "elm";
24675             action:  STATE_SET "default" 0.0;
24676             target:  "bg";
24677             target:  "fg1";
24678             target:  "fg2";
24679             target:  "elm.text.title";
24680             target:  "elm.text.album-artist";
24681             transition: LINEAR 0.1;
24682          }
24683          program {
24684             name:    "go_disabled";
24685             signal:  "elm,state,disabled";
24686             source:  "elm";
24687             action:  STATE_SET "disabled" 0.0;
24688             target:  "disclip";
24689          }
24690          program {
24691             name:    "go_enabled";
24692             signal:  "elm,state,enabled";
24693             source:  "elm";
24694             action:  STATE_SET "default" 0.0;
24695             target:  "disclip";
24696          }
24697       }
24698    }
24699
24700    group { name: "elm/genlist/item_compress/media-album/default";
24701       data.item: "stacking" "above";
24702       data.item: "selectraise" "on";
24703       data.item: "labels" "elm.text.title elm.text.trackno elm.text.length";
24704       data.item: "states" "elm.state.trackno";
24705       data.item: "treesize" "20";
24706       images {
24707          image: "bt_sm_base1.png" COMP;
24708          image: "bt_sm_shine.png" COMP;
24709          image: "bt_sm_hilight.png" COMP;
24710          image: "ilist_1.png" COMP;
24711          image: "ilist_item_shadow.png" COMP;
24712       }
24713       script {
24714          public dot_visible;
24715       }
24716       parts {
24717          part {
24718             name: "event";
24719             type: RECT;
24720             repeat_events: 1;
24721             description {
24722                state: "default" 0.0;
24723                color: 0 0 0 0;
24724             }
24725          }
24726          part {
24727             name: "base_sh";
24728             mouse_events: 0;
24729             description {
24730                state: "default" 0.0;
24731                align: 0.0 0.0;
24732                min: 0 10;
24733                fixed: 1 1;
24734                rel1 {
24735                   to: "base";
24736                   relative: 0.0 1.0;
24737                   offset: 0 0;
24738                }
24739                rel2 {
24740                   to: "base";
24741                   relative: 1.0 1.0;
24742                   offset: -1 0;
24743                }
24744                image {
24745                   normal: "ilist_item_shadow.png";
24746                }
24747                fill.smooth: 0;
24748             }
24749          }
24750          part {
24751             name: "base";
24752             mouse_events: 0;
24753             description {
24754                state: "default" 0.0;
24755                image {
24756                   normal: "ilist_1.png";
24757                   border: 2 2 2 2;
24758                }
24759                fill.smooth: 0;
24760             }
24761          }
24762          part { name: "bg";
24763             clip_to: "disclip";
24764             mouse_events: 0;
24765             description { state: "default" 0.0;
24766                visible: 0;
24767                color: 255 255 255 0;
24768                rel1 {
24769                   relative: 0.0 0.0;
24770                   offset: -5 -5;
24771                }
24772                rel2 {
24773                   relative: 1.0 1.0;
24774                   offset: 4 4;
24775                }
24776                image {
24777                   normal: "bt_sm_base1.png";
24778                   border: 6 6 6 6;
24779                }
24780                image.middle: SOLID;
24781             }
24782             description { state: "selected" 0.0;
24783                inherit: "default" 0.0;
24784                visible: 1;
24785                color: 255 255 255 255;
24786                rel1 {
24787                   relative: 0.0 0.0;
24788                   offset: -2 -2;
24789                }
24790                rel2 {
24791                   relative: 1.0 1.0;
24792                   offset: 1 1;
24793                }
24794             }
24795          }
24796          part { name: "elm.swallow.pad";
24797             type: SWALLOW;
24798             description { state: "default" 0.0;
24799                fixed: 1 0;
24800                align: 0.0 0.5;
24801                rel1 {
24802                   relative: 0.0  0.0;
24803                   offset:   4    4;
24804                }
24805                rel2 {
24806                   relative: 0.0  1.0;
24807                   offset:   4   -5;
24808                }
24809             }
24810          }
24811          part {
24812             name: "elm.text.trackno";
24813             type: TEXT;
24814             scale: 1;
24815             mouse_events: 0;
24816             description {
24817                state: "default" 0.0;
24818                color: 255 255 255 255;
24819                align: 0.0 0.0;
24820                fixed: 1 0;
24821                rel1 {
24822                   to_y: "elm.text.title";
24823                   relative: 0.0 0.0;
24824                   offset: 5 0;
24825                }
24826                rel2 {
24827                   to_y: "elm.text.title";
24828                   relative: 0.0 1.0;
24829                   offset: 20 0;
24830                }
24831                color: 0 0 0 255;
24832                color3: 0 0 0 0;
24833                text {
24834                   font: "Sans";
24835                   size: 10;
24836                   min: 1 1;
24837                   align: 1.0 0.5;
24838                }
24839             }
24840             description { state: "selected" 0.0;
24841                inherit: "default" 0.0;
24842                color: 224 224 224 255;
24843                color3: 0 0 0 64;
24844             }
24845          }
24846          part {
24847             name: "dot";
24848             type: TEXT;
24849             scale: 1;
24850             mouse_events: 0;
24851             description {
24852                state: "default" 0.0;
24853                color: 255 255 255 255;
24854                visible: 0;
24855                fixed: 1 1;
24856                align: 0.0 0.0;
24857                rel1 {
24858                   to_x: "elm.text.trackno";
24859                   to_y: "elm.text.title";
24860                   relative: 1.0 0.0;
24861                   offset: 1 0;
24862                }
24863                rel2 {
24864                   to_x: "elm.text.trackno";
24865                   to_y: "elm.text.title";
24866                   relative: 1.0 1.0;
24867                   offset: 1 0;
24868
24869                }
24870                color: 0 0 0 255;
24871                color3: 0 0 0 0;
24872                text {
24873                   font: "Sans";
24874                   size: 10;
24875                   min: 1 1;
24876                   align: 0.0 0.5;
24877                   text: ".";
24878                }
24879             }
24880             description {
24881                state: "visible" 0.0;
24882                inherit: "default" 0.0;
24883                visible: 1;
24884             }
24885             description { state: "selected" 0.0;
24886                inherit: "default" 0.0;
24887                color: 224 224 224 255;
24888                color3: 0 0 0 64;
24889                visible: 1;
24890             }
24891          }
24892          programs {
24893             program {
24894                signal: "elm,state,elm.state.trackno,active";
24895                source: "elm";
24896                script {
24897                   set_state(PART:"dot", "visible", 0.0);
24898                   set_int(dot_visible, 1);
24899                }
24900             }
24901          }
24902          part { name: "elm.text.title";
24903             clip_to: "disclip";
24904             type:           TEXT;
24905             effect:         SOFT_SHADOW;
24906             mouse_events:   0;
24907             scale: 1;
24908             description {
24909                state: "default" 0.0;
24910                rel1 {
24911                   to_x: "dot";
24912                   relative: 0.0  0.0;
24913                   offset:   4 4;
24914                }
24915                rel2 {
24916                   relative: 1.0  0.5;
24917                   offset:   -1 -5;
24918                }
24919                color: 0 0 0 255;
24920                color3: 0 0 0 0;
24921                text {
24922                   font: "Sans";
24923                   size: 10;
24924                   min: 0 1;
24925                   align: 0.0 0.5;
24926                }
24927             }
24928             description { state: "selected" 0.0;
24929                inherit: "default" 0.0;
24930                color: 224 224 224 255;
24931                color3: 0 0 0 64;
24932             }
24933          }
24934          part { name: "elm.text.length";
24935             clip_to: "disclip";
24936             type:           TEXT;
24937             mouse_events:   0;
24938             scale: 1;
24939             description {
24940                state: "default" 0.0;
24941                rel1 {
24942                   relative: 0.0  0.5;
24943                   offset:   4 4;
24944                }
24945                rel2 {
24946                   relative: 1.0  1.0;
24947                   offset:   -1 -5;
24948                }
24949                color: 0 0 0 128;
24950                color3: 0 0 0 0;
24951                text {
24952                   font: "Sans";
24953                   size: 8;
24954                   min: 0 1;
24955                   align: 0.0 0.5;
24956                }
24957             }
24958             description { state: "selected" 0.0;
24959                inherit: "default" 0.0;
24960                color: 128 128 128 255;
24961                color3: 0 0 0 32;
24962             }
24963          }
24964          part { name: "fg1";
24965             clip_to: "disclip";
24966             mouse_events: 0;
24967             description { state: "default" 0.0;
24968                visible: 0;
24969                color: 255 255 255 0;
24970                rel1.to: "bg";
24971                rel2.relative: 1.0 0.5;
24972                rel2.to: "bg";
24973                image {
24974                   normal: "bt_sm_hilight.png";
24975                   border: 6 6 6 0;
24976                }
24977             }
24978             description { state: "selected" 0.0;
24979                inherit: "default" 0.0;
24980                visible: 1;
24981                color: 255 255 255 255;
24982             }
24983          }
24984          part { name: "fg2";
24985             clip_to: "disclip";
24986             mouse_events: 0;
24987             description { state: "default" 0.0;
24988                visible: 0;
24989                color: 255 255 255 0;
24990                rel1.to: "bg";
24991                rel2.to: "bg";
24992                image {
24993                   normal: "bt_sm_shine.png";
24994                   border: 6 6 6 0;
24995                }
24996             }
24997             description { state: "selected" 0.0;
24998                inherit: "default" 0.0;
24999                visible: 1;
25000                color: 255 255 255 255;
25001             }
25002          }
25003          part { name: "disclip";
25004             type: RECT;
25005             description { state: "default" 0.0;
25006                rel1.to: "bg";
25007                rel2.to: "bg";
25008             }
25009             description { state: "disabled" 0.0;
25010                inherit: "default" 0.0;
25011                color: 255 255 255 64;
25012             }
25013          }
25014       }
25015       programs {
25016          // signal: elm,state,%s,active
25017          //   a "check" item named %s went active
25018          // signal: elm,state,%s,passive
25019          //   a "check" item named %s went passive
25020          // default is passive
25021          program {
25022             name:    "go_active";
25023             signal:  "elm,state,selected";
25024             source:  "elm";
25025             action:  STATE_SET "selected" 0.0;
25026             target:  "bg";
25027             target:  "fg1";
25028             target:  "fg2";
25029             target:  "elm.text.title";
25030             target:  "elm.text.trackno";
25031             target:  "elm.text.length";
25032             after:   "dot_active";
25033          }
25034          program {
25035             name: "dot_active";
25036             script {
25037                if (get_int(dot_visible) == 1)
25038                   set_state(PART:"dot", "selected", 0.0);
25039             }
25040          }
25041          program {
25042             name:    "go_passive";
25043             signal:  "elm,state,unselected";
25044             source:  "elm";
25045             action:  STATE_SET "default" 0.0;
25046             target:  "bg";
25047             target:  "fg1";
25048             target:  "fg2";
25049             target:  "elm.text.title";
25050             target:  "elm.text.length";
25051             target:  "elm.text.trackno";
25052             transition: LINEAR 0.1;
25053             after:   "dot_passive";
25054          }
25055          program {
25056             name: "dot_passive";
25057             script {
25058                if (get_int(dot_visible) == 1)
25059                   set_state(PART:"dot", "visible", 0.0);
25060             }
25061          }
25062          program {
25063             name:    "go_disabled";
25064             signal:  "elm,state,disabled";
25065             source:  "elm";
25066             action:  STATE_SET "disabled" 0.0;
25067             target:  "disclip";
25068          }
25069          program {
25070             name:    "go_enabled";
25071             signal:  "elm,state,enabled";
25072             source:  "elm";
25073             action:  STATE_SET "default" 0.0;
25074             target:  "disclip";
25075          }
25076       }
25077    }
25078    group { name: "elm/genlist/item_compress_odd/media-album/default";
25079       data.item: "stacking" "below";
25080       data.item: "selectraise" "on";
25081       data.item: "labels" "elm.text.title elm.text.trackno elm.text.length";
25082       data.item: "states" "elm.state.trackno";
25083       data.item: "treesize" "20";
25084       images {
25085          image: "bt_sm_base1.png" COMP;
25086          image: "bt_sm_shine.png" COMP;
25087          image: "bt_sm_hilight.png" COMP;
25088          image: "ilist_2.png" COMP;
25089       }
25090       script {
25091          public dot_visible;
25092       }
25093       parts {
25094          part { name: "event";
25095             type: RECT;
25096             repeat_events: 1;
25097             description {
25098                state: "default" 0.0;
25099                color: 0 0 0 0;
25100             }
25101          }
25102          part {
25103             name: "base";
25104             mouse_events: 0;
25105             description {
25106                state: "default" 0.0;
25107                image {
25108                   normal: "ilist_2.png";
25109                   border: 2 2 2 2;
25110                }
25111                fill.smooth: 0;
25112             }
25113          }
25114          part { name: "bg";
25115             clip_to: "disclip";
25116             mouse_events: 0;
25117             description { state: "default" 0.0;
25118                visible: 0;
25119                color: 255 255 255 0;
25120                rel1 {
25121                   relative: 0.0 0.0;
25122                   offset: -5 -5;
25123                }
25124                rel2 {
25125                   relative: 1.0 1.0;
25126                   offset: 4 4;
25127                }
25128                image {
25129                   normal: "bt_sm_base1.png";
25130                   border: 6 6 6 6;
25131                }
25132                image.middle: SOLID;
25133             }
25134             description { state: "selected" 0.0;
25135                inherit: "default" 0.0;
25136                visible: 1;
25137                color: 255 255 255 255;
25138                rel1 {
25139                   relative: 0.0 0.0;
25140                   offset: -2 -2;
25141                }
25142                rel2 {
25143                   relative: 1.0 1.0;
25144                   offset: 1 1;
25145                }
25146             }
25147          }
25148          part { name: "elm.swallow.pad";
25149             type: SWALLOW;
25150             description { state: "default" 0.0;
25151                fixed: 1 0;
25152                align: 0.0 0.5;
25153                rel1 {
25154                   relative: 0.0  0.0;
25155                   offset:   4    4;
25156                }
25157                rel2 {
25158                   relative: 0.0  1.0;
25159                   offset:   4   -5;
25160                }
25161             }
25162          }
25163          part {
25164             name: "elm.text.trackno";
25165             type: TEXT;
25166             scale: 1;
25167             mouse_events: 0;
25168             description {
25169                state: "default" 0.0;
25170                color: 255 255 255 255;
25171                align: 0.0 0.0;
25172                fixed: 1 0;
25173                rel1 {
25174                   to_y: "elm.text.title";
25175                   relative: 0.0 0.0;
25176                   offset: 5 0;
25177                }
25178                rel2 {
25179                   to_y: "elm.text.title";
25180                   relative: 0.0 1.0;
25181                   offset: 20 0;
25182                }
25183                color: 0 0 0 255;
25184                color3: 0 0 0 0;
25185                text {
25186                   font: "Sans";
25187                   size: 10;
25188                   min: 1 1;
25189                   align: 1.0 0.5;
25190                }
25191             }
25192             description { state: "selected" 0.0;
25193                inherit: "default" 0.0;
25194                color: 224 224 224 255;
25195                color3: 0 0 0 64;
25196             }
25197          }
25198          part {
25199             name: "dot";
25200             type: TEXT;
25201             scale: 1;
25202             mouse_events: 0;
25203             description {
25204                state: "default" 0.0;
25205                color: 255 255 255 255;
25206                visible: 0;
25207                fixed: 1 1;
25208                align: 0.0 0.0;
25209                rel1 {
25210                   to_x: "elm.text.trackno";
25211                   to_y: "elm.text.title";
25212                   relative: 1.0 0.0;
25213                   offset: 1 0;
25214                }
25215                rel2 {
25216                   to_x: "elm.text.trackno";
25217                   to_y: "elm.text.title";
25218                   relative: 1.0 1.0;
25219                   offset: 1 0;
25220
25221                }
25222                color: 0 0 0 255;
25223                color3: 0 0 0 0;
25224                text {
25225                   font: "Sans";
25226                   size: 10;
25227                   min: 1 1;
25228                   align: 0.0 0.5;
25229                   text: ".";
25230                }
25231             }
25232             description {
25233                state: "visible" 0.0;
25234                inherit: "default" 0.0;
25235                visible: 1;
25236             }
25237             description { state: "selected" 0.0;
25238                inherit: "default" 0.0;
25239                color: 224 224 224 255;
25240                color3: 0 0 0 64;
25241                visible: 1;
25242             }
25243          }
25244          programs {
25245             program {
25246                signal: "elm,state,elm.state.trackno,active";
25247                source: "elm";
25248                script {
25249                   set_state(PART:"dot", "visible", 0.0);
25250                   set_int(dot_visible, 1);
25251                }
25252             }
25253          }
25254          part { name: "elm.text.title";
25255             clip_to: "disclip";
25256             type:           TEXT;
25257             effect:         SOFT_SHADOW;
25258             mouse_events:   0;
25259             scale: 1;
25260             description {
25261                state: "default" 0.0;
25262                rel1 {
25263                   to_x: "dot";
25264                   relative: 1.0  0.0;
25265                   offset:   4 4;
25266                }
25267                rel2 {
25268                   relative: 1.0  0.5;
25269                   offset:   -1 -5;
25270                }
25271                color: 0 0 0 255;
25272                color3: 0 0 0 0;
25273                text {
25274                   font: "Sans";
25275                   size: 10;
25276                   min: 0 1;
25277                   align: 0.0 0.5;
25278                }
25279             }
25280             description { state: "selected" 0.0;
25281                inherit: "default" 0.0;
25282                color: 224 224 224 255;
25283                color3: 0 0 0 64;
25284             }
25285          }
25286          part { name: "elm.text.length";
25287             clip_to: "disclip";
25288             type:           TEXT;
25289             mouse_events:   0;
25290             scale: 1;
25291             description {
25292                state: "default" 0.0;
25293                rel1 {
25294                   relative: 0.0  0.5;
25295                   offset:   4 4;
25296                }
25297                rel2 {
25298                   relative: 1.0  1.0;
25299                   offset:   -1 -5;
25300                }
25301                color: 0 0 0 128;
25302                color3: 0 0 0 0;
25303                text {
25304                   font: "Sans";
25305                   size: 8;
25306                   min: 0 1;
25307                   align: 0.0 0.5;
25308                }
25309             }
25310             description { state: "selected" 0.0;
25311                inherit: "default" 0.0;
25312                color: 128 128 128 255;
25313                color3: 0 0 0 32;
25314             }
25315          }
25316          part { name: "fg1";
25317             clip_to: "disclip";
25318             mouse_events: 0;
25319             description { state: "default" 0.0;
25320                visible: 0;
25321                color: 255 255 255 0;
25322                rel1.to: "bg";
25323                rel2.relative: 1.0 0.5;
25324                rel2.to: "bg";
25325                image {
25326                   normal: "bt_sm_hilight.png";
25327                   border: 6 6 6 0;
25328                }
25329             }
25330             description { state: "selected" 0.0;
25331                inherit: "default" 0.0;
25332                visible: 1;
25333                color: 255 255 255 255;
25334             }
25335          }
25336          part { name: "fg2";
25337             clip_to: "disclip";
25338             mouse_events: 0;
25339             description { state: "default" 0.0;
25340                visible: 0;
25341                color: 255 255 255 0;
25342                rel1.to: "bg";
25343                rel2.to: "bg";
25344                image {
25345                   normal: "bt_sm_shine.png";
25346                   border: 6 6 6 0;
25347                }
25348             }
25349             description { state: "selected" 0.0;
25350                inherit: "default" 0.0;
25351                visible: 1;
25352                color: 255 255 255 255;
25353             }
25354          }
25355          part { name: "disclip";
25356             type: RECT;
25357             description { state: "default" 0.0;
25358                rel1.to: "bg";
25359                rel2.to: "bg";
25360             }
25361             description { state: "disabled" 0.0;
25362                inherit: "default" 0.0;
25363                color: 255 255 255 64;
25364             }
25365          }
25366       }
25367       programs {
25368          // signal: elm,state,%s,active
25369          //   a "check" item named %s went active
25370          // signal: elm,state,%s,passive
25371          //   a "check" item named %s went passive
25372          // default is passive
25373          program {
25374             name:    "go_active";
25375             signal:  "elm,state,selected";
25376             source:  "elm";
25377             action:  STATE_SET "selected" 0.0;
25378             target:  "bg";
25379             target:  "fg1";
25380             target:  "fg2";
25381             target:  "elm.text.title";
25382             target:  "elm.text.length";
25383             target:  "elm.text.trackno";
25384             after:   "dot_active";
25385          }
25386          program {
25387             name: "dot_active";
25388             script {
25389                if (get_int(dot_visible) == 1)
25390                   set_state(PART:"dot", "selected", 0.0);
25391             }
25392          }
25393          program {
25394             name:    "go_passive";
25395             signal:  "elm,state,unselected";
25396             source:  "elm";
25397             action:  STATE_SET "default" 0.0;
25398             target:  "bg";
25399             target:  "fg1";
25400             target:  "fg2";
25401             target:  "elm.text.title";
25402             target:  "elm.text.length";
25403             target:  "elm.text.trackno";
25404             transition: LINEAR 0.1;
25405             after:   "dot_passive";
25406          }
25407          program {
25408             name: "dot_passive";
25409             script {
25410                if (get_int(dot_visible) == 1)
25411                   set_state(PART:"dot", "visible", 0.0);
25412             }
25413          }
25414          program {
25415             name:    "go_disabled";
25416             signal:  "elm,state,disabled";
25417             source:  "elm";
25418             action:  STATE_SET "disabled" 0.0;
25419             target:  "disclip";
25420          }
25421          program {
25422             name:    "go_enabled";
25423             signal:  "elm,state,enabled";
25424             source:  "elm";
25425             action:  STATE_SET "default" 0.0;
25426             target:  "disclip";
25427          }
25428       }
25429    }
25430
25431    group { name: "elm/genlist/item_compress/media-preview/default";
25432       data.item: "stacking" "above";
25433       data.item: "selectraise" "on";
25434       data.item: "labels" "elm.text.title elm.text.artist";
25435       data.item: "icons" "elm.swallow.preview";
25436       data.item: "treesize" "20";
25437       images {
25438          image: "bt_sm_base1.png" COMP;
25439          image: "bt_sm_shine.png" COMP;
25440          image: "bt_sm_hilight.png" COMP;
25441          image: "ilist_1.png" COMP;
25442          image: "ilist_item_shadow.png" COMP;
25443       }
25444       parts {
25445          part {
25446             name: "event";
25447             type: RECT;
25448             repeat_events: 1;
25449             description {
25450                state: "default" 0.0;
25451                color: 0 0 0 0;
25452             }
25453          }
25454          part {
25455             name: "base_sh";
25456             mouse_events: 0;
25457             description {
25458                state: "default" 0.0;
25459                align: 0.0 0.0;
25460                min: 0 10;
25461                fixed: 1 1;
25462                rel1 {
25463                   to: "base";
25464                   relative: 0.0 1.0;
25465                   offset: 0 0;
25466                }
25467                rel2 {
25468                   to: "base";
25469                   relative: 1.0 1.0;
25470                   offset: -1 0;
25471                }
25472                image {
25473                   normal: "ilist_item_shadow.png";
25474                }
25475                fill.smooth: 0;
25476             }
25477          }
25478          part {
25479             name: "base";
25480             mouse_events: 0;
25481             description {
25482                state: "default" 0.0;
25483                image {
25484                   normal: "ilist_1.png";
25485                   border: 2 2 2 2;
25486                }
25487                fill.smooth: 0;
25488             }
25489          }
25490          part { name: "bg";
25491             clip_to: "disclip";
25492             mouse_events: 0;
25493             description { state: "default" 0.0;
25494                visible: 0;
25495                color: 255 255 255 0;
25496                rel1 {
25497                   relative: 0.0 0.0;
25498                   offset: -5 -5;
25499                }
25500                rel2 {
25501                   relative: 1.0 1.0;
25502                   offset: 4 4;
25503                }
25504                image {
25505                   normal: "bt_sm_base1.png";
25506                   border: 6 6 6 6;
25507                }
25508                image.middle: SOLID;
25509             }
25510             description { state: "selected" 0.0;
25511                inherit: "default" 0.0;
25512                visible: 1;
25513                color: 255 255 255 255;
25514                rel1 {
25515                   relative: 0.0 0.0;
25516                   offset: -2 -2;
25517                }
25518                rel2 {
25519                   relative: 1.0 1.0;
25520                   offset: 1 1;
25521                }
25522             }
25523          }
25524          part { name: "elm.swallow.pad";
25525             type: SWALLOW;
25526             description { state: "default" 0.0;
25527                fixed: 1 0;
25528                align: 0.0 0.5;
25529                rel1 {
25530                   relative: 0.0  0.0;
25531                   offset:   4    4;
25532                }
25533                rel2 {
25534                   relative: 0.0  1.0;
25535                   offset:   4   -5;
25536                }
25537             }
25538          }
25539          part { name: "elm.swallow.preview";
25540             clip_to: "disclip";
25541             type: SWALLOW;
25542             description { state: "default" 0.0;
25543                fixed: 1 0;
25544                align: 0.0 0.5;
25545                min: 68 68;
25546                max: 68 68;
25547                rel1 {
25548                   to_x: "elm.swallow.pad";
25549                   relative: 1.0  0.0;
25550                   offset:   -1    4;
25551                }
25552                rel2 {
25553                   to_x: "elm.swallow.pad";
25554                   relative: 1.0  1.0;
25555                   offset:   -1   -5;
25556                }
25557             }
25558          }
25559          part { name: "elm.text.title";
25560             clip_to: "disclip";
25561             type:           TEXT;
25562             effect:         SOFT_SHADOW;
25563             mouse_events:   0;
25564             scale: 1;
25565             description {
25566                state: "default" 0.0;
25567                rel1 {
25568                   to_x:     "elm.swallow.preview";
25569                   relative: 1.0  0.0;
25570                   offset:   4 4;
25571                }
25572                rel2 {
25573                   relative: 1.0  0.5;
25574                   offset:   -1 -5;
25575                }
25576                color: 0 0 0 255;
25577                color3: 0 0 0 0;
25578                text {
25579                   font: "Sans";
25580                   size: 10;
25581                   min: 0 1;
25582                   align: 0.0 0.5;
25583                }
25584             }
25585             description { state: "selected" 0.0;
25586                inherit: "default" 0.0;
25587                color: 224 224 224 255;
25588                color3: 0 0 0 64;
25589             }
25590          }
25591          part { name: "elm.text.artist";
25592             clip_to: "disclip";
25593             type:           TEXT;
25594             mouse_events:   0;
25595             scale: 1;
25596             description {
25597                state: "default" 0.0;
25598                rel1 {
25599                   to_x:     "elm.swallow.preview";
25600                   relative: 1.0  0.5;
25601                   offset:   4 4;
25602                }
25603                rel2 {
25604                   relative: 1.0  1.0;
25605                   offset:   -1 -5;
25606                }
25607                color: 0 0 0 128;
25608                color3: 0 0 0 0;
25609                text {
25610                   font: "Sans";
25611                   size: 8;
25612                   min: 0 1;
25613                   align: 0.0 0.5;
25614                }
25615             }
25616             description { state: "selected" 0.0;
25617                inherit: "default" 0.0;
25618                color: 128 128 128 255;
25619                color3: 0 0 0 32;
25620             }
25621          }
25622          part { name: "fg1";
25623             clip_to: "disclip";
25624             mouse_events: 0;
25625             description { state: "default" 0.0;
25626                visible: 0;
25627                color: 255 255 255 0;
25628                rel1.to: "bg";
25629                rel2.relative: 1.0 0.5;
25630                rel2.to: "bg";
25631                image {
25632                   normal: "bt_sm_hilight.png";
25633                   border: 6 6 6 0;
25634                }
25635             }
25636             description { state: "selected" 0.0;
25637                inherit: "default" 0.0;
25638                visible: 1;
25639                color: 255 255 255 255;
25640             }
25641          }
25642          part { name: "fg2";
25643             clip_to: "disclip";
25644             mouse_events: 0;
25645             description { state: "default" 0.0;
25646                visible: 0;
25647                color: 255 255 255 0;
25648                rel1.to: "bg";
25649                rel2.to: "bg";
25650                image {
25651                   normal: "bt_sm_shine.png";
25652                   border: 6 6 6 0;
25653                }
25654             }
25655             description { state: "selected" 0.0;
25656                inherit: "default" 0.0;
25657                visible: 1;
25658                color: 255 255 255 255;
25659             }
25660          }
25661          part { name: "disclip";
25662             type: RECT;
25663             description { state: "default" 0.0;
25664                rel1.to: "bg";
25665                rel2.to: "bg";
25666             }
25667             description { state: "disabled" 0.0;
25668                inherit: "default" 0.0;
25669                color: 255 255 255 64;
25670             }
25671          }
25672       }
25673       programs {
25674          // signal: elm,state,%s,active
25675          //   a "check" item named %s went active
25676          // signal: elm,state,%s,passive
25677          //   a "check" item named %s went passive
25678          // default is passive
25679          program {
25680             name:    "go_active";
25681             signal:  "elm,state,selected";
25682             source:  "elm";
25683             action:  STATE_SET "selected" 0.0;
25684             target:  "bg";
25685             target:  "fg1";
25686             target:  "fg2";
25687             target:  "elm.text.title";
25688             target:  "elm.text.artist";
25689          }
25690          program {
25691             name:    "go_passive";
25692             signal:  "elm,state,unselected";
25693             source:  "elm";
25694             action:  STATE_SET "default" 0.0;
25695             target:  "bg";
25696             target:  "fg1";
25697             target:  "fg2";
25698             target:  "elm.text.title";
25699             target:  "elm.text.artist";
25700             transition: LINEAR 0.1;
25701          }
25702          program {
25703             name:    "go_disabled";
25704             signal:  "elm,state,disabled";
25705             source:  "elm";
25706             action:  STATE_SET "disabled" 0.0;
25707             target:  "disclip";
25708          }
25709          program {
25710             name:    "go_enabled";
25711             signal:  "elm,state,enabled";
25712             source:  "elm";
25713             action:  STATE_SET "default" 0.0;
25714             target:  "disclip";
25715          }
25716       }
25717    }
25718    group { name: "elm/genlist/item_compress_odd/media-preview/default";
25719       data.item: "stacking" "below";
25720       data.item: "selectraise" "on";
25721       data.item: "labels" "elm.text.title elm.text.artist";
25722       data.item: "icons" "elm.swallow.preview";
25723       data.item: "treesize" "20";
25724       images {
25725          image: "bt_sm_base1.png" COMP;
25726          image: "bt_sm_shine.png" COMP;
25727          image: "bt_sm_hilight.png" COMP;
25728          image: "ilist_2.png" COMP;
25729       }
25730       parts {
25731          part { name: "event";
25732             type: RECT;
25733             repeat_events: 1;
25734             description {
25735                state: "default" 0.0;
25736                color: 0 0 0 0;
25737             }
25738          }
25739          part {
25740             name: "base";
25741             mouse_events: 0;
25742             description {
25743                state: "default" 0.0;
25744                image {
25745                   normal: "ilist_2.png";
25746                   border: 2 2 2 2;
25747                }
25748                fill.smooth: 0;
25749             }
25750          }
25751          part { name: "bg";
25752             clip_to: "disclip";
25753             mouse_events: 0;
25754             description { state: "default" 0.0;
25755                visible: 0;
25756                color: 255 255 255 0;
25757                rel1 {
25758                   relative: 0.0 0.0;
25759                   offset: -5 -5;
25760                }
25761                rel2 {
25762                   relative: 1.0 1.0;
25763                   offset: 4 4;
25764                }
25765                image {
25766                   normal: "bt_sm_base1.png";
25767                   border: 6 6 6 6;
25768                }
25769                image.middle: SOLID;
25770             }
25771             description { state: "selected" 0.0;
25772                inherit: "default" 0.0;
25773                visible: 1;
25774                color: 255 255 255 255;
25775                rel1 {
25776                   relative: 0.0 0.0;
25777                   offset: -2 -2;
25778                }
25779                rel2 {
25780                   relative: 1.0 1.0;
25781                   offset: 1 1;
25782                }
25783             }
25784          }
25785          part { name: "elm.swallow.pad";
25786             type: SWALLOW;
25787             description { state: "default" 0.0;
25788                fixed: 1 0;
25789                align: 0.0 0.5;
25790                rel1 {
25791                   relative: 0.0  0.0;
25792                   offset:   4    4;
25793                }
25794                rel2 {
25795                   relative: 0.0  1.0;
25796                   offset:   4   -5;
25797                }
25798             }
25799          }
25800          part { name: "elm.swallow.preview";
25801             clip_to: "disclip";
25802             type: SWALLOW;
25803             description { state: "default" 0.0;
25804                fixed: 1 0;
25805                align: 0.0 0.5;
25806                min: 68 68;
25807                max: 68 68;
25808                rel1 {
25809                   to_x: "elm.swallow.pad";
25810                   relative: 1.0  0.0;
25811                   offset:   -1    4;
25812                }
25813                rel2 {
25814                   to_x: "elm.swallow.pad";
25815                   relative: 1.0  1.0;
25816                   offset:   -1   -5;
25817                }
25818             }
25819          }
25820          part { name: "elm.text.title";
25821             clip_to: "disclip";
25822             type:           TEXT;
25823             effect:         SOFT_SHADOW;
25824             mouse_events:   0;
25825             scale: 1;
25826             description {
25827                state: "default" 0.0;
25828                rel1 {
25829                   to_x:     "elm.swallow.preview";
25830                   relative: 1.0  0.0;
25831                   offset:   4 4;
25832                }
25833                rel2 {
25834                   relative: 1.0  0.5;
25835                   offset:   -1 -5;
25836                }
25837                color: 0 0 0 255;
25838                color3: 0 0 0 0;
25839                text {
25840                   font: "Sans";
25841                   size: 10;
25842                   min: 0 1;
25843                   align: 0.0 0.5;
25844                }
25845             }
25846             description { state: "selected" 0.0;
25847                inherit: "default" 0.0;
25848                color: 224 224 224 255;
25849                color3: 0 0 0 64;
25850             }
25851          }
25852          part { name: "elm.text.artist";
25853             clip_to: "disclip";
25854             type:           TEXT;
25855             mouse_events:   0;
25856             scale: 1;
25857             description {
25858                state: "default" 0.0;
25859                rel1 {
25860                   to_x:     "elm.swallow.preview";
25861                   relative: 1.0  0.5;
25862                   offset:   4 4;
25863                }
25864                rel2 {
25865                   relative: 1.0  1.0;
25866                   offset:   -1 -5;
25867                }
25868                color: 0 0 0 128;
25869                color3: 0 0 0 0;
25870                text {
25871                   font: "Sans";
25872                   size: 8;
25873                   min: 0 1;
25874                   align: 0.0 0.5;
25875                }
25876             }
25877             description { state: "selected" 0.0;
25878                inherit: "default" 0.0;
25879                color: 128 128 128 255;
25880                color3: 0 0 0 32;
25881             }
25882          }
25883          part { name: "fg1";
25884             clip_to: "disclip";
25885             mouse_events: 0;
25886             description { state: "default" 0.0;
25887                visible: 0;
25888                color: 255 255 255 0;
25889                rel1.to: "bg";
25890                rel2.relative: 1.0 0.5;
25891                rel2.to: "bg";
25892                image {
25893                   normal: "bt_sm_hilight.png";
25894                   border: 6 6 6 0;
25895                }
25896             }
25897             description { state: "selected" 0.0;
25898                inherit: "default" 0.0;
25899                visible: 1;
25900                color: 255 255 255 255;
25901             }
25902          }
25903          part { name: "fg2";
25904             clip_to: "disclip";
25905             mouse_events: 0;
25906             description { state: "default" 0.0;
25907                visible: 0;
25908                color: 255 255 255 0;
25909                rel1.to: "bg";
25910                rel2.to: "bg";
25911                image {
25912                   normal: "bt_sm_shine.png";
25913                   border: 6 6 6 0;
25914                }
25915             }
25916             description { state: "selected" 0.0;
25917                inherit: "default" 0.0;
25918                visible: 1;
25919                color: 255 255 255 255;
25920             }
25921          }
25922          part { name: "disclip";
25923             type: RECT;
25924             description { state: "default" 0.0;
25925                rel1.to: "bg";
25926                rel2.to: "bg";
25927             }
25928             description { state: "disabled" 0.0;
25929                inherit: "default" 0.0;
25930                color: 255 255 255 64;
25931             }
25932          }
25933       }
25934       programs {
25935          // signal: elm,state,%s,active
25936          //   a "check" item named %s went active
25937          // signal: elm,state,%s,passive
25938          //   a "check" item named %s went passive
25939          // default is passive
25940          program {
25941             name:    "go_active";
25942             signal:  "elm,state,selected";
25943             source:  "elm";
25944             action:  STATE_SET "selected" 0.0;
25945             target:  "bg";
25946             target:  "fg1";
25947             target:  "fg2";
25948             target:  "elm.text.title";
25949             target:  "elm.text.artist";
25950          }
25951          program {
25952             name:    "go_passive";
25953             signal:  "elm,state,unselected";
25954             source:  "elm";
25955             action:  STATE_SET "default" 0.0;
25956             target:  "bg";
25957             target:  "fg1";
25958             target:  "fg2";
25959             target:  "elm.text.title";
25960             target:  "elm.text.artist";
25961             transition: LINEAR 0.1;
25962          }
25963          program {
25964             name:    "go_disabled";
25965             signal:  "elm,state,disabled";
25966             source:  "elm";
25967             action:  STATE_SET "disabled" 0.0;
25968             target:  "disclip";
25969          }
25970          program {
25971             name:    "go_enabled";
25972             signal:  "elm,state,enabled";
25973             source:  "elm";
25974             action:  STATE_SET "default" 0.0;
25975             target:  "disclip";
25976          }
25977       }
25978    }
25979
25980 ///////////////////////////////////////////////////////////////////////////////
25981    group { name: "elm/pager/base/default";
25982       data.item: "onshow" "raise";
25983 // other options
25984 //      data.item: "onhide" "lower";
25985 //      data.item: "onshow" "lower";
25986       images {
25987          image: "frame_1.png" COMP;
25988          image: "frame_2.png" COMP;
25989          image: "dia_grad.png" COMP;
25990       }
25991       parts {
25992          part { name: "clip";
25993             type: RECT;
25994             mouse_events: 0;
25995             description { state: "default" 0.0;
25996                rel1 {
25997                   to: "base";
25998                   offset: -9999 -9999;
25999                }
26000                rel2 {
26001                   to: "base";
26002                   offset: 9999 9999;
26003                }
26004                color: 255 255 255 255;
26005             }
26006             description { state: "visible" 0.0;
26007                inherit: "default" 0.0;
26008             }
26009             description { state: "hidden" 0.0;
26010                inherit: "default" 0.0;
26011                color: 255 255 255 0;
26012                visible: 0;
26013             }
26014          }
26015          part { name: "base0";
26016             mouse_events:  0;
26017             clip_to: "clip";
26018             description { state: "default" 0.0;
26019                image.normal: "dia_grad.png";
26020                rel1.to: "over";
26021                rel2.to: "over";
26022                fill {
26023                   smooth: 0;
26024                   size {
26025                      relative: 0.0 1.0;
26026                      offset: 64 0;
26027                   }
26028                }
26029             }
26030          }
26031          part { name: "base";
26032             mouse_events:  0;
26033             clip_to: "clip";
26034             description { state: "default" 0.0;
26035                image {
26036                   normal: "frame_2.png";
26037                   border: 5 5 32 26;
26038                   middle: 0;
26039                }
26040                fill.smooth : 0;
26041             }
26042             description { state: "hidden" 0.0;
26043                inherit: "default" 0.0;
26044                rel1.relative: -1.0 0.0;
26045                rel2.relative: 0.0 1.0;
26046             }
26047             description { state: "visible" 0.0;
26048                inherit: "default" 0.0;
26049                rel1.relative: 0.0 0.0;
26050                rel2.relative: 1.0 1.0;
26051             }
26052          }
26053          part { name: "over";
26054             mouse_events:  0;
26055             clip_to: "clip";
26056             description { state:    "default" 0.0;
26057                rel1 {
26058                   to: "base";
26059                   offset: 4 4;
26060                }
26061                rel2 {
26062                   to: "base";
26063                   offset: -5 -5;
26064                }
26065                image {
26066                   normal: "frame_1.png";
26067                   border: 2 2 28 22;
26068                   middle: 0;
26069                }
26070                fill.smooth : 0;
26071             }
26072          }
26073          part { name: "elm.swallow.content";
26074             type: SWALLOW;
26075             clip_to: "clip";
26076             description { state: "default" 0.0;
26077                rel1 {
26078                   to: "base";
26079                   offset: 8 8;
26080                }
26081                rel2 {
26082                   to: "base";
26083                   offset: -9 -9;
26084                }
26085             }
26086          }
26087       }
26088       programs {
26089          program { name: "push_start";
26090             signal: "elm,action,push";
26091             source: "elm";
26092             action:  STATE_SET "hidden" 0.0;
26093             target: "base";
26094             target: "clip";
26095             after: "show_start2";
26096          }
26097          program { name: "show_start";
26098             signal: "elm,action,show";
26099             source: "elm";
26100             action:  STATE_SET "hidden" 0.0;
26101             target: "base";
26102             target: "clip";
26103             after: "show_start2";
26104          }
26105          program { name: "show_start2";
26106             action:  STATE_SET "visible" 0.0;
26107             transition: DECELERATE 0.5;
26108             target: "base";
26109             target: "clip";
26110             after: "show_end";
26111          }
26112          program { name: "show_end";
26113             action: SIGNAL_EMIT "elm,action,show,finished" "";
26114          }
26115          program { name: "pop_start";
26116             signal: "elm,action,pop";
26117             source: "elm";
26118             action:  STATE_SET "visible" 0.0;
26119             target: "base";
26120             target: "clip";
26121             after: "hide_start2";
26122          }
26123          program { name: "hide_start";
26124             signal: "elm,action,hide";
26125             source: "elm";
26126             action:  STATE_SET "visible" 0.0;
26127             target: "base";
26128             target: "clip";
26129             after: "hide_start2";
26130          }
26131          program { name: "hide_start2";
26132             action:  STATE_SET "hidden" 0.0;
26133             transition: DECELERATE 0.5;
26134             target: "base";
26135             target: "clip";
26136             after: "hide_end";
26137          }
26138          program { name: "hide_end";
26139             action: SIGNAL_EMIT "elm,action,hide,finished" "";
26140          }
26141          program { name: "reset";
26142             signal: "elm,action,reset";
26143             source: "elm";
26144             action:  STATE_SET "default" 0.0;
26145             target: "base";
26146             target: "clip";
26147          }
26148       }
26149    }
26150
26151    group { name: "elm/pager/base/slide";
26152       images {
26153          image: "frame_1.png" COMP;
26154          image: "frame_2.png" COMP;
26155          image: "dia_grad.png" COMP;
26156       }
26157       parts {
26158          part { name: "clip";
26159             type: RECT;
26160             mouse_events: 0;
26161             description { state: "default" 0.0;
26162                rel1 {
26163                   to: "base";
26164                   offset: -9999 -9999;
26165                }
26166                rel2 {
26167                   to: "base";
26168                   offset: 9999 9999;
26169                }
26170                color: 255 255 255 255;
26171             }
26172             description { state: "visible" 0.0;
26173                inherit: "default" 0.0;
26174             }
26175             description { state: "hidden" 0.0;
26176                inherit: "default" 0.0;
26177                color: 255 255 255 0;
26178                visible: 0;
26179             }
26180             description { state: "hidden2" 0.0;
26181                inherit: "default" 0.0;
26182                color: 255 255 255 0;
26183                visible: 0;
26184             }
26185          }
26186          part { name: "base0";
26187             mouse_events:  0;
26188             clip_to: "clip";
26189             description { state: "default" 0.0;
26190                image.normal: "dia_grad.png";
26191                rel1.to: "over";
26192                rel2.to: "over";
26193                fill {
26194                   smooth: 0;
26195                   size {
26196                      relative: 0.0 1.0;
26197                      offset: 64 0;
26198                   }
26199                }
26200             }
26201          }
26202          part { name: "base";
26203             mouse_events:  0;
26204             clip_to: "clip";
26205             description { state: "default" 0.0;
26206                image {
26207                   normal: "frame_2.png";
26208                   border: 5 5 32 26;
26209                   middle: 0;
26210                }
26211                fill.smooth : 0;
26212             }
26213             description { state: "hidden" 0.0;
26214                inherit: "default" 0.0;
26215                rel1.relative: -1.0 0.0;
26216                rel2.relative: 0.0 1.0;
26217             }
26218             description { state: "hidden2" 0.0;
26219                inherit: "default" 0.0;
26220                rel1.relative: 1.0 0.0;
26221                rel2.relative: 2.0 1.0;
26222             }
26223             description { state: "visible" 0.0;
26224                inherit: "default" 0.0;
26225                rel1.relative: 0.0 0.0;
26226                rel2.relative: 1.0 1.0;
26227             }
26228          }
26229          part { name: "over";
26230             mouse_events:  0;
26231             clip_to: "clip";
26232             description { state:    "default" 0.0;
26233                rel1 {
26234                   to: "base";
26235                   offset: 4 4;
26236                }
26237                rel2 {
26238                   to: "base";
26239                   offset: -5 -5;
26240                }
26241                image {
26242                   normal: "frame_1.png";
26243                   border: 2 2 28 22;
26244                   middle: 0;
26245                }
26246                fill.smooth : 0;
26247             }
26248          }
26249          part { name: "elm.swallow.content";
26250             type: SWALLOW;
26251             clip_to: "clip";
26252             description { state: "default" 0.0;
26253                rel1 {
26254                   to: "base";
26255                   offset: 8 8;
26256                }
26257                rel2 {
26258                   to: "base";
26259                   offset: -9 -9;
26260                }
26261             }
26262          }
26263       }
26264       programs {
26265          program { name: "push_start";
26266             signal: "elm,action,push";
26267             source: "elm";
26268             action:  STATE_SET "hidden2" 0.0;
26269             target: "base";
26270             target: "clip";
26271             after: "show_start2";
26272          }
26273          program { name: "show_start";
26274             signal: "elm,action,show";
26275             source: "elm";
26276             action:  STATE_SET "hidden" 0.0;
26277             target: "base";
26278             target: "clip";
26279             after: "show_start2";
26280          }
26281          program { name: "show_start2";
26282             action:  STATE_SET "visible" 0.0;
26283             transition: DECELERATE 0.5;
26284             target: "base";
26285             target: "clip";
26286             after: "show_end";
26287          }
26288          program { name: "show_end";
26289             action: SIGNAL_EMIT "elm,action,show,finished" "";
26290          }
26291          program { name: "pop_start";
26292             signal: "elm,action,pop";
26293             source: "elm";
26294             action:  STATE_SET "visible" 0.0;
26295             target: "base";
26296             target: "clip";
26297             after: "pop_start2";
26298          }
26299          program { name: "pop_start2";
26300             action:  STATE_SET "hidden2" 0.0;
26301             transition: DECELERATE 0.5;
26302             target: "base";
26303             target: "clip";
26304             after: "hide_end";
26305          }
26306          program { name: "hide_start";
26307             signal: "elm,action,hide";
26308             source: "elm";
26309             action:  STATE_SET "visible" 0.0;
26310             target: "base";
26311             target: "clip";
26312             after: "hide_start2";
26313          }
26314          program { name: "hide_start2";
26315             action:  STATE_SET "hidden" 0.0;
26316             transition: DECELERATE 0.5;
26317             target: "base";
26318             target: "clip";
26319             after: "hide_end";
26320          }
26321          program { name: "hide_end";
26322             action: SIGNAL_EMIT "elm,action,hide,finished" "";
26323          }
26324          program { name: "reset";
26325             signal: "elm,action,reset";
26326             source: "elm";
26327             action:  STATE_SET "default" 0.0;
26328             target: "base";
26329             target: "clip";
26330          }
26331       }
26332    }
26333    group { name: "elm/pager/base/slide_invisible";
26334       parts {
26335          part { name: "clip";
26336             type: RECT;
26337             mouse_events: 0;
26338             description { state: "default" 0.0;
26339                rel1 {
26340                   to: "base";
26341                   offset: -9999 -9999;
26342             }
26343                rel2 {
26344                   to: "base";
26345                   offset: 9999 9999;
26346                }
26347                color: 255 255 255 255;
26348             }
26349             description { state: "visible" 0.0;
26350                inherit: "default" 0.0;
26351             }
26352             description { state: "hidden" 0.0;
26353                inherit: "default" 0.0;
26354                color: 255 255 255 0;
26355                visible: 0;
26356             }
26357             description { state: "hidden2" 0.0;
26358                inherit: "default" 0.0;
26359                color: 255 255 255 0;
26360                visible: 0;
26361             }
26362          }
26363          part { name: "base";
26364             type: RECT;
26365             mouse_events:  0;
26366             clip_to: "clip";
26367             description { state: "default" 0.0;
26368                color: 0 0 0 0;
26369             }
26370             description { state: "hidden" 0.0;
26371                color: 0 0 0 0;
26372                rel1.relative: -1.0 0.0;
26373                rel2.relative: 0.0 1.0;
26374             }
26375             description { state: "hidden2" 0.0;
26376                color: 0 0 0 0;
26377                rel1.relative: 1.0 0.0;
26378                rel2.relative: 2.0 1.0;
26379             }
26380             description { state: "visible" 0.0;
26381                color: 0 0 0 0;
26382                rel1.relative: 0.0 0.0;
26383                rel2.relative: 1.0 1.0;
26384             }
26385          }
26386          part { name: "elm.swallow.content";
26387             type: SWALLOW;
26388             clip_to: "clip";
26389             description { state: "default" 0.0;
26390                rel1.to: "base";
26391                rel2.to: "base";
26392             }
26393          }
26394       }
26395       programs {
26396          program { name: "push_start";
26397             signal: "elm,action,push";
26398             source: "elm";
26399             action:  STATE_SET "hidden2" 0.0;
26400             target: "base";
26401             target: "clip";
26402             after: "show_start2";
26403          }
26404          program { name: "show_start";
26405             signal: "elm,action,show";
26406             source: "elm";
26407             action:  STATE_SET "hidden" 0.0;
26408             target: "base";
26409             target: "clip";
26410             after: "show_start2";
26411          }
26412          program { name: "show_start2";
26413             action:  STATE_SET "visible" 0.0;
26414             transition: DECELERATE 0.5;
26415             target: "base";
26416             target: "clip";
26417             after: "show_end";
26418          }
26419          program { name: "show_end";
26420             action: SIGNAL_EMIT "elm,action,show,finished" "";
26421          }
26422          program { name: "pop_start";
26423             signal: "elm,action,pop";
26424             source: "elm";
26425             action:  STATE_SET "visible" 0.0;
26426             target: "base";
26427             target: "clip";
26428             after: "pop_start2";
26429          }
26430          program { name: "pop_start2";
26431             action:  STATE_SET "hidden2" 0.0;
26432             transition: DECELERATE 0.5;
26433             target: "base";
26434             target: "clip";
26435             after: "hide_end";
26436          }
26437          program { name: "hide_start";
26438             signal: "elm,action,hide";
26439             source: "elm";
26440             action:  STATE_SET "visible" 0.0;
26441             target: "base";
26442             target: "clip";
26443             after: "hide_start2";
26444          }
26445          program { name: "hide_start2";
26446             action:  STATE_SET "hidden" 0.0;
26447             transition: DECELERATE 0.5;
26448             target: "base";
26449             target: "clip";
26450             after: "hide_end";
26451          }
26452          program { name: "hide_end";
26453             action: SIGNAL_EMIT "elm,action,hide,finished" "";
26454          }
26455          program { name: "reset";
26456             signal: "elm,action,reset";
26457             source: "elm";
26458             action:  STATE_SET "default" 0.0;
26459             target: "base";
26460             target: "clip";
26461          }
26462       }
26463    }
26464
26465    group { name: "elm/pager/base/fade";
26466        data.item: "onshow" "raise";
26467        // other options
26468        //      data.item: "onhide" "lower";
26469        //      data.item: "onshow" "lower";
26470        images {
26471            image: "frame_1.png" COMP;
26472            image: "frame_2.png" COMP;
26473            image: "dia_grad.png" COMP;
26474        }
26475        parts {
26476            part { name: "clip_base";
26477                type: RECT;
26478                mouse_events: 0;
26479                description { state: "default" 0.0;
26480                    rel1 {
26481                        to: "base";
26482                        offset: -9999 -9999;
26483                    }
26484                    rel2 {
26485                        to: "base";
26486                        offset: 9999 9999;
26487                    }
26488                    color: 255 255 255 120;
26489                }
26490                description { state: "visible" 0.0;
26491                    inherit: "default" 0.0;
26492                }
26493                description { state: "hidden" 0.0;
26494                    inherit: "default" 0.0;
26495                    color: 255 255 255 0;
26496                    visible: 0;
26497                }
26498            }
26499            part { name: "clip";
26500                type: RECT;
26501                mouse_events: 0;
26502                description { state: "default" 0.0;
26503                    rel1 {
26504                        to: "base";
26505                        offset: -9999 -9999;
26506                    }
26507                    rel2 {
26508                        to: "base";
26509                        offset: 9999 9999;
26510                    }
26511                    color: 255 255 255 255;
26512                }
26513                description { state: "visible" 0.0;
26514                    inherit: "default" 0.0;
26515                }
26516                description { state: "hidden" 0.0;
26517                    inherit: "default" 0.0;
26518                    color: 255 255 255 0;
26519                    visible: 0;
26520                }
26521            }
26522            part { name: "base0";
26523                mouse_events:  0;
26524                clip_to: "clip_base";
26525                description { state: "default" 0.0;
26526                    image.normal: "dia_grad.png";
26527                    rel1.to: "over";
26528                    rel2.to: "over";
26529                    fill {
26530                        smooth: 0;
26531                        size {
26532                            relative: 0.0 1.0;
26533                            offset: 64 0;
26534                        }
26535                    }
26536                }
26537            }
26538            part { name: "base";
26539                mouse_events:  0;
26540                clip_to: "clip_base";
26541                description { state: "default" 0.0;
26542                    image {
26543                        normal: "frame_2.png";
26544                        border: 5 5 32 26;
26545                        middle: 0;
26546                    }
26547                    fill.smooth : 0;
26548                }
26549            }
26550            part { name: "over";
26551                mouse_events:  0;
26552                clip_to: "clip";
26553                description { state:    "default" 0.0;
26554                    rel1 {
26555                        to: "base";
26556                        offset: 4 4;
26557                    }
26558                    rel2 {
26559                        to: "base";
26560                        offset: -5 -5;
26561                    }
26562                    image {
26563                        normal: "frame_1.png";
26564                        border: 2 2 28 22;
26565                        middle: 0;
26566                    }
26567                    fill.smooth : 0;
26568                }
26569            }
26570            part { name: "elm.swallow.content";
26571                type: SWALLOW;
26572                clip_to: "clip";
26573                description { state: "default" 0.0;
26574                    rel1 {
26575                        to: "base";
26576                        offset: 8 8;
26577                    }
26578                    rel2 {
26579                        to: "base";
26580                        offset: -9 -9;
26581                    }
26582                }
26583            }
26584        }
26585        programs {
26586            program { name: "push_start";
26587                signal: "elm,action,push";
26588                source: "elm";
26589                action:  STATE_SET "hidden" 0.0;
26590                target: "clip";
26591                target: "clip_base";
26592                after: "show_start2";
26593            }
26594            program { name: "show_start";
26595                signal: "elm,action,show";
26596                source: "elm";
26597                action:  STATE_SET "hidden" 0.0;
26598                target: "clip";
26599                target: "clip_base";
26600                after: "show_start2";
26601            }
26602            program { name: "show_start2";
26603                action:  STATE_SET "visible" 0.0;
26604                transition: DECELERATE 0.5;
26605                target: "clip";
26606                target: "clip_base";
26607                after: "show_end";
26608            }
26609            program { name: "show_end";
26610                action: SIGNAL_EMIT "elm,action,show,finished" "";
26611            }
26612            program { name: "pop_start";
26613                signal: "elm,action,pop";
26614                source: "elm";
26615                action:  STATE_SET "visible" 0.0;
26616                target: "clip";
26617                target: "clip_base";
26618                after: "hide_start2";
26619            }
26620            program { name: "hide_start";
26621                signal: "elm,action,hide";
26622                source: "elm";
26623                action:  STATE_SET "visible" 0.0;
26624                target: "clip";
26625                target: "clip_base";
26626                after: "hide_start2";
26627            }
26628            program { name: "hide_start2";
26629                action:  STATE_SET "hidden" 0.0;
26630                transition: DECELERATE 0.5;
26631                target: "clip";
26632                target: "clip_base";
26633                after: "hide_end";
26634            }
26635            program { name: "hide_end";
26636                action: SIGNAL_EMIT "elm,action,hide,finished" "";
26637            }
26638            program { name: "reset";
26639                signal: "elm,action,reset";
26640                source: "elm";
26641                action:  STATE_SET "default" 0.0;
26642                target: "clip_base";
26643                target: "clip";
26644            }
26645        }
26646    }
26647    group { name: "elm/pager/base/fade_translucide";
26648        data.item: "onshow" "raise";
26649        // other options
26650        //      data.item: "onhide" "lower";
26651        //      data.item: "onshow" "lower";
26652        images {
26653            image: "frame_1.png" COMP;
26654            image: "frame_2.png" COMP;
26655            image: "dia_grad.png" COMP;
26656        }
26657        parts {
26658            part { name: "clip_base";
26659                type: RECT;
26660                mouse_events: 0;
26661                description { state: "default" 0.0;
26662                    rel1 {
26663                        to: "base";
26664                        offset: -9999 -9999;
26665                    }
26666                    rel2 {
26667                        to: "base";
26668                        offset: 9999 9999;
26669                    }
26670                    color: 255 255 255 120;
26671                }
26672                description { state: "visible" 0.0;
26673                    inherit: "default" 0.0;
26674                }
26675                description { state: "hidden" 0.0;
26676                    inherit: "default" 0.0;
26677                    color: 255 255 255 0;
26678                    visible: 0;
26679                }
26680            }
26681            part { name: "clip";
26682                type: RECT;
26683                mouse_events: 0;
26684                description { state: "default" 0.0;
26685                    rel1 {
26686                        to: "base";
26687                        offset: -9999 -9999;
26688                    }
26689                    rel2 {
26690                        to: "base";
26691                        offset: 9999 9999;
26692                    }
26693                    color: 255 255 255 255;
26694                }
26695                description { state: "visible" 0.0;
26696                    inherit: "default" 0.0;
26697                }
26698                description { state: "hidden" 0.0;
26699                    inherit: "default" 0.0;
26700                    color: 255 255 255 0;
26701                    visible: 0;
26702                }
26703            }
26704            part { name: "base0";
26705                mouse_events:  0;
26706                clip_to: "clip_base";
26707                description { state: "default" 0.0;
26708                    image.normal: "dia_grad.png";
26709                    rel1.to: "over";
26710                    rel2.to: "over";
26711                    fill {
26712                        smooth: 0;
26713                        size {
26714                            relative: 0.0 1.0;
26715                            offset: 64 0;
26716                        }
26717                    }
26718                }
26719            }
26720            part { name: "base";
26721                mouse_events:  0;
26722                clip_to: "clip_base";
26723                description { state: "default" 0.0;
26724                    image {
26725                        normal: "frame_2.png";
26726                        border: 5 5 32 26;
26727                        middle: 0;
26728                    }
26729                    fill.smooth : 0;
26730                }
26731            }
26732            part { name: "over";
26733                mouse_events:  0;
26734                clip_to: "clip";
26735                description { state:    "default" 0.0;
26736                    rel1 {
26737                        to: "base";
26738                        offset: 4 4;
26739                    }
26740                    rel2 {
26741                        to: "base";
26742                        offset: -5 -5;
26743                    }
26744                    image {
26745                        normal: "frame_1.png";
26746                        border: 2 2 28 22;
26747                        middle: 0;
26748                    }
26749                    fill.smooth : 0;
26750                }
26751            }
26752            part { name: "elm.swallow.content";
26753                type: SWALLOW;
26754                clip_to: "clip";
26755                description { state: "default" 0.0;
26756                    rel1 {
26757                        to: "base";
26758                        offset: 8 8;
26759                    }
26760                    rel2 {
26761                        to: "base";
26762                        offset: -9 -9;
26763                    }
26764                }
26765            }
26766        }
26767        programs {
26768            program { name: "push_start";
26769                signal: "elm,action,push";
26770                source: "elm";
26771                action:  STATE_SET "hidden" 0.0;
26772                target: "clip";
26773                target: "clip_base";
26774                after: "show_start2";
26775            }
26776            program { name: "show_start";
26777                signal: "elm,action,show";
26778                source: "elm";
26779                action:  STATE_SET "hidden" 0.0;
26780                target: "clip";
26781                target: "clip_base";
26782                after: "show_start2";
26783            }
26784            program { name: "show_start2";
26785                action:  STATE_SET "visible" 0.0;
26786                transition: DECELERATE 0.5;
26787                target: "clip";
26788                target: "clip_base";
26789                after: "show_end";
26790            }
26791            program { name: "show_end";
26792                action: SIGNAL_EMIT "elm,action,show,finished" "";
26793            }
26794            program { name: "pop_start";
26795                signal: "elm,action,pop";
26796                source: "elm";
26797                action:  STATE_SET "visible" 0.0;
26798                target: "clip";
26799                target: "clip_base";
26800                after: "hide_start2";
26801            }
26802            program { name: "hide_start";
26803                signal: "elm,action,hide";
26804                source: "elm";
26805                action:  STATE_SET "visible" 0.0;
26806                target: "clip";
26807                target: "clip_base";
26808                after: "hide_start2";
26809            }
26810            program { name: "hide_start2";
26811                action:  STATE_SET "hidden" 0.0;
26812                transition: DECELERATE 0.5;
26813                target: "clip";
26814                target: "clip_base";
26815                after: "hide_end";
26816            }
26817            program { name: "hide_end";
26818                action: SIGNAL_EMIT "elm,action,hide,finished" "";
26819            }
26820            program { name: "reset";
26821                signal: "elm,action,reset";
26822                source: "elm";
26823                action:  STATE_SET "default" 0.0;
26824                target: "clip_base";
26825                target: "clip";
26826            }
26827        }
26828    }
26829    group { name: "elm/pager/base/fade_invisible";
26830        data.item: "onshow" "raise";
26831        // other options
26832        //      data.item: "onhide" "lower";
26833        //      data.item: "onshow" "lower";
26834        parts {
26835            part { name: "clip";
26836                type: RECT;
26837                mouse_events: 0;
26838                description { state: "default" 0.0;
26839                    rel1 {
26840                        offset: -9999 -9999;
26841                    }
26842                    rel2 {
26843                        offset: 9999 9999;
26844                    }
26845                    color: 255 255 255 255;
26846                }
26847                description { state: "visible" 0.0;
26848                    inherit: "default" 0.0;
26849                }
26850                description { state: "hidden" 0.0;
26851                    inherit: "default" 0.0;
26852                    color: 255 255 255 0;
26853                    visible: 0;
26854                }
26855            }
26856            part { name: "elm.swallow.content";
26857                type: SWALLOW;
26858                clip_to: "clip";
26859                description { state: "default" 0.0;
26860                    rel1 {
26861                        offset: 8 8;
26862                    }
26863                    rel2 {
26864                        offset: -9 -9;
26865                    }
26866                }
26867            }
26868        }
26869        programs {
26870            program { name: "push_start";
26871                signal: "elm,action,push";
26872                source: "elm";
26873                action:  STATE_SET "hidden" 0.0;
26874                target: "clip";
26875                after: "show_start2";
26876            }
26877            program { name: "show_start";
26878                signal: "elm,action,show";
26879                source: "elm";
26880                action:  STATE_SET "hidden" 0.0;
26881                target: "clip";
26882                after: "show_start2";
26883            }
26884            program { name: "show_start2";
26885                action:  STATE_SET "visible" 0.0;
26886                transition: DECELERATE 0.5;
26887                target: "clip";
26888                after: "show_end";
26889            }
26890            program { name: "show_end";
26891                action: SIGNAL_EMIT "elm,action,show,finished" "";
26892            }
26893            program { name: "pop_start";
26894                signal: "elm,action,pop";
26895                source: "elm";
26896                action:  STATE_SET "visible" 0.0;
26897                target: "clip";
26898                after: "hide_start2";
26899            }
26900            program { name: "hide_start";
26901                signal: "elm,action,hide";
26902                source: "elm";
26903                action:  STATE_SET "visible" 0.0;
26904                target: "clip";
26905                after: "hide_start2";
26906            }
26907            program { name: "hide_start2";
26908                action:  STATE_SET "hidden" 0.0;
26909                transition: DECELERATE 0.5;
26910                target: "clip";
26911                after: "hide_end";
26912            }
26913            program { name: "hide_end";
26914                action: SIGNAL_EMIT "elm,action,hide,finished" "";
26915            }
26916            program { name: "reset";
26917                signal: "elm,action,reset";
26918                source: "elm";
26919                action:  STATE_SET "default" 0.0;
26920                target: "clip";
26921            }
26922        }
26923    }
26924
26925    group { name: "elm/pager/base/flip";
26926       data.item: "onshow" "raise";
26927       images {
26928          image: "frame_1.png" COMP;
26929          image: "frame_2.png" COMP;
26930          image: "dia_grad.png" COMP;
26931       }
26932       parts {
26933          part { name: "elm.swallow.content";
26934             type: SWALLOW;
26935             description { state: "default" 0.0;
26936                map {
26937                   on: 1;
26938                   smooth: 1;
26939                   backface_cull: 1;
26940                   perspective_on: 1;
26941                }
26942                perspective {
26943                   zplane: 0;
26944                   focal: 1000;
26945                }
26946             }
26947             description { state: "hidden" 0.0;
26948                inherit: "default" 0.0;
26949                visible: 0;
26950                map.rotation.y: 90.0;
26951             }
26952             description { state: "before_hidden" 0.0;
26953                inherit: "default" 0.0;
26954                visible: 0;
26955                map.rotation.y: -90.0;
26956             }
26957          }
26958       }
26959       programs {
26960          program { name: "push_start";
26961             signal: "elm,action,push";
26962             source: "elm";
26963             after: "push1";
26964          }
26965          program { name: "push1";
26966             action:  STATE_SET "hidden" 0.0;
26967             target: "elm.swallow.content";
26968             after: "push2";
26969          }
26970          program { name: "push2";
26971             action:  STATE_SET "default" 0.0;
26972             in: 0.5 0.0;
26973             transition: LINEAR 0.5;
26974             target: "elm.swallow.content";
26975             after: "push3";
26976          }
26977          program { name: "push3";
26978             action: SIGNAL_EMIT "elm,action,show,finished" "";
26979          }
26980
26981          program { name: "show_start";
26982             signal: "elm,action,show";
26983             source: "elm";
26984             after: "show1";
26985          }
26986          program { name: "show1";
26987             action:  STATE_SET "before_hidden" 0.0;
26988             target: "elm.swallow.content";
26989             after: "show2";
26990          }
26991          program { name: "show2";
26992             action:  STATE_SET "default" 0.0;
26993             in: 0.5 0.0;
26994             transition: LINEAR 0.5;
26995             target: "elm.swallow.content";
26996             after: "show3";
26997          }
26998          program { name: "show3";
26999             action: SIGNAL_EMIT "elm,action,show,finished" "";
27000          }
27001
27002          program { name: "pop_start";
27003             signal: "elm,action,pop";
27004             source: "elm";
27005             after: "pop1";
27006          }
27007          program { name: "pop1";
27008             action:  STATE_SET "default" 0.0;
27009             target: "elm.swallow.content";
27010             after: "pop2";
27011          }
27012          program { name: "pop2";
27013             action:  STATE_SET "hidden" 0.0;
27014             transition: LINEAR 0.5;
27015             target: "elm.swallow.content";
27016             after: "pop3";
27017          }
27018          program { name: "pop3";
27019             action: SIGNAL_EMIT "elm,action,hide,finished" "";
27020          }
27021
27022          program { name: "hide_start";
27023             signal: "elm,action,hide";
27024             source: "elm";
27025             after: "hide1";
27026          }
27027          program { name: "hide1";
27028             action:  STATE_SET "default" 0.0;
27029             target: "elm.swallow.content";
27030             after: "hide2";
27031          }
27032          program { name: "hide2";
27033             action:  STATE_SET "before_hidden" 0.0;
27034             transition: LINEAR 0.5;
27035             target: "elm.swallow.content";
27036             after: "hide3";
27037          }
27038          program { name: "hide3";
27039             action: SIGNAL_EMIT "elm,action,hide,finished" "";
27040          }
27041
27042          program { name: "reset";
27043             signal: "elm,action,reset";
27044             source: "elm";
27045             action:  STATE_SET "default" 0.0;
27046             target: "elm.swallow.content";
27047          }
27048       }
27049    }
27050
27051
27052
27053 ///////////////////////////////////////////////////////////////////////////////
27054 // FIXME: this doesn't look too hot. need to fix it up
27055    group { name: "elm/progressbar/horizontal/default";
27056       images {
27057          image: "shelf_inset.png" COMP;
27058          image: "bt_sm_base2.png" COMP;
27059          image: "bt_sm_hilight.png" COMP;
27060          image: "bt_sm_shine.png" COMP;
27061       }
27062       parts {
27063          part { name: "elm.background.progressbar";
27064             mouse_events: 0;
27065             description {
27066                state: "default" 0.0;
27067                rel1 {
27068                   relative: 0.0 0.0;
27069                   offset: 0 0;
27070                }
27071                rel2 {
27072                   relative: 1.0 1.0;
27073                }
27074             }
27075          }
27076          part { name: "elm.swallow.bar";
27077             mouse_events: 0;
27078             type: SWALLOW;
27079             description {
27080                min: 48 28;
27081                max: 99999 28;
27082                state: "default" 0.0;
27083                rel1 {
27084                   to_x: "elm.text";
27085                   to_y: "elm.background.progressbar";
27086                   relative: 1.0 0.0;
27087                }
27088                rel2 {
27089                   to: "elm.background.progressbar";
27090                   relative: 1.0 1.0;
27091                }
27092             }
27093          }
27094          part { name: "elm.swallow.content";
27095             type: SWALLOW;
27096             description { state: "default" 0.0;
27097                visible: 0;
27098                align: 0.0 0.5;
27099                rel1 {
27100                   offset: 4 0;
27101                   to_y: "elm.background.progressbar";
27102                }
27103                rel2 {
27104                   offset: 3 -1;
27105                   relative: 0.0 1.0;
27106                   to_y: "elm.background.progressbar";
27107                }
27108             }
27109             description { state: "visible" 0.0;
27110                inherit: "default" 0.0;
27111                visible: 1;
27112                aspect: 1.0 1.0;
27113                aspect_preference: VERTICAL;
27114                rel2.offset: 4 -1;
27115             }
27116          }
27117          part { name: "elm.text";
27118             type: TEXT;
27119             mouse_events: 0;
27120             scale: 1;
27121             description { state: "default" 0.0;
27122                visible: 0;
27123                fixed: 1 1;
27124                align: 0.0 0.5;
27125                rel1.to_x: "elm.swallow.content";
27126                rel1.relative: 1.0 0.0;
27127                rel1.offset: -1 4;
27128                rel2.to_x: "elm.swallow.content";
27129                rel2.relative: 1.0 1.0;
27130                rel2.offset: -1 -5;
27131                color: 0 0 0 255;
27132                text {
27133                   font: "Sans,Edje-Vera";
27134                   size: 10;
27135                   min: 0 0;
27136                   align: 0.0 0.5;
27137                }
27138             }
27139             description { state: "visible" 0.0;
27140                inherit: "default" 0.0;
27141                visible: 1;
27142                text.min: 1 1;
27143                rel1.offset: 0 4;
27144                rel2.offset: 0 -5;
27145             }
27146          }
27147
27148          part { name: "background";
27149             mouse_events: 0;
27150             clip_to: "elm.background.progressbar";
27151             description {
27152                state: "default" 0.0;
27153                rel1 {
27154                   to: "elm.swallow.bar";
27155                   relative: 0.0 0.0;
27156                }
27157                rel2 {
27158                   to: "elm.swallow.bar";
27159                   relative: 1.0 1.0;
27160                   offset: -1 -1;
27161                }
27162                image {
27163                   normal: "shelf_inset.png";
27164                   border: 7 7 7 7;
27165                }
27166             }
27167          }
27168
27169          part { name: "elm.text.status";
27170             type: TEXT;
27171             mouse_events: 0;
27172             description { state: "default" 0.0;
27173                fixed: 1 1;
27174                visible: 1;
27175                rel1 {
27176                   to: "background";
27177                   relative: 0.5 0.5;
27178                }
27179                rel2 {
27180                   to: "background";
27181                   relative: 0.5 0.5;
27182                }
27183                text {
27184                   font: "Sans:style=Bold,Edje-Vera-Bold";
27185                   size: 10;
27186                   min: 1 1;
27187                   align: 0.5 0.0;
27188                }
27189                color: 0 0 0 255;
27190             }
27191             description { state: "hidden" 0.0;
27192                inherit: "default" 0.0;
27193                visible: 0;
27194                text.min: 0 0;
27195             }
27196          }
27197
27198          part { name: "elm.progress.progressbar";
27199             mouse_events: 0;
27200             clip_to: "elm.background.progressbar";
27201             description {
27202                state: "default" 0.0;
27203                min: 14 28;
27204                fixed: 1 1;
27205                rel1 {
27206                   to: "elm.swallow.bar";
27207                   relative: 0.0 0.0;
27208                }
27209                rel2 {
27210                   to_y: "elm.swallow.bar";
27211                   to_x: "elm.cur.progressbar";
27212                   offset: -1 -1;
27213                }
27214                image {
27215                   normal: "bt_sm_base2.png";
27216                   border: 6 6 6 6;
27217                }
27218             }
27219             description {
27220                state: "invert" 0.0;
27221                inherit: "default" 0.0;
27222                rel1 {
27223                   to_y: "elm.swallow.bar";
27224                   to_x: "elm.cur.progressbar";
27225                }
27226                rel2 {
27227                   to: "elm.swallow.bar";
27228                   relative: 1.0 1.0;
27229                }
27230             }
27231             description {
27232                state: "state_begin" 0.0;
27233                inherit: "default" 0.0;
27234                rel1 {
27235                   to: "elm.swallow.bar";
27236                   relative: 0.0 0.0;
27237                }
27238                rel2 {
27239                   to: "elm.swallow.bar";
27240                   relative: 0.1 1.0;
27241                }
27242             }
27243             description {
27244                state: "state_end" 0.0;
27245                inherit: "default" 0.0;
27246                rel1 {
27247                   to: "elm.swallow.bar";
27248                   relative: 0.9 0.0;
27249                }
27250                rel2 {
27251                   to: "elm.swallow.bar";
27252                   relative: 1.0 1.0;
27253                }
27254             }
27255          }
27256          part { name: "text-bar";
27257             type: TEXT;
27258             mouse_events: 0;
27259             clip_to: "progress-rect";
27260             effect: SOFT_SHADOW;
27261             scale: 1;
27262             description { state: "default" 0.0;
27263                align: 0.0 0.0;
27264                fixed: 1 1;
27265                visible: 1;
27266                rel1.to: "elm.text.status";
27267                rel1.offset: -1 -1;
27268                rel2.to: "elm.text.status";
27269                text {
27270                   text_source: "elm.text.status";
27271                   font: "Sans:style=Bold,Edje-Vera-Bold";
27272                   size: 10;
27273                   min: 1 1;
27274                   align: 0.0 0.0;
27275                }
27276                color: 224 224 224 255;
27277                color3: 0 0 0 64;
27278             }
27279             description { state: "hidden" 0.0;
27280                inherit: "default" 0.0;
27281                visible: 0;
27282                text.min: 0 0;
27283             }
27284          }
27285
27286          part { name: "over1";
27287             mouse_events: 0;
27288             description { state: "default" 0.0;
27289                rel1.to: "elm.progress.progressbar";
27290                rel2.to: "elm.progress.progressbar";
27291                rel2.relative: 1.0 0.5;
27292                image {
27293                   normal: "bt_sm_hilight.png";
27294                   border: 6 6 6 0;
27295                }
27296             }
27297          }
27298
27299          part { name: "over2";
27300             mouse_events: 1;
27301             repeat_events: 1;
27302             description { state: "default" 0.0;
27303                rel1.to: "elm.progress.progressbar";
27304                rel2.to: "elm.progress.progressbar";
27305                image {
27306                   normal: "bt_sm_shine.png";
27307                   border: 6 6 6 0;
27308                }
27309             }
27310          }
27311
27312          part { name: "elm.cur.progressbar";
27313             mouse_events: 0;
27314             dragable {
27315                confine: "background";
27316                x: 1 1 1;
27317                y: 0 0 0;
27318             }
27319             description { state: "default" 0.0;
27320                min: 14 28;
27321                fixed: 1 1;
27322                visible: 0;
27323                rel1 {
27324                   to: "background";
27325                   relative: 0 0;
27326                }
27327                rel2.to: "background";
27328            }
27329          }
27330          part { name: "progress-rect";
27331             mouse_events: 0;
27332             description {
27333                state: "default" 0.0;
27334                rel1.to: "elm.progress.progressbar";
27335                rel2.to: "elm.progress.progressbar";
27336             }
27337          }
27338       }
27339       programs {
27340          program { name: "label_show";
27341             signal: "elm,state,text,visible";
27342             source: "elm";
27343             action:  STATE_SET "visible" 0.0;
27344             target: "elm.text";
27345          }
27346          program { name: "label_hide";
27347             signal: "elm,state,text,hidden";
27348             source: "elm";
27349             action:  STATE_SET "default" 0.0;
27350             target: "elm.text";
27351          }
27352          program { name: "icon_show";
27353             signal: "elm,state,icon,visible";
27354             source: "elm";
27355             action:  STATE_SET "visible" 0.0;
27356             target: "elm.swallow.content";
27357          }
27358          program { name: "icon_hide";
27359             signal: "elm,state,icon,hidden";
27360             source: "elm";
27361             action:  STATE_SET "default" 0.0;
27362             target: "elm.swallow.content";
27363          }
27364          program { name: "units_show";
27365             signal: "elm,state,units,visible";
27366             source: "elm";
27367             action:  STATE_SET "default" 0.0;
27368             target: "text-bar";
27369             target: "elm.text.status";
27370          }
27371          program { name: "units_hide";
27372             signal: "elm,state,units,hidden";
27373             source: "elm";
27374             action:  STATE_SET "hidden" 0.0;
27375             target: "text-bar";
27376             target: "elm.text.status";
27377          }
27378          program { name: "slide_to_end";
27379             action:  STATE_SET "state_end" 0.0;
27380             transition: LINEAR 0.5;
27381             target: "elm.progress.progressbar";
27382             after: "slide_to_begin";
27383          }
27384          program { name: "slide_to_begin";
27385             signal: "elm,state,slide,begin";
27386             action: STATE_SET "state_begin" 0.0;
27387             target: "elm.progress.progressbar";
27388             transition: LINEAR 0.5;
27389             after: "slide_to_end";
27390          }
27391          program { name: "start_pulse";
27392             signal: "elm,state,pulse,start";
27393             source: "elm";
27394             after: "slide_to_end";
27395          }
27396          program { name: "stop_pulse";
27397             signal: "elm,state,pulse,stop";
27398             source: "elm";
27399             action: ACTION_STOP;
27400             target: "slide_to_begin";
27401             target: "slide_to_end";
27402             target: "start_pulse";
27403             after: "state_pulse";
27404          }
27405          program { name: "state_pulse";
27406             signal: "elm,state,pulse";
27407             source: "elm";
27408             action: STATE_SET "state_begin" 0.0;
27409             target: "elm.progress.progressbar";
27410             after: "units_hide";
27411          }
27412          program { name: "state_fraction";
27413             signal: "elm,state,fraction";
27414             source: "elm";
27415             action: ACTION_STOP;
27416             target: "slide_to_begin";
27417             target: "slide_to_end";
27418             target: "start_pulse";
27419             action: STATE_SET "default" 0.0;
27420             target: "elm.progress.progressbar";
27421          }
27422          program { name: "set_invert_on";
27423             signal: "elm,state,inverted,on";
27424             source: "elm";
27425             action:  STATE_SET "invert" 0.0;
27426             target: "elm.progress.progressbar";
27427          }
27428          program { name: "set_invert_off";
27429             signal: "elm,state,inverted,off";
27430             source: "elm";
27431             action:  STATE_SET "default" 0.0;
27432             target: "elm.progress.progressbar";
27433          }
27434       }
27435    }
27436
27437 ///////////////////////////////////////////////////////////////////////////////
27438    group { name: "elm/progressbar/vertical/default";
27439       images {
27440          image: "shelf_inset.png" COMP;
27441          image: "bt_sm_base2.png" COMP;
27442          image: "bt_sm_hilight.png" COMP;
27443          image: "bt_sm_shine.png" COMP;
27444       }
27445       parts {
27446          part { name: "elm.background.progressbar";
27447             type: RECT;
27448             mouse_events: 0;
27449             description {
27450                state: "default" 0.0;
27451                rel1 {
27452                   relative: 0.0 0.0;
27453                   offset: 0 0;
27454                }
27455                rel2 {
27456                   relative: 1.0 1.0;
27457                   offset: -1 -1;
27458                }
27459             }
27460          }
27461          part { name: "elm.swallow.bar";
27462             type: SWALLOW;
27463             scale: 1;
27464             description { state: "default" 0.0;
27465                min: 28 48;
27466                max: 28 9999;
27467                align: 0.5 1.0;
27468                rel1 {
27469                   to_y: "elm.text";
27470                   relative: 0.0 1.0;
27471                   offset: 0 2;
27472                }
27473                rel2 {
27474                   to_y: "elm.text.box";
27475                   relative: 1.0 0.0;
27476                   offset: -1 -3;
27477                }
27478             }
27479          }
27480          part { name: "elm.swallow.content";
27481             type: SWALLOW;
27482             description { state: "default" 0.0;
27483                visible: 0;
27484                align: 0.5 0.0;
27485                rel1 {
27486                   offset: 0 4;
27487                   to_x: "elm.swallow.bar";
27488                }
27489                rel2 {
27490                   offset: -1 3;
27491                   relative: 1.0 0.0;
27492                   to_x: "elm.swallow.bar";
27493                }
27494             }
27495             description { state: "visible" 0.0;
27496                inherit: "default" 0.0;
27497                visible: 1;
27498                aspect: 1.0 1.0;
27499                aspect_preference: HORIZONTAL;
27500                rel2.offset: -1 4;
27501             }
27502          }
27503          part { name: "elm.text";
27504             type: TEXT;
27505             mouse_events: 0;
27506             scale: 1;
27507             description { state: "default" 0.0;
27508                visible: 0;
27509                fixed: 1 1;
27510                align: 0.5 0.0;
27511                rel1.to_y: "elm.swallow.content";
27512                rel1.relative: 0.5 1.0;
27513                rel1.offset: 0 -1;
27514                rel2.to_y: "elm.swallow.content";
27515                rel2.relative: 0.5 1.0;
27516                rel2.offset: -1 -1;
27517                color: 0 0 0 255;
27518                text {
27519                   font: "Sans,Edje-Vera";
27520                   size: 10;
27521                   min: 0 0;
27522                   align: 0.5 0.0;
27523                }
27524             }
27525             description { state: "visible" 0.0;
27526                inherit: "default" 0.0;
27527                visible: 1;
27528                text.min: 1 1;
27529                rel1.offset: 4 0;
27530                rel2.offset: -5 0;
27531             }
27532          }
27533
27534          part { name: "background";
27535             mouse_events: 0;
27536             clip_to: "elm.background.progressbar";
27537             description {
27538                state: "default" 0.0;
27539                rel1 {
27540                   to: "elm.swallow.bar";
27541                   relative: 0.0 0.0;
27542                }
27543                rel2 {
27544                   to: "elm.swallow.bar";
27545                   relative: 1.0 1.0;
27546                   offset: -1 -1;
27547                }
27548                image {
27549                   normal: "shelf_inset.png";
27550                   border: 7 7 7 7;
27551                }
27552             }
27553          }
27554
27555          part { name: "elm.progress.progressbar";
27556             mouse_events: 0;
27557             clip_to: "elm.background.progressbar";
27558             description {
27559                state: "default" 0.0;
27560                min: 28 14;
27561                fixed: 1 1;
27562                rel1 {
27563                   to: "elm.swallow.bar";
27564                   relative: 0.0 0.0;
27565                }
27566                rel2 {
27567                   to_x: "elm.swallow.bar";
27568                   to_y: "elm.cur.progressbar";
27569                   offset: -1 -1;
27570                }
27571                image {
27572                   normal: "bt_sm_base2.png";
27573                   border: 6 6 6 6;
27574                }
27575             }
27576             description {
27577                state: "invert" 0.0;
27578                inherit: "default" 0.0;
27579                rel1 {
27580                   to_x: "elm.swallow.bar";
27581                   to_y: "elm.cur.progressbar";
27582                }
27583                rel2 {
27584                   to: "elm.swallow.bar";
27585                   relative: 1.0 1.0;
27586                }
27587             }
27588             description {
27589                state: "state_begin" 0.0;
27590                inherit: "default" 0.0;
27591                rel1 {
27592                   to: "elm.swallow.bar";
27593                   relative: 0.0 0.0;
27594                }
27595                rel2 {
27596                   to: "elm.swallow.bar";
27597                   relative: 1.0 0.1;
27598                }
27599             }
27600             description {
27601                state: "state_end" 0.0;
27602                inherit: "default" 0.0;
27603                rel1 {
27604                   to: "elm.swallow.bar";
27605                   relative: 0.0 0.9;
27606                }
27607                rel2 {
27608                   to: "elm.swallow.bar";
27609                   relative: 1.0 1.0;
27610                }
27611             }
27612          }
27613
27614          part { name: "over1";
27615             mouse_events: 0;
27616             description { state: "default" 0.0;
27617                rel1.to: "elm.progress.progressbar";
27618                rel2.to: "elm.progress.progressbar";
27619                rel2.relative: 1.0 0.5;
27620                image {
27621                   normal: "bt_sm_hilight.png";
27622                   border: 6 6 6 0;
27623                }
27624             }
27625          }
27626
27627          part { name: "over2";
27628             mouse_events: 1;
27629             repeat_events: 1;
27630             description { state: "default" 0.0;
27631                rel1.to: "elm.progress.progressbar";
27632                rel2.to: "elm.progress.progressbar";
27633                image {
27634                   normal: "bt_sm_shine.png";
27635                   border: 6 6 6 0;
27636                }
27637             }
27638          }
27639
27640          part { name: "elm.cur.progressbar";
27641             mouse_events: 0;
27642             dragable {
27643                confine: "background";
27644                x: 0 0 0;
27645                y: 1 1 1;
27646             }
27647             description { state: "default" 0.0;
27648                min: 28 14;
27649                fixed: 1 1;
27650                visible: 0;
27651                rel1 {
27652                   to: "background";
27653                   relative: 0 0;
27654                }
27655                rel2.to: "background";
27656            }
27657          }
27658
27659          part { name: "elm.text.box";
27660             mouse_events: 0;
27661             type: RECT;
27662             description { state: "default" 0.0;
27663                visible: 0;
27664                rel1 {
27665                   to: "elm.text.status";
27666                   offset: -2 -2;
27667                }
27668                rel2 {
27669                   to: "elm.text.status";
27670                   offset: 2 2;
27671                }
27672                color: 255 255 255 0;
27673             }
27674             description { state: "visible" 0.0;
27675                inherit: "default" 0.0;
27676                visible: 1;
27677             }
27678          }
27679          part { name: "elm.text.status";
27680             type: TEXT;
27681             mouse_events: 0;
27682             scale: 1;
27683             description { state: "default" 0.0;
27684                visible: 0;
27685                fixed: 1 1;
27686                align: 0.5 1.0;
27687                rel1.relative: 0.0 1.0;
27688                rel1.offset: 2 0;
27689                rel2.relative: 1.0 1.0;
27690                rel2.offset: -2 0;
27691                color: 0 0 0 255;
27692                text {
27693                   font: "Sans:style=Bold,Edje-Vera-Bold";
27694                   size: 10;
27695                   min: 0 0;
27696                   align: 0.5 0.0;
27697                }
27698             }
27699             description { state: "visible" 0.0;
27700                inherit: "default" 0.0;
27701                fixed: 1 1;
27702                visible: 1;
27703                text.min: 1 1;
27704                rel1.offset: 8 -9;
27705                rel2.offset: -9 -9;
27706             }
27707          }
27708       }
27709       programs {
27710          program { name: "label_show";
27711             signal: "elm,state,text,visible";
27712             source: "elm";
27713             action:  STATE_SET "visible" 0.0;
27714             target: "elm.text";
27715          }
27716          program { name: "label_hide";
27717             signal: "elm,state,text,hidden";
27718             source: "elm";
27719             action:  STATE_SET "default" 0.0;
27720             target: "elm.text";
27721          }
27722          program { name: "icon_show";
27723             signal: "elm,state,icon,visible";
27724             source: "elm";
27725             action:  STATE_SET "visible" 0.0;
27726             target: "elm.swallow.content";
27727          }
27728          program { name: "icon_hide";
27729             signal: "elm,state,icon,hidden";
27730             source: "elm";
27731             action:  STATE_SET "default" 0.0;
27732             target: "elm.swallow.content";
27733          }
27734          program { name: "units_show";
27735             signal: "elm,state,units,visible";
27736             source: "elm";
27737             action:  STATE_SET "visible" 0.0;
27738             target: "elm.text.status";
27739             target: "elm.text.box";
27740          }
27741          program { name: "units_hide";
27742             signal: "elm,state,units,hidden";
27743             source: "elm";
27744             action:  STATE_SET "default" 0.0;
27745             target: "elm.text.status";
27746             target: "elm.text.box";
27747          }
27748          program { name: "slide_to_end";
27749             action:  STATE_SET "state_end" 0.0;
27750             transition: LINEAR 0.5;
27751             target: "elm.progress.progressbar";
27752             after: "slide_to_begin";
27753          }
27754          program { name: "slide_to_begin";
27755             action:  STATE_SET "state_begin" 0.0;
27756             target: "elm.progress.progressbar";
27757             transition: LINEAR 0.5;
27758             after: "slide_to_end";
27759          }
27760          program { name: "start_pulse";
27761             signal: "elm,state,pulse,start";
27762             source: "elm";
27763             action: STATE_SET "state_begin" 0.0;
27764             target: "elm.progress.progressbar";
27765             after: "slide_to_end";
27766          }
27767          program { name: "stop_pulse";
27768             signal: "elm,state,pulse,stop";
27769             source: "elm";
27770             action: ACTION_STOP;
27771             target: "slide_to_begin";
27772             target: "slide_to_end";
27773             target: "start_pulse";
27774             after: "state_pulse";
27775          }
27776          program { name: "state_pulse";
27777             signal: "elm,state,pulse";
27778             source: "elm";
27779             action: STATE_SET "state_begin" 0.0;
27780             target: "elm.progress.progressbar";
27781             after: "units_hide";
27782          }
27783          program { name: "state_fraction";
27784             signal: "elm,state,fraction";
27785             source: "elm";
27786             action: ACTION_STOP;
27787             target: "slide_to_begin";
27788             target: "slide_to_end";
27789             target: "start_pulse";
27790             action: STATE_SET "default" 0.0;
27791             target: "elm.progress.progressbar";
27792          }
27793          program { name: "set_invert_on";
27794             signal: "elm,state,inverted,on";
27795             source: "elm";
27796             action:  STATE_SET "invert" 0.0;
27797             target: "elm.progress.progressbar";
27798             target: "elm.cur.progressbar";
27799          }
27800          program { name: "set_invert_off";
27801             signal: "elm,state,inverted,off";
27802             source: "elm";
27803             action:  STATE_SET "default" 0.0;
27804             target: "elm.progress.progressbar";
27805             target: "elm.cur.progressbar";
27806          }
27807       }
27808    }
27809
27810 ///////////////////////////////////////////////////////////////////////////////
27811    group { name: "elm/separator/horizontal/default";
27812        images {
27813            image: "separator_h.png" COMP;
27814        }
27815        parts {
27816            part { name: "separator"; // separator group
27817                description { state: "default" 0.0;
27818                    min: 2 2;
27819                    rel1.offset: 4 4;
27820                    rel2.offset: -5 -5;
27821                    image {
27822                        normal: "separator_h.png";
27823                    }
27824                    fill {
27825                        smooth: 0;
27826                    }
27827                }
27828            }
27829        }
27830    }
27831
27832    ///////////////////////////////////////////////////////////////////////////////
27833    group { name: "elm/separator/vertical/default";
27834        images {
27835            image: "separator_v.png" COMP;
27836        }
27837        parts {
27838            part { name: "separator"; // separator group
27839                description { state: "default" 0.0;
27840                    min: 2 2;
27841                    rel1.offset: 4 4;
27842                    rel2.offset: -5 -5;
27843                    image {
27844                        normal: "separator_v.png";
27845                    }
27846                    fill {
27847                        smooth: 0;
27848                    }
27849                }
27850            }
27851        }
27852    }
27853
27854    group { name: "elm/progressbar/horizontal/wheel";
27855        images {
27856            image: "busy-1.png" COMP;
27857            image: "busy-2.png" COMP;
27858            image: "busy-3.png" COMP;
27859            image: "busy-4.png" COMP;
27860            image: "busy-5.png" COMP;
27861            image: "busy-6.png" COMP;
27862            image: "busy-7.png" COMP;
27863            image: "busy-8.png" COMP;
27864            image: "busy-9.png" COMP;
27865        }
27866        parts {
27867            part { name: "elm.background.progressbar";
27868                mouse_events: 0;
27869                type: RECT;
27870                description {
27871                    state: "default" 0.0;
27872                }
27873            }
27874            part { name: "elm.swallow.bar";
27875                mouse_events: 0;
27876                type: SWALLOW;
27877                description { state: "default" 0.0;
27878                    min: 0 0;
27879                    max: 0 0;
27880                    visible: 0;
27881                }
27882            }
27883            part { name: "elm.swallow.content";
27884                type: SWALLOW;
27885                description { state: "default" 0.0;
27886                    min: 0 0;
27887                    max: 0 0;
27888                    visible: 0;
27889                }
27890            }
27891            part { name: "background";
27892                mouse_events: 0;
27893                clip_to: "elm.background.progressbar";
27894                description {
27895                    state: "default" 0.0;
27896                    min: 32 32;
27897                    max: 32 32;
27898                    visible: 1;
27899                    aspect: 1.0 1.0;
27900                    aspect_preference: BOTH;
27901                    image {
27902                        normal: "busy-9.png";
27903                        border: 7 7 7 7;
27904                    }
27905                }
27906                description {
27907                    state: "pulse" 0.0;
27908                    inherit: "default" 0.0;
27909                    image {
27910                        normal: "busy-9.png";
27911                        tween:  "busy-1.png";
27912                        tween:  "busy-2.png";
27913                        tween:  "busy-3.png";
27914                        tween:  "busy-4.png";
27915                        tween:  "busy-5.png";
27916                        tween:  "busy-6.png";
27917                        tween:  "busy-7.png";
27918                        tween:  "busy-8.png";
27919                        border: 7 7 7 7;
27920                    }
27921                }
27922            }
27923        }
27924        programs {
27925            program { name: "start_pulse";
27926                signal: "elm,state,pulse,start";
27927                source: "elm";
27928                action: STATE_SET "pulse" 0.0;
27929                target: "background";
27930                transition: LINEAR 0.5;
27931                after: "start_pulse";
27932            }
27933            program { name: "stop_pulse";
27934                signal: "elm,state,pulse,stop";
27935                source: "elm";
27936                action: STATE_SET "default" 0.0;
27937                target: "background";
27938            }
27939        }
27940    }
27941
27942
27943 ///////////////////////////////////////////////////////////////////////////////
27944    group { name: "elm/spinner/base/default";
27945        images {
27946            image: "shelf_inset.png" COMP;
27947            image: "bt_base1.png" COMP;
27948            image: "bt_hilight.png" COMP;
27949            image: "bt_shine.png" COMP;
27950            image: "bt_glow.png" COMP;
27951            image: "bt_dis_base.png" COMP;
27952            image: "bt_dis_hilight.png" COMP;
27953            image: "sp_bt_l.png" COMP;
27954            image: "sp_bt_r.png" COMP;
27955        }
27956        parts {
27957            part { name: "bg";
27958                type: RECT;
27959                description { state: "default" 0.0;
27960                    min: 0 30;
27961                    rel1.offset: 1 1;
27962                    rel2.offset: -2 -2;
27963                    color: 255 255 255 0;
27964                }
27965            }
27966            part { name: "conf_over";
27967                mouse_events:  0;
27968                description { state: "default" 0.0;
27969                    rel1.to: "bg";
27970                    rel2.to: "bg";
27971                    image {
27972                        normal: "shelf_inset.png";
27973                        border: 7 7 7 7;
27974                        middle: 0;
27975                    }
27976                    fill.smooth : 0;
27977                }
27978            }
27979            part { name: "left_bt";
27980                mouse_events:  1;
27981                description { state: "default" 0.0;
27982                    rel1 { to: "bg";
27983                        offset: 3 3;
27984                    }
27985                    rel2 { to: "bg";
27986                        offset: -4 -4;
27987                    }
27988                    align: 0.0 0.5;
27989                    min: 24 24;
27990                    aspect: 1.0 1.0;
27991                    aspect_preference: VERTICAL;
27992                    image {
27993                        normal: "bt_base1.png";
27994                        border: 6 6 6 6;
27995                    }
27996                    fill.smooth : 0;
27997                }
27998                description { state: "clicked" 0.0;
27999                    inherit: "default" 0.0;
28000                    image.normal: "bt_base1.png";
28001                    image.middle: SOLID;
28002                }
28003                description { state: "disabled" 0.0;
28004                    inherit:  "default" 0.0;
28005                    image {
28006                        normal: "bt_dis_base.png";
28007                        border: 4 4 4 4;
28008                    }
28009                }
28010            }
28011            part {          name: "left_over1";
28012                mouse_events: 0;
28013                description { state: "default" 0.0;
28014                    rel1.to: "left_bt";
28015                    rel2 { to: "left_bt";
28016                        relative: 1.0 0.5;
28017                    }
28018                    image {
28019                        normal: "bt_hilight.png";
28020                        border: 7 7 7 0;
28021                    }
28022                }
28023                description { state: "disabled" 0.0;
28024                    inherit:  "default" 0.0;
28025                    image {
28026                        normal: "bt_dis_hilight.png";
28027                        border: 4 4 4 0;
28028                    }
28029                }
28030            }
28031            part { name: "left_over2";
28032                mouse_events: 1;
28033                repeat_events: 1;
28034                ignore_flags: ON_HOLD;
28035                description { state: "default" 0.0;
28036                    rel1.to: "left_bt";
28037                    rel2.to: "left_bt";
28038                    image {
28039                        normal: "bt_shine.png";
28040                        border: 7 7 7 7;
28041                    }
28042                }
28043                description { state: "disabled" 0.0;
28044                    inherit:  "default" 0.0;
28045                    visible: 0;
28046                }
28047            }
28048            part { name: "left_over3";
28049                mouse_events: 1;
28050                repeat_events: 1;
28051                description { state: "default" 0.0;
28052                    color: 255 255 255 0;
28053                    rel1.to: "left_bt";
28054                    rel2.to: "left_bt";
28055                    image {
28056                        normal: "bt_glow.png";
28057                        border: 12 12 12 12;
28058                    }
28059                    fill.smooth : 0;
28060                }
28061                description { state: "clicked" 0.0;
28062                    inherit:  "default" 0.0;
28063                    visible: 1;
28064                    color: 255 255 255 255;
28065                }
28066            }
28067            part { name: "right_bt";
28068                mouse_events:  1;
28069                description { state: "default" 0.0;
28070                    rel1 { to: "bg";
28071                        offset: -26 3;
28072                    }
28073                    rel2 { to: "bg";
28074                        offset: -4 -4;
28075                    }
28076                    align: 1.0 0.5;
28077                    min: 24 24;
28078                    aspect: 1.0 1.0;
28079                    aspect_preference: VERTICAL;
28080                    image {
28081                        normal: "bt_base1.png";
28082                        border: 5 5 4 12;
28083                    }
28084                    fill.smooth : 0;
28085                }
28086                description { state: "clicked" 0.0;
28087                    inherit: "default" 0.0;
28088                    image.normal: "bt_base1.png";
28089                    image.middle: SOLID;
28090                }
28091                description { state: "disabled" 0.0;
28092                    inherit:  "default" 0.0;
28093                    image {
28094                        normal: "bt_dis_base.png";
28095                        border: 4 4 4 4;
28096                    }
28097                }
28098            }
28099            part { name: "right_over1";
28100                mouse_events: 0;
28101                description { state: "default" 0.0;
28102                    rel1.to: "right_bt";
28103                    rel2 { to: "right_bt";
28104                        relative: 1.0 0.5;
28105                    }
28106                    image {
28107                        normal: "bt_hilight.png";
28108                        border: 7 7 7 0;
28109                    }
28110                }
28111                description { state: "disabled" 0.0;
28112                    inherit:  "default" 0.0;
28113                    image {
28114                        normal: "bt_dis_hilight.png";
28115                        border: 4 4 4 0;
28116                    }
28117                }
28118            }
28119            part { name: "right_over2";
28120                mouse_events: 1;
28121                repeat_events: 1;
28122                ignore_flags: ON_HOLD;
28123                description { state: "default" 0.0;
28124                    rel1.to: "right_bt";
28125                    rel2.to: "right_bt";
28126                    image {
28127                        normal: "bt_shine.png";
28128                        border: 7 7 7 7;
28129                    }
28130                }
28131                description { state: "disabled" 0.0;
28132                    inherit:  "default" 0.0;
28133                    visible: 0;
28134                }
28135            }
28136            part { name: "right_over3";
28137                mouse_events: 1;
28138                repeat_events: 1;
28139                description { state: "default" 0.0;
28140                    color: 255 255 255 0;
28141                    rel1.to: "right_bt";
28142                    rel2.to: "right_bt";
28143                    image {
28144                        normal: "bt_glow.png";
28145                        border: 12 12 12 12;
28146                    }
28147                    fill.smooth : 0;
28148                }
28149                description { state: "clicked" 0.0;
28150                    inherit:  "default" 0.0;
28151                    visible: 1;
28152                    color: 255 255 255 255;
28153                }
28154            }
28155            part { name: "left_bt_icon";
28156                repeat_events: 1;
28157                description { state: "default" 0.0;
28158                    rel1.to: "left_bt";
28159                    rel1.offset: 4 4;
28160                    rel2.to: "left_bt";
28161                    rel2.offset: -5 -5;
28162                    align: 0.5 0.5;
28163                    min: 16 16;
28164                    aspect: 1.0 1.0;
28165                    aspect_preference: BOTH;
28166                    image.normal: "sp_bt_l.png";
28167                }
28168                description { state: "rtl" 0.0;
28169                    inherit: "default" 0.0;
28170                    image.normal: "sp_bt_r.png";
28171                }
28172            }
28173            part { name: "right_bt_icon";
28174                repeat_events: 1;
28175                description { state: "default" 0.0;
28176                    rel1.to: "right_bt";
28177                    rel1.offset: 4 4;
28178                    rel2.to: "right_bt";
28179                    rel2.offset: -5 -5;
28180                    align: 0.5 0.5;
28181                    min: 16 16;
28182                    aspect: 1.0 1.0;
28183                    aspect_preference: BOTH;
28184                    image.normal: "sp_bt_r.png";
28185                }
28186                description { state: "rtl" 0.0;
28187                    inherit: "default" 0.0;
28188                    image.normal: "sp_bt_l.png";
28189                }
28190            }
28191            part { name: "elm.text";
28192                type: TEXT;
28193                mouse_events: 0;
28194                scale: 1;
28195                description { state: "default" 0.0;
28196                    visible: 1;
28197                    align: 0.0 0.5;
28198                    rel1 { relative: 1.0 0.0;
28199                        offset: 3 2;
28200                        to_x: "left_bt";
28201                        to_y: "bg";
28202                    }
28203                    rel2 { relative: 0.0 1.0;
28204                        offset: -3 -2;
28205                        to_x: "right_bt";
28206                        to_y: "bg";
28207                    }
28208                    color: 0 0 0 255;
28209                    text {
28210                        font: "Sans,Edje-Vera";
28211                        size: 10;
28212                        min: 1 1;
28213                        align: 0.5 0.5;
28214                    }
28215                }
28216                description { state: "active" 0.0;
28217                    inherit: "default" 0.0;
28218                    visible: 0;
28219                }
28220                description { state: "disabled_active" 0.0;
28221                    inherit: "default" 0.0;
28222                    color: 0 0 0 128;
28223                    color3: 0 0 0 0;
28224                }
28225                description { state: "disabled" 0.0;
28226                    inherit: "default" 0.0;
28227                    color: 0 0 0 128;
28228                    color3: 0 0 0 0;
28229                }
28230            }
28231            part { name: "elm.dragable.slider";
28232                type: RECT;
28233                mouse_events: 0;
28234                scale: 1;
28235                dragable {
28236                    x: 1 1 0;
28237                    y: 0 0 0;
28238                }
28239                description { state: "default" 0.0;
28240                    rel1.to: "bg";
28241                    rel2.to: "bg";
28242                    fixed: 1 1;
28243                    color: 0 0 0 0;
28244                }
28245            }
28246            part { name: "button_events";
28247                type: RECT;
28248                dragable {
28249                    events: "elm.dragable.slider";
28250                }
28251                mouse_events: 1;
28252                description { state: "default" 0.0;
28253                    rel1.to: "elm.text";
28254                    rel2.to: "elm.text";
28255                    color: 0 0 0 0;
28256                }
28257            }
28258            part { name: "elm.swallow.entry";
28259                type: SWALLOW;
28260                description { state: "default" 0.0;
28261                    visible: 0;
28262                    align: 0.5 0.5;
28263                    rel1 { relative: 1.0 0.5;
28264                        offset: 3 2;
28265                        to_x: "left_bt";
28266                        to_y: "bg";
28267                    }
28268                    rel2 { relative: 0.0 0.5;
28269                        offset: -3 -2;
28270                        to_x: "right_bt";
28271                        to_y: "bg";
28272                    }
28273                    fixed: 1 1;
28274                    color: 0 0 0 0;
28275                }
28276                description { state: "active" 0.0;
28277                    inherit: "default" 0.0;
28278                    visible: 1;
28279                    color: 255 255 255 255;
28280                }
28281                description { state: "disabled_active" 0.0;
28282                    inherit: "default" 0.0;
28283                    visible: 0;
28284                }
28285                description { state: "disabled" 0.0;
28286                    inherit: "default" 0.0;
28287                    visible: 0;
28288                }
28289            }
28290            part { name: "disabler";
28291                type: RECT;
28292                description { state: "default" 0.0;
28293                    color: 0 0 0 0;
28294                    visible: 0;
28295                }
28296                description { state: "disabled" 0.0;
28297                    inherit: "default" 0.0;
28298                    visible: 1;
28299                }
28300            }
28301        }
28302        programs {
28303            program { name: "text_show";
28304                signal: "elm,state,text,visible";
28305                source: "elm";
28306                action:  STATE_SET "visible" 0.0;
28307                target: "elm.text";
28308            }
28309            program { name: "text_hide";
28310                signal: "elm,state,text,hidden";
28311                source: "elm";
28312                action:  STATE_SET "default" 0.0;
28313                target: "elm.text";
28314            }
28315            program { name: "dec";
28316                signal: "mouse,down,1";
28317                source: "left_bt";
28318                action: SIGNAL_EMIT "elm,action,decrement,start" "";
28319            }
28320            program { name: "dec2";
28321                signal: "mouse,up,1";
28322                source: "left_bt";
28323                action: SIGNAL_EMIT "elm,action,decrement,stop" "";
28324            }
28325            program { name: "inc";
28326                signal: "mouse,down,1";
28327                source: "right_bt";
28328                action: SIGNAL_EMIT "elm,action,increment,start" "";
28329            }
28330            program { name: "inc2";
28331                signal: "mouse,up,1";
28332                source: "right_bt";
28333                action: SIGNAL_EMIT "elm,action,increment,stop" "";
28334            }
28335            program {
28336                name:   "left_bt_click";
28337                signal: "mouse,down,1";
28338                source: "left_over2";
28339                action: STATE_SET "clicked" 0.0;
28340                target: "left_bt";
28341            }
28342            program {
28343                name:   "left_bt_unclick";
28344                signal: "mouse,up,1";
28345                source: "left_over2";
28346                action: STATE_SET "default" 0.0;
28347                target: "left_bt";
28348            }
28349            program {
28350                name:   "left_bt_click2";
28351                signal: "mouse,down,1";
28352                source: "left_over3";
28353                action: STATE_SET "clicked" 0.0;
28354                target: "left_over3";
28355            }
28356            program {
28357                name:   "left_bt_unclick2";
28358                signal: "mouse,up,1";
28359                source: "left_over3";
28360                action: STATE_SET "default" 0.0;
28361                transition: DECELERATE 0.5;
28362                target: "left_over3";
28363            }
28364            program {
28365                name:   "left_bt_unclick3";
28366                signal: "mouse,up,1";
28367                source: "left_over2";
28368                action: SIGNAL_EMIT "elm,action,click" "";
28369            }
28370            program {
28371                name:   "left_bt_pressed_anim";
28372                signal: "elm,left,anim,activate";
28373                source: "elm";
28374                action: STATE_SET "clicked" 0.0;
28375                target: "left_bt";
28376                target: "left_over3";
28377                after: "left_bt_unpressed_anim";
28378            }
28379            program {
28380                name:   "left_bt_unpressed_anim";
28381                action: STATE_SET "default" 0.0;
28382                transition: DECELERATE 0.5;
28383                target: "left_bt";
28384                target: "left_over3";
28385            }
28386
28387            program {
28388                name:   "right_bt_click";
28389                signal: "mouse,down,1";
28390                source: "right_over2";
28391                action: STATE_SET "clicked" 0.0;
28392                target: "right_bt";
28393            }
28394            program {
28395                name:   "right_bt_unclick";
28396                signal: "mouse,up,1";
28397                source: "right_over2";
28398                action: STATE_SET "default" 0.0;
28399                target: "right_bt";
28400            }
28401            program {
28402                name:   "right_bt_click2";
28403                signal: "mouse,down,1";
28404                source: "right_over3";
28405                action: STATE_SET "clicked" 0.0;
28406                target: "right_over3";
28407            }
28408            program {
28409                name:   "right_bt_unclick2";
28410                signal: "mouse,up,1";
28411                source: "right_over3";
28412                action: STATE_SET "default" 0.0;
28413                transition: DECELERATE 0.5;
28414                target: "right_over3";
28415            }
28416            program {
28417                name:   "right_bt_unclick3";
28418                signal: "mouse,up,1";
28419                source: "right_over2";
28420                action: SIGNAL_EMIT "elm,action,click" "";
28421            }
28422            program {
28423                name:   "right_bt_pressed_anim";
28424                signal: "elm,right,anim,activate";
28425                source: "elm";
28426                action: STATE_SET "clicked" 0.0;
28427                target: "right_bt";
28428                target: "right_over3";
28429                after: "right_bt_unpressed_anim";
28430            }
28431            program {
28432                name:   "right_bt_unpressed_anim";
28433                action: STATE_SET "default" 0.0;
28434                transition: DECELERATE 0.5;
28435                target: "right_bt";
28436                target: "right_over3";
28437            }
28438
28439            program { name: "disable";
28440                signal: "elm,state,disabled";
28441                source: "elm";
28442                action: STATE_SET "disabled" 0.0;
28443                target: "left_bt";
28444                target: "left_over1";
28445                target: "left_over2";
28446                target: "right_bt";
28447                target: "right_over1";
28448                target: "right_over2";
28449                target: "disabler";
28450                after: "disable_text";
28451            }
28452            program { name: "disable_text";
28453                script {
28454                    new st[31];
28455                    new Float:vl;
28456                    get_state(PART:"elm.text", st, 30, vl);
28457                    if (!strcmp(st, "active"))
28458                    set_state(PART:"elm.text", "disabled_active", 0.0);
28459                    else
28460                    set_state(PART:"elm.text", "disabled", 0.0);
28461
28462                    get_state(PART:"elm.swallow.entry", st, 30, vl);
28463                    if (!strcmp(st, "active"))
28464                    set_state(PART:"elm.swallow.entry", "disabled_active", 0.0);
28465                    else
28466                    set_state(PART:"elm.swallow.entry", "disabled", 0.0);
28467                }
28468            }
28469            program { name: "enable";
28470                signal: "elm,state,enabled";
28471                source: "elm";
28472                action: STATE_SET "default" 0.0;
28473                target: "left_bt";
28474                target: "left_over1";
28475                target: "left_over2";
28476                target: "right_bt";
28477                target: "right_over1";
28478                target: "right_over2";
28479                target: "disabler";
28480                after: "enable_text";
28481            }
28482            program { name: "enable_text";
28483                script {
28484                    new st[31];
28485                    new Float:vl;
28486                    get_state(PART:"elm.text", st, 30, vl);
28487                    if (!strcmp(st, "disabled_active"))
28488                    set_state(PART:"elm.text", "active", 0.0);
28489                    else
28490                    set_state(PART:"elm.text", "default", 0.0);
28491
28492                    get_state(PART:"elm.swallow.entry", st, 30, vl);
28493                    if (!strcmp(st, "disabled_active"))
28494                    set_state(PART:"elm.swallow.entry", "active", 0.0);
28495                    else
28496                    set_state(PART:"elm.swallow.entry", "default", 0.0);
28497                }
28498            }
28499            program { name: "active";
28500                signal: "elm,state,active";
28501                source: "elm";
28502                action: STATE_SET "active" 0.0;
28503                target: "elm.text";
28504                target: "elm.swallow.entry";
28505            }
28506            program { name: "inactive";
28507                signal: "elm,state,inactive";
28508                source: "elm";
28509                action: STATE_SET "default" 0.0;
28510                target: "elm.text";
28511                target: "elm.swallow.entry";
28512            }
28513            program { name: "toggle_text";
28514                signal: "mouse,up,1";
28515                source: "button_events";
28516                action: SIGNAL_EMIT "elm,action,entry,toggle" "";
28517            }
28518            program { name: "to_rtl";
28519                signal: "edje,state,rtl";
28520                source: "edje";
28521                action: STATE_SET "rtl" 0.0;
28522                target: "right_bt_icon";
28523                target: "left_bt_icon";
28524            }
28525            program { name: "to_ltr";
28526                signal: "edje,state,ltr";
28527                source: "edje";
28528                action: STATE_SET "default" 0.0;
28529                target: "right_bt_icon";
28530                target: "left_bt_icon";
28531            }
28532        }
28533    }
28534
28535 ///////////////////////////////////////////////////////////////////////////////
28536    group { name: "elm/spinner/base/vertical";
28537        images {
28538            image: "shelf_inset.png" COMP;
28539            image: "bt_hilight.png" COMP;
28540            image: "bt_shine.png" COMP;
28541            image: "bt_glow.png" COMP;
28542            image: "bt_dis_base.png" COMP;
28543            image: "bt_dis_hilight.png" COMP;
28544            image: "up.png" COMP;
28545            image: "down.png" COMP;
28546            image: "bt_spinner_up.png" COMP;
28547            image: "bt_spinner_down.png" COMP;
28548            image: "bt_spinner_hilight.png" COMP;
28549        }
28550        parts {
28551            part { name: "bg";
28552                type: RECT;
28553                description { state: "default" 0.0;
28554                    min: 0 30;
28555                    rel1.offset: 1 1;
28556                    rel2.offset: -2 -2;
28557                    color: 255 255 255 0;
28558                }
28559            }
28560            part { name: "conf_over";
28561                mouse_events:  0;
28562                description { state: "default" 0.0;
28563                    rel1 {
28564                      to: "bg";
28565                      relative: 0.0 0.0;
28566                    }
28567                    rel2 {
28568                       to: "bg";
28569                    }
28570                    image {
28571                        normal: "shelf_inset.png";
28572                        border: 7 7 7 7;
28573                        middle: 0;
28574                    }
28575                    fill.smooth : 0;
28576                }
28577            }
28578            part { name: "down_bt";
28579                mouse_events:  1;
28580                description { state: "default" 0.0;
28581                    fixed: 1 1;
28582                    rel1 {
28583                        to: "up_bt";
28584                        relative: 0 1;
28585                        offset: 0 1;
28586                    }
28587                    rel2 {
28588                        to_y: "bg";
28589                        to_x: "up_bt";
28590                        relative: 1 1;
28591                        offset: -1 -4;
28592                    }
28593                    align: 1.0 0.5;
28594                    min: 24 16;
28595                    image {
28596                        normal: "bt_spinner_down.png";
28597                        border: 6 6 6 6;
28598                    }
28599                    fill.smooth : 0;
28600                }
28601                description { state: "clicked" 0.0;
28602                    inherit: "default" 0.0;
28603                    image.normal: "bt_spinner_down.png";
28604                    image.middle: SOLID;
28605                }
28606                description { state: "disabled" 0.0;
28607                    inherit:  "default" 0.0;
28608                    image {
28609                        normal: "bt_dis_base.png";
28610                        border: 4 4 4 4;
28611                    }
28612                }
28613            }
28614            part { name: "down_over3";
28615                mouse_events: 1;
28616                repeat_events: 1;
28617                description { state: "default" 0.0;
28618                    color: 255 255 255 0;
28619                    rel1.to: "down_bt";
28620                    rel2.to: "down_bt";
28621                    image {
28622                        normal: "bt_glow.png";
28623                        border: 12 12 12 12;
28624                    }
28625                    fill.smooth : 0;
28626                }
28627                description { state: "clicked" 0.0;
28628                    inherit:  "default" 0.0;
28629                    visible: 1;
28630                    color: 255 255 255 255;
28631                }
28632            }
28633            part { name: "up_bt";
28634                mouse_events:  1;
28635                description { state: "default" 0.0;
28636                    fixed: 1 0;
28637                    rel1 { to: "bg";
28638                        relative: 0 0;
28639                        offset: 0 2;
28640                    }
28641                    rel2 { to: "bg";
28642                        relative: 1 0.5;
28643                        offset: -3 0;
28644                    }
28645                    align: 1.0 0.5;
28646                    min: 24 16;
28647                    aspect: 1.5 1.0;
28648                    aspect_preference: BOTH;
28649                    image {
28650                        normal: "bt_spinner_up.png";
28651                        border: 6 6 6 6;
28652                    }
28653                    fill.smooth : 0;
28654                }
28655                description { state: "clicked" 0.0;
28656                    inherit: "default" 0.0;
28657                    image.normal: "bt_spinner_up.png";
28658                    image.middle: SOLID;
28659                }
28660                description { state: "disabled" 0.0;
28661                    inherit:  "default" 0.0;
28662                    image {
28663                        normal: "bt_dis_base.png";
28664                        border: 4 4 4 4;
28665                    }
28666                }
28667            }
28668            part { name: "up_over1";
28669                mouse_events: 0;
28670                description { state: "default" 0.0;
28671                    rel1.to: "up_bt";
28672                    rel2 { to: "up_bt";
28673                        relative: 1.0 0.5;
28674                    }
28675                    image {
28676                        normal: "bt_spinner_hilight.png";
28677                        border: 7 7 7 0;
28678                    }
28679                }
28680                description { state: "disabled" 0.0;
28681                    inherit:  "default" 0.0;
28682                    image {
28683                        normal: "bt_dis_hilight.png";
28684                        border: 4 4 4 0;
28685                    }
28686                }
28687            }
28688            part { name: "up_over3";
28689                mouse_events: 1;
28690                repeat_events: 1;
28691                description { state: "default" 0.0;
28692                    color: 255 255 255 0;
28693                    rel1.to: "up_bt";
28694                    rel2.to: "up_bt";
28695                    image {
28696                        normal: "bt_glow.png";
28697                        border: 12 12 12 12;
28698                    }
28699                    fill.smooth : 0;
28700                }
28701                description { state: "clicked" 0.0;
28702                    inherit:  "default" 0.0;
28703                    visible: 1;
28704                    color: 255 255 255 255;
28705                }
28706            }
28707            part { name: "down_bt_icon";
28708                repeat_events: 1;
28709                description { state: "default" 0.0;
28710                    rel1.to: "down_bt";
28711                    rel1.offset: 5 3;
28712                    rel2.to: "down_bt";
28713                    rel2.offset: -6 -3;
28714                    align: 0.5 0.5;
28715                    image.normal: "down.png";
28716                }
28717            }
28718            part { name: "up_bt_icon";
28719                repeat_events: 1;
28720                description { state: "default" 0.0;
28721                    rel1.to: "up_bt";
28722                    rel1.offset: 5 3;
28723                    rel2.to: "up_bt";
28724                    rel2.offset: -6 -3;
28725                    align: 0.5 0.5;
28726                    image.normal: "up.png";
28727                }
28728            }
28729            part { name: "elm.text";
28730                type: TEXT;
28731                mouse_events: 0;
28732                scale: 1;
28733                description { state: "default" 0.0;
28734                    visible: 1;
28735                    align: 0.0 0.5;
28736                    rel1 { relative: 0.0 0.0;
28737                        offset: 3 2;
28738                        to_x: "bg";
28739                        to_y: "bg";
28740                    }
28741                    rel2 { relative: 0.0 1.0;
28742                        offset: -3 -2;
28743                        to_x: "down_bt";
28744                        to_y: "bg";
28745                    }
28746                    color: 0 0 0 255;
28747                    text {
28748                        font: "Sans,Edje-Vera";
28749                        size: 10;
28750                        min: 1 1;
28751                        align: 0.5 0.5;
28752                    }
28753                }
28754                description { state: "active" 0.0;
28755                    inherit: "default" 0.0;
28756                    visible: 0;
28757                }
28758                description { state: "disabled_active" 0.0;
28759                    inherit: "default" 0.0;
28760                    color: 0 0 0 128;
28761                    color3: 0 0 0 0;
28762                }
28763                description { state: "disabled" 0.0;
28764                    inherit: "default" 0.0;
28765                    color: 0 0 0 128;
28766                    color3: 0 0 0 0;
28767                }
28768            }
28769            part { name: "elm.dragable.slider";
28770                type: RECT;
28771                mouse_events: 0;
28772                scale: 1;
28773                dragable {
28774                    x: 1 1 0;
28775                    y: 0 0 0;
28776                }
28777                description { state: "default" 0.0;
28778                    rel1.to: "bg";
28779                    rel2.to: "bg";
28780                    fixed: 1 1;
28781                    color: 0 0 0 0;
28782                }
28783            }
28784            part { name: "button_events";
28785                type: RECT;
28786                dragable {
28787                    events: "elm.dragable.slider";
28788                }
28789                mouse_events: 1;
28790                description { state: "default" 0.0;
28791                    rel1.to: "elm.text";
28792                    rel2.to: "elm.text";
28793                    color: 0 0 0 0;
28794                }
28795            }
28796            part { name: "elm.swallow.entry";
28797                type: SWALLOW;
28798                description { state: "default" 0.0;
28799                    visible: 0;
28800                    align: 0.5 0.5;
28801                    rel1 { relative: 0.0 0.5;
28802                        offset: 3 2;
28803                        to: "bg";
28804                    }
28805                    rel2 { relative: 1.0 0.5;
28806                        offset: -3 -2;
28807                        to: "bg";
28808                    }
28809                    fixed: 1 1;
28810                    color: 0 0 0 0;
28811                }
28812                description { state: "active" 0.0;
28813                    inherit: "default" 0.0;
28814                    visible: 1;
28815                    color: 255 255 255 255;
28816                }
28817                description { state: "disabled_active" 0.0;
28818                    inherit: "default" 0.0;
28819                    visible: 0;
28820                }
28821                description { state: "disabled" 0.0;
28822                    inherit: "default" 0.0;
28823                    visible: 0;
28824                }
28825            }
28826            part { name: "disabler";
28827                type: RECT;
28828                description { state: "default" 0.0;
28829                    color: 0 0 0 0;
28830                    visible: 0;
28831                }
28832                description { state: "disabled" 0.0;
28833                    inherit: "default" 0.0;
28834                    visible: 1;
28835                }
28836            }
28837        }
28838        programs {
28839            program { name: "text_show";
28840                signal: "elm,state,text,visible";
28841                source: "elm";
28842                action:  STATE_SET "visible" 0.0;
28843                target: "elm.text";
28844            }
28845            program { name: "text_hide";
28846                signal: "elm,state,text,hidden";
28847                source: "elm";
28848                action:  STATE_SET "default" 0.0;
28849                target: "elm.text";
28850            }
28851            program { name: "dec";
28852                signal: "mouse,down,1";
28853                source: "down_bt";
28854                action: SIGNAL_EMIT "elm,action,decrement,start" "";
28855            }
28856            program { name: "dec2";
28857                signal: "mouse,up,1";
28858                source: "down_bt";
28859                action: SIGNAL_EMIT "elm,action,decrement,stop" "";
28860            }
28861            program { name: "inc";
28862                signal: "mouse,down,1";
28863                source: "up_bt";
28864                action: SIGNAL_EMIT "elm,action,increment,start" "";
28865            }
28866            program { name: "inc2";
28867                signal: "mouse,up,1";
28868                source: "up_bt";
28869                action: SIGNAL_EMIT "elm,action,increment,stop" "";
28870            }
28871            program {
28872                name:   "down_bt_click2";
28873                signal: "mouse,down,1";
28874                source: "down_over3";
28875                action: STATE_SET "clicked" 0.0;
28876                target: "down_over3";
28877            }
28878            program {
28879                name:   "down_bt_unclick2";
28880                signal: "mouse,up,1";
28881                source: "down_over3";
28882                action: STATE_SET "default" 0.0;
28883                transition: DECELERATE 0.5;
28884                target: "down_over3";
28885            }
28886            program {
28887                name:   "up_bt_click2";
28888                signal: "mouse,down,1";
28889                source: "up_over3";
28890                action: STATE_SET "clicked" 0.0;
28891                target: "up_over3";
28892            }
28893            program {
28894                name:   "up_bt_unclick2";
28895                signal: "mouse,up,1";
28896                source: "up_over3";
28897                action: STATE_SET "default" 0.0;
28898                transition: DECELERATE 0.5;
28899                target: "up_over3";
28900            }
28901            program { name: "disable";
28902                signal: "elm,state,disabled";
28903                source: "elm";
28904                action: STATE_SET "disabled" 0.0;
28905                target: "down_bt";
28906                target: "up_bt";
28907                target: "disabler";
28908                after: "disable_text";
28909            }
28910            program { name: "disable_text";
28911                script {
28912                    new st[31];
28913                    new Float:vl;
28914                    get_state(PART:"elm.text", st, 30, vl);
28915                    if (!strcmp(st, "active"))
28916                    set_state(PART:"elm.text", "disabled_active", 0.0);
28917                    else
28918                    set_state(PART:"elm.text", "disabled", 0.0);
28919
28920                    get_state(PART:"elm.swallow.entry", st, 30, vl);
28921                    if (!strcmp(st, "active"))
28922                    set_state(PART:"elm.swallow.entry", "disabled_active", 0.0);
28923                    else
28924                    set_state(PART:"elm.swallow.entry", "disabled", 0.0);
28925                }
28926            }
28927            program { name: "enable";
28928                signal: "elm,state,enabled";
28929                source: "elm";
28930                action: STATE_SET "default" 0.0;
28931                target: "down_bt";
28932                target: "up_bt";
28933                target: "disabler";
28934                after: "enable_text";
28935            }
28936            program { name: "enable_text";
28937                script {
28938                    new st[31];
28939                    new Float:vl;
28940                    get_state(PART:"elm.text", st, 30, vl);
28941                    if (!strcmp(st, "disabled_active"))
28942                    set_state(PART:"elm.text", "active", 0.0);
28943                    else
28944                    set_state(PART:"elm.text", "default", 0.0);
28945
28946                    get_state(PART:"elm.swallow.entry", st, 30, vl);
28947                    if (!strcmp(st, "disabled_active"))
28948                    set_state(PART:"elm.swallow.entry", "active", 0.0);
28949                    else
28950                    set_state(PART:"elm.swallow.entry", "default", 0.0);
28951                }
28952            }
28953            program { name: "active";
28954                signal: "elm,state,active";
28955                source: "elm";
28956                action: STATE_SET "active" 0.0;
28957                target: "elm.text";
28958                target: "elm.swallow.entry";
28959            }
28960            program { name: "inactive";
28961                signal: "elm,state,inactive";
28962                source: "elm";
28963                action: STATE_SET "default" 0.0;
28964                target: "elm.text";
28965                target: "elm.swallow.entry";
28966            }
28967            program { name: "toggle_text";
28968                signal: "mouse,up,1";
28969                source: "button_events";
28970                action: SIGNAL_EMIT "elm,action,entry,toggle" "";
28971            }
28972        }
28973    }
28974
28975
28976    ///////////////////////////////////////////////////////////////////////////////
28977    group { name: "elm/index/base/vertical/default";
28978        images {
28979            image: "bt_base1.png" COMP;
28980            image: "bt_base2.png" COMP;
28981            image: "bt_hilight.png" COMP;
28982            image: "bt_shine.png" COMP;
28983        }
28984        parts {
28985            part { name: "clip";
28986                type: RECT;
28987                mouse_events:  0;
28988                description { state: "default" 0.0;
28989                    visible:  0;
28990                    color: 255 255 255 0;
28991                }
28992                description { state: "active" 0.0;
28993                    visible:  1;
28994                    color: 255 255 255 255;
28995                }
28996            }
28997            part { name: "clip2";
28998                type: RECT;
28999                mouse_events:  0;
29000                clip_to: "clip";
29001                description { state: "default" 0.0;
29002                    visible: 0;
29003                    color: 255 255 255 0;
29004                }
29005                description { state: "active" 0.0;
29006                    visible:  1;
29007                    color: 255 255 255 255;
29008                }
29009            }
29010            part { name: "elm.swallow.index.0";
29011                type: SWALLOW;
29012                clip_to: "clip";
29013                description { state: "default" 0.0;
29014                    align: 1.0 0.5;
29015                    fixed: 1 1;
29016                    rel1 {
29017                        relative: 1.0 0.5;
29018                        offset: -1 5;
29019                    }
29020                    rel2 {
29021                        relative: 1.0 0.5;
29022                        offset: -1 -6;
29023                    }
29024                }
29025            }
29026            part { name: "button_image";
29027                mouse_events: 1;
29028                clip_to: "clip";
29029                description { state: "default" 0.0;
29030                    rel1 {
29031                        to: "elm.text.body";
29032                        offset: -5 -5;
29033                    }
29034                    rel2 {
29035                        to: "elm.text";
29036                        offset: 4 4;
29037                    }
29038                    image {
29039                        normal: "bt_base2.png";
29040                        border: 7 7 7 7;
29041                    }
29042                    image.middle: SOLID;
29043                }
29044            }
29045            part { name: "elm.text.body";
29046                type: TEXT;
29047                effect: SOFT_SHADOW;
29048                mouse_events: 0;
29049                scale: 1;
29050                clip_to: "clip";
29051                description { state: "default" 0.0;
29052                    align: 1.0 0.5;
29053                    fixed: 1 1;
29054                    rel1 {
29055                        to: "elm.text";
29056                        relative: 0.0 0.0;
29057                        offset: 5 0;
29058                    }
29059                    rel2 {
29060                        to: "elm.text";
29061                        relative: 0.0 1.0;
29062                        offset: 5 -1;
29063                    }
29064                    color: 224 224 224 255;
29065                    color3: 0 0 0 64;
29066                    text {
29067                        font:     "Sans,Edje-Vera";
29068                        size:     20;
29069                        min:      1 1;
29070                        align:    1.0 0.5;
29071                    }
29072                }
29073            }
29074            part { name: "elm.text";
29075                type: TEXT;
29076                effect: SOFT_SHADOW;
29077                mouse_events: 0;
29078                scale: 1;
29079                clip_to: "clip";
29080                description { state: "default" 0.0;
29081                    align: 1.0 0.5;
29082                    fixed: 1 1;
29083                    rel1 {
29084                        to_x: "elm.swallow.event.0";
29085                        to_y: "elm.dragable.pointer";
29086                        relative: 0.0 0.5;
29087                        offset: -16 0;
29088                    }
29089                    rel2 {
29090                        to_x: "elm.swallow.event.0";
29091                        to_y: "elm.dragable.pointer";
29092                        relative: 0.0 0.5;
29093                        offset: -16 -1;
29094                    }
29095                    color: 255 0 0 255;
29096                    color3: 0 0 0 64;
29097                    text {
29098                        font:     "Sans,Edje-Vera";
29099                        size:     20;
29100                        min:      1 1;
29101                        align:    1.0 0.5;
29102                    }
29103                }
29104            }
29105            part {        name: "over1";
29106                mouse_events: 0;
29107                clip_to: "clip";
29108                description { state: "default" 0.0;
29109                    rel1 {
29110                        to: "button_image";
29111                    }
29112                    rel2 {
29113                        to: "button_image";
29114                        relative: 1.0 0.5;
29115                    }
29116                    image {
29117                        normal: "bt_hilight.png";
29118                        border: 7 7 7 0;
29119                    }
29120                }
29121            }
29122            part { name: "over2";
29123                mouse_events: 1;
29124                repeat_events: 1;
29125                ignore_flags: ON_HOLD;
29126                clip_to: "clip";
29127                description { state: "default" 0.0;
29128                    rel1 {
29129                        to: "button_image";
29130                    }
29131                    rel2 {
29132                        to: "button_image";
29133                    }
29134                    image {
29135                        normal: "bt_shine.png";
29136                        border: 7 7 7 7;
29137                    }
29138                }
29139            }
29140            part { name: "elm.dragable.pointer";
29141                type: RECT;
29142                mouse_events: 0;
29143                dragable {
29144                    x: 1 1 0;
29145                    y: 1 1 0;
29146                }
29147                clip_to: "clip";
29148                description { state: "default" 0.0;
29149                    fixed: 1 1;
29150                    min: 8 8;
29151                    max: 8 8;
29152                    visible: 0;
29153                    rel1 {
29154                        relative: 0.0 0.0;
29155                        offset:   0 0;
29156                    }
29157                    rel2 {
29158                        relative: 0.0 0.0;
29159                        offset:   0 0;
29160                    }
29161                }
29162            }
29163            part { name: "elm.swallow.event.0";
29164                type: SWALLOW;
29165                description { state: "default" 0.0;
29166                    align: 1.0 0.5;
29167                    fixed: 1 1;
29168                    rel1 {
29169                        relative: 1.0 0.0;
29170                        offset: -1 0;
29171                    }
29172                    rel2 {
29173                        relative: 1.0 1.0;
29174                        offset: -1 -1;
29175                    }
29176                }
29177            }
29178        }
29179        programs {
29180            program { name: "active";
29181                signal: "elm,state,active";
29182                source: "elm";
29183                action: STATE_SET "active" 0.0;
29184                transition: DECELERATE 0.5;
29185                target: "clip";
29186            }
29187            program { name: "inactive";
29188                signal: "elm,state,inactive";
29189                source: "elm";
29190                action: STATE_SET "default" 0.0;
29191                transition: DECELERATE 0.5;
29192                target: "clip";
29193            }
29194        }
29195    }
29196
29197    group { name: "elm/index/item/vertical/default";
29198        data.item: "stacking" "above";
29199        data.item: "selectraise" "on";
29200        images {
29201            image: "ilist_1.png" COMP;
29202            image: "ilist_item_shadow.png" COMP;
29203        }
29204        parts {
29205            part {
29206                name: "base_sh";
29207                mouse_events: 0;
29208                description {
29209                    state: "default" 0.0;
29210                    align: 0.0 0.0;
29211                    min: 0 10;
29212                    fixed: 1 1;
29213                    rel1 {
29214                        to: "base";
29215                        relative: 0.0 1.0;
29216                        offset: 0 0;
29217                    }
29218                    rel2 {
29219                        to: "base";
29220                        relative: 1.0 1.0;
29221                        offset: -1 0;
29222                    }
29223                    image {
29224                        normal: "ilist_item_shadow.png";
29225                    }
29226                    fill.smooth: 0;
29227                }
29228            }
29229            part {
29230                name: "base";
29231                mouse_events: 0;
29232                description {
29233                    state: "default" 0.0;
29234                    image {
29235                        normal: "ilist_1.png";
29236                        border: 2 2 2 2;
29237                    }
29238                    fill.smooth: 0;
29239                }
29240                description { state: "active" 0.0;
29241                    inherit: "default" 0.0;
29242                    rel1 {
29243                        offset: -16 0;
29244                    }
29245                }
29246            }
29247            part { name: "elm.text";
29248                type:           TEXT;
29249                mouse_events:   0;
29250                scale: 1;
29251                description {
29252                    state: "default" 0.0;
29253                           //               min: 16 16;
29254                    rel1 {
29255                        to: "base";
29256                        relative: 0.0  0.0;
29257                        offset:   4 4;
29258                    }
29259                    rel2 {
29260                        to: "base";
29261                        relative: 0.5  1.0;
29262                        offset:   -1 -1;
29263                    }
29264                    color: 0 0 0 128;
29265                    text {
29266                        font: "Sans";
29267                        size: 10;
29268                        min: 1 1;
29269                             //                  min: 0 1;
29270                        align: 0.5 0.5;
29271                    }
29272                }
29273                description { state: "active" 0.0;
29274                    inherit: "default" 0.0;
29275                    color: 0 0 0 255;
29276                }
29277            }
29278        }
29279        programs {
29280            program { name: "active";
29281                signal: "elm,state,active";
29282                source: "elm";
29283                action: STATE_SET "active" 0.0;
29284                transition: DECELERATE 0.5;
29285                target: "elm.text";
29286                target: "base";
29287            }
29288            program { name: "inactive";
29289                signal: "elm,state,inactive";
29290                source: "elm";
29291                action: STATE_SET "default" 0.0;
29292                transition: DECELERATE 0.5;
29293                target: "elm.text";
29294                target: "base";
29295            }
29296        }
29297    }
29298
29299    group { name: "elm/index/item_odd/vertical/default";
29300        data.item: "stacking" "below";
29301        images {
29302            image: "ilist_2.png" COMP;
29303        }
29304        parts {
29305            part {
29306                name: "base";
29307                mouse_events: 0;
29308                description {
29309                    state: "default" 0.0;
29310                    image {
29311                        normal: "ilist_2.png";
29312                        border: 2 2 2 2;
29313                    }
29314                    fill.smooth: 0;
29315                }
29316                description { state: "active" 0.0;
29317                    inherit: "default" 0.0;
29318                    rel1 {
29319                        offset: -16 0;
29320                    }
29321                }
29322            }
29323            part { name: "elm.text";
29324                type:           TEXT;
29325                mouse_events:   0;
29326                scale: 1;
29327                description {
29328                    state: "default" 0.0;
29329                           //               min: 16 16;
29330                    rel1 {
29331                        to: "base";
29332                        relative: 0.0  0.0;
29333                        offset:   4 4;
29334                    }
29335                    rel2 {
29336                        to: "base";
29337                        relative: 0.5  1.0;
29338                        offset:   -1 -1;
29339                    }
29340                    color: 0 0 0 128;
29341                    text {
29342                        font: "Sans";
29343                        size: 10;
29344                        min: 1 1;
29345                             //                  min: 0 1;
29346                        align: 0.5 0.5;
29347                    }
29348                }
29349                description { state: "active" 0.0;
29350                    inherit: "default" 0.0;
29351                    color: 0 0 0 255;
29352                }
29353            }
29354        }
29355        programs {
29356            program { name: "active";
29357                signal: "elm,state,active";
29358                source: "elm";
29359                action: STATE_SET "active" 0.0;
29360                transition: DECELERATE 0.5;
29361                target: "elm.text";
29362                target: "base";
29363            }
29364            program { name: "inactive";
29365                signal: "elm,state,inactive";
29366                source: "elm";
29367                action: STATE_SET "default" 0.0;
29368                transition: DECELERATE 0.5;
29369                target: "elm.text";
29370                target: "base";
29371            }
29372        }
29373    }
29374
29375 ///////////////////////////////////////////////////////////////////////////////
29376    group { name: "elm/gengrid/item/default/default";
29377       data.item: "labels" "elm.text";
29378       data.item: "icons" "elm.swallow.icon elm.swallow.end";
29379       images {
29380          image: "bt_sm_base1.png" COMP;
29381          image: "bt_sm_shine.png" COMP;
29382          image: "bt_sm_hilight.png" COMP;
29383          image: "ilist_1.png" COMP;
29384          image: "ilist_item_shadow.png" COMP;
29385       }
29386       parts {
29387          part { name: "event";
29388             type: RECT;
29389             repeat_events: 1;
29390             description {
29391                state: "default" 0.0;
29392                color: 0 0 0 0;
29393             }
29394          }
29395          part { name: "base_sh";
29396             mouse_events: 0;
29397             description { state: "default" 0.0;
29398                align: 0.0 0.0;
29399                min: 0 10;
29400                fixed: 1 1;
29401                rel1 {
29402                   to: "base";
29403                   relative: 0.0 1.0;
29404                   offset: 0 0;
29405                }
29406                rel2 {
29407                   to: "base";
29408                   relative: 1.0 1.0;
29409                   offset: -1 0;
29410                }
29411                image {
29412                   normal: "ilist_item_shadow.png";
29413                }
29414                fill.smooth: 0;
29415             }
29416          }
29417          part { name: "base";
29418             mouse_events: 0;
29419             description { state: "default" 0.0;
29420                image {
29421                   normal: "ilist_1.png";
29422                   border: 2 2 2 2;
29423                }
29424                fill.smooth: 0;
29425             }
29426          }
29427          part { name: "bg";
29428             clip_to: "disclip";
29429             mouse_events: 0;
29430             description { state: "default" 0.0;
29431                visible: 0;
29432                color: 255 255 255 0;
29433                rel1 {
29434                   relative: 0.0 0.0;
29435                   offset: -5 -5;
29436                }
29437                rel2 {
29438                   relative: 1.0 1.0;
29439                   offset: 4 4;
29440                }
29441                image {
29442                   normal: "bt_sm_base1.png";
29443                   border: 6 6 6 6;
29444                }
29445                image.middle: SOLID;
29446             }
29447             description { state: "selected" 0.0;
29448                inherit: "default" 0.0;
29449                visible: 1;
29450                color: 255 255 255 255;
29451                rel1 {
29452                   relative: 0.0 0.0;
29453                   offset: -2 -2;
29454                }
29455                rel2 {
29456                   relative: 1.0 1.0;
29457                   offset: 1 1;
29458                }
29459             }
29460          }
29461          part { name: "elm.swallow.pad";
29462             type: SWALLOW;
29463             description { state: "default" 0.0;
29464                fixed: 1 0;
29465                align: 0.0 0.5;
29466                rel1 {
29467                   relative: 0.0  1.0;
29468                   offset:   0    -10;
29469                }
29470                rel2 {
29471                   to_y: "elm.text";
29472                   relative: 0.0  0.0;
29473                   offset:   -1   -1;
29474                }
29475             }
29476          }
29477          part { name: "elm.swallow.icon";
29478             clip_to: "disclip";
29479             type: SWALLOW;
29480             description { state: "default" 0.0;
29481                fixed: 1 0;
29482                align: 0.5 0.5;
29483                rel1 {
29484                   relative: 0.0  0.0;
29485                   offset:   -1    4;
29486                }
29487                rel2 {
29488                   to_y: "elm.swallow.pad";
29489                   relative: 1.0  0.0;
29490                   offset:   -1   -5;
29491                }
29492             }
29493          }
29494          part { name: "elm.swallow.end";
29495             clip_to: "disclip";
29496             type: SWALLOW;
29497             description { state: "default" 0.0;
29498                fixed: 1 0;
29499                align: 1.0 0.0;
29500                aspect: 1.0 1.0;
29501                aspect_preference: HORIZONTAL;
29502                rel1 {
29503                   relative: 1.0 0.0;
29504                   offset: -5 -5;
29505                }
29506                rel2 {
29507                   relative: 1.0 1.0;
29508                   offset: 5 5;
29509                }
29510             }
29511          }
29512          part { name: "elm.text";
29513             clip_to: "disclip";
29514             type: TEXT;
29515             effect: SOFT_SHADOW;
29516             mouse_events: 0;
29517             scale: 1;
29518             description { state: "default" 0.0;
29519                rel1 {
29520                   relative: 0.0  1.0;
29521                   offset: 0 0;
29522                }
29523                rel2 {
29524                   relative: 1.0  1.0;
29525                   offset: -5 -5;
29526                }
29527                color: 0 0 0 255;
29528                color3: 0 0 0 0;
29529                text {
29530                   font: "Sans";
29531                   size: 10;
29532                   min: 0 1;
29533                   align: 0.5 0.0;
29534                   text_class: "grid_item";
29535                }
29536             }
29537             description { state: "selected" 0.0;
29538                inherit: "default" 0.0;
29539                color: 224 224 224 255;
29540                color3: 0 0 0 64;
29541             }
29542          }
29543          part { name: "fg1";
29544             clip_to: "disclip";
29545             mouse_events: 0;
29546             description { state: "default" 0.0;
29547                visible: 0;
29548                color: 255 255 255 0;
29549                rel1.to: "bg";
29550                rel2.relative: 1.0 0.5;
29551                rel2.to: "bg";
29552                image {
29553                   normal: "bt_sm_hilight.png";
29554                   border: 6 6 6 0;
29555                }
29556             }
29557             description { state: "selected" 0.0;
29558                inherit: "default" 0.0;
29559                visible: 1;
29560                color: 255 255 255 255;
29561             }
29562          }
29563          part { name: "fg2";
29564             clip_to: "disclip";
29565             mouse_events: 0;
29566             description { state: "default" 0.0;
29567                visible: 0;
29568                color: 255 255 255 0;
29569                rel1.to: "bg";
29570                rel2.to: "bg";
29571                image {
29572                   normal: "bt_sm_shine.png";
29573                   border: 6 6 6 0;
29574                }
29575             }
29576             description { state: "selected" 0.0;
29577                inherit: "default" 0.0;
29578                visible: 1;
29579                color: 255 255 255 255;
29580             }
29581          }
29582          part { name: "disclip";
29583             type: RECT;
29584             description { state: "default" 0.0;
29585                rel1.to: "bg";
29586                rel2.to: "bg";
29587             }
29588             description { state: "disabled" 0.0;
29589                inherit: "default" 0.0;
29590                color: 255 255 255 64;
29591             }
29592          }
29593       }
29594       programs {
29595          // signal: elm,state,%s,active
29596          //   a "check" item named %s went active
29597          // signal: elm,state,%s,passive
29598          //   a "check" item named %s went passive
29599          // default is passive
29600          program { name:    "go_active";
29601             signal:  "elm,state,selected";
29602             source:  "elm";
29603             action:  STATE_SET "selected" 0.0;
29604             target:  "bg";
29605             target:  "fg1";
29606             target:  "fg2";
29607             target:  "elm.text";
29608          }
29609          program { name:    "go_passive";
29610             signal:  "elm,state,unselected";
29611             source:  "elm";
29612             action:  STATE_SET "default" 0.0;
29613             target:  "bg";
29614             target:  "fg1";
29615             target:  "fg2";
29616             target:  "elm.text";
29617             transition: LINEAR 0.1;
29618          }
29619          program { name:    "go_disabled";
29620             signal:  "elm,state,disabled";
29621             source:  "elm";
29622             action:  STATE_SET "disabled" 0.0;
29623             target:  "disclip";
29624          }
29625          program { name:    "go_enabled";
29626             signal:  "elm,state,enabled";
29627             source:  "elm";
29628             action:  STATE_SET "default" 0.0;
29629             target:  "disclip";
29630          }
29631       }
29632    }
29633    group { name: "elm/gengrid/item/default_style/default";
29634        styles
29635        {
29636            style { name: "gengrid_style";
29637                base: "font=Sans font_size=10 align=left valign=0.5 color=#000 text_class=grid_item";
29638                tag:  "br" "\n";
29639                tag:  "ps" "ps";
29640                tag:  "hilight" "+ font=Sans:style=Bold";
29641                tag:  "b" "+ font=Sans:style=Bold";
29642                tag:  "tab" "\t";
29643            }
29644            style { name: "gengrid_selected_style";
29645                base: "font=Sans font_size=10 align=left valign=0.5 color=#fff text_class=grid_item";
29646                tag:  "br" "\n";
29647                tag:  "ps" "ps";
29648                tag:  "hilight" "+ font=Sans:style=Bold";
29649                tag:  "b" "+ font=Sans:style=Bold";
29650                tag:  "tab" "\t";
29651            }
29652        }
29653        data.item: "labels" "elm.text";
29654        data.item: "icons" "elm.swallow.icon elm.swallow.end";
29655        images {
29656            image: "bt_sm_base1.png" COMP;
29657            image: "bt_sm_shine.png" COMP;
29658            image: "bt_sm_hilight.png" COMP;
29659            image: "ilist_1.png" COMP;
29660            image: "ilist_item_shadow.png" COMP;
29661        }
29662        parts {
29663            part { name: "event";
29664                type: RECT;
29665                repeat_events: 1;
29666                description { state: "default" 0.0;
29667                    color: 0 0 0 0;
29668                }
29669            }
29670            part { name: "base_sh";
29671                mouse_events: 0;
29672                description { state: "default" 0.0;
29673                    align: 0.0 0.0;
29674                    min: 0 10;
29675                    fixed: 1 1;
29676                    rel1 {
29677                        to: "base";
29678                        relative: 0.0 1.0;
29679                        offset: 0 0;
29680                    }
29681                    rel2 {
29682                        to: "base";
29683                        relative: 1.0 1.0;
29684                        offset: -1 0;
29685                    }
29686                    image {
29687                        normal: "ilist_item_shadow.png";
29688                    }
29689                    fill.smooth: 0;
29690                }
29691            }
29692            part { name: "base";
29693                mouse_events: 0;
29694                description { state: "default" 0.0;
29695                    min: 16 28;
29696                    image {
29697                        normal: "ilist_1.png";
29698                        border: 2 2 2 2;
29699                    }
29700                    fill.smooth: 0;
29701                }
29702            }
29703            part { name: "bg";
29704                clip_to: "disclip";
29705                mouse_events: 0;
29706                description { state: "default" 0.0;
29707                    visible: 0;
29708                    color: 255 255 255 0;
29709                    rel1 {
29710                        relative: 0.0 0.0;
29711                        offset: -5 -5;
29712                    }
29713                    rel2 {
29714                        relative: 1.0 1.0;
29715                        offset: 4 4;
29716                    }
29717                    image {
29718                        normal: "bt_sm_base1.png";
29719                        border: 6 6 6 6;
29720                    }
29721                    image.middle: SOLID;
29722                }
29723                description { state: "selected" 0.0;
29724                    inherit: "default" 0.0;
29725                    visible: 1;
29726                    color: 255 255 255 255;
29727                    rel1 {
29728                        relative: 0.0 0.0;
29729                        offset: -2 -2;
29730                    }
29731                    rel2 {
29732                        relative: 1.0 1.0;
29733                        offset: 1 1;
29734                    }
29735                }
29736            }
29737            part { name: "elm.swallow.pad";
29738                type: SWALLOW;
29739                description { state: "default" 0.0;
29740                    fixed: 1 0;
29741                    align: 0.0 0.5;
29742                    rel1 {
29743                        relative: 0.0  0.0;
29744                        offset:   4    4;
29745                    }
29746                    rel2 {
29747                        relative: 0.0  1.0;
29748                        offset:   4   -5;
29749                    }
29750                }
29751            }
29752            part { name: "elm.swallow.icon";
29753                clip_to: "disclip";
29754                type: SWALLOW;
29755                description { state: "default" 0.0;
29756                    fixed: 1 0;
29757                    align: 0.0 0.5;
29758                    rel1 {
29759                        to_x: "elm.swallow.pad";
29760                        relative: 1.0  0.0;
29761                        offset:   -1    4;
29762                    }
29763                    rel2 {
29764                        to_x: "elm.swallow.pad";
29765                        relative: 1.0  1.0;
29766                        offset:   -1   -5;
29767                    }
29768                }
29769            }
29770            part { name: "elm.swallow.end";
29771                clip_to: "disclip";
29772                type: SWALLOW;
29773                description { state: "default" 0.0;
29774                    fixed: 1 0;
29775                    align: 1.0 0.5;
29776                    aspect: 1.0 1.0;
29777                    aspect_preference: VERTICAL;
29778                    rel1 {
29779                        relative: 1.0  0.0;
29780                        offset:   -5    4;
29781                    }
29782                    rel2 {
29783                        relative: 1.0  1.0;
29784                        offset:   -5   -5;
29785                    }
29786                }
29787            }
29788            part { name: "elm.text";
29789                clip_to: "disclip";
29790                type: TEXTBLOCK;
29791                mouse_events: 0;
29792                scale: 1;
29793                description {
29794                    state: "default" 0.0;
29795                    align: 0.0 0.5;
29796                    fixed: 0 1;
29797                    rel1 {
29798                        to_x: "elm.swallow.icon";
29799                        to_y: "base";
29800                        relative: 1.0  0.5;
29801                        offset:   0 4;
29802                    }
29803                    rel2 {
29804                        to_x: "elm.swallow.end";
29805                        to_y: "base";
29806                        relative: 0.0  0.5;
29807                        offset:   -1 -5;
29808                    }
29809                    text {
29810                        style: "gengrid_style";
29811                        min: 1 1;
29812                    }
29813                }
29814                description { state: "selected" 0.0;
29815                    inherit: "default" 0.0;
29816                    text {
29817                        style: "gengrid_selected_style";
29818                    }
29819                }
29820            }
29821            part { name: "fg1";
29822                clip_to: "disclip";
29823                mouse_events: 0;
29824                description { state: "default" 0.0;
29825                    visible: 0;
29826                    color: 255 255 255 0;
29827                    rel1.to: "bg";
29828                    rel2.relative: 1.0 0.5;
29829                    rel2.to: "bg";
29830                    image {
29831                        normal: "bt_sm_hilight.png";
29832                        border: 6 6 6 0;
29833                    }
29834                }
29835                description { state: "selected" 0.0;
29836                    inherit: "default" 0.0;
29837                    visible: 1;
29838                    color: 255 255 255 255;
29839                }
29840            }
29841            part { name: "fg2";
29842                clip_to: "disclip";
29843                mouse_events: 0;
29844                description { state: "default" 0.0;
29845                    visible: 0;
29846                    color: 255 255 255 0;
29847                    rel1.to: "bg";
29848                    rel2.to: "bg";
29849                    image {
29850                        normal: "bt_sm_shine.png";
29851                        border: 6 6 6 0;
29852                    }
29853                }
29854                description { state: "selected" 0.0;
29855                    inherit: "default" 0.0;
29856                    visible: 1;
29857                    color: 255 255 255 255;
29858                }
29859            }
29860            part { name: "disclip";
29861                type: RECT;
29862                description { state: "default" 0.0;
29863                    rel1.to: "bg";
29864                    rel2.to: "bg";
29865                }
29866                description { state: "disabled" 0.0;
29867                    inherit: "default" 0.0;
29868                    color: 255 255 255 64;
29869                }
29870            }
29871        }
29872        programs {
29873            // signal: elm,state,%s,active
29874            //   a "check" item named %s went active
29875            // signal: elm,state,%s,passive
29876            //   a "check" item named %s went passive
29877            // default is passive
29878            program { name:    "go_active";
29879                signal:  "elm,state,selected";
29880                source:  "elm";
29881                action:  STATE_SET "selected" 0.0;
29882                target:  "bg";
29883                target:  "fg1";
29884                target:  "fg2";
29885                target:  "elm.text";
29886            }
29887            program { name:    "go_passive";
29888                signal:  "elm,state,unselected";
29889                source:  "elm";
29890                action:  STATE_SET "default" 0.0;
29891                target:  "bg";
29892                target:  "fg1";
29893                target:  "fg2";
29894                target:  "elm.text";
29895                transition: LINEAR 0.1;
29896            }
29897            program { name:    "go_disabled";
29898                signal:  "elm,state,disabled";
29899                source:  "elm";
29900                action:  STATE_SET "disabled" 0.0;
29901                target:  "disclip";
29902            }
29903            program { name:    "go_enabled";
29904                signal:  "elm,state,enabled";
29905                source:  "elm";
29906                action:  STATE_SET "default" 0.0;
29907                target:  "disclip";
29908            }
29909        }
29910    }
29911
29912    group { name: "elm/gengrid/item/up/default";
29913       data.item: "labels" "elm.text";
29914       images {
29915           image: "bt_sm_base1.png" COMP;
29916           image: "bt_sm_shine.png" COMP;
29917           image: "bt_sm_hilight.png" COMP;
29918           image: "arrow_up.png" COMP;
29919       }
29920       parts {
29921          part { name: "event";
29922             type: RECT;
29923             repeat_events: 1;
29924             description { state: "default" 0.0;
29925                color: 0 0 0 0;
29926             }
29927          }
29928          part { name: "bg";
29929             clip_to: "disclip";
29930             mouse_events: 0;
29931             description { state: "default" 0.0;
29932                visible: 0;
29933                color: 255 255 255 0;
29934                rel1.offset: -3 -3;
29935                rel2.offset: 2 2;
29936                image { normal: "bt_sm_base1.png";
29937                   border: 6 6 6 6;
29938                   middle: SOLID;
29939                }
29940             }
29941             description { state: "selected" 0.0;
29942                inherit: "default" 0.0;
29943                visible: 1;
29944                color: 255 255 255 255;
29945             }
29946          }
29947          part { name: "image";
29948              type: IMAGE;
29949              mouse_events: 0;
29950              description { state: "default" 0.0;
29951                  aspect_preference: BOTH;
29952                  aspect: 1.0 1.0;
29953                  image.normal: "arrow_up.png";
29954                  rel2 {
29955                      to_y: "elm.text";
29956                      relative: 1.0 0.0;
29957                      offset: -1 -2;
29958                  }
29959              }
29960          }
29961          part { name: "elm.text";
29962             clip_to: "disclip";
29963             type: TEXT;
29964             effect: SOFT_SHADOW;
29965             mouse_events: 0;
29966             scale: 1;
29967             description { state: "default" 0.0;
29968                rel1 {
29969                   relative: 0.0  1.0;
29970                   offset: 20 -25;
29971                }
29972                rel2 {
29973                   relative: 1.0  1.0;
29974                   offset: -21 -3;
29975                }
29976                color: 0 0 0 255;
29977                color3: 0 0 0 0;
29978                text {
29979                   font: "Sans";
29980                   size: 10;
29981                   min: 0 1;
29982                   align: 0.5 0.0;
29983                   text_class: "grid_item";
29984                }
29985             }
29986             description { state: "selected" 0.0;
29987                inherit: "default" 0.0;
29988                color: 224 224 224 255;
29989                color3: 0 0 0 64;
29990             }
29991          }
29992          part { name: "fg1";
29993             clip_to: "disclip";
29994             mouse_events: 0;
29995             description { state: "default" 0.0;
29996                visible: 0;
29997                color: 255 255 255 0;
29998                rel1.offset: -3 -3;
29999                rel2 {
30000                    relative: 1.0 0.5;
30001                    offset: 2 -1;
30002                }
30003                image {
30004                   normal: "bt_sm_hilight.png";
30005                   border: 6 6 6 0;
30006                }
30007             }
30008             description { state: "selected" 0.0;
30009                inherit: "default" 0.0;
30010                visible: 1;
30011                color: 255 255 255 255;
30012             }
30013          }
30014          part { name: "fg2";
30015             clip_to: "disclip";
30016             mouse_events: 0;
30017             description { state: "default" 0.0;
30018                visible: 0;
30019                color: 255 255 255 0;
30020                rel1.offset: -3 -3;
30021                rel2.offset: 2 2;
30022                image {
30023                   normal: "bt_sm_shine.png";
30024                   border: 6 6 6 0;
30025                }
30026             }
30027             description { state: "selected" 0.0;
30028                inherit: "default" 0.0;
30029                visible: 1;
30030                color: 255 255 255 255;
30031             }
30032          }
30033          part { name: "disclip";
30034             type: RECT;
30035             description { state: "default" 0.0;
30036                rel1.to: "bg";
30037                rel2.to: "bg";
30038             }
30039             description { state: "disabled" 0.0;
30040                inherit: "default" 0.0;
30041                color: 255 255 255 64;
30042             }
30043          }
30044       }
30045       programs {
30046          program { name:    "go_active";
30047             signal:  "elm,state,selected";
30048             source:  "elm";
30049             action:  STATE_SET "selected" 0.0;
30050             target:  "bg";
30051             target:  "fg1";
30052             target:  "fg2";
30053             target:  "elm.text";
30054          }
30055          program { name:    "go_passive";
30056             signal:  "elm,state,unselected";
30057             source:  "elm";
30058             action:  STATE_SET "default" 0.0;
30059             target:  "bg";
30060             target:  "fg1";
30061             target:  "fg2";
30062             target:  "elm.text";
30063             transition: LINEAR 0.1;
30064          }
30065          program { name:    "go_disabled";
30066             signal:  "elm,state,disabled";
30067             source:  "elm";
30068             action:  STATE_SET "disabled" 0.0;
30069             target:  "disclip";
30070          }
30071          program { name:    "go_enabled";
30072             signal:  "elm,state,enabled";
30073             source:  "elm";
30074             action:  STATE_SET "default" 0.0;
30075             target:  "disclip";
30076          }
30077       }
30078    }
30079
30080    group { name: "elm/gengrid/item/album-preview/default";
30081       data.item: "labels" "elm.text";
30082       data.item: "icons" "elm.swallow.icon.1 elm.swallow.icon.2 elm.swallow.icon.3 elm.swallow.icon.4";
30083       data.item: "states" "have_files";
30084       images {
30085          image: "bt_sm_base1.png" COMP;
30086          image: "bt_sm_shine.png" COMP;
30087          image: "bt_sm_hilight.png" COMP;
30088          image: "icon_folder.png" COMP;
30089       }
30090       parts {
30091          part { name: "event";
30092             type: RECT;
30093             repeat_events: 1;
30094             description { state: "default" 0.0;
30095                color: 0 0 0 0;
30096             }
30097          }
30098          part { name: "bg";
30099             clip_to: "disclip";
30100             mouse_events: 0;
30101             description { state: "default" 0.0;
30102                visible: 0;
30103                color: 255 255 255 0;
30104                rel1.offset: -3 -3;
30105                rel2.offset: 2 2;
30106                image {
30107                   normal: "bt_sm_base1.png";
30108                   border: 6 6 6 6;
30109                   middle: SOLID;
30110                }
30111             }
30112             description { state: "selected" 0.0;
30113                inherit: "default" 0.0;
30114                visible: 1;
30115                color: 255 255 255 255;
30116             }
30117          }
30118          part { name: "image";
30119              type: IMAGE;
30120              mouse_events: 0;
30121              description { state: "default" 0.0;
30122                  aspect_preference: BOTH;
30123                  aspect: 1.0 1.0;
30124                  image.normal: "icon_folder.png";
30125                  rel2 {
30126                      to_y: "elm.text";
30127                      relative: 1.0 0.0;
30128                      offset: -1 -2;
30129                  }
30130              }
30131          }
30132          part { name: "have-files-clipper";
30133              type: RECT;
30134              description { state: "default" 0.0;
30135                  color: 255 255 255 0;
30136                  visible: 0;
30137              }
30138              description { state: "visible" 0.0;
30139                  inherit: "default" 0.0;
30140                  color: 255 255 255 255;
30141                  visible: 1;
30142              }
30143          }
30144          part { name: "icon_box_margin";
30145              type: RECT;
30146              mouse_events: 0;
30147              clip_to: "have-files-clipper";
30148              description { state: "default" 0.0;
30149                  color: 0 0 0 255;
30150                  rel1 {
30151                      to: "icon_box";
30152                      offset: -1 -1;
30153                  }
30154                  rel2 {
30155                      to: "icon_box";
30156                      offset: 0 0;
30157                  }
30158              }
30159          }
30160          part { name: "icon_box";
30161              type: RECT;
30162              mouse_events: 0;
30163              clip_to: "have-files-clipper";
30164              description { state: "default" 0.0;
30165                  color: 255 255 255 255;
30166                  align: 1.0 1.0;
30167                  min: 32 32;
30168                  rel1 {
30169                      relative: 0.25 0.25;
30170                      offset: 0 0;
30171                  }
30172                  rel2 {
30173                      relative: 1.0 0.0;
30174                      offset: -11 -4;
30175                      to_y: "elm.text";
30176                  }
30177              }
30178          }
30179          part { name: "elm.swallow.icon.1";
30180              type: SWALLOW;
30181              mouse_events: 0;
30182              clip_to: "have-files-clipper";
30183              description { state: "default" 0.0;
30184                rel1 {
30185                   relative: 0.0  0.0;
30186                   to: "icon_box";
30187                }
30188                rel2 {
30189                   relative: 0.5  0.5;
30190                   offset: -1 -1;
30191                   to: "icon_box";
30192                }
30193             }
30194          }
30195          part { name: "elm.swallow.icon.2";
30196              type: SWALLOW;
30197              mouse_events: 0;
30198              clip_to: "have-files-clipper";
30199              description { state: "default" 0.0;
30200                rel1 {
30201                   relative: 0.5  0.0;
30202                   to: "icon_box";
30203                }
30204                rel2 {
30205                   relative: 1.0  0.5;
30206                   offset: -1 -1;
30207                   to: "icon_box";
30208                }
30209             }
30210          }
30211          part { name: "elm.swallow.icon.3";
30212              type: SWALLOW;
30213              mouse_events: 0;
30214              clip_to: "have-files-clipper";
30215              description { state: "default" 0.0;
30216                rel1 {
30217                   relative: 0.0  0.5;
30218                   to: "icon_box";
30219                }
30220                rel2 {
30221                   relative: 0.5  1.0;
30222                   offset: -1 -1;
30223                   to: "icon_box";
30224                }
30225             }
30226          }
30227          part { name: "elm.swallow.icon.4";
30228              type: SWALLOW;
30229              mouse_events: 0;
30230              clip_to: "have-files-clipper";
30231              description { state: "default" 0.0;
30232                rel1 {
30233                   relative: 0.5  0.5;
30234                   to: "icon_box";
30235                }
30236                rel2 {
30237                   relative: 1.0  1.0;
30238                   offset: -1 -1;
30239                   to: "icon_box";
30240                }
30241             }
30242          }
30243          part { name: "elm.text";
30244             clip_to: "disclip";
30245             type: TEXT;
30246             effect: SOFT_SHADOW;
30247             mouse_events: 0;
30248             scale: 1;
30249             description { state: "default" 0.0;
30250                rel1 {
30251                   relative: 0.0  1.0;
30252                   offset: 20 -30;
30253                }
30254                rel2 {
30255                   relative: 1.0  1.0;
30256                   offset: -21 -15;
30257                }
30258                color: 0 0 0 255;
30259                color3: 0 0 0 0;
30260                text {
30261                   font: "Sans";
30262                   size: 10;
30263                   min: 0 1;
30264                   align: 0.5 0.0;
30265                   text_class: "grid_item";
30266                }
30267             }
30268             description { state: "selected" 0.0;
30269                 inherit: "default" 0.0;
30270                 color: 255 255 255 255;
30271             }
30272          }
30273          part { name: "fg1";
30274             clip_to: "disclip";
30275             mouse_events: 0;
30276             description { state: "default" 0.0;
30277                visible: 0;
30278                color: 255 255 255 0;
30279                rel1.offset: -3 -3;
30280                rel2 {
30281                    relative: 1.0 0.5;
30282                    offset: 2 -1;
30283                }
30284                image {
30285                   normal: "bt_sm_hilight.png";
30286                   border: 6 6 6 0;
30287                }
30288             }
30289             description { state: "selected" 0.0;
30290                inherit: "default" 0.0;
30291                visible: 1;
30292                color: 255 255 255 255;
30293             }
30294          }
30295          part { name: "fg2";
30296             clip_to: "disclip";
30297             mouse_events: 0;
30298             description { state: "default" 0.0;
30299                visible: 0;
30300                color: 255 255 255 0;
30301                rel1.offset: -3 -3;
30302                rel2.offset: 2 2;
30303                image {
30304                   normal: "bt_sm_shine.png";
30305                   border: 6 6 6 0;
30306                }
30307             }
30308             description { state: "selected" 0.0;
30309                inherit: "default" 0.0;
30310                visible: 1;
30311                color: 255 255 255 255;
30312             }
30313          }
30314          part { name: "disclip";
30315             type: RECT;
30316             description { state: "default" 0.0;
30317                rel1.to: "bg";
30318                rel2.to: "bg";
30319             }
30320             description { state: "disabled" 0.0;
30321                inherit: "default" 0.0;
30322                color: 255 255 255 64;
30323             }
30324          }
30325       }
30326       programs {
30327          program { name:    "go_active";
30328             signal:  "elm,state,selected";
30329             source:  "elm";
30330             action:  STATE_SET "selected" 0.0;
30331             target:  "bg";
30332             target:  "fg1";
30333             target:  "fg2";
30334             target:  "elm.text";
30335          }
30336          program { name:    "go_passive";
30337             signal:  "elm,state,unselected";
30338             source:  "elm";
30339             action:  STATE_SET "default" 0.0;
30340             target:  "bg";
30341             target:  "fg1";
30342             target:  "fg2";
30343             target:  "elm.text";
30344             transition: LINEAR 0.1;
30345          }
30346          program { name:    "go_disabled";
30347             signal:  "elm,state,disabled";
30348             source:  "elm";
30349             action:  STATE_SET "disabled" 0.0;
30350             target:  "disclip";
30351          }
30352          program { name:    "go_enabled";
30353             signal:  "elm,state,enabled";
30354             source:  "elm";
30355             action:  STATE_SET "default" 0.0;
30356             target:  "disclip";
30357          }
30358          program {
30359              signal: "elm,state,have_files,active";
30360              source: "elm";
30361              action: STATE_SET "visible" 0.0;
30362              target: "have-files-clipper";
30363          }
30364       }
30365    }
30366
30367    group { name: "elm/gengrid/item/thumb/default";
30368        data {
30369            item: "icons" "elm.swallow.icon";
30370            item: "labels" "elm.text";
30371        }
30372        images {
30373            image: "bt_sm_base1.png" COMP;
30374            image: "bt_sm_shine.png" COMP;
30375            image: "bt_sm_hilight.png" COMP;
30376            image: "thumb_shadow.png" COMP;
30377        }
30378        parts {
30379            part { name: "event";
30380                type: RECT;
30381                repeat_events: 1;
30382                description { state: "default" 0.0;
30383                    color: 0 0 0 0;
30384                }
30385            }
30386            part { name: "bg";
30387                mouse_events: 0;
30388                description { state: "default" 0.0;
30389                    visible: 0;
30390                    color: 255 255 255 0;
30391                    rel1.offset: -3 -3;
30392                    rel2.offset: 2 2;
30393                    image {
30394                        normal: "bt_sm_base1.png";
30395                        border: 6 6 6 6;
30396                        middle: SOLID;
30397                    }
30398                }
30399                description { state: "selected" 0.0;
30400                    inherit: "default" 0.0;
30401                    visible: 1;
30402                    color: 255 255 255 255;
30403                }
30404            }
30405            part { name: "border-shadow";
30406                type: IMAGE;
30407                mouse_events: 0;
30408                description { state: "default" 0.0;
30409                    rel1 {
30410                        to: "elm.swallow.icon";
30411                        offset: -18 -18;
30412                    }
30413                    rel2 {
30414                        to_x: "elm.swallow.icon";
30415                        to_y: "elm.text";
30416                        offset: 17 17;
30417                    }
30418                    image {
30419                        normal: "thumb_shadow.png";
30420                        border: 17 17 17 17;
30421                        middle: NONE;
30422                    }
30423                }
30424            }
30425            part { name: "border";
30426                type: RECT;
30427                mouse_events: 0;
30428                description { state: "default" 0.0;
30429                    rel1 {
30430                        to: "border-shadow";
30431                        offset: 16 16;
30432                    }
30433                    rel2 {
30434                        to: "border-shadow";
30435                        offset: -15 -15;
30436                    }
30437                }
30438            }
30439            part { name: "elm.swallow.icon";
30440                type: SWALLOW;
30441                mouse_events: 0;
30442                description { state: "default" 0.0;
30443                    aspect_preference: BOTH;
30444                    aspect: 1.0 1.0;
30445                    rel1.offset: 0 8;
30446                    rel2 {
30447                        to_y: "elm.text";
30448                        relative: 1.0 0.0;
30449                        offset: -1 -2;
30450                    }
30451                }
30452            }
30453            part { name: "elm.text";
30454                type: TEXT;
30455                effect: SOFT_SHADOW;
30456                mouse_events: 0;
30457                scale: 1;
30458                description { state: "default" 0.0;
30459                    color: 0 0 0 255;
30460                    color3: 0 0 0 0;
30461                    align: 0.5 1.0;
30462                    rel1 {
30463                        relative: 0.0 1.0;
30464                        offset: 20 -30;
30465                    }
30466                    rel2 {
30467                        relative: 1.0 1.0;
30468                        offset: -21 -15;
30469                    }
30470                    text {
30471                        font: "Sans";
30472                        size: 10;
30473                        min: 0 1;
30474                        align: 0.5 0.0;
30475                        text_class: "grid_item";
30476                    }
30477                }
30478            }
30479            part { name: "fg1";
30480                mouse_events: 0;
30481                description { state: "default" 0.0;
30482                    visible: 0;
30483                    color: 255 255 255 0;
30484                    rel1.offset: -3 -3;
30485                    rel2 {
30486                        relative: 1.0 0.5;
30487                        offset: 2 -1;
30488                    }
30489                    image {
30490                        normal: "bt_sm_hilight.png";
30491                        border: 6 6 6 0;
30492                    }
30493                }
30494                description { state: "selected" 0.0;
30495                    inherit: "default" 0.0;
30496                    visible: 1;
30497                    color: 255 255 255 255;
30498                }
30499            }
30500            part { name: "fg2";
30501                mouse_events: 0;
30502                description { state: "default" 0.0;
30503                    visible: 0;
30504                    color: 255 255 255 0;
30505                    rel1.offset: -3 -3;
30506                    rel2.offset: 2 2;
30507                    image {
30508                        image: "bt_sm_shine.png";
30509                        border: 6 6 6 0;
30510                    }
30511                }
30512                description { state: "selected" 0.0;
30513                    inherit: "default" 0.0;
30514                    visible: 1;
30515                    color: 255 255 255 255;
30516                }
30517            }
30518        }
30519        programs {
30520            program {
30521                signal: "elm,state,selected";
30522                source: "elm";
30523                action: STATE_SET "selected" 0.0;
30524                target: "bg";
30525                target: "fg1";
30526                target: "fg2";
30527            }
30528            program {
30529                signal: "elm,state,unselected";
30530                source: "elm";
30531                action:  STATE_SET "default" 0.0;
30532                target: "bg";
30533                target: "fg1";
30534                target: "fg2";
30535                transition: LINEAR 0.1;
30536            }
30537        }
30538    }
30539
30540 ///////////////////////////////////////////////////////////////////////////////
30541    group { name: "elm/photocam/base/default";
30542        script {
30543            public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
30544            public timer0(val) {
30545                new v;
30546                v = get_int(sbvis_v);
30547                if (v) {
30548                    v = get_int(sbalways_v);
30549                    if (!v) {
30550                        emit("do-hide-vbar", "");
30551                        set_int(sbvis_v, 0);
30552                    }
30553                }
30554                v = get_int(sbvis_h);
30555                if (v) {
30556                    v = get_int(sbalways_h);
30557                    if (!v) {
30558                        emit("do-hide-hbar", "");
30559                        set_int(sbvis_h, 0);
30560                    }
30561                }
30562                set_int(sbvis_timer, 0);
30563                return 0;
30564            }
30565        }
30566        images {
30567            image: "shelf_inset.png" COMP;
30568            image: "bt_sm_base2.png" COMP;
30569            image: "bt_sm_shine.png" COMP;
30570            image: "bt_sm_hilight.png" COMP;
30571            image: "busy-1.png" COMP;
30572            image: "busy-2.png" COMP;
30573            image: "busy-3.png" COMP;
30574            image: "busy-4.png" COMP;
30575            image: "busy-5.png" COMP;
30576            image: "busy-6.png" COMP;
30577            image: "busy-7.png" COMP;
30578            image: "busy-8.png" COMP;
30579            image: "busy-9.png" COMP;
30580        }
30581        parts {
30582            part { name: "bg";
30583                type: RECT;
30584                description { state: "default" 0.0;
30585                    rel1.offset: 1 1;
30586                    rel2.offset: -2 -2;
30587                    color: 255 255 255 0;
30588                }
30589            }
30590            part { name: "clipper";
30591                type: RECT;
30592                mouse_events: 0;
30593                description { state: "default" 0.0;
30594                    rel1.to: "bg";
30595                    rel2.to: "bg";
30596                }
30597            }
30598            part { name: "elm.swallow.content";
30599                clip_to: "clipper";
30600                type: SWALLOW;
30601                description { state: "default" 0.0;
30602                    rel1.offset: 1 1;
30603                    rel2.offset: -2 -2;
30604                }
30605            }
30606            part { name: "busy_clip";
30607                type: RECT;
30608                mouse_events: 0;
30609                description { state: "default" 0.0;
30610                    visible: 0;
30611                    color: 255 255 255 0;
30612                }
30613                description { state: "active" 0.0;
30614                    visible: 1;
30615                    color: 255 255 255 255;
30616                }
30617            }
30618            part { name: "busy";
30619                clip_to: "busy_clip";
30620                mouse_events: 0;
30621                description { state: "default" 0.0;
30622                    fixed: 1 1;
30623                    min: 32 32;
30624                    aspect: 1.0 1.0;
30625                    align: 1.0 1.0;
30626                    aspect_preference: BOTH;
30627                    rel1 {
30628                        relative: 0.9 0.9;
30629                        offset:   -9 -9;
30630                    }
30631                    rel2 {
30632                        relative: 0.9 0.9;
30633                        offset:   -9 -9;
30634                    }
30635                    image {
30636                        normal: "busy-9.png";
30637                        tween:  "busy-1.png";
30638                        tween:  "busy-2.png";
30639                        tween:  "busy-3.png";
30640                        tween:  "busy-4.png";
30641                        tween:  "busy-5.png";
30642                        tween:  "busy-6.png";
30643                        tween:  "busy-7.png";
30644                        tween:  "busy-8.png";
30645                    }
30646                }
30647            }
30648            part { name: "conf_over";
30649                mouse_events:  0;
30650                description { state: "default" 0.0;
30651                    rel1.offset: 0 0;
30652                    rel2.offset: -1 -1;
30653                    image {
30654                        normal: "shelf_inset.png";
30655                        border: 7 7 7 7;
30656                        middle: 0;
30657                    }
30658                    fill.smooth : 0;
30659                }
30660            }
30661            part { name: "sb_vbar_clip_master";
30662                type: RECT;
30663                mouse_events: 0;
30664                description { state: "default" 0.0;
30665                }
30666                description { state: "hidden" 0.0;
30667                    visible: 0;
30668                    color: 255 255 255 0;
30669                }
30670            }
30671            part { name: "sb_vbar_clip";
30672                clip_to: "sb_vbar_clip_master";
30673                type: RECT;
30674                mouse_events: 0;
30675                description { state: "default" 0.0;
30676                }
30677                description { state: "hidden" 0.0;
30678                    visible: 0;
30679                    color: 255 255 255 0;
30680                }
30681            }
30682            part { name: "sb_vbar";
30683                type: RECT;
30684                mouse_events: 0;
30685                description { state: "default" 0.0;
30686                    fixed: 1 1;
30687                    visible: 0;
30688                    min: 10 17;
30689                    align: 1.0 0.0;
30690                    rel1 {
30691                        relative: 1.0 0.0;
30692                        offset:   -2 0;
30693                    }
30694                    rel2 {
30695                        relative: 1.0 0.0;
30696                        offset:   -2 -1;
30697                        to_y:     "sb_hbar";
30698                    }
30699                }
30700            }
30701            part { name: "elm.dragable.vbar";
30702                clip_to: "sb_vbar_clip";
30703                mouse_events: 0;
30704                dragable {
30705                    x: 0 0 0;
30706                    y: 1 1 0;
30707                    confine: "sb_vbar";
30708                }
30709                description { state: "default" 0.0;
30710                    fixed: 1 1;
30711                    min: 10 17;
30712                    max: 10 99999;
30713                    rel1 {
30714                        relative: 0.5  0.5;
30715                        offset:   0    0;
30716                        to: "sb_vbar";
30717                    }
30718                    rel2 {
30719                        relative: 0.5  0.5;
30720                        offset:   0    0;
30721                        to: "sb_vbar";
30722                    }
30723                    image {
30724                        normal: "bt_sm_base2.png";
30725                        border: 6 6 6 6;
30726                        middle: SOLID;
30727                    }
30728                }
30729            }
30730            part { name: "sb_vbar_over1";
30731                clip_to: "sb_vbar_clip";
30732                mouse_events: 0;
30733                description { state: "default" 0.0;
30734                    rel1.to: "elm.dragable.vbar";
30735                    rel2.relative: 1.0 0.5;
30736                    rel2.to: "elm.dragable.vbar";
30737                    image {
30738                        normal: "bt_sm_hilight.png";
30739                        border: 6 6 6 0;
30740                    }
30741                }
30742            }
30743            part { name: "sb_vbar_over2";
30744                clip_to: "sb_vbar_clip";
30745                mouse_events: 0;
30746                description { state: "default" 0.0;
30747                    rel1.to: "elm.dragable.vbar";
30748                    rel2.to: "elm.dragable.vbar";
30749                    image {
30750                        normal: "bt_sm_shine.png";
30751                        border: 6 6 6 0;
30752                    }
30753                }
30754            }
30755
30756            part { name: "sb_hbar_clip_master";
30757                type: RECT;
30758                mouse_events: 0;
30759                description { state: "default" 0.0;
30760                }
30761                description { state: "hidden" 0.0;
30762                    visible: 0;
30763                    color: 255 255 255 0;
30764                }
30765            }
30766            part { name: "sb_hbar_clip";
30767                clip_to: "sb_hbar_clip_master";
30768                type: RECT;
30769                mouse_events: 0;
30770                description { state: "default" 0.0;
30771                }
30772                description { state: "hidden" 0.0;
30773                    visible: 0;
30774                    color: 255 255 255 0;
30775                }
30776            }
30777            part { name: "sb_hbar";
30778                type: RECT;
30779                mouse_events: 0;
30780                description { state: "default" 0.0;
30781                    fixed: 1 1;
30782                    visible: 0;
30783                    min: 17 10;
30784                    align: 0.0 1.0;
30785                    rel1 {
30786                        relative: 0.0 1.0;
30787                        offset:   0 -2;
30788                    }
30789                    rel2 {
30790                        relative: 0.0 1.0;
30791                        offset:   -1 -2;
30792                        to_x:     "sb_vbar";
30793                    }
30794                }
30795            }
30796            part { name: "elm.dragable.hbar";
30797                clip_to: "sb_hbar_clip";
30798                mouse_events: 0;
30799                dragable {
30800                    x: 1 1 0;
30801                    y: 0 0 0;
30802                    confine: "sb_hbar";
30803                }
30804                description { state: "default" 0.0;
30805                    fixed: 1 1;
30806                    min: 17 10;
30807                    max: 99999 10;
30808                    rel1 {
30809                        relative: 0.5  0.5;
30810                        offset:   0    0;
30811                        to: "sb_hbar";
30812                    }
30813                    rel2 {
30814                        relative: 0.5  0.5;
30815                        offset:   0    0;
30816                        to: "sb_hbar";
30817                    }
30818                    image {
30819                        normal: "bt_sm_base2.png";
30820                        border: 4 4 4 4;
30821                        middle: SOLID;
30822                    }
30823                }
30824            }
30825            part { name: "sb_hbar_over1";
30826                clip_to: "sb_hbar_clip";
30827                mouse_events: 0;
30828                description { state: "default" 0.0;
30829                    rel1.to: "elm.dragable.hbar";
30830                    rel2.relative: 1.0 0.5;
30831                    rel2.to: "elm.dragable.hbar";
30832                    image {
30833                        normal: "bt_sm_hilight.png";
30834                        border: 4 4 4 0;
30835                    }
30836                }
30837            }
30838            part { name: "sb_hbar_over2";
30839                clip_to: "sb_hbar_clip";
30840                mouse_events: 0;
30841                description { state: "default" 0.0;
30842                    rel1.to: "elm.dragable.hbar";
30843                    rel2.to: "elm.dragable.hbar";
30844                    image {
30845                        normal: "bt_sm_shine.png";
30846                        border: 4 4 4 0;
30847                    }
30848                }
30849            }
30850        }
30851        programs {
30852            program { name: "load";
30853                signal: "load";
30854                source: "";
30855                script {
30856                    set_state(PART:"sb_hbar_clip", "hidden", 0.0);
30857                    set_state(PART:"sb_vbar_clip", "hidden", 0.0);
30858                    set_int(sbvis_h, 0);
30859                    set_int(sbvis_v, 0);
30860                    set_int(sbalways_v, 0);
30861                    set_int(sbalways_h, 0);
30862                    set_int(sbvis_timer, 0);
30863                }
30864            }
30865
30866            program { name: "vbar_show";
30867                signal: "elm,action,show,vbar";
30868                source: "elm";
30869                action:  STATE_SET "default" 0.0;
30870                target: "sb_vbar_clip_master";
30871            }
30872            program { name: "vbar_hide";
30873                signal: "elm,action,hide,vbar";
30874                source: "elm";
30875                action:  STATE_SET "hidden" 0.0;
30876                target: "sb_vbar_clip_master";
30877            }
30878            program { name: "vbar_show_always";
30879                signal: "elm,action,show_always,vbar";
30880                source: "elm";
30881                script {
30882                    new v;
30883                    v = get_int(sbvis_v);
30884                    v |= get_int(sbalways_v);
30885                    if (!v) {
30886                        set_int(sbalways_v, 1);
30887                        emit("do-show-vbar", "");
30888                        set_int(sbvis_v, 1);
30889                    }
30890                }
30891            }
30892            program { name: "vbar_show_notalways";
30893                signal: "elm,action,show_notalways,vbar";
30894                source: "elm";
30895                script {
30896                    new v;
30897                    v = get_int(sbalways_v);
30898                    if (v) {
30899                        set_int(sbalways_v, 0);
30900                        v = get_int(sbvis_v);
30901                        if (!v) {
30902                            emit("do-hide-vbar", "");
30903                            set_int(sbvis_v, 0);
30904                        }
30905                    }
30906                }
30907            }
30908            program { name: "sb_vbar_show";
30909                signal: "do-show-vbar";
30910                source: "";
30911                action:  STATE_SET "default" 0.0;
30912                transition: LINEAR 0.5;
30913                target: "sb_vbar_clip";
30914            }
30915            program { name: "sb_vbar_hide";
30916                signal: "do-hide-vbar";
30917                source: "";
30918                action:  STATE_SET "hidden" 0.0;
30919                transition: LINEAR 0.5;
30920                target: "sb_vbar_clip";
30921            }
30922
30923            program { name: "hbar_show";
30924                signal: "elm,action,show,hbar";
30925                source: "elm";
30926                action:  STATE_SET "default" 0.0;
30927                target: "sb_hbar_clip_master";
30928            }
30929            program { name: "hbar_hide";
30930                signal: "elm,action,hide,hbar";
30931                source: "elm";
30932                action:  STATE_SET "hidden" 0.0;
30933                target: "sb_hbar_clip_master";
30934            }
30935            program { name: "hbar_show_always";
30936                signal: "elm,action,show_always,hbar";
30937                source: "elm";
30938                script {
30939                    new v;
30940                    v = get_int(sbvis_h);
30941                    v |= get_int(sbalways_h);
30942                    if (!v) {
30943                        set_int(sbalways_h, 1);
30944                        emit("do-show-hbar", "");
30945                        set_int(sbvis_h, 1);
30946                    }
30947                }
30948            }
30949            program { name: "hbar_show_notalways";
30950                signal: "elm,action,show_notalways,hbar";
30951                source: "elm";
30952                script {
30953                    new v;
30954                    v = get_int(sbalways_h);
30955                    if (v) {
30956                        set_int(sbalways_h, 0);
30957                        v = get_int(sbvis_h);
30958                        if (!v) {
30959                            emit("do-hide-hbar", "");
30960                            set_int(sbvis_h, 0);
30961                        }
30962                    }
30963                }
30964            }
30965            program { name: "sb_hbar_show";
30966                signal: "do-show-hbar";
30967                source: "";
30968                action:  STATE_SET "default" 0.0;
30969                transition: LINEAR 0.5;
30970                target: "sb_hbar_clip";
30971            }
30972            program { name: "sb_hbar_hide";
30973                signal: "do-hide-hbar";
30974                source: "";
30975                action:  STATE_SET "hidden" 0.0;
30976                transition: LINEAR 0.5;
30977                target: "sb_hbar_clip";
30978            }
30979
30980            program { name: "scroll";
30981                signal: "elm,action,scroll";
30982                source: "elm";
30983                script {
30984                    new v;
30985                    v = get_int(sbvis_v);
30986                    v |= get_int(sbalways_v);
30987                    if (!v) {
30988                        emit("do-show-vbar", "");
30989                        set_int(sbvis_v, 1);
30990                    }
30991                    v = get_int(sbvis_h);
30992                    v |= get_int(sbalways_h);
30993                    if (!v) {
30994                        emit("do-show-hbar", "");
30995                        set_int(sbvis_h, 1);
30996                    }
30997                    v = get_int(sbvis_timer);
30998                    if (v > 0) cancel_timer(v);
30999                    v = timer(1.0, "timer0", 0);
31000                    set_int(sbvis_timer, v);
31001                }
31002            }
31003            program { name: "go1";
31004                signal: "elm,state,busy,start";
31005                source: "elm";
31006                action: STATE_SET "active" 0.0;
31007                transition: SINUSOIDAL 1.0;
31008                target:  "busy_clip";
31009            }
31010            program { name: "go2";
31011                signal: "elm,state,busy,start";
31012                source: "elm";
31013                action: STATE_SET "default" 0.0;
31014                transition: LINEAR 0.5;
31015                target: "busy";
31016                after:  "go2";
31017            }
31018            program { name: "stop1";
31019                signal: "elm,state,busy,stop";
31020                source: "elm";
31021                action: STATE_SET "default" 0.0;
31022                transition: SINUSOIDAL 1.0;
31023                target: "busy_clip";
31024                after: "stop2";
31025            }
31026          program { name: "stop2";
31027             action: ACTION_STOP;
31028             target: "go2";
31029          }
31030       }
31031    }
31032
31033    ///////////////////////////////////////////////////////////////////////////////
31034    group { name: "elm/map/base/default";
31035        script {
31036            public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
31037            public timer0(val) {
31038                new v;
31039                v = get_int(sbvis_v);
31040                if (v) {
31041                    v = get_int(sbalways_v);
31042                    if (!v) {
31043                        emit("do-hide-vbar", "");
31044                        set_int(sbvis_v, 0);
31045                    }
31046                }
31047                v = get_int(sbvis_h);
31048                if (v) {
31049                    v = get_int(sbalways_h);
31050                    if (!v) {
31051                        emit("do-hide-hbar", "");
31052                        set_int(sbvis_h, 0);
31053                    }
31054                }
31055                set_int(sbvis_timer, 0);
31056                return 0;
31057            }
31058        }
31059        images {
31060            image: "shelf_inset.png" COMP;
31061            image: "bt_sm_base2.png" COMP;
31062            image: "bt_sm_shine.png" COMP;
31063            image: "bt_sm_hilight.png" COMP;
31064            image: "busy-1.png" COMP;
31065            image: "busy-2.png" COMP;
31066            image: "busy-3.png" COMP;
31067            image: "busy-4.png" COMP;
31068            image: "busy-5.png" COMP;
31069            image: "busy-6.png" COMP;
31070            image: "busy-7.png" COMP;
31071            image: "busy-8.png" COMP;
31072            image: "busy-9.png" COMP;
31073        }
31074        parts {
31075            part { name: "bg";
31076                type: RECT;
31077                description { state: "default" 0.0;
31078                    rel1.offset: 1 1;
31079                    rel2.offset: -2 -2;
31080                    color: 255 255 255 0;
31081                }
31082            }
31083            part { name: "clipper";
31084                type: RECT;
31085                mouse_events: 0;
31086                description { state: "default" 0.0;
31087                    rel1.to: "bg";
31088                    rel2.to: "bg";
31089                }
31090            }
31091            part { name: "elm.swallow.content";
31092                clip_to: "clipper";
31093                type: SWALLOW;
31094                description { state: "default" 0.0;
31095                    rel1.offset: 1 1;
31096                    rel2.offset: -2 -2;
31097                }
31098            }
31099            part { name: "busy_clip";
31100                type: RECT;
31101                mouse_events: 0;
31102                description { state: "default" 0.0;
31103                    visible: 0;
31104                    color: 255 255 255 0;
31105                }
31106                description { state: "active" 0.0;
31107                    visible: 1;
31108                    color: 255 255 255 255;
31109                }
31110            }
31111            part { name: "busy";
31112                clip_to: "busy_clip";
31113                mouse_events: 0;
31114                description { state: "default" 0.0;
31115                    fixed: 1 1;
31116                    min: 32 32;
31117                    aspect: 1.0 1.0;
31118                    align: 1.0 1.0;
31119                    aspect_preference: BOTH;
31120                    rel1 {
31121                        relative: 0.9 0.9;
31122                        offset:   -9 -9;
31123                    }
31124                    rel2 {
31125                        relative: 0.9 0.9;
31126                        offset:   -9 -9;
31127                    }
31128                    image {
31129                        normal: "busy-9.png";
31130                        tween:  "busy-1.png";
31131                        tween:  "busy-2.png";
31132                        tween:  "busy-3.png";
31133                        tween:  "busy-4.png";
31134                        tween:  "busy-5.png";
31135                        tween:  "busy-6.png";
31136                        tween:  "busy-7.png";
31137                        tween:  "busy-8.png";
31138                    }
31139                }
31140            }
31141            part { name: "conf_over";
31142                mouse_events:  0;
31143                description { state: "default" 0.0;
31144                    rel1.offset: 0 0;
31145                    rel2.offset: -1 -1;
31146                    image {
31147                        normal: "shelf_inset.png";
31148                        border: 7 7 7 7;
31149                        middle: 0;
31150                    }
31151                    fill.smooth : 0;
31152                }
31153            }
31154            part { name: "sb_vbar_clip_master";
31155                type: RECT;
31156                mouse_events: 0;
31157                description { state: "default" 0.0;
31158                }
31159                description { state: "hidden" 0.0;
31160                    visible: 0;
31161                    color: 255 255 255 0;
31162                }
31163            }
31164            part { name: "sb_vbar_clip";
31165                clip_to: "sb_vbar_clip_master";
31166                type: RECT;
31167                mouse_events: 0;
31168                description { state: "default" 0.0;
31169                }
31170                description { state: "hidden" 0.0;
31171                    visible: 0;
31172                    color: 255 255 255 0;
31173                }
31174            }
31175            part { name: "sb_vbar";
31176                type: RECT;
31177                mouse_events: 0;
31178                description { state: "default" 0.0;
31179                    fixed: 1 1;
31180                    visible: 0;
31181                    min: 10 17;
31182                    align: 1.0 0.0;
31183                    rel1 {
31184                        relative: 1.0 0.0;
31185                        offset:   -2 0;
31186                    }
31187                    rel2 {
31188                        relative: 1.0 0.0;
31189                        offset:   -2 -1;
31190                        to_y:     "sb_hbar";
31191                    }
31192                }
31193            }
31194            part { name: "elm.dragable.vbar";
31195                clip_to: "sb_vbar_clip";
31196                mouse_events: 0;
31197                dragable {
31198                    x: 0 0 0;
31199                    y: 1 1 0;
31200                    confine: "sb_vbar";
31201                }
31202                description { state: "default" 0.0;
31203                    fixed: 1 1;
31204                    min: 10 17;
31205                    max: 10 99999;
31206                    rel1 {
31207                        relative: 0.5  0.5;
31208                        offset:   0    0;
31209                        to: "sb_vbar";
31210                    }
31211                    rel2 {
31212                        relative: 0.5  0.5;
31213                        offset:   0    0;
31214                        to: "sb_vbar";
31215                    }
31216                    image {
31217                        normal: "bt_sm_base2.png";
31218                        border: 6 6 6 6;
31219                        middle: SOLID;
31220                    }
31221                }
31222            }
31223            part { name: "sb_vbar_over1";
31224                clip_to: "sb_vbar_clip";
31225                mouse_events: 0;
31226                description { state: "default" 0.0;
31227                    rel1.to: "elm.dragable.vbar";
31228                    rel2.relative: 1.0 0.5;
31229                    rel2.to: "elm.dragable.vbar";
31230                    image {
31231                        normal: "bt_sm_hilight.png";
31232                        border: 6 6 6 0;
31233                    }
31234                }
31235            }
31236            part { name: "sb_vbar_over2";
31237                clip_to: "sb_vbar_clip";
31238                mouse_events: 0;
31239                description { state: "default" 0.0;
31240                    rel1.to: "elm.dragable.vbar";
31241                    rel2.to: "elm.dragable.vbar";
31242                    image {
31243                        normal: "bt_sm_shine.png";
31244                        border: 6 6 6 0;
31245                    }
31246                }
31247            }
31248
31249            part { name: "sb_hbar_clip_master";
31250                type: RECT;
31251                mouse_events: 0;
31252                description { state: "default" 0.0;
31253                }
31254                description { state: "hidden" 0.0;
31255                    visible: 0;
31256                    color: 255 255 255 0;
31257                }
31258            }
31259            part { name: "sb_hbar_clip";
31260                clip_to: "sb_hbar_clip_master";
31261                type: RECT;
31262                mouse_events: 0;
31263                description { state: "default" 0.0;
31264                }
31265                description { state: "hidden" 0.0;
31266                    visible: 0;
31267                    color: 255 255 255 0;
31268                }
31269            }
31270            part { name: "sb_hbar";
31271                type: RECT;
31272                mouse_events: 0;
31273                description { state: "default" 0.0;
31274                    fixed: 1 1;
31275                    visible: 0;
31276                    min: 17 10;
31277                    align: 0.0 1.0;
31278                    rel1 {
31279                        relative: 0.0 1.0;
31280                        offset:   0 -2;
31281                    }
31282                    rel2 {
31283                        relative: 0.0 1.0;
31284                        offset:   -1 -2;
31285                        to_x:     "sb_vbar";
31286                    }
31287                }
31288            }
31289            part { name: "elm.dragable.hbar";
31290                clip_to: "sb_hbar_clip";
31291                mouse_events: 0;
31292                dragable {
31293                    x: 1 1 0;
31294                    y: 0 0 0;
31295                    confine: "sb_hbar";
31296                }
31297                description { state: "default" 0.0;
31298                    fixed: 1 1;
31299                    min: 17 10;
31300                    max: 99999 10;
31301                    rel1 {
31302                        relative: 0.5  0.5;
31303                        offset:   0    0;
31304                        to: "sb_hbar";
31305                    }
31306                    rel2 {
31307                        relative: 0.5  0.5;
31308                        offset:   0    0;
31309                        to: "sb_hbar";
31310                    }
31311                    image {
31312                        normal: "bt_sm_base2.png";
31313                        border: 4 4 4 4;
31314                        middle: SOLID;
31315                    }
31316                }
31317            }
31318            part { name: "sb_hbar_over1";
31319                clip_to: "sb_hbar_clip";
31320                mouse_events: 0;
31321                description { state: "default" 0.0;
31322                    rel1.to: "elm.dragable.hbar";
31323                    rel2.relative: 1.0 0.5;
31324                    rel2.to: "elm.dragable.hbar";
31325                    image {
31326                        normal: "bt_sm_hilight.png";
31327                        border: 4 4 4 0;
31328                    }
31329                }
31330            }
31331            part { name: "sb_hbar_over2";
31332                clip_to: "sb_hbar_clip";
31333                mouse_events: 0;
31334                description { state: "default" 0.0;
31335                    rel1.to: "elm.dragable.hbar";
31336                    rel2.to: "elm.dragable.hbar";
31337                    image {
31338                        normal: "bt_sm_shine.png";
31339                        border: 4 4 4 0;
31340                    }
31341                }
31342            }
31343        }
31344        programs {
31345            program { name: "load";
31346                signal: "load";
31347                source: "";
31348                script {
31349                    set_state(PART:"sb_hbar_clip", "hidden", 0.0);
31350                    set_state(PART:"sb_vbar_clip", "hidden", 0.0);
31351                    set_int(sbvis_h, 0);
31352                    set_int(sbvis_v, 0);
31353                    set_int(sbalways_v, 0);
31354                    set_int(sbalways_h, 0);
31355                    set_int(sbvis_timer, 0);
31356                }
31357            }
31358
31359            program { name: "vbar_show";
31360                signal: "elm,action,show,vbar";
31361                source: "elm";
31362                action:  STATE_SET "default" 0.0;
31363                target: "sb_vbar_clip_master";
31364            }
31365            program { name: "vbar_hide";
31366                signal: "elm,action,hide,vbar";
31367                source: "elm";
31368                action:  STATE_SET "hidden" 0.0;
31369                target: "sb_vbar_clip_master";
31370            }
31371            program { name: "vbar_show_always";
31372                signal: "elm,action,show_always,vbar";
31373                source: "elm";
31374                script {
31375                    new v;
31376                    v = get_int(sbvis_v);
31377                    v |= get_int(sbalways_v);
31378                    if (!v) {
31379                        set_int(sbalways_v, 1);
31380                        emit("do-show-vbar", "");
31381                        set_int(sbvis_v, 1);
31382                    }
31383                }
31384            }
31385            program { name: "vbar_show_notalways";
31386                signal: "elm,action,show_notalways,vbar";
31387                source: "elm";
31388                script {
31389                    new v;
31390                    v = get_int(sbalways_v);
31391                    if (v) {
31392                        set_int(sbalways_v, 0);
31393                        v = get_int(sbvis_v);
31394                        if (!v) {
31395                            emit("do-hide-vbar", "");
31396                            set_int(sbvis_v, 0);
31397                        }
31398                    }
31399                }
31400            }
31401            program { name: "sb_vbar_show";
31402                signal: "do-show-vbar";
31403                source: "";
31404                action:  STATE_SET "default" 0.0;
31405                transition: LINEAR 0.5;
31406                target: "sb_vbar_clip";
31407            }
31408            program { name: "sb_vbar_hide";
31409                signal: "do-hide-vbar";
31410                source: "";
31411                action:  STATE_SET "hidden" 0.0;
31412                transition: LINEAR 0.5;
31413                target: "sb_vbar_clip";
31414            }
31415
31416            program { name: "hbar_show";
31417                signal: "elm,action,show,hbar";
31418                source: "elm";
31419                action:  STATE_SET "default" 0.0;
31420                target: "sb_hbar_clip_master";
31421            }
31422            program { name: "hbar_hide";
31423                signal: "elm,action,hide,hbar";
31424                source: "elm";
31425                action:  STATE_SET "hidden" 0.0;
31426                target: "sb_hbar_clip_master";
31427            }
31428            program { name: "hbar_show_always";
31429                signal: "elm,action,show_always,hbar";
31430                source: "elm";
31431                script {
31432                    new v;
31433                    v = get_int(sbvis_h);
31434                    v |= get_int(sbalways_h);
31435                    if (!v) {
31436                        set_int(sbalways_h, 1);
31437                        emit("do-show-hbar", "");
31438                        set_int(sbvis_h, 1);
31439                    }
31440                }
31441            }
31442            program { name: "hbar_show_notalways";
31443                signal: "elm,action,show_notalways,hbar";
31444                source: "elm";
31445                script {
31446                    new v;
31447                    v = get_int(sbalways_h);
31448                    if (v) {
31449                        set_int(sbalways_h, 0);
31450                        v = get_int(sbvis_h);
31451                        if (!v) {
31452                            emit("do-hide-hbar", "");
31453                            set_int(sbvis_h, 0);
31454                        }
31455                    }
31456                }
31457            }
31458            program { name: "sb_hbar_show";
31459                signal: "do-show-hbar";
31460                source: "";
31461                action:  STATE_SET "default" 0.0;
31462                transition: LINEAR 0.5;
31463                target: "sb_hbar_clip";
31464            }
31465            program { name: "sb_hbar_hide";
31466                signal: "do-hide-hbar";
31467                source: "";
31468                action:  STATE_SET "hidden" 0.0;
31469                transition: LINEAR 0.5;
31470                target: "sb_hbar_clip";
31471            }
31472
31473            program { name: "scroll";
31474                signal: "elm,action,scroll";
31475                source: "elm";
31476                script {
31477                    new v;
31478                    v = get_int(sbvis_v);
31479                    v |= get_int(sbalways_v);
31480                    if (!v) {
31481                        emit("do-show-vbar", "");
31482                        set_int(sbvis_v, 1);
31483                    }
31484                    v = get_int(sbvis_h);
31485                    v |= get_int(sbalways_h);
31486                    if (!v) {
31487                        emit("do-show-hbar", "");
31488                        set_int(sbvis_h, 1);
31489                    }
31490                    v = get_int(sbvis_timer);
31491                    if (v > 0) cancel_timer(v);
31492                    v = timer(1.0, "timer0", 0);
31493                    set_int(sbvis_timer, v);
31494                }
31495            }
31496            program { name: "go1";
31497                signal: "elm,state,busy,start";
31498                source: "elm";
31499                action: STATE_SET "active" 0.0;
31500                transition: SINUSOIDAL 1.0;
31501                target:  "busy_clip";
31502            }
31503            program { name: "go2";
31504                signal: "elm,state,busy,start";
31505                source: "elm";
31506                action: STATE_SET "default" 0.0;
31507                transition: LINEAR 0.5;
31508                target: "busy";
31509                after:  "go2";
31510            }
31511            program { name: "stop1";
31512                signal: "elm,state,busy,stop";
31513                source: "elm";
31514                action: STATE_SET "default" 0.0;
31515                transition: SINUSOIDAL 1.0;
31516                target: "busy_clip";
31517                after: "stop2";
31518            }
31519          program { name: "stop2";
31520             action: ACTION_STOP;
31521             target: "go2";
31522          }
31523       }
31524    }
31525    group { name: "elm/map/marker/radio/default";
31526         data {
31527             item: size_w 24;
31528             item: size_h 24;
31529             item: size_max_w 58;
31530             item: size_max_h 58;
31531         }
31532         images {
31533                 image: "map_item.png" COMP;
31534         }
31535         parts {
31536             part { name: "whole";
31537                 description { state: "default" 0.0;
31538                 }
31539             }
31540             part { name: "base";
31541                 ignore_flags: ON_HOLD;
31542                 description { state: "default" 0.0;
31543                     image.normal: "map_item.png";
31544                 }
31545             }
31546             part { name: "elm.icon";
31547                 type: SWALLOW;
31548                 clip_to: "whole";
31549                 mouse_events:  0;
31550                 description { state: "default" 0.0;
31551                     rel1.relative: 0.27 0.27;
31552                     rel2.relative: 0.73 0.73;
31553                 }
31554             }
31555             part { name: "elm.text";
31556                 type:          TEXT;
31557                 effect:        SOFT_SHADOW;
31558                 mouse_events:  0;
31559                 scale: 1;
31560                 description { state: "default" 0.0;
31561                     align:    0.5 0.5;
31562                     color: 224 224 224 255;
31563                     color3: 0 0 0 64;
31564                     rel1.relative: 0.28 0.25;
31565                     rel2.relative: 0.75 0.75;
31566                     text {
31567                         font:     "Sans,Edje-Vera";
31568                         size:     10;
31569                         min:      0 0;
31570                         align:    0.5 0.5;
31571                     }
31572                 }
31573             }
31574        }
31575        programs {
31576             program { name: "open";
31577                 signal: "mouse,clicked,1";
31578                 source: "base";
31579                 action: SIGNAL_EMIT "open" "elm";
31580             }
31581             program { name: "bringin";
31582                 signal: "mouse,down,1,double";
31583                 source: "base";
31584                 action: SIGNAL_EMIT "bringin" "elm";
31585             }
31586        }
31587    }
31588    group { name: "elm/map/marker/radio2/default";
31589         data {
31590             item: size_w 24;
31591             item: size_h 24;
31592             item: size_max_w 58;
31593             item: size_max_h 58;
31594         }
31595         images {
31596                 image: "map_item_2.png" COMP;
31597         }
31598         parts {
31599             part { name: "base";
31600                 ignore_flags: ON_HOLD;
31601                 description { state: "default" 0.0;
31602                     image.normal: "map_item_2.png";
31603                 }
31604             }
31605             part { name: "elm.text";
31606                 type:          TEXT;
31607                 effect:        SOFT_SHADOW;
31608                 mouse_events:  0;
31609                 scale: 1;
31610                 description { state: "default" 0.0;
31611                     align:    0.5 0.5;
31612                     color: 224 224 224 255;
31613                     color3: 0 0 0 64;
31614                     rel1.relative: 0.28 0.25;
31615                     rel2.relative: 0.75 0.75;
31616                     text {
31617                         font:     "Sans,Edje-Vera";
31618                         size:     10;
31619                         min:      0 0;
31620                         align:    0.5 0.5;
31621                     }
31622                 }
31623             }
31624        }
31625        programs {
31626             program { name: "open";
31627                 signal: "mouse,clicked,1";
31628                 source: "base";
31629                 action: SIGNAL_EMIT "open" "elm";
31630             }
31631             program { name: "bringin";
31632                 signal: "mouse,down,1,double";
31633                 source: "base";
31634                 action: SIGNAL_EMIT "bringin" "elm";
31635             }
31636        }
31637    }
31638    group { name: "elm/map/marker/empty/default";
31639         data {
31640             item: size_w 22;
31641             item: size_h 22;
31642             item: size_max_w 64;
31643             item: size_max_h 64;
31644         }
31645         parts {
31646             part { name: "whole";
31647                 description { state: "default" 0.0;
31648                 }
31649             }
31650             part { name: "base";
31651                 ignore_flags: ON_HOLD;
31652                 description { state: "default" 0.0;
31653                 }
31654             }
31655             part { name: "elm.icon";
31656                 type: SWALLOW;
31657                 clip_to: "whole";
31658                 mouse_events:  0;
31659                 description { state: "default" 0.0;
31660                 }
31661             }
31662             part { name: "elm.text";
31663                 type:          TEXT;
31664                 effect:        SOFT_SHADOW;
31665                 mouse_events:  0;
31666                 scale: 1;
31667                 description { state: "default" 0.0;
31668                     align:    0.5 0.5;
31669                     color: 224 224 224 255;
31670                     color3: 0 0 0 64;
31671                     rel1.relative: 0.28 0.25;
31672                     rel2.relative: 0.75 0.75;
31673                     text {
31674                         font:     "Sans,Edje-Vera";
31675                         size:     10;
31676                         min:      0 0;
31677                         align:    0.5 0.5;
31678                     }
31679                 }
31680             }
31681        }
31682        programs {
31683             program { name: "open";
31684                 signal: "mouse,clicked,1";
31685                 source: "base";
31686                 action: SIGNAL_EMIT "open" "elm";
31687             }
31688             program { name: "bringin";
31689                 signal: "mouse,down,1,double";
31690                 source: "base";
31691                 action: SIGNAL_EMIT "bringin" "elm";
31692             }
31693        }
31694    }
31695    group { name: "elm/map/marker_bubble/default";
31696     images {
31697       image: "bubble.png" COMP;
31698       image: "bubble_shine.png" COMP;
31699     }
31700     data {
31701             item: size_w 400;
31702             item: size_h 100;
31703         }
31704     parts {
31705     part { name: "clipper";
31706         mouse_events:  1;
31707         description { state: "default" 0.0;
31708           color: 255 255 255 0;
31709         }
31710         description { state: "show" 0.0;
31711             inherit: "default" 0.0;
31712             color: 255 255 255 255;
31713         }
31714       }
31715      part { name: "base0";
31716         mouse_events:  0;
31717         clip_to: "clipper";
31718         description { state: "default" 0.0;
31719           image {
31720             normal: "bubble.png";
31721             border: 11 36 10 19;
31722           }
31723           image.middle: SOLID;
31724           fill.smooth: 0;
31725         }
31726         description { state: "rtl" 0.0;
31727            inherit: "default" 0.0;
31728            image {
31729               normal: "bubble_4.png";
31730               border: 11 36 18 9;
31731            }
31732         }
31733       }
31734       part { name: "elm.swallow.content";
31735         type: SWALLOW;
31736         clip_to: "clipper";
31737         description { state: "default" 0.0;
31738             align: 0.5 0.5;
31739           rel1 {
31740             offset: 9 8;
31741           }
31742           rel2 {
31743             offset: -10 -17;
31744           }
31745         }
31746       }
31747       part { name: "shine";
31748         mouse_events:  0;
31749         clip_to: "clipper";
31750         description { state:    "default" 0.0;
31751           rel1 {
31752             to: "base0";
31753           }
31754           rel2 {
31755             to: "base0";
31756             relative: 1.0 0.5;
31757           }
31758           image {
31759             normal: "bubble_shine.png";
31760             border: 5 5 5 0;
31761           }
31762           fill.smooth: 0;
31763         }
31764         }
31765     }
31766     programs {
31767         program { name: "show";
31768             signal: "show";
31769             action: STATE_SET "show" 0.0;
31770             target: "clipper";
31771             transition: ACCELERATE 0.5;
31772         }
31773     }
31774   }
31775
31776 /////////////////////////////////////////////////////////////////////////////
31777 // PANES
31778 /////////////////////////////////////////////////////////////////////////////
31779   group {
31780      name: "elm/panes/vertical/default";
31781       images {
31782          image: "bt_base1.png" COMP;
31783          image: "bt_base2.png" COMP;
31784          image: "bt_hilight.png" COMP;
31785          image: "bt_shine.png" COMP;
31786          image: "bt_glow.png" COMP;
31787          image: "bt_dis_base.png" COMP;
31788          image: "bt_dis_hilight.png" COMP;
31789          image: "arrow_right.png" COMP;
31790          image: "arrow_left.png" COMP;
31791       }
31792      parts
31793        {
31794           part
31795             {
31796                name: "whole";
31797                type: RECT;
31798                mouse_events: 0;
31799                description
31800                  {
31801                     state: "default" 0.0;
31802                     visible: 0;
31803                  }
31804             }
31805
31806          //2 contents
31807           part
31808             {
31809                name: "whole_left";
31810                type: RECT;
31811                mouse_events: 0;
31812                description
31813                  {
31814                     state: "default" 0.0;
31815                     rel2.to_x: "elm.bar";
31816                     rel2.relative: 0.0 1.0;
31817                     visible: 1;
31818                  }
31819             }
31820           part
31821             {
31822                name: "elm.swallow.left";
31823                type: SWALLOW;
31824                clip_to: "whole_left";
31825                description
31826                  {
31827                     state: "default" 0.0;
31828                     rel1.to: "whole_left";
31829                     rel2.to: "whole_left";
31830                  }
31831             }
31832
31833             part
31834             {
31835                name: "whole_right";
31836                type: RECT;
31837                mouse_events: 0;
31838                description
31839                  {
31840                     state: "default" 0.0;
31841                     rel1.to_x: "elm.bar";
31842                     rel1.relative: 1.0 0.0;
31843                     visible: 1;
31844                  }
31845             }
31846           part
31847             {
31848                name: "elm.swallow.right";
31849                type: SWALLOW;
31850                clip_to: "whole_right";
31851                description
31852                  {
31853                     state: "default" 0.0;
31854                     rel1.to: "whole_right";
31855                     rel2.to: "whole_right";
31856                  }
31857             }
31858          //BAR
31859          part { name: "elm.bar";
31860             mouse_events: 1;
31861             dragable {
31862                confine: "whole";
31863                x: 1 1 1;
31864                y: 0 0 0;
31865             }
31866             description { state: "default" 0.0;
31867                max: 15 9999;
31868                min: 15 100;
31869                rel1.relative: 0.0 0.5;
31870                rel2.relative: 1.0 0.5;
31871                image {
31872                   normal: "bt_base2.png";
31873                   border: 7 7 7 7;
31874                }
31875                image.middle: SOLID;
31876             }
31877             description { state: "clicked" 0.0;
31878                inherit: "default" 0.0;
31879                image.normal: "bt_base1.png";
31880                image.middle: SOLID;
31881             }
31882             description { state: "disabled" 0.0;
31883                inherit:  "default" 0.0;
31884                image {
31885                   normal: "bt_dis_base.png";
31886                   border: 4 4 4 4;
31887                }
31888             }
31889          }
31890          part {          name: "over1";
31891             mouse_events: 0;
31892             description { state: "default" 0.0;
31893             rel1.to: "elm.bar";
31894             rel2.to: "elm.bar";
31895                rel2.relative: 1.0 0.5;
31896                image {
31897                   normal: "bt_hilight.png";
31898                   border: 7 7 7 0;
31899                }
31900             }
31901             description { state: "disabled" 0.0;
31902                inherit:  "default" 0.0;
31903                image {
31904                   normal: "bt_dis_hilight.png";
31905                   border: 4 4 4 0;
31906                }
31907             }
31908          }
31909          part { name: "over2";
31910             mouse_events: 1;
31911             repeat_events: 1;
31912             ignore_flags: ON_HOLD;
31913             description { state: "default" 0.0;
31914             rel1.to: "elm.bar";
31915             rel2.to: "elm.bar";
31916                image {
31917                   normal: "bt_shine.png";
31918                   border: 7 7 7 7;
31919                }
31920             }
31921             description { state: "disabled" 0.0;
31922                inherit:  "default" 0.0;
31923                visible: 0;
31924             }
31925          }
31926          part { name: "over3";
31927             mouse_events: 1;
31928             repeat_events: 1;
31929             description { state: "default" 0.0;
31930                color: 255 255 255 0;
31931             rel1.to: "elm.bar";
31932             rel2.to: "elm.bar";
31933                image {
31934                   normal: "bt_glow.png";
31935                   border: 12 12 12 12;
31936                }
31937                fill.smooth : 0;
31938             }
31939             description { state: "clicked" 0.0;
31940                inherit:  "default" 0.0;
31941                visible: 1;
31942                color: 255 255 255 255;
31943             }
31944          }
31945
31946          //Arrow
31947          part {
31948             name: "arrow_right";
31949             repeat_events: 1;
31950             description { state: "default" 0.0;
31951                 min: 45 45;
31952                 max: 45 45;
31953                 color: 255 255 255 0;
31954
31955                 rel1.relative: 1.0 0.5;
31956                 rel1.to_x: "elm.bar";
31957                 rel1.offset: 45/2 -45/2;
31958
31959                 rel2.relative: 1.0 0.5;
31960                 rel2.to_x: "elm.bar";
31961                 rel2.offset: 45/2 45/2;
31962
31963                 image.normal: "arrow_right.png";
31964
31965                 fixed: 1 1;
31966             }
31967             description { state: "default" 0.1;
31968                 inherit: "default" 0.0;
31969                 image.normal: "arrow_left.png";
31970             }
31971             description { state: "anim_1" 0.0;
31972                 inherit: "default" 0.0;
31973                 color: 255 255 255 200;
31974                 rel1.offset: (45/2 + 10) -45/2;
31975                 rel2.offset: (45/2 +10) 45/2;
31976             }
31977             description { state: "anim_1" 0.1;
31978                 inherit: "default" 0.0;
31979                 image.normal: "arrow_left.png";
31980                 color: 255 255 255 200;
31981                 rel1.offset: (45/2 + 10) -45/2;
31982                 rel2.offset: (45/2 +10) 45/2;
31983             }
31984             description { state: "anim_2" 0.0;
31985                 inherit: "default" 0.0;
31986                 color: 255 255 255 0;
31987                 rel1.offset: (45/2 + 20) -45/2;
31988                 rel2.offset: (45/2 + 20) 45/2;
31989             }
31990             description { state: "anim_2" 0.1;
31991                 inherit: "default" 0.0;
31992                 image.normal: "arrow_left.png";
31993                 color: 255 255 255 0;
31994                 rel1.offset: (45/2 + 20) -45/2;
31995                 rel2.offset: (45/2 + 20) 45/2;
31996             }
31997          }
31998         part {
31999             name: "arrow_left";
32000             repeat_events: 1;
32001             description { state: "default" 0.0;
32002                 min: 45 45;
32003                 max: 45 45;
32004                 color: 255 255 255 0;
32005
32006                 rel1.relative: 0.0 0.5;
32007                 rel1.to_x: "elm.bar";
32008                 rel1.offset: -45/2 -45/2;
32009
32010                 rel2.relative: 0.0 0.5;
32011                 rel2.to_x: "elm.bar";
32012                 rel2.offset: -45/2 45/2;
32013
32014                 image.normal: "arrow_left.png";
32015
32016                 fixed: 1 1;
32017             }
32018             description { state: "default" 0.1;
32019                 inherit: "default" 0.0;
32020                 image.normal: "arrow_right.png";
32021             }
32022             description { state: "anim_1" 0.0;
32023                 inherit: "default" 0.0;
32024                 color: 255 255 255 200;
32025                 rel1.offset: (-45/2 - 10) -45/2;
32026                 rel2.offset: (-45/2 - 10) 45/2;
32027             }
32028             description { state: "anim_1" 0.1;
32029                 inherit: "default" 0.0;
32030                 image.normal: "arrow_right.png";
32031                 color: 255 255 255 200;
32032                 rel1.offset: (-45/2 - 10) -45/2;
32033                 rel2.offset: (-45/2 - 10) 45/2;
32034             }
32035             description { state: "anim_2" 0.0;
32036                 inherit: "default" 0.0;
32037                 color: 255 255 255 0;
32038                 rel1.offset: (-45/2 - 20) -45/2;
32039                 rel2.offset: (-45/2 - 20) 45/2;
32040             }
32041             description { state: "anim_2" 0.1;
32042                 inherit: "default" 0.0;
32043                 image.normal: "arrow_right.png";
32044                 color: 255 255 255 0;
32045                 rel1.offset: (-45/2 - 20) -45/2;
32046                 rel2.offset: (-45/2 - 20) 45/2;
32047             }
32048          }
32049
32050        }
32051         programs {
32052          program {
32053             name:   "button_click";
32054             signal: "mouse,down,1";
32055             source: "over2";
32056             action: SIGNAL_EMIT "elm,action,press" "";
32057             after: "button_click_anim";
32058             after: "arrow_anim_start";
32059          }
32060          program {
32061             name:   "button_click_anim";
32062             action: STATE_SET "clicked" 0.0;
32063             target: "elm.bar";
32064          }
32065          program {
32066             name:   "button_unclick";
32067             signal: "mouse,up,1";
32068             source: "over2";
32069             action: SIGNAL_EMIT "elm,action,unpress" "";
32070             after: "button_unclick_anim";
32071             after: "arrow_anim_stop";
32072          }
32073          program {
32074             name:   "button_unclick_anim";
32075             action: STATE_SET "default" 0.0;
32076             target: "elm.bar";
32077          }
32078          program {
32079             name:   "button_click2";
32080             signal: "mouse,down,1";
32081             source: "over3";
32082             action: STATE_SET "clicked" 0.0;
32083             target: "over3";
32084          }
32085          program {
32086             name:   "button_unclick2";
32087             signal: "mouse,up,1";
32088             source: "over3";
32089             action: STATE_SET "default" 0.0;
32090             transition: DECELERATE 0.5;
32091             target: "over3";
32092          }
32093          program {
32094             name:   "button_unclick3";
32095             signal: "mouse,up,1";
32096             source: "over2";
32097             action: SIGNAL_EMIT "elm,action,click" "";
32098          }
32099          program {
32100             name:   "button_down_double";
32101             signal: "mouse,down,1,double";
32102             source: "over3";
32103             action: SIGNAL_EMIT "elm,action,click,double" "";
32104          }
32105
32106          //arrows animation
32107          program {
32108             name: "arrow_anim_start";
32109             script {
32110                new st[31];
32111                new Float:vl;
32112                get_state(PART:"arrow_left", st, 30, vl);
32113                if (vl == 0.0) {
32114                   run_program(PROGRAM:"arrow_anim_start_ltr");
32115                }
32116                else {
32117                   run_program(PROGRAM:"arrow_anim_start_rtl");
32118                }
32119             }
32120          }
32121          program {
32122             name: "arrow_anim_stop";
32123             script {
32124                new st[31];
32125                new Float:vl;
32126                get_state(PART:"arrow_left", st, 30, vl);
32127                if (vl == 0.0) {
32128                   run_program(PROGRAM:"arrow_anim_stop_ltr");
32129                }
32130                else {
32131                   run_program(PROGRAM:"arrow_anim_stop_rtl");
32132                }
32133             }
32134          }
32135
32136          program {
32137             name: "arrow_anim_start_ltr";
32138             action: STATE_SET "anim_1" 0.0;
32139             target: "arrow_right";
32140             target: "arrow_left";
32141             transition: LINEAR 0.6;
32142             after: "arrow_anim_1_ltr";
32143          }
32144          program {
32145             name: "arrow_anim_1_ltr";
32146             action: STATE_SET "anim_2" 0.0;
32147             target: "arrow_right";
32148             target: "arrow_left";
32149             transition: LINEAR 0.6;
32150             after: "arrow_anim_2_ltr";
32151          }
32152          program {
32153             name: "arrow_anim_2_ltr";
32154             action: STATE_SET "default" 0.0;
32155             target: "arrow_right";
32156             target: "arrow_left";
32157             after: "arrow_anim_start_ltr";
32158          }
32159          program {
32160             name: "arrow_anim_stop_ltr";
32161             action: ACTION_STOP;
32162             target: "arrow_anim_start_ltr";
32163             target: "arrow_anim_1_ltr";
32164             target: "arrow_anim_2_ltr";
32165             after: "arrow_anim_stop_1_ltr";
32166          }
32167          program {
32168             name: "arrow_anim_stop_1_ltr";
32169             action: STATE_SET "default" 0.0;
32170             target: "arrow_right";
32171             target: "arrow_left";
32172             transition: DECELERATE 0.4;
32173         }
32174          program {
32175             name: "arrow_anim_start_rtl";
32176             action: STATE_SET "anim_1" 0.1;
32177             target: "arrow_right";
32178             target: "arrow_left";
32179             transition: LINEAR 0.6;
32180             after: "arrow_anim_1_rtl";
32181          }
32182          program {
32183             name: "arrow_anim_1_rtl";
32184             action: STATE_SET "anim_2" 0.1;
32185             target: "arrow_right";
32186             target: "arrow_left";
32187             transition: LINEAR 0.6;
32188             after: "arrow_anim_2_rtl";
32189          }
32190          program {
32191             name: "arrow_anim_2_rtl";
32192             action: STATE_SET "default" 0.1;
32193             target: "arrow_right";
32194             target: "arrow_left";
32195             after: "arrow_anim_start_rtl";
32196          }
32197          program {
32198             name: "arrow_anim_stop_rtl";
32199             action: ACTION_STOP;
32200             target: "arrow_anim_start_rtl";
32201             target: "arrow_anim_1_rtl";
32202             target: "arrow_anim_2_rtl";
32203             after: "arrow_anim_stop_1_rtl";
32204          }
32205          program {
32206             name: "arrow_anim_stop_1_rtl";
32207             action: STATE_SET "default" 0.1;
32208             target: "arrow_right";
32209             target: "arrow_left";
32210             transition: DECELERATE 0.4;
32211         }
32212          program { name: "to_rtl";
32213             signal: "edje,state,rtl";
32214             source: "edje";
32215             script {
32216                new st[31];
32217                new Float:vl;
32218                get_state(PART:"arrow_left", st, 30, vl);
32219                if (vl == 0.0) {
32220                   set_state(PART:"arrow_left", st, 0.1);
32221                }
32222                get_state(PART:"arrow_right", st, 30, vl);
32223                if (vl == 0.0) {
32224                   set_state(PART:"arrow_right", st, 0.1);
32225                }
32226             }
32227          }
32228          program { name: "to_ltr";
32229             signal: "edje,state,ltr";
32230             source: "edje";
32231             script {
32232                new st[31];
32233                new Float:vl;
32234                get_state(PART:"arrow_left", st, 30, vl);
32235                if (vl == 0.1) {
32236                   set_state(PART:"arrow_left", st, 0.0);
32237                }
32238                get_state(PART:"arrow_right", st, 30, vl);
32239                if (vl == 0.1) {
32240                   set_state(PART:"arrow_right", st, 0.0);
32241                }
32242             }
32243          }
32244       }
32245   }
32246
32247   group {
32248      name: "elm/panes/horizontal/default";
32249       images {
32250          image: "bt_base1.png" COMP;
32251          image: "bt_base2.png" COMP;
32252          image: "bt_hilight.png" COMP;
32253          image: "bt_shine.png" COMP;
32254          image: "bt_glow.png" COMP;
32255          image: "bt_dis_base.png" COMP;
32256          image: "bt_dis_hilight.png" COMP;
32257          image: "arrow_up.png" COMP;
32258          image: "arrow_down.png" COMP;
32259       }
32260      parts
32261        {
32262           part
32263             {
32264                name: "whole";
32265                type: RECT;
32266                mouse_events: 0;
32267                description
32268                  {
32269                     state: "default" 0.0;
32270                     visible: 0;
32271                  }
32272             }
32273
32274          //2 contents
32275           part
32276             {
32277                name: "whole_left";
32278                type: RECT;
32279                mouse_events: 0;
32280                description
32281                  {
32282                     state: "default" 0.0;
32283                     rel2.to_y: "elm.bar";
32284                     rel2.relative: 1.0 0.0;
32285                     visible: 1;
32286                  }
32287             }
32288           part
32289             {
32290                name: "elm.swallow.left";
32291                type: SWALLOW;
32292                clip_to: "whole_left";
32293                description
32294                  {
32295                     state: "default" 0.0;
32296                     rel1.to: "whole_left";
32297                     rel2.to: "whole_left";
32298                  }
32299             }
32300
32301             part
32302             {
32303                name: "whole_right";
32304                type: RECT;
32305                mouse_events: 0;
32306                description
32307                  {
32308                     state: "default" 0.0;
32309                     rel1.to_y: "elm.bar";
32310                     rel1.relative: 0.0 1.0;
32311                     visible: 1;
32312                  }
32313             }
32314           part
32315             {
32316                name: "elm.swallow.right";
32317                type: SWALLOW;
32318                clip_to: "whole_right";
32319                description
32320                  {
32321                     state: "default" 0.0;
32322                     rel1.to: "whole_right";
32323                     rel2.to: "whole_right";
32324                  }
32325             }
32326          //BAR
32327          part { name: "elm.bar";
32328             mouse_events: 1;
32329             dragable {
32330                confine: "whole";
32331                x: 0 0 0;
32332                y: 1 1 1;
32333             }
32334             description { state: "default" 0.0;
32335                max: 999 15;
32336                min: 100 15;
32337                rel1.relative: 0.5 0.0;
32338                rel2.relative: 0.5 1.0;
32339                image {
32340                   normal: "bt_base2.png";
32341                   border: 7 7 7 7;
32342                }
32343                image.middle: SOLID;
32344             }
32345             description { state: "clicked" 0.0;
32346                inherit: "default" 0.0;
32347                image.normal: "bt_base1.png";
32348                image.middle: SOLID;
32349             }
32350             description { state: "disabled" 0.0;
32351                inherit:  "default" 0.0;
32352                image {
32353                   normal: "bt_dis_base.png";
32354                   border: 4 4 4 4;
32355                }
32356             }
32357          }
32358          part {          name: "over1";
32359             mouse_events: 0;
32360             description { state: "default" 0.0;
32361             rel1.to: "elm.bar";
32362             rel2.to: "elm.bar";
32363                rel2.relative: 1.0 0.5;
32364                image {
32365                   normal: "bt_hilight.png";
32366                   border: 7 7 7 0;
32367                }
32368             }
32369             description { state: "disabled" 0.0;
32370                inherit:  "default" 0.0;
32371                image {
32372                   normal: "bt_dis_hilight.png";
32373                   border: 4 4 4 0;
32374                }
32375             }
32376          }
32377          part { name: "over2";
32378             mouse_events: 1;
32379             repeat_events: 1;
32380             ignore_flags: ON_HOLD;
32381             description { state: "default" 0.0;
32382             rel1.to: "elm.bar";
32383             rel2.to: "elm.bar";
32384                image {
32385                   normal: "bt_shine.png";
32386                   border: 7 7 7 7;
32387                }
32388             }
32389             description { state: "disabled" 0.0;
32390                inherit:  "default" 0.0;
32391                visible: 0;
32392             }
32393          }
32394          part { name: "over3";
32395             mouse_events: 1;
32396             repeat_events: 1;
32397             description { state: "default" 0.0;
32398                color: 255 255 255 0;
32399             rel1.to: "elm.bar";
32400             rel2.to: "elm.bar";
32401                image {
32402                   normal: "bt_glow.png";
32403                   border: 12 12 12 12;
32404                }
32405                fill.smooth : 0;
32406             }
32407             description { state: "clicked" 0.0;
32408                inherit:  "default" 0.0;
32409                visible: 1;
32410                color: 255 255 255 255;
32411             }
32412          }
32413
32414          //Arrow
32415          part {
32416             name: "arrow_right";
32417             repeat_events: 1;
32418             description { state: "default" 0.0;
32419                 min: 45 45;
32420                 max: 45 45;
32421                 color: 255 255 255 0;
32422
32423                 rel1.relative: 0.5 1.0;
32424                 rel1.to_y: "elm.bar";
32425                 rel1.offset: -45/2 45/2;
32426
32427                 rel2.relative: 0.5 1.0;
32428                 rel2.to_y: "elm.bar";
32429                 rel2.offset: 45/2 45/2;
32430
32431                 image.normal: "arrow_down.png";
32432
32433                 fixed: 1 1;
32434             }
32435             description { state: "anim_1" 0.0;
32436                 inherit: "default" 0.0;
32437                 color: 255 255 255 200;
32438                 rel1.offset: -45/2 (45/2 +10);
32439                 rel2.offset: 45/2 (45/2 +10);
32440             }
32441             description { state: "anim_2" 0.0;
32442                 inherit: "default" 0.0;
32443                 color: 255 255 255 0;
32444                 rel1.offset: -45/2 (45/2 + 20);
32445                 rel2.offset: 45/2 (45/2 + 20);
32446             }
32447          }
32448         part {
32449             name: "arrow_left";
32450             repeat_events: 1;
32451             description { state: "default" 0.0;
32452                 min: 45 45;
32453                 max: 45 45;
32454                 color: 255 255 255 0;
32455
32456                 rel1.relative: 0.5 0.0;
32457                 rel1.to_y: "elm.bar";
32458                 rel1.offset: -45/2 -45/2;
32459
32460                 rel2.relative: 0.5 0.0;
32461                 rel2.to_y: "elm.bar";
32462                 rel2.offset: 45/2 -45/2;
32463
32464                 image.normal: "arrow_up.png";
32465
32466                 fixed: 1 1;
32467             }
32468             description { state: "anim_1" 0.0;
32469                 inherit: "default" 0.0;
32470                 color: 255 255 255 200;
32471                 rel1.offset: -45/2 (-45/2 - 10);
32472                 rel2.offset: 45/2 (-45/2 - 10);
32473             }
32474             description { state: "anim_2" 0.0;
32475                 inherit: "default" 0.0;
32476                 color: 255 255 255 0;
32477                 rel1.offset: -45/2 (-45/2 - 20);
32478                 rel2.offset: 45/2 (-45/2 - 20);
32479             }
32480          }
32481
32482        }
32483         programs {
32484          program {
32485             name:   "button_click";
32486             signal: "mouse,down,1";
32487             source: "over2";
32488             action: SIGNAL_EMIT "elm,action,press" "";
32489             after: "button_click_anim";
32490             after: "arrow_anim_start";
32491          }
32492          program {
32493             name:   "button_click_anim";
32494             action: STATE_SET "clicked" 0.0;
32495             target: "elm.bar";
32496          }
32497          program {
32498             name:   "button_unclick";
32499             signal: "mouse,up,1";
32500             source: "over2";
32501             action: SIGNAL_EMIT "elm,action,unpress" "";
32502             after: "button_unclick_anim";
32503             after: "arrow_anim_stop";
32504          }
32505          program {
32506             name:   "button_unclick_anim";
32507             action: STATE_SET "default" 0.0;
32508             target: "elm.bar";
32509          }
32510          program {
32511             name:   "button_click2";
32512             signal: "mouse,down,1";
32513             source: "over3";
32514             action: STATE_SET "clicked" 0.0;
32515             target: "over3";
32516          }
32517          program {
32518             name:   "button_unclick2";
32519             signal: "mouse,up,1";
32520             source: "over3";
32521             action: STATE_SET "default" 0.0;
32522             transition: DECELERATE 0.5;
32523             target: "over3";
32524          }
32525          program {
32526             name:   "button_unclick3";
32527             signal: "mouse,up,1";
32528             source: "over2";
32529             action: SIGNAL_EMIT "elm,action,click" "";
32530          }
32531          program {
32532             name:   "button_down_double";
32533             signal: "mouse,down,1,double";
32534             source: "over3";
32535             action: SIGNAL_EMIT "elm,action,click,double" "";
32536          }
32537
32538          //arrows animation
32539          program {
32540             name: "arrow_anim_start";
32541             action: STATE_SET "anim_1" 0.0;
32542             target: "arrow_right";
32543             target: "arrow_left";
32544             transition: LINEAR 0.6;
32545             after: "arrow_anim_1";
32546          }
32547          program {
32548             name: "arrow_anim_1";
32549             action: STATE_SET "anim_2" 0.0;
32550             target: "arrow_right";
32551             target: "arrow_left";
32552             transition: LINEAR 0.6;
32553             after: "arrow_anim_2";
32554          }
32555          program {
32556             name: "arrow_anim_2";
32557             action: STATE_SET "default" 0.0;
32558             target: "arrow_right";
32559             target: "arrow_left";
32560             after: "arrow_anim_start";
32561          }
32562          program {
32563             name: "arrow_anim_stop";
32564             action: ACTION_STOP;
32565             target: "arrow_anim_start";
32566             target: "arrow_anim_1";
32567             target: "arrow_anim_2";
32568             after: "arrow_anim_stop_1";
32569          }
32570          program {
32571             name: "arrow_anim_stop_1";
32572             action: STATE_SET "default" 0.0;
32573             target: "arrow_right";
32574             target: "arrow_left";
32575             transition: DECELERATE 0.4;
32576         }
32577       }
32578   }
32579
32580
32581
32582 /////////////////////////////////////////////////////////////////////////////
32583 // PANEL
32584 /////////////////////////////////////////////////////////////////////////////
32585   group {
32586      name: "elm/panel/base/left";
32587      alias: "elm/panel/base/top";
32588      images
32589        {
32590           image: "bt_base1.png" COMP;
32591           image: "bt_hilight.png" COMP;
32592           image: "bt_shine.png" COMP;
32593           image: "bt_glow.png" COMP;
32594           image: "bt_dis_base.png" COMP;
32595           image: "icon_arrow_left.png" COMP;
32596           image: "icon_arrow_right.png" COMP;
32597        }
32598        data {
32599           item: "focus_highlight" "on";
32600        }
32601      parts
32602        {
32603             part { name: "focus_highlight";
32604                description { state: "default" 0.0;
32605                   visible: 0;
32606                   color: 255 255 255 0;
32607                   rel1 {
32608                      to: "btn";
32609                      offset: -8 -8;
32610                   }
32611                   rel2 {
32612                      to: "btn";
32613                      offset: 7 7;
32614                   }
32615                   image {
32616                      normal: "frame_2.png";
32617                      border: 5 5 32 26;
32618                      middle: 0;
32619                   }
32620                }
32621                description { state: "enabled" 0.0;
32622                   inherit: "default" 0.0;
32623                   visible: 1;
32624                   color: 255 255 255 255;
32625                }
32626             }
32627           part
32628             {
32629                name: "bg";
32630                type: RECT;
32631                mouse_events: 0;
32632                description
32633                  {
32634                     state: "default" 0.0;
32635                     color: 255 255 255 0;
32636                     rel1.relative: 0.0 0.0;
32637                     rel1.offset: 0 0;
32638                     rel2.relative: 1.0 1.0;
32639                     rel2.offset: -1 -1;
32640                  }
32641                description
32642                  {
32643                     state: "hidden" 0.0;
32644                     inherit: "default" 0.0;
32645                     rel1.relative: -1.0 0.0;
32646                     rel1.offset: 21 0;
32647                     rel2.relative: 0.0 1.0;
32648                     rel2.offset: 20 -1;
32649                  }
32650             }
32651           part
32652             {
32653                name: "base";
32654                type: IMAGE;
32655                mouse_events: 0;
32656                description
32657                  {
32658                     state: "default" 0.0;
32659                     rel1.to: "bg";
32660                     rel2.to: "bg";
32661                     rel2.offset: -20 -1;
32662                     image
32663                       {
32664                          normal: "bt_dis_base.png";
32665                          border: 4 4 4 4;
32666                       }
32667                  }
32668             }
32669           part
32670             {
32671                name: "clipper";
32672                type: RECT;
32673                mouse_events: 0;
32674                description
32675                  {
32676                     state: "default" 0.0;
32677                     rel1
32678                       {
32679                          offset: 4 4;
32680                          to: "base";
32681                       }
32682                     rel2
32683                       {
32684                          offset: -5 -5;
32685                          to: "base";
32686                       }
32687                  }
32688             }
32689           part
32690             {
32691                name: "elm.swallow.content";
32692                type: SWALLOW;
32693                clip_to: "clipper";
32694                description
32695                  {
32696                     state: "default" 0.0;
32697                     rel1.to: "clipper";
32698                     rel2.to: "clipper";
32699                  }
32700             }
32701           part
32702             {
32703                name: "btn";
32704                type: IMAGE;
32705                mouse_events: 1;
32706                description
32707                  {
32708                     state: "default" 0.0;
32709                     max: 32 48;
32710                     fixed: 1 1;
32711                     align: 0.0 0.5;
32712                     rel1
32713                       {
32714                          relative: 1.0 0.0;
32715                          offset: -3 0;
32716                          to_x: "base";
32717                       }
32718                     rel2.to_x: "bg";
32719                     image
32720                       {
32721                          normal: "bt_base1.png";
32722                          border: 0 5 4 12;
32723                       }
32724                     fill.smooth: 0;
32725                  }
32726                description
32727                  {
32728                     state: "clicked" 0.0;
32729                     inherit: "default" 0.0;
32730                  }
32731             }
32732           part
32733             {
32734                name: "btn_over";
32735                type: IMAGE;
32736                mouse_events: 0;
32737                description
32738                  {
32739                     state: "default" 0.0;
32740                     rel1.to: "btn";
32741                     rel2
32742                       {
32743                          relative: 1.0 0.5;
32744                          to: "btn";
32745                       }
32746                     image
32747                       {
32748                          normal: "bt_hilight.png";
32749                          border: 0 7 7 0;
32750                       }
32751                  }
32752             }
32753           part
32754             {
32755                name: "btn_over2";
32756                type: IMAGE;
32757                mouse_events: 1;
32758                repeat_events: 1;
32759                ignore_flags: ON_HOLD;
32760                description
32761                  {
32762                     state: "default" 0.0;
32763                     rel1.to: "btn";
32764                     rel2.to: "btn";
32765                     image
32766                       {
32767                          normal: "bt_shine.png";
32768                          border: 0 7 7 7;
32769                     }
32770                  }
32771             }
32772           part
32773             {
32774                name: "btn_over3";
32775                type: IMAGE;
32776                mouse_events: 1;
32777                repeat_events: 1;
32778                description
32779                  {
32780                     state: "default" 0.0;
32781                     color: 255 255 255 0;
32782                     rel1.to: "btn";
32783                     rel2.to: "btn";
32784                     image
32785                       {
32786                        normal: "bt_glow.png";
32787                        border: 12 12 12 12;
32788                     }
32789                   fill.smooth: 0;
32790                }
32791              description
32792                {
32793                   state: "clicked" 0.0;
32794                   inherit: "default" 0.0;
32795                   visible: 1;
32796                   color: 255 255 255 255;
32797                }
32798             }
32799           part
32800             {
32801                name: "btn_icon";
32802                type: IMAGE;
32803                repeat_events: 1;
32804                description
32805                  {
32806                     state: "default" 0.0;
32807                     rel1.to: "btn";
32808                     rel2.to: "btn";
32809                     align: 0.5 0.5;
32810                     min: 16 16;
32811                     max: 16 16;
32812                     image.normal: "icon_arrow_left.png";
32813                  }
32814                description
32815                  {
32816                     state: "hidden" 0.0;
32817                     inherit: "default" 0.0;
32818                     image.normal: "icon_arrow_right.png";
32819                  }
32820             }
32821        }
32822      programs
32823        {
32824           program
32825             {
32826                name: "show";
32827                signal: "elm,action,show";
32828                source: "elm";
32829                action: STATE_SET "default" 0.0;
32830                target: "bg";
32831                target: "btn_icon";
32832                transition: LINEAR 0.5;
32833             }
32834           program
32835             {
32836                name: "hide";
32837                signal: "elm,action,hide";
32838                source: "elm";
32839                action: STATE_SET "hidden" 0.0;
32840                target: "bg";
32841                target: "btn_icon";
32842                transition: LINEAR 0.5;
32843             }
32844           program
32845             {
32846                name: "btn_click";
32847                signal: "mouse,down,1";
32848                source: "btn_over2";
32849                action: STATE_SET "clicked" 0.0;
32850                target: "btn";
32851             }
32852           program
32853             {
32854                name: "btn_unclick";
32855                signal: "mouse,up,1";
32856                source: "btn_over2";
32857                action: STATE_SET "default" 0.0;
32858                target: "btn";
32859             }
32860           program
32861             {
32862                name: "btn_click2";
32863                signal: "mouse,down,1";
32864                source: "btn_over3";
32865                action: STATE_SET "clicked" 0.0;
32866                target: "btn_over3";
32867             }
32868           program
32869             {
32870                name: "btn_unclick2";
32871                signal: "mouse,up,1";
32872                source: "btn_over3";
32873                action: STATE_SET "default" 0.0;
32874                transition: DECELERATE 0.5;
32875                target: "btn_over3";
32876             }
32877           program
32878             {
32879                name: "btn_unclick3";
32880                signal: "mouse,clicked,1";
32881                source: "btn_over2";
32882                action: SIGNAL_EMIT "elm,action,panel,toggle" "";
32883             }
32884          program { name: "highlight_show";
32885             signal: "elm,action,focus_highlight,show";
32886             source: "elm";
32887             action: STATE_SET "enabled" 0.0;
32888             transition: ACCELERATE 0.3;
32889             target: "focus_highlight";
32890          }
32891          program { name: "highlight_hide";
32892             signal: "elm,action,focus_highlight,hide";
32893             source: "elm";
32894             action: STATE_SET "default" 0.0;
32895             transition: DECELERATE 0.3;
32896             target: "focus_highlight";
32897          }
32898        }
32899   }
32900
32901   group {
32902      name: "elm/panel/base/right";
32903      alias: "elm/panel/base/bottom";
32904      images
32905        {
32906           image: "bt_base1.png" COMP;
32907           image: "bt_hilight.png" COMP;
32908           image: "bt_shine.png" COMP;
32909           image: "bt_glow.png" COMP;
32910           image: "bt_dis_base.png" COMP;
32911           image: "icon_arrow_left.png" COMP;
32912           image: "icon_arrow_right.png" COMP;
32913        }
32914      parts
32915        {
32916             part { name: "focus_highlight";
32917                description { state: "default" 0.0;
32918                   visible: 0;
32919                   color: 255 255 255 0;
32920                   rel1 {
32921                      to: "btn";
32922                      offset: -8 -8;
32923                   }
32924                   rel2 {
32925                      to: "btn";
32926                      offset: 7 7;
32927                   }
32928                   image {
32929                      normal: "frame_2.png";
32930                      border: 5 5 32 26;
32931                      middle: 0;
32932                   }
32933                }
32934                description { state: "enabled" 0.0;
32935                   inherit: "default" 0.0;
32936                   visible: 1;
32937                   color: 255 255 255 255;
32938                }
32939             }
32940           part
32941             {
32942                name: "bg";
32943                type: RECT;
32944                mouse_events: 0;
32945                description
32946                  {
32947                     state: "default" 0.0;
32948                     color: 255 255 255 0;
32949                     rel1.relative: 0.0 0.0;
32950                     rel1.offset: 0 0;
32951                     rel2.relative: 1.0 1.0;
32952                     rel2.offset: -1 -1;
32953                  }
32954                description
32955                  {
32956                     state: "hidden" 0.0;
32957                     inherit: "default" 0.0;
32958                     rel1.relative: 1.0 0.0;
32959                     rel1.offset: -22 0;
32960                     rel2.relative: 2.0 1.0;
32961                     rel2.offset: -23 -1;
32962                  }
32963             }
32964           part
32965             {
32966                name: "base";
32967                type: IMAGE;
32968                mouse_events: 0;
32969                description
32970                  {
32971                     state: "default" 0.0;
32972                     rel1.to: "bg";
32973                     rel1.offset: 20 0;
32974                     rel2.to: "bg";
32975                     image
32976                       {
32977                          normal: "bt_dis_base.png";
32978                          border: 4 4 4 4;
32979                       }
32980                  }
32981             }
32982           part
32983             {
32984                name: "clipper";
32985                type: RECT;
32986                mouse_events: 0;
32987                description
32988                  {
32989                     state: "default" 0.0;
32990                     rel1
32991                       {
32992                          offset: 4 4;
32993                          to: "base";
32994                       }
32995                     rel2
32996                       {
32997                          offset: -5 -5;
32998                          to: "base";
32999                       }
33000                  }
33001             }
33002           part
33003             {
33004                name: "elm.swallow.content";
33005                type: SWALLOW;
33006                clip_to: "clipper";
33007                description
33008                  {
33009                     state: "default" 0.0;
33010                     rel1.to: "clipper";
33011                     rel2.to: "clipper";
33012                  }
33013             }
33014           part
33015             {
33016                name: "btn";
33017                type: IMAGE;
33018                mouse_events: 1;
33019                description
33020                  {
33021                     state: "default" 0.0;
33022                     max: 32 48;
33023                     fixed: 1 1;
33024                     align: 1 0.5;
33025                     rel1
33026                       {
33027                          to_x: "bg";
33028                       }
33029                     rel2
33030                       {
33031                          offset: 2 0;
33032                          relative: 0.0 1;
33033                          to_x: "base";
33034                       }
33035                     image
33036                       {
33037                          normal: "bt_base1.png";
33038                          border: 5 0 4 12;
33039                       }
33040                     fill.smooth: 0;
33041                  }
33042                description
33043                  {
33044                     state: "clicked" 0.0;
33045                     inherit: "default" 0.0;
33046                  }
33047             }
33048           part
33049             {
33050                name: "btn_over";
33051                type: IMAGE;
33052                mouse_events: 0;
33053                description
33054                  {
33055                     state: "default" 0.0;
33056                     rel1.to: "btn";
33057                     rel2
33058                       {
33059                          relative: 1.0 0.5;
33060                          to: "btn";
33061                       }
33062                     image
33063                       {
33064                          normal: "bt_hilight.png";
33065                          border: 7 0 7 0;
33066                       }
33067                  }
33068             }
33069           part
33070             {
33071                name: "btn_over2";
33072                type: IMAGE;
33073                mouse_events: 1;
33074                repeat_events: 1;
33075                ignore_flags: ON_HOLD;
33076                description
33077                  {
33078                     state: "default" 0.0;
33079                     rel1.to: "btn";
33080                     rel2.to: "btn";
33081                     image
33082                       {
33083                          normal: "bt_shine.png";
33084                          border: 7 0 7 7;
33085                     }
33086                  }
33087             }
33088           part
33089             {
33090                name: "btn_over3";
33091                type: IMAGE;
33092                mouse_events: 1;
33093                repeat_events: 1;
33094                description
33095                  {
33096                     state: "default" 0.0;
33097                     color: 255 255 255 0;
33098                     rel1.to: "btn";
33099                     rel2.to: "btn";
33100                     image
33101                       {
33102                        normal: "bt_glow.png";
33103                        border: 12 12 12 12;
33104                     }
33105                   fill.smooth: 0;
33106                }
33107              description
33108                {
33109                   state: "clicked" 0.0;
33110                   inherit: "default" 0.0;
33111                   visible: 1;
33112                   color: 255 255 255 255;
33113                }
33114             }
33115           part
33116             {
33117                name: "btn_icon";
33118                type: IMAGE;
33119                repeat_events: 1;
33120                description
33121                  {
33122                     state: "default" 0.0;
33123                     rel1.to: "btn";
33124                     rel2.to: "btn";
33125                     align: 0.5 0.5;
33126                     min: 16 16;
33127                     max: 16 16;
33128                     image.normal: "icon_arrow_right.png";
33129                  }
33130                description
33131                  {
33132                     state: "hidden" 0.0;
33133                     inherit: "default" 0.0;
33134                     image.normal: "icon_arrow_left.png";
33135                  }
33136             }
33137        }
33138      programs
33139        {
33140           program
33141             {
33142                name: "show";
33143                signal: "elm,action,show";
33144                source: "elm";
33145                action: STATE_SET "default" 0.0;
33146                target: "bg";
33147                target: "btn_icon";
33148                transition: LINEAR 0.5;
33149             }
33150           program
33151             {
33152                name: "hide";
33153                signal: "elm,action,hide";
33154                source: "elm";
33155                action: STATE_SET "hidden" 0.0;
33156                target: "bg";
33157                target: "btn_icon";
33158                transition: LINEAR 0.5;
33159             }
33160           program
33161             {
33162                name: "btn_click";
33163                signal: "mouse,down,1";
33164                source: "btn_over2";
33165                action: STATE_SET "clicked" 0.0;
33166                target: "btn";
33167             }
33168           program
33169             {
33170                name: "btn_unclick";
33171                signal: "mouse,up,1";
33172                source: "btn_over2";
33173                action: STATE_SET "default" 0.0;
33174                target: "btn";
33175             }
33176           program
33177             {
33178                name: "btn_click2";
33179                signal: "mouse,down,1";
33180                source: "btn_over3";
33181                action: STATE_SET "clicked" 0.0;
33182                target: "btn_over3";
33183             }
33184           program
33185             {
33186                name: "btn_unclick2";
33187                signal: "mouse,up,1";
33188                source: "btn_over3";
33189                action: STATE_SET "default" 0.0;
33190                transition: DECELERATE 0.5;
33191                target: "btn_over3";
33192             }
33193           program
33194             {
33195                name: "btn_unclick3";
33196                signal: "mouse,up,1";
33197                source: "btn_over2";
33198                action: SIGNAL_EMIT "elm,action,panel,toggle" "";
33199             }
33200          program { name: "highlight_show";
33201             signal: "elm,action,focus";
33202             source: "elm";
33203             action: STATE_SET "enabled" 0.0;
33204             transition: ACCELERATE 0.3;
33205             target: "focus_highlight";
33206          }
33207          program { name: "highlight_hide";
33208             signal: "elm,action,unfocus";
33209             source: "elm";
33210             action: STATE_SET "default" 0.0;
33211             transition: DECELERATE 0.3;
33212             target: "focus_highlight";
33213          }
33214        }
33215   }
33216
33217 ///////////////////////////////////////////////////////////////////////////////
33218   group { name: "elm/conformant/base/default";
33219      parts {
33220         part { name: "elm.swallow.shelf";
33221            type: SWALLOW;
33222            description { state: "default" 0.0;
33223               fixed: 1 1;
33224               align: 0.0 0.0;
33225               rel2.relative: 1.0 0.0;
33226            }
33227         }
33228         part { name: "elm.swallow.content";
33229            type: SWALLOW;
33230            description { state: "default" 0.0;
33231               align: 0.5 0.5;
33232               rel1.relative: 0.0 1.0;
33233               rel1.to_y: "elm.swallow.shelf";
33234               rel2.relative: 1.0 0.0;
33235               rel2.to_y: "elm.swallow.panel";
33236            }
33237         }
33238         part { name: "elm.swallow.panel";
33239            type: SWALLOW;
33240            description { state: "default" 0.0;
33241               fixed: 1 1;
33242               align: 0.0 1.0;
33243               rel1.relative: 0.0 1.0;
33244            }
33245         }
33246      }
33247   }
33248
33249 /////////////////////////////////////////////////////////////////////////////
33250 // CALENDAR
33251 /////////////////////////////////////////////////////////////////////////////
33252 #define CH(_pos) \
33253          part { name: "ch_"#_pos".base"; \
33254             type: RECT; \
33255             description { state: "default" 0.0; \
33256                rel1 { \
33257                   relative: (_pos % 7 * 7 / 8 / 6) 0; \
33258                   to: "header"; \
33259                } \
33260                rel2 { \
33261                   relative: (_pos % 7 * 7 / 8 / 6 + 1 / 8) 1; \
33262                   to: "header"; \
33263                } \
33264                color: 0 0 0 0; \
33265                visible: 0; \
33266             } \
33267          } \
33268          part { name: "ch_"#_pos".text"; \
33269             type: TEXT; \
33270             effect: SOFT_SHADOW; \
33271             mouse_events: 0; \
33272             scale: 1; \
33273             clip_to: "ch_"#_pos".clipper"; \
33274             description { \
33275                state: "default" 0.0; \
33276                rel1.to: "ch_"#_pos".base"; \
33277                rel2.to: "ch_"#_pos".base"; \
33278                color: 0 0 0 255; \
33279                color3: 0 0 0 0; \
33280                text { \
33281                   font: "Sans"; \
33282                   size: 10; \
33283                   min: 1 1; \
33284                   align: 0.5 0.5; \
33285                } \
33286             } \
33287          } \
33288          part { name: "ch_"#_pos".clipper"; \
33289             type: RECT; \
33290             description { state: "default" 0.0; \
33291                rel1.to: "ch_"#_pos".base"; \
33292                rel2.to: "ch_"#_pos".base"; \
33293             } \
33294          }
33295
33296 #define CIT(_pos) \
33297          part { name: "cit_"#_pos".rect"; \
33298             type: RECT; \
33299             description { state: "default" 0.0; \
33300                rel1 { \
33301                   relative: (_pos % 7 * 7 / 8 / 6) \
33302                             (_pos / 8 / 5 - _pos % 7 / 8 / 5); \
33303                   to: "base"; \
33304                } \
33305                rel2 { \
33306                   relative: (_pos % 7 * 7 / 8 / 6 + 1 / 8) \
33307                             (_pos / 8 / 5 - _pos % 7 / 8 / 5 + 1 / 8); \
33308                   to: "base"; \
33309                } \
33310                color: 0 0 0 0; \
33311                visible: 0; \
33312             } \
33313          } \
33314          part { \
33315             name: "cit_"#_pos".event"; \
33316             type: RECT; \
33317             repeat_events: 1; \
33318             description { \
33319                rel1.to: "cit_"#_pos".rect"; \
33320                rel2.to: "cit_"#_pos".rect"; \
33321                state: "default" 0.0; \
33322                color: 0 0 0 0; \
33323             } \
33324          } \
33325          part { name: "cit_"#_pos".shelf"; \
33326             type: RECT; \
33327             mouse_events: 0; \
33328             description { state: "default" 0.0; \
33329                rel1 { \
33330                   to: "cit_"#_pos".bg"; \
33331                   offset: -1 -1; \
33332                } \
33333                rel2 { \
33334                   to: "cit_"#_pos".bg"; \
33335                } \
33336                color: 200 200 200 255; \
33337             } \
33338          } \
33339          part { name: "cit_"#_pos".hd"; \
33340             type: RECT; \
33341             mouse_events: 0; \
33342             description { state: "default" 0.0; \
33343                rel1 { \
33344                   to: "cit_"#_pos".bg"; \
33345                   offset: -1 -1; \
33346                } \
33347                rel2 { \
33348                   to: "cit_"#_pos".bg"; \
33349                } \
33350                visible: 0; \
33351                color: 160 0 0 255; \
33352             } \
33353             description { state: "visible" 0.0; \
33354                inherit: "default" 0.0; \
33355                visible: 1; \
33356             } \
33357          } \
33358          part { \
33359             name: "cit_"#_pos".base_sh"; \
33360             mouse_events: 0; \
33361             description { \
33362                state: "default" 0.0; \
33363                align: 0.0 0.0; \
33364                min: 0 1; \
33365                rel1 { \
33366                   to: "cit_"#_pos".base"; \
33367                   relative: 0.0 1.0; \
33368                   offset: 0 0; \
33369                } \
33370                rel2 { \
33371                   to: "cit_"#_pos".base"; \
33372                   relative: 1.0 1.05; \
33373                   offset: -1 0; \
33374                } \
33375                image { \
33376                   normal: "ilist_item_shadow.png"; \
33377                } \
33378                fill.smooth: 0; \
33379             } \
33380          } \
33381          part { \
33382             name: "cit_"#_pos".base"; \
33383             mouse_events: 0; \
33384             description { \
33385                state: "default" 0.0; \
33386                rel1.to: "cit_"#_pos".rect"; \
33387                rel2.to: "cit_"#_pos".rect"; \
33388                rel2.offset: -1 -1; \
33389                image { \
33390                   normal: "ilist_1.png"; \
33391                   border: 2 2 2 2; \
33392                } \
33393                fill.smooth: 0; \
33394             } \
33395             description { \
33396                state: "today" 0.0; \
33397                inherit: "default" 0.0; \
33398                image.normal: "ilist_2.png"; \
33399                color: 240 240 240 255; \
33400             } \
33401          } \
33402          part { name: "cit_"#_pos".bg"; \
33403             mouse_events: 0; \
33404             description { state: "default" 0.0; \
33405                visible: 0; \
33406                color: 255 255 255 0; \
33407                rel1 { \
33408                   to: "cit_"#_pos".rect"; \
33409                   relative: 0.0 0.0; \
33410                } \
33411                rel2 { \
33412                   to: "cit_"#_pos".rect"; \
33413                   relative: 1.0 1.0; \
33414                   offset: -1 -1; \
33415                } \
33416                image { \
33417                   normal: "bt_sm_base1.png"; \
33418                   border: 6 6 6 6; \
33419                } \
33420                image.middle: SOLID; \
33421             } \
33422             description { state: "selected" 0.0; \
33423                inherit: "default" 0.0; \
33424                visible: 1; \
33425                color: 255 255 255 255; \
33426             } \
33427          } \
33428          part { name: "cit_"#_pos".text"; \
33429             type: TEXT; \
33430             effect: SOFT_SHADOW; \
33431             mouse_events: 0; \
33432             scale: 1; \
33433             description { \
33434                state: "default" 0.0; \
33435                rel1.to: "cit_"#_pos".bg"; \
33436                rel2.to: "cit_"#_pos".bg"; \
33437                color: 0 0 0 255; \
33438                color3: 0 0 0 0; \
33439                text { \
33440                   font: "Sans"; \
33441                   size: 10; \
33442                   min: 1 1; \
33443                   align: 0.5 0.5; \
33444                } \
33445             } \
33446             description { state: "selected" 0.0; \
33447                inherit: "default" 0.0; \
33448                color: 224 224 224 255; \
33449                color3: 0 0 0 64; \
33450             } \
33451          } \
33452          part { name: "cit_"#_pos".fg1"; \
33453             mouse_events: 0; \
33454             description { state: "default" 0.0; \
33455                visible: 0; \
33456                color: 255 255 255 0; \
33457                rel1.to: "cit_"#_pos".bg"; \
33458                rel2.relative: 1.0 0.5; \
33459                rel2.to: "cit_"#_pos".bg"; \
33460                image { \
33461                   normal: "bt_sm_hilight.png"; \
33462                   border: 6 6 6 0; \
33463                } \
33464             } \
33465             description { state: "selected" 0.0; \
33466                inherit: "default" 0.0; \
33467                visible: 1; \
33468                color: 255 255 255 255; \
33469             } \
33470          } \
33471          part { name: "cit_"#_pos".fg2"; \
33472             mouse_events: 0; \
33473             description { state: "default" 0.0; \
33474                visible: 0; \
33475                color: 255 255 255 0; \
33476                rel1.to: "cit_"#_pos".bg"; \
33477                rel2.to: "cit_"#_pos".bg"; \
33478                image { \
33479                   normal: "bt_sm_shine.png"; \
33480                   border: 6 6 6 0; \
33481                } \
33482             } \
33483             description { state: "selected" 0.0; \
33484                inherit: "default" 0.0; \
33485                visible: 1; \
33486                color: 255 255 255 255; \
33487             } \
33488          } \
33489          part { name: "cit_"#_pos".check"; \
33490             mouse_events: 0; \
33491             description { state: "default" 0.0; \
33492                rel1 { \
33493                   to: "cit_"#_pos".bg"; \
33494                   relative: 0.7 0.6; \
33495                   offset: 1 1; \
33496                } \
33497                rel2 { \
33498                   to: "cit_"#_pos".bg"; \
33499                   relative: 1.1 1.2; \
33500                   offset: -2 -2; \
33501                } \
33502                aspect: 1 1; \
33503                visible: 0; \
33504                color: 255 0 0 255; \
33505                image.normal: "check.png"; \
33506             } \
33507             description { state: "visible" 0.0; \
33508                inherit: "default" 0.0; \
33509                visible: 1; \
33510             } \
33511          } \
33512       programs { \
33513          program { \
33514             name:    "cit_"#_pos".go_active"; \
33515             signal:  "cit_"#_pos",selected"; \
33516             source:  "elm"; \
33517             action:  STATE_SET "selected" 0.0; \
33518             target:  "cit_"#_pos".bg"; \
33519             target:  "cit_"#_pos".fg1"; \
33520             target:  "cit_"#_pos".fg2"; \
33521             target:  "cit_"#_pos".text"; \
33522          } \
33523          program { \
33524             name:    "cit_"#_pos".go_passive"; \
33525             signal:  "cit_"#_pos",unselected"; \
33526             source:  "elm"; \
33527             action:  STATE_SET "default" 0.0; \
33528             target:  "cit_"#_pos".bg"; \
33529             target:  "cit_"#_pos".fg1"; \
33530             target:  "cit_"#_pos".fg2"; \
33531             target:  "cit_"#_pos".text"; \
33532          } \
33533          program { \
33534             name:    "cit_"#_pos".is_today"; \
33535             signal:  "cit_"#_pos",today"; \
33536             source:  "elm"; \
33537             action:  STATE_SET "today" 0.0; \
33538             target: "cit_"#_pos".base"; \
33539          } \
33540          program { \
33541             name:    "cit_"#_pos".not_today"; \
33542             signal:  "cit_"#_pos",not_today"; \
33543             source:  "elm"; \
33544             action:  STATE_SET "default" 0.0; \
33545             target: "cit_"#_pos".base"; \
33546          } \
33547          program { \
33548             source: "cit_"#_pos".clicked"; \
33549             signal: "mouse,clicked,1"; \
33550             source: "cit_"#_pos".event"; \
33551             action: SIGNAL_EMIT "elm,action,selected" #_pos; \
33552          } \
33553          program { \
33554             name:    "cit_"#_pos".clear"; \
33555             signal:  "cit_"#_pos",clear"; \
33556             source:  "elm"; \
33557             action:  STATE_SET "default" 0.0; \
33558             target: "cit_"#_pos".check"; \
33559             target: "cit_"#_pos".hd"; \
33560          } \
33561          program { \
33562             name:    "cit_"#_pos".checked"; \
33563             signal:  "cit_"#_pos",checked"; \
33564             source:  "elm"; \
33565             action:  STATE_SET "visible" 0.0; \
33566             target: "cit_"#_pos".check"; \
33567          } \
33568          program { \
33569             name:    "cit_"#_pos".holiday"; \
33570             signal:  "cit_"#_pos",holiday"; \
33571             source:  "elm"; \
33572             action:  STATE_SET "visible" 0.0; \
33573             target: "cit_"#_pos".hd"; \
33574          } \
33575       }
33576
33577    group { name: "elm/calendar/base/default";
33578        images {
33579            image: "shelf_inset.png" COMP;
33580            image: "bt_base1.png" COMP;
33581            image: "bt_hilight.png" COMP;
33582            image: "bt_shine.png" COMP;
33583            image: "bt_glow.png" COMP;
33584            image: "bt_dis_base.png" COMP;
33585            image: "bt_dis_hilight.png" COMP;
33586            image: "sp_bt_l.png" COMP;
33587            image: "sp_bt_r.png" COMP;
33588            image: "bt_sm_base1.png" COMP;
33589            image: "bt_sm_shine.png" COMP;
33590            image: "bt_sm_hilight.png" COMP;
33591            image: "ilist_1.png" COMP;
33592            image: "ilist_2.png" COMP;
33593            image: "ilist_item_shadow.png" COMP;
33594            image: "check.png" COMP;
33595        }
33596        parts {
33597            part { name: "bg";
33598                type: RECT;
33599                description { state: "default" 0.0;
33600                    min: 0 30;
33601                    rel1.offset: 1 1;
33602                    rel2.offset: -2 -2;
33603                    color: 255 255 255 0;
33604                    align: 0.0 0.5;
33605                }
33606            }
33607            part { name: "spinner-base";
33608                type: RECT;
33609                mouse_events: 0;
33610                description { state: "default" 0.0;
33611                    min: 24 24;
33612                    max: 999999 24;
33613                    rel1.to: "bg";
33614                    rel1.offset: 6 6;
33615                    rel2.to: "bg";
33616                    rel2.offset: -7 -7;
33617                    color: 255 255 255 0;
33618                    align: 0.0 0.0;
33619                }
33620            }
33621            part { name: "conf_over_spinner";
33622                mouse_events:  0;
33623                description { state: "default" 0.0;
33624                    rel1.to: "spinner-base";
33625                    rel1.offset: -3 -3;
33626                    rel2.to: "spinner-base";
33627                    rel2.offset: 2 2;
33628                    image {
33629                        normal: "shelf_inset.png";
33630                        border: 7 7 7 7;
33631                        middle: 0;
33632                    }
33633                    fill.smooth : 0;
33634                }
33635            }
33636            part { name: "table-base";
33637                type: RECT;
33638                mouse_events: 0;
33639                description { state: "default" 0.0;
33640                    min: 256 220;
33641                    rel1.to_x: "bg";
33642                    rel1.to_y: "spinner-base";
33643                    rel1.offset: 6 6;
33644                    rel1.relative: 0 1;
33645                    rel2.to: "bg";
33646                    rel2.offset: -7 -7;
33647                    color: 255 255 255 0;
33648                }
33649            }
33650            part { name: "conf_over_table";
33651                mouse_events:  0;
33652                description { state: "default" 0.0;
33653                    rel1.to: "table-base";
33654                    rel1.offset: -3 -3;
33655                    rel2.to: "table-base";
33656                    rel2.offset: 2 2;
33657                    image {
33658                        normal: "shelf_inset.png";
33659                        border: 7 7 7 7;
33660                        middle: 0;
33661                    }
33662                    fill.smooth : 0;
33663                }
33664            }
33665            part { name: "header";
33666                type: RECT;
33667                mouse_events: 0;
33668                description { state: "default" 0.0;
33669                    rel1.to: "table-base";
33670                    rel1.relative: 0 0;
33671                    rel2.to: "table-base";
33672                    rel2.relative: 1 0.1;
33673                    color: 255 255 255 0;
33674                }
33675            }
33676            part { name: "base";
33677                type: RECT;
33678                mouse_events: 0;
33679                description { state: "default" 0.0;
33680                    rel1.to_x: "table-base";
33681                    rel1.to_y: "header";
33682                    rel1.relative: 0 1;
33683                    rel1.offset: 3 0;
33684                    rel2.to: "table-base";
33685                    rel2.offset: -3 0;
33686                    color: 255 255 255 0;
33687                }
33688            }
33689            part { name: "left_bt";
33690                mouse_events:  1;
33691                description { state: "default" 0.0;
33692                    rel1 { to: "spinner-base";
33693                        offset: 2 2;
33694                    }
33695                    rel2 { to: "spinner-base";
33696                        offset: -3 -3;
33697                    }
33698                    align: 0.0 0.5;
33699                    min: 24 24;
33700                    max: 24 24;
33701                    fixed: 1 1;
33702                    image {
33703                        normal: "bt_base1.png";
33704                        border: 6 6 6 6;
33705                    }
33706                    fill.smooth : 0;
33707                }
33708                description { state: "clicked" 0.0;
33709                    inherit: "default" 0.0;
33710                    image.normal: "bt_base1.png";
33711                    image.middle: SOLID;
33712                }
33713            }
33714            part { name: "left_over1";
33715                mouse_events: 0;
33716                description { state: "default" 0.0;
33717                    rel1.to: "left_bt";
33718                    rel2 { to: "left_bt";
33719                        relative: 1.0 0.5;
33720                    }
33721                    image {
33722                        normal: "bt_hilight.png";
33723                        border: 7 7 7 0;
33724                    }
33725                }
33726            }
33727            part { name: "left_over2";
33728                mouse_events: 1;
33729                repeat_events: 1;
33730                description { state: "default" 0.0;
33731                    rel1.to: "left_bt";
33732                    rel2.to: "left_bt";
33733                    image {
33734                        normal: "bt_shine.png";
33735                        border: 7 7 7 7;
33736                    }
33737                }
33738            }
33739            part { name: "left_over3";
33740                mouse_events: 1;
33741                repeat_events: 1;
33742                description { state: "default" 0.0;
33743                    color: 255 255 255 0;
33744                    rel1.to: "left_bt";
33745                    rel2.to: "left_bt";
33746                    image {
33747                        normal: "bt_glow.png";
33748                        border: 12 12 12 12;
33749                    }
33750                    fill.smooth : 0;
33751                }
33752                description { state: "clicked" 0.0;
33753                    inherit:  "default" 0.0;
33754                    visible: 1;
33755                    color: 255 255 255 255;
33756                }
33757            }
33758            part { name: "right_bt";
33759                mouse_events:  1;
33760                description { state: "default" 0.0;
33761                    rel1 { to: "spinner-base";
33762                        offset: -27 3;
33763                    }
33764                    rel2 { to: "spinner-base";
33765                        offset: -3 -3;
33766                    }
33767                    align: 1.0 0.5;
33768                    min: 24 24;
33769                    max: 24 24;
33770                    fixed: 1 1;
33771                    image {
33772                        normal: "bt_base1.png";
33773                        border: 5 5 4 12;
33774                    }
33775                    fill.smooth : 0;
33776                }
33777                description { state: "clicked" 0.0;
33778                    inherit: "default" 0.0;
33779                    image.normal: "bt_base1.png";
33780                    image.middle: SOLID;
33781                }
33782            }
33783            part { name: "right_over1";
33784                mouse_events: 0;
33785                description { state: "default" 0.0;
33786                    rel1.to: "right_bt";
33787                    rel2 { to: "right_bt";
33788                        relative: 1.0 0.5;
33789                    }
33790                    image {
33791                        normal: "bt_hilight.png";
33792                        border: 7 7 7 0;
33793                    }
33794                }
33795            }
33796            part { name: "right_over2";
33797                mouse_events: 1;
33798                repeat_events: 1;
33799                description { state: "default" 0.0;
33800                    rel1.to: "right_bt";
33801                    rel2.to: "right_bt";
33802                    image {
33803                        normal: "bt_shine.png";
33804                        border: 7 7 7 7;
33805                    }
33806                }
33807            }
33808            part { name: "right_over3";
33809                mouse_events: 1;
33810                repeat_events: 1;
33811                description { state: "default" 0.0;
33812                    color: 255 255 255 0;
33813                    rel1.to: "right_bt";
33814                    rel2.to: "right_bt";
33815                    image {
33816                        normal: "bt_glow.png";
33817                        border: 12 12 12 12;
33818                    }
33819                    fill.smooth : 0;
33820                }
33821                description { state: "clicked" 0.0;
33822                    inherit:  "default" 0.0;
33823                    visible: 1;
33824                    color: 255 255 255 255;
33825                }
33826            }
33827            part { name: "left_bt_icon";
33828                repeat_events: 1;
33829                description { state: "default" 0.0;
33830                    rel1.to: "left_bt";
33831                    rel2.to: "left_bt";
33832                    align: 0.5 0.5;
33833                    min: 16 16;
33834                    max: 16 16;
33835                    image.normal: "sp_bt_l.png";
33836                }
33837                description { state: "rtl" 0.0;
33838                    inherit: "default" 0.0;
33839                    image.normal: "sp_bt_r.png";
33840                }
33841            }
33842            part { name: "right_bt_icon";
33843                repeat_events: 1;
33844                description { state: "default" 0.0;
33845                    rel1.to: "right_bt";
33846                    rel2.to: "right_bt";
33847                    align: 0.5 0.5;
33848                    min: 16 16;
33849                    max: 16 16;
33850                    image.normal: "sp_bt_r.png";
33851                }
33852                description { state: "rtl" 0.0;
33853                    inherit: "default" 0.0;
33854                    image.normal: "sp_bt_l.png";
33855                }
33856            }
33857            part { name: "month_text";
33858                type: TEXT;
33859                mouse_events: 0;
33860                scale: 1;
33861                description { state: "default" 0.0;
33862                    align: 0 0.5;
33863                    fixed: 1 1;
33864                    rel1 { relative: 1.0 0.0;
33865                        offset: 3 2;
33866                        to: "left_bt";
33867                        to_y: "spinner-base";
33868                    }
33869                    rel2 { relative: 0.0 1.0;
33870                        offset: -3 -2;
33871                        to_x: "right_bt";
33872                        to_y: "spinner-base";
33873                    }
33874                    color: 0 0 0 255;
33875                    text {
33876                        font: "Sans,Edje-Vera";
33877                        size: 12;
33878                        min: 1 1;
33879                        align: 0.5 0.5;
33880                    }
33881                }
33882            }
33883            CH(0)   CH(1)   CH(2)   CH(3)   CH(4)   CH(5)   CH(6)
33884            CIT(0)  CIT(1)  CIT(2)  CIT(3)  CIT(4)  CIT(5)  CIT(6)
33885            CIT(7)  CIT(8)  CIT(9)  CIT(10) CIT(11) CIT(12) CIT(13)
33886            CIT(14) CIT(15) CIT(16) CIT(17) CIT(18) CIT(19) CIT(20)
33887            CIT(21) CIT(22) CIT(23) CIT(24) CIT(25) CIT(26) CIT(27)
33888            CIT(28) CIT(29) CIT(30) CIT(31) CIT(32) CIT(33) CIT(34)
33889            CIT(35) CIT(36) CIT(37) CIT(38) CIT(39) CIT(40) CIT(41)
33890        }
33891        programs {
33892            program { name: "dec_start";
33893                signal: "mouse,down,1";
33894                source: "left_bt";
33895                action: SIGNAL_EMIT "elm,action,decrement,start" "";
33896            }
33897            program { name: "dec_stop";
33898                signal: "mouse,up,1";
33899                source: "left_bt";
33900                action: SIGNAL_EMIT "elm,action,stop" "";
33901            }
33902            program { name: "inc_start";
33903                signal: "mouse,down,1";
33904                source: "right_bt";
33905                action: SIGNAL_EMIT "elm,action,increment,start" "";
33906            }
33907            program { name: "inc_stop";
33908                signal: "mouse,up,1";
33909                source: "right_bt";
33910                action: SIGNAL_EMIT "elm,action,stop" "";
33911            }
33912            program {
33913                name:   "left_bt_click";
33914                signal: "mouse,down,1";
33915                source: "left_over2";
33916                action: STATE_SET "clicked" 0.0;
33917                target: "left_bt";
33918            }
33919            program {
33920                name:   "left_bt_unclick";
33921                signal: "mouse,up,1";
33922                source: "left_over2";
33923                action: STATE_SET "default" 0.0;
33924                target: "left_bt";
33925            }
33926            program {
33927                name:   "left_bt_click2";
33928                signal: "mouse,down,1";
33929                source: "left_over3";
33930                action: STATE_SET "clicked" 0.0;
33931                target: "left_over3";
33932            }
33933            program {
33934                name:   "left_bt_unclick2";
33935                signal: "mouse,up,1";
33936                source: "left_over3";
33937                action: STATE_SET "default" 0.0;
33938                transition: DECELERATE 0.5;
33939                target: "left_over3";
33940            }
33941            program {
33942                name:   "right_bt_click";
33943                signal: "mouse,down,1";
33944                source: "right_over2";
33945                action: STATE_SET "clicked" 0.0;
33946                target: "right_bt";
33947            }
33948            program {
33949                name:   "right_bt_unclick";
33950                signal: "mouse,up,1";
33951                source: "right_over2";
33952                action: STATE_SET "default" 0.0;
33953                target: "right_bt";
33954            }
33955            program {
33956                name:   "right_bt_click2";
33957                signal: "mouse,down,1";
33958                source: "right_over3";
33959                action: STATE_SET "clicked" 0.0;
33960                target: "right_over3";
33961            }
33962            program {
33963                name:   "right_bt_unclick2";
33964                signal: "mouse,up,1";
33965                source: "right_over3";
33966                action: STATE_SET "default" 0.0;
33967                transition: DECELERATE 0.5;
33968                target: "right_over3";
33969            }
33970            program { name: "to_rtl";
33971                signal: "edje,state,rtl";
33972                source: "edje";
33973                action: STATE_SET "rtl" 0.0;
33974                target: "right_bt_icon";
33975                target: "left_bt_icon";
33976            }
33977            program { name: "to_ltr";
33978                signal: "edje,state,ltr";
33979                source: "edje";
33980                action: STATE_SET "default" 0.0;
33981                target: "right_bt_icon";
33982                target: "left_bt_icon";
33983            }
33984        }
33985    }
33986
33987 #undef CIT
33988 #undef CH
33989
33990 ////////////////////////////////////////////////////////////////////////////////
33991 // colorselector
33992 ////////////////////////////////////////////////////////////////////////////////
33993    group { name: "elm/colorselector/bg/default";
33994       parts {
33995          part { name: "elm.colorbar_0";
33996             type: SWALLOW;
33997             mouse_events: 1;
33998             description { state: "default" 0.0;
33999                min: 120 30;
34000                rel1.relative: 0.0 0.00653594771;
34001                rel2.relative: 1.0 0.254901961;
34002             }
34003          }
34004          part { name: "elm.colorbar_1";
34005             type: SWALLOW;
34006             mouse_events: 1;
34007             description { state: "default" 0.0;
34008                min: 120 30;
34009                rel1.relative: 0.0 0.254901961;
34010                rel2.relative: 1.0 0.503267974;
34011             }
34012          }
34013          part { name: "elm.colorbar_2";
34014             type: SWALLOW;
34015             mouse_events: 1;
34016             description { state: "default" 0.0;
34017                min: 120 30;
34018                rel1.relative: 0.0 0.503267974;
34019                rel2.relative: 1.0 0.751633987;
34020             }
34021          }
34022          part { name: "elm.colorbar_3";
34023             type: SWALLOW;
34024             mouse_events: 1;
34025             description { state: "default" 0.0;
34026                min: 120 30;
34027                rel1.relative: 0.0 0.751633987;
34028                rel2.relative: 1.0 1.0;
34029             }
34030          }
34031       }
34032    }
34033
34034    group { name: "elm/colorselector/base/default";
34035       parts {
34036          part { name: "elm.bar_bg";
34037             type: SWALLOW;
34038             mouse_events: 0;
34039             description { state: "default" 0.0;
34040                min: 60 22;
34041                rel1 {
34042                   relative: 0.0 0.8;
34043                   to_x: "elm.arrow_bg";
34044                   to_y: "elm.arrow_icon";
34045                   offset: 0 0;
34046                }
34047                rel2 {
34048                   relative: 1.0 0.83;
34049                   to_x: "elm.arrow_bg";
34050                   offset: 0 0;
34051                }
34052             }
34053          }
34054          part { name: "elm.bar";
34055             type: SWALLOW;
34056             mouse_events: 0;
34057             description { state: "default" 0.0;
34058                rel1.to: "elm.bar_bg";
34059                rel2.to: "elm.bar_bg";
34060             }
34061          }
34062          part { name: "elm.arrow_bg";
34063             type: SWALLOW;
34064             mouse_events: 1;
34065             description { state: "default" 0.0;
34066                rel1 {
34067                   relative: 1.0 0.17;
34068                   offset: 3 0;
34069                   to_x: "elm.l_button";
34070                }
34071                rel2 {
34072                   relative: 0.0 0.83;
34073                      offset: -4 0;
34074                   to_x: "elm.r_button";
34075                }
34076             }
34077          }
34078          part { name: "elm.arrow";
34079             type: RECT;
34080             mouse_events: 1;
34081             scale: 1;
34082             description { state: "default" 0.0;
34083                min: 1 1;
34084                fixed: 1 1;
34085                align: 0 0;
34086                rel1 {
34087                   to_x: "elm.arrow_bg";
34088                }
34089                rel2 {
34090                   relative: 0.0 0.17;
34091                   to_x: "elm.arrow_bg";
34092                }
34093                color: 0 0 0 0;
34094                visible: 0;
34095             }
34096             dragable {
34097                confine: "elm.arrow_bg";
34098                x: 1 1 0;
34099                y: 0 0 0;
34100             }
34101          }
34102          part { name: "elm.arrow_icon";
34103             type: SWALLOW;
34104             mouse_events: 0;
34105             description { state: "default" 0.0;
34106                min: 25 15;
34107                max: 25 15;
34108                fixed: 1 1;
34109                align: 0.5 0;
34110                rel1 {
34111                   to_x: "elm.arrow";
34112                }
34113                rel2 {
34114                   relative: 1.0 0.0;
34115                   offset: 0 10;
34116                   to_x: "elm.arrow";
34117                }
34118             }
34119          }
34120          part { name: "event";
34121             type: RECT;
34122             mouse_events: 1;
34123             description { state: "default" 0.0;
34124                rel1 {
34125                   to: "elm.arrow_icon";
34126                }
34127                rel2 {
34128                   to_x: "elm.arrow_icon";
34129                   to_y: "elm.arrow_bg";
34130                   offset: 0 0;
34131                }
34132                color: 0 0 0 0;
34133             }
34134             dragable {
34135                events: "elm.arrow";
34136             }
34137          }
34138          part { name: "elm.l_button";
34139             type: SWALLOW;
34140             mouse_events: 1;
34141             scale: 1;
34142             description { state: "default" 0.0;
34143                min: 24 24;
34144                fixed: 1 1;
34145                rel1 {
34146                   relative: 0.0 0.0;
34147                   to_y: "elm.bar_bg";
34148                }
34149                rel2 {
34150                   relative: 0.0 1.0;
34151                   to_y: "elm.bar_bg";
34152                }
34153                align: 0.0 0.5;
34154             }
34155          }
34156          part { name: "elm.r_button";
34157             type: SWALLOW;
34158             mouse_events: 1;
34159             scale: 1;
34160             description {
34161                state: "default" 0.0;
34162                min: 24 24;
34163                fixed: 1 1;
34164                rel1 {
34165                   relative: 1.0 0.0;
34166                   to_y: "elm.bar_bg";
34167                }
34168                rel2 {
34169                   relative: 1.0 1.0;
34170                   to_y: "elm.bar_bg";
34171                }
34172                align: 1.0 0.5;
34173             }
34174          }
34175       }
34176    }
34177
34178    group{ name: "elm/colorselector/image/colorbar_0";
34179       images {
34180          image: "color_picker_color.png" COMP;
34181       }
34182       parts {
34183          part { name: "colorbar_0_image";
34184             type: IMAGE;
34185             mouse_events: 1;
34186             description { state: "default" 0.0;
34187                rel2.offset: -1 -1;
34188                image.normal: "color_picker_color.png";
34189             }
34190          }
34191       }
34192    }
34193
34194    group { name: "elm/colorselector/image/colorbar_1";
34195       images {
34196          image: "color_picker_opacity.png" COMP;
34197       }
34198       parts {
34199          part { name: "colorbar_1_image";
34200             type: IMAGE;
34201             mouse_events: 1;
34202             description { state: "default" 0.0;
34203                rel2.offset: -1 -1;
34204                image.normal: "color_picker_opacity.png";
34205             }
34206          }
34207       }
34208    }
34209
34210    group { name: "elm/colorselector/image/colorbar_2";
34211       images {
34212          image: "color_picker_brightness.png" COMP;
34213       }
34214       parts {
34215          part { name: "colorbar_2_image";
34216             type: IMAGE;
34217             mouse_events: 1;
34218             description { state: "default" 0.0;
34219                rel2.offset: -1 -1;
34220                image.normal: "color_picker_brightness.png";
34221             }
34222          }
34223       }
34224    }
34225
34226    group { name: "elm/colorselector/image/colorbar_3";
34227       images {
34228          image: "color_picker_alpha.png" COMP;
34229       }
34230       parts {
34231          part { name: "colorbar_3_image";
34232             type: IMAGE;
34233             mouse_events: 1;
34234             description { state: "default" 0.0;
34235                rel2.offset: -1 -1;
34236                image.normal: "color_picker_alpha.png";
34237             }
34238          }
34239       }
34240    }
34241
34242    group { name: "elm/colorselector/bg_image/colorbar_3";
34243       images {
34244          image: "color_picker_alpha_bg.png" COMP;
34245       }
34246       parts {
34247          part { name: "colorbar_3_image";
34248             type: IMAGE;
34249             mouse_events: 1;
34250             description { state: "default" 0.0;
34251                rel2.offset: -1 -1;
34252                image.normal: "color_picker_alpha_bg.png";
34253             }
34254          }
34255       }
34256    }
34257
34258    group { name: "elm/colorselector/image/updown";
34259       images {
34260          image: "icon_arrow_down.png" COMP;
34261       }
34262       parts {
34263          part { name: "bg";
34264             type: RECT;
34265             mouse_events: 1;
34266             description { state: "default" 0.0;
34267                color: 0 0 0 0;
34268             }
34269          }
34270          part { name: "arrow_image";
34271             type: IMAGE;
34272             mouse_events: 1;
34273             description { state: "default" 0.0;
34274                image.normal: "icon_arrow_down.png";
34275             }
34276          }
34277       }
34278    }
34279
34280    group { name: "elm/colorselector/button/left";
34281       images {
34282          image: "bt_base1.png" COMP;
34283          image: "bt_shine.png" COMP;
34284          image: "sp_bt_l.png" COMP;
34285       }
34286       parts {
34287          part { name: "button_image";
34288             mouse_events: 1;
34289             description { state: "default" 0.0;
34290                image.normal: "bt_base1.png";
34291                image.border: 6 6 6 6;
34292                image.middle: SOLID;
34293             }
34294
34295             description { state: "clicked" 0.0;
34296                inherit: "default" 0.0;
34297                image.normal: "bt_shine.png";
34298                image.border: 6 6 6 6;
34299                image.middle: SOLID;
34300             }
34301          }
34302          part { name: "btn_over";
34303             type: IMAGE;
34304             mouse_events: 0;
34305             description { state: "default" 0.0;
34306                rel1.to: "button_image";
34307                rel2 {
34308                   relative: 1.0 0.5;
34309                   to: "button_image";
34310                }
34311                image {
34312                   normal: "bt_hilight.png";
34313                   border: 7 7 7 0;
34314                }
34315             }
34316          }
34317          part { name: "btn_over2";
34318             type: IMAGE;
34319             mouse_events: 1;
34320             repeat_events: 1;
34321             ignore_flags: ON_HOLD;
34322             description { state: "default" 0.0;
34323                rel1.to: "button_image";
34324                rel2.to: "button_image";
34325                image {
34326                   normal: "bt_shine.png";
34327                   border: 7 7 7 7;
34328                }
34329             }
34330          }
34331          part { name: "focus_image";
34332             type: IMAGE;
34333             description { state: "default" 0.0;
34334                color: 255 255 255 0;
34335                rel1.to: "button_image";
34336                rel2.to: "button_image";
34337                image {
34338                   normal: "bt_glow.png";
34339                   border: 12 12 12 12;
34340                }
34341                fill.smooth: 0;
34342
34343             }
34344             description { state: "clicked" 0.0;
34345                inherit: "default" 0.0;
34346                visible: 1;
34347                color: 255 255 255 255;
34348             }
34349          }
34350          part { name: "left_arrow";
34351             mouse_events: 1;
34352             description { state: "default" 0.0;
34353                min: 16 16;
34354                max: 16 16;
34355                image.normal: "sp_bt_l.png";
34356             }
34357          }
34358       }
34359
34360       programs {
34361          program {
34362             name:   "button_down";
34363             signal: "elm,state,left,button,down";
34364             source: "left_button";
34365             action: STATE_SET "clicked" 0.0;
34366             target: "button_image";
34367             target: "focus_image";
34368          }
34369          program {
34370             name:   "button_up";
34371             signal: "elm,state,left,button,up";
34372             source: "left_button";
34373             action: STATE_SET "default" 0.0;
34374             target: "button_image";
34375             target: "focus_image";
34376          }
34377       }
34378    }
34379
34380    group { name: "elm/colorselector/button/right";
34381       images {
34382          image: "bt_base1.png" COMP;
34383          image: "bt_shine.png" COMP;
34384          image: "sp_bt_r.png" COMP;
34385       }
34386       parts {
34387          part { name: "button_image";
34388             mouse_events: 1;
34389             description { state: "default" 0.0;
34390                image.normal: "bt_base1.png";
34391                image.border: 6 6 6 6;
34392                image.middle: SOLID;
34393             }
34394
34395             description { state: "clicked" 0.0;
34396                inherit: "default" 0.0;
34397                image.normal: "bt_shine.png";
34398                image.border: 6 6 6 6;
34399                image.middle: SOLID;
34400             }
34401          }
34402          part { name: "btn_over";
34403             type: IMAGE;
34404             mouse_events: 0;
34405             description { state: "default" 0.0;
34406                rel1.to: "button_image";
34407                rel2 {
34408                   relative: 1.0 0.5;
34409                   to: "button_image";
34410                }
34411                image {
34412                   normal: "bt_hilight.png";
34413                   border: 7 7 7 0;
34414                }
34415             }
34416          }
34417          part { name: "btn_over2";
34418             type: IMAGE;
34419             mouse_events: 1;
34420             repeat_events: 1;
34421             ignore_flags: ON_HOLD;
34422             description { state: "default" 0.0;
34423                rel1.to: "button_image";
34424                rel2.to: "button_image";
34425                image {
34426                   normal: "bt_shine.png";
34427                   border: 7 7 7 7;
34428                }
34429             }
34430          }
34431          part { name: "focus_image";
34432             type: IMAGE;
34433             description { state: "default" 0.0;
34434                color: 255 255 255 0;
34435                rel1.to: "button_image";
34436                rel2.to: "button_image";
34437                image {
34438                   normal: "bt_glow.png";
34439                   border: 12 12 12 12;
34440                }
34441                fill.smooth: 0;
34442
34443             }
34444             description { state: "clicked" 0.0;
34445                inherit: "default" 0.0;
34446                visible: 1;
34447                color: 255 255 255 255;
34448             }
34449          }
34450          part { name: "right_arrow";
34451             mouse_events: 1;
34452             description { state: "default" 0.0;
34453                min: 16 16;
34454                max: 16 16;
34455                image.normal: "sp_bt_r.png";
34456             }
34457          }
34458       }
34459
34460       programs {
34461          program {
34462             name:   "button_down";
34463             signal: "elm,state,right,button,down";
34464             source: "right_button";
34465             action: STATE_SET "clicked" 0.0;
34466             target: "button_image";
34467             target: "focus_image";
34468          }
34469          program {
34470             name:   "button_up";
34471             signal: "elm,state,right,button,up";
34472             source: "right_button";
34473             action: STATE_SET "default" 0.0;
34474             target: "button_image";
34475             target: "focus_image";
34476          }
34477       }
34478    }
34479
34480 ///////////////////////////////////////////////////////////////////////////////
34481 #define FLIP_PICKER_MAX_LEN (50)
34482 #define FLIP_PICKER_MAX_LEN_STR "50"
34483
34484    group { name: "elm/flipselector/base/default";
34485       images {
34486          image: "flip_base.png" COMP;
34487          image: "flip_base_shad.png" COMP;
34488          image: "flip_shad.png" COMP;
34489          image: "arrow_up.png" COMP;
34490          image: "arrow_down.png" COMP;
34491          image: "flip_t.png" COMP;
34492          image: "flip_b.png" COMP;
34493       }
34494
34495       data {
34496          item: "max_len" FLIP_PICKER_MAX_LEN_STR;
34497       }
34498
34499       //FIXME: quick successive clicks on, say, up, lead to nastiness
34500       script {
34501          public cur, prev, next, lock;
34502
34503          public animator_bottom_down(val, Float:pos) {
34504             new tmp[FLIP_PICKER_MAX_LEN];
34505
34506             set_tween_state(PART:"bottom", pos, "shrink", 0.0, "default", 0.0);
34507             set_tween_state(PART:"bottom_sheet", pos, "shrink", 0.0, "default",
34508                             0.0);
34509             set_tween_state(PART:"shadow", pos, "half", 0.0, "full",
34510                             0.0);
34511
34512             if (pos >= 1.0) {
34513                set_state(PART:"shadow", "default", 0.0);
34514                set_int(lock, 0);
34515
34516                fetch_str(next, 0, tmp, FLIP_PICKER_MAX_LEN);
34517                if (strncmp(tmp, "", FLIP_PICKER_MAX_LEN) != 0) {
34518                   replace_str(next, 0, "");
34519                   message(MSG_STRING, 1, tmp);
34520                }
34521             }
34522          }
34523
34524          public animator_top_down(val, Float:pos) {
34525             set_tween_state(PART:"top", pos, "default", 0.0, "shrink", 0.0);
34526             set_tween_state(PART:"top_sheet", pos, "default", 0.0, "shrink",
34527                             0.0);
34528             set_tween_state(PART:"shadow", pos, "default", 0.0, "half",
34529                             0.0);
34530
34531             if (pos >= 1.0)
34532                anim(0.2, "animator_bottom_down", val);
34533          }
34534
34535          public animator_bottom_up(val, Float:pos) {
34536             set_tween_state(PART:"bottom", pos, "default", 0.0, "shrink", 0.0);
34537             set_tween_state(PART:"bottom_sheet", pos, "default", 0.0, "shrink",
34538                             0.0);
34539             set_tween_state(PART:"shadow", pos, "full", 0.0, "half",
34540                             0.0);
34541
34542             if (pos >= 1.0)
34543                anim(0.2, "animator_top_up", val);
34544          }
34545
34546          public animator_top_up(val, Float:pos) {
34547             new tmp[FLIP_PICKER_MAX_LEN];
34548
34549             set_tween_state(PART:"top", pos, "shrink", 0.0, "default", 0.0);
34550             set_tween_state(PART:"top_sheet", pos, "shrink", 0.0, "default",
34551                             0.0);
34552             set_tween_state(PART:"shadow", pos, "half", 0.0, "default",
34553                             0.0);
34554
34555             if (pos >= 1.0) {
34556                set_state(PART:"shadow", "default", 0.0);
34557                set_int(lock, 0);
34558
34559                fetch_str(next, 0, tmp, FLIP_PICKER_MAX_LEN);
34560                if (strncmp(tmp, "", FLIP_PICKER_MAX_LEN) != 0) {
34561                   replace_str(next, 0, "");
34562                   message(MSG_STRING, 2, tmp);
34563                }
34564             }
34565          }
34566
34567          public message(Msg_Type:type, id, ...) {
34568             /* flip down */
34569             if ((type == MSG_STRING) && (id == 1)) {
34570                new value[FLIP_PICKER_MAX_LEN], tmp[FLIP_PICKER_MAX_LEN];
34571
34572                snprintf(value, FLIP_PICKER_MAX_LEN, "%s", getarg(2));
34573
34574                if (get_int(lock) == 1) {
34575                   replace_str(next, 0, value);
34576                   return;
34577                }
34578
34579                fetch_str(cur, 0, tmp, FLIP_PICKER_MAX_LEN);
34580
34581                set_text(PART:"bottom_b", tmp);
34582
34583                set_state(PART:"top", "shrink", 0.0);
34584                set_text(PART:"top", tmp);
34585                set_state(PART:"top", "default", 0.0);
34586                set_text(PART:"top", tmp);
34587
34588                replace_str(prev, 0, tmp);
34589
34590                set_state(PART:"bottom", "default", 0.0);
34591                set_text(PART:"bottom", value);
34592                set_state(PART:"bottom", "shrink", 0.0);
34593                set_text(PART:"bottom", value);
34594
34595                set_text(PART:"top_b", value);
34596
34597                replace_str(cur, 0, value);
34598
34599                set_state(PART:"bottom_sheet", "shrink", 0.0);
34600                set_state(PART:"top_sheet", "default", 0.0);
34601
34602                set_int(lock, 1);
34603                set_state(PART:"shadow", "default", 0.0);
34604                anim(0.2, "animator_top_down", 1);
34605             }
34606
34607             /* flip up */
34608             if ((type == MSG_STRING) && (id == 2)) {
34609                new value[FLIP_PICKER_MAX_LEN], tmp[FLIP_PICKER_MAX_LEN];
34610
34611                snprintf(value, FLIP_PICKER_MAX_LEN, "%s", getarg(2));
34612
34613                if (get_int(lock) == 1) {
34614                   replace_str(next, 0, value);
34615                   return;
34616                }
34617
34618                fetch_str(cur, 0, tmp, FLIP_PICKER_MAX_LEN);
34619
34620                set_text(PART:"top_b", tmp);
34621
34622                set_state(PART:"bottom", "shrink", 0.0);
34623                set_text(PART:"bottom", tmp);
34624                set_state(PART:"bottom", "default", 0.0);
34625                set_text(PART:"bottom", tmp);
34626
34627                replace_str(prev, 0, tmp);
34628
34629                set_state(PART:"top", "default", 0.0);
34630                set_text(PART:"top", value);
34631                set_state(PART:"top", "shrink", 0.0);
34632                set_text(PART:"top", value);
34633
34634                set_text(PART:"bottom_b", value);
34635
34636                replace_str(cur, 0, value);
34637
34638                set_state(PART:"bottom_sheet", "default", 0.0);
34639                set_state(PART:"top_sheet", "shrink", 0.0);
34640
34641                set_int(lock, 1);
34642                set_state(PART:"shadow", "full", 0.0);
34643                anim(0.2, "animator_bottom_up", 1);
34644             }
34645          }
34646       }
34647
34648       parts {
34649          part { name: "shad";
34650             mouse_events: 0;
34651             description { state: "default" 0.0;
34652                rel1.offset: -4 -4;
34653                rel1.to: "base";
34654                rel2.offset: 3 3;
34655                rel2.to: "base";
34656                image {
34657                   normal: "flip_base_shad.png";
34658                   border: 8 8 8 8;
34659                }
34660             }
34661          }
34662
34663          part { name: "base";
34664             scale: 1;
34665             description { state: "default" 0.0;
34666                rel1.offset: 4 4;
34667                rel2.offset: -5 -5;
34668                min: 24 48;
34669                image.normal: "flip_base.png";
34670             }
34671          }
34672
34673          part { name: "b";
34674             type: RECT;
34675             mouse_events: 1;
34676             description { state: "default" 0.0;
34677                rel1.to: "base";
34678                rel1.relative: 0.0 0.5;
34679                rel2.to: "base";
34680                color: 0 0 0 0;
34681             }
34682             description { state: "hidden" 0.0;
34683                inherit: "default" 0.0;
34684                visible: 0;
34685             }
34686          }
34687
34688          part { name: "t";
34689             type: RECT;
34690             mouse_events: 1;
34691             description { state: "default" 0.0;
34692                rel1.to: "base";
34693                rel2.to: "base";
34694                rel2.relative: 1.0 0.5;
34695                color: 0 0 0 0;
34696             }
34697             description { state: "hidden" 0.0;
34698                inherit: "default" 0.0;
34699                visible: 0;
34700             }
34701          }
34702
34703          part { name: "bottom_sheet_static";
34704             mouse_events: 0;
34705             description { state: "default" 0.0;
34706                visible: 1;
34707                rel1.to: "b";
34708                rel2.to: "b";
34709                image.normal: "flip_b.png";
34710             }
34711          }
34712
34713          part { name: "bottom_b";
34714             mouse_events: 0;
34715             clip_to: "bottom_clipper";
34716             type: TEXT;
34717             scale: 1;
34718             description { state: "default" 0.0;
34719                rel1.to: "base";
34720                rel2.to: "base";
34721                color: 0 0 0 255;
34722                color2: 0 0 0 255;
34723                text {
34724                   font: "Sans:style=Bold,Edje-Vera-Bold";
34725                   size: 30;
34726                   min: 1 1;
34727                   align: 0.5 0.5;
34728                }
34729             }
34730          }
34731
34732          part { name: "shadow";
34733             mouse_events: 0;
34734             description { state: "default" 0.0;
34735                rel1.to: "b";
34736                rel2.to: "b";
34737                rel2.relative: 1.0 0.0;
34738                image.normal: "flip_shad.png";
34739             }
34740             description { state: "half" 0.0;
34741                inherit: "default" 0.0;
34742                rel2.relative: 1.0 0.5;
34743             }
34744             description { state: "full" 0.0;
34745                inherit: "default" 0.0;
34746                rel2.relative: 1.0 1.0;
34747             }
34748          }
34749
34750          part { name: "bottom_sheet";
34751             mouse_events: 0;
34752             description { state: "default" 0.0;
34753                visible: 1;
34754                rel1.to: "b";
34755                rel2.to: "b";
34756                image.normal: "flip_b.png";
34757             }
34758             description { state: "shrink" 0.0;
34759                inherit: "default" 0.0;
34760                visible: 0;
34761                rel2.relative: 1.0 0.0;
34762             }
34763          }
34764
34765          part { name: "bottom";
34766             mouse_events: 0;
34767             clip_to: "bottom_clipper";
34768             type: TEXT;
34769             scale: 1;
34770             description { state: "default" 0.0;
34771                rel1.to: "base";
34772                rel2.to: "base";
34773                color: 0 0 0 255;
34774                color2: 0 0 0 255;
34775                text {
34776                   font: "Sans:style=Bold,Edje-Vera-Bold";
34777                   size: 30;
34778                   min: 1 1;
34779                   align: 0.5 0.5;
34780                }
34781             }
34782             description { state: "shrink" 0.0;
34783                inherit: "default" 0.0;
34784                color: 128 128 128 255;
34785                visible: 0;
34786                rel2.relative: 1.0 0.5; /* FIXME: same visual effect? --> MAP! */
34787             }
34788          }
34789
34790          part { name: "top_sheet_static";
34791             mouse_events: 0;
34792             description { state: "default" 0.0;
34793                visible: 1;
34794                rel1.to: "t";
34795                rel2.to: "t";
34796                image.normal: "flip_t.png";
34797             }
34798          }
34799
34800          part { name: "top_b";
34801             mouse_events: 0;
34802             clip_to: "top_clipper";
34803             type: TEXT;
34804             scale: 1;
34805             description { state: "default" 0.0;
34806                rel1.to: "base";
34807                rel2.to: "base";
34808                color: 0 0 0 255;
34809                color2: 0 0 0 255;
34810                text {
34811                   font: "Sans:style=Bold,Edje-Vera-Bold";
34812                   size: 30;
34813                   min: 1 1;
34814                   align: 0.5 0.5;
34815                   source: "top";
34816                }
34817             }
34818          }
34819
34820          part { name: "top_sheet";
34821             mouse_events: 0;
34822             description { state: "default" 0.0;
34823                visible: 1;
34824                rel1.to: "t";
34825                rel2.to: "t";
34826                image.normal: "flip_t.png";
34827             }
34828             description { state: "shrink" 0.0;
34829                inherit: "default" 0.0;
34830                color: 128 128 128 255;
34831                visible: 0;
34832                rel1.relative: 0.0 1.0;
34833             }
34834          }
34835
34836          part { name: "top";
34837             mouse_events: 0;
34838             clip_to: "top_clipper";
34839             type: TEXT;
34840             scale: 1;
34841             description { state: "default" 0.0;
34842                rel1.to: "base";
34843                rel2.to: "base";
34844                color: 0 0 0 255;
34845                color2: 0 0 0 255;
34846                text {
34847                   font: "Sans:style=Bold,Edje-Vera-Bold";
34848                   size: 30;
34849                   min: 1 1;
34850                   align: 0.5 0.5;
34851                }
34852             }
34853             description { state: "shrink" 0.0;
34854                inherit: "default" 0.0;
34855                visible: 0;
34856                rel1.relative: 0.0 0.5;
34857             }
34858          }
34859
34860          part { name: "arrow_top";
34861             mouse_events: 0;
34862             scale: 1;
34863             description { state: "default" 0.0;
34864                min: 15 15;
34865                max: 15 15;
34866                align: 0.5 0.0;
34867                rel1.to: "t";
34868                rel2.to: "t";
34869                image.normal: "arrow_up.png";
34870             }
34871             description { state: "hidden" 0.0;
34872                inherit: "default" 0.0;
34873                visible: 0;
34874             }
34875          }
34876          part { name: "arrow_bottom";
34877             mouse_events: 0;
34878             scale: 1;
34879             description { state: "default" 0.0;
34880                min: 15 15;
34881                max: 15 15;
34882                align: 0.5 1.0;
34883                rel1.to: "b";
34884                rel2.to: "b";
34885                image.normal: "arrow_down.png";
34886             }
34887             description { state: "hidden" 0.0;
34888                inherit: "default" 0.0;
34889                visible: 0;
34890             }
34891          }
34892
34893          part {
34894             type: RECT;
34895             mouse_events: 0;
34896             name: "top_clipper";
34897             description {
34898                state: "default" 0.0;
34899                rel1.to: "t";
34900                rel2.to: "t";
34901                visible: 1;
34902             }
34903          }
34904
34905          part {
34906             type: RECT;
34907             mouse_events: 0;
34908             name: "bottom_clipper";
34909             description {
34910                state: "default" 0.0;
34911                rel1.to: "b";
34912                rel2.to: "b";
34913                visible: 1;
34914             }
34915          }
34916       }
34917
34918       programs {
34919          program { name: "load";
34920             signal: "load";
34921             source: "";
34922             script {
34923                append_str(cur, "");
34924                append_str(prev, "");
34925                append_str(next, "");
34926                set_int(lock, 0);
34927             }
34928          }
34929
34930          program { name: "hide_arrows";
34931             signal: "elm,state,button,hidden";
34932             source: "elm";
34933             action: STATE_SET "hidden" 0.0;
34934             target: "arrow_top";
34935             target: "arrow_bottom";
34936             target: "t";
34937             target: "b";
34938          }
34939
34940          program { name: "show_arrows";
34941             signal: "elm,state,button,visible";
34942             source: "elm";
34943             action: STATE_SET "default" 0.0;
34944             target: "arrow_top";
34945             target: "arrow_bottom";
34946             target: "t";
34947             target: "b";
34948          }
34949
34950          program { name: "up";
34951             signal: "mouse,down,1";
34952             source: "t";
34953             action: SIGNAL_EMIT "elm,action,up,start" "";
34954          }
34955          program { name: "up,stop";
34956             signal: "mouse,up,1";
34957             source: "t";
34958             action: SIGNAL_EMIT "elm,action,up,stop" "";
34959          }
34960          program { name: "down";
34961             signal: "mouse,down,1";
34962             source: "b";
34963             action: SIGNAL_EMIT "elm,action,down,start" "";
34964          }
34965          program { name: "down,stop";
34966             signal: "mouse,up,1";
34967             source: "b";
34968             action: SIGNAL_EMIT "elm,action,down,stop" "";
34969          }
34970       }
34971    }
34972
34973 ////////////////////////////////////////////////////////////////////////////////
34974 // diskselector
34975 ////////////////////////////////////////////////////////////////////////////////
34976    group { name: "elm/diskselector/base/default";
34977       images {
34978          image: "bar_shine.png" COMP;
34979       }
34980
34981       parts {
34982          part { name: "bg";
34983             type: RECT;
34984             mouse_events: 0;
34985             description { state: "default" 0.0;
34986                color: 0 0 0 255;
34987             }
34988          }
34989          part { name: "shine_left";
34990             mouse_events:  0;
34991             description { state: "default" 0.0;
34992                rel1.to: "bg";
34993                rel1.relative: -0.1 0;
34994                rel2.to: "bg";
34995                rel2.relative: 0.1 1;
34996                image.normal: "bar_shine.png";
34997                color: 255 255 255 120;
34998             }
34999          }
35000          part { name: "shine_center";
35001             mouse_events:  0;
35002             description { state: "default" 0.0;
35003                rel1.to: "bg";
35004                rel1.relative: 0.2 0;
35005                rel2.to: "bg";
35006                rel2.relative: 0.8 1;
35007                image.normal: "bar_shine.png";
35008                color: 255 255 255 180;
35009             }
35010          }
35011          part { name: "shine_right";
35012             mouse_events:  0;
35013             description { state: "default" 0.0;
35014                rel1.to: "bg";
35015                rel1.relative: 0.9 0;
35016                rel2.to: "bg";
35017                rel2.relative: 1.1 1;
35018                image.normal: "bar_shine.png";
35019                color: 255 255 255 120;
35020             }
35021          }
35022          part { name: "clipper";
35023             type: RECT;
35024             mouse_events: 0;
35025             description { state: "default" 0.0;
35026                rel1.to: "bg";
35027                rel2.to: "bg";
35028                rel1.offset: 2 2;
35029                rel2.offset: -3 -3;
35030             }
35031          }
35032          part { name: "elm.swallow.content";
35033             clip_to: "clipper";
35034             type: SWALLOW;
35035             description { state: "default" 0.0;
35036                rel1.to: "bg";
35037                rel2.to: "bg";
35038             }
35039          }
35040       }
35041    }
35042
35043    group { name: "elm/diskselector/item/default";
35044
35045       data {
35046          item: "len_threshold" "14";
35047       }
35048
35049       parts {
35050          part { name: "elm.swallow.icon";
35051             type: SWALLOW;
35052             description { state: "default" 0.0;
35053                fixed: 1 0;
35054                align: 0.0 0.5;
35055                rel1 {
35056                   relative: 0 0;
35057                   offset: 4 4;
35058                }
35059                rel2 {
35060                   relative: 0 1;
35061                   offset: 4 -5;
35062                }
35063             }
35064             description { state: "show" 0.0;
35065                inherit: "default" 0.0;
35066             }
35067             description { state: "default_small" 0.0;
35068                inherit: "default" 0.0;
35069                rel1.relative: 0 0.2;
35070                rel2.relative: 0 0.8;
35071             }
35072             description { state: "left_side" 0.0;
35073                inherit: "default" 0.0;
35074                rel1.relative: 0 0.2;
35075                rel2.relative: 0 0.8;
35076                color: 255 255 255 160;
35077             }
35078             description { state: "right_side" 0.0;
35079                inherit: "left_side" 0.0;
35080                rel1.relative: 0.4 0.2;
35081                rel2.relative: 0.4 0.8;
35082                color: 255 255 255 160;
35083             }
35084          }
35085          part { name: "elm.text";
35086             type: TEXT;
35087             mouse_events: 0;
35088             scale: 1;
35089             description { state: "default" 0.0;
35090                rel1.relative: 1 0.0;
35091                rel1.to_x: "elm.swallow.icon";
35092                rel2.relative: 1.0 1.0;
35093                color: 255 255 255 255;
35094                visible: 0;
35095                text {
35096                   font: "Sans,Edje-Vera";
35097                   size: 13;
35098                   align: 0.5 0.5;
35099                   min: 0 1;
35100                }
35101             }
35102             description { state: "show" 0.0;
35103                inherit: "default" 0.0;
35104                visible: 1;
35105             }
35106             description { state: "default_small" 0.0;
35107                inherit: "default" 0.0;
35108                visible: 1;
35109                text.size: 10;
35110             }
35111             description { state: "left_side" 0.0;
35112                inherit: "default" 0.0;
35113                color: 172 172 172 255;
35114                text.size: 10;
35115                visible: 1;
35116                text.align: 0.2 0.5;
35117             }
35118             description { state: "right_side" 0.0;
35119                inherit: "default" 0.0;
35120                color: 172 172 172 255;
35121                visible: 1;
35122                text.size: 10;
35123                text.align: 0.8 0.5;
35124             }
35125          }
35126       }
35127
35128       programs {
35129          program { name: "center_text";
35130             signal: "elm,state,center";
35131             source: "elm";
35132             action: STATE_SET "show" 0.0;
35133             target: "elm.text";
35134             target: "elm.swallow.icon";
35135          }
35136          program { name: "center_small_text";
35137             signal: "elm,state,center_small";
35138             source: "elm";
35139             action: STATE_SET "default_small" 0.0;
35140             target: "elm.text";
35141             target: "elm.swallow.icon";
35142          }
35143          program { name: "l_side_text";
35144             signal: "elm,state,left_side";
35145             source: "elm";
35146             action: STATE_SET "left_side" 0.0;
35147             target: "elm.text";
35148             target: "elm.swallow.icon";
35149          }
35150          program { name: "r_side_text";
35151             signal: "elm,state,right_side";
35152             source: "elm";
35153             action: STATE_SET "right_side" 0.0;
35154             target: "elm.text";
35155             target: "elm.swallow.icon";
35156          }
35157       }
35158    }
35159
35160    group { name: "elm/entry/path/separator/default";
35161       images.image: "arrow_right.png" COMP;
35162       parts {
35163          part { name: "icon";
35164             mouse_events: 0;
35165             description { state: "default" 0.0;
35166                image.normal: "arrow_right.png";
35167                max: 64 64;
35168                aspect: 1.0 1.0;
35169             }
35170          }
35171       }
35172    }
35173
35174    group { name: "elm/fileselector/base/default";
35175       data {
35176          item: "path_separator" "<item relsize=16x16 vsize=full href=path/separator></item>";
35177       }
35178       parts {
35179          part { name: "elm.swallow.up";
35180             type: SWALLOW;
35181             description { state: "default" 0.0;
35182                align: 0.0 0.0;
35183                min: 10 10;
35184                fixed: 1 1;
35185                rel2 {
35186                   relative: 0.0 0.0;
35187                   offset: 0 0;
35188                }
35189             }
35190          }
35191          part { name: "elm.swallow.home";
35192             type: SWALLOW;
35193             description { state: "default" 0.0;
35194                align: 0.0 0.0;
35195                min: 10 10;
35196                fixed: 1 1;
35197                rel1 {
35198                   to: "elm.swallow.up";
35199                   relative: 1.0 0.0;
35200                   offset: 5 0;
35201                }
35202                rel2 {
35203                   to: "elm.swallow.up";
35204                   relative: 1.0 1.0;
35205                   offset: 20 -1;
35206                }
35207             }
35208          }
35209          part { name: "elm.swallow.files";
35210             type: SWALLOW;
35211             description { state: "default" 0.0;
35212                align: 1.0 0.0;
35213                min: 10 10;
35214                fixed: 1 1;
35215                rel1 {
35216                   to_y: "elm.swallow.home";
35217                   relative: 0.0 1.0;
35218                   offset: 0 0;
35219                }
35220                rel2 {
35221                   to_y: "elm.swallow.path";
35222                   relative: 1.0 0.0;
35223                   offset: -1 -1;
35224                }
35225             }
35226          }
35227          part { name: "elm.swallow.path";
35228             type: SWALLOW;
35229             description { state: "default" 0.0;
35230                align: 0.5 1.0;
35231                fixed: 1 1;
35232                rel1 {
35233                   to_y: "elm.swallow.filename";
35234                   relative: 0.0 0.0;
35235                   offset: 0 -1;
35236                }
35237                rel2 {
35238                   to_y: "elm.swallow.filename";
35239                   relative: 1.0 0.0;
35240                   offset: -1 -1;
35241                }
35242             }
35243          }
35244          part { name: "elm.swallow.filename";
35245             type: SWALLOW;
35246             description { state: "default" 0.0;
35247                align: 0.5 1.0;
35248                fixed: 1 1;
35249                rel1 {
35250                   to_y: "elm.swallow.ok";
35251                   relative: 0.0 0.0;
35252                   offset: 0 -1;
35253                }
35254                rel2 {
35255                   to_y: "elm.swallow.ok";
35256                   relative: 1.0 0.0;
35257                   offset: -1 -1;
35258                }
35259             }
35260          }
35261          part { name: "elm.swallow.cancel";
35262             type: SWALLOW;
35263             description { state: "default" 0.0;
35264                align: 1.0 1.0;
35265                fixed: 1 1;
35266                rel1 {
35267                   to: "elm.swallow.ok";
35268                   relative: 0.0 0.0;
35269                   offset: -3 0;
35270                }
35271                rel2 {
35272                   to: "elm.swallow.ok";
35273                   relative: 0.0 1.0;
35274                   offset: -3 -1;
35275                }
35276             }
35277          }
35278          part { name: "elm.swallow.ok";
35279             type: SWALLOW;
35280             description { state: "default" 0.0;
35281                align: 1.0 1.0;
35282                fixed: 1 1;
35283                rel1 {
35284                   relative: 1.0 1.0;
35285                   offset: -1 -1;
35286                }
35287             }
35288          }
35289       }
35290    }
35291
35292    group { name: "elm/fileselector_entry/base/default";
35293       parts {
35294          part { name: "elm.swallow.entry";
35295             type: SWALLOW;
35296             description { state: "default" 0.0;
35297                align: 0.0 0.0;
35298                min: 50 10;
35299                rel2 { to_x: "elm.swallow.button";
35300                   relative: 0.0 1.0;
35301                   offset: -1 -1;
35302                }
35303             }
35304          }
35305          part { name: "elm.swallow.button";
35306             type: SWALLOW;
35307             description { state: "default" 0.0;
35308                align: 1.0 0.0;
35309                min: 10 10;
35310                fixed: 1 1;
35311                rel1 {
35312                   relative: 1.0 0.0;
35313                   offset: -21 0;
35314                }
35315             }
35316          }
35317       }
35318    }
35319
35320 ////////////////////////////////////////////////////////////////////////
35321 // Standard layouts to be used                                        //
35322 ////////////////////////////////////////////////////////////////////////
35323    /* application with toolbar and main content area */
35324    group { name: "elm/layout/application/toolbar-content";
35325       parts {
35326          part { name: "elm.swallow.content";
35327             type: SWALLOW;
35328             description { state: "default" 0.0;
35329                rel1 { to_y: "elm.external.toolbar";
35330                   relative: 0.0 1.0;
35331                   offset: -1 1;
35332                }
35333             }
35334          }
35335
35336          part { name: "elm.external.toolbar";
35337             type: EXTERNAL;
35338             source: "elm/toolbar";
35339             description { state: "default" 0.0;
35340                align: 0.5 0.0;
35341                fixed: 0 1;
35342                rel2 {
35343                   relative: 1.0 0.0;
35344                   offset: -1 47;
35345                }
35346             }
35347          }
35348       }
35349    }
35350
35351    /* application with toolbar and main content area with a back button and title area */
35352    group { name: "elm/layout/application/toolbar-content-back";
35353       parts {
35354          part { name: "elm.swallow.content";
35355             type: SWALLOW;
35356             description { state: "default" 0.0;
35357                rel1 { to_y: "title_clipper";
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                fixed: 0 1;
35369                align: 0.5 0.0;
35370                rel2 {
35371                   relative: 1.0 0.0;
35372                   offset: -1 47;
35373                }
35374             }
35375          }
35376          part { name: "title_clipper";
35377             type: RECT;
35378             description { state: "default" 0.0;
35379                visible: 1;
35380                rel1 {
35381                   to_y: "back";
35382                }
35383                rel2 {
35384                   to_y: "back";
35385                }
35386             }
35387             description { state: "hidden" 0.0;
35388                inherit: "default" 0.0;
35389                visible: 0;
35390                rel2 {
35391                   relative: 1.0 0.0;
35392                }
35393             }
35394          }
35395          part { name: "back_clipper";
35396             type: RECT;
35397             clip_to: "title_clipper";
35398             description { state: "default" 0.0;
35399                visible: 1;
35400             }
35401             description { state: "hidden" 0.0;
35402                visible: 0;
35403             }
35404          }
35405          part { name: "back";
35406             type: EXTERNAL;
35407             source: "elm/button";
35408             clip_to: "back_clipper";
35409             description { state: "default" 0.0;
35410                align: 0.0 0.0;
35411                fixed: 1 1;
35412                rel1 { to_y: "elm.external.toolbar";
35413                   relative: 0.0 1.0;
35414                   offset: 0 1;
35415                }
35416                rel2 { to_y: "elm.external.toolbar";
35417                   relative: 0.0 1.0;
35418                   offset: 50 32;
35419                }
35420                params.string: "label" "Back";
35421             }
35422          }
35423          programs {
35424             program {
35425                signal: "clicked";
35426                source: "back";
35427                action: SIGNAL_EMIT "elm,action,back" "";
35428             }
35429             program {
35430                signal: "elm,back,hide";
35431                source: "elm";
35432                action: STATE_SET "hidden" 0.0;
35433                target: "back_clipper";
35434             }
35435             program {
35436                signal: "elm,back,show";
35437                source: "elm";
35438                action: STATE_SET "default" 0.0;
35439                target: "back_clipper";
35440             }
35441             program {
35442                signal: "elm,title,hide";
35443                source: "elm";
35444                action: STATE_SET "hidden" 0.0;
35445                transition: LINEAR 0.1;
35446                target: "title_clipper";
35447             }
35448             program {
35449                signal: "elm,title,show";
35450                source: "elm";
35451                action: STATE_SET "default" 0.0;
35452                target: "title_clipper";
35453             }
35454          }
35455
35456          part { name: "elm.swallow.end";
35457             type: SWALLOW;
35458             description { state: "default" 0.0;
35459                align: 1.0 0.0;
35460                fixed: 1 1;
35461                rel1 { to_y: "elm.external.toolbar";
35462                   relative: 1.0 1.0;
35463                   offset: -2 1;
35464                }
35465                rel2 { to_y: "elm.external.toolbar";
35466                   relative: 1.0 1.0;
35467                   offset: -1 32;
35468                }
35469             }
35470          }
35471
35472          part { name: "elm.text.title";
35473             type: TEXT;
35474             effect: SOFT_SHADOW;
35475             scale: 1;
35476             description { state: "default" 0.0;
35477                rel1 { to_y: "elm.external.toolbar";
35478                   to_x: "back";
35479                   relative: 1.0 1.0;
35480                   offset: 2 1;
35481                }
35482                rel2 { to_y: "back";
35483                   to_x: "elm.swallow.end";
35484                   relative: 0.0 1.0;
35485                   offset: -3 -1;
35486                }
35487                text {
35488                   font: "Sans:style=Bold";
35489                   size: 12;
35490                }
35491             }
35492          }
35493       }
35494    }
35495
35496    /* application with toolbar and main content area with a back and next buttons and title area */
35497    group { name: "elm/layout/application/toolbar-content-back-next";
35498       parts {
35499          part { name: "elm.swallow.content";
35500             type: SWALLOW;
35501             description { state: "default" 0.0;
35502                rel1 { to_y: "title_clipper";
35503                   relative: 0.0 1.0;
35504                   offset: -1 1;
35505                }
35506             }
35507          }
35508
35509          part { name: "elm.external.toolbar";
35510             type: EXTERNAL;
35511             source: "elm/toolbar";
35512             description { state: "default" 0.0;
35513                fixed: 0 1;
35514                align: 0.5 0.0;
35515                rel2 {
35516                   relative: 1.0 0.0;
35517                   offset: -1 47;
35518                }
35519             }
35520          }
35521          part { name: "title_clipper";
35522             type: RECT;
35523             description { state: "default" 0.0;
35524                visible: 1;
35525                rel1 {
35526                   to_y: "back";
35527                }
35528                rel2 {
35529                   to_y: "back";
35530                }
35531             }
35532             description { state: "hidden" 0.0;
35533                inherit: "default" 0.0;
35534                visible: 0;
35535                rel2 {
35536                   relative: 1.0 0.0;
35537                }
35538             }
35539          }
35540          part { name: "back";
35541             type: EXTERNAL;
35542             source: "elm/button";
35543             clip_to: "back_clipper";
35544             description { state: "default" 0.0;
35545                align: 0.0 0.0;
35546                fixed: 1 1;
35547                rel1 { to_y: "elm.external.toolbar";
35548                   relative: 0.0 1.0;
35549                   offset: 0 1;
35550                }
35551                rel2 { to_y: "elm.external.toolbar";
35552                   relative: 0.0 1.0;
35553                   offset: 50 32;
35554                }
35555                params.string: "label" "Back";
35556             }
35557          }
35558          part { name: "back_clipper";
35559             type: RECT;
35560             clip_to: "title_clipper";
35561             description { state: "default" 0.0;
35562                visible: 1;
35563             }
35564             description { state: "hidden" 0.0;
35565                visible: 0;
35566             }
35567          }
35568          part { name: "next";
35569             type: EXTERNAL;
35570             source: "elm/button";
35571             clip_to: "next_clipper";
35572             description { state: "default" 0.0;
35573                align: 1.0 0.0;
35574                fixed: 1 1;
35575                rel1 { to_y: "elm.external.toolbar";
35576                   relative: 1.0 1.0;
35577                   offset: -2 1;
35578                }
35579                rel2 { to_y: "elm.external.toolbar";
35580                   relative: 1.0 1.0;
35581                   offset: -1 32;
35582                }
35583                params.string: "label" "Next";
35584            }
35585          }
35586          part { name: "next_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          programs {
35597             program {
35598                signal: "clicked";
35599                source: "back";
35600                action: SIGNAL_EMIT "elm,action,back" "";
35601             }
35602             program {
35603                signal: "elm,title,hide";
35604                source: "elm";
35605                action: STATE_SET "hidden" 0.0;
35606                transition: LINEAR 0.1;
35607                target: "title_clipper";
35608             }
35609             program {
35610                signal: "elm,title,show";
35611                source: "elm";
35612                action: STATE_SET "default" 0.0;
35613                target: "title_clipper";
35614             }
35615             program {
35616                signal: "elm,back,hide";
35617                source: "elm";
35618                action: STATE_SET "hidden" 0.0;
35619                target: "back_clipper";
35620             }
35621             program {
35622                signal: "elm,back,show";
35623                source: "elm";
35624                action: STATE_SET "default" 0.0;
35625                target: "back_clipper";
35626             }
35627             program {
35628                signal: "clicked";
35629                source: "next";
35630                action: SIGNAL_EMIT "elm,action,next" "";
35631             }
35632             program {
35633                signal: "elm,next,hide";
35634                source: "elm";
35635                action: STATE_SET "hidden" 0.0;
35636                target: "next_clipper";
35637             }
35638             program {
35639                signal: "elm,next,show";
35640                source: "elm";
35641                action: STATE_SET "default" 0.0;
35642                target: "next_clipper";
35643             }
35644          }
35645          part { name: "elm.text.title";
35646             type: TEXT;
35647             effect: SOFT_SHADOW;
35648             scale: 1;
35649             clip_to: "title_clipper";
35650             description { state: "default" 0.0;
35651                rel1 { to_y: "elm.external.toolbar";
35652                   to_x: "back";
35653                   relative: 1.0 1.0;
35654                   offset: 2 1;
35655                }
35656                rel2 { to_y: "back";
35657                   to_x: "next";
35658                   relative: 0.0 1.0;
35659                   offset: -3 -1;
35660                }
35661                text {
35662                   font: "Sans:style=Bold";
35663                   size: 12;
35664                }
35665             }
35666          }
35667       }
35668    }
35669    /* application with a main content area with a back button and title area */
35670    group { name: "elm/layout/application/content-back";
35671       parts {
35672          part { name: "elm.swallow.content";
35673             type: SWALLOW;
35674             description { state: "default" 0.0;
35675                rel1 { to_y: "title_clipper";
35676                   relative: 0.0 1.0;
35677                   offset: -1 1;
35678                }
35679             }
35680          }
35681          part { name: "title_clipper";
35682             type: RECT;
35683             description { state: "default" 0.0;
35684                visible: 1;
35685                rel1 {
35686                   to_y: "back";
35687                }
35688                rel2 {
35689                   to_y: "back";
35690                }
35691             }
35692             description { state: "hidden" 0.0;
35693                inherit: "default" 0.0;
35694                visible: 0;
35695                rel2 {
35696                   relative: 1.0 0.0;
35697                }
35698             }
35699          }
35700          part { name: "back_clipper";
35701             type: RECT;
35702             clip_to: "title_clipper";
35703             description { state: "default" 0.0;
35704                visible: 1;
35705             }
35706             description { state: "hidden" 0.0;
35707                visible: 0;
35708             }
35709          }
35710          part { name: "back";
35711             type: EXTERNAL;
35712             source: "elm/button";
35713             clip_to: "back_clipper";
35714             description { state: "default" 0.0;
35715                align: 0.0 0.0;
35716                fixed: 1 1;
35717                rel1 {
35718                   relative: 0.0 0.0;
35719                   offset: 0 1;
35720                }
35721                rel2 {
35722                   relative: 0.0 0.0;
35723                   offset: 50 32;
35724                }
35725                params.string: "label" "Back";
35726             }
35727          }
35728          programs {
35729             program {
35730                signal: "clicked";
35731                source: "back";
35732                action: SIGNAL_EMIT "elm,action,back" "";
35733             }
35734             program {
35735                signal: "elm,back,hide";
35736                source: "elm";
35737                action: STATE_SET "hidden" 0.0;
35738                target: "back_clipper";
35739             }
35740             program {
35741                signal: "elm,back,show";
35742                source: "elm";
35743                action: STATE_SET "default" 0.0;
35744                target: "back_clipper";
35745             }
35746             program {
35747                signal: "elm,title,hide";
35748                source: "elm";
35749                action: STATE_SET "hidden" 0.0;
35750                transition: LINEAR 0.1;
35751                target: "title_clipper";
35752             }
35753             program {
35754                signal: "elm,title,show";
35755                source: "elm";
35756                action: STATE_SET "default" 0.0;
35757                target: "title_clipper";
35758             }
35759          }
35760
35761          part { name: "elm.swallow.end";
35762             type: SWALLOW;
35763             description { state: "default" 0.0;
35764                align: 1.0 0.0;
35765                fixed: 1 1;
35766                rel1 {
35767                   relative: 1.0 0.0;
35768                   offset: -2 1;
35769                }
35770                rel2 {
35771                   relative: 1.0 1.0;
35772                   offset: -1 32;
35773                }
35774             }
35775          }
35776
35777          part { name: "elm.text.title";
35778             type: TEXT;
35779             effect: SOFT_SHADOW;
35780             scale: 1;
35781             description { state: "default" 0.0;
35782                rel1 {
35783                   to_x: "back";
35784                   relative: 1.0 0.0;
35785                   offset: 2 1;
35786                }
35787                rel2 { to_y: "back";
35788                   to_x: "elm.swallow.end";
35789                   relative: 0.0 1.0;
35790                   offset: -3 -1;
35791                }
35792                text {
35793                   font: "Sans:style=Bold";
35794                   size: 12;
35795                }
35796             }
35797          }
35798       }
35799    }
35800
35801    /* application with a main content area with a back and next buttons and title area */
35802    group { name: "elm/layout/application/content-back-next";
35803       parts {
35804          part { name: "elm.swallow.content";
35805             type: SWALLOW;
35806             description { state: "default" 0.0;
35807                rel1 { to_y: "title_clipper";
35808                   relative: 0.0 1.0;
35809                   offset: -1 1;
35810                }
35811             }
35812          }
35813
35814          part { name: "title_clipper";
35815             type: RECT;
35816             description { state: "default" 0.0;
35817                visible: 1;
35818                rel1 {
35819                   to_y: "back";
35820                }
35821                rel2 {
35822                   to_y: "back";
35823                }
35824             }
35825             description { state: "hidden" 0.0;
35826                inherit: "default" 0.0;
35827                visible: 0;
35828                rel2 {
35829                   relative: 1.0 0.0;
35830                }
35831             }
35832          }
35833          part { name: "back";
35834             type: EXTERNAL;
35835             source: "elm/button";
35836             clip_to: "back_clipper";
35837             description { state: "default" 0.0;
35838                align: 0.0 0.0;
35839                fixed: 1 1;
35840                rel1 {
35841                   relative: 0.0 0.0;
35842                   offset: 0 1;
35843                }
35844                rel2 {
35845                   relative: 0.0 0.0;
35846                   offset: 50 32;
35847                }
35848                params.string: "label" "Back";
35849             }
35850          }
35851          part { name: "back_clipper";
35852             type: RECT;
35853             clip_to: "title_clipper";
35854             description { state: "default" 0.0;
35855                visible: 1;
35856             }
35857             description { state: "hidden" 0.0;
35858                visible: 0;
35859             }
35860          }
35861          part { name: "next";
35862             type: EXTERNAL;
35863             source: "elm/button";
35864             clip_to: "next_clipper";
35865             description { state: "default" 0.0;
35866                align: 1.0 0.0;
35867                fixed: 1 1;
35868                rel1 {
35869                   relative: 1.0 0.0;
35870                   offset: -2 1;
35871                }
35872                rel2 {
35873                   relative: 1.0 0.0;
35874                   offset: -1 32;
35875                }
35876                params.string: "label" "Next";
35877            }
35878          }
35879          part { name: "next_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          programs {
35890             program {
35891                signal: "clicked";
35892                source: "back";
35893                action: SIGNAL_EMIT "elm,action,back" "";
35894             }
35895             program {
35896                signal: "elm,title,hide";
35897                source: "elm";
35898                action: STATE_SET "hidden" 0.0;
35899                transition: LINEAR 0.1;
35900                target: "title_clipper";
35901             }
35902             program {
35903                signal: "elm,title,show";
35904                source: "elm";
35905                action: STATE_SET "default" 0.0;
35906                target: "title_clipper";
35907             }
35908             program {
35909                signal: "elm,back,hide";
35910                source: "elm";
35911                action: STATE_SET "hidden" 0.0;
35912                target: "back_clipper";
35913             }
35914             program {
35915                signal: "elm,back,show";
35916                source: "elm";
35917                action: STATE_SET "default" 0.0;
35918                target: "back_clipper";
35919             }
35920             program {
35921                signal: "clicked";
35922                source: "next";
35923                action: SIGNAL_EMIT "elm,action,next" "";
35924             }
35925             program {
35926                signal: "elm,next,hide";
35927                source: "elm";
35928                action: STATE_SET "hidden" 0.0;
35929                target: "next_clipper";
35930             }
35931             program {
35932                signal: "elm,next,show";
35933                source: "elm";
35934                action: STATE_SET "default" 0.0;
35935                target: "next_clipper";
35936             }
35937          }
35938          part { name: "elm.text.title";
35939             type: TEXT;
35940             effect: SOFT_SHADOW;
35941             scale: 1;
35942             clip_to: "title_clipper";
35943             description { state: "default" 0.0;
35944                rel1 {
35945                   to_x: "back";
35946                   relative: 1.0 0.0;
35947                   offset: 2 1;
35948                }
35949                rel2 { to_y: "back";
35950                   to_x: "next";
35951                   relative: 0.0 1.0;
35952                   offset: -3 -1;
35953                }
35954                text {
35955                   font: "Sans:style=Bold";
35956                   size: 12;
35957                }
35958             }
35959          }
35960       }
35961    }
35962
35963    /* application with toolbar and main content area as a vertical box */
35964    group { name: "elm/layout/application/toolbar-vbox";
35965       parts {
35966          part { name: "elm.box.content";
35967             type: BOX;
35968             description { state: "default" 0.0;
35969                rel1 { to_y: "elm.external.toolbar";
35970                   relative: 0.0 1.0;
35971                   offset: -1 1;
35972                }
35973                box.layout: "vertical";
35974             }
35975          }
35976
35977          part { name: "elm.external.toolbar";
35978             type: EXTERNAL;
35979             source: "elm/toolbar";
35980             description { state: "default" 0.0;
35981                align: 0.5 0.0;
35982                fixed: 0 1;
35983                rel2 {
35984                   relative: 1.0 0.0;
35985                   offset: -1 47;
35986                }
35987             }
35988          }
35989       }
35990    }
35991
35992    /* application with toolbar and main content area as a table */
35993    group { name: "elm/layout/application/toolbar-table";
35994       parts {
35995          part { name: "elm.table.content";
35996             type: TABLE;
35997             description { state: "default" 0.0;
35998                rel1 { to_y: "elm.external.toolbar";
35999                   relative: 0.0 1.0;
36000                   offset: -1 1;
36001                }
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    /* a simple title layout, with a label and two icons */
36021    group { name: "elm/layout/application/titlebar";
36022       images {
36023          image: "toolbar_sel.png" COMP;
36024       }
36025       parts {
36026          part { name: "base";
36027             mouse_events: 0;
36028             scale: 1;
36029             description { state: "default" 0.0;
36030                min: 0 33;
36031                max: 99999 33;
36032                align: 0.5 0.0;
36033                rel1.offset: -1 0;
36034                rel2.offset: 1 0;
36035                image {
36036                   normal: "toolbar_sel.png";
36037                   border: 3 3 0 0;
36038                }
36039             }
36040          }
36041          part { name: "elm.swallow.content";
36042             type: SWALLOW;
36043             description { state: "default" 0.0;
36044                visible: 1;
36045                rel1 {
36046                   to: "base";
36047                   relative: 0.0 1.0;
36048                }
36049             }
36050          }
36051          part { name: "elm.swallow.icon";
36052             type: SWALLOW;
36053             scale: 1;
36054             description { state: "default" 0.0;
36055                visible: 0;
36056                fixed: 1 1;
36057                align: 0.0 0.0;
36058                rel1 {
36059                   to: "base";
36060                   relative: 0.0 0.0;
36061                   offset: 4 0;
36062                }
36063                rel2 {
36064                   to: "base";
36065                   relative: 0.0 1.0;
36066                }
36067             }
36068             description { state: "visible" 0.0;
36069                inherit: "default" 0.0;
36070                visible: 1;
36071             }
36072          }
36073          part { name: "elm.swallow.end";
36074             type: SWALLOW;
36075             scale: 1;
36076             description { state: "default" 0.0;
36077                visible: 0;
36078                fixed: 1 1;
36079                align: 1.0 0.0;
36080                rel1 {
36081                   to: "base";
36082                   relative: 1.0 0.0;
36083                   offset: 0 0;
36084                }
36085                rel2 {
36086                   to: "base";
36087                   relative: 1.0 1.0;
36088                   offset: -5 -1;
36089                }
36090             }
36091             description { state: "visible" 0.0;
36092                inherit: "default" 0.0;
36093                visible: 1;
36094             }
36095          }
36096          part { name: "elm.text";
36097             type: TEXT;
36098             effect: SOFT_SHADOW;
36099             mouse_events: 0;
36100             scale: 1;
36101             description { state: "default" 0.0;
36102                fixed: 1 1;
36103                rel1 {
36104                   to_x: "elm.swallow.icon";
36105                   to_y: "base";
36106                   relative: 1.0 0.0;
36107                }
36108                rel2 {
36109                   to_x: "elm.swallow.end";
36110                   to_y: "base";
36111                   relative: 0.0 1.0;
36112                }
36113                text {
36114                   font: "Sans";
36115                   size: 12;
36116                   min: 0 0;
36117                   align: 0.5 0.5;
36118                   text_class: "title_bar";
36119                }
36120             }
36121          }
36122       }
36123       programs {
36124          program { name: "show_icon";
36125             signal: "elm,state,icon,visible";
36126             source: "elm";
36127             action: STATE_SET "visible" 0.0;
36128             target: "elm.swallow.icon";
36129          }
36130          program { name: "hide_icon";
36131             signal: "elm,state,icon,hidden";
36132             source: "elm";
36133             action: STATE_SET "default" 0.0;
36134             target: "elm.swallow.icon";
36135          }
36136          program { name: "show_end";
36137             signal: "elm,state,end,visible";
36138             source: "elm";
36139             action: STATE_SET "visible" 0.0;
36140             target: "elm.swallow.end";
36141          }
36142          program { name: "hide_end";
36143             signal: "elm,state,end,hidden";
36144             source: "elm";
36145             action: STATE_SET "default" 0.0;
36146             target: "elm.swallow.end";
36147          }
36148       }
36149    }
36150 }
36151
36152
36153
36154