Elementary bubble-theme: Fixed UI-Mirroring.
[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                image.middle: SOLID;
1975             }
1976             description { state: "disabled" 0.0;
1977                inherit:  "default" 0.0;
1978                image {
1979                   normal: "bt_dis_base.png";
1980                   border: 4 4 4 4;
1981                }
1982             }
1983          }
1984          part { name: "elm.swallow.content";
1985             type: SWALLOW;
1986             description { state: "default" 0.0;
1987                fixed: 1 0;
1988                visible: 0;
1989                align: 0.0 0.5;
1990                rel1.offset: 4 4;
1991                rel2.offset: 3 -5;
1992                rel2.relative: 0.0 1.0;
1993             }
1994             description { state: "visible" 0.0;
1995                inherit: "default" 0.0;
1996                fixed: 1 0;
1997                visible: 1;
1998                aspect: 1.0 1.0;
1999 //               aspect_preference: VERTICAL;
2000                rel2.offset: 4 -5;
2001             }
2002             description { state: "icononly" 0.0;
2003                inherit: "default" 0.0;
2004                fixed: 0 0;
2005                visible: 1;
2006                align: 0.5 0.5;
2007 //               aspect: 1.0 1.0;
2008                rel2.offset: -5 -5;
2009                rel2.relative: 1.0 1.0;
2010 //               aspect_preference: VERTICAL;
2011             }
2012          }
2013          part {
2014             name:          "elm.text";
2015             type:          TEXT;
2016             effect:        SOFT_SHADOW;
2017             mouse_events:  0;
2018             scale: 1;
2019             description { state: "default" 0.0;
2020                visible: 0;
2021                rel1.to_x: "elm.swallow.content";
2022                rel1.relative: 1.0 0.0;
2023                rel1.offset: 0 4;
2024                rel2.offset: -5 -5;
2025                color: 224 224 224 255;
2026                color3: 0 0 0 64;
2027                text {
2028                   font:     "Sans,Edje-Vera";
2029                   size:     10;
2030                   min:      0 0;
2031                   align:    0.5 0.5;
2032                   text_class: "button";
2033                }
2034             }
2035             description { state: "visible" 0.0;
2036                inherit: "default" 0.0;
2037                visible: 1;
2038                text.min: 1 1;
2039             }
2040             description { state: "disabled" 0.0;
2041                inherit: "default" 0.0;
2042                color: 0 0 0 128;
2043                color3: 0 0 0 0;
2044             }
2045             description { state: "disabled_visible" 0.0;
2046                inherit: "default" 0.0;
2047                color: 0 0 0 128;
2048                color3: 0 0 0 0;
2049                visible: 1;
2050                text.min: 1 1;
2051             }
2052          }
2053          part {          name: "over1";
2054             mouse_events: 0;
2055             description { state: "default" 0.0;
2056                rel2.relative: 1.0 0.5;
2057                image {
2058                   normal: "bt_hilight.png";
2059                   border: 7 7 7 0;
2060                }
2061             }
2062             description { state: "disabled" 0.0;
2063                inherit:  "default" 0.0;
2064                image {
2065                   normal: "bt_dis_hilight.png";
2066                   border: 4 4 4 0;
2067                }
2068             }
2069          }
2070          part { name: "over2";
2071             mouse_events: 1;
2072             repeat_events: 1;
2073             ignore_flags: ON_HOLD;
2074             description { state: "default" 0.0;
2075                image {
2076                   normal: "bt_shine.png";
2077                   border: 7 7 7 7;
2078                }
2079             }
2080             description { state: "disabled" 0.0;
2081                inherit:  "default" 0.0;
2082                visible: 0;
2083             }
2084          }
2085          part { name: "over3";
2086             mouse_events: 1;
2087             repeat_events: 1;
2088             description { state: "default" 0.0;
2089                color: 255 255 255 0;
2090                image {
2091                   normal: "bt_glow.png";
2092                   border: 12 12 12 12;
2093                }
2094                fill.smooth : 0;
2095             }
2096             description { state: "clicked" 0.0;
2097                inherit:  "default" 0.0;
2098                color: 255 255 255 255;
2099             }
2100          }
2101           part { name: "disabler";
2102             type: RECT;
2103             description { state: "default" 0.0;
2104                color: 0 0 0 0;
2105                visible: 0;
2106             }
2107             description { state: "disabled" 0.0;
2108                inherit: "default" 0.0;
2109                visible: 1;
2110             }
2111          }
2112       }
2113       programs {
2114          program {
2115             name:   "button_click";
2116             signal: "mouse,down,1";
2117             source: "over2";
2118             action: SIGNAL_EMIT "elm,action,press" "";
2119             after: "button_click_anim";
2120          }
2121          program {
2122             name:   "button_click_anim";
2123             action: STATE_SET "clicked" 0.0;
2124             target: "button_image";
2125          }
2126          program {
2127             name:   "button_unclick";
2128             signal: "mouse,up,1";
2129             source: "over3";
2130             action: SIGNAL_EMIT "elm,action,unpress" "";
2131             after: "button_unclick_anim";
2132          }
2133          program {
2134             name:   "button_pressed_anim";
2135             signal: "elm,anim,activate";
2136             source: "elm";
2137             action: STATE_SET "clicked" 0.0;
2138             target: "button_image";
2139             target: "over3";
2140             after: "button_unpressed_anim";
2141          }
2142          program {
2143             name:   "button_unpressed_anim";
2144             action: STATE_SET "default" 0.0;
2145             transition: DECELERATE 0.5;
2146             target: "button_image";
2147             target: "over3";
2148          }
2149          program {
2150             name:   "button_unclick_anim";
2151             action: STATE_SET "default" 0.0;
2152             target: "button_image";
2153          }
2154          program {
2155             name:   "button_click2";
2156             signal: "mouse,down,1";
2157             source: "over3";
2158             action: STATE_SET "clicked" 0.0;
2159             target: "over3";
2160          }
2161          program {
2162             name:   "button_unclick2";
2163             signal: "mouse,up,1";
2164             source: "over3";
2165             action: STATE_SET "default" 0.0;
2166             transition: DECELERATE 0.5;
2167             target: "over3";
2168          }
2169          program {
2170             name:   "button_unclick3";
2171             signal: "mouse,clicked,1";
2172             source: "over2";
2173             action: SIGNAL_EMIT "elm,action,click" "";
2174          }
2175          program { name: "text_show";
2176             signal: "elm,state,text,visible";
2177             source: "elm";
2178             script {
2179                new st[31];
2180                new Float:vl;
2181                get_state(PART:"elm.swallow.content", st, 30, vl);
2182                if (!strcmp(st, "icononly"))
2183                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2184                set_state(PART:"elm.text", "visible", 0.0);
2185             }
2186          }
2187          program { name: "text_hide";
2188             signal: "elm,state,text,hidden";
2189             source: "elm";
2190             script {
2191                new st[31];
2192                new Float:vl;
2193                get_state(PART:"elm.swallow.content", st, 30, vl);
2194                if (!strcmp(st, "visible"))
2195                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2196                set_state(PART:"elm.text", "default", 0.0);
2197             }
2198          }
2199          program { name: "icon_show";
2200             signal: "elm,state,icon,visible";
2201             source: "elm";
2202             script {
2203                new st[31];
2204                new Float:vl;
2205                get_state(PART:"elm.text", st, 30, vl);
2206                if (!strcmp(st, "visible"))
2207                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2208                else
2209                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2210             }
2211          }
2212          program { name: "icon_hide";
2213             signal: "elm,state,icon,hidden";
2214             source: "elm";
2215             action:  STATE_SET "default" 0.0;
2216             target: "elm.swallow.content";
2217          }
2218          program { name: "disable";
2219             signal: "elm,state,disabled";
2220             source: "elm";
2221             action: STATE_SET "disabled" 0.0;
2222             target: "button_image";
2223             target: "over1";
2224             target: "over2";
2225             target: "disabler";
2226             after: "disable_text";
2227          }
2228          program { name: "disable_text";
2229             script {
2230                new st[31];
2231                new Float:vl;
2232                get_state(PART:"elm.text", st, 30, vl);
2233                if (!strcmp(st, "visible"))
2234                  set_state(PART:"elm.text", "disabled_visible", 0.0);
2235                else
2236                  set_state(PART:"elm.text", "disabled", 0.0);
2237             }
2238          }
2239          program { name: "enable";
2240             signal: "elm,state,enabled";
2241             source: "elm";
2242             action: STATE_SET "default" 0.0;
2243             target: "button_image";
2244             target: "over1";
2245             target: "over2";
2246             target: "disabler";
2247             after: "enable_text";
2248          }
2249          program { name: "enable_text";
2250             script {
2251                new st[31];
2252                new Float:vl;
2253                get_state(PART:"elm.text", st, 30, vl);
2254                if (!strcmp(st, "disabled_visible"))
2255                  set_state(PART:"elm.text", "visible", 0.0);
2256                else
2257                  set_state(PART:"elm.text", "default", 0.0);
2258             }
2259          }
2260       }
2261    }
2262
2263    group { name: "elm/button/base/hoversel_vertical/default";
2264       alias: "elm/button/base/hoversel_vertical/entry";
2265       alias: "elm/button/base/hoversel_horizontal/default";
2266       alias: "elm/button/base/hoversel_horizontal/entry";
2267       images {
2268          image: "bt_base1.png" COMP;
2269          image: "bt_base2.png" COMP;
2270          image: "bt_hilight.png" COMP;
2271          image: "bt_shine.png" COMP;
2272          image: "bt_glow.png" COMP;
2273          image: "updown.png" COMP;
2274          image: "bt_dis_base.png" COMP;
2275          image: "bt_dis_hilight.png" COMP;
2276       }
2277       parts {
2278          part { name: "button_image";
2279             mouse_events: 1;
2280             description { state: "default" 0.0;
2281                image {
2282                   normal: "bt_base2.png";
2283                   border: 7 7 7 7;
2284                }
2285                image.middle: SOLID;
2286             }
2287             description { state: "clicked" 0.0;
2288                inherit: "default" 0.0;
2289                image.normal: "bt_base1.png";
2290                image.middle: SOLID;
2291             }
2292             description { state: "disabled" 0.0;
2293                inherit:  "default" 0.0;
2294                image {
2295                   normal: "bt_dis_base.png";
2296                   border: 4 4 4 4;
2297                }
2298             }
2299          }
2300          part { name: "arrow";
2301             mouse_events: 0;
2302             description { state: "default" 0.0;
2303                image.normal: "updown.png";
2304                aspect: 0.6666666666 0.6666666666;
2305                aspect_preference: VERTICAL;
2306                rel1.offset: 6 7;
2307                rel2.offset: 6 -7;
2308                rel2.relative: 0.0 1.0;
2309                align: 0.0 0.5;
2310             }
2311          }
2312          part { name: "elm.swallow.content";
2313             type: SWALLOW;
2314             description { state: "default" 0.0;
2315                fixed: 1 0;
2316                visible: 0;
2317                align: 0.0 0.5;
2318                rel1 {
2319                   to_x: "arrow";
2320                   offset: 2 4;
2321                   relative: 1.0 0.0;
2322                }
2323                rel2 {
2324                   to_x: "arrow";
2325                   offset: 1 -5;
2326                   relative: 1.0 1.0;
2327                }
2328             }
2329             description { state: "visible" 0.0;
2330                inherit: "default" 0.0;
2331                fixed: 0 0;
2332                visible: 1;
2333                aspect: 1.0 1.0;
2334                aspect_preference: VERTICAL;
2335                rel2.offset: 2 -5;
2336             }
2337             description { state: "icononly" 0.0;
2338                inherit: "default" 0.0;
2339                fixed: 0 0;
2340                visible: 1;
2341                align: 0.5 0.5;
2342                aspect: 1.0 1.0;
2343                rel1 {
2344                   to_x: "button_image";
2345                   offset: -5 -5;
2346                   relative: 1.0 1.0;
2347                }
2348                aspect_preference: VERTICAL;
2349             }
2350          }
2351          part {
2352             name:          "elm.text";
2353             type:          TEXT;
2354             effect:        SOFT_SHADOW;
2355             mouse_events:  0;
2356             scale: 1;
2357             description { state: "default" 0.0;
2358                visible: 0;
2359                rel1.to_x: "elm.swallow.content";
2360                rel1.relative: 1.0 0.0;
2361                rel1.offset: 0 4;
2362                rel2.offset: -5 -5;
2363                color: 224 224 224 255;
2364                color3: 0 0 0 64;
2365                text {
2366                   font:     "Sans,Edje-Vera";
2367                   size:     10;
2368                   min:      0 0;
2369                   align:    0.5 0.5;
2370                   text_class: "button";
2371                }
2372             }
2373             description { state: "visible" 0.0;
2374                inherit: "default" 0.0;
2375                visible: 1;
2376                text.min: 1 1;
2377             }
2378             description { state: "disabled" 0.0;
2379                inherit: "default" 0.0;
2380                color: 0 0 0 128;
2381                color3: 0 0 0 0;
2382             }
2383             description { state: "disabled_visible" 0.0;
2384                inherit: "default" 0.0;
2385                color: 0 0 0 128;
2386                color3: 0 0 0 0;
2387                visible: 1;
2388                text.min: 1 1;
2389             }
2390          }
2391          part {          name: "over1";
2392             mouse_events: 0;
2393             description { state: "default" 0.0;
2394                rel2.relative: 1.0 0.5;
2395                image {
2396                   normal: "bt_hilight.png";
2397                   border: 7 7 7 0;
2398                }
2399             }
2400             description { state: "disabled" 0.0;
2401                inherit:  "default" 0.0;
2402                image {
2403                   normal: "bt_dis_hilight.png";
2404                   border: 4 4 4 0;
2405                }
2406             }
2407          }
2408          part { name: "over2";
2409             mouse_events: 1;
2410             repeat_events: 1;
2411             ignore_flags: ON_HOLD;
2412             description { state: "default" 0.0;
2413                image {
2414                   normal: "bt_shine.png";
2415                   border: 7 7 7 7;
2416                }
2417             }
2418             description { state: "disabled" 0.0;
2419                inherit:  "default" 0.0;
2420                visible: 0;
2421             }
2422          }
2423          part { name: "over3";
2424             mouse_events: 1;
2425             repeat_events: 1;
2426             description { state: "default" 0.0;
2427                color: 255 255 255 0;
2428                image {
2429                   normal: "bt_glow.png";
2430                   border: 12 12 12 12;
2431                }
2432                fill.smooth : 0;
2433             }
2434             description { state: "clicked" 0.0;
2435                inherit:  "default" 0.0;
2436                visible: 1;
2437                color: 255 255 255 255;
2438             }
2439          }
2440           part { name: "disabler";
2441             type: RECT;
2442             description { state: "default" 0.0;
2443                color: 0 0 0 0;
2444                visible: 0;
2445             }
2446             description { state: "disabled" 0.0;
2447                inherit: "default" 0.0;
2448                visible: 1;
2449             }
2450          }
2451       }
2452       programs {
2453          program {
2454             name:   "button_click";
2455             signal: "mouse,down,1";
2456             source: "over2";
2457             action: STATE_SET "clicked" 0.0;
2458             target: "button_image";
2459          }
2460          program {
2461             name:   "button_unclick";
2462             signal: "mouse,up,1";
2463             source: "over2";
2464             action: STATE_SET "default" 0.0;
2465             target: "button_image";
2466          }
2467          program {
2468             name:   "button_click2";
2469             signal: "mouse,down,1";
2470             source: "over3";
2471             action: STATE_SET "clicked" 0.0;
2472             target: "over3";
2473          }
2474          program {
2475             name:   "button_unclick2";
2476             signal: "mouse,up,1";
2477             source: "over3";
2478             action: STATE_SET "default" 0.0;
2479             transition: DECELERATE 0.5;
2480             target: "over3";
2481          }
2482          program {
2483             name:   "button_unclick3";
2484             signal: "mouse,up,1";
2485             source: "over2";
2486             action: SIGNAL_EMIT "elm,action,click" "";
2487          }
2488          program { name: "text_show";
2489             signal: "elm,state,text,visible";
2490             source: "elm";
2491             script {
2492                new st[31];
2493                new Float:vl;
2494                get_state(PART:"elm.swallow.content", st, 30, vl);
2495                if (!strcmp(st, "icononly"))
2496                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2497                set_state(PART:"elm.text", "visible", 0.0);
2498             }
2499          }
2500          program { name: "text_hide";
2501             signal: "elm,state,text,hidden";
2502             source: "elm";
2503             script {
2504                new st[31];
2505                new Float:vl;
2506                get_state(PART:"elm.swallow.content", st, 30, vl);
2507                if (!strcmp(st, "visible"))
2508                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2509                set_state(PART:"elm.text", "default", 0.0);
2510             }
2511          }
2512          program { name: "icon_show";
2513             signal: "elm,state,icon,visible";
2514             source: "elm";
2515             script {
2516                new st[31];
2517                new Float:vl;
2518                get_state(PART:"elm.text", st, 30, vl);
2519                if (!strcmp(st, "visible"))
2520                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2521                else
2522                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2523             }
2524          }
2525          program { name: "icon_hide";
2526             signal: "elm,state,icon,hidden";
2527             source: "elm";
2528             action:  STATE_SET "default" 0.0;
2529             target: "elm.swallow.content";
2530          }
2531          program { name: "disable";
2532             signal: "elm,state,disabled";
2533             source: "elm";
2534             action: STATE_SET "disabled" 0.0;
2535             target: "button_image";
2536             target: "over1";
2537             target: "over2";
2538             target: "disabler";
2539             after: "disable_text";
2540          }
2541          program { name: "disable_text";
2542             script {
2543                new st[31];
2544                new Float:vl;
2545                get_state(PART:"elm.text", st, 30, vl);
2546                if (!strcmp(st, "visible"))
2547                  set_state(PART:"elm.text", "disabled_visible", 0.0);
2548                else
2549                  set_state(PART:"elm.text", "disabled", 0.0);
2550             }
2551          }
2552          program { name: "enable";
2553             signal: "elm,state,enabled";
2554             source: "elm";
2555             action: STATE_SET "default" 0.0;
2556             target: "button_image";
2557             target: "over1";
2558             target: "over2";
2559             target: "disabler";
2560             after: "enable_text";
2561          }
2562          program { name: "enable_text";
2563             script {
2564                new st[31];
2565                new Float:vl;
2566                get_state(PART:"elm.text", st, 30, vl);
2567                if (!strcmp(st, "disabled_visible"))
2568                  set_state(PART:"elm.text", "visible", 0.0);
2569                else
2570                  set_state(PART:"elm.text", "default", 0.0);
2571             }
2572          }
2573       }
2574    }
2575
2576    group { name: "elm/button/base/hoversel_vertical_entry/default";
2577       alias: "elm/button/base/hoversel_vertical_entry/entry";
2578       alias: "elm/button/base/hoversel_horizontal_entry/default";
2579       alias: "elm/button/base/hoversel_horizontal_entry/entry";
2580       images {
2581          image: "hoversel_entry_bg.png" COMP;
2582       }
2583       parts {
2584          part { name: "button_image";
2585             mouse_events: 1;
2586             description { state: "default" 0.0;
2587                color: 255 255 255 0;
2588                image.normal: "hoversel_entry_bg.png";
2589                image.border: 0 0 2 2;
2590                fill.smooth: 0;
2591             }
2592             description { state: "clicked" 0.0;
2593                inherit: "default" 0.0;
2594                color: 255 255 255 255;
2595             }
2596          }
2597          part { name: "elm.swallow.content";
2598             type: SWALLOW;
2599             description { state: "default" 0.0;
2600                visible: 0;
2601                align: 0.0 0.5;
2602                rel1.offset: 4 4;
2603                rel2.offset: 3 -5;
2604                rel2.relative: 0.0 1.0;
2605             }
2606             description { state: "visible" 0.0;
2607                inherit: "default" 0.0;
2608                visible: 1;
2609                aspect: 1.0 1.0;
2610                aspect_preference: VERTICAL;
2611                rel2.offset: 4 -5;
2612             }
2613             description { state: "icononly" 0.0;
2614                inherit: "default" 0.0;
2615                visible: 1;
2616                align: 0.5 0.5;
2617                aspect: 1.0 1.0;
2618                rel2.offset: -5 -5;
2619                rel2.relative: 1.0 1.0;
2620                aspect_preference: VERTICAL;
2621             }
2622          }
2623          part { name: "textvis";
2624             type: RECT;
2625             mouse_events: 0;
2626             description { state: "default" 0.0;
2627                visible: 0;
2628             }
2629             description { state: "visible" 0.0;
2630                visible: 1;
2631             }
2632          }
2633          part {
2634             name:          "elm.text";
2635             type:          TEXT;
2636             effect:        SOFT_SHADOW;
2637             mouse_events:  0;
2638             scale: 1;
2639             clip_to:       "textvis";
2640             description { state: "default" 0.0;
2641                rel1.to_x: "elm.swallow.content";
2642                rel1.relative: 1.0 0.0;
2643                rel1.offset: 0 4;
2644                rel2.offset: -5 -5;
2645                color: 224 224 224 255;
2646                color3: 0 0 0 64;
2647                text {
2648                   font:     "Sans,Edje-Vera";
2649                   size:     10;
2650                   min:      0 0;
2651                   align:    0.5 0.5;
2652                   text_class: "button";
2653                }
2654             }
2655             description { state: "visible" 0.0;
2656                inherit: "default" 0.0;
2657                text.min: 1 1;
2658             }
2659             description { state: "clicked" 0.0;
2660                inherit: "default" 0.0;
2661                text.min: 1 1;
2662                color: 0 0 0 255;
2663                color3: 0 0 0 0;
2664             }
2665          }
2666          part { name: "over2";
2667             type: RECT;
2668             mouse_events: 1;
2669             description { state: "default" 0.0;
2670                color: 0 0 0 0;
2671             }
2672          }
2673       }
2674       programs {
2675          program {
2676             name:   "button_click";
2677             signal: "mouse,down,1";
2678             source: "over2";
2679             action: STATE_SET "clicked" 0.0;
2680             target: "button_image";
2681             target: "elm.text";
2682          }
2683          program {
2684             name:   "button_unclick";
2685             signal: "mouse,up,1";
2686             source: "over2";
2687             action: STATE_SET "default" 0.0;
2688             target: "button_image";
2689             target: "elm.text";
2690          }
2691          program {
2692             name:   "button_unclick3";
2693             signal: "mouse,up,1";
2694             source: "over2";
2695             action: SIGNAL_EMIT "elm,action,click" "";
2696          }
2697          program { name: "text_show";
2698             signal: "elm,state,text,visible";
2699             source: "elm";
2700             script {
2701                new st[31];
2702                new Float:vl;
2703                get_state(PART:"elm.swallow.content", st, 30, vl);
2704                if (!strcmp(st, "icononly"))
2705                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2706                set_state(PART:"textvis", "visible", 0.0);
2707                set_state(PART:"elm.text", "visible", 0.0);
2708             }
2709          }
2710          program { name: "text_hide";
2711             signal: "elm,state,text,hidden";
2712             source: "elm";
2713             script {
2714                new st[31];
2715                new Float:vl;
2716                get_state(PART:"elm.swallow.content", st, 30, vl);
2717                if (!strcmp(st, "visible"))
2718                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2719                set_state(PART:"textvis", "default", 0.0);
2720                set_state(PART:"elm.text", "default", 0.0);
2721             }
2722          }
2723          program { name: "icon_show";
2724             signal: "elm,state,icon,visible";
2725             source: "elm";
2726             script {
2727                new st[31];
2728                new Float:vl;
2729                get_state(PART:"textvis", st, 30, vl);
2730                if (!strcmp(st, "visible"))
2731                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2732                else
2733                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2734             }
2735          }
2736          program { name: "icon_hide";
2737             signal: "elm,state,icon,hidden";
2738             source: "elm";
2739             action:  STATE_SET "default" 0.0;
2740             target: "elm.swallow.content";
2741          }
2742       }
2743    }
2744
2745    group { name: "elm/button/base/anchor";
2746       images {
2747          image: "bt_base1.png" COMP;
2748          image: "bt_base2.png" COMP;
2749          image: "bt_hilight.png" COMP;
2750          image: "bt_shine.png" COMP;
2751          image: "bt_glow.png" COMP;
2752          image: "bt_dis_base.png" COMP;
2753          image: "bt_dis_hilight.png" COMP;
2754       }
2755       parts {
2756          part { name: "button_image";
2757             mouse_events: 1;
2758             description { state: "default" 0.0;
2759           min: 15 15;
2760            color: 255 255 255 0;
2761                image {
2762                   normal: "bt_base2.png";
2763                   border: 7 7 7 7;
2764                }
2765                image.middle: SOLID;
2766             }
2767        description { state: "visible" 0.0;
2768                inherit: "default" 0.0;
2769           color: 255 255 255 255;
2770             }
2771             description { state: "clicked" 0.0;
2772                inherit: "default" 0.0;
2773           inherit: "visible" 0.0;
2774                image.normal: "bt_base1.png";
2775                image.middle: SOLID;
2776             }
2777             description { state: "disabled" 0.0;
2778                inherit:  "default" 0.0;
2779           inherit: "visible" 0.0;
2780                image {
2781                   normal: "bt_dis_base.png";
2782                   border: 4 4 4 4;
2783                }
2784             }
2785          }
2786          part { name: "elm.swallow.content";
2787             type: SWALLOW;
2788             description { state: "default" 0.0;
2789                fixed: 1 0;
2790                visible: 0;
2791                align: 0.0 0.5;
2792                rel1.offset: 4 4;
2793                rel2.offset: 3 -5;
2794                rel2.relative: 0.0 1.0;
2795             }
2796             description { state: "visible" 0.0;
2797                inherit: "default" 0.0;
2798                fixed: 1 0;
2799                visible: 1;
2800                aspect: 1.0 1.0;
2801                aspect_preference: VERTICAL;
2802                rel2.offset: 4 -5;
2803             }
2804             description { state: "icononly" 0.0;
2805                inherit: "default" 0.0;
2806                fixed: 0 0;
2807                visible: 1;
2808                align: 0.5 0.5;
2809                aspect: 1.0 1.0;
2810                rel2.offset: -5 -5;
2811                rel2.relative: 1.0 1.0;
2812                aspect_preference: VERTICAL;
2813             }
2814          }
2815          part {
2816             name:          "elm.text";
2817             type:          TEXT;
2818             effect:        SOFT_SHADOW;
2819             mouse_events:  0;
2820             scale: 1;
2821             description { state: "default" 0.0;
2822                visible: 0;
2823                rel1.to_x: "elm.swallow.content";
2824                rel1.relative: 1.0 0.0;
2825                rel1.offset: 0 4;
2826                rel2.offset: -5 -5;
2827                color: 224 224 224 255;
2828                color3: 0 0 0 64;
2829                text {
2830                   font:     "Sans,Edje-Vera";
2831                   size:     10;
2832                   min:      0 0;
2833                   align:    0.5 0.5;
2834                   text_class: "button";
2835                }
2836             }
2837             description { state: "visible" 0.0;
2838                inherit: "default" 0.0;
2839                visible: 1;
2840                text.min: 1 1;
2841             }
2842             description { state: "disabled" 0.0;
2843                inherit: "default" 0.0;
2844                color: 0 0 0 128;
2845                color3: 0 0 0 0;
2846             }
2847             description { state: "disabled_visible" 0.0;
2848                inherit: "default" 0.0;
2849                color: 0 0 0 128;
2850                color3: 0 0 0 0;
2851                visible: 1;
2852                text.min: 1 1;
2853             }
2854          }
2855          part {          name: "over1";
2856             mouse_events: 0;
2857             description { state: "default" 0.0;
2858            color: 255 255 255 0;
2859                rel2.relative: 1.0 0.5;
2860                image {
2861                   normal: "bt_hilight.png";
2862                   border: 7 7 7 0;
2863                }
2864             }
2865        description { state: "visible" 0.0;
2866                inherit:  "default" 0.0;
2867           color: 255 255 255 255;
2868             }
2869             description { state: "disabled" 0.0;
2870                inherit:  "default" 0.0;
2871           inherit:  "visible" 0.0;
2872                image {
2873                   normal: "bt_dis_hilight.png";
2874                   border: 4 4 4 0;
2875                }
2876             }
2877          }
2878          part { name: "over2";
2879             mouse_events: 1;
2880             repeat_events: 1;
2881             ignore_flags: ON_HOLD;
2882             description { state: "default" 0.0;
2883                image {
2884                   normal: "bt_shine.png";
2885                   border: 7 7 7 7;
2886                }
2887             }
2888             description { state: "disabled" 0.0;
2889                inherit:  "default" 0.0;
2890                visible: 0;
2891             }
2892          }
2893          part { name: "over3";
2894             mouse_events: 1;
2895             repeat_events: 1;
2896             description { state: "default" 0.0;
2897                color: 255 255 255 0;
2898                image {
2899                   normal: "bt_glow.png";
2900                   border: 12 12 12 12;
2901                }
2902                fill.smooth : 0;
2903             }
2904             description { state: "clicked" 0.0;
2905                inherit:  "default" 0.0;
2906                visible: 1;
2907                color: 255 255 255 255;
2908             }
2909          }
2910           part { name: "disabler";
2911             type: RECT;
2912             description { state: "default" 0.0;
2913                color: 0 0 0 0;
2914                visible: 0;
2915             }
2916             description { state: "disabled" 0.0;
2917                inherit: "default" 0.0;
2918                visible: 1;
2919             }
2920          }
2921       }
2922       programs {
2923     program {
2924             name:   "button_mouse_in";
2925             signal: "mouse,in";
2926             source: "over2";
2927             action: STATE_SET "visible" 0.0;
2928             target: "button_image";
2929        target: "over1";
2930        transition: DECELERATE 0.5;
2931          }
2932          program {
2933             name:   "button_mouse_out";
2934             signal: "mouse,out";
2935             source: "over2";
2936             action: STATE_SET "default" 0.0;
2937             target: "button_image";
2938        target: "over1";
2939        transition: DECELERATE 0.5;
2940          }
2941          program {
2942             name:   "button_unclick";
2943             signal: "mouse,up,1";
2944             source: "over2";
2945             action: STATE_SET "visible" 0.0;
2946             target: "button_image";
2947          }
2948          program {
2949             name:   "button_click2";
2950             signal: "mouse,down,1";
2951             source: "over3";
2952             action: STATE_SET "clicked" 0.0;
2953             target: "over3";
2954          }
2955          program {
2956             name:   "button_unclick2";
2957             signal: "mouse,up,1";
2958             source: "over3";
2959             action: STATE_SET "default" 0.0;
2960             transition: DECELERATE 0.5;
2961             target: "over3";
2962          }
2963          program {
2964             name:   "button_unclick3";
2965             signal: "mouse,up,1";
2966             source: "over2";
2967             action: SIGNAL_EMIT "elm,action,click" "";
2968          }
2969          program { name: "text_show";
2970             signal: "elm,state,text,visible";
2971             source: "elm";
2972             script {
2973                new st[31];
2974                new Float:vl;
2975                get_state(PART:"elm.swallow.content", st, 30, vl);
2976                if (!strcmp(st, "icononly"))
2977                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2978                set_state(PART:"elm.text", "visible", 0.0);
2979             }
2980          }
2981          program { name: "text_hide";
2982             signal: "elm,state,text,hidden";
2983             source: "elm";
2984             script {
2985                new st[31];
2986                new Float:vl;
2987                get_state(PART:"elm.swallow.content", st, 30, vl);
2988                if (!strcmp(st, "visible"))
2989                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2990                set_state(PART:"elm.text", "default", 0.0);
2991             }
2992          }
2993          program { name: "icon_show";
2994             signal: "elm,state,icon,visible";
2995             source: "elm";
2996             script {
2997                new st[31];
2998                new Float:vl;
2999                get_state(PART:"elm.text", st, 30, vl);
3000                if (!strcmp(st, "visible"))
3001                  set_state(PART:"elm.swallow.content", "visible", 0.0);
3002                else
3003                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
3004             }
3005          }
3006          program { name: "icon_hide";
3007             signal: "elm,state,icon,hidden";
3008             source: "elm";
3009             action:  STATE_SET "default" 0.0;
3010             target: "elm.swallow.content";
3011          }
3012          program { name: "disable";
3013             signal: "elm,state,disabled";
3014             source: "elm";
3015             action: STATE_SET "disabled" 0.0;
3016             target: "button_image";
3017             target: "over1";
3018             target: "over2";
3019             target: "disabler";
3020             after: "disable_text";
3021          }
3022          program { name: "disable_text";
3023             script {
3024                new st[31];
3025                new Float:vl;
3026                get_state(PART:"elm.text", st, 30, vl);
3027                if (!strcmp(st, "visible"))
3028                  set_state(PART:"elm.text", "disabled_visible", 0.0);
3029                else
3030                  set_state(PART:"elm.text", "disabled", 0.0);
3031             }
3032          }
3033          program { name: "enable";
3034             signal: "elm,state,enabled";
3035             source: "elm";
3036             action: STATE_SET "default" 0.0;
3037             target: "button_image";
3038             target: "over1";
3039             target: "over2";
3040             target: "disabler";
3041             after: "enable_text";
3042          }
3043          program { name: "enable_text";
3044             script {
3045                new st[31];
3046                new Float:vl;
3047                get_state(PART:"elm.text", st, 30, vl);
3048                if (!strcmp(st, "disabled_visible"))
3049                  set_state(PART:"elm.text", "visible", 0.0);
3050                else
3051                  set_state(PART:"elm.text", "default", 0.0);
3052             }
3053          }
3054       }
3055    }
3056
3057 ///////////////////////////////////////////////////////////////////////////////
3058    group { name: "elm/toggle/base/default";
3059       images {
3060          image: "shelf_inset.png" COMP;
3061          image: "bt_basew.png" COMP;
3062          image: "bt_bases.png" COMP;
3063          image: "bt_hilightw.png" COMP;
3064          image: "tog_base_on.png" COMP;
3065          image: "tog_base_off.png" COMP;
3066          image: "tog_dis_base_on.png" COMP;
3067          image: "tog_dis_base_off.png" COMP;
3068       }
3069       script {
3070          public is_rtl;
3071       }
3072       parts {
3073          part { name: "bg";
3074             type: RECT;
3075             mouse_events: 0;
3076             scale: 1;
3077             description { state: "default" 0.0;
3078                rel1.relative: 1.0 0.0;
3079                rel1.offset: -4 3;
3080                rel2.offset: -4 -4;
3081                align: 1.0 0.5;
3082                min: 96 16;
3083                max: 96 16;
3084                aspect: 4.0 4.0;
3085                aspect_preference: VERTICAL;
3086                color: 255 255 255 255;
3087             }
3088          }
3089          part { name: "clipper";
3090             type: RECT;
3091             mouse_events: 0;
3092             description { state: "default" 0.0;
3093                rel1.to: "bg";
3094                rel2.to: "bg";
3095                color: 255 255 255 255;
3096             }
3097          }
3098          part { name: "button";
3099             type: RECT;
3100             scale: 1;
3101             clip_to: "clipper";
3102             mouse_events: 1;
3103              dragable {
3104                x: 1 1 0;
3105                y: 0 0 0;
3106                confine: "bg";
3107             }
3108             description { state: "default" 0.0;
3109                fixed: 1 1;
3110                rel1.to: "bg";
3111                rel2.to: "bg";
3112                min: 16 16;
3113                max: 16 16;
3114                aspect: 1.0 1.0;
3115                aspect_preference: VERTICAL;
3116                color: 0 0 0 0;
3117             }
3118          }
3119          part { name: "button_events";
3120             type: RECT;
3121              dragable {
3122                events: "button";
3123             }
3124             description { state: "default" 0.0;
3125                rel1.to_x: "bg";
3126                rel1.offset: 0 0;
3127                rel1.relative: 0.0 0.0;
3128                rel2.to_x: "bg";
3129                rel2.offset: -1 -1;
3130                rel2.relative: 1.0 1.0;
3131                color: 0 0 0 0;
3132             }
3133          }
3134          part { name: "onrect";
3135             type: IMAGE;
3136             scale: 1;
3137             clip_to: "clipper";
3138             mouse_events: 0;
3139             description { state: "default" 0.0;
3140                rel1.to: "button";
3141                rel1.relative: -5.0 0.0;
3142                rel2.to: "button";
3143                rel2.relative: 0.5 1.0;
3144                image.normal: "tog_base_on.png";
3145             }
3146             description { state: "disabled" 0.0;
3147                inherit: "default" 0.0;
3148                image.normal: "tog_dis_base_on.png";
3149             }
3150          }
3151          part { name: "offrect";
3152             type: IMAGE;
3153             scale: 1;
3154             clip_to: "clipper";
3155             mouse_events: 0;
3156             description { state: "default" 0.0;
3157                rel1.to: "button";
3158                rel1.relative: 0.5 0.0;
3159                rel2.to: "button";
3160                rel2.relative: 6.0 1.0;
3161                image.normal: "tog_base_off.png";
3162             }
3163             description { state: "disabled" 0.0;
3164                inherit: "default" 0.0;
3165                image.normal: "tog_dis_base_off.png";
3166             }
3167          }
3168          part { name: "elm.offtext";
3169             type: TEXT;
3170             mouse_events:  0;
3171             scale: 1;
3172             clip_to: "clipper";
3173             description { state: "default" 0.0;
3174                fixed: 1 1;
3175                rel1.to_x: "button";
3176                rel1.relative: 1.0 0.0;
3177                rel2.to_x: "offrect";
3178                color: 0 0 0 255;
3179                text {
3180                   font:     "Sans,Edje-Vera";
3181                   size:     10;
3182                   min:      0 1;
3183                   align:    0.5 0.5;
3184                   text:     "OFF";
3185                }
3186             }
3187             description { state: "disabled" 0.0;
3188                inherit: "default" 0.0;
3189                color: 128 128 128 128;
3190             }
3191          }
3192          part { name: "elm.ontext";
3193             type: TEXT;
3194             effect: SOFT_SHADOW;
3195             mouse_events:  0;
3196             scale: 1;
3197             clip_to: "clipper";
3198             description { state: "default" 0.0;
3199                fixed: 1 1;
3200                rel1.to_x: "onrect";
3201                rel1.offset: 1 1;
3202                rel2.to_x: "button";
3203                rel2.offset: 0 0;
3204                rel2.relative: 0.0 1.0;
3205                color: 224 224 224 255;
3206                color3: 0 0 0 64;
3207                text {
3208                   font:     "Sans,Edje-Vera";
3209                   size:     10;
3210                   min:      0 1;
3211                   align:    0.5 0.5;
3212                   text:     "ON";
3213                }
3214             }
3215             description { state: "disabled" 0.0;
3216                inherit: "default" 0.0;
3217                color: 128 128 128 128;
3218                color3: 0 0 0 24;
3219             }
3220          }
3221          part { name: "conf_over";
3222             mouse_events:  0;
3223             description { state: "default" 0.0;
3224                rel1.offset: -1 -1;
3225                rel1.to: "bg";
3226                rel2.offset: 0 0;
3227                rel2.to: "bg";
3228                image {
3229                   normal: "shelf_inset.png";
3230                   border: 7 7 7 7;
3231                   middle: 0;
3232                }
3233                fill.smooth : 0;
3234             }
3235          }
3236          part { name: "button0";
3237             mouse_events:  0;
3238             clip_to: "clipper";
3239             description { state: "default" 0.0;
3240                rel1.to: "button2";
3241                rel1.offset: -4 -4;
3242                rel2.to: "button2";
3243                rel2.offset: 3 3;
3244                image {
3245                   normal: "bt_bases.png";
3246                   border: 11 11 11 11;
3247                }
3248                image.middle: SOLID;
3249                color: 255 255 255 128;
3250             }
3251          }
3252          part { name: "button2";
3253             mouse_events:  0;
3254             clip_to: "clipper";
3255             description { state: "default" 0.0;
3256                rel1.to: "button";
3257                rel1.offset: -2 -2;
3258                rel2.to: "button";
3259                rel2.offset: 1 1;
3260                image {
3261                   normal: "bt_basew.png";
3262                   border: 7 7 7 7;
3263                }
3264                image.middle: SOLID;
3265             }
3266          }
3267          part { name: "button3";
3268             mouse_events:  0;
3269             clip_to: "clipper";
3270             description { state: "default" 0.0;
3271                rel1.to: "button2";
3272                rel2.to: "button2";
3273                rel2.relative: 1.0 0.5;
3274                image {
3275                   normal: "bt_hilightw.png";
3276                   border: 4 4 4 0;
3277                }
3278             }
3279          }
3280          part { name: "elm.swallow.content";
3281             type: SWALLOW;
3282             description { state: "default" 0.0;
3283                fixed: 1 0;
3284                visible: 0;
3285                align: 0.0 0.5;
3286                rel1.offset: 4 4;
3287                rel2.relative: 0.0 1.0;
3288                rel2.offset: 3 -5;
3289             }
3290             description { state: "visible" 0.0;
3291                inherit: "default" 0.0;
3292                visible: 1;
3293                aspect: 1.0 1.0;
3294                rel2.offset: 4 -5;
3295             }
3296             description { state: "disabled" 0.0;
3297                inherit: "default" 0.0;
3298                color: 128 128 128 128;
3299             }
3300             description { state: "disabled_visible" 0.0;
3301                inherit: "default" 0.0;
3302                color: 128 128 128 128;
3303                visible: 1;
3304                aspect: 1.0 1.0;
3305             }
3306          }
3307          part { name: "elm.text";
3308             type: TEXT;
3309             mouse_events: 0;
3310             scale: 1;
3311             description { state: "default" 0.0;
3312                visible: 0;
3313                rel1.to_x: "elm.swallow.content";
3314                rel1.relative: 1.0 0.0;
3315                rel1.offset: 0 4;
3316                rel2.to_x: "bg";
3317                rel2.relative: 0.0 1.0;
3318                rel2.offset: -5 -5;
3319                color: 0 0 0 255;
3320                text {
3321                   font: "Sans,Edje-Vera";
3322                   size: 10;
3323                   min: 0 0;
3324                   align: 0.0 0.5;
3325                }
3326             }
3327             description { state: "visible" 0.0;
3328                inherit: "default" 0.0;
3329                visible: 1;
3330                text.min: 1 1;
3331             }
3332             description { state: "disabled" 0.0;
3333                inherit: "default" 0.0;
3334                color: 128 128 128 128;
3335             }
3336             description { state: "disabled_visible" 0.0;
3337                inherit: "default" 0.0;
3338                color: 128 128 128 128;
3339                visible: 1;
3340                text.min: 1 1;
3341             }
3342          }
3343           part { name: "disabler";
3344             type: RECT;
3345             description { state: "default" 0.0;
3346                color: 0 0 0 0;
3347                visible: 0;
3348             }
3349             description { state: "disabled" 0.0;
3350                inherit: "default" 0.0;
3351                visible: 1;
3352             }
3353          }
3354       }
3355       programs {
3356          program { name:   "drag_end";
3357             signal: "mouse,up,1";
3358             source: "button";
3359             script {
3360                new Float:dx, Float:dy;
3361                get_drag(PART:"button", dx, dy);
3362                if (dx > 0.5)
3363                  {
3364                     set_drag(PART:"button", 1.0, 0.0);
3365                  }
3366                else
3367                  {
3368                     set_drag(PART:"button", 0.0, 0.0);
3369                  }
3370                if (((get_int(is_rtl) == 1) && (dx <= 0.5)) ||
3371                    (get_int(is_rtl) == 0) && (dx > 0.5)) {
3372                   emit("elm,action,toggle,on", "");
3373                }
3374                else {
3375                   emit("elm,action,toggle,off", "");
3376                }
3377        
3378             }
3379          }
3380          program { name: "toggle_on";
3381             signal: "elm,state,toggle,on";
3382             source: "elm";
3383             script {
3384                new Float:drag;
3385                if (get_int(is_rtl) == 0) {
3386                   drag = 100.0;
3387                }
3388                else {
3389                   drag = 0.0;
3390                }
3391                set_drag(PART:"button", drag, 0.0);
3392             }
3393          }
3394          program { name: "toggle_off";
3395             signal: "elm,state,toggle,off";
3396             source: "elm";
3397             script {
3398                new Float:drag;
3399                if (get_int(is_rtl) == 0) {
3400                   drag = 0.0;
3401                }
3402                else {
3403                   drag = 100.0;
3404                }
3405                set_drag(PART:"button", drag, 0.0);
3406             }
3407          }
3408          program { name: "text_show";
3409             signal: "elm,state,text,visible";
3410             source: "elm";
3411             action:  STATE_SET "visible" 0.0;
3412             target: "elm.text";
3413          }
3414          program { name: "text_hide";
3415             signal: "elm,state,text,hidden";
3416             source: "elm";
3417             action:  STATE_SET "default" 0.0;
3418             target: "elm.text";
3419          }
3420          program { name: "icon_show";
3421             signal: "elm,state,icon,visible";
3422             source: "elm";
3423             action:  STATE_SET "visible" 0.0;
3424             target: "elm.swallow.content";
3425          }
3426          program { name: "icon_hide";
3427             signal: "elm,state,icon,hidden";
3428             source: "elm";
3429             action:  STATE_SET "default" 0.0;
3430             target: "elm.swallow.content";
3431          }
3432          program { name: "disable";
3433             signal: "elm,state,disabled";
3434             source: "elm";
3435             action: STATE_SET "disabled" 0.0;
3436             target: "elm.offtext";
3437             target: "elm.ontext";
3438             target: "onrect";
3439             target: "offrect";
3440             target: "disabler";
3441             after: "disable_text";
3442          }
3443          program { name: "disable_text";
3444             script {
3445                new st[31];
3446                new Float:vl;
3447                get_state(PART:"elm.text", st, 30, vl);
3448                if (!strcmp(st, "visible"))
3449                  set_state(PART:"elm.text", "disabled_visible", 0.0);
3450                else
3451                  set_state(PART:"elm.text", "disabled", 0.0);
3452
3453                get_state(PART:"elm.swallow.content", st, 30, vl);
3454                if (!strcmp(st, "visible"))
3455                  set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
3456                else
3457                  set_state(PART:"elm.swallow.content", "disabled", 0.0);
3458             }
3459          }
3460          program { name: "enable";
3461             signal: "elm,state,enabled";
3462             source: "elm";
3463             action: STATE_SET "default" 0.0;
3464             target: "disabler";
3465             target: "onrect";
3466             target: "offrect";
3467             after: "enable_text";
3468          }
3469          program { name: "enable_text";
3470             script {
3471                new st[31];
3472                new Float:vl;
3473                get_state(PART:"elm.text", st, 30, vl);
3474                if (!strcmp(st, "disabled_visible"))
3475                  set_state(PART:"elm.text", "visible", 0.0);
3476                else
3477                  set_state(PART:"elm.text", "default", 0.0);
3478
3479                get_state(PART:"elm.swallow.content", st, 30, vl);
3480                if (!strcmp(st, "visible"))
3481                  set_state(PART:"elm.swallow.content", "visible", 0.0);
3482                else
3483                  set_state(PART:"elm.swallow.content", "default", 0.0);
3484             }
3485          }
3486          program { name: "to_rtl";
3487             signal: "edje,state,rtl";
3488             source: "edje";
3489             script {
3490                set_int(is_rtl, 1);
3491             }
3492          }
3493          program { name: "to_ltr";
3494             signal: "edje,state,ltr";
3495             source: "edje";
3496             script {
3497                set_int(is_rtl, 0);
3498             }
3499          }
3500       }
3501    }
3502
3503 ///////////////////////////////////////////////////////////////////////////////
3504    group { name: "elm/clock/flipdigit/default";
3505       images {
3506          image: "flip_base.png" COMP;
3507          image: "flip_base_shad.png" COMP;
3508          image: "flip_shad.png" COMP;
3509          image: "flip_0t.png" COMP;
3510          image: "flip_0b.png" COMP;
3511          image: "flip_1t.png" COMP;
3512          image: "flip_1b.png" COMP;
3513          image: "flip_2t.png" COMP;
3514          image: "flip_2b.png" COMP;
3515          image: "flip_3t.png" COMP;
3516          image: "flip_3b.png" COMP;
3517          image: "flip_4t.png" COMP;
3518          image: "flip_4b.png" COMP;
3519          image: "flip_5t.png" COMP;
3520          image: "flip_5b.png" COMP;
3521          image: "flip_6t.png" COMP;
3522          image: "flip_6b.png" COMP;
3523          image: "flip_7t.png" COMP;
3524          image: "flip_7b.png" COMP;
3525          image: "flip_8t.png" COMP;
3526          image: "flip_8b.png" COMP;
3527          image: "flip_9t.png" COMP;
3528          image: "flip_9b.png" COMP;
3529          image: "arrow_up.png" COMP;
3530          image: "arrow_down.png" COMP;
3531       }
3532       script {
3533          public v0_cur, v0_pre, v0_lock, v0_next;
3534
3535        public animator2(val, Float:pos) {
3536           new st1[11], st2[11], v;
3537
3538           v = get_int(v0_cur);
3539           snprintf(st1, 10, "%ih", v);
3540           snprintf(st2, 10, "%i", v);
3541           set_tween_state(PART:"bot", pos, st1, 0.0, st2, 0.0);
3542           set_tween_state(PART:"sh", pos, "half", 0.0, "full", 0.0);
3543           if (pos >= 1.0) {
3544              set_state(PART:"sh", "default", 0.0);
3545              set_int(v0_lock, 0);
3546              v = get_int(v0_next);
3547              if (v >= 0) {
3548                 set_int(v0_next, -1);
3549                 message(MSG_INT, 1, v);
3550              }
3551           }
3552        }
3553        public animator1(val, Float:pos) {
3554           new st1[11], st2[11], v;
3555
3556           v = get_int(v0_pre);
3557           snprintf(st1, 10, "%i", v);
3558           snprintf(st2, 10, "%ih", v);
3559           set_tween_state(PART:"top", pos, st1, 0.0, st2, 0.0);
3560           set_tween_state(PART:"sh", pos, "default", 0.0, "half", 0.0);
3561           if (pos >= 1.0) anim(0.2, "animator2", val);
3562        }
3563        public message(Msg_Type:type, id, ...) {
3564           if ((type == MSG_INT) && (id == 1)) {
3565              new value, v, buf[11];
3566
3567              value = getarg(2);
3568              if (get_int(v0_lock) == 1) {
3569                 set_int(v0_next, value);
3570                 return;
3571              }
3572              v = get_int(v0_cur);
3573              set_int(v0_pre, v);
3574              set_int(v0_cur, value);
3575              set_int(v0_lock, 1);
3576              snprintf(buf, 10, "%i", get_int(v0_pre));
3577              set_state(PART:"bot0", buf, 0.0);
3578              snprintf(buf, 10, "%ih", get_int(v0_cur));
3579              set_state(PART:"bot", buf, 0.0);
3580              snprintf(buf, 10, "%i", get_int(v0_cur));
3581              set_state(PART:"top0", buf, 0.0);
3582              snprintf(buf, 10, "%i", get_int(v0_pre));
3583              set_state(PART:"top", buf, 0.0);
3584              set_state(PART:"sh", "default", 0.0);
3585              anim(0.2, "animator1", 1);
3586           }
3587        }
3588       }
3589       parts {
3590          part { name: "shad";
3591             mouse_events: 0;
3592             description { state: "default" 0.0;
3593                rel1.offset: -4 -4;
3594                rel1.to: "base";
3595                rel2.offset: 3 3;
3596                rel2.to: "base";
3597                image {
3598                   normal: "flip_base_shad.png";
3599                   border: 8 8 8 8;
3600                }
3601             }
3602          }
3603          part { name: "base";
3604             scale: 1;
3605             description { state: "default" 0.0;
3606                rel1.offset: 4 4;
3607                rel2.offset: -5 -5;
3608                // FIXME 48x96 should be the native pixel design, right now
3609                // its 80x160. fix int he artwork later
3610                min: 24 48;
3611                aspect: 0.5 0.5;
3612 //               max: 24 48;
3613                image.normal: "flip_base.png";
3614             }
3615          }
3616          part { name: "b";
3617             type: RECT;
3618             mouse_events: 1;
3619             description { state: "default" 0.0;
3620                visible: 0;
3621                rel1.to: "base";
3622                rel1.relative: 0.0 0.5;
3623                rel2.to: "base";
3624                color: 0 0 0 0;
3625             }
3626             description { state: "visible" 0.0;
3627                inherit: "default" 0.0;
3628                visible: 1;
3629             }
3630          }
3631          part { name: "t";
3632             type: RECT;
3633             mouse_events: 1;
3634             description { state: "default" 0.0;
3635                visible: 0;
3636                rel1.to: "base";
3637                rel2.to: "base";
3638                rel2.relative: 1.0 0.5;
3639                color: 0 0 0 0;
3640             }
3641             description { state: "visible" 0.0;
3642                inherit: "default" 0.0;
3643                visible: 1;
3644             }
3645          }
3646          part { name: "bot0";
3647             mouse_events: 0;
3648             description { state: "default" 0.0;
3649                rel1.to: "b";
3650                rel2.to: "b";
3651                image.normal: "flip_0b.png";
3652             }
3653             description { state: "0" 0.0;
3654                inherit: "default" 0.0;
3655                image.normal: "flip_0b.png";
3656             }
3657             description { state: "1" 0.0;
3658                inherit: "default" 0.0;
3659                image.normal: "flip_1b.png";
3660             }
3661             description { state: "2" 0.0;
3662                inherit: "default" 0.0;
3663                image.normal: "flip_2b.png";
3664             }
3665             description { state: "3" 0.0;
3666                inherit: "default" 0.0;
3667                image.normal: "flip_3b.png";
3668             }
3669             description { state: "4" 0.0;
3670                inherit: "default" 0.0;
3671                image.normal: "flip_4b.png";
3672             }
3673             description { state: "5" 0.0;
3674                inherit: "default" 0.0;
3675                image.normal: "flip_5b.png";
3676             }
3677             description { state: "6" 0.0;
3678                inherit: "default" 0.0;
3679                image.normal: "flip_6b.png";
3680             }
3681             description { state: "7" 0.0;
3682                inherit: "default" 0.0;
3683                image.normal: "flip_7b.png";
3684             }
3685             description { state: "8" 0.0;
3686                inherit: "default" 0.0;
3687                image.normal: "flip_8b.png";
3688             }
3689             description { state: "9" 0.0;
3690                inherit: "default" 0.0;
3691                image.normal: "flip_9b.png";
3692             }
3693          }
3694          part { name: "sh";
3695             mouse_events: 0;
3696             description { state: "default" 0.0;
3697                rel1.to: "b";
3698                rel2.to: "b";
3699                rel2.relative: 1.0 0.0;
3700                image.normal: "flip_shad.png";
3701             }
3702             description { state: "half" 0.0;
3703                inherit: "default" 0.0;
3704                rel2.relative: 1.0 0.5;
3705             }
3706             description { state: "full" 0.0;
3707                inherit: "default" 0.0;
3708                rel2.relative: 1.0 1.0;
3709             }
3710          }
3711          part { name: "bot";
3712             mouse_events: 0;
3713             description { state: "default" 0.0;
3714                visible: 1;
3715                rel1.to: "b";
3716                rel2.to: "b";
3717                image.normal: "flip_0b.png";
3718             }
3719             description { state: "0" 0.0;
3720                inherit: "default" 0.0;
3721                visible: 1;
3722                rel2.relative: 1.0 1.0;
3723                image.normal: "flip_0b.png";
3724             }
3725             description { state: "0h" 0.0;
3726                inherit: "default" 0.0;
3727                visible: 0;
3728                rel2.relative: 1.0 0.0;
3729                image.normal: "flip_0b.png";
3730             }
3731             description { state: "1" 0.0;
3732                inherit: "default" 0.0;
3733                visible: 1;
3734                rel2.relative: 1.0 1.0;
3735                image.normal: "flip_1b.png";
3736             }
3737             description { state: "1h" 0.0;
3738                inherit: "default" 0.0;
3739                visible: 0;
3740                rel2.relative: 1.0 0.0;
3741                image.normal: "flip_1b.png";
3742             }
3743             description { state: "2" 0.0;
3744                inherit: "default" 0.0;
3745                visible: 1;
3746                rel2.relative: 1.0 1.0;
3747                image.normal: "flip_2b.png";
3748             }
3749             description { state: "2h" 0.0;
3750                inherit: "default" 0.0;
3751                visible: 0;
3752                rel2.relative: 1.0 0.0;
3753                image.normal: "flip_2b.png";
3754             }
3755             description { state: "3" 0.0;
3756                inherit: "default" 0.0;
3757                visible: 1;
3758                rel2.relative: 1.0 1.0;
3759                image.normal: "flip_3b.png";
3760             }
3761             description { state: "3h" 0.0;
3762                inherit: "default" 0.0;
3763                visible: 0;
3764                rel2.relative: 1.0 0.0;
3765                image.normal: "flip_3b.png";
3766             }
3767             description { state: "4" 0.0;
3768                inherit: "default" 0.0;
3769                visible: 1;
3770                rel2.relative: 1.0 1.0;
3771                image.normal: "flip_4b.png";
3772             }
3773             description { state: "4h" 0.0;
3774                inherit: "default" 0.0;
3775                visible: 0;
3776                rel2.relative: 1.0 0.0;
3777                image.normal: "flip_4b.png";
3778             }
3779             description { state: "5" 0.0;
3780                inherit: "default" 0.0;
3781                visible: 1;
3782                rel2.relative: 1.0 1.0;
3783                image.normal: "flip_5b.png";
3784             }
3785             description { state: "5h" 0.0;
3786                inherit: "default" 0.0;
3787                visible: 0;
3788                rel2.relative: 1.0 0.0;
3789                image.normal: "flip_5b.png";
3790             }
3791             description { state: "6" 0.0;
3792                inherit: "default" 0.0;
3793                visible: 1;
3794                rel2.relative: 1.0 1.0;
3795                image.normal: "flip_6b.png";
3796             }
3797             description { state: "6h" 0.0;
3798                inherit: "default" 0.0;
3799                visible: 0;
3800                rel2.relative: 1.0 0.0;
3801                image.normal: "flip_6b.png";
3802             }
3803             description { state: "7" 0.0;
3804                inherit: "default" 0.0;
3805                visible: 1;
3806                rel2.relative: 1.0 1.0;
3807                image.normal: "flip_7b.png";
3808             }
3809             description { state: "7h" 0.0;
3810                inherit: "default" 0.0;
3811                visible: 0;
3812                rel2.relative: 1.0 0.0;
3813                image.normal: "flip_7b.png";
3814             }
3815             description { state: "8" 0.0;
3816                inherit: "default" 0.0;
3817                visible: 1;
3818                rel2.relative: 1.0 1.0;
3819                image.normal: "flip_8b.png";
3820             }
3821             description { state: "8h" 0.0;
3822                inherit: "default" 0.0;
3823                visible: 0;
3824                rel2.relative: 1.0 0.0;
3825                image.normal: "flip_8b.png";
3826             }
3827             description { state: "9" 0.0;
3828                inherit: "default" 0.0;
3829                visible: 1;
3830                rel2.relative: 1.0 1.0;
3831                image.normal: "flip_9b.png";
3832             }
3833             description { state: "9h" 0.0;
3834                inherit: "default" 0.0;
3835                visible: 0;
3836                rel2.relative: 1.0 0.0;
3837                image.normal: "flip_9b.png";
3838             }
3839          }
3840          part { name: "top0";
3841             mouse_events: 0;
3842             description { state: "default" 0.0;
3843                rel1.to: "t";
3844                rel2.to: "t";
3845                image.normal: "flip_0t.png";
3846             }
3847             description { state: "0" 0.0;
3848                inherit: "default" 0.0;
3849                image.normal: "flip_0t.png";
3850             }
3851             description { state: "1" 0.0;
3852                inherit: "default" 0.0;
3853                image.normal: "flip_1t.png";
3854             }
3855             description { state: "2" 0.0;
3856                inherit: "default" 0.0;
3857                image.normal: "flip_2t.png";
3858             }
3859             description { state: "3" 0.0;
3860                inherit: "default" 0.0;
3861                image.normal: "flip_3t.png";
3862             }
3863             description { state: "4" 0.0;
3864                inherit: "default" 0.0;
3865                image.normal: "flip_4t.png";
3866             }
3867             description { state: "5" 0.0;
3868                inherit: "default" 0.0;
3869                image.normal: "flip_5t.png";
3870             }
3871             description { state: "6" 0.0;
3872                inherit: "default" 0.0;
3873                image.normal: "flip_6t.png";
3874             }
3875             description { state: "7" 0.0;
3876                inherit: "default" 0.0;
3877                image.normal: "flip_7t.png";
3878             }
3879             description { state: "8" 0.0;
3880                inherit: "default" 0.0;
3881                image.normal: "flip_8t.png";
3882             }
3883             description { state: "9" 0.0;
3884                inherit: "default" 0.0;
3885                image.normal: "flip_9t.png";
3886             }
3887          }
3888          part { name: "top";
3889             mouse_events: 0;
3890             description { state: "default" 0.0;
3891                visible: 1;
3892                rel1.to: "t";
3893                rel2.to: "t";
3894                image.normal: "flip_0t.png";
3895             }
3896             description { state: "0" 0.0;
3897                inherit: "default" 0.0;
3898                visible: 1;
3899                rel1.relative: 0.0 0.0;
3900                image.normal: "flip_0t.png";
3901             }
3902             description { state: "0h" 0.0;
3903                inherit: "default" 0.0;
3904                color: 128 128 128 255;
3905                visible: 0;
3906                rel1.relative: 0.0 1.0;
3907                image.normal: "flip_0t.png";
3908             }
3909             description { state: "1" 0.0;
3910                inherit: "default" 0.0;
3911                visible: 1;
3912                rel1.relative: 0.0 0.0;
3913                image.normal: "flip_1t.png";
3914             }
3915             description { state: "1h" 0.0;
3916                inherit: "default" 0.0;
3917                color: 128 128 128 255;
3918                visible: 0;
3919                rel1.relative: 0.0 1.0;
3920                image.normal: "flip_1t.png";
3921             }
3922             description { state: "2" 0.0;
3923                inherit: "default" 0.0;
3924                visible: 1;
3925                rel1.relative: 0.0 0.0;
3926                image.normal: "flip_2t.png";
3927             }
3928             description { state: "2h" 0.0;
3929                inherit: "default" 0.0;
3930                color: 128 128 128 255;
3931                visible: 0;
3932                rel1.relative: 0.0 1.0;
3933                image.normal: "flip_2t.png";
3934             }
3935             description { state: "3" 0.0;
3936                inherit: "default" 0.0;
3937                visible: 1;
3938                rel1.relative: 0.0 0.0;
3939                image.normal: "flip_3t.png";
3940             }
3941             description { state: "3h" 0.0;
3942                inherit: "default" 0.0;
3943                color: 128 128 128 255;
3944                visible: 0;
3945                rel1.relative: 0.0 1.0;
3946                image.normal: "flip_3t.png";
3947             }
3948             description { state: "4" 0.0;
3949                inherit: "default" 0.0;
3950                visible: 1;
3951                rel1.relative: 0.0 0.0;
3952                image.normal: "flip_4t.png";
3953             }
3954             description { state: "4h" 0.0;
3955                inherit: "default" 0.0;
3956                color: 128 128 128 255;
3957                visible: 0;
3958                rel1.relative: 0.0 1.0;
3959                image.normal: "flip_4t.png";
3960             }
3961             description { state: "5" 0.0;
3962                inherit: "default" 0.0;
3963                visible: 1;
3964                rel1.relative: 0.0 0.0;
3965                image.normal: "flip_5t.png";
3966             }
3967             description { state: "5h" 0.0;
3968                inherit: "default" 0.0;
3969                color: 128 128 128 255;
3970                visible: 0;
3971                rel1.relative: 0.0 1.0;
3972                image.normal: "flip_5t.png";
3973             }
3974             description { state: "6" 0.0;
3975                inherit: "default" 0.0;
3976                visible: 1;
3977                rel1.relative: 0.0 0.0;
3978                image.normal: "flip_6t.png";
3979             }
3980             description { state: "6h" 0.0;
3981                inherit: "default" 0.0;
3982                color: 128 128 128 255;
3983                visible: 0;
3984                rel1.relative: 0.0 1.0;
3985                image.normal: "flip_6t.png";
3986             }
3987             description { state: "7" 0.0;
3988                inherit: "default" 0.0;
3989                visible: 1;
3990                rel1.relative: 0.0 0.0;
3991                image.normal: "flip_7t.png";
3992             }
3993             description { state: "7h" 0.0;
3994                inherit: "default" 0.0;
3995                color: 128 128 128 255;
3996                visible: 0;
3997                rel1.relative: 0.0 1.0;
3998                image.normal: "flip_7t.png";
3999             }
4000             description { state: "8" 0.0;
4001                inherit: "default" 0.0;
4002                visible: 1;
4003                rel1.relative: 0.0 0.0;
4004                image.normal: "flip_8t.png";
4005             }
4006             description { state: "8h" 0.0;
4007                inherit: "default" 0.0;
4008                color: 128 128 128 255;
4009                visible: 0;
4010                rel1.relative: 0.0 1.0;
4011                image.normal: "flip_8t.png";
4012             }
4013             description { state: "9" 0.0;
4014                inherit: "default" 0.0;
4015                visible: 1;
4016                rel1.relative: 0.0 0.0;
4017                image.normal: "flip_9t.png";
4018             }
4019             description { state: "9h" 0.0;
4020                inherit: "default" 0.0;
4021                color: 128 128 128 255;
4022                visible: 0;
4023                rel1.relative: 0.0 1.0;
4024                image.normal: "flip_9t.png";
4025             }
4026          }
4027          part { name: "atop";
4028             mouse_events: 0;
4029             scale: 1;
4030             description { state: "default" 0.0;
4031                visible: 0;
4032                min: 15 15;
4033                max: 15 15;
4034                align: 0.5 0.0;
4035                rel1.to: "t";
4036                rel2.to: "t";
4037                image.normal: "arrow_up.png";
4038             }
4039             description { state: "visible" 0.0;
4040                inherit: "default" 0.0;
4041                visible: 1;
4042             }
4043          }
4044          part { name: "abot";
4045             mouse_events: 0;
4046             scale: 1;
4047             description { state: "default" 0.0;
4048                visible: 0;
4049                min: 15 15;
4050                max: 15 15;
4051                align: 0.5 1.0;
4052                rel1.to: "b";
4053                rel2.to: "b";
4054                image.normal: "arrow_down.png";
4055             }
4056             description { state: "visible" 0.0;
4057                inherit: "default" 0.0;
4058                visible: 1;
4059             }
4060          }
4061       }
4062       programs {
4063          program { name: "load";
4064             signal: "load";
4065             source: "";
4066             script {
4067                set_int(v0_cur, 0);
4068                set_int(v0_pre, 0);
4069                set_int(v0_lock, 0);
4070                set_int(v0_next, -1);
4071             }
4072          }
4073          program { name: "edit_on";
4074             signal: "elm,state,edit,on";
4075             source: "elm";
4076             action: STATE_SET "visible" 0.0;
4077             target: "atop";
4078             target: "abot";
4079             target: "t";
4080             target: "b";
4081          }
4082          program { name: "edit_off";
4083             signal: "elm,state,edit,off";
4084             source: "elm";
4085             action: STATE_SET "default" 0.0;
4086             target: "atop";
4087             target: "abot";
4088             target: "t";
4089             target: "b";
4090          }
4091          program { name: "up";
4092             signal: "mouse,down,1";
4093             source: "t";
4094             action: SIGNAL_EMIT "elm,action,up,start" "";
4095          }
4096          program { name: "up,stop";
4097             signal: "mouse,up,1";
4098             source: "t";
4099             action: SIGNAL_EMIT "elm,action,up,stop" "";
4100          }
4101          program { name: "down";
4102             signal: "mouse,down,1";
4103             source: "b";
4104             action: SIGNAL_EMIT "elm,action,down,start" "";
4105          }
4106          program { name: "down,stop";
4107             signal: "mouse,up,1";
4108             source: "b";
4109             action: SIGNAL_EMIT "elm,action,down,stop" "";
4110          }
4111       }
4112    }
4113
4114 ///////////////////////////////////////////////////////////////////////////////
4115    group { name: "elm/clock/flipampm/default";
4116       images {
4117          image: "flip_base.png" COMP;
4118          image: "flip_base_shad.png" COMP;
4119          image: "flip_shad.png" COMP;
4120          image: "flip_amt.png" COMP;
4121          image: "flip_amb.png" COMP;
4122          image: "flip_pmt.png" COMP;
4123          image: "flip_pmb.png" COMP;
4124          image: "arrow_up.png" COMP;
4125          image: "arrow_down.png" COMP;
4126       }
4127       script {
4128          public v0_cur, v0_pre, v0_lock, v0_next;
4129
4130        public animator2(val, Float:pos) {
4131           new st1[11], st2[11], v;
4132
4133           v = get_int(v0_cur);
4134           snprintf(st1, 10, "%ih", v);
4135           snprintf(st2, 10, "%i", v);
4136           set_tween_state(PART:"bot", pos, st1, 0.0, st2, 0.0);
4137           set_tween_state(PART:"sh", pos, "half", 0.0, "full", 0.0);
4138           if (pos >= 1.0) {
4139              set_state(PART:"sh", "default", 0.0);
4140              set_int(v0_lock, 0);
4141              v = get_int(v0_next);
4142              if (v >= 0) {
4143                 set_int(v0_next, -1);
4144                 message(MSG_INT, 1, v);
4145              }
4146           }
4147        }
4148        public animator1(val, Float:pos) {
4149           new st1[11], st2[11], v;
4150
4151           v = get_int(v0_pre);
4152           snprintf(st1, 10, "%i", v);
4153           snprintf(st2, 10, "%ih", v);
4154           set_tween_state(PART:"top", pos, st1, 0.0, st2, 0.0);
4155           set_tween_state(PART:"sh", pos, "default", 0.0, "half", 0.0);
4156           if (pos >= 1.0) anim(0.2, "animator2", val);
4157        }
4158        public message(Msg_Type:type, id, ...) {
4159           if ((type == MSG_INT) && (id == 1)) {
4160              new value, v, buf[11];
4161
4162              value = getarg(2);
4163              if (get_int(v0_lock) == 1) {
4164                 set_int(v0_next, value);
4165                 return;
4166              }
4167              v = get_int(v0_cur);
4168              set_int(v0_pre, v);
4169              set_int(v0_cur, value);
4170              set_int(v0_lock, 1);
4171              snprintf(buf, 10, "%i", get_int(v0_pre));
4172              set_state(PART:"bot0", buf, 0.0);
4173              snprintf(buf, 10, "%ih", get_int(v0_cur));
4174              set_state(PART:"bot", buf, 0.0);
4175              snprintf(buf, 10, "%i", get_int(v0_cur));
4176              set_state(PART:"top0", buf, 0.0);
4177              snprintf(buf, 10, "%i", get_int(v0_pre));
4178              set_state(PART:"top", buf, 0.0);
4179              set_state(PART:"sh", "default", 0.0);
4180              anim(0.2, "animator1", 1);
4181           }
4182        }
4183       }
4184       parts {
4185          part { name: "shad";
4186             mouse_events: 0;
4187             description { state: "default" 0.0;
4188                rel1.offset: -4 -4;
4189                rel1.to: "base";
4190                rel2.offset: 3 3;
4191                rel2.to: "base";
4192                image {
4193                   normal: "flip_base_shad.png";
4194                   border: 8 8 8 8;
4195                }
4196             }
4197          }
4198          part { name: "base";
4199             mouse_events: 0;
4200             scale: 1;
4201             description { state: "default" 0.0;
4202                rel1.offset: 4 4;
4203                rel2.offset: -5 -5;
4204                // FIXME 48x96 should be the native pixel design, right now
4205                // its 80x160. fix int he artwork later
4206                aspect: 0.5 0.5;
4207                min: 24 48;
4208 //               max: 24 48;
4209                image.normal: "flip_base.png";
4210             }
4211          }
4212          part { name: "b";
4213             type: RECT;
4214             mouse_events: 1;
4215             description { state: "default" 0.0;
4216                rel1.to: "base";
4217                rel1.relative: 0.0 0.5;
4218                rel2.to: "base";
4219                color: 0 0 0 0;
4220             }
4221          }
4222          part { name: "t";
4223             type: RECT;
4224             mouse_events: 1;
4225             description { state: "default" 0.0;
4226                rel1.to: "base";
4227                rel2.to: "base";
4228                rel2.relative: 1.0 0.5;
4229                color: 0 0 0 0;
4230             }
4231          }
4232          part { name: "bot0";
4233             mouse_events: 0;
4234             description { state: "default" 0.0;
4235                rel1.to: "b";
4236                rel2.to: "b";
4237                image.normal: "flip_amb.png";
4238             }
4239             description { state: "0" 0.0;
4240                inherit: "default" 0.0;
4241                image.normal: "flip_amb.png";
4242             }
4243             description { state: "1" 0.0;
4244                inherit: "default" 0.0;
4245                image.normal: "flip_pmb.png";
4246             }
4247          }
4248          part { name: "sh";
4249             mouse_events: 0;
4250             description { state: "default" 0.0;
4251                rel1.to: "b";
4252                rel2.to: "b";
4253                rel2.relative: 1.0 0.0;
4254                image.normal: "flip_shad.png";
4255             }
4256             description { state: "half" 0.0;
4257                inherit: "default" 0.0;
4258                rel2.relative: 1.0 0.5;
4259             }
4260             description { state: "full" 0.0;
4261                inherit: "default" 0.0;
4262                rel2.relative: 1.0 1.0;
4263             }
4264          }
4265          part { name: "bot";
4266             mouse_events: 0;
4267             description { state: "default" 0.0;
4268                visible: 1;
4269                rel1.to: "b";
4270                rel2.to: "b";
4271                image.normal: "flip_amb.png";
4272             }
4273             description { state: "0" 0.0;
4274                inherit: "default" 0.0;
4275                visible: 1;
4276                rel2.relative: 1.0 1.0;
4277                image.normal: "flip_amb.png";
4278             }
4279             description { state: "0h" 0.0;
4280                inherit: "default" 0.0;
4281                visible: 0;
4282                rel2.relative: 1.0 0.0;
4283                image.normal: "flip_amb.png";
4284             }
4285             description { state: "1" 0.0;
4286                inherit: "default" 0.0;
4287                visible: 1;
4288                rel2.relative: 1.0 1.0;
4289                image.normal: "flip_pmb.png";
4290             }
4291             description { state: "1h" 0.0;
4292                inherit: "default" 0.0;
4293                visible: 0;
4294                rel2.relative: 1.0 0.0;
4295                image.normal: "flip_pmb.png";
4296             }
4297          }
4298          part { name: "top0";
4299             mouse_events: 0;
4300             description { state: "default" 0.0;
4301                rel1.to: "t";
4302                rel2.to: "t";
4303                image.normal: "flip_amt.png";
4304             }
4305             description { state: "0" 0.0;
4306                inherit: "default" 0.0;
4307                image.normal: "flip_amt.png";
4308             }
4309             description { state: "1" 0.0;
4310                inherit: "default" 0.0;
4311                image.normal: "flip_pmt.png";
4312             }
4313          }
4314          part { name: "top";
4315             mouse_events: 0;
4316             description { state: "default" 0.0;
4317                visible: 1;
4318                rel1.to: "t";
4319                rel2.to: "t";
4320                image.normal: "flip_amt.png";
4321             }
4322             description { state: "0" 0.0;
4323                inherit: "default" 0.0;
4324                visible: 1;
4325                rel1.relative: 0.0 0.0;
4326                image.normal: "flip_amt.png";
4327             }
4328             description { state: "0h" 0.0;
4329                inherit: "default" 0.0;
4330                color: 128 128 128 255;
4331                visible: 0;
4332                rel1.relative: 0.0 1.0;
4333                image.normal: "flip_amt.png";
4334             }
4335             description { state: "1" 0.0;
4336                inherit: "default" 0.0;
4337                visible: 1;
4338                rel1.relative: 0.0 0.0;
4339                image.normal: "flip_pmt.png";
4340             }
4341             description { state: "1h" 0.0;
4342                inherit: "default" 0.0;
4343                color: 128 128 128 255;
4344                visible: 0;
4345                rel1.relative: 0.0 1.0;
4346                image.normal: "flip_pmt.png";
4347             }
4348          }
4349          part { name: "atop";
4350             mouse_events: 0;
4351             scale: 1;
4352             description { state: "default" 0.0;
4353                visible: 0;
4354                min: 15 15;
4355                max: 15 15;
4356                align: 0.5 0.0;
4357                rel1.to: "t";
4358                rel2.to: "t";
4359                image.normal: "arrow_up.png";
4360             }
4361             description { state: "visible" 0.0;
4362                inherit: "default" 0.0;
4363                visible: 1;
4364             }
4365          }
4366          part { name: "abot";
4367             mouse_events: 0;
4368             scale: 1;
4369             description { state: "default" 0.0;
4370                visible: 0;
4371                min: 15 15;
4372                max: 15 15;
4373                align: 0.5 1.0;
4374                rel1.to: "b";
4375                rel2.to: "b";
4376                image.normal: "arrow_down.png";
4377             }
4378             description { state: "visible" 0.0;
4379                inherit: "default" 0.0;
4380                visible: 1;
4381             }
4382          }
4383       }
4384       programs {
4385          program { name: "load";
4386             signal: "load";
4387             source: "";
4388             script {
4389                set_int(v0_cur, 0);
4390                set_int(v0_pre, 0);
4391                set_int(v0_lock, 0);
4392                set_int(v0_next, -1);
4393             }
4394          }
4395          program { name: "edit_on";
4396             signal: "elm,state,edit,on";
4397             source: "elm";
4398             action: STATE_SET "visible" 0.0;
4399             target: "atop";
4400             target: "abot";
4401          }
4402 /*
4403          program { name: "edit_off";
4404             signal: "elm,state,edit,off";
4405             source: "elm";
4406             action: STATE_SET "default" 0.0;
4407             target: "atop";
4408             target: "abot";
4409          }
4410  */
4411          program { name: "up";
4412             signal: "mouse,down,1";
4413             source: "t";
4414             action: SIGNAL_EMIT "elm,action,up,start" "";
4415          }
4416          program { name: "up,stop";
4417             signal: "mouse,up,1";
4418             source: "t";
4419             action: SIGNAL_EMIT "elm,action,up,stop" "";
4420          }
4421          program { name: "down";
4422             signal: "mouse,down,1";
4423             source: "b";
4424             action: SIGNAL_EMIT "elm,action,down,start" "";
4425          }
4426          program { name: "down,stop";
4427             signal: "mouse,up,1";
4428             source: "b";
4429             action: SIGNAL_EMIT "elm,action,down,stop" "";
4430          }
4431       }
4432    }
4433
4434    ///////////////////////////////////////////////////////////////////////////////
4435    group { name: "elm/menu/item/default";
4436        images {
4437            image: "bt_base1.png" COMP;
4438            image: "bt_base2.png" COMP;
4439            image: "bt_hilight.png" COMP;
4440            image: "bt_shine.png" COMP;
4441            image: "bt_glow.png" COMP;
4442            image: "bt_dis_base.png" COMP;
4443            image: "bt_dis_hilight.png" COMP;
4444        }
4445        script {
4446             public menu_text_visible; //0:hide (default), 1:visible
4447             public menu_disable; //0:enable, 1:disable
4448        }
4449        parts {
4450            part { name: "item_image";
4451                mouse_events: 1;
4452                description { state: "default" 0.0;
4453                    color: 255 255 255 0;
4454                    image {
4455                        normal: "bt_base2.png";
4456                        border: 7 7 7 7;
4457                    }
4458                    image.middle: SOLID;
4459                }
4460                description { state: "visible" 0.0;
4461                    inherit: "default" 0.0;
4462                    color: 255 255 255 255;
4463                }
4464                description { state: "clicked" 0.0;
4465                    inherit: "default" 0.0;
4466                    inherit: "visible" 0.0;
4467                    image.normal: "bt_base1.png";
4468                    image.middle: SOLID;
4469                }
4470                description { state: "disabled" 0.0;
4471                    inherit:  "default" 0.0;
4472                }
4473            }
4474            part { name: "item_image_disabled";
4475                mouse_events: 1;
4476                description { state: "default" 0.0;
4477                    color: 255 255 255 0;
4478                    image {
4479                        normal: "bt_dis_base.png";
4480                        border: 4 4 4 4;
4481                    }
4482                    image.middle: SOLID;
4483                }
4484                description { state: "disabled" 0.0;
4485                    inherit:  "default" 0.0;
4486                    color: 255 255 255 255;
4487                }
4488            }
4489            part { name: "elm.swallow.content";
4490                type: SWALLOW;
4491                description { state: "default" 0.0;
4492                    fixed: 1 0;
4493                    visible: 1;
4494                    align: 0.0 0.5;
4495                    rel1.offset: 4 4;
4496                    rel2.offset: 3 -5;
4497                    rel2.relative: 0.0 1.0;
4498                    aspect: 1.0 1.0;
4499                    aspect_preference: VERTICAL;
4500                    rel2.offset: 4 -5;
4501                }
4502            }
4503            part {
4504                name:          "elm.text";
4505                type:          TEXT;
4506                mouse_events:  0;
4507                scale: 1;
4508                description { state: "default" 0.0;
4509                    visible: 0;
4510                    rel1.to_x: "elm.swallow.content";
4511                    rel1.relative: 1.0 0.0;
4512                    rel1.offset: 5 7;
4513                    rel2.offset: -10 -8;
4514                    color: 0 0 0 255;
4515                    text {
4516                        font:     "Sans,Edje-Vera";
4517                        size:     10;
4518                        min:      1 1;
4519                        align:    0.0 0.5;
4520                        text_class: "menu_item";
4521                    }
4522                }
4523                description { state: "visible" 0.0;
4524                    inherit: "default" 0.0;
4525                    visible: 1;
4526                    text.min: 1 1;
4527                }
4528                description { state: "selected" 0.0;
4529                    inherit: "default" 0.0;
4530                    inherit: "visible" 0.0;
4531                    color: 254 254 254 255;
4532                }
4533                description { state: "disabled" 0.0;
4534                    inherit: "default" 0.0;
4535                    color: 0 0 0 128;
4536                }
4537                description { state: "disabled_visible" 0.0;
4538                    inherit: "default" 0.0;
4539                    inherit: "visible" 0.0;
4540                    color: 0 0 0 128;
4541                }
4542            }
4543            part {          name: "over1";
4544                mouse_events: 0;
4545                description { state: "default" 0.0;
4546                    color: 255 255 255 0;
4547                    rel2.relative: 1.0 0.5;
4548                    image {
4549                        normal: "bt_hilight.png";
4550                        border: 7 7 7 0;
4551                    }
4552                }
4553                description { state: "visible" 0.0;
4554                    inherit:  "default" 0.0;
4555                    color: 255 255 255 255;
4556                }
4557                description { state: "disabled" 0.0;
4558                    inherit:  "default" 0.0;
4559                }
4560            }
4561            part {          name: "over_disabled";
4562                mouse_events: 0;
4563                description { state: "default" 0.0;
4564                    color: 255 255 255 0;
4565                    rel2.relative: 1.0 0.5;
4566                    image {
4567                        normal: "bt_dis_hilight.png";
4568                        border: 4 4 4 0;
4569                    }
4570                }
4571                description { state: "disabled" 0.0;
4572                    inherit:  "default" 0.0;
4573                    color: 255 255 255 255;
4574                }
4575            }
4576            part { name: "over2";
4577                mouse_events: 1;
4578                repeat_events: 1;
4579                ignore_flags: ON_HOLD;
4580                description { state: "default" 0.0;
4581                    image {
4582                        normal: "bt_shine.png";
4583                        border: 7 7 7 7;
4584                    }
4585                }
4586                description { state: "disabled" 0.0;
4587                    inherit:  "default" 0.0;
4588                    visible: 0;
4589                }
4590            }
4591            part { name: "over3";
4592                mouse_events: 1;
4593                repeat_events: 1;
4594                description { state: "default" 0.0;
4595                    color: 255 255 255 0;
4596                    image {
4597                        normal: "bt_glow.png";
4598                        border: 12 12 12 12;
4599                    }
4600                    fill.smooth : 0;
4601                }
4602                description { state: "clicked" 0.0;
4603                    inherit:  "default" 0.0;
4604                    visible: 1;
4605                    color: 255 255 255 255;
4606                }
4607            }
4608            part { name: "disabler";
4609                type: RECT;
4610                description { state: "default" 0.0;
4611                    color: 0 0 0 0;
4612                    visible: 0;
4613                }
4614                description { state: "disabled" 0.0;
4615                    inherit: "default" 0.0;
4616                    visible: 1;
4617                }
4618            }
4619        }
4620        programs {
4621           //
4622            program {
4623                name:   "item_mouse_in";
4624                signal: "mouse,in";
4625                source: "over2";
4626                action: SIGNAL_EMIT "elm,action,activate" "";
4627                after: "item_mouse_in_2";
4628                after: "item_mouse_in_3";
4629            }
4630            program {
4631                name:   "item_mouse_in_2";
4632                transition: DECELERATE 0.5;
4633                script {
4634                    new v, d;
4635                    v = get_int(menu_text_visible);
4636                    d = get_int(menu_disable);
4637
4638                    if (v==1 && d==0)
4639                         run_program(PROGRAM:"selected_text");
4640                }
4641            }
4642            program {
4643                name:   "item_mouse_in_3";
4644                action : STATE_SET "visible" 0.0;
4645                target: "item_image";
4646                target: "over1";
4647                transition: DECELERATE 0.5;
4648            }
4649            program {
4650                name:   "selected_text";
4651                action: STATE_SET "selected" 0.0;
4652                target: "elm.text";
4653                transition: DECELERATE 0.5;
4654            }
4655            //
4656
4657            //
4658            program {
4659                name:   "item_mouse_out";
4660                signal: "mouse,out";
4661                source: "over2";
4662                after: "item_mouse_out_2";
4663                after: "item_mouse_out_3";
4664            }
4665            program {
4666                name:   "item_mouse_out_2";
4667                transition: DECELERATE 0.5;
4668                script {
4669                    new v, d;
4670                    v = get_int(menu_text_visible);
4671                    d = get_int(menu_disable);
4672
4673                    if (v==1 && d==0)
4674                         run_program(PROGRAM:"visible_text");
4675                }
4676            }
4677            program {
4678                name:   "item_mouse_out_3";
4679                action: STATE_SET "default" 0.0;
4680                target: "item_image";
4681                target: "over1";
4682                transition: DECELERATE 0.5;
4683            }
4684            program {
4685                name:   "visible_text";
4686                action: STATE_SET "visible" 0.0;
4687                target: "elm.text";
4688                transition: DECELERATE 0.5;
4689            }
4690            //
4691
4692            program {
4693                name:   "item_unclick";
4694                signal: "mouse,up,1";
4695                source: "over2";
4696                action: STATE_SET "visible" 0.0;
4697                target: "item_image";
4698            }
4699            program {
4700                name:   "item_click2";
4701                signal: "mouse,down,1";
4702                source: "over3";
4703                action: STATE_SET "clicked" 0.0;
4704                target: "over3";
4705            }
4706            program {
4707                name:   "item_unclick2";
4708                signal: "mouse,up,1";
4709                source: "over3";
4710                action: STATE_SET "default" 0.0;
4711                transition: DECELERATE 0.5;
4712                target: "over3";
4713            }
4714            program {
4715                name:   "item_unclick3";
4716                signal: "mouse,up,1";
4717                source: "over2";
4718                action: SIGNAL_EMIT "elm,action,click" "";
4719            }
4720            program { name: "text_show";
4721                signal: "elm,state,text,visible";
4722                source: "elm";
4723                script {
4724                    set_int(menu_text_visible, 1);
4725                    set_state(PART:"elm.text", "visible", 0.0);
4726                }
4727            }
4728            program { name: "text_hide";
4729                signal: "elm,state,text,hidden";
4730                source: "elm";
4731                script {
4732                    set_int(menu_text_visible, 0);
4733                    set_state(PART:"elm.text", "default", 0.0);
4734                }
4735            }
4736            program { name: "disable";
4737                signal: "elm,state,disabled";
4738                source: "elm";
4739                action: STATE_SET "disabled" 0.0;
4740                target: "item_image";
4741                target: "item_image_disabled";
4742                target: "over1";
4743                target: "over2";
4744                target: "over_disabled";
4745                target: "disabler";
4746                after: "disable_text";
4747            }
4748            program { name: "disable_text";
4749                script {
4750                    new v;
4751                    v = get_int(menu_text_visible);
4752                    if (v==1)
4753                     set_state(PART:"elm.text", "disabled_visible", 0.0);
4754                    else if (v==0)
4755                     set_state(PART:"elm.text", "disabled", 0.0);
4756                    set_int(menu_disable, 1);
4757                }
4758            }
4759            program { name: "enable";
4760                signal: "elm,state,enabled";
4761                source: "elm";
4762                action: STATE_SET "default" 0.0;
4763                target: "item_image";
4764                target: "item_image_disabled";
4765                target: "over1";
4766                target: "over2";
4767                target: "over_disabled";
4768                target: "disabler";
4769                after: "enable_text";
4770            }
4771            program { name: "enable_text";
4772                script {
4773                    new v;
4774                    v = get_int(menu_text_visible);
4775                    if (v==1)
4776                     set_state(PART:"elm.text", "visible", 0.0);
4777                    else  if (v==0)
4778                     set_state(PART:"elm.text", "default", 0.0);
4779                    set_int(menu_disable, 0);
4780                }
4781            }
4782        }
4783    }
4784
4785    group { name: "elm/menu/item_with_submenu/default";
4786        images {
4787            image: "bt_base1.png" COMP;
4788            image: "bt_base2.png" COMP;
4789            image: "bt_hilight.png" COMP;
4790            image: "bt_shine.png" COMP;
4791            image: "bt_glow.png" COMP;
4792            image: "bt_dis_base.png" COMP;
4793            image: "bt_dis_hilight.png" COMP;
4794            image: "arrow_right.png" COMP;
4795            image: "arrow_left.png" COMP;
4796        }
4797        script {
4798             public menu_text_visible; //0:hide (default), 1:visible
4799             public menu_disable; //0:enable, 1:disable
4800        }
4801        parts {
4802            part { name: "item_image";
4803                mouse_events: 1;
4804                description { state: "default" 0.0;
4805                    color: 255 255 255 0;
4806                    image {
4807                        normal: "bt_base2.png";
4808                        border: 7 7 7 7;
4809                    }
4810                    image.middle: SOLID;
4811                }
4812                description { state: "visible" 0.0;
4813                    inherit: "default" 0.0;
4814                    color: 255 255 255 255;
4815                }
4816                description { state: "clicked" 0.0;
4817                    inherit: "default" 0.0;
4818                    inherit: "visible" 0.0;
4819                    image.normal: "bt_base1.png";
4820                    image.middle: SOLID;
4821                }
4822                description { state: "disabled" 0.0;
4823                    inherit:  "default" 0.0;
4824                }
4825            }
4826            part { name: "item_image_disabled";
4827                mouse_events: 1;
4828                description { state: "default" 0.0;
4829                    color: 255 255 255 0;
4830                    image {
4831                        normal: "bt_dis_base.png";
4832                        border: 4 4 4 4;
4833                    }
4834                    image.middle: SOLID;
4835                }
4836                description { state: "disabled" 0.0;
4837                    inherit:  "default" 0.0;
4838                    color: 255 255 255 255;
4839                }
4840            }
4841            part { name: "arrow";
4842                mouse_events: 1;
4843                description { state: "default" 0.0;
4844                    color: 255 255 255 255;
4845                    align: 1.0 0.5;
4846                    aspect: 1 1;
4847                    aspect_preference: BOTH;
4848                    image {
4849                        normal: "arrow_right.png";
4850                    }
4851                }
4852                description { state: "rtl" 0.0;
4853                   inherit: "default" 0.0;
4854                   image.normal: "arrow_left.png";
4855                }
4856            }
4857            part { name: "elm.swallow.content";
4858                type: SWALLOW;
4859                description { state: "default" 0.0;
4860                    fixed: 1 0;
4861                    visible: 1;
4862                    align: 0.0 0.5;
4863                    rel1.offset: 4 4;
4864                    rel2.offset: 3 -5;
4865                    rel2.relative: 0.0 1.0;
4866                    aspect: 1.0 1.0;
4867                    aspect_preference: VERTICAL;
4868                    rel2.offset: 4 -5;
4869                }
4870            }
4871            part {
4872                name:          "elm.text";
4873                type:          TEXT;
4874                mouse_events:  0;
4875                scale: 1;
4876                description { state: "default" 0.0;
4877                    visible: 0;
4878                    rel1.to_x: "elm.swallow.content";
4879                    rel1.relative: 1.0 0.0;
4880                    rel1.offset: 5 7;
4881                    rel2.offset: -10 -8;
4882                    color: 0 0 0 255;
4883                    text {
4884                        font:     "Sans,Edje-Vera";
4885                        size:     10;
4886                        min:      1 1;
4887                        align:    0.0 0.5;
4888                        text_class: "menu_item";
4889                    }
4890                }
4891                description { state: "visible" 0.0;
4892                    inherit: "default" 0.0;
4893                    visible: 1;
4894                    text.min: 1 1;
4895                }
4896                description { state: "selected" 0.0;
4897                    inherit: "default" 0.0;
4898                    inherit: "visible" 0.0;
4899                    color: 254 254 254 255;
4900                }
4901                description { state: "disabled" 0.0;
4902                    inherit: "default" 0.0;
4903                    color: 0 0 0 128;
4904                }
4905                description { state: "disabled_visible" 0.0;
4906                    inherit: "default" 0.0;
4907                    inherit: "visible" 0.0;
4908                    color: 0 0 0 128;
4909                }
4910            }
4911            part {          name: "over1";
4912                mouse_events: 0;
4913                description { state: "default" 0.0;
4914                    color: 255 255 255 0;
4915                    rel2.relative: 1.0 0.5;
4916                    image {
4917                        normal: "bt_hilight.png";
4918                        border: 7 7 7 0;
4919                    }
4920                }
4921                description { state: "visible" 0.0;
4922                    inherit:  "default" 0.0;
4923                    color: 255 255 255 255;
4924                }
4925                description { state: "disabled" 0.0;
4926                    inherit:  "default" 0.0;
4927                }
4928            }
4929            part { name: "over_disabled";
4930                mouse_events: 0;
4931                description { state: "default" 0.0;
4932                    color: 255 255 255 0;
4933                    rel2.relative: 1.0 0.5;
4934                    image {
4935                        normal: "bt_dis_hilight.png";
4936                        border: 4 4 4 0;
4937                    }
4938                }
4939                description { state: "disabled" 0.0;
4940                    inherit:  "default" 0.0;
4941                    color: 255 255 255 255;
4942                }
4943            }
4944            part { name: "over2";
4945                mouse_events: 1;
4946                repeat_events: 1;
4947                ignore_flags: ON_HOLD;
4948                description { state: "default" 0.0;
4949                    image {
4950                        normal: "bt_shine.png";
4951                        border: 7 7 7 7;
4952                    }
4953                }
4954                description { state: "disabled" 0.0;
4955                    inherit:  "default" 0.0;
4956                    visible: 0;
4957                }
4958            }
4959            part { name: "over3";
4960                mouse_events: 1;
4961                repeat_events: 1;
4962                description { state: "default" 0.0;
4963                    color: 255 255 255 0;
4964                    image {
4965                        normal: "bt_glow.png";
4966                        border: 12 12 12 12;
4967                    }
4968                    fill.smooth : 0;
4969                }
4970                description { state: "clicked" 0.0;
4971                    inherit:  "default" 0.0;
4972                    visible: 1;
4973                    color: 255 255 255 255;
4974                }
4975            }
4976            part { name: "disabler";
4977                type: RECT;
4978                description { state: "default" 0.0;
4979                    color: 0 0 0 0;
4980                    visible: 0;
4981                }
4982                description { state: "disabled" 0.0;
4983                    inherit: "default" 0.0;
4984                    visible: 1;
4985                }
4986            }
4987        }
4988        programs {
4989            //
4990            program {
4991                name:   "item_mouse_in";
4992                signal: "mouse,in";
4993                source: "over2";
4994                action: SIGNAL_EMIT "elm,action,activate" "";
4995                after: "item_mouse_in_2";
4996                after: "item_mouse_in_3";
4997            }
4998            program {
4999                name:   "item_mouse_in_2";
5000                transition: DECELERATE 0.5;
5001                script {
5002                    new v, d;
5003                    v = get_int(menu_text_visible);
5004                    d = get_int(menu_disable);
5005
5006                    if (v==1 && d==0)
5007                         run_program(PROGRAM:"selected_text");
5008                }
5009            }
5010            program {
5011                name:   "item_mouse_in_3";
5012                action : STATE_SET "visible" 0.0;
5013                target: "item_image";
5014                target: "over1";
5015                transition: DECELERATE 0.5;
5016            }
5017            program {
5018                name:   "selected_text";
5019                action: STATE_SET "selected" 0.0;
5020                target: "elm.text";
5021                transition: DECELERATE 0.5;
5022            }
5023            //
5024
5025            //
5026            program {
5027                name:   "item_mouse_out";
5028                signal: "mouse,out";
5029                source: "over2";
5030                after: "item_mouse_out_2";
5031                after: "item_mouse_out_3";
5032            }
5033            program {
5034                name:   "item_mouse_out_2";
5035                transition: DECELERATE 0.5;
5036                script {
5037                    new v, d;
5038                    v = get_int(menu_text_visible);
5039                    d = get_int(menu_disable);
5040
5041                    if (v==1 && d==0)
5042                         run_program(PROGRAM:"visible_text");
5043                }
5044            }
5045            program {
5046                name:   "item_mouse_out_3";
5047                action: STATE_SET "default" 0.0;
5048                target: "item_image";
5049                target: "over1";
5050                transition: DECELERATE 0.5;
5051            }
5052            program {
5053                name:   "visible_text";
5054                action: STATE_SET "visible" 0.0;
5055                target: "elm.text";
5056                transition: DECELERATE 0.5;
5057            }
5058            //
5059
5060            program {
5061                name:   "item_unclick";
5062                signal: "mouse,up,1";
5063                source: "over2";
5064                action: STATE_SET "visible" 0.0;
5065                target: "item_image";
5066            }
5067            program {
5068                name:   "item_click2";
5069                signal: "mouse,down,1";
5070                source: "over3";
5071                action: STATE_SET "clicked" 0.0;
5072                target: "over3";
5073            }
5074            program {
5075                name:   "item_unclick2";
5076                signal: "mouse,up,1";
5077                source: "over3";
5078                action: STATE_SET "default" 0.0;
5079                transition: DECELERATE 0.5;
5080                target: "over3";
5081            }
5082            program {
5083                name:   "item_unclick3";
5084                signal: "mouse,up,1";
5085                source: "over2";
5086                action: SIGNAL_EMIT "elm,action,click" "";
5087            }
5088            program {
5089                name:   "menu_open";
5090                signal: "mouse,in";
5091                source: "over2";
5092                action: SIGNAL_EMIT "elm,action,open" "";
5093            }
5094             program { name: "text_show";
5095                signal: "elm,state,text,visible";
5096                source: "elm";
5097                script {
5098                    set_int(menu_text_visible, 1);
5099                    set_state(PART:"elm.text", "visible", 0.0);
5100                }
5101            }
5102            program { name: "text_hide";
5103                signal: "elm,state,text,hidden";
5104                source: "elm";
5105                script {
5106                    set_int(menu_text_visible, 0);
5107                    set_state(PART:"elm.text", "default", 0.0);
5108                }
5109            }
5110            program { name: "disable";
5111                signal: "elm,state,disabled";
5112                source: "elm";
5113                action: STATE_SET "disabled" 0.0;
5114                target: "item_image";
5115                target: "item_image_disabled";
5116                target: "over1";
5117                target: "over2";
5118                target: "over_disabled";
5119                target: "disabler";
5120                after: "disable_text";
5121            }
5122            program { name: "disable_text";
5123                script {
5124                    new st[31];
5125                    new Float:vl;
5126                    get_state(PART:"elm.text", st, 30, vl);
5127                    if (!strcmp(st, "visible"))
5128                    set_state(PART:"elm.text", "disabled_visible", 0.0);
5129                    else if (!strcmp(st, "default"))
5130                    set_state(PART:"elm.text", "disabled", 0.0);
5131                }
5132            }
5133            program { name: "enable";
5134                signal: "elm,state,enabled";
5135                source: "elm";
5136                action: STATE_SET "default" 0.0;
5137                target: "item_image";
5138                target: "item_image_disabled";
5139                target: "over1";
5140                target: "over2";
5141                target: "over_disabled";
5142                target: "disabler";
5143                after: "enable_text";
5144            }
5145            program { name: "enable_text";
5146                script {
5147                    new v;
5148                    v = get_int(menu_text_visible);
5149                    if (v==1)
5150                     set_state(PART:"elm.text", "visible", 0.0);
5151                    else  if (v==0)
5152                     set_state(PART:"elm.text", "default", 0.0);
5153                    set_int(menu_disable, 0);
5154                }
5155            }
5156            program { name: "to_rtl";
5157                signal: "edje,state,rtl";
5158                source: "edje";
5159                action: STATE_SET "rtl" 0.0;
5160                target: "arrow";
5161            }
5162            program { name: "to_ltr";
5163                signal: "edje,state,ltr";
5164                source: "edje";
5165                action: STATE_SET "default" 0.0;
5166                target: "arrow";
5167            }
5168        }
5169    }
5170
5171    group { name: "elm/menu/separator/default";
5172        images {
5173            image: "separator_h.png" COMP;
5174        }
5175        parts {
5176            part { name: "separator"; // separator group
5177                description { state: "default" 0.0;
5178                    min: 2 2;
5179                    rel1.offset: 4 4;
5180                    rel2.offset: -5 -5;
5181                    image {
5182                        normal: "separator_h.png";
5183                    }
5184                    fill {
5185                        smooth: 0;
5186                    }
5187                }
5188            }
5189        }
5190    }
5191 ///////////////////////////////////////////////////////////////////////////////
5192    group { name: "elm/clock/base-all/default";
5193       parts {
5194          part { name: "d0";
5195             type: SWALLOW;
5196             description { state: "default" 0.0;
5197                rel1.relative: 0.0000000 0.0;
5198                rel2.relative: 0.1250000 1.0;
5199             }
5200          }
5201          part { name: "d1";
5202             type: SWALLOW;
5203             description { state: "default" 0.0;
5204                rel1.relative: 0.1250000 0.0;
5205                rel2.relative: 0.2500000 1.0;
5206             }
5207          }
5208          part { name: "c0";
5209             type: SWALLOW;
5210             type: TEXT;
5211             mouse_events:  0;
5212             scale: 1;
5213             description { state: "default" 0.0;
5214                rel1.relative: 0.2500000 0.0;
5215                rel2.relative: 0.3125000 1.0;
5216                color: 0 0 0 255;
5217                text {
5218                   font:     "Sans,Edje-Vera";
5219                   text:     ":";
5220                   size:     10;
5221                   min:      1 1;
5222                   align:    0.5 0.5;
5223                }
5224             }
5225          }
5226          part { name: "d2";
5227             type: SWALLOW;
5228             description { state: "default" 0.0;
5229                rel1.relative: 0.3125000 0.0;
5230                rel2.relative: 0.4375000 1.0;
5231             }
5232          }
5233          part { name: "d3";
5234             type: SWALLOW;
5235             description { state: "default" 0.0;
5236                rel1.relative: 0.4375000 0.0;
5237                rel2.relative: 0.5625000 1.0;
5238             }
5239          }
5240          // (if seconds)
5241          part { name: "c1";
5242             type: SWALLOW;
5243             type: TEXT;
5244             mouse_events:  0;
5245             scale: 1;
5246             description { state: "default" 0.0;
5247                rel1.relative: 0.5625000 0.0;
5248                rel2.relative: 0.6250000 1.0;
5249                color: 0 0 0 255;
5250                text {
5251                   font:     "Sans,Edje-Vera";
5252                   text:     ":";
5253                   size:     10;
5254                   min:      1 1;
5255                   align:    0.5 0.5;
5256                }
5257             }
5258          }
5259          // (if seconds)
5260          part { name: "d4";
5261             type: SWALLOW;
5262             description { state: "default" 0.0;
5263                rel1.relative: 0.6250000 0.0;
5264                rel2.relative: 0.7500000 1.0;
5265             }
5266          }
5267          // (if seconds)
5268          part { name: "d5";
5269             type: SWALLOW;
5270             description { state: "default" 0.0;
5271                rel1.relative: 0.7500000 0.0;
5272                rel2.relative: 0.8750000 1.0;
5273             }
5274          }
5275          // (if am_pm)
5276          part { name: "ampm";
5277             type: SWALLOW;
5278             description { state: "default" 0.0;
5279                rel1.relative: 0.8750000 0.0;
5280                rel2.relative: 1.0 1.0;
5281             }
5282          }
5283       }
5284    }
5285
5286 ///////////////////////////////////////////////////////////////////////////////
5287    group { name: "elm/clock/base-seconds/default";
5288       parts {
5289          part { name: "d0";
5290             type: SWALLOW;
5291             description { state: "default" 0.0;
5292                rel1.relative: 0.000000000 0.0;
5293                rel2.relative: 0.142857143 1.0;
5294             }
5295          }
5296          part { name: "d1";
5297             type: SWALLOW;
5298             description { state: "default" 0.0;
5299                rel1.relative: 0.142857143 0.0;
5300                rel2.relative: 0.285714286 1.0;
5301             }
5302          }
5303          part { name: "c0";
5304             type: SWALLOW;
5305             type: TEXT;
5306             mouse_events:  0;
5307             scale: 1;
5308             description { state: "default" 0.0;
5309                rel1.relative: 0.285714286 0.0;
5310                rel2.relative: 0.357142857 1.0;
5311                color: 0 0 0 255;
5312                text {
5313                   font:     "Sans,Edje-Vera";
5314                   text:     ":";
5315                   size:     10;
5316                   min:      1 1;
5317                   align:    0.5 0.5;
5318                }
5319             }
5320          }
5321          part { name: "d2";
5322             type: SWALLOW;
5323             description { state: "default" 0.0;
5324                rel1.relative: 0.357142857 0.0;
5325                rel2.relative: 0.500000000 1.0;
5326             }
5327          }
5328          part { name: "d3";
5329             type: SWALLOW;
5330             description { state: "default" 0.0;
5331                rel1.relative: 0.500000000 0.0;
5332                rel2.relative: 0.642857143 1.0;
5333             }
5334          }
5335          // (if seconds)
5336          part { name: "c1";
5337             type: SWALLOW;
5338             type: TEXT;
5339             mouse_events:  0;
5340             scale: 1;
5341             description { state: "default" 0.0;
5342                rel1.relative: 0.642857143 0.0;
5343                rel2.relative: 0.714285714 1.0;
5344                color: 0 0 0 255;
5345                text {
5346                   font:     "Sans,Edje-Vera";
5347                   text:     ":";
5348                   size:     10;
5349                   min:      1 1;
5350                   align:    0.5 0.5;
5351                }
5352             }
5353          }
5354          // (if seconds)
5355          part { name: "d4";
5356             type: SWALLOW;
5357             description { state: "default" 0.0;
5358                rel1.relative: 0.714285714 0.0;
5359                rel2.relative: 0.857142857 1.0;
5360             }
5361          }
5362          // (if seconds)
5363          part { name: "d5";
5364             type: SWALLOW;
5365             description { state: "default" 0.0;
5366                rel1.relative: 0.857142857 0.0;
5367                rel2.relative: 1.000000000 1.0;
5368             }
5369          }
5370       }
5371    }
5372
5373 ///////////////////////////////////////////////////////////////////////////////
5374    group { name: "elm/clock/base-am_pm/default";
5375       parts {
5376          part { name: "d0";
5377             type: SWALLOW;
5378             description { state: "default" 0.0;
5379                rel1.relative: 0.000000000 0.0;
5380                rel2.relative: 0.181818182 1.0;
5381             }
5382          }
5383          part { name: "d1";
5384             type: SWALLOW;
5385             description { state: "default" 0.0;
5386                rel1.relative: 0.181818182 0.0;
5387                rel2.relative: 0.363636364 1.0;
5388             }
5389          }
5390          part { name: "c0";
5391             type: SWALLOW;
5392             type: TEXT;
5393             mouse_events:  0;
5394             scale: 1;
5395             description { state: "default" 0.0;
5396                rel1.relative: 0.363636364 0.0;
5397                rel2.relative: 0.454545455 1.0;
5398                color: 0 0 0 255;
5399                text {
5400                   font:     "Sans,Edje-Vera";
5401                   text:     ":";
5402                   size:     10;
5403                   min:      1 1;
5404                   align:    0.5 0.5;
5405                }
5406             }
5407          }
5408          part { name: "d2";
5409             type: SWALLOW;
5410             description { state: "default" 0.0;
5411                rel1.relative: 0.454545455 0.0;
5412                rel2.relative: 0.636363636 1.0;
5413             }
5414          }
5415          part { name: "d3";
5416             type: SWALLOW;
5417             description { state: "default" 0.0;
5418                rel1.relative: 0.636363636 0.0;
5419                rel2.relative: 0.818181818 1.0;
5420             }
5421          }
5422          // (if am_pm)
5423          part { name: "ampm";
5424             type: SWALLOW;
5425             description { state: "default" 0.0;
5426                rel1.relative: 0.818181818 0.0;
5427                rel2.relative: 1.0 1.0;
5428             }
5429          }
5430       }
5431    }
5432
5433 ///////////////////////////////////////////////////////////////////////////////
5434    group { name: "elm/clock/base/default";
5435       parts {
5436          part { name: "d0";
5437             type: SWALLOW;
5438             description { state: "default" 0.0;
5439                rel1.relative: 0.000000000 0.0;
5440                rel2.relative: 0.222222222 1.0;
5441             }
5442          }
5443          part { name: "d1";
5444             type: SWALLOW;
5445             description { state: "default" 0.0;
5446                rel1.relative: 0.222222222 0.0;
5447                rel2.relative: 0.444444444 1.0;
5448             }
5449          }
5450          part { name: "c0";
5451             type: SWALLOW;
5452             type: TEXT;
5453             mouse_events:  0;
5454             scale: 1;
5455             description { state: "default" 0.0;
5456                rel1.relative: 0.444444444 0.0;
5457                rel2.relative: 0.555555556 1.0;
5458                color: 0 0 0 255;
5459                text {
5460                   font:     "Sans,Edje-Vera";
5461                   text:     ":";
5462                   size:     10;
5463                   min:      1 1;
5464                   align:    0.5 0.5;
5465                }
5466             }
5467          }
5468          part { name: "d2";
5469             type: SWALLOW;
5470             description { state: "default" 0.0;
5471                rel1.relative: 0.555555556 0.0;
5472                rel2.relative: 0.777777778 1.0;
5473             }
5474          }
5475          part { name: "d3";
5476             type: SWALLOW;
5477             description { state: "default" 0.0;
5478                rel1.relative: 0.777777778 0.0;
5479                rel2.relative: 1.000000000 1.0;
5480             }
5481          }
5482       }
5483    }
5484
5485 ///////////////////////////////////////////////////////////////////////////////
5486    group { name: "elm/frame/base/default";
5487        images {
5488            image: "frame_1.png" COMP;
5489            image: "frame_2.png" COMP;
5490            image: "dia_grad.png" COMP;
5491        }
5492        parts {
5493            part { name: "base0";
5494                mouse_events:  0;
5495                description { state: "default" 0.0;
5496                    image.normal: "dia_grad.png";
5497                    rel1.to: "over";
5498                    rel2.to: "over";
5499                    fill {
5500                        smooth: 0;
5501                        size {
5502                            relative: 0.0 1.0;
5503                            offset: 64 0;
5504                        }
5505                    }
5506                }
5507            }
5508            part { name: "base";
5509                mouse_events:  0;
5510                description { state:    "default" 0.0;
5511                    rel2.to: "elm.swallow.content";
5512                    rel2.offset: 9 9;
5513                    image {
5514                        normal: "frame_2.png";
5515                        border: 5 5 32 26;
5516                        middle: 0;
5517                    }
5518                    fill.smooth : 0;
5519                }
5520            }
5521            part { name: "elm.text";
5522                type: TEXT;
5523                mouse_events:   0;
5524                scale: 1;
5525                description { state: "default" 0.0;
5526                    align: 0.0 0.0;
5527                    fixed: 0 1;
5528                    rel1 {
5529                        relative: 0.0 0.0;
5530                        offset: 6 6;
5531                    }
5532                    rel2 {
5533                        relative: 1.0 0.0;
5534                        offset: -7 6;
5535                    }
5536                    color: 0 0 0 64;
5537                    text {
5538                        font: "Sans:style=Bold,Edje-Vera-Bold";
5539                        size: 10;
5540                        min: 1 1;
5541                        max: 1 1;
5542                        align: 0.0 0.0;
5543                    }
5544                }
5545            }
5546            part { name: "over";
5547                mouse_events:  0;
5548                description { state:    "default" 0.0;
5549                    rel1.offset: 4 4;
5550                    rel2.to: "elm.swallow.content";
5551                    rel2.offset: 5 5;
5552                    image {
5553                        normal: "frame_1.png";
5554                        border: 2 2 28 22;
5555                        middle: 0;
5556                    }
5557                    fill.smooth : 0;
5558                }
5559            }
5560            part { name: "elm.swallow.content";
5561                type: SWALLOW;
5562                description { state: "default" 0.0;
5563                    align: 0.0 0.0;
5564                    rel1 {
5565                        to_y: "elm.text";
5566                        relative: 0.0 1.0;
5567                        offset: 8 2;
5568                    }
5569                    rel2.offset: -9 -9;
5570                }
5571            }
5572        }
5573    }
5574
5575    group { name: "elm/frame/base/pad_small";
5576        parts {
5577            part { name: "b0";
5578                mouse_events:  0;
5579                type: RECT;
5580                scale: 1;
5581                description { state: "default" 0.0;
5582                    visible: 0;
5583                    min: 4 4;
5584                    max: 4 4;
5585                    align: 0.0 0.0;
5586                }
5587            }
5588            part { name: "b1";
5589                mouse_events:  0;
5590                type: RECT;
5591                scale: 1;
5592                description { state: "default" 0.0;
5593                    visible: 0;
5594                    min: 4 4;
5595                    max: 4 4;
5596                    align: 1.0 1.0;
5597                }
5598            }
5599            part { name: "elm.swallow.content";
5600                type: SWALLOW;
5601                description { state: "default" 0.0;
5602                    rel1 {
5603                        to: "b0";
5604                        relative: 1.0 1.0;
5605                        offset: 0 0;
5606                    }
5607                    rel2 {
5608                        to: "b1";
5609                        relative: 0.0 0.0;
5610                        offset: -1 -1;
5611                    }
5612                }
5613            }
5614        }
5615    }
5616
5617    group { name: "elm/frame/base/pad_medium";
5618        parts {
5619            part { name: "b0";
5620                mouse_events:  0;
5621                type: RECT;
5622                scale: 1;
5623                description { state: "default" 0.0;
5624                    visible: 0;
5625                    min: 8 8;
5626                    max: 8 8;
5627                    align: 0.0 0.0;
5628                }
5629            }
5630            part { name: "b1";
5631                mouse_events:  0;
5632                type: RECT;
5633                scale: 1;
5634                description { state: "default" 0.0;
5635                    visible: 0;
5636                    min: 8 8;
5637                    max: 8 8;
5638                    align: 1.0 1.0;
5639                }
5640            }
5641            part { name: "elm.swallow.content";
5642                type: SWALLOW;
5643                description { state: "default" 0.0;
5644                    rel1 {
5645                        to: "b0";
5646                        relative: 1.0 1.0;
5647                        offset: 0 0;
5648                    }
5649                    rel2 {
5650                        to: "b1";
5651                        relative: 0.0 0.0;
5652                        offset: -1 -1;
5653                    }
5654                }
5655            }
5656        }
5657    }
5658
5659    group { name: "elm/frame/base/pad_large";
5660        parts {
5661            part { name: "b0";
5662                mouse_events:  0;
5663                type: RECT;
5664                scale: 1;
5665                description { state: "default" 0.0;
5666                    visible: 0;
5667                    min: 16 16;
5668                    max: 16 16;
5669                    align: 0.0 0.0;
5670                }
5671            }
5672            part { name: "b1";
5673                mouse_events:  0;
5674                type: RECT;
5675                scale: 1;
5676                description { state: "default" 0.0;
5677                    visible: 0;
5678                    min: 16 16;
5679                    max: 16 16;
5680                    align: 1.0 1.0;
5681                }
5682            }
5683            part { name: "elm.swallow.content";
5684                type: SWALLOW;
5685                description { state: "default" 0.0;
5686                    rel1 {
5687                        to: "b0";
5688                        relative: 1.0 1.0;
5689                        offset: 0 0;
5690                    }
5691                    rel2 {
5692                        to: "b1";
5693                        relative: 0.0 0.0;
5694                        offset: -1 -1;
5695                    }
5696                }
5697            }
5698        }
5699    }
5700
5701    group { name: "elm/frame/base/pad_huge";
5702        parts {
5703            part { name: "b0";
5704                mouse_events:  0;
5705                type: RECT;
5706                scale: 1;
5707                description { state: "default" 0.0;
5708                    visible: 0;
5709                    min: 32 32;
5710                    max: 32 32;
5711                    align: 0.0 0.0;
5712                }
5713            }
5714            part { name: "b1";
5715                mouse_events:  0;
5716                type: RECT;
5717                scale: 1;
5718                description { state: "default" 0.0;
5719                    visible: 0;
5720                    min: 32 32;
5721                    max: 32 32;
5722                    align: 1.0 1.0;
5723                }
5724            }
5725            part { name: "elm.swallow.content";
5726                type: SWALLOW;
5727                description { state: "default" 0.0;
5728                    rel1 {
5729                        to: "b0";
5730                        relative: 1.0 1.0;
5731                        offset: 0 0;
5732                    }
5733                    rel2 {
5734                        to: "b1";
5735                        relative: 0.0 0.0;
5736                        offset: -1 -1;
5737                    }
5738                }
5739            }
5740        }
5741    }
5742
5743    group { name: "elm/frame/base/outdent_top";
5744        images {
5745            image: "outdent-top.png" COMP;
5746        }
5747        parts {
5748            part { name: "base0";
5749                mouse_events:  0;
5750                description { state: "default" 0.0;
5751                    image.normal: "outdent-top.png";
5752                    image.border: 0 0 0 13;
5753                    fill.smooth: 0;
5754                }
5755            }
5756            part { name: "elm.swallow.content";
5757                type: SWALLOW;
5758                description { state: "default" 0.0;
5759                    rel1.offset: 2 2;
5760                    rel2.offset: -3 -13;
5761                }
5762            }
5763        }
5764    }
5765
5766    group { name: "elm/frame/base/outdent_bottom";
5767        images {
5768            image: "outdent-bottom.png" COMP;
5769        }
5770        parts {
5771            part { name: "base0";
5772                mouse_events:  0;
5773                description { state: "default" 0.0;
5774                    image.normal: "outdent-bottom.png";
5775                    image.border: 0 0 13 0;
5776                    fill.smooth: 0;
5777                }
5778            }
5779            part { name: "elm.swallow.content";
5780                type: SWALLOW;
5781                description { state: "default" 0.0;
5782                    rel1.offset: 2 12;
5783                    rel2.offset: -3 -3;
5784                }
5785            }
5786        }
5787    }
5788
5789 ///////////////////////////////////////////////////////////////////////////////
5790    group { name: "elm/label/base/tooltip";
5791       styles {
5792          style { name: "tooltip_style";
5793             base: "font=Sans font_size=8 color=#666 wrap=word";
5794             tag:  "br" "\n";
5795             tag:  "hilight" "+ font=Sans:style=Bold";
5796             tag:  "b" "+ font=Sans:style=Bold";
5797             tag:  "tab" "\t";
5798          }
5799       }
5800       parts {
5801          part { name: "elm.text";
5802             type: TEXTBLOCK;
5803             mouse_events: 0;
5804             scale: 1;
5805             description { state: "default" 0.0;
5806                text {
5807                   style: "tooltip_style";
5808                   min: 1 1;
5809                }
5810             }
5811          }
5812       }
5813    }
5814
5815    group { name: "elm/tooltip/base/default";
5816        min: 30 30;
5817        data {
5818            item: "pad_x" "20";
5819            item: "pad_y" "20";
5820            item: "pad_border_x" "10";
5821            item: "pad_border_y" "10";
5822            item: "hide_timeout" "0.35"; /**< tooltip is hidden after this amount, keep in sync with hide animations */
5823        }
5824        images {
5825            image: "tooltip-base.png" COMP;
5826            image: "tooltip-corner-top-left-tip.png" COMP;
5827            image: "tooltip-corner-top-right-tip.png" COMP;
5828            image: "tooltip-corner-bottom-left-tip.png" COMP;
5829            image: "tooltip-corner-bottom-right-tip.png" COMP;
5830            image: "tooltip-edge-left-tip.png" COMP;
5831            image: "tooltip-edge-right-tip.png" COMP;
5832            image: "tooltip-edge-bottom-tip.png" COMP;
5833            image: "tooltip-edge-top-tip.png" COMP;
5834        }
5835        script {
5836           hide_corners() {
5837              set_state(PART:"corner-top-left", "default", 0.0);
5838              set_state(PART:"corner-top-right", "default", 0.0);
5839              set_state(PART:"corner-bottom-left", "default", 0.0);
5840              set_state(PART:"corner-bottom-right", "default", 0.0);
5841           }
5842           hide_edges() {
5843              set_state(PART:"clipper-edge-left", "default", 0.0);
5844              set_state(PART:"clipper-edge-right", "default", 0.0);
5845              set_state(PART:"clipper-edge-top", "default", 0.0);
5846              set_state(PART:"clipper-edge-bottom", "default", 0.0);
5847           }
5848
5849           show_corner_top_left() {
5850              set_state(PART:"corner-top-left", "visible", 0.0);
5851
5852              set_state(PART:"corner-top-right", "default", 0.0);
5853              set_state(PART:"corner-bottom-left", "default", 0.0);
5854              set_state(PART:"corner-bottom-right", "default", 0.0);
5855              hide_edges();
5856           }
5857           show_corner_top_right() {
5858              set_state(PART:"corner-top-right", "visible", 0.0);
5859
5860              set_state(PART:"corner-top-left", "default", 0.0);
5861              set_state(PART:"corner-bottom-left", "default", 0.0);
5862              set_state(PART:"corner-bottom-right", "default", 0.0);
5863              hide_edges();
5864           }
5865
5866           show_corner_bottom_left() {
5867              set_state(PART:"corner-bottom-left", "visible", 0.0);
5868
5869              set_state(PART:"corner-bottom-right", "default", 0.0);
5870              set_state(PART:"corner-top-left", "default", 0.0);
5871              set_state(PART:"corner-top-right", "default", 0.0);
5872              hide_edges();
5873           }
5874           show_corner_bottom_right() {
5875              set_state(PART:"corner-bottom-right", "visible", 0.0);
5876
5877              set_state(PART:"corner-bottom-left", "default", 0.0);
5878              set_state(PART:"corner-top-left", "default", 0.0);
5879              set_state(PART:"corner-top-right", "default", 0.0);
5880              hide_edges();
5881           }
5882
5883           show_edge_left(Float:val) {
5884              set_state(PART:"clipper-edge-left", "visible", 0.0);
5885              set_drag(PART:"edge-drag-left", 0.0, val);
5886
5887              set_state(PART:"clipper-edge-right", "default", 0.0);
5888              set_state(PART:"clipper-edge-top", "default", 0.0);
5889              set_state(PART:"clipper-edge-bottom", "default", 0.0);
5890              hide_corners();
5891           }
5892           show_edge_right(Float:val) {
5893              set_state(PART:"clipper-edge-right", "visible", 0.0);
5894              set_drag(PART:"edge-drag-right", 0.0, val);
5895
5896              set_state(PART:"clipper-edge-left", "default", 0.0);
5897              set_state(PART:"clipper-edge-top", "default", 0.0);
5898              set_state(PART:"clipper-edge-bottom", "default", 0.0);
5899              hide_corners();
5900           }
5901
5902           show_edge_top(Float:val) {
5903              set_state(PART:"clipper-edge-top", "visible", 0.0);
5904              set_drag(PART:"edge-drag-top", val, 0.0);
5905
5906              set_state(PART:"clipper-edge-bottom", "default", 0.0);
5907              set_state(PART:"clipper-edge-left", "default", 0.0);
5908              set_state(PART:"clipper-edge-right", "default", 0.0);
5909              hide_corners();
5910           }
5911           show_edge_bottom(Float:val) {
5912              set_state(PART:"clipper-edge-bottom", "visible", 0.0);
5913              set_drag(PART:"edge-drag-bottom", val, 0.0);
5914
5915              set_state(PART:"clipper-edge-top", "default", 0.0);
5916              set_state(PART:"clipper-edge-left", "default", 0.0);
5917              set_state(PART:"clipper-edge-right", "default", 0.0);
5918              hide_corners();
5919           }
5920
5921           public message(Msg_Type:type, id, ...) {
5922              if ((type == MSG_FLOAT_SET) && (id == 1)) {
5923                 new Float:x, Float:y;
5924
5925                 x = getfarg(2);
5926                 y = getfarg(3);
5927
5928                 if (x < 0.0)
5929                   {
5930                      if (y < 0.0)      show_corner_top_left();
5931                      else if (y > 1.0) show_corner_bottom_left();
5932                      else              show_edge_left(y);
5933                   }
5934                 else if (x > 1.0)
5935                   {
5936                      if (y < 0.0)      show_corner_top_right();
5937                      else if (y > 1.0) show_corner_bottom_right();
5938                      else              show_edge_right(y);
5939                   }
5940                 else
5941                   {
5942                      if (y < 0.0)      show_edge_top(x);
5943                      else if (y > 1.0) show_edge_bottom(x);
5944                      else
5945                        {
5946                           hide_corners();
5947                           hide_edges();
5948                        }
5949                   }
5950              }
5951           }
5952        }
5953        parts {
5954            part { name: "clipper";
5955                type: RECT;
5956                description { state: "default" 0.0;
5957                    color: 255 255 255 0;
5958                    rel1.to: "elm.swallow.content";
5959                    rel1.offset: -64 -64;
5960                    rel2.to: "elm.swallow.content";
5961                    rel2.offset: 63 63;
5962                }
5963                description { state: "visible" 0.0;
5964                    inherit: "default" 0.0;
5965                    color: 255 255 255 255;
5966                }
5967            }
5968            part { name: "pop";
5969                mouse_events: 0;
5970                clip_to: "clipper";
5971                description { state: "default" 0.0;
5972                    min: 30 30;
5973                    rel1 {
5974                        to: "elm.swallow.content";
5975                        offset: -15 -15;
5976                    }
5977                    rel2 {
5978                        to: "elm.swallow.content";
5979                        offset: 14 14;
5980                    }
5981                    image {
5982                        normal: "tooltip-base.png";
5983                        border: 14 14 14 14;
5984                    }
5985                    image.middle: SOLID;
5986                }
5987            }
5988
5989 #define TT_CORNER(name_, rx, ry, ax, ay, ox, oy)                        \
5990            part { name: "corner-"name_;                                 \
5991               type: IMAGE;                                              \
5992               mouse_events: 0;                                          \
5993               clip_to: "clipper";                                       \
5994               description { state: "default" 0.0;                       \
5995                  color: 255 255 255 0;                                  \
5996                  visible: 0;                                            \
5997                  min: 14 14;                                            \
5998                  max: 14 14;                                            \
5999                  align: ax ay;                                          \
6000                  fixed: 1 1;                                            \
6001                  rel1 {                                                 \
6002                     relative: rx ry;                                    \
6003                     offset: ox oy;                                      \
6004                     to: "elm.swallow.content";                          \
6005                  }                                                      \
6006                  rel2 {                                                 \
6007                     relative: rx ry;                                    \
6008                     offset: ox oy;                                      \
6009                     to: "elm.swallow.content";                          \
6010                  }                                                      \
6011                  image.normal: "tooltip-corner-"name_"-tip.png";        \
6012               }                                                         \
6013               description { state: "visible" 0.0;                       \
6014                  inherit: "default" 0.0;                                \
6015                  color: 255 255 255 255;                                \
6016                  visible: 1;                                            \
6017               }                                                         \
6018            }
6019            TT_CORNER("top-left", 0, 0, 1, 1, 4, 4);
6020            TT_CORNER("top-right", 1, 0, 0, 1, -5, 4);
6021            TT_CORNER("bottom-left", 0, 1, 1, 0, 4, -5);
6022            TT_CORNER("bottom-right", 1, 1, 0, 0, -5, -5);
6023 #undef TT_CORNER
6024
6025 #define TT_EDGE_VERT(name_, rx, ax, ox)                                 \
6026            part { name: "clipper-edge-"name_;                           \
6027               type: RECT;                                               \
6028               clip_to: "clipper";                                       \
6029               description { state: "default" 0.0;                       \
6030                  color: 255 255 255 0;                                  \
6031                  visible: 0;                                            \
6032                  min: 14 14;                                            \
6033                  align: ax 0.5;                                         \
6034                  fixed: 1 1;                                            \
6035                  rel1 {                                                 \
6036                     relative: rx 0.0;                                   \
6037                     offset: ox 0;                                       \
6038                     to: "elm.swallow.content";                          \
6039                  }                                                      \
6040                  rel2 {                                                 \
6041                     relative: rx 1.0;                                   \
6042                     offset: ox 0;                                       \
6043                     to: "elm.swallow.content";                          \
6044                  }                                                      \
6045               }                                                         \
6046               description { state: "visible" 0.0;                       \
6047                  inherit: "default" 0.0;                                \
6048                  color: 255 255 255 255;                                \
6049                  visible: 1;                                            \
6050               }                                                         \
6051            }                                                            \
6052            part { name: "edge-area-"name_;                              \
6053               type: RECT;                                               \
6054               mouse_events: 0;                                          \
6055               clip_to: "clipper-edge-"name_;                            \
6056               description { state: "default" 0.0;                       \
6057                  color: 0 0 0 0;                                        \
6058                  min: 14 14;                                            \
6059                  align: ax 0.5;                                         \
6060                  fixed: 1 1;                                            \
6061                  rel1 {                                                 \
6062                     relative: rx 0.0;                                   \
6063                     offset: ox 0;                                       \
6064                     to: "elm.swallow.content";                          \
6065                  }                                                      \
6066                  rel2 {                                                 \
6067                     relative: rx 1.0;                                   \
6068                     offset: ox 0;                                       \
6069                     to: "elm.swallow.content";                          \
6070                  }                                                      \
6071               }                                                         \
6072            }                                                            \
6073            part { name: "edge-drag-"name_;                              \
6074               type: RECT;                                               \
6075               mouse_events: 0;                                          \
6076               clip_to: "clipper-edge-"name_;                            \
6077               dragable {                                                \
6078                   x: 0 0 0;                                             \
6079                   y: 1 1 0;                                             \
6080                   confine: "edge-area-"name_;                           \
6081               }                                                         \
6082               description { state: "default" 0.0;                       \
6083                  color: 0 0 0 0;                                        \
6084                  min: 14 14;                                            \
6085                  rel1.to: "edge-area-"name_;                            \
6086                  rel2.to: "edge-area-"name_;                            \
6087               }                                                         \
6088            }                                                            \
6089            part { name: "edge-img-"name_;                               \
6090               type: IMAGE;                                              \
6091               mouse_events: 0;                                          \
6092               clip_to: "clipper-edge-"name_;                            \
6093               description { state: "default" 0.0;                       \
6094                  min: 14 14;                                            \
6095                  max: 14 14;                                            \
6096                  align: ax 0.5;                                         \
6097                  fixed: 1 1;                                            \
6098                  rel1.to: "edge-drag-"name_;                            \
6099                  rel2.to: "edge-drag-"name_;                            \
6100                  image.normal: "tooltip-edge-"name_"-tip.png";          \
6101               }                                                         \
6102            }
6103            TT_EDGE_VERT("left", 0, 1, -2);
6104            TT_EDGE_VERT("right", 1, 0, 1);
6105 #undef TT_EDGE_VERT
6106
6107 #define TT_EDGE_HORIZ(name_, ry, ay, oy)                                \
6108            part { name: "clipper-edge-"name_;                           \
6109               type: RECT;                                               \
6110               clip_to: "clipper";                                       \
6111               description { state: "default" 0.0;                       \
6112                  color: 255 255 255 0;                                  \
6113                  visible: 0;                                            \
6114                  min: 14 14;                                            \
6115                  align: 0.5 ay;                                         \
6116                  fixed: 1 1;                                            \
6117                  rel1 {                                                 \
6118                     relative: 0.0 ry;                                   \
6119                     offset: 0 oy;                                       \
6120                     to: "elm.swallow.content";                          \
6121                  }                                                      \
6122                  rel2 {                                                 \
6123                     relative: 1.0 ry;                                   \
6124                     offset: 0 oy;                                       \
6125                     to: "elm.swallow.content";                          \
6126                  }                                                      \
6127               }                                                         \
6128               description { state: "visible" 0.0;                       \
6129                  inherit: "default" 0.0;                                \
6130                  color: 255 255 255 255;                                \
6131                  visible: 1;                                            \
6132               }                                                         \
6133            }                                                            \
6134            part { name: "edge-area-"name_;                              \
6135               type: RECT;                                               \
6136               mouse_events: 0;                                          \
6137               clip_to: "clipper-edge-"name_;                            \
6138               description { state: "default" 0.0;                       \
6139                  color: 0 0 0 0;                                        \
6140                  min: 14 14;                                            \
6141                  align: 0.5 ay;                                         \
6142                  fixed: 1 1;                                            \
6143                  rel1 {                                                 \
6144                     relative: 0.0 ry;                                   \
6145                     offset: 0 oy;                                       \
6146                     to: "elm.swallow.content";                          \
6147                  }                                                      \
6148                  rel2 {                                                 \
6149                     relative: 1.0 ry;                                   \
6150                     offset: 0 oy;                                       \
6151                     to: "elm.swallow.content";                          \
6152                  }                                                      \
6153               }                                                         \
6154            }                                                            \
6155            part { name: "edge-drag-"name_;                              \
6156               type: RECT;                                               \
6157               mouse_events: 0;                                          \
6158               clip_to: "clipper-edge-"name_;                            \
6159               dragable {                                                \
6160                   x: 1 1 0;                                             \
6161                   y: 0 0 0;                                             \
6162                   confine: "edge-area-"name_;                           \
6163               }                                                         \
6164               description { state: "default" 0.0;                       \
6165                  color: 0 0 0 0;                                        \
6166                  min: 14 14;                                            \
6167                  rel1.to: "edge-area-"name_;                            \
6168                  rel2.to: "edge-area-"name_;                            \
6169               }                                                         \
6170            }                                                            \
6171            part { name: "edge-img-"name_;                               \
6172               type: IMAGE;                                              \
6173               mouse_events: 0;                                          \
6174               clip_to: "clipper-edge-"name_;                            \
6175               description { state: "default" 0.0;                       \
6176                  min: 14 14;                                            \
6177                  max: 14 14;                                            \
6178                  align: 0.5 ay;                                         \
6179                  fixed: 1 1;                                            \
6180                  rel1.to: "edge-drag-"name_;                            \
6181                  rel2.to: "edge-drag-"name_;                            \
6182                  image.normal: "tooltip-edge-"name_"-tip.png";          \
6183               }                                                         \
6184            }
6185            TT_EDGE_HORIZ("top", 0, 1, -2);
6186            TT_EDGE_HORIZ("bottom", 1, 0, 1);
6187 #undef TT_EDGE_HORIZ
6188
6189            part { name: "clipper_content";
6190                type: RECT;
6191                description { state: "default" 0.0;
6192                    color: 255 255 255 0;
6193                    rel1.to: "elm.swallow.content";
6194                    rel1.offset: -64 -64;
6195                    rel2.to: "elm.swallow.content";
6196                    rel2.offset: 63 63;
6197                }
6198                description { state: "visible" 0.0;
6199                    inherit: "default" 0.0;
6200                    color: 255 255 255 255;
6201                }
6202            }
6203            part { name: "elm.swallow.content";
6204                type: SWALLOW;
6205                clip_to: "clipper_content";
6206                description { state: "default" 0.0; }
6207            }
6208            programs {
6209                program {
6210                    name: "show0";
6211                    signal: "elm,action,show";
6212                    source: "elm";
6213                    action: ACTION_STOP;
6214                    target: "hide0";
6215                    target: "hide1";
6216                    target: "hide2";
6217                    target: "hide3";
6218                    after: "show1";
6219                    after: "show2";
6220                }
6221                program {
6222                    name: "show1";
6223                    action: STATE_SET "visible" 0.0;
6224                    transition: LINEAR 0.15;
6225                    target: "clipper";
6226                }
6227                program {
6228                    name: "show2";
6229                    in: 0.1 0.0;
6230                    action: STATE_SET "visible" 0.0;
6231                    transition: LINEAR 0.15;
6232                    target: "clipper_content";
6233                }
6234
6235                program {
6236                    name: "hide0";
6237                    signal: "elm,action,hide";
6238                    source: "elm";
6239                    action: ACTION_STOP;
6240                    target: "show0";
6241                    target: "show1";
6242                    target: "show2";
6243                    after: "hide1";
6244                    after: "hide2";
6245                    after: "hide3";
6246                }
6247                program {
6248                    name: "hide1";
6249                    script {
6250                       hide_corners();
6251                       hide_edges();
6252                    }
6253                }
6254                program {
6255                    name: "hide2";
6256                    action: STATE_SET "default" 0.0;
6257                    transition: LINEAR 0.1;
6258                    target: "clipper_content";
6259                }
6260                program {
6261                    name: "hide3";
6262                    in: 0.1 0.0;
6263                    action: STATE_SET "default" 0.0;
6264                    transition: LINEAR 0.1;
6265                    target: "clipper";
6266                }
6267            }
6268        }
6269    }
6270    group { name: "elm/tooltip/base/transparent";
6271       parts {
6272          part { name: "elm.swallow.content";
6273             type: SWALLOW;
6274             mouse_events:   0;
6275             scale: 1;
6276             description { state: "default" 0.0; }
6277          }
6278       }
6279    }
6280
6281 ///////////////////////////////////////////////////////////////////////////////
6282
6283    /* TODO: replicate diagonal swallow slots to the other hover styles */
6284    group { name: "elm/hover/base/default";
6285       images {
6286          image: "shad_circ.png" COMP;
6287       }
6288       parts {
6289          part { name: "elm.swallow.offset";
6290             type: SWALLOW;
6291             description { state: "default" 0.0;
6292                align: 0.0 0.0;
6293                rel1.relative: 0.0 0.0;
6294                rel2.relative: 0.0 0.0;
6295             }
6296          }
6297          part { name: "elm.swallow.size";
6298             type: SWALLOW;
6299             description { state: "default" 0.0;
6300                align: 0.0 0.0;
6301                rel1.to: "elm.swallow.offset";
6302                rel1.relative: 1.0 1.0;
6303                rel2.to: "elm.swallow.offset";
6304                rel2.relative: 1.0 1.0;
6305             }
6306          }
6307          part { name: "base";
6308             type: RECT;
6309             mouse_events: 1;
6310             description { state: "default" 0.0;
6311                color: 0 0 0 64;
6312             }
6313          }
6314          part { name: "shad";
6315             mouse_events:  0;
6316             description { state: "default" 0.0;
6317                image.normal: "shad_circ.png";
6318                rel1.to: "elm.swallow.size";
6319                rel1.offset: -32 -32;
6320                rel2.to: "elm.swallow.size";
6321                rel2.offset: 31 31;
6322                fill.smooth: 0;
6323             }
6324          }
6325          part { name: "box";
6326             type: RECT;
6327             mouse_events: 0;
6328             description { state: "default" 0.0;
6329                color: 0 0 0 0;
6330                rel1.to: "elm.swallow.size";
6331                rel1.offset: -2 -2;
6332                rel2.to: "elm.swallow.size";
6333                rel2.offset: 1 1;
6334             }
6335          }
6336          part { name: "elm.swallow.slot.left";
6337             type: SWALLOW;
6338             description { state: "default" 0.0;
6339                align: 1.0 0.5;
6340                rel1.to: "elm.swallow.slot.middle";
6341                rel1.relative: 0.0 0.0;
6342                rel1.offset: -1 0;
6343                rel2.to: "elm.swallow.slot.middle";
6344                rel2.relative: 0.0 1.0;
6345                rel2.offset: -1 -1;
6346             }
6347          }
6348          part { name: "elm.swallow.slot.top-left";
6349             type: SWALLOW;
6350             description { state: "default" 0.0;
6351                align: 1.0 1.0;
6352                rel1.to: "elm.swallow.slot.middle";
6353                rel1.relative: 0.0 0.0;
6354                rel1.offset: 0 0;
6355                rel2.to: "elm.swallow.slot.middle";
6356                rel2.relative: 0.0 0.0;
6357                rel2.offset: -1 -1;
6358             }
6359          }
6360          part { name: "elm.swallow.slot.top";
6361             type: SWALLOW;
6362             description { state: "default" 0.0;
6363                align: 0.5 1.0;
6364                rel1.to: "elm.swallow.slot.middle";
6365                rel1.relative: 0.0 0.0;
6366                rel1.offset: 0 -1;
6367                rel2.to: "elm.swallow.slot.middle";
6368                rel2.relative: 1.0 0.0;
6369                rel2.offset: -1 -1;
6370             }
6371          }
6372          part { name: "elm.swallow.slot.top-right";
6373             type: SWALLOW;
6374             description { state: "default" 0.0;
6375                align: 0.0 1.0;
6376                rel1.to: "elm.swallow.slot.middle";
6377                rel1.relative: 1.0 0.0;
6378                rel1.offset: 0 0;
6379                rel2.to: "elm.swallow.slot.middle";
6380                rel2.relative: 1.0 0.0;
6381                rel2.offset: -1 -1;
6382             }
6383          }
6384          part { name: "elm.swallow.slot.right";
6385             type: SWALLOW;
6386             description { state: "default" 0.0;
6387                align: 0.0 0.5;
6388                rel1.to: "elm.swallow.slot.middle";
6389                rel1.relative: 1.0 0.0;
6390                rel1.offset: 0 0;
6391                rel2.to: "elm.swallow.slot.middle";
6392                rel2.relative: 1.0 1.0;
6393                rel2.offset: 0 -1;
6394             }
6395          }
6396          part { name: "elm.swallow.slot.bottom-right";
6397             type: SWALLOW;
6398             description { state: "default" 0.0;
6399                align: 0.0 0.0;
6400                rel1.to: "elm.swallow.slot.middle";
6401                rel1.relative: 1.0 1.0;
6402                rel1.offset: 0 0;
6403                rel2.to: "elm.swallow.slot.middle";
6404                rel2.relative: 1.0 1.0;
6405                rel2.offset: -1 -1;
6406             }
6407          }
6408          part { name: "elm.swallow.slot.bottom";
6409             type: SWALLOW;
6410             description { state: "default" 0.0;
6411                align: 0.5 0.0;
6412                rel1.to: "elm.swallow.slot.middle";
6413                rel1.relative: 0.0 1.0;
6414                rel1.offset: 0 0;
6415                rel2.to: "elm.swallow.slot.middle";
6416                rel2.relative: 1.0 1.0;
6417                rel2.offset: -1 0;
6418             }
6419          }
6420          part { name: "elm.swallow.slot.bottom-left";
6421             type: SWALLOW;
6422             description { state: "default" 0.0;
6423                align: 1.0 0.0;
6424                rel1.to: "elm.swallow.slot.middle";
6425                rel1.relative: 0.0 1.0;
6426                rel1.offset: 0 0;
6427                rel2.to: "elm.swallow.slot.middle";
6428                rel2.relative: 0.0 1.0;
6429                rel2.offset: -1 0;
6430             }
6431          }
6432          part { name: "elm.swallow.slot.middle";
6433             type: SWALLOW;
6434             description { state: "default" 0.0;
6435                rel1.to: "elm.swallow.size";
6436                rel2.to: "elm.swallow.size";
6437             }
6438          }
6439       }
6440       programs {
6441          program { name: "end";
6442             signal: "mouse,up,1";
6443             source: "base";
6444             action: SIGNAL_EMIT "elm,action,dismiss" "";
6445          }
6446       }
6447    }
6448
6449    group { name: "elm/hover/base/popout";
6450       images {
6451          image: "shad_circ.png" COMP;
6452          image: "bt_dis_base.png" COMP;
6453          image: "bt_dis_hilight.png" COMP;
6454       }
6455       parts {
6456          part { name: "elm.swallow.offset";
6457             type: SWALLOW;
6458             description { state: "default" 0.0;
6459                align: 0.0 0.0;
6460                rel1.relative: 0.0 0.0;
6461                rel2.relative: 0.0 0.0;
6462             }
6463          }
6464          part { name: "elm.swallow.size";
6465             type: SWALLOW;
6466             description { state: "default" 0.0;
6467                align: 0.0 0.0;
6468                rel1.to: "elm.swallow.offset";
6469                rel1.relative: 1.0 1.0;
6470                rel2.to: "elm.swallow.offset";
6471                rel2.relative: 1.0 1.0;
6472             }
6473          }
6474          part { name: "base";
6475             type: RECT;
6476             mouse_events: 1;
6477             description { state: "default" 0.0;
6478                color: 0 0 0 0;
6479             }
6480             description { state: "visible" 0.0;
6481                inherit: "default" 1.0;
6482                color: 0 0 0 64;
6483             }
6484          }
6485          part { name: "leftclip";
6486             type: RECT;
6487             description { state: "default" 0.0;
6488                rel2.to_x: "pop";
6489                rel2.relative: 0.0 1.0;
6490                rel2.offset: 1 -1;
6491             }
6492          }
6493          part { name: "left";
6494             clip_to: "leftclip";
6495             description { state: "default" 0.0;
6496                visible: 0;
6497                rel1.to: "elm.swallow.slot.left";
6498                rel1.offset: -5 -5;
6499                rel2.to: "elm.swallow.slot.left";
6500                rel2.offset: 4 4;
6501                image {
6502                   normal: "bt_dis_base.png";
6503                   border: 4 4 4 4;
6504                }
6505                image.middle: SOLID;
6506             }
6507             description { state: "visible" 0.0;
6508                inherit: "default" 0.0;
6509                visible: 1;
6510             }
6511          }
6512          part { name: "elm.swallow.slot.left";
6513             type: SWALLOW;
6514             clip_to: "leftclip";
6515             description { state: "default" 0.0;
6516                align: 0.0 0.5;
6517                rel1.to: "elm.swallow.slot.middle";
6518                rel1.relative: 0.0 0.0;
6519                rel1.offset: -1 0;
6520                rel2.to: "elm.swallow.slot.middle";
6521                rel2.relative: 0.0 1.0;
6522                rel2.offset: -1 -1;
6523             }
6524             description { state: "visible" 0.0;
6525                inherit: "default" 0.0;
6526                rel1.offset: -7 0;
6527                rel2.offset: -7 -1;
6528                align: 1.0 0.5;
6529             }
6530          }
6531          part { name: "leftover";
6532             clip_to: "leftclip";
6533             mouse_events: 0;
6534             description { state: "default" 0.0;
6535                rel1.to: "left";
6536                rel2.to: "left";
6537                rel2.relative: 1.0 0.5;
6538                image {
6539                   normal: "bt_dis_hilight.png";
6540                   border: 4 4 4 0;
6541                }
6542             }
6543          }
6544          part { name: "rightclip";
6545             type: RECT;
6546             description { state: "default" 0.0;
6547                rel1.to_x: "pop";
6548                rel1.relative: 1.0 0.0;
6549                rel1.offset: -2 0;
6550             }
6551          }
6552          part { name: "right";
6553             clip_to: "rightclip";
6554             description { state: "default" 0.0;
6555                visible: 0;
6556                rel1.to: "elm.swallow.slot.right";
6557                rel1.offset: -5 -5;
6558                rel2.to: "elm.swallow.slot.right";
6559                rel2.offset: 4 4;
6560                image {
6561                   normal: "bt_dis_base.png";
6562                   border: 4 4 4 4;
6563                }
6564                image.middle: SOLID;
6565             }
6566             description { state: "visible" 0.0;
6567                inherit: "default" 0.0;
6568                visible: 1;
6569             }
6570          }
6571          part { name: "elm.swallow.slot.right";
6572             type: SWALLOW;
6573             clip_to: "rightclip";
6574             description { state: "default" 0.0;
6575                align: 1.0 0.5;
6576                rel1.to: "elm.swallow.slot.middle";
6577                rel1.relative: 1.0 0.0;
6578                rel1.offset: 0 0;
6579                rel2.to: "elm.swallow.slot.middle";
6580                rel2.relative: 1.0 1.0;
6581                rel2.offset: 0 -1;
6582             }
6583             description { state: "visible" 0.0;
6584                inherit: "default" 0.0;
6585                rel1.offset: 6 0;
6586                rel2.offset: 6 -1;
6587                align: 0.0 0.5;
6588             }
6589          }
6590          part { name: "rightover";
6591             clip_to: "rightclip";
6592             mouse_events: 0;
6593             description { state: "default" 0.0;
6594                rel1.to: "right";
6595                rel2.to: "right";
6596                rel2.relative: 1.0 0.5;
6597                image {
6598                   normal: "bt_dis_hilight.png";
6599                   border: 4 4 4 0;
6600                }
6601             }
6602          }
6603          part { name: "topclip";
6604             type: RECT;
6605             description { state: "default" 0.0;
6606                rel2.to_y: "pop";
6607                rel2.relative: 1.0 0.0;
6608                rel2.offset: -1 1;
6609             }
6610          }
6611          part { name: "top";
6612             clip_to: "topclip";
6613             description { state: "default" 0.0;
6614                visible: 0;
6615                rel1.to: "elm.swallow.slot.top";
6616                rel1.offset: -5 -5;
6617                rel2.to: "elm.swallow.slot.top";
6618                rel2.offset: 4 4;
6619                image {
6620                   normal: "bt_dis_base.png";
6621                   border: 4 4 4 4;
6622                }
6623                image.middle: SOLID;
6624             }
6625             description { state: "visible" 0.0;
6626                inherit: "default" 0.0;
6627                visible: 1;
6628             }
6629          }
6630          part { name: "elm.swallow.slot.top";
6631             type: SWALLOW;
6632             clip_to: "topclip";
6633             description { state: "default" 0.0;
6634                visible: 1;
6635                align: 0.5 0.0;
6636                rel1.to: "elm.swallow.slot.middle";
6637                rel1.relative: 0.0 0.0;
6638                rel1.offset: 0 -1;
6639                rel2.to: "elm.swallow.slot.middle";
6640                rel2.relative: 1.0 0.0;
6641                rel2.offset: -1 -1;
6642             }
6643             description { state: "visible" 0.0;
6644                inherit: "default" 0.0;
6645                rel1.offset: 0 -7;
6646                rel2.offset: -1 -7;
6647                align: 0.5 1.0;
6648             }
6649          }
6650          part { name: "topover";
6651             clip_to: "topclip";
6652             mouse_events: 0;
6653             description { state: "default" 0.0;
6654                rel1.to: "top";
6655                rel2.to: "top";
6656                rel2.relative: 1.0 0.5;
6657                image {
6658                   normal: "bt_dis_hilight.png";
6659                   border: 4 4 4 0;
6660                }
6661             }
6662          }
6663          part { name: "bottomclip";
6664             type: RECT;
6665             description { state: "default" 0.0;
6666                rel1.to_y: "pop";
6667                rel1.relative: 0.0 1.0;
6668                rel1.offset: -1 -2;
6669             }
6670          }
6671          part { name: "bottom";
6672             clip_to: "bottomclip";
6673             description { state: "default" 0.0;
6674                visible: 0;
6675                rel1.to: "elm.swallow.slot.bottom";
6676                rel1.offset: -5 -5;
6677                rel2.to: "elm.swallow.slot.bottom";
6678                rel2.offset: 4 4;
6679                image {
6680                   normal: "bt_dis_base.png";
6681                   border: 4 4 4 4;
6682                }
6683                image.middle: SOLID;
6684             }
6685             description { state: "visible" 0.0;
6686                inherit: "default" 0.0;
6687                visible: 1;
6688             }
6689          }
6690          part { name: "elm.swallow.slot.bottom";
6691             type: SWALLOW;
6692             clip_to: "bottomclip";
6693             description { state: "default" 0.0;
6694                align: 0.5 1.0;
6695                rel1.to: "elm.swallow.slot.middle";
6696                rel1.relative: 0.0 1.0;
6697                rel1.offset: 0 0;
6698                rel2.to: "elm.swallow.slot.middle";
6699                rel2.relative: 1.0 1.0;
6700                rel2.offset: -1 0;
6701             }
6702             description { state: "visible" 0.0;
6703                inherit: "default" 0.0;
6704                rel1.offset: 0 6;
6705                rel2.offset: -1 6;
6706                align: 0.5 0.0;
6707             }
6708          }
6709          part { name: "bottomover";
6710             clip_to: "bottomclip";
6711             mouse_events: 0;
6712             description { state: "default" 0.0;
6713                rel1.to: "bottom";
6714                rel2.to: "bottom";
6715                rel2.relative: 1.0 0.5;
6716                image {
6717                   normal: "bt_dis_hilight.png";
6718                   border: 4 4 4 0;
6719                }
6720             }
6721          }
6722          part { name: "shad";
6723             mouse_events:  0;
6724             description { state: "default" 0.0;
6725                image.normal: "shad_circ.png";
6726                rel1.to: "elm.swallow.size";
6727                rel1.offset: -64 -64;
6728                rel2.to: "elm.swallow.size";
6729                rel2.offset: 63 63;
6730                fill.smooth: 0;
6731             }
6732          }
6733          part { name: "pop";
6734             mouse_events: 1;
6735             description { state: "default" 0.0;
6736                rel1.to: "elm.swallow.slot.middle";
6737                rel1.offset: -5 -5;
6738                rel2.to: "elm.swallow.slot.middle";
6739                rel2.offset: 4 4;
6740                image {
6741                   normal: "bt_dis_base.png";
6742                   border: 4 4 4 4;
6743                }
6744                image.middle: SOLID;
6745             }
6746          }
6747          part { name: "elm.swallow.slot.middle";
6748             type: SWALLOW;
6749             description { state: "default" 0.0;
6750                rel1.to: "elm.swallow.size";
6751                rel2.to: "elm.swallow.size";
6752             }
6753          }
6754          part { name: "popover";
6755             mouse_events: 0;
6756             description { state: "default" 0.0;
6757                rel1.to: "pop";
6758                rel2.to: "pop";
6759                rel2.relative: 1.0 0.5;
6760                image {
6761                   normal: "bt_dis_hilight.png";
6762                   border: 4 4 4 0;
6763                }
6764             }
6765          }
6766       }
6767       programs {
6768          program { name: "end";
6769             signal: "mouse,up,1";
6770             source: "base";
6771             action: SIGNAL_EMIT "elm,action,dismiss" "";
6772          }
6773
6774          program { name: "show";
6775             signal: "elm,action,show";
6776             source: "elm";
6777             action: STATE_SET "visible" 0.0;
6778 //            transition: DECELERATE 0.5;
6779             target: "base";
6780          }
6781          program { name: "hide";
6782             signal: "elm,action,hide";
6783             source: "elm";
6784             action: STATE_SET "default" 0.0;
6785 //            transition: DECELERATE 0.5;
6786             target: "base";
6787          }
6788
6789          program { name: "leftshow";
6790             signal: "elm,action,slot,left,show";
6791             source: "elm";
6792             action: STATE_SET "visible" 0.0;
6793             transition: DECELERATE 0.5;
6794             target: "left";
6795             target: "elm.swallow.slot.left";
6796          }
6797          program { name: "lefthide";
6798             signal: "elm,action,slot,left,hide";
6799             source: "elm";
6800             action: STATE_SET "default" 0.0;
6801             transition: DECELERATE 0.5;
6802             target: "left";
6803             target: "elm.swallow.slot.left";
6804          }
6805          program { name: "rightshow";
6806             signal: "elm,action,slot,right,show";
6807             source: "elm";
6808             action: STATE_SET "visible" 0.0;
6809             transition: DECELERATE 0.5;
6810             target: "right";
6811             target: "elm.swallow.slot.right";
6812          }
6813          program { name: "righthide";
6814             signal: "elm,action,slot,right,hide";
6815             source: "elm";
6816             action: STATE_SET "default" 0.0;
6817             transition: DECELERATE 0.5;
6818             target: "right";
6819             target: "elm.swallow.slot.right";
6820          }
6821          program { name: "topshow";
6822             signal: "elm,action,slot,top,show";
6823             source: "elm";
6824             action: STATE_SET "visible" 0.0;
6825             transition: DECELERATE 0.5;
6826             target: "top";
6827             target: "elm.swallow.slot.top";
6828          }
6829          program { name: "tophide";
6830             signal: "elm,action,slot,top,hide";
6831             source: "elm";
6832             action: STATE_SET "default" 0.0;
6833             transition: DECELERATE 0.5;
6834             target: "top";
6835             target: "elm.swallow.slot.top";
6836          }
6837          program { name: "bottomshow";
6838             signal: "elm,action,slot,bottom,show";
6839             source: "elm";
6840             action: STATE_SET "visible" 0.0;
6841             transition: DECELERATE 0.5;
6842             target: "bottom";
6843             target: "elm.swallow.slot.bottom";
6844          }
6845          program { name: "bottomhide";
6846             signal: "elm,action,slot,bottom,hide";
6847             source: "elm";
6848             action: STATE_SET "default" 0.0;
6849             transition: DECELERATE 0.5;
6850             target: "bottom";
6851             target: "elm.swallow.slot.bottom";
6852          }
6853       }
6854    }
6855
6856    //In the hover used by the menu only the bottom part is used.
6857    group { name: "elm/hover/base/menu";
6858        images {
6859            image: "shad_circ.png" COMP;
6860            image: "bt_dis_base.png" COMP;
6861        }
6862        parts {
6863            part { name: "elm.swallow.offset";
6864                type: SWALLOW;
6865                description { state: "default" 0.0;
6866                    align: 0.0 0.0;
6867                    rel1.relative: 0.0 0.0;
6868                    rel2.relative: 0.0 0.0;
6869                }
6870            }
6871            part { name: "elm.swallow.size";
6872                type: SWALLOW;
6873                description { state: "default" 0.0;
6874                    align: 0.0 0.0;
6875                    rel1.to: "elm.swallow.offset";
6876                    rel1.relative: 1.0 1.0;
6877                    rel2.to: "elm.swallow.offset";
6878                    rel2.relative: 1.0 1.0;
6879                }
6880            }
6881            part { name: "base";
6882                type: RECT;
6883                mouse_events: 1;
6884                description { state: "default" 0.0;
6885                    color: 0 0 0 0;
6886                }
6887                description { state: "visible" 0.0;
6888                    inherit: "default" 1.0;
6889                    color: 0 0 0 64;
6890                }
6891            }
6892            part { name: "elm.swallow.slot.left";
6893                type: SWALLOW;
6894                description { state: "default" 0.0;
6895                }
6896            }
6897            part { name: "elm.swallow.slot.right";
6898                type: SWALLOW;
6899                description { state: "default" 0.0;
6900                }
6901            }
6902            part { name: "elm.swallow.slot.top";
6903                type: SWALLOW;
6904                description { state: "default" 0.0;
6905                }
6906                description { state: "visible" 0.0;
6907                    inherit: "default" 0.0;
6908                }
6909            }
6910            part { name: "bottomclip";
6911                type: RECT;
6912                description { state: "default" 0.0;
6913                    rel1.to_y: "pop";
6914                    rel1.relative: 0.0 1.0;
6915                    rel1.offset: -1 -2;
6916                }
6917            }
6918            part { name: "bottom";
6919                clip_to: "bottomclip";
6920                description { state: "default" 0.0;
6921                    visible: 0;
6922                    rel1.to: "elm.swallow.slot.bottom";
6923                    rel1.offset: -5 -5;
6924                    rel2.to: "elm.swallow.slot.bottom";
6925                    rel2.offset: 4 4;
6926                    image {
6927                        normal: "bt_dis_base.png";
6928                        border: 4 4 4 4;
6929                    }
6930                    image.middle: SOLID;
6931                }
6932                description { state: "visible" 0.0;
6933                    inherit: "default" 0.0;
6934                    visible: 1;
6935                }
6936            }
6937            part { name: "elm.swallow.slot.bottom";
6938                type: SWALLOW;
6939                clip_to: "bottomclip";
6940                description { state: "default" 0.0;
6941                    align: 0.5 1.0;
6942                    rel1.to: "elm.swallow.slot.middle";
6943                    rel1.relative: 0.0 1.0;
6944                    rel1.offset: 0 0;
6945                    rel2.to: "elm.swallow.slot.middle";
6946                    rel2.relative: 1.0 1.0;
6947                    rel2.offset: -1 0;
6948                }
6949                description { state: "visible" 0.0;
6950                    inherit: "default" 0.0;
6951                    rel1.offset: 0 6;
6952                    rel2.offset: -1 6;
6953                    align: 0.5 0.0;
6954                }
6955            }
6956            part { name: "pop";
6957                mouse_events: 1;
6958                repeat_events:1;
6959                description { state: "default" 0.0;
6960                    rel1.to: "elm.swallow.slot.middle";
6961                    rel1.offset: -5 -5;
6962                    rel2.to: "elm.swallow.slot.middle";
6963                    rel2.offset: 4 4;
6964                }
6965            }
6966            part { name: "elm.swallow.slot.middle";
6967                type: SWALLOW;
6968                repeat_events:1;
6969                description { state: "default" 0.0;
6970                    rel1.to: "elm.swallow.size";
6971                    rel2.to: "elm.swallow.size";
6972                }
6973            }
6974        }
6975        programs {
6976            program { name: "end";
6977                signal: "mouse,up,1";
6978                source: "base";
6979                action: SIGNAL_EMIT "elm,action,dismiss" "";
6980            }
6981            program { name: "show";
6982                signal: "elm,action,show";
6983                source: "elm";
6984                action: STATE_SET "visible" 0.0;
6985                        //            transition: DECELERATE 0.5;
6986                target: "base";
6987            }
6988            program { name: "hide";
6989                signal: "elm,action,hide";
6990                source: "elm";
6991                action: STATE_SET "default" 0.0;
6992                        //            transition: DECELERATE 0.5;
6993                target: "base";
6994            }
6995            program { name: "bottomshow";
6996                signal: "elm,action,slot,bottom,show";
6997                source: "elm";
6998                action: STATE_SET "visible" 0.0;
6999                transition: DECELERATE 0.3;
7000                target: "bottom";
7001                target: "elm.swallow.slot.bottom";
7002            }
7003            program { name: "bottomhide";
7004                signal: "elm,action,slot,bottom,hide";
7005                source: "elm";
7006                action: STATE_SET "default" 0.0;
7007                transition: DECELERATE 0.5;
7008                target: "bottom";
7009                target: "elm.swallow.slot.bottom";
7010            }
7011        }
7012    }
7013
7014    //In the hover used by the submenu only the bottom part is used
7015    //and no part should interact except the bottom area
7016    group { name: "elm/hover/base/submenu";
7017        images {
7018            image: "shad_circ.png" COMP;
7019            image: "bt_dis_base.png" COMP;
7020        }
7021        parts {
7022            part { name: "elm.swallow.offset";
7023                type: SWALLOW;
7024                repeat_events:1;
7025                description { state: "default" 0.0;
7026                    align: 0.0 0.0;
7027                    rel1.relative: 0.0 0.0;
7028                    rel2.relative: 0.0 0.0;
7029                }
7030            }
7031            part { name: "elm.swallow.size";
7032                type: SWALLOW;
7033                description { state: "default" 0.0;
7034                    align: 0.0 0.0;
7035                    rel1.to: "elm.swallow.offset";
7036                    rel1.relative: 1.0 1.0;
7037                    rel2.to: "elm.swallow.offset";
7038                    rel2.relative: 1.0 1.0;
7039                }
7040            }
7041            //here we do non catch events like the hover hover does
7042            part { name: "base";
7043                type: RECT;
7044                mouse_events: 1;
7045                description { state: "default" 0.0;
7046                    color: 0 0 0 0;
7047                    visible: 0;
7048                }
7049            }
7050            part { name: "elm.swallow.slot.left";
7051                type: SWALLOW;
7052                description { state: "default" 0.0;
7053                }
7054            }
7055            part { name: "elm.swallow.slot.right";
7056                type: SWALLOW;
7057                description { state: "default" 0.0;
7058                }
7059            }
7060            part { name: "elm.swallow.slot.top";
7061                type: SWALLOW;
7062                description { state: "default" 0.0;
7063                }
7064            }
7065            part { name: "bottomclip";
7066                type: RECT;
7067                description { state: "default" 0.0;
7068                    rel1.to_y: "pop";
7069                    rel1.relative: 0.0 1.0;
7070                    rel1.offset: -1 -2;
7071                }
7072            }
7073            part { name: "bottom";
7074                clip_to: "bottomclip";
7075                description { state: "default" 0.0;
7076                    visible: 0;
7077                    rel1.to: "elm.swallow.slot.bottom";
7078                    rel1.offset: -5 -5;
7079                    rel2.to: "elm.swallow.slot.bottom";
7080                    rel2.offset: 4 4;
7081                    image {
7082                        normal: "bt_dis_base.png";
7083                        border: 4 4 4 4;
7084                    }
7085                    image.middle: SOLID;
7086                }
7087                description { state: "visible" 0.0;
7088                    inherit: "default" 0.0;
7089                    visible: 1;
7090                }
7091            }
7092            part { name: "elm.swallow.slot.bottom";
7093                type: SWALLOW;
7094                clip_to: "bottomclip";
7095                description { state: "default" 0.0;
7096                    align: 0.5 1.0;
7097                    rel1.to: "elm.swallow.slot.middle";
7098                    rel1.relative: 0.0 1.0;
7099                    rel1.offset: 0 0;
7100                    rel2.to: "elm.swallow.slot.middle";
7101                    rel2.relative: 1.0 1.0;
7102                    rel2.offset: -1 0;
7103                }
7104                description { state: "visible" 0.0;
7105                    inherit: "default" 0.0;
7106                    rel1.offset: 0 6;
7107                    rel2.offset: -1 6;
7108                    align: 0.5 0.0;
7109                }
7110            }
7111            part { name: "pop";
7112                mouse_events: 1;
7113                repeat_events:1;
7114                description { state: "default" 0.0;
7115                    rel1.to: "elm.swallow.slot.middle";
7116                    rel1.offset: -5 -5;
7117                    rel2.to: "elm.swallow.slot.middle";
7118                    rel2.offset: 4 4;
7119                }
7120            }
7121            part { name: "elm.swallow.slot.middle";
7122                type: SWALLOW;
7123                repeat_events:1;
7124                description { state: "default" 0.0;
7125                    rel1.to: "elm.swallow.size";
7126                    rel2.to: "elm.swallow.size";
7127                }
7128            }
7129        }
7130        programs {
7131            program { name: "end";
7132                signal: "mouse,up,1";
7133                source: "base";
7134                action: SIGNAL_EMIT "elm,action,dismiss" "";
7135            }
7136            program { name: "show";
7137                signal: "elm,action,show";
7138                source: "elm";
7139                action: STATE_SET "visible" 0.0;
7140                        //            transition: DECELERATE 0.5;
7141                target: "base";
7142            }
7143            program { name: "hide";
7144                signal: "elm,action,hide";
7145                source: "elm";
7146                action: STATE_SET "default" 0.0;
7147                        //            transition: DECELERATE 0.5;
7148                target: "base";
7149            }
7150            program { name: "bottomshow";
7151                signal: "elm,action,slot,bottom,show";
7152                source: "elm";
7153                action: STATE_SET "visible" 0.0;
7154                transition: DECELERATE 0.3;
7155                target: "bottom";
7156                target: "elm.swallow.slot.bottom";
7157            }
7158            program { name: "bottomhide";
7159                signal: "elm,action,slot,bottom,hide";
7160                source: "elm";
7161                action: STATE_SET "default" 0.0;
7162                transition: DECELERATE 0.5;
7163                target: "bottom";
7164                target: "elm.swallow.slot.bottom";
7165            }
7166        }
7167    }
7168
7169    group { name: "elm/hover/base/hoversel_vertical/default";
7170       alias: "elm/hover/base/hoversel_vertical/entry";
7171       images {
7172 //         image: "shad_circ.png" COMP;
7173          image: "bt_base2.png" COMP;
7174          image: "bt_hilight.png" COMP;
7175          image: "bt_shine.png" COMP;
7176          image: "outdent-top.png" COMP;
7177          image: "outdent-bottom.png" COMP;
7178       }
7179       parts {
7180          part { name: "elm.swallow.offset";
7181             type: SWALLOW;
7182             description { state: "default" 0.0;
7183                align: 0.0 0.0;
7184                rel1.relative: 0.0 0.0;
7185                rel2.relative: 0.0 0.0;
7186             }
7187          }
7188          part { name: "elm.swallow.size";
7189             type: SWALLOW;
7190             description { state: "default" 0.0;
7191                align: 0.0 0.0;
7192                rel1.to: "elm.swallow.offset";
7193                rel1.relative: 1.0 1.0;
7194                rel2.to: "elm.swallow.offset";
7195                rel2.relative: 1.0 1.0;
7196             }
7197          }
7198 /*
7199         part { name: "shad";
7200             mouse_events:  0;
7201             description { state: "default" 0.0;
7202                image.normal: "shad_circ.png";
7203                rel1.to: "button_image";
7204                rel1.offset: -64 -64;
7205                rel2.to: "button_image";
7206                rel2.offset: 63 63;
7207                fill.smooth: 0;
7208             }
7209          }
7210  */
7211          part { name: "button_image";
7212             mouse_events: 1;
7213             description { state: "default" 0.0;
7214                rel1.to_x: "elm.swallow.slot.top";
7215                rel1.to_y: "elm.swallow.slot.top";
7216                rel1.offset: -2 -6;
7217                rel2.to_x: "elm.swallow.slot.top";
7218                rel2.to_y: "elm.swallow.slot.bottom";
7219                rel2.offset: 1 5;
7220                image {
7221                   normal: "bt_base2.png";
7222                   border: 7 7 7 7;
7223                }
7224                image.middle: SOLID;
7225             }
7226             description { state: "bottom" 0.0;
7227                rel1.to_x: "elm.swallow.slot.bottom";
7228                rel1.to_y: "elm.swallow.slot.top";
7229                rel1.offset: -2 -6;
7230                rel2.to_x: "elm.swallow.slot.bottom";
7231                rel2.to_y: "elm.swallow.slot.bottom";
7232                rel2.offset: 1 5;
7233                image {
7234                   normal: "bt_base2.png";
7235                   border: 7 7 7 7;
7236                }
7237                image.middle: SOLID;
7238             }
7239          }
7240
7241          part { name: "base";
7242             type: RECT;
7243             mouse_events: 1;
7244             description { state: "default" 0.0;
7245                color: 0 0 0 0;
7246             }
7247             description { state: "visible" 0.0;
7248                inherit: "default" 1.0;
7249                color: 0 0 0 64;
7250             }
7251          }
7252
7253          part { name: "topclip";
7254             type: RECT;
7255             description { state: "default" 0.0;
7256                rel2.to_y: "edge_top";
7257                rel2.relative: 1.0 0.0;
7258                rel2.offset: -1 7;
7259             }
7260          }
7261          part { name: "elm.swallow.slot.top";
7262             type: SWALLOW;
7263             clip_to: "topclip";
7264             description { state: "default" 0.0;
7265                visible: 1;
7266                align: 0.5 0.0;
7267                rel1.to: "elm.swallow.slot.middle";
7268                rel1.relative: 0.0 0.0;
7269                rel1.offset: 0 -1;
7270                rel2.to: "elm.swallow.slot.middle";
7271                rel2.relative: 1.0 0.0;
7272                rel2.offset: -1 -1;
7273             }
7274             description { state: "visible" 0.0;
7275                inherit: "default" 0.0;
7276                rel1.offset: 0 -7;
7277                rel2.offset: -1 -7;
7278                align: 0.5 1.0;
7279             }
7280          }
7281
7282          part { name: "bottomclip";
7283             type: RECT;
7284             description { state: "default" 0.0;
7285                rel1.to_y: "edge_bottom";
7286                rel1.relative: 0.0 1.0;
7287                rel1.offset: -1 -8;
7288             }
7289          }
7290          part { name: "elm.swallow.slot.bottom";
7291             type: SWALLOW;
7292             clip_to: "bottomclip";
7293             description { state: "default" 0.0;
7294                align: 0.5 1.0;
7295                rel1.to: "elm.swallow.slot.middle";
7296                rel1.relative: 0.0 1.0;
7297                rel1.offset: 0 0;
7298                rel2.to: "elm.swallow.slot.middle";
7299                rel2.relative: 1.0 1.0;
7300                rel2.offset: -1 0;
7301             }
7302             description { state: "visible" 0.0;
7303                inherit: "default" 0.0;
7304                rel1.offset: 0 6;
7305                rel2.offset: -1 6;
7306                align: 0.5 0.0;
7307             }
7308          }
7309
7310          part {          name: "over1";
7311             mouse_events: 0;
7312             description { state: "default" 0.0;
7313                rel1.to: "button_image";
7314                rel2.to: "button_image";
7315                rel2.relative: 1.0 0.5;
7316                image {
7317                   normal: "bt_hilight.png";
7318                   border: 7 7 7 0;
7319                }
7320             }
7321          }
7322          part { name: "over2";
7323             mouse_events: 1;
7324             repeat_events: 1;
7325             ignore_flags: ON_HOLD;
7326             description { state: "default" 0.0;
7327                rel1.to: "button_image";
7328                rel2.to: "button_image";
7329                image {
7330                   normal: "bt_shine.png";
7331                   border: 7 7 7 7;
7332                }
7333             }
7334          }
7335          part { name: "edge_top";
7336             mouse_events:  0;
7337             description { state: "default" 0.0;
7338                visible: 0;
7339                rel1 {
7340                   to: "elm.swallow.size";
7341                   offset: 0 -10;
7342                }
7343                rel2 {
7344                   to: "elm.swallow.size";
7345                }
7346                image.normal: "outdent-bottom.png";
7347                image.border: 0 0 13 0;
7348                fill.smooth: 0;
7349             }
7350             description { state: "visible" 0.0;
7351                inherit: "default" 0.0;
7352                visible: 1;
7353             }
7354          }
7355          part { name: "edge_bottom";
7356             mouse_events:  0;
7357             description { state: "default" 0.0;
7358                visible: 0;
7359                rel1 {
7360                   to: "elm.swallow.size";
7361                }
7362                rel2 {
7363                   to: "elm.swallow.size";
7364                   offset: -1 9;
7365                }
7366                image.normal: "outdent-top.png";
7367                image.border: 0 0 0 13;
7368                fill.smooth: 0;
7369             }
7370             description { state: "visible" 0.0;
7371                inherit: "default" 0.0;
7372                visible: 1;
7373             }
7374          }
7375          part { name: "elm.swallow.slot.middle";
7376             type: SWALLOW;
7377             description { state: "default" 0.0;
7378                rel1.to: "elm.swallow.size";
7379                rel2.to: "elm.swallow.size";
7380             }
7381          }
7382       }
7383       programs {
7384          program { name: "end";
7385             signal: "mouse,up,1";
7386             source: "base";
7387             action: SIGNAL_EMIT "elm,action,dismiss" "";
7388          }
7389
7390          program { name: "show";
7391             signal: "elm,action,show";
7392             source: "elm";
7393             action: STATE_SET "visible" 0.0;
7394 //            transition: DECELERATE 0.5;
7395             target: "base";
7396          }
7397          program { name: "hide";
7398             signal: "elm,action,hide";
7399             source: "elm";
7400             action: STATE_SET "default" 0.0;
7401 //            transition: DECELERATE 0.5;
7402             target: "base";
7403          }
7404          program { name: "topshow";
7405             signal: "elm,action,slot,top,show";
7406             source: "elm";
7407             action: STATE_SET "visible" 0.0;
7408             target: "edge_top";
7409             after: "topshow2";
7410          }
7411          program { name: "topshow2";
7412             action: STATE_SET "visible" 0.0;
7413             transition: DECELERATE 0.5;
7414             target: "elm.swallow.slot.top";
7415          }
7416          program { name: "topshow3";
7417             signal: "elm,action,slot,top,show";
7418             source: "elm";
7419             action: STATE_SET "default" 0.0;
7420             target: "button_image";
7421          }
7422          program { name: "tophide";
7423             signal: "elm,action,slot,top,hide";
7424             source: "elm";
7425             action: STATE_SET "default" 0.0;
7426             transition: DECELERATE 0.5;
7427             target: "elm.swallow.slot.top";
7428             after: "tophide2";
7429          }
7430          program { name: "tophide2";
7431             action: STATE_SET "default" 0.0;
7432             target: "edge_top";
7433          }
7434          program { name: "bottomshow";
7435             signal: "elm,action,slot,bottom,show";
7436             source: "elm";
7437             action: STATE_SET "visible" 0.0;
7438             target: "edge_bottom";
7439             after: "bottomshow2";
7440          }
7441          program { name: "bottomshow2";
7442             action: STATE_SET "visible" 0.0;
7443             transition: DECELERATE 0.5;
7444             target: "elm.swallow.slot.bottom";
7445          }
7446          program { name: "bottomshow3";
7447             signal: "elm,action,slot,bottom,show";
7448             source: "elm";
7449             action: STATE_SET "bottom" 0.0;
7450             target: "button_image";
7451          }
7452          program { name: "bottomhide";
7453             signal: "elm,action,slot,bottom,hide";
7454             source: "elm";
7455             action: STATE_SET "default" 0.0;
7456             transition: DECELERATE 0.5;
7457             target: "elm.swallow.slot.bottom";
7458             after: "bottomhide2";
7459          }
7460          program { name: "bottomhide2";
7461             action: STATE_SET "default" 0.0;
7462             target: "edge_bottom";
7463          }
7464       }
7465    }
7466 ///////////////////////////////////////////////////////////////////////////////
7467    group { name: "elm/scroller/base/ctxpopup";
7468       data {
7469          item: "focus_highlight" "on";
7470       }
7471       script {
7472          public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
7473          public timer0(val) {
7474             new v;
7475             v = get_int(sbvis_v);
7476             if (v) {
7477                v = get_int(sbalways_v);
7478                if(!v) {
7479                   emit("do-hide-vbar", "");
7480                   set_int(sbvis_v, 0);
7481                }
7482             }
7483             v = get_int(sbvis_h);
7484             if (v) {
7485                v = get_int(sbalways_h);
7486                if(!v) {
7487                   emit("do-hide-hbar", "");
7488                   set_int(sbvis_h, 0);
7489                }
7490             }
7491             set_int(sbvis_timer, 0);
7492             return 0;
7493          }
7494       }
7495       images {
7496          image: "bt_sm_base2.png" COMP;
7497          image: "bt_sm_shine.png" COMP;
7498          image: "bt_sm_hilight.png" COMP;
7499          image: "sl_bt2_2.png" COMP;
7500       }
7501       parts {
7502          part { name: "clipper";
7503             type: RECT;
7504             mouse_events: 0;
7505             scale: 1;
7506             description { state: "default" 0.0;
7507             }
7508          }
7509          part { name: "elm.swallow.content";
7510             clip_to: "clipper";
7511             type: SWALLOW;
7512             scale: 1;
7513             description { state: "default" 0.0;
7514                align: 0.5 0.5;
7515             }
7516          }
7517          part { name: "focus_highlight";
7518             mouse_events: 0;
7519             description { state: "default" 0.0;
7520                rel1.offset: -1 -1;
7521                rel2.offset: 0 0;
7522                image { normal: "sl_bt2_2.png";
7523                   border: 7 7 7 7;
7524                   middle: 0;
7525                }
7526                fill.smooth : 0;
7527                color: 200 155 0 0;
7528             }
7529             description { state: "enabled" 0.0;
7530                inherit: "default" 0.0;
7531                color: 200 155 0 255;
7532             }
7533          }
7534          part { name: "sb_vbar_clip_master";
7535             type: RECT;
7536             mouse_events: 0;
7537             description { state: "default" 0.0;
7538             }
7539             description { state: "hidden" 0.0;
7540                visible: 0;
7541                color: 255 255 255 0;
7542             }
7543          }
7544          part { name: "sb_vbar_clip";
7545             clip_to:"sb_vbar_clip_master";
7546             type: RECT;
7547             mouse_events: 0;
7548             scale: 1;
7549             description { state: "default" 0.0;
7550                align: 0.0 0.0;
7551                rel2{ to:"clipper"; relative: 1.0 1.0;}
7552             }
7553             description { state: "hidden" 0.0;
7554                visible: 0;
7555                color: 255 255 255 0;
7556             }
7557          }
7558          part { name: "sb_vbar";
7559             type: RECT;
7560             mouse_events: 0;
7561             scale: 1;
7562             description { state: "default" 0.0;
7563                fixed: 1 1;
7564                visible: 0;
7565                align: 1.0 0.0;
7566                rel1{ to:"clipper"; relative: 1.0 0.0; }
7567                rel2{ to:"clipper"; relative: 1.0 1.0; }
7568             }
7569          }
7570          part { name: "elm.dragable.vbar";
7571             clip_to: "sb_vbar_clip";
7572             mouse_events: 0;
7573             scale: 1;
7574             dragable {
7575                x: 0 0 0;
7576                y: 1 1 0;
7577                confine: "sb_vbar";
7578             }
7579             description { state: "default" 0.0;
7580                fixed: 1 1;
7581                min: 10 17;
7582                max: 10 99999;
7583                rel1 { relative: 0.5 0.5; to: "sb_vbar"; }
7584                rel2 { relative: 0.5  0.5; to: "sb_vbar"; }
7585                image { normal: "bt_sm_base2.png";
7586                   border: 6 6 6 6;
7587                   middle: SOLID;
7588                }
7589             }
7590          }
7591          part { name: "sb_vbar_over1";
7592             clip_to: "sb_vbar_clip";
7593             mouse_events: 0;
7594             description { state: "default" 0.0;
7595                rel1.to: "elm.dragable.vbar";
7596                rel2.relative: 1.0 0.5;
7597                rel2.to: "elm.dragable.vbar";
7598                image { normal: "bt_sm_hilight.png";
7599                   border: 6 6 6 0;
7600                }
7601             }
7602          }
7603          part { name: "sb_vbar_over2";
7604             clip_to: "sb_vbar_clip";
7605             mouse_events: 0;
7606             description { state: "default" 0.0;
7607                rel1.to: "elm.dragable.vbar";
7608                rel2.to: "elm.dragable.vbar";
7609                image { normal: "bt_sm_shine.png";
7610                   border: 6 6 6 0;
7611                }
7612             }
7613          }
7614          part { name: "sb_hbar_clip_master";
7615             type: RECT;
7616             mouse_events: 0;
7617             description { state: "default" 0.0;
7618             }
7619             description { state: "hidden" 0.0;
7620                visible: 0;
7621                color: 255 255 255 0;
7622             }
7623          }
7624          part { name: "sb_hbar_clip";
7625             clip_to: "sb_hbar_clip_master";
7626             type: RECT;
7627             mouse_events: 0;
7628             scale: 1;
7629             description { state: "default" 0.0;
7630                align: 0.0 0.0;
7631                rel2{ to:"clipper"; relative: 1.0 1.0;}
7632             }
7633             description { state: "hidden" 0.0;
7634                visible: 0;
7635                color: 255 255 255 0;
7636             }
7637          }
7638          part { name: "sb_hbar";
7639             type: RECT;
7640             mouse_events: 0;
7641             scale: 1;
7642             description { state: "default" 0.0;
7643                fixed: 1 1;
7644                visible: 0;
7645                align: 0.0 1.0;
7646                rel1 { to:"clipper"; relative: 0.0 1.0; }
7647                rel2 { to:"clipper"; relative: 1.0 1.0; }
7648             }
7649          }
7650          part { name: "elm.dragable.hbar";
7651             clip_to: "sb_hbar_clip";
7652             mouse_events: 0;
7653             scale: 1;
7654             dragable {
7655                x: 1 1 0;
7656                y: 0 0 0;
7657                confine: "sb_hbar";
7658             }
7659             description { state: "default" 0.0;
7660                min: 17 10;
7661                max: 99999 10;
7662                fixed: 1 1;
7663                rel1 { relative: 0.5  0.5; to: "sb_hbar"; }
7664                rel2 { relative: 0.5  0.5; to: "sb_hbar"; }
7665                image { normal: "bt_sm_base2.png";
7666                   border: 4 4 4 4;
7667                   middle: SOLID;
7668                }
7669             }
7670          }
7671          part { name: "sb_hbar_over1";
7672             clip_to: "sb_hbar_clip";
7673             mouse_events: 0;
7674             description { state: "default" 0.0;
7675                rel1.to: "elm.dragable.hbar";
7676                rel2.relative: 1.0 0.5;
7677                rel2.to: "elm.dragable.hbar";
7678                image { normal: "bt_sm_hilight.png";
7679                   border: 6 6 6 0;
7680                }
7681             }
7682          }
7683          part { name: "sb_hbar_over2";
7684             clip_to: "sb_hbar_clip";
7685             mouse_events: 0;
7686             description { state: "default" 0.0;
7687                rel1.to: "elm.dragable.hbar";
7688                rel2.to: "elm.dragable.hbar";
7689                image { normal: "bt_sm_shine.png";
7690                   border: 6 6 6 0;
7691                }
7692             }
7693          }
7694       }
7695       programs {
7696          program { name: "load";
7697             signal: "load";
7698             source: "";
7699             script {
7700                set_state(PART:"sb_vbar_clip", "hidden", 0.0);
7701                set_state(PART:"sb_hbar_clip", "hidden", 0.0);
7702                set_int(sbvis_v, 0);
7703                set_int(sbvis_h, 0);
7704                set_int(sbalways_v, 0);
7705                                    set_int(sbalways_h, 0);
7706                set_int(sbvis_timer, 0);
7707             }
7708          }
7709          program { name: "vbar_show";
7710             signal: "elm,action,show,vbar";
7711             source: "elm";
7712             action: STATE_SET "default" 0.0;
7713             target: "sb_vbar_clip_master";
7714          }
7715          program { name: "vbar_hide";
7716             signal: "elm,action,hide,vbar";
7717             source: "elm";
7718             action:  STATE_SET "hidden" 0.0;
7719             target: "sb_vbar_clip_master";
7720          }
7721          program { name: "vbar_show_always";
7722             signal: "elm,action,show_always,vbar";
7723             source: "elm";
7724             script {
7725                new v;
7726                v = get_int(sbvis_v);
7727                v |= get_int(sbalways_v);
7728                if (!v) {
7729                   set_int(sbalways_v, 1);
7730                   emit("do-show-vbar", "");
7731                   set_int(sbvis_v, 1);
7732                }
7733             }
7734          }
7735          program { name: "vbar_show_notalways";
7736             signal: "elm,action,show_notalways,vbar";
7737             source: "elm";
7738             script {
7739                new v;
7740                v = get_int(sbalways_v);
7741                if (v) {
7742                   set_int(sbalways_v, 0);
7743                   v = get_int(sbvis_v);
7744                   if (!v) {
7745                      emit("do-hide-vbar", "");
7746                      set_int(sbvis_v, 0);
7747                   }
7748                }
7749             }
7750          }
7751          program { name: "sb_vbar_show";
7752             signal: "do-show-vbar";
7753             source: "";
7754             action:  STATE_SET "default" 0.0;
7755             transition: LINEAR 1.0;
7756             target: "sb_vbar_clip";
7757          }
7758          program { name: "sb_vbar_hide";
7759             signal: "do-hide-vbar";
7760             source: "";
7761             action:  STATE_SET "hidden" 0.0;
7762             transition: LINEAR 1.0;
7763             target: "sb_vbar_clip";
7764          }
7765          program { name: "hbar_show";
7766             signal: "elm,action,show,hbar";
7767             source: "elm";
7768             action:  STATE_SET "default" 0.0;
7769             target: "sb_hbar_clip_master";
7770          }
7771          program { name: "hbar_hide";
7772             signal: "elm,action,hide,hbar";
7773             source: "elm";
7774             action:  STATE_SET "hidden" 0.0;
7775             target: "sb_hbar_clip_master";
7776          }
7777          program { name: "hbar_show_always";
7778             signal: "elm,action,show_always,hbar";
7779             source: "elm";
7780             script {
7781                new v;
7782                v = get_int(sbvis_h);
7783                v |= get_int(sbalways_h);
7784                if (!v) {
7785                   set_int(sbalways_h, 1);
7786                   emit("do-show-hbar", "");
7787                   set_int(sbvis_h, 1);
7788                }
7789             }
7790          }
7791          program { name: "hbar_show_notalways";
7792             signal: "elm,action,show_notalways,hbar";
7793             source: "elm";
7794             script {
7795                new v;
7796                v = get_int(sbalways_h);
7797                if (v) {
7798                   set_int(sbalways_h, 0);
7799                   v = get_int(sbvis_h);
7800                   if (!v) {
7801                      emit("do-hide-hbar", "");
7802                      set_int(sbvis_h, 0);
7803                   }
7804                }
7805             }
7806          }
7807          program { name: "sb_hbar_show";
7808             signal: "do-show-hbar";
7809             source: "";
7810             action:  STATE_SET "default" 0.0;
7811             transition: LINEAR 1.0;
7812             target: "sb_hbar_clip";
7813          }
7814          program { name: "sb_hbar_hide";
7815             signal: "do-hide-hbar";
7816             source: "";
7817             action:  STATE_SET "hidden" 0.0;
7818             transition: LINEAR 1.0;
7819             target: "sb_hbar_clip";
7820          }             
7821          program { name: "scroll";
7822             signal: "elm,action,scroll";
7823             source: "elm";
7824             script {
7825                new v;
7826                v = get_int(sbvis_v);
7827                v |= get_int(sbalways_v);
7828                if (!v) {
7829                   emit("do-show-vbar", "")
7830                   set_int(sbvis_v, 1);
7831                }
7832                v = get_int(sbvis_h);
7833                v |= get_int(sbalways_h);
7834                if (!v) {
7835                   emit("do-show-hbar", "");
7836                   set_int(sbvis_h, 1);
7837                }
7838                v = get_int(sbvis_timer);
7839                if (v > 0) cancel_timer(v);
7840                v = timer(1.0, "timer0", 0);
7841                set_int(sbvis_timer, v);
7842             }
7843          }
7844          program { name: "highlight_show";
7845             signal: "elm,action,focus_highlight,show";
7846             source: "elm";
7847             action: STATE_SET "enabled" 0.0;
7848             transition: ACCELERATE 0.3;
7849             target: "focus_highlight";
7850           }
7851          program { name: "highlight_hide";
7852             signal: "elm,action,focus_highlight,hide";
7853             source: "elm";
7854             action: STATE_SET "default" 0.0;
7855             transition: DECELERATE 0.3;
7856             target: "focus_highlight";
7857          }
7858       }
7859    }
7860 ///////////////////////////////////////////////////////////////////////////////
7861    group { name: "elm/ctxpopup/bg/default";
7862       parts {
7863          part { name: "ctxpopup_bg";
7864             type: RECT;
7865             mouse_events: 1;
7866             description { state: "default" 0.0;
7867                color: 0 0 0 0;
7868             }
7869             description { state: "visible" 0.0;
7870                inherit: "default" 0.0;
7871                color: 0 0 0 64;
7872             }
7873          }
7874       }
7875       programs {
7876          program { name: "clicked_event";
7877             signal: "mouse,clicked,1";
7878             source: "ctxpopup_bg";
7879             action: SIGNAL_EMIT "elm,action,click" "";
7880          }
7881          program { name: "show";
7882             signal: "elm,state,show";
7883             source: "elm";
7884             action: STATE_SET "visible" 0.0;
7885             target: "ctxpopup_bg";
7886          }
7887          program { name: "hide";
7888             signal: "elm,state,hide";
7889             source: "elm";
7890             action: STATE_SET "default" 0.0;
7891             target: "ctxpopup_bg";
7892          }
7893       }
7894    }
7895 ///////////////////////////////////////////////////////////////////////////////
7896    group { name: "elm/ctxpopup/base/default";
7897       images {
7898          image: "bt_base2.png" COMP;
7899          image: "bt_hilight.png" COMP;
7900          image: "bt_shine.png" COMP;
7901       }
7902       parts {
7903          part { name: "base";
7904             scale: 1;
7905             description { state: "default" 0.0;
7906                rel1.offset: -3 -3;
7907                rel2.offset: 3 3;
7908                image { normal: "bt_base2.png";
7909                   border: 7 7 7 7;
7910                }
7911             }
7912          }
7913          part { name: "over1";
7914             scale: 1;
7915             description { state: "default" 0.0;
7916                rel1.to: "base";
7917                rel2.to: "base";
7918                rel2.relative: 1.0 0.5;
7919                image { normal: "bt_hilight.png";
7920                   border: 7 7 7 0;
7921                }
7922             }
7923          }
7924          part { name: "over2";
7925             scale: 1;
7926             description { state: "default" 0.0;
7927                rel1.to: "base";
7928                rel2.to: "base";
7929                image { normal: "bt_shine.png";
7930                   border: 7 7 7 7;
7931                }
7932             }
7933          }
7934          part { name: "elm.swallow.content";
7935             type: SWALLOW;
7936             description { state: "default" 0.0;
7937                rel1 { to:"base"; offset: 4 4; };
7938                rel2 { to:"base"; offset: -5 -5; };
7939             }
7940          }          
7941       }
7942    }
7943 ///////////////////////////////////////////////////////////////////////////////
7944    group { name: "elm/ctxpopup/arrow/default";
7945       images {
7946          image: "icon_arrow_left.png" COMP;
7947          image: "icon_arrow_right.png" COMP;
7948          image: "icon_arrow_up.png" COMP;
7949          image: "icon_arrow_down.png" COMP;
7950       }
7951       parts {
7952                         part { name: "ctxpopup_arrow";
7953             type: IMAGE;
7954             scale: 1;
7955             description {
7956                state: "default" 0.0;
7957                min: 40 40;
7958                fixed: 1 1;
7959                visible: 0;
7960                align: 0.5 0.5;
7961             }
7962             description {
7963                state: "left" 0.0;
7964                min: 40 40;
7965                fixed: 1 1;
7966                align: 0.0 0.5;
7967                image { normal: "icon_arrow_left.png";
7968                }
7969             }
7970             description { state: "right" 0.0;
7971                min: 40 40;
7972                fixed: 1 1;
7973                align: 1.0 0.5;
7974                image { normal: "icon_arrow_right.png";    
7975                                         }
7976             }
7977             description { state: "top" 0.0;
7978                min: 40 40;
7979                fixed: 1 1;
7980                align: 0.5 0.0;
7981                image { normal: "icon_arrow_up.png";
7982                }
7983             }
7984             description { state: "bottom" 0.0;
7985                min: 40 40;
7986                fixed: 1 1;
7987                align: 0.5 1.0;
7988                image { normal: "icon_arrow_down.png";
7989                }
7990             }
7991          }
7992       }
7993       programs {
7994          program { name: "enable_left_arrow";
7995             signal: "elm,state,left";
7996             source: "elm";
7997             action: STATE_SET "left" 0.0;
7998             target: "ctxpopup_arrow";
7999          }
8000          program { name: "enable_right_arrow";
8001             signal: "elm,state,right";
8002             source: "elm";
8003             action: STATE_SET "right" 0.0;
8004             target: "ctxpopup_arrow";
8005          }
8006          program { name: "enable_top_arrow";
8007             signal: "elm,state,top";
8008             source: "elm";
8009             action: STATE_SET "top" 0.0;
8010             target: "ctxpopup_arrow";
8011          }
8012          program { name: "enable_bottom_arrow";
8013             signal: "elm,state,bottom";
8014             source: "elm";
8015             action: STATE_SET "bottom" 0.0;
8016             target: "ctxpopup_arrow";
8017          }
8018       }
8019    }
8020 ///////////////////////////////////////////////////////////////////////////////
8021    group {
8022       name: "elm/ctxpopup/icon_text_style_item/default";
8023            alias: "elm/ctxpopup/text_style_item/default";
8024            alias: "elm/ctxpopup/icon_style_item/default";
8025       images {
8026          image: "hoversel_entry_bg.png" COMP;
8027       }
8028       parts {
8029          part { name: "event";
8030             mouse_events: 1;
8031             description { state: "default" 0.0;
8032             }
8033          }
8034          part { name: "bg";
8035             mouse_events: 0;
8036             description { state: "default" 0.0;
8037                rel1.offset: 2 2;
8038                rel2.offset: -3 -3;
8039                image { normal:"hoversel_entry_bg.png";
8040                   border: 0 0 2 2;
8041                }
8042                fill.smooth: 0;
8043                color: 255 255 255 0;
8044             }
8045             description { state: "clicked" 0.0;
8046                inherit: "default" 0.0;
8047                color: 255 255 255 255;
8048             }
8049          }
8050          part { name: "elm.swallow.icon";
8051             type: SWALLOW;
8052             clip_to: "disclip";
8053             scale: 1;
8054             description { state: "default" 0.0;
8055                min: 25 25;
8056                max: 25 25;  
8057                align: 0 0.5;
8058                aspect: 1.0 1.0;
8059                rel1 { offset: 10 10; }  
8060                                         rel2 { offset: 0 -10; }
8061             }
8062          }
8063          part { name: "elm.text";
8064             type: TEXT;
8065             mouse_events: 0;
8066             clip_to: "disclip";
8067             scale: 1;
8068             description { state: "default" 0.0;
8069                min: 1 40;
8070                fixed: 0 1;
8071                align: 0.5 0.5;
8072                rel1 { relative: 1.0 0.0; to: "elm.swallow.icon"; offset: 10 0; }
8073                rel2 { relative: 1.0 1.0; offset: -11 -1; }
8074                color: 255 255 255 255;
8075                text {
8076                   font: "Sans";
8077                   size: 10;
8078                   align: 0.0 0.5;
8079                   min: 1 1;
8080                }
8081             }
8082             description { state: "clicked" 0.0;
8083                inherit: "default" 0.0;
8084                color: 0 0 0 255;
8085             }
8086          }
8087                         part { name: "over1";
8088             mouse_events: 1;
8089             repeat_events: 1;
8090             ignore_flags: ON_HOLD;
8091             description { state: "default" 0.0;
8092                color: 255 255 255 0;
8093             }
8094             description { state: "clicked" 0.0;
8095                inherit: "default" 0.0;
8096                color: 255 255 255 255;
8097             }
8098          }
8099          part { name: "over2";
8100             mouse_events: 1;
8101             repeat_events: 1;
8102             description { state: "default" 0.0;
8103                color: 255 255 255 0;
8104             }
8105             description { state: "clicked" 0.0;
8106                inherit: "default" 0.0;
8107                color: 255 255 255 255;
8108             }
8109          }
8110          part { name: "disclip";
8111             type: RECT;
8112             description { state: "default" 0.0;
8113                color: 255 255 255 255;
8114             }
8115             description { state: "enabled" 0.0;
8116                color: 127 127 127 127;
8117             }
8118          }
8119          part { name: "blocker";
8120             description { state: "default" 0.0;
8121                visible: 0;
8122             }
8123             description { state: "enabled" 0.0;
8124                visible: 1;
8125                color: 0 0 0 0;
8126             }
8127          }
8128                 }
8129       programs {
8130          program {
8131             name: "item_unclick";
8132             signal: "mouse,up,1";
8133             source: "over1";
8134             action: SIGNAL_EMIT "elm,action,click" "";
8135          }
8136          program { name: "disable";
8137             signal: "elm,state,disabled";
8138             source: "elm";
8139             action: STATE_SET "enabled" 0.0;
8140             target: "disclip";
8141             target: "blocker";
8142          }
8143          program { name: "enable";
8144             signal: "elm,state,enabled";
8145             source: "elm";
8146             action: STATE_SET "default" 0.0;
8147             target: "disclip";
8148             target: "blocker";
8149          }
8150          program { name: "item_click2";
8151             signal: "mouse,down,1";
8152             source: "over2";
8153             script {
8154                set_state(PART:"elm.text", "clicked", 0.0);
8155                set_state(PART:"bg", "clicked", 0.0);
8156             }
8157          }
8158          program { name: "item_unclick2";
8159             signal: "mouse,up,1";
8160             source: "over2";
8161             script {
8162                                         set_state(PART:"elm.text", "default", 0.0);
8163                set_state(PART:"bg", "default", 0.0);
8164             }
8165          }
8166       }
8167    }
8168 ///////////////////////////////////////////////////////////////////////////////
8169 // emoticon images from:
8170 // Tanya - Latvia
8171 // http://lazycrazy.deviantart.com/
8172 // http://lazycrazy.deviantart.com/art/Very-Emotional-Emoticons-144461621
8173   group { name: "elm/entry/emoticon/angry/default"; images.image:
8174      "emo-angry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8175         "emo-angry.png"; } } } }
8176   group { name: "elm/entry/emoticon/angry-shout/default"; images.image:
8177      "emo-angry-shout.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8178         "emo-angry-shout.png"; } } } }
8179   group { name: "elm/entry/emoticon/crazy-laugh/default"; images.image:
8180      "emo-crazy-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8181         "emo-crazy-laugh.png"; } } } }
8182   group { name: "elm/entry/emoticon/evil-laugh/default"; images.image:
8183      "emo-evil-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8184         "emo-evil-laugh.png"; } } } }
8185   group { name: "elm/entry/emoticon/evil/default"; images.image:
8186      "emo-evil.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8187         "emo-evil.png"; } } } }
8188   group { name: "elm/entry/emoticon/goggle-smile/default"; images.image:
8189      "emo-goggle-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8190         "emo-goggle-smile.png"; } } } }
8191   group { name: "elm/entry/emoticon/grumpy/default"; images.image:
8192      "emo-grumpy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8193         "emo-grumpy.png"; } } } }
8194   group { name: "elm/entry/emoticon/grumpy-smile/default"; images.image:
8195      "emo-grumpy-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8196         "emo-grumpy-smile.png"; } } } }
8197   group { name: "elm/entry/emoticon/guilty/default"; images.image:
8198      "emo-guilty.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8199         "emo-guilty.png"; } } } }
8200   group { name: "elm/entry/emoticon/guilty-smile/default"; images.image:
8201      "emo-guilty-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8202         "emo-guilty-smile.png"; } } } }
8203   group { name: "elm/entry/emoticon/haha/default"; images.image:
8204      "emo-haha.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8205         "emo-haha.png"; } } } }
8206   group { name: "elm/entry/emoticon/half-smile/default"; images.image:
8207      "emo-half-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8208         "emo-half-smile.png"; } } } }
8209   group { name: "elm/entry/emoticon/happy-panting/default"; images.image:
8210      "emo-happy-panting.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8211         "emo-happy-panting.png"; } } } }
8212   group { name: "elm/entry/emoticon/happy/default"; images.image:
8213      "emo-happy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8214         "emo-happy.png"; } } } }
8215   group { name: "elm/entry/emoticon/indifferent/default"; images.image:
8216      "emo-indifferent.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8217         "emo-indifferent.png"; } } } }
8218   group { name: "elm/entry/emoticon/kiss/default"; images.image:
8219      "emo-kiss.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8220         "emo-kiss.png"; } } } }
8221   group { name: "elm/entry/emoticon/knowing-grin/default"; images.image:
8222      "emo-knowing-grin.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8223         "emo-knowing-grin.png"; } } } }
8224   group { name: "elm/entry/emoticon/laugh/default"; images.image:
8225      "emo-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8226         "emo-laugh.png"; } } } }
8227   group { name: "elm/entry/emoticon/little-bit-sorry/default"; images.image:
8228      "emo-little-bit-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8229         "emo-little-bit-sorry.png"; } } } }
8230   group { name: "elm/entry/emoticon/love-lots/default"; images.image:
8231      "emo-love-lots.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8232         "emo-love-lots.png"; } } } }
8233   group { name: "elm/entry/emoticon/love/default"; images.image:
8234      "emo-love.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8235         "emo-love.png"; } } } }
8236   group { name: "elm/entry/emoticon/minimal-smile/default"; images.image:
8237      "emo-minimal-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8238         "emo-minimal-smile.png"; } } } }
8239   group { name: "elm/entry/emoticon/not-happy/default"; images.image:
8240      "emo-not-happy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8241         "emo-not-happy.png"; } } } }
8242   group { name: "elm/entry/emoticon/not-impressed/default"; images.image:
8243      "emo-not-impressed.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8244         "emo-not-impressed.png"; } } } }
8245   group { name: "elm/entry/emoticon/omg/default"; images.image:
8246      "emo-omg.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8247         "emo-omg.png"; } } } }
8248   group { name: "elm/entry/emoticon/opensmile/default"; images.image:
8249      "emo-opensmile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8250         "emo-opensmile.png"; } } } }
8251   group { name: "elm/entry/emoticon/smile/default"; images.image:
8252      "emo-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8253         "emo-smile.png"; } } } }
8254   group { name: "elm/entry/emoticon/sorry/default"; images.image:
8255      "emo-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8256         "emo-sorry.png"; } } } }
8257   group { name: "elm/entry/emoticon/squint-laugh/default"; images.image:
8258      "emo-squint-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8259         "emo-squint-laugh.png"; } } } }
8260   group { name: "elm/entry/emoticon/surprised/default"; images.image:
8261      "emo-surprised.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8262         "emo-surprised.png"; } } } }
8263   group { name: "elm/entry/emoticon/suspicious/default"; images.image:
8264      "emo-suspicious.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8265         "emo-suspicious.png"; } } } }
8266   group { name: "elm/entry/emoticon/tongue-dangling/default"; images.image:
8267      "emo-tongue-dangling.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8268         "emo-tongue-dangling.png"; } } } }
8269   group { name: "elm/entry/emoticon/tongue-poke/default"; images.image:
8270      "emo-tongue-poke.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8271         "emo-tongue-poke.png"; } } } }
8272   group { name: "elm/entry/emoticon/uh/default"; images.image:
8273      "emo-uh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8274         "emo-uh.png"; } } } }
8275   group { name: "elm/entry/emoticon/unhappy/default"; images.image:
8276      "emo-unhappy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8277         "emo-unhappy.png"; } } } }
8278   group { name: "elm/entry/emoticon/very-sorry/default"; images.image:
8279      "emo-very-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8280         "emo-very-sorry.png"; } } } }
8281   group { name: "elm/entry/emoticon/what/default"; images.image:
8282      "emo-what.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8283         "emo-what.png"; } } } }
8284   group { name: "elm/entry/emoticon/wink/default"; images.image:
8285      "emo-wink.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8286         "emo-wink.png"; } } } }
8287   group { name: "elm/entry/emoticon/worried/default"; images.image:
8288      "emo-worried.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8289         "emo-worried.png"; } } } }
8290   group { name: "elm/entry/emoticon/wtf/default"; images.image:
8291      "emo-wtf.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8292         "emo-wtf.png"; } } } }
8293 //------------------------------------------------------------
8294    group { name: "elm/entry/base/default";
8295       styles
8296       {
8297          style { name: "entry_textblock_style";
8298             base: "font=Sans font_size=10 color=#000 wrap=word text_class=entry";
8299             tag:  "br" "\n";
8300             tag:  "ps" "ps";
8301             tag:  "tab" "\t";
8302             tag:  "em" "+ font=Sans:style=Oblique";
8303             tag:  "b" "+ font=Sans:style=Bold";
8304             tag:  "link" "+ color=#800 underline=on underline_color=#8008";
8305             tag:  "hilight" "+ font=Sans:style=Bold";
8306          }
8307          style { name: "entry_textblock_disabled_style";
8308             base: "font=Sans font_size=10 color=#00000080 wrap=word text_class=entry";
8309             tag:  "br" "\n";
8310             tag:  "ps" "ps";
8311             tag:  "tab" "\t";
8312             tag:  "em" "+ font=Sans:style=Oblique";
8313             tag:  "b" "+ font=Sans:style=Bold";
8314             tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
8315             tag:  "hilight" "+ font=Sans:style=Bold";
8316          }
8317       }
8318       data {
8319 //         item: context_menu_orientation "horizontal";
8320       }
8321       parts {
8322          part { name: "elm.text";
8323             type: TEXTBLOCK;
8324             mouse_events: 1;
8325             scale: 1;
8326             entry_mode: EDITABLE;
8327             select_mode: EXPLICIT;
8328             multiline: 1;
8329             source: "elm/entry/selection/default"; // selection under
8330    //       source2: "X"; // selection over
8331    //       source3: "X"; // cursor under
8332             source4: "elm/entry/cursor/default"; // cursorover
8333             source5: "elm/entry/anchor/default"; // anchor under
8334    //       source6: "X"; // anchor over
8335             description { state: "default" 0.0;
8336                /* we gotta use 0 0 here, because of scrolled entries */
8337                fixed: 0 0;
8338                text {
8339                   style: "entry_textblock_style";
8340                   min: 0 1;
8341                }
8342             }
8343             description { state: "disabled" 0.0;
8344                inherit: "default" 0.0;
8345                text {
8346                   style: "entry_textblock_disabled_style";
8347                   min: 0 1;
8348                }
8349             }
8350          }
8351       }
8352       programs {
8353          program { name: "focus";
8354             signal: "load";
8355             source: "";
8356             action: FOCUS_SET;
8357             target: "elm.text";
8358          }
8359          program { name: "disable";
8360             signal: "elm,state,disabled";
8361             source: "elm";
8362             action: STATE_SET "disabled" 0.0;
8363             target: "elm.text";
8364          }
8365          program { name: "enable";
8366             signal: "elm,state,enabled";
8367             source: "elm";
8368             action: STATE_SET "default" 0.0;
8369             target: "elm.text";
8370          }
8371       }
8372    }
8373
8374    group { name: "elm/entry/base-charwrap/default";
8375       styles
8376       {
8377          style { name: "entry_textblock_style_charwrap";
8378             base: "font=Sans font_size=10 color=#000 wrap=char text_class=entry";
8379             tag:  "br" "\n";
8380             tag:  "ps" "ps";
8381             tag:  "tab" "\t";
8382             tag:  "em" "+ font=Sans:style=Oblique";
8383             tag:  "b" "+ font=Sans:style=Bold";
8384             tag:  "link" "+ color=#800 underline=on underline_color=#8008";
8385             tag:  "hilight" "+ font=Sans:style=Bold";
8386          }
8387          style { name: "entry_textblock_disabled_style_charwrap";
8388             base: "font=Sans font_size=10 color=#00000080 wrap=char text_class=entry";
8389             tag:  "br" "\n";
8390             tag:  "ps" "ps";
8391             tag:  "tab" "\t";
8392             tag:  "em" "+ font=Sans:style=Oblique";
8393             tag:  "b" "+ font=Sans:style=Bold";
8394             tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
8395             tag:  "hilight" "+ font=Sans:style=Bold";
8396          }
8397       }
8398       parts {
8399          part { name: "elm.text";
8400             type: TEXTBLOCK;
8401             mouse_events: 1;
8402             scale: 1;
8403             entry_mode: EDITABLE;
8404             select_mode: EXPLICIT;
8405             multiline: 1;
8406             source: "elm/entry/selection/default"; // selection under
8407 //          source2: "X"; // selection over
8408 //          source3: "X"; // cursor under
8409             source4: "elm/entry/cursor/default"; // cursorover
8410             source5: "elm/entry/anchor/default"; // anchor under
8411 //          source6: "X"; // anchor over
8412             description { state: "default" 0.0;
8413                fixed: 1 0;
8414                text {
8415                   style: "entry_textblock_style_charwrap";
8416                   min: 0 1;
8417                }
8418             }
8419             description { state: "disabled" 0.0;
8420                inherit: "default" 0.0;
8421                text {
8422                   style: "entry_textblock_disabled_style_charwrap";
8423                   min: 0 1;
8424                }
8425             }
8426          }
8427       }
8428       programs {
8429          program { name: "focus";
8430             signal: "load";
8431             source: "";
8432             action: FOCUS_SET;
8433             target: "elm.text";
8434          }
8435          program { name: "disable";
8436             signal: "elm,state,disabled";
8437             source: "elm";
8438             action: STATE_SET "disabled" 0.0;
8439             target: "elm.text";
8440          }
8441          program { name: "enable";
8442             signal: "elm,state,enabled";
8443             source: "elm";
8444             action: STATE_SET "default" 0.0;
8445             target: "elm.text";
8446          }
8447       }
8448    }
8449
8450    group { name: "elm/entry/base-nowrap/default";
8451       parts {
8452          part { name: "elm.text";
8453             type: TEXTBLOCK;
8454             mouse_events: 1;
8455             scale: 1;
8456             entry_mode: EDITABLE;
8457             select_mode: EXPLICIT;
8458             multiline: 1;
8459             source: "elm/entry/selection/default"; // selection under
8460             source4: "elm/entry/cursor/default"; // cursorover
8461             source5: "elm/entry/anchor/default"; // anchor under
8462             description { state: "default" 0.0;
8463                text {
8464                   style: "entry_textblock_style";
8465                   min: 1 1;
8466                }
8467             }
8468             description { state: "disabled" 0.0;
8469                inherit: "default" 0.0;
8470                text {
8471                   style: "entry_textblock_disabled_style";
8472                   min: 0 1;
8473                }
8474             }
8475          }
8476 /*
8477          part { name: "sel";
8478             type: RECT;
8479             mouse_events: 0;
8480             description { state: "default" 0.0;
8481                align: 1.0 1.0;
8482                max: 16 16;
8483                aspect: 1.0 1.0;
8484                color: 255 0 0 0;
8485             }
8486             description { state: "visible" 0.0;
8487                inherit: "default" 0.0;
8488                color: 255 0 0 50;
8489             }
8490          }
8491  */
8492       }
8493       programs {
8494          program { name: "focus";
8495             signal: "load";
8496             source: "";
8497             action: FOCUS_SET;
8498             target: "elm.text";
8499          }
8500          program { name: "disable";
8501             signal: "elm,state,disabled";
8502             source: "elm";
8503             action: STATE_SET "disabled" 0.0;
8504             target: "elm.text";
8505          }
8506          program { name: "enable";
8507             signal: "elm,state,enabled";
8508             source: "elm";
8509             action: STATE_SET "default" 0.0;
8510             target: "elm.text";
8511          }
8512 /*
8513          program { name: "selmode0";
8514             signal: "elm,state,select,on";
8515             source: "elm";
8516             action: STATE_SET "visible" 0.0;
8517             target: "sel";
8518          }
8519          program { name: "selmode1";
8520             signal: "elm,state,select,off";
8521             source: "elm";
8522             action: STATE_SET "default" 0.0;
8523             target: "sel";
8524          }
8525  */
8526       }
8527    }
8528
8529    group { name: "elm/entry/base-single/default";
8530       styles
8531       {
8532          style { name: "entry_single_textblock_style";
8533             base: "font=Sans font_size=10 color=#000 wrap=none text_class=entry";
8534             tag:  "br" "\n";
8535             tag:  "ps" "ps";
8536             tag:  "tab" "\t";
8537             tag:  "em" "+ font=Sans:style=Oblique";
8538             tag:  "b" "+ font=Sans:style=Bold";
8539             tag:  "link" "+ color=#800 underline=on underline_color=#8008";
8540             tag:  "hilight" "+ font=Sans:style=Bold";
8541          }
8542          style { name: "entry_single_textblock_disabled_style";
8543             base: "font=Sans font_size=10 color=#00000080 wrap=none text_class=entry";
8544             tag:  "br" "\n";
8545             tag:  "ps" "ps";
8546             tag:  "tab" "\t";
8547             tag:  "em" "+ font=Sans:style=Oblique";
8548             tag:  "b" "+ font=Sans:style=Bold";
8549             tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
8550             tag:  "hilight" "+ font=Sans:style=Bold";
8551          }
8552       }
8553       parts {
8554          part { name: "elm.text";
8555             type: TEXTBLOCK;
8556             mouse_events: 1;
8557             scale: 1;
8558             entry_mode: EDITABLE;
8559             select_mode: EXPLICIT;
8560             multiline: 0;
8561             source: "elm/entry/selection/default"; // selection under
8562             source4: "elm/entry/cursor/default"; // cursorover
8563             source5: "elm/entry/anchor/default"; // anchor under
8564             description { state: "default" 0.0;
8565                text {
8566                   style: "entry_single_textblock_style";
8567                   min: 1 1;
8568                   max: 0 1;
8569                }
8570             }
8571             description { state: "disabled" 0.0;
8572                inherit: "default" 0.0;
8573                text {
8574                   style: "entry_single_textblock_disabled_style";
8575                }
8576             }
8577          }
8578       }
8579       programs {
8580          program { name: "focus";
8581             signal: "load";
8582             source: "";
8583             action: FOCUS_SET;
8584             target: "elm.text";
8585          }
8586          program { name: "disable";
8587             signal: "elm,state,disabled";
8588             source: "elm";
8589             action: STATE_SET "disabled" 0.0;
8590             target: "elm.text";
8591          }
8592          program { name: "enable";
8593             signal: "elm,state,enabled";
8594             source: "elm";
8595             action: STATE_SET "default" 0.0;
8596             target: "elm.text";
8597          }
8598       }
8599    }
8600
8601    group { name: "elm/entry/base-single-noedit/default";
8602       parts {
8603          part { name: "elm.text";
8604             type: TEXTBLOCK;
8605             mouse_events: 1;
8606             scale: 1;
8607             entry_mode: PLAIN;
8608             select_mode: EXPLICIT;
8609             multiline: 0;
8610             source: "elm/entry/selection/default"; // selection under
8611             source5: "elm/entry/anchor/default"; // anchor under
8612             description { state: "default" 0.0;
8613                text {
8614                   style: "entry_single_textblock_style";
8615                   min: 1 1;
8616                   max: 0 1;
8617                }
8618             }
8619             description { state: "disabled" 0.0;
8620                inherit: "default" 0.0;
8621                text {
8622                style: "entry_single_textblock_disabled_style";
8623                }
8624             }
8625          }
8626       }
8627       programs {
8628          program { name: "focus";
8629             signal: "load";
8630             source: "";
8631             action: FOCUS_SET;
8632             target: "elm.text";
8633          }
8634          program { name: "disable";
8635             signal: "elm,state,disabled";
8636             source: "elm";
8637             action: STATE_SET "disabled" 0.0;
8638             target: "elm.text";
8639          }
8640          program { name: "enable";
8641             signal: "elm,state,enabled";
8642             source: "elm";
8643             action: STATE_SET "default" 0.0;
8644             target: "elm.text";
8645          }
8646       }
8647    }
8648
8649    group { name: "elm/entry/base-noedit/default";
8650       parts {
8651          part { name: "elm.text";
8652             type: TEXTBLOCK;
8653             mouse_events: 1;
8654             scale: 1;
8655             entry_mode: PLAIN;
8656             select_mode: EXPLICIT;
8657             multiline: 1;
8658             source: "elm/entry/selection/default"; // selection under
8659             source5: "elm/entry/anchor/default"; // anchor under
8660             description { state: "default" 0.0;
8661                fixed: 1 0;
8662                text {
8663                   style: "entry_textblock_style";
8664                   min: 0 1;
8665                }
8666             }
8667             description { state: "disabled" 0.0;
8668                inherit: "default" 0.0;
8669                text {
8670                   style: "entry_textblock_disabled_style";
8671                }
8672             }
8673          }
8674       }
8675       programs {
8676          program { name: "focus";
8677             signal: "load";
8678             source: "";
8679             action: FOCUS_SET;
8680             target: "elm.text";
8681          }
8682          program { name: "disable";
8683             signal: "elm,state,disabled";
8684             source: "elm";
8685             action: STATE_SET "disabled" 0.0;
8686             target: "elm.text";
8687          }
8688          program { name: "enable";
8689             signal: "elm,state,enabled";
8690             source: "elm";
8691             action: STATE_SET "default" 0.0;
8692             target: "elm.text";
8693          }
8694       }
8695    }
8696
8697    group { name: "elm/entry/base-noedit-charwrap/default";
8698       parts {
8699          part { name: "elm.text";
8700             type: TEXTBLOCK;
8701             mouse_events: 1;
8702             scale: 1;
8703             entry_mode: PLAIN;
8704             select_mode: EXPLICIT;
8705             multiline: 1;
8706             source: "elm/entry/selection/default"; // selection under
8707             source5: "elm/entry/anchor/default"; // anchor under
8708             description { state: "default" 0.0;
8709                fixed: 1 0;
8710                text {
8711                   style: "entry_textblock_style_charwrap";
8712                   min: 0 1;
8713                }
8714             }
8715             description { state: "disabled" 0.0;
8716                inherit: "default" 0.0;
8717                text {
8718                   style: "entry_textblock_disabled_style_charwrap";
8719                }
8720             }
8721          }
8722       }
8723       programs {
8724          program { name: "focus";
8725             signal: "load";
8726             source: "";
8727             action: FOCUS_SET;
8728             target: "elm.text";
8729          }
8730          program { name: "disable";
8731             signal: "elm,state,disabled";
8732             source: "elm";
8733             action: STATE_SET "disabled" 0.0;
8734             target: "elm.text";
8735          }
8736          program { name: "enable";
8737             signal: "elm,state,enabled";
8738             source: "elm";
8739             action: STATE_SET "default" 0.0;
8740             target: "elm.text";
8741          }
8742       }
8743    }
8744
8745    group { name: "elm/entry/base-nowrap-noedit/default";
8746       parts {
8747          part { name: "elm.text";
8748             type: TEXTBLOCK;
8749             mouse_events: 1;
8750             scale: 1;
8751             entry_mode: PLAIN;
8752             select_mode: EXPLICIT;
8753             multiline: 1;
8754             source: "elm/entry/selection/default"; // selection under
8755             source5: "elm/entry/anchor/default"; // anchor under
8756             description { state: "default" 0.0;
8757                text {
8758                   style: "entry_textblock_style";
8759                   min: 1 1;
8760                }
8761             }
8762             description { state: "disabled" 0.0;
8763                inherit: "default" 0.0;
8764                text {
8765                   style: "entry_textblock_disabled_style";
8766                }
8767             }
8768          }
8769       }
8770       programs {
8771          program { name: "focus";
8772             signal: "load";
8773             source: "";
8774             action: FOCUS_SET;
8775             target: "elm.text";
8776          }
8777          program { name: "disable";
8778             signal: "elm,state,disabled";
8779             source: "elm";
8780             action: STATE_SET "disabled" 0.0;
8781             target: "elm.text";
8782          }
8783          program { name: "enable";
8784             signal: "elm,state,enabled";
8785             source: "elm";
8786             action: STATE_SET "default" 0.0;
8787             target: "elm.text";
8788          }
8789       }
8790    }
8791
8792    group { name: "elm/entry/base-password/default";
8793       parts {
8794          part { name: "elm.text";
8795             type: TEXTBLOCK;
8796             mouse_events: 1;
8797             scale: 1;
8798             entry_mode: PASSWORD;
8799             select_mode: EXPLICIT;
8800             multiline: 0;
8801             source: "elm/entry/selection/default"; // selection under
8802             source4: "elm/entry/cursor/default"; // cursorover
8803             source5: "elm/entry/anchor/default"; // anchor under
8804             description { state: "default" 0.0;
8805                text {
8806                   style: "entry_single_textblock_style";
8807                   repch: "*";
8808                   min: 1 1;
8809                   max: 0 1;
8810                }
8811             }
8812             description { state: "disabled" 0.0;
8813                inherit: "default" 0.0;
8814                text {
8815                   style: "entry_single_textblock_disabled_style";
8816                }
8817             }
8818          }
8819       }
8820       programs {
8821          program { name: "focus";
8822             signal: "load";
8823             source: "";
8824             action: FOCUS_SET;
8825             target: "elm.text";
8826          }
8827          program { name: "disable";
8828             signal: "elm,state,disabled";
8829             source: "elm";
8830             action: STATE_SET "disabled" 0.0;
8831             target: "elm.text";
8832          }
8833          program { name: "enable";
8834             signal: "elm,state,enabled";
8835             source: "elm";
8836             action: STATE_SET "default" 0.0;
8837             target: "elm.text";
8838          }
8839       }
8840    }
8841
8842    group { name: "elm/entry/cursor/default";
8843       images {
8844          image: "cur_box.png" COMP;
8845          image: "cur_hi.png" COMP;
8846          image: "cur_shad.png" COMP;
8847          image: "cur_shine.png" COMP;
8848          image: "cur_glow.png" COMP;
8849       }
8850       parts {
8851          part { name: "clip2";
8852             type: RECT;
8853             mouse_events: 0;
8854             description { state: "default" 0.0;
8855                rel1.to: "clip";
8856                rel2.to: "clip";
8857                visible: 0;
8858             }
8859             description { state: "focused" 0.0;
8860                inherit: "default" 0.0;
8861                visible: 1;
8862             }
8863          }
8864          part { name: "clip";
8865             type: RECT;
8866             mouse_events: 0;
8867             clip_to: "clip2";
8868             description { state: "default" 0.0;
8869                rel1.offset: -10 0;
8870                rel2.offset: 9 9;
8871             }
8872             description { state: "hidden" 0.0;
8873                inherit: "default" 0.0;
8874                visible: 0;
8875             }
8876          }
8877          part { name: "bg";
8878             mouse_events: 0;
8879             clip_to: "clip";
8880             description { state: "default" 0.0;
8881                rel1.to: "base";
8882                rel1.offset: -2 0;
8883                rel2.to: "base";
8884                rel2.offset: 1 1;
8885                image.border: 2 2 2 2;
8886                image.normal: "cur_shad.png";
8887             }
8888          }
8889          part { name: "base";
8890             mouse_events: 0;
8891             scale: 1;
8892             clip_to: "clip";
8893             description { state: "default" 0.0;
8894                min: 2 2;
8895                align: 0.5 1.0;
8896                rel1.relative: 0.0 1.0;
8897                rel1.offset: 0 -1;
8898                rel2.relative: 1.0 1.0;
8899                rel2.offset: -1 -1;
8900                image.normal: "cur_box.png";
8901             }
8902          }
8903          part { name: "hi";
8904             mouse_events: 0;
8905             clip_to: "clip";
8906             description { state: "default" 0.0;
8907                rel1.to: "base";
8908                rel2.to: "base";
8909                rel2.relative: 1.0 0.5;
8910                image.normal: "cur_hi.png";
8911             }
8912          }
8913          part { name: "shine";
8914             mouse_events: 0;
8915             clip_to: "clip";
8916             clip_to: "clip2";
8917             description { state: "default" 0.0;
8918                rel1.to: "base";
8919                rel2.to: "base";
8920                rel2.relative: 1.0 0.75;
8921                image.border: 2 2 1 0;
8922                image.normal: "cur_shine.png";
8923                fill.smooth: 0;
8924             }
8925          }
8926          part { name: "glow";
8927             mouse_events: 0;
8928             clip_to: "clip2";
8929             description { state: "default" 0.0;
8930                rel1.to: "base";
8931                rel1.relative: 0.0 -2.0;
8932                rel1.offset: -2 0;
8933                rel2.to: "base";
8934                rel2.relative: 1.0 0.0;
8935                rel2.offset: 1 1;
8936                image.border: 2 2 0 4;
8937                image.normal: "cur_glow.png";
8938                fill.smooth: 0;
8939             }
8940             description { state: "hidden" 0.0;
8941                inherit: "default" 0.0;
8942                color: 255 255 255 0;
8943             }
8944          }
8945       }
8946       programs {
8947          program { name: "show";
8948             signal: "show";
8949             source: "";
8950             action: STATE_SET "hidden" 0.0;
8951             in: 1.0 0.0;
8952             transition: DECELERATE 2.0;
8953             target: "glow";
8954             after: "show2";
8955          }
8956          program { name: "show2";
8957             action: STATE_SET "hidden" 0.0;
8958             in: 0.2 0.0;
8959             target: "clip";
8960             after: "show3";
8961          }
8962          program { name: "show3";
8963             action: STATE_SET "default" 0.0;
8964             in: 0.5 0.0;
8965             target: "clip";
8966             after: "show4";
8967          }
8968          program { name: "show4";
8969             action: STATE_SET "default" 0.0;
8970             in: 0.5 0.0;
8971             transition: DECELERATE 0.5;
8972             target: "glow";
8973             after: "show";
8974          }
8975          program { name: "focused";
8976             signal: "elm,action,focus";
8977             source: "elm";
8978             action: STATE_SET "focused" 0.0;
8979             target: "clip2";
8980          }
8981          program { name: "unfocused";
8982             signal: "elm,action,unfocus";
8983             source: "elm";
8984             action: STATE_SET "default" 0.0;
8985             target: "clip2";
8986          }
8987       }
8988    }
8989
8990    group { name: "elm/entry/selection/default";
8991       parts {
8992          part { name: "bg";
8993             type: RECT;
8994             mouse_events: 0;
8995             description { state: "default" 0.0;
8996                color: 128 128 128 128;
8997             }
8998          }
8999       }
9000    }
9001
9002    group { name: "elm/entry/anchor/default";
9003       parts {
9004          part { name: "bg";
9005             type: RECT;
9006             mouse_events: 0;
9007             description { state: "default" 0.0;
9008                color: 128 0 0 64;
9009             }
9010          }
9011       }
9012    }
9013
9014 ///////////////////////////////////////////////////////////////////////////////
9015   group { name: "elm/bubble/top_left/default";
9016     alias: "elm/bubble/base/default";
9017     images {
9018       image: "bubble_3.png" COMP;
9019       image: "bubble_4.png" COMP;
9020       image: "bubble_shine3.png" COMP;
9021       image: "bubble_shine4.png" COMP;
9022     }
9023     parts {
9024       part { name: "event";
9025          type: RECT;
9026          description {
9027             state: "default" 0.0;
9028             color: 0 0 0 0;
9029          }
9030       }
9031       part { name: "elm.swallow.icon";
9032         type: SWALLOW;
9033         description { state: "default" 0.0;
9034           fixed: 1 1;
9035           visible: 0;
9036           align: 0.0 0.0;
9037           aspect: 1.0 1.0;
9038           aspect_preference: VERTICAL;
9039           rel1 {
9040             relative: 0.0 0.0;
9041             offset: 4 4;
9042           }
9043           rel2 {
9044             to_y: "elm.text";
9045             relative: 0.0 1.0;
9046             offset: 4 -1;
9047           }
9048         }
9049         description { state: "visible" 0.0;
9050           inherit: "default" 0.0;
9051           visible: 1;
9052         }
9053       }
9054       part { name: "elm.text";
9055         type: TEXT;
9056         mouse_events:   0;
9057         scale: 1;
9058         description { state: "default" 0.0;
9059           align: 0.0 0.0;
9060           fixed: 0 1;
9061           rel1 {
9062             to_x: "elm.swallow.icon";
9063             relative: 1.0 0.0;
9064             offset: 4 4;
9065           }
9066           rel2 {
9067             to_x: "elm.info";
9068             relative: 0.0 0.0;
9069             offset: -5 4;
9070           }
9071           color: 0 0 0 255;
9072           text {
9073             font: "Sans:style=Bold,Edje-Vera-Bold";
9074             size: 10;
9075             min: 0 1;
9076             max: 0 1;
9077             align: 0.0 0.0;
9078           }
9079         }
9080       }
9081       part { name: "elm.info";
9082         type: TEXT;
9083         mouse_events:   0;
9084         scale: 1;
9085         description { state: "default" 0.0;
9086           align: 1.0 0.0;
9087           fixed: 1 1;
9088           rel1 {
9089             relative: 1.0 0.0;
9090             offset: -5 4;
9091           }
9092           rel2 {
9093             relative: 1.0 0.0;
9094             offset: -5 4;
9095           }
9096           color: 0 0 0 64;
9097           text {
9098             font: "Sans:style=Bold,Edje-Vera-Bold";
9099             size: 10;
9100             min: 1 1;
9101             max: 1 1;
9102             align: 1.0 0.0;
9103           }
9104         }
9105       }
9106       part { name: "base0";
9107         mouse_events:  0;
9108         description { state: "default" 0.0;
9109           rel1 {
9110             to_y: "elm.swallow.icon";
9111             relative: 0.0 1.0;
9112             offset: 0 0;
9113           }
9114           image {
9115             normal: "bubble_3.png";
9116             border: 36 11 18 9;
9117           }
9118           image.middle: SOLID;
9119           fill.smooth: 0;
9120         }
9121         description { state: "rtl" 0.0;
9122            inherit: "default" 0.0;
9123            image {
9124               normal: "bubble_4.png";
9125               border: 11 36 18 9;
9126            }
9127         }
9128       }
9129       part { name: "elm.swallow.content";
9130         type: SWALLOW;
9131         description { state: "default" 0.0;
9132           rel1 {
9133             to: "base0";
9134             offset: 9 16;
9135           }
9136           rel2 {
9137             to: "base0";
9138             offset: -10 -9;
9139           }
9140         }
9141       }
9142       part { name: "shine";
9143         mouse_events:  0;
9144         description { state:    "default" 0.0;
9145           rel1 {
9146             to: "base0";
9147             offset: 5 4;
9148           }
9149           rel2 {
9150             to: "base0";
9151             relative: 1.0 0.5;
9152             offset: -6 7;
9153           }
9154           image {
9155             normal: "bubble_shine3.png";
9156             border: 36 5 14 0;
9157           }
9158           fill.smooth: 0;
9159         }
9160         description { state: "rtl" 0.0;
9161            inherit: "default" 0.0;
9162            image {
9163               normal: "bubble_shine4.png";
9164               border: 5 36 14 0;
9165            }
9166         }
9167       }
9168     }
9169     programs {
9170       program {
9171         name: "icon_show";
9172         signal: "elm,state,icon,visible";
9173         source: "elm";
9174         action: STATE_SET "visible" 0.0;
9175         target: "elm.swallow.icon";
9176       }
9177       program {
9178         name: "icon_hide";
9179         signal: "elm,state,icon,hidden";
9180         source: "elm";
9181         action: STATE_SET "default" 0.0;
9182         target: "elm.swallow.icon";
9183       }
9184       program { name: "to_rtl";
9185          signal: "edje,state,rtl";
9186          source: "edje";
9187          action: STATE_SET "rtl" 0.0;
9188          target: "base0";
9189          target: "shine";
9190       }
9191       program { name: "to_ltr";
9192          signal: "edje,state,ltr";
9193          source: "edje";
9194          action: STATE_SET "default" 0.0;
9195          target: "base0";
9196          target: "shine";
9197       }
9198     }
9199   }
9200
9201   group { name: "elm/bubble/top_right/default";
9202     images {
9203       image: "bubble_3.png" COMP;
9204       image: "bubble_4.png" COMP;
9205       image: "bubble_shine3.png" COMP;
9206       image: "bubble_shine4.png" COMP;
9207     }
9208     parts {
9209       part { name: "event";
9210          type: RECT;
9211          description {
9212             state: "default" 0.0;
9213             color: 0 0 0 0;
9214          }
9215       }
9216       part { name: "elm.swallow.icon";
9217         type: SWALLOW;
9218         description { state: "default" 0.0;
9219           fixed: 1 1;
9220           visible: 0;
9221           align: 1.0 0.0;
9222           aspect: 1.0 1.0;
9223           aspect_preference: VERTICAL;
9224           rel1 {
9225             relative: 1.0 0.0;
9226             offset: -5 4;
9227           }
9228           rel2 {
9229             to_y: "elm.text";
9230             relative: 1.0 1.0;
9231             offset: -5 -1;
9232           }
9233         }
9234         description { state: "visible" 0.0;
9235           inherit: "default" 0.0;
9236           visible: 1;
9237         }
9238       }
9239       part { name: "elm.text";
9240         type: TEXT;
9241         mouse_events:   0;
9242         scale: 1;
9243         description { state: "default" 0.0;
9244           align: 0.0 0.0;
9245           fixed: 0 1;
9246           rel1 {
9247             relative: 0.0 0.0;
9248             offset: 4 4;
9249           }
9250           rel2 {
9251             to_x: "elm.info";
9252             relative: 0.0 0.0;
9253             offset: -5 4;
9254           }
9255           color: 0 0 0 255;
9256           text {
9257             font: "Sans:style=Bold,Edje-Vera-Bold";
9258             size: 10;
9259             min: 0 1;
9260             max: 0 1;
9261             align: 0.0 0.0;
9262           }
9263         }
9264       }
9265       part { name: "elm.info";
9266         type: TEXT;
9267         mouse_events:   0;
9268         scale: 1;
9269         description { state: "default" 0.0;
9270           align: 1.0 0.0;
9271           fixed: 1 1;
9272           rel1 {
9273             relative: 1.0 0.0;
9274             offset: -5 4;
9275           }
9276           rel2 {
9277             to_x: "elm.swallow.icon";
9278             relative: 0.0 0.0;
9279             offset: -5 4;
9280           }
9281           color: 0 0 0 64;
9282           text {
9283             font: "Sans:style=Bold,Edje-Vera-Bold";
9284             size: 10;
9285             min: 1 1;
9286             max: 1 1;
9287             align: 1.0 0.0;
9288           }
9289         }
9290       }
9291       part { name: "base0";
9292         mouse_events:  0;
9293         description { state: "default" 0.0;
9294           rel1 {
9295             to_y: "elm.swallow.icon";
9296             relative: 0.0 1.0;
9297             offset: 0 0;
9298           }
9299           image {
9300             normal: "bubble_4.png";
9301             border: 11 36 18 9;
9302           }
9303           image.middle: SOLID;
9304           fill.smooth: 0;
9305         }
9306         description { state: "rtl" 0.0;
9307            inherit: "default" 0.0;
9308            image {
9309               normal: "bubble_3.png";
9310               border: 36 11 18 9;
9311            }
9312         }
9313       }
9314       part { name: "elm.swallow.content";
9315         type: SWALLOW;
9316         description { state: "default" 0.0;
9317           rel1 {
9318             to: "base0";
9319             offset: 9 16;
9320           }
9321           rel2 {
9322             to: "base0";
9323             offset: -10 -9;
9324           }
9325         }
9326       }
9327       part { name: "shine";
9328         mouse_events:  0;
9329         description { state:    "default" 0.0;
9330           rel1 {
9331             to: "base0";
9332             offset: 5 4;
9333           }
9334           rel2 {
9335             to: "base0";
9336             relative: 1.0 0.5;
9337             offset: -6 7;
9338           }
9339           image {
9340             normal: "bubble_shine4.png";
9341             border: 5 36 14 0;
9342           }
9343           fill.smooth: 0;
9344         }
9345         description { state: "rtl" 0.0;
9346            inherit: "default" 0.0;
9347            image {
9348               normal: "bubble_shine3.png";
9349               border: 36 5 14 0;
9350            }
9351         }
9352       }
9353     }
9354     programs {
9355       program {
9356         name: "icon_show";
9357         signal: "elm,state,icon,visible";
9358         source: "elm";
9359         action: STATE_SET "visible" 0.0;
9360         target: "elm.swallow.icon";
9361       }
9362       program {
9363         name: "icon_hide";
9364         signal: "elm,state,icon,hidden";
9365         source: "elm";
9366         action: STATE_SET "default" 0.0;
9367         target: "elm.swallow.icon";
9368       }
9369       program { name: "to_rtl";
9370          signal: "edje,state,rtl";
9371          source: "edje";
9372          action: STATE_SET "rtl" 0.0;
9373          target: "base0";
9374          target: "shine";
9375       }
9376       program { name: "to_ltr";
9377          signal: "edje,state,ltr";
9378          source: "edje";
9379          action: STATE_SET "default" 0.0;
9380          target: "base0";
9381          target: "shine";
9382       }
9383     }
9384   }
9385
9386   group { name: "elm/bubble/bottom_left/default";
9387     images {
9388       image: "bubble_1.png" COMP;
9389       image: "bubble_2.png" COMP;
9390       image: "bubble_shine.png" COMP;
9391     }
9392     parts {
9393       part { name: "event";
9394          type: RECT;
9395          description {
9396             state: "default" 0.0;
9397             color: 0 0 0 0;
9398          }
9399       }
9400       part { name: "elm.swallow.icon";
9401         type: SWALLOW;
9402         description { state: "default" 0.0;
9403           fixed: 1 1;
9404           visible: 0;
9405           align: 0.0 1.0;
9406           aspect: 1.0 1.0;
9407           aspect_preference: VERTICAL;
9408           rel1 {
9409             to_y: "elm.text";
9410             relative: 0.0 0.0;
9411             offset: 4 0;
9412           }
9413           rel2 {
9414             relative: 0.0 1.0;
9415             offset: 4 -5;
9416           }
9417         }
9418         description { state: "visible" 0.0;
9419           inherit: "default" 0.0;
9420           visible: 1;
9421         }
9422       }
9423       part { name: "elm.text";
9424         type: TEXT;
9425         mouse_events:   0;
9426         scale: 1;
9427         description { state: "default" 0.0;
9428           align: 0.0 1.0;
9429           fixed: 0 1;
9430           rel1 {
9431             to_x: "elm.swallow.icon";
9432             relative: 1.0 1.0;
9433             offset: 4 -5;
9434           }
9435           rel2 {
9436             to_x: "elm.info";
9437             relative: 0.0 1.0;
9438             offset: -5 -5;
9439           }
9440           color: 0 0 0 255;
9441           text {
9442             font: "Sans:style=Bold,Edje-Vera-Bold";
9443             size: 10;
9444             min: 0 1;
9445             max: 0 1;
9446             align: 0.0 1.0;
9447           }
9448         }
9449       }
9450       part { name: "elm.info";
9451         type: TEXT;
9452         mouse_events:   0;
9453         scale: 1;
9454         description { state: "default" 0.0;
9455           align: 1.0 1.0;
9456           fixed: 1 1;
9457           rel1 {
9458             relative: 1.0 1.0;
9459             offset: -5 -5;
9460           }
9461           rel2 {
9462             relative: 1.0 1.0;
9463             offset: -5 -5;
9464           }
9465           color: 0 0 0 64;
9466           text {
9467             font: "Sans:style=Bold,Edje-Vera-Bold";
9468             size: 10;
9469             min: 1 1;
9470             max: 1 1;
9471             align: 1.0 1.0;
9472           }
9473         }
9474       }
9475       part { name: "base0";
9476         mouse_events:  0;
9477         description { state: "default" 0.0;
9478           rel2 {
9479             to_y: "elm.swallow.icon";
9480             relative: 1.0 0.0;
9481             offset: -1 -1;
9482           }
9483           image {
9484             normal: "bubble_1.png";
9485             border: 36 11 10 19;
9486           }
9487           image.middle: SOLID;
9488           fill.smooth: 0;
9489         }
9490         description { state: "rtl" 0.0;
9491            inherit: "default" 0.0;
9492            image {
9493               normal: "bubble_2.png";
9494               border: 11 36 10 19;
9495            }
9496         }
9497       }
9498       part { name: "elm.swallow.content";
9499         type: SWALLOW;
9500         description { state: "default" 0.0;
9501           rel1 {
9502             to: "base0";
9503             offset: 9 8;
9504           }
9505           rel2 {
9506             to: "base0";
9507             offset: -10 -17;
9508           }
9509         }
9510       }
9511       part { name: "shine";
9512         mouse_events:  0;
9513         description { state:    "default" 0.0;
9514           rel1 {
9515             to: "base0";
9516             offset: 5 4;
9517           }
9518           rel2 {
9519             to: "base0";
9520             relative: 1.0 0.5;
9521             offset: -6 -16;
9522           }
9523           image {
9524             normal: "bubble_shine.png";
9525             border: 5 5 5 0;
9526           }
9527           fill.smooth: 0;
9528         }
9529         description { state: "rtl" 0.0;
9530            inherit: "default" 0.0;
9531            image {
9532               normal: "bubble_shine4.png";
9533               border: 5 36 14 0;
9534            }
9535         }
9536       }
9537     }
9538     programs {
9539       program {
9540         name: "icon_show";
9541         signal: "elm,state,icon,visible";
9542         source: "elm";
9543         action: STATE_SET "visible" 0.0;
9544         target: "elm.swallow.icon";
9545       }
9546       program {
9547         name: "icon_hide";
9548         signal: "elm,state,icon,hidden";
9549         source: "elm";
9550         action: STATE_SET "default" 0.0;
9551         target: "elm.swallow.icon";
9552       }
9553       program { name: "to_rtl";
9554          signal: "edje,state,rtl";
9555          source: "edje";
9556          action: STATE_SET "rtl" 0.0;
9557          target: "base0";
9558       }
9559       program { name: "to_ltr";
9560          signal: "edje,state,ltr";
9561          source: "edje";
9562          action: STATE_SET "default" 0.0;
9563          target: "base0";
9564       }
9565     }
9566   }
9567
9568   group { name: "elm/bubble/bottom_right/default";
9569     images {
9570       image: "bubble_1.png" COMP;
9571       image: "bubble_2.png" COMP;
9572       image: "bubble_shine.png" COMP;
9573     }
9574     parts {
9575       part { name: "event";
9576          type: RECT;
9577          description {
9578             state: "default" 0.0;
9579             color: 0 0 0 0;
9580          }
9581       }
9582       part { name: "elm.swallow.icon";
9583         type: SWALLOW;
9584         description { state: "default" 0.0;
9585           fixed: 1 1;
9586           visible: 0.0;
9587           align: 1.0 1.0;
9588           aspect: 1.0 1.0;
9589           aspect_preference: VERTICAL;
9590           rel1 {
9591             to_y: "elm.text";
9592             relative: 1.0 0.0;
9593             offset: -5 0;
9594           }
9595           rel2 {
9596             relative: 1.0 1.0;
9597             offset: -5 -5;
9598           }
9599         }
9600         description { state: "visible" 0.0;
9601           inherit: "default" 0.0;
9602           visible: 1;
9603         }
9604       }
9605       part { name: "elm.text";
9606         type: TEXT;
9607         mouse_events:   0;
9608         scale: 1;
9609         description { state: "default" 0.0;
9610           align: 0.0 1.0;
9611           fixed: 0 1;
9612           rel1 {
9613             relative: 0.0 1.0;
9614             offset: 4 -5;
9615           }
9616           rel2 {
9617             to_x: "elm.info";
9618             relative: 0.0 1.0;
9619             offset: -5 -5;
9620           }
9621           color: 0 0 0 255;
9622           text {
9623             font: "Sans:style=Bold,Edje-Vera-Bold";
9624             size: 10;
9625             min: 0 1;
9626             max: 0 1;
9627             align: 0.0 1.0;
9628           }
9629         }
9630       }
9631       part { name: "elm.info";
9632         type: TEXT;
9633         mouse_events:   0;
9634         scale: 1;
9635         description { state: "default" 0.0;
9636           align: 1.0 1.0;
9637           fixed: 1 1;
9638           rel1 {
9639             relative: 1.0 1.0;
9640             offset: -5 -5;
9641           }
9642           rel2 {
9643             to_x: "elm.swallow.icon";
9644             relative: 0.0 1.0;
9645             offset: -5 -5;
9646           }
9647           color: 0 0 0 64;
9648           text {
9649             font: "Sans:style=Bold,Edje-Vera-Bold";
9650             size: 10;
9651             min: 1 1;
9652             max: 1 1;
9653             align: 1.0 1.0;
9654           }
9655         }
9656       }
9657       part { name: "base0";
9658         mouse_events:  0;
9659         description { state: "default" 0.0;
9660           rel2 {
9661             to_y: "elm.swallow.icon";
9662             relative: 1.0 0.0;
9663             offset: -1 -1;
9664           }
9665           image {
9666             normal: "bubble_2.png";
9667             border: 11 36 10 19;
9668           }
9669           image.middle: SOLID;
9670           fill.smooth: 0;
9671         }
9672         description { state: "rtl" 0.0;
9673            inherit: "default" 0.0;
9674            image {
9675               normal: "bubble_1.png";
9676               border: 36 11 10 19;
9677            }
9678         }
9679       }
9680       part { name: "elm.swallow.content";
9681         type: SWALLOW;
9682         description { state: "default" 0.0;
9683           rel1 {
9684             to: "base0";
9685             offset: 9 8;
9686           }
9687           rel2 {
9688             to: "base0";
9689             offset: -10 -17;
9690           }
9691         }
9692       }
9693       part { name: "shine";
9694         mouse_events:  0;
9695         description { state:    "default" 0.0;
9696           rel1 {
9697             to: "base0";
9698             offset: 5 4;
9699           }
9700           rel2 {
9701             to: "base0";
9702             relative: 1.0 0.5;
9703             offset: -6 -16;
9704           }
9705           image {
9706             normal: "bubble_shine.png";
9707             border: 5 5 5 0;
9708           }
9709           fill.smooth: 0;
9710         }
9711         description { state: "rtl" 0.0;
9712            inherit: "default" 0.0;
9713            image {
9714               normal: "bubble_shine3.png";
9715               border: 36 5 14 0;
9716            }
9717         }
9718       }
9719     }
9720     programs {
9721       program {
9722         name: "icon_show";
9723         signal: "elm,state,icon,visible";
9724         source: "elm";
9725         action: STATE_SET "visible" 0.0;
9726         target: "elm.swallow.icon";
9727       }
9728       program {
9729         name: "icon_hide";
9730         signal: "elm,state,icon,hidden";
9731         source: "elm";
9732         action: STATE_SET "default" 0.0;
9733         target: "elm.swallow.icon";
9734       }
9735       program { name: "to_rtl";
9736          signal: "edje,state,rtl";
9737          source: "edje";
9738          action: STATE_SET "rtl" 0.0;
9739          target: "base0";
9740       }
9741       program { name: "to_ltr";
9742          signal: "edje,state,ltr";
9743          source: "edje";
9744          action: STATE_SET "default" 0.0;
9745          target: "base0";
9746       }
9747     }
9748   }
9749
9750 ///////////////////////////////////////////////////////////////////////////////
9751    group { name: "elm/photo/base/default";
9752       images {
9753          image: "frame_1.png" COMP;
9754          image: "frame_2.png" COMP;
9755          image: "dia_grad.png" COMP;
9756          image: "head.png" COMP;
9757       }
9758       parts {
9759          part { name: "base0";
9760             mouse_events:  0;
9761             description { state: "default" 0.0;
9762                image.normal: "dia_grad.png";
9763                rel1.to: "over";
9764                rel2.to: "over";
9765                fill {
9766                   smooth: 0;
9767                   size {
9768                      relative: 0.0 1.0;
9769                      offset: 64 0;
9770                   }
9771                }
9772             }
9773          }
9774          part { name: "base";
9775             mouse_events:  0;
9776             description { state:    "default" 0.0;
9777                image {
9778                   normal: "frame_2.png";
9779                   border: 5 5 32 26;
9780                   middle: 0;
9781                }
9782                fill.smooth : 0;
9783             }
9784          }
9785          part { name: "head";
9786             mouse_events:  0;
9787             description { state:    "default" 0.0;
9788                rel1.offset: 4 4;
9789                rel2.offset: -5 -5;
9790                aspect: 1.0 1.0;
9791                aspect_preference: BOTH;
9792                image.normal: "head.png";
9793             }
9794          }
9795          part { name: "clip";
9796             mouse_events:  0;
9797             type: RECT;
9798             description { state:    "default" 0.0;
9799                rel1.offset: 4 4;
9800                rel2.offset: -5 -5;
9801                color: 255 255 255 255;
9802             }
9803          }
9804          part { name: "elm.swallow.content";
9805             type: SWALLOW;
9806             clip_to: "clip";
9807             description { state: "default" 0.0;
9808                rel1.offset: 4 4;
9809                rel2.offset: -5 -5;
9810             }
9811          }
9812          part { name: "over";
9813             mouse_events:  0;
9814             description { state:    "default" 0.0;
9815                rel1.offset: 4 4;
9816                rel2.offset: -5 -5;
9817                image {
9818                   normal: "frame_1.png";
9819                   border: 2 2 28 22;
9820                   middle: 0;
9821                }
9822                fill.smooth: 0;
9823             }
9824          }
9825      }
9826    }
9827
9828    group { name: "elm/photo/base/shadow";
9829               images {
9830                         image: "shadow.png" COMP;
9831                         image: "black.png" COMP;
9832               }
9833               script {
9834               public message(Msg_Type:type, id, ...) {
9835                 if( (type==MSG_INT_SET) && (id==0) )
9836                 {
9837                     new w;
9838                     new h;
9839
9840                     custom_state(PART:"size", "default", 0.0);
9841
9842                     w = getarg(2);
9843                     h = getarg(3);
9844                     set_state_val(PART:"size", STATE_REL1_OFFSET, - w/2, - h/2);
9845                     set_state_val(PART:"size", STATE_REL2_OFFSET, w/2 + 1, h/2 + 1);
9846                     set_state(PART:"size", "custom", 0.0);
9847                 }
9848             }
9849             }
9850               parts {
9851               part { name: "size";
9852                     type: SWALLOW;
9853                     description { state: "default" 0.0;
9854                             rel1.relative: 0.5 0.5;
9855                             rel2.relative: 0.5 0.5;
9856                     }
9857                  }
9858               part {
9859                 name: "shadow";
9860                 type: IMAGE;
9861                 repeat_events: 1;
9862                 description {
9863                     state: "default" 0.0;
9864                     rel1.to: "size";
9865                     rel2.to: "size";
9866                     rel1.relative: -0.06 -0.06;
9867                     rel2.relative: 1.07 1.07;
9868                     image.normal: "shadow.png";
9869                 }
9870             }
9871   
9872
9873                  part { name: "elm.swallow.content";
9874                     type: SWALLOW;
9875                     description { state: "default" 0.0;
9876                     rel1.offset: 3 3;
9877                     rel2.offset: -3 -3;
9878                             fixed: 1 1;
9879                     }
9880                  }
9881      
9882                  part {
9883                 name: "border";
9884                 type: IMAGE;
9885                 repeat_events: 1;
9886                 description {
9887                     state: "default" 0.0;
9888                     visible: 1;
9889                     color: 0 0 0 255;
9890                     rel1.to: "size";
9891                     rel2.to: "size";
9892                     image.normal: "black.png";
9893                     image.border: 1 1 1 1;
9894                     image.middle: 0;
9895                 }
9896             }
9897                  }
9898    }
9899
9900 ///////////////////////////////////////////////////////////////////////////////
9901    group { name: "elm/thumb/base/default";
9902       images {
9903          image: "frame_1.png" COMP;
9904          image: "frame_2.png" COMP;
9905          image: "dia_grad.png" COMP;
9906          image: "busy-1.png" COMP;
9907          image: "busy-2.png" COMP;
9908          image: "busy-3.png" COMP;
9909          image: "busy-4.png" COMP;
9910          image: "busy-5.png" COMP;
9911          image: "busy-6.png" COMP;
9912          image: "busy-7.png" COMP;
9913          image: "busy-8.png" COMP;
9914          image: "busy-9.png" COMP;
9915       }
9916       parts {
9917          part { name: "base0";
9918             mouse_events:  0;
9919             description { state:        "default" 0.0;
9920                image.normal: "dia_grad.png";
9921                rel1.to: "over";
9922                rel2.to: "over";
9923                fill {
9924                   smooth: 0;
9925                   size {
9926                      relative: 0.0 1.0;
9927                      offset: 64 0;
9928                   }
9929                }
9930             }
9931          }
9932          part { name: "base";
9933             mouse_events:  0;
9934             description { state:        "default" 0.0;
9935                image {
9936                   normal: "frame_2.png";
9937                   border: 5 5 32 26;
9938                   middle: 0;
9939                }
9940                fill.smooth : 0;
9941             }
9942          }
9943          part { name: "clip";
9944             mouse_events:  0;
9945             type: RECT;
9946             description { state:        "default" 0.0;
9947                rel1.offset: 4 4;
9948                rel2.offset: -5 -5;
9949                color: 255 255 255 255;
9950             }
9951          }
9952          part { name: "elm.swallow.content";
9953             type: SWALLOW;
9954             clip_to: "clip";
9955             description { state:        "default" 0.0;
9956                rel1.offset: 4 4;
9957                rel2.offset: -5 -5;
9958             }
9959          }
9960          part { name: "progress";
9961             mouse_events: 0;
9962
9963             clip_to: "clip";
9964             description { state:        "default" 0.0;
9965                min: 32 32;
9966                max: 32 32;
9967                visible: 0;
9968                aspect: 1.0 1.0;
9969                aspect_preference: BOTH;
9970             }
9971             description { state:        "pulse" 0.0;
9972                inherit: "default" 0.0;
9973                visible: 1;
9974                image {
9975                   normal: "busy-9.png";
9976                   tween:  "busy-1.png";
9977                   tween:  "busy-2.png";
9978                   tween:  "busy-3.png";
9979                   tween:  "busy-4.png";
9980                   tween:  "busy-5.png";
9981                   tween:  "busy-6.png";
9982                   tween:  "busy-7.png";
9983                   tween:  "busy-8.png";
9984                   border: 7 7 7 7;
9985                }
9986             }
9987          }
9988          part { name: "over";
9989             mouse_events:  0;
9990             description { state:        "default" 0.0;
9991                rel1.offset: 4 4;
9992                rel2.offset: -5 -5;
9993                image {
9994                   normal: "frame_1.png";
9995                   border: 2 2 28 22;
9996                   middle: 0;
9997                }
9998                fill.smooth: 0;
9999             }
10000          }
10001          programs {
10002             program { name: "start_pulse";
10003                signal: "elm,state,pulse,start";
10004                source: "elm";
10005                action: STATE_SET "pulse" 0.0;
10006                target: "progress";
10007                transition: LINEAR 0.5;
10008                after: "start_pulse";
10009             }
10010             program { name: "stop_pulse";
10011                signal: "elm,state,pulse,stop";
10012                source: "elm";
10013                action: STATE_SET "default" 0.0;
10014                target: "progress";
10015             }
10016          }
10017       }
10018    }
10019
10020    group { name: "elm/thumb/base/noframe";
10021       images {
10022          image: "busy-1.png" COMP;
10023          image: "busy-2.png" COMP;
10024          image: "busy-3.png" COMP;
10025          image: "busy-4.png" COMP;
10026          image: "busy-5.png" COMP;
10027          image: "busy-6.png" COMP;
10028          image: "busy-7.png" COMP;
10029          image: "busy-8.png" COMP;
10030          image: "busy-9.png" COMP;
10031       }
10032       parts {
10033          part { name: "elm.swallow.content";
10034             type: SWALLOW;
10035             description { state: "default" 0.0;
10036                rel1.offset: 4 4;
10037                rel2.offset: -5 -5;
10038             }
10039          }
10040          part { name: "progress";
10041             mouse_events: 0;
10042             description { state:        "default" 0.0;
10043                min: 32 32;
10044                max: 32 32;
10045                visible: 0;
10046                aspect: 1.0 1.0;
10047                aspect_preference: BOTH;
10048             }
10049             description { state:        "pulse" 0.0;
10050                inherit: "default" 0.0;
10051                visible: 1;
10052                image {
10053                   normal: "busy-9.png";
10054                   tween:  "busy-1.png";
10055                   tween:  "busy-2.png";
10056                   tween:  "busy-3.png";
10057                   tween:  "busy-4.png";
10058                   tween:  "busy-5.png";
10059                   tween:  "busy-6.png";
10060                   tween:  "busy-7.png";
10061                   tween:  "busy-8.png";
10062                   border: 7 7 7 7;
10063                }
10064             }
10065          }
10066          programs {
10067             program { name: "start_pulse";
10068                signal: "elm,state,pulse,start";
10069                source: "elm";
10070                action: STATE_SET "pulse" 0.0;
10071                target: "progress";
10072                transition: LINEAR 0.5;
10073                after: "start_pulse";
10074             }
10075             program { name: "stop_pulse";
10076                signal: "elm,state,pulse,stop";
10077                source: "elm";
10078                action: STATE_SET "default" 0.0;
10079                target: "progress";
10080             }
10081          }
10082       }
10083    }
10084
10085
10086 ///////////////////////////////////////////////////////////////////////////////
10087    group { name: "elm/icon/home/default"; alias: "elm/icon/toolbar/home/default"; min: 32 32;
10088       images.image: "icon_home.png" COMP; parts { part { name: "base";
10089          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10090             image.normal: "icon_home.png"; } } } }
10091    group { name: "elm/icon/close/default"; alias: "elm/icon/toolbar/close/default"; min: 32 32;
10092       images.image: "icon_close.png" COMP; parts { part { name: "base";
10093          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10094             image.normal: "icon_close.png"; } } } }
10095    group { name: "elm/icon/apps/default"; alias: "elm/icon/toolbar/apps/default"; min: 32 32;
10096       images.image: "icon_apps.png" COMP; parts { part { name: "base";
10097          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10098             image.normal: "icon_apps.png"; } } } }
10099    group { name: "elm/icon/arrow_up/default"; alias: "elm/icon/toolbar/arrow_up/default"; min: 32 32;
10100       images.image: "icon_arrow_up.png" COMP; parts { part { name: "base";
10101          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10102             image.normal: "icon_arrow_up.png"; } } } }
10103    group { name: "elm/icon/arrow_down/default";
10104            alias: "elm/icon/toolbar/arrow_down/default";
10105            alias: "elm/icon/toolbar/more_menu/default"; min: 32 32;
10106       images.image: "icon_arrow_down.png" COMP; parts { part { name: "base";
10107          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10108             image.normal: "icon_arrow_down.png"; } } } }
10109    group { name: "elm/icon/arrow_left/default"; alias: "elm/icon/toolbar/arrow_left/default"; min: 32 32;
10110       images.image: "icon_arrow_left.png" COMP; parts { part { name: "base";
10111          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10112             image.normal: "icon_arrow_left.png"; } } } }
10113    group { name: "elm/icon/arrow_right/default"; alias: "elm/icon/toolbar/arrow_right/default"; min: 32 32;
10114       images.image: "icon_arrow_right.png" COMP; parts { part { name: "base";
10115          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10116             image.normal: "icon_arrow_right.png"; } } } }
10117    group { name: "elm/icon/chat/default"; alias: "elm/icon/toolbar/chat/default"; min: 32 32;
10118       images.image: "icon_chat.png" COMP; parts { part { name: "base";
10119          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10120             image.normal: "icon_chat.png"; } } } }
10121    group { name: "elm/icon/clock/default"; alias: "elm/icon/toolbar/clock/default"; min: 32 32;
10122       images.image: "icon_clock.png" COMP; parts { part { name: "base";
10123          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10124             image.normal: "icon_clock.png"; } } } }
10125    group { name: "elm/icon/delete/default"; alias: "elm/icon/toolbar/delete/default"; min: 32 32;
10126       images.image: "icon_delete.png" COMP; parts { part { name: "base";
10127          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10128             image.normal: "icon_delete.png"; } } } }
10129    group { name: "elm/icon/edit/default"; alias: "elm/icon/toolbar/edit/default"; min: 32 32;
10130       images.image: "icon_edit.png" COMP; parts { part { name: "base";
10131          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10132             image.normal: "icon_edit.png"; } } } }
10133    group { name: "elm/icon/refresh/default"; alias: "elm/icon/toolbar/refresh/default"; min: 32 32;
10134       images.image: "icon_refresh.png" COMP; parts { part { name: "base";
10135          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10136             image.normal: "icon_refresh.png"; } } } }
10137    group { name: "elm/icon/folder/default"; alias: "elm/icon/toolbar/folder/default"; min: 32 32;
10138       images.image: "icon_folder.png" COMP; parts { part { name: "base";
10139          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10140             image.normal: "icon_folder.png"; } } } }
10141    group { name: "elm/icon/file/default"; alias: "elm/icon/toolbar/file/default"; min: 32 32;
10142       images.image: "icon_file.png" COMP; parts { part { name: "base";
10143          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10144             image.normal: "icon_file.png"; } } } }
10145 ///////////////////////////////////////////////////////////////////////////////
10146    group { name: "elm/icon/menu/home/default"; min: 24 24; max: 24 24;
10147       images.image: "icon_home.png" COMP; parts { part { name: "base";
10148          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10149             image.normal: "icon_home.png"; } } } }
10150    group { name: "elm/icon/menu/close/default"; min: 24 24; max: 24 24;
10151       images.image: "icon_close.png" COMP; parts { part { name: "base";
10152          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10153             image.normal: "icon_close.png"; } } } }
10154    group { name: "elm/icon/menu/apps/default"; min: 24 24; max: 24 24;
10155       images.image: "icon_apps.png" COMP; parts { part { name: "base";
10156          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10157             image.normal: "icon_apps.png"; } } } }
10158    group { name: "elm/icon/menu/arrow_up/default"; min: 24 24; max: 24 24;
10159       images.image: "icon_arrow_up.png" COMP; parts { part { name: "base";
10160          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10161             image.normal: "icon_arrow_up.png"; } } } }
10162    group { name: "elm/icon/menu/arrow_down/default"; min: 24 24; max: 24 24;
10163       images.image: "icon_arrow_down.png" COMP; parts { part { name: "base";
10164          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10165             image.normal: "icon_arrow_down.png"; } } } }
10166    group { name: "elm/icon/menu/arrow_left/default"; min: 24 24; max: 24 24;
10167       images.image: "icon_arrow_left.png" COMP; parts { part { name: "base";
10168          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10169             image.normal: "icon_arrow_left.png"; } } } }
10170    group { name: "elm/icon/menu/arrow_right/default"; min: 24 24; max: 24 24;
10171       images.image: "icon_arrow_right.png" COMP; parts { part { name: "base";
10172          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10173             image.normal: "icon_arrow_right.png"; } } } }
10174    group { name: "elm/icon/menu/chat/default"; min: 24 24; max: 24 24;
10175       images.image: "icon_chat.png" COMP; parts { part { name: "base";
10176          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10177             image.normal: "icon_chat.png"; } } } }
10178    group { name: "elm/icon/menu/clock/default"; min: 24 24; max: 24 24;
10179       images.image: "icon_clock.png" COMP; parts { part { name: "base";
10180          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10181             image.normal: "icon_clock.png"; } } } }
10182    group { name: "elm/icon/menu/delete/default"; min: 24 24; max: 24 24;
10183       images.image: "icon_delete.png" COMP; parts { part { name: "base";
10184          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10185             image.normal: "icon_delete.png"; } } } }
10186    group { name: "elm/icon/menu/edit/default"; min: 24 24; max: 24 24;
10187       images.image: "icon_edit.png" COMP; parts { part { name: "base";
10188          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10189             image.normal: "icon_edit.png"; } } } }
10190    group { name: "elm/icon/menu/refresh/default"; min: 24 24; max: 24 24;
10191       images.image: "icon_refresh.png" COMP; parts { part { name: "base";
10192          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10193             image.normal: "icon_refresh.png"; } } } }
10194    group { name: "elm/icon/menu/folder/default"; min: 24 24; max: 24 24;
10195       images.image: "icon_folder.png" COMP; parts { part { name: "base";
10196          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10197             image.normal: "icon_folder.png"; } } } }
10198    group { name: "elm/icon/menu/file/default"; min: 24 24; max: 24 24;
10199       images.image: "icon_file.png" COMP; parts { part { name: "base";
10200          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10201             image.normal: "icon_file.png"; } } } }
10202
10203 ///////////////////////////////////////////////////////////////////////////////
10204    group { name: "elm/toolbar/base/default";
10205       images {
10206          image: "bt_dis_base.png" COMP;
10207          image: "bt_dis_hilight.png" COMP;
10208          image: "bt_dis_shine.png" COMP;
10209          image: "icon_left_arrow.png" COMP;
10210          image: "icon_right_arrow.png" COMP;
10211       }
10212       parts {
10213          part { name: "base";
10214             mouse_events: 1;
10215             description { state: "default" 0.0;
10216                rel1 {
10217                   relative: 0.0 0.0;
10218                   offset: 2 2;
10219                }
10220                rel2.offset: -3 -3;
10221                image {
10222                   normal: "bt_dis_base.png";
10223                   border: 4 4 4 4;
10224                }
10225                image.middle: SOLID;
10226             }
10227          }
10228          part { name: "clipper";
10229             type: RECT;
10230             mouse_events: 0;
10231             description {
10232                state: "default" 0.0;
10233                rel1 {
10234                   to: "base";
10235                   offset: 2 2;
10236                }
10237                rel2 {
10238                   to: "base";
10239                   offset: -3 -3;
10240                }
10241             }
10242          }
10243          part { name: "elm.swallow.content";
10244             clip_to: "clipper";
10245             type: SWALLOW;
10246             description {
10247                state: "default" 0.0;
10248                rel1.to: "clipper";
10249                rel2.to: "clipper";
10250             }
10251          }
10252          part { name: "over2";
10253             mouse_events: 0;
10254             description { state: "default" 0.0;
10255                rel1.to: "base";
10256                rel2.to: "base";
10257                image {
10258                   normal: "bt_dis_shine.png";
10259                   border: 4 4 4 4;
10260                }
10261             }
10262          }
10263          part { name: "over1";
10264             mouse_events: 0;
10265             description { state: "default" 0.0;
10266                rel1.to: "base";
10267                rel2.to: "base";
10268                rel2.relative: 1.0 0.5;
10269                image {
10270                   normal: "bt_dis_hilight.png";
10271                   border: 4 4 4 0;
10272                }
10273                color: 255 255 255 128;
10274             }
10275          }
10276          part { name: "left_arrow";
10277             mouse_events: 0;
10278             description { state: "default" 0.0;
10279                image.normal: "icon_left_arrow.png";
10280                aspect: 1.0 1.0;
10281                aspect_preference: VERTICAL;
10282                align: 0.0 0.5;
10283                min: 32 32;
10284                max: 32 32;
10285             }
10286             description { state: "hidden" 0.0;
10287                inherit: "default" 0.0;
10288                visible: 0;
10289                color: 255 255 255 0;
10290             }
10291          }
10292          part { name: "right_arrow";
10293             mouse_events: 0;
10294             description { state: "default" 0.0;
10295                image.normal: "icon_right_arrow.png";
10296                aspect: 1.0 1.0;
10297                aspect_preference: VERTICAL;
10298                align: 1.0 0.5;
10299                min: 32 32;
10300                max: 32 32;
10301             }
10302             description { state: "hidden" 0.0;
10303                inherit: "default" 0.0;
10304                visible: 0;
10305                color: 255 255 255 0;
10306             }
10307          }
10308          part { name: "event";
10309             type: RECT;
10310             mouse_events: 1;
10311             repeat_events: 1;
10312             description { state: "default" 0.0;
10313                color: 0 0 0 0;
10314             }
10315          }
10316       }
10317       programs {
10318          program { name: "sb_hbar_show";
10319             signal: "elm,action,show,hbar";
10320             source: "elm";
10321             action:  STATE_SET "default" 0.0;
10322             transition: LINEAR 0.5;
10323             target: "left_arrow";
10324             target: "right_arrow";
10325          }
10326          program { name: "sb_hbar_hide";
10327             signal: "elm,action,hide,hbar";
10328             source: "elm";
10329             action:  STATE_SET "hidden" 0.0;
10330             target: "left_arrow";
10331             target: "right_arrow";
10332             transition: LINEAR 0.5;
10333          }
10334       }
10335    }
10336
10337    group { name: "elm/toolbar/item/default";
10338        images {
10339            image: "toolbar_sel.png" COMP;
10340        }
10341        data.item: "transition_animation_on" "1";
10342        parts {
10343            part { name: "label2";
10344                type: TEXT;
10345                mouse_events:  0;
10346                scale: 1;
10347                clip_to: "elm.text.clipper";
10348                description { state: "default" 0.0;
10349                    align: 0.5 1.0;
10350                    fixed: 0 1;
10351                    rel1.to: "elm.text";
10352                    rel2.to: "elm.text";
10353                    color: 0 0 0 255;
10354                    text {
10355                        font: "Sans";
10356                        text_source: "elm.text";
10357                        size: 10;
10358                        min: 1 1;
10359                        align: 0.5 0.5;
10360                        text_class: "toolbar_item";
10361                    }
10362                }
10363                description { state: "selected" 0.0;
10364                    inherit: "default" 0.0;
10365                    visible: 0;
10366                }
10367                description { state: "disabled" 0.0;
10368                    inherit: "default" 0.0;
10369                    color: 0 0 0 128;
10370                    color3: 0 0 0 0;
10371                }
10372                description { state: "disabled_visible" 0.0;
10373                    inherit: "default" 0.0;
10374                    color: 0 0 0 128;
10375                    color3: 0 0 0 0;
10376                    visible: 1;
10377                    text.min: 1 1;
10378                }
10379            }
10380            part { name: "label2_new";
10381                type: TEXT;
10382                mouse_events:  0;
10383                scale: 1;
10384                clip_to: "elm.text_new.clipper";
10385                description { state: "default" 0.0;
10386                    align: 0.5 1.0;
10387                    fixed: 0 1;
10388                    rel1.to: "elm.text_new";
10389                    rel2.to: "elm.text_new";
10390                    color: 0 0 0 255;
10391                    text {
10392                        font: "Sans";
10393                        text_source: "elm.text_new";
10394                        size: 10;
10395                        min: 1 1;
10396                        align: 0.5 0.5;
10397                        text_class: "toolbar_item";
10398                    }
10399                }
10400                description { state: "selected" 0.0;
10401                    inherit: "default" 0.0;
10402                    visible: 0;
10403                }
10404                description { state: "disabled" 0.0;
10405                    inherit: "default" 0.0;
10406                    color: 0 0 0 128;
10407                    color3: 0 0 0 0;
10408                }
10409                description { state: "disabled_visible" 0.0;
10410                    inherit: "default" 0.0;
10411                    color: 0 0 0 128;
10412                    color3: 0 0 0 0;
10413                    visible: 1;
10414                    text.min: 1 1;
10415                }
10416            }
10417            part { name: "bg";
10418                mouse_events: 0;
10419                description { state: "default" 0.0;
10420                    visible: 0;
10421                    color: 255 255 255 0;
10422                    image {
10423                        normal: "toolbar_sel.png";
10424                        border: 3 3 0 0;
10425                    }
10426                    image.middle: SOLID;
10427                    fill.smooth: 0;
10428                }
10429                description { state: "selected" 0.0;
10430                    inherit: "default" 0.0;
10431                    visible: 1;
10432                    color: 255 255 255 255;
10433                }
10434                description { state: "disabled" 0.0;
10435                    inherit: "default" 0.0;
10436                    visible: 0;
10437                    color: 255 255 255 0;
10438                }
10439            }
10440            part { name: "elm.swallow.icon";
10441                type: SWALLOW;
10442                clip_to: "elm.icon.clipper";
10443                description { state: "default" 0.0;
10444                    align: 0.5 0.5;
10445                    fixed: 0 0;
10446                    rel1 {
10447                        relative: 0.0 0.0;
10448                        offset: 2 2;
10449                    }
10450                    rel2 {
10451                        to_y: "elm.text";
10452                        relative: 1.0 0.0;
10453                        offset: -3 -1;
10454                    }
10455                    color: 0 0 0 0;
10456                }
10457            }
10458            part { name: "elm.swallow.icon_new";
10459                type: SWALLOW;
10460                clip_to: "elm.icon_new.clipper";
10461                description { state: "default" 0.0;
10462                    align: 0.5 0.5;
10463                    fixed: 0 0;
10464                    rel1 {
10465                        relative: 0.0 0.0;
10466                        offset: 2 2;
10467                    }
10468                    rel2 {
10469                        to_y: "elm.text_new";
10470                        relative: 1.0 0.0;
10471                        offset: -3 -1;
10472                    }
10473                    color: 0 0 0 0;
10474                }
10475            }
10476            part { name: "elm.text";
10477                type: TEXT;
10478                effect: SOFT_SHADOW;
10479                mouse_events:  0;
10480                scale: 1;
10481                clip_to: "elm.text.clipper";
10482                description { state: "default" 0.0;
10483                    align: 0.5 1.0;
10484                    fixed: 0 1;
10485                    rel1 {
10486                        relative: 0.0 1.0;
10487                        offset:   0 -1;
10488                    }
10489                    rel2 {
10490                        relative: 1.0 1.0;
10491                        offset:   -1 -1;
10492                    }
10493                    visible: 0;
10494                    color: 224 224 224 255;
10495                    color3: 0 0 0 32;
10496                    text {
10497                        font: "Sans:style=Bold";
10498                        size: 10;
10499                        min: 1 1;
10500                        align: 0.5 0.5;
10501                        text_class: "toolbar_item";
10502                    }
10503                }
10504                description { state: "selected" 0.0;
10505                    inherit: "default" 0.0;
10506                    visible: 1;
10507                }
10508                description { state: "visible" 0.0;
10509                    inherit: "default" 0.0;
10510                    visible: 1;
10511                    text.min: 1 1;
10512                }
10513                description { state: "disabled" 0.0;
10514                    inherit: "default" 0.0;
10515                    color: 0 0 0 128;
10516                    color3: 0 0 0 0;
10517                }
10518                description { state: "disabled_visible" 0.0;
10519                    inherit: "default" 0.0;
10520                    color: 0 0 0 128;
10521                    color3: 0 0 0 0;
10522                    visible: 1;
10523                    text.min: 1 1;
10524                }
10525            }
10526            part { name: "elm.text_new";
10527                type: TEXT;
10528                effect: SOFT_SHADOW;
10529                mouse_events:  0;
10530                clip_to: "elm.text_new.clipper";
10531                scale: 1;
10532                description { state: "default" 0.0;
10533                    align: 0.5 1.0;
10534                    fixed: 0 1;
10535                    rel1 {
10536                        relative: 0.0 1.0;
10537                        offset:   0 -1;
10538                    }
10539                    rel2 {
10540                        relative: 1.0 1.0;
10541                        offset:   -1 -1;
10542                    }
10543                    visible: 0;
10544                    color: 224 224 224 255;
10545                    color3: 0 0 0 32;
10546                    text {
10547                        font: "Sans:style=Bold";
10548                        size: 10;
10549                        min: 1 1;
10550                        align: 0.5 0.5;
10551                        text_class: "toolbar_item";
10552                    }
10553                }
10554                description { state: "selected" 0.0;
10555                    inherit: "default" 0.0;
10556                    visible: 1;
10557                }
10558                description { state: "visible" 0.0;
10559                    inherit: "default" 0.0;
10560                    visible: 1;
10561                    text.min: 1 1;
10562                }
10563                description { state: "disabled" 0.0;
10564                    inherit: "default" 0.0;
10565                    color: 0 0 0 128;
10566                    color3: 0 0 0 0;
10567                }
10568                description { state: "disabled_visible" 0.0;
10569                    inherit: "default" 0.0;
10570                    color: 0 0 0 128;
10571                    color3: 0 0 0 0;
10572                    visible: 1;
10573                    text.min: 1 1;
10574                }
10575            }
10576            part { name: "elm.text.clipper";
10577                type: RECT;
10578                description { state: "default" 0.0;
10579                    color: 255 255 255 255;
10580                }
10581                description { state: "animation" 0.0;
10582                    color: 255 255 255 0;
10583                }
10584            }
10585            part { name: "elm.text_new.clipper";
10586                type: RECT;
10587                description { state: "default" 0.0;
10588                    color: 255 255 255 0;
10589                }
10590                description { state: "animation" 0.0;
10591                    color: 255 255 255 255;
10592                }
10593            }
10594            part { name: "elm.icon.clipper";
10595                type: RECT;
10596                description { state: "default" 0.0;
10597                    color: 255 255 255 255;
10598                }
10599                description { state: "animation" 0.0;
10600                    color: 255 255 255 0;
10601                }
10602            }
10603            part { name: "elm.icon_new.clipper";
10604                type: RECT;
10605                description { state: "default" 0.0;
10606                    color: 255 255 255 0;
10607                }
10608                description { state: "animation" 0.0;
10609                    color: 255 255 255 255;
10610                }
10611            }
10612            part { name: "event";
10613                type: RECT;
10614                mouse_events: 1;
10615                ignore_flags: ON_HOLD;
10616                description { state: "default" 0.0;
10617                    color: 0 0 0 0;
10618                }
10619            }
10620        }
10621        programs {
10622            program { name: "go_active";
10623                signal:  "elm,state,selected";
10624                source:  "elm";
10625                action:  STATE_SET "selected" 0.0;
10626                target:  "bg";
10627                target:  "elm.text";
10628                target:  "label2";
10629                target:  "elm.text_new";
10630                target:  "label2_new";
10631                transition: LINEAR 0.2;
10632            }
10633            program { name: "go_passive";
10634                signal:  "elm,state,unselected";
10635                source:  "elm";
10636                action:  STATE_SET "default" 0.0;
10637                target:  "bg";
10638                target:  "elm.text";
10639                target:  "label2";
10640                target:  "elm.text_new";
10641                target:  "label2_new";
10642                transition: LINEAR 0.1;
10643            }
10644            program { name: "go";
10645                signal:  "mouse,up,1";
10646                source:  "event";
10647                action:  SIGNAL_EMIT "elm,action,click" "elm";
10648            }
10649            program { name: "mouse,in";
10650               signal:  "mouse,in";
10651               source:  "event";
10652               action:  SIGNAL_EMIT "elm,mouse,in" "elm";
10653            }
10654            program { name: "mouse,out";
10655               signal:  "mouse,out";
10656               source:  "event";
10657               action:  SIGNAL_EMIT "elm,mouse,out" "elm";
10658            }
10659            program { name: "disable";
10660                signal: "elm,state,disabled";
10661                source: "elm";
10662                action: STATE_SET "disabled" 0.0;
10663                target: "label2";
10664                target: "label2_new";
10665                target: "bg";
10666                after: "disable_text";
10667            }
10668            program { name: "disable_text";
10669                script {
10670                    new st[31];
10671                    new Float:vl;
10672                    get_state(PART:"elm.text", st, 30, vl);
10673                    if (!strcmp(st, "visible"))
10674                    {
10675                       set_state(PART:"elm.text", "disabled_visible", 0.0);
10676                       set_state(PART:"elm.text_new", "disabled_visible", 0.0);
10677                    }
10678                    else
10679                    {
10680                       set_state(PART:"elm.text", "disabled", 0.0);
10681                       set_state(PART:"elm.text_new", "disabled", 0.0);
10682                    }
10683                }
10684            }
10685            program { name: "enable";
10686                signal: "elm,state,enabled";
10687                source: "elm";
10688                action: STATE_SET "default" 0.0;
10689                target: "label2";
10690                target: "label2_new";
10691                target: "bg";
10692                after: "enable_text";
10693            }
10694            program { name: "enable_text";
10695                script {
10696                    new st[31];
10697                    new Float:vl;
10698                    get_state(PART:"elm.text", st, 30, vl);
10699                    if (!strcmp(st, "disabled_visible"))
10700                    {
10701                       set_state(PART:"elm.text", "visible", 0.0);
10702                       set_state(PART:"elm.text_new", "visible", 0.0);
10703                    }
10704                    else
10705                    {
10706                       set_state(PART:"elm.text", "default", 0.0);
10707                       set_state(PART:"elm.text_new", "default", 0.0);
10708                    }
10709                }
10710            }
10711            program { name: "label_set,animation,forward";
10712               signal: "elm,state,label_set,forward";
10713               source: "elm";
10714               after: "label_set,animation";
10715            }
10716            program { name: "label_set,animation,backward";
10717               signal: "elm,state,label_set,backward";
10718               source: "elm";
10719               after: "label_set,animation";
10720            }
10721            program { name: "label_set,animation";
10722               signal: "elm,state,label_set";
10723               source: "elm";
10724               action: STATE_SET "animation" 0.0;
10725               target: "elm.text.clipper";
10726               target: "elm.text_new.clipper";
10727               transition: LINEAR 0.2;
10728               after: "label_set,animation,done";
10729            }
10730            program { name: "label_set,animation,done";
10731               action: SIGNAL_EMIT "elm,state,label_set,done" "elm";
10732            }
10733            program { name: "label,reset";
10734               signal: "elm,state,label,reset";
10735               source: "elm";
10736               action: STATE_SET "default" 0.0;
10737               target: "elm.text.clipper";
10738               target: "elm.text_new.clipper";
10739            }
10740            program { name: "icon_set,animation,forward";
10741               signal: "elm,state,icon_set,forward";
10742               source: "elm";
10743               after: "icon_set,animation";
10744            }
10745            program { name: "icon_set,animation,backward";
10746               signal: "elm,state,icon_set,backward";
10747               source: "elm";
10748               after: "icon_set,animation";
10749            }
10750            program { name: "icon_set,animation";
10751               signal: "elm,state,icon_set";
10752               source: "elm";
10753               action: STATE_SET "animation" 0.0;
10754               target: "elm.icon.clipper";
10755               target: "elm.icon_new.clipper";
10756               transition: LINEAR 0.2;
10757               after: "icon_set,animation,done";
10758            }
10759            program { name: "icon_set,animation,done";
10760               action: SIGNAL_EMIT "elm,state,icon_set,done" "elm";
10761            }
10762            program { name: "icon,reset";
10763               signal: "elm,state,icon,reset";
10764               source: "elm";
10765               action: STATE_SET "default" 0.0;
10766               target: "elm.icon.clipper";
10767               target: "elm.icon_new.clipper";
10768            }
10769        }
10770    }
10771
10772    group { name: "elm/toolbar/separator/default";
10773       images {
10774          image: "toolbar_separator_v.png" COMP;
10775       }
10776       parts {
10777          part { name: "separator"; // separator group
10778             description { state: "default" 0.0;
10779                min: 2 2;
10780                max: 2 9999;
10781                rel1.offset: 4 4;
10782                rel2.offset: -5 -5;
10783                image {
10784                   normal: "toolbar_separator_v.png";
10785                }
10786                fill {
10787                   smooth: 0;
10788                }
10789             }
10790          }
10791       }
10792    }
10793
10794    ///////////////////////////////////////////////////////////////////////////////
10795    group { name: "elm/notify/block_events/default";
10796        parts {
10797            part { name: "block_events";
10798                type: RECT;
10799                description { state: "default" 0.0;
10800                    color: 0 0 0 64;
10801                    visible: 1;
10802                }
10803            }
10804        }
10805            programs {
10806                    program {
10807                                 name: "block_clicked";
10808                                 signal: "mouse,clicked,1";
10809                                 source: "block_events";
10810                                 action: SIGNAL_EMIT "elm,action,clicked" "elm";
10811                    }
10812            }
10813    }
10814    group { name: "elm/notify/top/default";
10815        //this group is a design similar to the inwin group
10816        images {
10817            image: "shad_circ.png" COMP;
10818            image: "bt_dis_base.png" COMP;
10819            image: "bt_dis_hilight.png" COMP;
10820        }
10821        parts {
10822            part { name: "base";
10823                type: RECT;
10824                mouse_events: 0;
10825                repeat_events: 1;
10826                description { state: "default" 0.0;
10827                    color: 0 0 0 0;
10828                    rel1.offset: 10 10;
10829                    rel2.offset: -10 -10;
10830                    rel1.relative: 0.0 -1.0;
10831                    rel2.relative: 1.0 0.0;
10832                }
10833                description { state: "visible" 0.0;
10834                    inherit: "default" 0.0;
10835                    color: 0 0 0 64;
10836                    rel1.relative: 0.0 0.0;
10837                    rel2.relative: 1.0 1.0;
10838                }
10839            }
10840            part { name: "shad";
10841                mouse_events:  0;
10842                description { state: "default" 0.0;
10843                    image.normal: "shad_circ.png";
10844                    rel1.to: "elm.swallow.content";
10845                    rel1.offset: -64 -64;
10846                    rel2.to: "elm.swallow.content";
10847                    rel2.offset: 63 63;
10848                    fill.smooth: 0;
10849                }
10850            }
10851            part { name: "pop";
10852                mouse_events: 1;
10853                description { state: "default" 0.0;
10854                    rel1.to: "elm.swallow.content";
10855                    rel1.offset: -5 -5;
10856                    rel2.to: "elm.swallow.content";
10857                    rel2.offset: 4 4;
10858                    image {
10859                        normal: "bt_dis_base.png";
10860                        border: 4 4 4 4;
10861                    }
10862                    image.middle: SOLID;
10863                }
10864            }
10865            part { name: "popover";
10866                mouse_events: 0;
10867                description { state: "default" 0.0;
10868                    rel1.to: "pop";
10869                    rel2.to: "pop";
10870                    rel2.relative: 1.0 0.5;
10871                    image {
10872                        normal: "bt_dis_hilight.png";
10873                        border: 4 4 4 0;
10874                    }
10875                }
10876            }
10877            part { name: "elm.swallow.content";
10878                type: SWALLOW;
10879                description { state: "default" 0.0;
10880                    rel1.to: "base";
10881                    rel2.to: "base";
10882                }
10883            }
10884        }
10885        programs {
10886            program { name: "show";
10887                signal: "elm,action,show";
10888                source: "elm";
10889                action: STATE_SET "visible" 0.0;
10890                target: "base";
10891            }
10892            program { name: "show_2";
10893                 signal: "show";
10894                 action: STATE_SET "default" 0.0;
10895                 target: "base";
10896                 after: "show_3";
10897            }
10898            program { name: "show_3";
10899                 signal: "show";
10900                 action: STATE_SET "visible" 0.0;
10901                 target: "base";
10902                 transition: LINEAR 0.5;
10903            }
10904            program { name: "hide";
10905                signal: "elm,action,hide";
10906                source: "elm";
10907                action: STATE_SET "default" 0.0;
10908                target: "base";
10909            }
10910        }
10911    }
10912    group { name: "elm/notify/center/default";
10913        //this group is a design similar to the inwin group
10914        images {
10915            image: "bt_dis_base.png" COMP;
10916        }
10917        parts {
10918            part { name: "base";
10919                type: RECT;
10920                mouse_events: 0;
10921                repeat_events: 1;
10922                description { state: "default" 0.0;
10923                    color: 0 0 0 0;
10924                    rel1.relative: 0.0 0.0;
10925                    rel2.relative: 1.0 1.0;
10926                }
10927            }
10928            part { name: "pop";
10929                mouse_events: 1;
10930                description { state: "default" 0.0;
10931                    rel1.to: "elm.swallow.content";
10932                    rel1.offset: -5 -5;
10933                    rel2.to: "elm.swallow.content";
10934                    rel2.offset: 4 4;
10935                    image {
10936                        normal: "bt_dis_base.png";
10937                        border: 4 4 4 4;
10938                    }
10939                }
10940            }
10941            part { name: "elm.swallow.content";
10942                type: SWALLOW;
10943                description { state: "default" 0.0;
10944                    rel1.to: "base";
10945                    rel2.to: "base";
10946                }
10947            }
10948        }
10949        programs {
10950            program { name: "show";
10951                signal: "elm,action,show";
10952                source: "elm";
10953                action: STATE_SET "default" 0.0;
10954                target: "base";
10955            }
10956            program { name: "show_2";
10957                 signal: "show";
10958                 action: STATE_SET "default" 0.0;
10959                 target: "base";
10960            }
10961            program { name: "hide";
10962                signal: "elm,action,hide";
10963                source: "elm";
10964                action: STATE_SET "default" 0.0;
10965                target: "base";
10966            }
10967        }
10968    }
10969    group { name: "elm/notify/bottom/default";
10970        //this group is a design similar to the inwin group
10971        images {
10972            image: "shad_circ.png" COMP;
10973            image: "bt_dis_base.png" COMP;
10974            image: "bt_dis_hilight.png" COMP;
10975        }
10976        parts {
10977            part { name: "base";
10978                type: RECT;
10979                mouse_events: 0;
10980                repeat_events: 1;
10981                description { state: "default" 0.0;
10982                    color: 0 0 0 0;
10983                    rel1.offset: 10 10;
10984                    rel2.offset: -10 -10;
10985                    rel1.relative: 0.0 1.0;
10986                    rel2.relative: 1.0 2.0;
10987                }
10988                description { state: "visible" 0.0;
10989                    inherit: "default" 0.0;
10990                    color: 0 0 0 64;
10991                    rel1.relative: 0.0 0.0;
10992                    rel2.relative: 1.0 1.0;
10993                }
10994            }
10995            part { name: "shad";
10996                mouse_events:  0;
10997                description { state: "default" 0.0;
10998                    image.normal: "shad_circ.png";
10999                    rel1.to: "elm.swallow.content";
11000                    rel1.offset: -64 -64;
11001                    rel2.to: "elm.swallow.content";
11002                    rel2.offset: 63 63;
11003                    fill.smooth: 0;
11004                }
11005            }
11006            part { name: "pop";
11007                mouse_events: 1;
11008                description { state: "default" 0.0;
11009                    rel1.to: "elm.swallow.content";
11010                    rel1.offset: -5 -5;
11011                    rel2.to: "elm.swallow.content";
11012                    rel2.offset: 4 4;
11013                    image {
11014                        normal: "bt_dis_base.png";
11015                        border: 4 4 4 4;
11016                    }
11017                    image.middle: SOLID;
11018                }
11019            }
11020            part { name: "popover";
11021                mouse_events: 0;
11022                description { state: "default" 0.0;
11023                    rel1.to: "pop";
11024                    rel2.to: "pop";
11025                    rel2.relative: 1.0 0.5;
11026                    image {
11027                        normal: "bt_dis_hilight.png";
11028                        border: 4 4 4 0;
11029                    }
11030                }
11031            }
11032            part { name: "elm.swallow.content";
11033                type: SWALLOW;
11034                description { state: "default" 0.0;
11035                    rel1.to: "base";
11036                    rel2.to: "base";
11037                }
11038            }
11039        }
11040        programs {
11041            program { name: "show";
11042                signal: "elm,action,show";
11043                source: "elm";
11044                action: STATE_SET "visible" 0.0;
11045                target: "base";
11046            }
11047            program { name: "show_2";
11048                 signal: "show";
11049                 action: STATE_SET "default" 0.0;
11050                 target: "base";
11051                 after: "show_3";
11052            }
11053            program { name: "show_3";
11054                 signal: "show";
11055                 action: STATE_SET "visible" 0.0;
11056                 target: "base";
11057                 transition: LINEAR 0.5;
11058            }
11059            program { name: "hide";
11060                signal: "elm,action,hide";
11061                source: "elm";
11062                action: STATE_SET "default" 0.0;
11063                target: "base";
11064            }
11065        }
11066    }
11067    group { name: "elm/notify/left/default";
11068        //this group is a design similar to the inwin group
11069        images {
11070            image: "shad_circ.png" COMP;
11071            image: "bt_dis_base.png" COMP;
11072            image: "bt_dis_hilight.png" COMP;
11073        }
11074        parts {
11075            part { name: "base";
11076                type: RECT;
11077                mouse_events: 0;
11078                repeat_events: 1;
11079                description { state: "default" 0.0;
11080                    color: 0 0 0 0;
11081                    rel1.offset: 10 10;
11082                    rel2.offset: -10 -10;
11083                    rel1.relative: -1.0 0.0;
11084                    rel2.relative: 0.0 1.0;
11085                }
11086                description { state: "visible" 0.0;
11087                    inherit: "default" 0.0;
11088                    color: 0 0 0 64;
11089                    rel1.relative: 0.0 0.0;
11090                    rel2.relative: 1.0 1.0;
11091                }
11092            }
11093            part { name: "shad";
11094                mouse_events:  0;
11095                description { state: "default" 0.0;
11096                    image.normal: "shad_circ.png";
11097                    rel1.to: "elm.swallow.content";
11098                    rel1.offset: -64 -64;
11099                    rel2.to: "elm.swallow.content";
11100                    rel2.offset: 63 63;
11101                    fill.smooth: 0;
11102                }
11103            }
11104            part { name: "pop";
11105                mouse_events: 1;
11106                description { state: "default" 0.0;
11107                    rel1.to: "elm.swallow.content";
11108                    rel1.offset: -5 -5;
11109                    rel2.to: "elm.swallow.content";
11110                    rel2.offset: 4 4;
11111                    image {
11112                        normal: "bt_dis_base.png";
11113                        border: 4 4 4 4;
11114                    }
11115                    image.middle: SOLID;
11116                }
11117            }
11118            part { name: "popover";
11119                mouse_events: 0;
11120                description { state: "default" 0.0;
11121                    rel1.to: "pop";
11122                    rel2.to: "pop";
11123                    rel2.relative: 1.0 0.5;
11124                    image {
11125                        normal: "bt_dis_hilight.png";
11126                        border: 4 4 4 0;
11127                    }
11128                }
11129            }
11130            part { name: "elm.swallow.content";
11131                type: SWALLOW;
11132                description { state: "default" 0.0;
11133                    rel1.to: "base";
11134                    rel2.to: "base";
11135                }
11136            }
11137        }
11138        programs {
11139            program { name: "show";
11140                signal: "elm,action,show";
11141                source: "elm";
11142                action: STATE_SET "visible" 0.0;
11143                target: "base";
11144            }
11145            program { name: "show_2";
11146                signal: "show";
11147                action: STATE_SET "default" 0.0;
11148                target: "base";
11149                after: "show_3";
11150            }
11151            program { name: "show_3";
11152                signal: "show";
11153                action: STATE_SET "visible" 0.0;
11154                target: "base";
11155                transition: LINEAR 0.5;
11156            }
11157            program { name: "hide";
11158                signal: "elm,action,hide";
11159                source: "elm";
11160                action: STATE_SET "default" 0.0;
11161                target: "base";
11162            }
11163        }
11164    }
11165    group { name: "elm/notify/right/default";
11166        //this group is a design similar to the inwin group
11167        images {
11168            image: "shad_circ.png" COMP;
11169            image: "bt_dis_base.png" COMP;
11170            image: "bt_dis_hilight.png" COMP;
11171        }
11172        parts {
11173            part { name: "base";
11174                type: RECT;
11175                mouse_events: 0;
11176                repeat_events: 1;
11177                 description { state: "default" 0.0;
11178                    color: 0 0 0 0;
11179                    rel1.offset: 10 10;
11180                    rel2.offset: -10 -10;
11181                    rel1.relative: 1.0 0.0;
11182                    rel2.relative: 2.0 1.0;
11183                }
11184                description { state: "visible" 0.0;
11185                    inherit: "default" 0.0;
11186                    color: 0 0 0 64;
11187                    rel1.relative: 0.0 0.0;
11188                    rel2.relative: 1.0 1.0;
11189                }
11190            }
11191            part { name: "shad";
11192                mouse_events:  0;
11193                description { state: "default" 0.0;
11194                    image.normal: "shad_circ.png";
11195                    rel1.to: "elm.swallow.content";
11196                    rel1.offset: -64 -64;
11197                    rel2.to: "elm.swallow.content";
11198                    rel2.offset: 63 63;
11199                    fill.smooth: 0;
11200                }
11201            }
11202            part { name: "pop";
11203                mouse_events: 1;
11204                description { state: "default" 0.0;
11205                    rel1.to: "elm.swallow.content";
11206                    rel1.offset: -5 -5;
11207                    rel2.to: "elm.swallow.content";
11208                    rel2.offset: 4 4;
11209                    image {
11210                        normal: "bt_dis_base.png";
11211                        border: 4 4 4 4;
11212                    }
11213                    image.middle: SOLID;
11214                }
11215            }
11216            part { name: "popover";
11217                mouse_events: 0;
11218                description { state: "default" 0.0;
11219                    rel1.to: "pop";
11220                    rel2.to: "pop";
11221                    rel2.relative: 1.0 0.5;
11222                    image {
11223                        normal: "bt_dis_hilight.png";
11224                        border: 4 4 4 0;
11225                    }
11226                }
11227            }
11228            part { name: "elm.swallow.content";
11229                type: SWALLOW;
11230                description { state: "default" 0.0;
11231                    rel1.to: "base";
11232                    rel2.to: "base";
11233                }
11234            }
11235        }
11236        programs {
11237            program { name: "show";
11238                signal: "elm,action,show";
11239                source: "elm";
11240                action: STATE_SET "visible" 0.0;
11241                target: "base";
11242            }
11243            program { name: "show_2";
11244                signal: "show";
11245                action: STATE_SET "default" 0.0;
11246                target: "base";
11247                after: "show_3";
11248            }
11249            program { name: "show_3";
11250                signal: "show";
11251                action: STATE_SET "visible" 0.0;
11252                target: "base";
11253                transition: LINEAR 0.5;
11254            }
11255            program { name: "hide";
11256                signal: "elm,action,hide";
11257                source: "elm";
11258                action: STATE_SET "default" 0.0;
11259                target: "base";
11260            }
11261        }
11262    }
11263    group { name: "elm/notify/top_left/default";
11264        //this group is a design similar to the inwin group
11265        images {
11266            image: "shad_circ.png" COMP;
11267            image: "bt_dis_base.png" COMP;
11268            image: "bt_dis_hilight.png" COMP;
11269        }
11270        parts {
11271            part { name: "base";
11272                type: RECT;
11273                mouse_events: 0;
11274                repeat_events: 1;
11275                 description { state: "default" 0.0;
11276                    color: 0 0 0 0;
11277                    rel1.offset: 10 10;
11278                    rel2.offset: -10 -10;
11279                    rel1.relative: 0.0 -1.0;
11280                    rel2.relative: 1.0 0.0;
11281                }
11282                description { state: "visible" 0.0;
11283                    inherit: "default" 0.0;
11284                    color: 0 0 0 64;
11285                    rel1.relative: 0.0 0.0;
11286                    rel2.relative: 1.0 1.0;
11287                }
11288            }
11289            part { name: "shad";
11290                mouse_events:  0;
11291                description { state: "default" 0.0;
11292                    image.normal: "shad_circ.png";
11293                    rel1.to: "elm.swallow.content";
11294                    rel1.offset: -64 -64;
11295                    rel2.to: "elm.swallow.content";
11296                    rel2.offset: 63 63;
11297                    fill.smooth: 0;
11298                }
11299            }
11300            part { name: "pop";
11301                mouse_events: 1;
11302                description { state: "default" 0.0;
11303                    rel1.to: "elm.swallow.content";
11304                    rel1.offset: -5 -5;
11305                    rel2.to: "elm.swallow.content";
11306                    rel2.offset: 4 4;
11307                    image {
11308                        normal: "bt_dis_base.png";
11309                        border: 4 4 4 4;
11310                    }
11311                    image.middle: SOLID;
11312                }
11313            }
11314            part { name: "popover";
11315                mouse_events: 0;
11316                description { state: "default" 0.0;
11317                    rel1.to: "pop";
11318                    rel2.to: "pop";
11319                    rel2.relative: 1.0 0.5;
11320                    image {
11321                        normal: "bt_dis_hilight.png";
11322                        border: 4 4 4 0;
11323                    }
11324                }
11325            }
11326            part { name: "elm.swallow.content";
11327                type: SWALLOW;
11328                description { state: "default" 0.0;
11329                    rel1.to: "base";
11330                    rel2.to: "base";
11331                }
11332            }
11333        }
11334        programs {
11335            program { name: "show";
11336                signal: "elm,action,show";
11337                source: "elm";
11338                action: STATE_SET "visible" 0.0;
11339                target: "base";
11340            }
11341            program { name: "show_2";
11342                signal: "show";
11343                action: STATE_SET "default" 0.0;
11344                target: "base";
11345                after: "show_3";
11346            }
11347            program { name: "show_3";
11348                signal: "show";
11349                action: STATE_SET "visible" 0.0;
11350                target: "base";
11351                transition: LINEAR 0.5;
11352            }
11353            program { name: "hide";
11354                signal: "elm,action,hide";
11355                source: "elm";
11356                action: STATE_SET "default" 0.0;
11357                target: "base";
11358            }
11359        }
11360    }
11361    group { name: "elm/notify/top_right/default";
11362        //this group is a design similar to the inwin group
11363        images {
11364            image: "shad_circ.png" COMP;
11365            image: "bt_dis_base.png" COMP;
11366            image: "bt_dis_hilight.png" COMP;
11367        }
11368        parts {
11369            part { name: "base";
11370                type: RECT;
11371                mouse_events: 0;
11372                repeat_events: 1;
11373                description { state: "default" 0.0;
11374                    color: 0 0 0 0;
11375                    rel1.offset: 10 10;
11376                    rel2.offset: -10 -10;
11377                    rel1.relative: 0.0 -1.0;
11378                    rel2.relative: 1.0 0.0;
11379                }
11380                description { state: "visible" 0.0;
11381                    inherit: "default" 0.0;
11382                    color: 0 0 0 64;
11383                    rel1.relative: 0.0 0.0;
11384                    rel2.relative: 1.0 1.0;
11385                }
11386            }
11387            part { name: "shad";
11388                mouse_events:  0;
11389                description { state: "default" 0.0;
11390                    image.normal: "shad_circ.png";
11391                    rel1.to: "elm.swallow.content";
11392                    rel1.offset: -64 -64;
11393                    rel2.to: "elm.swallow.content";
11394                    rel2.offset: 63 63;
11395                    fill.smooth: 0;
11396                }
11397            }
11398            part { name: "pop";
11399                mouse_events: 1;
11400                description { state: "default" 0.0;
11401                    rel1.to: "elm.swallow.content";
11402                    rel1.offset: -5 -5;
11403                    rel2.to: "elm.swallow.content";
11404                    rel2.offset: 4 4;
11405                    image {
11406                        normal: "bt_dis_base.png";
11407                        border: 4 4 4 4;
11408                    }
11409                    image.middle: SOLID;
11410                }
11411            }
11412            part { name: "popover";
11413                mouse_events: 0;
11414                description { state: "default" 0.0;
11415                    rel1.to: "pop";
11416                    rel2.to: "pop";
11417                    rel2.relative: 1.0 0.5;
11418                    image {
11419                        normal: "bt_dis_hilight.png";
11420                        border: 4 4 4 0;
11421                    }
11422                }
11423            }
11424            part { name: "elm.swallow.content";
11425                type: SWALLOW;
11426                description { state: "default" 0.0;
11427                    rel1.to: "base";
11428                    rel2.to: "base";
11429                }
11430            }
11431        }
11432        programs {
11433            program { name: "show";
11434                signal: "elm,action,show";
11435                source: "elm";
11436                action: STATE_SET "visible" 0.0;
11437                target: "base";
11438            }
11439            program { name: "show_2";
11440                signal: "show";
11441                action: STATE_SET "default" 0.0;
11442                target: "base";
11443                after: "show_3";
11444            }
11445            program { name: "show_3";
11446                signal: "show";
11447                action: STATE_SET "visible" 0.0;
11448                target: "base";
11449                transition: LINEAR 0.5;
11450            }
11451            program { name: "hide";
11452                signal: "elm,action,hide";
11453                source: "elm";
11454                action: STATE_SET "default" 0.0;
11455                target: "base";
11456            }
11457        }
11458    }
11459    group { name: "elm/notify/bottom_left/default";
11460        //this group is a design similar to the inwin group
11461        images {
11462            image: "shad_circ.png" COMP;
11463            image: "bt_dis_base.png" COMP;
11464            image: "bt_dis_hilight.png" COMP;
11465        }
11466        parts {
11467            part { name: "base";
11468                type: RECT;
11469                mouse_events: 0;
11470                repeat_events: 1;
11471                description { state: "default" 0.0;
11472                    color: 0 0 0 0;
11473                    rel1.offset: 10 10;
11474                    rel2.offset: -10 -10;
11475                    rel1.relative: 0.0 1.0;
11476                    rel2.relative: 1.0 2.0;
11477                }
11478                description { state: "visible" 0.0;
11479                    inherit: "default" 0.0;
11480                    color: 0 0 0 64;
11481                    rel1.relative: 0.0 0.0;
11482                    rel2.relative: 1.0 1.0;
11483                }
11484            }
11485            part { name: "shad";
11486                mouse_events:  0;
11487                description { state: "default" 0.0;
11488                    image.normal: "shad_circ.png";
11489                    rel1.to: "elm.swallow.content";
11490                    rel1.offset: -64 -64;
11491                    rel2.to: "elm.swallow.content";
11492                    rel2.offset: 63 63;
11493                    fill.smooth: 0;
11494                }
11495            }
11496            part { name: "pop";
11497                mouse_events: 1;
11498                description { state: "default" 0.0;
11499                    rel1.to: "elm.swallow.content";
11500                    rel1.offset: -5 -5;
11501                    rel2.to: "elm.swallow.content";
11502                    rel2.offset: 4 4;
11503                    image {
11504                        normal: "bt_dis_base.png";
11505                        border: 4 4 4 4;
11506                    }
11507                    image.middle: SOLID;
11508                }
11509            }
11510            part { name: "popover";
11511                mouse_events: 0;
11512                description { state: "default" 0.0;
11513                    rel1.to: "pop";
11514                    rel2.to: "pop";
11515                    rel2.relative: 1.0 0.5;
11516                    image {
11517                        normal: "bt_dis_hilight.png";
11518                        border: 4 4 4 0;
11519                    }
11520                }
11521            }
11522            part { name: "elm.swallow.content";
11523                type: SWALLOW;
11524                description { state: "default" 0.0;
11525                    rel1.to: "base";
11526                    rel2.to: "base";
11527                }
11528            }
11529        }
11530        programs {
11531            program { name: "show";
11532                signal: "elm,action,show";
11533                source: "elm";
11534                action: STATE_SET "visible" 0.0;
11535                target: "base";
11536            }
11537            program { name: "show_2";
11538                signal: "show";
11539                action: STATE_SET "default" 0.0;
11540                target: "base";
11541                after: "show_3";
11542            }
11543            program { name: "show_3";
11544                signal: "show";
11545                action: STATE_SET "visible" 0.0;
11546                target: "base";
11547                transition: LINEAR 0.5;
11548            }
11549            program { name: "hide";
11550                signal: "elm,action,hide";
11551                source: "elm";
11552                action: STATE_SET "default" 0.0;
11553                target: "base";
11554            }
11555        }
11556    }
11557    group { name: "elm/notify/bottom_right/default";
11558        //this group is a design similar to the inwin group
11559        images {
11560            image: "shad_circ.png" COMP;
11561            image: "bt_dis_base.png" COMP;
11562            image: "bt_dis_hilight.png" COMP;
11563        }
11564        parts {
11565            part { name: "base";
11566                type: RECT;
11567                mouse_events: 0;
11568                repeat_events: 1;
11569               description { state: "default" 0.0;
11570                    color: 0 0 0 0;
11571                    rel1.offset: 10 10;
11572                    rel2.offset: -10 -10;
11573                    rel1.relative: 0.0 1.0;
11574                    rel2.relative: 1.0 2.0;
11575                }
11576                description { state: "visible" 0.0;
11577                    inherit: "default" 0.0;
11578                    color: 0 0 0 64;
11579                    rel1.relative: 0.0 0.0;
11580                    rel2.relative: 1.0 1.0;
11581                }
11582            }
11583            part { name: "shad";
11584                mouse_events:  0;
11585                description { state: "default" 0.0;
11586                    image.normal: "shad_circ.png";
11587                    rel1.to: "elm.swallow.content";
11588                    rel1.offset: -64 -64;
11589                    rel2.to: "elm.swallow.content";
11590                    rel2.offset: 63 63;
11591                    fill.smooth: 0;
11592                }
11593            }
11594            part { name: "pop";
11595                mouse_events: 1;
11596                description { state: "default" 0.0;
11597                    rel1.to: "elm.swallow.content";
11598                    rel1.offset: -5 -5;
11599                    rel2.to: "elm.swallow.content";
11600                    rel2.offset: 4 4;
11601                    image {
11602                        normal: "bt_dis_base.png";
11603                        border: 4 4 4 4;
11604                    }
11605                    image.middle: SOLID;
11606                }
11607            }
11608            part { name: "popover";
11609                mouse_events: 0;
11610                description { state: "default" 0.0;
11611                    rel1.to: "pop";
11612                    rel2.to: "pop";
11613                    rel2.relative: 1.0 0.5;
11614                    image {
11615                        normal: "bt_dis_hilight.png";
11616                        border: 4 4 4 0;
11617                    }
11618                }
11619            }
11620            part { name: "elm.swallow.content";
11621                type: SWALLOW;
11622                description { state: "default" 0.0;
11623                    rel1.to: "base";
11624                    rel2.to: "base";
11625                }
11626            }
11627        }
11628        programs {
11629            program { name: "show";
11630                signal: "elm,action,show";
11631                source: "elm";
11632                action: STATE_SET "visible" 0.0;
11633                target: "base";
11634            }
11635            program { name: "show_2";
11636                signal: "show";
11637                action: STATE_SET "default" 0.0;
11638                target: "base";
11639                after: "show_3";
11640            }
11641            program { name: "show_3";
11642                signal: "show";
11643                action: STATE_SET "visible" 0.0;
11644                target: "base";
11645                transition: LINEAR 0.5;
11646            }
11647            program { name: "hide";
11648                signal: "elm,action,hide";
11649                source: "elm";
11650                action: STATE_SET "default" 0.0;
11651                target: "base";
11652            }
11653        }
11654    }
11655
11656 ///////////////////////////////////////////////////////////////////////////////
11657    group { name: "elm/slideshow/base/default";
11658       data {
11659          item: transitions "fade black_fade horizontal vertical square";
11660          item: layouts "fullscreen not_fullscreen";
11661       }
11662       parts {
11663          part { name: "whole";
11664                  type: RECT;
11665             description {
11666                state: "default" 0.0;
11667                visible: 1;
11668                color: 20 20 20 255;
11669             }
11670          }
11671          part { name: "image_1_whole";
11672             description {
11673                state: "default" 0.0;
11674                color: 255 255 255 255;
11675             }
11676             description {
11677                state: "fade_prev_next" 0.0;
11678                inherit: "default" 0.0;
11679                color: 255 255 255 0;
11680             }
11681             description {
11682                state: "black_fade_prev_next_init" 0.0;
11683                inherit: "default" 0.0;
11684                color: 255 255 255 255;
11685             }
11686             description {
11687                state: "black_fade_prev_next" 0.0;
11688                inherit: "default" 0.0;
11689                color: 0 0 0 255;
11690             }
11691             description {
11692                state: "horizontal_next_init" 0.0;
11693                inherit: "default" 0.0;
11694             }
11695             description {
11696                state: "horizontal_next" 0.0;
11697                inherit: "default" 0.0;
11698                rel1.relative: -1.0 0.0;
11699                rel2.relative: 0.0 1.0;
11700             }
11701             description {
11702                state: "horizontal_prev_init" 0.0;
11703                inherit: "default" 0.0;
11704             }
11705             description {
11706                state: "horizontal_prev" 0.0;
11707                inherit: "default" 0.0;
11708                rel1.relative: 1.0 0.0;
11709                rel2.relative: 2.0 1.0;
11710             }
11711             description {
11712                state: "vertical_next_init" 0.0;
11713                inherit: "default" 0.0;
11714             }
11715             description {
11716                state: "vertical_next" 0.0;
11717                inherit: "default" 0.0;
11718                rel1.relative: 0.0 -1.0;
11719                rel2.relative: 1.0 0.0;
11720             }
11721             description {
11722                state: "vertical_prev_init" 0.0;
11723                inherit: "default" 0.0;
11724             }
11725             description {
11726                state: "vertical_prev" 0.0;
11727                inherit: "default" 0.0;
11728                rel1.relative: 0.0 1.0;
11729                rel2.relative: 1.0 2.0;
11730             }
11731             description {
11732                state: "square_prev_next" 0.0;
11733                inherit: "default" 0.0;
11734                color: 255 255 255 0;
11735             }
11736          }
11737          part { name: "image_2_whole";
11738             description {
11739                state: "default" 0.0;
11740                visible: 1;
11741                color: 255 255 255 0;
11742             }
11743             description {
11744                state: "fade_prev_next" 0.0;
11745                inherit: "default" 0.0;
11746                color: 255 255 255 255;
11747             }
11748             description {
11749                state: "black_fade_prev_next_init" 0.0;
11750                inherit: "default" 0.0;
11751                color: 0 0 0 0;
11752             }
11753             description {
11754                state: "black_fade_prev_next" 0.0;
11755                inherit: "default" 0.0;
11756                color: 255 255 255 255;
11757             }
11758             description {
11759                state: "horizontal_next_init" 0.0;
11760                inherit: "default" 0.0;
11761                rel1.relative: 1.0 0.0;
11762                rel2.relative: 2.0 1.0;
11763                color: 255 255 255 255;
11764             }
11765             description {
11766                state: "horizontal_next" 0.0;
11767                inherit: "default" 0.0;
11768                color: 255 255 255 255;
11769             }
11770             description {
11771                state: "horizontal_prev_init" 0.0;
11772                inherit: "default" 0.0;
11773                rel1.relative: -1.0 0.0;
11774                rel2.relative: 0.0 1.0;
11775                color: 255 255 255 255;
11776             }
11777             description {
11778                state: "horizontal_prev" 0.0;
11779                inherit: "default" 0.0;
11780                color: 255 255 255 255;
11781             }
11782             description {
11783                state: "vertical_next_init" 0.0;
11784                inherit: "default" 0.0;
11785                rel1.relative: 0.0 1.0;
11786                rel2.relative: 1.0 2.0;
11787                color: 255 255 255 255;
11788             }
11789             description {
11790                state: "vertical_next" 0.0;
11791                inherit: "default" 0.0;
11792                color: 255 255 255 255;
11793             }
11794             description {
11795                state: "vertical_prev_init" 0.0;
11796                inherit: "default" 0.0;
11797                rel1.relative: 0.0 -1.0;
11798                rel2.relative: 1.0 0.0;
11799                color: 255 255 255 255;
11800             }
11801             description {
11802                state: "vertical_prev" 0.0;
11803                inherit: "default" 0.0;
11804                color: 255 255 255 255;
11805             }
11806             description {
11807                state: "square_prev_next_init" 0.0;
11808                inherit: "default" 0.0;
11809                rel1.relative: 0.5 0.5;
11810                rel2.relative: 0.5 0.5;
11811                color: 255 255 255 255;
11812             }
11813             description {
11814                state: "square_prev_next" 0.0;
11815                inherit: "default" 0.0;
11816                rel1.relative: 0.0 0.0;
11817                rel2.relative: 1.0 1.0;
11818                color: 255 255 255 255;
11819             }
11820          }
11821          part { name: "elm.swallow.1";
11822             type: SWALLOW;
11823             clip_to: "image_1_whole";
11824             description {
11825                state: "default" 0.0;
11826                rel1.to: "image_1_whole";
11827                rel2.to: "image_1_whole";
11828                color: 255 255 255 255;
11829             }
11830             description {
11831                state: "not_fullscreen" 0.0;
11832                rel1.relative: 0.1 0.1;
11833                rel1.to: "image_1_whole";
11834                rel2.relative: 0.9 0.9;
11835                rel2.to: "image_1_whole";
11836                color: 255 255 255 255;
11837             }
11838          }
11839          part { name: "elm.swallow.2";
11840             type: SWALLOW;
11841             clip_to: "image_2_whole";
11842             description {
11843                state: "default" 0.0;
11844                color: 255 255 255 255;
11845                rel1.to: "image_2_whole";
11846                rel2.to: "image_2_whole";
11847             }
11848             description {
11849                state: "not_fullscreen" 0.0;
11850                color: 255 255 255 255;
11851                rel1.relative: 0.1 0.1;
11852                rel1.to: "image_2_whole";
11853                rel2.relative: 0.9 0.9;
11854                rel2.to: "image_2_whole";
11855             }
11856          }
11857          part { name: "events_catcher";
11858             type: RECT;
11859             repeat_events: 1;
11860             description {
11861                state: "default" 0.0;
11862                visible: 1;
11863                color: 0 0 0 0;
11864             }
11865          }
11866       }
11867       programs {
11868               //Substyle
11869               program { name: "layout_fullscreen";
11870             signal: "layout,fullscreen";
11871             source: "slideshow";
11872             action: STATE_SET "default" 0.0;
11873             target: "elm.swallow.1";
11874             target: "elm.swallow.2";
11875             transition: SINUSOIDAL 1.0;
11876         }
11877         program { name: "layout_not_fullscreen";
11878             signal: "layout,not_fullscreen";
11879             source: "slideshow";
11880             action: STATE_SET "not_fullscreen" 0.0;
11881             target: "elm.swallow.1";
11882             target: "elm.swallow.2";
11883             transition: SINUSOIDAL 1.0;
11884          }
11885                //
11886          program { name: "fade_next";
11887             signal: "fade,next";
11888             source: "slideshow";
11889             action: STATE_SET "default" 0.0;
11890             target: "image_1_whole";
11891             target: "image_2_whole";
11892             after: "fade_next_2";
11893          }
11894          program { name: "fade_next_2";
11895             action: STATE_SET "fade_prev_next" 0.0;
11896             target: "image_1_whole";
11897             target: "image_2_whole";
11898             transition: SINUSOIDAL 1.5;
11899             after: "end";
11900          }
11901          program { name: "fade_previous";
11902             signal: "fade,previous";
11903             source: "slideshow";
11904             action: STATE_SET "default" 0.0;
11905             target: "image_1_whole";
11906             target: "image_2_whole";
11907             after: "fade_previous_2";
11908          }
11909          program { name: "fade_previous_2";
11910             action: STATE_SET "fade_prev_next" 0.0;
11911             target: "image_1_whole";
11912             target: "image_2_whole";
11913             transition: SINUSOIDAL 1.5;
11914             after: "end";
11915          }
11916          program { name: "black_fade_next";
11917             signal: "black_fade,next";
11918             source: "slideshow";
11919             action: STATE_SET "black_fade_prev_next_init" 0.0;
11920             target: "image_1_whole";
11921             target: "image_2_whole";
11922             after: "black_fade_next_2";
11923          }
11924          program { name: "black_fade_next_2";
11925             action: STATE_SET "black_fade_prev_next" 0.0;
11926             target: "image_1_whole";
11927             transition: SINUSOIDAL 0.75;
11928             after: "black_fade_next_3";
11929          }
11930          program { name: "black_fade_next_3";
11931             action: STATE_SET "black_fade_prev_next" 0.0;
11932             target: "image_2_whole";
11933             transition: SINUSOIDAL 0.75;
11934             after: "end";
11935          }
11936          program { name: "black_fade_previous";
11937             signal: "black_fade,previous";
11938             source: "slideshow";
11939             action: STATE_SET "black_fade_prev_next_init" 0.0;
11940             target: "image_1_whole";
11941             target: "image_2_whole";
11942             after: "black_fade_previous_2";
11943          }
11944          program { name: "black_fade_previous_2";
11945             action: STATE_SET "black_fade_prev_next" 0.0;
11946             target: "image_1_whole";
11947             transition: SINUSOIDAL 0.75;
11948             after: "black_fade_previous_3";
11949          }
11950          program { name: "black_fade_previous_3";
11951             action: STATE_SET "black_fade_prev_next" 0.0;
11952             target: "image_2_whole";
11953             transition: SINUSOIDAL 0.75;
11954             after: "end";
11955          }
11956          program { name: "horizontal_next";
11957             signal: "horizontal,next";
11958             source: "slideshow";
11959             action: STATE_SET "horizontal_next_init" 0.0;
11960             target: "image_1_whole";
11961             target: "image_2_whole";
11962             after: "horizontal_next_2";
11963          }
11964          program { name: "horizontal_next_2";
11965             action: STATE_SET "horizontal_next" 0.0;
11966             target: "image_1_whole";
11967             target: "image_2_whole";
11968             transition: SINUSOIDAL 1.5;
11969             after: "end";
11970          }
11971          program { name: "horizontal_previous";
11972             signal: "horizontal,previous";
11973             source: "slideshow";
11974             action: STATE_SET "horizontal_prev_init" 0.0;
11975             target: "image_1_whole";
11976             target: "image_2_whole";
11977             after: "horizontal_previous_2";
11978          }
11979          program { name: "horizontal_previous_2";
11980             action: STATE_SET "horizontal_prev" 0.0;
11981             target: "image_1_whole";
11982             target: "image_2_whole";
11983             transition: SINUSOIDAL 1.5;
11984             after: "end";
11985          }
11986          program { name: "vertical_next";
11987             signal: "vertical,next";
11988             source: "slideshow";
11989             action: STATE_SET "vertical_next_init" 0.0;
11990             target: "image_1_whole";
11991             target: "image_2_whole";
11992             after: "vertical_next_2";
11993          }
11994          program { name: "vertical_next_2";
11995             action: STATE_SET "vertical_next" 0.0;
11996             target: "image_1_whole";
11997             target: "image_2_whole";
11998             transition: SINUSOIDAL 1.5;
11999             after: "end";
12000          }
12001          program { name: "vertical_previous";
12002             signal: "vertical,previous";
12003             source: "slideshow";
12004             action: STATE_SET "vertical_prev_init" 0.0;
12005             target: "image_1_whole";
12006             target: "image_2_whole";
12007             after: "vertical_previous_2";
12008          }
12009          program { name: "vertical_previous_2";
12010             action: STATE_SET "vertical_prev" 0.0;
12011             target: "image_1_whole";
12012             target: "image_2_whole";
12013             transition: SINUSOIDAL 1.5;
12014             after: "end";
12015          }
12016          program { name: "square_next";
12017             signal: "square,next";
12018             source: "slideshow";
12019             action: STATE_SET "square_prev_next_init" 0.0;
12020             target: "image_2_whole";
12021             after: "square_next_2";
12022          }
12023          program { name: "square_next_2";
12024             action: STATE_SET "square_prev_next" 0.0;
12025             target: "image_2_whole";
12026             target: "image_1_whole";
12027             transition: SINUSOIDAL 1.5;
12028             after: "end";
12029          }
12030          program { name: "square_previous";
12031             signal: "square,previous";
12032             source: "slideshow";
12033             action: STATE_SET "square_prev_next_init" 0.0;
12034             target: "image_2_whole";
12035             after: "square_next_2";
12036          }
12037          program { name: "end";
12038             action: SIGNAL_EMIT "end" "slideshow";
12039          }
12040          program { name: "end_signal";
12041             signal: "anim,end";
12042             source: "slideshow";
12043             action: STATE_SET "default" 0.0;
12044             target: "image_1_whole";
12045             target: "image_2_whole";
12046          }
12047       }
12048    }
12049
12050 ///////////////////////////////////////////////////////////////////////////////
12051    group { name: "elm/win/inwin/default";
12052       images {
12053          image: "shad_circ.png" COMP;
12054          image: "bt_dis_base.png" COMP;
12055          image: "bt_dis_hilight.png" COMP;
12056       }
12057       parts {
12058          part { name: "base";
12059             type: RECT;
12060             mouse_events: 1;
12061             description { state: "default" 0.0;
12062                color: 0 0 0 0;
12063             }
12064             description { state: "visible" 0.0;
12065                inherit: "default" 1.0;
12066                color: 0 0 0 64;
12067             }
12068          }
12069          part { name: "shad";
12070             mouse_events:  0;
12071             description { state: "default" 0.0;
12072                image.normal: "shad_circ.png";
12073                rel1.to: "elm.swallow.content";
12074                rel1.offset: -64 -64;
12075                rel2.to: "elm.swallow.content";
12076                rel2.offset: 63 63;
12077                fill.smooth: 0;
12078             }
12079          }
12080          part { name: "pop";
12081             mouse_events: 1;
12082             description { state: "default" 0.0;
12083                rel1.to: "elm.swallow.content";
12084                rel1.offset: -5 -5;
12085                rel2.to: "elm.swallow.content";
12086                rel2.offset: 4 4;
12087                image {
12088                   normal: "bt_dis_base.png";
12089                   border: 4 4 4 4;
12090                }
12091                image.middle: SOLID;
12092             }
12093          }
12094          part { name: "popover";
12095             mouse_events: 0;
12096             description { state: "default" 0.0;
12097                rel1.to: "pop";
12098                rel2.to: "pop";
12099                rel2.relative: 1.0 0.5;
12100                image {
12101                   normal: "bt_dis_hilight.png";
12102                   border: 4 4 4 0;
12103                }
12104             }
12105          }
12106          part { name: "elm.swallow.content";
12107             type: SWALLOW;
12108             description { state: "default" 0.0;
12109                rel1.relative: 0.1 0.1;
12110                rel2.relative: 0.9 0.9;
12111             }
12112          }
12113       }
12114       programs {
12115          program { name: "show";
12116             signal: "elm,action,show";
12117             source: "elm";
12118             action: STATE_SET "visible" 0.0;
12119 //            transition: DECELERATE 0.5;
12120             target: "base";
12121          }
12122          program { name: "hide";
12123             signal: "elm,action,hide";
12124             source: "elm";
12125             action: STATE_SET "default" 0.0;
12126 //            transition: DECELERATE 0.5;
12127             target: "base";
12128          }
12129       }
12130    }
12131
12132    group { name: "elm/win/inwin/minimal";
12133       images {
12134          image: "shad_circ.png" COMP;
12135          image: "bt_dis_base.png" COMP;
12136          image: "bt_dis_hilight.png" COMP;
12137       }
12138       parts {
12139          part { name: "base";
12140             type: RECT;
12141             mouse_events: 1;
12142             description { state: "default" 0.0;
12143                color: 0 0 0 0;
12144             }
12145             description { state: "visible" 0.0;
12146                inherit: "default" 1.0;
12147                color: 0 0 0 64;
12148             }
12149          }
12150          part { name: "shad";
12151             mouse_events:  0;
12152             description { state: "default" 0.0;
12153                image.normal: "shad_circ.png";
12154                rel1.to: "elm.swallow.content";
12155                rel1.offset: -64 -64;
12156                rel2.to: "elm.swallow.content";
12157                rel2.offset: 63 63;
12158                fill.smooth: 0;
12159             }
12160          }
12161          part { name: "pop";
12162             mouse_events: 1;
12163             description { state: "default" 0.0;
12164                rel1.to: "elm.swallow.content";
12165                rel1.offset: -5 -5;
12166                rel2.to: "elm.swallow.content";
12167                rel2.offset: 4 4;
12168                image {
12169                   normal: "bt_dis_base.png";
12170                   border: 4 4 4 4;
12171                }
12172                image.middle: SOLID;
12173             }
12174          }
12175          part { name: "popover";
12176             mouse_events: 0;
12177             description { state: "default" 0.0;
12178                rel1.to: "pop";
12179                rel2.to: "pop";
12180                rel2.relative: 1.0 0.5;
12181                image {
12182                   normal: "bt_dis_hilight.png";
12183                   border: 4 4 4 0;
12184                }
12185             }
12186          }
12187          part { name: "elm.swallow.content";
12188             type: SWALLOW;
12189             description { state: "default" 0.0;
12190                fixed: 1 1;
12191                rel1.relative: 0.5 0.5;
12192                rel2.relative: 0.5 0.5;
12193             }
12194          }
12195       }
12196       programs {
12197          program { name: "show";
12198             signal: "elm,action,show";
12199             source: "elm";
12200             action: STATE_SET "visible" 0.0;
12201 //            transition: DECELERATE 0.5;
12202             target: "base";
12203          }
12204          program { name: "hide";
12205             signal: "elm,action,hide";
12206             source: "elm";
12207             action: STATE_SET "default" 0.0;
12208 //            transition: DECELERATE 0.5;
12209             target: "base";
12210          }
12211       }
12212    }
12213
12214    group { name: "elm/win/inwin/minimal_vertical";
12215       images {
12216          image: "shad_circ.png" COMP;
12217          image: "bt_dis_base.png" COMP;
12218          image: "bt_dis_hilight.png" COMP;
12219       }
12220       parts {
12221          part { name: "base";
12222             type: RECT;
12223             mouse_events: 1;
12224             description { state: "default" 0.0;
12225                color: 0 0 0 0;
12226             }
12227             description { state: "visible" 0.0;
12228                inherit: "default" 1.0;
12229                color: 0 0 0 64;
12230             }
12231          }
12232          part { name: "shad";
12233             mouse_events:  0;
12234             description { state: "default" 0.0;
12235                image.normal: "shad_circ.png";
12236                rel1.to: "elm.swallow.content";
12237                rel1.offset: -64 -64;
12238                rel2.to: "elm.swallow.content";
12239                rel2.offset: 63 63;
12240                fill.smooth: 0;
12241             }
12242          }
12243          part { name: "pop";
12244             mouse_events: 1;
12245             description { state: "default" 0.0;
12246                rel1.to: "elm.swallow.content";
12247                rel1.offset: -5 -5;
12248                rel2.to: "elm.swallow.content";
12249                rel2.offset: 4 4;
12250                image {
12251                   normal: "bt_dis_base.png";
12252                   border: 4 4 4 4;
12253                }
12254                image.middle: SOLID;
12255             }
12256          }
12257          part { name: "popover";
12258             mouse_events: 0;
12259             description { state: "default" 0.0;
12260                rel1.to: "pop";
12261                rel2.to: "pop";
12262                rel2.relative: 1.0 0.5;
12263                image {
12264                   normal: "bt_dis_hilight.png";
12265                   border: 4 4 4 0;
12266                }
12267             }
12268          }
12269          part { name: "elm.swallow.content";
12270             type: SWALLOW;
12271             description { state: "default" 0.0;
12272                fixed: 1 1;
12273                rel1.relative: 0.1 0.5;
12274                rel2.relative: 0.9 0.5;
12275             }
12276          }
12277       }
12278       programs {
12279          program { name: "show";
12280             signal: "elm,action,show";
12281             source: "elm";
12282             action: STATE_SET "visible" 0.0;
12283 //            transition: DECELERATE 0.5;
12284             target: "base";
12285          }
12286          program { name: "hide";
12287             signal: "elm,action,hide";
12288             source: "elm";
12289             action: STATE_SET "default" 0.0;
12290 //            transition: DECELERATE 0.5;
12291             target: "base";
12292          }
12293       }
12294    }
12295
12296 ///////////////////////////////////////////////////////////////////////////////
12297
12298 ///////////////////////////////////////////////////////////////////////////////
12299    group { name: "elm/list/item/default";
12300       data.item: "stacking" "above";
12301       images {
12302          image: "bt_sm_base1.png" COMP;
12303          image: "bt_sm_shine.png" COMP;
12304          image: "bt_sm_hilight.png" COMP;
12305          image: "ilist_1.png" COMP;
12306          image: "ilist_item_shadow.png" COMP;
12307       }
12308       parts {
12309          part {
12310             name:           "event";
12311             type:           RECT;
12312             repeat_events: 1;
12313             description {
12314                state: "default" 0.0;
12315                color: 0 0 0 0;
12316             }
12317          }
12318          part {
12319             name: "base_sh";
12320             mouse_events: 0;
12321             description {
12322                state: "default" 0.0;
12323                align: 0.0 0.0;
12324                min: 0 10;
12325                fixed: 1 1;
12326                rel1 {
12327                   to: "base";
12328                   relative: 0.0 1.0;
12329                   offset: 0 0;
12330                }
12331                rel2 {
12332                   to: "base";
12333                   relative: 1.0 1.0;
12334                   offset: -1 0;
12335                }
12336                image {
12337                   normal: "ilist_item_shadow.png";
12338                }
12339                fill.smooth: 0;
12340             }
12341          }
12342          part {
12343             name: "base";
12344             mouse_events: 0;
12345             description {
12346                state: "default" 0.0;
12347                image {
12348                   normal: "ilist_1.png";
12349                   border: 2 2 2 2;
12350                }
12351                fill.smooth: 0;
12352             }
12353          }
12354          part { name: "bg";
12355             mouse_events: 0;
12356             description { state: "default" 0.0;
12357                visible: 0;
12358                color: 255 255 255 0;
12359                rel1 {
12360                   relative: 0.0 0.0;
12361                   offset: -5 -5;
12362                }
12363                rel2 {
12364                   relative: 1.0 1.0;
12365                   offset: 4 4;
12366                }
12367                image {
12368                   normal: "bt_sm_base1.png";
12369                   border: 6 6 6 6;
12370                }
12371                image.middle: SOLID;
12372             }
12373             description { state: "selected" 0.0;
12374                inherit: "default" 0.0;
12375                visible: 1;
12376                color: 255 255 255 255;
12377                rel1 {
12378                   relative: 0.0 0.0;
12379                   offset: -2 -2;
12380                }
12381                rel2 {
12382                   relative: 1.0 1.0;
12383                   offset: 1 1;
12384                }
12385             }
12386          }
12387          part { name: "elm.swallow.icon";
12388             type: SWALLOW;
12389             description { state: "default" 0.0;
12390                fixed: 1 0;
12391                align: 0.0 0.5;
12392                rel1 {
12393                   relative: 0.0  0.0;
12394                   offset:   4    4;
12395                }
12396                rel2 {
12397                   relative: 0.0  1.0;
12398                   offset:   4   -5;
12399                }
12400             }
12401          }
12402          part { name: "elm.swallow.end";
12403             type: SWALLOW;
12404             description { state: "default" 0.0;
12405                fixed: 1 0;
12406                align: 1.0 0.5;
12407                rel1 {
12408                   relative: 1.0  0.0;
12409                   offset:   -5    4;
12410                }
12411                rel2 {
12412                   relative: 1.0  1.0;
12413                   offset:   -5   -5;
12414                }
12415             }
12416          }
12417          part { name: "elm.text";
12418             type:           TEXT;
12419             effect:         SOFT_SHADOW;
12420             mouse_events:   0;
12421             scale: 1;
12422             description {
12423                state: "default" 0.0;
12424 //               min: 16 16;
12425                rel1 {
12426                   to_x:     "elm.swallow.icon";
12427                   relative: 1.0  0.0;
12428                   offset:   4 4;
12429                }
12430                rel2 {
12431                   to_x:     "elm.swallow.end";
12432                   relative: 0.0  1.0;
12433                   offset:   -1 -5;
12434                }
12435                color: 0 0 0 255;
12436                color3: 0 0 0 0;
12437                text {
12438                   font: "Sans";
12439                   size: 10;
12440                   min: 1 1;
12441 //                  min: 0 1;
12442                   align: -1.0 0.5;
12443                   text_class: "list_item";
12444                }
12445             }
12446             description { state: "selected" 0.0;
12447                inherit: "default" 0.0;
12448                color: 224 224 224 255;
12449                color3: 0 0 0 64;
12450             }
12451          }
12452          part { name: "fg1";
12453             mouse_events: 0;
12454             description { state: "default" 0.0;
12455                visible: 0;
12456                color: 255 255 255 0;
12457                rel1.to: "bg";
12458                rel2.relative: 1.0 0.5;
12459                rel2.to: "bg";
12460                image {
12461                   normal: "bt_sm_hilight.png";
12462                   border: 6 6 6 0;
12463                }
12464             }
12465             description { state: "selected" 0.0;
12466                inherit: "default" 0.0;
12467                visible: 1;
12468                color: 255 255 255 255;
12469             }
12470          }
12471          part { name: "fg2";
12472             mouse_events: 0;
12473             description { state: "default" 0.0;
12474                visible: 0;
12475                color: 255 255 255 0;
12476                rel1.to: "bg";
12477                rel2.to: "bg";
12478                image {
12479                   normal: "bt_sm_shine.png";
12480                   border: 6 6 6 0;
12481                }
12482             }
12483             description { state: "selected" 0.0;
12484                inherit: "default" 0.0;
12485                visible: 1;
12486                color: 255 255 255 255;
12487             }
12488          }
12489       }
12490       programs {
12491          program {
12492             name:    "go_active";
12493             signal:  "elm,state,selected";
12494             source:  "elm";
12495             action:  STATE_SET "selected" 0.0;
12496             target:  "bg";
12497             target:  "fg1";
12498             target:  "fg2";
12499             target:  "elm.text";
12500          }
12501          program {
12502             name:    "go_passive";
12503             signal:  "elm,state,unselected";
12504             source:  "elm";
12505             action:  STATE_SET "default" 0.0;
12506             target:  "bg";
12507             target:  "fg1";
12508             target:  "fg2";
12509             target:  "elm.text";
12510             transition: LINEAR 0.1;
12511          }
12512       }
12513    }
12514    group { name: "elm/list/item_odd/default";
12515       data.item: "stacking" "below";
12516       data.item: "selectraise" "on";
12517       images {
12518          image: "bt_sm_base1.png" COMP;
12519          image: "bt_sm_shine.png" COMP;
12520          image: "bt_sm_hilight.png" COMP;
12521          image: "ilist_2.png" COMP;
12522       }
12523       parts {
12524          part {
12525             name:           "event";
12526             type:           RECT;
12527             repeat_events: 1;
12528             description {
12529                state: "default" 0.0;
12530                color: 0 0 0 0;
12531             }
12532          }
12533          part {
12534             name: "base";
12535             mouse_events: 0;
12536             description {
12537                state: "default" 0.0;
12538                image {
12539                   normal: "ilist_2.png";
12540                   border: 2 2 2 2;
12541                }
12542                fill.smooth: 0;
12543             }
12544          }
12545          part { name: "bg";
12546             mouse_events: 0;
12547             description { state: "default" 0.0;
12548                visible: 0;
12549                color: 255 255 255 0;
12550                rel1 {
12551                   relative: 0.0 0.0;
12552                   offset: -5 -5;
12553                }
12554                rel2 {
12555                   relative: 1.0 1.0;
12556                   offset: 4 4;
12557                }
12558                image {
12559                   normal: "bt_sm_base1.png";
12560                   border: 6 6 6 6;
12561                }
12562                image.middle: SOLID;
12563             }
12564             description { state: "selected" 0.0;
12565                inherit: "default" 0.0;
12566                visible: 1;
12567                color: 255 255 255 255;
12568                rel1 {
12569                   relative: 0.0 0.0;
12570                   offset: -2 -2;
12571                }
12572                rel2 {
12573                   relative: 1.0 1.0;
12574                   offset: 1 1;
12575                }
12576             }
12577          }
12578          part {
12579             name:          "elm.swallow.icon";
12580             type:          SWALLOW;
12581             description { state:    "default" 0.0;
12582                fixed: 1 0;
12583                align:    0.0 0.5;
12584                rel1 {
12585                   relative: 0.0  0.0;
12586                   offset:   4    4;
12587                }
12588                rel2 {
12589                   relative: 0.0  1.0;
12590                   offset:   4   -5;
12591                }
12592             }
12593          }
12594          part {
12595             name:          "elm.swallow.end";
12596             type:          SWALLOW;
12597             description { state:    "default" 0.0;
12598                fixed: 1 0;
12599                align: 1.0 0.5;
12600                rel1 {
12601                   relative: 1.0  0.0;
12602                   offset:   -5    4;
12603                }
12604                rel2 {
12605                   relative: 1.0  1.0;
12606                   offset:   -5   -5;
12607                }
12608             }
12609          }
12610          part {
12611             name:           "elm.text";
12612             type:           TEXT;
12613             effect:         SOFT_SHADOW;
12614             mouse_events:   0;
12615             scale: 1;
12616             description {
12617                state: "default" 0.0;
12618 //               min:      16 16;
12619                rel1 {
12620                   to_x:     "elm.swallow.icon";
12621                   relative: 1.0  0.0;
12622                   offset:   4 4;
12623                }
12624                rel2 {
12625                   to_x:     "elm.swallow.end";
12626                   relative: 0.0  1.0;
12627                   offset:   -1 -5;
12628                }
12629                color: 0 0 0 255;
12630                color3: 0 0 0 0;
12631                text {
12632                   font: "Sans";
12633                   size: 10;
12634                   min: 1 1;
12635 //                  min: 0 1;
12636                   align: -1.0 0.5;
12637                   text_class: "list_item";
12638                }
12639             }
12640             description { state: "selected" 0.0;
12641                inherit: "default" 0.0;
12642                color: 224 224 224 255;
12643                color3: 0 0 0 64;
12644             }
12645          }
12646          part { name: "fg1";
12647             mouse_events: 0;
12648             description { state: "default" 0.0;
12649                visible: 0;
12650                color: 255 255 255 0;
12651                rel1.to: "bg";
12652                rel2.relative: 1.0 0.5;
12653                rel2.to: "bg";
12654                image {
12655                   normal: "bt_sm_hilight.png";
12656                   border: 6 6 6 0;
12657                }
12658             }
12659             description { state: "selected" 0.0;
12660                inherit: "default" 0.0;
12661                visible: 1;
12662                color: 255 255 255 255;
12663             }
12664          }
12665          part { name: "fg2";
12666             mouse_events: 0;
12667             description { state: "default" 0.0;
12668                visible: 0;
12669                color: 255 255 255 0;
12670                rel1.to: "bg";
12671                rel2.to: "bg";
12672                image {
12673                   normal: "bt_sm_shine.png";
12674                   border: 6 6 6 0;
12675                }
12676             }
12677             description { state: "selected" 0.0;
12678                inherit: "default" 0.0;
12679                visible: 1;
12680                color: 255 255 255 255;
12681             }
12682          }
12683       }
12684       programs {
12685          program {
12686             name:    "go_active";
12687             signal:  "elm,state,selected";
12688             source:  "elm";
12689             action:  STATE_SET "selected" 0.0;
12690             target:  "bg";
12691             target:  "fg1";
12692             target:  "fg2";
12693             target:  "elm.text";
12694          }
12695          program {
12696             name:    "go_passive";
12697             signal:  "elm,state,unselected";
12698             source:  "elm";
12699             action:  STATE_SET "default" 0.0;
12700             target:  "bg";
12701             target:  "fg1";
12702             target:  "fg2";
12703             target:  "elm.text";
12704             transition: LINEAR 0.1;
12705          }
12706       }
12707    }
12708    group { name: "elm/list/item_compress/default";
12709       data.item: "stacking" "above";
12710       data.item: "selectraise" "on";
12711       images {
12712          image: "bt_sm_base1.png" COMP;
12713          image: "bt_sm_shine.png" COMP;
12714          image: "bt_sm_hilight.png" COMP;
12715          image: "ilist_1.png" COMP;
12716          image: "ilist_item_shadow.png" COMP;
12717       }
12718       parts {
12719          part {
12720             name:           "event";
12721             type:           RECT;
12722             repeat_events: 1;
12723             description {
12724                state: "default" 0.0;
12725                color: 0 0 0 0;
12726             }
12727          }
12728          part {
12729             name: "base_sh";
12730             mouse_events: 0;
12731             description { state: "default" 0.0;
12732                fixed: 1 1;
12733                align: 0.0 0.0;
12734                min: 0 10;
12735                rel1 {
12736                   to: "base";
12737                   relative: 0.0 1.0;
12738                   offset: 0 0;
12739                }
12740                rel2 {
12741                   to: "base";
12742                   relative: 1.0 1.0;
12743                   offset: -1 0;
12744                }
12745                image {
12746                   normal: "ilist_item_shadow.png";
12747                }
12748                fill.smooth: 0;
12749             }
12750          }
12751          part {
12752             name: "base";
12753             mouse_events: 0;
12754             description {
12755                state: "default" 0.0;
12756                image {
12757                   normal: "ilist_1.png";
12758                   border: 2 2 2 2;
12759                }
12760                fill.smooth: 0;
12761             }
12762          }
12763          part { name: "bg";
12764             mouse_events: 0;
12765             description { state: "default" 0.0;
12766                visible: 0;
12767                color: 255 255 255 0;
12768                rel1 {
12769                   relative: 0.0 0.0;
12770                   offset: -5 -5;
12771                }
12772                rel2 {
12773                   relative: 1.0 1.0;
12774                   offset: 4 4;
12775                }
12776                image {
12777                   normal: "bt_sm_base1.png";
12778                   border: 6 6 6 6;
12779                }
12780                image.middle: SOLID;
12781             }
12782             description { state: "selected" 0.0;
12783                inherit: "default" 0.0;
12784                visible: 1;
12785                color: 255 255 255 255;
12786                rel1 {
12787                   relative: 0.0 0.0;
12788                   offset: -2 -2;
12789                }
12790                rel2 {
12791                   relative: 1.0 1.0;
12792                   offset: 1 1;
12793                }
12794             }
12795          }
12796          part { name:          "elm.swallow.icon";
12797             type:          SWALLOW;
12798             description { state:    "default" 0.0;
12799                fixed: 1 0;
12800                align:    0.0 0.5;
12801                rel1 {
12802                   relative: 0.0  0.0;
12803                   offset:   4    4;
12804                }
12805                rel2 {
12806                   relative: 0.0  1.0;
12807                   offset:   4   -5;
12808                }
12809             }
12810          }
12811          part { name:          "elm.swallow.end";
12812             type:          SWALLOW;
12813             description { state:    "default" 0.0;
12814                fixed: 1 0;
12815                align:    1.0 0.5;
12816                rel1 {
12817                   relative: 1.0  0.0;
12818                   offset:   -5    4;
12819                }
12820                rel2 {
12821                   relative: 1.0  1.0;
12822                   offset:   -5   -5;
12823                }
12824             }
12825          }
12826          part {
12827             name:           "elm.text";
12828             type:           TEXT;
12829             effect:         SOFT_SHADOW;
12830             mouse_events:   0;
12831             scale: 1;
12832             description { state: "default" 0.0;
12833 //               min:      16 16;
12834                rel1 {
12835                   to_x:     "elm.swallow.icon";
12836                   relative: 1.0  0.0;
12837                   offset:   4 4;
12838                }
12839                rel2 {
12840                   to_x:     "elm.swallow.end";
12841                   relative: 0.0  1.0;
12842                   offset:   -1 -5;
12843                }
12844                color: 0 0 0 255;
12845                color3: 0 0 0 0;
12846                text {
12847                   font: "Sans";
12848                   size: 10;
12849 //                  min: 1 1;
12850                   min: 0 1;
12851                   align: 0.0 0.5;
12852                   text_class: "list_item";
12853                }
12854             }
12855             description { state: "selected" 0.0;
12856                inherit: "default" 0.0;
12857                color: 224 224 224 255;
12858                color3: 0 0 0 64;
12859             }
12860          }
12861          part { name: "fg1";
12862             mouse_events: 0;
12863             description { state: "default" 0.0;
12864                visible: 0;
12865                color: 255 255 255 0;
12866                rel1.to: "bg";
12867                rel2.relative: 1.0 0.5;
12868                rel2.to: "bg";
12869                image {
12870                   normal: "bt_sm_hilight.png";
12871                   border: 6 6 6 0;
12872                }
12873             }
12874             description { state: "selected" 0.0;
12875                inherit: "default" 0.0;
12876                visible: 1;
12877                color: 255 255 255 255;
12878             }
12879          }
12880          part { name: "fg2";
12881             mouse_events: 0;
12882             description { state: "default" 0.0;
12883                visible: 0;
12884                color: 255 255 255 0;
12885                rel1.to: "bg";
12886                rel2.to: "bg";
12887                image {
12888                   normal: "bt_sm_shine.png";
12889                   border: 6 6 6 0;
12890                }
12891             }
12892             description { state: "selected" 0.0;
12893                inherit: "default" 0.0;
12894                visible: 1;
12895                color: 255 255 255 255;
12896             }
12897          }
12898       }
12899       programs {
12900          program {
12901             name:    "go_active";
12902             signal:  "elm,state,selected";
12903             source:  "elm";
12904             action:  STATE_SET "selected" 0.0;
12905             target:  "bg";
12906             target:  "fg1";
12907             target:  "fg2";
12908             target:  "elm.text";
12909          }
12910          program {
12911             name:    "go_passive";
12912             signal:  "elm,state,unselected";
12913             source:  "elm";
12914             action:  STATE_SET "default" 0.0;
12915             target:  "bg";
12916             target:  "fg1";
12917             target:  "fg2";
12918             target:  "elm.text";
12919             transition: LINEAR 0.1;
12920          }
12921       }
12922    }
12923    group { name: "elm/list/item_compress_odd/default";
12924       data.item: "stacking" "below";
12925       data.item: "selectraise" "on";
12926       images {
12927          image: "bt_sm_base1.png" COMP;
12928          image: "bt_sm_shine.png" COMP;
12929          image: "bt_sm_hilight.png" COMP;
12930          image: "ilist_2.png" COMP;
12931       }
12932       parts {
12933          part {
12934             name:           "event";
12935             type:           RECT;
12936             repeat_events: 1;
12937             description {
12938                state: "default" 0.0;
12939                color: 0 0 0 0;
12940             }
12941          }
12942          part {
12943             name: "base";
12944             mouse_events: 0;
12945             description {
12946                state: "default" 0.0;
12947                image {
12948                   normal: "ilist_2.png";
12949                   border: 2 2 2 2;
12950                }
12951                fill.smooth: 0;
12952             }
12953          }
12954          part { name: "bg";
12955             mouse_events: 0;
12956             description { state: "default" 0.0;
12957                visible: 0;
12958                color: 255 255 255 0;
12959                rel1 {
12960                   relative: 0.0 0.0;
12961                   offset: -5 -5;
12962                }
12963                rel2 {
12964                   relative: 1.0 1.0;
12965                   offset: 4 4;
12966                }
12967                image {
12968                   normal: "bt_sm_base1.png";
12969                   border: 6 6 6 6;
12970                }
12971                image.middle: SOLID;
12972             }
12973             description { state: "selected" 0.0;
12974                inherit: "default" 0.0;
12975                visible: 1;
12976                color: 255 255 255 255;
12977                rel1 {
12978                   relative: 0.0 0.0;
12979                   offset: -2 -2;
12980                }
12981                rel2 {
12982                   relative: 1.0 1.0;
12983                   offset: 1 1;
12984                }
12985             }
12986          }
12987          part { name:          "elm.swallow.icon";
12988             type:          SWALLOW;
12989             description { state:    "default" 0.0;
12990                fixed: 1 0;
12991                align:    0.0 0.5;
12992                rel1 {
12993                   relative: 0.0  0.0;
12994                   offset:   4    4;
12995                }
12996                rel2 {
12997                   relative: 0.0  1.0;
12998                   offset:   4   -5;
12999                }
13000             }
13001          }
13002          part { name:          "elm.swallow.end";
13003             type:          SWALLOW;
13004             description { state:    "default" 0.0;
13005                fixed: 1 0;
13006                align:    1.0 0.5;
13007                rel1 {
13008                   relative: 1.0  0.0;
13009                   offset:   -5    4;
13010                }
13011                rel2 {
13012                   relative: 1.0  1.0;
13013                   offset:   -5   -5;
13014                }
13015             }
13016          }
13017          part {
13018             name:           "elm.text";
13019             type:           TEXT;
13020             effect:         SOFT_SHADOW;
13021             mouse_events:   0;
13022             scale: 1;
13023             description {
13024                state: "default" 0.0;
13025 //               min:      16 16;
13026                rel1 {
13027                   to_x:     "elm.swallow.icon";
13028                   relative: 1.0  0.0;
13029                   offset:   4 4;
13030                }
13031                rel2 {
13032                   to_x:     "elm.swallow.end";
13033                   relative: 0.0  1.0;
13034                   offset:   -1 -5;
13035                }
13036                color: 0 0 0 255;
13037                color3: 0 0 0 0;
13038                text {
13039                   font: "Sans";
13040                   size: 10;
13041 //                  min: 1 1;
13042                   min: 0 1;
13043                   align: 0.0 0.5;
13044                   text_class: "list_item";
13045                }
13046             }
13047             description { state: "selected" 0.0;
13048                inherit: "default" 0.0;
13049                color: 224 224 224 255;
13050                color3: 0 0 0 64;
13051             }
13052          }
13053          part { name: "fg1";
13054             mouse_events: 0;
13055             description { state: "default" 0.0;
13056                visible: 0;
13057                color: 255 255 255 0;
13058                rel1.to: "bg";
13059                rel2.relative: 1.0 0.5;
13060                rel2.to: "bg";
13061                image {
13062                   normal: "bt_sm_hilight.png";
13063                   border: 6 6 6 0;
13064                }
13065             }
13066             description { state: "selected" 0.0;
13067                inherit: "default" 0.0;
13068                visible: 1;
13069                color: 255 255 255 255;
13070             }
13071          }
13072          part { name: "fg2";
13073             mouse_events: 0;
13074             description { state: "default" 0.0;
13075                visible: 0;
13076                color: 255 255 255 0;
13077                rel1.to: "bg";
13078                rel2.to: "bg";
13079                image {
13080                   normal: "bt_sm_shine.png";
13081                   border: 6 6 6 0;
13082                }
13083             }
13084             description { state: "selected" 0.0;
13085                inherit: "default" 0.0;
13086                visible: 1;
13087                color: 255 255 255 255;
13088             }
13089          }
13090       }
13091       programs {
13092          program {
13093             name:    "go_active";
13094             signal:  "elm,state,selected";
13095             source:  "elm";
13096             action:  STATE_SET "selected" 0.0;
13097             target:  "bg";
13098             target:  "fg1";
13099             target:  "fg2";
13100             target:  "elm.text";
13101          }
13102          program {
13103             name:    "go_passive";
13104             signal:  "elm,state,unselected";
13105             source:  "elm";
13106             action:  STATE_SET "default" 0.0;
13107             target:  "bg";
13108             target:  "fg1";
13109             target:  "fg2";
13110             target:  "elm.text";
13111             transition: LINEAR 0.1;
13112          }
13113       }
13114    }
13115
13116 ///////////////////////////////////////////////////////////////////////////////
13117    group { name: "elm/list/h_item/default";
13118       data.item: "stacking" "above";
13119       images {
13120          image: "bt_sm_base1.png" COMP;
13121          image: "bt_sm_shine.png" COMP;
13122          image: "bt_sm_hilight.png" COMP;
13123          image: "ilist_1_h.png" COMP;
13124          image: "ilist_item_shadow_h.png" COMP;
13125       }
13126       parts {
13127          part {
13128             name: "event";
13129             type: RECT;
13130             repeat_events: 1;
13131             description {
13132                state: "default" 0.0;
13133                color: 0 0 0 0;
13134             }
13135          }
13136          part {
13137             name: "base_sh";
13138             mouse_events: 0;
13139             description {
13140                state: "default" 0.0;
13141                align: 0.0 0.0;
13142                min: 10 0;
13143                fixed: 1 1;
13144                rel1 {
13145                   to: "base";
13146                   relative: 1.0 0.0;
13147                   offset: 0 0;
13148                }
13149                rel2 {
13150                   to: "base";
13151                   relative: 1.0 1.0;
13152                   offset: 0 -1;
13153                }
13154                image {
13155                   normal: "ilist_item_shadow_h.png";
13156                }
13157                fill.smooth: 0;
13158             }
13159          }
13160          part {
13161             name: "base";
13162             mouse_events: 0;
13163             description {
13164                state: "default" 0.0;
13165                image {
13166                   normal: "ilist_1_h.png";
13167                   border: 2 2 2 2;
13168                }
13169                fill.smooth: 0;
13170             }
13171          }
13172          part { name: "bg";
13173             mouse_events: 0;
13174             description { state: "default" 0.0;
13175                visible: 0;
13176                color: 255 255 255 0;
13177                rel1 {
13178                   relative: 0.0 0.0;
13179                   offset: -5 -5;
13180                }
13181                rel2 {
13182                   relative: 1.0 1.0;
13183                   offset: 4 4;
13184                }
13185                image {
13186                   normal: "bt_sm_base1.png";
13187                   border: 6 6 6 6;
13188                }
13189                image.middle: SOLID;
13190             }
13191             description { state: "selected" 0.0;
13192                inherit: "default" 0.0;
13193                visible: 1;
13194                color: 255 255 255 255;
13195                rel1 {
13196                   relative: 0.0 0.0;
13197                   offset: -2 -2;
13198                }
13199                rel2 {
13200                   relative: 1.0 1.0;
13201                   offset: 1 1;
13202                }
13203             }
13204          }
13205          part { name: "elm.swallow.icon";
13206             type: SWALLOW;
13207             description { state: "default" 0.0;
13208                fixed: 0 1;
13209                align: 0.5 0.0;
13210                rel1 {
13211                   relative: 0.0 0.0;
13212                   offset: 4 4;
13213                }
13214                rel2 {
13215                   relative: 1.0 0.0;
13216                   offset: -5 4;
13217                }
13218             }
13219          }
13220          part { name: "elm.swallow.end";
13221             type: SWALLOW;
13222             description { state: "default" 0.0;
13223                fixed: 0 1;
13224                align: 0.5 1.0;
13225                rel1 {
13226                   relative: 0.0 1.0;
13227                   offset: 4 -5;
13228                }
13229                rel2 {
13230                   relative: 1.0 1.0;
13231                   offset: -5 -5;
13232                }
13233             }
13234          }
13235          part { name: "elm.text";
13236             type: TEXT;
13237             effect: SOFT_SHADOW;
13238             mouse_events: 0;
13239             scale: 1;
13240             description {
13241                state: "default" 0.0;
13242                fixed: 0 1;
13243                rel1 {
13244                   to_x: "elm.swallow.icon";
13245                   relative: 0.0 1.0;
13246                   offset: 4 4;
13247                }
13248                rel2 {
13249                   to_x: "elm.swallow.end";
13250                   relative: 1.0 0.0;
13251                   offset: -5 -1;
13252                }
13253                color: 0 0 0 255;
13254                color3: 0 0 0 0;
13255                text {
13256                   font: "Sans";
13257                   size: 10;
13258                   min: 1 1;
13259                   align: 0.5 0.5;
13260                   text_class: "list_item";
13261                }
13262             }
13263             description { state: "selected" 0.0;
13264                inherit: "default" 0.0;
13265                color: 224 224 224 255;
13266                color3: 0 0 0 64;
13267             }
13268          }
13269          part { name: "fg1";
13270             mouse_events: 0;
13271             description { state: "default" 0.0;
13272                visible: 0;
13273                color: 255 255 255 0;
13274                rel1.to: "bg";
13275                rel2.relative: 1.0 0.5;
13276                rel2.to: "bg";
13277                image {
13278                   normal: "bt_sm_hilight.png";
13279                   border: 6 6 6 0;
13280                }
13281             }
13282             description { state: "selected" 0.0;
13283                inherit: "default" 0.0;
13284                visible: 1;
13285                color: 255 255 255 255;
13286             }
13287          }
13288          part { name: "fg2";
13289             mouse_events: 0;
13290             description { state: "default" 0.0;
13291                visible: 0;
13292                color: 255 255 255 0;
13293                rel1.to: "bg";
13294                rel2.to: "bg";
13295                image {
13296                   normal: "bt_sm_shine.png";
13297                   border: 6 6 6 0;
13298                }
13299             }
13300             description { state: "selected" 0.0;
13301                inherit: "default" 0.0;
13302                visible: 1;
13303                color: 255 255 255 255;
13304             }
13305          }
13306       }
13307       programs {
13308          program {
13309             name: "go_active";
13310             signal: "elm,state,selected";
13311             source: "elm";
13312             action: STATE_SET "selected" 0.0;
13313             target: "bg";
13314             target: "fg1";
13315             target: "fg2";
13316             target: "elm.text";
13317          }
13318          program {
13319             name: "go_passive";
13320             signal: "elm,state,unselected";
13321             source: "elm";
13322             action: STATE_SET "default" 0.0;
13323             target: "bg";
13324             target: "fg1";
13325             target: "fg2";
13326             target: "elm.text";
13327             transition: LINEAR 0.1;
13328          }
13329       }
13330    }
13331    group { name: "elm/list/h_item_odd/default";
13332       data.item: "stacking" "below";
13333       data.item: "selectraise" "on";
13334       images {
13335          image: "bt_sm_base1.png" COMP;
13336          image: "bt_sm_shine.png" COMP;
13337          image: "bt_sm_hilight.png" COMP;
13338          image: "ilist_2_h.png" COMP;
13339       }
13340       parts {
13341          part {
13342             name: "event";
13343             type: RECT;
13344             repeat_events: 1;
13345             description {
13346                state: "default" 0.0;
13347                color: 0 0 0 0;
13348             }
13349          }
13350          part {
13351             name: "base";
13352             mouse_events: 0;
13353             description {
13354                state: "default" 0.0;
13355                image {
13356                   normal: "ilist_2_h.png";
13357                   border: 2 2 2 2;
13358                }
13359                fill.smooth: 0;
13360             }
13361          }
13362          part { name: "bg";
13363             mouse_events: 0;
13364             description { state: "default" 0.0;
13365                visible: 0;
13366                color: 255 255 255 0;
13367                rel1 {
13368                   relative: 0.0 0.0;
13369                   offset: -5 -5;
13370                }
13371                rel2 {
13372                   relative: 1.0 1.0;
13373                   offset: 4 4;
13374                }
13375                image {
13376                   normal: "bt_sm_base1.png";
13377                   border: 6 6 6 6;
13378                }
13379                image.middle: SOLID;
13380             }
13381             description { state: "selected" 0.0;
13382                inherit: "default" 0.0;
13383                visible: 1;
13384                color: 255 255 255 255;
13385                rel1 {
13386                   relative: 0.0 0.0;
13387                   offset: -2 -2;
13388                }
13389                rel2 {
13390                   relative: 1.0 1.0;
13391                   offset: 1 1;
13392                }
13393             }
13394          }
13395          part {
13396             name: "elm.swallow.icon";
13397             type: SWALLOW;
13398             description { state: "default" 0.0;
13399                fixed: 0 1;
13400                align: 0.5 0.0;
13401                rel1 {
13402                   relative: 0.0 0.0;
13403                   offset: 4 4;
13404                }
13405                rel2 {
13406                   relative: 1.0 0.0;
13407                   offset: -5 4;
13408                }
13409             }
13410          }
13411          part {
13412             name: "elm.swallow.end";
13413             type: SWALLOW;
13414             description { state: "default" 0.0;
13415                fixed: 0 1;
13416                align: 0.5 1.0;
13417                rel1 {
13418                   relative: 0.0 1.0;
13419                   offset: 4 -5;
13420                }
13421                rel2 {
13422                   relative: 1.0 1.0;
13423                   offset: -5 -5;
13424                }
13425             }
13426          }
13427          part { name: "elm.text";
13428             type: TEXT;
13429             effect: SOFT_SHADOW;
13430             mouse_events: 0;
13431             scale: 1;
13432             description {
13433                state: "default" 0.0;
13434                fixed: 1 1;
13435                rel1 {
13436                   to_x: "elm.swallow.icon";
13437                   relative: 0.0 1.0;
13438                   offset: 4 4;
13439                }
13440                rel2 {
13441                   to_x: "elm.swallow.end";
13442                   relative: 1.0 0.0;
13443                   offset: -5 -1;
13444                }
13445                color: 0 0 0 255;
13446                color3: 0 0 0 0;
13447                text {
13448                   font: "Sans";
13449                   size: 10;
13450                   min: 1 1;
13451                   align: 0.5 0.5;
13452                   text_class: "list_item";
13453                }
13454             }
13455             description { state: "selected" 0.0;
13456                inherit: "default" 0.0;
13457                color: 224 224 224 255;
13458                color3: 0 0 0 64;
13459             }
13460          }
13461          part { name: "fg1";
13462             mouse_events: 0;
13463             description { state: "default" 0.0;
13464                visible: 0;
13465                color: 255 255 255 0;
13466                rel1.to: "bg";
13467                rel2.relative: 1.0 0.5;
13468                rel2.to: "bg";
13469                image {
13470                   normal: "bt_sm_hilight.png";
13471                   border: 6 6 6 0;
13472                }
13473             }
13474             description { state: "selected" 0.0;
13475                inherit: "default" 0.0;
13476                visible: 1;
13477                color: 255 255 255 255;
13478             }
13479          }
13480          part { name: "fg2";
13481             mouse_events: 0;
13482             description { state: "default" 0.0;
13483                visible: 0;
13484                color: 255 255 255 0;
13485                rel1.to: "bg";
13486                rel2.to: "bg";
13487                image {
13488                   normal: "bt_sm_shine.png";
13489                   border: 6 6 6 0;
13490                }
13491             }
13492             description { state: "selected" 0.0;
13493                inherit: "default" 0.0;
13494                visible: 1;
13495                color: 255 255 255 255;
13496             }
13497          }
13498       }
13499       programs {
13500          program {
13501             name: "go_active";
13502             signal: "elm,state,selected";
13503             source: "elm";
13504             action: STATE_SET "selected" 0.0;
13505             target: "bg";
13506             target: "fg1";
13507             target: "fg2";
13508             target: "elm.text";
13509          }
13510          program {
13511             name: "go_passive";
13512             signal: "elm,state,unselected";
13513             source: "elm";
13514             action: STATE_SET "default" 0.0;
13515             target: "bg";
13516             target: "fg1";
13517             target: "fg2";
13518             target: "elm.text";
13519             transition: LINEAR 0.1;
13520          }
13521       }
13522    }
13523    group { name: "elm/list/h_item_compress/default";
13524       data.item: "stacking" "above";
13525       data.item: "selectraise" "on";
13526       images {
13527          image: "bt_sm_base1.png" COMP;
13528          image: "bt_sm_shine.png" COMP;
13529          image: "bt_sm_hilight.png" COMP;
13530          image: "ilist_1_h.png" COMP;
13531          image: "ilist_item_shadow_h.png" COMP;
13532       }
13533       parts {
13534          part {
13535             name: "event";
13536             type: RECT;
13537             repeat_events: 1;
13538             description {
13539                state: "default" 0.0;
13540                color: 0 0 0 0;
13541             }
13542          }
13543          part {
13544             name: "base_sh";
13545             mouse_events: 0;
13546             description { state: "default" 0.0;
13547                fixed: 1 1;
13548                align: 0.0 0.0;
13549                min: 10 0;
13550                rel1 {
13551                   to: "base";
13552                   relative: 1.0 0.0;
13553                   offset: 0 0;
13554                }
13555                rel2 {
13556                   to: "base";
13557                   relative: 1.0 1.0;
13558                   offset: 0 -1;
13559                }
13560                image {
13561                   normal: "ilist_item_shadow_h.png";
13562                }
13563                fill.smooth: 0;
13564             }
13565          }
13566          part {
13567             name: "base";
13568             mouse_events: 0;
13569             description {
13570                state: "default" 0.0;
13571                image {
13572                   normal: "ilist_1_h.png";
13573                   border: 2 2 2 2;
13574                }
13575                fill.smooth: 0;
13576             }
13577          }
13578          part { name: "bg";
13579             mouse_events: 0;
13580             description { state: "default" 0.0;
13581                visible: 0;
13582                color: 255 255 255 0;
13583                rel1 {
13584                   relative: 0.0 0.0;
13585                   offset: -5 -5;
13586                }
13587                rel2 {
13588                   relative: 1.0 1.0;
13589                   offset: 4 4;
13590                }
13591                image {
13592                   normal: "bt_sm_base1.png";
13593                   border: 6 6 6 6;
13594                }
13595                image.middle: SOLID;
13596             }
13597             description { state: "selected" 0.0;
13598                inherit: "default" 0.0;
13599                visible: 1;
13600                color: 255 255 255 255;
13601                rel1 {
13602                   relative: 0.0 0.0;
13603                   offset: -2 -2;
13604                }
13605                rel2 {
13606                   relative: 1.0 1.0;
13607                   offset: 1 1;
13608                }
13609             }
13610          }
13611          part { name: "elm.swallow.icon";
13612             type: SWALLOW;
13613             description { state: "default" 0.0;
13614                fixed: 0 1;
13615                align: 0.5 0.0;
13616                rel1 {
13617                   relative: 0.0 0.0;
13618                   offset: 4 4;
13619                }
13620                rel2 {
13621                   relative: 1.0 0.0;
13622                   offset: -5 4;
13623                }
13624             }
13625          }
13626          part { name: "elm.swallow.end";
13627             type: SWALLOW;
13628             description { state: "default" 0.0;
13629                fixed: 0 1;
13630                align: 0.5 1.0;
13631                rel1 {
13632                   relative: 0.0 1.0;
13633                   offset: 4 -5;
13634                }
13635                rel2 {
13636                   relative: 1.0 1.0;
13637                   offset: -5 -5;
13638                }
13639             }
13640          }
13641          part {
13642             name: "elm.text";
13643             type: TEXT;
13644             effect: SOFT_SHADOW;
13645             mouse_events: 0;
13646             scale: 1;
13647             description { state: "default" 0.0;
13648                fixed: 1 1;
13649                rel1 {
13650                   to_x: "elm.swallow.icon";
13651                   relative: 0.0 1.0;
13652                   offset: 4 4;
13653                }
13654                rel2 {
13655                   to_x: "elm.swallow.end";
13656                   relative: 1.0 0.0;
13657                   offset: -5 -1;
13658                }
13659                color: 0 0 0 255;
13660                color3: 0 0 0 0;
13661                text {
13662                   font: "Sans";
13663                   size: 10;
13664                   min: 1 1;
13665                   align: 0.5 0.5;
13666                   text_class: "list_item";
13667                }
13668             }
13669             description { state: "selected" 0.0;
13670                inherit: "default" 0.0;
13671                color: 224 224 224 255;
13672                color3: 0 0 0 64;
13673             }
13674          }
13675          part { name: "fg1";
13676             mouse_events: 0;
13677             description { state: "default" 0.0;
13678                visible: 0;
13679                color: 255 255 255 0;
13680                rel1.to: "bg";
13681                rel2.relative: 1.0 0.5;
13682                rel2.to: "bg";
13683                image {
13684                   normal: "bt_sm_hilight.png";
13685                   border: 6 6 6 0;
13686                }
13687             }
13688             description { state: "selected" 0.0;
13689                inherit: "default" 0.0;
13690                visible: 1;
13691                color: 255 255 255 255;
13692             }
13693          }
13694          part { name: "fg2";
13695             mouse_events: 0;
13696             description { state: "default" 0.0;
13697                visible: 0;
13698                color: 255 255 255 0;
13699                rel1.to: "bg";
13700                rel2.to: "bg";
13701                image {
13702                   normal: "bt_sm_shine.png";
13703                   border: 6 6 6 0;
13704                }
13705             }
13706             description { state: "selected" 0.0;
13707                inherit: "default" 0.0;
13708                visible: 1;
13709                color: 255 255 255 255;
13710             }
13711          }
13712       }
13713       programs {
13714          program {
13715             name: "go_active";
13716             signal: "elm,state,selected";
13717             source: "elm";
13718             action: STATE_SET "selected" 0.0;
13719             target: "bg";
13720             target: "fg1";
13721             target: "fg2";
13722             target: "elm.text";
13723          }
13724          program {
13725             name: "go_passive";
13726             signal: "elm,state,unselected";
13727             source: "elm";
13728             action: STATE_SET "default" 0.0;
13729             target: "bg";
13730             target: "fg1";
13731             target: "fg2";
13732             target: "elm.text";
13733             transition: LINEAR 0.1;
13734          }
13735       }
13736    }
13737    group { name: "elm/list/h_item_compress_odd/default";
13738       data.item: "stacking" "below";
13739       data.item: "selectraise" "on";
13740       images {
13741          image: "bt_sm_base1.png" COMP;
13742          image: "bt_sm_shine.png" COMP;
13743          image: "bt_sm_hilight.png" COMP;
13744          image: "ilist_2_h.png" COMP;
13745       }
13746       parts {
13747          part {
13748             name: "event";
13749             type: RECT;
13750             repeat_events: 1;
13751             description {
13752                state: "default" 0.0;
13753                color: 0 0 0 0;
13754             }
13755          }
13756          part {
13757             name: "base";
13758             mouse_events: 0;
13759             description {
13760                state: "default" 0.0;
13761                image {
13762                   normal: "ilist_2_h.png";
13763                   border: 2 2 2 2;
13764                }
13765                fill.smooth: 0;
13766             }
13767          }
13768          part { name: "bg";
13769             mouse_events: 0;
13770             description { state: "default" 0.0;
13771                visible: 0;
13772                color: 255 255 255 0;
13773                rel1 {
13774                   relative: 0.0 0.0;
13775                   offset: -5 -5;
13776                }
13777                rel2 {
13778                   relative: 1.0 1.0;
13779                   offset: 4 4;
13780                }
13781                image {
13782                   normal: "bt_sm_base1.png";
13783                   border: 6 6 6 6;
13784                }
13785                image.middle: SOLID;
13786             }
13787             description { state: "selected" 0.0;
13788                inherit: "default" 0.0;
13789                visible: 1;
13790                color: 255 255 255 255;
13791                rel1 {
13792                   relative: 0.0 0.0;
13793                   offset: -2 -2;
13794                }
13795                rel2 {
13796                   relative: 1.0 1.0;
13797                   offset: 1 1;
13798                }
13799             }
13800          }
13801          part { name: "elm.swallow.icon";
13802             type: SWALLOW;
13803             description { state: "default" 0.0;
13804                fixed: 0 1;
13805                align: 0.5 0.0;
13806                rel1 {
13807                   relative: 0.0 0.0;
13808                   offset: 4 4;
13809                }
13810                rel2 {
13811                   relative: 1.0 0.0;
13812                   offset: -5 4;
13813                }
13814             }
13815          }
13816          part { name: "elm.swallow.end";
13817             type: SWALLOW;
13818             description { state: "default" 0.0;
13819                fixed: 0 1;
13820                align: 0.5 1.0;
13821                rel1 {
13822                   relative: 0.0 1.0;
13823                   offset: 4 -5;
13824                }
13825                rel2 {
13826                   relative: 1.0 1.0;
13827                   offset: -5 -5;
13828                }
13829             }
13830          }
13831          part { name: "elm.text";
13832             type: TEXT;
13833             effect: SOFT_SHADOW;
13834             mouse_events: 0;
13835             scale: 1;
13836             description {
13837                state: "default" 0.0;
13838                fixed: 1 1;
13839                rel1 {
13840                   to_x: "elm.swallow.icon";
13841                   relative: 0.0 1.0;
13842                   offset: 4 4;
13843                }
13844                rel2 {
13845                   to_x: "elm.swallow.end";
13846                   relative: 1.0 0.0;
13847                   offset: -5 -1;
13848                }
13849                color: 0 0 0 255;
13850                color3: 0 0 0 0;
13851                text {
13852                   font: "Sans";
13853                   size: 10;
13854                   min: 1 1;
13855                   align: 0.5 0.5;
13856                   text_class: "list_item";
13857                }
13858             }
13859             description { state: "selected" 0.0;
13860                inherit: "default" 0.0;
13861                color: 224 224 224 255;
13862                color3: 0 0 0 64;
13863             }
13864          }
13865          part { name: "fg1";
13866             mouse_events: 0;
13867             description { state: "default" 0.0;
13868                visible: 0;
13869                color: 255 255 255 0;
13870                rel1.to: "bg";
13871                rel2.relative: 1.0 0.5;
13872                rel2.to: "bg";
13873                image {
13874                   normal: "bt_sm_hilight.png";
13875                   border: 6 6 6 0;
13876                }
13877             }
13878             description { state: "selected" 0.0;
13879                inherit: "default" 0.0;
13880                visible: 1;
13881                color: 255 255 255 255;
13882             }
13883          }
13884          part { name: "fg2";
13885             mouse_events: 0;
13886             description { state: "default" 0.0;
13887                visible: 0;
13888                color: 255 255 255 0;
13889                rel1.to: "bg";
13890                rel2.to: "bg";
13891                image {
13892                   normal: "bt_sm_shine.png";
13893                   border: 6 6 6 0;
13894                }
13895             }
13896             description { state: "selected" 0.0;
13897                inherit: "default" 0.0;
13898                visible: 1;
13899                color: 255 255 255 255;
13900             }
13901          }
13902       }
13903       programs {
13904          program {
13905             name: "go_active";
13906             signal: "elm,state,selected";
13907             source: "elm";
13908             action: STATE_SET "selected" 0.0;
13909             target: "bg";
13910             target: "fg1";
13911             target: "fg2";
13912             target: "elm.text";
13913          }
13914          program {
13915             name: "go_passive";
13916             signal: "elm,state,unselected";
13917             source: "elm";
13918             action: STATE_SET "default" 0.0;
13919             target: "bg";
13920             target: "fg1";
13921             target: "fg2";
13922             target: "elm.text";
13923             transition: LINEAR 0.1;
13924          }
13925       }
13926    }
13927
13928 ///////////////////////////////////////////////////////////////////////////////
13929    group { name: "elm/slider/horizontal/default";
13930            alias: "elm/slider/horizontal/disabled";
13931       images {
13932          image: "sl_bg.png" COMP;
13933          image: "sl_bg_over.png" COMP;
13934
13935          image: "sl_units.png" COMP;
13936       }
13937       parts {
13938          part { name: "base";
13939             mouse_events: 0;
13940             description { state: "default" 0.0;
13941                max: 99999 6;
13942                min: 0 6;
13943                rel1 { to: "bg";
13944                   offset: 1 0;
13945                }
13946                rel2 { to: "bg";
13947                   offset: -2 -1;
13948                }
13949                image.normal: "sl_bg.png";
13950                fill.smooth: 0;
13951             }
13952          }
13953          part { name: "level";
13954             type: RECT;
13955             mouse_events: 0;
13956             description { state: "default" 0.0;
13957                fixed: 1 1;
13958                rel1.to: "base";
13959                rel2 {
13960                   to_y: "base";
13961                   to_x: "elm.dragable.slider";
13962                   relative: 0.5 1.0;
13963                }
13964                color: 255 0 0 200;
13965             }
13966             description { state: "inverted" 0.0;
13967                inherit: "default" 0.0;
13968                visible: 0;
13969             }
13970             description { state: "disabled" 0.0;
13971                inherit: "default" 0.0;
13972                color: 255 0 0 100;
13973             }
13974             description { state: "disabled_inverted" 0.0;
13975                inherit: "default" 0.0;
13976                visible: 0;
13977             }
13978          }
13979          part { name: "level2";
13980             type: RECT;
13981             mouse_events: 0;
13982             description { state: "default" 0.0;
13983                fixed: 1 1;
13984                visible: 0;
13985                rel1 {
13986                   to_y: "base";
13987                   to_x: "elm.dragable.slider";
13988                   relative: 0.5 0.0;
13989                }
13990                rel2.to: "base";
13991                color: 255 0 0 200;
13992             }
13993             description { state: "inverted" 0.0;
13994                inherit: "default" 0.0;
13995                visible: 1;
13996             }
13997             description { state: "disabled" 0.0;
13998                inherit: "default" 0.0;
13999             }
14000             description { state: "disabled_inverted" 0.0;
14001                inherit: "default" 0.0;
14002                color: 255 0 0 100;
14003                visible: 1;
14004             }
14005          }
14006          part {
14007             name: "base_over";
14008             mouse_events: 0;
14009             description { state: "default" 0.0;
14010                rel1.to: "base";
14011                rel1.offset: -1 -1;
14012                rel2.to: "base";
14013                rel2.offset: 0 0;
14014                image {
14015                   normal: "sl_bg_over.png";
14016                   border: 3 3 3 3;
14017                }
14018                fill.smooth: 0;
14019             }
14020          }
14021          part { name: "bg";
14022             type: RECT;
14023             mouse_events: 0;
14024             scale: 1;
14025             description { state: "default" 0.0;
14026                visible: 0;
14027                rel1.to: "elm.swallow.bar";
14028                rel2.to: "elm.swallow.bar";
14029                color: 0 0 0 0;
14030             }
14031          }
14032          part { name: "elm.swallow.bar";
14033             type: SWALLOW;
14034             scale: 1;
14035             description { state: "default" 0.0;
14036                min: 48 24;
14037                max: 99999 24;
14038                align: 1.0 0.5;
14039                rel1 {
14040                   to_x: "elm.text";
14041                   relative: 1.0 0.0;
14042                   offset: 8 0;
14043                }
14044                rel2 {
14045                   to_x: "elm.units";
14046                   relative: 0.0 1.0;
14047                   offset: -10 -1;
14048                }
14049             }
14050          }
14051          part { name: "elm.swallow.icon";
14052             type: SWALLOW;
14053             description { state: "default" 0.0;
14054                visible: 0;
14055                align: 0.0 0.5;
14056                rel1 {
14057                   offset: 4 0;
14058                   to_y: "elm.swallow.bar";
14059                }
14060                rel2 {
14061                   offset: 3 -1;
14062                   relative: 0.0 1.0;
14063                   to_y: "elm.swallow.bar";
14064                }
14065             }
14066             description { state: "visible" 0.0;
14067                inherit: "default" 0.0;
14068                visible: 1;
14069                aspect: 1.0 1.0;
14070                aspect_preference: VERTICAL;
14071                rel2.offset: 4 -1;
14072             }
14073          }
14074          part { name: "elm.text";
14075             type: TEXT;
14076             mouse_events: 0;
14077             scale: 1;
14078             description { state: "default" 0.0;
14079                visible: 0;
14080                fixed: 1 1;
14081                align: 0.0 0.5;
14082                rel1.to_x: "elm.swallow.icon";
14083                rel1.relative: 1.0 0.0;
14084                rel1.offset: -1 4;
14085                rel2.to_x: "elm.swallow.icon";
14086                rel2.relative: 1.0 1.0;
14087                rel2.offset: -1 -5;
14088                color: 0 0 0 255;
14089                text {
14090                   font: "Sans,Edje-Vera";
14091                   size: 10;
14092                   min: 0 0;
14093                   align: 0.0 0.5;
14094                }
14095             }
14096             description { state: "visible" 0.0;
14097                inherit: "default" 0.0;
14098                visible: 1;
14099                text.min: 1 1;
14100                rel1.offset: 0 4;
14101                rel2.offset: 0 -5;
14102             }
14103             description { state: "disabled" 0.0;
14104                inherit: "default" 0.0;
14105                color: 255 128 128 128;
14106                visible: 0;
14107             }
14108             description { state: "disabled_visible" 0.0;
14109                inherit: "default" 0.0;
14110                color: 0 0 0 128;
14111                color3: 0 0 0 0;
14112                visible: 1;
14113                text.min: 1 1;
14114             }
14115          }
14116          part {
14117             name: "elm.swallow.end";
14118             type: SWALLOW;
14119             description {
14120                state: "default" 0.0;
14121                visible: 0;
14122                align: 1.0 0.5;
14123                rel1 {
14124                   offset: -4 0;
14125                   relative: 1.0 0.0;
14126                   to_y: "elm.swallow.bar";
14127                }
14128                rel2 {
14129                   offset: -3 -1;
14130                   to_y: "elm.swallow.bar";
14131                }
14132             }
14133             description { state: "visible" 0.0;
14134                inherit: "default" 0.0;
14135                visible: 1;
14136                aspect: 1.0 1.0;
14137                aspect_preference: VERTICAL;
14138                rel2.offset: -4 -1;
14139             }
14140          }
14141          part { name: "units";
14142             mouse_events: 0;
14143             description { state: "default" 0.0;
14144                visible: 0;
14145                rel1 {
14146                   to_x: "elm.units";
14147                   offset: 0 5;
14148                }
14149                rel2 {
14150                   to_x: "elm.units";
14151                   offset: 5 -3;
14152                }
14153                image {
14154                   normal: "sl_units.png";
14155                   border: 0 5 3 8;
14156                }
14157                fill.smooth: 0;
14158             }
14159             description { state: "visible" 0.0;
14160                inherit: "default" 0.0;
14161                visible: 1;
14162             }
14163          }
14164          part { name: "elm.units";
14165             type: TEXT;
14166             mouse_events: 0;
14167             scale: 1;
14168             description { state: "default" 0.0;
14169                visible: 0;
14170                fixed: 1 1;
14171                align: 1.0 0.5;
14172                rel1.to_x: "elm.swallow.end";
14173                rel1.relative: 0.0 0.0;
14174                rel1.offset: 0 8;
14175                rel2.to_x: "elm.swallow.end";
14176                rel2.relative: 0.0 1.0;
14177                rel2.offset: 0 -9;
14178                color: 0 0 0 255;
14179                text {
14180                   font: "Sans,Edje-Vera";
14181                   size: 10;
14182                   min: 0 0;
14183                   align: 0.0 0.5;
14184                }
14185             }
14186             description { state: "visible" 0.0;
14187                inherit: "default" 0.0;
14188                fixed: 1 1;
14189                visible: 1;
14190                text.min: 1 1;
14191                rel1.offset: -5 0;
14192                rel2.offset: -5 -1;
14193             }
14194             description { state: "disabled" 0.0;
14195                inherit: "default" 0.0;
14196                color: 255 128 128 128;
14197                visible: 0;
14198             }
14199             description { state: "disabled_visible" 0.0;
14200                inherit: "default" 0.0;
14201                color: 0 0 0 128;
14202                color3: 0 0 0 0;
14203                visible: 1;
14204                text.min: 1 1;
14205             }
14206          }
14207          part { name: "elm.dragable.slider";
14208             type: GROUP;
14209             source: "elm/slider/horizontal/indicator/default";
14210             mouse_events: 1;
14211             repeat_events: 1;
14212             scale: 1;
14213             dragable {
14214                x: 1 1 0;
14215                y: 0 0 0;
14216                confine: "bg";
14217             }
14218             description { state: "default" 0.0;
14219                min: 0 24;
14220                max: 0 24;
14221                fixed: 1 1;
14222                rel1 {
14223                   relative: 0.5 0.0;
14224                   to_x: "bg";
14225                }
14226                rel2 {
14227                   relative: 0.5 1.0;
14228                   to_x: "bg";
14229                }
14230                color: 255 0 0 100;
14231             }
14232          }
14233           part { name: "disabler";
14234             type: RECT;
14235             description { state: "default" 0.0;
14236                color: 0 0 0 0;
14237                visible: 0;
14238             }
14239             description { state: "disabled" 0.0;
14240                inherit: "default" 0.0;
14241                visible: 1;
14242             }
14243          }
14244       }
14245       programs {
14246          program { name: "text_show";
14247             signal: "elm,state,text,visible";
14248             source: "elm";
14249             action:  STATE_SET "visible" 0.0;
14250             target: "elm.text";
14251          }
14252          program { name: "text_hide";
14253             signal: "elm,state,text,hidden";
14254             source: "elm";
14255             action:  STATE_SET "default" 0.0;
14256             target: "elm.text";
14257          }
14258          program { name: "icon_show";
14259             signal: "elm,state,icon,visible";
14260             source: "elm";
14261             action:  STATE_SET "visible" 0.0;
14262             target: "elm.swallow.icon";
14263          }
14264          program { name: "icon_hide";
14265             signal: "elm,state,icon,hidden";
14266             source: "elm";
14267             action:  STATE_SET "default" 0.0;
14268             target: "elm.swallow.icon";
14269          }
14270           program { name: "end_show";
14271             signal: "elm,state,end,visible";
14272             source: "elm";
14273             action:  STATE_SET "visible" 0.0;
14274             target: "elm.swallow.end";
14275          }
14276          program { name: "end_hide";
14277             signal: "elm,state,end,hidden";
14278             source: "elm";
14279             action:  STATE_SET "default" 0.0;
14280             target: "elm.swallow.end";
14281          }
14282          program { name: "units_show";
14283             signal: "elm,state,units,visible";
14284             source: "elm";
14285             action:  STATE_SET "visible" 0.0;
14286             target: "elm.units";
14287             target: "units";
14288          }
14289          program { name: "units_hide";
14290             signal: "elm,state,units,hidden";
14291             source: "elm";
14292             action:  STATE_SET "default" 0.0;
14293             target: "elm.units";
14294             target: "units";
14295          }
14296          program { name: "invert_on";
14297             signal: "elm,state,inverted,on";
14298             source: "elm";
14299             action:  STATE_SET "inverted" 0.0;
14300             target: "level";
14301             target: "level2";
14302          }
14303          program { name: "invert_off";
14304             signal: "elm,state,inverted,off";
14305             source: "elm";
14306             action:  STATE_SET "default" 0.0;
14307             target: "level";
14308             target: "level2";
14309          }
14310          program {
14311             name:    "go_disabled";
14312             signal:  "elm,state,disabled";
14313             source:  "elm";
14314             action:  STATE_SET "disabled" 0.0;
14315 //            target: "button0";
14316             target: "disabler";
14317             after: "disable_text";
14318          }
14319          program { name: "disable_text";
14320             script {
14321                new st[31];
14322                new Float:vl;
14323                get_state(PART:"elm.text", st, 30, vl);
14324                if (!strcmp(st, "visible"))
14325                   set_state(PART:"elm.text", "disabled_visible", 0.0);
14326                else
14327                   set_state(PART:"elm.text", "disabled", 0.0);
14328
14329                get_state(PART:"elm.units", st, 30, vl);
14330                if (!strcmp(st, "visible"))
14331                   set_state(PART:"elm.units", "disabled_visible", 0.0);
14332                else
14333                   set_state(PART:"elm.units", "disabled", 0.0);
14334
14335                get_state(PART:"level2", st, 30, vl);
14336                if (!strcmp(st, "inverted"))
14337                {
14338                   set_state(PART:"level", "disabled_inverted", 0.0);
14339                   set_state(PART:"level2", "disabled_inverted", 0.0);
14340                }
14341                else
14342                {
14343                   set_state(PART:"level", "disabled", 0.0);
14344                   set_state(PART:"level2", "disabled", 0.0);
14345                }
14346             }
14347          }
14348          program { name: "enable";
14349             signal: "elm,state,enabled";
14350             source: "elm";
14351             action: STATE_SET "default" 0.0;
14352 //            target: "button0";
14353             target: "disabler";
14354             after: "enable_text";
14355          }
14356          program { name: "enable_text";
14357             script {
14358                new st[31];
14359                new Float:vl;
14360                get_state(PART:"elm.text", st, 30, vl);
14361                if (!strcmp(st, "disabled_visible"))
14362                   set_state(PART:"elm.text", "visible", 0.0);
14363                else
14364                   set_state(PART:"elm.text", "default", 0.0);
14365
14366                get_state(PART:"elm.units", st, 30, vl);
14367                if (!strcmp(st, "disabled_visible"))
14368                   set_state(PART:"elm.units", "visible", 0.0);
14369                else
14370                   set_state(PART:"elm.units", "default", 0.0);
14371
14372                get_state(PART:"level2", st, 30, vl);
14373                if (!strcmp(st, "disabled_inverted"))
14374                {
14375                   set_state(PART:"level", "inverted", 0.0);
14376                   set_state(PART:"level2", "inverted", 0.0);
14377                }
14378                else
14379                {
14380                   set_state(PART:"level", "default", 0.0);
14381                   set_state(PART:"level2", "default", 0.0);
14382                }
14383             }
14384          }
14385       }
14386    }
14387
14388    group { name: "elm/slider/vertical/default";
14389       images {
14390          image: "slv_bg.png" COMP;
14391          image: "slv_bg_over.png" COMP;
14392
14393          image: "slv_units.png" COMP;
14394       }
14395       parts {
14396          part { name: "base";
14397             mouse_events: 0;
14398             description { state: "default" 0.0;
14399                max: 6 99999;
14400                min: 6 0;
14401                rel1 { to: "bg";
14402                   offset: 1 0;
14403                }
14404                rel2 { to: "bg";
14405                   offset: -2 -1;
14406                }
14407                image.normal: "slv_bg.png";
14408                fill.smooth: 0;
14409             }
14410          }
14411          part { name: "level";
14412             type: RECT;
14413             mouse_events: 0;
14414             description { state: "default" 0.0;
14415                fixed: 1 1;
14416                rel1.to: "base";
14417                rel2 {
14418                   to_x: "base";
14419                   to_y: "elm.dragable.slider";
14420                   relative: 1.0 0.5;
14421                }
14422                color: 255 0 0 200;
14423             }
14424             description { state: "inverted" 0.0;
14425                inherit: "default" 0.0;
14426                visible: 0;
14427             }
14428             description { state: "disabled" 0.0;
14429                inherit: "default" 0.0;
14430                color: 255 0 0 100;
14431             }
14432             description { state: "disabled_inverted" 0.0;
14433                inherit: "default" 0.0;
14434                visible: 0;
14435             }
14436          }
14437          part { name: "level2";
14438             type: RECT;
14439             mouse_events: 0;
14440             description { state: "default" 0.0;
14441                fixed: 1 1;
14442                visible: 0;
14443                rel1 {
14444                   to_x: "base";
14445                   to_y: "elm.dragable.slider";
14446                   relative: 0.0 0.5;
14447                }
14448                rel2.to: "base";
14449                color: 255 0 0 200;
14450             }
14451             description { state: "inverted" 0.0;
14452                inherit: "default" 0.0;
14453                visible: 1;
14454             }
14455             description { state: "disabled" 0.0;
14456                inherit: "default" 0.0;
14457                color: 255 0 0 100;
14458             }
14459             description { state: "disabled_inverted" 0.0;
14460                inherit: "default" 0.0;
14461                color: 255 0 0 100;
14462                visible: 1;
14463             }
14464          }
14465          part {
14466             name: "base_over";
14467             mouse_events: 0;
14468             description { state: "default" 0.0;
14469                rel1.to: "base";
14470                rel1.offset: -1 -1;
14471                rel2.to: "base";
14472                rel2.offset: 0 0;
14473                image {
14474                   normal: "slv_bg_over.png";
14475                   border: 3 3 3 3;
14476                }
14477                fill.smooth: 0;
14478             }
14479          }
14480          part { name: "bg";
14481             type: RECT;
14482             mouse_events: 0;
14483             scale: 1;
14484             description { state: "default" 0.0;
14485                visible: 0;
14486                rel1.to: "elm.swallow.bar";
14487                rel2.to: "elm.swallow.bar";
14488                color: 0 0 0 0;
14489             }
14490          }
14491          part { name: "elm.swallow.bar";
14492             type: SWALLOW;
14493             scale: 1;
14494             description { state: "default" 0.0;
14495                min: 24 48;
14496                max: 24 9999;
14497                align: 0.5 1.0;
14498                rel1 {
14499                   to_y: "elm.text";
14500                   relative: 0.0 1.0;
14501                   offset: 0 10;
14502                }
14503                rel2 {
14504                   to_y: "elm.units";
14505                   relative: 1.0 0.0;
14506                   offset: -1 -8;
14507                }
14508             }
14509          }
14510          part { name: "elm.swallow.icon";
14511             type: SWALLOW;
14512             description { state: "default" 0.0;
14513                visible: 0;
14514                align: 0.5 0.0;
14515                rel1 {
14516                   offset: 0 4;
14517                   to_x: "elm.swallow.bar";
14518                }
14519                rel2 {
14520                   offset: -1 3;
14521                   relative: 1.0 0.0;
14522                   to_x: "elm.swallow.bar";
14523                }
14524             }
14525             description { state: "visible" 0.0;
14526                inherit: "default" 0.0;
14527                visible: 1;
14528                aspect: 1.0 1.0;
14529                aspect_preference: HORIZONTAL;
14530                rel2.offset: -1 4;
14531             }
14532          }
14533          part { name: "elm.text";
14534             type: TEXT;
14535             mouse_events: 0;
14536             scale: 1;
14537             description { state: "default" 0.0;
14538                visible: 0;
14539                fixed: 0 1;
14540                align: 0.5 0.0;
14541                rel1.to_y: "elm.swallow.icon";
14542                rel1.relative: 0.0 1.0;
14543                rel1.offset: 0 -1;
14544                rel2.to_y: "elm.swallow.icon";
14545                rel2.relative: 1.0 1.0;
14546                rel2.offset: -1 -1;
14547                color: 0 0 0 255;
14548                text {
14549                   font: "Sans,Edje-Vera";
14550                   size: 10;
14551                   min: 0 0;
14552                   align: 0.5 0.0;
14553                }
14554             }
14555             description { state: "visible" 0.0;
14556                inherit: "default" 0.0;
14557                visible: 1;
14558                text.min: 1 1;
14559                rel1.offset: 4 0;
14560                rel2.offset: -5 0;
14561             }
14562             description { state: "disabled" 0.0;
14563                inherit: "default" 0.0;
14564                color: 255 128 128 128;
14565                visible: 0;
14566             }
14567             description { state: "disabled_visible" 0.0;
14568                inherit: "default" 0.0;
14569                color: 0 0 0 128;
14570                color3: 0 0 0 0;
14571                visible: 1;
14572                text.min: 1 1;
14573             }
14574          }
14575          part {
14576             name: "elm.swallow.end";
14577             type: SWALLOW;
14578             description {
14579                state: "default" 0.0;
14580                visible: 0;
14581                align: 0.5 1.0;
14582                rel1 {
14583                   offset: 0 -4;
14584                   relative: 0.0 1.0;
14585                   to_x: "elm.swallow.bar";
14586                }
14587                rel2 {
14588                   offset: -1 -3;
14589                   to_x: "elm.swallow.bar";
14590                }
14591             }
14592             description { state: "visible" 0.0;
14593                inherit: "default" 0.0;
14594                visible: 1;
14595                aspect: 1.0 1.0;
14596                aspect_preference: HORIZONTAL;
14597                rel2.offset: -1 -4;
14598             }
14599          }
14600          part { name: "units";
14601             mouse_events: 0;
14602             description { state: "default" 0.0;
14603                visible: 0;
14604                rel1 {
14605                   to: "elm.units";
14606                   offset: -8 0;
14607                }
14608                rel2 {
14609                   to: "elm.units";
14610                   offset: 7 8;
14611                }
14612                image {
14613                   normal: "slv_units.png";
14614                   border: 8 8 0 9;
14615                }
14616                fill.smooth: 0;
14617             }
14618             description { state: "visible" 0.0;
14619                inherit: "default" 0.0;
14620                visible: 1;
14621             }
14622          }
14623          part { name: "elm.units";
14624             type: TEXT;
14625             mouse_events: 0;
14626             scale: 1;
14627             description { state: "default" 0.0;
14628                visible: 0;
14629                fixed: 1 1;
14630                align: 0.5 1.0;
14631                rel1.relative: 0.0 0.0;
14632                rel1.to_y: "elm.swallow.end";
14633                rel1.offset: 8 0;
14634                rel2.relative: 1.0 0.0;
14635                rel2.to_y: "elm.swallow.end";
14636                rel2.offset: -9 0;
14637                color: 0 0 0 255;
14638                text {
14639                   font: "Sans,Edje-Vera";
14640                   size: 10;
14641                   min: 0 0;
14642                   align: 0.5 0.0;
14643                }
14644             }
14645             description { state: "visible" 0.0;
14646                inherit: "default" 0.0;
14647                fixed: 1 1;
14648                visible: 1;
14649                text.min: 1 1;
14650                rel1.offset: 8 -9;
14651                rel2.offset: -9 -9;
14652             }
14653             description { state: "disabled" 0.0;
14654                inherit: "default" 0.0;
14655                color:  0 0 0 128;
14656                color3: 0 0 0 0;
14657                visible: 0;
14658             }
14659             description { state: "disabled_visible" 0.0;
14660                inherit: "default" 0.0;
14661                fixed: 1 1;
14662                visible: 1;
14663                text.min: 1 1;
14664                rel1.offset: 8 -9;
14665                rel2.offset: -9 -9;
14666                color: 0 0 0 128;
14667                color3: 0 0 0 0;
14668             }
14669          }
14670          part { name: "elm.dragable.slider";
14671             type: GROUP;
14672             source: "elm/slider/vertical/indicator/default";
14673             mouse_events: 1;
14674             repeat_events: 1;
14675             scale: 1;
14676             dragable {
14677                x: 0 0 0;
14678                y: 1 1 0;
14679                confine: "bg";
14680             }
14681             description { state: "default" 0.0;
14682                min: 24 0;
14683                max: 24 0;
14684                fixed: 1 1;
14685                rel1 {
14686                   relative: 0.5  0.0;
14687                   to_y: "bg";
14688                }
14689                rel2 {
14690                   relative: 0.5  1.0;
14691                   to_y: "bg";
14692                }
14693                color: 0 0 0 0;
14694             }
14695          }
14696               part { name: "disabler";
14697                 type: RECT;
14698                 description { state: "default" 0.0;
14699                    color: 0 0 0 0;
14700                    visible: 0;
14701                 }
14702                 description { state: "disabled" 0.0;
14703                    inherit: "default" 0.0;
14704                    visible: 1;
14705                 }
14706              }
14707           }
14708
14709       programs {
14710          program { name: "text_show";
14711             signal: "elm,state,text,visible";
14712             source: "elm";
14713             action:  STATE_SET "visible" 0.0;
14714             target: "elm.text";
14715          }
14716          program { name: "text_hide";
14717             signal: "elm,state,text,hidden";
14718             source: "elm";
14719             action:  STATE_SET "default" 0.0;
14720             target: "elm.text";
14721          }
14722          program { name: "icon_show";
14723             signal: "elm,state,icon,visible";
14724             source: "elm";
14725             action:  STATE_SET "visible" 0.0;
14726             target: "elm.swallow.icon";
14727          }
14728          program { name: "icon_hide";
14729             signal: "elm,state,icon,hidden";
14730             source: "elm";
14731             action:  STATE_SET "default" 0.0;
14732             target: "elm.swallow.icon";
14733          }
14734          program { name: "end_show";
14735             signal: "elm,state,end,visible";
14736             source: "elm";
14737             action:  STATE_SET "visible" 0.0;
14738             target: "elm.swallow.end";
14739          }
14740          program { name: "end_hide";
14741             signal: "elm,state,end,hidden";
14742             source: "elm";
14743             action:  STATE_SET "default" 0.0;
14744             target: "elm.swallow.end";
14745          }
14746          program { name: "units_show";
14747             signal: "elm,state,units,visible";
14748             source: "elm";
14749             action:  STATE_SET "visible" 0.0;
14750             target: "elm.units";
14751             target: "units";
14752          }
14753          program { name: "units_hide";
14754             signal: "elm,state,units,hidden";
14755             source: "elm";
14756             action:  STATE_SET "default" 0.0;
14757             target: "elm.units";
14758             target: "units";
14759          }
14760          program { name: "invert_on";
14761             signal: "elm,state,inverted,on";
14762             source: "elm";
14763             action:  STATE_SET "inverted" 0.0;
14764             target: "level";
14765             target: "level2";
14766          }
14767          program { name: "invert_off";
14768             signal: "elm,state,inverted,off";
14769             source: "elm";
14770             action:  STATE_SET "default" 0.0;
14771             target: "level";
14772             target: "level2";
14773          }
14774          program {
14775             name:   "go_disabled";
14776             signal: "elm,state,disabled";
14777             source: "elm";
14778             action: STATE_SET "disabled" 0.0;
14779 //            target: "button0";
14780             target: "disabler";
14781             after: "disable_text";
14782          }
14783          program { name: "disable_text";
14784             script {
14785             new st[31];
14786             new Float:vl;
14787                get_state(PART:"elm.text", st, 30, vl);
14788                if (!strcmp(st, "visible"))
14789                   set_state(PART:"elm.text", "disabled_visible", 0.0);
14790                else
14791                   set_state(PART:"elm.text", "disabled", 0.0);
14792
14793                get_state(PART:"elm.units", st, 30, vl);
14794                if (!strcmp(st, "visible"))
14795                   set_state(PART:"elm.units", "disabled_visible", 0.0);
14796                else
14797                   set_state(PART:"elm.units", "disabled", 0.0);
14798
14799                get_state(PART:"level2", st, 30, vl);
14800                if (!strcmp(st, "inverted"))
14801                {
14802                   set_state(PART:"level", "disabled_inverted", 0.0);
14803                   set_state(PART:"level2", "disabled_inverted", 0.0);
14804                }
14805                else
14806                {
14807                   set_state(PART:"level", "disabled", 0.0);
14808                   set_state(PART:"level2", "disabled", 0.0);
14809                }
14810             }
14811          }
14812
14813          program { name: "enable";
14814             signal: "elm,state,enabled";
14815             source: "elm";
14816             action: STATE_SET "default" 0.0;
14817 //            target: "button0";
14818             target: "disabler";
14819             after: "enable_text";
14820          }
14821          program { name: "enable_text";
14822             script {
14823                new st[31];
14824                new Float:vl;
14825                get_state(PART:"elm.text", st, 30, vl);
14826                if (!strcmp(st, "disabled_visible"))
14827                   set_state(PART:"elm.text", "visible", 0.0);
14828                else
14829                   set_state(PART:"elm.text", "default", 0.0);
14830
14831                get_state(PART:"elm.units", st, 30, vl);
14832                if (!strcmp(st, "disabled_visible"))
14833                   set_state(PART:"elm.units", "visible", 0.0);
14834                else
14835                   set_state(PART:"elm.units", "default", 0.0);
14836
14837                get_state(PART:"level2", st, 30, vl);
14838                if (!strcmp(st, "disabled_inverted"))
14839                {
14840                   set_state(PART:"level", "inverted", 0.0);
14841                   set_state(PART:"level2", "inverted", 0.0);
14842                }
14843                else
14844                {
14845                   set_state(PART:"level", "default", 0.0);
14846                   set_state(PART:"level2", "default", 0.0);
14847                }
14848             }
14849          }
14850       }
14851    }
14852    group { name: "elm/slider/horizontal/indicator/default";
14853            alias: "elm/slider/horizontal/indicator/disabled";
14854            alias: "elm/slider/vertical/indicator/default";
14855            alias: "elm/slider/vertical/indicator/disabled";
14856       images {
14857          image: "sl_bt_0.png" COMP;
14858          image: "sl_bt_1.png" COMP;
14859          image: "sl_bt_2.png" COMP;
14860          image: "sl_bt_3.png" COMP;
14861          image: "sl_bt2_0_0.png" COMP;
14862          image: "sl_bt2_0_1.png" COMP;
14863          image: "sl_bt2_0_2.png" COMP;
14864          image: "sl_bt2_1.png" COMP;
14865          image: "sl_bt2_2.png" COMP;
14866       }
14867       script {
14868          public value_hide = 0;
14869          public set_value_show() {
14870             set_int(value_hide, 0);
14871          }
14872          public set_value_hide() {
14873             set_int(value_hide, 1);
14874          }
14875          public thumb_down() {
14876             if (get_int(value_hide) == 1) {
14877                set_state(PART:"elm.indicator", "default", 0.0);
14878                set_state(PART:"button3", "default", 0.0);
14879                set_state(PART:"button4", "default", 0.0);
14880                set_state(PART:"button5", "default", 0.0);
14881                set_state(PART:"button6", "default", 0.0);
14882                set_state(PART:"button7", "default", 0.0);
14883             } else {
14884                set_state(PART:"elm.indicator", "visible", 0.0);
14885                set_state(PART:"button3", "visible", 0.0);
14886                set_state(PART:"button4", "visible", 0.0);
14887                set_state(PART:"button5", "visible", 0.0);
14888                set_state(PART:"button6", "visible", 0.0);
14889                set_state(PART:"button7", "visible", 0.0);
14890             }
14891          }
14892          public thumb_up() {
14893             set_state(PART:"elm.indicator", "default", 0.0);
14894             set_state(PART:"button3", "default", 0.0);
14895             set_state(PART:"button4", "default", 0.0);
14896             set_state(PART:"button5", "default", 0.0);
14897             set_state(PART:"button6", "default", 0.0);
14898             set_state(PART:"button7", "default", 0.0);
14899          }
14900       }
14901       parts {
14902          part { name: "button_events";
14903             type: RECT;
14904             mouse_events: 1;
14905             description { state: "default" 0.0;
14906                fixed: 1 1;
14907                min: 16 16;
14908                aspect: 1.0 1.0;
14909                aspect_preference: VERTICAL;
14910                color: 0 0 0 0;
14911             }
14912          }
14913          part { name: "button0";
14914             mouse_events: 0;
14915             description { state: "default" 0.0;
14916                fixed: 1 1;
14917                max: 17 999;
14918                min: 17 24;
14919                image {
14920                   normal: "sl_bt_0.png";
14921                   border: 5 5 5 10;
14922                }
14923                fill.smooth: 0;
14924             }
14925             description { state: "disabled" 0.0;
14926                inherit: "default" 0.0;
14927                image {
14928                   normal: "sl_bt_3.png";
14929                   border: 5 5 5 10;
14930                }
14931             }
14932          }
14933          part { name: "button1";
14934             mouse_events: 0;
14935             description { state: "default" 0.0;
14936                rel1.to: "button0";
14937                rel2 {
14938                   to: "button0";
14939                   relative: 1.0 0.5;
14940                   offset: -1 -5;
14941                }
14942                image {
14943                   normal: "sl_bt_1.png";
14944                   border: 5 5 5 0;
14945                }
14946             }
14947          }
14948          part { name: "button2";
14949             mouse_events: 0;
14950             description { state: "default" 0.0;
14951                rel1.to: "button0";
14952                rel2.to: "button0";
14953                image {
14954                   normal: "sl_bt_2.png";
14955                   border: 5 5 5 10;
14956                }
14957                fill.smooth: 0;
14958             }
14959          }
14960          part { name: "button3";
14961             mouse_events: 0;
14962             description { state: "default" 0.0;
14963                fixed: 1 1;
14964                visible: 0;
14965                min: 8 32;
14966                align: 1.0 0.5;
14967                rel1 {
14968                   to_x: "elm.indicator";
14969                   to_y: "button4";
14970                   relative: 0.0 0.0;
14971                   offset: -7 0;
14972                }
14973                rel2 {
14974                   to: "button4";
14975                   relative: 0.0 1.0;
14976                   offset: -1 -1;
14977                }
14978                image {
14979                   normal: "sl_bt2_0_0.png";
14980                   border: 6 0 6 12;
14981                }
14982                fill.smooth: 0;
14983             }
14984             description { state: "visible" 0.0;
14985                inherit: "default" 0.0;
14986                visible: 1;
14987             }
14988          }
14989          part { name: "button4";
14990             mouse_events: 0;
14991             description { state: "default" 0.0;
14992                visible: 0;
14993                max: 15 999;
14994                min: 15 32;
14995                rel1 {
14996                   to_x: "button0";
14997                   to_y: "elm.indicator";
14998                   offset: 0 0;
14999                }
15000                rel2.to: "button0";
15001                image {
15002                   normal: "sl_bt2_0_1.png";
15003                   border: 0 0 6 12;
15004                }
15005                fill.smooth: 0;
15006             }
15007             description { state: "visible" 0.0;
15008                inherit: "default" 0.0;
15009                visible: 1;
15010             }
15011          }
15012          part { name: "button5";
15013             mouse_events: 0;
15014             description { state: "default" 0.0;
15015                fixed: 1 1;
15016                visible: 0;
15017                min: 8 32;
15018                align: 0.0 0.5;
15019                rel1 {
15020                   to: "button4";
15021                   relative: 1.0 0.0;
15022                   offset: 0 0;
15023                }
15024                rel2 {
15025                   to_x: "elm.indicator";
15026                   to_y: "button4";
15027                   relative: 1.0 1.0;
15028                   offset: 6 -1;
15029                }
15030                image {
15031                   normal: "sl_bt2_0_2.png";
15032                   border: 0 6 6 12;
15033                }
15034                fill.smooth: 0;
15035             }
15036             description { state: "visible" 0.0;
15037                inherit: "default" 0.0;
15038                visible: 1;
15039             }
15040          }
15041          part { name: "elm.indicator";
15042             type: TEXT;
15043             mouse_events: 0;
15044             effect: SOFT_SHADOW;
15045             scale: 1;
15046             description { state: "default" 0.0;
15047                visible: 0;
15048                fixed: 1 1;
15049                align: 0.5 1.0;
15050                rel1 {
15051                   to: "button0";
15052                   relative: 0.0 -0.25;
15053                   offset: 0 0;
15054                }
15055                rel2 {
15056                   to_x: "button0";
15057                   relative: 1.0 -0.25;
15058                   offset: -1 0;
15059                }
15060                color: 224 224 224 255;
15061                color3: 0 0 0 64;
15062                text {
15063                   font:     "Sans,Edje-Vera";
15064                   size:     10;
15065                   min:      0 0;
15066                   align:    0.5 0.5;
15067                }
15068             }
15069             description { state: "visible" 0.0;
15070                inherit: "default" 0.0;
15071                visible: 1;
15072                text.min: 1 1;
15073                rel1.offset: 0 -1;
15074                rel2.offset: -1 -1;
15075             }
15076          }
15077          part { name: "button6";
15078             mouse_events: 0;
15079             description { state: "default" 0.0;
15080                visible: 0;
15081                rel1.to: "button3";
15082                rel2 {
15083                   to: "button5";
15084                   relative: 1.0 0.3;
15085                   offset: -1 -1;
15086                }
15087                image {
15088                   normal: "sl_bt2_1.png";
15089                   border: 5 5 5 0;
15090                }
15091                fill.smooth: 0;
15092             }
15093             description { state: "visible" 0.0;
15094                inherit: "default" 0.0;
15095                visible: 1;
15096             }
15097          }
15098          part { name: "button7";
15099             mouse_events: 0;
15100             description { state: "default" 0.0;
15101                visible: 0;
15102                rel1.to: "button3";
15103                rel2.to: "button5";
15104                image {
15105                   normal: "sl_bt2_2.png";
15106                   border: 5 5 5 0;
15107                   middle: 0;
15108                }
15109                fill.smooth: 0;
15110             }
15111             description { state: "visible" 0.0;
15112                inherit: "default" 0.0;
15113                visible: 1;
15114             }
15115          }
15116       }
15117       programs {
15118          program { name: "set_val_show";
15119             signal: "elm,state,val,show";
15120             source: "elm";
15121             script {
15122                set_value_show();
15123             }
15124          }
15125          program { name: "set_val_hide";
15126             signal: "elm,state,val,hide";
15127             source: "elm";
15128             script {
15129                set_value_hide();
15130             }
15131          }
15132          program { name: "val_show";
15133             signal: "mouse,down,*";
15134             source: "button_events";
15135             script {
15136                thumb_down();
15137             }
15138
15139          }
15140          program { name: "val_hide";
15141             signal: "mouse,up,*";
15142             source: "button_events";
15143             script {
15144                thumb_up();
15145             }
15146          }
15147       }
15148    }
15149
15150
15151 ////////////////////////////////////////////////////////////////////////////////
15152 // actionslider
15153 ////////////////////////////////////////////////////////////////////////////////
15154    group { name: "elm/actionslider/base/default";
15155
15156       images {
15157          image: "shelf_inset.png" COMP;
15158          image: "ilist_1.png" COMP;
15159          image: "bt_bases.png" COMP;
15160          image: "bt_basew.png" COMP;
15161          image: "bt_hilightw.png" COMP;
15162       }
15163
15164       parts {
15165          part {
15166             name: "base";
15167             mouse_events: 0;
15168             description {
15169                state: "default" 0.0;
15170                min: 75 25;
15171                rel1.offset: 1 1;
15172                rel2.offset: -2 -2;
15173                image {
15174                   normal: "ilist_1.png";
15175                   border: 2 2 2 2;
15176                }
15177                fill.smooth: 0;
15178             }
15179          }
15180          part { name: "conf_over";
15181             mouse_events:  0;
15182             description { state: "default" 0.0;
15183                rel1.to: "base";
15184                rel2.to: "base";
15185                image {
15186                   normal: "shelf_inset.png";
15187                   border: 7 7 7 7;
15188                   middle: 0;
15189                }
15190                fill.smooth : 0;
15191             }
15192          }
15193          part { name: "icon.dragable.area";
15194            type: RECT;
15195             mouse_events: 0;
15196             description { state: "default" 0.0;
15197                visible: 0;
15198                rel1.to: "base";
15199                rel2.to: "base";
15200             }
15201          }
15202          part { name: "elm.text.left";
15203             type: TEXT;
15204             mouse_events: 0;
15205             scale: 1;
15206             description { state: "default" 0.0;
15207                color: 0 0 0 255;
15208                text {
15209                   font: "Sans,Edje-Vera";
15210                   size: 10;
15211                   align: 0.05 0.5;
15212                   min: 1 1;
15213                }
15214             }
15215          }
15216          part { name: "elm.text.center";
15217             type: TEXT;
15218             mouse_events: 0;
15219             scale: 1;
15220             description { state: "default" 0.0;
15221                color: 0 0 0 255;
15222                text {
15223                   font: "Sans,Edje-Vera";
15224                   size: 10;
15225                   align: 0.5 0.5;
15226                   min: 1 1;
15227                }
15228             }
15229          }
15230          part { name: "elm.text.right";
15231             type: TEXT;
15232             mouse_events: 0;
15233             scale: 1;
15234             description { state: "default" 0.0;
15235                color: 0 0 0 255;
15236                text {
15237                   font: "Sans,Edje-Vera";
15238                   size: 10;
15239                   align: 0.95 0.5;
15240                   min: 1 1;
15241                }
15242             }
15243          }
15244          part { name: "elm.drag_button_base";
15245             type: SWALLOW;
15246             mouse_events: 0;
15247             scale: 1;
15248             description { state: "default" 0.0;
15249                fixed: 1 1;
15250                min: 50 25;
15251                align: 0.5 0.5;
15252                rel1.to: "icon.dragable.area";
15253                rel2 {
15254                   relative: 0.0 1.0;
15255                   to: "icon.dragable.area";
15256                }
15257             }
15258             dragable {
15259                confine: "icon.dragable.area";
15260                x: 1 1 0;
15261                y: 0 0 0;
15262             }
15263          }
15264          part { name: "elm.drag_button";
15265             type: RECT;
15266             mouse_events: 1;
15267             description { state: "default" 0.0;
15268                min: 50 25;
15269                color: 255 255 255 0;
15270                rel1.to_x: "elm.drag_button_base";
15271                rel1.to_y: "icon.dragable.area";
15272                rel2.to_x: "elm.drag_button_base";
15273                rel2.to_y: "icon.dragable.area";
15274             }
15275             dragable {
15276                events: "elm.drag_button_base";
15277             }
15278          }
15279          part { name: "button0";
15280             mouse_events: 0;
15281             description { state: "default" 0.0;
15282                rel1.to: "button2";
15283                rel1.offset: -4 -4;
15284                rel2.to: "button2";
15285                rel2.offset: 3 3;
15286                image {
15287                   normal: "bt_bases.png";
15288                   border: 11 11 11 11;
15289                   middle: SOLID;
15290                }
15291                color: 255 255 255 128;
15292             }
15293          }
15294          part { name: "button2";
15295             mouse_events: 0;
15296             description { state: "default" 0.0;
15297                rel1.to: "elm.drag_button";
15298                rel2.to: "elm.drag_button";
15299                image {
15300                   normal: "bt_basew.png";
15301                   border: 7 7 7 7;
15302                   middle: SOLID;
15303                }
15304                color: 255 255 255 210;
15305             }
15306          }
15307          part { name: "button3";
15308             mouse_events: 0;
15309             description { state: "default" 0.0;
15310                rel1.to: "button2";
15311                rel2.to: "button2";
15312                rel2.relative: 1.0 0.5;
15313                image {
15314                   normal: "bt_hilightw.png";
15315                   border: 4 4 4 0;
15316                }
15317                color: 255 255 255 190;
15318             }
15319          }
15320          part { name: "elm.text.indicator";
15321             type: TEXT;
15322             scale: 1;
15323             mouse_events: 0;
15324             description { state: "default" 0.0;
15325                rel1 {
15326                   to: "elm.drag_button";
15327                   offset: 5 0;
15328                }
15329                rel2 {
15330                   to: "elm.drag_button";
15331                   offset: -5 0;
15332                }
15333                color: 0 0 0 255;
15334                text {
15335                   font: "Sans,Edje-Vera";
15336                   size: 10;
15337                   align: 0.5 0.5;
15338                   min: 0 1;
15339                }
15340             }
15341          }
15342       }
15343       programs {
15344          program { name: "elm.drag_button,mouse,up";
15345             signal: "mouse,up,1";
15346             source: "elm.drag_button";
15347             action: SIGNAL_EMIT "elm.drag_button,mouse,up" "";
15348          }
15349          program { name: "elm.drag_button,mouse,down";
15350             signal: "mouse,down,1";
15351             source: "elm.drag_button";
15352             action: SIGNAL_EMIT "elm.drag_button,mouse,down" "";
15353          }
15354          program { name: "elm.drag_button,mouse,move";
15355             signal: "mouse,move";
15356             source: "elm.drag_button_base";
15357             action: SIGNAL_EMIT "elm.drag_button,mouse,move" "";
15358          }
15359       }
15360    }
15361
15362    group { name: "elm/actionslider/base/bar";
15363
15364       images {
15365          image: "shelf_inset.png" COMP;
15366          image: "ilist_1.png" COMP;
15367          image: "bt_bases.png" COMP;
15368          image: "bt_basew.png" COMP;
15369          image: "bt_hilightw.png" COMP;
15370       }
15371
15372       parts {
15373          part {
15374             name: "base";
15375             mouse_events: 0;
15376             description {
15377                state: "default" 0.0;
15378                min: 150 30;
15379                rel1.offset: 1 1;
15380                rel2.offset: -2 -2;
15381                image {
15382                   normal: "ilist_1.png";
15383                   border: 2 2 2 2;
15384                }
15385                fill.smooth: 0;
15386             }
15387          }
15388          part { name: "conf_over";
15389             mouse_events:  0;
15390             description { state: "default" 0.0;
15391                rel1.to: "base";
15392                rel2.to: "base";
15393                image {
15394                   normal: "shelf_inset.png";
15395                   border: 7 7 7 7;
15396                   middle: 0;
15397                }
15398                fill.smooth : 0;
15399             }
15400          }
15401          part { name: "icon.dragable.area";
15402            type: RECT;
15403             mouse_events: 0;
15404             description { state: "default" 0.0;
15405                visible: 0;
15406                rel1.to: "base";
15407                rel2.to: "base";
15408             }
15409          }
15410          part { name: "elm.text.left";
15411             type: TEXT;
15412             mouse_events: 0;
15413             scale: 1;
15414             description { state: "default" 0.0;
15415                color: 0 0 0 255;
15416                text {
15417                   font: "Sans,Edje-Vera";
15418                   size: 10;
15419                   align: 0.05 0.5;
15420                   min: 1 1;
15421                }
15422             }
15423          }
15424          part { name: "elm.text.center";
15425             type: TEXT;
15426             mouse_events: 0;
15427             scale: 1;
15428             description { state: "default" 0.0;
15429                color: 0 0 0 255;
15430                text {
15431                   font: "Sans,Edje-Vera";
15432                   size: 10;
15433                   align: 0.5 0.5;
15434                   min: 1 1;
15435                }
15436             }
15437          }
15438          part { name: "elm.text.right";
15439             type: TEXT;
15440             mouse_events: 0;
15441             scale: 1;
15442             description { state: "default" 0.0;
15443                color: 0 0 0 255;
15444                text {
15445                   font: "Sans,Edje-Vera";
15446                   size: 10;
15447                   align: 0.95 0.5;
15448                   min: 1 1;
15449                }
15450             }
15451          }
15452          part { name: "bar";
15453             type: RECT;
15454             mouse_events: 0;
15455             description { state: "default" 0.0;
15456                rel1.to: "base";
15457                rel1.offset: 0 2;
15458                rel2 {
15459                   relative: 0 1;
15460                   offset: 3 -3;
15461                   to_x: "elm.drag_button_base";
15462                   to_y: "base";
15463                }
15464                color: 0 0 0 180;
15465             }
15466          }
15467          part { name: "elm.drag_button_base";
15468             type: SWALLOW;
15469             mouse_events: 1;
15470             scale: 1;
15471             description { state: "default" 0.0;
15472                fixed: 1 1;
15473                min: 50 25;
15474                align: 0.5 0.5;
15475                rel1.to: "icon.dragable.area";
15476                rel2 {
15477                   relative: 0.0 1.0;
15478                   to: "icon.dragable.area";
15479                }
15480             }
15481             dragable {
15482                confine: "icon.dragable.area";
15483                x: 1 1 0;
15484                y: 0 0 0;
15485             }
15486          }
15487          part { name: "elm.drag_button";
15488             type: RECT;
15489             mouse_events: 1;
15490             description { state: "default" 0.0;
15491                min: 50 25;
15492                color: 255 255 255 0;
15493                rel1.to_x: "elm.drag_button_base";
15494                rel1.to_y: "icon.dragable.area";
15495                rel2.to_x: "elm.drag_button_base";
15496                rel2.to_y: "icon.dragable.area";
15497             }
15498             dragable {
15499                events: "elm.drag_button_base";
15500             }
15501          }
15502          part { name: "button0";
15503             mouse_events: 0;
15504             description { state: "default" 0.0;
15505                rel1.to: "button2";
15506                rel1.offset: -4 -4;
15507                rel2.to: "button2";
15508                rel2.offset: 3 3;
15509                image {
15510                   normal: "bt_bases.png";
15511                   border: 11 11 11 11;
15512                   middle: SOLID;
15513                }
15514                color: 255 255 255 128;
15515             }
15516          }
15517          part { name: "button2";
15518             mouse_events: 0;
15519             description { state: "default" 0.0;
15520                rel1.to: "elm.drag_button";
15521                rel2.to: "elm.drag_button";
15522                image {
15523                   normal: "bt_basew.png";
15524                   border: 7 7 7 7;
15525                   middle: SOLID;
15526                }
15527                color: 255 255 255 210;
15528             }
15529          }
15530          part { name: "button3";
15531             mouse_events: 0;
15532             description { state: "default" 0.0;
15533                rel1.to: "button2";
15534                rel2.to: "button2";
15535                rel2.relative: 1.0 0.5;
15536                image {
15537                   normal: "bt_hilightw.png";
15538                   border: 4 4 4 0;
15539                }
15540                color: 255 255 255 190;
15541             }
15542          }
15543          part { name: "elm.text.indicator";
15544             type: TEXT;
15545             scale: 1;
15546             mouse_events: 0;
15547             description { state: "default" 0.0;
15548                rel1 {
15549                   to: "elm.drag_button";
15550                   offset: 5 0;
15551                }
15552                rel2 {
15553                   to: "elm.drag_button";
15554                   offset: -5 0;
15555                }
15556                color: 0 0 0 255;
15557                text {
15558                   font: "Sans,Edje-Vera";
15559                   size: 10;
15560                   align: 0.5 0.5;
15561                   min: 0 1;
15562                }
15563             }
15564          }
15565       }
15566       programs {
15567          program { name: "elm.drag_button,mouse,up";
15568             signal: "mouse,up,1";
15569             source: "elm.drag_button";
15570             action: SIGNAL_EMIT "elm.drag_button,mouse,up" "";
15571          }
15572          program { name: "elm.drag_button,mouse,down";
15573             signal: "mouse,down,1";
15574             source: "elm.drag_button";
15575             action: SIGNAL_EMIT "elm.drag_button,mouse,down" "";
15576          }
15577          program { name: "elm.drag_button,mouse,move";
15578             signal: "mouse,move";
15579             source: "elm.drag_button_base";
15580             action: SIGNAL_EMIT "elm.drag_button,mouse,move" "";
15581          }
15582       }
15583    }
15584
15585 ///////////////////////////////////////////////////////////////////////////////
15586    group { name: "elm/genlist/item/default/default";
15587       data.item: "stacking" "above";
15588       data.item: "selectraise" "on";
15589       data.item: "labels" "elm.text";
15590       data.item: "icons" "elm.swallow.icon elm.swallow.end";
15591       data.item: "treesize" "20";
15592 //      data.item: "states" "";
15593       images {
15594          image: "bt_sm_base1.png" COMP;
15595          image: "bt_sm_shine.png" COMP;
15596          image: "bt_sm_hilight.png" COMP;
15597          image: "ilist_1.png" COMP;
15598          image: "ilist_item_shadow.png" COMP;
15599       }
15600       parts {
15601          part {
15602             name:           "event";
15603             type:           RECT;
15604             repeat_events: 1;
15605             description {
15606                state: "default" 0.0;
15607                color: 0 0 0 0;
15608             }
15609          }
15610          part {
15611             name: "base_sh";
15612             mouse_events: 0;
15613             description {
15614                state: "default" 0.0;
15615                align: 0.0 0.0;
15616                min: 0 10;
15617                fixed: 1 1;
15618                rel1 {
15619                   to: "base";
15620                   relative: 0.0 1.0;
15621                   offset: 0 0;
15622                }
15623                rel2 {
15624                   to: "base";
15625                   relative: 1.0 1.0;
15626                   offset: -1 0;
15627                }
15628                image {
15629                   normal: "ilist_item_shadow.png";
15630                }
15631                fill.smooth: 0;
15632             }
15633          }
15634          part {
15635             name: "base";
15636             mouse_events: 0;
15637             description {
15638                state: "default" 0.0;
15639                image {
15640                   normal: "ilist_1.png";
15641                   border: 2 2 2 2;
15642                }
15643                fill.smooth: 0;
15644             }
15645          }
15646          part { name: "bg";
15647             clip_to: "disclip";
15648             mouse_events: 0;
15649             description { state: "default" 0.0;
15650                visible: 0;
15651                color: 255 255 255 0;
15652                rel1 {
15653                   relative: 0.0 0.0;
15654                   offset: -5 -5;
15655                }
15656                rel2 {
15657                   relative: 1.0 1.0;
15658                   offset: 4 4;
15659                }
15660                image {
15661                   normal: "bt_sm_base1.png";
15662                   border: 6 6 6 6;
15663                }
15664                image.middle: SOLID;
15665             }
15666             description { state: "selected" 0.0;
15667                inherit: "default" 0.0;
15668                visible: 1;
15669                color: 255 255 255 255;
15670                rel1 {
15671                   relative: 0.0 0.0;
15672                   offset: -2 -2;
15673                }
15674                rel2 {
15675                   relative: 1.0 1.0;
15676                   offset: 1 1;
15677                }
15678             }
15679          }
15680          part { name: "elm.swallow.pad";
15681             type: SWALLOW;
15682             description { state: "default" 0.0;
15683                fixed: 1 0;
15684                align: 0.0 0.5;
15685                rel1 {
15686                   relative: 0.0  0.0;
15687                   offset:   4    4;
15688                }
15689                rel2 {
15690                   relative: 0.0  1.0;
15691                   offset:   4   -5;
15692                }
15693             }
15694          }
15695          part { name: "elm.swallow.icon";
15696             clip_to: "disclip";
15697             type: SWALLOW;
15698             description { state: "default" 0.0;
15699                fixed: 1 0;
15700                align: 0.0 0.5;
15701                rel1 {
15702                   to_x: "elm.swallow.pad";
15703                   relative: 1.0  0.0;
15704                   offset:   -1    4;
15705                }
15706                rel2 {
15707                   to_x: "elm.swallow.pad";
15708                   relative: 1.0  1.0;
15709                   offset:   -1   -5;
15710                }
15711             }
15712          }
15713          part { name: "elm.swallow.end";
15714             clip_to: "disclip";
15715             type: SWALLOW;
15716             description { state: "default" 0.0;
15717                fixed: 1 0;
15718                align: 1.0 0.5;
15719                aspect: 1.0 1.0;
15720                aspect_preference: VERTICAL;
15721                rel1 {
15722                   relative: 1.0  0.0;
15723                   offset:   -5    4;
15724                }
15725                rel2 {
15726                   relative: 1.0  1.0;
15727                   offset:   -5   -5;
15728                }
15729             }
15730          }
15731          part { name: "elm.text";
15732             clip_to: "disclip";
15733             type:           TEXT;
15734             effect:         SOFT_SHADOW;
15735             mouse_events:   0;
15736             scale: 1;
15737             description {
15738                state: "default" 0.0;
15739 //               min: 16 16;
15740                rel1 {
15741                   to_x:     "elm.swallow.icon";
15742                   relative: 1.0  0.0;
15743                   offset:   0 4;
15744                }
15745                rel2 {
15746                   to_x:     "elm.swallow.end";
15747                   relative: 0.0  1.0;
15748                   offset:   -1 -5;
15749                }
15750                color: 0 0 0 255;
15751                color3: 0 0 0 0;
15752                text {
15753                   font: "Sans";
15754                   size: 10;
15755                   min: 1 1;
15756 //                  min: 0 1;
15757                   align: 0.0 0.5;
15758                   text_class: "list_item";
15759                }
15760             }
15761             description { state: "selected" 0.0;
15762                inherit: "default" 0.0;
15763                color: 224 224 224 255;
15764                color3: 0 0 0 64;
15765             }
15766          }
15767          part { name: "fg1";
15768             clip_to: "disclip";
15769             mouse_events: 0;
15770             description { state: "default" 0.0;
15771                visible: 0;
15772                color: 255 255 255 0;
15773                rel1.to: "bg";
15774                rel2.relative: 1.0 0.5;
15775                rel2.to: "bg";
15776                image {
15777                   normal: "bt_sm_hilight.png";
15778                   border: 6 6 6 0;
15779                }
15780             }
15781             description { state: "selected" 0.0;
15782                inherit: "default" 0.0;
15783                visible: 1;
15784                color: 255 255 255 255;
15785             }
15786          }
15787          part { name: "fg2";
15788             clip_to: "disclip";
15789             mouse_events: 0;
15790             description { state: "default" 0.0;
15791                visible: 0;
15792                color: 255 255 255 0;
15793                rel1.to: "bg";
15794                rel2.to: "bg";
15795                image {
15796                   normal: "bt_sm_shine.png";
15797                   border: 6 6 6 0;
15798                }
15799             }
15800             description { state: "selected" 0.0;
15801                inherit: "default" 0.0;
15802                visible: 1;
15803                color: 255 255 255 255;
15804             }
15805          }
15806          part { name: "disclip";
15807             type: RECT;
15808             description { state: "default" 0.0;
15809                rel1.to: "bg";
15810                rel2.to: "bg";
15811             }
15812             description { state: "disabled" 0.0;
15813                inherit: "default" 0.0;
15814                color: 255 255 255 64;
15815             }
15816          }
15817       }
15818       programs {
15819          // signal: elm,state,%s,active
15820          //   a "check" item named %s went active
15821          // signal: elm,state,%s,passive
15822          //   a "check" item named %s went passive
15823          // default is passive
15824          program {
15825             name:    "go_active";
15826             signal:  "elm,state,selected";
15827             source:  "elm";
15828             action:  STATE_SET "selected" 0.0;
15829             target:  "bg";
15830             target:  "fg1";
15831             target:  "fg2";
15832             target:  "elm.text";
15833          }
15834          program {
15835             name:    "go_passive";
15836             signal:  "elm,state,unselected";
15837             source:  "elm";
15838             action:  STATE_SET "default" 0.0;
15839             target:  "bg";
15840             target:  "fg1";
15841             target:  "fg2";
15842             target:  "elm.text";
15843             transition: LINEAR 0.1;
15844          }
15845          program {
15846             name:    "go_disabled";
15847             signal:  "elm,state,disabled";
15848             source:  "elm";
15849             action:  STATE_SET "disabled" 0.0;
15850             target:  "disclip";
15851          }
15852          program {
15853             name:    "go_enabled";
15854             signal:  "elm,state,enabled";
15855             source:  "elm";
15856             action:  STATE_SET "default" 0.0;
15857             target:  "disclip";
15858          }
15859       }
15860    }
15861    group { name: "elm/genlist/item/group_index/default";
15862       alias: "elm/genlist/item_odd/group_index/default";
15863       data.item: "stacking" "above";
15864       data.item: "selectraise" "on";
15865       data.item: "labels" "elm.text";
15866       data.item: "icons" "elm.swallow.icon elm.swallow.end";
15867       data.item: "treesize" "20";
15868 //      data.item: "states" "";
15869       images {
15870          image: "bt_sm_base1.png" COMP;
15871          image: "bt_sm_shine.png" COMP;
15872          image: "bt_sm_hilight.png" COMP;
15873          image: "ilist_item_shadow.png" COMP;
15874          image: "group_index.png" COMP;
15875       }
15876       parts {
15877          part {
15878             name: "event";
15879             type: RECT;
15880             repeat_events: 0;
15881             description {
15882                state: "default" 0.0;
15883                color: 0 0 0 0;
15884             }
15885          }
15886          part {
15887             name: "base_sh";
15888             mouse_events: 0;
15889             description {
15890                state: "default" 0.0;
15891                align: 0.0 0.0;
15892                min: 0 10;
15893                fixed: 1 1;
15894                rel1 {
15895                   to: "base";
15896                   relative: 0.0 1.0;
15897                   offset: 0 0;
15898                }
15899                rel2 {
15900                   to: "base";
15901                   relative: 1.0 1.0;
15902                   offset: -1 0;
15903                }
15904                image {
15905                   normal: "ilist_item_shadow.png";
15906                }
15907                fill.smooth: 0;
15908             }
15909          }
15910          part {
15911             name: "base";
15912             mouse_events: 0;
15913             description {
15914                state: "default" 0.0;
15915                image {
15916                   normal: "group_index.png";
15917                   border: 2 2 2 2;
15918                }
15919                fill.smooth: 0;
15920             }
15921          }
15922          part { name: "bg";
15923             clip_to: "disclip";
15924             mouse_events: 0;
15925             description { state: "default" 0.0;
15926                visible: 0;
15927                color: 255 255 255 0;
15928                rel1 {
15929                   relative: 0.0 0.0;
15930                   offset: -5 -5;
15931                }
15932                rel2 {
15933                   relative: 1.0 1.0;
15934                   offset: 4 4;
15935                }
15936                image {
15937                   normal: "bt_sm_base1.png";
15938                   border: 6 6 6 6;
15939                }
15940                image.middle: SOLID;
15941             }
15942             description { state: "selected" 0.0;
15943                inherit: "default" 0.0;
15944                visible: 1;
15945                color: 255 255 255 255;
15946                rel1 {
15947                   relative: 0.0 0.0;
15948                   offset: -2 -2;
15949                }
15950                rel2 {
15951                   relative: 1.0 1.0;
15952                   offset: 1 1;
15953                }
15954             }
15955          }
15956          part { name: "elm.swallow.pad";
15957             type: SWALLOW;
15958             description { state: "default" 0.0;
15959                fixed: 1 0;
15960                align: 0.0 0.5;
15961                rel1 {
15962                   relative: 0.0  0.0;
15963                   offset: 4 4;
15964                }
15965                rel2 {
15966                   relative: 0.0  1.0;
15967                   offset: 4 -5;
15968                }
15969             }
15970          }
15971          part { name: "elm.swallow.icon";
15972             clip_to: "disclip";
15973             type: SWALLOW;
15974             description { state: "default" 0.0;
15975                fixed: 1 0;
15976                align: 0.0 0.5;
15977                rel1 {
15978                   to_x: "elm.swallow.pad";
15979                   relative: 1.0 0.0;
15980                   offset: -1 4;
15981                }
15982                rel2 {
15983                   to_x: "elm.swallow.pad";
15984                   relative: 1.0 1.0;
15985                   offset: -1 -5;
15986                }
15987             }
15988          }
15989          part { name: "elm.swallow.end";
15990             clip_to: "disclip";
15991             type: SWALLOW;
15992             description { state: "default" 0.0;
15993                fixed: 1 0;
15994                align: 1.0 0.5;
15995                aspect: 1.0 1.0;
15996                aspect_preference: VERTICAL;
15997                rel1 {
15998                   relative: 1.0 0.0;
15999                   offset: -5 4;
16000                }
16001                rel2 {
16002                   relative: 1.0 1.0;
16003                   offset: -5 -5;
16004                }
16005             }
16006          }
16007          part { name: "elm.text";
16008             clip_to: "disclip";
16009             type: TEXT;
16010             effect: SOFT_SHADOW;
16011             mouse_events: 0;
16012             scale: 1;
16013             description {
16014                state: "default" 0.0;
16015 //               min: 16 16;
16016                rel1 {
16017                   to_x: "elm.swallow.icon";
16018                   relative: 1.0  0.0;
16019                   offset: 0 4;
16020                }
16021                rel2 {
16022                   to_x: "elm.swallow.end";
16023                   relative: 0.0  1.0;
16024                   offset: -1 -5;
16025                }
16026                color: 0 0 0 255;
16027                color3: 0 0 0 0;
16028                text {
16029                   font: "Sans";
16030                   size: 10;
16031                   min: 1 1;
16032 //                  min: 0 1;
16033                   align: -1.0 0.5;
16034                   text_class: "list_item";
16035                }
16036             }
16037             description { state: "selected" 0.0;
16038                inherit: "default" 0.0;
16039                color: 224 224 224 255;
16040                color3: 0 0 0 64;
16041             }
16042          }
16043          part { name: "fg1";
16044             clip_to: "disclip";
16045             mouse_events: 0;
16046             description { state: "default" 0.0;
16047                visible: 0;
16048                color: 255 255 255 0;
16049                rel1.to: "bg";
16050                rel2.relative: 1.0 0.5;
16051                rel2.to: "bg";
16052                image {
16053                   normal: "bt_sm_hilight.png";
16054                   border: 6 6 6 0;
16055                }
16056             }
16057             description { state: "selected" 0.0;
16058                inherit: "default" 0.0;
16059                visible: 1;
16060                color: 255 255 255 255;
16061             }
16062          }
16063          part { name: "fg2";
16064             clip_to: "disclip";
16065             mouse_events: 0;
16066             description { state: "default" 0.0;
16067                visible: 0;
16068                color: 255 255 255 0;
16069                rel1.to: "bg";
16070                rel2.to: "bg";
16071                image {
16072                   normal: "bt_sm_shine.png";
16073                   border: 6 6 6 0;
16074                }
16075             }
16076             description { state: "selected" 0.0;
16077                inherit: "default" 0.0;
16078                visible: 1;
16079                color: 255 255 255 255;
16080             }
16081          }
16082          part { name: "disclip";
16083             type: RECT;
16084             description { state: "default" 0.0;
16085                rel1.to: "bg";
16086                rel2.to: "bg";
16087             }
16088             description { state: "disabled" 0.0;
16089                inherit: "default" 0.0;
16090                color: 255 255 255 64;
16091             }
16092          }
16093       }
16094       programs {
16095          // signal: elm,state,%s,active
16096          //   a "check" item named %s went active
16097          // signal: elm,state,%s,passive
16098          //   a "check" item named %s went passive
16099          // default is passive
16100          program {
16101             name:    "go_active";
16102             signal:  "elm,state,selected";
16103             source:  "elm";
16104             action:  STATE_SET "selected" 0.0;
16105             target:  "bg";
16106             target:  "fg1";
16107             target:  "fg2";
16108             target:  "elm.text";
16109          }
16110          program {
16111             name:    "go_passive";
16112             signal:  "elm,state,unselected";
16113             source:  "elm";
16114             action:  STATE_SET "default" 0.0;
16115             target:  "bg";
16116             target:  "fg1";
16117             target:  "fg2";
16118             target:  "elm.text";
16119             transition: LINEAR 0.1;
16120          }
16121          program {
16122             name:    "go_disabled";
16123             signal:  "elm,state,disabled";
16124             source:  "elm";
16125             action:  STATE_SET "disabled" 0.0;
16126             target:  "disclip";
16127          }
16128          program {
16129             name:    "go_enabled";
16130             signal:  "elm,state,enabled";
16131             source:  "elm";
16132             action:  STATE_SET "default" 0.0;
16133             target:  "disclip";
16134          }
16135       }
16136    }
16137    group { name: "elm/genlist/item_compress/message/default";
16138       data.item: "stacking" "above";
16139       data.item: "selectraise" "on";
16140       data.item: "labels" "elm.title.1 elm.title.2 elm.text";
16141 //      data.item: "icons" "elm.swallow.icon elm.swallow.end";
16142       data.item: "treesize" "20";
16143 //      data.item: "states" "";
16144       images {
16145          image: "bt_sm_base1.png" COMP;
16146          image: "bt_sm_shine.png" COMP;
16147          image: "bt_sm_hilight.png" COMP;
16148          image: "ilist_1.png" COMP;
16149          image: "ilist_item_shadow.png" COMP;
16150       }
16151       styles {
16152         style { name: "genlist_textblock_style";
16153           base: "font=Sans font_size=10 color=#000 wrap=char text_class=list_item";
16154           tag:  "br" "\n";
16155           tag:  "ps" "ps";
16156           tag:  "tab" "\t";
16157         }
16158         style { name: "genlist_textblock_style2";
16159           base: "font=Sans font_size=10 color=#fff wrap=char text_class=list_item";
16160           tag:  "br" "\n";
16161           tag:  "ps" "ps";
16162           tag:  "tab" "\t";
16163         }
16164       }
16165      parts {
16166          part {
16167             name:           "event";
16168             type:           RECT;
16169             repeat_events: 1;
16170             description {
16171                state: "default" 0.0;
16172                color: 0 0 0 0;
16173             }
16174          }
16175          part {
16176             name: "base_sh";
16177             mouse_events: 0;
16178             description {
16179                state: "default" 0.0;
16180                align: 0.0 0.0;
16181                min: 0 10;
16182                fixed: 1 1;
16183                rel1 {
16184                   to: "base";
16185                   relative: 0.0 1.0;
16186                   offset: 0 0;
16187                }
16188                rel2 {
16189                   to: "base";
16190                   relative: 1.0 1.0;
16191                   offset: -1 0;
16192                }
16193                image {
16194                   normal: "ilist_item_shadow.png";
16195                }
16196                fill.smooth: 0;
16197             }
16198          }
16199          part {
16200             name: "base";
16201             mouse_events: 0;
16202             description {
16203                state: "default" 0.0;
16204                image {
16205                   normal: "ilist_1.png";
16206                   border: 2 2 2 2;
16207                }
16208                fill.smooth: 0;
16209             }
16210          }
16211          part { name: "bg";
16212             clip_to: "disclip";
16213             mouse_events: 0;
16214             description { state: "default" 0.0;
16215                visible: 0;
16216                color: 255 255 255 0;
16217                rel1 {
16218                   relative: 0.0 0.0;
16219                   offset: -5 -5;
16220                }
16221                rel2 {
16222                   relative: 1.0 1.0;
16223                   offset: 4 4;
16224                }
16225                image {
16226                   normal: "bt_sm_base1.png";
16227                   border: 6 6 6 6;
16228                }
16229                image.middle: SOLID;
16230             }
16231             description { state: "selected" 0.0;
16232                inherit: "default" 0.0;
16233                visible: 1;
16234                color: 255 255 255 255;
16235                rel1 {
16236                   relative: 0.0 0.0;
16237                   offset: -2 -2;
16238                }
16239                rel2 {
16240                   relative: 1.0 1.0;
16241                   offset: 1 1;
16242                }
16243             }
16244          }
16245          part { name: "elm.title.1";
16246             clip_to: "disclip";
16247             type:           TEXT;
16248             effect:         SOFT_SHADOW;
16249             mouse_events:   0;
16250             scale: 1;
16251             description {
16252                state: "default" 0.0;
16253                fixed: 0 1;
16254 //               min: 16 16;
16255                rel1 {
16256                   relative: 0.0  0.0;
16257                   offset:   4 4;
16258                }
16259                rel2 {
16260                   relative: 1.0  0.0;
16261                   offset:   -5 4;
16262                }
16263                color: 0 0 0 255;
16264                color3: 0 0 0 0;
16265                align: 0.0 0.0;
16266                text {
16267                   font: "Sans";
16268                   size: 10;
16269                   min: 0 1;
16270 //                  min: 1 1;
16271                   align: 0.0 0.0;
16272                   text_class: "list_item";
16273                }
16274             }
16275             description { state: "selected" 0.0;
16276                inherit: "default" 0.0;
16277                color: 224 224 224 255;
16278                color3: 0 0 0 64;
16279             }
16280          }
16281          part { name: "elm.title.2";
16282             clip_to: "disclip";
16283             type:           TEXT;
16284             effect:         SOFT_SHADOW;
16285             mouse_events:   0;
16286             scale: 1;
16287             description {
16288                state: "default" 0.0;
16289                fixed: 0 1;
16290 //               min: 16 16;
16291                rel1 {
16292                   to_y:     "elm.title.1";
16293                   relative: 0.0  1.0;
16294                   offset:   4 0;
16295                }
16296                rel2 {
16297                   to_y:     "elm.title.1";
16298                   relative: 1.0  1.0;
16299                   offset:   -5 0;
16300                }
16301                color: 0 0 0 255;
16302                color3: 0 0 0 0;
16303                align: 0.0 0.0;
16304                text {
16305                   font: "Sans";
16306                   size: 10;
16307                   min: 0 1;
16308 //                  min: 1 1;
16309                   align: 0.0 0.0;
16310                   text_class: "list_item";
16311                }
16312             }
16313             description { state: "selected" 0.0;
16314                inherit: "default" 0.0;
16315                color: 224 224 224 255;
16316                color3: 0 0 0 64;
16317             }
16318          }
16319          part { name: "elm.text";
16320             clip_to: "disclip";
16321             type:           TEXTBLOCK;
16322             mouse_events:   0;
16323             scale: 1;
16324             description {
16325                state: "default" 0.0;
16326 //               fixed: 0 1;
16327 //               min: 16 16;
16328                rel1 {
16329                   to_y:     "elm.title.2";
16330                   relative: 0.0  1.0;
16331                   offset:   4 0;
16332                }
16333                rel2 {
16334                   relative: 1.0  1.0;
16335                   offset:   -5 -5;
16336                }
16337                align: 0.0 0.0;
16338                text {
16339                   style: "genlist_textblock_style";
16340                   min: 0 1;
16341 //                  min: 1 1;
16342                   align: 0.0 0.0;
16343                }
16344             }
16345             description { state: "selected" 0.0;
16346                inherit: "default" 0.0;
16347                text {
16348                   style: "genlist_textblock_style2";
16349                }
16350             }
16351          }
16352          part { name: "fg1";
16353             clip_to: "disclip";
16354             mouse_events: 0;
16355             description { state: "default" 0.0;
16356                visible: 0;
16357                color: 255 255 255 0;
16358                rel1.to: "bg";
16359                rel2.relative: 1.0 0.5;
16360                rel2.to: "bg";
16361                image {
16362                   normal: "bt_sm_hilight.png";
16363                   border: 6 6 6 0;
16364                }
16365             }
16366             description { state: "selected" 0.0;
16367                inherit: "default" 0.0;
16368                visible: 1;
16369                color: 255 255 255 255;
16370             }
16371          }
16372          part { name: "fg2";
16373             clip_to: "disclip";
16374             mouse_events: 0;
16375             description { state: "default" 0.0;
16376                visible: 0;
16377                color: 255 255 255 0;
16378                rel1.to: "bg";
16379                rel2.to: "bg";
16380                image {
16381                   normal: "bt_sm_shine.png";
16382                   border: 6 6 6 0;
16383                }
16384             }
16385             description { state: "selected" 0.0;
16386                inherit: "default" 0.0;
16387                visible: 1;
16388                color: 255 255 255 255;
16389             }
16390          }
16391          part { name: "disclip";
16392             type: RECT;
16393             description { state: "default" 0.0;
16394                rel1.to: "bg";
16395                rel2.to: "bg";
16396             }
16397             description { state: "disabled" 0.0;
16398                inherit: "default" 0.0;
16399                color: 255 255 255 64;
16400             }
16401          }
16402       }
16403       programs {
16404          // signal: elm,state,%s,active
16405          //   a "check" item named %s went active
16406          // signal: elm,state,%s,passive
16407          //   a "check" item named %s went passive
16408          // default is passive
16409          program {
16410             name:    "go_active";
16411             signal:  "elm,state,selected";
16412             source:  "elm";
16413             action:  STATE_SET "selected" 0.0;
16414             target:  "bg";
16415             target:  "fg1";
16416             target:  "fg2";
16417             target:  "elm.title.1";
16418             target:  "elm.title.2";
16419             target:  "elm.text";
16420          }
16421          program {
16422             name:    "go_passive";
16423             signal:  "elm,state,unselected";
16424             source:  "elm";
16425             action:  STATE_SET "default" 0.0;
16426             target:  "bg";
16427             target:  "fg1";
16428             target:  "fg2";
16429             target:  "elm.title.1";
16430             target:  "elm.title.2";
16431             target:  "elm.text";
16432             transition: LINEAR 0.1;
16433          }
16434          program {
16435             name:    "go_disabled";
16436             signal:  "elm,state,disabled";
16437             source:  "elm";
16438             action:  STATE_SET "disabled" 0.0;
16439             target:  "disclip";
16440          }
16441          program {
16442             name:    "go_enabled";
16443             signal:  "elm,state,enabled";
16444             source:  "elm";
16445             action:  STATE_SET "default" 0.0;
16446             target:  "disclip";
16447          }
16448       }
16449    }
16450    group { name: "elm/genlist/item_compress_odd/message/default";
16451       data.item: "stacking" "below";
16452       data.item: "selectraise" "on";
16453       data.item: "labels" "elm.title.1 elm.title.2 elm.text";
16454 //      data.item: "icons" "elm.swallow.icon elm.swallow.end";
16455       data.item: "treesize" "20";
16456 //      data.item: "states" "";
16457       images {
16458          image: "bt_sm_base1.png" COMP;
16459          image: "bt_sm_shine.png" COMP;
16460          image: "bt_sm_hilight.png" COMP;
16461          image: "ilist_2.png" COMP;
16462       }
16463       parts {
16464          part { name: "event";
16465             type: RECT;
16466             repeat_events: 1;
16467             description {
16468                state: "default" 0.0;
16469                color: 0 0 0 0;
16470             }
16471          }
16472          part {
16473             name: "base";
16474             mouse_events: 0;
16475             description {
16476                state: "default" 0.0;
16477                image {
16478                   normal: "ilist_2.png";
16479                   border: 2 2 2 2;
16480                }
16481                fill.smooth: 0;
16482             }
16483          }
16484          part { name: "bg";
16485             clip_to: "disclip";
16486             mouse_events: 0;
16487             description { state: "default" 0.0;
16488                visible: 0;
16489                color: 255 255 255 0;
16490                rel1 {
16491                   relative: 0.0 0.0;
16492                   offset: -5 -5;
16493                }
16494                rel2 {
16495                   relative: 1.0 1.0;
16496                   offset: 4 4;
16497                }
16498                image {
16499                   normal: "bt_sm_base1.png";
16500                   border: 6 6 6 6;
16501                }
16502                image.middle: SOLID;
16503             }
16504             description { state: "selected" 0.0;
16505                inherit: "default" 0.0;
16506                visible: 1;
16507                color: 255 255 255 255;
16508                rel1 {
16509                   relative: 0.0 0.0;
16510                   offset: -2 -2;
16511                }
16512                rel2 {
16513                   relative: 1.0 1.0;
16514                   offset: 1 1;
16515                }
16516             }
16517          }
16518          part { name: "elm.title.1";
16519             clip_to: "disclip";
16520             type:           TEXT;
16521             effect:         SOFT_SHADOW;
16522             mouse_events:   0;
16523             scale: 1;
16524             description {
16525                state: "default" 0.0;
16526                fixed: 0 1;
16527 //               min: 16 16;
16528                rel1 {
16529                   relative: 0.0  0.0;
16530                   offset:   4 4;
16531                }
16532                rel2 {
16533                   relative: 1.0  0.0;
16534                   offset:   -5 4;
16535                }
16536                color: 0 0 0 255;
16537                color3: 0 0 0 0;
16538                align: 0.0 0.0;
16539                text {
16540                   font: "Sans";
16541                   size: 10;
16542                   min: 0 1;
16543 //                  min: 1 1;
16544                   align: 0.0 0.0;
16545                   text_class: "list_item";
16546                }
16547             }
16548             description { state: "selected" 0.0;
16549                inherit: "default" 0.0;
16550                color: 224 224 224 255;
16551                color3: 0 0 0 64;
16552             }
16553          }
16554          part { name: "elm.title.2";
16555             clip_to: "disclip";
16556             type:           TEXT;
16557             effect:         SOFT_SHADOW;
16558             mouse_events:   0;
16559             scale: 1;
16560             description {
16561                state: "default" 0.0;
16562                fixed: 0 1;
16563 //               min: 16 16;
16564                rel1 {
16565                   to_y:     "elm.title.1";
16566                   relative: 0.0  1.0;
16567                   offset:   4 0;
16568                }
16569                rel2 {
16570                   to_y:     "elm.title.1";
16571                   relative: 1.0  1.0;
16572                   offset:   -5 0;
16573                }
16574                color: 0 0 0 255;
16575                color3: 0 0 0 0;
16576                align: 0.0 0.0;
16577                text {
16578                   font: "Sans";
16579                   size: 10;
16580                   min: 0 1;
16581 //                  min: 1 1;
16582                   align: 0.0 0.0;
16583                   text_class: "list_item";
16584                }
16585             }
16586             description { state: "selected" 0.0;
16587                inherit: "default" 0.0;
16588                color: 224 224 224 255;
16589                color3: 0 0 0 64;
16590             }
16591          }
16592          part { name: "elm.text";
16593             clip_to: "disclip";
16594             type:           TEXTBLOCK;
16595             mouse_events:   0;
16596             scale: 1;
16597             description {
16598                state: "default" 0.0;
16599 //               fixed: 0 1;
16600 //               min: 16 16;
16601                rel1 {
16602                   to_y:     "elm.title.2";
16603                   relative: 0.0  1.0;
16604                   offset:   4 0;
16605                }
16606                rel2 {
16607                   relative: 1.0  1.0;
16608                   offset:   -5 -5;
16609                }
16610                align: 0.0 0.0;
16611                text {
16612                   style: "genlist_textblock_style";
16613                   min: 0 1;
16614 //                  min: 1 1;
16615                   align: 0.0 0.0;
16616                }
16617             }
16618             description { state: "selected" 0.0;
16619                inherit: "default" 0.0;
16620                text {
16621                   style: "genlist_textblock_style2";
16622                }
16623             }
16624          }
16625          part { name: "fg1";
16626             clip_to: "disclip";
16627             mouse_events: 0;
16628             description { state: "default" 0.0;
16629                visible: 0;
16630                color: 255 255 255 0;
16631                rel1.to: "bg";
16632                rel2.relative: 1.0 0.5;
16633                rel2.to: "bg";
16634                image {
16635                   normal: "bt_sm_hilight.png";
16636                   border: 6 6 6 0;
16637                }
16638             }
16639             description { state: "selected" 0.0;
16640                inherit: "default" 0.0;
16641                visible: 1;
16642                color: 255 255 255 255;
16643             }
16644          }
16645          part { name: "fg2";
16646             clip_to: "disclip";
16647             mouse_events: 0;
16648             description { state: "default" 0.0;
16649                visible: 0;
16650                color: 255 255 255 0;
16651                rel1.to: "bg";
16652                rel2.to: "bg";
16653                image {
16654                   normal: "bt_sm_shine.png";
16655                   border: 6 6 6 0;
16656                }
16657             }
16658             description { state: "selected" 0.0;
16659                inherit: "default" 0.0;
16660                visible: 1;
16661                color: 255 255 255 255;
16662             }
16663          }
16664          part { name: "disclip";
16665             type: RECT;
16666             description { state: "default" 0.0;
16667                rel1.to: "bg";
16668                rel2.to: "bg";
16669             }
16670             description { state: "disabled" 0.0;
16671                inherit: "default" 0.0;
16672                color: 255 255 255 64;
16673             }
16674          }
16675       }
16676       programs {
16677          // signal: elm,state,%s,active
16678          //   a "check" item named %s went active
16679          // signal: elm,state,%s,passive
16680          //   a "check" item named %s went passive
16681          // default is passive
16682          program {
16683             name:    "go_active";
16684             signal:  "elm,state,selected";
16685             source:  "elm";
16686             action:  STATE_SET "selected" 0.0;
16687             target:  "bg";
16688             target:  "fg1";
16689             target:  "fg2";
16690             target:  "elm.title.1";
16691             target:  "elm.title.2";
16692             target:  "elm.text";
16693          }
16694          program {
16695             name:    "go_passive";
16696             signal:  "elm,state,unselected";
16697             source:  "elm";
16698             action:  STATE_SET "default" 0.0;
16699             target:  "bg";
16700             target:  "fg1";
16701             target:  "fg2";
16702             target:  "elm.title.1";
16703             target:  "elm.title.2";
16704             target:  "elm.text";
16705             transition: LINEAR 0.1;
16706          }
16707          program {
16708             name:    "go_disabled";
16709             signal:  "elm,state,disabled";
16710             source:  "elm";
16711             action:  STATE_SET "disabled" 0.0;
16712             target:  "disclip";
16713          }
16714          program {
16715             name:    "go_enabled";
16716             signal:  "elm,state,enabled";
16717             source:  "elm";
16718             action:  STATE_SET "default" 0.0;
16719             target:  "disclip";
16720          }
16721       }
16722    }
16723    group { name: "elm/genlist/item_compress/default/default";
16724       data.item: "stacking" "above";
16725       data.item: "selectraise" "on";
16726       data.item: "labels" "elm.text";
16727       data.item: "icons" "elm.swallow.icon elm.swallow.end";
16728       data.item: "treesize" "20";
16729 //      data.item: "states" "";
16730       images {
16731          image: "bt_sm_base1.png" COMP;
16732          image: "bt_sm_shine.png" COMP;
16733          image: "bt_sm_hilight.png" COMP;
16734          image: "ilist_1.png" COMP;
16735          image: "ilist_item_shadow.png" COMP;
16736       }
16737       parts {
16738          part {
16739             name:           "event";
16740             type:           RECT;
16741             repeat_events: 1;
16742             description {
16743                state: "default" 0.0;
16744                color: 0 0 0 0;
16745             }
16746          }
16747          part {
16748             name: "base_sh";
16749             mouse_events: 0;
16750             description {
16751                state: "default" 0.0;
16752                align: 0.0 0.0;
16753                min: 0 10;
16754                fixed: 1 1;
16755                rel1 {
16756                   to: "base";
16757                   relative: 0.0 1.0;
16758                   offset: 0 0;
16759                }
16760                rel2 {
16761                   to: "base";
16762                   relative: 1.0 1.0;
16763                   offset: -1 0;
16764                }
16765                image {
16766                   normal: "ilist_item_shadow.png";
16767                }
16768                fill.smooth: 0;
16769             }
16770          }
16771          part {
16772             name: "base";
16773             mouse_events: 0;
16774             description {
16775                state: "default" 0.0;
16776                image {
16777                   normal: "ilist_1.png";
16778                   border: 2 2 2 2;
16779                }
16780                fill.smooth: 0;
16781             }
16782          }
16783          part { name: "bg";
16784             clip_to: "disclip";
16785             mouse_events: 0;
16786             description { state: "default" 0.0;
16787                visible: 0;
16788                color: 255 255 255 0;
16789                rel1 {
16790                   relative: 0.0 0.0;
16791                   offset: -5 -5;
16792                }
16793                rel2 {
16794                   relative: 1.0 1.0;
16795                   offset: 4 4;
16796                }
16797                image {
16798                   normal: "bt_sm_base1.png";
16799                   border: 6 6 6 6;
16800                }
16801                image.middle: SOLID;
16802             }
16803             description { state: "selected" 0.0;
16804                inherit: "default" 0.0;
16805                visible: 1;
16806                color: 255 255 255 255;
16807                rel1 {
16808                   relative: 0.0 0.0;
16809                   offset: -2 -2;
16810                }
16811                rel2 {
16812                   relative: 1.0 1.0;
16813                   offset: 1 1;
16814                }
16815             }
16816          }
16817          part { name: "elm.swallow.pad";
16818             type: SWALLOW;
16819             description { state: "default" 0.0;
16820                fixed: 1 0;
16821                align: 0.0 0.5;
16822                rel1 {
16823                   relative: 0.0  0.0;
16824                   offset:   4    4;
16825                }
16826                rel2 {
16827                   relative: 0.0  1.0;
16828                   offset:   4   -5;
16829                }
16830             }
16831          }
16832          part { name: "elm.swallow.icon";
16833             clip_to: "disclip";
16834             type: SWALLOW;
16835             description { state: "default" 0.0;
16836                fixed: 1 0;
16837                align: 0.0 0.5;
16838                rel1 {
16839                   to_x: "elm.swallow.pad";
16840                   relative: 1.0  0.0;
16841                   offset:   -1    4;
16842                }
16843                rel2 {
16844                   to_x: "elm.swallow.pad";
16845                   relative: 1.0  1.0;
16846                   offset:   -1   -5;
16847                }
16848             }
16849          }
16850          part { name: "elm.swallow.end";
16851             clip_to: "disclip";
16852             type: SWALLOW;
16853             description { state: "default" 0.0;
16854                fixed: 1 0;
16855                align: 1.0 0.5;
16856                aspect: 1.0 1.0;
16857                aspect_preference: VERTICAL;
16858                rel1 {
16859                   relative: 1.0  0.0;
16860                   offset:   -5    4;
16861                }
16862                rel2 {
16863                   relative: 1.0  1.0;
16864                   offset:   -5   -5;
16865                }
16866             }
16867          }
16868          part { name: "elm.text";
16869             clip_to: "disclip";
16870             type:           TEXT;
16871             effect:         SOFT_SHADOW;
16872             mouse_events:   0;
16873             scale: 1;
16874             description {
16875                state: "default" 0.0;
16876 //               min: 16 16;
16877                rel1 {
16878                   to_x:     "elm.swallow.icon";
16879                   relative: 1.0  0.0;
16880                   offset:   0 4;
16881                }
16882                rel2 {
16883                   to_x:     "elm.swallow.end";
16884                   relative: 0.0  1.0;
16885                   offset:   -1 -5;
16886                }
16887                color: 0 0 0 255;
16888                color3: 0 0 0 0;
16889                text {
16890                   font: "Sans";
16891                   size: 10;
16892                   min: 0 1;
16893 //                  min: 1 1;
16894                   align: 0.0 0.5;
16895                   text_class: "list_item";
16896                }
16897             }
16898             description { state: "selected" 0.0;
16899                inherit: "default" 0.0;
16900                color: 224 224 224 255;
16901                color3: 0 0 0 64;
16902             }
16903          }
16904          part { name: "fg1";
16905             clip_to: "disclip";
16906             mouse_events: 0;
16907             description { state: "default" 0.0;
16908                visible: 0;
16909                color: 255 255 255 0;
16910                rel1.to: "bg";
16911                rel2.relative: 1.0 0.5;
16912                rel2.to: "bg";
16913                image {
16914                   normal: "bt_sm_hilight.png";
16915                   border: 6 6 6 0;
16916                }
16917             }
16918             description { state: "selected" 0.0;
16919                inherit: "default" 0.0;
16920                visible: 1;
16921                color: 255 255 255 255;
16922             }
16923          }
16924          part { name: "fg2";
16925             clip_to: "disclip";
16926             mouse_events: 0;
16927             description { state: "default" 0.0;
16928                visible: 0;
16929                color: 255 255 255 0;
16930                rel1.to: "bg";
16931                rel2.to: "bg";
16932                image {
16933                   normal: "bt_sm_shine.png";
16934                   border: 6 6 6 0;
16935                }
16936             }
16937             description { state: "selected" 0.0;
16938                inherit: "default" 0.0;
16939                visible: 1;
16940                color: 255 255 255 255;
16941             }
16942          }
16943          part { name: "disclip";
16944             type: RECT;
16945             description { state: "default" 0.0;
16946                rel1.to: "bg";
16947                rel2.to: "bg";
16948             }
16949             description { state: "disabled" 0.0;
16950                inherit: "default" 0.0;
16951                color: 255 255 255 64;
16952             }
16953          }
16954       }
16955       programs {
16956          // signal: elm,state,%s,active
16957          //   a "check" item named %s went active
16958          // signal: elm,state,%s,passive
16959          //   a "check" item named %s went passive
16960          // default is passive
16961          program {
16962             name:    "go_active";
16963             signal:  "elm,state,selected";
16964             source:  "elm";
16965             action:  STATE_SET "selected" 0.0;
16966             target:  "bg";
16967             target:  "fg1";
16968             target:  "fg2";
16969             target:  "elm.text";
16970          }
16971          program {
16972             name:    "go_passive";
16973             signal:  "elm,state,unselected";
16974             source:  "elm";
16975             action:  STATE_SET "default" 0.0;
16976             target:  "bg";
16977             target:  "fg1";
16978             target:  "fg2";
16979             target:  "elm.text";
16980             transition: LINEAR 0.1;
16981          }
16982          program {
16983             name:    "go_disabled";
16984             signal:  "elm,state,disabled";
16985             source:  "elm";
16986             action:  STATE_SET "disabled" 0.0;
16987             target:  "disclip";
16988          }
16989          program {
16990             name:    "go_enabled";
16991             signal:  "elm,state,enabled";
16992             source:  "elm";
16993             action:  STATE_SET "default" 0.0;
16994             target:  "disclip";
16995          }
16996       }
16997    }
16998    group { name: "elm/genlist/item_odd/default/default";
16999       data.item: "stacking" "below";
17000       data.item: "selectraise" "on";
17001       data.item: "labels" "elm.text";
17002       data.item: "icons" "elm.swallow.icon elm.swallow.end";
17003       data.item: "treesize" "20";
17004 //      data.item: "states" "";
17005       images {
17006          image: "bt_sm_base1.png" COMP;
17007          image: "bt_sm_shine.png" COMP;
17008          image: "bt_sm_hilight.png" COMP;
17009          image: "ilist_2.png" COMP;
17010       }
17011       parts {
17012          part { name: "event";
17013             type: RECT;
17014             repeat_events: 1;
17015             description {
17016                state: "default" 0.0;
17017                color: 0 0 0 0;
17018             }
17019          }
17020          part {
17021             name: "base";
17022             mouse_events: 0;
17023             description {
17024                state: "default" 0.0;
17025                image {
17026                   normal: "ilist_2.png";
17027                   border: 2 2 2 2;
17028                }
17029                fill.smooth: 0;
17030             }
17031          }
17032          part { name: "bg";
17033             clip_to: "disclip";
17034             mouse_events: 0;
17035             description { state: "default" 0.0;
17036                visible: 0;
17037                color: 255 255 255 0;
17038                rel1 {
17039                   relative: 0.0 0.0;
17040                   offset: -5 -5;
17041                }
17042                rel2 {
17043                   relative: 1.0 1.0;
17044                   offset: 4 4;
17045                }
17046                image {
17047                   normal: "bt_sm_base1.png";
17048                   border: 6 6 6 6;
17049                }
17050                image.middle: SOLID;
17051             }
17052             description { state: "selected" 0.0;
17053                inherit: "default" 0.0;
17054                visible: 1;
17055                color: 255 255 255 255;
17056                rel1 {
17057                   relative: 0.0 0.0;
17058                   offset: -2 -2;
17059                }
17060                rel2 {
17061                   relative: 1.0 1.0;
17062                   offset: 1 1;
17063                }
17064             }
17065          }
17066          part { name: "elm.swallow.pad";
17067             type: SWALLOW;
17068             description { state: "default" 0.0;
17069                fixed: 1 0;
17070                align: 0.0 0.5;
17071                rel1 {
17072                   relative: 0.0  0.0;
17073                   offset:   4    4;
17074                }
17075                rel2 {
17076                   relative: 0.0  1.0;
17077                   offset:   4   -5;
17078                }
17079             }
17080          }
17081          part { name: "elm.swallow.icon";
17082             clip_to: "disclip";
17083             type: SWALLOW;
17084             description { state: "default" 0.0;
17085                fixed: 1 0;
17086                align: 0.0 0.5;
17087                rel1 {
17088                   to_x: "elm.swallow.pad";
17089                   relative: 1.0  0.0;
17090                   offset:   -1    4;
17091                }
17092                rel2 {
17093                   to_x: "elm.swallow.pad";
17094                   relative: 1.0  1.0;
17095                   offset:   -1   -5;
17096                }
17097             }
17098          }
17099          part { name: "elm.swallow.end";
17100             clip_to: "disclip";
17101             type:          SWALLOW;
17102             description { state:    "default" 0.0;
17103                fixed: 1 0;
17104                align:    1.0 0.5;
17105                aspect: 1.0 1.0;
17106                aspect_preference: VERTICAL;
17107                rel1 {
17108                   relative: 1.0  0.0;
17109                   offset:   -5    4;
17110                }
17111                rel2 {
17112                   relative: 1.0  1.0;
17113                   offset:   -5   -5;
17114                }
17115             }
17116          }
17117          part { name: "elm.text";
17118             clip_to: "disclip";
17119             type:           TEXT;
17120             effect:         SOFT_SHADOW;
17121             mouse_events:   0;
17122             scale: 1;
17123             description {
17124                state: "default" 0.0;
17125 //               min:      16 16;
17126                rel1 {
17127                   to_x:     "elm.swallow.icon";
17128                   relative: 1.0  0.0;
17129                   offset:   0 4;
17130                }
17131                rel2 {
17132                   to_x:     "elm.swallow.end";
17133                   relative: 0.0  1.0;
17134                   offset:   -1 -5;
17135                }
17136                color: 0 0 0 255;
17137                color3: 0 0 0 0;
17138                text {
17139                   font: "Sans";
17140                   size: 10;
17141                   min: 1 1;
17142 //                  min: 0 1;
17143                   align: -1.0 0.5;
17144                   text_class: "list_item";
17145                }
17146             }
17147             description { state: "selected" 0.0;
17148                inherit: "default" 0.0;
17149                color: 224 224 224 255;
17150                color3: 0 0 0 64;
17151             }
17152          }
17153          part { name: "fg1";
17154             clip_to: "disclip";
17155             mouse_events: 0;
17156             description { state: "default" 0.0;
17157                visible: 0;
17158                color: 255 255 255 0;
17159                rel1.to: "bg";
17160                rel2.relative: 1.0 0.5;
17161                rel2.to: "bg";
17162                image {
17163                   normal: "bt_sm_hilight.png";
17164                   border: 6 6 6 0;
17165                }
17166             }
17167             description { state: "selected" 0.0;
17168                inherit: "default" 0.0;
17169                visible: 1;
17170                color: 255 255 255 255;
17171             }
17172          }
17173          part { name: "fg2";
17174             clip_to: "disclip";
17175             mouse_events: 0;
17176             description { state: "default" 0.0;
17177                visible: 0;
17178                color: 255 255 255 0;
17179                rel1.to: "bg";
17180                rel2.to: "bg";
17181                image {
17182                   normal: "bt_sm_shine.png";
17183                   border: 6 6 6 0;
17184                }
17185             }
17186             description { state: "selected" 0.0;
17187                inherit: "default" 0.0;
17188                visible: 1;
17189                color: 255 255 255 255;
17190             }
17191          }
17192          part { name: "disclip";
17193             type: RECT;
17194             description { state: "default" 0.0;
17195                rel1.to: "bg";
17196                rel2.to: "bg";
17197             }
17198             description { state: "disabled" 0.0;
17199                inherit: "default" 0.0;
17200                color: 255 255 255 64;
17201             }
17202          }
17203       }
17204       programs {
17205          // signal: elm,state,%s,active
17206          //   a "check" item named %s went active
17207          // signal: elm,state,%s,passive
17208          //   a "check" item named %s went passive
17209          // default is passive
17210          program {
17211             name:    "go_active";
17212             signal:  "elm,state,selected";
17213             source:  "elm";
17214             action:  STATE_SET "selected" 0.0;
17215             target:  "bg";
17216             target:  "fg1";
17217             target:  "fg2";
17218             target:  "elm.text";
17219          }
17220          program {
17221             name:    "go_passive";
17222             signal:  "elm,state,unselected";
17223             source:  "elm";
17224             action:  STATE_SET "default" 0.0;
17225             target:  "bg";
17226             target:  "fg1";
17227             target:  "fg2";
17228             target:  "elm.text";
17229             transition: LINEAR 0.1;
17230          }
17231          program {
17232             name:    "go_disabled";
17233             signal:  "elm,state,disabled";
17234             source:  "elm";
17235             action:  STATE_SET "disabled" 0.0;
17236             target:  "disclip";
17237          }
17238          program {
17239             name:    "go_enabled";
17240             signal:  "elm,state,enabled";
17241             source:  "elm";
17242             action:  STATE_SET "default" 0.0;
17243             target:  "disclip";
17244          }
17245       }
17246    }
17247    group { name: "elm/genlist/item_compress_odd/default/default";
17248       data.item: "stacking" "below";
17249       data.item: "selectraise" "on";
17250       data.item: "labels" "elm.text";
17251       data.item: "icons" "elm.swallow.icon elm.swallow.end";
17252       data.item: "treesize" "20";
17253 //      data.item: "states" "";
17254       images {
17255          image: "bt_sm_base1.png" COMP;
17256          image: "bt_sm_shine.png" COMP;
17257          image: "bt_sm_hilight.png" COMP;
17258          image: "ilist_2.png" COMP;
17259       }
17260       parts {
17261          part { name: "event";
17262             type: RECT;
17263             repeat_events: 1;
17264             description {
17265                state: "default" 0.0;
17266                color: 0 0 0 0;
17267             }
17268          }
17269          part {
17270             name: "base";
17271             mouse_events: 0;
17272             description {
17273                state: "default" 0.0;
17274                image {
17275                   normal: "ilist_2.png";
17276                   border: 2 2 2 2;
17277                }
17278                fill.smooth: 0;
17279             }
17280          }
17281          part { name: "bg";
17282             clip_to: "disclip";
17283             mouse_events: 0;
17284             description { state: "default" 0.0;
17285                visible: 0;
17286                color: 255 255 255 0;
17287                rel1 {
17288                   relative: 0.0 0.0;
17289                   offset: -5 -5;
17290                }
17291                rel2 {
17292                   relative: 1.0 1.0;
17293                   offset: 4 4;
17294                }
17295                image {
17296                   normal: "bt_sm_base1.png";
17297                   border: 6 6 6 6;
17298                }
17299                image.middle: SOLID;
17300             }
17301             description { state: "selected" 0.0;
17302                inherit: "default" 0.0;
17303                visible: 1;
17304                color: 255 255 255 255;
17305                rel1 {
17306                   relative: 0.0 0.0;
17307                   offset: -2 -2;
17308                }
17309                rel2 {
17310                   relative: 1.0 1.0;
17311                   offset: 1 1;
17312                }
17313             }
17314          }
17315          part { name: "elm.swallow.pad";
17316             type: SWALLOW;
17317             description { state: "default" 0.0;
17318                fixed: 1 0;
17319                align: 0.0 0.5;
17320                rel1 {
17321                   relative: 0.0  0.0;
17322                   offset:   4    4;
17323                }
17324                rel2 {
17325                   relative: 0.0  1.0;
17326                   offset:   4   -5;
17327                }
17328             }
17329          }
17330          part { name: "elm.swallow.icon";
17331             clip_to: "disclip";
17332             type: SWALLOW;
17333             description { state: "default" 0.0;
17334                fixed: 1 0;
17335                align: 0.0 0.5;
17336                rel1 {
17337                   to_x: "elm.swallow.pad";
17338                   relative: 1.0  0.0;
17339                   offset:   -1    4;
17340                }
17341                rel2 {
17342                   to_x: "elm.swallow.pad";
17343                   relative: 1.0  1.0;
17344                   offset:   -1   -5;
17345                }
17346             }
17347          }
17348          part { name: "elm.swallow.end";
17349             clip_to: "disclip";
17350             type:          SWALLOW;
17351             description { state:    "default" 0.0;
17352                fixed: 1 0;
17353                align:    1.0 0.5;
17354                aspect: 1.0 1.0;
17355                aspect_preference: VERTICAL;
17356                rel1 {
17357                   relative: 1.0  0.0;
17358                   offset:   -5    4;
17359                }
17360                rel2 {
17361                   relative: 1.0  1.0;
17362                   offset:   -5   -5;
17363                }
17364             }
17365          }
17366          part { name: "elm.text";
17367             clip_to: "disclip";
17368             type:           TEXT;
17369             effect:         SOFT_SHADOW;
17370             mouse_events:   0;
17371             scale: 1;
17372             description {
17373                state: "default" 0.0;
17374 //               min:      16 16;
17375                rel1 {
17376                   to_x:     "elm.swallow.icon";
17377                   relative: 1.0  0.0;
17378                   offset:   0 4;
17379                }
17380                rel2 {
17381                   to_x:     "elm.swallow.end";
17382                   relative: 0.0  1.0;
17383                   offset:   -1 -5;
17384                }
17385                color: 0 0 0 255;
17386                color3: 0 0 0 0;
17387                text {
17388                   font: "Sans";
17389                   size: 10;
17390                   min: 0 1;
17391 //                  min: 1 1;
17392                   align: 0.0 0.5;
17393                   text_class: "list_item";
17394                }
17395             }
17396             description { state: "selected" 0.0;
17397                inherit: "default" 0.0;
17398                color: 224 224 224 255;
17399                color3: 0 0 0 64;
17400             }
17401          }
17402          part { name: "fg1";
17403             clip_to: "disclip";
17404             mouse_events: 0;
17405             description { state: "default" 0.0;
17406                visible: 0;
17407                color: 255 255 255 0;
17408                rel1.to: "bg";
17409                rel2.relative: 1.0 0.5;
17410                rel2.to: "bg";
17411                image {
17412                   normal: "bt_sm_hilight.png";
17413                   border: 6 6 6 0;
17414                }
17415             }
17416             description { state: "selected" 0.0;
17417                inherit: "default" 0.0;
17418                visible: 1;
17419                color: 255 255 255 255;
17420             }
17421          }
17422          part { name: "fg2";
17423             clip_to: "disclip";
17424             mouse_events: 0;
17425             description { state: "default" 0.0;
17426                visible: 0;
17427                color: 255 255 255 0;
17428                rel1.to: "bg";
17429                rel2.to: "bg";
17430                image {
17431                   normal: "bt_sm_shine.png";
17432                   border: 6 6 6 0;
17433                }
17434             }
17435             description { state: "selected" 0.0;
17436                inherit: "default" 0.0;
17437                visible: 1;
17438                color: 255 255 255 255;
17439             }
17440          }
17441          part { name: "disclip";
17442             type: RECT;
17443             description { state: "default" 0.0;
17444                rel1.to: "bg";
17445                rel2.to: "bg";
17446             }
17447             description { state: "disabled" 0.0;
17448                inherit: "default" 0.0;
17449                color: 255 255 255 64;
17450             }
17451          }
17452       }
17453       programs {
17454          // signal: elm,state,%s,active
17455          //   a "check" item named %s went active
17456          // signal: elm,state,%s,passive
17457          //   a "check" item named %s went passive
17458          // default is passive
17459          program {
17460             name:    "go_active";
17461             signal:  "elm,state,selected";
17462             source:  "elm";
17463             action:  STATE_SET "selected" 0.0;
17464             target:  "bg";
17465             target:  "fg1";
17466             target:  "fg2";
17467             target:  "elm.text";
17468          }
17469          program {
17470             name:    "go_passive";
17471             signal:  "elm,state,unselected";
17472             source:  "elm";
17473             action:  STATE_SET "default" 0.0;
17474             target:  "bg";
17475             target:  "fg1";
17476             target:  "fg2";
17477             target:  "elm.text";
17478             transition: LINEAR 0.1;
17479          }
17480          program {
17481             name:    "go_disabled";
17482             signal:  "elm,state,disabled";
17483             source:  "elm";
17484             action:  STATE_SET "disabled" 0.0;
17485             target:  "disclip";
17486          }
17487          program {
17488             name:    "go_enabled";
17489             signal:  "elm,state,enabled";
17490             source:  "elm";
17491             action:  STATE_SET "default" 0.0;
17492             target:  "disclip";
17493          }
17494       }
17495    }
17496
17497    group { name: "elm/genlist/tree/default/default";
17498       data.item: "stacking" "above";
17499       data.item: "selectraise" "on";
17500       data.item: "labels" "elm.text";
17501       data.item: "icons" "elm.swallow.icon elm.swallow.end";
17502       data.item: "treesize" "20";
17503 //      data.item: "states" "";
17504       images {
17505          image: "bt_sm_base1.png" COMP;
17506          image: "bt_sm_shine.png" COMP;
17507          image: "bt_sm_hilight.png" COMP;
17508          image: "ilist_1.png" COMP;
17509          image: "ilist_item_shadow.png" COMP;
17510          image: "icon_arrow_left.png" COMP;
17511          image: "icon_arrow_right.png" COMP;
17512          image: "icon_arrow_down.png" COMP;
17513       }
17514       parts {
17515          part {
17516             name:           "event";
17517             type:           RECT;
17518             repeat_events: 1;
17519             description {
17520                state: "default" 0.0;
17521                color: 0 0 0 0;
17522             }
17523          }
17524          part {
17525             name: "base_sh";
17526             mouse_events: 0;
17527             description {
17528                state: "default" 0.0;
17529                align: 0.0 0.0;
17530                min: 0 10;
17531                fixed: 1 1;
17532                rel1 {
17533                   to: "base";
17534                   relative: 0.0 1.0;
17535                   offset: 0 0;
17536                }
17537                rel2 {
17538                   to: "base";
17539                   relative: 1.0 1.0;
17540                   offset: -1 0;
17541                }
17542                image {
17543                   normal: "ilist_item_shadow.png";
17544                }
17545                fill.smooth: 0;
17546             }
17547          }
17548          part {
17549             name: "base";
17550             mouse_events: 0;
17551             description {
17552                state: "default" 0.0;
17553                image {
17554                   normal: "ilist_1.png";
17555                   border: 2 2 2 2;
17556                }
17557                fill.smooth: 0;
17558             }
17559          }
17560          part { name: "bg";
17561             clip_to: "disclip";
17562             mouse_events: 0;
17563             description { state: "default" 0.0;
17564                visible: 0;
17565                color: 255 255 255 0;
17566                rel1 {
17567                   relative: 0.0 0.0;
17568                   offset: -5 -5;
17569                }
17570                rel2 {
17571                   relative: 1.0 1.0;
17572                   offset: 4 4;
17573                }
17574                image {
17575                   normal: "bt_sm_base1.png";
17576                   border: 6 6 6 6;
17577                }
17578                image.middle: SOLID;
17579             }
17580             description { state: "selected" 0.0;
17581                inherit: "default" 0.0;
17582                visible: 1;
17583                color: 255 255 255 255;
17584                rel1 {
17585                   relative: 0.0 0.0;
17586                   offset: -2 -2;
17587                }
17588                rel2 {
17589                   relative: 1.0 1.0;
17590                   offset: 1 1;
17591                }
17592             }
17593          }
17594          part { name: "elm.swallow.pad";
17595             type: SWALLOW;
17596             description { state: "default" 0.0;
17597                fixed: 1 0;
17598                align: 0.0 0.5;
17599                rel1 {
17600                   relative: 0.0  0.0;
17601                   offset:   4    4;
17602                }
17603                rel2 {
17604                   relative: 0.0  1.0;
17605                   offset:   4   -5;
17606                }
17607             }
17608          }
17609          part { name: "arrow";
17610             clip_to: "disclip";
17611             ignore_flags: ON_HOLD;
17612             description { state: "default" 0.0;
17613                fixed: 1 0;
17614                align: 0.0 0.5;
17615                aspect: 1.0 1.0;
17616                rel1 {
17617                   to_x: "elm.swallow.pad";
17618                   relative: 1.0  0.0;
17619                   offset:   -1    4;
17620                }
17621                rel2 {
17622                   to_x: "elm.swallow.pad";
17623                   relative: 1.0  1.0;
17624                   offset:   -1   -5;
17625                }
17626                image.normal: "icon_arrow_right.png";
17627             }
17628             description { state: "default" 0.1;
17629                inherit: "default" 0.0;
17630                image.normal: "icon_arrow_left.png";
17631             }
17632             description { state: "active" 0.0;
17633                inherit: "default" 0.0;
17634                image.normal: "icon_arrow_down.png";
17635             }
17636             description { state: "active" 0.1;
17637                inherit: "default" 0.0;
17638                image.normal: "icon_arrow_down.png";
17639             }
17640          }
17641          part { name: "elm.swallow.icon";
17642             clip_to: "disclip";
17643             type: SWALLOW;
17644             description { state: "default" 0.0;
17645                fixed: 1 0;
17646                align: 0.0 0.5;
17647                rel1 {
17648                   to_x: "arrow";
17649                   relative: 1.0  0.0;
17650                   offset:   4    4;
17651                }
17652                rel2 {
17653                   to_x: "arrow";
17654                   relative: 1.0  1.0;
17655                   offset:   4   -5;
17656                }
17657             }
17658          }
17659          part { name: "elm.swallow.end";
17660             clip_to: "disclip";
17661             type: SWALLOW;
17662             description { state: "default" 0.0;
17663                fixed: 1 0;
17664                align: 1.0 0.5;
17665                aspect: 1.0 1.0;
17666                aspect_preference: VERTICAL;
17667                rel1 {
17668                   relative: 1.0  0.0;
17669                   offset:   -5    4;
17670                }
17671                rel2 {
17672                   relative: 1.0  1.0;
17673                   offset:   -5   -5;
17674                }
17675             }
17676          }
17677          part { name: "elm.text";
17678             clip_to: "disclip";
17679             type:           TEXT;
17680             effect:         SOFT_SHADOW;
17681             mouse_events:   0;
17682             scale: 1;
17683             description {
17684                state: "default" 0.0;
17685 //               min: 16 16;
17686                rel1 {
17687                   to_x:     "elm.swallow.icon";
17688                   relative: 1.0  0.0;
17689                   offset:   0 4;
17690                }
17691                rel2 {
17692                   to_x:     "elm.swallow.end";
17693                   relative: 0.0  1.0;
17694                   offset:   -1 -5;
17695                }
17696                color: 0 0 0 255;
17697                color3: 0 0 0 0;
17698                text {
17699                   font: "Sans";
17700                   size: 10;
17701                   min: 1 1;
17702 //                  min: 0 1;
17703                   align: -1.0 0.5;
17704                   text_class: "list_item";
17705                }
17706             }
17707             description { state: "selected" 0.0;
17708                inherit: "default" 0.0;
17709                color: 224 224 224 255;
17710                color3: 0 0 0 64;
17711             }
17712          }
17713          part { name: "fg1";
17714             clip_to: "disclip";
17715             mouse_events: 0;
17716             description { state: "default" 0.0;
17717                visible: 0;
17718                color: 255 255 255 0;
17719                rel1.to: "bg";
17720                rel2.relative: 1.0 0.5;
17721                rel2.to: "bg";
17722                image {
17723                   normal: "bt_sm_hilight.png";
17724                   border: 6 6 6 0;
17725                }
17726             }
17727             description { state: "selected" 0.0;
17728                inherit: "default" 0.0;
17729                visible: 1;
17730                color: 255 255 255 255;
17731             }
17732          }
17733          part { name: "fg2";
17734             clip_to: "disclip";
17735             mouse_events: 0;
17736             description { state: "default" 0.0;
17737                visible: 0;
17738                color: 255 255 255 0;
17739                rel1.to: "bg";
17740                rel2.to: "bg";
17741                image {
17742                   normal: "bt_sm_shine.png";
17743                   border: 6 6 6 0;
17744                }
17745             }
17746             description { state: "selected" 0.0;
17747                inherit: "default" 0.0;
17748                visible: 1;
17749                color: 255 255 255 255;
17750             }
17751          }
17752          part { name: "disclip";
17753             type: RECT;
17754             description { state: "default" 0.0;
17755                rel1.to: "bg";
17756                rel2.to: "bg";
17757             }
17758             description { state: "disabled" 0.0;
17759                inherit: "default" 0.0;
17760                color: 255 255 255 64;
17761             }
17762          }
17763       }
17764       programs {
17765          // signal: elm,state,%s,active
17766          //   a "check" item named %s went active
17767          // signal: elm,state,%s,passive
17768          //   a "check" item named %s went passive
17769          // default is passive
17770          program {
17771             name:    "go_active";
17772             signal:  "elm,state,selected";
17773             source:  "elm";
17774             action:  STATE_SET "selected" 0.0;
17775             target:  "bg";
17776             target:  "fg1";
17777             target:  "fg2";
17778             target:  "elm.text";
17779          }
17780          program {
17781             name:    "go_passive";
17782             signal:  "elm,state,unselected";
17783             source:  "elm";
17784             action:  STATE_SET "default" 0.0;
17785             target:  "bg";
17786             target:  "fg1";
17787             target:  "fg2";
17788             target:  "elm.text";
17789             transition: LINEAR 0.1;
17790          }
17791          program {
17792             name:    "go_disabled";
17793             signal:  "elm,state,disabled";
17794             source:  "elm";
17795             action:  STATE_SET "disabled" 0.0;
17796             target:  "disclip";
17797          }
17798          program {
17799             name:    "go_enabled";
17800             signal:  "elm,state,enabled";
17801             source:  "elm";
17802             action:  STATE_SET "default" 0.0;
17803             target:  "disclip";
17804          }
17805          program {
17806             name:    "expand";
17807             signal:  "mouse,up,1";
17808             source:  "arrow";
17809             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
17810          }
17811          program {
17812             name:    "go_expanded";
17813             signal:  "elm,state,expanded";
17814             source:  "elm";
17815             script {
17816                new st[31];
17817                new Float:vl;
17818                get_state(PART:"arrow", st, 30, vl);
17819                set_state(PART:"arrow", "active", vl);
17820             }
17821          }
17822          program {
17823             name:    "go_contracted";
17824             signal:  "elm,state,contracted";
17825             source:  "elm";
17826             script {
17827                new st[31];
17828                new Float:vl;
17829                get_state(PART:"arrow", st, 30, vl);
17830                set_state(PART:"arrow", "default", vl);
17831             }
17832          }
17833          program { name: "to_rtl";
17834             signal: "edje,state,rtl";
17835             source: "edje";
17836             script {
17837                new st[31];
17838                new Float:vl;
17839                get_state(PART:"arrow", st, 30, vl);
17840                if (vl == 0.0) {
17841                   set_state(PART:"arrow", st, 0.1);
17842                }
17843             }
17844          }
17845          program { name: "to_ltr";
17846             signal: "edje,state,ltr";
17847             source: "edje";
17848             script {
17849                new st[31];
17850                new Float:vl;
17851                get_state(PART:"arrow", st, 30, vl);
17852                if (vl == 0.1) {
17853                   set_state(PART:"arrow", st, 0.0);
17854                }
17855             }
17856          }
17857       }
17858    }
17859    group { name: "elm/genlist/tree_compress/default/default";
17860       data.item: "stacking" "above";
17861       data.item: "selectraise" "on";
17862       data.item: "labels" "elm.text";
17863       data.item: "icons" "elm.swallow.icon elm.swallow.end";
17864       data.item: "treesize" "20";
17865 //      data.item: "states" "";
17866       images {
17867          image: "bt_sm_base1.png" COMP;
17868          image: "bt_sm_shine.png" COMP;
17869          image: "bt_sm_hilight.png" COMP;
17870          image: "ilist_1.png" COMP;
17871          image: "ilist_item_shadow.png" COMP;
17872          image: "icon_arrow_left.png" COMP;
17873          image: "icon_arrow_right.png" COMP;
17874          image: "icon_arrow_down.png" COMP;
17875       }
17876       parts {
17877          part {
17878             name:           "event";
17879             type:           RECT;
17880             repeat_events: 1;
17881             description {
17882                state: "default" 0.0;
17883                color: 0 0 0 0;
17884             }
17885          }
17886          part {
17887             name: "base_sh";
17888             mouse_events: 0;
17889             description {
17890                state: "default" 0.0;
17891                align: 0.0 0.0;
17892                min: 0 10;
17893                fixed: 1 1;
17894                rel1 {
17895                   to: "base";
17896                   relative: 0.0 1.0;
17897                   offset: 0 0;
17898                }
17899                rel2 {
17900                   to: "base";
17901                   relative: 1.0 1.0;
17902                   offset: -1 0;
17903                }
17904                image {
17905                   normal: "ilist_item_shadow.png";
17906                }
17907                fill.smooth: 0;
17908             }
17909          }
17910          part {
17911             name: "base";
17912             mouse_events: 0;
17913             description {
17914                state: "default" 0.0;
17915                image {
17916                   normal: "ilist_1.png";
17917                   border: 2 2 2 2;
17918                }
17919                fill.smooth: 0;
17920             }
17921          }
17922          part { name: "bg";
17923             clip_to: "disclip";
17924             mouse_events: 0;
17925             description { state: "default" 0.0;
17926                visible: 0;
17927                color: 255 255 255 0;
17928                rel1 {
17929                   relative: 0.0 0.0;
17930                   offset: -5 -5;
17931                }
17932                rel2 {
17933                   relative: 1.0 1.0;
17934                   offset: 4 4;
17935                }
17936                image {
17937                   normal: "bt_sm_base1.png";
17938                   border: 6 6 6 6;
17939                }
17940                image.middle: SOLID;
17941             }
17942             description { state: "selected" 0.0;
17943                inherit: "default" 0.0;
17944                visible: 1;
17945                color: 255 255 255 255;
17946                rel1 {
17947                   relative: 0.0 0.0;
17948                   offset: -2 -2;
17949                }
17950                rel2 {
17951                   relative: 1.0 1.0;
17952                   offset: 1 1;
17953                }
17954             }
17955          }
17956          part { name: "elm.swallow.pad";
17957             type: SWALLOW;
17958             description { state: "default" 0.0;
17959                fixed: 1 0;
17960                align: 0.0 0.5;
17961                rel1 {
17962                   relative: 0.0  0.0;
17963                   offset:   4    4;
17964                }
17965                rel2 {
17966                   relative: 0.0  1.0;
17967                   offset:   4   -5;
17968                }
17969             }
17970          }
17971          part { name: "arrow";
17972             clip_to: "disclip";
17973             ignore_flags: ON_HOLD;
17974             description { state: "default" 0.0;
17975                fixed: 1 0;
17976                align: 0.0 0.5;
17977                aspect: 1.0 1.0;
17978                rel1 {
17979                   to_x: "elm.swallow.pad";
17980                   relative: 1.0  0.0;
17981                   offset:   -1    4;
17982                }
17983                rel2 {
17984                   to_x: "elm.swallow.pad";
17985                   relative: 1.0  1.0;
17986                   offset:   -1   -5;
17987                }
17988                image.normal: "icon_arrow_right.png";
17989             }
17990             description { state: "default" 0.1;
17991                inherit: "default" 0.0;
17992                image.normal: "icon_arrow_left.png";
17993             }
17994             description { state: "active" 0.0;
17995                inherit: "default" 0.0;
17996                image.normal: "icon_arrow_down.png";
17997             }
17998             description { state: "active" 0.1;
17999                inherit: "default" 0.0;
18000                image.normal: "icon_arrow_down.png";
18001             }
18002          }
18003          part { name: "elm.swallow.icon";
18004             clip_to: "disclip";
18005             type: SWALLOW;
18006             description { state: "default" 0.0;
18007                fixed: 1 0;
18008                align: 0.0 0.5;
18009                rel1 {
18010                   to_x: "arrow";
18011                   relative: 1.0  0.0;
18012                   offset:   4    4;
18013                }
18014                rel2 {
18015                   to_x: "arrow";
18016                   relative: 1.0  1.0;
18017                   offset:   4   -5;
18018                }
18019             }
18020          }
18021          part { name: "elm.swallow.end";
18022             clip_to: "disclip";
18023             type: SWALLOW;
18024             description { state: "default" 0.0;
18025                fixed: 1 0;
18026                align: 1.0 0.5;
18027                aspect: 1.0 1.0;
18028                aspect_preference: VERTICAL;
18029                rel1 {
18030                   relative: 1.0  0.0;
18031                   offset:   -5    4;
18032                }
18033                rel2 {
18034                   relative: 1.0  1.0;
18035                   offset:   -5   -5;
18036                }
18037             }
18038          }
18039          part { name: "elm.text";
18040             clip_to: "disclip";
18041             type:           TEXT;
18042             effect:         SOFT_SHADOW;
18043             mouse_events:   0;
18044             scale: 1;
18045             description {
18046                state: "default" 0.0;
18047 //               min: 16 16;
18048                rel1 {
18049                   to_x:     "elm.swallow.icon";
18050                   relative: 1.0  0.0;
18051                   offset:   0 4;
18052                }
18053                rel2 {
18054                   to_x:     "elm.swallow.end";
18055                   relative: 0.0  1.0;
18056                   offset:   -1 -5;
18057                }
18058                color: 0 0 0 255;
18059                color3: 0 0 0 0;
18060                text {
18061                   font: "Sans";
18062                   size: 10;
18063 //                  min: 1 1;
18064                   min: 0 1;
18065                   align: 0.0 0.5;
18066                   text_class: "list_item";
18067                }
18068             }
18069             description { state: "selected" 0.0;
18070                inherit: "default" 0.0;
18071                color: 224 224 224 255;
18072                color3: 0 0 0 64;
18073             }
18074          }
18075          part { name: "fg1";
18076             clip_to: "disclip";
18077             mouse_events: 0;
18078             description { state: "default" 0.0;
18079                visible: 0;
18080                color: 255 255 255 0;
18081                rel1.to: "bg";
18082                rel2.relative: 1.0 0.5;
18083                rel2.to: "bg";
18084                image {
18085                   normal: "bt_sm_hilight.png";
18086                   border: 6 6 6 0;
18087                }
18088             }
18089             description { state: "selected" 0.0;
18090                inherit: "default" 0.0;
18091                visible: 1;
18092                color: 255 255 255 255;
18093             }
18094          }
18095          part { name: "fg2";
18096             clip_to: "disclip";
18097             mouse_events: 0;
18098             description { state: "default" 0.0;
18099                visible: 0;
18100                color: 255 255 255 0;
18101                rel1.to: "bg";
18102                rel2.to: "bg";
18103                image {
18104                   normal: "bt_sm_shine.png";
18105                   border: 6 6 6 0;
18106                }
18107             }
18108             description { state: "selected" 0.0;
18109                inherit: "default" 0.0;
18110                visible: 1;
18111                color: 255 255 255 255;
18112             }
18113          }
18114          part { name: "disclip";
18115             type: RECT;
18116             description { state: "default" 0.0;
18117                rel1.to: "bg";
18118                rel2.to: "bg";
18119             }
18120             description { state: "disabled" 0.0;
18121                inherit: "default" 0.0;
18122                color: 255 255 255 64;
18123             }
18124          }
18125       }
18126       programs {
18127          // signal: elm,state,%s,active
18128          //   a "check" item named %s went active
18129          // signal: elm,state,%s,passive
18130          //   a "check" item named %s went passive
18131          // default is passive
18132          program {
18133             name:    "go_active";
18134             signal:  "elm,state,selected";
18135             source:  "elm";
18136             action:  STATE_SET "selected" 0.0;
18137             target:  "bg";
18138             target:  "fg1";
18139             target:  "fg2";
18140             target:  "elm.text";
18141          }
18142          program {
18143             name:    "go_passive";
18144             signal:  "elm,state,unselected";
18145             source:  "elm";
18146             action:  STATE_SET "default" 0.0;
18147             target:  "bg";
18148             target:  "fg1";
18149             target:  "fg2";
18150             target:  "elm.text";
18151             transition: LINEAR 0.1;
18152          }
18153          program {
18154             name:    "go_disabled";
18155             signal:  "elm,state,disabled";
18156             source:  "elm";
18157             action:  STATE_SET "disabled" 0.0;
18158             target:  "disclip";
18159          }
18160          program {
18161             name:    "go_enabled";
18162             signal:  "elm,state,enabled";
18163             source:  "elm";
18164             action:  STATE_SET "default" 0.0;
18165             target:  "disclip";
18166          }
18167          program {
18168             name:    "expand";
18169             signal:  "mouse,up,1";
18170             source:  "arrow";
18171             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
18172          }
18173          program {
18174             name:    "go_expanded";
18175             signal:  "elm,state,expanded";
18176             source:  "elm";
18177             script {
18178                new st[31];
18179                new Float:vl;
18180                get_state(PART:"arrow", st, 30, vl);
18181                set_state(PART:"arrow", "active", vl);
18182             }
18183          }
18184          program {
18185             name:    "go_contracted";
18186             signal:  "elm,state,contracted";
18187             source:  "elm";
18188             script {
18189                new st[31];
18190                new Float:vl;
18191                get_state(PART:"arrow", st, 30, vl);
18192                set_state(PART:"arrow", "default", vl);
18193             }
18194          }
18195          program { name: "to_rtl";
18196             signal: "edje,state,rtl";
18197             source: "edje";
18198             script {
18199                new st[31];
18200                new Float:vl;
18201                get_state(PART:"arrow", st, 30, vl);
18202                if (vl == 0.0) {
18203                   set_state(PART:"arrow", st, 0.1);
18204                }
18205             }
18206          }
18207          program { name: "to_ltr";
18208             signal: "edje,state,ltr";
18209             source: "edje";
18210             script {
18211                new st[31];
18212                new Float:vl;
18213                get_state(PART:"arrow", st, 30, vl);
18214                if (vl == 0.1) {
18215                   set_state(PART:"arrow", st, 0.0);
18216                }
18217             }
18218          }
18219       }
18220    }
18221    group { name: "elm/genlist/tree_odd/default/default";
18222       data.item: "stacking" "below";
18223       data.item: "selectraise" "on";
18224       data.item: "labels" "elm.text";
18225       data.item: "icons" "elm.swallow.icon elm.swallow.end";
18226       data.item: "treesize" "20";
18227 //      data.item: "states" "";
18228       images {
18229          image: "bt_sm_base1.png" COMP;
18230          image: "bt_sm_shine.png" COMP;
18231          image: "bt_sm_hilight.png" COMP;
18232          image: "ilist_2.png" COMP;
18233          image: "icon_arrow_left.png" COMP;
18234          image: "icon_arrow_right.png" COMP;
18235          image: "icon_arrow_down.png" COMP;
18236       }
18237       parts {
18238          part {
18239             name:           "event";
18240             type:           RECT;
18241             repeat_events: 1;
18242             description {
18243                state: "default" 0.0;
18244                color: 0 0 0 0;
18245             }
18246          }
18247          part {
18248             name: "base";
18249             mouse_events: 0;
18250             description {
18251                state: "default" 0.0;
18252                image {
18253                   normal: "ilist_2.png";
18254                   border: 2 2 2 2;
18255                }
18256                fill.smooth: 0;
18257             }
18258          }
18259          part { name: "bg";
18260             clip_to: "disclip";
18261             mouse_events: 0;
18262             description { state: "default" 0.0;
18263                visible: 0;
18264                color: 255 255 255 0;
18265                rel1 {
18266                   relative: 0.0 0.0;
18267                   offset: -5 -5;
18268                }
18269                rel2 {
18270                   relative: 1.0 1.0;
18271                   offset: 4 4;
18272                }
18273                image {
18274                   normal: "bt_sm_base1.png";
18275                   border: 6 6 6 6;
18276                }
18277                image.middle: SOLID;
18278             }
18279             description { state: "selected" 0.0;
18280                inherit: "default" 0.0;
18281                visible: 1;
18282                color: 255 255 255 255;
18283                rel1 {
18284                   relative: 0.0 0.0;
18285                   offset: -2 -2;
18286                }
18287                rel2 {
18288                   relative: 1.0 1.0;
18289                   offset: 1 1;
18290                }
18291             }
18292          }
18293          part { name: "elm.swallow.pad";
18294             type: SWALLOW;
18295             description { state: "default" 0.0;
18296                fixed: 1 0;
18297                align: 0.0 0.5;
18298                rel1 {
18299                   relative: 0.0  0.0;
18300                   offset:   4    4;
18301                }
18302                rel2 {
18303                   relative: 0.0  1.0;
18304                   offset:   4   -5;
18305                }
18306             }
18307          }
18308          part { name: "arrow";
18309             clip_to: "disclip";
18310             ignore_flags: ON_HOLD;
18311             description { state: "default" 0.0;
18312                fixed: 1 0;
18313                align: 0.0 0.5;
18314                aspect: 1.0 1.0;
18315                rel1 {
18316                   to_x: "elm.swallow.pad";
18317                   relative: 1.0  0.0;
18318                   offset:   -1    4;
18319                }
18320                rel2 {
18321                   to_x: "elm.swallow.pad";
18322                   relative: 1.0  1.0;
18323                   offset:   -1   -5;
18324                }
18325                image.normal: "icon_arrow_right.png";
18326             }
18327             description { state: "default" 0.1;
18328                inherit: "default" 0.0;
18329                image.normal: "icon_arrow_left.png";
18330             }
18331             description { state: "active" 0.0;
18332                inherit: "default" 0.0;
18333                image.normal: "icon_arrow_down.png";
18334             }
18335             description { state: "active" 0.1;
18336                inherit: "default" 0.0;
18337                image.normal: "icon_arrow_down.png";
18338             }
18339          }
18340          part { name: "elm.swallow.icon";
18341             clip_to: "disclip";
18342             type: SWALLOW;
18343             description { state: "default" 0.0;
18344                fixed: 1 0;
18345                align: 0.0 0.5;
18346                rel1 {
18347                   to_x: "arrow";
18348                   relative: 1.0  0.0;
18349                   offset:   4    4;
18350                }
18351                rel2 {
18352                   to_x: "arrow";
18353                   relative: 1.0  1.0;
18354                   offset:   4   -5;
18355                }
18356             }
18357          }
18358          part { name: "elm.swallow.end";
18359             clip_to: "disclip";
18360             type: SWALLOW;
18361             description { state: "default" 0.0;
18362                fixed: 1 0;
18363                align: 1.0 0.5;
18364                aspect: 1.0 1.0;
18365                aspect_preference: VERTICAL;
18366                rel1 {
18367                   relative: 1.0  0.0;
18368                   offset:   -5    4;
18369                }
18370                rel2 {
18371                   relative: 1.0  1.0;
18372                   offset:   -5   -5;
18373                }
18374             }
18375          }
18376          part { name: "elm.text";
18377             clip_to: "disclip";
18378             type:           TEXT;
18379             effect:         SOFT_SHADOW;
18380             mouse_events:   0;
18381             scale: 1;
18382             description {
18383                state: "default" 0.0;
18384 //               min: 16 16;
18385                rel1 {
18386                   to_x:     "elm.swallow.icon";
18387                   relative: 1.0  0.0;
18388                   offset:   0 4;
18389                }
18390                rel2 {
18391                   to_x:     "elm.swallow.end";
18392                   relative: 0.0  1.0;
18393                   offset:   -1 -5;
18394                }
18395                color: 0 0 0 255;
18396                color3: 0 0 0 0;
18397                text {
18398                   font: "Sans";
18399                   size: 10;
18400                   min: 1 1;
18401 //                  min: 0 1;
18402                   align: -1.0 0.5;
18403                   text_class: "list_item";
18404                }
18405             }
18406             description { state: "selected" 0.0;
18407                inherit: "default" 0.0;
18408                color: 224 224 224 255;
18409                color3: 0 0 0 64;
18410             }
18411          }
18412          part { name: "fg1";
18413             clip_to: "disclip";
18414             mouse_events: 0;
18415             description { state: "default" 0.0;
18416                visible: 0;
18417                color: 255 255 255 0;
18418                rel1.to: "bg";
18419                rel2.relative: 1.0 0.5;
18420                rel2.to: "bg";
18421                image {
18422                   normal: "bt_sm_hilight.png";
18423                   border: 6 6 6 0;
18424                }
18425             }
18426             description { state: "selected" 0.0;
18427                inherit: "default" 0.0;
18428                visible: 1;
18429                color: 255 255 255 255;
18430             }
18431          }
18432          part { name: "fg2";
18433             clip_to: "disclip";
18434             mouse_events: 0;
18435             description { state: "default" 0.0;
18436                visible: 0;
18437                color: 255 255 255 0;
18438                rel1.to: "bg";
18439                rel2.to: "bg";
18440                image {
18441                   normal: "bt_sm_shine.png";
18442                   border: 6 6 6 0;
18443                }
18444             }
18445             description { state: "selected" 0.0;
18446                inherit: "default" 0.0;
18447                visible: 1;
18448                color: 255 255 255 255;
18449             }
18450          }
18451          part { name: "disclip";
18452             type: RECT;
18453             description { state: "default" 0.0;
18454                rel1.to: "bg";
18455                rel2.to: "bg";
18456             }
18457             description { state: "disabled" 0.0;
18458                inherit: "default" 0.0;
18459                color: 255 255 255 64;
18460             }
18461          }
18462       }
18463       programs {
18464          // signal: elm,state,%s,active
18465          //   a "check" item named %s went active
18466          // signal: elm,state,%s,passive
18467          //   a "check" item named %s went passive
18468          // default is passive
18469          program {
18470             name:    "go_active";
18471             signal:  "elm,state,selected";
18472             source:  "elm";
18473             action:  STATE_SET "selected" 0.0;
18474             target:  "bg";
18475             target:  "fg1";
18476             target:  "fg2";
18477             target:  "elm.text";
18478          }
18479          program {
18480             name:    "go_passive";
18481             signal:  "elm,state,unselected";
18482             source:  "elm";
18483             action:  STATE_SET "default" 0.0;
18484             target:  "bg";
18485             target:  "fg1";
18486             target:  "fg2";
18487             target:  "elm.text";
18488             transition: LINEAR 0.1;
18489          }
18490          program {
18491             name:    "go_disabled";
18492             signal:  "elm,state,disabled";
18493             source:  "elm";
18494             action:  STATE_SET "disabled" 0.0;
18495             target:  "disclip";
18496          }
18497          program {
18498             name:    "go_enabled";
18499             signal:  "elm,state,enabled";
18500             source:  "elm";
18501             action:  STATE_SET "default" 0.0;
18502             target:  "disclip";
18503          }
18504          program {
18505             name:    "expand";
18506             signal:  "mouse,up,1";
18507             source:  "arrow";
18508             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
18509          }
18510          program {
18511             name:    "go_expanded";
18512             signal:  "elm,state,expanded";
18513             source:  "elm";
18514             script {
18515                new st[31];
18516                new Float:vl;
18517                get_state(PART:"arrow", st, 30, vl);
18518                set_state(PART:"arrow", "active", vl);
18519             }
18520          }
18521          program {
18522             name:    "go_contracted";
18523             signal:  "elm,state,contracted";
18524             source:  "elm";
18525             script {
18526                new st[31];
18527                new Float:vl;
18528                get_state(PART:"arrow", st, 30, vl);
18529                set_state(PART:"arrow", "default", vl);
18530             }
18531          }
18532          program { name: "to_rtl";
18533             signal: "edje,state,rtl";
18534             source: "edje";
18535             script {
18536                new st[31];
18537                new Float:vl;
18538                get_state(PART:"arrow", st, 30, vl);
18539                if (vl == 0.0) {
18540                   set_state(PART:"arrow", st, 0.1);
18541                }
18542             }
18543          }
18544          program { name: "to_ltr";
18545             signal: "edje,state,ltr";
18546             source: "edje";
18547             script {
18548                new st[31];
18549                new Float:vl;
18550                get_state(PART:"arrow", st, 30, vl);
18551                if (vl == 0.1) {
18552                   set_state(PART:"arrow", st, 0.0);
18553                }
18554             }
18555          }
18556       }
18557    }
18558    group { name: "elm/genlist/tree_compress_odd/default/default";
18559       data.item: "stacking" "below";
18560       data.item: "selectraise" "on";
18561       data.item: "labels" "elm.text";
18562       data.item: "icons" "elm.swallow.icon elm.swallow.end";
18563       data.item: "treesize" "20";
18564 //      data.item: "states" "";
18565       images {
18566          image: "bt_sm_base1.png" COMP;
18567          image: "bt_sm_shine.png" COMP;
18568          image: "bt_sm_hilight.png" COMP;
18569          image: "ilist_2.png" COMP;
18570          image: "icon_arrow_left.png" COMP;
18571          image: "icon_arrow_right.png" COMP;
18572          image: "icon_arrow_down.png" COMP;
18573       }
18574       parts {
18575          part {
18576             name:           "event";
18577             type:           RECT;
18578             repeat_events: 1;
18579             description {
18580                state: "default" 0.0;
18581                color: 0 0 0 0;
18582             }
18583          }
18584          part {
18585             name: "base";
18586             mouse_events: 0;
18587             description {
18588                state: "default" 0.0;
18589                image {
18590                   normal: "ilist_2.png";
18591                   border: 2 2 2 2;
18592                }
18593                fill.smooth: 0;
18594             }
18595          }
18596          part { name: "bg";
18597             clip_to: "disclip";
18598             mouse_events: 0;
18599             description { state: "default" 0.0;
18600                visible: 0;
18601                color: 255 255 255 0;
18602                rel1 {
18603                   relative: 0.0 0.0;
18604                   offset: -5 -5;
18605                }
18606                rel2 {
18607                   relative: 1.0 1.0;
18608                   offset: 4 4;
18609                }
18610                image {
18611                   normal: "bt_sm_base1.png";
18612                   border: 6 6 6 6;
18613                }
18614                image.middle: SOLID;
18615             }
18616             description { state: "selected" 0.0;
18617                inherit: "default" 0.0;
18618                visible: 1;
18619                color: 255 255 255 255;
18620                rel1 {
18621                   relative: 0.0 0.0;
18622                   offset: -2 -2;
18623                }
18624                rel2 {
18625                   relative: 1.0 1.0;
18626                   offset: 1 1;
18627                }
18628             }
18629          }
18630          part { name: "elm.swallow.pad";
18631             type: SWALLOW;
18632             description { state: "default" 0.0;
18633                fixed: 1 0;
18634                align: 0.0 0.5;
18635                rel1 {
18636                   relative: 0.0  0.0;
18637                   offset:   4    4;
18638                }
18639                rel2 {
18640                   relative: 0.0  1.0;
18641                   offset:   4   -5;
18642                }
18643             }
18644          }
18645          part { name: "arrow";
18646             clip_to: "disclip";
18647             ignore_flags: ON_HOLD;
18648             description { state: "default" 0.0;
18649                fixed: 1 0;
18650                align: 0.0 0.5;
18651                aspect: 1.0 1.0;
18652                rel1 {
18653                   to_x: "elm.swallow.pad";
18654                   relative: 1.0  0.0;
18655                   offset:   -1    4;
18656                }
18657                rel2 {
18658                   to_x: "elm.swallow.pad";
18659                   relative: 1.0  1.0;
18660                   offset:   -1   -5;
18661                }
18662                image.normal: "icon_arrow_right.png";
18663             }
18664             description { state: "default" 0.1;
18665                inherit: "default" 0.0;
18666                image.normal: "icon_arrow_left.png";
18667             }
18668             description { state: "active" 0.0;
18669                inherit: "default" 0.0;
18670                image.normal: "icon_arrow_down.png";
18671             }
18672             description { state: "active" 0.1;
18673                inherit: "default" 0.0;
18674                image.normal: "icon_arrow_down.png";
18675             }
18676          }
18677          part { name: "elm.swallow.icon";
18678             clip_to: "disclip";
18679             type: SWALLOW;
18680             description { state: "default" 0.0;
18681                fixed: 1 0;
18682                align: 0.0 0.5;
18683                rel1 {
18684                   to_x: "arrow";
18685                   relative: 1.0  0.0;
18686                   offset:   4    4;
18687                }
18688                rel2 {
18689                   to_x: "arrow";
18690                   relative: 1.0  1.0;
18691                   offset:   4   -5;
18692                }
18693             }
18694          }
18695          part { name: "elm.swallow.end";
18696             clip_to: "disclip";
18697             type: SWALLOW;
18698             description { state: "default" 0.0;
18699                fixed: 1 0;
18700                align: 1.0 0.5;
18701                aspect: 1.0 1.0;
18702                aspect_preference: VERTICAL;
18703                rel1 {
18704                   relative: 1.0  0.0;
18705                   offset:   -5    4;
18706                }
18707                rel2 {
18708                   relative: 1.0  1.0;
18709                   offset:   -5   -5;
18710                }
18711             }
18712          }
18713          part { name: "elm.text";
18714             clip_to: "disclip";
18715             type:           TEXT;
18716             effect:         SOFT_SHADOW;
18717             mouse_events:   0;
18718             scale: 1;
18719             description {
18720                state: "default" 0.0;
18721 //               min: 16 16;
18722                rel1 {
18723                   to_x:     "elm.swallow.icon";
18724                   relative: 1.0  0.0;
18725                   offset:   0 4;
18726                }
18727                rel2 {
18728                   to_x:     "elm.swallow.end";
18729                   relative: 0.0  1.0;
18730                   offset:   -1 -5;
18731                }
18732                color: 0 0 0 255;
18733                color3: 0 0 0 0;
18734                text {
18735                   font: "Sans";
18736                   size: 10;
18737 //                  min: 1 1;
18738                   min: 0 1;
18739                   align: 0.0 0.5;
18740                   text_class: "list_item";
18741                }
18742             }
18743             description { state: "selected" 0.0;
18744                inherit: "default" 0.0;
18745                color: 224 224 224 255;
18746                color3: 0 0 0 64;
18747             }
18748          }
18749          part { name: "fg1";
18750             clip_to: "disclip";
18751             mouse_events: 0;
18752             description { state: "default" 0.0;
18753                visible: 0;
18754                color: 255 255 255 0;
18755                rel1.to: "bg";
18756                rel2.relative: 1.0 0.5;
18757                rel2.to: "bg";
18758                image {
18759                   normal: "bt_sm_hilight.png";
18760                   border: 6 6 6 0;
18761                }
18762             }
18763             description { state: "selected" 0.0;
18764                inherit: "default" 0.0;
18765                visible: 1;
18766                color: 255 255 255 255;
18767             }
18768          }
18769          part { name: "fg2";
18770             clip_to: "disclip";
18771             mouse_events: 0;
18772             description { state: "default" 0.0;
18773                visible: 0;
18774                color: 255 255 255 0;
18775                rel1.to: "bg";
18776                rel2.to: "bg";
18777                image {
18778                   normal: "bt_sm_shine.png";
18779                   border: 6 6 6 0;
18780                }
18781             }
18782             description { state: "selected" 0.0;
18783                inherit: "default" 0.0;
18784                visible: 1;
18785                color: 255 255 255 255;
18786             }
18787          }
18788          part { name: "disclip";
18789             type: RECT;
18790             description { state: "default" 0.0;
18791                rel1.to: "bg";
18792                rel2.to: "bg";
18793             }
18794             description { state: "disabled" 0.0;
18795                inherit: "default" 0.0;
18796                color: 255 255 255 64;
18797             }
18798          }
18799       }
18800       programs {
18801          // signal: elm,state,%s,active
18802          //   a "check" item named %s went active
18803          // signal: elm,state,%s,passive
18804          //   a "check" item named %s went passive
18805          // default is passive
18806          program {
18807             name:    "go_active";
18808             signal:  "elm,state,selected";
18809             source:  "elm";
18810             action:  STATE_SET "selected" 0.0;
18811             target:  "bg";
18812             target:  "fg1";
18813             target:  "fg2";
18814             target:  "elm.text";
18815          }
18816          program {
18817             name:    "go_passive";
18818             signal:  "elm,state,unselected";
18819             source:  "elm";
18820             action:  STATE_SET "default" 0.0;
18821             target:  "bg";
18822             target:  "fg1";
18823             target:  "fg2";
18824             target:  "elm.text";
18825             transition: LINEAR 0.1;
18826          }
18827          program {
18828             name:    "go_disabled";
18829             signal:  "elm,state,disabled";
18830             source:  "elm";
18831             action:  STATE_SET "disabled" 0.0;
18832             target:  "disclip";
18833          }
18834          program {
18835             name:    "go_enabled";
18836             signal:  "elm,state,enabled";
18837             source:  "elm";
18838             action:  STATE_SET "default" 0.0;
18839             target:  "disclip";
18840          }
18841          program {
18842             name:    "expand";
18843             signal:  "mouse,up,1";
18844             source:  "arrow";
18845             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
18846          }
18847          program {
18848             name:    "go_expanded";
18849             signal:  "elm,state,expanded";
18850             source:  "elm";
18851             script {
18852                new st[31];
18853                new Float:vl;
18854                get_state(PART:"arrow", st, 30, vl);
18855                set_state(PART:"arrow", "active", vl);
18856             }
18857          }
18858          program {
18859             name:    "go_contracted";
18860             signal:  "elm,state,contracted";
18861             source:  "elm";
18862             script {
18863                new st[31];
18864                new Float:vl;
18865                get_state(PART:"arrow", st, 30, vl);
18866                set_state(PART:"arrow", "default", vl);
18867             }
18868          }
18869          program { name: "to_rtl";
18870             signal: "edje,state,rtl";
18871             source: "edje";
18872             script {
18873                new st[31];
18874                new Float:vl;
18875                get_state(PART:"arrow", st, 30, vl);
18876                if (vl == 0.0) {
18877                   set_state(PART:"arrow", st, 0.1);
18878                }
18879             }
18880          }
18881          program { name: "to_ltr";
18882             signal: "edje,state,ltr";
18883             source: "edje";
18884             script {
18885                new st[31];
18886                new Float:vl;
18887                get_state(PART:"arrow", st, 30, vl);
18888                if (vl == 0.1) {
18889                   set_state(PART:"arrow", st, 0.0);
18890                }
18891             }
18892          }
18893       }
18894    }
18895
18896    group { name: "elm/genlist/item/default_style/default";
18897        styles
18898        {
18899            style { name: "genlist_style";
18900                base: "font=Sans font_size=10 align=left valign=0.5 color=#000 text_class=list_item";
18901                tag:  "br" "\n";
18902                tag:  "ps" "ps";
18903                tag:  "hilight" "+ font=Sans:style=Bold";
18904                tag:  "b" "+ font=Sans:style=Bold";
18905                tag:  "tab" "\t";
18906            }
18907            style { name: "genlist_selected_style";
18908                base: "font=Sans font_size=10 align=left valign=0.5 color=#fff text_class=list_item";
18909                tag:  "br" "\n";
18910                tag:  "ps" "ps";
18911                tag:  "hilight" "+ font=Sans:style=Bold";
18912                tag:  "b" "+ font=Sans:style=Bold";
18913                tag:  "tab" "\t";
18914            }
18915        }
18916        data.item: "stacking" "above";
18917        data.item: "selectraise" "on";
18918        data.item: "labels" "elm.text";
18919        data.item: "icons" "elm.swallow.icon elm.swallow.end";
18920        data.item: "treesize" "20";
18921        images {
18922            image: "bt_sm_base1.png" COMP;
18923            image: "bt_sm_shine.png" COMP;
18924            image: "bt_sm_hilight.png" COMP;
18925            image: "ilist_1.png" COMP;
18926            image: "ilist_item_shadow.png" COMP;
18927        }
18928        parts {
18929            part {
18930                name:           "event";
18931                type:           RECT;
18932                repeat_events: 1;
18933                description {
18934                    state: "default" 0.0;
18935                    color: 0 0 0 0;
18936                }
18937            }
18938            part {
18939                name: "base_sh";
18940                mouse_events: 0;
18941                description {
18942                    state: "default" 0.0;
18943                    align: 0.0 0.0;
18944                    min: 0 10;
18945                    fixed: 1 1;
18946                    rel1 {
18947                        to: "base";
18948                        relative: 0.0 1.0;
18949                        offset: 0 0;
18950                    }
18951                    rel2 {
18952                        to: "base";
18953                        relative: 1.0 1.0;
18954                        offset: -1 0;
18955                    }
18956                    image {
18957                        normal: "ilist_item_shadow.png";
18958                    }
18959                    fill.smooth: 0;
18960                }
18961            }
18962            part {
18963                name: "base";
18964                mouse_events: 0;
18965                description {
18966                    state: "default" 0.0;
18967                    min: 16 28;
18968                    image {
18969                        normal: "ilist_1.png";
18970                        border: 2 2 2 2;
18971                    }
18972                    fill.smooth: 0;
18973                }
18974            }
18975            part { name: "bg";
18976                clip_to: "disclip";
18977                mouse_events: 0;
18978                description { state: "default" 0.0;
18979                    visible: 0;
18980                    color: 255 255 255 0;
18981                    rel1 {
18982                        relative: 0.0 0.0;
18983                        offset: -5 -5;
18984                    }
18985                    rel2 {
18986                        relative: 1.0 1.0;
18987                        offset: 4 4;
18988                    }
18989                    image {
18990                        normal: "bt_sm_base1.png";
18991                        border: 6 6 6 6;
18992                    }
18993                    image.middle: SOLID;
18994                }
18995                description { state: "selected" 0.0;
18996                    inherit: "default" 0.0;
18997                    visible: 1;
18998                    color: 255 255 255 255;
18999                    rel1 {
19000                        relative: 0.0 0.0;
19001                        offset: -2 -2;
19002                    }
19003                    rel2 {
19004                        relative: 1.0 1.0;
19005                        offset: 1 1;
19006                    }
19007                }
19008            }
19009            part { name: "elm.swallow.pad";
19010                type: SWALLOW;
19011                description { state: "default" 0.0;
19012                    fixed: 1 0;
19013                    align: 0.0 0.5;
19014                    rel1 {
19015                        relative: 0.0  0.0;
19016                        offset:   4    4;
19017                    }
19018                    rel2 {
19019                        relative: 0.0  1.0;
19020                        offset:   4   -5;
19021                    }
19022                }
19023            }
19024            part { name: "elm.swallow.icon";
19025                clip_to: "disclip";
19026                type: SWALLOW;
19027                description { state: "default" 0.0;
19028                    fixed: 1 0;
19029                    align: 0.0 0.5;
19030                    rel1 {
19031                        to_x: "elm.swallow.pad";
19032                        relative: 1.0  0.0;
19033                        offset:   -1    4;
19034                    }
19035                    rel2 {
19036                        to_x: "elm.swallow.pad";
19037                        relative: 1.0  1.0;
19038                        offset:   -1   -5;
19039                    }
19040                }
19041            }
19042            part { name: "elm.swallow.end";
19043                clip_to: "disclip";
19044                type: SWALLOW;
19045                description { state: "default" 0.0;
19046                    fixed: 1 0;
19047                    align: 1.0 0.5;
19048                    aspect: 1.0 1.0;
19049                    aspect_preference: VERTICAL;
19050                    rel1 {
19051                        relative: 1.0  0.0;
19052                        offset:   -5    4;
19053                    }
19054                    rel2 {
19055                        relative: 1.0  1.0;
19056                        offset:   -5   -5;
19057                    }
19058                }
19059            }
19060            part { name: "elm.text";
19061                clip_to: "disclip";
19062                type: TEXTBLOCK;
19063                mouse_events: 0;
19064                scale: 1;
19065                description {
19066                    state: "default" 0.0;
19067                    align: 0.0 0.5;
19068                    fixed: 0 1;
19069                    rel1 {
19070                        to_x: "elm.swallow.icon";
19071                        to_y: "base";
19072                        relative: 1.0  0.5;
19073                        offset:   0 4;
19074                    }
19075                    rel2 {
19076                        to_x: "elm.swallow.end";
19077                        to_y: "base";
19078                        relative: 0.0  0.5;
19079                        offset:   -1 -5;
19080                    }
19081                    text {
19082                        style: "genlist_style";
19083                        min: 1 1;
19084                    }
19085                }
19086                description { state: "selected" 0.0;
19087                    inherit: "default" 0.0;
19088                    text {
19089                        style: "genlist_selected_style";
19090                    }
19091                }
19092            }
19093            part { name: "fg1";
19094                clip_to: "disclip";
19095                mouse_events: 0;
19096                description { state: "default" 0.0;
19097                    visible: 0;
19098                    color: 255 255 255 0;
19099                    rel1.to: "bg";
19100                    rel2.relative: 1.0 0.5;
19101                    rel2.to: "bg";
19102                    image {
19103                        normal: "bt_sm_hilight.png";
19104                        border: 6 6 6 0;
19105                    }
19106                }
19107                description { state: "selected" 0.0;
19108                    inherit: "default" 0.0;
19109                    visible: 1;
19110                    color: 255 255 255 255;
19111                }
19112            }
19113            part { name: "fg2";
19114                clip_to: "disclip";
19115                mouse_events: 0;
19116                description { state: "default" 0.0;
19117                    visible: 0;
19118                    color: 255 255 255 0;
19119                    rel1.to: "bg";
19120                    rel2.to: "bg";
19121                    image {
19122                        normal: "bt_sm_shine.png";
19123                        border: 6 6 6 0;
19124                    }
19125                }
19126                description { state: "selected" 0.0;
19127                    inherit: "default" 0.0;
19128                    visible: 1;
19129                    color: 255 255 255 255;
19130                }
19131            }
19132            part { name: "disclip";
19133                type: RECT;
19134                description { state: "default" 0.0;
19135                    rel1.to: "bg";
19136                    rel2.to: "bg";
19137                }
19138                description { state: "disabled" 0.0;
19139                    inherit: "default" 0.0;
19140                    color: 255 255 255 64;
19141                }
19142            }
19143        }
19144        programs {
19145            // signal: elm,state,%s,active
19146            //   a "check" item named %s went active
19147            // signal: elm,state,%s,passive
19148            //   a "check" item named %s went passive
19149            // default is passive
19150            program {
19151                name:    "go_active";
19152                signal:  "elm,state,selected";
19153                source:  "elm";
19154                action:  STATE_SET "selected" 0.0;
19155                target:  "bg";
19156                target:  "fg1";
19157                target:  "fg2";
19158                target:  "elm.text";
19159            }
19160            program {
19161                name:    "go_passive";
19162                signal:  "elm,state,unselected";
19163                source:  "elm";
19164                action:  STATE_SET "default" 0.0;
19165                target:  "bg";
19166                target:  "fg1";
19167                target:  "fg2";
19168                target:  "elm.text";
19169                transition: LINEAR 0.1;
19170            }
19171            program {
19172                name:    "go_disabled";
19173                signal:  "elm,state,disabled";
19174                source:  "elm";
19175                action:  STATE_SET "disabled" 0.0;
19176                target:  "disclip";
19177            }
19178            program {
19179                name:    "go_enabled";
19180                signal:  "elm,state,enabled";
19181                source:  "elm";
19182                action:  STATE_SET "default" 0.0;
19183                target:  "disclip";
19184            }
19185        }
19186    }
19187    group { name: "elm/genlist/item_odd/default_style/default";
19188        data.item: "stacking" "below";
19189        data.item: "selectraise" "on";
19190        data.item: "labels" "elm.text";
19191        data.item: "icons" "elm.swallow.icon elm.swallow.end";
19192        data.item: "treesize" "20";
19193        images {
19194            image: "bt_sm_base1.png" COMP;
19195            image: "bt_sm_shine.png" COMP;
19196            image: "bt_sm_hilight.png" COMP;
19197            image: "ilist_2.png" COMP;
19198        }
19199        parts {
19200            part { name: "event";
19201                type: RECT;
19202                repeat_events: 1;
19203                description {
19204                    state: "default" 0.0;
19205                    color: 0 0 0 0;
19206                }
19207            }
19208            part {
19209                name: "base";
19210                mouse_events: 0;
19211                description {
19212                    state: "default" 0.0;
19213                    min: 16 28;
19214                    image {
19215                        normal: "ilist_2.png";
19216                        border: 2 2 2 2;
19217                    }
19218                    fill.smooth: 0;
19219                }
19220            }
19221            part { name: "bg";
19222                clip_to: "disclip";
19223                mouse_events: 0;
19224                description { state: "default" 0.0;
19225                    visible: 0;
19226                    color: 255 255 255 0;
19227                    rel1 {
19228                        relative: 0.0 0.0;
19229                        offset: -5 -5;
19230                    }
19231                    rel2 {
19232                        relative: 1.0 1.0;
19233                        offset: 4 4;
19234                    }
19235                    image {
19236                        normal: "bt_sm_base1.png";
19237                        border: 6 6 6 6;
19238                    }
19239                    image.middle: SOLID;
19240                }
19241                description { state: "selected" 0.0;
19242                    inherit: "default" 0.0;
19243                    visible: 1;
19244                    color: 255 255 255 255;
19245                    rel1 {
19246                        relative: 0.0 0.0;
19247                        offset: -2 -2;
19248                    }
19249                    rel2 {
19250                        relative: 1.0 1.0;
19251                        offset: 1 1;
19252                    }
19253                }
19254            }
19255            part { name: "elm.swallow.pad";
19256                type: SWALLOW;
19257                description { state: "default" 0.0;
19258                    fixed: 1 0;
19259                    align: 0.0 0.5;
19260                    rel1 {
19261                        relative: 0.0  0.0;
19262                        offset:   4    4;
19263                    }
19264                    rel2 {
19265                        relative: 0.0  1.0;
19266                        offset:   4   -5;
19267                    }
19268                }
19269            }
19270            part { name: "elm.swallow.icon";
19271                clip_to: "disclip";
19272                type: SWALLOW;
19273                description { state: "default" 0.0;
19274                    fixed: 1 0;
19275                    align: 0.0 0.5;
19276                    rel1 {
19277                        to_x: "elm.swallow.pad";
19278                        relative: 1.0  0.0;
19279                        offset:   -1    4;
19280                    }
19281                    rel2 {
19282                        to_x: "elm.swallow.pad";
19283                        relative: 1.0  1.0;
19284                        offset:   -1   -5;
19285                    }
19286                }
19287            }
19288            part { name: "elm.swallow.end";
19289                clip_to: "disclip";
19290                type:          SWALLOW;
19291                description { state:    "default" 0.0;
19292                    fixed: 1 0;
19293                    align:    1.0 0.5;
19294                    aspect: 1.0 1.0;
19295                    aspect_preference: VERTICAL;
19296                    rel1 {
19297                        relative: 1.0  0.0;
19298                        offset:   -5    4;
19299                    }
19300                    rel2 {
19301                        relative: 1.0  1.0;
19302                        offset:   -5   -5;
19303                    }
19304                }
19305            }
19306            part { name: "elm.text";
19307                clip_to: "disclip";
19308                type:           TEXTBLOCK;
19309                mouse_events:   0;
19310                scale: 1;
19311                description {
19312                    state: "default" 0.0;
19313                    align: 0.0 0.5;
19314                    fixed: 0 1;
19315                    rel1 {
19316                        to_x: "elm.swallow.icon";
19317                        to_y: "base";
19318                        relative: 1.0  0.5;
19319                        offset:   0 4;
19320                    }
19321                    rel2 {
19322                        to_x: "elm.swallow.end";
19323                        to_y: "base";
19324                        relative: 0.0  0.5;
19325                        offset:   -1 -5;
19326                    }
19327                    text {
19328                        style: "genlist_style";
19329                        min: 1 1;
19330                    }
19331                }
19332                description { state: "selected" 0.0;
19333                    inherit: "default" 0.0;
19334                    text {
19335                        style: "genlist_selected_style";
19336                    }
19337                }
19338            }
19339            part { name: "fg1";
19340                clip_to: "disclip";
19341                mouse_events: 0;
19342                description { state: "default" 0.0;
19343                    visible: 0;
19344                    color: 255 255 255 0;
19345                    rel1.to: "bg";
19346                    rel2.relative: 1.0 0.5;
19347                    rel2.to: "bg";
19348                    image {
19349                        normal: "bt_sm_hilight.png";
19350                        border: 6 6 6 0;
19351                    }
19352                }
19353                description { state: "selected" 0.0;
19354                    inherit: "default" 0.0;
19355                    visible: 1;
19356                    color: 255 255 255 255;
19357                }
19358            }
19359            part { name: "fg2";
19360                clip_to: "disclip";
19361                mouse_events: 0;
19362                description { state: "default" 0.0;
19363                    visible: 0;
19364                    color: 255 255 255 0;
19365                    rel1.to: "bg";
19366                    rel2.to: "bg";
19367                    image {
19368                        normal: "bt_sm_shine.png";
19369                        border: 6 6 6 0;
19370                    }
19371                }
19372                description { state: "selected" 0.0;
19373                    inherit: "default" 0.0;
19374                    visible: 1;
19375                    color: 255 255 255 255;
19376                }
19377            }
19378            part { name: "disclip";
19379                type: RECT;
19380                description { state: "default" 0.0;
19381                    rel1.to: "bg";
19382                    rel2.to: "bg";
19383                }
19384                description { state: "disabled" 0.0;
19385                    inherit: "default" 0.0;
19386                    color: 255 255 255 64;
19387                }
19388            }
19389        }
19390        programs {
19391            // signal: elm,state,%s,active
19392            //   a "check" item named %s went active
19393            // signal: elm,state,%s,passive
19394            //   a "check" item named %s went passive
19395            // default is passive
19396            program {
19397                name:    "go_active";
19398                signal:  "elm,state,selected";
19399                source:  "elm";
19400                action:  STATE_SET "selected" 0.0;
19401                target:  "bg";
19402                target:  "fg1";
19403                target:  "fg2";
19404                target:  "elm.text";
19405            }
19406            program {
19407                name:    "go_passive";
19408                signal:  "elm,state,unselected";
19409                source:  "elm";
19410                action:  STATE_SET "default" 0.0;
19411                target:  "bg";
19412                target:  "fg1";
19413                target:  "fg2";
19414                target:  "elm.text";
19415                transition: LINEAR 0.1;
19416            }
19417            program {
19418                name:    "go_disabled";
19419                signal:  "elm,state,disabled";
19420                source:  "elm";
19421                action:  STATE_SET "disabled" 0.0;
19422                target:  "disclip";
19423            }
19424            program {
19425                name:    "go_enabled";
19426                signal:  "elm,state,enabled";
19427                source:  "elm";
19428                action:  STATE_SET "default" 0.0;
19429                target:  "disclip";
19430            }
19431        }
19432    }
19433
19434    group { name: "elm/genlist/tree/default_style/default";
19435        data.item: "stacking" "above";
19436        data.item: "selectraise" "on";
19437        data.item: "labels" "elm.text";
19438        data.item: "icons" "elm.swallow.icon elm.swallow.end";
19439        data.item: "treesize" "20";
19440        images {
19441            image: "bt_sm_base1.png" COMP;
19442            image: "bt_sm_shine.png" COMP;
19443            image: "bt_sm_hilight.png" COMP;
19444            image: "ilist_1.png" COMP;
19445            image: "ilist_item_shadow.png" COMP;
19446            image: "icon_arrow_right.png" COMP;
19447            image: "icon_arrow_down.png" COMP;
19448        }
19449        parts {
19450            part {
19451                name:           "event";
19452                type:           RECT;
19453                repeat_events: 1;
19454                description {
19455                    state: "default" 0.0;
19456                    color: 0 0 0 0;
19457                }
19458            }
19459            part {
19460                name: "base_sh";
19461                mouse_events: 0;
19462                description {
19463                    state: "default" 0.0;
19464                    align: 0.0 0.0;
19465                    min: 0 10;
19466                    fixed: 1 1;
19467                    rel1 {
19468                        to: "base";
19469                        relative: 0.0 1.0;
19470                        offset: 0 0;
19471                    }
19472                    rel2 {
19473                        to: "base";
19474                        relative: 1.0 1.0;
19475                        offset: -1 0;
19476                    }
19477                    image {
19478                        normal: "ilist_item_shadow.png";
19479                    }
19480                    fill.smooth: 0;
19481                }
19482            }
19483            part {
19484                name: "base";
19485                mouse_events: 0;
19486                description {
19487                    state: "default" 0.0;
19488                    min: 16 28;
19489                    image {
19490                        normal: "ilist_1.png";
19491                        border: 2 2 2 2;
19492                    }
19493                    fill.smooth: 0;
19494                }
19495            }
19496            part { name: "bg";
19497                clip_to: "disclip";
19498                mouse_events: 0;
19499                description { state: "default" 0.0;
19500                    visible: 0;
19501                    color: 255 255 255 0;
19502                    rel1 {
19503                        relative: 0.0 0.0;
19504                        offset: -5 -5;
19505                    }
19506                    rel2 {
19507                        relative: 1.0 1.0;
19508                        offset: 4 4;
19509                    }
19510                    image {
19511                        normal: "bt_sm_base1.png";
19512                        border: 6 6 6 6;
19513                    }
19514                    image.middle: SOLID;
19515                }
19516                description { state: "selected" 0.0;
19517                    inherit: "default" 0.0;
19518                    visible: 1;
19519                    color: 255 255 255 255;
19520                    rel1 {
19521                        relative: 0.0 0.0;
19522                        offset: -2 -2;
19523                    }
19524                    rel2 {
19525                        relative: 1.0 1.0;
19526                        offset: 1 1;
19527                    }
19528                }
19529            }
19530            part { name: "elm.swallow.pad";
19531                type: SWALLOW;
19532                description { state: "default" 0.0;
19533                    fixed: 1 0;
19534                    align: 0.0 0.5;
19535                    rel1 {
19536                        relative: 0.0  0.0;
19537                        offset:   4    4;
19538                    }
19539                    rel2 {
19540                        relative: 0.0  1.0;
19541                        offset:   4   -5;
19542                    }
19543                }
19544            }
19545            part { name: "arrow";
19546                clip_to: "disclip";
19547                ignore_flags: ON_HOLD;
19548                description { state: "default" 0.0;
19549                    fixed: 1 0;
19550                    align: 0.0 0.5;
19551                    aspect: 1.0 1.0;
19552                    rel1 {
19553                        to_x: "elm.swallow.pad";
19554                        relative: 1.0  0.0;
19555                        offset:   -1    4;
19556                    }
19557                    rel2 {
19558                        to_x: "elm.swallow.pad";
19559                        relative: 1.0  1.0;
19560                        offset:   -1   -5;
19561                    }
19562                    image.normal: "icon_arrow_right.png";
19563                }
19564                description { state: "active" 0.0;
19565                    inherit: "default" 0.0;
19566                    image.normal: "icon_arrow_down.png";
19567                }
19568            }
19569            part { name: "elm.swallow.icon";
19570                clip_to: "disclip";
19571                type: SWALLOW;
19572                description { state: "default" 0.0;
19573                    fixed: 1 0;
19574                    align: 0.0 0.5;
19575                    rel1 {
19576                        to_x: "arrow";
19577                        relative: 1.0  0.0;
19578                        offset:   4    4;
19579                    }
19580                    rel2 {
19581                        to_x: "arrow";
19582                        relative: 1.0  1.0;
19583                        offset:   4   -5;
19584                    }
19585                }
19586            }
19587            part { name: "elm.swallow.end";
19588                clip_to: "disclip";
19589                type: SWALLOW;
19590                description { state: "default" 0.0;
19591                    fixed: 1 0;
19592                    align: 1.0 0.5;
19593                    aspect: 1.0 1.0;
19594                    aspect_preference: VERTICAL;
19595                    rel1 {
19596                        relative: 1.0  0.0;
19597                        offset:   -5    4;
19598                    }
19599                    rel2 {
19600                        relative: 1.0  1.0;
19601                        offset:   -5   -5;
19602                    }
19603                }
19604            }
19605            part { name: "elm.text";
19606                clip_to: "disclip";
19607                type:           TEXTBLOCK;
19608                effect:         SOFT_SHADOW;
19609                mouse_events:   0;
19610                scale: 1;
19611                description {
19612                    state: "default" 0.0;
19613                    align: 0.0 0.5;
19614                    fixed: 0 1;
19615                    rel1 {
19616                        to_x:     "elm.swallow.icon";
19617                        to_y: "base";
19618                        relative: 1.0  0.5;
19619                        offset:   0 4;
19620                    }
19621                    rel2 {
19622                        to_x:     "elm.swallow.end";
19623                        to_y: "base";
19624                        relative: 0.0  0.5;
19625                        offset:   -1 -5;
19626                    }
19627                    text {
19628                        style: "genlist_style";
19629                        min: 1 1;
19630                    }
19631                }
19632                description { state: "selected" 0.0;
19633                    inherit: "default" 0.0;
19634                    text {
19635                        style: "genlist_selected_style";
19636                    }
19637                }
19638            }
19639            part { name: "fg1";
19640                clip_to: "disclip";
19641                mouse_events: 0;
19642                description { state: "default" 0.0;
19643                    visible: 0;
19644                    color: 255 255 255 0;
19645                    rel1.to: "bg";
19646                    rel2.relative: 1.0 0.5;
19647                    rel2.to: "bg";
19648                    image {
19649                        normal: "bt_sm_hilight.png";
19650                        border: 6 6 6 0;
19651                    }
19652                }
19653                description { state: "selected" 0.0;
19654                    inherit: "default" 0.0;
19655                    visible: 1;
19656                    color: 255 255 255 255;
19657                }
19658            }
19659            part { name: "fg2";
19660                clip_to: "disclip";
19661                mouse_events: 0;
19662                description { state: "default" 0.0;
19663                    visible: 0;
19664                    color: 255 255 255 0;
19665                    rel1.to: "bg";
19666                    rel2.to: "bg";
19667                    image {
19668                        normal: "bt_sm_shine.png";
19669                        border: 6 6 6 0;
19670                    }
19671                }
19672                description { state: "selected" 0.0;
19673                    inherit: "default" 0.0;
19674                    visible: 1;
19675                    color: 255 255 255 255;
19676                }
19677            }
19678            part { name: "disclip";
19679                type: RECT;
19680                description { state: "default" 0.0;
19681                    rel1.to: "bg";
19682                    rel2.to: "bg";
19683                }
19684                description { state: "disabled" 0.0;
19685                    inherit: "default" 0.0;
19686                    color: 255 255 255 64;
19687                }
19688            }
19689        }
19690        programs {
19691            // signal: elm,state,%s,active
19692            //   a "check" item named %s went active
19693            // signal: elm,state,%s,passive
19694            //   a "check" item named %s went passive
19695            // default is passive
19696            program {
19697                name:    "go_active";
19698                signal:  "elm,state,selected";
19699                source:  "elm";
19700                action:  STATE_SET "selected" 0.0;
19701                target:  "bg";
19702                target:  "fg1";
19703                target:  "fg2";
19704                target:  "elm.text";
19705            }
19706            program {
19707                name:    "go_passive";
19708                signal:  "elm,state,unselected";
19709                source:  "elm";
19710                action:  STATE_SET "default" 0.0;
19711                target:  "bg";
19712                target:  "fg1";
19713                target:  "fg2";
19714                target:  "elm.text";
19715                transition: LINEAR 0.1;
19716            }
19717            program {
19718                name:    "go_disabled";
19719                signal:  "elm,state,disabled";
19720                source:  "elm";
19721                action:  STATE_SET "disabled" 0.0;
19722                target:  "disclip";
19723            }
19724            program {
19725                name:    "go_enabled";
19726                signal:  "elm,state,enabled";
19727                source:  "elm";
19728                action:  STATE_SET "default" 0.0;
19729                target:  "disclip";
19730            }
19731            program {
19732                name:    "expand";
19733                signal:  "mouse,up,1";
19734                source:  "arrow";
19735                action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
19736            }
19737            program {
19738                name:    "go_expanded";
19739                signal:  "elm,state,expanded";
19740                source:  "elm";
19741                action:  STATE_SET "active" 0.0;
19742                target:  "arrow";
19743            }
19744            program {
19745                name:    "go_contracted";
19746                signal:  "elm,state,contracted";
19747                source:  "elm";
19748                action:  STATE_SET "default" 0.0;
19749                target:  "arrow";
19750            }
19751        }
19752    }
19753    group { name: "elm/genlist/tree_odd/default_style/default";
19754        data.item: "stacking" "below";
19755        data.item: "selectraise" "on";
19756        data.item: "labels" "elm.text";
19757        data.item: "icons" "elm.swallow.icon elm.swallow.end";
19758        data.item: "treesize" "20";
19759        images {
19760            image: "bt_sm_base1.png" COMP;
19761            image: "bt_sm_shine.png" COMP;
19762            image: "bt_sm_hilight.png" COMP;
19763            image: "ilist_2.png" COMP;
19764            image: "icon_arrow_right.png" COMP;
19765            image: "icon_arrow_down.png" COMP;
19766        }
19767        parts {
19768            part {
19769                name:           "event";
19770                type:           RECT;
19771                repeat_events: 1;
19772                description {
19773                    state: "default" 0.0;
19774                    color: 0 0 0 0;
19775                }
19776            }
19777            part {
19778                name: "base";
19779                mouse_events: 0;
19780                description {
19781                    state: "default" 0.0;
19782                    min: 16 28;
19783                    image {
19784                        normal: "ilist_2.png";
19785                        border: 2 2 2 2;
19786                    }
19787                    fill.smooth: 0;
19788                }
19789            }
19790            part { name: "bg";
19791                clip_to: "disclip";
19792                mouse_events: 0;
19793                description { state: "default" 0.0;
19794                    visible: 0;
19795                    color: 255 255 255 0;
19796                    rel1 {
19797                        relative: 0.0 0.0;
19798                        offset: -5 -5;
19799                    }
19800                    rel2 {
19801                        relative: 1.0 1.0;
19802                        offset: 4 4;
19803                    }
19804                    image {
19805                        normal: "bt_sm_base1.png";
19806                        border: 6 6 6 6;
19807                    }
19808                    image.middle: SOLID;
19809                }
19810                description { state: "selected" 0.0;
19811                    inherit: "default" 0.0;
19812                    visible: 1;
19813                    color: 255 255 255 255;
19814                    rel1 {
19815                        relative: 0.0 0.0;
19816                        offset: -2 -2;
19817                    }
19818                    rel2 {
19819                        relative: 1.0 1.0;
19820                        offset: 1 1;
19821                    }
19822                }
19823            }
19824            part { name: "elm.swallow.pad";
19825                type: SWALLOW;
19826                description { state: "default" 0.0;
19827                    fixed: 1 0;
19828                    align: 0.0 0.5;
19829                    rel1 {
19830                        relative: 0.0  0.0;
19831                        offset:   4    4;
19832                    }
19833                    rel2 {
19834                        relative: 0.0  1.0;
19835                        offset:   4   -5;
19836                    }
19837                }
19838            }
19839            part { name: "arrow";
19840                clip_to: "disclip";
19841                ignore_flags: ON_HOLD;
19842                description { state: "default" 0.0;
19843                    fixed: 1 0;
19844                    align: 0.0 0.5;
19845                    aspect: 1.0 1.0;
19846                    rel1 {
19847                        to_x: "elm.swallow.pad";
19848                        relative: 1.0  0.0;
19849                        offset:   -1    4;
19850                    }
19851                    rel2 {
19852                        to_x: "elm.swallow.pad";
19853                        relative: 1.0  1.0;
19854                        offset:   -1   -5;
19855                    }
19856                    image.normal: "icon_arrow_right.png";
19857                }
19858                description { state: "active" 0.0;
19859                    inherit: "default" 0.0;
19860                    image.normal: "icon_arrow_down.png";
19861                }
19862            }
19863            part { name: "elm.swallow.icon";
19864                clip_to: "disclip";
19865                type: SWALLOW;
19866                description { state: "default" 0.0;
19867                    fixed: 1 0;
19868                    align: 0.0 0.5;
19869                    rel1 {
19870                        to_x: "arrow";
19871                        relative: 1.0  0.0;
19872                        offset:   4    4;
19873                    }
19874                    rel2 {
19875                        to_x: "arrow";
19876                        relative: 1.0  1.0;
19877                        offset:   4   -5;
19878                    }
19879                }
19880            }
19881            part { name: "elm.swallow.end";
19882                clip_to: "disclip";
19883                type: SWALLOW;
19884                description { state: "default" 0.0;
19885                    fixed: 1 0;
19886                    align: 1.0 0.5;
19887                    aspect: 1.0 1.0;
19888                    aspect_preference: VERTICAL;
19889                    rel1 {
19890                        relative: 1.0  0.0;
19891                        offset:   -5    4;
19892                    }
19893                    rel2 {
19894                        relative: 1.0  1.0;
19895                        offset:   -5   -5;
19896                    }
19897                }
19898            }
19899            part { name: "elm.text";
19900                clip_to: "disclip";
19901                type:           TEXTBLOCK;
19902                effect:         SOFT_SHADOW;
19903                mouse_events:   0;
19904                scale: 1;
19905                description {
19906                    state: "default" 0.0;
19907                    align: 0.0 0.5;
19908                    fixed: 0 1;
19909                    rel1 {
19910                        to_x:     "elm.swallow.icon";
19911                        to_y: "base";
19912                        relative: 1.0  0.5;
19913                        offset:   0 4;
19914                    }
19915                    rel2 {
19916                        to_x:     "elm.swallow.end";
19917                        to_y: "base";
19918                        relative: 0.0  0.5;
19919                        offset:   -1 -5;
19920                    }
19921                    text {
19922                        style: "genlist_style";
19923                        min: 1 1;
19924                    }
19925                }
19926                description { state: "selected" 0.0;
19927                    inherit: "default" 0.0;
19928                    text {
19929                        style: "genlist_selected_style";
19930                    }
19931                }
19932            }
19933            part { name: "fg1";
19934                clip_to: "disclip";
19935                mouse_events: 0;
19936                description { state: "default" 0.0;
19937                    visible: 0;
19938                    color: 255 255 255 0;
19939                    rel1.to: "bg";
19940                    rel2.relative: 1.0 0.5;
19941                    rel2.to: "bg";
19942                    image {
19943                        normal: "bt_sm_hilight.png";
19944                        border: 6 6 6 0;
19945                    }
19946                }
19947                description { state: "selected" 0.0;
19948                    inherit: "default" 0.0;
19949                    visible: 1;
19950                    color: 255 255 255 255;
19951                }
19952            }
19953            part { name: "fg2";
19954                clip_to: "disclip";
19955                mouse_events: 0;
19956                description { state: "default" 0.0;
19957                    visible: 0;
19958                    color: 255 255 255 0;
19959                    rel1.to: "bg";
19960                    rel2.to: "bg";
19961                    image {
19962                        normal: "bt_sm_shine.png";
19963                        border: 6 6 6 0;
19964                    }
19965                }
19966                description { state: "selected" 0.0;
19967                    inherit: "default" 0.0;
19968                    visible: 1;
19969                    color: 255 255 255 255;
19970                }
19971            }
19972            part { name: "disclip";
19973                type: RECT;
19974                description { state: "default" 0.0;
19975                    rel1.to: "bg";
19976                    rel2.to: "bg";
19977                }
19978                description { state: "disabled" 0.0;
19979                    inherit: "default" 0.0;
19980                    color: 255 255 255 64;
19981                }
19982            }
19983        }
19984        programs {
19985            // signal: elm,state,%s,active
19986            //   a "check" item named %s went active
19987            // signal: elm,state,%s,passive
19988            //   a "check" item named %s went passive
19989            // default is passive
19990            program {
19991                name:    "go_active";
19992                signal:  "elm,state,selected";
19993                source:  "elm";
19994                action:  STATE_SET "selected" 0.0;
19995                target:  "bg";
19996                target:  "fg1";
19997                target:  "fg2";
19998                target:  "elm.text";
19999            }
20000            program {
20001                name:    "go_passive";
20002                signal:  "elm,state,unselected";
20003                source:  "elm";
20004                action:  STATE_SET "default" 0.0;
20005                target:  "bg";
20006                target:  "fg1";
20007                target:  "fg2";
20008                target:  "elm.text";
20009                transition: LINEAR 0.1;
20010            }
20011            program {
20012                name:    "go_disabled";
20013                signal:  "elm,state,disabled";
20014                source:  "elm";
20015                action:  STATE_SET "disabled" 0.0;
20016                target:  "disclip";
20017            }
20018            program {
20019                name:    "go_enabled";
20020                signal:  "elm,state,enabled";
20021                source:  "elm";
20022                action:  STATE_SET "default" 0.0;
20023                target:  "disclip";
20024            }
20025            program {
20026                name:    "expand";
20027                signal:  "mouse,up,1";
20028                source:  "arrow";
20029                action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
20030            }
20031            program {
20032                name:    "go_expanded";
20033                signal:  "elm,state,expanded";
20034                source:  "elm";
20035                action:  STATE_SET "active" 0.0;
20036                target:  "arrow";
20037            }
20038            program {
20039                name:    "go_contracted";
20040                signal:  "elm,state,contracted";
20041                source:  "elm";
20042                action:  STATE_SET "default" 0.0;
20043                target:  "arrow";
20044            }
20045        }
20046    }
20047
20048
20049    group { name: "elm/genlist/item/double_label/default";
20050       data.item: "stacking" "above";
20051       data.item: "selectraise" "on";
20052       data.item: "labels" "elm.text elm.text.sub";
20053       data.item: "icons" "elm.swallow.icon elm.swallow.end";
20054       data.item: "treesize" "20";
20055 //      data.item: "states" "";
20056       images {
20057          image: "bt_sm_base1.png" COMP;
20058          image: "bt_sm_shine.png" COMP;
20059          image: "bt_sm_hilight.png" COMP;
20060          image: "ilist_1.png" COMP;
20061          image: "ilist_item_shadow.png" COMP;
20062       }
20063       parts {
20064          part {
20065             name:           "event";
20066             type:           RECT;
20067             repeat_events: 1;
20068             description {
20069                state: "default" 0.0;
20070                color: 0 0 0 0;
20071             }
20072          }
20073          part {
20074             name: "base_sh";
20075             mouse_events: 0;
20076             description {
20077                state: "default" 0.0;
20078                align: 0.0 0.0;
20079                min: 0 10;
20080                fixed: 1 1;
20081                rel1 {
20082                   to: "base";
20083                   relative: 0.0 1.0;
20084                   offset: 0 0;
20085                }
20086                rel2 {
20087                   to: "base";
20088                   relative: 1.0 1.0;
20089                   offset: -1 0;
20090                }
20091                image {
20092                   normal: "ilist_item_shadow.png";
20093                }
20094                fill.smooth: 0;
20095             }
20096          }
20097          part {
20098             name: "base";
20099             mouse_events: 0;
20100             description {
20101                state: "default" 0.0;
20102                image {
20103                   normal: "ilist_1.png";
20104                   border: 2 2 2 2;
20105                }
20106                fill.smooth: 0;
20107             }
20108          }
20109          part { name: "bg";
20110             clip_to: "disclip";
20111             mouse_events: 0;
20112             description { state: "default" 0.0;
20113                visible: 0;
20114                color: 255 255 255 0;
20115                rel1 {
20116                   relative: 0.0 0.0;
20117                   offset: -5 -5;
20118                }
20119                rel2 {
20120                   relative: 1.0 1.0;
20121                   offset: 4 4;
20122                }
20123                image {
20124                   normal: "bt_sm_base1.png";
20125                   border: 6 6 6 6;
20126                }
20127                image.middle: SOLID;
20128             }
20129             description { state: "selected" 0.0;
20130                inherit: "default" 0.0;
20131                visible: 1;
20132                color: 255 255 255 255;
20133                rel1 {
20134                   relative: 0.0 0.0;
20135                   offset: -2 -2;
20136                }
20137                rel2 {
20138                   relative: 1.0 1.0;
20139                   offset: 1 1;
20140                }
20141             }
20142          }
20143          part { name: "elm.swallow.pad";
20144             type: SWALLOW;
20145             description { state: "default" 0.0;
20146                fixed: 1 0;
20147                align: 0.0 0.5;
20148                rel1 {
20149                   relative: 0.0  0.0;
20150                   offset:   4    4;
20151                }
20152                rel2 {
20153                   relative: 0.0  1.0;
20154                   offset:   4   -5;
20155                }
20156             }
20157          }
20158          part { name: "elm.swallow.icon";
20159             clip_to: "disclip";
20160             type: SWALLOW;
20161             description { state: "default" 0.0;
20162                fixed: 1 0;
20163                align: 0.0 0.5;
20164                rel1 {
20165                   to_x: "elm.swallow.pad";
20166                   relative: 1.0  0.0;
20167                   offset:   -1    4;
20168                }
20169                rel2 {
20170                   to_x: "elm.swallow.pad";
20171                   relative: 1.0  1.0;
20172                   offset:   -1   -5;
20173                }
20174             }
20175          }
20176          part { name: "elm.swallow.end";
20177             clip_to: "disclip";
20178             type: SWALLOW;
20179             description { state: "default" 0.0;
20180                fixed: 1 0;
20181                align: 1.0 0.5;
20182                aspect: 1.0 1.0;
20183                aspect_preference: VERTICAL;
20184                rel1 {
20185                   relative: 1.0  0.0;
20186                   offset:   -5    4;
20187                }
20188                rel2 {
20189                   relative: 1.0  1.0;
20190                   offset:   -5   -5;
20191                }
20192             }
20193          }
20194          part { name: "elm.text";
20195             clip_to: "disclip";
20196             type:           TEXT;
20197             effect:         SOFT_SHADOW;
20198             mouse_events:   0;
20199             scale: 1;
20200             description {
20201                state: "default" 0.0;
20202 //               min: 16 16;
20203                rel1 {
20204                   to_x:     "elm.swallow.icon";
20205                   relative: 1.0  0.0;
20206                   offset:   0 4;
20207                }
20208                rel2 {
20209                   to_x:     "elm.swallow.end";
20210                   relative: 0.0  0.5;
20211                   offset:   -1 -5;
20212                }
20213                color: 0 0 0 255;
20214                color3: 0 0 0 0;
20215                text {
20216                   font: "Sans";
20217                   size: 10;
20218                   min: 1 1;
20219 //                  min: 0 1;
20220                   align: 0.0 0.5;
20221                   text_class: "list_item";
20222                }
20223             }
20224             description { state: "selected" 0.0;
20225                inherit: "default" 0.0;
20226                color: 224 224 224 255;
20227                color3: 0 0 0 64;
20228             }
20229          }
20230          part { name: "elm.text.sub";
20231             clip_to: "disclip";
20232             type:           TEXT;
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.5;
20241                   offset:   0 4;
20242                }
20243                rel2 {
20244                   to_x:     "elm.swallow.end";
20245                   relative: 0.0  1.0;
20246                   offset:   -1 -5;
20247                }
20248                color: 0 0 0 128;
20249                color3: 0 0 0 0;
20250                text {
20251                   font: "Sans";
20252                   size: 8;
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: 128 128 128 255;
20262                color3: 0 0 0 32;
20263             }
20264          }
20265          part { name: "fg1";
20266             clip_to: "disclip";
20267             mouse_events: 0;
20268             description { state: "default" 0.0;
20269                visible: 0;
20270                color: 255 255 255 0;
20271                rel1.to: "bg";
20272                rel2.relative: 1.0 0.5;
20273                rel2.to: "bg";
20274                image {
20275                   normal: "bt_sm_hilight.png";
20276                   border: 6 6 6 0;
20277                }
20278             }
20279             description { state: "selected" 0.0;
20280                inherit: "default" 0.0;
20281                visible: 1;
20282                color: 255 255 255 255;
20283             }
20284          }
20285          part { name: "fg2";
20286             clip_to: "disclip";
20287             mouse_events: 0;
20288             description { state: "default" 0.0;
20289                visible: 0;
20290                color: 255 255 255 0;
20291                rel1.to: "bg";
20292                rel2.to: "bg";
20293                image {
20294                   normal: "bt_sm_shine.png";
20295                   border: 6 6 6 0;
20296                }
20297             }
20298             description { state: "selected" 0.0;
20299                inherit: "default" 0.0;
20300                visible: 1;
20301                color: 255 255 255 255;
20302             }
20303          }
20304          part { name: "disclip";
20305             type: RECT;
20306             description { state: "default" 0.0;
20307                rel1.to: "bg";
20308                rel2.to: "bg";
20309             }
20310             description { state: "disabled" 0.0;
20311                inherit: "default" 0.0;
20312                color: 255 255 255 64;
20313             }
20314          }
20315       }
20316       programs {
20317          // signal: elm,state,%s,active
20318          //   a "check" item named %s went active
20319          // signal: elm,state,%s,passive
20320          //   a "check" item named %s went passive
20321          // default is passive
20322          program {
20323             name:    "go_active";
20324             signal:  "elm,state,selected";
20325             source:  "elm";
20326             action:  STATE_SET "selected" 0.0;
20327             target:  "bg";
20328             target:  "fg1";
20329             target:  "fg2";
20330             target:  "elm.text";
20331             target:  "elm.text.sub";
20332          }
20333          program {
20334             name:    "go_passive";
20335             signal:  "elm,state,unselected";
20336             source:  "elm";
20337             action:  STATE_SET "default" 0.0;
20338             target:  "bg";
20339             target:  "fg1";
20340             target:  "fg2";
20341             target:  "elm.text";
20342             target:  "elm.text.sub";
20343             transition: LINEAR 0.1;
20344          }
20345          program {
20346             name:    "go_disabled";
20347             signal:  "elm,state,disabled";
20348             source:  "elm";
20349             action:  STATE_SET "disabled" 0.0;
20350             target:  "disclip";
20351          }
20352          program {
20353             name:    "go_enabled";
20354             signal:  "elm,state,enabled";
20355             source:  "elm";
20356             action:  STATE_SET "default" 0.0;
20357             target:  "disclip";
20358          }
20359       }
20360    }
20361    group { name: "elm/genlist/item_compress/double_label/default";
20362       data.item: "stacking" "above";
20363       data.item: "selectraise" "on";
20364       data.item: "labels" "elm.text elm.text.sub";
20365       data.item: "icons" "elm.swallow.icon elm.swallow.end";
20366       data.item: "treesize" "20";
20367 //      data.item: "states" "";
20368       images {
20369          image: "bt_sm_base1.png" COMP;
20370          image: "bt_sm_shine.png" COMP;
20371          image: "bt_sm_hilight.png" COMP;
20372          image: "ilist_1.png" COMP;
20373          image: "ilist_item_shadow.png" COMP;
20374       }
20375       parts {
20376          part {
20377             name:           "event";
20378             type:           RECT;
20379             repeat_events: 1;
20380             description {
20381                state: "default" 0.0;
20382                color: 0 0 0 0;
20383             }
20384          }
20385          part {
20386             name: "base_sh";
20387             mouse_events: 0;
20388             description {
20389                state: "default" 0.0;
20390                align: 0.0 0.0;
20391                min: 0 10;
20392                fixed: 1 1;
20393                rel1 {
20394                   to: "base";
20395                   relative: 0.0 1.0;
20396                   offset: 0 0;
20397                }
20398                rel2 {
20399                   to: "base";
20400                   relative: 1.0 1.0;
20401                   offset: -1 0;
20402                }
20403                image {
20404                   normal: "ilist_item_shadow.png";
20405                }
20406                fill.smooth: 0;
20407             }
20408          }
20409          part {
20410             name: "base";
20411             mouse_events: 0;
20412             description {
20413                state: "default" 0.0;
20414                image {
20415                   normal: "ilist_1.png";
20416                   border: 2 2 2 2;
20417                }
20418                fill.smooth: 0;
20419             }
20420          }
20421          part { name: "bg";
20422             clip_to: "disclip";
20423             mouse_events: 0;
20424             description { state: "default" 0.0;
20425                visible: 0;
20426                color: 255 255 255 0;
20427                rel1 {
20428                   relative: 0.0 0.0;
20429                   offset: -5 -5;
20430                }
20431                rel2 {
20432                   relative: 1.0 1.0;
20433                   offset: 4 4;
20434                }
20435                image {
20436                   normal: "bt_sm_base1.png";
20437                   border: 6 6 6 6;
20438                }
20439                image.middle: SOLID;
20440             }
20441             description { state: "selected" 0.0;
20442                inherit: "default" 0.0;
20443                visible: 1;
20444                color: 255 255 255 255;
20445                rel1 {
20446                   relative: 0.0 0.0;
20447                   offset: -2 -2;
20448                }
20449                rel2 {
20450                   relative: 1.0 1.0;
20451                   offset: 1 1;
20452                }
20453             }
20454          }
20455          part { name: "elm.swallow.pad";
20456             type: SWALLOW;
20457             description { state: "default" 0.0;
20458                fixed: 1 0;
20459                align: 0.0 0.5;
20460                rel1 {
20461                   relative: 0.0  0.0;
20462                   offset:   4    4;
20463                }
20464                rel2 {
20465                   relative: 0.0  1.0;
20466                   offset:   4   -5;
20467                }
20468             }
20469          }
20470          part { name: "elm.swallow.icon";
20471             clip_to: "disclip";
20472             type: SWALLOW;
20473             description { state: "default" 0.0;
20474                fixed: 1 0;
20475                align: 0.0 0.5;
20476                rel1 {
20477                   to_x: "elm.swallow.pad";
20478                   relative: 1.0  0.0;
20479                   offset:   -1    4;
20480                }
20481                rel2 {
20482                   to_x: "elm.swallow.pad";
20483                   relative: 1.0  1.0;
20484                   offset:   -1   -5;
20485                }
20486             }
20487          }
20488          part { name: "elm.swallow.end";
20489             clip_to: "disclip";
20490             type: SWALLOW;
20491             description { state: "default" 0.0;
20492                fixed: 1 0;
20493                align: 1.0 0.5;
20494                aspect: 1.0 1.0;
20495                aspect_preference: VERTICAL;
20496                rel1 {
20497                   relative: 1.0  0.0;
20498                   offset:   -5    4;
20499                }
20500                rel2 {
20501                   relative: 1.0  1.0;
20502                   offset:   -5   -5;
20503                }
20504             }
20505          }
20506          part { name: "elm.text";
20507             clip_to: "disclip";
20508             type:           TEXT;
20509             effect:         SOFT_SHADOW;
20510             mouse_events:   0;
20511             scale: 1;
20512             description {
20513                state: "default" 0.0;
20514 //               min: 16 16;
20515                rel1 {
20516                   to_x:     "elm.swallow.icon";
20517                   relative: 1.0  0.0;
20518                   offset:   0 4;
20519                }
20520                rel2 {
20521                   to_x:     "elm.swallow.end";
20522                   relative: 0.0  0.5;
20523                   offset:   -1 -5;
20524                }
20525                color: 0 0 0 255;
20526                color3: 0 0 0 0;
20527                text {
20528                   font: "Sans";
20529                   size: 10;
20530 //                  min: 1 1;
20531                   min: 0 1;
20532                   align: 0.0 0.5;
20533                   text_class: "list_item";
20534                }
20535             }
20536             description { state: "selected" 0.0;
20537                inherit: "default" 0.0;
20538                color: 224 224 224 255;
20539                color3: 0 0 0 64;
20540             }
20541          }
20542          part { name: "elm.text.sub";
20543             clip_to: "disclip";
20544             type:           TEXT;
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.5;
20553                   offset:   0 4;
20554                }
20555                rel2 {
20556                   to_x:     "elm.swallow.end";
20557                   relative: 0.0  1.0;
20558                   offset:   -1 -5;
20559                }
20560                color: 0 0 0 128;
20561                color3: 0 0 0 0;
20562                text {
20563                   font: "Sans";
20564                   size: 8;
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: 128 128 128 255;
20574                color3: 0 0 0 32;
20575             }
20576          }
20577          part { name: "fg1";
20578             clip_to: "disclip";
20579             mouse_events: 0;
20580             description { state: "default" 0.0;
20581                visible: 0;
20582                color: 255 255 255 0;
20583                rel1.to: "bg";
20584                rel2.relative: 1.0 0.5;
20585                rel2.to: "bg";
20586                image {
20587                   normal: "bt_sm_hilight.png";
20588                   border: 6 6 6 0;
20589                }
20590             }
20591             description { state: "selected" 0.0;
20592                inherit: "default" 0.0;
20593                visible: 1;
20594                color: 255 255 255 255;
20595             }
20596          }
20597          part { name: "fg2";
20598             clip_to: "disclip";
20599             mouse_events: 0;
20600             description { state: "default" 0.0;
20601                visible: 0;
20602                color: 255 255 255 0;
20603                rel1.to: "bg";
20604                rel2.to: "bg";
20605                image {
20606                   normal: "bt_sm_shine.png";
20607                   border: 6 6 6 0;
20608                }
20609             }
20610             description { state: "selected" 0.0;
20611                inherit: "default" 0.0;
20612                visible: 1;
20613                color: 255 255 255 255;
20614             }
20615          }
20616          part { name: "disclip";
20617             type: RECT;
20618             description { state: "default" 0.0;
20619                rel1.to: "bg";
20620                rel2.to: "bg";
20621             }
20622             description { state: "disabled" 0.0;
20623                inherit: "default" 0.0;
20624                color: 255 255 255 64;
20625             }
20626          }
20627       }
20628       programs {
20629          // signal: elm,state,%s,active
20630          //   a "check" item named %s went active
20631          // signal: elm,state,%s,passive
20632          //   a "check" item named %s went passive
20633          // default is passive
20634          program {
20635             name:    "go_active";
20636             signal:  "elm,state,selected";
20637             source:  "elm";
20638             action:  STATE_SET "selected" 0.0;
20639             target:  "bg";
20640             target:  "fg1";
20641             target:  "fg2";
20642             target:  "elm.text";
20643             target:  "elm.text.sub";
20644          }
20645          program {
20646             name:    "go_passive";
20647             signal:  "elm,state,unselected";
20648             source:  "elm";
20649             action:  STATE_SET "default" 0.0;
20650             target:  "bg";
20651             target:  "fg1";
20652             target:  "fg2";
20653             target:  "elm.text";
20654             target:  "elm.text.sub";
20655             transition: LINEAR 0.1;
20656          }
20657          program {
20658             name:    "go_disabled";
20659             signal:  "elm,state,disabled";
20660             source:  "elm";
20661             action:  STATE_SET "disabled" 0.0;
20662             target:  "disclip";
20663          }
20664          program {
20665             name:    "go_enabled";
20666             signal:  "elm,state,enabled";
20667             source:  "elm";
20668             action:  STATE_SET "default" 0.0;
20669             target:  "disclip";
20670          }
20671       }
20672    }
20673    group { name: "elm/genlist/item_odd/double_label/default";
20674       data.item: "stacking" "below";
20675       data.item: "selectraise" "on";
20676       data.item: "labels" "elm.text elm.text.sub";
20677       data.item: "icons" "elm.swallow.icon elm.swallow.end";
20678       data.item: "treesize" "20";
20679 //      data.item: "states" "";
20680       images {
20681          image: "bt_sm_base1.png" COMP;
20682          image: "bt_sm_shine.png" COMP;
20683          image: "bt_sm_hilight.png" COMP;
20684          image: "ilist_2.png" COMP;
20685       }
20686       parts {
20687          part { name: "event";
20688             type: RECT;
20689             repeat_events: 1;
20690             description {
20691                state: "default" 0.0;
20692                color: 0 0 0 0;
20693             }
20694          }
20695          part {
20696             name: "base";
20697             mouse_events: 0;
20698             description {
20699                state: "default" 0.0;
20700                image {
20701                   normal: "ilist_2.png";
20702                   border: 2 2 2 2;
20703                }
20704                fill.smooth: 0;
20705             }
20706          }
20707          part { name: "bg";
20708             clip_to: "disclip";
20709             mouse_events: 0;
20710             description { state: "default" 0.0;
20711                visible: 0;
20712                color: 255 255 255 0;
20713                rel1 {
20714                   relative: 0.0 0.0;
20715                   offset: -5 -5;
20716                }
20717                rel2 {
20718                   relative: 1.0 1.0;
20719                   offset: 4 4;
20720                }
20721                image {
20722                   normal: "bt_sm_base1.png";
20723                   border: 6 6 6 6;
20724                }
20725                image.middle: SOLID;
20726             }
20727             description { state: "selected" 0.0;
20728                inherit: "default" 0.0;
20729                visible: 1;
20730                color: 255 255 255 255;
20731                rel1 {
20732                   relative: 0.0 0.0;
20733                   offset: -2 -2;
20734                }
20735                rel2 {
20736                   relative: 1.0 1.0;
20737                   offset: 1 1;
20738                }
20739             }
20740          }
20741          part { name: "elm.swallow.pad";
20742             type: SWALLOW;
20743             description { state: "default" 0.0;
20744                fixed: 1 0;
20745                align: 0.0 0.5;
20746                rel1 {
20747                   relative: 0.0  0.0;
20748                   offset:   4    4;
20749                }
20750                rel2 {
20751                   relative: 0.0  1.0;
20752                   offset:   4   -5;
20753                }
20754             }
20755          }
20756          part { name: "elm.swallow.icon";
20757             clip_to: "disclip";
20758             type: SWALLOW;
20759             description { state: "default" 0.0;
20760                fixed: 1 0;
20761                align: 0.0 0.5;
20762                rel1 {
20763                   to_x: "elm.swallow.pad";
20764                   relative: 1.0  0.0;
20765                   offset:   -1    4;
20766                }
20767                rel2 {
20768                   to_x: "elm.swallow.pad";
20769                   relative: 1.0  1.0;
20770                   offset:   -1   -5;
20771                }
20772             }
20773          }
20774          part { name: "elm.swallow.end";
20775             clip_to: "disclip";
20776             type:          SWALLOW;
20777             description { state:    "default" 0.0;
20778                fixed: 1 0;
20779                align:    1.0 0.5;
20780                aspect: 1.0 1.0;
20781                aspect_preference: VERTICAL;
20782                rel1 {
20783                   relative: 1.0  0.0;
20784                   offset:   -5    4;
20785                }
20786                rel2 {
20787                   relative: 1.0  1.0;
20788                   offset:   -5   -5;
20789                }
20790             }
20791          }
20792          part { name: "elm.text";
20793             clip_to: "disclip";
20794             type:           TEXT;
20795             effect:         SOFT_SHADOW;
20796             mouse_events:   0;
20797             scale: 1;
20798             description {
20799                state: "default" 0.0;
20800 //               min: 16 16;
20801                rel1 {
20802                   to_x:     "elm.swallow.icon";
20803                   relative: 1.0  0.0;
20804                   offset:   0 4;
20805                }
20806                rel2 {
20807                   to_x:     "elm.swallow.end";
20808                   relative: 0.0  0.5;
20809                   offset:   -1 -5;
20810                }
20811                color: 0 0 0 255;
20812                color3: 0 0 0 0;
20813                text {
20814                   font: "Sans";
20815                   size: 10;
20816                   min: 1 1;
20817 //                  min: 0 1;
20818                   align: 0.0 0.5;
20819                   text_class: "list_item";
20820                }
20821             }
20822             description { state: "selected" 0.0;
20823                inherit: "default" 0.0;
20824                color: 224 224 224 255;
20825                color3: 0 0 0 64;
20826             }
20827          }
20828          part { name: "elm.text.sub";
20829             clip_to: "disclip";
20830             type:           TEXT;
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.5;
20839                   offset:   0 4;
20840                }
20841                rel2 {
20842                   to_x:     "elm.swallow.end";
20843                   relative: 0.0  1.0;
20844                   offset:   -1 -5;
20845                }
20846                color: 0 0 0 128;
20847                color3: 0 0 0 0;
20848                text {
20849                   font: "Sans";
20850                   size: 8;
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: 128 128 128 255;
20860                color3: 0 0 0 32;
20861             }
20862          }
20863          part { name: "fg1";
20864             clip_to: "disclip";
20865             mouse_events: 0;
20866             description { state: "default" 0.0;
20867                visible: 0;
20868                color: 255 255 255 0;
20869                rel1.to: "bg";
20870                rel2.relative: 1.0 0.5;
20871                rel2.to: "bg";
20872                image {
20873                   normal: "bt_sm_hilight.png";
20874                   border: 6 6 6 0;
20875                }
20876             }
20877             description { state: "selected" 0.0;
20878                inherit: "default" 0.0;
20879                visible: 1;
20880                color: 255 255 255 255;
20881             }
20882          }
20883          part { name: "fg2";
20884             clip_to: "disclip";
20885             mouse_events: 0;
20886             description { state: "default" 0.0;
20887                visible: 0;
20888                color: 255 255 255 0;
20889                rel1.to: "bg";
20890                rel2.to: "bg";
20891                image {
20892                   normal: "bt_sm_shine.png";
20893                   border: 6 6 6 0;
20894                }
20895             }
20896             description { state: "selected" 0.0;
20897                inherit: "default" 0.0;
20898                visible: 1;
20899                color: 255 255 255 255;
20900             }
20901          }
20902          part { name: "disclip";
20903             type: RECT;
20904             description { state: "default" 0.0;
20905                rel1.to: "bg";
20906                rel2.to: "bg";
20907             }
20908             description { state: "disabled" 0.0;
20909                inherit: "default" 0.0;
20910                color: 255 255 255 64;
20911             }
20912          }
20913       }
20914       programs {
20915          // signal: elm,state,%s,active
20916          //   a "check" item named %s went active
20917          // signal: elm,state,%s,passive
20918          //   a "check" item named %s went passive
20919          // default is passive
20920          program {
20921             name:    "go_active";
20922             signal:  "elm,state,selected";
20923             source:  "elm";
20924             action:  STATE_SET "selected" 0.0;
20925             target:  "bg";
20926             target:  "fg1";
20927             target:  "fg2";
20928             target:  "elm.text";
20929             target:  "elm.text.sub";
20930          }
20931          program {
20932             name:    "go_passive";
20933             signal:  "elm,state,unselected";
20934             source:  "elm";
20935             action:  STATE_SET "default" 0.0;
20936             target:  "bg";
20937             target:  "fg1";
20938             target:  "fg2";
20939             target:  "elm.text";
20940             target:  "elm.text.sub";
20941             transition: LINEAR 0.1;
20942          }
20943          program {
20944             name:    "go_disabled";
20945             signal:  "elm,state,disabled";
20946             source:  "elm";
20947             action:  STATE_SET "disabled" 0.0;
20948             target:  "disclip";
20949          }
20950          program {
20951             name:    "go_enabled";
20952             signal:  "elm,state,enabled";
20953             source:  "elm";
20954             action:  STATE_SET "default" 0.0;
20955             target:  "disclip";
20956          }
20957       }
20958    }
20959    group { name: "elm/genlist/item_compress_odd/double_label/default";
20960       data.item: "stacking" "below";
20961       data.item: "selectraise" "on";
20962       data.item: "labels" "elm.text elm.text.sub";
20963       data.item: "icons" "elm.swallow.icon elm.swallow.end";
20964       data.item: "treesize" "20";
20965 //      data.item: "states" "";
20966       images {
20967          image: "bt_sm_base1.png" COMP;
20968          image: "bt_sm_shine.png" COMP;
20969          image: "bt_sm_hilight.png" COMP;
20970          image: "ilist_2.png" COMP;
20971       }
20972       parts {
20973          part { name: "event";
20974             type: RECT;
20975             repeat_events: 1;
20976             description {
20977                state: "default" 0.0;
20978                color: 0 0 0 0;
20979             }
20980          }
20981          part {
20982             name: "base";
20983             mouse_events: 0;
20984             description {
20985                state: "default" 0.0;
20986                image {
20987                   normal: "ilist_2.png";
20988                   border: 2 2 2 2;
20989                }
20990                fill.smooth: 0;
20991             }
20992          }
20993          part { name: "bg";
20994             clip_to: "disclip";
20995             mouse_events: 0;
20996             description { state: "default" 0.0;
20997                visible: 0;
20998                color: 255 255 255 0;
20999                rel1 {
21000                   relative: 0.0 0.0;
21001                   offset: -5 -5;
21002                }
21003                rel2 {
21004                   relative: 1.0 1.0;
21005                   offset: 4 4;
21006                }
21007                image {
21008                   normal: "bt_sm_base1.png";
21009                   border: 6 6 6 6;
21010                }
21011                image.middle: SOLID;
21012             }
21013             description { state: "selected" 0.0;
21014                inherit: "default" 0.0;
21015                visible: 1;
21016                color: 255 255 255 255;
21017                rel1 {
21018                   relative: 0.0 0.0;
21019                   offset: -2 -2;
21020                }
21021                rel2 {
21022                   relative: 1.0 1.0;
21023                   offset: 1 1;
21024                }
21025             }
21026          }
21027          part { name: "elm.swallow.pad";
21028             type: SWALLOW;
21029             description { state: "default" 0.0;
21030                fixed: 1 0;
21031                align: 0.0 0.5;
21032                rel1 {
21033                   relative: 0.0  0.0;
21034                   offset:   4    4;
21035                }
21036                rel2 {
21037                   relative: 0.0  1.0;
21038                   offset:   4   -5;
21039                }
21040             }
21041          }
21042          part { name: "elm.swallow.icon";
21043             clip_to: "disclip";
21044             type: SWALLOW;
21045             description { state: "default" 0.0;
21046                fixed: 1 0;
21047                align: 0.0 0.5;
21048                rel1 {
21049                   to_x: "elm.swallow.pad";
21050                   relative: 1.0  0.0;
21051                   offset:   -1    4;
21052                }
21053                rel2 {
21054                   to_x: "elm.swallow.pad";
21055                   relative: 1.0  1.0;
21056                   offset:   -1   -5;
21057                }
21058             }
21059          }
21060          part { name: "elm.swallow.end";
21061             clip_to: "disclip";
21062             type:          SWALLOW;
21063             description { state:    "default" 0.0;
21064                fixed: 1 0;
21065                align:    1.0 0.5;
21066                aspect: 1.0 1.0;
21067                aspect_preference: VERTICAL;
21068                rel1 {
21069                   relative: 1.0  0.0;
21070                   offset:   -5    4;
21071                }
21072                rel2 {
21073                   relative: 1.0  1.0;
21074                   offset:   -5   -5;
21075                }
21076             }
21077          }
21078          part { name: "elm.text";
21079             clip_to: "disclip";
21080             type:           TEXT;
21081             effect:         SOFT_SHADOW;
21082             mouse_events:   0;
21083             scale: 1;
21084             description {
21085                state: "default" 0.0;
21086 //               min: 16 16;
21087                rel1 {
21088                   to_x:     "elm.swallow.icon";
21089                   relative: 1.0  0.0;
21090                   offset:   0 4;
21091                }
21092                rel2 {
21093                   to_x:     "elm.swallow.end";
21094                   relative: 0.0  0.5;
21095                   offset:   -1 -5;
21096                }
21097                color: 0 0 0 255;
21098                color3: 0 0 0 0;
21099                text {
21100                   font: "Sans";
21101                   size: 10;
21102 //                  min: 1 1;
21103                   min: 0 1;
21104                   align: 0.0 0.5;
21105                   text_class: "list_item";
21106                }
21107             }
21108             description { state: "selected" 0.0;
21109                inherit: "default" 0.0;
21110                color: 224 224 224 255;
21111                color3: 0 0 0 64;
21112             }
21113          }
21114          part { name: "elm.text.sub";
21115             clip_to: "disclip";
21116             type:           TEXT;
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.5;
21125                   offset:   0 4;
21126                }
21127                rel2 {
21128                   to_x:     "elm.swallow.end";
21129                   relative: 0.0  1.0;
21130                   offset:   -1 -5;
21131                }
21132                color: 0 0 0 128;
21133                color3: 0 0 0 0;
21134                text {
21135                   font: "Sans";
21136                   size: 8;
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: 128 128 128 255;
21146                color3: 0 0 0 32;
21147             }
21148          }
21149          part { name: "fg1";
21150             clip_to: "disclip";
21151             mouse_events: 0;
21152             description { state: "default" 0.0;
21153                visible: 0;
21154                color: 255 255 255 0;
21155                rel1.to: "bg";
21156                rel2.relative: 1.0 0.5;
21157                rel2.to: "bg";
21158                image {
21159                   normal: "bt_sm_hilight.png";
21160                   border: 6 6 6 0;
21161                }
21162             }
21163             description { state: "selected" 0.0;
21164                inherit: "default" 0.0;
21165                visible: 1;
21166                color: 255 255 255 255;
21167             }
21168          }
21169          part { name: "fg2";
21170             clip_to: "disclip";
21171             mouse_events: 0;
21172             description { state: "default" 0.0;
21173                visible: 0;
21174                color: 255 255 255 0;
21175                rel1.to: "bg";
21176                rel2.to: "bg";
21177                image {
21178                   normal: "bt_sm_shine.png";
21179                   border: 6 6 6 0;
21180                }
21181             }
21182             description { state: "selected" 0.0;
21183                inherit: "default" 0.0;
21184                visible: 1;
21185                color: 255 255 255 255;
21186             }
21187          }
21188          part { name: "disclip";
21189             type: RECT;
21190             description { state: "default" 0.0;
21191                rel1.to: "bg";
21192                rel2.to: "bg";
21193             }
21194             description { state: "disabled" 0.0;
21195                inherit: "default" 0.0;
21196                color: 255 255 255 64;
21197             }
21198          }
21199       }
21200       programs {
21201          // signal: elm,state,%s,active
21202          //   a "check" item named %s went active
21203          // signal: elm,state,%s,passive
21204          //   a "check" item named %s went passive
21205          // default is passive
21206          program {
21207             name:    "go_active";
21208             signal:  "elm,state,selected";
21209             source:  "elm";
21210             action:  STATE_SET "selected" 0.0;
21211             target:  "bg";
21212             target:  "fg1";
21213             target:  "fg2";
21214             target:  "elm.text";
21215             target:  "elm.text.sub";
21216          }
21217          program {
21218             name:    "go_passive";
21219             signal:  "elm,state,unselected";
21220             source:  "elm";
21221             action:  STATE_SET "default" 0.0;
21222             target:  "bg";
21223             target:  "fg1";
21224             target:  "fg2";
21225             target:  "elm.text";
21226             target:  "elm.text.sub";
21227             transition: LINEAR 0.1;
21228          }
21229          program {
21230             name:    "go_disabled";
21231             signal:  "elm,state,disabled";
21232             source:  "elm";
21233             action:  STATE_SET "disabled" 0.0;
21234             target:  "disclip";
21235          }
21236          program {
21237             name:    "go_enabled";
21238             signal:  "elm,state,enabled";
21239             source:  "elm";
21240             action:  STATE_SET "default" 0.0;
21241             target:  "disclip";
21242          }
21243       }
21244    }
21245
21246    group { name: "elm/genlist/tree/double_label/default";
21247       data.item: "stacking" "above";
21248       data.item: "selectraise" "on";
21249       data.item: "labels" "elm.text elm.text.sub";
21250       data.item: "icons" "elm.swallow.icon elm.swallow.end";
21251       data.item: "treesize" "20";
21252 //      data.item: "states" "";
21253       images {
21254          image: "bt_sm_base1.png" COMP;
21255          image: "bt_sm_shine.png" COMP;
21256          image: "bt_sm_hilight.png" COMP;
21257          image: "ilist_1.png" COMP;
21258          image: "ilist_item_shadow.png" COMP;
21259          image: "icon_arrow_right.png" COMP;
21260          image: "icon_arrow_down.png" COMP;
21261       }
21262       parts {
21263          part {
21264             name:           "event";
21265             type:           RECT;
21266             repeat_events: 1;
21267             description {
21268                state: "default" 0.0;
21269                color: 0 0 0 0;
21270             }
21271          }
21272          part {
21273             name: "base_sh";
21274             mouse_events: 0;
21275             description {
21276                state: "default" 0.0;
21277                align: 0.0 0.0;
21278                min: 0 10;
21279                fixed: 1 1;
21280                rel1 {
21281                   to: "base";
21282                   relative: 0.0 1.0;
21283                   offset: 0 0;
21284                }
21285                rel2 {
21286                   to: "base";
21287                   relative: 1.0 1.0;
21288                   offset: -1 0;
21289                }
21290                image {
21291                   normal: "ilist_item_shadow.png";
21292                }
21293                fill.smooth: 0;
21294             }
21295          }
21296          part {
21297             name: "base";
21298             mouse_events: 0;
21299             description {
21300                state: "default" 0.0;
21301                image {
21302                   normal: "ilist_1.png";
21303                   border: 2 2 2 2;
21304                }
21305                fill.smooth: 0;
21306             }
21307          }
21308          part { name: "bg";
21309             clip_to: "disclip";
21310             mouse_events: 0;
21311             description { state: "default" 0.0;
21312                visible: 0;
21313                color: 255 255 255 0;
21314                rel1 {
21315                   relative: 0.0 0.0;
21316                   offset: -5 -5;
21317                }
21318                rel2 {
21319                   relative: 1.0 1.0;
21320                   offset: 4 4;
21321                }
21322                image {
21323                   normal: "bt_sm_base1.png";
21324                   border: 6 6 6 6;
21325                }
21326                image.middle: SOLID;
21327             }
21328             description { state: "selected" 0.0;
21329                inherit: "default" 0.0;
21330                visible: 1;
21331                color: 255 255 255 255;
21332                rel1 {
21333                   relative: 0.0 0.0;
21334                   offset: -2 -2;
21335                }
21336                rel2 {
21337                   relative: 1.0 1.0;
21338                   offset: 1 1;
21339                }
21340             }
21341          }
21342          part { name: "elm.swallow.pad";
21343             type: SWALLOW;
21344             description { state: "default" 0.0;
21345                fixed: 1 0;
21346                align: 0.0 0.5;
21347                rel1 {
21348                   relative: 0.0  0.0;
21349                   offset:   4    4;
21350                }
21351                rel2 {
21352                   relative: 0.0  1.0;
21353                   offset:   4   -5;
21354                }
21355             }
21356          }
21357          part { name: "arrow";
21358             clip_to: "disclip";
21359             ignore_flags: ON_HOLD;
21360             description { state: "default" 0.0;
21361                fixed: 1 0;
21362                align: 0.0 0.5;
21363                aspect: 1.0 1.0;
21364                rel1 {
21365                   to_x: "elm.swallow.pad";
21366                   relative: 1.0  0.0;
21367                   offset:   -1    4;
21368                }
21369                rel2 {
21370                   to_x: "elm.swallow.pad";
21371                   relative: 1.0  1.0;
21372                   offset:   -1   -5;
21373                }
21374                image.normal: "icon_arrow_right.png";
21375             }
21376             description { state: "active" 0.0;
21377                inherit: "default" 0.0;
21378                image.normal: "icon_arrow_down.png";
21379             }
21380          }
21381          part { name: "elm.swallow.icon";
21382             clip_to: "disclip";
21383             type: SWALLOW;
21384             description { state: "default" 0.0;
21385                fixed: 1 0;
21386                align: 0.0 0.5;
21387                rel1 {
21388                   to_x: "arrow";
21389                   relative: 1.0  0.0;
21390                   offset:   4    4;
21391                }
21392                rel2 {
21393                   to_x: "arrow";
21394                   relative: 1.0  1.0;
21395                   offset:   4   -5;
21396                }
21397             }
21398          }
21399          part { name: "elm.swallow.end";
21400             clip_to: "disclip";
21401             type: SWALLOW;
21402             description { state: "default" 0.0;
21403                fixed: 1 0;
21404                align: 1.0 0.5;
21405                aspect: 1.0 1.0;
21406                aspect_preference: VERTICAL;
21407                rel1 {
21408                   relative: 1.0  0.0;
21409                   offset:   -5    4;
21410                }
21411                rel2 {
21412                   relative: 1.0  1.0;
21413                   offset:   -5   -5;
21414                }
21415             }
21416          }
21417          part { name: "elm.text";
21418             clip_to: "disclip";
21419             type:           TEXT;
21420             effect:         SOFT_SHADOW;
21421             mouse_events:   0;
21422             scale: 1;
21423             description {
21424                state: "default" 0.0;
21425 //               min: 16 16;
21426                rel1 {
21427                   to_x:     "elm.swallow.icon";
21428                   relative: 1.0  0.0;
21429                   offset:   0 4;
21430                }
21431                rel2 {
21432                   to_x:     "elm.swallow.end";
21433                   relative: 0.0  0.5;
21434                   offset:   -1 -5;
21435                }
21436                color: 0 0 0 255;
21437                color3: 0 0 0 0;
21438                text {
21439                   font: "Sans";
21440                   size: 10;
21441                   min: 1 1;
21442 //                  min: 0 1;
21443                   align: 0.0 0.5;
21444                   text_class: "list_item";
21445                }
21446             }
21447             description { state: "selected" 0.0;
21448                inherit: "default" 0.0;
21449                color: 224 224 224 255;
21450                color3: 0 0 0 64;
21451             }
21452          }
21453          part { name: "elm.text.sub";
21454             clip_to: "disclip";
21455             type:           TEXT;
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.5;
21464                   offset:   0 4;
21465                }
21466                rel2 {
21467                   to_x:     "elm.swallow.end";
21468                   relative: 0.0  1.0;
21469                   offset:   -1 -5;
21470                }
21471                color: 0 0 0 128;
21472                color3: 0 0 0 0;
21473                text {
21474                   font: "Sans";
21475                   size: 8;
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: 128 128 128 255;
21485                color3: 0 0 0 32;
21486             }
21487          }
21488          part { name: "fg1";
21489             clip_to: "disclip";
21490             mouse_events: 0;
21491             description { state: "default" 0.0;
21492                visible: 0;
21493                color: 255 255 255 0;
21494                rel1.to: "bg";
21495                rel2.relative: 1.0 0.5;
21496                rel2.to: "bg";
21497                image {
21498                   normal: "bt_sm_hilight.png";
21499                   border: 6 6 6 0;
21500                }
21501             }
21502             description { state: "selected" 0.0;
21503                inherit: "default" 0.0;
21504                visible: 1;
21505                color: 255 255 255 255;
21506             }
21507          }
21508          part { name: "fg2";
21509             clip_to: "disclip";
21510             mouse_events: 0;
21511             description { state: "default" 0.0;
21512                visible: 0;
21513                color: 255 255 255 0;
21514                rel1.to: "bg";
21515                rel2.to: "bg";
21516                image {
21517                   normal: "bt_sm_shine.png";
21518                   border: 6 6 6 0;
21519                }
21520             }
21521             description { state: "selected" 0.0;
21522                inherit: "default" 0.0;
21523                visible: 1;
21524                color: 255 255 255 255;
21525             }
21526          }
21527          part { name: "disclip";
21528             type: RECT;
21529             description { state: "default" 0.0;
21530                rel1.to: "bg";
21531                rel2.to: "bg";
21532             }
21533             description { state: "disabled" 0.0;
21534                inherit: "default" 0.0;
21535                color: 255 255 255 64;
21536             }
21537          }
21538       }
21539       programs {
21540          // signal: elm,state,%s,active
21541          //   a "check" item named %s went active
21542          // signal: elm,state,%s,passive
21543          //   a "check" item named %s went passive
21544          // default is passive
21545          program {
21546             name:    "go_active";
21547             signal:  "elm,state,selected";
21548             source:  "elm";
21549             action:  STATE_SET "selected" 0.0;
21550             target:  "bg";
21551             target:  "fg1";
21552             target:  "fg2";
21553             target:  "elm.text";
21554             target:  "elm.text.sub";
21555          }
21556          program {
21557             name:    "go_passive";
21558             signal:  "elm,state,unselected";
21559             source:  "elm";
21560             action:  STATE_SET "default" 0.0;
21561             target:  "bg";
21562             target:  "fg1";
21563             target:  "fg2";
21564             target:  "elm.text";
21565             target:  "elm.text.sub";
21566             transition: LINEAR 0.1;
21567          }
21568          program {
21569             name:    "go_disabled";
21570             signal:  "elm,state,disabled";
21571             source:  "elm";
21572             action:  STATE_SET "disabled" 0.0;
21573             target:  "disclip";
21574          }
21575          program {
21576             name:    "go_enabled";
21577             signal:  "elm,state,enabled";
21578             source:  "elm";
21579             action:  STATE_SET "default" 0.0;
21580             target:  "disclip";
21581          }
21582          program {
21583             name:    "expand";
21584             signal:  "mouse,up,1";
21585             source:  "arrow";
21586             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
21587          }
21588          program {
21589             name:    "go_expanded";
21590             signal:  "elm,state,expanded";
21591             source:  "elm";
21592             action:  STATE_SET "active" 0.0;
21593             target:  "arrow";
21594          }
21595          program {
21596             name:    "go_contracted";
21597             signal:  "elm,state,contracted";
21598             source:  "elm";
21599             action:  STATE_SET "default" 0.0;
21600             target:  "arrow";
21601          }
21602       }
21603    }
21604    group { name: "elm/genlist/tree_compress/double_label/default";
21605       data.item: "stacking" "above";
21606       data.item: "selectraise" "on";
21607       data.item: "labels" "elm.text elm.text.sub";
21608       data.item: "icons" "elm.swallow.icon elm.swallow.end";
21609       data.item: "treesize" "20";
21610 //      data.item: "states" "";
21611       images {
21612          image: "bt_sm_base1.png" COMP;
21613          image: "bt_sm_shine.png" COMP;
21614          image: "bt_sm_hilight.png" COMP;
21615          image: "ilist_1.png" COMP;
21616          image: "ilist_item_shadow.png" COMP;
21617          image: "icon_arrow_right.png" COMP;
21618          image: "icon_arrow_down.png" COMP;
21619       }
21620       parts {
21621          part {
21622             name:           "event";
21623             type:           RECT;
21624             repeat_events: 1;
21625             description {
21626                state: "default" 0.0;
21627                color: 0 0 0 0;
21628             }
21629          }
21630          part {
21631             name: "base_sh";
21632             mouse_events: 0;
21633             description {
21634                state: "default" 0.0;
21635                align: 0.0 0.0;
21636                min: 0 10;
21637                fixed: 1 1;
21638                rel1 {
21639                   to: "base";
21640                   relative: 0.0 1.0;
21641                   offset: 0 0;
21642                }
21643                rel2 {
21644                   to: "base";
21645                   relative: 1.0 1.0;
21646                   offset: -1 0;
21647                }
21648                image {
21649                   normal: "ilist_item_shadow.png";
21650                }
21651                fill.smooth: 0;
21652             }
21653          }
21654          part {
21655             name: "base";
21656             mouse_events: 0;
21657             description {
21658                state: "default" 0.0;
21659                image {
21660                   normal: "ilist_1.png";
21661                   border: 2 2 2 2;
21662                }
21663                fill.smooth: 0;
21664             }
21665          }
21666          part { name: "bg";
21667             clip_to: "disclip";
21668             mouse_events: 0;
21669             description { state: "default" 0.0;
21670                visible: 0;
21671                color: 255 255 255 0;
21672                rel1 {
21673                   relative: 0.0 0.0;
21674                   offset: -5 -5;
21675                }
21676                rel2 {
21677                   relative: 1.0 1.0;
21678                   offset: 4 4;
21679                }
21680                image {
21681                   normal: "bt_sm_base1.png";
21682                   border: 6 6 6 6;
21683                }
21684                image.middle: SOLID;
21685             }
21686             description { state: "selected" 0.0;
21687                inherit: "default" 0.0;
21688                visible: 1;
21689                color: 255 255 255 255;
21690                rel1 {
21691                   relative: 0.0 0.0;
21692                   offset: -2 -2;
21693                }
21694                rel2 {
21695                   relative: 1.0 1.0;
21696                   offset: 1 1;
21697                }
21698             }
21699          }
21700          part { name: "elm.swallow.pad";
21701             type: SWALLOW;
21702             description { state: "default" 0.0;
21703                fixed: 1 0;
21704                align: 0.0 0.5;
21705                rel1 {
21706                   relative: 0.0  0.0;
21707                   offset:   4    4;
21708                }
21709                rel2 {
21710                   relative: 0.0  1.0;
21711                   offset:   4   -5;
21712                }
21713             }
21714          }
21715          part { name: "arrow";
21716             clip_to: "disclip";
21717             ignore_flags: ON_HOLD;
21718             description { state: "default" 0.0;
21719                fixed: 1 0;
21720                align: 0.0 0.5;
21721                aspect: 1.0 1.0;
21722                rel1 {
21723                   to_x: "elm.swallow.pad";
21724                   relative: 1.0  0.0;
21725                   offset:   -1    4;
21726                }
21727                rel2 {
21728                   to_x: "elm.swallow.pad";
21729                   relative: 1.0  1.0;
21730                   offset:   -1   -5;
21731                }
21732                image.normal: "icon_arrow_right.png";
21733             }
21734             description { state: "active" 0.0;
21735                inherit: "default" 0.0;
21736                image.normal: "icon_arrow_down.png";
21737             }
21738          }
21739          part { name: "elm.swallow.icon";
21740             clip_to: "disclip";
21741             type: SWALLOW;
21742             description { state: "default" 0.0;
21743                fixed: 1 0;
21744                align: 0.0 0.5;
21745                rel1 {
21746                   to_x: "arrow";
21747                   relative: 1.0  0.0;
21748                   offset:   4    4;
21749                }
21750                rel2 {
21751                   to_x: "arrow";
21752                   relative: 1.0  1.0;
21753                   offset:   4   -5;
21754                }
21755             }
21756          }
21757          part { name: "elm.swallow.end";
21758             clip_to: "disclip";
21759             type: SWALLOW;
21760             description { state: "default" 0.0;
21761                fixed: 1 0;
21762                align: 1.0 0.5;
21763                aspect: 1.0 1.0;
21764                aspect_preference: VERTICAL;
21765                rel1 {
21766                   relative: 1.0  0.0;
21767                   offset:   -5    4;
21768                }
21769                rel2 {
21770                   relative: 1.0  1.0;
21771                   offset:   -5   -5;
21772                }
21773             }
21774          }
21775          part { name: "elm.text";
21776             clip_to: "disclip";
21777             type:           TEXT;
21778             effect:         SOFT_SHADOW;
21779             mouse_events:   0;
21780             scale: 1;
21781             description {
21782                state: "default" 0.0;
21783 //               min: 16 16;
21784                rel1 {
21785                   to_x:     "elm.swallow.icon";
21786                   relative: 1.0  0.0;
21787                   offset:   0 4;
21788                }
21789                rel2 {
21790                   to_x:     "elm.swallow.end";
21791                   relative: 0.0  0.5;
21792                   offset:   -1 -5;
21793                }
21794                color: 0 0 0 255;
21795                color3: 0 0 0 0;
21796                text {
21797                   font: "Sans";
21798                   size: 10;
21799 //                  min: 1 1;
21800                   min: 0 1;
21801                   align: 0.0 0.5;
21802                   text_class: "list_item";
21803                }
21804             }
21805             description { state: "selected" 0.0;
21806                inherit: "default" 0.0;
21807                color: 224 224 224 255;
21808                color3: 0 0 0 64;
21809             }
21810          }
21811          part { name: "elm.text.sub";
21812             clip_to: "disclip";
21813             type:           TEXT;
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.5;
21822                   offset:   0 4;
21823                }
21824                rel2 {
21825                   to_x:     "elm.swallow.end";
21826                   relative: 0.0  1.0;
21827                   offset:   -1 -5;
21828                }
21829                color: 0 0 0 128;
21830                color3: 0 0 0 0;
21831                text {
21832                   font: "Sans";
21833                   size: 8;
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: 128 128 128 255;
21843                color3: 0 0 0 32;
21844             }
21845          }
21846          part { name: "fg1";
21847             clip_to: "disclip";
21848             mouse_events: 0;
21849             description { state: "default" 0.0;
21850                visible: 0;
21851                color: 255 255 255 0;
21852                rel1.to: "bg";
21853                rel2.relative: 1.0 0.5;
21854                rel2.to: "bg";
21855                image {
21856                   normal: "bt_sm_hilight.png";
21857                   border: 6 6 6 0;
21858                }
21859             }
21860             description { state: "selected" 0.0;
21861                inherit: "default" 0.0;
21862                visible: 1;
21863                color: 255 255 255 255;
21864             }
21865          }
21866          part { name: "fg2";
21867             clip_to: "disclip";
21868             mouse_events: 0;
21869             description { state: "default" 0.0;
21870                visible: 0;
21871                color: 255 255 255 0;
21872                rel1.to: "bg";
21873                rel2.to: "bg";
21874                image {
21875                   normal: "bt_sm_shine.png";
21876                   border: 6 6 6 0;
21877                }
21878             }
21879             description { state: "selected" 0.0;
21880                inherit: "default" 0.0;
21881                visible: 1;
21882                color: 255 255 255 255;
21883             }
21884          }
21885          part { name: "disclip";
21886             type: RECT;
21887             description { state: "default" 0.0;
21888                rel1.to: "bg";
21889                rel2.to: "bg";
21890             }
21891             description { state: "disabled" 0.0;
21892                inherit: "default" 0.0;
21893                color: 255 255 255 64;
21894             }
21895          }
21896       }
21897       programs {
21898          // signal: elm,state,%s,active
21899          //   a "check" item named %s went active
21900          // signal: elm,state,%s,passive
21901          //   a "check" item named %s went passive
21902          // default is passive
21903          program {
21904             name:    "go_active";
21905             signal:  "elm,state,selected";
21906             source:  "elm";
21907             action:  STATE_SET "selected" 0.0;
21908             target:  "bg";
21909             target:  "fg1";
21910             target:  "fg2";
21911             target:  "elm.text";
21912             target:  "elm.text.sub";
21913          }
21914          program {
21915             name:    "go_passive";
21916             signal:  "elm,state,unselected";
21917             source:  "elm";
21918             action:  STATE_SET "default" 0.0;
21919             target:  "bg";
21920             target:  "fg1";
21921             target:  "fg2";
21922             target:  "elm.text";
21923             target:  "elm.text.sub";
21924             transition: LINEAR 0.1;
21925          }
21926          program {
21927             name:    "go_disabled";
21928             signal:  "elm,state,disabled";
21929             source:  "elm";
21930             action:  STATE_SET "disabled" 0.0;
21931             target:  "disclip";
21932          }
21933          program {
21934             name:    "go_enabled";
21935             signal:  "elm,state,enabled";
21936             source:  "elm";
21937             action:  STATE_SET "default" 0.0;
21938             target:  "disclip";
21939          }
21940          program {
21941             name:    "expand";
21942             signal:  "mouse,up,1";
21943             source:  "arrow";
21944             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
21945          }
21946          program {
21947             name:    "go_expanded";
21948             signal:  "elm,state,expanded";
21949             source:  "elm";
21950             action:  STATE_SET "active" 0.0;
21951             target:  "arrow";
21952          }
21953          program {
21954             name:    "go_contracted";
21955             signal:  "elm,state,contracted";
21956             source:  "elm";
21957             action:  STATE_SET "default" 0.0;
21958             target:  "arrow";
21959          }
21960       }
21961    }
21962    group { name: "elm/genlist/tree_odd/double_label/default";
21963       data.item: "stacking" "below";
21964       data.item: "selectraise" "on";
21965       data.item: "labels" "elm.text elm.text.sub";
21966       data.item: "icons" "elm.swallow.icon elm.swallow.end";
21967       data.item: "treesize" "20";
21968 //      data.item: "states" "";
21969       images {
21970          image: "bt_sm_base1.png" COMP;
21971          image: "bt_sm_shine.png" COMP;
21972          image: "bt_sm_hilight.png" COMP;
21973          image: "ilist_2.png" COMP;
21974          image: "icon_arrow_right.png" COMP;
21975          image: "icon_arrow_down.png" COMP;
21976       }
21977       parts {
21978          part {
21979             name:           "event";
21980             type:           RECT;
21981             repeat_events: 1;
21982             description {
21983                state: "default" 0.0;
21984                color: 0 0 0 0;
21985             }
21986          }
21987          part {
21988             name: "base";
21989             mouse_events: 0;
21990             description {
21991                state: "default" 0.0;
21992                image {
21993                   normal: "ilist_2.png";
21994                   border: 2 2 2 2;
21995                }
21996                fill.smooth: 0;
21997             }
21998          }
21999          part { name: "bg";
22000             clip_to: "disclip";
22001             mouse_events: 0;
22002             description { state: "default" 0.0;
22003                visible: 0;
22004                color: 255 255 255 0;
22005                rel1 {
22006                   relative: 0.0 0.0;
22007                   offset: -5 -5;
22008                }
22009                rel2 {
22010                   relative: 1.0 1.0;
22011                   offset: 4 4;
22012                }
22013                image {
22014                   normal: "bt_sm_base1.png";
22015                   border: 6 6 6 6;
22016                }
22017                image.middle: SOLID;
22018             }
22019             description { state: "selected" 0.0;
22020                inherit: "default" 0.0;
22021                visible: 1;
22022                color: 255 255 255 255;
22023                rel1 {
22024                   relative: 0.0 0.0;
22025                   offset: -2 -2;
22026                }
22027                rel2 {
22028                   relative: 1.0 1.0;
22029                   offset: 1 1;
22030                }
22031             }
22032          }
22033          part { name: "elm.swallow.pad";
22034             type: SWALLOW;
22035             description { state: "default" 0.0;
22036                fixed: 1 0;
22037                align: 0.0 0.5;
22038                rel1 {
22039                   relative: 0.0  0.0;
22040                   offset:   4    4;
22041                }
22042                rel2 {
22043                   relative: 0.0  1.0;
22044                   offset:   4   -5;
22045                }
22046             }
22047          }
22048          part { name: "arrow";
22049             clip_to: "disclip";
22050             ignore_flags: ON_HOLD;
22051             description { state: "default" 0.0;
22052                fixed: 1 0;
22053                align: 0.0 0.5;
22054                aspect: 1.0 1.0;
22055                rel1 {
22056                   to_x: "elm.swallow.pad";
22057                   relative: 1.0  0.0;
22058                   offset:   -1    4;
22059                }
22060                rel2 {
22061                   to_x: "elm.swallow.pad";
22062                   relative: 1.0  1.0;
22063                   offset:   -1   -5;
22064                }
22065                image.normal: "icon_arrow_right.png";
22066             }
22067             description { state: "active" 0.0;
22068                inherit: "default" 0.0;
22069                image.normal: "icon_arrow_down.png";
22070             }
22071          }
22072          part { name: "elm.swallow.icon";
22073             clip_to: "disclip";
22074             type: SWALLOW;
22075             description { state: "default" 0.0;
22076                fixed: 1 0;
22077                align: 0.0 0.5;
22078                rel1 {
22079                   to_x: "arrow";
22080                   relative: 1.0  0.0;
22081                   offset:   4    4;
22082                }
22083                rel2 {
22084                   to_x: "arrow";
22085                   relative: 1.0  1.0;
22086                   offset:   4   -5;
22087                }
22088             }
22089          }
22090          part { name: "elm.swallow.end";
22091             clip_to: "disclip";
22092             type: SWALLOW;
22093             description { state: "default" 0.0;
22094                fixed: 1 0;
22095                align: 1.0 0.5;
22096                aspect: 1.0 1.0;
22097                aspect_preference: VERTICAL;
22098                rel1 {
22099                   relative: 1.0  0.0;
22100                   offset:   -5    4;
22101                }
22102                rel2 {
22103                   relative: 1.0  1.0;
22104                   offset:   -5   -5;
22105                }
22106             }
22107          }
22108          part { name: "elm.text";
22109             clip_to: "disclip";
22110             type:           TEXT;
22111             effect:         SOFT_SHADOW;
22112             mouse_events:   0;
22113             scale: 1;
22114             description {
22115                state: "default" 0.0;
22116 //               min: 16 16;
22117                rel1 {
22118                   to_x:     "elm.swallow.icon";
22119                   relative: 1.0  0.0;
22120                   offset:   0 4;
22121                }
22122                rel2 {
22123                   to_x:     "elm.swallow.end";
22124                   relative: 0.0  0.5;
22125                   offset:   -1 -5;
22126                }
22127                color: 0 0 0 255;
22128                color3: 0 0 0 0;
22129                text {
22130                   font: "Sans";
22131                   size: 10;
22132                   min: 1 1;
22133 //                  min: 0 1;
22134                   align: 0.0 0.5;
22135                   text_class: "list_item";
22136                }
22137             }
22138             description { state: "selected" 0.0;
22139                inherit: "default" 0.0;
22140                color: 224 224 224 255;
22141                color3: 0 0 0 64;
22142             }
22143          }
22144          part { name: "elm.text.sub";
22145             clip_to: "disclip";
22146             type:           TEXT;
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.5;
22155                   offset:   0 4;
22156                }
22157                rel2 {
22158                   to_x:     "elm.swallow.end";
22159                   relative: 0.0  1.0;
22160                   offset:   -1 -5;
22161                }
22162                color: 0 0 0 128;
22163                color3: 0 0 0 0;
22164                text {
22165                   font: "Sans";
22166                   size: 8;
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: 128 128 128 255;
22176                color3: 0 0 0 32;
22177             }
22178          }
22179          part { name: "fg1";
22180             clip_to: "disclip";
22181             mouse_events: 0;
22182             description { state: "default" 0.0;
22183                visible: 0;
22184                color: 255 255 255 0;
22185                rel1.to: "bg";
22186                rel2.relative: 1.0 0.5;
22187                rel2.to: "bg";
22188                image {
22189                   normal: "bt_sm_hilight.png";
22190                   border: 6 6 6 0;
22191                }
22192             }
22193             description { state: "selected" 0.0;
22194                inherit: "default" 0.0;
22195                visible: 1;
22196                color: 255 255 255 255;
22197             }
22198          }
22199          part { name: "fg2";
22200             clip_to: "disclip";
22201             mouse_events: 0;
22202             description { state: "default" 0.0;
22203                visible: 0;
22204                color: 255 255 255 0;
22205                rel1.to: "bg";
22206                rel2.to: "bg";
22207                image {
22208                   normal: "bt_sm_shine.png";
22209                   border: 6 6 6 0;
22210                }
22211             }
22212             description { state: "selected" 0.0;
22213                inherit: "default" 0.0;
22214                visible: 1;
22215                color: 255 255 255 255;
22216             }
22217          }
22218          part { name: "disclip";
22219             type: RECT;
22220             description { state: "default" 0.0;
22221                rel1.to: "bg";
22222                rel2.to: "bg";
22223             }
22224             description { state: "disabled" 0.0;
22225                inherit: "default" 0.0;
22226                color: 255 255 255 64;
22227             }
22228          }
22229       }
22230       programs {
22231          // signal: elm,state,%s,active
22232          //   a "check" item named %s went active
22233          // signal: elm,state,%s,passive
22234          //   a "check" item named %s went passive
22235          // default is passive
22236          program {
22237             name:    "go_active";
22238             signal:  "elm,state,selected";
22239             source:  "elm";
22240             action:  STATE_SET "selected" 0.0;
22241             target:  "bg";
22242             target:  "fg1";
22243             target:  "fg2";
22244             target:  "elm.text";
22245             target:  "elm.text.sub";
22246          }
22247          program {
22248             name:    "go_passive";
22249             signal:  "elm,state,unselected";
22250             source:  "elm";
22251             action:  STATE_SET "default" 0.0;
22252             target:  "bg";
22253             target:  "fg1";
22254             target:  "fg2";
22255             target:  "elm.text";
22256             target:  "elm.text.sub";
22257             transition: LINEAR 0.1;
22258          }
22259          program {
22260             name:    "go_disabled";
22261             signal:  "elm,state,disabled";
22262             source:  "elm";
22263             action:  STATE_SET "disabled" 0.0;
22264             target:  "disclip";
22265          }
22266          program {
22267             name:    "go_enabled";
22268             signal:  "elm,state,enabled";
22269             source:  "elm";
22270             action:  STATE_SET "default" 0.0;
22271             target:  "disclip";
22272          }
22273          program {
22274             name:    "expand";
22275             signal:  "mouse,up,1";
22276             source:  "arrow";
22277             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
22278          }
22279          program {
22280             name:    "go_expanded";
22281             signal:  "elm,state,expanded";
22282             source:  "elm";
22283             action:  STATE_SET "active" 0.0;
22284             target:  "arrow";
22285          }
22286          program {
22287             name:    "go_contracted";
22288             signal:  "elm,state,contracted";
22289             source:  "elm";
22290             action:  STATE_SET "default" 0.0;
22291             target:  "arrow";
22292          }
22293       }
22294    }
22295
22296    group { name: "elm/genlist/item/icon_top_text_bottom/default";
22297       data.item: "stacking" "above";
22298       data.item: "selectraise" "on";
22299       data.item: "labels" "elm.text";
22300       data.item: "icons" "elm.swallow.icon";
22301       data.item: "treesize" "20";
22302 //      data.item: "states" "";
22303       images {
22304          image: "bt_sm_base1.png" COMP;
22305          image: "bt_sm_shine.png" COMP;
22306          image: "bt_sm_hilight.png" COMP;
22307          image: "ilist_1.png" COMP;
22308          image: "ilist_item_shadow.png" COMP;
22309       }
22310       parts {
22311          part {
22312             name:           "event";
22313             type:           RECT;
22314             repeat_events: 1;
22315             description {
22316                state: "default" 0.0;
22317                color: 0 0 0 0;
22318             }
22319          }
22320          part {
22321             name: "base_sh";
22322             mouse_events: 0;
22323             description {
22324                state: "default" 0.0;
22325                align: 0.0 0.0;
22326                min: 0 10;
22327                fixed: 1 1;
22328                rel1 {
22329                   to: "base";
22330                   relative: 0.0 1.0;
22331                   offset: 0 0;
22332                }
22333                rel2 {
22334                   to: "base";
22335                   relative: 1.0 1.0;
22336                   offset: -1 0;
22337                }
22338                image {
22339                   normal: "ilist_item_shadow.png";
22340                }
22341                fill.smooth: 0;
22342             }
22343          }
22344          part {
22345             name: "base";
22346             mouse_events: 0;
22347             description {
22348                state: "default" 0.0;
22349                image {
22350                   normal: "ilist_1.png";
22351                   border: 2 2 2 2;
22352                }
22353                fill.smooth: 0;
22354             }
22355          }
22356          part { name: "bg";
22357             clip_to: "disclip";
22358             mouse_events: 0;
22359             description { state: "default" 0.0;
22360                visible: 0;
22361                color: 255 255 255 0;
22362                rel1 {
22363                   relative: 0.0 0.0;
22364                   offset: -5 -5;
22365                }
22366                rel2 {
22367                   relative: 1.0 1.0;
22368                   offset: 4 4;
22369                }
22370                image {
22371                   normal: "bt_sm_base1.png";
22372                   border: 6 6 6 6;
22373                }
22374                image.middle: SOLID;
22375             }
22376             description { state: "selected" 0.0;
22377                inherit: "default" 0.0;
22378                visible: 1;
22379                color: 255 255 255 255;
22380                rel1 {
22381                   relative: 0.0 0.0;
22382                   offset: -2 -2;
22383                }
22384                rel2 {
22385                   relative: 1.0 1.0;
22386                   offset: 1 1;
22387                }
22388             }
22389          }
22390          part { name: "elm.swallow.pad";
22391             type: SWALLOW;
22392             description { state: "default" 0.0;
22393                fixed: 1 0;
22394                align: 0.0 0.5;
22395                rel1 {
22396                   relative: 0.0  0.0;
22397                   offset:   4    4;
22398                }
22399                rel2 {
22400                   relative: 1.0  1.0;
22401                   offset:   -4   -5;
22402                }
22403             }
22404          }
22405          part { name: "elm.swallow.icon";
22406             clip_to: "disclip";
22407             type: SWALLOW;
22408             description { state: "default" 0.0;
22409                fixed: 1 0;
22410                align: 0.5 0.5;
22411                rel1 {
22412                   to_x: "elm.swallow.pad";
22413                   relative: 0.0  0.0;
22414                   offset:   -1    4;
22415                }
22416                rel2 {
22417                   to_x: "elm.swallow.pad";
22418                   relative: 1.0  1.0;
22419                   offset:   -1   -5;
22420                }
22421             }
22422          }
22423          part { name: "elm.text";
22424             clip_to: "disclip";
22425             type:           TEXT;
22426             effect:         SOFT_SHADOW;
22427             mouse_events:   0;
22428             scale: 1;
22429             description {
22430                state: "default" 0.0;
22431 //               min: 16 16;
22432                rel1 {
22433                   to_y:     "elm.swallow.icon";
22434                   relative: 0.0  1.0;
22435                   offset:   0 4;
22436                }
22437                rel2 {
22438                   relative: 1.0  1.0;
22439                   offset:   -5 -5;
22440                }
22441                color: 0 0 0 255;
22442                color3: 0 0 0 0;
22443                text {
22444                   font: "Sans";
22445                   size: 10;
22446                   min: 1 1;
22447 //                  min: 0 1;
22448                   align: 0.5 0.5;
22449                   text_class: "list_item";
22450                }
22451             }
22452             description { state: "selected" 0.0;
22453                inherit: "default" 0.0;
22454                color: 224 224 224 255;
22455                color3: 0 0 0 64;
22456             }
22457          }
22458          part { name: "fg1";
22459             clip_to: "disclip";
22460             mouse_events: 0;
22461             description { state: "default" 0.0;
22462                visible: 0;
22463                color: 255 255 255 0;
22464                rel1.to: "bg";
22465                rel2.relative: 1.0 0.5;
22466                rel2.to: "bg";
22467                image {
22468                   normal: "bt_sm_hilight.png";
22469                   border: 6 6 6 0;
22470                }
22471             }
22472             description { state: "selected" 0.0;
22473                inherit: "default" 0.0;
22474                visible: 1;
22475                color: 255 255 255 255;
22476             }
22477          }
22478          part { name: "fg2";
22479             clip_to: "disclip";
22480             mouse_events: 0;
22481             description { state: "default" 0.0;
22482                visible: 0;
22483                color: 255 255 255 0;
22484                rel1.to: "bg";
22485                rel2.to: "bg";
22486                image {
22487                   normal: "bt_sm_shine.png";
22488                   border: 6 6 6 0;
22489                }
22490             }
22491             description { state: "selected" 0.0;
22492                inherit: "default" 0.0;
22493                visible: 1;
22494                color: 255 255 255 255;
22495             }
22496          }
22497          part { name: "disclip";
22498             type: RECT;
22499             description { state: "default" 0.0;
22500                rel1.to: "bg";
22501                rel2.to: "bg";
22502             }
22503             description { state: "disabled" 0.0;
22504                inherit: "default" 0.0;
22505                color: 255 255 255 64;
22506             }
22507          }
22508       }
22509       programs {
22510          // signal: elm,state,%s,active
22511          //   a "check" item named %s went active
22512          // signal: elm,state,%s,passive
22513          //   a "check" item named %s went passive
22514          // default is passive
22515          program {
22516             name:    "go_active";
22517             signal:  "elm,state,selected";
22518             source:  "elm";
22519             action:  STATE_SET "selected" 0.0;
22520             target:  "bg";
22521             target:  "fg1";
22522             target:  "fg2";
22523             target:  "elm.text";
22524          }
22525          program {
22526             name:    "go_passive";
22527             signal:  "elm,state,unselected";
22528             source:  "elm";
22529             action:  STATE_SET "default" 0.0;
22530             target:  "bg";
22531             target:  "fg1";
22532             target:  "fg2";
22533             target:  "elm.text";
22534             transition: LINEAR 0.1;
22535          }
22536          program {
22537             name:    "go_disabled";
22538             signal:  "elm,state,disabled";
22539             source:  "elm";
22540             action:  STATE_SET "disabled" 0.0;
22541             target:  "disclip";
22542          }
22543          program {
22544             name:    "go_enabled";
22545             signal:  "elm,state,enabled";
22546             source:  "elm";
22547             action:  STATE_SET "default" 0.0;
22548             target:  "disclip";
22549          }
22550       }
22551    }
22552    group { name: "elm/genlist/item_odd/icon_top_text_bottom/default";
22553       data.item: "stacking" "below";
22554       data.item: "selectraise" "on";
22555       data.item: "labels" "elm.text";
22556       data.item: "icons" "elm.swallow.icon";
22557       data.item: "treesize" "20";
22558 //      data.item: "states" "";
22559       images {
22560          image: "bt_sm_base1.png" COMP;
22561          image: "bt_sm_shine.png" COMP;
22562          image: "bt_sm_hilight.png" COMP;
22563          image: "ilist_2.png" COMP;
22564       }
22565       parts {
22566          part { name: "event";
22567             type: RECT;
22568             repeat_events: 1;
22569             description {
22570                state: "default" 0.0;
22571                color: 0 0 0 0;
22572             }
22573          }
22574          part {
22575             name: "base";
22576             mouse_events: 0;
22577             description {
22578                state: "default" 0.0;
22579                image {
22580                   normal: "ilist_2.png";
22581                   border: 2 2 2 2;
22582                }
22583                fill.smooth: 0;
22584             }
22585          }
22586          part { name: "bg";
22587             clip_to: "disclip";
22588             mouse_events: 0;
22589             description { state: "default" 0.0;
22590                visible: 0;
22591                color: 255 255 255 0;
22592                rel1 {
22593                   relative: 0.0 0.0;
22594                   offset: -5 -5;
22595                }
22596                rel2 {
22597                   relative: 1.0 1.0;
22598                   offset: 4 4;
22599                }
22600                image {
22601                   normal: "bt_sm_base1.png";
22602                   border: 6 6 6 6;
22603                }
22604                image.middle: SOLID;
22605             }
22606             description { state: "selected" 0.0;
22607                inherit: "default" 0.0;
22608                visible: 1;
22609                color: 255 255 255 255;
22610                rel1 {
22611                   relative: 0.0 0.0;
22612                   offset: -2 -2;
22613                }
22614                rel2 {
22615                   relative: 1.0 1.0;
22616                   offset: 1 1;
22617                }
22618             }
22619          }
22620          part { name: "elm.swallow.pad";
22621             type: SWALLOW;
22622             description { state: "default" 0.0;
22623                fixed: 1 0;
22624                align: 0.0 0.5;
22625                rel1 {
22626                   relative: 0.0  0.0;
22627                   offset:   4    4;
22628                }
22629                rel2 {
22630                   relative: 1.0  1.0;
22631                   offset:   -4   -5;
22632                }
22633             }
22634          }
22635          part { name: "elm.swallow.icon";
22636             clip_to: "disclip";
22637             type: SWALLOW;
22638             description { state: "default" 0.0;
22639                fixed: 1 0;
22640                align: 0.5 0.5;
22641                rel1 {
22642                   to_x: "elm.swallow.pad";
22643                   relative: 0.0  0.0;
22644                   offset:   -1    4;
22645                }
22646                rel2 {
22647                   to_x: "elm.swallow.pad";
22648                   relative: 1.0  1.0;
22649                   offset:   -1   -5;
22650                }
22651             }
22652          }
22653          part { name: "elm.text";
22654             clip_to: "disclip";
22655             type:           TEXT;
22656             effect:         SOFT_SHADOW;
22657             mouse_events:   0;
22658             scale: 1;
22659             description {
22660                state: "default" 0.0;
22661 //               min:      16 16;
22662                rel1 {
22663                   to_y:     "elm.swallow.icon";
22664                   relative: 0.0  1.0;
22665                   offset:   0 4;
22666                }
22667                rel2 {
22668                   relative: 1.0  1.0;
22669                   offset:   -5 -5;
22670                }
22671                color: 0 0 0 255;
22672                color3: 0 0 0 0;
22673                text {
22674                   font: "Sans";
22675                   size: 10;
22676                   min: 1 1;
22677 //                  min: 0 1;
22678                   align: 0.5 0.5;
22679                   text_class: "list_item";
22680                }
22681             }
22682             description { state: "selected" 0.0;
22683                inherit: "default" 0.0;
22684                color: 224 224 224 255;
22685                color3: 0 0 0 64;
22686             }
22687          }
22688          part { name: "fg1";
22689             clip_to: "disclip";
22690             mouse_events: 0;
22691             description { state: "default" 0.0;
22692                visible: 0;
22693                color: 255 255 255 0;
22694                rel1.to: "bg";
22695                rel2.relative: 1.0 0.5;
22696                rel2.to: "bg";
22697                image {
22698                   normal: "bt_sm_hilight.png";
22699                   border: 6 6 6 0;
22700                }
22701             }
22702             description { state: "selected" 0.0;
22703                inherit: "default" 0.0;
22704                visible: 1;
22705                color: 255 255 255 255;
22706             }
22707          }
22708          part { name: "fg2";
22709             clip_to: "disclip";
22710             mouse_events: 0;
22711             description { state: "default" 0.0;
22712                visible: 0;
22713                color: 255 255 255 0;
22714                rel1.to: "bg";
22715                rel2.to: "bg";
22716                image {
22717                   normal: "bt_sm_shine.png";
22718                   border: 6 6 6 0;
22719                }
22720             }
22721             description { state: "selected" 0.0;
22722                inherit: "default" 0.0;
22723                visible: 1;
22724                color: 255 255 255 255;
22725             }
22726          }
22727          part { name: "disclip";
22728             type: RECT;
22729             description { state: "default" 0.0;
22730                rel1.to: "bg";
22731                rel2.to: "bg";
22732             }
22733             description { state: "disabled" 0.0;
22734                inherit: "default" 0.0;
22735                color: 255 255 255 64;
22736             }
22737          }
22738       }
22739       programs {
22740          // signal: elm,state,%s,active
22741          //   a "check" item named %s went active
22742          // signal: elm,state,%s,passive
22743          //   a "check" item named %s went passive
22744          // default is passive
22745          program {
22746             name:    "go_active";
22747             signal:  "elm,state,selected";
22748             source:  "elm";
22749             action:  STATE_SET "selected" 0.0;
22750             target:  "bg";
22751             target:  "fg1";
22752             target:  "fg2";
22753             target:  "elm.text";
22754          }
22755          program {
22756             name:    "go_passive";
22757             signal:  "elm,state,unselected";
22758             source:  "elm";
22759             action:  STATE_SET "default" 0.0;
22760             target:  "bg";
22761             target:  "fg1";
22762             target:  "fg2";
22763             target:  "elm.text";
22764             transition: LINEAR 0.1;
22765          }
22766          program {
22767             name:    "go_disabled";
22768             signal:  "elm,state,disabled";
22769             source:  "elm";
22770             action:  STATE_SET "disabled" 0.0;
22771             target:  "disclip";
22772          }
22773          program {
22774             name:    "go_enabled";
22775             signal:  "elm,state,enabled";
22776             source:  "elm";
22777             action:  STATE_SET "default" 0.0;
22778             target:  "disclip";
22779          }
22780       }
22781    }
22782
22783    group { name: "elm/genlist/tree/icon_top_text_bottom/default";
22784       data.item: "stacking" "above";
22785       data.item: "selectraise" "on";
22786       data.item: "labels" "elm.text";
22787       data.item: "icons" "elm.swallow.icon";
22788       data.item: "treesize" "20";
22789 //      data.item: "states" "";
22790       images {
22791          image: "bt_sm_base1.png" COMP;
22792          image: "bt_sm_shine.png" COMP;
22793          image: "bt_sm_hilight.png" COMP;
22794          image: "ilist_1.png" COMP;
22795          image: "ilist_item_shadow.png" COMP;
22796          image: "icon_arrow_right.png" COMP;
22797          image: "icon_arrow_down.png" COMP;
22798       }
22799       parts {
22800          part {
22801             name:           "event";
22802             type:           RECT;
22803             repeat_events: 1;
22804             description {
22805                state: "default" 0.0;
22806                color: 0 0 0 0;
22807             }
22808          }
22809          part {
22810             name: "base_sh";
22811             mouse_events: 0;
22812             description {
22813                state: "default" 0.0;
22814                align: 0.0 0.0;
22815                min: 0 10;
22816                fixed: 1 1;
22817                rel1 {
22818                   to: "base";
22819                   relative: 0.0 1.0;
22820                   offset: 0 0;
22821                }
22822                rel2 {
22823                   to: "base";
22824                   relative: 1.0 1.0;
22825                   offset: -1 0;
22826                }
22827                image {
22828                   normal: "ilist_item_shadow.png";
22829                }
22830                fill.smooth: 0;
22831             }
22832          }
22833          part {
22834             name: "base";
22835             mouse_events: 0;
22836             description {
22837                state: "default" 0.0;
22838                image {
22839                   normal: "ilist_1.png";
22840                   border: 2 2 2 2;
22841                }
22842                fill.smooth: 0;
22843             }
22844          }
22845          part { name: "bg";
22846             clip_to: "disclip";
22847             mouse_events: 0;
22848             description { state: "default" 0.0;
22849                visible: 0;
22850                color: 255 255 255 0;
22851                rel1 {
22852                   relative: 0.0 0.0;
22853                   offset: -5 -5;
22854                }
22855                rel2 {
22856                   relative: 1.0 1.0;
22857                   offset: 4 4;
22858                }
22859                image {
22860                   normal: "bt_sm_base1.png";
22861                   border: 6 6 6 6;
22862                }
22863                image.middle: SOLID;
22864             }
22865             description { state: "selected" 0.0;
22866                inherit: "default" 0.0;
22867                visible: 1;
22868                color: 255 255 255 255;
22869                rel1 {
22870                   relative: 0.0 0.0;
22871                   offset: -2 -2;
22872                }
22873                rel2 {
22874                   relative: 1.0 1.0;
22875                   offset: 1 1;
22876                }
22877             }
22878          }
22879          part { name: "elm.swallow.pad";
22880             type: SWALLOW;
22881             description { state: "default" 0.0;
22882                fixed: 1 0;
22883                align: 0.0 0.5;
22884                rel1 {
22885                   relative: 0.0  0.0;
22886                   offset:   4    4;
22887                }
22888                rel2 {
22889                   relative: 0.0  1.0;
22890                   offset:   4   -5;
22891                }
22892             }
22893          }
22894          part { name: "arrow";
22895             clip_to: "disclip";
22896             ignore_flags: ON_HOLD;
22897             description { state: "default" 0.0;
22898                fixed: 1 0;
22899                align: 0.0 0.5;
22900                aspect: 1.0 1.0;
22901                rel1 {
22902                   to_x: "elm.swallow.pad";
22903                   relative: 1.0  0.0;
22904                   offset:   -1    4;
22905                }
22906                rel2 {
22907                   to_x: "elm.swallow.pad";
22908                   relative: 1.0  1.0;
22909                   offset:   -1   -5;
22910                }
22911                image.normal: "icon_arrow_right.png";
22912             }
22913             description { state: "active" 0.0;
22914                inherit: "default" 0.0;
22915                image.normal: "icon_arrow_down.png";
22916             }
22917          }
22918          part { name: "elm.swallow.icon";
22919             clip_to: "disclip";
22920             type: SWALLOW;
22921             description { state: "default" 0.0;
22922                fixed: 1 0;
22923                align: 0.5 0.5;
22924                rel1 {
22925                   to_x: "arrow";
22926                   relative: 1.0  0.0;
22927                   offset:   4    4;
22928                }
22929                rel2 {
22930                   relative: 1.0  1.0;
22931                   offset:   -4   -5;
22932                }
22933             }
22934          }
22935          part { name: "elm.text";
22936             clip_to: "disclip";
22937             type:           TEXT;
22938             effect:         SOFT_SHADOW;
22939             mouse_events:   0;
22940             scale: 1;
22941             description {
22942                state: "default" 0.0;
22943 //               min: 16 16;
22944                rel1 {
22945                   to_y:     "elm.swallow.icon";
22946                   relative: 0.0  1.0;
22947                   offset:   0 4;
22948                }
22949                rel2 {
22950                   relative: 1.0  1.0;
22951                   offset:   -5 -5;
22952                }
22953                color: 0 0 0 255;
22954                color3: 0 0 0 0;
22955                text {
22956                   font: "Sans";
22957                   size: 10;
22958                   min: 1 1;
22959 //                  min: 0 1;
22960                   align: 0.5 0.5;
22961                   text_class: "list_item";
22962                }
22963             }
22964             description { state: "selected" 0.0;
22965                inherit: "default" 0.0;
22966                color: 224 224 224 255;
22967                color3: 0 0 0 64;
22968             }
22969          }
22970          part { name: "fg1";
22971             clip_to: "disclip";
22972             mouse_events: 0;
22973             description { state: "default" 0.0;
22974                visible: 0;
22975                color: 255 255 255 0;
22976                rel1.to: "bg";
22977                rel2.relative: 1.0 0.5;
22978                rel2.to: "bg";
22979                image {
22980                   normal: "bt_sm_hilight.png";
22981                   border: 6 6 6 0;
22982                }
22983             }
22984             description { state: "selected" 0.0;
22985                inherit: "default" 0.0;
22986                visible: 1;
22987                color: 255 255 255 255;
22988             }
22989          }
22990          part { name: "fg2";
22991             clip_to: "disclip";
22992             mouse_events: 0;
22993             description { state: "default" 0.0;
22994                visible: 0;
22995                color: 255 255 255 0;
22996                rel1.to: "bg";
22997                rel2.to: "bg";
22998                image {
22999                   normal: "bt_sm_shine.png";
23000                   border: 6 6 6 0;
23001                }
23002             }
23003             description { state: "selected" 0.0;
23004                inherit: "default" 0.0;
23005                visible: 1;
23006                color: 255 255 255 255;
23007             }
23008          }
23009          part { name: "disclip";
23010             type: RECT;
23011             description { state: "default" 0.0;
23012                rel1.to: "bg";
23013                rel2.to: "bg";
23014             }
23015             description { state: "disabled" 0.0;
23016                inherit: "default" 0.0;
23017                color: 255 255 255 64;
23018             }
23019          }
23020       }
23021       programs {
23022          // signal: elm,state,%s,active
23023          //   a "check" item named %s went active
23024          // signal: elm,state,%s,passive
23025          //   a "check" item named %s went passive
23026          // default is passive
23027          program {
23028             name:    "go_active";
23029             signal:  "elm,state,selected";
23030             source:  "elm";
23031             action:  STATE_SET "selected" 0.0;
23032             target:  "bg";
23033             target:  "fg1";
23034             target:  "fg2";
23035             target:  "elm.text";
23036          }
23037          program {
23038             name:    "go_passive";
23039             signal:  "elm,state,unselected";
23040             source:  "elm";
23041             action:  STATE_SET "default" 0.0;
23042             target:  "bg";
23043             target:  "fg1";
23044             target:  "fg2";
23045             target:  "elm.text";
23046             transition: LINEAR 0.1;
23047          }
23048          program {
23049             name:    "go_disabled";
23050             signal:  "elm,state,disabled";
23051             source:  "elm";
23052             action:  STATE_SET "disabled" 0.0;
23053             target:  "disclip";
23054          }
23055          program {
23056             name:    "go_enabled";
23057             signal:  "elm,state,enabled";
23058             source:  "elm";
23059             action:  STATE_SET "default" 0.0;
23060             target:  "disclip";
23061          }
23062          program {
23063             name:    "expand";
23064             signal:  "mouse,up,1";
23065             source:  "arrow";
23066             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
23067          }
23068          program {
23069             name:    "go_expanded";
23070             signal:  "elm,state,expanded";
23071             source:  "elm";
23072             action:  STATE_SET "active" 0.0;
23073             target:  "arrow";
23074          }
23075          program {
23076             name:    "go_contracted";
23077             signal:  "elm,state,contracted";
23078             source:  "elm";
23079             action:  STATE_SET "default" 0.0;
23080             target:  "arrow";
23081          }
23082       }
23083    }
23084    group { name: "elm/genlist/tree_odd/icon_top_text_bottom/default";
23085       data.item: "stacking" "below";
23086       data.item: "selectraise" "on";
23087       data.item: "labels" "elm.text";
23088       data.item: "icons" "elm.swallow.icon";
23089       data.item: "treesize" "20";
23090 //      data.item: "states" "";
23091       images {
23092          image: "bt_sm_base1.png" COMP;
23093          image: "bt_sm_shine.png" COMP;
23094          image: "bt_sm_hilight.png" COMP;
23095          image: "ilist_2.png" COMP;
23096          image: "icon_arrow_right.png" COMP;
23097          image: "icon_arrow_down.png" COMP;
23098       }
23099       parts {
23100          part {
23101             name:           "event";
23102             type:           RECT;
23103             repeat_events: 1;
23104             description {
23105                state: "default" 0.0;
23106                color: 0 0 0 0;
23107             }
23108          }
23109          part {
23110             name: "base";
23111             mouse_events: 0;
23112             description {
23113                state: "default" 0.0;
23114                image {
23115                   normal: "ilist_2.png";
23116                   border: 2 2 2 2;
23117                }
23118                fill.smooth: 0;
23119             }
23120          }
23121          part { name: "bg";
23122             clip_to: "disclip";
23123             mouse_events: 0;
23124             description { state: "default" 0.0;
23125                visible: 0;
23126                color: 255 255 255 0;
23127                rel1 {
23128                   relative: 0.0 0.0;
23129                   offset: -5 -5;
23130                }
23131                rel2 {
23132                   relative: 1.0 1.0;
23133                   offset: 4 4;
23134                }
23135                image {
23136                   normal: "bt_sm_base1.png";
23137                   border: 6 6 6 6;
23138                }
23139                image.middle: SOLID;
23140             }
23141             description { state: "selected" 0.0;
23142                inherit: "default" 0.0;
23143                visible: 1;
23144                color: 255 255 255 255;
23145                rel1 {
23146                   relative: 0.0 0.0;
23147                   offset: -2 -2;
23148                }
23149                rel2 {
23150                   relative: 1.0 1.0;
23151                   offset: 1 1;
23152                }
23153             }
23154          }
23155          part { name: "elm.swallow.pad";
23156             type: SWALLOW;
23157             description { state: "default" 0.0;
23158                fixed: 1 0;
23159                align: 0.0 0.5;
23160                rel1 {
23161                   relative: 0.0  0.0;
23162                   offset:   4    4;
23163                }
23164                rel2 {
23165                   relative: 0.0  1.0;
23166                   offset:   4   -5;
23167                }
23168             }
23169          }
23170          part { name: "arrow";
23171             clip_to: "disclip";
23172             ignore_flags: ON_HOLD;
23173             description { state: "default" 0.0;
23174                fixed: 1 0;
23175                align: 0.0 0.5;
23176                aspect: 1.0 1.0;
23177                rel1 {
23178                   to_x: "elm.swallow.pad";
23179                   relative: 1.0  0.0;
23180                   offset:   -1    4;
23181                }
23182                rel2 {
23183                   to_x: "elm.swallow.pad";
23184                   relative: 1.0  1.0;
23185                   offset:   -1   -5;
23186                }
23187                image.normal: "icon_arrow_right.png";
23188             }
23189             description { state: "active" 0.0;
23190                inherit: "default" 0.0;
23191                image.normal: "icon_arrow_down.png";
23192             }
23193          }
23194          part { name: "elm.swallow.icon";
23195             clip_to: "disclip";
23196             type: SWALLOW;
23197             description { state: "default" 0.0;
23198                fixed: 1 0;
23199                align: 0.5 0.5;
23200                rel1 {
23201                   to_x: "arrow";
23202                   relative: 1.0  0.0;
23203                   offset:   4    4;
23204                }
23205                rel2 {
23206                   relative: 1.0  1.0;
23207                   offset:   -4   -5;
23208                }
23209             }
23210          }
23211          part { name: "elm.text";
23212             clip_to: "disclip";
23213             type:           TEXT;
23214             effect:         SOFT_SHADOW;
23215             mouse_events:   0;
23216             scale: 1;
23217             description {
23218                state: "default" 0.0;
23219 //               min: 16 16;
23220                rel1 {
23221                   to_y:     "elm.swallow.icon";
23222                   relative: 0.0  1.0;
23223                   offset:   0 4;
23224                }
23225                rel2 {
23226                   relative: 1.0  1.0;
23227                   offset:   -5 -5;
23228                }
23229                color: 0 0 0 255;
23230                color3: 0 0 0 0;
23231                text {
23232                   font: "Sans";
23233                   size: 10;
23234                   min: 1 1;
23235 //                  min: 0 1;
23236                   align: 0.5 0.5;
23237                   text_class: "list_item";
23238                }
23239             }
23240             description { state: "selected" 0.0;
23241                inherit: "default" 0.0;
23242                color: 224 224 224 255;
23243                color3: 0 0 0 64;
23244             }
23245          }
23246          part { name: "fg1";
23247             clip_to: "disclip";
23248             mouse_events: 0;
23249             description { state: "default" 0.0;
23250                visible: 0;
23251                color: 255 255 255 0;
23252                rel1.to: "bg";
23253                rel2.relative: 1.0 0.5;
23254                rel2.to: "bg";
23255                image {
23256                   normal: "bt_sm_hilight.png";
23257                   border: 6 6 6 0;
23258                }
23259             }
23260             description { state: "selected" 0.0;
23261                inherit: "default" 0.0;
23262                visible: 1;
23263                color: 255 255 255 255;
23264             }
23265          }
23266          part { name: "fg2";
23267             clip_to: "disclip";
23268             mouse_events: 0;
23269             description { state: "default" 0.0;
23270                visible: 0;
23271                color: 255 255 255 0;
23272                rel1.to: "bg";
23273                rel2.to: "bg";
23274                image {
23275                   normal: "bt_sm_shine.png";
23276                   border: 6 6 6 0;
23277                }
23278             }
23279             description { state: "selected" 0.0;
23280                inherit: "default" 0.0;
23281                visible: 1;
23282                color: 255 255 255 255;
23283             }
23284          }
23285          part { name: "disclip";
23286             type: RECT;
23287             description { state: "default" 0.0;
23288                rel1.to: "bg";
23289                rel2.to: "bg";
23290             }
23291             description { state: "disabled" 0.0;
23292                inherit: "default" 0.0;
23293                color: 255 255 255 64;
23294             }
23295          }
23296       }
23297       programs {
23298          // signal: elm,state,%s,active
23299          //   a "check" item named %s went active
23300          // signal: elm,state,%s,passive
23301          //   a "check" item named %s went passive
23302          // default is passive
23303          program {
23304             name:    "go_active";
23305             signal:  "elm,state,selected";
23306             source:  "elm";
23307             action:  STATE_SET "selected" 0.0;
23308             target:  "bg";
23309             target:  "fg1";
23310             target:  "fg2";
23311             target:  "elm.text";
23312          }
23313          program {
23314             name:    "go_passive";
23315             signal:  "elm,state,unselected";
23316             source:  "elm";
23317             action:  STATE_SET "default" 0.0;
23318             target:  "bg";
23319             target:  "fg1";
23320             target:  "fg2";
23321             target:  "elm.text";
23322             transition: LINEAR 0.1;
23323          }
23324          program {
23325             name:    "go_disabled";
23326             signal:  "elm,state,disabled";
23327             source:  "elm";
23328             action:  STATE_SET "disabled" 0.0;
23329             target:  "disclip";
23330          }
23331          program {
23332             name:    "go_enabled";
23333             signal:  "elm,state,enabled";
23334             source:  "elm";
23335             action:  STATE_SET "default" 0.0;
23336             target:  "disclip";
23337          }
23338          program {
23339             name:    "expand";
23340             signal:  "mouse,up,1";
23341             source:  "arrow";
23342             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
23343          }
23344          program {
23345             name:    "go_expanded";
23346             signal:  "elm,state,expanded";
23347             source:  "elm";
23348             action:  STATE_SET "active" 0.0;
23349             target:  "arrow";
23350          }
23351          program {
23352             name:    "go_contracted";
23353             signal:  "elm,state,contracted";
23354             source:  "elm";
23355             action:  STATE_SET "default" 0.0;
23356             target:  "arrow";
23357          }
23358       }
23359    }
23360
23361
23362 ///////////////////////////////////////////////////////////////////////////////
23363    group { name: "elm/check/base/default";
23364       images {
23365          image: "check_base.png" COMP;
23366          image: "check.png" COMP;
23367          image: "check2.png" COMP;
23368       }
23369       parts {
23370          part { name: "bg";
23371             mouse_events: 0;
23372             scale: 1;
23373             description { state: "default" 0.0;
23374                rel1.offset: 1 1;
23375                rel2.relative: 0.0 1.0;
23376                rel2.offset: 1 -2;
23377                align: 0.0 0.5;
23378                min: 16 16;
23379                max: 16 16;
23380                aspect: 1.0 1.0;
23381                aspect_preference: VERTICAL;
23382                image {
23383                   normal: "check_base.png";
23384                   border: 5 5 5 5;
23385                   middle: 0;
23386                }
23387                fill.smooth : 0;
23388             }
23389          }
23390          part { name: "check";
23391             mouse_events: 0;
23392             scale: 1;
23393             description { state: "default" 0.0;
23394                rel1 {
23395                   to: "bg";
23396                   offset: 1 1;
23397                }
23398                rel2 {
23399                   to: "bg";
23400                   offset: -2 -2;
23401                }
23402                visible: 0;
23403                color: 255 255 255 255;
23404                image.normal: "check.png";
23405             }
23406             description { state: "visible" 0.0;
23407                inherit: "default" 0.0;
23408                visible: 1;
23409             }
23410             description { state: "disabled" 0.0;
23411                inherit: "default" 0.0;
23412                visible: 0;
23413                color: 128 128 128 128;
23414             }
23415             description { state: "disabled_visible" 0.0;
23416                inherit: "default" 0.0;
23417                color: 128 128 128 128;
23418                visible: 1;
23419             }
23420          }
23421          part { name: "elm.swallow.content";
23422             type: SWALLOW;
23423             description { state: "default" 0.0;
23424                fixed: 1 0;
23425                visible: 0;
23426                align: 0.0 0.5;
23427           rel1.to_x: "bg";
23428                rel1.relative: 1.0 0.0;
23429                rel1.offset: 1 1;
23430           rel2.to_x: "bg";
23431                rel2.offset: 1 -2;
23432                rel2.relative: 1.0 1.0;
23433             }
23434             description { state: "visible" 0.0;
23435                inherit: "default" 0.0;
23436           fixed: 1 0;
23437                visible: 1;
23438                aspect: 1.0 1.0;
23439             }
23440             description { state: "disabled" 0.0;
23441                inherit: "default" 0.0;
23442                color: 128 128 128 128;
23443             }
23444             description { state: "disabled_visible" 0.0;
23445                inherit: "default" 0.0;
23446                color: 128 128 128 128;
23447           fixed: 1 0;
23448                visible: 1;
23449                aspect: 1.0 1.0;
23450             }
23451          }
23452          part { name: "elm.text";
23453             type: TEXT;
23454             mouse_events: 0;
23455             scale: 1;
23456             description { state: "default" 0.0;
23457                visible: 0;
23458                rel1.to_x: "elm.swallow.content";
23459                rel1.relative: 1.0 0.0;
23460                rel1.offset: 1 1;
23461                rel2.relative: 1.0 1.0;
23462                rel2.offset: -2 -2;
23463                color: 0 0 0 255;
23464                text {
23465                   font: "Sans,Edje-Vera";
23466                   size: 10;
23467                   min: 0 1;
23468                   align: 0.0 0.5;
23469                }
23470             }
23471             description { state: "visible" 0.0;
23472                inherit: "default" 0.0;
23473                visible: 1;
23474                text.min: 1 1;
23475             }
23476             description { state: "disabled" 0.0;
23477                inherit: "default" 0.0;
23478                color: 0 0 0 128;
23479                color3: 0 0 0 0;
23480             }
23481             description { state: "disabled_visible" 0.0;
23482                inherit: "default" 0.0;
23483                color: 0 0 0 128;
23484                color3: 0 0 0 0;
23485                visible: 1;
23486                text.min: 1 1;
23487             }
23488          }
23489          part { name: "events";
23490             type: RECT;
23491             ignore_flags: ON_HOLD;
23492             description { state: "default" 0.0;
23493                color: 0 0 0 0;
23494             }
23495          }
23496           part { name: "disabler";
23497             type: RECT;
23498             description { state: "default" 0.0;
23499                color: 0 0 0 0;
23500                visible: 0;
23501             }
23502             description { state: "disabled" 0.0;
23503                inherit: "default" 0.0;
23504                visible: 1;
23505             }
23506          }
23507       }
23508       programs {
23509          program { name: "click";
23510             signal: "mouse,up,1";
23511             source: "events";
23512             action: SIGNAL_EMIT "elm,action,check,toggle" "";
23513          }
23514          program { name: "check_on";
23515             signal: "elm,state,check,on";
23516             source: "elm";
23517             action:  STATE_SET "visible" 0.0;
23518             target: "check";
23519          }
23520          program { name: "check_off";
23521             signal: "elm,state,check,off";
23522             source: "elm";
23523             action:  STATE_SET "default" 0.0;
23524             target: "check";
23525          }
23526          program { name: "text_show";
23527             signal: "elm,state,text,visible";
23528             source: "elm";
23529             action:  STATE_SET "visible" 0.0;
23530             target: "elm.text";
23531          }
23532          program { name: "text_hide";
23533             signal: "elm,state,text,hidden";
23534             source: "elm";
23535             action:  STATE_SET "default" 0.0;
23536             target: "elm.text";
23537          }
23538          program { name: "icon_show";
23539             signal: "elm,state,icon,visible";
23540             source: "elm";
23541             action:  STATE_SET "visible" 0.0;
23542             target: "elm.swallow.content";
23543          }
23544          program { name: "icon_hide";
23545             signal: "elm,state,icon,hidden";
23546             source: "elm";
23547             action:  STATE_SET "default" 0.0;
23548             target: "elm.swallow.content";
23549          }
23550          program { name: "disable";
23551             signal: "elm,state,disabled";
23552             source: "elm";
23553             action: STATE_SET "disabled" 0.0;
23554             target: "disabler";
23555             after: "disable_text";
23556          }
23557          program { name: "disable_text";
23558             script {
23559                new st[31];
23560                new Float:vl;
23561                get_state(PART:"elm.text", st, 30, vl);
23562                if (!strcmp(st, "visible"))
23563                  set_state(PART:"elm.text", "disabled_visible", 0.0);
23564                else
23565                  set_state(PART:"elm.text", "disabled", 0.0);
23566
23567                get_state(PART:"elm.swallow.content", st, 30, vl);
23568                if (!strcmp(st, "visible"))
23569                  set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
23570                else
23571                  set_state(PART:"elm.swallow.content", "disabled", 0.0);
23572
23573                get_state(PART:"check", st, 30, vl);
23574                if (!strcmp(st, "visible"))
23575                  set_state(PART:"check", "disabled_visible", 0.0);
23576                else
23577                  set_state(PART:"check", "disabled", 0.0);
23578             }
23579          }
23580          program { name: "enable";
23581             signal: "elm,state,enabled";
23582             source: "elm";
23583             action: STATE_SET "default" 0.0;
23584             target: "disabler";
23585             after: "enable_text";
23586          }
23587          program { name: "enable_text";
23588             script {
23589                new st[31];
23590                new Float:vl;
23591                get_state(PART:"elm.text", st, 30, vl);
23592                if (!strcmp(st, "disabled_visible"))
23593                  set_state(PART:"elm.text", "visible", 0.0);
23594                else
23595                  set_state(PART:"elm.text", "default", 0.0);
23596
23597                get_state(PART:"elm.swallow.content", st, 30, vl);
23598                if (!strcmp(st, "visible"))
23599                  set_state(PART:"elm.swallow.content", "visible", 0.0);
23600                else
23601                  set_state(PART:"elm.swallow.content", "default", 0.0);
23602
23603                get_state(PART:"check", st, 30, vl);
23604                if (!strcmp(st, "visible"))
23605                  set_state(PART:"check", "visible", 0.0);
23606                else
23607                  set_state(PART:"check", "default", 0.0);
23608             }
23609          }
23610       }
23611    }
23612 ///////////////////////////////////////////////////////////////////////////////
23613    group { name: "elm/radio/base/default";
23614       images {
23615          image: "radio_base.png" COMP;
23616          image: "radio.png" COMP;
23617          image: "radio2.png" COMP;
23618       }
23619       parts {
23620          part { name: "bg";
23621             mouse_events: 0;
23622             scale: 1;
23623             description { state: "default" 0.0;
23624                rel1.offset: 1 1;
23625                rel2.relative: 0.0 1.0;
23626                rel2.offset: 1 -2;
23627                align: 0.0 0.5;
23628                min: 16 16;
23629                max: 16 16;
23630                aspect: 1.0 1.0;
23631                aspect_preference: VERTICAL;
23632                image.normal: "radio_base.png";
23633             }
23634          }
23635          part { name: "radio";
23636             mouse_events: 0;
23637             scale: 1;
23638             description { state: "default" 0.0;
23639                rel1.to: "bg";
23640                rel2.to: "bg";
23641                visible: 0;
23642                image.normal: "radio.png";
23643             }
23644             description { state: "visible" 0.0;
23645                inherit: "default" 0.0;
23646                visible: 1;
23647             }
23648          }
23649          part { name: "elm.swallow.content";
23650             type: SWALLOW;
23651             description { state: "default" 0.0;
23652                fixed: 1 0;
23653                visible: 0;
23654                align: 0.0 0.5;
23655                color: 0 0 0 0;
23656                rel1.to_x: "bg";
23657                rel1.relative: 1.0 0.0;
23658                rel1.offset: 1 1;
23659                rel2.to_x: "bg";
23660                rel2.relative: 1.0 1.0;
23661                rel2.offset: 2 -2;
23662             }
23663             description { state: "visible" 0.0;
23664                inherit: "default" 0.0;
23665                visible: 1;
23666                color: 255 255 255 255;
23667                aspect: 1.0 1.0;
23668             }
23669             description { state: "disabled" 0.0;
23670                inherit: "default" 0.0;
23671                color: 128 128 128 128;
23672             }
23673             description { state: "disabled_visible" 0.0;
23674                inherit: "default" 0.0;
23675                color: 128 128 128 128;
23676                visible: 1;
23677                aspect: 1.0 1.0;
23678             }
23679          }
23680          part { name: "elm.text";
23681             type: TEXT;
23682             mouse_events: 0;
23683             scale: 1;
23684             description { state: "default" 0.0;
23685                visible: 0;
23686                rel1.to_x: "elm.swallow.content";
23687                rel1.relative: 1.0 0.0;
23688                rel1.offset: 1 1;
23689                rel2.relative: 1.0 1.0;
23690                rel2.offset: -2 -2;
23691                color: 0 0 0 255;
23692                text {
23693                   font: "Sans,Edje-Vera";
23694                   size: 10;
23695                   min: 0 0;
23696                   align: 0.0 0.5;
23697                }
23698             }
23699             description { state: "visible" 0.0;
23700                inherit: "default" 0.0;
23701                visible: 1;
23702                text.min: 1 1;
23703             }
23704             description { state: "disabled" 0.0;
23705                inherit: "default" 0.0;
23706                color: 0 0 0 128;
23707                color3: 0 0 0 0;
23708             }
23709             description { state: "disabled_visible" 0.0;
23710                inherit: "default" 0.0;
23711                color: 0 0 0 128;
23712                color3: 0 0 0 0;
23713                visible: 1;
23714                text.min: 1 1;
23715             }
23716          }
23717          part { name: "events";
23718             type: RECT;
23719             ignore_flags: ON_HOLD;
23720             description { state: "default" 0.0;
23721                color: 0 0 0 0;
23722             }
23723          }
23724           part { name: "disabler";
23725             type: RECT;
23726             description { state: "default" 0.0;
23727                color: 0 0 0 0;
23728                visible: 0;
23729             }
23730             description { state: "disabled" 0.0;
23731                inherit: "default" 0.0;
23732                visible: 1;
23733             }
23734          }
23735       }
23736       programs {
23737          program { name: "click";
23738             signal: "mouse,up,1";
23739             source: "events";
23740             action: SIGNAL_EMIT "elm,action,radio,toggle" "";
23741          }
23742          program { name: "radio_on";
23743             signal: "elm,state,radio,on";
23744             source: "elm";
23745             action:  STATE_SET "visible" 0.0;
23746             target: "radio";
23747          }
23748          program { name: "radio_off";
23749             signal: "elm,state,radio,off";
23750             source: "elm";
23751             action:  STATE_SET "default" 0.0;
23752             target: "radio";
23753          }
23754          program { name: "text_show";
23755             signal: "elm,state,text,visible";
23756             source: "elm";
23757             action:  STATE_SET "visible" 0.0;
23758             target: "elm.text";
23759          }
23760          program { name: "text_hide";
23761             signal: "elm,state,text,hidden";
23762             source: "elm";
23763             action:  STATE_SET "default" 0.0;
23764             target: "elm.text";
23765          }
23766          program { name: "icon_show";
23767             signal: "elm,state,icon,visible";
23768             source: "elm";
23769             action:  STATE_SET "visible" 0.0;
23770             target: "elm.swallow.content";
23771          }
23772          program { name: "icon_hide";
23773             signal: "elm,state,icon,hidden";
23774             source: "elm";
23775             action:  STATE_SET "default" 0.0;
23776             target: "elm.swallow.content";
23777          }
23778          program { name: "disable";
23779             signal: "elm,state,disabled";
23780             source: "elm";
23781             action: STATE_SET "disabled" 0.0;
23782             target: "disabler";
23783             after: "disable_text";
23784          }
23785          program { name: "disable_text";
23786             script {
23787                new st[31];
23788                new Float:vl;
23789                get_state(PART:"elm.text", st, 30, vl);
23790                if (!strcmp(st, "visible"))
23791                  set_state(PART:"elm.text", "disabled_visible", 0.0);
23792                else
23793                  set_state(PART:"elm.text", "disabled", 0.0);
23794
23795                get_state(PART:"elm.swallow.content", st, 30, vl);
23796                if (!strcmp(st, "visible"))
23797                  set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
23798                else
23799                  set_state(PART:"elm.swallow.content", "disabled", 0.0);
23800             }
23801          }
23802          program { name: "enable";
23803             signal: "elm,state,enabled";
23804             source: "elm";
23805             action: STATE_SET "default" 0.0;
23806             target: "disabler";
23807             after: "enable_text";
23808          }
23809          program { name: "enable_text";
23810             script {
23811                new st[31];
23812                new Float:vl;
23813                get_state(PART:"elm.text", st, 30, vl);
23814                if (!strcmp(st, "disabled_visible"))
23815                  set_state(PART:"elm.text", "visible", 0.0);
23816                else
23817                  set_state(PART:"elm.text", "default", 0.0);
23818
23819                get_state(PART:"elm.swallow.content", st, 30, vl);
23820                if (!strcmp(st, "visible"))
23821                  set_state(PART:"elm.swallow.content", "visible", 0.0);
23822                else
23823                  set_state(PART:"elm.swallow.content", "default", 0.0);
23824             }
23825          }
23826       }
23827    }
23828    group { name: "elm/genlist/tree_compress_odd/double_label/default";
23829       data.item: "stacking" "below";
23830       data.item: "selectraise" "on";
23831       data.item: "labels" "elm.text elm.text.sub";
23832       data.item: "icons" "elm.swallow.icon elm.swallow.end";
23833       data.item: "treesize" "20";
23834 //      data.item: "states" "";
23835       images {
23836          image: "bt_sm_base1.png" COMP;
23837          image: "bt_sm_shine.png" COMP;
23838          image: "bt_sm_hilight.png" COMP;
23839          image: "ilist_2.png" COMP;
23840          image: "icon_arrow_right.png" COMP;
23841          image: "icon_arrow_down.png" COMP;
23842       }
23843       parts {
23844          part {
23845             name:           "event";
23846             type:           RECT;
23847             repeat_events: 1;
23848             description {
23849                state: "default" 0.0;
23850                color: 0 0 0 0;
23851             }
23852          }
23853          part {
23854             name: "base";
23855             mouse_events: 0;
23856             description {
23857                state: "default" 0.0;
23858                image {
23859                   normal: "ilist_2.png";
23860                   border: 2 2 2 2;
23861                }
23862                fill.smooth: 0;
23863             }
23864          }
23865          part { name: "bg";
23866             clip_to: "disclip";
23867             mouse_events: 0;
23868             description { state: "default" 0.0;
23869                visible: 0;
23870                color: 255 255 255 0;
23871                rel1 {
23872                   relative: 0.0 0.0;
23873                   offset: -5 -5;
23874                }
23875                rel2 {
23876                   relative: 1.0 1.0;
23877                   offset: 4 4;
23878                }
23879                image {
23880                   normal: "bt_sm_base1.png";
23881                   border: 6 6 6 6;
23882                }
23883                image.middle: SOLID;
23884             }
23885             description { state: "selected" 0.0;
23886                inherit: "default" 0.0;
23887                visible: 1;
23888                color: 255 255 255 255;
23889                rel1 {
23890                   relative: 0.0 0.0;
23891                   offset: -2 -2;
23892                }
23893                rel2 {
23894                   relative: 1.0 1.0;
23895                   offset: 1 1;
23896                }
23897             }
23898          }
23899          part { name: "elm.swallow.pad";
23900             type: SWALLOW;
23901             description { state: "default" 0.0;
23902                fixed: 1 0;
23903                align: 0.0 0.5;
23904                rel1 {
23905                   relative: 0.0  0.0;
23906                   offset:   4    4;
23907                }
23908                rel2 {
23909                   relative: 0.0  1.0;
23910                   offset:   4   -5;
23911                }
23912             }
23913          }
23914          part { name: "arrow";
23915             clip_to: "disclip";
23916             ignore_flags: ON_HOLD;
23917             description { state: "default" 0.0;
23918                fixed: 1 0;
23919                align: 0.0 0.5;
23920                aspect: 1.0 1.0;
23921                rel1 {
23922                   to_x: "elm.swallow.pad";
23923                   relative: 1.0  0.0;
23924                   offset:   -1    4;
23925                }
23926                rel2 {
23927                   to_x: "elm.swallow.pad";
23928                   relative: 1.0  1.0;
23929                   offset:   -1   -5;
23930                }
23931                image.normal: "icon_arrow_right.png";
23932             }
23933             description { state: "active" 0.0;
23934                inherit: "default" 0.0;
23935                image.normal: "icon_arrow_down.png";
23936             }
23937          }
23938          part { name: "elm.swallow.icon";
23939             clip_to: "disclip";
23940             type: SWALLOW;
23941             description { state: "default" 0.0;
23942                fixed: 1 0;
23943                align: 0.0 0.5;
23944                rel1 {
23945                   to_x: "arrow";
23946                   relative: 1.0  0.0;
23947                   offset:   4    4;
23948                }
23949                rel2 {
23950                   to_x: "arrow";
23951                   relative: 1.0  1.0;
23952                   offset:   4   -5;
23953                }
23954             }
23955          }
23956          part { name: "elm.swallow.end";
23957             clip_to: "disclip";
23958             type: SWALLOW;
23959             description { state: "default" 0.0;
23960                fixed: 1 0;
23961                align: 1.0 0.5;
23962                aspect: 1.0 1.0;
23963                aspect_preference: VERTICAL;
23964                rel1 {
23965                   relative: 1.0  0.0;
23966                   offset:   -5    4;
23967                }
23968                rel2 {
23969                   relative: 1.0  1.0;
23970                   offset:   -5   -5;
23971                }
23972             }
23973          }
23974          part { name: "elm.text";
23975             clip_to: "disclip";
23976             type:           TEXT;
23977             effect:         SOFT_SHADOW;
23978             mouse_events:   0;
23979             scale: 1;
23980             description {
23981                state: "default" 0.0;
23982 //               min: 16 16;
23983                rel1 {
23984                   to_x:     "elm.swallow.icon";
23985                   relative: 1.0  0.0;
23986                   offset:   0 4;
23987                }
23988                rel2 {
23989                   to_x:     "elm.swallow.end";
23990                   relative: 0.0  0.5;
23991                   offset:   -1 -5;
23992                }
23993                color: 0 0 0 255;
23994                color3: 0 0 0 0;
23995                text {
23996                   font: "Sans";
23997                   size: 10;
23998 //                  min: 1 1;
23999                   min: 0 1;
24000                   align: 0.0 0.5;
24001                   text_class: "list_item";
24002                }
24003             }
24004             description { state: "selected" 0.0;
24005                inherit: "default" 0.0;
24006                color: 224 224 224 255;
24007                color3: 0 0 0 64;
24008             }
24009          }
24010          part { name: "elm.text.sub";
24011             clip_to: "disclip";
24012             type:           TEXT;
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.5;
24021                   offset:   0 4;
24022                }
24023                rel2 {
24024                   to_x:     "elm.swallow.end";
24025                   relative: 0.0  1.0;
24026                   offset:   -1 -5;
24027                }
24028                color: 0 0 0 128;
24029                color3: 0 0 0 0;
24030                text {
24031                   font: "Sans";
24032                   size: 8;
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: 128 128 128 255;
24042                color3: 0 0 0 32;
24043             }
24044          }
24045          part { name: "fg1";
24046             clip_to: "disclip";
24047             mouse_events: 0;
24048             description { state: "default" 0.0;
24049                visible: 0;
24050                color: 255 255 255 0;
24051                rel1.to: "bg";
24052                rel2.relative: 1.0 0.5;
24053                rel2.to: "bg";
24054                image {
24055                   normal: "bt_sm_hilight.png";
24056                   border: 6 6 6 0;
24057                }
24058             }
24059             description { state: "selected" 0.0;
24060                inherit: "default" 0.0;
24061                visible: 1;
24062                color: 255 255 255 255;
24063             }
24064          }
24065          part { name: "fg2";
24066             clip_to: "disclip";
24067             mouse_events: 0;
24068             description { state: "default" 0.0;
24069                visible: 0;
24070                color: 255 255 255 0;
24071                rel1.to: "bg";
24072                rel2.to: "bg";
24073                image {
24074                   normal: "bt_sm_shine.png";
24075                   border: 6 6 6 0;
24076                }
24077             }
24078             description { state: "selected" 0.0;
24079                inherit: "default" 0.0;
24080                visible: 1;
24081                color: 255 255 255 255;
24082             }
24083          }
24084          part { name: "disclip";
24085             type: RECT;
24086             description { state: "default" 0.0;
24087                rel1.to: "bg";
24088                rel2.to: "bg";
24089             }
24090             description { state: "disabled" 0.0;
24091                inherit: "default" 0.0;
24092                color: 255 255 255 64;
24093             }
24094          }
24095       }
24096       programs {
24097          // signal: elm,state,%s,active
24098          //   a "check" item named %s went active
24099          // signal: elm,state,%s,passive
24100          //   a "check" item named %s went passive
24101          // default is passive
24102          program {
24103             name:    "go_active";
24104             signal:  "elm,state,selected";
24105             source:  "elm";
24106             action:  STATE_SET "selected" 0.0;
24107             target:  "bg";
24108             target:  "fg1";
24109             target:  "fg2";
24110             target:  "elm.text";
24111             target:  "elm.text.sub";
24112          }
24113          program {
24114             name:    "go_passive";
24115             signal:  "elm,state,unselected";
24116             source:  "elm";
24117             action:  STATE_SET "default" 0.0;
24118             target:  "bg";
24119             target:  "fg1";
24120             target:  "fg2";
24121             target:  "elm.text";
24122             target:  "elm.text.sub";
24123             transition: LINEAR 0.1;
24124          }
24125          program {
24126             name:    "go_disabled";
24127             signal:  "elm,state,disabled";
24128             source:  "elm";
24129             action:  STATE_SET "disabled" 0.0;
24130             target:  "disclip";
24131          }
24132          program {
24133             name:    "go_enabled";
24134             signal:  "elm,state,enabled";
24135             source:  "elm";
24136             action:  STATE_SET "default" 0.0;
24137             target:  "disclip";
24138          }
24139          program {
24140             name:    "expand";
24141             signal:  "mouse,up,1";
24142             source:  "arrow";
24143             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
24144          }
24145          program {
24146             name:    "go_expanded";
24147             signal:  "elm,state,expanded";
24148             source:  "elm";
24149             action:  STATE_SET "active" 0.0;
24150             target:  "arrow";
24151          }
24152          program {
24153             name:    "go_contracted";
24154             signal:  "elm,state,contracted";
24155             source:  "elm";
24156             action:  STATE_SET "default" 0.0;
24157             target:  "arrow";
24158          }
24159       }
24160    }
24161
24162    group { name: "elm/genlist/item_compress/media/default";
24163       data.item: "stacking" "above";
24164       data.item: "selectraise" "on";
24165       data.item: "labels" "elm.text.title elm.text.album-artist";
24166       data.item: "treesize" "20";
24167       images {
24168          image: "bt_sm_base1.png" COMP;
24169          image: "bt_sm_shine.png" COMP;
24170          image: "bt_sm_hilight.png" COMP;
24171          image: "ilist_1.png" COMP;
24172          image: "ilist_item_shadow.png" COMP;
24173       }
24174       parts {
24175          part {
24176             name:           "event";
24177             type:           RECT;
24178             repeat_events: 1;
24179             description {
24180                state: "default" 0.0;
24181                color: 0 0 0 0;
24182             }
24183          }
24184          part {
24185             name: "base_sh";
24186             mouse_events: 0;
24187             description {
24188                state: "default" 0.0;
24189                align: 0.0 0.0;
24190                min: 0 10;
24191                fixed: 1 1;
24192                rel1 {
24193                   to: "base";
24194                   relative: 0.0 1.0;
24195                   offset: 0 0;
24196                }
24197                rel2 {
24198                   to: "base";
24199                   relative: 1.0 1.0;
24200                   offset: -1 0;
24201                }
24202                image {
24203                   normal: "ilist_item_shadow.png";
24204                }
24205                fill.smooth: 0;
24206             }
24207          }
24208          part {
24209             name: "base";
24210             mouse_events: 0;
24211             description {
24212                state: "default" 0.0;
24213                image {
24214                   normal: "ilist_1.png";
24215                   border: 2 2 2 2;
24216                }
24217                fill.smooth: 0;
24218             }
24219          }
24220          part { name: "bg";
24221             clip_to: "disclip";
24222             mouse_events: 0;
24223             description { state: "default" 0.0;
24224                visible: 0;
24225                color: 255 255 255 0;
24226                rel1 {
24227                   relative: 0.0 0.0;
24228                   offset: -5 -5;
24229                }
24230                rel2 {
24231                   relative: 1.0 1.0;
24232                   offset: 4 4;
24233                }
24234                image {
24235                   normal: "bt_sm_base1.png";
24236                   border: 6 6 6 6;
24237                }
24238                image.middle: SOLID;
24239             }
24240             description { state: "selected" 0.0;
24241                inherit: "default" 0.0;
24242                visible: 1;
24243                color: 255 255 255 255;
24244                rel1 {
24245                   relative: 0.0 0.0;
24246                   offset: -2 -2;
24247                }
24248                rel2 {
24249                   relative: 1.0 1.0;
24250                   offset: 1 1;
24251                }
24252             }
24253          }
24254          part { name: "elm.swallow.pad";
24255             type: SWALLOW;
24256             description { state: "default" 0.0;
24257                fixed: 1 0;
24258                align: 0.0 0.5;
24259                rel1 {
24260                   relative: 0.0  0.0;
24261                   offset:   4    4;
24262                }
24263                rel2 {
24264                   relative: 0.0  1.0;
24265                   offset:   4   -5;
24266                }
24267             }
24268          }
24269          part { name: "elm.text.title";
24270             clip_to: "disclip";
24271             type:           TEXT;
24272             effect:         SOFT_SHADOW;
24273             mouse_events:   0;
24274             scale: 1;
24275             description {
24276                state: "default" 0.0;
24277                rel1 {
24278                   relative: 0.0  0.0;
24279                   offset:   4 4;
24280                }
24281                rel2 {
24282                   relative: 1.0  0.5;
24283                   offset:   -1 -5;
24284                }
24285                color: 0 0 0 255;
24286                color3: 0 0 0 0;
24287                text {
24288                   font: "Sans";
24289                   size: 10;
24290                   min: 0 1;
24291                   align: 0.0 0.5;
24292                }
24293             }
24294             description { state: "selected" 0.0;
24295                inherit: "default" 0.0;
24296                color: 224 224 224 255;
24297                color3: 0 0 0 64;
24298             }
24299          }
24300          part { name: "elm.text.album-artist";
24301             clip_to: "disclip";
24302             type:           TEXT;
24303             mouse_events:   0;
24304             scale: 1;
24305             description {
24306                state: "default" 0.0;
24307                rel1 {
24308                   relative: 0.0  0.5;
24309                   offset:   4 4;
24310                }
24311                rel2 {
24312                   relative: 1.0  1.0;
24313                   offset:   -1 -5;
24314                }
24315                color: 0 0 0 128;
24316                color3: 0 0 0 0;
24317                text {
24318                   font: "Sans";
24319                   size: 8;
24320                   min: 0 1;
24321                   align: 0.0 0.5;
24322                }
24323             }
24324             description { state: "selected" 0.0;
24325                inherit: "default" 0.0;
24326                color: 128 128 128 255;
24327                color3: 0 0 0 32;
24328             }
24329          }
24330          part { name: "fg1";
24331             clip_to: "disclip";
24332             mouse_events: 0;
24333             description { state: "default" 0.0;
24334                visible: 0;
24335                color: 255 255 255 0;
24336                rel1.to: "bg";
24337                rel2.relative: 1.0 0.5;
24338                rel2.to: "bg";
24339                image {
24340                   normal: "bt_sm_hilight.png";
24341                   border: 6 6 6 0;
24342                }
24343             }
24344             description { state: "selected" 0.0;
24345                inherit: "default" 0.0;
24346                visible: 1;
24347                color: 255 255 255 255;
24348             }
24349          }
24350          part { name: "fg2";
24351             clip_to: "disclip";
24352             mouse_events: 0;
24353             description { state: "default" 0.0;
24354                visible: 0;
24355                color: 255 255 255 0;
24356                rel1.to: "bg";
24357                rel2.to: "bg";
24358                image {
24359                   normal: "bt_sm_shine.png";
24360                   border: 6 6 6 0;
24361                }
24362             }
24363             description { state: "selected" 0.0;
24364                inherit: "default" 0.0;
24365                visible: 1;
24366                color: 255 255 255 255;
24367             }
24368          }
24369          part { name: "disclip";
24370             type: RECT;
24371             description { state: "default" 0.0;
24372                rel1.to: "bg";
24373                rel2.to: "bg";
24374             }
24375             description { state: "disabled" 0.0;
24376                inherit: "default" 0.0;
24377                color: 255 255 255 64;
24378             }
24379          }
24380       }
24381       programs {
24382          // signal: elm,state,%s,active
24383          //   a "check" item named %s went active
24384          // signal: elm,state,%s,passive
24385          //   a "check" item named %s went passive
24386          // default is passive
24387          program {
24388             name:    "go_active";
24389             signal:  "elm,state,selected";
24390             source:  "elm";
24391             action:  STATE_SET "selected" 0.0;
24392             target:  "bg";
24393             target:  "fg1";
24394             target:  "fg2";
24395             target:  "elm.text.title";
24396             target:  "elm.text.album-artist";
24397          }
24398          program {
24399             name:    "go_passive";
24400             signal:  "elm,state,unselected";
24401             source:  "elm";
24402             action:  STATE_SET "default" 0.0;
24403             target:  "bg";
24404             target:  "fg1";
24405             target:  "fg2";
24406             target:  "elm.text.title";
24407             target:  "elm.text.album-artist";
24408             transition: LINEAR 0.1;
24409          }
24410          program {
24411             name:    "go_disabled";
24412             signal:  "elm,state,disabled";
24413             source:  "elm";
24414             action:  STATE_SET "disabled" 0.0;
24415             target:  "disclip";
24416          }
24417          program {
24418             name:    "go_enabled";
24419             signal:  "elm,state,enabled";
24420             source:  "elm";
24421             action:  STATE_SET "default" 0.0;
24422             target:  "disclip";
24423          }
24424       }
24425    }
24426    group { name: "elm/genlist/item_compress_odd/media/default";
24427       data.item: "stacking" "below";
24428       data.item: "selectraise" "on";
24429       data.item: "labels" "elm.text.title elm.text.album-artist";
24430       data.item: "treesize" "20";
24431       images {
24432          image: "bt_sm_base1.png" COMP;
24433          image: "bt_sm_shine.png" COMP;
24434          image: "bt_sm_hilight.png" COMP;
24435          image: "ilist_2.png" COMP;
24436       }
24437       parts {
24438          part { name: "event";
24439             type: RECT;
24440             repeat_events: 1;
24441             description {
24442                state: "default" 0.0;
24443                color: 0 0 0 0;
24444             }
24445          }
24446          part {
24447             name: "base";
24448             mouse_events: 0;
24449             description {
24450                state: "default" 0.0;
24451                image {
24452                   normal: "ilist_2.png";
24453                   border: 2 2 2 2;
24454                }
24455                fill.smooth: 0;
24456             }
24457          }
24458          part { name: "bg";
24459             clip_to: "disclip";
24460             mouse_events: 0;
24461             description { state: "default" 0.0;
24462                visible: 0;
24463                color: 255 255 255 0;
24464                rel1 {
24465                   relative: 0.0 0.0;
24466                   offset: -5 -5;
24467                }
24468                rel2 {
24469                   relative: 1.0 1.0;
24470                   offset: 4 4;
24471                }
24472                image {
24473                   normal: "bt_sm_base1.png";
24474                   border: 6 6 6 6;
24475                }
24476                image.middle: SOLID;
24477             }
24478             description { state: "selected" 0.0;
24479                inherit: "default" 0.0;
24480                visible: 1;
24481                color: 255 255 255 255;
24482                rel1 {
24483                   relative: 0.0 0.0;
24484                   offset: -2 -2;
24485                }
24486                rel2 {
24487                   relative: 1.0 1.0;
24488                   offset: 1 1;
24489                }
24490             }
24491          }
24492          part { name: "elm.swallow.pad";
24493             type: SWALLOW;
24494             description { state: "default" 0.0;
24495                fixed: 1 0;
24496                align: 0.0 0.5;
24497                rel1 {
24498                   relative: 0.0  0.0;
24499                   offset:   4    4;
24500                }
24501                rel2 {
24502                   relative: 0.0  1.0;
24503                   offset:   4   -5;
24504                }
24505             }
24506          }
24507          part { name: "elm.text.title";
24508             clip_to: "disclip";
24509             type:           TEXT;
24510             effect:         SOFT_SHADOW;
24511             mouse_events:   0;
24512             scale: 1;
24513             description {
24514                state: "default" 0.0;
24515                rel1 {
24516                   relative: 0.0  0.0;
24517                   offset:   4 4;
24518                }
24519                rel2 {
24520                   relative: 1.0  0.5;
24521                   offset:   -1 -5;
24522                }
24523                color: 0 0 0 255;
24524                color3: 0 0 0 0;
24525                text {
24526                   font: "Sans";
24527                   size: 10;
24528                   min: 0 1;
24529                   align: 0.0 0.5;
24530                }
24531             }
24532             description { state: "selected" 0.0;
24533                inherit: "default" 0.0;
24534                color: 224 224 224 255;
24535                color3: 0 0 0 64;
24536             }
24537          }
24538          part { name: "elm.text.album-artist";
24539             clip_to: "disclip";
24540             type:           TEXT;
24541             mouse_events:   0;
24542             scale: 1;
24543             description {
24544                state: "default" 0.0;
24545                rel1 {
24546                   relative: 0.0  0.5;
24547                   offset:   4 4;
24548                }
24549                rel2 {
24550                   relative: 1.0  1.0;
24551                   offset:   -1 -5;
24552                }
24553                color: 0 0 0 128;
24554                color3: 0 0 0 0;
24555                text {
24556                   font: "Sans";
24557                   size: 8;
24558                   min: 0 1;
24559                   align: 0.0 0.5;
24560                }
24561             }
24562             description { state: "selected" 0.0;
24563                inherit: "default" 0.0;
24564                color: 128 128 128 255;
24565                color3: 0 0 0 32;
24566             }
24567          }
24568          part { name: "fg1";
24569             clip_to: "disclip";
24570             mouse_events: 0;
24571             description { state: "default" 0.0;
24572                visible: 0;
24573                color: 255 255 255 0;
24574                rel1.to: "bg";
24575                rel2.relative: 1.0 0.5;
24576                rel2.to: "bg";
24577                image {
24578                   normal: "bt_sm_hilight.png";
24579                   border: 6 6 6 0;
24580                }
24581             }
24582             description { state: "selected" 0.0;
24583                inherit: "default" 0.0;
24584                visible: 1;
24585                color: 255 255 255 255;
24586             }
24587          }
24588          part { name: "fg2";
24589             clip_to: "disclip";
24590             mouse_events: 0;
24591             description { state: "default" 0.0;
24592                visible: 0;
24593                color: 255 255 255 0;
24594                rel1.to: "bg";
24595                rel2.to: "bg";
24596                image {
24597                   normal: "bt_sm_shine.png";
24598                   border: 6 6 6 0;
24599                }
24600             }
24601             description { state: "selected" 0.0;
24602                inherit: "default" 0.0;
24603                visible: 1;
24604                color: 255 255 255 255;
24605             }
24606          }
24607          part { name: "disclip";
24608             type: RECT;
24609             description { state: "default" 0.0;
24610                rel1.to: "bg";
24611                rel2.to: "bg";
24612             }
24613             description { state: "disabled" 0.0;
24614                inherit: "default" 0.0;
24615                color: 255 255 255 64;
24616             }
24617          }
24618       }
24619       programs {
24620          // signal: elm,state,%s,active
24621          //   a "check" item named %s went active
24622          // signal: elm,state,%s,passive
24623          //   a "check" item named %s went passive
24624          // default is passive
24625          program {
24626             name:    "go_active";
24627             signal:  "elm,state,selected";
24628             source:  "elm";
24629             action:  STATE_SET "selected" 0.0;
24630             target:  "bg";
24631             target:  "fg1";
24632             target:  "fg2";
24633             target:  "elm.text.title";
24634             target:  "elm.text.album-artist";
24635          }
24636          program {
24637             name:    "go_passive";
24638             signal:  "elm,state,unselected";
24639             source:  "elm";
24640             action:  STATE_SET "default" 0.0;
24641             target:  "bg";
24642             target:  "fg1";
24643             target:  "fg2";
24644             target:  "elm.text.title";
24645             target:  "elm.text.album-artist";
24646             transition: LINEAR 0.1;
24647          }
24648          program {
24649             name:    "go_disabled";
24650             signal:  "elm,state,disabled";
24651             source:  "elm";
24652             action:  STATE_SET "disabled" 0.0;
24653             target:  "disclip";
24654          }
24655          program {
24656             name:    "go_enabled";
24657             signal:  "elm,state,enabled";
24658             source:  "elm";
24659             action:  STATE_SET "default" 0.0;
24660             target:  "disclip";
24661          }
24662       }
24663    }
24664
24665    group { name: "elm/genlist/item_compress/media-album/default";
24666       data.item: "stacking" "above";
24667       data.item: "selectraise" "on";
24668       data.item: "labels" "elm.text.title elm.text.trackno elm.text.length";
24669       data.item: "states" "elm.state.trackno";
24670       data.item: "treesize" "20";
24671       images {
24672          image: "bt_sm_base1.png" COMP;
24673          image: "bt_sm_shine.png" COMP;
24674          image: "bt_sm_hilight.png" COMP;
24675          image: "ilist_1.png" COMP;
24676          image: "ilist_item_shadow.png" COMP;
24677       }
24678       script {
24679          public dot_visible;
24680       }
24681       parts {
24682          part {
24683             name: "event";
24684             type: RECT;
24685             repeat_events: 1;
24686             description {
24687                state: "default" 0.0;
24688                color: 0 0 0 0;
24689             }
24690          }
24691          part {
24692             name: "base_sh";
24693             mouse_events: 0;
24694             description {
24695                state: "default" 0.0;
24696                align: 0.0 0.0;
24697                min: 0 10;
24698                fixed: 1 1;
24699                rel1 {
24700                   to: "base";
24701                   relative: 0.0 1.0;
24702                   offset: 0 0;
24703                }
24704                rel2 {
24705                   to: "base";
24706                   relative: 1.0 1.0;
24707                   offset: -1 0;
24708                }
24709                image {
24710                   normal: "ilist_item_shadow.png";
24711                }
24712                fill.smooth: 0;
24713             }
24714          }
24715          part {
24716             name: "base";
24717             mouse_events: 0;
24718             description {
24719                state: "default" 0.0;
24720                image {
24721                   normal: "ilist_1.png";
24722                   border: 2 2 2 2;
24723                }
24724                fill.smooth: 0;
24725             }
24726          }
24727          part { name: "bg";
24728             clip_to: "disclip";
24729             mouse_events: 0;
24730             description { state: "default" 0.0;
24731                visible: 0;
24732                color: 255 255 255 0;
24733                rel1 {
24734                   relative: 0.0 0.0;
24735                   offset: -5 -5;
24736                }
24737                rel2 {
24738                   relative: 1.0 1.0;
24739                   offset: 4 4;
24740                }
24741                image {
24742                   normal: "bt_sm_base1.png";
24743                   border: 6 6 6 6;
24744                }
24745                image.middle: SOLID;
24746             }
24747             description { state: "selected" 0.0;
24748                inherit: "default" 0.0;
24749                visible: 1;
24750                color: 255 255 255 255;
24751                rel1 {
24752                   relative: 0.0 0.0;
24753                   offset: -2 -2;
24754                }
24755                rel2 {
24756                   relative: 1.0 1.0;
24757                   offset: 1 1;
24758                }
24759             }
24760          }
24761          part { name: "elm.swallow.pad";
24762             type: SWALLOW;
24763             description { state: "default" 0.0;
24764                fixed: 1 0;
24765                align: 0.0 0.5;
24766                rel1 {
24767                   relative: 0.0  0.0;
24768                   offset:   4    4;
24769                }
24770                rel2 {
24771                   relative: 0.0  1.0;
24772                   offset:   4   -5;
24773                }
24774             }
24775          }
24776          part {
24777             name: "elm.text.trackno";
24778             type: TEXT;
24779             scale: 1;
24780             mouse_events: 0;
24781             description {
24782                state: "default" 0.0;
24783                color: 255 255 255 255;
24784                align: 0.0 0.0;
24785                fixed: 1 0;
24786                rel1 {
24787                   to_y: "elm.text.title";
24788                   relative: 0.0 0.0;
24789                   offset: 5 0;
24790                }
24791                rel2 {
24792                   to_y: "elm.text.title";
24793                   relative: 0.0 1.0;
24794                   offset: 20 0;
24795                }
24796                color: 0 0 0 255;
24797                color3: 0 0 0 0;
24798                text {
24799                   font: "Sans";
24800                   size: 10;
24801                   min: 1 1;
24802                   align: 1.0 0.5;
24803                }
24804             }
24805             description { state: "selected" 0.0;
24806                inherit: "default" 0.0;
24807                color: 224 224 224 255;
24808                color3: 0 0 0 64;
24809             }
24810          }
24811          part {
24812             name: "dot";
24813             type: TEXT;
24814             scale: 1;
24815             mouse_events: 0;
24816             description {
24817                state: "default" 0.0;
24818                color: 255 255 255 255;
24819                visible: 0;
24820                fixed: 1 1;
24821                align: 0.0 0.0;
24822                rel1 {
24823                   to_x: "elm.text.trackno";
24824                   to_y: "elm.text.title";
24825                   relative: 1.0 0.0;
24826                   offset: 1 0;
24827                }
24828                rel2 {
24829                   to_x: "elm.text.trackno";
24830                   to_y: "elm.text.title";
24831                   relative: 1.0 1.0;
24832                   offset: 1 0;
24833
24834                }
24835                color: 0 0 0 255;
24836                color3: 0 0 0 0;
24837                text {
24838                   font: "Sans";
24839                   size: 10;
24840                   min: 1 1;
24841                   align: 0.0 0.5;
24842                   text: ".";
24843                }
24844             }
24845             description {
24846                state: "visible" 0.0;
24847                inherit: "default" 0.0;
24848                visible: 1;
24849             }
24850             description { state: "selected" 0.0;
24851                inherit: "default" 0.0;
24852                color: 224 224 224 255;
24853                color3: 0 0 0 64;
24854                visible: 1;
24855             }
24856          }
24857          programs {
24858             program {
24859                signal: "elm,state,elm.state.trackno,active";
24860                source: "elm";
24861                script {
24862                   set_state(PART:"dot", "visible", 0.0);
24863                   set_int(dot_visible, 1);
24864                }
24865             }
24866          }
24867          part { name: "elm.text.title";
24868             clip_to: "disclip";
24869             type:           TEXT;
24870             effect:         SOFT_SHADOW;
24871             mouse_events:   0;
24872             scale: 1;
24873             description {
24874                state: "default" 0.0;
24875                rel1 {
24876                   to_x: "dot";
24877                   relative: 0.0  0.0;
24878                   offset:   4 4;
24879                }
24880                rel2 {
24881                   relative: 1.0  0.5;
24882                   offset:   -1 -5;
24883                }
24884                color: 0 0 0 255;
24885                color3: 0 0 0 0;
24886                text {
24887                   font: "Sans";
24888                   size: 10;
24889                   min: 0 1;
24890                   align: 0.0 0.5;
24891                }
24892             }
24893             description { state: "selected" 0.0;
24894                inherit: "default" 0.0;
24895                color: 224 224 224 255;
24896                color3: 0 0 0 64;
24897             }
24898          }
24899          part { name: "elm.text.length";
24900             clip_to: "disclip";
24901             type:           TEXT;
24902             mouse_events:   0;
24903             scale: 1;
24904             description {
24905                state: "default" 0.0;
24906                rel1 {
24907                   relative: 0.0  0.5;
24908                   offset:   4 4;
24909                }
24910                rel2 {
24911                   relative: 1.0  1.0;
24912                   offset:   -1 -5;
24913                }
24914                color: 0 0 0 128;
24915                color3: 0 0 0 0;
24916                text {
24917                   font: "Sans";
24918                   size: 8;
24919                   min: 0 1;
24920                   align: 0.0 0.5;
24921                }
24922             }
24923             description { state: "selected" 0.0;
24924                inherit: "default" 0.0;
24925                color: 128 128 128 255;
24926                color3: 0 0 0 32;
24927             }
24928          }
24929          part { name: "fg1";
24930             clip_to: "disclip";
24931             mouse_events: 0;
24932             description { state: "default" 0.0;
24933                visible: 0;
24934                color: 255 255 255 0;
24935                rel1.to: "bg";
24936                rel2.relative: 1.0 0.5;
24937                rel2.to: "bg";
24938                image {
24939                   normal: "bt_sm_hilight.png";
24940                   border: 6 6 6 0;
24941                }
24942             }
24943             description { state: "selected" 0.0;
24944                inherit: "default" 0.0;
24945                visible: 1;
24946                color: 255 255 255 255;
24947             }
24948          }
24949          part { name: "fg2";
24950             clip_to: "disclip";
24951             mouse_events: 0;
24952             description { state: "default" 0.0;
24953                visible: 0;
24954                color: 255 255 255 0;
24955                rel1.to: "bg";
24956                rel2.to: "bg";
24957                image {
24958                   normal: "bt_sm_shine.png";
24959                   border: 6 6 6 0;
24960                }
24961             }
24962             description { state: "selected" 0.0;
24963                inherit: "default" 0.0;
24964                visible: 1;
24965                color: 255 255 255 255;
24966             }
24967          }
24968          part { name: "disclip";
24969             type: RECT;
24970             description { state: "default" 0.0;
24971                rel1.to: "bg";
24972                rel2.to: "bg";
24973             }
24974             description { state: "disabled" 0.0;
24975                inherit: "default" 0.0;
24976                color: 255 255 255 64;
24977             }
24978          }
24979       }
24980       programs {
24981          // signal: elm,state,%s,active
24982          //   a "check" item named %s went active
24983          // signal: elm,state,%s,passive
24984          //   a "check" item named %s went passive
24985          // default is passive
24986          program {
24987             name:    "go_active";
24988             signal:  "elm,state,selected";
24989             source:  "elm";
24990             action:  STATE_SET "selected" 0.0;
24991             target:  "bg";
24992             target:  "fg1";
24993             target:  "fg2";
24994             target:  "elm.text.title";
24995             target:  "elm.text.trackno";
24996             target:  "elm.text.length";
24997             after:   "dot_active";
24998          }
24999          program {
25000             name: "dot_active";
25001             script {
25002                if (get_int(dot_visible) == 1)
25003                   set_state(PART:"dot", "selected", 0.0);
25004             }
25005          }
25006          program {
25007             name:    "go_passive";
25008             signal:  "elm,state,unselected";
25009             source:  "elm";
25010             action:  STATE_SET "default" 0.0;
25011             target:  "bg";
25012             target:  "fg1";
25013             target:  "fg2";
25014             target:  "elm.text.title";
25015             target:  "elm.text.length";
25016             target:  "elm.text.trackno";
25017             transition: LINEAR 0.1;
25018             after:   "dot_passive";
25019          }
25020          program {
25021             name: "dot_passive";
25022             script {
25023                if (get_int(dot_visible) == 1)
25024                   set_state(PART:"dot", "visible", 0.0);
25025             }
25026          }
25027          program {
25028             name:    "go_disabled";
25029             signal:  "elm,state,disabled";
25030             source:  "elm";
25031             action:  STATE_SET "disabled" 0.0;
25032             target:  "disclip";
25033          }
25034          program {
25035             name:    "go_enabled";
25036             signal:  "elm,state,enabled";
25037             source:  "elm";
25038             action:  STATE_SET "default" 0.0;
25039             target:  "disclip";
25040          }
25041       }
25042    }
25043    group { name: "elm/genlist/item_compress_odd/media-album/default";
25044       data.item: "stacking" "below";
25045       data.item: "selectraise" "on";
25046       data.item: "labels" "elm.text.title elm.text.trackno elm.text.length";
25047       data.item: "states" "elm.state.trackno";
25048       data.item: "treesize" "20";
25049       images {
25050          image: "bt_sm_base1.png" COMP;
25051          image: "bt_sm_shine.png" COMP;
25052          image: "bt_sm_hilight.png" COMP;
25053          image: "ilist_2.png" COMP;
25054       }
25055       script {
25056          public dot_visible;
25057       }
25058       parts {
25059          part { name: "event";
25060             type: RECT;
25061             repeat_events: 1;
25062             description {
25063                state: "default" 0.0;
25064                color: 0 0 0 0;
25065             }
25066          }
25067          part {
25068             name: "base";
25069             mouse_events: 0;
25070             description {
25071                state: "default" 0.0;
25072                image {
25073                   normal: "ilist_2.png";
25074                   border: 2 2 2 2;
25075                }
25076                fill.smooth: 0;
25077             }
25078          }
25079          part { name: "bg";
25080             clip_to: "disclip";
25081             mouse_events: 0;
25082             description { state: "default" 0.0;
25083                visible: 0;
25084                color: 255 255 255 0;
25085                rel1 {
25086                   relative: 0.0 0.0;
25087                   offset: -5 -5;
25088                }
25089                rel2 {
25090                   relative: 1.0 1.0;
25091                   offset: 4 4;
25092                }
25093                image {
25094                   normal: "bt_sm_base1.png";
25095                   border: 6 6 6 6;
25096                }
25097                image.middle: SOLID;
25098             }
25099             description { state: "selected" 0.0;
25100                inherit: "default" 0.0;
25101                visible: 1;
25102                color: 255 255 255 255;
25103                rel1 {
25104                   relative: 0.0 0.0;
25105                   offset: -2 -2;
25106                }
25107                rel2 {
25108                   relative: 1.0 1.0;
25109                   offset: 1 1;
25110                }
25111             }
25112          }
25113          part { name: "elm.swallow.pad";
25114             type: SWALLOW;
25115             description { state: "default" 0.0;
25116                fixed: 1 0;
25117                align: 0.0 0.5;
25118                rel1 {
25119                   relative: 0.0  0.0;
25120                   offset:   4    4;
25121                }
25122                rel2 {
25123                   relative: 0.0  1.0;
25124                   offset:   4   -5;
25125                }
25126             }
25127          }
25128          part {
25129             name: "elm.text.trackno";
25130             type: TEXT;
25131             scale: 1;
25132             mouse_events: 0;
25133             description {
25134                state: "default" 0.0;
25135                color: 255 255 255 255;
25136                align: 0.0 0.0;
25137                fixed: 1 0;
25138                rel1 {
25139                   to_y: "elm.text.title";
25140                   relative: 0.0 0.0;
25141                   offset: 5 0;
25142                }
25143                rel2 {
25144                   to_y: "elm.text.title";
25145                   relative: 0.0 1.0;
25146                   offset: 20 0;
25147                }
25148                color: 0 0 0 255;
25149                color3: 0 0 0 0;
25150                text {
25151                   font: "Sans";
25152                   size: 10;
25153                   min: 1 1;
25154                   align: 1.0 0.5;
25155                }
25156             }
25157             description { state: "selected" 0.0;
25158                inherit: "default" 0.0;
25159                color: 224 224 224 255;
25160                color3: 0 0 0 64;
25161             }
25162          }
25163          part {
25164             name: "dot";
25165             type: TEXT;
25166             scale: 1;
25167             mouse_events: 0;
25168             description {
25169                state: "default" 0.0;
25170                color: 255 255 255 255;
25171                visible: 0;
25172                fixed: 1 1;
25173                align: 0.0 0.0;
25174                rel1 {
25175                   to_x: "elm.text.trackno";
25176                   to_y: "elm.text.title";
25177                   relative: 1.0 0.0;
25178                   offset: 1 0;
25179                }
25180                rel2 {
25181                   to_x: "elm.text.trackno";
25182                   to_y: "elm.text.title";
25183                   relative: 1.0 1.0;
25184                   offset: 1 0;
25185
25186                }
25187                color: 0 0 0 255;
25188                color3: 0 0 0 0;
25189                text {
25190                   font: "Sans";
25191                   size: 10;
25192                   min: 1 1;
25193                   align: 0.0 0.5;
25194                   text: ".";
25195                }
25196             }
25197             description {
25198                state: "visible" 0.0;
25199                inherit: "default" 0.0;
25200                visible: 1;
25201             }
25202             description { state: "selected" 0.0;
25203                inherit: "default" 0.0;
25204                color: 224 224 224 255;
25205                color3: 0 0 0 64;
25206                visible: 1;
25207             }
25208          }
25209          programs {
25210             program {
25211                signal: "elm,state,elm.state.trackno,active";
25212                source: "elm";
25213                script {
25214                   set_state(PART:"dot", "visible", 0.0);
25215                   set_int(dot_visible, 1);
25216                }
25217             }
25218          }
25219          part { name: "elm.text.title";
25220             clip_to: "disclip";
25221             type:           TEXT;
25222             effect:         SOFT_SHADOW;
25223             mouse_events:   0;
25224             scale: 1;
25225             description {
25226                state: "default" 0.0;
25227                rel1 {
25228                   to_x: "dot";
25229                   relative: 1.0  0.0;
25230                   offset:   4 4;
25231                }
25232                rel2 {
25233                   relative: 1.0  0.5;
25234                   offset:   -1 -5;
25235                }
25236                color: 0 0 0 255;
25237                color3: 0 0 0 0;
25238                text {
25239                   font: "Sans";
25240                   size: 10;
25241                   min: 0 1;
25242                   align: 0.0 0.5;
25243                }
25244             }
25245             description { state: "selected" 0.0;
25246                inherit: "default" 0.0;
25247                color: 224 224 224 255;
25248                color3: 0 0 0 64;
25249             }
25250          }
25251          part { name: "elm.text.length";
25252             clip_to: "disclip";
25253             type:           TEXT;
25254             mouse_events:   0;
25255             scale: 1;
25256             description {
25257                state: "default" 0.0;
25258                rel1 {
25259                   relative: 0.0  0.5;
25260                   offset:   4 4;
25261                }
25262                rel2 {
25263                   relative: 1.0  1.0;
25264                   offset:   -1 -5;
25265                }
25266                color: 0 0 0 128;
25267                color3: 0 0 0 0;
25268                text {
25269                   font: "Sans";
25270                   size: 8;
25271                   min: 0 1;
25272                   align: 0.0 0.5;
25273                }
25274             }
25275             description { state: "selected" 0.0;
25276                inherit: "default" 0.0;
25277                color: 128 128 128 255;
25278                color3: 0 0 0 32;
25279             }
25280          }
25281          part { name: "fg1";
25282             clip_to: "disclip";
25283             mouse_events: 0;
25284             description { state: "default" 0.0;
25285                visible: 0;
25286                color: 255 255 255 0;
25287                rel1.to: "bg";
25288                rel2.relative: 1.0 0.5;
25289                rel2.to: "bg";
25290                image {
25291                   normal: "bt_sm_hilight.png";
25292                   border: 6 6 6 0;
25293                }
25294             }
25295             description { state: "selected" 0.0;
25296                inherit: "default" 0.0;
25297                visible: 1;
25298                color: 255 255 255 255;
25299             }
25300          }
25301          part { name: "fg2";
25302             clip_to: "disclip";
25303             mouse_events: 0;
25304             description { state: "default" 0.0;
25305                visible: 0;
25306                color: 255 255 255 0;
25307                rel1.to: "bg";
25308                rel2.to: "bg";
25309                image {
25310                   normal: "bt_sm_shine.png";
25311                   border: 6 6 6 0;
25312                }
25313             }
25314             description { state: "selected" 0.0;
25315                inherit: "default" 0.0;
25316                visible: 1;
25317                color: 255 255 255 255;
25318             }
25319          }
25320          part { name: "disclip";
25321             type: RECT;
25322             description { state: "default" 0.0;
25323                rel1.to: "bg";
25324                rel2.to: "bg";
25325             }
25326             description { state: "disabled" 0.0;
25327                inherit: "default" 0.0;
25328                color: 255 255 255 64;
25329             }
25330          }
25331       }
25332       programs {
25333          // signal: elm,state,%s,active
25334          //   a "check" item named %s went active
25335          // signal: elm,state,%s,passive
25336          //   a "check" item named %s went passive
25337          // default is passive
25338          program {
25339             name:    "go_active";
25340             signal:  "elm,state,selected";
25341             source:  "elm";
25342             action:  STATE_SET "selected" 0.0;
25343             target:  "bg";
25344             target:  "fg1";
25345             target:  "fg2";
25346             target:  "elm.text.title";
25347             target:  "elm.text.length";
25348             target:  "elm.text.trackno";
25349             after:   "dot_active";
25350          }
25351          program {
25352             name: "dot_active";
25353             script {
25354                if (get_int(dot_visible) == 1)
25355                   set_state(PART:"dot", "selected", 0.0);
25356             }
25357          }
25358          program {
25359             name:    "go_passive";
25360             signal:  "elm,state,unselected";
25361             source:  "elm";
25362             action:  STATE_SET "default" 0.0;
25363             target:  "bg";
25364             target:  "fg1";
25365             target:  "fg2";
25366             target:  "elm.text.title";
25367             target:  "elm.text.length";
25368             target:  "elm.text.trackno";
25369             transition: LINEAR 0.1;
25370             after:   "dot_passive";
25371          }
25372          program {
25373             name: "dot_passive";
25374             script {
25375                if (get_int(dot_visible) == 1)
25376                   set_state(PART:"dot", "visible", 0.0);
25377             }
25378          }
25379          program {
25380             name:    "go_disabled";
25381             signal:  "elm,state,disabled";
25382             source:  "elm";
25383             action:  STATE_SET "disabled" 0.0;
25384             target:  "disclip";
25385          }
25386          program {
25387             name:    "go_enabled";
25388             signal:  "elm,state,enabled";
25389             source:  "elm";
25390             action:  STATE_SET "default" 0.0;
25391             target:  "disclip";
25392          }
25393       }
25394    }
25395
25396    group { name: "elm/genlist/item_compress/media-preview/default";
25397       data.item: "stacking" "above";
25398       data.item: "selectraise" "on";
25399       data.item: "labels" "elm.text.title elm.text.artist";
25400       data.item: "icons" "elm.swallow.preview";
25401       data.item: "treesize" "20";
25402       images {
25403          image: "bt_sm_base1.png" COMP;
25404          image: "bt_sm_shine.png" COMP;
25405          image: "bt_sm_hilight.png" COMP;
25406          image: "ilist_1.png" COMP;
25407          image: "ilist_item_shadow.png" COMP;
25408       }
25409       parts {
25410          part {
25411             name: "event";
25412             type: RECT;
25413             repeat_events: 1;
25414             description {
25415                state: "default" 0.0;
25416                color: 0 0 0 0;
25417             }
25418          }
25419          part {
25420             name: "base_sh";
25421             mouse_events: 0;
25422             description {
25423                state: "default" 0.0;
25424                align: 0.0 0.0;
25425                min: 0 10;
25426                fixed: 1 1;
25427                rel1 {
25428                   to: "base";
25429                   relative: 0.0 1.0;
25430                   offset: 0 0;
25431                }
25432                rel2 {
25433                   to: "base";
25434                   relative: 1.0 1.0;
25435                   offset: -1 0;
25436                }
25437                image {
25438                   normal: "ilist_item_shadow.png";
25439                }
25440                fill.smooth: 0;
25441             }
25442          }
25443          part {
25444             name: "base";
25445             mouse_events: 0;
25446             description {
25447                state: "default" 0.0;
25448                image {
25449                   normal: "ilist_1.png";
25450                   border: 2 2 2 2;
25451                }
25452                fill.smooth: 0;
25453             }
25454          }
25455          part { name: "bg";
25456             clip_to: "disclip";
25457             mouse_events: 0;
25458             description { state: "default" 0.0;
25459                visible: 0;
25460                color: 255 255 255 0;
25461                rel1 {
25462                   relative: 0.0 0.0;
25463                   offset: -5 -5;
25464                }
25465                rel2 {
25466                   relative: 1.0 1.0;
25467                   offset: 4 4;
25468                }
25469                image {
25470                   normal: "bt_sm_base1.png";
25471                   border: 6 6 6 6;
25472                }
25473                image.middle: SOLID;
25474             }
25475             description { state: "selected" 0.0;
25476                inherit: "default" 0.0;
25477                visible: 1;
25478                color: 255 255 255 255;
25479                rel1 {
25480                   relative: 0.0 0.0;
25481                   offset: -2 -2;
25482                }
25483                rel2 {
25484                   relative: 1.0 1.0;
25485                   offset: 1 1;
25486                }
25487             }
25488          }
25489          part { name: "elm.swallow.pad";
25490             type: SWALLOW;
25491             description { state: "default" 0.0;
25492                fixed: 1 0;
25493                align: 0.0 0.5;
25494                rel1 {
25495                   relative: 0.0  0.0;
25496                   offset:   4    4;
25497                }
25498                rel2 {
25499                   relative: 0.0  1.0;
25500                   offset:   4   -5;
25501                }
25502             }
25503          }
25504          part { name: "elm.swallow.preview";
25505             clip_to: "disclip";
25506             type: SWALLOW;
25507             description { state: "default" 0.0;
25508                fixed: 1 0;
25509                align: 0.0 0.5;
25510                min: 68 68;
25511                max: 68 68;
25512                rel1 {
25513                   to_x: "elm.swallow.pad";
25514                   relative: 1.0  0.0;
25515                   offset:   -1    4;
25516                }
25517                rel2 {
25518                   to_x: "elm.swallow.pad";
25519                   relative: 1.0  1.0;
25520                   offset:   -1   -5;
25521                }
25522             }
25523          }
25524          part { name: "elm.text.title";
25525             clip_to: "disclip";
25526             type:           TEXT;
25527             effect:         SOFT_SHADOW;
25528             mouse_events:   0;
25529             scale: 1;
25530             description {
25531                state: "default" 0.0;
25532                rel1 {
25533                   to_x:     "elm.swallow.preview";
25534                   relative: 1.0  0.0;
25535                   offset:   4 4;
25536                }
25537                rel2 {
25538                   relative: 1.0  0.5;
25539                   offset:   -1 -5;
25540                }
25541                color: 0 0 0 255;
25542                color3: 0 0 0 0;
25543                text {
25544                   font: "Sans";
25545                   size: 10;
25546                   min: 0 1;
25547                   align: 0.0 0.5;
25548                }
25549             }
25550             description { state: "selected" 0.0;
25551                inherit: "default" 0.0;
25552                color: 224 224 224 255;
25553                color3: 0 0 0 64;
25554             }
25555          }
25556          part { name: "elm.text.artist";
25557             clip_to: "disclip";
25558             type:           TEXT;
25559             mouse_events:   0;
25560             scale: 1;
25561             description {
25562                state: "default" 0.0;
25563                rel1 {
25564                   to_x:     "elm.swallow.preview";
25565                   relative: 1.0  0.5;
25566                   offset:   4 4;
25567                }
25568                rel2 {
25569                   relative: 1.0  1.0;
25570                   offset:   -1 -5;
25571                }
25572                color: 0 0 0 128;
25573                color3: 0 0 0 0;
25574                text {
25575                   font: "Sans";
25576                   size: 8;
25577                   min: 0 1;
25578                   align: 0.0 0.5;
25579                }
25580             }
25581             description { state: "selected" 0.0;
25582                inherit: "default" 0.0;
25583                color: 128 128 128 255;
25584                color3: 0 0 0 32;
25585             }
25586          }
25587          part { name: "fg1";
25588             clip_to: "disclip";
25589             mouse_events: 0;
25590             description { state: "default" 0.0;
25591                visible: 0;
25592                color: 255 255 255 0;
25593                rel1.to: "bg";
25594                rel2.relative: 1.0 0.5;
25595                rel2.to: "bg";
25596                image {
25597                   normal: "bt_sm_hilight.png";
25598                   border: 6 6 6 0;
25599                }
25600             }
25601             description { state: "selected" 0.0;
25602                inherit: "default" 0.0;
25603                visible: 1;
25604                color: 255 255 255 255;
25605             }
25606          }
25607          part { name: "fg2";
25608             clip_to: "disclip";
25609             mouse_events: 0;
25610             description { state: "default" 0.0;
25611                visible: 0;
25612                color: 255 255 255 0;
25613                rel1.to: "bg";
25614                rel2.to: "bg";
25615                image {
25616                   normal: "bt_sm_shine.png";
25617                   border: 6 6 6 0;
25618                }
25619             }
25620             description { state: "selected" 0.0;
25621                inherit: "default" 0.0;
25622                visible: 1;
25623                color: 255 255 255 255;
25624             }
25625          }
25626          part { name: "disclip";
25627             type: RECT;
25628             description { state: "default" 0.0;
25629                rel1.to: "bg";
25630                rel2.to: "bg";
25631             }
25632             description { state: "disabled" 0.0;
25633                inherit: "default" 0.0;
25634                color: 255 255 255 64;
25635             }
25636          }
25637       }
25638       programs {
25639          // signal: elm,state,%s,active
25640          //   a "check" item named %s went active
25641          // signal: elm,state,%s,passive
25642          //   a "check" item named %s went passive
25643          // default is passive
25644          program {
25645             name:    "go_active";
25646             signal:  "elm,state,selected";
25647             source:  "elm";
25648             action:  STATE_SET "selected" 0.0;
25649             target:  "bg";
25650             target:  "fg1";
25651             target:  "fg2";
25652             target:  "elm.text.title";
25653             target:  "elm.text.artist";
25654          }
25655          program {
25656             name:    "go_passive";
25657             signal:  "elm,state,unselected";
25658             source:  "elm";
25659             action:  STATE_SET "default" 0.0;
25660             target:  "bg";
25661             target:  "fg1";
25662             target:  "fg2";
25663             target:  "elm.text.title";
25664             target:  "elm.text.artist";
25665             transition: LINEAR 0.1;
25666          }
25667          program {
25668             name:    "go_disabled";
25669             signal:  "elm,state,disabled";
25670             source:  "elm";
25671             action:  STATE_SET "disabled" 0.0;
25672             target:  "disclip";
25673          }
25674          program {
25675             name:    "go_enabled";
25676             signal:  "elm,state,enabled";
25677             source:  "elm";
25678             action:  STATE_SET "default" 0.0;
25679             target:  "disclip";
25680          }
25681       }
25682    }
25683    group { name: "elm/genlist/item_compress_odd/media-preview/default";
25684       data.item: "stacking" "below";
25685       data.item: "selectraise" "on";
25686       data.item: "labels" "elm.text.title elm.text.artist";
25687       data.item: "icons" "elm.swallow.preview";
25688       data.item: "treesize" "20";
25689       images {
25690          image: "bt_sm_base1.png" COMP;
25691          image: "bt_sm_shine.png" COMP;
25692          image: "bt_sm_hilight.png" COMP;
25693          image: "ilist_2.png" COMP;
25694       }
25695       parts {
25696          part { name: "event";
25697             type: RECT;
25698             repeat_events: 1;
25699             description {
25700                state: "default" 0.0;
25701                color: 0 0 0 0;
25702             }
25703          }
25704          part {
25705             name: "base";
25706             mouse_events: 0;
25707             description {
25708                state: "default" 0.0;
25709                image {
25710                   normal: "ilist_2.png";
25711                   border: 2 2 2 2;
25712                }
25713                fill.smooth: 0;
25714             }
25715          }
25716          part { name: "bg";
25717             clip_to: "disclip";
25718             mouse_events: 0;
25719             description { state: "default" 0.0;
25720                visible: 0;
25721                color: 255 255 255 0;
25722                rel1 {
25723                   relative: 0.0 0.0;
25724                   offset: -5 -5;
25725                }
25726                rel2 {
25727                   relative: 1.0 1.0;
25728                   offset: 4 4;
25729                }
25730                image {
25731                   normal: "bt_sm_base1.png";
25732                   border: 6 6 6 6;
25733                }
25734                image.middle: SOLID;
25735             }
25736             description { state: "selected" 0.0;
25737                inherit: "default" 0.0;
25738                visible: 1;
25739                color: 255 255 255 255;
25740                rel1 {
25741                   relative: 0.0 0.0;
25742                   offset: -2 -2;
25743                }
25744                rel2 {
25745                   relative: 1.0 1.0;
25746                   offset: 1 1;
25747                }
25748             }
25749          }
25750          part { name: "elm.swallow.pad";
25751             type: SWALLOW;
25752             description { state: "default" 0.0;
25753                fixed: 1 0;
25754                align: 0.0 0.5;
25755                rel1 {
25756                   relative: 0.0  0.0;
25757                   offset:   4    4;
25758                }
25759                rel2 {
25760                   relative: 0.0  1.0;
25761                   offset:   4   -5;
25762                }
25763             }
25764          }
25765          part { name: "elm.swallow.preview";
25766             clip_to: "disclip";
25767             type: SWALLOW;
25768             description { state: "default" 0.0;
25769                fixed: 1 0;
25770                align: 0.0 0.5;
25771                min: 68 68;
25772                max: 68 68;
25773                rel1 {
25774                   to_x: "elm.swallow.pad";
25775                   relative: 1.0  0.0;
25776                   offset:   -1    4;
25777                }
25778                rel2 {
25779                   to_x: "elm.swallow.pad";
25780                   relative: 1.0  1.0;
25781                   offset:   -1   -5;
25782                }
25783             }
25784          }
25785          part { name: "elm.text.title";
25786             clip_to: "disclip";
25787             type:           TEXT;
25788             effect:         SOFT_SHADOW;
25789             mouse_events:   0;
25790             scale: 1;
25791             description {
25792                state: "default" 0.0;
25793                rel1 {
25794                   to_x:     "elm.swallow.preview";
25795                   relative: 1.0  0.0;
25796                   offset:   4 4;
25797                }
25798                rel2 {
25799                   relative: 1.0  0.5;
25800                   offset:   -1 -5;
25801                }
25802                color: 0 0 0 255;
25803                color3: 0 0 0 0;
25804                text {
25805                   font: "Sans";
25806                   size: 10;
25807                   min: 0 1;
25808                   align: 0.0 0.5;
25809                }
25810             }
25811             description { state: "selected" 0.0;
25812                inherit: "default" 0.0;
25813                color: 224 224 224 255;
25814                color3: 0 0 0 64;
25815             }
25816          }
25817          part { name: "elm.text.artist";
25818             clip_to: "disclip";
25819             type:           TEXT;
25820             mouse_events:   0;
25821             scale: 1;
25822             description {
25823                state: "default" 0.0;
25824                rel1 {
25825                   to_x:     "elm.swallow.preview";
25826                   relative: 1.0  0.5;
25827                   offset:   4 4;
25828                }
25829                rel2 {
25830                   relative: 1.0  1.0;
25831                   offset:   -1 -5;
25832                }
25833                color: 0 0 0 128;
25834                color3: 0 0 0 0;
25835                text {
25836                   font: "Sans";
25837                   size: 8;
25838                   min: 0 1;
25839                   align: 0.0 0.5;
25840                }
25841             }
25842             description { state: "selected" 0.0;
25843                inherit: "default" 0.0;
25844                color: 128 128 128 255;
25845                color3: 0 0 0 32;
25846             }
25847          }
25848          part { name: "fg1";
25849             clip_to: "disclip";
25850             mouse_events: 0;
25851             description { state: "default" 0.0;
25852                visible: 0;
25853                color: 255 255 255 0;
25854                rel1.to: "bg";
25855                rel2.relative: 1.0 0.5;
25856                rel2.to: "bg";
25857                image {
25858                   normal: "bt_sm_hilight.png";
25859                   border: 6 6 6 0;
25860                }
25861             }
25862             description { state: "selected" 0.0;
25863                inherit: "default" 0.0;
25864                visible: 1;
25865                color: 255 255 255 255;
25866             }
25867          }
25868          part { name: "fg2";
25869             clip_to: "disclip";
25870             mouse_events: 0;
25871             description { state: "default" 0.0;
25872                visible: 0;
25873                color: 255 255 255 0;
25874                rel1.to: "bg";
25875                rel2.to: "bg";
25876                image {
25877                   normal: "bt_sm_shine.png";
25878                   border: 6 6 6 0;
25879                }
25880             }
25881             description { state: "selected" 0.0;
25882                inherit: "default" 0.0;
25883                visible: 1;
25884                color: 255 255 255 255;
25885             }
25886          }
25887          part { name: "disclip";
25888             type: RECT;
25889             description { state: "default" 0.0;
25890                rel1.to: "bg";
25891                rel2.to: "bg";
25892             }
25893             description { state: "disabled" 0.0;
25894                inherit: "default" 0.0;
25895                color: 255 255 255 64;
25896             }
25897          }
25898       }
25899       programs {
25900          // signal: elm,state,%s,active
25901          //   a "check" item named %s went active
25902          // signal: elm,state,%s,passive
25903          //   a "check" item named %s went passive
25904          // default is passive
25905          program {
25906             name:    "go_active";
25907             signal:  "elm,state,selected";
25908             source:  "elm";
25909             action:  STATE_SET "selected" 0.0;
25910             target:  "bg";
25911             target:  "fg1";
25912             target:  "fg2";
25913             target:  "elm.text.title";
25914             target:  "elm.text.artist";
25915          }
25916          program {
25917             name:    "go_passive";
25918             signal:  "elm,state,unselected";
25919             source:  "elm";
25920             action:  STATE_SET "default" 0.0;
25921             target:  "bg";
25922             target:  "fg1";
25923             target:  "fg2";
25924             target:  "elm.text.title";
25925             target:  "elm.text.artist";
25926             transition: LINEAR 0.1;
25927          }
25928          program {
25929             name:    "go_disabled";
25930             signal:  "elm,state,disabled";
25931             source:  "elm";
25932             action:  STATE_SET "disabled" 0.0;
25933             target:  "disclip";
25934          }
25935          program {
25936             name:    "go_enabled";
25937             signal:  "elm,state,enabled";
25938             source:  "elm";
25939             action:  STATE_SET "default" 0.0;
25940             target:  "disclip";
25941          }
25942       }
25943    }
25944
25945 ///////////////////////////////////////////////////////////////////////////////
25946    group { name: "elm/pager/base/default";
25947       data.item: "onshow" "raise";
25948 // other options
25949 //      data.item: "onhide" "lower";
25950 //      data.item: "onshow" "lower";
25951       images {
25952          image: "frame_1.png" COMP;
25953          image: "frame_2.png" COMP;
25954          image: "dia_grad.png" COMP;
25955       }
25956       parts {
25957          part { name: "clip";
25958             type: RECT;
25959             mouse_events: 0;
25960             description { state: "default" 0.0;
25961                rel1 {
25962                   to: "base";
25963                   offset: -9999 -9999;
25964                }
25965                rel2 {
25966                   to: "base";
25967                   offset: 9999 9999;
25968                }
25969                color: 255 255 255 255;
25970             }
25971             description { state: "visible" 0.0;
25972                inherit: "default" 0.0;
25973             }
25974             description { state: "hidden" 0.0;
25975                inherit: "default" 0.0;
25976                color: 255 255 255 0;
25977                visible: 0;
25978             }
25979          }
25980          part { name: "base0";
25981             mouse_events:  0;
25982             clip_to: "clip";
25983             description { state: "default" 0.0;
25984                image.normal: "dia_grad.png";
25985                rel1.to: "over";
25986                rel2.to: "over";
25987                fill {
25988                   smooth: 0;
25989                   size {
25990                      relative: 0.0 1.0;
25991                      offset: 64 0;
25992                   }
25993                }
25994             }
25995          }
25996          part { name: "base";
25997             mouse_events:  0;
25998             clip_to: "clip";
25999             description { state: "default" 0.0;
26000                image {
26001                   normal: "frame_2.png";
26002                   border: 5 5 32 26;
26003                   middle: 0;
26004                }
26005                fill.smooth : 0;
26006             }
26007             description { state: "hidden" 0.0;
26008                inherit: "default" 0.0;
26009                rel1.relative: -1.0 0.0;
26010                rel2.relative: 0.0 1.0;
26011             }
26012             description { state: "visible" 0.0;
26013                inherit: "default" 0.0;
26014                rel1.relative: 0.0 0.0;
26015                rel2.relative: 1.0 1.0;
26016             }
26017          }
26018          part { name: "over";
26019             mouse_events:  0;
26020             clip_to: "clip";
26021             description { state:    "default" 0.0;
26022                rel1 {
26023                   to: "base";
26024                   offset: 4 4;
26025                }
26026                rel2 {
26027                   to: "base";
26028                   offset: -5 -5;
26029                }
26030                image {
26031                   normal: "frame_1.png";
26032                   border: 2 2 28 22;
26033                   middle: 0;
26034                }
26035                fill.smooth : 0;
26036             }
26037          }
26038          part { name: "elm.swallow.content";
26039             type: SWALLOW;
26040             clip_to: "clip";
26041             description { state: "default" 0.0;
26042                rel1 {
26043                   to: "base";
26044                   offset: 8 8;
26045                }
26046                rel2 {
26047                   to: "base";
26048                   offset: -9 -9;
26049                }
26050             }
26051          }
26052       }
26053       programs {
26054          program { name: "push_start";
26055             signal: "elm,action,push";
26056             source: "elm";
26057             action:  STATE_SET "hidden" 0.0;
26058             target: "base";
26059             target: "clip";
26060             after: "show_start2";
26061          }
26062          program { name: "show_start";
26063             signal: "elm,action,show";
26064             source: "elm";
26065             action:  STATE_SET "hidden" 0.0;
26066             target: "base";
26067             target: "clip";
26068             after: "show_start2";
26069          }
26070          program { name: "show_start2";
26071             action:  STATE_SET "visible" 0.0;
26072             transition: DECELERATE 0.5;
26073             target: "base";
26074             target: "clip";
26075             after: "show_end";
26076          }
26077          program { name: "show_end";
26078             action: SIGNAL_EMIT "elm,action,show,finished" "";
26079          }
26080          program { name: "pop_start";
26081             signal: "elm,action,pop";
26082             source: "elm";
26083             action:  STATE_SET "visible" 0.0;
26084             target: "base";
26085             target: "clip";
26086             after: "hide_start2";
26087          }
26088          program { name: "hide_start";
26089             signal: "elm,action,hide";
26090             source: "elm";
26091             action:  STATE_SET "visible" 0.0;
26092             target: "base";
26093             target: "clip";
26094             after: "hide_start2";
26095          }
26096          program { name: "hide_start2";
26097             action:  STATE_SET "hidden" 0.0;
26098             transition: DECELERATE 0.5;
26099             target: "base";
26100             target: "clip";
26101             after: "hide_end";
26102          }
26103          program { name: "hide_end";
26104             action: SIGNAL_EMIT "elm,action,hide,finished" "";
26105          }
26106          program { name: "reset";
26107             signal: "elm,action,reset";
26108             source: "elm";
26109             action:  STATE_SET "default" 0.0;
26110             target: "base";
26111             target: "clip";
26112          }
26113       }
26114    }
26115
26116    group { name: "elm/pager/base/slide";
26117       images {
26118          image: "frame_1.png" COMP;
26119          image: "frame_2.png" COMP;
26120          image: "dia_grad.png" COMP;
26121       }
26122       parts {
26123          part { name: "clip";
26124             type: RECT;
26125             mouse_events: 0;
26126             description { state: "default" 0.0;
26127                rel1 {
26128                   to: "base";
26129                   offset: -9999 -9999;
26130                }
26131                rel2 {
26132                   to: "base";
26133                   offset: 9999 9999;
26134                }
26135                color: 255 255 255 255;
26136             }
26137             description { state: "visible" 0.0;
26138                inherit: "default" 0.0;
26139             }
26140             description { state: "hidden" 0.0;
26141                inherit: "default" 0.0;
26142                color: 255 255 255 0;
26143                visible: 0;
26144             }
26145             description { state: "hidden2" 0.0;
26146                inherit: "default" 0.0;
26147                color: 255 255 255 0;
26148                visible: 0;
26149             }
26150          }
26151          part { name: "base0";
26152             mouse_events:  0;
26153             clip_to: "clip";
26154             description { state: "default" 0.0;
26155                image.normal: "dia_grad.png";
26156                rel1.to: "over";
26157                rel2.to: "over";
26158                fill {
26159                   smooth: 0;
26160                   size {
26161                      relative: 0.0 1.0;
26162                      offset: 64 0;
26163                   }
26164                }
26165             }
26166          }
26167          part { name: "base";
26168             mouse_events:  0;
26169             clip_to: "clip";
26170             description { state: "default" 0.0;
26171                image {
26172                   normal: "frame_2.png";
26173                   border: 5 5 32 26;
26174                   middle: 0;
26175                }
26176                fill.smooth : 0;
26177             }
26178             description { state: "hidden" 0.0;
26179                inherit: "default" 0.0;
26180                rel1.relative: -1.0 0.0;
26181                rel2.relative: 0.0 1.0;
26182             }
26183             description { state: "hidden2" 0.0;
26184                inherit: "default" 0.0;
26185                rel1.relative: 1.0 0.0;
26186                rel2.relative: 2.0 1.0;
26187             }
26188             description { state: "visible" 0.0;
26189                inherit: "default" 0.0;
26190                rel1.relative: 0.0 0.0;
26191                rel2.relative: 1.0 1.0;
26192             }
26193          }
26194          part { name: "over";
26195             mouse_events:  0;
26196             clip_to: "clip";
26197             description { state:    "default" 0.0;
26198                rel1 {
26199                   to: "base";
26200                   offset: 4 4;
26201                }
26202                rel2 {
26203                   to: "base";
26204                   offset: -5 -5;
26205                }
26206                image {
26207                   normal: "frame_1.png";
26208                   border: 2 2 28 22;
26209                   middle: 0;
26210                }
26211                fill.smooth : 0;
26212             }
26213          }
26214          part { name: "elm.swallow.content";
26215             type: SWALLOW;
26216             clip_to: "clip";
26217             description { state: "default" 0.0;
26218                rel1 {
26219                   to: "base";
26220                   offset: 8 8;
26221                }
26222                rel2 {
26223                   to: "base";
26224                   offset: -9 -9;
26225                }
26226             }
26227          }
26228       }
26229       programs {
26230          program { name: "push_start";
26231             signal: "elm,action,push";
26232             source: "elm";
26233             action:  STATE_SET "hidden2" 0.0;
26234             target: "base";
26235             target: "clip";
26236             after: "show_start2";
26237          }
26238          program { name: "show_start";
26239             signal: "elm,action,show";
26240             source: "elm";
26241             action:  STATE_SET "hidden" 0.0;
26242             target: "base";
26243             target: "clip";
26244             after: "show_start2";
26245          }
26246          program { name: "show_start2";
26247             action:  STATE_SET "visible" 0.0;
26248             transition: DECELERATE 0.5;
26249             target: "base";
26250             target: "clip";
26251             after: "show_end";
26252          }
26253          program { name: "show_end";
26254             action: SIGNAL_EMIT "elm,action,show,finished" "";
26255          }
26256          program { name: "pop_start";
26257             signal: "elm,action,pop";
26258             source: "elm";
26259             action:  STATE_SET "visible" 0.0;
26260             target: "base";
26261             target: "clip";
26262             after: "pop_start2";
26263          }
26264          program { name: "pop_start2";
26265             action:  STATE_SET "hidden2" 0.0;
26266             transition: DECELERATE 0.5;
26267             target: "base";
26268             target: "clip";
26269             after: "hide_end";
26270          }
26271          program { name: "hide_start";
26272             signal: "elm,action,hide";
26273             source: "elm";
26274             action:  STATE_SET "visible" 0.0;
26275             target: "base";
26276             target: "clip";
26277             after: "hide_start2";
26278          }
26279          program { name: "hide_start2";
26280             action:  STATE_SET "hidden" 0.0;
26281             transition: DECELERATE 0.5;
26282             target: "base";
26283             target: "clip";
26284             after: "hide_end";
26285          }
26286          program { name: "hide_end";
26287             action: SIGNAL_EMIT "elm,action,hide,finished" "";
26288          }
26289          program { name: "reset";
26290             signal: "elm,action,reset";
26291             source: "elm";
26292             action:  STATE_SET "default" 0.0;
26293             target: "base";
26294             target: "clip";
26295          }
26296       }
26297    }
26298    group { name: "elm/pager/base/slide_invisible";
26299       parts {
26300          part { name: "clip";
26301             type: RECT;
26302             mouse_events: 0;
26303             description { state: "default" 0.0;
26304                rel1 {
26305                   to: "base";
26306                   offset: -9999 -9999;
26307             }
26308                rel2 {
26309                   to: "base";
26310                   offset: 9999 9999;
26311                }
26312                color: 255 255 255 255;
26313             }
26314             description { state: "visible" 0.0;
26315                inherit: "default" 0.0;
26316             }
26317             description { state: "hidden" 0.0;
26318                inherit: "default" 0.0;
26319                color: 255 255 255 0;
26320                visible: 0;
26321             }
26322             description { state: "hidden2" 0.0;
26323                inherit: "default" 0.0;
26324                color: 255 255 255 0;
26325                visible: 0;
26326             }
26327          }
26328          part { name: "base";
26329             type: RECT;
26330             mouse_events:  0;
26331             clip_to: "clip";
26332             description { state: "default" 0.0;
26333                color: 0 0 0 0;
26334             }
26335             description { state: "hidden" 0.0;
26336                color: 0 0 0 0;
26337                rel1.relative: -1.0 0.0;
26338                rel2.relative: 0.0 1.0;
26339             }
26340             description { state: "hidden2" 0.0;
26341                color: 0 0 0 0;
26342                rel1.relative: 1.0 0.0;
26343                rel2.relative: 2.0 1.0;
26344             }
26345             description { state: "visible" 0.0;
26346                color: 0 0 0 0;
26347                rel1.relative: 0.0 0.0;
26348                rel2.relative: 1.0 1.0;
26349             }
26350          }
26351          part { name: "elm.swallow.content";
26352             type: SWALLOW;
26353             clip_to: "clip";
26354             description { state: "default" 0.0;
26355                rel1.to: "base";
26356                rel2.to: "base";
26357             }
26358          }
26359       }
26360       programs {
26361          program { name: "push_start";
26362             signal: "elm,action,push";
26363             source: "elm";
26364             action:  STATE_SET "hidden2" 0.0;
26365             target: "base";
26366             target: "clip";
26367             after: "show_start2";
26368          }
26369          program { name: "show_start";
26370             signal: "elm,action,show";
26371             source: "elm";
26372             action:  STATE_SET "hidden" 0.0;
26373             target: "base";
26374             target: "clip";
26375             after: "show_start2";
26376          }
26377          program { name: "show_start2";
26378             action:  STATE_SET "visible" 0.0;
26379             transition: DECELERATE 0.5;
26380             target: "base";
26381             target: "clip";
26382             after: "show_end";
26383          }
26384          program { name: "show_end";
26385             action: SIGNAL_EMIT "elm,action,show,finished" "";
26386          }
26387          program { name: "pop_start";
26388             signal: "elm,action,pop";
26389             source: "elm";
26390             action:  STATE_SET "visible" 0.0;
26391             target: "base";
26392             target: "clip";
26393             after: "pop_start2";
26394          }
26395          program { name: "pop_start2";
26396             action:  STATE_SET "hidden2" 0.0;
26397             transition: DECELERATE 0.5;
26398             target: "base";
26399             target: "clip";
26400             after: "hide_end";
26401          }
26402          program { name: "hide_start";
26403             signal: "elm,action,hide";
26404             source: "elm";
26405             action:  STATE_SET "visible" 0.0;
26406             target: "base";
26407             target: "clip";
26408             after: "hide_start2";
26409          }
26410          program { name: "hide_start2";
26411             action:  STATE_SET "hidden" 0.0;
26412             transition: DECELERATE 0.5;
26413             target: "base";
26414             target: "clip";
26415             after: "hide_end";
26416          }
26417          program { name: "hide_end";
26418             action: SIGNAL_EMIT "elm,action,hide,finished" "";
26419          }
26420          program { name: "reset";
26421             signal: "elm,action,reset";
26422             source: "elm";
26423             action:  STATE_SET "default" 0.0;
26424             target: "base";
26425             target: "clip";
26426          }
26427       }
26428    }
26429
26430    group { name: "elm/pager/base/fade";
26431        data.item: "onshow" "raise";
26432        // other options
26433        //      data.item: "onhide" "lower";
26434        //      data.item: "onshow" "lower";
26435        images {
26436            image: "frame_1.png" COMP;
26437            image: "frame_2.png" COMP;
26438            image: "dia_grad.png" COMP;
26439        }
26440        parts {
26441            part { name: "clip_base";
26442                type: RECT;
26443                mouse_events: 0;
26444                description { state: "default" 0.0;
26445                    rel1 {
26446                        to: "base";
26447                        offset: -9999 -9999;
26448                    }
26449                    rel2 {
26450                        to: "base";
26451                        offset: 9999 9999;
26452                    }
26453                    color: 255 255 255 120;
26454                }
26455                description { state: "visible" 0.0;
26456                    inherit: "default" 0.0;
26457                }
26458                description { state: "hidden" 0.0;
26459                    inherit: "default" 0.0;
26460                    color: 255 255 255 0;
26461                    visible: 0;
26462                }
26463            }
26464            part { name: "clip";
26465                type: RECT;
26466                mouse_events: 0;
26467                description { state: "default" 0.0;
26468                    rel1 {
26469                        to: "base";
26470                        offset: -9999 -9999;
26471                    }
26472                    rel2 {
26473                        to: "base";
26474                        offset: 9999 9999;
26475                    }
26476                    color: 255 255 255 255;
26477                }
26478                description { state: "visible" 0.0;
26479                    inherit: "default" 0.0;
26480                }
26481                description { state: "hidden" 0.0;
26482                    inherit: "default" 0.0;
26483                    color: 255 255 255 0;
26484                    visible: 0;
26485                }
26486            }
26487            part { name: "base0";
26488                mouse_events:  0;
26489                clip_to: "clip_base";
26490                description { state: "default" 0.0;
26491                    image.normal: "dia_grad.png";
26492                    rel1.to: "over";
26493                    rel2.to: "over";
26494                    fill {
26495                        smooth: 0;
26496                        size {
26497                            relative: 0.0 1.0;
26498                            offset: 64 0;
26499                        }
26500                    }
26501                }
26502            }
26503            part { name: "base";
26504                mouse_events:  0;
26505                clip_to: "clip_base";
26506                description { state: "default" 0.0;
26507                    image {
26508                        normal: "frame_2.png";
26509                        border: 5 5 32 26;
26510                        middle: 0;
26511                    }
26512                    fill.smooth : 0;
26513                }
26514            }
26515            part { name: "over";
26516                mouse_events:  0;
26517                clip_to: "clip";
26518                description { state:    "default" 0.0;
26519                    rel1 {
26520                        to: "base";
26521                        offset: 4 4;
26522                    }
26523                    rel2 {
26524                        to: "base";
26525                        offset: -5 -5;
26526                    }
26527                    image {
26528                        normal: "frame_1.png";
26529                        border: 2 2 28 22;
26530                        middle: 0;
26531                    }
26532                    fill.smooth : 0;
26533                }
26534            }
26535            part { name: "elm.swallow.content";
26536                type: SWALLOW;
26537                clip_to: "clip";
26538                description { state: "default" 0.0;
26539                    rel1 {
26540                        to: "base";
26541                        offset: 8 8;
26542                    }
26543                    rel2 {
26544                        to: "base";
26545                        offset: -9 -9;
26546                    }
26547                }
26548            }
26549        }
26550        programs {
26551            program { name: "push_start";
26552                signal: "elm,action,push";
26553                source: "elm";
26554                action:  STATE_SET "hidden" 0.0;
26555                target: "clip";
26556                target: "clip_base";
26557                after: "show_start2";
26558            }
26559            program { name: "show_start";
26560                signal: "elm,action,show";
26561                source: "elm";
26562                action:  STATE_SET "hidden" 0.0;
26563                target: "clip";
26564                target: "clip_base";
26565                after: "show_start2";
26566            }
26567            program { name: "show_start2";
26568                action:  STATE_SET "visible" 0.0;
26569                transition: DECELERATE 0.5;
26570                target: "clip";
26571                target: "clip_base";
26572                after: "show_end";
26573            }
26574            program { name: "show_end";
26575                action: SIGNAL_EMIT "elm,action,show,finished" "";
26576            }
26577            program { name: "pop_start";
26578                signal: "elm,action,pop";
26579                source: "elm";
26580                action:  STATE_SET "visible" 0.0;
26581                target: "clip";
26582                target: "clip_base";
26583                after: "hide_start2";
26584            }
26585            program { name: "hide_start";
26586                signal: "elm,action,hide";
26587                source: "elm";
26588                action:  STATE_SET "visible" 0.0;
26589                target: "clip";
26590                target: "clip_base";
26591                after: "hide_start2";
26592            }
26593            program { name: "hide_start2";
26594                action:  STATE_SET "hidden" 0.0;
26595                transition: DECELERATE 0.5;
26596                target: "clip";
26597                target: "clip_base";
26598                after: "hide_end";
26599            }
26600            program { name: "hide_end";
26601                action: SIGNAL_EMIT "elm,action,hide,finished" "";
26602            }
26603            program { name: "reset";
26604                signal: "elm,action,reset";
26605                source: "elm";
26606                action:  STATE_SET "default" 0.0;
26607                target: "clip_base";
26608                target: "clip";
26609            }
26610        }
26611    }
26612    group { name: "elm/pager/base/fade_translucide";
26613        data.item: "onshow" "raise";
26614        // other options
26615        //      data.item: "onhide" "lower";
26616        //      data.item: "onshow" "lower";
26617        images {
26618            image: "frame_1.png" COMP;
26619            image: "frame_2.png" COMP;
26620            image: "dia_grad.png" COMP;
26621        }
26622        parts {
26623            part { name: "clip_base";
26624                type: RECT;
26625                mouse_events: 0;
26626                description { state: "default" 0.0;
26627                    rel1 {
26628                        to: "base";
26629                        offset: -9999 -9999;
26630                    }
26631                    rel2 {
26632                        to: "base";
26633                        offset: 9999 9999;
26634                    }
26635                    color: 255 255 255 120;
26636                }
26637                description { state: "visible" 0.0;
26638                    inherit: "default" 0.0;
26639                }
26640                description { state: "hidden" 0.0;
26641                    inherit: "default" 0.0;
26642                    color: 255 255 255 0;
26643                    visible: 0;
26644                }
26645            }
26646            part { name: "clip";
26647                type: RECT;
26648                mouse_events: 0;
26649                description { state: "default" 0.0;
26650                    rel1 {
26651                        to: "base";
26652                        offset: -9999 -9999;
26653                    }
26654                    rel2 {
26655                        to: "base";
26656                        offset: 9999 9999;
26657                    }
26658                    color: 255 255 255 255;
26659                }
26660                description { state: "visible" 0.0;
26661                    inherit: "default" 0.0;
26662                }
26663                description { state: "hidden" 0.0;
26664                    inherit: "default" 0.0;
26665                    color: 255 255 255 0;
26666                    visible: 0;
26667                }
26668            }
26669            part { name: "base0";
26670                mouse_events:  0;
26671                clip_to: "clip_base";
26672                description { state: "default" 0.0;
26673                    image.normal: "dia_grad.png";
26674                    rel1.to: "over";
26675                    rel2.to: "over";
26676                    fill {
26677                        smooth: 0;
26678                        size {
26679                            relative: 0.0 1.0;
26680                            offset: 64 0;
26681                        }
26682                    }
26683                }
26684            }
26685            part { name: "base";
26686                mouse_events:  0;
26687                clip_to: "clip_base";
26688                description { state: "default" 0.0;
26689                    image {
26690                        normal: "frame_2.png";
26691                        border: 5 5 32 26;
26692                        middle: 0;
26693                    }
26694                    fill.smooth : 0;
26695                }
26696            }
26697            part { name: "over";
26698                mouse_events:  0;
26699                clip_to: "clip";
26700                description { state:    "default" 0.0;
26701                    rel1 {
26702                        to: "base";
26703                        offset: 4 4;
26704                    }
26705                    rel2 {
26706                        to: "base";
26707                        offset: -5 -5;
26708                    }
26709                    image {
26710                        normal: "frame_1.png";
26711                        border: 2 2 28 22;
26712                        middle: 0;
26713                    }
26714                    fill.smooth : 0;
26715                }
26716            }
26717            part { name: "elm.swallow.content";
26718                type: SWALLOW;
26719                clip_to: "clip";
26720                description { state: "default" 0.0;
26721                    rel1 {
26722                        to: "base";
26723                        offset: 8 8;
26724                    }
26725                    rel2 {
26726                        to: "base";
26727                        offset: -9 -9;
26728                    }
26729                }
26730            }
26731        }
26732        programs {
26733            program { name: "push_start";
26734                signal: "elm,action,push";
26735                source: "elm";
26736                action:  STATE_SET "hidden" 0.0;
26737                target: "clip";
26738                target: "clip_base";
26739                after: "show_start2";
26740            }
26741            program { name: "show_start";
26742                signal: "elm,action,show";
26743                source: "elm";
26744                action:  STATE_SET "hidden" 0.0;
26745                target: "clip";
26746                target: "clip_base";
26747                after: "show_start2";
26748            }
26749            program { name: "show_start2";
26750                action:  STATE_SET "visible" 0.0;
26751                transition: DECELERATE 0.5;
26752                target: "clip";
26753                target: "clip_base";
26754                after: "show_end";
26755            }
26756            program { name: "show_end";
26757                action: SIGNAL_EMIT "elm,action,show,finished" "";
26758            }
26759            program { name: "pop_start";
26760                signal: "elm,action,pop";
26761                source: "elm";
26762                action:  STATE_SET "visible" 0.0;
26763                target: "clip";
26764                target: "clip_base";
26765                after: "hide_start2";
26766            }
26767            program { name: "hide_start";
26768                signal: "elm,action,hide";
26769                source: "elm";
26770                action:  STATE_SET "visible" 0.0;
26771                target: "clip";
26772                target: "clip_base";
26773                after: "hide_start2";
26774            }
26775            program { name: "hide_start2";
26776                action:  STATE_SET "hidden" 0.0;
26777                transition: DECELERATE 0.5;
26778                target: "clip";
26779                target: "clip_base";
26780                after: "hide_end";
26781            }
26782            program { name: "hide_end";
26783                action: SIGNAL_EMIT "elm,action,hide,finished" "";
26784            }
26785            program { name: "reset";
26786                signal: "elm,action,reset";
26787                source: "elm";
26788                action:  STATE_SET "default" 0.0;
26789                target: "clip_base";
26790                target: "clip";
26791            }
26792        }
26793    }
26794    group { name: "elm/pager/base/fade_invisible";
26795        data.item: "onshow" "raise";
26796        // other options
26797        //      data.item: "onhide" "lower";
26798        //      data.item: "onshow" "lower";
26799        parts {
26800            part { name: "clip";
26801                type: RECT;
26802                mouse_events: 0;
26803                description { state: "default" 0.0;
26804                    rel1 {
26805                        offset: -9999 -9999;
26806                    }
26807                    rel2 {
26808                        offset: 9999 9999;
26809                    }
26810                    color: 255 255 255 255;
26811                }
26812                description { state: "visible" 0.0;
26813                    inherit: "default" 0.0;
26814                }
26815                description { state: "hidden" 0.0;
26816                    inherit: "default" 0.0;
26817                    color: 255 255 255 0;
26818                    visible: 0;
26819                }
26820            }
26821            part { name: "elm.swallow.content";
26822                type: SWALLOW;
26823                clip_to: "clip";
26824                description { state: "default" 0.0;
26825                    rel1 {
26826                        offset: 8 8;
26827                    }
26828                    rel2 {
26829                        offset: -9 -9;
26830                    }
26831                }
26832            }
26833        }
26834        programs {
26835            program { name: "push_start";
26836                signal: "elm,action,push";
26837                source: "elm";
26838                action:  STATE_SET "hidden" 0.0;
26839                target: "clip";
26840                after: "show_start2";
26841            }
26842            program { name: "show_start";
26843                signal: "elm,action,show";
26844                source: "elm";
26845                action:  STATE_SET "hidden" 0.0;
26846                target: "clip";
26847                after: "show_start2";
26848            }
26849            program { name: "show_start2";
26850                action:  STATE_SET "visible" 0.0;
26851                transition: DECELERATE 0.5;
26852                target: "clip";
26853                after: "show_end";
26854            }
26855            program { name: "show_end";
26856                action: SIGNAL_EMIT "elm,action,show,finished" "";
26857            }
26858            program { name: "pop_start";
26859                signal: "elm,action,pop";
26860                source: "elm";
26861                action:  STATE_SET "visible" 0.0;
26862                target: "clip";
26863                after: "hide_start2";
26864            }
26865            program { name: "hide_start";
26866                signal: "elm,action,hide";
26867                source: "elm";
26868                action:  STATE_SET "visible" 0.0;
26869                target: "clip";
26870                after: "hide_start2";
26871            }
26872            program { name: "hide_start2";
26873                action:  STATE_SET "hidden" 0.0;
26874                transition: DECELERATE 0.5;
26875                target: "clip";
26876                after: "hide_end";
26877            }
26878            program { name: "hide_end";
26879                action: SIGNAL_EMIT "elm,action,hide,finished" "";
26880            }
26881            program { name: "reset";
26882                signal: "elm,action,reset";
26883                source: "elm";
26884                action:  STATE_SET "default" 0.0;
26885                target: "clip";
26886            }
26887        }
26888    }
26889
26890    group { name: "elm/pager/base/flip";
26891       data.item: "onshow" "raise";
26892       images {
26893          image: "frame_1.png" COMP;
26894          image: "frame_2.png" COMP;
26895          image: "dia_grad.png" COMP;
26896       }
26897       parts {
26898          part { name: "elm.swallow.content";
26899             type: SWALLOW;
26900             description { state: "default" 0.0;
26901                map {
26902                   on: 1;
26903                   smooth: 1;
26904                   backface_cull: 1;
26905                   perspective_on: 1;
26906                }
26907                perspective {
26908                   zplane: 0;
26909                   focal: 1000;
26910                }
26911             }
26912             description { state: "hidden" 0.0;
26913                inherit: "default" 0.0;
26914                visible: 0;
26915                map.rotation.y: 90.0;
26916             }
26917             description { state: "before_hidden" 0.0;
26918                inherit: "default" 0.0;
26919                visible: 0;
26920                map.rotation.y: -90.0;
26921             }
26922          }
26923       }
26924       programs {
26925          program { name: "push_start";
26926             signal: "elm,action,push";
26927             source: "elm";
26928             after: "push1";
26929          }
26930          program { name: "push1";
26931             action:  STATE_SET "hidden" 0.0;
26932             target: "elm.swallow.content";
26933             after: "push2";
26934          }
26935          program { name: "push2";
26936             action:  STATE_SET "default" 0.0;
26937             in: 0.5 0.0;
26938             transition: LINEAR 0.5;
26939             target: "elm.swallow.content";
26940             after: "push3";
26941          }
26942          program { name: "push3";
26943             action: SIGNAL_EMIT "elm,action,show,finished" "";
26944          }
26945
26946          program { name: "show_start";
26947             signal: "elm,action,show";
26948             source: "elm";
26949             after: "show1";
26950          }
26951          program { name: "show1";
26952             action:  STATE_SET "before_hidden" 0.0;
26953             target: "elm.swallow.content";
26954             after: "show2";
26955          }
26956          program { name: "show2";
26957             action:  STATE_SET "default" 0.0;
26958             in: 0.5 0.0;
26959             transition: LINEAR 0.5;
26960             target: "elm.swallow.content";
26961             after: "show3";
26962          }
26963          program { name: "show3";
26964             action: SIGNAL_EMIT "elm,action,show,finished" "";
26965          }
26966
26967          program { name: "pop_start";
26968             signal: "elm,action,pop";
26969             source: "elm";
26970             after: "pop1";
26971          }
26972          program { name: "pop1";
26973             action:  STATE_SET "default" 0.0;
26974             target: "elm.swallow.content";
26975             after: "pop2";
26976          }
26977          program { name: "pop2";
26978             action:  STATE_SET "hidden" 0.0;
26979             transition: LINEAR 0.5;
26980             target: "elm.swallow.content";
26981             after: "pop3";
26982          }
26983          program { name: "pop3";
26984             action: SIGNAL_EMIT "elm,action,hide,finished" "";
26985          }
26986
26987          program { name: "hide_start";
26988             signal: "elm,action,hide";
26989             source: "elm";
26990             after: "hide1";
26991          }
26992          program { name: "hide1";
26993             action:  STATE_SET "default" 0.0;
26994             target: "elm.swallow.content";
26995             after: "hide2";
26996          }
26997          program { name: "hide2";
26998             action:  STATE_SET "before_hidden" 0.0;
26999             transition: LINEAR 0.5;
27000             target: "elm.swallow.content";
27001             after: "hide3";
27002          }
27003          program { name: "hide3";
27004             action: SIGNAL_EMIT "elm,action,hide,finished" "";
27005          }
27006
27007          program { name: "reset";
27008             signal: "elm,action,reset";
27009             source: "elm";
27010             action:  STATE_SET "default" 0.0;
27011             target: "elm.swallow.content";
27012          }
27013       }
27014    }
27015
27016
27017
27018 ///////////////////////////////////////////////////////////////////////////////
27019 // FIXME: this doesn't look too hot. need to fix it up
27020    group { name: "elm/progressbar/horizontal/default";
27021       images {
27022          image: "shelf_inset.png" COMP;
27023          image: "bt_sm_base2.png" COMP;
27024          image: "bt_sm_hilight.png" COMP;
27025          image: "bt_sm_shine.png" COMP;
27026       }
27027       parts {
27028          part { name: "elm.background.progressbar";
27029             mouse_events: 0;
27030             description {
27031                state: "default" 0.0;
27032                rel1 {
27033                   relative: 0.0 0.0;
27034                   offset: 0 0;
27035                }
27036                rel2 {
27037                   relative: 1.0 1.0;
27038                }
27039             }
27040          }
27041          part { name: "elm.swallow.bar";
27042             mouse_events: 0;
27043             type: SWALLOW;
27044             description {
27045                min: 48 28;
27046                max: 99999 28;
27047                state: "default" 0.0;
27048                rel1 {
27049                   to_x: "elm.text";
27050                   to_y: "elm.background.progressbar";
27051                   relative: 1.0 0.0;
27052                }
27053                rel2 {
27054                   to: "elm.background.progressbar";
27055                   relative: 1.0 1.0;
27056                }
27057             }
27058          }
27059          part { name: "elm.swallow.content";
27060             type: SWALLOW;
27061             description { state: "default" 0.0;
27062                visible: 0;
27063                align: 0.0 0.5;
27064                rel1 {
27065                   offset: 4 0;
27066                   to_y: "elm.background.progressbar";
27067                }
27068                rel2 {
27069                   offset: 3 -1;
27070                   relative: 0.0 1.0;
27071                   to_y: "elm.background.progressbar";
27072                }
27073             }
27074             description { state: "visible" 0.0;
27075                inherit: "default" 0.0;
27076                visible: 1;
27077                aspect: 1.0 1.0;
27078                aspect_preference: VERTICAL;
27079                rel2.offset: 4 -1;
27080             }
27081          }
27082          part { name: "elm.text";
27083             type: TEXT;
27084             mouse_events: 0;
27085             scale: 1;
27086             description { state: "default" 0.0;
27087                visible: 0;
27088                fixed: 1 1;
27089                align: 0.0 0.5;
27090                rel1.to_x: "elm.swallow.content";
27091                rel1.relative: 1.0 0.0;
27092                rel1.offset: -1 4;
27093                rel2.to_x: "elm.swallow.content";
27094                rel2.relative: 1.0 1.0;
27095                rel2.offset: -1 -5;
27096                color: 0 0 0 255;
27097                text {
27098                   font: "Sans,Edje-Vera";
27099                   size: 10;
27100                   min: 0 0;
27101                   align: 0.0 0.5;
27102                }
27103             }
27104             description { state: "visible" 0.0;
27105                inherit: "default" 0.0;
27106                visible: 1;
27107                text.min: 1 1;
27108                rel1.offset: 0 4;
27109                rel2.offset: 0 -5;
27110             }
27111          }
27112
27113          part { name: "background";
27114             mouse_events: 0;
27115             clip_to: "elm.background.progressbar";
27116             description {
27117                state: "default" 0.0;
27118                rel1 {
27119                   to: "elm.swallow.bar";
27120                   relative: 0.0 0.0;
27121                }
27122                rel2 {
27123                   to: "elm.swallow.bar";
27124                   relative: 1.0 1.0;
27125                   offset: -1 -1;
27126                }
27127                image {
27128                   normal: "shelf_inset.png";
27129                   border: 7 7 7 7;
27130                }
27131             }
27132          }
27133
27134          part { name: "elm.text.status";
27135             type: TEXT;
27136             mouse_events: 0;
27137             description { state: "default" 0.0;
27138                fixed: 1 1;
27139                visible: 1;
27140                rel1 {
27141                   to: "background";
27142                   relative: 0.5 0.5;
27143                }
27144                rel2 {
27145                   to: "background";
27146                   relative: 0.5 0.5;
27147                }
27148                text {
27149                   font: "Sans:style=Bold,Edje-Vera-Bold";
27150                   size: 10;
27151                   min: 1 1;
27152                   align: 0.5 0.0;
27153                }
27154                color: 0 0 0 255;
27155             }
27156             description { state: "hidden" 0.0;
27157                inherit: "default" 0.0;
27158                visible: 0;
27159                text.min: 0 0;
27160             }
27161          }
27162
27163          part { name: "elm.progress.progressbar";
27164             mouse_events: 0;
27165             clip_to: "elm.background.progressbar";
27166             description {
27167                state: "default" 0.0;
27168                min: 14 28;
27169                fixed: 1 1;
27170                rel1 {
27171                   to: "elm.swallow.bar";
27172                   relative: 0.0 0.0;
27173                }
27174                rel2 {
27175                   to_y: "elm.swallow.bar";
27176                   to_x: "elm.cur.progressbar";
27177                   offset: -1 -1;
27178                }
27179                image {
27180                   normal: "bt_sm_base2.png";
27181                   border: 6 6 6 6;
27182                }
27183             }
27184             description {
27185                state: "invert" 0.0;
27186                inherit: "default" 0.0;
27187                rel1 {
27188                   to_y: "elm.swallow.bar";
27189                   to_x: "elm.cur.progressbar";
27190                }
27191                rel2 {
27192                   to: "elm.swallow.bar";
27193                   relative: 1.0 1.0;
27194                }
27195             }
27196             description {
27197                state: "state_begin" 0.0;
27198                inherit: "default" 0.0;
27199                rel1 {
27200                   to: "elm.swallow.bar";
27201                   relative: 0.0 0.0;
27202                }
27203                rel2 {
27204                   to: "elm.swallow.bar";
27205                   relative: 0.1 1.0;
27206                }
27207             }
27208             description {
27209                state: "state_end" 0.0;
27210                inherit: "default" 0.0;
27211                rel1 {
27212                   to: "elm.swallow.bar";
27213                   relative: 0.9 0.0;
27214                }
27215                rel2 {
27216                   to: "elm.swallow.bar";
27217                   relative: 1.0 1.0;
27218                }
27219             }
27220          }
27221          part { name: "text-bar";
27222             type: TEXT;
27223             mouse_events: 0;
27224             clip_to: "progress-rect";
27225             effect: SOFT_SHADOW;
27226             scale: 1;
27227             description { state: "default" 0.0;
27228                align: 0.0 0.0;
27229                fixed: 1 1;
27230                visible: 1;
27231                rel1.to: "elm.text.status";
27232                rel1.offset: -1 -1;
27233                rel2.to: "elm.text.status";
27234                text {
27235                   text_source: "elm.text.status";
27236                   font: "Sans:style=Bold,Edje-Vera-Bold";
27237                   size: 10;
27238                   min: 1 1;
27239                   align: 0.0 0.0;
27240                }
27241                color: 224 224 224 255;
27242                color3: 0 0 0 64;
27243             }
27244             description { state: "hidden" 0.0;
27245                inherit: "default" 0.0;
27246                visible: 0;
27247                text.min: 0 0;
27248             }
27249          }
27250
27251          part { name: "over1";
27252             mouse_events: 0;
27253             description { state: "default" 0.0;
27254                rel1.to: "elm.progress.progressbar";
27255                rel2.to: "elm.progress.progressbar";
27256                rel2.relative: 1.0 0.5;
27257                image {
27258                   normal: "bt_sm_hilight.png";
27259                   border: 6 6 6 0;
27260                }
27261             }
27262          }
27263
27264          part { name: "over2";
27265             mouse_events: 1;
27266             repeat_events: 1;
27267             description { state: "default" 0.0;
27268                rel1.to: "elm.progress.progressbar";
27269                rel2.to: "elm.progress.progressbar";
27270                image {
27271                   normal: "bt_sm_shine.png";
27272                   border: 6 6 6 0;
27273                }
27274             }
27275          }
27276
27277          part { name: "elm.cur.progressbar";
27278             mouse_events: 0;
27279             dragable {
27280                confine: "background";
27281                x: 1 1 1;
27282                y: 0 0 0;
27283             }
27284             description { state: "default" 0.0;
27285                min: 14 28;
27286                fixed: 1 1;
27287                visible: 0;
27288                rel1 {
27289                   to: "background";
27290                   relative: 0 0;
27291                }
27292                rel2.to: "background";
27293            }
27294          }
27295          part { name: "progress-rect";
27296             mouse_events: 0;
27297             description {
27298                state: "default" 0.0;
27299                rel1.to: "elm.progress.progressbar";
27300                rel2.to: "elm.progress.progressbar";
27301             }
27302          }
27303       }
27304       programs {
27305          program { name: "label_show";
27306             signal: "elm,state,text,visible";
27307             source: "elm";
27308             action:  STATE_SET "visible" 0.0;
27309             target: "elm.text";
27310          }
27311          program { name: "label_hide";
27312             signal: "elm,state,text,hidden";
27313             source: "elm";
27314             action:  STATE_SET "default" 0.0;
27315             target: "elm.text";
27316          }
27317          program { name: "icon_show";
27318             signal: "elm,state,icon,visible";
27319             source: "elm";
27320             action:  STATE_SET "visible" 0.0;
27321             target: "elm.swallow.content";
27322          }
27323          program { name: "icon_hide";
27324             signal: "elm,state,icon,hidden";
27325             source: "elm";
27326             action:  STATE_SET "default" 0.0;
27327             target: "elm.swallow.content";
27328          }
27329          program { name: "units_show";
27330             signal: "elm,state,units,visible";
27331             source: "elm";
27332             action:  STATE_SET "default" 0.0;
27333             target: "text-bar";
27334             target: "elm.text.status";
27335          }
27336          program { name: "units_hide";
27337             signal: "elm,state,units,hidden";
27338             source: "elm";
27339             action:  STATE_SET "hidden" 0.0;
27340             target: "text-bar";
27341             target: "elm.text.status";
27342          }
27343          program { name: "slide_to_end";
27344             action:  STATE_SET "state_end" 0.0;
27345             transition: LINEAR 0.5;
27346             target: "elm.progress.progressbar";
27347             after: "slide_to_begin";
27348          }
27349          program { name: "slide_to_begin";
27350             signal: "elm,state,slide,begin";
27351             action: STATE_SET "state_begin" 0.0;
27352             target: "elm.progress.progressbar";
27353             transition: LINEAR 0.5;
27354             after: "slide_to_end";
27355          }
27356          program { name: "start_pulse";
27357             signal: "elm,state,pulse,start";
27358             source: "elm";
27359             after: "slide_to_end";
27360          }
27361          program { name: "stop_pulse";
27362             signal: "elm,state,pulse,stop";
27363             source: "elm";
27364             action: ACTION_STOP;
27365             target: "slide_to_begin";
27366             target: "slide_to_end";
27367             target: "start_pulse";
27368             after: "state_pulse";
27369          }
27370          program { name: "state_pulse";
27371             signal: "elm,state,pulse";
27372             source: "elm";
27373             action: STATE_SET "state_begin" 0.0;
27374             target: "elm.progress.progressbar";
27375             after: "units_hide";
27376          }
27377          program { name: "state_fraction";
27378             signal: "elm,state,fraction";
27379             source: "elm";
27380             action: ACTION_STOP;
27381             target: "slide_to_begin";
27382             target: "slide_to_end";
27383             target: "start_pulse";
27384             action: STATE_SET "default" 0.0;
27385             target: "elm.progress.progressbar";
27386          }
27387          program { name: "set_invert_on";
27388             signal: "elm,state,inverted,on";
27389             source: "elm";
27390             action:  STATE_SET "invert" 0.0;
27391             target: "elm.progress.progressbar";
27392          }
27393          program { name: "set_invert_off";
27394             signal: "elm,state,inverted,off";
27395             source: "elm";
27396             action:  STATE_SET "default" 0.0;
27397             target: "elm.progress.progressbar";
27398          }
27399       }
27400    }
27401
27402 ///////////////////////////////////////////////////////////////////////////////
27403    group { name: "elm/progressbar/vertical/default";
27404       images {
27405          image: "shelf_inset.png" COMP;
27406          image: "bt_sm_base2.png" COMP;
27407          image: "bt_sm_hilight.png" COMP;
27408          image: "bt_sm_shine.png" COMP;
27409       }
27410       parts {
27411          part { name: "elm.background.progressbar";
27412             type: RECT;
27413             mouse_events: 0;
27414             description {
27415                state: "default" 0.0;
27416                rel1 {
27417                   relative: 0.0 0.0;
27418                   offset: 0 0;
27419                }
27420                rel2 {
27421                   relative: 1.0 1.0;
27422                   offset: -1 -1;
27423                }
27424             }
27425          }
27426          part { name: "elm.swallow.bar";
27427             type: SWALLOW;
27428             scale: 1;
27429             description { state: "default" 0.0;
27430                min: 28 48;
27431                max: 28 9999;
27432                align: 0.5 1.0;
27433                rel1 {
27434                   to_y: "elm.text";
27435                   relative: 0.0 1.0;
27436                   offset: 0 2;
27437                }
27438                rel2 {
27439                   to_y: "elm.text.box";
27440                   relative: 1.0 0.0;
27441                   offset: -1 -3;
27442                }
27443             }
27444          }
27445          part { name: "elm.swallow.content";
27446             type: SWALLOW;
27447             description { state: "default" 0.0;
27448                visible: 0;
27449                align: 0.5 0.0;
27450                rel1 {
27451                   offset: 0 4;
27452                   to_x: "elm.swallow.bar";
27453                }
27454                rel2 {
27455                   offset: -1 3;
27456                   relative: 1.0 0.0;
27457                   to_x: "elm.swallow.bar";
27458                }
27459             }
27460             description { state: "visible" 0.0;
27461                inherit: "default" 0.0;
27462                visible: 1;
27463                aspect: 1.0 1.0;
27464                aspect_preference: HORIZONTAL;
27465                rel2.offset: -1 4;
27466             }
27467          }
27468          part { name: "elm.text";
27469             type: TEXT;
27470             mouse_events: 0;
27471             scale: 1;
27472             description { state: "default" 0.0;
27473                visible: 0;
27474                fixed: 1 1;
27475                align: 0.5 0.0;
27476                rel1.to_y: "elm.swallow.content";
27477                rel1.relative: 0.5 1.0;
27478                rel1.offset: 0 -1;
27479                rel2.to_y: "elm.swallow.content";
27480                rel2.relative: 0.5 1.0;
27481                rel2.offset: -1 -1;
27482                color: 0 0 0 255;
27483                text {
27484                   font: "Sans,Edje-Vera";
27485                   size: 10;
27486                   min: 0 0;
27487                   align: 0.5 0.0;
27488                }
27489             }
27490             description { state: "visible" 0.0;
27491                inherit: "default" 0.0;
27492                visible: 1;
27493                text.min: 1 1;
27494                rel1.offset: 4 0;
27495                rel2.offset: -5 0;
27496             }
27497          }
27498
27499          part { name: "background";
27500             mouse_events: 0;
27501             clip_to: "elm.background.progressbar";
27502             description {
27503                state: "default" 0.0;
27504                rel1 {
27505                   to: "elm.swallow.bar";
27506                   relative: 0.0 0.0;
27507                }
27508                rel2 {
27509                   to: "elm.swallow.bar";
27510                   relative: 1.0 1.0;
27511                   offset: -1 -1;
27512                }
27513                image {
27514                   normal: "shelf_inset.png";
27515                   border: 7 7 7 7;
27516                }
27517             }
27518          }
27519
27520          part { name: "elm.progress.progressbar";
27521             mouse_events: 0;
27522             clip_to: "elm.background.progressbar";
27523             description {
27524                state: "default" 0.0;
27525                min: 28 14;
27526                fixed: 1 1;
27527                rel1 {
27528                   to: "elm.swallow.bar";
27529                   relative: 0.0 0.0;
27530                }
27531                rel2 {
27532                   to_x: "elm.swallow.bar";
27533                   to_y: "elm.cur.progressbar";
27534                   offset: -1 -1;
27535                }
27536                image {
27537                   normal: "bt_sm_base2.png";
27538                   border: 6 6 6 6;
27539                }
27540             }
27541             description {
27542                state: "invert" 0.0;
27543                inherit: "default" 0.0;
27544                rel1 {
27545                   to_x: "elm.swallow.bar";
27546                   to_y: "elm.cur.progressbar";
27547                }
27548                rel2 {
27549                   to: "elm.swallow.bar";
27550                   relative: 1.0 1.0;
27551                }
27552             }
27553             description {
27554                state: "state_begin" 0.0;
27555                inherit: "default" 0.0;
27556                rel1 {
27557                   to: "elm.swallow.bar";
27558                   relative: 0.0 0.0;
27559                }
27560                rel2 {
27561                   to: "elm.swallow.bar";
27562                   relative: 1.0 0.1;
27563                }
27564             }
27565             description {
27566                state: "state_end" 0.0;
27567                inherit: "default" 0.0;
27568                rel1 {
27569                   to: "elm.swallow.bar";
27570                   relative: 0.0 0.9;
27571                }
27572                rel2 {
27573                   to: "elm.swallow.bar";
27574                   relative: 1.0 1.0;
27575                }
27576             }
27577          }
27578
27579          part { name: "over1";
27580             mouse_events: 0;
27581             description { state: "default" 0.0;
27582                rel1.to: "elm.progress.progressbar";
27583                rel2.to: "elm.progress.progressbar";
27584                rel2.relative: 1.0 0.5;
27585                image {
27586                   normal: "bt_sm_hilight.png";
27587                   border: 6 6 6 0;
27588                }
27589             }
27590          }
27591
27592          part { name: "over2";
27593             mouse_events: 1;
27594             repeat_events: 1;
27595             description { state: "default" 0.0;
27596                rel1.to: "elm.progress.progressbar";
27597                rel2.to: "elm.progress.progressbar";
27598                image {
27599                   normal: "bt_sm_shine.png";
27600                   border: 6 6 6 0;
27601                }
27602             }
27603          }
27604
27605          part { name: "elm.cur.progressbar";
27606             mouse_events: 0;
27607             dragable {
27608                confine: "background";
27609                x: 0 0 0;
27610                y: 1 1 1;
27611             }
27612             description { state: "default" 0.0;
27613                min: 28 14;
27614                fixed: 1 1;
27615                visible: 0;
27616                rel1 {
27617                   to: "background";
27618                   relative: 0 0;
27619                }
27620                rel2.to: "background";
27621            }
27622          }
27623
27624          part { name: "elm.text.box";
27625             mouse_events: 0;
27626             type: RECT;
27627             description { state: "default" 0.0;
27628                visible: 0;
27629                rel1 {
27630                   to: "elm.text.status";
27631                   offset: -2 -2;
27632                }
27633                rel2 {
27634                   to: "elm.text.status";
27635                   offset: 2 2;
27636                }
27637                color: 255 255 255 0;
27638             }
27639             description { state: "visible" 0.0;
27640                inherit: "default" 0.0;
27641                visible: 1;
27642             }
27643          }
27644          part { name: "elm.text.status";
27645             type: TEXT;
27646             mouse_events: 0;
27647             scale: 1;
27648             description { state: "default" 0.0;
27649                visible: 0;
27650                fixed: 1 1;
27651                align: 0.5 1.0;
27652                rel1.relative: 0.0 1.0;
27653                rel1.offset: 2 0;
27654                rel2.relative: 1.0 1.0;
27655                rel2.offset: -2 0;
27656                color: 0 0 0 255;
27657                text {
27658                   font: "Sans:style=Bold,Edje-Vera-Bold";
27659                   size: 10;
27660                   min: 0 0;
27661                   align: 0.5 0.0;
27662                }
27663             }
27664             description { state: "visible" 0.0;
27665                inherit: "default" 0.0;
27666                fixed: 1 1;
27667                visible: 1;
27668                text.min: 1 1;
27669                rel1.offset: 8 -9;
27670                rel2.offset: -9 -9;
27671             }
27672          }
27673       }
27674       programs {
27675          program { name: "label_show";
27676             signal: "elm,state,text,visible";
27677             source: "elm";
27678             action:  STATE_SET "visible" 0.0;
27679             target: "elm.text";
27680          }
27681          program { name: "label_hide";
27682             signal: "elm,state,text,hidden";
27683             source: "elm";
27684             action:  STATE_SET "default" 0.0;
27685             target: "elm.text";
27686          }
27687          program { name: "icon_show";
27688             signal: "elm,state,icon,visible";
27689             source: "elm";
27690             action:  STATE_SET "visible" 0.0;
27691             target: "elm.swallow.content";
27692          }
27693          program { name: "icon_hide";
27694             signal: "elm,state,icon,hidden";
27695             source: "elm";
27696             action:  STATE_SET "default" 0.0;
27697             target: "elm.swallow.content";
27698          }
27699          program { name: "units_show";
27700             signal: "elm,state,units,visible";
27701             source: "elm";
27702             action:  STATE_SET "visible" 0.0;
27703             target: "elm.text.status";
27704             target: "elm.text.box";
27705          }
27706          program { name: "units_hide";
27707             signal: "elm,state,units,hidden";
27708             source: "elm";
27709             action:  STATE_SET "default" 0.0;
27710             target: "elm.text.status";
27711             target: "elm.text.box";
27712          }
27713          program { name: "slide_to_end";
27714             action:  STATE_SET "state_end" 0.0;
27715             transition: LINEAR 0.5;
27716             target: "elm.progress.progressbar";
27717             after: "slide_to_begin";
27718          }
27719          program { name: "slide_to_begin";
27720             action:  STATE_SET "state_begin" 0.0;
27721             target: "elm.progress.progressbar";
27722             transition: LINEAR 0.5;
27723             after: "slide_to_end";
27724          }
27725          program { name: "start_pulse";
27726             signal: "elm,state,pulse,start";
27727             source: "elm";
27728             action: STATE_SET "state_begin" 0.0;
27729             target: "elm.progress.progressbar";
27730             after: "slide_to_end";
27731          }
27732          program { name: "stop_pulse";
27733             signal: "elm,state,pulse,stop";
27734             source: "elm";
27735             action: ACTION_STOP;
27736             target: "slide_to_begin";
27737             target: "slide_to_end";
27738             target: "start_pulse";
27739             after: "state_pulse";
27740          }
27741          program { name: "state_pulse";
27742             signal: "elm,state,pulse";
27743             source: "elm";
27744             action: STATE_SET "state_begin" 0.0;
27745             target: "elm.progress.progressbar";
27746             after: "units_hide";
27747          }
27748          program { name: "state_fraction";
27749             signal: "elm,state,fraction";
27750             source: "elm";
27751             action: ACTION_STOP;
27752             target: "slide_to_begin";
27753             target: "slide_to_end";
27754             target: "start_pulse";
27755             action: STATE_SET "default" 0.0;
27756             target: "elm.progress.progressbar";
27757          }
27758          program { name: "set_invert_on";
27759             signal: "elm,state,inverted,on";
27760             source: "elm";
27761             action:  STATE_SET "invert" 0.0;
27762             target: "elm.progress.progressbar";
27763             target: "elm.cur.progressbar";
27764          }
27765          program { name: "set_invert_off";
27766             signal: "elm,state,inverted,off";
27767             source: "elm";
27768             action:  STATE_SET "default" 0.0;
27769             target: "elm.progress.progressbar";
27770             target: "elm.cur.progressbar";
27771          }
27772       }
27773    }
27774
27775 ///////////////////////////////////////////////////////////////////////////////
27776    group { name: "elm/separator/horizontal/default";
27777        images {
27778            image: "separator_h.png" COMP;
27779        }
27780        parts {
27781            part { name: "separator"; // separator group
27782                description { state: "default" 0.0;
27783                    min: 2 2;
27784                    rel1.offset: 4 4;
27785                    rel2.offset: -5 -5;
27786                    image {
27787                        normal: "separator_h.png";
27788                    }
27789                    fill {
27790                        smooth: 0;
27791                    }
27792                }
27793            }
27794        }
27795    }
27796
27797    ///////////////////////////////////////////////////////////////////////////////
27798    group { name: "elm/separator/vertical/default";
27799        images {
27800            image: "separator_v.png" COMP;
27801        }
27802        parts {
27803            part { name: "separator"; // separator group
27804                description { state: "default" 0.0;
27805                    min: 2 2;
27806                    rel1.offset: 4 4;
27807                    rel2.offset: -5 -5;
27808                    image {
27809                        normal: "separator_v.png";
27810                    }
27811                    fill {
27812                        smooth: 0;
27813                    }
27814                }
27815            }
27816        }
27817    }
27818
27819    group { name: "elm/progressbar/horizontal/wheel";
27820        images {
27821            image: "busy-1.png" COMP;
27822            image: "busy-2.png" COMP;
27823            image: "busy-3.png" COMP;
27824            image: "busy-4.png" COMP;
27825            image: "busy-5.png" COMP;
27826            image: "busy-6.png" COMP;
27827            image: "busy-7.png" COMP;
27828            image: "busy-8.png" COMP;
27829            image: "busy-9.png" COMP;
27830        }
27831        parts {
27832            part { name: "elm.background.progressbar";
27833                mouse_events: 0;
27834                type: RECT;
27835                description {
27836                    state: "default" 0.0;
27837                }
27838            }
27839            part { name: "elm.swallow.bar";
27840                mouse_events: 0;
27841                type: SWALLOW;
27842                description { state: "default" 0.0;
27843                    min: 0 0;
27844                    max: 0 0;
27845                    visible: 0;
27846                }
27847            }
27848            part { name: "elm.swallow.content";
27849                type: SWALLOW;
27850                description { state: "default" 0.0;
27851                    min: 0 0;
27852                    max: 0 0;
27853                    visible: 0;
27854                }
27855            }
27856            part { name: "background";
27857                mouse_events: 0;
27858                clip_to: "elm.background.progressbar";
27859                description {
27860                    state: "default" 0.0;
27861                    min: 32 32;
27862                    max: 32 32;
27863                    visible: 1;
27864                    aspect: 1.0 1.0;
27865                    aspect_preference: BOTH;
27866                    image {
27867                        normal: "busy-9.png";
27868                        border: 7 7 7 7;
27869                    }
27870                }
27871                description {
27872                    state: "pulse" 0.0;
27873                    inherit: "default" 0.0;
27874                    image {
27875                        normal: "busy-9.png";
27876                        tween:  "busy-1.png";
27877                        tween:  "busy-2.png";
27878                        tween:  "busy-3.png";
27879                        tween:  "busy-4.png";
27880                        tween:  "busy-5.png";
27881                        tween:  "busy-6.png";
27882                        tween:  "busy-7.png";
27883                        tween:  "busy-8.png";
27884                        border: 7 7 7 7;
27885                    }
27886                }
27887            }
27888        }
27889        programs {
27890            program { name: "start_pulse";
27891                signal: "elm,state,pulse,start";
27892                source: "elm";
27893                action: STATE_SET "pulse" 0.0;
27894                target: "background";
27895                transition: LINEAR 0.5;
27896                after: "start_pulse";
27897            }
27898            program { name: "stop_pulse";
27899                signal: "elm,state,pulse,stop";
27900                source: "elm";
27901                action: STATE_SET "default" 0.0;
27902                target: "background";
27903            }
27904        }
27905    }
27906
27907
27908 ///////////////////////////////////////////////////////////////////////////////
27909    group { name: "elm/spinner/base/default";
27910        images {
27911            image: "shelf_inset.png" COMP;
27912            image: "bt_base1.png" COMP;
27913            image: "bt_hilight.png" COMP;
27914            image: "bt_shine.png" COMP;
27915            image: "bt_glow.png" COMP;
27916            image: "bt_dis_base.png" COMP;
27917            image: "bt_dis_hilight.png" COMP;
27918            image: "sp_bt_l.png" COMP;
27919            image: "sp_bt_r.png" COMP;
27920        }
27921        parts {
27922            part { name: "bg";
27923                type: RECT;
27924                description { state: "default" 0.0;
27925                    min: 0 30;
27926                    rel1.offset: 1 1;
27927                    rel2.offset: -2 -2;
27928                    color: 255 255 255 0;
27929                }
27930            }
27931            part { name: "conf_over";
27932                mouse_events:  0;
27933                description { state: "default" 0.0;
27934                    rel1.to: "bg";
27935                    rel2.to: "bg";
27936                    image {
27937                        normal: "shelf_inset.png";
27938                        border: 7 7 7 7;
27939                        middle: 0;
27940                    }
27941                    fill.smooth : 0;
27942                }
27943            }
27944            part { name: "left_bt";
27945                mouse_events:  1;
27946                description { state: "default" 0.0;
27947                    rel1 { to: "bg";
27948                        offset: 3 3;
27949                    }
27950                    rel2 { to: "bg";
27951                        offset: -4 -4;
27952                    }
27953                    align: 0.0 0.5;
27954                    min: 24 24;
27955                    aspect: 1.0 1.0;
27956                    aspect_preference: VERTICAL;
27957                    image {
27958                        normal: "bt_base1.png";
27959                        border: 6 6 6 6;
27960                    }
27961                    fill.smooth : 0;
27962                }
27963                description { state: "clicked" 0.0;
27964                    inherit: "default" 0.0;
27965                    image.normal: "bt_base1.png";
27966                    image.middle: SOLID;
27967                }
27968                description { state: "disabled" 0.0;
27969                    inherit:  "default" 0.0;
27970                    image {
27971                        normal: "bt_dis_base.png";
27972                        border: 4 4 4 4;
27973                    }
27974                }
27975            }
27976            part {          name: "left_over1";
27977                mouse_events: 0;
27978                description { state: "default" 0.0;
27979                    rel1.to: "left_bt";
27980                    rel2 { to: "left_bt";
27981                        relative: 1.0 0.5;
27982                    }
27983                    image {
27984                        normal: "bt_hilight.png";
27985                        border: 7 7 7 0;
27986                    }
27987                }
27988                description { state: "disabled" 0.0;
27989                    inherit:  "default" 0.0;
27990                    image {
27991                        normal: "bt_dis_hilight.png";
27992                        border: 4 4 4 0;
27993                    }
27994                }
27995            }
27996            part { name: "left_over2";
27997                mouse_events: 1;
27998                repeat_events: 1;
27999                ignore_flags: ON_HOLD;
28000                description { state: "default" 0.0;
28001                    rel1.to: "left_bt";
28002                    rel2.to: "left_bt";
28003                    image {
28004                        normal: "bt_shine.png";
28005                        border: 7 7 7 7;
28006                    }
28007                }
28008                description { state: "disabled" 0.0;
28009                    inherit:  "default" 0.0;
28010                    visible: 0;
28011                }
28012            }
28013            part { name: "left_over3";
28014                mouse_events: 1;
28015                repeat_events: 1;
28016                description { state: "default" 0.0;
28017                    color: 255 255 255 0;
28018                    rel1.to: "left_bt";
28019                    rel2.to: "left_bt";
28020                    image {
28021                        normal: "bt_glow.png";
28022                        border: 12 12 12 12;
28023                    }
28024                    fill.smooth : 0;
28025                }
28026                description { state: "clicked" 0.0;
28027                    inherit:  "default" 0.0;
28028                    visible: 1;
28029                    color: 255 255 255 255;
28030                }
28031            }
28032            part { name: "right_bt";
28033                mouse_events:  1;
28034                description { state: "default" 0.0;
28035                    rel1 { to: "bg";
28036                        offset: -26 3;
28037                    }
28038                    rel2 { to: "bg";
28039                        offset: -4 -4;
28040                    }
28041                    align: 1.0 0.5;
28042                    min: 24 24;
28043                    aspect: 1.0 1.0;
28044                    aspect_preference: VERTICAL;
28045                    image {
28046                        normal: "bt_base1.png";
28047                        border: 5 5 4 12;
28048                    }
28049                    fill.smooth : 0;
28050                }
28051                description { state: "clicked" 0.0;
28052                    inherit: "default" 0.0;
28053                    image.normal: "bt_base1.png";
28054                    image.middle: SOLID;
28055                }
28056                description { state: "disabled" 0.0;
28057                    inherit:  "default" 0.0;
28058                    image {
28059                        normal: "bt_dis_base.png";
28060                        border: 4 4 4 4;
28061                    }
28062                }
28063            }
28064            part { name: "right_over1";
28065                mouse_events: 0;
28066                description { state: "default" 0.0;
28067                    rel1.to: "right_bt";
28068                    rel2 { to: "right_bt";
28069                        relative: 1.0 0.5;
28070                    }
28071                    image {
28072                        normal: "bt_hilight.png";
28073                        border: 7 7 7 0;
28074                    }
28075                }
28076                description { state: "disabled" 0.0;
28077                    inherit:  "default" 0.0;
28078                    image {
28079                        normal: "bt_dis_hilight.png";
28080                        border: 4 4 4 0;
28081                    }
28082                }
28083            }
28084            part { name: "right_over2";
28085                mouse_events: 1;
28086                repeat_events: 1;
28087                ignore_flags: ON_HOLD;
28088                description { state: "default" 0.0;
28089                    rel1.to: "right_bt";
28090                    rel2.to: "right_bt";
28091                    image {
28092                        normal: "bt_shine.png";
28093                        border: 7 7 7 7;
28094                    }
28095                }
28096                description { state: "disabled" 0.0;
28097                    inherit:  "default" 0.0;
28098                    visible: 0;
28099                }
28100            }
28101            part { name: "right_over3";
28102                mouse_events: 1;
28103                repeat_events: 1;
28104                description { state: "default" 0.0;
28105                    color: 255 255 255 0;
28106                    rel1.to: "right_bt";
28107                    rel2.to: "right_bt";
28108                    image {
28109                        normal: "bt_glow.png";
28110                        border: 12 12 12 12;
28111                    }
28112                    fill.smooth : 0;
28113                }
28114                description { state: "clicked" 0.0;
28115                    inherit:  "default" 0.0;
28116                    visible: 1;
28117                    color: 255 255 255 255;
28118                }
28119            }
28120            part { name: "left_bt_icon";
28121                repeat_events: 1;
28122                description { state: "default" 0.0;
28123                    rel1.to: "left_bt";
28124                    rel1.offset: 4 4;
28125                    rel2.to: "left_bt";
28126                    rel2.offset: -5 -5;
28127                    align: 0.5 0.5;
28128                    min: 16 16;
28129                    aspect: 1.0 1.0;
28130                    aspect_preference: BOTH;
28131                    image.normal: "sp_bt_l.png";
28132                }
28133                description { state: "rtl" 0.0;
28134                    inherit: "default" 0.0;
28135                    image.normal: "sp_bt_r.png";
28136                }
28137            }
28138            part { name: "right_bt_icon";
28139                repeat_events: 1;
28140                description { state: "default" 0.0;
28141                    rel1.to: "right_bt";
28142                    rel1.offset: 4 4;
28143                    rel2.to: "right_bt";
28144                    rel2.offset: -5 -5;
28145                    align: 0.5 0.5;
28146                    min: 16 16;
28147                    aspect: 1.0 1.0;
28148                    aspect_preference: BOTH;
28149                    image.normal: "sp_bt_r.png";
28150                }
28151                description { state: "rtl" 0.0;
28152                    inherit: "default" 0.0;
28153                    image.normal: "sp_bt_l.png";
28154                }
28155            }
28156            part { name: "elm.text";
28157                type: TEXT;
28158                mouse_events: 0;
28159                scale: 1;
28160                description { state: "default" 0.0;
28161                    visible: 1;
28162                    align: 0.0 0.5;
28163                    rel1 { relative: 1.0 0.0;
28164                        offset: 3 2;
28165                        to_x: "left_bt";
28166                        to_y: "bg";
28167                    }
28168                    rel2 { relative: 0.0 1.0;
28169                        offset: -3 -2;
28170                        to_x: "right_bt";
28171                        to_y: "bg";
28172                    }
28173                    color: 0 0 0 255;
28174                    text {
28175                        font: "Sans,Edje-Vera";
28176                        size: 10;
28177                        min: 1 1;
28178                        align: 0.5 0.5;
28179                    }
28180                }
28181                description { state: "active" 0.0;
28182                    inherit: "default" 0.0;
28183                    visible: 0;
28184                }
28185                description { state: "disabled_active" 0.0;
28186                    inherit: "default" 0.0;
28187                    color: 0 0 0 128;
28188                    color3: 0 0 0 0;
28189                }
28190                description { state: "disabled" 0.0;
28191                    inherit: "default" 0.0;
28192                    color: 0 0 0 128;
28193                    color3: 0 0 0 0;
28194                }
28195            }
28196            part { name: "elm.dragable.slider";
28197                type: RECT;
28198                mouse_events: 0;
28199                scale: 1;
28200                dragable {
28201                    x: 1 1 0;
28202                    y: 0 0 0;
28203                }
28204                description { state: "default" 0.0;
28205                    rel1.to: "bg";
28206                    rel2.to: "bg";
28207                    fixed: 1 1;
28208                    color: 0 0 0 0;
28209                }
28210            }
28211            part { name: "button_events";
28212                type: RECT;
28213                dragable {
28214                    events: "elm.dragable.slider";
28215                }
28216                mouse_events: 1;
28217                description { state: "default" 0.0;
28218                    rel1.to: "elm.text";
28219                    rel2.to: "elm.text";
28220                    color: 0 0 0 0;
28221                }
28222            }
28223            part { name: "elm.swallow.entry";
28224                type: SWALLOW;
28225                description { state: "default" 0.0;
28226                    visible: 0;
28227                    align: 0.5 0.5;
28228                    rel1 { relative: 1.0 0.5;
28229                        offset: 3 2;
28230                        to_x: "left_bt";
28231                        to_y: "bg";
28232                    }
28233                    rel2 { relative: 0.0 0.5;
28234                        offset: -3 -2;
28235                        to_x: "right_bt";
28236                        to_y: "bg";
28237                    }
28238                    fixed: 1 1;
28239                    color: 0 0 0 0;
28240                }
28241                description { state: "active" 0.0;
28242                    inherit: "default" 0.0;
28243                    visible: 1;
28244                    color: 255 255 255 255;
28245                }
28246                description { state: "disabled_active" 0.0;
28247                    inherit: "default" 0.0;
28248                    visible: 0;
28249                }
28250                description { state: "disabled" 0.0;
28251                    inherit: "default" 0.0;
28252                    visible: 0;
28253                }
28254            }
28255            part { name: "disabler";
28256                type: RECT;
28257                description { state: "default" 0.0;
28258                    color: 0 0 0 0;
28259                    visible: 0;
28260                }
28261                description { state: "disabled" 0.0;
28262                    inherit: "default" 0.0;
28263                    visible: 1;
28264                }
28265            }
28266        }
28267        programs {
28268            program { name: "text_show";
28269                signal: "elm,state,text,visible";
28270                source: "elm";
28271                action:  STATE_SET "visible" 0.0;
28272                target: "elm.text";
28273            }
28274            program { name: "text_hide";
28275                signal: "elm,state,text,hidden";
28276                source: "elm";
28277                action:  STATE_SET "default" 0.0;
28278                target: "elm.text";
28279            }
28280            program { name: "dec";
28281                signal: "mouse,down,1";
28282                source: "left_bt";
28283                action: SIGNAL_EMIT "elm,action,decrement,start" "";
28284            }
28285            program { name: "dec2";
28286                signal: "mouse,up,1";
28287                source: "left_bt";
28288                action: SIGNAL_EMIT "elm,action,decrement,stop" "";
28289            }
28290            program { name: "inc";
28291                signal: "mouse,down,1";
28292                source: "right_bt";
28293                action: SIGNAL_EMIT "elm,action,increment,start" "";
28294            }
28295            program { name: "inc2";
28296                signal: "mouse,up,1";
28297                source: "right_bt";
28298                action: SIGNAL_EMIT "elm,action,increment,stop" "";
28299            }
28300            program {
28301                name:   "left_bt_click";
28302                signal: "mouse,down,1";
28303                source: "left_over2";
28304                action: STATE_SET "clicked" 0.0;
28305                target: "left_bt";
28306            }
28307            program {
28308                name:   "left_bt_unclick";
28309                signal: "mouse,up,1";
28310                source: "left_over2";
28311                action: STATE_SET "default" 0.0;
28312                target: "left_bt";
28313            }
28314            program {
28315                name:   "left_bt_click2";
28316                signal: "mouse,down,1";
28317                source: "left_over3";
28318                action: STATE_SET "clicked" 0.0;
28319                target: "left_over3";
28320            }
28321            program {
28322                name:   "left_bt_unclick2";
28323                signal: "mouse,up,1";
28324                source: "left_over3";
28325                action: STATE_SET "default" 0.0;
28326                transition: DECELERATE 0.5;
28327                target: "left_over3";
28328            }
28329            program {
28330                name:   "left_bt_unclick3";
28331                signal: "mouse,up,1";
28332                source: "left_over2";
28333                action: SIGNAL_EMIT "elm,action,click" "";
28334            }
28335            program {
28336                name:   "left_bt_pressed_anim";
28337                signal: "elm,left,anim,activate";
28338                source: "elm";
28339                action: STATE_SET "clicked" 0.0;
28340                target: "left_bt";
28341                target: "left_over3";
28342                after: "left_bt_unpressed_anim";
28343            }
28344            program {
28345                name:   "left_bt_unpressed_anim";
28346                action: STATE_SET "default" 0.0;
28347                transition: DECELERATE 0.5;
28348                target: "left_bt";
28349                target: "left_over3";
28350            }
28351
28352            program {
28353                name:   "right_bt_click";
28354                signal: "mouse,down,1";
28355                source: "right_over2";
28356                action: STATE_SET "clicked" 0.0;
28357                target: "right_bt";
28358            }
28359            program {
28360                name:   "right_bt_unclick";
28361                signal: "mouse,up,1";
28362                source: "right_over2";
28363                action: STATE_SET "default" 0.0;
28364                target: "right_bt";
28365            }
28366            program {
28367                name:   "right_bt_click2";
28368                signal: "mouse,down,1";
28369                source: "right_over3";
28370                action: STATE_SET "clicked" 0.0;
28371                target: "right_over3";
28372            }
28373            program {
28374                name:   "right_bt_unclick2";
28375                signal: "mouse,up,1";
28376                source: "right_over3";
28377                action: STATE_SET "default" 0.0;
28378                transition: DECELERATE 0.5;
28379                target: "right_over3";
28380            }
28381            program {
28382                name:   "right_bt_unclick3";
28383                signal: "mouse,up,1";
28384                source: "right_over2";
28385                action: SIGNAL_EMIT "elm,action,click" "";
28386            }
28387            program {
28388                name:   "right_bt_pressed_anim";
28389                signal: "elm,right,anim,activate";
28390                source: "elm";
28391                action: STATE_SET "clicked" 0.0;
28392                target: "right_bt";
28393                target: "right_over3";
28394                after: "right_bt_unpressed_anim";
28395            }
28396            program {
28397                name:   "right_bt_unpressed_anim";
28398                action: STATE_SET "default" 0.0;
28399                transition: DECELERATE 0.5;
28400                target: "right_bt";
28401                target: "right_over3";
28402            }
28403
28404            program { name: "disable";
28405                signal: "elm,state,disabled";
28406                source: "elm";
28407                action: STATE_SET "disabled" 0.0;
28408                target: "left_bt";
28409                target: "left_over1";
28410                target: "left_over2";
28411                target: "right_bt";
28412                target: "right_over1";
28413                target: "right_over2";
28414                target: "disabler";
28415                after: "disable_text";
28416            }
28417            program { name: "disable_text";
28418                script {
28419                    new st[31];
28420                    new Float:vl;
28421                    get_state(PART:"elm.text", st, 30, vl);
28422                    if (!strcmp(st, "active"))
28423                    set_state(PART:"elm.text", "disabled_active", 0.0);
28424                    else
28425                    set_state(PART:"elm.text", "disabled", 0.0);
28426
28427                    get_state(PART:"elm.swallow.entry", st, 30, vl);
28428                    if (!strcmp(st, "active"))
28429                    set_state(PART:"elm.swallow.entry", "disabled_active", 0.0);
28430                    else
28431                    set_state(PART:"elm.swallow.entry", "disabled", 0.0);
28432                }
28433            }
28434            program { name: "enable";
28435                signal: "elm,state,enabled";
28436                source: "elm";
28437                action: STATE_SET "default" 0.0;
28438                target: "left_bt";
28439                target: "left_over1";
28440                target: "left_over2";
28441                target: "right_bt";
28442                target: "right_over1";
28443                target: "right_over2";
28444                target: "disabler";
28445                after: "enable_text";
28446            }
28447            program { name: "enable_text";
28448                script {
28449                    new st[31];
28450                    new Float:vl;
28451                    get_state(PART:"elm.text", st, 30, vl);
28452                    if (!strcmp(st, "disabled_active"))
28453                    set_state(PART:"elm.text", "active", 0.0);
28454                    else
28455                    set_state(PART:"elm.text", "default", 0.0);
28456
28457                    get_state(PART:"elm.swallow.entry", st, 30, vl);
28458                    if (!strcmp(st, "disabled_active"))
28459                    set_state(PART:"elm.swallow.entry", "active", 0.0);
28460                    else
28461                    set_state(PART:"elm.swallow.entry", "default", 0.0);
28462                }
28463            }
28464            program { name: "active";
28465                signal: "elm,state,active";
28466                source: "elm";
28467                action: STATE_SET "active" 0.0;
28468                target: "elm.text";
28469                target: "elm.swallow.entry";
28470            }
28471            program { name: "inactive";
28472                signal: "elm,state,inactive";
28473                source: "elm";
28474                action: STATE_SET "default" 0.0;
28475                target: "elm.text";
28476                target: "elm.swallow.entry";
28477            }
28478            program { name: "toggle_text";
28479                signal: "mouse,up,1";
28480                source: "button_events";
28481                action: SIGNAL_EMIT "elm,action,entry,toggle" "";
28482            }
28483            program { name: "to_rtl";
28484                signal: "edje,state,rtl";
28485                source: "edje";
28486                action: STATE_SET "rtl" 0.0;
28487                target: "right_bt_icon";
28488                target: "left_bt_icon";
28489            }
28490            program { name: "to_ltr";
28491                signal: "edje,state,ltr";
28492                source: "edje";
28493                action: STATE_SET "default" 0.0;
28494                target: "right_bt_icon";
28495                target: "left_bt_icon";
28496            }
28497        }
28498    }
28499
28500 ///////////////////////////////////////////////////////////////////////////////
28501    group { name: "elm/spinner/base/vertical";
28502        images {
28503            image: "shelf_inset.png" COMP;
28504            image: "bt_hilight.png" COMP;
28505            image: "bt_shine.png" COMP;
28506            image: "bt_glow.png" COMP;
28507            image: "bt_dis_base.png" COMP;
28508            image: "bt_dis_hilight.png" COMP;
28509            image: "up.png" COMP;
28510            image: "down.png" COMP;
28511            image: "bt_spinner_up.png" COMP;
28512            image: "bt_spinner_down.png" COMP;
28513            image: "bt_spinner_hilight.png" COMP;
28514        }
28515        parts {
28516            part { name: "bg";
28517                type: RECT;
28518                description { state: "default" 0.0;
28519                    min: 0 30;
28520                    rel1.offset: 1 1;
28521                    rel2.offset: -2 -2;
28522                    color: 255 255 255 0;
28523                }
28524            }
28525            part { name: "conf_over";
28526                mouse_events:  0;
28527                description { state: "default" 0.0;
28528                    rel1 {
28529                      to: "bg";
28530                      relative: 0.0 0.0;
28531                    }
28532                    rel2 {
28533                       to: "bg";
28534                    }
28535                    image {
28536                        normal: "shelf_inset.png";
28537                        border: 7 7 7 7;
28538                        middle: 0;
28539                    }
28540                    fill.smooth : 0;
28541                }
28542            }
28543            part { name: "down_bt";
28544                mouse_events:  1;
28545                description { state: "default" 0.0;
28546                    fixed: 1 1;
28547                    rel1 {
28548                        to: "up_bt";
28549                        relative: 0 1;
28550                        offset: 0 1;
28551                    }
28552                    rel2 {
28553                        to_y: "bg";
28554                        to_x: "up_bt";
28555                        relative: 1 1;
28556                        offset: -1 -4;
28557                    }
28558                    align: 1.0 0.5;
28559                    min: 24 16;
28560                    image {
28561                        normal: "bt_spinner_down.png";
28562                        border: 6 6 6 6;
28563                    }
28564                    fill.smooth : 0;
28565                }
28566                description { state: "clicked" 0.0;
28567                    inherit: "default" 0.0;
28568                    image.normal: "bt_spinner_down.png";
28569                    image.middle: SOLID;
28570                }
28571                description { state: "disabled" 0.0;
28572                    inherit:  "default" 0.0;
28573                    image {
28574                        normal: "bt_dis_base.png";
28575                        border: 4 4 4 4;
28576                    }
28577                }
28578            }
28579            part { name: "down_over3";
28580                mouse_events: 1;
28581                repeat_events: 1;
28582                description { state: "default" 0.0;
28583                    color: 255 255 255 0;
28584                    rel1.to: "down_bt";
28585                    rel2.to: "down_bt";
28586                    image {
28587                        normal: "bt_glow.png";
28588                        border: 12 12 12 12;
28589                    }
28590                    fill.smooth : 0;
28591                }
28592                description { state: "clicked" 0.0;
28593                    inherit:  "default" 0.0;
28594                    visible: 1;
28595                    color: 255 255 255 255;
28596                }
28597            }
28598            part { name: "up_bt";
28599                mouse_events:  1;
28600                description { state: "default" 0.0;
28601                    fixed: 1 0;
28602                    rel1 { to: "bg";
28603                        relative: 0 0;
28604                        offset: 0 2;
28605                    }
28606                    rel2 { to: "bg";
28607                        relative: 1 0.5;
28608                        offset: -3 0;
28609                    }
28610                    align: 1.0 0.5;
28611                    min: 24 16;
28612                    aspect: 1.5 1.0;
28613                    aspect_preference: BOTH;
28614                    image {
28615                        normal: "bt_spinner_up.png";
28616                        border: 6 6 6 6;
28617                    }
28618                    fill.smooth : 0;
28619                }
28620                description { state: "clicked" 0.0;
28621                    inherit: "default" 0.0;
28622                    image.normal: "bt_spinner_up.png";
28623                    image.middle: SOLID;
28624                }
28625                description { state: "disabled" 0.0;
28626                    inherit:  "default" 0.0;
28627                    image {
28628                        normal: "bt_dis_base.png";
28629                        border: 4 4 4 4;
28630                    }
28631                }
28632            }
28633            part { name: "up_over1";
28634                mouse_events: 0;
28635                description { state: "default" 0.0;
28636                    rel1.to: "up_bt";
28637                    rel2 { to: "up_bt";
28638                        relative: 1.0 0.5;
28639                    }
28640                    image {
28641                        normal: "bt_spinner_hilight.png";
28642                        border: 7 7 7 0;
28643                    }
28644                }
28645                description { state: "disabled" 0.0;
28646                    inherit:  "default" 0.0;
28647                    image {
28648                        normal: "bt_dis_hilight.png";
28649                        border: 4 4 4 0;
28650                    }
28651                }
28652            }
28653            part { name: "up_over3";
28654                mouse_events: 1;
28655                repeat_events: 1;
28656                description { state: "default" 0.0;
28657                    color: 255 255 255 0;
28658                    rel1.to: "up_bt";
28659                    rel2.to: "up_bt";
28660                    image {
28661                        normal: "bt_glow.png";
28662                        border: 12 12 12 12;
28663                    }
28664                    fill.smooth : 0;
28665                }
28666                description { state: "clicked" 0.0;
28667                    inherit:  "default" 0.0;
28668                    visible: 1;
28669                    color: 255 255 255 255;
28670                }
28671            }
28672            part { name: "down_bt_icon";
28673                repeat_events: 1;
28674                description { state: "default" 0.0;
28675                    rel1.to: "down_bt";
28676                    rel1.offset: 5 3;
28677                    rel2.to: "down_bt";
28678                    rel2.offset: -6 -3;
28679                    align: 0.5 0.5;
28680                    image.normal: "down.png";
28681                }
28682            }
28683            part { name: "up_bt_icon";
28684                repeat_events: 1;
28685                description { state: "default" 0.0;
28686                    rel1.to: "up_bt";
28687                    rel1.offset: 5 3;
28688                    rel2.to: "up_bt";
28689                    rel2.offset: -6 -3;
28690                    align: 0.5 0.5;
28691                    image.normal: "up.png";
28692                }
28693            }
28694            part { name: "elm.text";
28695                type: TEXT;
28696                mouse_events: 0;
28697                scale: 1;
28698                description { state: "default" 0.0;
28699                    visible: 1;
28700                    align: 0.0 0.5;
28701                    rel1 { relative: 0.0 0.0;
28702                        offset: 3 2;
28703                        to_x: "bg";
28704                        to_y: "bg";
28705                    }
28706                    rel2 { relative: 0.0 1.0;
28707                        offset: -3 -2;
28708                        to_x: "down_bt";
28709                        to_y: "bg";
28710                    }
28711                    color: 0 0 0 255;
28712                    text {
28713                        font: "Sans,Edje-Vera";
28714                        size: 10;
28715                        min: 1 1;
28716                        align: 0.5 0.5;
28717                    }
28718                }
28719                description { state: "active" 0.0;
28720                    inherit: "default" 0.0;
28721                    visible: 0;
28722                }
28723                description { state: "disabled_active" 0.0;
28724                    inherit: "default" 0.0;
28725                    color: 0 0 0 128;
28726                    color3: 0 0 0 0;
28727                }
28728                description { state: "disabled" 0.0;
28729                    inherit: "default" 0.0;
28730                    color: 0 0 0 128;
28731                    color3: 0 0 0 0;
28732                }
28733            }
28734            part { name: "elm.dragable.slider";
28735                type: RECT;
28736                mouse_events: 0;
28737                scale: 1;
28738                dragable {
28739                    x: 1 1 0;
28740                    y: 0 0 0;
28741                }
28742                description { state: "default" 0.0;
28743                    rel1.to: "bg";
28744                    rel2.to: "bg";
28745                    fixed: 1 1;
28746                    color: 0 0 0 0;
28747                }
28748            }
28749            part { name: "button_events";
28750                type: RECT;
28751                dragable {
28752                    events: "elm.dragable.slider";
28753                }
28754                mouse_events: 1;
28755                description { state: "default" 0.0;
28756                    rel1.to: "elm.text";
28757                    rel2.to: "elm.text";
28758                    color: 0 0 0 0;
28759                }
28760            }
28761            part { name: "elm.swallow.entry";
28762                type: SWALLOW;
28763                description { state: "default" 0.0;
28764                    visible: 0;
28765                    align: 0.5 0.5;
28766                    rel1 { relative: 0.0 0.5;
28767                        offset: 3 2;
28768                        to: "bg";
28769                    }
28770                    rel2 { relative: 1.0 0.5;
28771                        offset: -3 -2;
28772                        to: "bg";
28773                    }
28774                    fixed: 1 1;
28775                    color: 0 0 0 0;
28776                }
28777                description { state: "active" 0.0;
28778                    inherit: "default" 0.0;
28779                    visible: 1;
28780                    color: 255 255 255 255;
28781                }
28782                description { state: "disabled_active" 0.0;
28783                    inherit: "default" 0.0;
28784                    visible: 0;
28785                }
28786                description { state: "disabled" 0.0;
28787                    inherit: "default" 0.0;
28788                    visible: 0;
28789                }
28790            }
28791            part { name: "disabler";
28792                type: RECT;
28793                description { state: "default" 0.0;
28794                    color: 0 0 0 0;
28795                    visible: 0;
28796                }
28797                description { state: "disabled" 0.0;
28798                    inherit: "default" 0.0;
28799                    visible: 1;
28800                }
28801            }
28802        }
28803        programs {
28804            program { name: "text_show";
28805                signal: "elm,state,text,visible";
28806                source: "elm";
28807                action:  STATE_SET "visible" 0.0;
28808                target: "elm.text";
28809            }
28810            program { name: "text_hide";
28811                signal: "elm,state,text,hidden";
28812                source: "elm";
28813                action:  STATE_SET "default" 0.0;
28814                target: "elm.text";
28815            }
28816            program { name: "dec";
28817                signal: "mouse,down,1";
28818                source: "down_bt";
28819                action: SIGNAL_EMIT "elm,action,decrement,start" "";
28820            }
28821            program { name: "dec2";
28822                signal: "mouse,up,1";
28823                source: "down_bt";
28824                action: SIGNAL_EMIT "elm,action,decrement,stop" "";
28825            }
28826            program { name: "inc";
28827                signal: "mouse,down,1";
28828                source: "up_bt";
28829                action: SIGNAL_EMIT "elm,action,increment,start" "";
28830            }
28831            program { name: "inc2";
28832                signal: "mouse,up,1";
28833                source: "up_bt";
28834                action: SIGNAL_EMIT "elm,action,increment,stop" "";
28835            }
28836            program {
28837                name:   "down_bt_click2";
28838                signal: "mouse,down,1";
28839                source: "down_over3";
28840                action: STATE_SET "clicked" 0.0;
28841                target: "down_over3";
28842            }
28843            program {
28844                name:   "down_bt_unclick2";
28845                signal: "mouse,up,1";
28846                source: "down_over3";
28847                action: STATE_SET "default" 0.0;
28848                transition: DECELERATE 0.5;
28849                target: "down_over3";
28850            }
28851            program {
28852                name:   "up_bt_click2";
28853                signal: "mouse,down,1";
28854                source: "up_over3";
28855                action: STATE_SET "clicked" 0.0;
28856                target: "up_over3";
28857            }
28858            program {
28859                name:   "up_bt_unclick2";
28860                signal: "mouse,up,1";
28861                source: "up_over3";
28862                action: STATE_SET "default" 0.0;
28863                transition: DECELERATE 0.5;
28864                target: "up_over3";
28865            }
28866            program { name: "disable";
28867                signal: "elm,state,disabled";
28868                source: "elm";
28869                action: STATE_SET "disabled" 0.0;
28870                target: "down_bt";
28871                target: "up_bt";
28872                target: "disabler";
28873                after: "disable_text";
28874            }
28875            program { name: "disable_text";
28876                script {
28877                    new st[31];
28878                    new Float:vl;
28879                    get_state(PART:"elm.text", st, 30, vl);
28880                    if (!strcmp(st, "active"))
28881                    set_state(PART:"elm.text", "disabled_active", 0.0);
28882                    else
28883                    set_state(PART:"elm.text", "disabled", 0.0);
28884
28885                    get_state(PART:"elm.swallow.entry", st, 30, vl);
28886                    if (!strcmp(st, "active"))
28887                    set_state(PART:"elm.swallow.entry", "disabled_active", 0.0);
28888                    else
28889                    set_state(PART:"elm.swallow.entry", "disabled", 0.0);
28890                }
28891            }
28892            program { name: "enable";
28893                signal: "elm,state,enabled";
28894                source: "elm";
28895                action: STATE_SET "default" 0.0;
28896                target: "down_bt";
28897                target: "up_bt";
28898                target: "disabler";
28899                after: "enable_text";
28900            }
28901            program { name: "enable_text";
28902                script {
28903                    new st[31];
28904                    new Float:vl;
28905                    get_state(PART:"elm.text", st, 30, vl);
28906                    if (!strcmp(st, "disabled_active"))
28907                    set_state(PART:"elm.text", "active", 0.0);
28908                    else
28909                    set_state(PART:"elm.text", "default", 0.0);
28910
28911                    get_state(PART:"elm.swallow.entry", st, 30, vl);
28912                    if (!strcmp(st, "disabled_active"))
28913                    set_state(PART:"elm.swallow.entry", "active", 0.0);
28914                    else
28915                    set_state(PART:"elm.swallow.entry", "default", 0.0);
28916                }
28917            }
28918            program { name: "active";
28919                signal: "elm,state,active";
28920                source: "elm";
28921                action: STATE_SET "active" 0.0;
28922                target: "elm.text";
28923                target: "elm.swallow.entry";
28924            }
28925            program { name: "inactive";
28926                signal: "elm,state,inactive";
28927                source: "elm";
28928                action: STATE_SET "default" 0.0;
28929                target: "elm.text";
28930                target: "elm.swallow.entry";
28931            }
28932            program { name: "toggle_text";
28933                signal: "mouse,up,1";
28934                source: "button_events";
28935                action: SIGNAL_EMIT "elm,action,entry,toggle" "";
28936            }
28937        }
28938    }
28939
28940
28941    ///////////////////////////////////////////////////////////////////////////////
28942    group { name: "elm/index/base/vertical/default";
28943        images {
28944            image: "bt_base1.png" COMP;
28945            image: "bt_base2.png" COMP;
28946            image: "bt_hilight.png" COMP;
28947            image: "bt_shine.png" COMP;
28948        }
28949        parts {
28950            part { name: "clip";
28951                type: RECT;
28952                mouse_events:  0;
28953                description { state: "default" 0.0;
28954                    visible:  0;
28955                    color: 255 255 255 0;
28956                }
28957                description { state: "active" 0.0;
28958                    visible:  1;
28959                    color: 255 255 255 255;
28960                }
28961            }
28962            part { name: "clip2";
28963                type: RECT;
28964                mouse_events:  0;
28965                clip_to: "clip";
28966                description { state: "default" 0.0;
28967                    visible: 0;
28968                    color: 255 255 255 0;
28969                }
28970                description { state: "active" 0.0;
28971                    visible:  1;
28972                    color: 255 255 255 255;
28973                }
28974            }
28975            part { name: "elm.swallow.index.0";
28976                type: SWALLOW;
28977                clip_to: "clip";
28978                description { state: "default" 0.0;
28979                    align: 1.0 0.5;
28980                    fixed: 1 1;
28981                    rel1 {
28982                        relative: 1.0 0.5;
28983                        offset: -1 5;
28984                    }
28985                    rel2 {
28986                        relative: 1.0 0.5;
28987                        offset: -1 -6;
28988                    }
28989                }
28990            }
28991            part { name: "button_image";
28992                mouse_events: 1;
28993                clip_to: "clip";
28994                description { state: "default" 0.0;
28995                    rel1 {
28996                        to: "elm.text.body";
28997                        offset: -5 -5;
28998                    }
28999                    rel2 {
29000                        to: "elm.text";
29001                        offset: 4 4;
29002                    }
29003                    image {
29004                        normal: "bt_base2.png";
29005                        border: 7 7 7 7;
29006                    }
29007                    image.middle: SOLID;
29008                }
29009            }
29010            part { name: "elm.text.body";
29011                type: TEXT;
29012                effect: SOFT_SHADOW;
29013                mouse_events: 0;
29014                scale: 1;
29015                clip_to: "clip";
29016                description { state: "default" 0.0;
29017                    align: 1.0 0.5;
29018                    fixed: 1 1;
29019                    rel1 {
29020                        to: "elm.text";
29021                        relative: 0.0 0.0;
29022                        offset: 5 0;
29023                    }
29024                    rel2 {
29025                        to: "elm.text";
29026                        relative: 0.0 1.0;
29027                        offset: 5 -1;
29028                    }
29029                    color: 224 224 224 255;
29030                    color3: 0 0 0 64;
29031                    text {
29032                        font:     "Sans,Edje-Vera";
29033                        size:     20;
29034                        min:      1 1;
29035                        align:    1.0 0.5;
29036                    }
29037                }
29038            }
29039            part { name: "elm.text";
29040                type: TEXT;
29041                effect: SOFT_SHADOW;
29042                mouse_events: 0;
29043                scale: 1;
29044                clip_to: "clip";
29045                description { state: "default" 0.0;
29046                    align: 1.0 0.5;
29047                    fixed: 1 1;
29048                    rel1 {
29049                        to_x: "elm.swallow.event.0";
29050                        to_y: "elm.dragable.pointer";
29051                        relative: 0.0 0.5;
29052                        offset: -16 0;
29053                    }
29054                    rel2 {
29055                        to_x: "elm.swallow.event.0";
29056                        to_y: "elm.dragable.pointer";
29057                        relative: 0.0 0.5;
29058                        offset: -16 -1;
29059                    }
29060                    color: 255 0 0 255;
29061                    color3: 0 0 0 64;
29062                    text {
29063                        font:     "Sans,Edje-Vera";
29064                        size:     20;
29065                        min:      1 1;
29066                        align:    1.0 0.5;
29067                    }
29068                }
29069            }
29070            part {        name: "over1";
29071                mouse_events: 0;
29072                clip_to: "clip";
29073                description { state: "default" 0.0;
29074                    rel1 {
29075                        to: "button_image";
29076                    }
29077                    rel2 {
29078                        to: "button_image";
29079                        relative: 1.0 0.5;
29080                    }
29081                    image {
29082                        normal: "bt_hilight.png";
29083                        border: 7 7 7 0;
29084                    }
29085                }
29086            }
29087            part { name: "over2";
29088                mouse_events: 1;
29089                repeat_events: 1;
29090                ignore_flags: ON_HOLD;
29091                clip_to: "clip";
29092                description { state: "default" 0.0;
29093                    rel1 {
29094                        to: "button_image";
29095                    }
29096                    rel2 {
29097                        to: "button_image";
29098                    }
29099                    image {
29100                        normal: "bt_shine.png";
29101                        border: 7 7 7 7;
29102                    }
29103                }
29104            }
29105            part { name: "elm.dragable.pointer";
29106                type: RECT;
29107                mouse_events: 0;
29108                dragable {
29109                    x: 1 1 0;
29110                    y: 1 1 0;
29111                }
29112                clip_to: "clip";
29113                description { state: "default" 0.0;
29114                    fixed: 1 1;
29115                    min: 8 8;
29116                    max: 8 8;
29117                    rel1 {
29118                        relative: 0.0 0.0;
29119                        offset:   0 0;
29120                    }
29121                    rel2 {
29122                        relative: 0.0 0.0;
29123                        offset:   0 0;
29124                    }
29125                    color: 0 0 255 128;
29126                }
29127            }
29128            part { name: "elm.swallow.event.0";
29129                type: SWALLOW;
29130                description { state: "default" 0.0;
29131                    align: 1.0 0.5;
29132                    fixed: 1 1;
29133                    rel1 {
29134                        relative: 1.0 0.0;
29135                        offset: -1 0;
29136                    }
29137                    rel2 {
29138                        relative: 1.0 1.0;
29139                        offset: -1 -1;
29140                    }
29141                }
29142            }
29143        }
29144        programs {
29145            program { name: "active";
29146                signal: "elm,state,active";
29147                source: "elm";
29148                action: STATE_SET "active" 0.0;
29149                transition: DECELERATE 0.5;
29150                target: "clip";
29151            }
29152            program { name: "inactive";
29153                signal: "elm,state,inactive";
29154                source: "elm";
29155                action: STATE_SET "default" 0.0;
29156                transition: DECELERATE 0.5;
29157                target: "clip";
29158            }
29159        }
29160    }
29161
29162    group { name: "elm/index/item/vertical/default";
29163        data.item: "stacking" "above";
29164        data.item: "selectraise" "on";
29165        images {
29166            image: "ilist_1.png" COMP;
29167            image: "ilist_item_shadow.png" COMP;
29168        }
29169        parts {
29170            part {
29171                name: "base_sh";
29172                mouse_events: 0;
29173                description {
29174                    state: "default" 0.0;
29175                    align: 0.0 0.0;
29176                    min: 0 10;
29177                    fixed: 1 1;
29178                    rel1 {
29179                        to: "base";
29180                        relative: 0.0 1.0;
29181                        offset: 0 0;
29182                    }
29183                    rel2 {
29184                        to: "base";
29185                        relative: 1.0 1.0;
29186                        offset: -1 0;
29187                    }
29188                    image {
29189                        normal: "ilist_item_shadow.png";
29190                    }
29191                    fill.smooth: 0;
29192                }
29193            }
29194            part {
29195                name: "base";
29196                mouse_events: 0;
29197                description {
29198                    state: "default" 0.0;
29199                    image {
29200                        normal: "ilist_1.png";
29201                        border: 2 2 2 2;
29202                    }
29203                    fill.smooth: 0;
29204                }
29205                description { state: "active" 0.0;
29206                    inherit: "default" 0.0;
29207                    rel1 {
29208                        offset: -16 0;
29209                    }
29210                }
29211            }
29212            part { name: "elm.text";
29213                type:           TEXT;
29214                mouse_events:   0;
29215                scale: 1;
29216                description {
29217                    state: "default" 0.0;
29218                           //               min: 16 16;
29219                    rel1 {
29220                        to: "base";
29221                        relative: 0.0  0.0;
29222                        offset:   4 4;
29223                    }
29224                    rel2 {
29225                        to: "base";
29226                        relative: 0.5  1.0;
29227                        offset:   -1 -1;
29228                    }
29229                    color: 0 0 0 128;
29230                    text {
29231                        font: "Sans";
29232                        size: 10;
29233                        min: 1 1;
29234                             //                  min: 0 1;
29235                        align: 0.5 0.5;
29236                    }
29237                }
29238                description { state: "active" 0.0;
29239                    inherit: "default" 0.0;
29240                    color: 0 0 0 255;
29241                }
29242            }
29243        }
29244        programs {
29245            program { name: "active";
29246                signal: "elm,state,active";
29247                source: "elm";
29248                action: STATE_SET "active" 0.0;
29249                transition: DECELERATE 0.5;
29250                target: "elm.text";
29251                target: "base";
29252            }
29253            program { name: "inactive";
29254                signal: "elm,state,inactive";
29255                source: "elm";
29256                action: STATE_SET "default" 0.0;
29257                transition: DECELERATE 0.5;
29258                target: "elm.text";
29259                target: "base";
29260            }
29261        }
29262    }
29263
29264    group { name: "elm/index/item_odd/vertical/default";
29265        data.item: "stacking" "below";
29266        images {
29267            image: "ilist_2.png" COMP;
29268        }
29269        parts {
29270            part {
29271                name: "base";
29272                mouse_events: 0;
29273                description {
29274                    state: "default" 0.0;
29275                    image {
29276                        normal: "ilist_2.png";
29277                        border: 2 2 2 2;
29278                    }
29279                    fill.smooth: 0;
29280                }
29281                description { state: "active" 0.0;
29282                    inherit: "default" 0.0;
29283                    rel1 {
29284                        offset: -16 0;
29285                    }
29286                }
29287            }
29288            part { name: "elm.text";
29289                type:           TEXT;
29290                mouse_events:   0;
29291                scale: 1;
29292                description {
29293                    state: "default" 0.0;
29294                           //               min: 16 16;
29295                    rel1 {
29296                        to: "base";
29297                        relative: 0.0  0.0;
29298                        offset:   4 4;
29299                    }
29300                    rel2 {
29301                        to: "base";
29302                        relative: 0.5  1.0;
29303                        offset:   -1 -1;
29304                    }
29305                    color: 0 0 0 128;
29306                    text {
29307                        font: "Sans";
29308                        size: 10;
29309                        min: 1 1;
29310                             //                  min: 0 1;
29311                        align: 0.5 0.5;
29312                    }
29313                }
29314                description { state: "active" 0.0;
29315                    inherit: "default" 0.0;
29316                    color: 0 0 0 255;
29317                }
29318            }
29319        }
29320        programs {
29321            program { name: "active";
29322                signal: "elm,state,active";
29323                source: "elm";
29324                action: STATE_SET "active" 0.0;
29325                transition: DECELERATE 0.5;
29326                target: "elm.text";
29327                target: "base";
29328            }
29329            program { name: "inactive";
29330                signal: "elm,state,inactive";
29331                source: "elm";
29332                action: STATE_SET "default" 0.0;
29333                transition: DECELERATE 0.5;
29334                target: "elm.text";
29335                target: "base";
29336            }
29337        }
29338    }
29339
29340 ///////////////////////////////////////////////////////////////////////////////
29341    group { name: "elm/gengrid/item/default/default";
29342       data.item: "labels" "elm.text";
29343       data.item: "icons" "elm.swallow.icon elm.swallow.end";
29344       images {
29345          image: "bt_sm_base1.png" COMP;
29346          image: "bt_sm_shine.png" COMP;
29347          image: "bt_sm_hilight.png" COMP;
29348          image: "ilist_1.png" COMP;
29349          image: "ilist_item_shadow.png" COMP;
29350       }
29351       parts {
29352          part { name: "event";
29353             type: RECT;
29354             repeat_events: 1;
29355             description {
29356                state: "default" 0.0;
29357                color: 0 0 0 0;
29358             }
29359          }
29360          part { name: "base_sh";
29361             mouse_events: 0;
29362             description { state: "default" 0.0;
29363                align: 0.0 0.0;
29364                min: 0 10;
29365                fixed: 1 1;
29366                rel1 {
29367                   to: "base";
29368                   relative: 0.0 1.0;
29369                   offset: 0 0;
29370                }
29371                rel2 {
29372                   to: "base";
29373                   relative: 1.0 1.0;
29374                   offset: -1 0;
29375                }
29376                image {
29377                   normal: "ilist_item_shadow.png";
29378                }
29379                fill.smooth: 0;
29380             }
29381          }
29382          part { name: "base";
29383             mouse_events: 0;
29384             description { state: "default" 0.0;
29385                image {
29386                   normal: "ilist_1.png";
29387                   border: 2 2 2 2;
29388                }
29389                fill.smooth: 0;
29390             }
29391          }
29392          part { name: "bg";
29393             clip_to: "disclip";
29394             mouse_events: 0;
29395             description { state: "default" 0.0;
29396                visible: 0;
29397                color: 255 255 255 0;
29398                rel1 {
29399                   relative: 0.0 0.0;
29400                   offset: -5 -5;
29401                }
29402                rel2 {
29403                   relative: 1.0 1.0;
29404                   offset: 4 4;
29405                }
29406                image {
29407                   normal: "bt_sm_base1.png";
29408                   border: 6 6 6 6;
29409                }
29410                image.middle: SOLID;
29411             }
29412             description { state: "selected" 0.0;
29413                inherit: "default" 0.0;
29414                visible: 1;
29415                color: 255 255 255 255;
29416                rel1 {
29417                   relative: 0.0 0.0;
29418                   offset: -2 -2;
29419                }
29420                rel2 {
29421                   relative: 1.0 1.0;
29422                   offset: 1 1;
29423                }
29424             }
29425          }
29426          part { name: "elm.swallow.pad";
29427             type: SWALLOW;
29428             description { state: "default" 0.0;
29429                fixed: 1 0;
29430                align: 0.0 0.5;
29431                rel1 {
29432                   relative: 0.0  1.0;
29433                   offset:   0    -10;
29434                }
29435                rel2 {
29436                   to_y: "elm.text";
29437                   relative: 0.0  0.0;
29438                   offset:   -1   -1;
29439                }
29440             }
29441          }
29442          part { name: "elm.swallow.icon";
29443             clip_to: "disclip";
29444             type: SWALLOW;
29445             description { state: "default" 0.0;
29446                fixed: 1 0;
29447                align: 0.5 0.5;
29448                rel1 {
29449                   relative: 0.0  0.0;
29450                   offset:   -1    4;
29451                }
29452                rel2 {
29453                   to_y: "elm.swallow.pad";
29454                   relative: 1.0  0.0;
29455                   offset:   -1   -5;
29456                }
29457             }
29458          }
29459          part { name: "elm.swallow.end";
29460             clip_to: "disclip";
29461             type: SWALLOW;
29462             description { state: "default" 0.0;
29463                fixed: 1 0;
29464                align: 1.0 0.0;
29465                aspect: 1.0 1.0;
29466                aspect_preference: HORIZONTAL;
29467                rel1 {
29468                   relative: 1.0 0.0;
29469                   offset: -5 -5;
29470                }
29471                rel2 {
29472                   relative: 1.0 1.0;
29473                   offset: 5 5;
29474                }
29475             }
29476          }
29477          part { name: "elm.text";
29478             clip_to: "disclip";
29479             type: TEXT;
29480             effect: SOFT_SHADOW;
29481             mouse_events: 0;
29482             scale: 1;
29483             description { state: "default" 0.0;
29484                rel1 {
29485                   relative: 0.0  1.0;
29486                   offset: 0 0;
29487                }
29488                rel2 {
29489                   relative: 1.0  1.0;
29490                   offset: -5 -5;
29491                }
29492                color: 0 0 0 255;
29493                color3: 0 0 0 0;
29494                text {
29495                   font: "Sans";
29496                   size: 10;
29497                   min: 0 1;
29498                   align: 0.5 0.0;
29499                   text_class: "grid_item";
29500                }
29501             }
29502             description { state: "selected" 0.0;
29503                inherit: "default" 0.0;
29504                color: 224 224 224 255;
29505                color3: 0 0 0 64;
29506             }
29507          }
29508          part { name: "fg1";
29509             clip_to: "disclip";
29510             mouse_events: 0;
29511             description { state: "default" 0.0;
29512                visible: 0;
29513                color: 255 255 255 0;
29514                rel1.to: "bg";
29515                rel2.relative: 1.0 0.5;
29516                rel2.to: "bg";
29517                image {
29518                   normal: "bt_sm_hilight.png";
29519                   border: 6 6 6 0;
29520                }
29521             }
29522             description { state: "selected" 0.0;
29523                inherit: "default" 0.0;
29524                visible: 1;
29525                color: 255 255 255 255;
29526             }
29527          }
29528          part { name: "fg2";
29529             clip_to: "disclip";
29530             mouse_events: 0;
29531             description { state: "default" 0.0;
29532                visible: 0;
29533                color: 255 255 255 0;
29534                rel1.to: "bg";
29535                rel2.to: "bg";
29536                image {
29537                   normal: "bt_sm_shine.png";
29538                   border: 6 6 6 0;
29539                }
29540             }
29541             description { state: "selected" 0.0;
29542                inherit: "default" 0.0;
29543                visible: 1;
29544                color: 255 255 255 255;
29545             }
29546          }
29547          part { name: "disclip";
29548             type: RECT;
29549             description { state: "default" 0.0;
29550                rel1.to: "bg";
29551                rel2.to: "bg";
29552             }
29553             description { state: "disabled" 0.0;
29554                inherit: "default" 0.0;
29555                color: 255 255 255 64;
29556             }
29557          }
29558       }
29559       programs {
29560          // signal: elm,state,%s,active
29561          //   a "check" item named %s went active
29562          // signal: elm,state,%s,passive
29563          //   a "check" item named %s went passive
29564          // default is passive
29565          program { name:    "go_active";
29566             signal:  "elm,state,selected";
29567             source:  "elm";
29568             action:  STATE_SET "selected" 0.0;
29569             target:  "bg";
29570             target:  "fg1";
29571             target:  "fg2";
29572             target:  "elm.text";
29573          }
29574          program { name:    "go_passive";
29575             signal:  "elm,state,unselected";
29576             source:  "elm";
29577             action:  STATE_SET "default" 0.0;
29578             target:  "bg";
29579             target:  "fg1";
29580             target:  "fg2";
29581             target:  "elm.text";
29582             transition: LINEAR 0.1;
29583          }
29584          program { name:    "go_disabled";
29585             signal:  "elm,state,disabled";
29586             source:  "elm";
29587             action:  STATE_SET "disabled" 0.0;
29588             target:  "disclip";
29589          }
29590          program { name:    "go_enabled";
29591             signal:  "elm,state,enabled";
29592             source:  "elm";
29593             action:  STATE_SET "default" 0.0;
29594             target:  "disclip";
29595          }
29596       }
29597    }
29598    group { name: "elm/gengrid/item/default_style/default";
29599        styles
29600        {
29601            style { name: "gengrid_style";
29602                base: "font=Sans font_size=10 align=left valign=0.5 color=#000 text_class=grid_item";
29603                tag:  "br" "\n";
29604                tag:  "ps" "ps";
29605                tag:  "hilight" "+ font=Sans:style=Bold";
29606                tag:  "b" "+ font=Sans:style=Bold";
29607                tag:  "tab" "\t";
29608            }
29609            style { name: "gengrid_selected_style";
29610                base: "font=Sans font_size=10 align=left valign=0.5 color=#fff text_class=grid_item";
29611                tag:  "br" "\n";
29612                tag:  "ps" "ps";
29613                tag:  "hilight" "+ font=Sans:style=Bold";
29614                tag:  "b" "+ font=Sans:style=Bold";
29615                tag:  "tab" "\t";
29616            }
29617        }
29618        data.item: "labels" "elm.text";
29619        data.item: "icons" "elm.swallow.icon elm.swallow.end";
29620        images {
29621            image: "bt_sm_base1.png" COMP;
29622            image: "bt_sm_shine.png" COMP;
29623            image: "bt_sm_hilight.png" COMP;
29624            image: "ilist_1.png" COMP;
29625            image: "ilist_item_shadow.png" COMP;
29626        }
29627        parts {
29628            part { name: "event";
29629                type: RECT;
29630                repeat_events: 1;
29631                description { state: "default" 0.0;
29632                    color: 0 0 0 0;
29633                }
29634            }
29635            part { name: "base_sh";
29636                mouse_events: 0;
29637                description { state: "default" 0.0;
29638                    align: 0.0 0.0;
29639                    min: 0 10;
29640                    fixed: 1 1;
29641                    rel1 {
29642                        to: "base";
29643                        relative: 0.0 1.0;
29644                        offset: 0 0;
29645                    }
29646                    rel2 {
29647                        to: "base";
29648                        relative: 1.0 1.0;
29649                        offset: -1 0;
29650                    }
29651                    image {
29652                        normal: "ilist_item_shadow.png";
29653                    }
29654                    fill.smooth: 0;
29655                }
29656            }
29657            part { name: "base";
29658                mouse_events: 0;
29659                description { state: "default" 0.0;
29660                    min: 16 28;
29661                    image {
29662                        normal: "ilist_1.png";
29663                        border: 2 2 2 2;
29664                    }
29665                    fill.smooth: 0;
29666                }
29667            }
29668            part { name: "bg";
29669                clip_to: "disclip";
29670                mouse_events: 0;
29671                description { state: "default" 0.0;
29672                    visible: 0;
29673                    color: 255 255 255 0;
29674                    rel1 {
29675                        relative: 0.0 0.0;
29676                        offset: -5 -5;
29677                    }
29678                    rel2 {
29679                        relative: 1.0 1.0;
29680                        offset: 4 4;
29681                    }
29682                    image {
29683                        normal: "bt_sm_base1.png";
29684                        border: 6 6 6 6;
29685                    }
29686                    image.middle: SOLID;
29687                }
29688                description { state: "selected" 0.0;
29689                    inherit: "default" 0.0;
29690                    visible: 1;
29691                    color: 255 255 255 255;
29692                    rel1 {
29693                        relative: 0.0 0.0;
29694                        offset: -2 -2;
29695                    }
29696                    rel2 {
29697                        relative: 1.0 1.0;
29698                        offset: 1 1;
29699                    }
29700                }
29701            }
29702            part { name: "elm.swallow.pad";
29703                type: SWALLOW;
29704                description { state: "default" 0.0;
29705                    fixed: 1 0;
29706                    align: 0.0 0.5;
29707                    rel1 {
29708                        relative: 0.0  0.0;
29709                        offset:   4    4;
29710                    }
29711                    rel2 {
29712                        relative: 0.0  1.0;
29713                        offset:   4   -5;
29714                    }
29715                }
29716            }
29717            part { name: "elm.swallow.icon";
29718                clip_to: "disclip";
29719                type: SWALLOW;
29720                description { state: "default" 0.0;
29721                    fixed: 1 0;
29722                    align: 0.0 0.5;
29723                    rel1 {
29724                        to_x: "elm.swallow.pad";
29725                        relative: 1.0  0.0;
29726                        offset:   -1    4;
29727                    }
29728                    rel2 {
29729                        to_x: "elm.swallow.pad";
29730                        relative: 1.0  1.0;
29731                        offset:   -1   -5;
29732                    }
29733                }
29734            }
29735            part { name: "elm.swallow.end";
29736                clip_to: "disclip";
29737                type: SWALLOW;
29738                description { state: "default" 0.0;
29739                    fixed: 1 0;
29740                    align: 1.0 0.5;
29741                    aspect: 1.0 1.0;
29742                    aspect_preference: VERTICAL;
29743                    rel1 {
29744                        relative: 1.0  0.0;
29745                        offset:   -5    4;
29746                    }
29747                    rel2 {
29748                        relative: 1.0  1.0;
29749                        offset:   -5   -5;
29750                    }
29751                }
29752            }
29753            part { name: "elm.text";
29754                clip_to: "disclip";
29755                type: TEXTBLOCK;
29756                mouse_events: 0;
29757                scale: 1;
29758                description {
29759                    state: "default" 0.0;
29760                    align: 0.0 0.5;
29761                    fixed: 0 1;
29762                    rel1 {
29763                        to_x: "elm.swallow.icon";
29764                        to_y: "base";
29765                        relative: 1.0  0.5;
29766                        offset:   0 4;
29767                    }
29768                    rel2 {
29769                        to_x: "elm.swallow.end";
29770                        to_y: "base";
29771                        relative: 0.0  0.5;
29772                        offset:   -1 -5;
29773                    }
29774                    text {
29775                        style: "gengrid_style";
29776                        min: 1 1;
29777                    }
29778                }
29779                description { state: "selected" 0.0;
29780                    inherit: "default" 0.0;
29781                    text {
29782                        style: "gengrid_selected_style";
29783                    }
29784                }
29785            }
29786            part { name: "fg1";
29787                clip_to: "disclip";
29788                mouse_events: 0;
29789                description { state: "default" 0.0;
29790                    visible: 0;
29791                    color: 255 255 255 0;
29792                    rel1.to: "bg";
29793                    rel2.relative: 1.0 0.5;
29794                    rel2.to: "bg";
29795                    image {
29796                        normal: "bt_sm_hilight.png";
29797                        border: 6 6 6 0;
29798                    }
29799                }
29800                description { state: "selected" 0.0;
29801                    inherit: "default" 0.0;
29802                    visible: 1;
29803                    color: 255 255 255 255;
29804                }
29805            }
29806            part { name: "fg2";
29807                clip_to: "disclip";
29808                mouse_events: 0;
29809                description { state: "default" 0.0;
29810                    visible: 0;
29811                    color: 255 255 255 0;
29812                    rel1.to: "bg";
29813                    rel2.to: "bg";
29814                    image {
29815                        normal: "bt_sm_shine.png";
29816                        border: 6 6 6 0;
29817                    }
29818                }
29819                description { state: "selected" 0.0;
29820                    inherit: "default" 0.0;
29821                    visible: 1;
29822                    color: 255 255 255 255;
29823                }
29824            }
29825            part { name: "disclip";
29826                type: RECT;
29827                description { state: "default" 0.0;
29828                    rel1.to: "bg";
29829                    rel2.to: "bg";
29830                }
29831                description { state: "disabled" 0.0;
29832                    inherit: "default" 0.0;
29833                    color: 255 255 255 64;
29834                }
29835            }
29836        }
29837        programs {
29838            // signal: elm,state,%s,active
29839            //   a "check" item named %s went active
29840            // signal: elm,state,%s,passive
29841            //   a "check" item named %s went passive
29842            // default is passive
29843            program { name:    "go_active";
29844                signal:  "elm,state,selected";
29845                source:  "elm";
29846                action:  STATE_SET "selected" 0.0;
29847                target:  "bg";
29848                target:  "fg1";
29849                target:  "fg2";
29850                target:  "elm.text";
29851            }
29852            program { name:    "go_passive";
29853                signal:  "elm,state,unselected";
29854                source:  "elm";
29855                action:  STATE_SET "default" 0.0;
29856                target:  "bg";
29857                target:  "fg1";
29858                target:  "fg2";
29859                target:  "elm.text";
29860                transition: LINEAR 0.1;
29861            }
29862            program { name:    "go_disabled";
29863                signal:  "elm,state,disabled";
29864                source:  "elm";
29865                action:  STATE_SET "disabled" 0.0;
29866                target:  "disclip";
29867            }
29868            program { name:    "go_enabled";
29869                signal:  "elm,state,enabled";
29870                source:  "elm";
29871                action:  STATE_SET "default" 0.0;
29872                target:  "disclip";
29873            }
29874        }
29875    }
29876
29877    group { name: "elm/gengrid/item/up/default";
29878       data.item: "labels" "elm.text";
29879       images {
29880           image: "bt_sm_base1.png" COMP;
29881           image: "bt_sm_shine.png" COMP;
29882           image: "bt_sm_hilight.png" COMP;
29883           image: "arrow_up.png" COMP;
29884       }
29885       parts {
29886          part { name: "event";
29887             type: RECT;
29888             repeat_events: 1;
29889             description { state: "default" 0.0;
29890                color: 0 0 0 0;
29891             }
29892          }
29893          part { name: "bg";
29894             clip_to: "disclip";
29895             mouse_events: 0;
29896             description { state: "default" 0.0;
29897                visible: 0;
29898                color: 255 255 255 0;
29899                rel1.offset: -3 -3;
29900                rel2.offset: 2 2;
29901                image { normal: "bt_sm_base1.png";
29902                   border: 6 6 6 6;
29903                   middle: SOLID;
29904                }
29905             }
29906             description { state: "selected" 0.0;
29907                inherit: "default" 0.0;
29908                visible: 1;
29909                color: 255 255 255 255;
29910             }
29911          }
29912          part { name: "image";
29913              type: IMAGE;
29914              mouse_events: 0;
29915              description { state: "default" 0.0;
29916                  aspect_preference: BOTH;
29917                  aspect: 1.0 1.0;
29918                  image.normal: "arrow_up.png";
29919                  rel2 {
29920                      to_y: "elm.text";
29921                      relative: 1.0 0.0;
29922                      offset: -1 -2;
29923                  }
29924              }
29925          }
29926          part { name: "elm.text";
29927             clip_to: "disclip";
29928             type: TEXT;
29929             effect: SOFT_SHADOW;
29930             mouse_events: 0;
29931             scale: 1;
29932             description { state: "default" 0.0;
29933                rel1 {
29934                   relative: 0.0  1.0;
29935                   offset: 20 -25;
29936                }
29937                rel2 {
29938                   relative: 1.0  1.0;
29939                   offset: -21 -3;
29940                }
29941                color: 0 0 0 255;
29942                color3: 0 0 0 0;
29943                text {
29944                   font: "Sans";
29945                   size: 10;
29946                   min: 0 1;
29947                   align: 0.5 0.0;
29948                   text_class: "grid_item";
29949                }
29950             }
29951             description { state: "selected" 0.0;
29952                inherit: "default" 0.0;
29953                color: 224 224 224 255;
29954                color3: 0 0 0 64;
29955             }
29956          }
29957          part { name: "fg1";
29958             clip_to: "disclip";
29959             mouse_events: 0;
29960             description { state: "default" 0.0;
29961                visible: 0;
29962                color: 255 255 255 0;
29963                rel1.offset: -3 -3;
29964                rel2 {
29965                    relative: 1.0 0.5;
29966                    offset: 2 -1;
29967                }
29968                image {
29969                   normal: "bt_sm_hilight.png";
29970                   border: 6 6 6 0;
29971                }
29972             }
29973             description { state: "selected" 0.0;
29974                inherit: "default" 0.0;
29975                visible: 1;
29976                color: 255 255 255 255;
29977             }
29978          }
29979          part { name: "fg2";
29980             clip_to: "disclip";
29981             mouse_events: 0;
29982             description { state: "default" 0.0;
29983                visible: 0;
29984                color: 255 255 255 0;
29985                rel1.offset: -3 -3;
29986                rel2.offset: 2 2;
29987                image {
29988                   normal: "bt_sm_shine.png";
29989                   border: 6 6 6 0;
29990                }
29991             }
29992             description { state: "selected" 0.0;
29993                inherit: "default" 0.0;
29994                visible: 1;
29995                color: 255 255 255 255;
29996             }
29997          }
29998          part { name: "disclip";
29999             type: RECT;
30000             description { state: "default" 0.0;
30001                rel1.to: "bg";
30002                rel2.to: "bg";
30003             }
30004             description { state: "disabled" 0.0;
30005                inherit: "default" 0.0;
30006                color: 255 255 255 64;
30007             }
30008          }
30009       }
30010       programs {
30011          program { name:    "go_active";
30012             signal:  "elm,state,selected";
30013             source:  "elm";
30014             action:  STATE_SET "selected" 0.0;
30015             target:  "bg";
30016             target:  "fg1";
30017             target:  "fg2";
30018             target:  "elm.text";
30019          }
30020          program { name:    "go_passive";
30021             signal:  "elm,state,unselected";
30022             source:  "elm";
30023             action:  STATE_SET "default" 0.0;
30024             target:  "bg";
30025             target:  "fg1";
30026             target:  "fg2";
30027             target:  "elm.text";
30028             transition: LINEAR 0.1;
30029          }
30030          program { name:    "go_disabled";
30031             signal:  "elm,state,disabled";
30032             source:  "elm";
30033             action:  STATE_SET "disabled" 0.0;
30034             target:  "disclip";
30035          }
30036          program { name:    "go_enabled";
30037             signal:  "elm,state,enabled";
30038             source:  "elm";
30039             action:  STATE_SET "default" 0.0;
30040             target:  "disclip";
30041          }
30042       }
30043    }
30044
30045    group { name: "elm/gengrid/item/album-preview/default";
30046       data.item: "labels" "elm.text";
30047       data.item: "icons" "elm.swallow.icon.1 elm.swallow.icon.2 elm.swallow.icon.3 elm.swallow.icon.4";
30048       data.item: "states" "have_files";
30049       images {
30050          image: "bt_sm_base1.png" COMP;
30051          image: "bt_sm_shine.png" COMP;
30052          image: "bt_sm_hilight.png" COMP;
30053          image: "icon_folder.png" COMP;
30054       }
30055       parts {
30056          part { name: "event";
30057             type: RECT;
30058             repeat_events: 1;
30059             description { state: "default" 0.0;
30060                color: 0 0 0 0;
30061             }
30062          }
30063          part { name: "bg";
30064             clip_to: "disclip";
30065             mouse_events: 0;
30066             description { state: "default" 0.0;
30067                visible: 0;
30068                color: 255 255 255 0;
30069                rel1.offset: -3 -3;
30070                rel2.offset: 2 2;
30071                image {
30072                   normal: "bt_sm_base1.png";
30073                   border: 6 6 6 6;
30074                   middle: SOLID;
30075                }
30076             }
30077             description { state: "selected" 0.0;
30078                inherit: "default" 0.0;
30079                visible: 1;
30080                color: 255 255 255 255;
30081             }
30082          }
30083          part { name: "image";
30084              type: IMAGE;
30085              mouse_events: 0;
30086              description { state: "default" 0.0;
30087                  aspect_preference: BOTH;
30088                  aspect: 1.0 1.0;
30089                  image.normal: "icon_folder.png";
30090                  rel2 {
30091                      to_y: "elm.text";
30092                      relative: 1.0 0.0;
30093                      offset: -1 -2;
30094                  }
30095              }
30096          }
30097          part { name: "have-files-clipper";
30098              type: RECT;
30099              description { state: "default" 0.0;
30100                  color: 255 255 255 0;
30101                  visible: 0;
30102              }
30103              description { state: "visible" 0.0;
30104                  inherit: "default" 0.0;
30105                  color: 255 255 255 255;
30106                  visible: 1;
30107              }
30108          }
30109          part { name: "icon_box_margin";
30110              type: RECT;
30111              mouse_events: 0;
30112              clip_to: "have-files-clipper";
30113              description { state: "default" 0.0;
30114                  color: 0 0 0 255;
30115                  rel1 {
30116                      to: "icon_box";
30117                      offset: -1 -1;
30118                  }
30119                  rel2 {
30120                      to: "icon_box";
30121                      offset: 0 0;
30122                  }
30123              }
30124          }
30125          part { name: "icon_box";
30126              type: RECT;
30127              mouse_events: 0;
30128              clip_to: "have-files-clipper";
30129              description { state: "default" 0.0;
30130                  color: 255 255 255 255;
30131                  align: 1.0 1.0;
30132                  min: 32 32;
30133                  rel1 {
30134                      relative: 0.25 0.25;
30135                      offset: 0 0;
30136                  }
30137                  rel2 {
30138                      relative: 1.0 0.0;
30139                      offset: -11 -4;
30140                      to_y: "elm.text";
30141                  }
30142              }
30143          }
30144          part { name: "elm.swallow.icon.1";
30145              type: SWALLOW;
30146              mouse_events: 0;
30147              clip_to: "have-files-clipper";
30148              description { state: "default" 0.0;
30149                rel1 {
30150                   relative: 0.0  0.0;
30151                   to: "icon_box";
30152                }
30153                rel2 {
30154                   relative: 0.5  0.5;
30155                   offset: -1 -1;
30156                   to: "icon_box";
30157                }
30158             }
30159          }
30160          part { name: "elm.swallow.icon.2";
30161              type: SWALLOW;
30162              mouse_events: 0;
30163              clip_to: "have-files-clipper";
30164              description { state: "default" 0.0;
30165                rel1 {
30166                   relative: 0.5  0.0;
30167                   to: "icon_box";
30168                }
30169                rel2 {
30170                   relative: 1.0  0.5;
30171                   offset: -1 -1;
30172                   to: "icon_box";
30173                }
30174             }
30175          }
30176          part { name: "elm.swallow.icon.3";
30177              type: SWALLOW;
30178              mouse_events: 0;
30179              clip_to: "have-files-clipper";
30180              description { state: "default" 0.0;
30181                rel1 {
30182                   relative: 0.0  0.5;
30183                   to: "icon_box";
30184                }
30185                rel2 {
30186                   relative: 0.5  1.0;
30187                   offset: -1 -1;
30188                   to: "icon_box";
30189                }
30190             }
30191          }
30192          part { name: "elm.swallow.icon.4";
30193              type: SWALLOW;
30194              mouse_events: 0;
30195              clip_to: "have-files-clipper";
30196              description { state: "default" 0.0;
30197                rel1 {
30198                   relative: 0.5  0.5;
30199                   to: "icon_box";
30200                }
30201                rel2 {
30202                   relative: 1.0  1.0;
30203                   offset: -1 -1;
30204                   to: "icon_box";
30205                }
30206             }
30207          }
30208          part { name: "elm.text";
30209             clip_to: "disclip";
30210             type: TEXT;
30211             effect: SOFT_SHADOW;
30212             mouse_events: 0;
30213             scale: 1;
30214             description { state: "default" 0.0;
30215                rel1 {
30216                   relative: 0.0  1.0;
30217                   offset: 20 -30;
30218                }
30219                rel2 {
30220                   relative: 1.0  1.0;
30221                   offset: -21 -15;
30222                }
30223                color: 0 0 0 255;
30224                color3: 0 0 0 0;
30225                text {
30226                   font: "Sans";
30227                   size: 10;
30228                   min: 0 1;
30229                   align: 0.5 0.0;
30230                   text_class: "grid_item";
30231                }
30232             }
30233             description { state: "selected" 0.0;
30234                 inherit: "default" 0.0;
30235                 color: 255 255 255 255;
30236             }
30237          }
30238          part { name: "fg1";
30239             clip_to: "disclip";
30240             mouse_events: 0;
30241             description { state: "default" 0.0;
30242                visible: 0;
30243                color: 255 255 255 0;
30244                rel1.offset: -3 -3;
30245                rel2 {
30246                    relative: 1.0 0.5;
30247                    offset: 2 -1;
30248                }
30249                image {
30250                   normal: "bt_sm_hilight.png";
30251                   border: 6 6 6 0;
30252                }
30253             }
30254             description { state: "selected" 0.0;
30255                inherit: "default" 0.0;
30256                visible: 1;
30257                color: 255 255 255 255;
30258             }
30259          }
30260          part { name: "fg2";
30261             clip_to: "disclip";
30262             mouse_events: 0;
30263             description { state: "default" 0.0;
30264                visible: 0;
30265                color: 255 255 255 0;
30266                rel1.offset: -3 -3;
30267                rel2.offset: 2 2;
30268                image {
30269                   normal: "bt_sm_shine.png";
30270                   border: 6 6 6 0;
30271                }
30272             }
30273             description { state: "selected" 0.0;
30274                inherit: "default" 0.0;
30275                visible: 1;
30276                color: 255 255 255 255;
30277             }
30278          }
30279          part { name: "disclip";
30280             type: RECT;
30281             description { state: "default" 0.0;
30282                rel1.to: "bg";
30283                rel2.to: "bg";
30284             }
30285             description { state: "disabled" 0.0;
30286                inherit: "default" 0.0;
30287                color: 255 255 255 64;
30288             }
30289          }
30290       }
30291       programs {
30292          program { name:    "go_active";
30293             signal:  "elm,state,selected";
30294             source:  "elm";
30295             action:  STATE_SET "selected" 0.0;
30296             target:  "bg";
30297             target:  "fg1";
30298             target:  "fg2";
30299             target:  "elm.text";
30300          }
30301          program { name:    "go_passive";
30302             signal:  "elm,state,unselected";
30303             source:  "elm";
30304             action:  STATE_SET "default" 0.0;
30305             target:  "bg";
30306             target:  "fg1";
30307             target:  "fg2";
30308             target:  "elm.text";
30309             transition: LINEAR 0.1;
30310          }
30311          program { name:    "go_disabled";
30312             signal:  "elm,state,disabled";
30313             source:  "elm";
30314             action:  STATE_SET "disabled" 0.0;
30315             target:  "disclip";
30316          }
30317          program { name:    "go_enabled";
30318             signal:  "elm,state,enabled";
30319             source:  "elm";
30320             action:  STATE_SET "default" 0.0;
30321             target:  "disclip";
30322          }
30323          program {
30324              signal: "elm,state,have_files,active";
30325              source: "elm";
30326              action: STATE_SET "visible" 0.0;
30327              target: "have-files-clipper";
30328          }
30329       }
30330    }
30331
30332    group { name: "elm/gengrid/item/thumb/default";
30333        data {
30334            item: "icons" "elm.swallow.icon";
30335            item: "labels" "elm.text";
30336        }
30337        images {
30338            image: "bt_sm_base1.png" COMP;
30339            image: "bt_sm_shine.png" COMP;
30340            image: "bt_sm_hilight.png" COMP;
30341            image: "thumb_shadow.png" COMP;
30342        }
30343        parts {
30344            part { name: "event";
30345                type: RECT;
30346                repeat_events: 1;
30347                description { state: "default" 0.0;
30348                    color: 0 0 0 0;
30349                }
30350            }
30351            part { name: "bg";
30352                mouse_events: 0;
30353                description { state: "default" 0.0;
30354                    visible: 0;
30355                    color: 255 255 255 0;
30356                    rel1.offset: -3 -3;
30357                    rel2.offset: 2 2;
30358                    image {
30359                        normal: "bt_sm_base1.png";
30360                        border: 6 6 6 6;
30361                        middle: SOLID;
30362                    }
30363                }
30364                description { state: "selected" 0.0;
30365                    inherit: "default" 0.0;
30366                    visible: 1;
30367                    color: 255 255 255 255;
30368                }
30369            }
30370            part { name: "border-shadow";
30371                type: IMAGE;
30372                mouse_events: 0;
30373                description { state: "default" 0.0;
30374                    rel1 {
30375                        to: "elm.swallow.icon";
30376                        offset: -18 -18;
30377                    }
30378                    rel2 {
30379                        to_x: "elm.swallow.icon";
30380                        to_y: "elm.text";
30381                        offset: 17 17;
30382                    }
30383                    image {
30384                        normal: "thumb_shadow.png";
30385                        border: 17 17 17 17;
30386                        middle: NONE;
30387                    }
30388                }
30389            }
30390            part { name: "border";
30391                type: RECT;
30392                mouse_events: 0;
30393                description { state: "default" 0.0;
30394                    rel1 {
30395                        to: "border-shadow";
30396                        offset: 16 16;
30397                    }
30398                    rel2 {
30399                        to: "border-shadow";
30400                        offset: -15 -15;
30401                    }
30402                }
30403            }
30404            part { name: "elm.swallow.icon";
30405                type: SWALLOW;
30406                mouse_events: 0;
30407                description { state: "default" 0.0;
30408                    aspect_preference: BOTH;
30409                    aspect: 1.0 1.0;
30410                    rel1.offset: 0 8;
30411                    rel2 {
30412                        to_y: "elm.text";
30413                        relative: 1.0 0.0;
30414                        offset: -1 -2;
30415                    }
30416                }
30417            }
30418            part { name: "elm.text";
30419                type: TEXT;
30420                effect: SOFT_SHADOW;
30421                mouse_events: 0;
30422                scale: 1;
30423                description { state: "default" 0.0;
30424                    color: 0 0 0 255;
30425                    color3: 0 0 0 0;
30426                    align: 0.5 1.0;
30427                    rel1 {
30428                        relative: 0.0 1.0;
30429                        offset: 20 -30;
30430                    }
30431                    rel2 {
30432                        relative: 1.0 1.0;
30433                        offset: -21 -15;
30434                    }
30435                    text {
30436                        font: "Sans";
30437                        size: 10;
30438                        min: 0 1;
30439                        align: 0.5 0.0;
30440                        text_class: "grid_item";
30441                    }
30442                }
30443            }
30444            part { name: "fg1";
30445                mouse_events: 0;
30446                description { state: "default" 0.0;
30447                    visible: 0;
30448                    color: 255 255 255 0;
30449                    rel1.offset: -3 -3;
30450                    rel2 {
30451                        relative: 1.0 0.5;
30452                        offset: 2 -1;
30453                    }
30454                    image {
30455                        normal: "bt_sm_hilight.png";
30456                        border: 6 6 6 0;
30457                    }
30458                }
30459                description { state: "selected" 0.0;
30460                    inherit: "default" 0.0;
30461                    visible: 1;
30462                    color: 255 255 255 255;
30463                }
30464            }
30465            part { name: "fg2";
30466                mouse_events: 0;
30467                description { state: "default" 0.0;
30468                    visible: 0;
30469                    color: 255 255 255 0;
30470                    rel1.offset: -3 -3;
30471                    rel2.offset: 2 2;
30472                    image {
30473                        image: "bt_sm_shine.png";
30474                        border: 6 6 6 0;
30475                    }
30476                }
30477                description { state: "selected" 0.0;
30478                    inherit: "default" 0.0;
30479                    visible: 1;
30480                    color: 255 255 255 255;
30481                }
30482            }
30483        }
30484        programs {
30485            program {
30486                signal: "elm,state,selected";
30487                source: "elm";
30488                action: STATE_SET "selected" 0.0;
30489                target: "bg";
30490                target: "fg1";
30491                target: "fg2";
30492            }
30493            program {
30494                signal: "elm,state,unselected";
30495                source: "elm";
30496                action:  STATE_SET "default" 0.0;
30497                target: "bg";
30498                target: "fg1";
30499                target: "fg2";
30500                transition: LINEAR 0.1;
30501            }
30502        }
30503    }
30504
30505 ///////////////////////////////////////////////////////////////////////////////
30506    group { name: "elm/photocam/base/default";
30507        script {
30508            public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
30509            public timer0(val) {
30510                new v;
30511                v = get_int(sbvis_v);
30512                if (v) {
30513                    v = get_int(sbalways_v);
30514                    if (!v) {
30515                        emit("do-hide-vbar", "");
30516                        set_int(sbvis_v, 0);
30517                    }
30518                }
30519                v = get_int(sbvis_h);
30520                if (v) {
30521                    v = get_int(sbalways_h);
30522                    if (!v) {
30523                        emit("do-hide-hbar", "");
30524                        set_int(sbvis_h, 0);
30525                    }
30526                }
30527                set_int(sbvis_timer, 0);
30528                return 0;
30529            }
30530        }
30531        images {
30532            image: "shelf_inset.png" COMP;
30533            image: "bt_sm_base2.png" COMP;
30534            image: "bt_sm_shine.png" COMP;
30535            image: "bt_sm_hilight.png" COMP;
30536            image: "busy-1.png" COMP;
30537            image: "busy-2.png" COMP;
30538            image: "busy-3.png" COMP;
30539            image: "busy-4.png" COMP;
30540            image: "busy-5.png" COMP;
30541            image: "busy-6.png" COMP;
30542            image: "busy-7.png" COMP;
30543            image: "busy-8.png" COMP;
30544            image: "busy-9.png" COMP;
30545        }
30546        parts {
30547            part { name: "bg";
30548                type: RECT;
30549                description { state: "default" 0.0;
30550                    rel1.offset: 1 1;
30551                    rel2.offset: -2 -2;
30552                    color: 255 255 255 0;
30553                }
30554            }
30555            part { name: "clipper";
30556                type: RECT;
30557                mouse_events: 0;
30558                description { state: "default" 0.0;
30559                    rel1.to: "bg";
30560                    rel2.to: "bg";
30561                }
30562            }
30563            part { name: "elm.swallow.content";
30564                clip_to: "clipper";
30565                type: SWALLOW;
30566                description { state: "default" 0.0;
30567                    rel1.offset: 1 1;
30568                    rel2.offset: -2 -2;
30569                }
30570            }
30571            part { name: "busy_clip";
30572                type: RECT;
30573                mouse_events: 0;
30574                description { state: "default" 0.0;
30575                    visible: 0;
30576                    color: 255 255 255 0;
30577                }
30578                description { state: "active" 0.0;
30579                    visible: 1;
30580                    color: 255 255 255 255;
30581                }
30582            }
30583            part { name: "busy";
30584                clip_to: "busy_clip";
30585                mouse_events: 0;
30586                description { state: "default" 0.0;
30587                    fixed: 1 1;
30588                    min: 32 32;
30589                    aspect: 1.0 1.0;
30590                    align: 1.0 1.0;
30591                    aspect_preference: BOTH;
30592                    rel1 {
30593                        relative: 0.9 0.9;
30594                        offset:   -9 -9;
30595                    }
30596                    rel2 {
30597                        relative: 0.9 0.9;
30598                        offset:   -9 -9;
30599                    }
30600                    image {
30601                        normal: "busy-9.png";
30602                        tween:  "busy-1.png";
30603                        tween:  "busy-2.png";
30604                        tween:  "busy-3.png";
30605                        tween:  "busy-4.png";
30606                        tween:  "busy-5.png";
30607                        tween:  "busy-6.png";
30608                        tween:  "busy-7.png";
30609                        tween:  "busy-8.png";
30610                    }
30611                }
30612            }
30613            part { name: "conf_over";
30614                mouse_events:  0;
30615                description { state: "default" 0.0;
30616                    rel1.offset: 0 0;
30617                    rel2.offset: -1 -1;
30618                    image {
30619                        normal: "shelf_inset.png";
30620                        border: 7 7 7 7;
30621                        middle: 0;
30622                    }
30623                    fill.smooth : 0;
30624                }
30625            }
30626            part { name: "sb_vbar_clip_master";
30627                type: RECT;
30628                mouse_events: 0;
30629                description { state: "default" 0.0;
30630                }
30631                description { state: "hidden" 0.0;
30632                    visible: 0;
30633                    color: 255 255 255 0;
30634                }
30635            }
30636            part { name: "sb_vbar_clip";
30637                clip_to: "sb_vbar_clip_master";
30638                type: RECT;
30639                mouse_events: 0;
30640                description { state: "default" 0.0;
30641                }
30642                description { state: "hidden" 0.0;
30643                    visible: 0;
30644                    color: 255 255 255 0;
30645                }
30646            }
30647            part { name: "sb_vbar";
30648                type: RECT;
30649                mouse_events: 0;
30650                description { state: "default" 0.0;
30651                    fixed: 1 1;
30652                    visible: 0;
30653                    min: 10 17;
30654                    align: 1.0 0.0;
30655                    rel1 {
30656                        relative: 1.0 0.0;
30657                        offset:   -2 0;
30658                    }
30659                    rel2 {
30660                        relative: 1.0 0.0;
30661                        offset:   -2 -1;
30662                        to_y:     "sb_hbar";
30663                    }
30664                }
30665            }
30666            part { name: "elm.dragable.vbar";
30667                clip_to: "sb_vbar_clip";
30668                mouse_events: 0;
30669                dragable {
30670                    x: 0 0 0;
30671                    y: 1 1 0;
30672                    confine: "sb_vbar";
30673                }
30674                description { state: "default" 0.0;
30675                    fixed: 1 1;
30676                    min: 10 17;
30677                    max: 10 99999;
30678                    rel1 {
30679                        relative: 0.5  0.5;
30680                        offset:   0    0;
30681                        to: "sb_vbar";
30682                    }
30683                    rel2 {
30684                        relative: 0.5  0.5;
30685                        offset:   0    0;
30686                        to: "sb_vbar";
30687                    }
30688                    image {
30689                        normal: "bt_sm_base2.png";
30690                        border: 6 6 6 6;
30691                        middle: SOLID;
30692                    }
30693                }
30694            }
30695            part { name: "sb_vbar_over1";
30696                clip_to: "sb_vbar_clip";
30697                mouse_events: 0;
30698                description { state: "default" 0.0;
30699                    rel1.to: "elm.dragable.vbar";
30700                    rel2.relative: 1.0 0.5;
30701                    rel2.to: "elm.dragable.vbar";
30702                    image {
30703                        normal: "bt_sm_hilight.png";
30704                        border: 6 6 6 0;
30705                    }
30706                }
30707            }
30708            part { name: "sb_vbar_over2";
30709                clip_to: "sb_vbar_clip";
30710                mouse_events: 0;
30711                description { state: "default" 0.0;
30712                    rel1.to: "elm.dragable.vbar";
30713                    rel2.to: "elm.dragable.vbar";
30714                    image {
30715                        normal: "bt_sm_shine.png";
30716                        border: 6 6 6 0;
30717                    }
30718                }
30719            }
30720
30721            part { name: "sb_hbar_clip_master";
30722                type: RECT;
30723                mouse_events: 0;
30724                description { state: "default" 0.0;
30725                }
30726                description { state: "hidden" 0.0;
30727                    visible: 0;
30728                    color: 255 255 255 0;
30729                }
30730            }
30731            part { name: "sb_hbar_clip";
30732                clip_to: "sb_hbar_clip_master";
30733                type: RECT;
30734                mouse_events: 0;
30735                description { state: "default" 0.0;
30736                }
30737                description { state: "hidden" 0.0;
30738                    visible: 0;
30739                    color: 255 255 255 0;
30740                }
30741            }
30742            part { name: "sb_hbar";
30743                type: RECT;
30744                mouse_events: 0;
30745                description { state: "default" 0.0;
30746                    fixed: 1 1;
30747                    visible: 0;
30748                    min: 17 10;
30749                    align: 0.0 1.0;
30750                    rel1 {
30751                        relative: 0.0 1.0;
30752                        offset:   0 -2;
30753                    }
30754                    rel2 {
30755                        relative: 0.0 1.0;
30756                        offset:   -1 -2;
30757                        to_x:     "sb_vbar";
30758                    }
30759                }
30760            }
30761            part { name: "elm.dragable.hbar";
30762                clip_to: "sb_hbar_clip";
30763                mouse_events: 0;
30764                dragable {
30765                    x: 1 1 0;
30766                    y: 0 0 0;
30767                    confine: "sb_hbar";
30768                }
30769                description { state: "default" 0.0;
30770                    fixed: 1 1;
30771                    min: 17 10;
30772                    max: 99999 10;
30773                    rel1 {
30774                        relative: 0.5  0.5;
30775                        offset:   0    0;
30776                        to: "sb_hbar";
30777                    }
30778                    rel2 {
30779                        relative: 0.5  0.5;
30780                        offset:   0    0;
30781                        to: "sb_hbar";
30782                    }
30783                    image {
30784                        normal: "bt_sm_base2.png";
30785                        border: 4 4 4 4;
30786                        middle: SOLID;
30787                    }
30788                }
30789            }
30790            part { name: "sb_hbar_over1";
30791                clip_to: "sb_hbar_clip";
30792                mouse_events: 0;
30793                description { state: "default" 0.0;
30794                    rel1.to: "elm.dragable.hbar";
30795                    rel2.relative: 1.0 0.5;
30796                    rel2.to: "elm.dragable.hbar";
30797                    image {
30798                        normal: "bt_sm_hilight.png";
30799                        border: 4 4 4 0;
30800                    }
30801                }
30802            }
30803            part { name: "sb_hbar_over2";
30804                clip_to: "sb_hbar_clip";
30805                mouse_events: 0;
30806                description { state: "default" 0.0;
30807                    rel1.to: "elm.dragable.hbar";
30808                    rel2.to: "elm.dragable.hbar";
30809                    image {
30810                        normal: "bt_sm_shine.png";
30811                        border: 4 4 4 0;
30812                    }
30813                }
30814            }
30815        }
30816        programs {
30817            program { name: "load";
30818                signal: "load";
30819                source: "";
30820                script {
30821                    set_state(PART:"sb_hbar_clip", "hidden", 0.0);
30822                    set_state(PART:"sb_vbar_clip", "hidden", 0.0);
30823                    set_int(sbvis_h, 0);
30824                    set_int(sbvis_v, 0);
30825                    set_int(sbalways_v, 0);
30826                    set_int(sbalways_h, 0);
30827                    set_int(sbvis_timer, 0);
30828                }
30829            }
30830
30831            program { name: "vbar_show";
30832                signal: "elm,action,show,vbar";
30833                source: "elm";
30834                action:  STATE_SET "default" 0.0;
30835                target: "sb_vbar_clip_master";
30836            }
30837            program { name: "vbar_hide";
30838                signal: "elm,action,hide,vbar";
30839                source: "elm";
30840                action:  STATE_SET "hidden" 0.0;
30841                target: "sb_vbar_clip_master";
30842            }
30843            program { name: "vbar_show_always";
30844                signal: "elm,action,show_always,vbar";
30845                source: "elm";
30846                script {
30847                    new v;
30848                    v = get_int(sbvis_v);
30849                    v |= get_int(sbalways_v);
30850                    if (!v) {
30851                        set_int(sbalways_v, 1);
30852                        emit("do-show-vbar", "");
30853                        set_int(sbvis_v, 1);
30854                    }
30855                }
30856            }
30857            program { name: "vbar_show_notalways";
30858                signal: "elm,action,show_notalways,vbar";
30859                source: "elm";
30860                script {
30861                    new v;
30862                    v = get_int(sbalways_v);
30863                    if (v) {
30864                        set_int(sbalways_v, 0);
30865                        v = get_int(sbvis_v);
30866                        if (!v) {
30867                            emit("do-hide-vbar", "");
30868                            set_int(sbvis_v, 0);
30869                        }
30870                    }
30871                }
30872            }
30873            program { name: "sb_vbar_show";
30874                signal: "do-show-vbar";
30875                source: "";
30876                action:  STATE_SET "default" 0.0;
30877                transition: LINEAR 0.5;
30878                target: "sb_vbar_clip";
30879            }
30880            program { name: "sb_vbar_hide";
30881                signal: "do-hide-vbar";
30882                source: "";
30883                action:  STATE_SET "hidden" 0.0;
30884                transition: LINEAR 0.5;
30885                target: "sb_vbar_clip";
30886            }
30887
30888            program { name: "hbar_show";
30889                signal: "elm,action,show,hbar";
30890                source: "elm";
30891                action:  STATE_SET "default" 0.0;
30892                target: "sb_hbar_clip_master";
30893            }
30894            program { name: "hbar_hide";
30895                signal: "elm,action,hide,hbar";
30896                source: "elm";
30897                action:  STATE_SET "hidden" 0.0;
30898                target: "sb_hbar_clip_master";
30899            }
30900            program { name: "hbar_show_always";
30901                signal: "elm,action,show_always,hbar";
30902                source: "elm";
30903                script {
30904                    new v;
30905                    v = get_int(sbvis_h);
30906                    v |= get_int(sbalways_h);
30907                    if (!v) {
30908                        set_int(sbalways_h, 1);
30909                        emit("do-show-hbar", "");
30910                        set_int(sbvis_h, 1);
30911                    }
30912                }
30913            }
30914            program { name: "hbar_show_notalways";
30915                signal: "elm,action,show_notalways,hbar";
30916                source: "elm";
30917                script {
30918                    new v;
30919                    v = get_int(sbalways_h);
30920                    if (v) {
30921                        set_int(sbalways_h, 0);
30922                        v = get_int(sbvis_h);
30923                        if (!v) {
30924                            emit("do-hide-hbar", "");
30925                            set_int(sbvis_h, 0);
30926                        }
30927                    }
30928                }
30929            }
30930            program { name: "sb_hbar_show";
30931                signal: "do-show-hbar";
30932                source: "";
30933                action:  STATE_SET "default" 0.0;
30934                transition: LINEAR 0.5;
30935                target: "sb_hbar_clip";
30936            }
30937            program { name: "sb_hbar_hide";
30938                signal: "do-hide-hbar";
30939                source: "";
30940                action:  STATE_SET "hidden" 0.0;
30941                transition: LINEAR 0.5;
30942                target: "sb_hbar_clip";
30943            }
30944
30945            program { name: "scroll";
30946                signal: "elm,action,scroll";
30947                source: "elm";
30948                script {
30949                    new v;
30950                    v = get_int(sbvis_v);
30951                    v |= get_int(sbalways_v);
30952                    if (!v) {
30953                        emit("do-show-vbar", "");
30954                        set_int(sbvis_v, 1);
30955                    }
30956                    v = get_int(sbvis_h);
30957                    v |= get_int(sbalways_h);
30958                    if (!v) {
30959                        emit("do-show-hbar", "");
30960                        set_int(sbvis_h, 1);
30961                    }
30962                    v = get_int(sbvis_timer);
30963                    if (v > 0) cancel_timer(v);
30964                    v = timer(1.0, "timer0", 0);
30965                    set_int(sbvis_timer, v);
30966                }
30967            }
30968            program { name: "go1";
30969                signal: "elm,state,busy,start";
30970                source: "elm";
30971                action: STATE_SET "active" 0.0;
30972                transition: SINUSOIDAL 1.0;
30973                target:  "busy_clip";
30974            }
30975            program { name: "go2";
30976                signal: "elm,state,busy,start";
30977                source: "elm";
30978                action: STATE_SET "default" 0.0;
30979                transition: LINEAR 0.5;
30980                target: "busy";
30981                after:  "go2";
30982            }
30983            program { name: "stop1";
30984                signal: "elm,state,busy,stop";
30985                source: "elm";
30986                action: STATE_SET "default" 0.0;
30987                transition: SINUSOIDAL 1.0;
30988                target: "busy_clip";
30989                after: "stop2";
30990            }
30991          program { name: "stop2";
30992             action: ACTION_STOP;
30993             target: "go2";
30994          }
30995       }
30996    }
30997
30998    ///////////////////////////////////////////////////////////////////////////////
30999    group { name: "elm/map/base/default";
31000        script {
31001            public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
31002            public timer0(val) {
31003                new v;
31004                v = get_int(sbvis_v);
31005                if (v) {
31006                    v = get_int(sbalways_v);
31007                    if (!v) {
31008                        emit("do-hide-vbar", "");
31009                        set_int(sbvis_v, 0);
31010                    }
31011                }
31012                v = get_int(sbvis_h);
31013                if (v) {
31014                    v = get_int(sbalways_h);
31015                    if (!v) {
31016                        emit("do-hide-hbar", "");
31017                        set_int(sbvis_h, 0);
31018                    }
31019                }
31020                set_int(sbvis_timer, 0);
31021                return 0;
31022            }
31023        }
31024        images {
31025            image: "shelf_inset.png" COMP;
31026            image: "bt_sm_base2.png" COMP;
31027            image: "bt_sm_shine.png" COMP;
31028            image: "bt_sm_hilight.png" COMP;
31029            image: "busy-1.png" COMP;
31030            image: "busy-2.png" COMP;
31031            image: "busy-3.png" COMP;
31032            image: "busy-4.png" COMP;
31033            image: "busy-5.png" COMP;
31034            image: "busy-6.png" COMP;
31035            image: "busy-7.png" COMP;
31036            image: "busy-8.png" COMP;
31037            image: "busy-9.png" COMP;
31038        }
31039        parts {
31040            part { name: "bg";
31041                type: RECT;
31042                description { state: "default" 0.0;
31043                    rel1.offset: 1 1;
31044                    rel2.offset: -2 -2;
31045                    color: 255 255 255 0;
31046                }
31047            }
31048            part { name: "clipper";
31049                type: RECT;
31050                mouse_events: 0;
31051                description { state: "default" 0.0;
31052                    rel1.to: "bg";
31053                    rel2.to: "bg";
31054                }
31055            }
31056            part { name: "elm.swallow.content";
31057                clip_to: "clipper";
31058                type: SWALLOW;
31059                description { state: "default" 0.0;
31060                    rel1.offset: 1 1;
31061                    rel2.offset: -2 -2;
31062                }
31063            }
31064            part { name: "busy_clip";
31065                type: RECT;
31066                mouse_events: 0;
31067                description { state: "default" 0.0;
31068                    visible: 0;
31069                    color: 255 255 255 0;
31070                }
31071                description { state: "active" 0.0;
31072                    visible: 1;
31073                    color: 255 255 255 255;
31074                }
31075            }
31076            part { name: "busy";
31077                clip_to: "busy_clip";
31078                mouse_events: 0;
31079                description { state: "default" 0.0;
31080                    fixed: 1 1;
31081                    min: 32 32;
31082                    aspect: 1.0 1.0;
31083                    align: 1.0 1.0;
31084                    aspect_preference: BOTH;
31085                    rel1 {
31086                        relative: 0.9 0.9;
31087                        offset:   -9 -9;
31088                    }
31089                    rel2 {
31090                        relative: 0.9 0.9;
31091                        offset:   -9 -9;
31092                    }
31093                    image {
31094                        normal: "busy-9.png";
31095                        tween:  "busy-1.png";
31096                        tween:  "busy-2.png";
31097                        tween:  "busy-3.png";
31098                        tween:  "busy-4.png";
31099                        tween:  "busy-5.png";
31100                        tween:  "busy-6.png";
31101                        tween:  "busy-7.png";
31102                        tween:  "busy-8.png";
31103                    }
31104                }
31105            }
31106            part { name: "conf_over";
31107                mouse_events:  0;
31108                description { state: "default" 0.0;
31109                    rel1.offset: 0 0;
31110                    rel2.offset: -1 -1;
31111                    image {
31112                        normal: "shelf_inset.png";
31113                        border: 7 7 7 7;
31114                        middle: 0;
31115                    }
31116                    fill.smooth : 0;
31117                }
31118            }
31119            part { name: "sb_vbar_clip_master";
31120                type: RECT;
31121                mouse_events: 0;
31122                description { state: "default" 0.0;
31123                }
31124                description { state: "hidden" 0.0;
31125                    visible: 0;
31126                    color: 255 255 255 0;
31127                }
31128            }
31129            part { name: "sb_vbar_clip";
31130                clip_to: "sb_vbar_clip_master";
31131                type: RECT;
31132                mouse_events: 0;
31133                description { state: "default" 0.0;
31134                }
31135                description { state: "hidden" 0.0;
31136                    visible: 0;
31137                    color: 255 255 255 0;
31138                }
31139            }
31140            part { name: "sb_vbar";
31141                type: RECT;
31142                mouse_events: 0;
31143                description { state: "default" 0.0;
31144                    fixed: 1 1;
31145                    visible: 0;
31146                    min: 10 17;
31147                    align: 1.0 0.0;
31148                    rel1 {
31149                        relative: 1.0 0.0;
31150                        offset:   -2 0;
31151                    }
31152                    rel2 {
31153                        relative: 1.0 0.0;
31154                        offset:   -2 -1;
31155                        to_y:     "sb_hbar";
31156                    }
31157                }
31158            }
31159            part { name: "elm.dragable.vbar";
31160                clip_to: "sb_vbar_clip";
31161                mouse_events: 0;
31162                dragable {
31163                    x: 0 0 0;
31164                    y: 1 1 0;
31165                    confine: "sb_vbar";
31166                }
31167                description { state: "default" 0.0;
31168                    fixed: 1 1;
31169                    min: 10 17;
31170                    max: 10 99999;
31171                    rel1 {
31172                        relative: 0.5  0.5;
31173                        offset:   0    0;
31174                        to: "sb_vbar";
31175                    }
31176                    rel2 {
31177                        relative: 0.5  0.5;
31178                        offset:   0    0;
31179                        to: "sb_vbar";
31180                    }
31181                    image {
31182                        normal: "bt_sm_base2.png";
31183                        border: 6 6 6 6;
31184                        middle: SOLID;
31185                    }
31186                }
31187            }
31188            part { name: "sb_vbar_over1";
31189                clip_to: "sb_vbar_clip";
31190                mouse_events: 0;
31191                description { state: "default" 0.0;
31192                    rel1.to: "elm.dragable.vbar";
31193                    rel2.relative: 1.0 0.5;
31194                    rel2.to: "elm.dragable.vbar";
31195                    image {
31196                        normal: "bt_sm_hilight.png";
31197                        border: 6 6 6 0;
31198                    }
31199                }
31200            }
31201            part { name: "sb_vbar_over2";
31202                clip_to: "sb_vbar_clip";
31203                mouse_events: 0;
31204                description { state: "default" 0.0;
31205                    rel1.to: "elm.dragable.vbar";
31206                    rel2.to: "elm.dragable.vbar";
31207                    image {
31208                        normal: "bt_sm_shine.png";
31209                        border: 6 6 6 0;
31210                    }
31211                }
31212            }
31213
31214            part { name: "sb_hbar_clip_master";
31215                type: RECT;
31216                mouse_events: 0;
31217                description { state: "default" 0.0;
31218                }
31219                description { state: "hidden" 0.0;
31220                    visible: 0;
31221                    color: 255 255 255 0;
31222                }
31223            }
31224            part { name: "sb_hbar_clip";
31225                clip_to: "sb_hbar_clip_master";
31226                type: RECT;
31227                mouse_events: 0;
31228                description { state: "default" 0.0;
31229                }
31230                description { state: "hidden" 0.0;
31231                    visible: 0;
31232                    color: 255 255 255 0;
31233                }
31234            }
31235            part { name: "sb_hbar";
31236                type: RECT;
31237                mouse_events: 0;
31238                description { state: "default" 0.0;
31239                    fixed: 1 1;
31240                    visible: 0;
31241                    min: 17 10;
31242                    align: 0.0 1.0;
31243                    rel1 {
31244                        relative: 0.0 1.0;
31245                        offset:   0 -2;
31246                    }
31247                    rel2 {
31248                        relative: 0.0 1.0;
31249                        offset:   -1 -2;
31250                        to_x:     "sb_vbar";
31251                    }
31252                }
31253            }
31254            part { name: "elm.dragable.hbar";
31255                clip_to: "sb_hbar_clip";
31256                mouse_events: 0;
31257                dragable {
31258                    x: 1 1 0;
31259                    y: 0 0 0;
31260                    confine: "sb_hbar";
31261                }
31262                description { state: "default" 0.0;
31263                    fixed: 1 1;
31264                    min: 17 10;
31265                    max: 99999 10;
31266                    rel1 {
31267                        relative: 0.5  0.5;
31268                        offset:   0    0;
31269                        to: "sb_hbar";
31270                    }
31271                    rel2 {
31272                        relative: 0.5  0.5;
31273                        offset:   0    0;
31274                        to: "sb_hbar";
31275                    }
31276                    image {
31277                        normal: "bt_sm_base2.png";
31278                        border: 4 4 4 4;
31279                        middle: SOLID;
31280                    }
31281                }
31282            }
31283            part { name: "sb_hbar_over1";
31284                clip_to: "sb_hbar_clip";
31285                mouse_events: 0;
31286                description { state: "default" 0.0;
31287                    rel1.to: "elm.dragable.hbar";
31288                    rel2.relative: 1.0 0.5;
31289                    rel2.to: "elm.dragable.hbar";
31290                    image {
31291                        normal: "bt_sm_hilight.png";
31292                        border: 4 4 4 0;
31293                    }
31294                }
31295            }
31296            part { name: "sb_hbar_over2";
31297                clip_to: "sb_hbar_clip";
31298                mouse_events: 0;
31299                description { state: "default" 0.0;
31300                    rel1.to: "elm.dragable.hbar";
31301                    rel2.to: "elm.dragable.hbar";
31302                    image {
31303                        normal: "bt_sm_shine.png";
31304                        border: 4 4 4 0;
31305                    }
31306                }
31307            }
31308        }
31309        programs {
31310            program { name: "load";
31311                signal: "load";
31312                source: "";
31313                script {
31314                    set_state(PART:"sb_hbar_clip", "hidden", 0.0);
31315                    set_state(PART:"sb_vbar_clip", "hidden", 0.0);
31316                    set_int(sbvis_h, 0);
31317                    set_int(sbvis_v, 0);
31318                    set_int(sbalways_v, 0);
31319                    set_int(sbalways_h, 0);
31320                    set_int(sbvis_timer, 0);
31321                }
31322            }
31323
31324            program { name: "vbar_show";
31325                signal: "elm,action,show,vbar";
31326                source: "elm";
31327                action:  STATE_SET "default" 0.0;
31328                target: "sb_vbar_clip_master";
31329            }
31330            program { name: "vbar_hide";
31331                signal: "elm,action,hide,vbar";
31332                source: "elm";
31333                action:  STATE_SET "hidden" 0.0;
31334                target: "sb_vbar_clip_master";
31335            }
31336            program { name: "vbar_show_always";
31337                signal: "elm,action,show_always,vbar";
31338                source: "elm";
31339                script {
31340                    new v;
31341                    v = get_int(sbvis_v);
31342                    v |= get_int(sbalways_v);
31343                    if (!v) {
31344                        set_int(sbalways_v, 1);
31345                        emit("do-show-vbar", "");
31346                        set_int(sbvis_v, 1);
31347                    }
31348                }
31349            }
31350            program { name: "vbar_show_notalways";
31351                signal: "elm,action,show_notalways,vbar";
31352                source: "elm";
31353                script {
31354                    new v;
31355                    v = get_int(sbalways_v);
31356                    if (v) {
31357                        set_int(sbalways_v, 0);
31358                        v = get_int(sbvis_v);
31359                        if (!v) {
31360                            emit("do-hide-vbar", "");
31361                            set_int(sbvis_v, 0);
31362                        }
31363                    }
31364                }
31365            }
31366            program { name: "sb_vbar_show";
31367                signal: "do-show-vbar";
31368                source: "";
31369                action:  STATE_SET "default" 0.0;
31370                transition: LINEAR 0.5;
31371                target: "sb_vbar_clip";
31372            }
31373            program { name: "sb_vbar_hide";
31374                signal: "do-hide-vbar";
31375                source: "";
31376                action:  STATE_SET "hidden" 0.0;
31377                transition: LINEAR 0.5;
31378                target: "sb_vbar_clip";
31379            }
31380
31381            program { name: "hbar_show";
31382                signal: "elm,action,show,hbar";
31383                source: "elm";
31384                action:  STATE_SET "default" 0.0;
31385                target: "sb_hbar_clip_master";
31386            }
31387            program { name: "hbar_hide";
31388                signal: "elm,action,hide,hbar";
31389                source: "elm";
31390                action:  STATE_SET "hidden" 0.0;
31391                target: "sb_hbar_clip_master";
31392            }
31393            program { name: "hbar_show_always";
31394                signal: "elm,action,show_always,hbar";
31395                source: "elm";
31396                script {
31397                    new v;
31398                    v = get_int(sbvis_h);
31399                    v |= get_int(sbalways_h);
31400                    if (!v) {
31401                        set_int(sbalways_h, 1);
31402                        emit("do-show-hbar", "");
31403                        set_int(sbvis_h, 1);
31404                    }
31405                }
31406            }
31407            program { name: "hbar_show_notalways";
31408                signal: "elm,action,show_notalways,hbar";
31409                source: "elm";
31410                script {
31411                    new v;
31412                    v = get_int(sbalways_h);
31413                    if (v) {
31414                        set_int(sbalways_h, 0);
31415                        v = get_int(sbvis_h);
31416                        if (!v) {
31417                            emit("do-hide-hbar", "");
31418                            set_int(sbvis_h, 0);
31419                        }
31420                    }
31421                }
31422            }
31423            program { name: "sb_hbar_show";
31424                signal: "do-show-hbar";
31425                source: "";
31426                action:  STATE_SET "default" 0.0;
31427                transition: LINEAR 0.5;
31428                target: "sb_hbar_clip";
31429            }
31430            program { name: "sb_hbar_hide";
31431                signal: "do-hide-hbar";
31432                source: "";
31433                action:  STATE_SET "hidden" 0.0;
31434                transition: LINEAR 0.5;
31435                target: "sb_hbar_clip";
31436            }
31437
31438            program { name: "scroll";
31439                signal: "elm,action,scroll";
31440                source: "elm";
31441                script {
31442                    new v;
31443                    v = get_int(sbvis_v);
31444                    v |= get_int(sbalways_v);
31445                    if (!v) {
31446                        emit("do-show-vbar", "");
31447                        set_int(sbvis_v, 1);
31448                    }
31449                    v = get_int(sbvis_h);
31450                    v |= get_int(sbalways_h);
31451                    if (!v) {
31452                        emit("do-show-hbar", "");
31453                        set_int(sbvis_h, 1);
31454                    }
31455                    v = get_int(sbvis_timer);
31456                    if (v > 0) cancel_timer(v);
31457                    v = timer(1.0, "timer0", 0);
31458                    set_int(sbvis_timer, v);
31459                }
31460            }
31461            program { name: "go1";
31462                signal: "elm,state,busy,start";
31463                source: "elm";
31464                action: STATE_SET "active" 0.0;
31465                transition: SINUSOIDAL 1.0;
31466                target:  "busy_clip";
31467            }
31468            program { name: "go2";
31469                signal: "elm,state,busy,start";
31470                source: "elm";
31471                action: STATE_SET "default" 0.0;
31472                transition: LINEAR 0.5;
31473                target: "busy";
31474                after:  "go2";
31475            }
31476            program { name: "stop1";
31477                signal: "elm,state,busy,stop";
31478                source: "elm";
31479                action: STATE_SET "default" 0.0;
31480                transition: SINUSOIDAL 1.0;
31481                target: "busy_clip";
31482                after: "stop2";
31483            }
31484          program { name: "stop2";
31485             action: ACTION_STOP;
31486             target: "go2";
31487          }
31488       }
31489    }
31490    group { name: "elm/map/marker/radio/default";
31491         data {
31492             item: size_w 24;
31493             item: size_h 24;
31494             item: size_max_w 58;
31495             item: size_max_h 58;
31496         }
31497         images {
31498                 image: "map_item.png" COMP;
31499         }
31500         parts {
31501             part { name: "whole";
31502                 description { state: "default" 0.0;
31503                 }
31504             }
31505             part { name: "base";
31506                 ignore_flags: ON_HOLD;
31507                 description { state: "default" 0.0;
31508                     image.normal: "map_item.png";
31509                 }
31510             }
31511             part { name: "elm.icon";
31512                 type: SWALLOW;
31513                 clip_to: "whole";
31514                 mouse_events:  0;
31515                 description { state: "default" 0.0;
31516                     rel1.relative: 0.27 0.27;
31517                     rel2.relative: 0.73 0.73;
31518                 }
31519             }
31520             part { name: "elm.text";
31521                 type:          TEXT;
31522                 effect:        SOFT_SHADOW;
31523                 mouse_events:  0;
31524                 scale: 1;
31525                 description { state: "default" 0.0;
31526                     align:    0.5 0.5;
31527                     color: 224 224 224 255;
31528                     color3: 0 0 0 64;
31529                     rel1.relative: 0.28 0.25;
31530                     rel2.relative: 0.75 0.75;
31531                     text {
31532                         font:     "Sans,Edje-Vera";
31533                         size:     10;
31534                         min:      0 0;
31535                         align:    0.5 0.5;
31536                     }
31537                 }
31538             }
31539        }
31540        programs {
31541             program { name: "open";
31542                 signal: "mouse,clicked,1";
31543                 source: "base";
31544                 action: SIGNAL_EMIT "open" "elm";
31545             }
31546             program { name: "bringin";
31547                 signal: "mouse,down,1,double";
31548                 source: "base";
31549                 action: SIGNAL_EMIT "bringin" "elm";
31550             }
31551        }
31552    }
31553    group { name: "elm/map/marker/radio2/default";
31554         data {
31555             item: size_w 24;
31556             item: size_h 24;
31557             item: size_max_w 58;
31558             item: size_max_h 58;
31559         }
31560         images {
31561                 image: "map_item_2.png" COMP;
31562         }
31563         parts {
31564             part { name: "base";
31565                 ignore_flags: ON_HOLD;
31566                 description { state: "default" 0.0;
31567                     image.normal: "map_item_2.png";
31568                 }
31569             }
31570             part { name: "elm.text";
31571                 type:          TEXT;
31572                 effect:        SOFT_SHADOW;
31573                 mouse_events:  0;
31574                 scale: 1;
31575                 description { state: "default" 0.0;
31576                     align:    0.5 0.5;
31577                     color: 224 224 224 255;
31578                     color3: 0 0 0 64;
31579                     rel1.relative: 0.28 0.25;
31580                     rel2.relative: 0.75 0.75;
31581                     text {
31582                         font:     "Sans,Edje-Vera";
31583                         size:     10;
31584                         min:      0 0;
31585                         align:    0.5 0.5;
31586                     }
31587                 }
31588             }
31589        }
31590        programs {
31591             program { name: "open";
31592                 signal: "mouse,clicked,1";
31593                 source: "base";
31594                 action: SIGNAL_EMIT "open" "elm";
31595             }
31596             program { name: "bringin";
31597                 signal: "mouse,down,1,double";
31598                 source: "base";
31599                 action: SIGNAL_EMIT "bringin" "elm";
31600             }
31601        }
31602    }
31603    group { name: "elm/map/marker/empty/default";
31604         data {
31605             item: size_w 22;
31606             item: size_h 22;
31607             item: size_max_w 64;
31608             item: size_max_h 64;
31609         }
31610         parts {
31611             part { name: "whole";
31612                 description { state: "default" 0.0;
31613                 }
31614             }
31615             part { name: "base";
31616                 ignore_flags: ON_HOLD;
31617                 description { state: "default" 0.0;
31618                 }
31619             }
31620             part { name: "elm.icon";
31621                 type: SWALLOW;
31622                 clip_to: "whole";
31623                 mouse_events:  0;
31624                 description { state: "default" 0.0;
31625                 }
31626             }
31627             part { name: "elm.text";
31628                 type:          TEXT;
31629                 effect:        SOFT_SHADOW;
31630                 mouse_events:  0;
31631                 scale: 1;
31632                 description { state: "default" 0.0;
31633                     align:    0.5 0.5;
31634                     color: 224 224 224 255;
31635                     color3: 0 0 0 64;
31636                     rel1.relative: 0.28 0.25;
31637                     rel2.relative: 0.75 0.75;
31638                     text {
31639                         font:     "Sans,Edje-Vera";
31640                         size:     10;
31641                         min:      0 0;
31642                         align:    0.5 0.5;
31643                     }
31644                 }
31645             }
31646        }
31647        programs {
31648             program { name: "open";
31649                 signal: "mouse,clicked,1";
31650                 source: "base";
31651                 action: SIGNAL_EMIT "open" "elm";
31652             }
31653             program { name: "bringin";
31654                 signal: "mouse,down,1,double";
31655                 source: "base";
31656                 action: SIGNAL_EMIT "bringin" "elm";
31657             }
31658        }
31659    }
31660    group { name: "elm/map/marker_bubble/default";
31661     images {
31662       image: "bubble.png" COMP;
31663       image: "bubble_shine.png" COMP;
31664     }
31665     data {
31666             item: size_w 400;
31667             item: size_h 100;
31668         }
31669     parts {
31670     part { name: "clipper";
31671         mouse_events:  1;
31672         description { state: "default" 0.0;
31673           color: 255 255 255 0;
31674         }
31675         description { state: "show" 0.0;
31676             inherit: "default" 0.0;
31677             color: 255 255 255 255;
31678         }
31679       }
31680      part { name: "base0";
31681         mouse_events:  0;
31682         clip_to: "clipper";
31683         description { state: "default" 0.0;
31684           image {
31685             normal: "bubble.png";
31686             border: 11 36 10 19;
31687           }
31688           image.middle: SOLID;
31689           fill.smooth: 0;
31690         }
31691         description { state: "rtl" 0.0;
31692            inherit: "default" 0.0;
31693            image {
31694               normal: "bubble_4.png";
31695               border: 11 36 18 9;
31696            }
31697         }
31698       }
31699       part { name: "elm.swallow.content";
31700         type: SWALLOW;
31701         clip_to: "clipper";
31702         description { state: "default" 0.0;
31703             align: 0.5 0.5;
31704           rel1 {
31705             offset: 9 8;
31706           }
31707           rel2 {
31708             offset: -10 -17;
31709           }
31710         }
31711       }
31712       part { name: "shine";
31713         mouse_events:  0;
31714         clip_to: "clipper";
31715         description { state:    "default" 0.0;
31716           rel1 {
31717             to: "base0";
31718           }
31719           rel2 {
31720             to: "base0";
31721             relative: 1.0 0.5;
31722           }
31723           image {
31724             normal: "bubble_shine.png";
31725             border: 5 5 5 0;
31726           }
31727           fill.smooth: 0;
31728         }
31729         }
31730     }
31731     programs {
31732         program { name: "show";
31733             signal: "show";
31734             action: STATE_SET "show" 0.0;
31735             target: "clipper";
31736             transition: ACCELERATE 0.5;
31737         }
31738     }
31739   }
31740
31741 /////////////////////////////////////////////////////////////////////////////
31742 // PANES
31743 /////////////////////////////////////////////////////////////////////////////
31744   group {
31745      name: "elm/panes/vertical/default";
31746       images {
31747          image: "bt_base1.png" COMP;
31748          image: "bt_base2.png" COMP;
31749          image: "bt_hilight.png" COMP;
31750          image: "bt_shine.png" COMP;
31751          image: "bt_glow.png" COMP;
31752          image: "bt_dis_base.png" COMP;
31753          image: "bt_dis_hilight.png" COMP;
31754          image: "arrow_right.png" COMP;
31755          image: "arrow_left.png" COMP;
31756       }
31757      parts
31758        {
31759           part
31760             {
31761                name: "whole";
31762                type: RECT;
31763                mouse_events: 0;
31764                description
31765                  {
31766                     state: "default" 0.0;
31767                     visible: 0;
31768                  }
31769             }
31770
31771          //2 contents
31772           part
31773             {
31774                name: "whole_left";
31775                type: RECT;
31776                mouse_events: 0;
31777                description
31778                  {
31779                     state: "default" 0.0;
31780                     rel2.to_x: "elm.bar";
31781                     rel2.relative: 0.0 1.0;
31782                     visible: 1;
31783                  }
31784             }
31785           part
31786             {
31787                name: "elm.swallow.left";
31788                type: SWALLOW;
31789                clip_to: "whole_left";
31790                description
31791                  {
31792                     state: "default" 0.0;
31793                     rel1.to: "whole_left";
31794                     rel2.to: "whole_left";
31795                  }
31796             }
31797
31798             part
31799             {
31800                name: "whole_right";
31801                type: RECT;
31802                mouse_events: 0;
31803                description
31804                  {
31805                     state: "default" 0.0;
31806                     rel1.to_x: "elm.bar";
31807                     rel1.relative: 1.0 0.0;
31808                     visible: 1;
31809                  }
31810             }
31811           part
31812             {
31813                name: "elm.swallow.right";
31814                type: SWALLOW;
31815                clip_to: "whole_right";
31816                description
31817                  {
31818                     state: "default" 0.0;
31819                     rel1.to: "whole_right";
31820                     rel2.to: "whole_right";
31821                  }
31822             }
31823          //BAR
31824          part { name: "elm.bar";
31825             mouse_events: 1;
31826             dragable {
31827                confine: "whole";
31828                x: 1 1 1;
31829                y: 0 0 0;
31830             }
31831             description { state: "default" 0.0;
31832                max: 15 9999;
31833                min: 15 100;
31834                rel1.relative: 0.0 0.5;
31835                rel2.relative: 1.0 0.5;
31836                image {
31837                   normal: "bt_base2.png";
31838                   border: 7 7 7 7;
31839                }
31840                image.middle: SOLID;
31841             }
31842             description { state: "clicked" 0.0;
31843                inherit: "default" 0.0;
31844                image.normal: "bt_base1.png";
31845                image.middle: SOLID;
31846             }
31847             description { state: "disabled" 0.0;
31848                inherit:  "default" 0.0;
31849                image {
31850                   normal: "bt_dis_base.png";
31851                   border: 4 4 4 4;
31852                }
31853             }
31854          }
31855          part {          name: "over1";
31856             mouse_events: 0;
31857             description { state: "default" 0.0;
31858             rel1.to: "elm.bar";
31859             rel2.to: "elm.bar";
31860                rel2.relative: 1.0 0.5;
31861                image {
31862                   normal: "bt_hilight.png";
31863                   border: 7 7 7 0;
31864                }
31865             }
31866             description { state: "disabled" 0.0;
31867                inherit:  "default" 0.0;
31868                image {
31869                   normal: "bt_dis_hilight.png";
31870                   border: 4 4 4 0;
31871                }
31872             }
31873          }
31874          part { name: "over2";
31875             mouse_events: 1;
31876             repeat_events: 1;
31877             ignore_flags: ON_HOLD;
31878             description { state: "default" 0.0;
31879             rel1.to: "elm.bar";
31880             rel2.to: "elm.bar";
31881                image {
31882                   normal: "bt_shine.png";
31883                   border: 7 7 7 7;
31884                }
31885             }
31886             description { state: "disabled" 0.0;
31887                inherit:  "default" 0.0;
31888                visible: 0;
31889             }
31890          }
31891          part { name: "over3";
31892             mouse_events: 1;
31893             repeat_events: 1;
31894             description { state: "default" 0.0;
31895                color: 255 255 255 0;
31896             rel1.to: "elm.bar";
31897             rel2.to: "elm.bar";
31898                image {
31899                   normal: "bt_glow.png";
31900                   border: 12 12 12 12;
31901                }
31902                fill.smooth : 0;
31903             }
31904             description { state: "clicked" 0.0;
31905                inherit:  "default" 0.0;
31906                visible: 1;
31907                color: 255 255 255 255;
31908             }
31909          }
31910
31911          //Arrow
31912          part {
31913             name: "arrow_right";
31914             repeat_events: 1;
31915             description { state: "default" 0.0;
31916                 min: 45 45;
31917                 max: 45 45;
31918                 color: 255 255 255 0;
31919
31920                 rel1.relative: 1.0 0.5;
31921                 rel1.to_x: "elm.bar";
31922                 rel1.offset: 45/2 -45/2;
31923
31924                 rel2.relative: 1.0 0.5;
31925                 rel2.to_x: "elm.bar";
31926                 rel2.offset: 45/2 45/2;
31927
31928                 image.normal: "arrow_right.png";
31929
31930                 fixed: 1 1;
31931             }
31932             description { state: "default" 0.1;
31933                 inherit: "default" 0.0;
31934                 image.normal: "arrow_left.png";
31935             }
31936             description { state: "anim_1" 0.0;
31937                 inherit: "default" 0.0;
31938                 color: 255 255 255 200;
31939                 rel1.offset: (45/2 + 10) -45/2;
31940                 rel2.offset: (45/2 +10) 45/2;
31941             }
31942             description { state: "anim_1" 0.1;
31943                 inherit: "default" 0.0;
31944                 image.normal: "arrow_left.png";
31945                 color: 255 255 255 200;
31946                 rel1.offset: (45/2 + 10) -45/2;
31947                 rel2.offset: (45/2 +10) 45/2;
31948             }
31949             description { state: "anim_2" 0.0;
31950                 inherit: "default" 0.0;
31951                 color: 255 255 255 0;
31952                 rel1.offset: (45/2 + 20) -45/2;
31953                 rel2.offset: (45/2 + 20) 45/2;
31954             }
31955             description { state: "anim_2" 0.1;
31956                 inherit: "default" 0.0;
31957                 image.normal: "arrow_left.png";
31958                 color: 255 255 255 0;
31959                 rel1.offset: (45/2 + 20) -45/2;
31960                 rel2.offset: (45/2 + 20) 45/2;
31961             }
31962          }
31963         part {
31964             name: "arrow_left";
31965             repeat_events: 1;
31966             description { state: "default" 0.0;
31967                 min: 45 45;
31968                 max: 45 45;
31969                 color: 255 255 255 0;
31970
31971                 rel1.relative: 0.0 0.5;
31972                 rel1.to_x: "elm.bar";
31973                 rel1.offset: -45/2 -45/2;
31974
31975                 rel2.relative: 0.0 0.5;
31976                 rel2.to_x: "elm.bar";
31977                 rel2.offset: -45/2 45/2;
31978
31979                 image.normal: "arrow_left.png";
31980
31981                 fixed: 1 1;
31982             }
31983             description { state: "default" 0.1;
31984                 inherit: "default" 0.0;
31985                 image.normal: "arrow_right.png";
31986             }
31987             description { state: "anim_1" 0.0;
31988                 inherit: "default" 0.0;
31989                 color: 255 255 255 200;
31990                 rel1.offset: (-45/2 - 10) -45/2;
31991                 rel2.offset: (-45/2 - 10) 45/2;
31992             }
31993             description { state: "anim_1" 0.1;
31994                 inherit: "default" 0.0;
31995                 image.normal: "arrow_right.png";
31996                 color: 255 255 255 200;
31997                 rel1.offset: (-45/2 - 10) -45/2;
31998                 rel2.offset: (-45/2 - 10) 45/2;
31999             }
32000             description { state: "anim_2" 0.0;
32001                 inherit: "default" 0.0;
32002                 color: 255 255 255 0;
32003                 rel1.offset: (-45/2 - 20) -45/2;
32004                 rel2.offset: (-45/2 - 20) 45/2;
32005             }
32006             description { state: "anim_2" 0.1;
32007                 inherit: "default" 0.0;
32008                 image.normal: "arrow_right.png";
32009                 color: 255 255 255 0;
32010                 rel1.offset: (-45/2 - 20) -45/2;
32011                 rel2.offset: (-45/2 - 20) 45/2;
32012             }
32013          }
32014
32015        }
32016         programs {
32017          program {
32018             name:   "button_click";
32019             signal: "mouse,down,1";
32020             source: "over2";
32021             action: SIGNAL_EMIT "elm,action,press" "";
32022             after: "button_click_anim";
32023             after: "arrow_anim_start";
32024          }
32025          program {
32026             name:   "button_click_anim";
32027             action: STATE_SET "clicked" 0.0;
32028             target: "elm.bar";
32029          }
32030          program {
32031             name:   "button_unclick";
32032             signal: "mouse,up,1";
32033             source: "over2";
32034             action: SIGNAL_EMIT "elm,action,unpress" "";
32035             after: "button_unclick_anim";
32036             after: "arrow_anim_stop";
32037          }
32038          program {
32039             name:   "button_unclick_anim";
32040             action: STATE_SET "default" 0.0;
32041             target: "elm.bar";
32042          }
32043          program {
32044             name:   "button_click2";
32045             signal: "mouse,down,1";
32046             source: "over3";
32047             action: STATE_SET "clicked" 0.0;
32048             target: "over3";
32049          }
32050          program {
32051             name:   "button_unclick2";
32052             signal: "mouse,up,1";
32053             source: "over3";
32054             action: STATE_SET "default" 0.0;
32055             transition: DECELERATE 0.5;
32056             target: "over3";
32057          }
32058          program {
32059             name:   "button_unclick3";
32060             signal: "mouse,up,1";
32061             source: "over2";
32062             action: SIGNAL_EMIT "elm,action,click" "";
32063          }
32064          program {
32065             name:   "button_down_double";
32066             signal: "mouse,down,1,double";
32067             source: "over3";
32068             action: SIGNAL_EMIT "elm,action,click,double" "";
32069          }
32070
32071          //arrows animation
32072          program {
32073             name: "arrow_anim_start";
32074             script {
32075                new st[31];
32076                new Float:vl;
32077                get_state(PART:"arrow_left", st, 30, vl);
32078                if (vl == 0.0) {
32079                   run_program(PROGRAM:"arrow_anim_start_ltr");
32080                }
32081                else {
32082                   run_program(PROGRAM:"arrow_anim_start_rtl");
32083                }
32084             }
32085          }
32086          program {
32087             name: "arrow_anim_stop";
32088             script {
32089                new st[31];
32090                new Float:vl;
32091                get_state(PART:"arrow_left", st, 30, vl);
32092                if (vl == 0.0) {
32093                   run_program(PROGRAM:"arrow_anim_stop_ltr");
32094                }
32095                else {
32096                   run_program(PROGRAM:"arrow_anim_stop_rtl");
32097                }
32098             }
32099          }
32100
32101          program {
32102             name: "arrow_anim_start_ltr";
32103             action: STATE_SET "anim_1" 0.0;
32104             target: "arrow_right";
32105             target: "arrow_left";
32106             transition: LINEAR 0.6;
32107             after: "arrow_anim_1_ltr";
32108          }
32109          program {
32110             name: "arrow_anim_1_ltr";
32111             action: STATE_SET "anim_2" 0.0;
32112             target: "arrow_right";
32113             target: "arrow_left";
32114             transition: LINEAR 0.6;
32115             after: "arrow_anim_2_ltr";
32116          }
32117          program {
32118             name: "arrow_anim_2_ltr";
32119             action: STATE_SET "default" 0.0;
32120             target: "arrow_right";
32121             target: "arrow_left";
32122             after: "arrow_anim_start_ltr";
32123          }
32124          program {
32125             name: "arrow_anim_stop_ltr";
32126             action: ACTION_STOP;
32127             target: "arrow_anim_start_ltr";
32128             target: "arrow_anim_1_ltr";
32129             target: "arrow_anim_2_ltr";
32130             after: "arrow_anim_stop_1_ltr";
32131          }
32132          program {
32133             name: "arrow_anim_stop_1_ltr";
32134             action: STATE_SET "default" 0.0;
32135             target: "arrow_right";
32136             target: "arrow_left";
32137             transition: DECELERATE 0.4;
32138         }
32139          program {
32140             name: "arrow_anim_start_rtl";
32141             action: STATE_SET "anim_1" 0.1;
32142             target: "arrow_right";
32143             target: "arrow_left";
32144             transition: LINEAR 0.6;
32145             after: "arrow_anim_1_rtl";
32146          }
32147          program {
32148             name: "arrow_anim_1_rtl";
32149             action: STATE_SET "anim_2" 0.1;
32150             target: "arrow_right";
32151             target: "arrow_left";
32152             transition: LINEAR 0.6;
32153             after: "arrow_anim_2_rtl";
32154          }
32155          program {
32156             name: "arrow_anim_2_rtl";
32157             action: STATE_SET "default" 0.1;
32158             target: "arrow_right";
32159             target: "arrow_left";
32160             after: "arrow_anim_start_rtl";
32161          }
32162          program {
32163             name: "arrow_anim_stop_rtl";
32164             action: ACTION_STOP;
32165             target: "arrow_anim_start_rtl";
32166             target: "arrow_anim_1_rtl";
32167             target: "arrow_anim_2_rtl";
32168             after: "arrow_anim_stop_1_rtl";
32169          }
32170          program {
32171             name: "arrow_anim_stop_1_rtl";
32172             action: STATE_SET "default" 0.1;
32173             target: "arrow_right";
32174             target: "arrow_left";
32175             transition: DECELERATE 0.4;
32176         }
32177          program { name: "to_rtl";
32178             signal: "edje,state,rtl";
32179             source: "edje";
32180             script {
32181                new st[31];
32182                new Float:vl;
32183                get_state(PART:"arrow_left", st, 30, vl);
32184                if (vl == 0.0) {
32185                   set_state(PART:"arrow_left", st, 0.1);
32186                }
32187                get_state(PART:"arrow_right", st, 30, vl);
32188                if (vl == 0.0) {
32189                   set_state(PART:"arrow_right", st, 0.1);
32190                }
32191             }
32192          }
32193          program { name: "to_ltr";
32194             signal: "edje,state,ltr";
32195             source: "edje";
32196             script {
32197                new st[31];
32198                new Float:vl;
32199                get_state(PART:"arrow_left", st, 30, vl);
32200                if (vl == 0.1) {
32201                   set_state(PART:"arrow_left", st, 0.0);
32202                }
32203                get_state(PART:"arrow_right", st, 30, vl);
32204                if (vl == 0.1) {
32205                   set_state(PART:"arrow_right", st, 0.0);
32206                }
32207             }
32208          }
32209       }
32210   }
32211
32212   group {
32213      name: "elm/panes/horizontal/default";
32214       images {
32215          image: "bt_base1.png" COMP;
32216          image: "bt_base2.png" COMP;
32217          image: "bt_hilight.png" COMP;
32218          image: "bt_shine.png" COMP;
32219          image: "bt_glow.png" COMP;
32220          image: "bt_dis_base.png" COMP;
32221          image: "bt_dis_hilight.png" COMP;
32222          image: "arrow_up.png" COMP;
32223          image: "arrow_down.png" COMP;
32224       }
32225      parts
32226        {
32227           part
32228             {
32229                name: "whole";
32230                type: RECT;
32231                mouse_events: 0;
32232                description
32233                  {
32234                     state: "default" 0.0;
32235                     visible: 0;
32236                  }
32237             }
32238
32239          //2 contents
32240           part
32241             {
32242                name: "whole_left";
32243                type: RECT;
32244                mouse_events: 0;
32245                description
32246                  {
32247                     state: "default" 0.0;
32248                     rel2.to_y: "elm.bar";
32249                     rel2.relative: 1.0 0.0;
32250                     visible: 1;
32251                  }
32252             }
32253           part
32254             {
32255                name: "elm.swallow.left";
32256                type: SWALLOW;
32257                clip_to: "whole_left";
32258                description
32259                  {
32260                     state: "default" 0.0;
32261                     rel1.to: "whole_left";
32262                     rel2.to: "whole_left";
32263                  }
32264             }
32265
32266             part
32267             {
32268                name: "whole_right";
32269                type: RECT;
32270                mouse_events: 0;
32271                description
32272                  {
32273                     state: "default" 0.0;
32274                     rel1.to_y: "elm.bar";
32275                     rel1.relative: 0.0 1.0;
32276                     visible: 1;
32277                  }
32278             }
32279           part
32280             {
32281                name: "elm.swallow.right";
32282                type: SWALLOW;
32283                clip_to: "whole_right";
32284                description
32285                  {
32286                     state: "default" 0.0;
32287                     rel1.to: "whole_right";
32288                     rel2.to: "whole_right";
32289                  }
32290             }
32291          //BAR
32292          part { name: "elm.bar";
32293             mouse_events: 1;
32294             dragable {
32295                confine: "whole";
32296                x: 0 0 0;
32297                y: 1 1 1;
32298             }
32299             description { state: "default" 0.0;
32300                max: 999 15;
32301                min: 100 15;
32302                rel1.relative: 0.5 0.0;
32303                rel2.relative: 0.5 1.0;
32304                image {
32305                   normal: "bt_base2.png";
32306                   border: 7 7 7 7;
32307                }
32308                image.middle: SOLID;
32309             }
32310             description { state: "clicked" 0.0;
32311                inherit: "default" 0.0;
32312                image.normal: "bt_base1.png";
32313                image.middle: SOLID;
32314             }
32315             description { state: "disabled" 0.0;
32316                inherit:  "default" 0.0;
32317                image {
32318                   normal: "bt_dis_base.png";
32319                   border: 4 4 4 4;
32320                }
32321             }
32322          }
32323          part {          name: "over1";
32324             mouse_events: 0;
32325             description { state: "default" 0.0;
32326             rel1.to: "elm.bar";
32327             rel2.to: "elm.bar";
32328                rel2.relative: 1.0 0.5;
32329                image {
32330                   normal: "bt_hilight.png";
32331                   border: 7 7 7 0;
32332                }
32333             }
32334             description { state: "disabled" 0.0;
32335                inherit:  "default" 0.0;
32336                image {
32337                   normal: "bt_dis_hilight.png";
32338                   border: 4 4 4 0;
32339                }
32340             }
32341          }
32342          part { name: "over2";
32343             mouse_events: 1;
32344             repeat_events: 1;
32345             ignore_flags: ON_HOLD;
32346             description { state: "default" 0.0;
32347             rel1.to: "elm.bar";
32348             rel2.to: "elm.bar";
32349                image {
32350                   normal: "bt_shine.png";
32351                   border: 7 7 7 7;
32352                }
32353             }
32354             description { state: "disabled" 0.0;
32355                inherit:  "default" 0.0;
32356                visible: 0;
32357             }
32358          }
32359          part { name: "over3";
32360             mouse_events: 1;
32361             repeat_events: 1;
32362             description { state: "default" 0.0;
32363                color: 255 255 255 0;
32364             rel1.to: "elm.bar";
32365             rel2.to: "elm.bar";
32366                image {
32367                   normal: "bt_glow.png";
32368                   border: 12 12 12 12;
32369                }
32370                fill.smooth : 0;
32371             }
32372             description { state: "clicked" 0.0;
32373                inherit:  "default" 0.0;
32374                visible: 1;
32375                color: 255 255 255 255;
32376             }
32377          }
32378
32379          //Arrow
32380          part {
32381             name: "arrow_right";
32382             repeat_events: 1;
32383             description { state: "default" 0.0;
32384                 min: 45 45;
32385                 max: 45 45;
32386                 color: 255 255 255 0;
32387
32388                 rel1.relative: 0.5 1.0;
32389                 rel1.to_y: "elm.bar";
32390                 rel1.offset: -45/2 45/2;
32391
32392                 rel2.relative: 0.5 1.0;
32393                 rel2.to_y: "elm.bar";
32394                 rel2.offset: 45/2 45/2;
32395
32396                 image.normal: "arrow_down.png";
32397
32398                 fixed: 1 1;
32399             }
32400             description { state: "anim_1" 0.0;
32401                 inherit: "default" 0.0;
32402                 color: 255 255 255 200;
32403                 rel1.offset: -45/2 (45/2 +10);
32404                 rel2.offset: 45/2 (45/2 +10);
32405             }
32406             description { state: "anim_2" 0.0;
32407                 inherit: "default" 0.0;
32408                 color: 255 255 255 0;
32409                 rel1.offset: -45/2 (45/2 + 20);
32410                 rel2.offset: 45/2 (45/2 + 20);
32411             }
32412          }
32413         part {
32414             name: "arrow_left";
32415             repeat_events: 1;
32416             description { state: "default" 0.0;
32417                 min: 45 45;
32418                 max: 45 45;
32419                 color: 255 255 255 0;
32420
32421                 rel1.relative: 0.5 0.0;
32422                 rel1.to_y: "elm.bar";
32423                 rel1.offset: -45/2 -45/2;
32424
32425                 rel2.relative: 0.5 0.0;
32426                 rel2.to_y: "elm.bar";
32427                 rel2.offset: 45/2 -45/2;
32428
32429                 image.normal: "arrow_up.png";
32430
32431                 fixed: 1 1;
32432             }
32433             description { state: "anim_1" 0.0;
32434                 inherit: "default" 0.0;
32435                 color: 255 255 255 200;
32436                 rel1.offset: -45/2 (-45/2 - 10);
32437                 rel2.offset: 45/2 (-45/2 - 10);
32438             }
32439             description { state: "anim_2" 0.0;
32440                 inherit: "default" 0.0;
32441                 color: 255 255 255 0;
32442                 rel1.offset: -45/2 (-45/2 - 20);
32443                 rel2.offset: 45/2 (-45/2 - 20);
32444             }
32445          }
32446
32447        }
32448         programs {
32449          program {
32450             name:   "button_click";
32451             signal: "mouse,down,1";
32452             source: "over2";
32453             action: SIGNAL_EMIT "elm,action,press" "";
32454             after: "button_click_anim";
32455             after: "arrow_anim_start";
32456          }
32457          program {
32458             name:   "button_click_anim";
32459             action: STATE_SET "clicked" 0.0;
32460             target: "elm.bar";
32461          }
32462          program {
32463             name:   "button_unclick";
32464             signal: "mouse,up,1";
32465             source: "over2";
32466             action: SIGNAL_EMIT "elm,action,unpress" "";
32467             after: "button_unclick_anim";
32468             after: "arrow_anim_stop";
32469          }
32470          program {
32471             name:   "button_unclick_anim";
32472             action: STATE_SET "default" 0.0;
32473             target: "elm.bar";
32474          }
32475          program {
32476             name:   "button_click2";
32477             signal: "mouse,down,1";
32478             source: "over3";
32479             action: STATE_SET "clicked" 0.0;
32480             target: "over3";
32481          }
32482          program {
32483             name:   "button_unclick2";
32484             signal: "mouse,up,1";
32485             source: "over3";
32486             action: STATE_SET "default" 0.0;
32487             transition: DECELERATE 0.5;
32488             target: "over3";
32489          }
32490          program {
32491             name:   "button_unclick3";
32492             signal: "mouse,up,1";
32493             source: "over2";
32494             action: SIGNAL_EMIT "elm,action,click" "";
32495          }
32496          program {
32497             name:   "button_down_double";
32498             signal: "mouse,down,1,double";
32499             source: "over3";
32500             action: SIGNAL_EMIT "elm,action,click,double" "";
32501          }
32502
32503          //arrows animation
32504          program {
32505             name: "arrow_anim_start";
32506             action: STATE_SET "anim_1" 0.0;
32507             target: "arrow_right";
32508             target: "arrow_left";
32509             transition: LINEAR 0.6;
32510             after: "arrow_anim_1";
32511          }
32512          program {
32513             name: "arrow_anim_1";
32514             action: STATE_SET "anim_2" 0.0;
32515             target: "arrow_right";
32516             target: "arrow_left";
32517             transition: LINEAR 0.6;
32518             after: "arrow_anim_2";
32519          }
32520          program {
32521             name: "arrow_anim_2";
32522             action: STATE_SET "default" 0.0;
32523             target: "arrow_right";
32524             target: "arrow_left";
32525             after: "arrow_anim_start";
32526          }
32527          program {
32528             name: "arrow_anim_stop";
32529             action: ACTION_STOP;
32530             target: "arrow_anim_start";
32531             target: "arrow_anim_1";
32532             target: "arrow_anim_2";
32533             after: "arrow_anim_stop_1";
32534          }
32535          program {
32536             name: "arrow_anim_stop_1";
32537             action: STATE_SET "default" 0.0;
32538             target: "arrow_right";
32539             target: "arrow_left";
32540             transition: DECELERATE 0.4;
32541         }
32542       }
32543   }
32544
32545
32546
32547 /////////////////////////////////////////////////////////////////////////////
32548 // PANEL
32549 /////////////////////////////////////////////////////////////////////////////
32550   group {
32551      name: "elm/panel/base/left";
32552      alias: "elm/panel/base/top";
32553      images
32554        {
32555           image: "bt_base1.png" COMP;
32556           image: "bt_hilight.png" COMP;
32557           image: "bt_shine.png" COMP;
32558           image: "bt_glow.png" COMP;
32559           image: "bt_dis_base.png" COMP;
32560           image: "icon_arrow_left.png" COMP;
32561           image: "icon_arrow_right.png" COMP;
32562        }
32563        data {
32564           item: "focus_highlight" "on";
32565        }
32566      parts
32567        {
32568             part { name: "focus_highlight";
32569                description { state: "default" 0.0;
32570                   visible: 0;
32571                   color: 255 255 255 0;
32572                   rel1 {
32573                      to: "btn";
32574                      offset: -8 -8;
32575                   }
32576                   rel2 {
32577                      to: "btn";
32578                      offset: 7 7;
32579                   }
32580                   image {
32581                      normal: "frame_2.png";
32582                      border: 5 5 32 26;
32583                      middle: 0;
32584                   }
32585                }
32586                description { state: "enabled" 0.0;
32587                   inherit: "default" 0.0;
32588                   visible: 1;
32589                   color: 255 255 255 255;
32590                }
32591             }
32592           part
32593             {
32594                name: "bg";
32595                type: RECT;
32596                mouse_events: 0;
32597                description
32598                  {
32599                     state: "default" 0.0;
32600                     color: 255 255 255 0;
32601                     rel1.relative: 0.0 0.0;
32602                     rel1.offset: 0 0;
32603                     rel2.relative: 1.0 1.0;
32604                     rel2.offset: -1 -1;
32605                  }
32606                description
32607                  {
32608                     state: "hidden" 0.0;
32609                     inherit: "default" 0.0;
32610                     rel1.relative: -1.0 0.0;
32611                     rel1.offset: 21 0;
32612                     rel2.relative: 0.0 1.0;
32613                     rel2.offset: 20 -1;
32614                  }
32615             }
32616           part
32617             {
32618                name: "base";
32619                type: IMAGE;
32620                mouse_events: 0;
32621                description
32622                  {
32623                     state: "default" 0.0;
32624                     rel1.to: "bg";
32625                     rel2.to: "bg";
32626                     rel2.offset: -20 -1;
32627                     image
32628                       {
32629                          normal: "bt_dis_base.png";
32630                          border: 4 4 4 4;
32631                       }
32632                  }
32633             }
32634           part
32635             {
32636                name: "clipper";
32637                type: RECT;
32638                mouse_events: 0;
32639                description
32640                  {
32641                     state: "default" 0.0;
32642                     rel1
32643                       {
32644                          offset: 4 4;
32645                          to: "base";
32646                       }
32647                     rel2
32648                       {
32649                          offset: -5 -5;
32650                          to: "base";
32651                       }
32652                  }
32653             }
32654           part
32655             {
32656                name: "elm.swallow.content";
32657                type: SWALLOW;
32658                clip_to: "clipper";
32659                description
32660                  {
32661                     state: "default" 0.0;
32662                     rel1.to: "clipper";
32663                     rel2.to: "clipper";
32664                  }
32665             }
32666           part
32667             {
32668                name: "btn";
32669                type: IMAGE;
32670                mouse_events: 1;
32671                description
32672                  {
32673                     state: "default" 0.0;
32674                     max: 32 48;
32675                     fixed: 1 1;
32676                     align: 0.0 0.5;
32677                     rel1
32678                       {
32679                          relative: 1.0 0.0;
32680                          offset: -3 0;
32681                          to_x: "base";
32682                       }
32683                     rel2.to_x: "bg";
32684                     image
32685                       {
32686                          normal: "bt_base1.png";
32687                          border: 0 5 4 12;
32688                       }
32689                     fill.smooth: 0;
32690                  }
32691                description
32692                  {
32693                     state: "clicked" 0.0;
32694                     inherit: "default" 0.0;
32695                  }
32696             }
32697           part
32698             {
32699                name: "btn_over";
32700                type: IMAGE;
32701                mouse_events: 0;
32702                description
32703                  {
32704                     state: "default" 0.0;
32705                     rel1.to: "btn";
32706                     rel2
32707                       {
32708                          relative: 1.0 0.5;
32709                          to: "btn";
32710                       }
32711                     image
32712                       {
32713                          normal: "bt_hilight.png";
32714                          border: 0 7 7 0;
32715                       }
32716                  }
32717             }
32718           part
32719             {
32720                name: "btn_over2";
32721                type: IMAGE;
32722                mouse_events: 1;
32723                repeat_events: 1;
32724                ignore_flags: ON_HOLD;
32725                description
32726                  {
32727                     state: "default" 0.0;
32728                     rel1.to: "btn";
32729                     rel2.to: "btn";
32730                     image
32731                       {
32732                          normal: "bt_shine.png";
32733                          border: 0 7 7 7;
32734                     }
32735                  }
32736             }
32737           part
32738             {
32739                name: "btn_over3";
32740                type: IMAGE;
32741                mouse_events: 1;
32742                repeat_events: 1;
32743                description
32744                  {
32745                     state: "default" 0.0;
32746                     color: 255 255 255 0;
32747                     rel1.to: "btn";
32748                     rel2.to: "btn";
32749                     image
32750                       {
32751                        normal: "bt_glow.png";
32752                        border: 12 12 12 12;
32753                     }
32754                   fill.smooth: 0;
32755                }
32756              description
32757                {
32758                   state: "clicked" 0.0;
32759                   inherit: "default" 0.0;
32760                   visible: 1;
32761                   color: 255 255 255 255;
32762                }
32763             }
32764           part
32765             {
32766                name: "btn_icon";
32767                type: IMAGE;
32768                repeat_events: 1;
32769                description
32770                  {
32771                     state: "default" 0.0;
32772                     rel1.to: "btn";
32773                     rel2.to: "btn";
32774                     align: 0.5 0.5;
32775                     min: 16 16;
32776                     max: 16 16;
32777                     image.normal: "icon_arrow_left.png";
32778                  }
32779                description
32780                  {
32781                     state: "hidden" 0.0;
32782                     inherit: "default" 0.0;
32783                     image.normal: "icon_arrow_right.png";
32784                  }
32785             }
32786        }
32787      programs
32788        {
32789           program
32790             {
32791                name: "show";
32792                signal: "elm,action,show";
32793                source: "elm";
32794                action: STATE_SET "default" 0.0;
32795                target: "bg";
32796                target: "btn_icon";
32797                transition: LINEAR 0.5;
32798             }
32799           program
32800             {
32801                name: "hide";
32802                signal: "elm,action,hide";
32803                source: "elm";
32804                action: STATE_SET "hidden" 0.0;
32805                target: "bg";
32806                target: "btn_icon";
32807                transition: LINEAR 0.5;
32808             }
32809           program
32810             {
32811                name: "btn_click";
32812                signal: "mouse,down,1";
32813                source: "btn_over2";
32814                action: STATE_SET "clicked" 0.0;
32815                target: "btn";
32816             }
32817           program
32818             {
32819                name: "btn_unclick";
32820                signal: "mouse,up,1";
32821                source: "btn_over2";
32822                action: STATE_SET "default" 0.0;
32823                target: "btn";
32824             }
32825           program
32826             {
32827                name: "btn_click2";
32828                signal: "mouse,down,1";
32829                source: "btn_over3";
32830                action: STATE_SET "clicked" 0.0;
32831                target: "btn_over3";
32832             }
32833           program
32834             {
32835                name: "btn_unclick2";
32836                signal: "mouse,up,1";
32837                source: "btn_over3";
32838                action: STATE_SET "default" 0.0;
32839                transition: DECELERATE 0.5;
32840                target: "btn_over3";
32841             }
32842           program
32843             {
32844                name: "btn_unclick3";
32845                signal: "mouse,clicked,1";
32846                source: "btn_over2";
32847                action: SIGNAL_EMIT "elm,action,panel,toggle" "";
32848             }
32849          program { name: "highlight_show";
32850             signal: "elm,action,focus_highlight,show";
32851             source: "elm";
32852             action: STATE_SET "enabled" 0.0;
32853             transition: ACCELERATE 0.3;
32854             target: "focus_highlight";
32855          }
32856          program { name: "highlight_hide";
32857             signal: "elm,action,focus_highlight,hide";
32858             source: "elm";
32859             action: STATE_SET "default" 0.0;
32860             transition: DECELERATE 0.3;
32861             target: "focus_highlight";
32862          }
32863        }
32864   }
32865
32866   group {
32867      name: "elm/panel/base/right";
32868      alias: "elm/panel/base/bottom";
32869      images
32870        {
32871           image: "bt_base1.png" COMP;
32872           image: "bt_hilight.png" COMP;
32873           image: "bt_shine.png" COMP;
32874           image: "bt_glow.png" COMP;
32875           image: "bt_dis_base.png" COMP;
32876           image: "icon_arrow_left.png" COMP;
32877           image: "icon_arrow_right.png" COMP;
32878        }
32879      parts
32880        {
32881             part { name: "focus_highlight";
32882                description { state: "default" 0.0;
32883                   visible: 0;
32884                   color: 255 255 255 0;
32885                   rel1 {
32886                      to: "btn";
32887                      offset: -8 -8;
32888                   }
32889                   rel2 {
32890                      to: "btn";
32891                      offset: 7 7;
32892                   }
32893                   image {
32894                      normal: "frame_2.png";
32895                      border: 5 5 32 26;
32896                      middle: 0;
32897                   }
32898                }
32899                description { state: "enabled" 0.0;
32900                   inherit: "default" 0.0;
32901                   visible: 1;
32902                   color: 255 255 255 255;
32903                }
32904             }
32905           part
32906             {
32907                name: "bg";
32908                type: RECT;
32909                mouse_events: 0;
32910                description
32911                  {
32912                     state: "default" 0.0;
32913                     color: 255 255 255 0;
32914                     rel1.relative: 0.0 0.0;
32915                     rel1.offset: 0 0;
32916                     rel2.relative: 1.0 1.0;
32917                     rel2.offset: -1 -1;
32918                  }
32919                description
32920                  {
32921                     state: "hidden" 0.0;
32922                     inherit: "default" 0.0;
32923                     rel1.relative: 1.0 0.0;
32924                     rel1.offset: -22 0;
32925                     rel2.relative: 2.0 1.0;
32926                     rel2.offset: -23 -1;
32927                  }
32928             }
32929           part
32930             {
32931                name: "base";
32932                type: IMAGE;
32933                mouse_events: 0;
32934                description
32935                  {
32936                     state: "default" 0.0;
32937                     rel1.to: "bg";
32938                     rel1.offset: 20 0;
32939                     rel2.to: "bg";
32940                     image
32941                       {
32942                          normal: "bt_dis_base.png";
32943                          border: 4 4 4 4;
32944                       }
32945                  }
32946             }
32947           part
32948             {
32949                name: "clipper";
32950                type: RECT;
32951                mouse_events: 0;
32952                description
32953                  {
32954                     state: "default" 0.0;
32955                     rel1
32956                       {
32957                          offset: 4 4;
32958                          to: "base";
32959                       }
32960                     rel2
32961                       {
32962                          offset: -5 -5;
32963                          to: "base";
32964                       }
32965                  }
32966             }
32967           part
32968             {
32969                name: "elm.swallow.content";
32970                type: SWALLOW;
32971                clip_to: "clipper";
32972                description
32973                  {
32974                     state: "default" 0.0;
32975                     rel1.to: "clipper";
32976                     rel2.to: "clipper";
32977                  }
32978             }
32979           part
32980             {
32981                name: "btn";
32982                type: IMAGE;
32983                mouse_events: 1;
32984                description
32985                  {
32986                     state: "default" 0.0;
32987                     max: 32 48;
32988                     fixed: 1 1;
32989                     align: 1 0.5;
32990                     rel1
32991                       {
32992                          to_x: "bg";
32993                       }
32994                     rel2
32995                       {
32996                          offset: 2 0;
32997                          relative: 0.0 1;
32998                          to_x: "base";
32999                       }
33000                     image
33001                       {
33002                          normal: "bt_base1.png";
33003                          border: 5 0 4 12;
33004                       }
33005                     fill.smooth: 0;
33006                  }
33007                description
33008                  {
33009                     state: "clicked" 0.0;
33010                     inherit: "default" 0.0;
33011                  }
33012             }
33013           part
33014             {
33015                name: "btn_over";
33016                type: IMAGE;
33017                mouse_events: 0;
33018                description
33019                  {
33020                     state: "default" 0.0;
33021                     rel1.to: "btn";
33022                     rel2
33023                       {
33024                          relative: 1.0 0.5;
33025                          to: "btn";
33026                       }
33027                     image
33028                       {
33029                          normal: "bt_hilight.png";
33030                          border: 7 0 7 0;
33031                       }
33032                  }
33033             }
33034           part
33035             {
33036                name: "btn_over2";
33037                type: IMAGE;
33038                mouse_events: 1;
33039                repeat_events: 1;
33040                ignore_flags: ON_HOLD;
33041                description
33042                  {
33043                     state: "default" 0.0;
33044                     rel1.to: "btn";
33045                     rel2.to: "btn";
33046                     image
33047                       {
33048                          normal: "bt_shine.png";
33049                          border: 7 0 7 7;
33050                     }
33051                  }
33052             }
33053           part
33054             {
33055                name: "btn_over3";
33056                type: IMAGE;
33057                mouse_events: 1;
33058                repeat_events: 1;
33059                description
33060                  {
33061                     state: "default" 0.0;
33062                     color: 255 255 255 0;
33063                     rel1.to: "btn";
33064                     rel2.to: "btn";
33065                     image
33066                       {
33067                        normal: "bt_glow.png";
33068                        border: 12 12 12 12;
33069                     }
33070                   fill.smooth: 0;
33071                }
33072              description
33073                {
33074                   state: "clicked" 0.0;
33075                   inherit: "default" 0.0;
33076                   visible: 1;
33077                   color: 255 255 255 255;
33078                }
33079             }
33080           part
33081             {
33082                name: "btn_icon";
33083                type: IMAGE;
33084                repeat_events: 1;
33085                description
33086                  {
33087                     state: "default" 0.0;
33088                     rel1.to: "btn";
33089                     rel2.to: "btn";
33090                     align: 0.5 0.5;
33091                     min: 16 16;
33092                     max: 16 16;
33093                     image.normal: "icon_arrow_right.png";
33094                  }
33095                description
33096                  {
33097                     state: "hidden" 0.0;
33098                     inherit: "default" 0.0;
33099                     image.normal: "icon_arrow_left.png";
33100                  }
33101             }
33102        }
33103      programs
33104        {
33105           program
33106             {
33107                name: "show";
33108                signal: "elm,action,show";
33109                source: "elm";
33110                action: STATE_SET "default" 0.0;
33111                target: "bg";
33112                target: "btn_icon";
33113                transition: LINEAR 0.5;
33114             }
33115           program
33116             {
33117                name: "hide";
33118                signal: "elm,action,hide";
33119                source: "elm";
33120                action: STATE_SET "hidden" 0.0;
33121                target: "bg";
33122                target: "btn_icon";
33123                transition: LINEAR 0.5;
33124             }
33125           program
33126             {
33127                name: "btn_click";
33128                signal: "mouse,down,1";
33129                source: "btn_over2";
33130                action: STATE_SET "clicked" 0.0;
33131                target: "btn";
33132             }
33133           program
33134             {
33135                name: "btn_unclick";
33136                signal: "mouse,up,1";
33137                source: "btn_over2";
33138                action: STATE_SET "default" 0.0;
33139                target: "btn";
33140             }
33141           program
33142             {
33143                name: "btn_click2";
33144                signal: "mouse,down,1";
33145                source: "btn_over3";
33146                action: STATE_SET "clicked" 0.0;
33147                target: "btn_over3";
33148             }
33149           program
33150             {
33151                name: "btn_unclick2";
33152                signal: "mouse,up,1";
33153                source: "btn_over3";
33154                action: STATE_SET "default" 0.0;
33155                transition: DECELERATE 0.5;
33156                target: "btn_over3";
33157             }
33158           program
33159             {
33160                name: "btn_unclick3";
33161                signal: "mouse,up,1";
33162                source: "btn_over2";
33163                action: SIGNAL_EMIT "elm,action,panel,toggle" "";
33164             }
33165          program { name: "highlight_show";
33166             signal: "elm,action,focus";
33167             source: "elm";
33168             action: STATE_SET "enabled" 0.0;
33169             transition: ACCELERATE 0.3;
33170             target: "focus_highlight";
33171          }
33172          program { name: "highlight_hide";
33173             signal: "elm,action,unfocus";
33174             source: "elm";
33175             action: STATE_SET "default" 0.0;
33176             transition: DECELERATE 0.3;
33177             target: "focus_highlight";
33178          }
33179        }
33180   }
33181
33182 ///////////////////////////////////////////////////////////////////////////////
33183   group { name: "elm/conformant/base/default";
33184      parts {
33185         part { name: "elm.swallow.shelf";
33186            type: SWALLOW;
33187            description { state: "default" 0.0;
33188               fixed: 1 1;
33189               align: 0.0 0.0;
33190               rel2.relative: 1.0 0.0;
33191            }
33192         }
33193         part { name: "elm.swallow.content";
33194            type: SWALLOW;
33195            description { state: "default" 0.0;
33196               align: 0.5 0.5;
33197               rel1.relative: 0.0 1.0;
33198               rel1.to_y: "elm.swallow.shelf";
33199               rel2.relative: 1.0 0.0;
33200               rel2.to_y: "elm.swallow.panel";
33201            }
33202         }
33203         part { name: "elm.swallow.panel";
33204            type: SWALLOW;
33205            description { state: "default" 0.0;
33206               fixed: 1 1;
33207               align: 0.0 1.0;
33208               rel1.relative: 0.0 1.0;
33209            }
33210         }
33211      }
33212   }
33213
33214 /////////////////////////////////////////////////////////////////////////////
33215 // CALENDAR
33216 /////////////////////////////////////////////////////////////////////////////
33217 #define CH(_pos) \
33218          part { name: "ch_"#_pos".base"; \
33219             type: RECT; \
33220             description { state: "default" 0.0; \
33221                rel1 { \
33222                   relative: (_pos % 7 * 7 / 8 / 6) 0; \
33223                   to: "header"; \
33224                } \
33225                rel2 { \
33226                   relative: (_pos % 7 * 7 / 8 / 6 + 1 / 8) 1; \
33227                   to: "header"; \
33228                } \
33229                color: 0 0 0 0; \
33230                visible: 0; \
33231             } \
33232          } \
33233          part { name: "ch_"#_pos".text"; \
33234             type: TEXT; \
33235             effect: SOFT_SHADOW; \
33236             mouse_events: 0; \
33237             scale: 1; \
33238             clip_to: "ch_"#_pos".clipper"; \
33239             description { \
33240                state: "default" 0.0; \
33241                rel1.to: "ch_"#_pos".base"; \
33242                rel2.to: "ch_"#_pos".base"; \
33243                color: 0 0 0 255; \
33244                color3: 0 0 0 0; \
33245                text { \
33246                   font: "Sans"; \
33247                   size: 10; \
33248                   min: 1 1; \
33249                   align: 0.5 0.5; \
33250                } \
33251             } \
33252          } \
33253          part { name: "ch_"#_pos".clipper"; \
33254             type: RECT; \
33255             description { state: "default" 0.0; \
33256                rel1.to: "ch_"#_pos".base"; \
33257                rel2.to: "ch_"#_pos".base"; \
33258             } \
33259          }
33260
33261 #define CIT(_pos) \
33262          part { name: "cit_"#_pos".rect"; \
33263             type: RECT; \
33264             description { state: "default" 0.0; \
33265                rel1 { \
33266                   relative: (_pos % 7 * 7 / 8 / 6) \
33267                             (_pos / 8 / 5 - _pos % 7 / 8 / 5); \
33268                   to: "base"; \
33269                } \
33270                rel2 { \
33271                   relative: (_pos % 7 * 7 / 8 / 6 + 1 / 8) \
33272                             (_pos / 8 / 5 - _pos % 7 / 8 / 5 + 1 / 8); \
33273                   to: "base"; \
33274                } \
33275                color: 0 0 0 0; \
33276                visible: 0; \
33277             } \
33278          } \
33279          part { \
33280             name: "cit_"#_pos".event"; \
33281             type: RECT; \
33282             repeat_events: 1; \
33283             description { \
33284                rel1.to: "cit_"#_pos".rect"; \
33285                rel2.to: "cit_"#_pos".rect"; \
33286                state: "default" 0.0; \
33287                color: 0 0 0 0; \
33288             } \
33289          } \
33290          part { name: "cit_"#_pos".shelf"; \
33291             type: RECT; \
33292             mouse_events: 0; \
33293             description { state: "default" 0.0; \
33294                rel1 { \
33295                   to: "cit_"#_pos".bg"; \
33296                   offset: -1 -1; \
33297                } \
33298                rel2 { \
33299                   to: "cit_"#_pos".bg"; \
33300                } \
33301                color: 200 200 200 255; \
33302             } \
33303          } \
33304          part { name: "cit_"#_pos".hd"; \
33305             type: RECT; \
33306             mouse_events: 0; \
33307             description { state: "default" 0.0; \
33308                rel1 { \
33309                   to: "cit_"#_pos".bg"; \
33310                   offset: -1 -1; \
33311                } \
33312                rel2 { \
33313                   to: "cit_"#_pos".bg"; \
33314                } \
33315                visible: 0; \
33316                color: 160 0 0 255; \
33317             } \
33318             description { state: "visible" 0.0; \
33319                inherit: "default" 0.0; \
33320                visible: 1; \
33321             } \
33322          } \
33323          part { \
33324             name: "cit_"#_pos".base_sh"; \
33325             mouse_events: 0; \
33326             description { \
33327                state: "default" 0.0; \
33328                align: 0.0 0.0; \
33329                min: 0 1; \
33330                rel1 { \
33331                   to: "cit_"#_pos".base"; \
33332                   relative: 0.0 1.0; \
33333                   offset: 0 0; \
33334                } \
33335                rel2 { \
33336                   to: "cit_"#_pos".base"; \
33337                   relative: 1.0 1.05; \
33338                   offset: -1 0; \
33339                } \
33340                image { \
33341                   normal: "ilist_item_shadow.png"; \
33342                } \
33343                fill.smooth: 0; \
33344             } \
33345          } \
33346          part { \
33347             name: "cit_"#_pos".base"; \
33348             mouse_events: 0; \
33349             description { \
33350                state: "default" 0.0; \
33351                rel1.to: "cit_"#_pos".rect"; \
33352                rel2.to: "cit_"#_pos".rect"; \
33353                rel2.offset: -1 -1; \
33354                image { \
33355                   normal: "ilist_1.png"; \
33356                   border: 2 2 2 2; \
33357                } \
33358                fill.smooth: 0; \
33359             } \
33360             description { \
33361                state: "today" 0.0; \
33362                inherit: "default" 0.0; \
33363                image.normal: "ilist_2.png"; \
33364                color: 240 240 240 255; \
33365             } \
33366          } \
33367          part { name: "cit_"#_pos".bg"; \
33368             mouse_events: 0; \
33369             description { state: "default" 0.0; \
33370                visible: 0; \
33371                color: 255 255 255 0; \
33372                rel1 { \
33373                   to: "cit_"#_pos".rect"; \
33374                   relative: 0.0 0.0; \
33375                } \
33376                rel2 { \
33377                   to: "cit_"#_pos".rect"; \
33378                   relative: 1.0 1.0; \
33379                   offset: -1 -1; \
33380                } \
33381                image { \
33382                   normal: "bt_sm_base1.png"; \
33383                   border: 6 6 6 6; \
33384                } \
33385                image.middle: SOLID; \
33386             } \
33387             description { state: "selected" 0.0; \
33388                inherit: "default" 0.0; \
33389                visible: 1; \
33390                color: 255 255 255 255; \
33391             } \
33392          } \
33393          part { name: "cit_"#_pos".text"; \
33394             type: TEXT; \
33395             effect: SOFT_SHADOW; \
33396             mouse_events: 0; \
33397             scale: 1; \
33398             description { \
33399                state: "default" 0.0; \
33400                rel1.to: "cit_"#_pos".bg"; \
33401                rel2.to: "cit_"#_pos".bg"; \
33402                color: 0 0 0 255; \
33403                color3: 0 0 0 0; \
33404                text { \
33405                   font: "Sans"; \
33406                   size: 10; \
33407                   min: 1 1; \
33408                   align: 0.5 0.5; \
33409                } \
33410             } \
33411             description { state: "selected" 0.0; \
33412                inherit: "default" 0.0; \
33413                color: 224 224 224 255; \
33414                color3: 0 0 0 64; \
33415             } \
33416          } \
33417          part { name: "cit_"#_pos".fg1"; \
33418             mouse_events: 0; \
33419             description { state: "default" 0.0; \
33420                visible: 0; \
33421                color: 255 255 255 0; \
33422                rel1.to: "cit_"#_pos".bg"; \
33423                rel2.relative: 1.0 0.5; \
33424                rel2.to: "cit_"#_pos".bg"; \
33425                image { \
33426                   normal: "bt_sm_hilight.png"; \
33427                   border: 6 6 6 0; \
33428                } \
33429             } \
33430             description { state: "selected" 0.0; \
33431                inherit: "default" 0.0; \
33432                visible: 1; \
33433                color: 255 255 255 255; \
33434             } \
33435          } \
33436          part { name: "cit_"#_pos".fg2"; \
33437             mouse_events: 0; \
33438             description { state: "default" 0.0; \
33439                visible: 0; \
33440                color: 255 255 255 0; \
33441                rel1.to: "cit_"#_pos".bg"; \
33442                rel2.to: "cit_"#_pos".bg"; \
33443                image { \
33444                   normal: "bt_sm_shine.png"; \
33445                   border: 6 6 6 0; \
33446                } \
33447             } \
33448             description { state: "selected" 0.0; \
33449                inherit: "default" 0.0; \
33450                visible: 1; \
33451                color: 255 255 255 255; \
33452             } \
33453          } \
33454          part { name: "cit_"#_pos".check"; \
33455             mouse_events: 0; \
33456             description { state: "default" 0.0; \
33457                rel1 { \
33458                   to: "cit_"#_pos".bg"; \
33459                   relative: 0.7 0.6; \
33460                   offset: 1 1; \
33461                } \
33462                rel2 { \
33463                   to: "cit_"#_pos".bg"; \
33464                   relative: 1.1 1.2; \
33465                   offset: -2 -2; \
33466                } \
33467                aspect: 1 1; \
33468                visible: 0; \
33469                color: 255 0 0 255; \
33470                image.normal: "check.png"; \
33471             } \
33472             description { state: "visible" 0.0; \
33473                inherit: "default" 0.0; \
33474                visible: 1; \
33475             } \
33476          } \
33477       programs { \
33478          program { \
33479             name:    "cit_"#_pos".go_active"; \
33480             signal:  "cit_"#_pos",selected"; \
33481             source:  "elm"; \
33482             action:  STATE_SET "selected" 0.0; \
33483             target:  "cit_"#_pos".bg"; \
33484             target:  "cit_"#_pos".fg1"; \
33485             target:  "cit_"#_pos".fg2"; \
33486             target:  "cit_"#_pos".text"; \
33487          } \
33488          program { \
33489             name:    "cit_"#_pos".go_passive"; \
33490             signal:  "cit_"#_pos",unselected"; \
33491             source:  "elm"; \
33492             action:  STATE_SET "default" 0.0; \
33493             target:  "cit_"#_pos".bg"; \
33494             target:  "cit_"#_pos".fg1"; \
33495             target:  "cit_"#_pos".fg2"; \
33496             target:  "cit_"#_pos".text"; \
33497          } \
33498          program { \
33499             name:    "cit_"#_pos".is_today"; \
33500             signal:  "cit_"#_pos",today"; \
33501             source:  "elm"; \
33502             action:  STATE_SET "today" 0.0; \
33503             target: "cit_"#_pos".base"; \
33504          } \
33505          program { \
33506             name:    "cit_"#_pos".not_today"; \
33507             signal:  "cit_"#_pos",not_today"; \
33508             source:  "elm"; \
33509             action:  STATE_SET "default" 0.0; \
33510             target: "cit_"#_pos".base"; \
33511          } \
33512          program { \
33513             source: "cit_"#_pos".clicked"; \
33514             signal: "mouse,clicked,1"; \
33515             source: "cit_"#_pos".event"; \
33516             action: SIGNAL_EMIT "elm,action,selected" #_pos; \
33517          } \
33518          program { \
33519             name:    "cit_"#_pos".clear"; \
33520             signal:  "cit_"#_pos",clear"; \
33521             source:  "elm"; \
33522             action:  STATE_SET "default" 0.0; \
33523             target: "cit_"#_pos".check"; \
33524             target: "cit_"#_pos".hd"; \
33525          } \
33526          program { \
33527             name:    "cit_"#_pos".checked"; \
33528             signal:  "cit_"#_pos",checked"; \
33529             source:  "elm"; \
33530             action:  STATE_SET "visible" 0.0; \
33531             target: "cit_"#_pos".check"; \
33532          } \
33533          program { \
33534             name:    "cit_"#_pos".holiday"; \
33535             signal:  "cit_"#_pos",holiday"; \
33536             source:  "elm"; \
33537             action:  STATE_SET "visible" 0.0; \
33538             target: "cit_"#_pos".hd"; \
33539          } \
33540       }
33541
33542    group { name: "elm/calendar/base/default";
33543        images {
33544            image: "shelf_inset.png" COMP;
33545            image: "bt_base1.png" COMP;
33546            image: "bt_hilight.png" COMP;
33547            image: "bt_shine.png" COMP;
33548            image: "bt_glow.png" COMP;
33549            image: "bt_dis_base.png" COMP;
33550            image: "bt_dis_hilight.png" COMP;
33551            image: "sp_bt_l.png" COMP;
33552            image: "sp_bt_r.png" COMP;
33553            image: "bt_sm_base1.png" COMP;
33554            image: "bt_sm_shine.png" COMP;
33555            image: "bt_sm_hilight.png" COMP;
33556            image: "ilist_1.png" COMP;
33557            image: "ilist_2.png" COMP;
33558            image: "ilist_item_shadow.png" COMP;
33559            image: "check.png" COMP;
33560        }
33561        parts {
33562            part { name: "bg";
33563                type: RECT;
33564                description { state: "default" 0.0;
33565                    min: 0 30;
33566                    rel1.offset: 1 1;
33567                    rel2.offset: -2 -2;
33568                    color: 255 255 255 0;
33569                    align: 0.0 0.5;
33570                }
33571            }
33572            part { name: "spinner-base";
33573                type: RECT;
33574                mouse_events: 0;
33575                description { state: "default" 0.0;
33576                    min: 24 24;
33577                    max: 999999 24;
33578                    rel1.to: "bg";
33579                    rel1.offset: 6 6;
33580                    rel2.to: "bg";
33581                    rel2.offset: -7 -7;
33582                    color: 255 255 255 0;
33583                    align: 0.0 0.0;
33584                }
33585            }
33586            part { name: "conf_over_spinner";
33587                mouse_events:  0;
33588                description { state: "default" 0.0;
33589                    rel1.to: "spinner-base";
33590                    rel1.offset: -3 -3;
33591                    rel2.to: "spinner-base";
33592                    rel2.offset: 2 2;
33593                    image {
33594                        normal: "shelf_inset.png";
33595                        border: 7 7 7 7;
33596                        middle: 0;
33597                    }
33598                    fill.smooth : 0;
33599                }
33600            }
33601            part { name: "table-base";
33602                type: RECT;
33603                mouse_events: 0;
33604                description { state: "default" 0.0;
33605                    min: 256 220;
33606                    rel1.to_x: "bg";
33607                    rel1.to_y: "spinner-base";
33608                    rel1.offset: 6 6;
33609                    rel1.relative: 0 1;
33610                    rel2.to: "bg";
33611                    rel2.offset: -7 -7;
33612                    color: 255 255 255 0;
33613                }
33614            }
33615            part { name: "conf_over_table";
33616                mouse_events:  0;
33617                description { state: "default" 0.0;
33618                    rel1.to: "table-base";
33619                    rel1.offset: -3 -3;
33620                    rel2.to: "table-base";
33621                    rel2.offset: 2 2;
33622                    image {
33623                        normal: "shelf_inset.png";
33624                        border: 7 7 7 7;
33625                        middle: 0;
33626                    }
33627                    fill.smooth : 0;
33628                }
33629            }
33630            part { name: "header";
33631                type: RECT;
33632                mouse_events: 0;
33633                description { state: "default" 0.0;
33634                    rel1.to: "table-base";
33635                    rel1.relative: 0 0;
33636                    rel2.to: "table-base";
33637                    rel2.relative: 1 0.1;
33638                    color: 255 255 255 0;
33639                }
33640            }
33641            part { name: "base";
33642                type: RECT;
33643                mouse_events: 0;
33644                description { state: "default" 0.0;
33645                    rel1.to_x: "table-base";
33646                    rel1.to_y: "header";
33647                    rel1.relative: 0 1;
33648                    rel1.offset: 3 0;
33649                    rel2.to: "table-base";
33650                    rel2.offset: -3 0;
33651                    color: 255 255 255 0;
33652                }
33653            }
33654            part { name: "left_bt";
33655                mouse_events:  1;
33656                description { state: "default" 0.0;
33657                    rel1 { to: "spinner-base";
33658                        offset: 2 2;
33659                    }
33660                    rel2 { to: "spinner-base";
33661                        offset: -3 -3;
33662                    }
33663                    align: 0.0 0.5;
33664                    min: 24 24;
33665                    max: 24 24;
33666                    fixed: 1 1;
33667                    image {
33668                        normal: "bt_base1.png";
33669                        border: 6 6 6 6;
33670                    }
33671                    fill.smooth : 0;
33672                }
33673                description { state: "clicked" 0.0;
33674                    inherit: "default" 0.0;
33675                    image.normal: "bt_base1.png";
33676                    image.middle: SOLID;
33677                }
33678            }
33679            part { name: "left_over1";
33680                mouse_events: 0;
33681                description { state: "default" 0.0;
33682                    rel1.to: "left_bt";
33683                    rel2 { to: "left_bt";
33684                        relative: 1.0 0.5;
33685                    }
33686                    image {
33687                        normal: "bt_hilight.png";
33688                        border: 7 7 7 0;
33689                    }
33690                }
33691            }
33692            part { name: "left_over2";
33693                mouse_events: 1;
33694                repeat_events: 1;
33695                description { state: "default" 0.0;
33696                    rel1.to: "left_bt";
33697                    rel2.to: "left_bt";
33698                    image {
33699                        normal: "bt_shine.png";
33700                        border: 7 7 7 7;
33701                    }
33702                }
33703            }
33704            part { name: "left_over3";
33705                mouse_events: 1;
33706                repeat_events: 1;
33707                description { state: "default" 0.0;
33708                    color: 255 255 255 0;
33709                    rel1.to: "left_bt";
33710                    rel2.to: "left_bt";
33711                    image {
33712                        normal: "bt_glow.png";
33713                        border: 12 12 12 12;
33714                    }
33715                    fill.smooth : 0;
33716                }
33717                description { state: "clicked" 0.0;
33718                    inherit:  "default" 0.0;
33719                    visible: 1;
33720                    color: 255 255 255 255;
33721                }
33722            }
33723            part { name: "right_bt";
33724                mouse_events:  1;
33725                description { state: "default" 0.0;
33726                    rel1 { to: "spinner-base";
33727                        offset: -27 3;
33728                    }
33729                    rel2 { to: "spinner-base";
33730                        offset: -3 -3;
33731                    }
33732                    align: 1.0 0.5;
33733                    min: 24 24;
33734                    max: 24 24;
33735                    fixed: 1 1;
33736                    image {
33737                        normal: "bt_base1.png";
33738                        border: 5 5 4 12;
33739                    }
33740                    fill.smooth : 0;
33741                }
33742                description { state: "clicked" 0.0;
33743                    inherit: "default" 0.0;
33744                    image.normal: "bt_base1.png";
33745                    image.middle: SOLID;
33746                }
33747            }
33748            part { name: "right_over1";
33749                mouse_events: 0;
33750                description { state: "default" 0.0;
33751                    rel1.to: "right_bt";
33752                    rel2 { to: "right_bt";
33753                        relative: 1.0 0.5;
33754                    }
33755                    image {
33756                        normal: "bt_hilight.png";
33757                        border: 7 7 7 0;
33758                    }
33759                }
33760            }
33761            part { name: "right_over2";
33762                mouse_events: 1;
33763                repeat_events: 1;
33764                description { state: "default" 0.0;
33765                    rel1.to: "right_bt";
33766                    rel2.to: "right_bt";
33767                    image {
33768                        normal: "bt_shine.png";
33769                        border: 7 7 7 7;
33770                    }
33771                }
33772            }
33773            part { name: "right_over3";
33774                mouse_events: 1;
33775                repeat_events: 1;
33776                description { state: "default" 0.0;
33777                    color: 255 255 255 0;
33778                    rel1.to: "right_bt";
33779                    rel2.to: "right_bt";
33780                    image {
33781                        normal: "bt_glow.png";
33782                        border: 12 12 12 12;
33783                    }
33784                    fill.smooth : 0;
33785                }
33786                description { state: "clicked" 0.0;
33787                    inherit:  "default" 0.0;
33788                    visible: 1;
33789                    color: 255 255 255 255;
33790                }
33791            }
33792            part { name: "left_bt_icon";
33793                repeat_events: 1;
33794                description { state: "default" 0.0;
33795                    rel1.to: "left_bt";
33796                    rel2.to: "left_bt";
33797                    align: 0.5 0.5;
33798                    min: 16 16;
33799                    max: 16 16;
33800                    image.normal: "sp_bt_l.png";
33801                }
33802                description { state: "rtl" 0.0;
33803                    inherit: "default" 0.0;
33804                    image.normal: "sp_bt_r.png";
33805                }
33806            }
33807            part { name: "right_bt_icon";
33808                repeat_events: 1;
33809                description { state: "default" 0.0;
33810                    rel1.to: "right_bt";
33811                    rel2.to: "right_bt";
33812                    align: 0.5 0.5;
33813                    min: 16 16;
33814                    max: 16 16;
33815                    image.normal: "sp_bt_r.png";
33816                }
33817                description { state: "rtl" 0.0;
33818                    inherit: "default" 0.0;
33819                    image.normal: "sp_bt_l.png";
33820                }
33821            }
33822            part { name: "month_text";
33823                type: TEXT;
33824                mouse_events: 0;
33825                scale: 1;
33826                description { state: "default" 0.0;
33827                    align: 0 0.5;
33828                    fixed: 1 1;
33829                    rel1 { relative: 1.0 0.0;
33830                        offset: 3 2;
33831                        to: "left_bt";
33832                        to_y: "spinner-base";
33833                    }
33834                    rel2 { relative: 0.0 1.0;
33835                        offset: -3 -2;
33836                        to_x: "right_bt";
33837                        to_y: "spinner-base";
33838                    }
33839                    color: 0 0 0 255;
33840                    text {
33841                        font: "Sans,Edje-Vera";
33842                        size: 12;
33843                        min: 1 1;
33844                        align: 0.5 0.5;
33845                    }
33846                }
33847            }
33848            CH(0)   CH(1)   CH(2)   CH(3)   CH(4)   CH(5)   CH(6)
33849            CIT(0)  CIT(1)  CIT(2)  CIT(3)  CIT(4)  CIT(5)  CIT(6)
33850            CIT(7)  CIT(8)  CIT(9)  CIT(10) CIT(11) CIT(12) CIT(13)
33851            CIT(14) CIT(15) CIT(16) CIT(17) CIT(18) CIT(19) CIT(20)
33852            CIT(21) CIT(22) CIT(23) CIT(24) CIT(25) CIT(26) CIT(27)
33853            CIT(28) CIT(29) CIT(30) CIT(31) CIT(32) CIT(33) CIT(34)
33854            CIT(35) CIT(36) CIT(37) CIT(38) CIT(39) CIT(40) CIT(41)
33855        }
33856        programs {
33857            program { name: "dec_start";
33858                signal: "mouse,down,1";
33859                source: "left_bt";
33860                action: SIGNAL_EMIT "elm,action,decrement,start" "";
33861            }
33862            program { name: "dec_stop";
33863                signal: "mouse,up,1";
33864                source: "left_bt";
33865                action: SIGNAL_EMIT "elm,action,stop" "";
33866            }
33867            program { name: "inc_start";
33868                signal: "mouse,down,1";
33869                source: "right_bt";
33870                action: SIGNAL_EMIT "elm,action,increment,start" "";
33871            }
33872            program { name: "inc_stop";
33873                signal: "mouse,up,1";
33874                source: "right_bt";
33875                action: SIGNAL_EMIT "elm,action,stop" "";
33876            }
33877            program {
33878                name:   "left_bt_click";
33879                signal: "mouse,down,1";
33880                source: "left_over2";
33881                action: STATE_SET "clicked" 0.0;
33882                target: "left_bt";
33883            }
33884            program {
33885                name:   "left_bt_unclick";
33886                signal: "mouse,up,1";
33887                source: "left_over2";
33888                action: STATE_SET "default" 0.0;
33889                target: "left_bt";
33890            }
33891            program {
33892                name:   "left_bt_click2";
33893                signal: "mouse,down,1";
33894                source: "left_over3";
33895                action: STATE_SET "clicked" 0.0;
33896                target: "left_over3";
33897            }
33898            program {
33899                name:   "left_bt_unclick2";
33900                signal: "mouse,up,1";
33901                source: "left_over3";
33902                action: STATE_SET "default" 0.0;
33903                transition: DECELERATE 0.5;
33904                target: "left_over3";
33905            }
33906            program {
33907                name:   "right_bt_click";
33908                signal: "mouse,down,1";
33909                source: "right_over2";
33910                action: STATE_SET "clicked" 0.0;
33911                target: "right_bt";
33912            }
33913            program {
33914                name:   "right_bt_unclick";
33915                signal: "mouse,up,1";
33916                source: "right_over2";
33917                action: STATE_SET "default" 0.0;
33918                target: "right_bt";
33919            }
33920            program {
33921                name:   "right_bt_click2";
33922                signal: "mouse,down,1";
33923                source: "right_over3";
33924                action: STATE_SET "clicked" 0.0;
33925                target: "right_over3";
33926            }
33927            program {
33928                name:   "right_bt_unclick2";
33929                signal: "mouse,up,1";
33930                source: "right_over3";
33931                action: STATE_SET "default" 0.0;
33932                transition: DECELERATE 0.5;
33933                target: "right_over3";
33934            }
33935            program { name: "to_rtl";
33936                signal: "edje,state,rtl";
33937                source: "edje";
33938                action: STATE_SET "rtl" 0.0;
33939                target: "right_bt_icon";
33940                target: "left_bt_icon";
33941            }
33942            program { name: "to_ltr";
33943                signal: "edje,state,ltr";
33944                source: "edje";
33945                action: STATE_SET "default" 0.0;
33946                target: "right_bt_icon";
33947                target: "left_bt_icon";
33948            }
33949        }
33950    }
33951
33952 #undef CIT
33953 #undef CH
33954
33955 ////////////////////////////////////////////////////////////////////////////////
33956 // colorselector
33957 ////////////////////////////////////////////////////////////////////////////////
33958    group { name: "elm/colorselector/bg/default";
33959       parts {
33960          part { name: "elm.colorbar_0";
33961             type: SWALLOW;
33962             mouse_events: 1;
33963             description { state: "default" 0.0;
33964                min: 120 30;
33965                rel1.relative: 0.0 0.00653594771;
33966                rel2.relative: 1.0 0.254901961;
33967             }
33968          }
33969          part { name: "elm.colorbar_1";
33970             type: SWALLOW;
33971             mouse_events: 1;
33972             description { state: "default" 0.0;
33973                min: 120 30;
33974                rel1.relative: 0.0 0.254901961;
33975                rel2.relative: 1.0 0.503267974;
33976             }
33977          }
33978          part { name: "elm.colorbar_2";
33979             type: SWALLOW;
33980             mouse_events: 1;
33981             description { state: "default" 0.0;
33982                min: 120 30;
33983                rel1.relative: 0.0 0.503267974;
33984                rel2.relative: 1.0 0.751633987;
33985             }
33986          }
33987          part { name: "elm.colorbar_3";
33988             type: SWALLOW;
33989             mouse_events: 1;
33990             description { state: "default" 0.0;
33991                min: 120 30;
33992                rel1.relative: 0.0 0.751633987;
33993                rel2.relative: 1.0 1.0;
33994             }
33995          }
33996       }
33997    }
33998
33999    group { name: "elm/colorselector/base/default";
34000       parts {
34001          part { name: "elm.bar_bg";
34002             type: SWALLOW;
34003             mouse_events: 0;
34004             description { state: "default" 0.0;
34005                min: 60 22;
34006                rel1 {
34007                   relative: 0.0 0.8;
34008                   to_x: "elm.arrow_bg";
34009                   to_y: "elm.arrow_icon";
34010                   offset: 0 0;
34011                }
34012                rel2 {
34013                   relative: 1.0 0.83;
34014                   to_x: "elm.arrow_bg";
34015                   offset: 0 0;
34016                }
34017             }
34018          }
34019          part { name: "elm.bar";
34020             type: SWALLOW;
34021             mouse_events: 0;
34022             description { state: "default" 0.0;
34023                rel1.to: "elm.bar_bg";
34024                rel2.to: "elm.bar_bg";
34025             }
34026          }
34027          part { name: "elm.arrow_bg";
34028             type: SWALLOW;
34029             mouse_events: 1;
34030             description { state: "default" 0.0;
34031                rel1 {
34032                   relative: 1.0 0.17;
34033                   offset: 3 0;
34034                   to_x: "elm.l_button";
34035                }
34036                rel2 {
34037                   relative: 0.0 0.83;
34038                      offset: -4 0;
34039                   to_x: "elm.r_button";
34040                }
34041             }
34042          }
34043          part { name: "elm.arrow";
34044             type: RECT;
34045             mouse_events: 1;
34046             scale: 1;
34047             description { state: "default" 0.0;
34048                min: 1 1;
34049                fixed: 1 1;
34050                align: 0 0;
34051                rel1 {
34052                   to_x: "elm.arrow_bg";
34053                }
34054                rel2 {
34055                   relative: 0.0 0.17;
34056                   to_x: "elm.arrow_bg";
34057                }
34058                color: 0 0 0 0;
34059                visible: 0;
34060             }
34061             dragable {
34062                confine: "elm.arrow_bg";
34063                x: 1 1 0;
34064                y: 0 0 0;
34065             }
34066          }
34067          part { name: "elm.arrow_icon";
34068             type: SWALLOW;
34069             mouse_events: 0;
34070             description { state: "default" 0.0;
34071                min: 25 15;
34072                max: 25 15;
34073                fixed: 1 1;
34074                align: 0.5 0;
34075                rel1 {
34076                   to_x: "elm.arrow";
34077                }
34078                rel2 {
34079                   relative: 1.0 0.0;
34080                   offset: 0 10;
34081                   to_x: "elm.arrow";
34082                }
34083             }
34084          }
34085          part { name: "event";
34086             type: RECT;
34087             mouse_events: 1;
34088             description { state: "default" 0.0;
34089                rel1 {
34090                   to: "elm.arrow_icon";
34091                }
34092                rel2 {
34093                   to_x: "elm.arrow_icon";
34094                   to_y: "elm.arrow_bg";
34095                   offset: 0 0;
34096                }
34097                color: 0 0 0 0;
34098             }
34099             dragable {
34100                events: "elm.arrow";
34101             }
34102          }
34103          part { name: "elm.l_button";
34104             type: SWALLOW;
34105             mouse_events: 1;
34106             scale: 1;
34107             description { state: "default" 0.0;
34108                min: 24 24;
34109                fixed: 1 1;
34110                rel1 {
34111                   relative: 0.0 0.0;
34112                   to_y: "elm.bar_bg";
34113                }
34114                rel2 {
34115                   relative: 0.0 1.0;
34116                   to_y: "elm.bar_bg";
34117                }
34118                align: 0.0 0.5;
34119             }
34120          }
34121          part { name: "elm.r_button";
34122             type: SWALLOW;
34123             mouse_events: 1;
34124             scale: 1;
34125             description {
34126                state: "default" 0.0;
34127                min: 24 24;
34128                fixed: 1 1;
34129                rel1 {
34130                   relative: 1.0 0.0;
34131                   to_y: "elm.bar_bg";
34132                }
34133                rel2 {
34134                   relative: 1.0 1.0;
34135                   to_y: "elm.bar_bg";
34136                }
34137                align: 1.0 0.5;
34138             }
34139          }
34140       }
34141    }
34142
34143    group{ name: "elm/colorselector/image/colorbar_0";
34144       images {
34145          image: "color_picker_color.png" COMP;
34146       }
34147       parts {
34148          part { name: "colorbar_0_image";
34149             type: IMAGE;
34150             mouse_events: 1;
34151             description { state: "default" 0.0;
34152                rel2.offset: -1 -1;
34153                image.normal: "color_picker_color.png";
34154             }
34155          }
34156       }
34157    }
34158
34159    group { name: "elm/colorselector/image/colorbar_1";
34160       images {
34161          image: "color_picker_opacity.png" COMP;
34162       }
34163       parts {
34164          part { name: "colorbar_1_image";
34165             type: IMAGE;
34166             mouse_events: 1;
34167             description { state: "default" 0.0;
34168                rel2.offset: -1 -1;
34169                image.normal: "color_picker_opacity.png";
34170             }
34171          }
34172       }
34173    }
34174
34175    group { name: "elm/colorselector/image/colorbar_2";
34176       images {
34177          image: "color_picker_brightness.png" COMP;
34178       }
34179       parts {
34180          part { name: "colorbar_2_image";
34181             type: IMAGE;
34182             mouse_events: 1;
34183             description { state: "default" 0.0;
34184                rel2.offset: -1 -1;
34185                image.normal: "color_picker_brightness.png";
34186             }
34187          }
34188       }
34189    }
34190
34191    group { name: "elm/colorselector/image/colorbar_3";
34192       images {
34193          image: "color_picker_alpha.png" COMP;
34194       }
34195       parts {
34196          part { name: "colorbar_3_image";
34197             type: IMAGE;
34198             mouse_events: 1;
34199             description { state: "default" 0.0;
34200                rel2.offset: -1 -1;
34201                image.normal: "color_picker_alpha.png";
34202             }
34203          }
34204       }
34205    }
34206
34207    group { name: "elm/colorselector/bg_image/colorbar_3";
34208       images {
34209          image: "color_picker_alpha_bg.png" COMP;
34210       }
34211       parts {
34212          part { name: "colorbar_3_image";
34213             type: IMAGE;
34214             mouse_events: 1;
34215             description { state: "default" 0.0;
34216                rel2.offset: -1 -1;
34217                image.normal: "color_picker_alpha_bg.png";
34218             }
34219          }
34220       }
34221    }
34222
34223    group { name: "elm/colorselector/image/updown";
34224       images {
34225          image: "icon_arrow_down.png" COMP;
34226       }
34227       parts {
34228          part { name: "bg";
34229             type: RECT;
34230             mouse_events: 1;
34231             description { state: "default" 0.0;
34232                color: 0 0 0 0;
34233             }
34234          }
34235          part { name: "arrow_image";
34236             type: IMAGE;
34237             mouse_events: 1;
34238             description { state: "default" 0.0;
34239                image.normal: "icon_arrow_down.png";
34240             }
34241          }
34242       }
34243    }
34244
34245    group { name: "elm/colorselector/button/left";
34246       images {
34247          image: "bt_base1.png" COMP;
34248          image: "bt_shine.png" COMP;
34249          image: "sp_bt_l.png" COMP;
34250       }
34251       parts {
34252          part { name: "button_image";
34253             mouse_events: 1;
34254             description { state: "default" 0.0;
34255                image.normal: "bt_base1.png";
34256                image.border: 6 6 6 6;
34257                image.middle: SOLID;
34258             }
34259
34260             description { state: "clicked" 0.0;
34261                inherit: "default" 0.0;
34262                image.normal: "bt_shine.png";
34263                image.border: 6 6 6 6;
34264                image.middle: SOLID;
34265             }
34266          }
34267          part { name: "btn_over";
34268             type: IMAGE;
34269             mouse_events: 0;
34270             description { state: "default" 0.0;
34271                rel1.to: "button_image";
34272                rel2 {
34273                   relative: 1.0 0.5;
34274                   to: "button_image";
34275                }
34276                image {
34277                   normal: "bt_hilight.png";
34278                   border: 7 7 7 0;
34279                }
34280             }
34281          }
34282          part { name: "btn_over2";
34283             type: IMAGE;
34284             mouse_events: 1;
34285             repeat_events: 1;
34286             ignore_flags: ON_HOLD;
34287             description { state: "default" 0.0;
34288                rel1.to: "button_image";
34289                rel2.to: "button_image";
34290                image {
34291                   normal: "bt_shine.png";
34292                   border: 7 7 7 7;
34293                }
34294             }
34295          }
34296          part { name: "focus_image";
34297             type: IMAGE;
34298             description { state: "default" 0.0;
34299                color: 255 255 255 0;
34300                rel1.to: "button_image";
34301                rel2.to: "button_image";
34302                image {
34303                   normal: "bt_glow.png";
34304                   border: 12 12 12 12;
34305                }
34306                fill.smooth: 0;
34307
34308             }
34309             description { state: "clicked" 0.0;
34310                inherit: "default" 0.0;
34311                visible: 1;
34312                color: 255 255 255 255;
34313             }
34314          }
34315          part { name: "left_arrow";
34316             mouse_events: 1;
34317             description { state: "default" 0.0;
34318                min: 16 16;
34319                max: 16 16;
34320                image.normal: "sp_bt_l.png";
34321             }
34322          }
34323       }
34324
34325       programs {
34326          program {
34327             name:   "button_down";
34328             signal: "elm,state,left,button,down";
34329             source: "left_button";
34330             action: STATE_SET "clicked" 0.0;
34331             target: "button_image";
34332             target: "focus_image";
34333          }
34334          program {
34335             name:   "button_up";
34336             signal: "elm,state,left,button,up";
34337             source: "left_button";
34338             action: STATE_SET "default" 0.0;
34339             target: "button_image";
34340             target: "focus_image";
34341          }
34342       }
34343    }
34344
34345    group { name: "elm/colorselector/button/right";
34346       images {
34347          image: "bt_base1.png" COMP;
34348          image: "bt_shine.png" COMP;
34349          image: "sp_bt_r.png" COMP;
34350       }
34351       parts {
34352          part { name: "button_image";
34353             mouse_events: 1;
34354             description { state: "default" 0.0;
34355                image.normal: "bt_base1.png";
34356                image.border: 6 6 6 6;
34357                image.middle: SOLID;
34358             }
34359
34360             description { state: "clicked" 0.0;
34361                inherit: "default" 0.0;
34362                image.normal: "bt_shine.png";
34363                image.border: 6 6 6 6;
34364                image.middle: SOLID;
34365             }
34366          }
34367          part { name: "btn_over";
34368             type: IMAGE;
34369             mouse_events: 0;
34370             description { state: "default" 0.0;
34371                rel1.to: "button_image";
34372                rel2 {
34373                   relative: 1.0 0.5;
34374                   to: "button_image";
34375                }
34376                image {
34377                   normal: "bt_hilight.png";
34378                   border: 7 7 7 0;
34379                }
34380             }
34381          }
34382          part { name: "btn_over2";
34383             type: IMAGE;
34384             mouse_events: 1;
34385             repeat_events: 1;
34386             ignore_flags: ON_HOLD;
34387             description { state: "default" 0.0;
34388                rel1.to: "button_image";
34389                rel2.to: "button_image";
34390                image {
34391                   normal: "bt_shine.png";
34392                   border: 7 7 7 7;
34393                }
34394             }
34395          }
34396          part { name: "focus_image";
34397             type: IMAGE;
34398             description { state: "default" 0.0;
34399                color: 255 255 255 0;
34400                rel1.to: "button_image";
34401                rel2.to: "button_image";
34402                image {
34403                   normal: "bt_glow.png";
34404                   border: 12 12 12 12;
34405                }
34406                fill.smooth: 0;
34407
34408             }
34409             description { state: "clicked" 0.0;
34410                inherit: "default" 0.0;
34411                visible: 1;
34412                color: 255 255 255 255;
34413             }
34414          }
34415          part { name: "right_arrow";
34416             mouse_events: 1;
34417             description { state: "default" 0.0;
34418                min: 16 16;
34419                max: 16 16;
34420                image.normal: "sp_bt_r.png";
34421             }
34422          }
34423       }
34424
34425       programs {
34426          program {
34427             name:   "button_down";
34428             signal: "elm,state,right,button,down";
34429             source: "right_button";
34430             action: STATE_SET "clicked" 0.0;
34431             target: "button_image";
34432             target: "focus_image";
34433          }
34434          program {
34435             name:   "button_up";
34436             signal: "elm,state,right,button,up";
34437             source: "right_button";
34438             action: STATE_SET "default" 0.0;
34439             target: "button_image";
34440             target: "focus_image";
34441          }
34442       }
34443    }
34444
34445 ///////////////////////////////////////////////////////////////////////////////
34446 #define FLIP_PICKER_MAX_LEN (50)
34447 #define FLIP_PICKER_MAX_LEN_STR "50"
34448
34449    group { name: "elm/flipselector/base/default";
34450       images {
34451          image: "flip_base.png" COMP;
34452          image: "flip_base_shad.png" COMP;
34453          image: "flip_shad.png" COMP;
34454          image: "arrow_up.png" COMP;
34455          image: "arrow_down.png" COMP;
34456          image: "flip_t.png" COMP;
34457          image: "flip_b.png" COMP;
34458       }
34459
34460       data {
34461          item: "max_len" FLIP_PICKER_MAX_LEN_STR;
34462       }
34463
34464       //FIXME: quick successive clicks on, say, up, lead to nastiness
34465       script {
34466          public cur, prev, next, lock;
34467
34468          public animator_bottom_down(val, Float:pos) {
34469             new tmp[FLIP_PICKER_MAX_LEN];
34470
34471             set_tween_state(PART:"bottom", pos, "shrink", 0.0, "default", 0.0);
34472             set_tween_state(PART:"bottom_sheet", pos, "shrink", 0.0, "default",
34473                             0.0);
34474             set_tween_state(PART:"shadow", pos, "half", 0.0, "full",
34475                             0.0);
34476
34477             if (pos >= 1.0) {
34478                set_state(PART:"shadow", "default", 0.0);
34479                set_int(lock, 0);
34480
34481                fetch_str(next, 0, tmp, FLIP_PICKER_MAX_LEN);
34482                if (strncmp(tmp, "", FLIP_PICKER_MAX_LEN) != 0) {
34483                   replace_str(next, 0, "");
34484                   message(MSG_STRING, 1, tmp);
34485                }
34486             }
34487          }
34488
34489          public animator_top_down(val, Float:pos) {
34490             set_tween_state(PART:"top", pos, "default", 0.0, "shrink", 0.0);
34491             set_tween_state(PART:"top_sheet", pos, "default", 0.0, "shrink",
34492                             0.0);
34493             set_tween_state(PART:"shadow", pos, "default", 0.0, "half",
34494                             0.0);
34495
34496             if (pos >= 1.0)
34497                anim(0.2, "animator_bottom_down", val);
34498          }
34499
34500          public animator_bottom_up(val, Float:pos) {
34501             set_tween_state(PART:"bottom", pos, "default", 0.0, "shrink", 0.0);
34502             set_tween_state(PART:"bottom_sheet", pos, "default", 0.0, "shrink",
34503                             0.0);
34504             set_tween_state(PART:"shadow", pos, "full", 0.0, "half",
34505                             0.0);
34506
34507             if (pos >= 1.0)
34508                anim(0.2, "animator_top_up", val);
34509          }
34510
34511          public animator_top_up(val, Float:pos) {
34512             new tmp[FLIP_PICKER_MAX_LEN];
34513
34514             set_tween_state(PART:"top", pos, "shrink", 0.0, "default", 0.0);
34515             set_tween_state(PART:"top_sheet", pos, "shrink", 0.0, "default",
34516                             0.0);
34517             set_tween_state(PART:"shadow", pos, "half", 0.0, "default",
34518                             0.0);
34519
34520             if (pos >= 1.0) {
34521                set_state(PART:"shadow", "default", 0.0);
34522                set_int(lock, 0);
34523
34524                fetch_str(next, 0, tmp, FLIP_PICKER_MAX_LEN);
34525                if (strncmp(tmp, "", FLIP_PICKER_MAX_LEN) != 0) {
34526                   replace_str(next, 0, "");
34527                   message(MSG_STRING, 2, tmp);
34528                }
34529             }
34530          }
34531
34532          public message(Msg_Type:type, id, ...) {
34533             /* flip down */
34534             if ((type == MSG_STRING) && (id == 1)) {
34535                new value[FLIP_PICKER_MAX_LEN], tmp[FLIP_PICKER_MAX_LEN];
34536
34537                snprintf(value, FLIP_PICKER_MAX_LEN, "%s", getarg(2));
34538
34539                if (get_int(lock) == 1) {
34540                   replace_str(next, 0, value);
34541                   return;
34542                }
34543
34544                fetch_str(cur, 0, tmp, FLIP_PICKER_MAX_LEN);
34545
34546                set_text(PART:"bottom_b", tmp);
34547
34548                set_state(PART:"top", "shrink", 0.0);
34549                set_text(PART:"top", tmp);
34550                set_state(PART:"top", "default", 0.0);
34551                set_text(PART:"top", tmp);
34552
34553                replace_str(prev, 0, tmp);
34554
34555                set_state(PART:"bottom", "default", 0.0);
34556                set_text(PART:"bottom", value);
34557                set_state(PART:"bottom", "shrink", 0.0);
34558                set_text(PART:"bottom", value);
34559
34560                set_text(PART:"top_b", value);
34561
34562                replace_str(cur, 0, value);
34563
34564                set_state(PART:"bottom_sheet", "shrink", 0.0);
34565                set_state(PART:"top_sheet", "default", 0.0);
34566
34567                set_int(lock, 1);
34568                set_state(PART:"shadow", "default", 0.0);
34569                anim(0.2, "animator_top_down", 1);
34570             }
34571
34572             /* flip up */
34573             if ((type == MSG_STRING) && (id == 2)) {
34574                new value[FLIP_PICKER_MAX_LEN], tmp[FLIP_PICKER_MAX_LEN];
34575
34576                snprintf(value, FLIP_PICKER_MAX_LEN, "%s", getarg(2));
34577
34578                if (get_int(lock) == 1) {
34579                   replace_str(next, 0, value);
34580                   return;
34581                }
34582
34583                fetch_str(cur, 0, tmp, FLIP_PICKER_MAX_LEN);
34584
34585                set_text(PART:"top_b", tmp);
34586
34587                set_state(PART:"bottom", "shrink", 0.0);
34588                set_text(PART:"bottom", tmp);
34589                set_state(PART:"bottom", "default", 0.0);
34590                set_text(PART:"bottom", tmp);
34591
34592                replace_str(prev, 0, tmp);
34593
34594                set_state(PART:"top", "default", 0.0);
34595                set_text(PART:"top", value);
34596                set_state(PART:"top", "shrink", 0.0);
34597                set_text(PART:"top", value);
34598
34599                set_text(PART:"bottom_b", value);
34600
34601                replace_str(cur, 0, value);
34602
34603                set_state(PART:"bottom_sheet", "default", 0.0);
34604                set_state(PART:"top_sheet", "shrink", 0.0);
34605
34606                set_int(lock, 1);
34607                set_state(PART:"shadow", "full", 0.0);
34608                anim(0.2, "animator_bottom_up", 1);
34609             }
34610          }
34611       }
34612
34613       parts {
34614          part { name: "shad";
34615             mouse_events: 0;
34616             description { state: "default" 0.0;
34617                rel1.offset: -4 -4;
34618                rel1.to: "base";
34619                rel2.offset: 3 3;
34620                rel2.to: "base";
34621                image {
34622                   normal: "flip_base_shad.png";
34623                   border: 8 8 8 8;
34624                }
34625             }
34626          }
34627
34628          part { name: "base";
34629             scale: 1;
34630             description { state: "default" 0.0;
34631                rel1.offset: 4 4;
34632                rel2.offset: -5 -5;
34633                min: 24 48;
34634                image.normal: "flip_base.png";
34635             }
34636          }
34637
34638          part { name: "b";
34639             type: RECT;
34640             mouse_events: 1;
34641             description { state: "default" 0.0;
34642                rel1.to: "base";
34643                rel1.relative: 0.0 0.5;
34644                rel2.to: "base";
34645                color: 0 0 0 0;
34646             }
34647             description { state: "hidden" 0.0;
34648                inherit: "default" 0.0;
34649                visible: 0;
34650             }
34651          }
34652
34653          part { name: "t";
34654             type: RECT;
34655             mouse_events: 1;
34656             description { state: "default" 0.0;
34657                rel1.to: "base";
34658                rel2.to: "base";
34659                rel2.relative: 1.0 0.5;
34660                color: 0 0 0 0;
34661             }
34662             description { state: "hidden" 0.0;
34663                inherit: "default" 0.0;
34664                visible: 0;
34665             }
34666          }
34667
34668          part { name: "bottom_sheet_static";
34669             mouse_events: 0;
34670             description { state: "default" 0.0;
34671                visible: 1;
34672                rel1.to: "b";
34673                rel2.to: "b";
34674                image.normal: "flip_b.png";
34675             }
34676          }
34677
34678          part { name: "bottom_b";
34679             mouse_events: 0;
34680             clip_to: "bottom_clipper";
34681             type: TEXT;
34682             scale: 1;
34683             description { state: "default" 0.0;
34684                rel1.to: "base";
34685                rel2.to: "base";
34686                color: 0 0 0 255;
34687                color2: 0 0 0 255;
34688                text {
34689                   font: "Sans:style=Bold,Edje-Vera-Bold";
34690                   size: 30;
34691                   min: 1 1;
34692                   align: 0.5 0.5;
34693                }
34694             }
34695          }
34696
34697          part { name: "shadow";
34698             mouse_events: 0;
34699             description { state: "default" 0.0;
34700                rel1.to: "b";
34701                rel2.to: "b";
34702                rel2.relative: 1.0 0.0;
34703                image.normal: "flip_shad.png";
34704             }
34705             description { state: "half" 0.0;
34706                inherit: "default" 0.0;
34707                rel2.relative: 1.0 0.5;
34708             }
34709             description { state: "full" 0.0;
34710                inherit: "default" 0.0;
34711                rel2.relative: 1.0 1.0;
34712             }
34713          }
34714
34715          part { name: "bottom_sheet";
34716             mouse_events: 0;
34717             description { state: "default" 0.0;
34718                visible: 1;
34719                rel1.to: "b";
34720                rel2.to: "b";
34721                image.normal: "flip_b.png";
34722             }
34723             description { state: "shrink" 0.0;
34724                inherit: "default" 0.0;
34725                visible: 0;
34726                rel2.relative: 1.0 0.0;
34727             }
34728          }
34729
34730          part { name: "bottom";
34731             mouse_events: 0;
34732             clip_to: "bottom_clipper";
34733             type: TEXT;
34734             scale: 1;
34735             description { state: "default" 0.0;
34736                rel1.to: "base";
34737                rel2.to: "base";
34738                color: 0 0 0 255;
34739                color2: 0 0 0 255;
34740                text {
34741                   font: "Sans:style=Bold,Edje-Vera-Bold";
34742                   size: 30;
34743                   min: 1 1;
34744                   align: 0.5 0.5;
34745                }
34746             }
34747             description { state: "shrink" 0.0;
34748                inherit: "default" 0.0;
34749                color: 128 128 128 255;
34750                visible: 0;
34751                rel2.relative: 1.0 0.5; /* FIXME: same visual effect? --> MAP! */
34752             }
34753          }
34754
34755          part { name: "top_sheet_static";
34756             mouse_events: 0;
34757             description { state: "default" 0.0;
34758                visible: 1;
34759                rel1.to: "t";
34760                rel2.to: "t";
34761                image.normal: "flip_t.png";
34762             }
34763          }
34764
34765          part { name: "top_b";
34766             mouse_events: 0;
34767             clip_to: "top_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                   source: "top";
34781                }
34782             }
34783          }
34784
34785          part { name: "top_sheet";
34786             mouse_events: 0;
34787             description { state: "default" 0.0;
34788                visible: 1;
34789                rel1.to: "t";
34790                rel2.to: "t";
34791                image.normal: "flip_t.png";
34792             }
34793             description { state: "shrink" 0.0;
34794                inherit: "default" 0.0;
34795                color: 128 128 128 255;
34796                visible: 0;
34797                rel1.relative: 0.0 1.0;
34798             }
34799          }
34800
34801          part { name: "top";
34802             mouse_events: 0;
34803             clip_to: "top_clipper";
34804             type: TEXT;
34805             scale: 1;
34806             description { state: "default" 0.0;
34807                rel1.to: "base";
34808                rel2.to: "base";
34809                color: 0 0 0 255;
34810                color2: 0 0 0 255;
34811                text {
34812                   font: "Sans:style=Bold,Edje-Vera-Bold";
34813                   size: 30;
34814                   min: 1 1;
34815                   align: 0.5 0.5;
34816                }
34817             }
34818             description { state: "shrink" 0.0;
34819                inherit: "default" 0.0;
34820                visible: 0;
34821                rel1.relative: 0.0 0.5;
34822             }
34823          }
34824
34825          part { name: "arrow_top";
34826             mouse_events: 0;
34827             scale: 1;
34828             description { state: "default" 0.0;
34829                min: 15 15;
34830                max: 15 15;
34831                align: 0.5 0.0;
34832                rel1.to: "t";
34833                rel2.to: "t";
34834                image.normal: "arrow_up.png";
34835             }
34836             description { state: "hidden" 0.0;
34837                inherit: "default" 0.0;
34838                visible: 0;
34839             }
34840          }
34841          part { name: "arrow_bottom";
34842             mouse_events: 0;
34843             scale: 1;
34844             description { state: "default" 0.0;
34845                min: 15 15;
34846                max: 15 15;
34847                align: 0.5 1.0;
34848                rel1.to: "b";
34849                rel2.to: "b";
34850                image.normal: "arrow_down.png";
34851             }
34852             description { state: "hidden" 0.0;
34853                inherit: "default" 0.0;
34854                visible: 0;
34855             }
34856          }
34857
34858          part {
34859             type: RECT;
34860             mouse_events: 0;
34861             name: "top_clipper";
34862             description {
34863                state: "default" 0.0;
34864                rel1.to: "t";
34865                rel2.to: "t";
34866                visible: 1;
34867             }
34868          }
34869
34870          part {
34871             type: RECT;
34872             mouse_events: 0;
34873             name: "bottom_clipper";
34874             description {
34875                state: "default" 0.0;
34876                rel1.to: "b";
34877                rel2.to: "b";
34878                visible: 1;
34879             }
34880          }
34881       }
34882
34883       programs {
34884          program { name: "load";
34885             signal: "load";
34886             source: "";
34887             script {
34888                append_str(cur, "");
34889                append_str(prev, "");
34890                append_str(next, "");
34891                set_int(lock, 0);
34892             }
34893          }
34894
34895          program { name: "hide_arrows";
34896             signal: "elm,state,button,hidden";
34897             source: "elm";
34898             action: STATE_SET "hidden" 0.0;
34899             target: "arrow_top";
34900             target: "arrow_bottom";
34901             target: "t";
34902             target: "b";
34903          }
34904
34905          program { name: "show_arrows";
34906             signal: "elm,state,button,visible";
34907             source: "elm";
34908             action: STATE_SET "default" 0.0;
34909             target: "arrow_top";
34910             target: "arrow_bottom";
34911             target: "t";
34912             target: "b";
34913          }
34914
34915          program { name: "up";
34916             signal: "mouse,down,1";
34917             source: "t";
34918             action: SIGNAL_EMIT "elm,action,up,start" "";
34919          }
34920          program { name: "up,stop";
34921             signal: "mouse,up,1";
34922             source: "t";
34923             action: SIGNAL_EMIT "elm,action,up,stop" "";
34924          }
34925          program { name: "down";
34926             signal: "mouse,down,1";
34927             source: "b";
34928             action: SIGNAL_EMIT "elm,action,down,start" "";
34929          }
34930          program { name: "down,stop";
34931             signal: "mouse,up,1";
34932             source: "b";
34933             action: SIGNAL_EMIT "elm,action,down,stop" "";
34934          }
34935       }
34936    }
34937
34938 ////////////////////////////////////////////////////////////////////////////////
34939 // diskselector
34940 ////////////////////////////////////////////////////////////////////////////////
34941    group { name: "elm/diskselector/base/default";
34942       images {
34943          image: "bar_shine.png" COMP;
34944       }
34945
34946       parts {
34947          part { name: "bg";
34948             type: RECT;
34949             mouse_events: 0;
34950             description { state: "default" 0.0;
34951                color: 0 0 0 255;
34952             }
34953          }
34954          part { name: "shine_left";
34955             mouse_events:  0;
34956             description { state: "default" 0.0;
34957                rel1.to: "bg";
34958                rel1.relative: -0.1 0;
34959                rel2.to: "bg";
34960                rel2.relative: 0.1 1;
34961                image.normal: "bar_shine.png";
34962                color: 255 255 255 120;
34963             }
34964          }
34965          part { name: "shine_center";
34966             mouse_events:  0;
34967             description { state: "default" 0.0;
34968                rel1.to: "bg";
34969                rel1.relative: 0.2 0;
34970                rel2.to: "bg";
34971                rel2.relative: 0.8 1;
34972                image.normal: "bar_shine.png";
34973                color: 255 255 255 180;
34974             }
34975          }
34976          part { name: "shine_right";
34977             mouse_events:  0;
34978             description { state: "default" 0.0;
34979                rel1.to: "bg";
34980                rel1.relative: 0.9 0;
34981                rel2.to: "bg";
34982                rel2.relative: 1.1 1;
34983                image.normal: "bar_shine.png";
34984                color: 255 255 255 120;
34985             }
34986          }
34987          part { name: "clipper";
34988             type: RECT;
34989             mouse_events: 0;
34990             description { state: "default" 0.0;
34991                rel1.to: "bg";
34992                rel2.to: "bg";
34993                rel1.offset: 2 2;
34994                rel2.offset: -3 -3;
34995             }
34996          }
34997          part { name: "elm.swallow.content";
34998             clip_to: "clipper";
34999             type: SWALLOW;
35000             description { state: "default" 0.0;
35001                rel1.to: "bg";
35002                rel2.to: "bg";
35003             }
35004          }
35005       }
35006    }
35007
35008    group { name: "elm/diskselector/item/default";
35009
35010       data {
35011          item: "len_threshold" "14";
35012       }
35013
35014       parts {
35015          part { name: "elm.swallow.icon";
35016             type: SWALLOW;
35017             description { state: "default" 0.0;
35018                fixed: 1 0;
35019                align: 0.0 0.5;
35020                rel1 {
35021                   relative: 0 0;
35022                   offset: 4 4;
35023                }
35024                rel2 {
35025                   relative: 0 1;
35026                   offset: 4 -5;
35027                }
35028             }
35029             description { state: "show" 0.0;
35030                inherit: "default" 0.0;
35031             }
35032             description { state: "default_small" 0.0;
35033                inherit: "default" 0.0;
35034                rel1.relative: 0 0.2;
35035                rel2.relative: 0 0.8;
35036             }
35037             description { state: "left_side" 0.0;
35038                inherit: "default" 0.0;
35039                rel1.relative: 0 0.2;
35040                rel2.relative: 0 0.8;
35041                color: 255 255 255 160;
35042             }
35043             description { state: "right_side" 0.0;
35044                inherit: "left_side" 0.0;
35045                rel1.relative: 0.4 0.2;
35046                rel2.relative: 0.4 0.8;
35047                color: 255 255 255 160;
35048             }
35049          }
35050          part { name: "elm.text";
35051             type: TEXT;
35052             mouse_events: 0;
35053             scale: 1;
35054             description { state: "default" 0.0;
35055                rel1.relative: 1 0.0;
35056                rel1.to_x: "elm.swallow.icon";
35057                rel2.relative: 1.0 1.0;
35058                color: 255 255 255 255;
35059                visible: 0;
35060                text {
35061                   font: "Sans,Edje-Vera";
35062                   size: 13;
35063                   align: 0.5 0.5;
35064                   min: 0 1;
35065                }
35066             }
35067             description { state: "show" 0.0;
35068                inherit: "default" 0.0;
35069                visible: 1;
35070             }
35071             description { state: "default_small" 0.0;
35072                inherit: "default" 0.0;
35073                visible: 1;
35074                text.size: 10;
35075             }
35076             description { state: "left_side" 0.0;
35077                inherit: "default" 0.0;
35078                color: 172 172 172 255;
35079                text.size: 10;
35080                visible: 1;
35081                text.align: 0.2 0.5;
35082             }
35083             description { state: "right_side" 0.0;
35084                inherit: "default" 0.0;
35085                color: 172 172 172 255;
35086                visible: 1;
35087                text.size: 10;
35088                text.align: 0.8 0.5;
35089             }
35090          }
35091       }
35092
35093       programs {
35094          program { name: "center_text";
35095             signal: "elm,state,center";
35096             source: "elm";
35097             action: STATE_SET "show" 0.0;
35098             target: "elm.text";
35099             target: "elm.swallow.icon";
35100          }
35101          program { name: "center_small_text";
35102             signal: "elm,state,center_small";
35103             source: "elm";
35104             action: STATE_SET "default_small" 0.0;
35105             target: "elm.text";
35106             target: "elm.swallow.icon";
35107          }
35108          program { name: "l_side_text";
35109             signal: "elm,state,left_side";
35110             source: "elm";
35111             action: STATE_SET "left_side" 0.0;
35112             target: "elm.text";
35113             target: "elm.swallow.icon";
35114          }
35115          program { name: "r_side_text";
35116             signal: "elm,state,right_side";
35117             source: "elm";
35118             action: STATE_SET "right_side" 0.0;
35119             target: "elm.text";
35120             target: "elm.swallow.icon";
35121          }
35122       }
35123    }
35124
35125    group { name: "elm/entry/path/separator/default";
35126       images.image: "arrow_right.png" COMP;
35127       parts {
35128          part { name: "icon";
35129             mouse_events: 0;
35130             description { state: "default" 0.0;
35131                image.normal: "arrow_right.png";
35132                max: 64 64;
35133                aspect: 1.0 1.0;
35134             }
35135          }
35136       }
35137    }
35138
35139    group { name: "elm/fileselector/base/default";
35140       data {
35141          item: "path_separator" "<item relsize=16x16 vsize=full href=path/separator></item>";
35142       }
35143       parts {
35144          part { name: "elm.swallow.up";
35145             type: SWALLOW;
35146             description { state: "default" 0.0;
35147                align: 0.0 0.0;
35148                min: 10 10;
35149                fixed: 1 1;
35150                rel2 {
35151                   relative: 0.0 0.0;
35152                   offset: 0 0;
35153                }
35154             }
35155          }
35156          part { name: "elm.swallow.home";
35157             type: SWALLOW;
35158             description { state: "default" 0.0;
35159                align: 0.0 0.0;
35160                min: 10 10;
35161                fixed: 1 1;
35162                rel1 {
35163                   to: "elm.swallow.up";
35164                   relative: 1.0 0.0;
35165                   offset: 5 0;
35166                }
35167                rel2 {
35168                   to: "elm.swallow.up";
35169                   relative: 1.0 1.0;
35170                   offset: 20 -1;
35171                }
35172             }
35173          }
35174          part { name: "elm.swallow.files";
35175             type: SWALLOW;
35176             description { state: "default" 0.0;
35177                align: 1.0 0.0;
35178                min: 10 10;
35179                fixed: 1 1;
35180                rel1 {
35181                   to_y: "elm.swallow.home";
35182                   relative: 0.0 1.0;
35183                   offset: 0 0;
35184                }
35185                rel2 {
35186                   to_y: "elm.swallow.path";
35187                   relative: 1.0 0.0;
35188                   offset: -1 -1;
35189                }
35190             }
35191          }
35192          part { name: "elm.swallow.path";
35193             type: SWALLOW;
35194             description { state: "default" 0.0;
35195                align: 0.5 1.0;
35196                fixed: 1 1;
35197                rel1 {
35198                   to_y: "elm.swallow.filename";
35199                   relative: 0.0 0.0;
35200                   offset: 0 -1;
35201                }
35202                rel2 {
35203                   to_y: "elm.swallow.filename";
35204                   relative: 1.0 0.0;
35205                   offset: -1 -1;
35206                }
35207             }
35208          }
35209          part { name: "elm.swallow.filename";
35210             type: SWALLOW;
35211             description { state: "default" 0.0;
35212                align: 0.5 1.0;
35213                fixed: 1 1;
35214                rel1 {
35215                   to_y: "elm.swallow.ok";
35216                   relative: 0.0 0.0;
35217                   offset: 0 -1;
35218                }
35219                rel2 {
35220                   to_y: "elm.swallow.ok";
35221                   relative: 1.0 0.0;
35222                   offset: -1 -1;
35223                }
35224             }
35225          }
35226          part { name: "elm.swallow.cancel";
35227             type: SWALLOW;
35228             description { state: "default" 0.0;
35229                align: 1.0 1.0;
35230                fixed: 1 1;
35231                rel1 {
35232                   to: "elm.swallow.ok";
35233                   relative: 0.0 0.0;
35234                   offset: -3 0;
35235                }
35236                rel2 {
35237                   to: "elm.swallow.ok";
35238                   relative: 0.0 1.0;
35239                   offset: -3 -1;
35240                }
35241             }
35242          }
35243          part { name: "elm.swallow.ok";
35244             type: SWALLOW;
35245             description { state: "default" 0.0;
35246                align: 1.0 1.0;
35247                fixed: 1 1;
35248                rel1 {
35249                   relative: 1.0 1.0;
35250                   offset: -1 -1;
35251                }
35252             }
35253          }
35254       }
35255    }
35256
35257    group { name: "elm/fileselector_entry/base/default";
35258       parts {
35259          part { name: "elm.swallow.entry";
35260             type: SWALLOW;
35261             description { state: "default" 0.0;
35262                align: 0.0 0.0;
35263                min: 50 10;
35264                rel2 { to_x: "elm.swallow.button";
35265                   relative: 0.0 1.0;
35266                   offset: -1 -1;
35267                }
35268             }
35269          }
35270          part { name: "elm.swallow.button";
35271             type: SWALLOW;
35272             description { state: "default" 0.0;
35273                align: 1.0 0.0;
35274                min: 10 10;
35275                fixed: 1 1;
35276                rel1 {
35277                   relative: 1.0 0.0;
35278                   offset: -21 0;
35279                }
35280             }
35281          }
35282       }
35283    }
35284
35285 ////////////////////////////////////////////////////////////////////////
35286 // Standard layouts to be used                                        //
35287 ////////////////////////////////////////////////////////////////////////
35288    /* application with toolbar and main content area */
35289    group { name: "elm/layout/application/toolbar-content";
35290       parts {
35291          part { name: "elm.swallow.content";
35292             type: SWALLOW;
35293             description { state: "default" 0.0;
35294                rel1 { to_y: "elm.external.toolbar";
35295                   relative: 0.0 1.0;
35296                   offset: -1 1;
35297                }
35298             }
35299          }
35300
35301          part { name: "elm.external.toolbar";
35302             type: EXTERNAL;
35303             source: "elm/toolbar";
35304             description { state: "default" 0.0;
35305                align: 0.5 0.0;
35306                fixed: 0 1;
35307                rel2 {
35308                   relative: 1.0 0.0;
35309                   offset: -1 47;
35310                }
35311             }
35312          }
35313       }
35314    }
35315
35316    /* application with toolbar and main content area with a back button and title area */
35317    group { name: "elm/layout/application/toolbar-content-back";
35318       parts {
35319          part { name: "elm.swallow.content";
35320             type: SWALLOW;
35321             description { state: "default" 0.0;
35322                rel1 { to_y: "title_clipper";
35323                   relative: 0.0 1.0;
35324                   offset: -1 1;
35325                }
35326             }
35327          }
35328
35329          part { name: "elm.external.toolbar";
35330             type: EXTERNAL;
35331             source: "elm/toolbar";
35332             description { state: "default" 0.0;
35333                fixed: 0 1;
35334                align: 0.5 0.0;
35335                rel2 {
35336                   relative: 1.0 0.0;
35337                   offset: -1 47;
35338                }
35339             }
35340          }
35341          part { name: "title_clipper";
35342             type: RECT;
35343             description { state: "default" 0.0;
35344                visible: 1;
35345                rel1 {
35346                   to_y: "back";
35347                }
35348                rel2 {
35349                   to_y: "back";
35350                }
35351             }
35352             description { state: "hidden" 0.0;
35353                inherit: "default" 0.0;
35354                visible: 0;
35355                rel2 {
35356                   relative: 1.0 0.0;
35357                }
35358             }
35359          }
35360          part { name: "back_clipper";
35361             type: RECT;
35362             clip_to: "title_clipper";
35363             description { state: "default" 0.0;
35364                visible: 1;
35365             }
35366             description { state: "hidden" 0.0;
35367                visible: 0;
35368             }
35369          }
35370          part { name: "back";
35371             type: EXTERNAL;
35372             source: "elm/button";
35373             clip_to: "back_clipper";
35374             description { state: "default" 0.0;
35375                align: 0.0 0.0;
35376                fixed: 1 1;
35377                rel1 { to_y: "elm.external.toolbar";
35378                   relative: 0.0 1.0;
35379                   offset: 0 1;
35380                }
35381                rel2 { to_y: "elm.external.toolbar";
35382                   relative: 0.0 1.0;
35383                   offset: 50 32;
35384                }
35385                params.string: "label" "Back";
35386             }
35387          }
35388          programs {
35389             program {
35390                signal: "clicked";
35391                source: "back";
35392                action: SIGNAL_EMIT "elm,action,back" "";
35393             }
35394             program {
35395                signal: "elm,back,hide";
35396                source: "elm";
35397                action: STATE_SET "hidden" 0.0;
35398                target: "back_clipper";
35399             }
35400             program {
35401                signal: "elm,back,show";
35402                source: "elm";
35403                action: STATE_SET "default" 0.0;
35404                target: "back_clipper";
35405             }
35406             program {
35407                signal: "elm,title,hide";
35408                source: "elm";
35409                action: STATE_SET "hidden" 0.0;
35410                transition: LINEAR 0.1;
35411                target: "title_clipper";
35412             }
35413             program {
35414                signal: "elm,title,show";
35415                source: "elm";
35416                action: STATE_SET "default" 0.0;
35417                target: "title_clipper";
35418             }
35419          }
35420
35421          part { name: "elm.swallow.end";
35422             type: SWALLOW;
35423             description { state: "default" 0.0;
35424                align: 1.0 0.0;
35425                fixed: 1 1;
35426                rel1 { to_y: "elm.external.toolbar";
35427                   relative: 1.0 1.0;
35428                   offset: -2 1;
35429                }
35430                rel2 { to_y: "elm.external.toolbar";
35431                   relative: 1.0 1.0;
35432                   offset: -1 32;
35433                }
35434             }
35435          }
35436
35437          part { name: "elm.text.title";
35438             type: TEXT;
35439             effect: SOFT_SHADOW;
35440             scale: 1;
35441             description { state: "default" 0.0;
35442                rel1 { to_y: "elm.external.toolbar";
35443                   to_x: "back";
35444                   relative: 1.0 1.0;
35445                   offset: 2 1;
35446                }
35447                rel2 { to_y: "back";
35448                   to_x: "elm.swallow.end";
35449                   relative: 0.0 1.0;
35450                   offset: -3 -1;
35451                }
35452                text {
35453                   font: "Sans:style=Bold";
35454                   size: 12;
35455                }
35456             }
35457          }
35458       }
35459    }
35460
35461    /* application with toolbar and main content area with a back and next buttons and title area */
35462    group { name: "elm/layout/application/toolbar-content-back-next";
35463       parts {
35464          part { name: "elm.swallow.content";
35465             type: SWALLOW;
35466             description { state: "default" 0.0;
35467                rel1 { to_y: "title_clipper";
35468                   relative: 0.0 1.0;
35469                   offset: -1 1;
35470                }
35471             }
35472          }
35473
35474          part { name: "elm.external.toolbar";
35475             type: EXTERNAL;
35476             source: "elm/toolbar";
35477             description { state: "default" 0.0;
35478                fixed: 0 1;
35479                align: 0.5 0.0;
35480                rel2 {
35481                   relative: 1.0 0.0;
35482                   offset: -1 47;
35483                }
35484             }
35485          }
35486          part { name: "title_clipper";
35487             type: RECT;
35488             description { state: "default" 0.0;
35489                visible: 1;
35490                rel1 {
35491                   to_y: "back";
35492                }
35493                rel2 {
35494                   to_y: "back";
35495                }
35496             }
35497             description { state: "hidden" 0.0;
35498                inherit: "default" 0.0;
35499                visible: 0;
35500                rel2 {
35501                   relative: 1.0 0.0;
35502                }
35503             }
35504          }
35505          part { name: "back";
35506             type: EXTERNAL;
35507             source: "elm/button";
35508             clip_to: "back_clipper";
35509             description { state: "default" 0.0;
35510                align: 0.0 0.0;
35511                fixed: 1 1;
35512                rel1 { to_y: "elm.external.toolbar";
35513                   relative: 0.0 1.0;
35514                   offset: 0 1;
35515                }
35516                rel2 { to_y: "elm.external.toolbar";
35517                   relative: 0.0 1.0;
35518                   offset: 50 32;
35519                }
35520                params.string: "label" "Back";
35521             }
35522          }
35523          part { name: "back_clipper";
35524             type: RECT;
35525             clip_to: "title_clipper";
35526             description { state: "default" 0.0;
35527                visible: 1;
35528             }
35529             description { state: "hidden" 0.0;
35530                visible: 0;
35531             }
35532          }
35533          part { name: "next";
35534             type: EXTERNAL;
35535             source: "elm/button";
35536             clip_to: "next_clipper";
35537             description { state: "default" 0.0;
35538                align: 1.0 0.0;
35539                fixed: 1 1;
35540                rel1 { to_y: "elm.external.toolbar";
35541                   relative: 1.0 1.0;
35542                   offset: -2 1;
35543                }
35544                rel2 { to_y: "elm.external.toolbar";
35545                   relative: 1.0 1.0;
35546                   offset: -1 32;
35547                }
35548                params.string: "label" "Next";
35549            }
35550          }
35551          part { name: "next_clipper";
35552             type: RECT;
35553             clip_to: "title_clipper";
35554             description { state: "default" 0.0;
35555                visible: 1;
35556             }
35557             description { state: "hidden" 0.0;
35558                visible: 0;
35559             }
35560          }
35561          programs {
35562             program {
35563                signal: "clicked";
35564                source: "back";
35565                action: SIGNAL_EMIT "elm,action,back" "";
35566             }
35567             program {
35568                signal: "elm,title,hide";
35569                source: "elm";
35570                action: STATE_SET "hidden" 0.0;
35571                transition: LINEAR 0.1;
35572                target: "title_clipper";
35573             }
35574             program {
35575                signal: "elm,title,show";
35576                source: "elm";
35577                action: STATE_SET "default" 0.0;
35578                target: "title_clipper";
35579             }
35580             program {
35581                signal: "elm,back,hide";
35582                source: "elm";
35583                action: STATE_SET "hidden" 0.0;
35584                target: "back_clipper";
35585             }
35586             program {
35587                signal: "elm,back,show";
35588                source: "elm";
35589                action: STATE_SET "default" 0.0;
35590                target: "back_clipper";
35591             }
35592             program {
35593                signal: "clicked";
35594                source: "next";
35595                action: SIGNAL_EMIT "elm,action,next" "";
35596             }
35597             program {
35598                signal: "elm,next,hide";
35599                source: "elm";
35600                action: STATE_SET "hidden" 0.0;
35601                target: "next_clipper";
35602             }
35603             program {
35604                signal: "elm,next,show";
35605                source: "elm";
35606                action: STATE_SET "default" 0.0;
35607                target: "next_clipper";
35608             }
35609          }
35610          part { name: "elm.text.title";
35611             type: TEXT;
35612             effect: SOFT_SHADOW;
35613             scale: 1;
35614             clip_to: "title_clipper";
35615             description { state: "default" 0.0;
35616                rel1 { to_y: "elm.external.toolbar";
35617                   to_x: "back";
35618                   relative: 1.0 1.0;
35619                   offset: 2 1;
35620                }
35621                rel2 { to_y: "back";
35622                   to_x: "next";
35623                   relative: 0.0 1.0;
35624                   offset: -3 -1;
35625                }
35626                text {
35627                   font: "Sans:style=Bold";
35628                   size: 12;
35629                }
35630             }
35631          }
35632       }
35633    }
35634    /* application with a main content area with a back button and title area */
35635    group { name: "elm/layout/application/content-back";
35636       parts {
35637          part { name: "elm.swallow.content";
35638             type: SWALLOW;
35639             description { state: "default" 0.0;
35640                rel1 { to_y: "title_clipper";
35641                   relative: 0.0 1.0;
35642                   offset: -1 1;
35643                }
35644             }
35645          }
35646          part { name: "title_clipper";
35647             type: RECT;
35648             description { state: "default" 0.0;
35649                visible: 1;
35650                rel1 {
35651                   to_y: "back";
35652                }
35653                rel2 {
35654                   to_y: "back";
35655                }
35656             }
35657             description { state: "hidden" 0.0;
35658                inherit: "default" 0.0;
35659                visible: 0;
35660                rel2 {
35661                   relative: 1.0 0.0;
35662                }
35663             }
35664          }
35665          part { name: "back_clipper";
35666             type: RECT;
35667             clip_to: "title_clipper";
35668             description { state: "default" 0.0;
35669                visible: 1;
35670             }
35671             description { state: "hidden" 0.0;
35672                visible: 0;
35673             }
35674          }
35675          part { name: "back";
35676             type: EXTERNAL;
35677             source: "elm/button";
35678             clip_to: "back_clipper";
35679             description { state: "default" 0.0;
35680                align: 0.0 0.0;
35681                fixed: 1 1;
35682                rel1 {
35683                   relative: 0.0 0.0;
35684                   offset: 0 1;
35685                }
35686                rel2 {
35687                   relative: 0.0 0.0;
35688                   offset: 50 32;
35689                }
35690                params.string: "label" "Back";
35691             }
35692          }
35693          programs {
35694             program {
35695                signal: "clicked";
35696                source: "back";
35697                action: SIGNAL_EMIT "elm,action,back" "";
35698             }
35699             program {
35700                signal: "elm,back,hide";
35701                source: "elm";
35702                action: STATE_SET "hidden" 0.0;
35703                target: "back_clipper";
35704             }
35705             program {
35706                signal: "elm,back,show";
35707                source: "elm";
35708                action: STATE_SET "default" 0.0;
35709                target: "back_clipper";
35710             }
35711             program {
35712                signal: "elm,title,hide";
35713                source: "elm";
35714                action: STATE_SET "hidden" 0.0;
35715                transition: LINEAR 0.1;
35716                target: "title_clipper";
35717             }
35718             program {
35719                signal: "elm,title,show";
35720                source: "elm";
35721                action: STATE_SET "default" 0.0;
35722                target: "title_clipper";
35723             }
35724          }
35725
35726          part { name: "elm.swallow.end";
35727             type: SWALLOW;
35728             description { state: "default" 0.0;
35729                align: 1.0 0.0;
35730                fixed: 1 1;
35731                rel1 {
35732                   relative: 1.0 0.0;
35733                   offset: -2 1;
35734                }
35735                rel2 {
35736                   relative: 1.0 1.0;
35737                   offset: -1 32;
35738                }
35739             }
35740          }
35741
35742          part { name: "elm.text.title";
35743             type: TEXT;
35744             effect: SOFT_SHADOW;
35745             scale: 1;
35746             description { state: "default" 0.0;
35747                rel1 {
35748                   to_x: "back";
35749                   relative: 1.0 0.0;
35750                   offset: 2 1;
35751                }
35752                rel2 { to_y: "back";
35753                   to_x: "elm.swallow.end";
35754                   relative: 0.0 1.0;
35755                   offset: -3 -1;
35756                }
35757                text {
35758                   font: "Sans:style=Bold";
35759                   size: 12;
35760                }
35761             }
35762          }
35763       }
35764    }
35765
35766    /* application with a main content area with a back and next buttons and title area */
35767    group { name: "elm/layout/application/content-back-next";
35768       parts {
35769          part { name: "elm.swallow.content";
35770             type: SWALLOW;
35771             description { state: "default" 0.0;
35772                rel1 { to_y: "title_clipper";
35773                   relative: 0.0 1.0;
35774                   offset: -1 1;
35775                }
35776             }
35777          }
35778
35779          part { name: "title_clipper";
35780             type: RECT;
35781             description { state: "default" 0.0;
35782                visible: 1;
35783                rel1 {
35784                   to_y: "back";
35785                }
35786                rel2 {
35787                   to_y: "back";
35788                }
35789             }
35790             description { state: "hidden" 0.0;
35791                inherit: "default" 0.0;
35792                visible: 0;
35793                rel2 {
35794                   relative: 1.0 0.0;
35795                }
35796             }
35797          }
35798          part { name: "back";
35799             type: EXTERNAL;
35800             source: "elm/button";
35801             clip_to: "back_clipper";
35802             description { state: "default" 0.0;
35803                align: 0.0 0.0;
35804                fixed: 1 1;
35805                rel1 {
35806                   relative: 0.0 0.0;
35807                   offset: 0 1;
35808                }
35809                rel2 {
35810                   relative: 0.0 0.0;
35811                   offset: 50 32;
35812                }
35813                params.string: "label" "Back";
35814             }
35815          }
35816          part { name: "back_clipper";
35817             type: RECT;
35818             clip_to: "title_clipper";
35819             description { state: "default" 0.0;
35820                visible: 1;
35821             }
35822             description { state: "hidden" 0.0;
35823                visible: 0;
35824             }
35825          }
35826          part { name: "next";
35827             type: EXTERNAL;
35828             source: "elm/button";
35829             clip_to: "next_clipper";
35830             description { state: "default" 0.0;
35831                align: 1.0 0.0;
35832                fixed: 1 1;
35833                rel1 {
35834                   relative: 1.0 0.0;
35835                   offset: -2 1;
35836                }
35837                rel2 {
35838                   relative: 1.0 0.0;
35839                   offset: -1 32;
35840                }
35841                params.string: "label" "Next";
35842            }
35843          }
35844          part { name: "next_clipper";
35845             type: RECT;
35846             clip_to: "title_clipper";
35847             description { state: "default" 0.0;
35848                visible: 1;
35849             }
35850             description { state: "hidden" 0.0;
35851                visible: 0;
35852             }
35853          }
35854          programs {
35855             program {
35856                signal: "clicked";
35857                source: "back";
35858                action: SIGNAL_EMIT "elm,action,back" "";
35859             }
35860             program {
35861                signal: "elm,title,hide";
35862                source: "elm";
35863                action: STATE_SET "hidden" 0.0;
35864                transition: LINEAR 0.1;
35865                target: "title_clipper";
35866             }
35867             program {
35868                signal: "elm,title,show";
35869                source: "elm";
35870                action: STATE_SET "default" 0.0;
35871                target: "title_clipper";
35872             }
35873             program {
35874                signal: "elm,back,hide";
35875                source: "elm";
35876                action: STATE_SET "hidden" 0.0;
35877                target: "back_clipper";
35878             }
35879             program {
35880                signal: "elm,back,show";
35881                source: "elm";
35882                action: STATE_SET "default" 0.0;
35883                target: "back_clipper";
35884             }
35885             program {
35886                signal: "clicked";
35887                source: "next";
35888                action: SIGNAL_EMIT "elm,action,next" "";
35889             }
35890             program {
35891                signal: "elm,next,hide";
35892                source: "elm";
35893                action: STATE_SET "hidden" 0.0;
35894                target: "next_clipper";
35895             }
35896             program {
35897                signal: "elm,next,show";
35898                source: "elm";
35899                action: STATE_SET "default" 0.0;
35900                target: "next_clipper";
35901             }
35902          }
35903          part { name: "elm.text.title";
35904             type: TEXT;
35905             effect: SOFT_SHADOW;
35906             scale: 1;
35907             clip_to: "title_clipper";
35908             description { state: "default" 0.0;
35909                rel1 {
35910                   to_x: "back";
35911                   relative: 1.0 0.0;
35912                   offset: 2 1;
35913                }
35914                rel2 { to_y: "back";
35915                   to_x: "next";
35916                   relative: 0.0 1.0;
35917                   offset: -3 -1;
35918                }
35919                text {
35920                   font: "Sans:style=Bold";
35921                   size: 12;
35922                }
35923             }
35924          }
35925       }
35926    }
35927
35928    /* application with toolbar and main content area as a vertical box */
35929    group { name: "elm/layout/application/toolbar-vbox";
35930       parts {
35931          part { name: "elm.box.content";
35932             type: BOX;
35933             description { state: "default" 0.0;
35934                rel1 { to_y: "elm.external.toolbar";
35935                   relative: 0.0 1.0;
35936                   offset: -1 1;
35937                }
35938                box.layout: "vertical";
35939             }
35940          }
35941
35942          part { name: "elm.external.toolbar";
35943             type: EXTERNAL;
35944             source: "elm/toolbar";
35945             description { state: "default" 0.0;
35946                align: 0.5 0.0;
35947                fixed: 0 1;
35948                rel2 {
35949                   relative: 1.0 0.0;
35950                   offset: -1 47;
35951                }
35952             }
35953          }
35954       }
35955    }
35956
35957    /* application with toolbar and main content area as a table */
35958    group { name: "elm/layout/application/toolbar-table";
35959       parts {
35960          part { name: "elm.table.content";
35961             type: TABLE;
35962             description { state: "default" 0.0;
35963                rel1 { to_y: "elm.external.toolbar";
35964                   relative: 0.0 1.0;
35965                   offset: -1 1;
35966                }
35967             }
35968          }
35969
35970          part { name: "elm.external.toolbar";
35971             type: EXTERNAL;
35972             source: "elm/toolbar";
35973             description { state: "default" 0.0;
35974                align: 0.5 0.0;
35975                fixed: 0 1;
35976                rel2 {
35977                   relative: 1.0 0.0;
35978                   offset: -1 47;
35979                }
35980             }
35981          }
35982       }
35983    }
35984
35985    /* a simple title layout, with a label and two icons */
35986    group { name: "elm/layout/application/titlebar";
35987       images {
35988          image: "toolbar_sel.png" COMP;
35989       }
35990       parts {
35991          part { name: "base";
35992             mouse_events: 0;
35993             scale: 1;
35994             description { state: "default" 0.0;
35995                min: 0 33;
35996                max: 99999 33;
35997                align: 0.5 0.0;
35998                rel1.offset: -1 0;
35999                rel2.offset: 1 0;
36000                image {
36001                   normal: "toolbar_sel.png";
36002                   border: 3 3 0 0;
36003                }
36004             }
36005          }
36006          part { name: "elm.swallow.content";
36007             type: SWALLOW;
36008             description { state: "default" 0.0;
36009                visible: 1;
36010                rel1 {
36011                   to: "base";
36012                   relative: 0.0 1.0;
36013                }
36014             }
36015          }
36016          part { name: "elm.swallow.icon";
36017             type: SWALLOW;
36018             scale: 1;
36019             description { state: "default" 0.0;
36020                visible: 0;
36021                fixed: 1 1;
36022                align: 0.0 0.0;
36023                rel1 {
36024                   to: "base";
36025                   relative: 0.0 0.0;
36026                   offset: 4 0;
36027                }
36028                rel2 {
36029                   to: "base";
36030                   relative: 0.0 1.0;
36031                }
36032             }
36033             description { state: "visible" 0.0;
36034                inherit: "default" 0.0;
36035                visible: 1;
36036             }
36037          }
36038          part { name: "elm.swallow.end";
36039             type: SWALLOW;
36040             scale: 1;
36041             description { state: "default" 0.0;
36042                visible: 0;
36043                fixed: 1 1;
36044                align: 1.0 0.0;
36045                rel1 {
36046                   to: "base";
36047                   relative: 1.0 0.0;
36048                   offset: 0 0;
36049                }
36050                rel2 {
36051                   to: "base";
36052                   relative: 1.0 1.0;
36053                   offset: -5 -1;
36054                }
36055             }
36056             description { state: "visible" 0.0;
36057                inherit: "default" 0.0;
36058                visible: 1;
36059             }
36060          }
36061          part { name: "elm.text";
36062             type: TEXT;
36063             effect: SOFT_SHADOW;
36064             mouse_events: 0;
36065             scale: 1;
36066             description { state: "default" 0.0;
36067                fixed: 1 1;
36068                rel1 {
36069                   to_x: "elm.swallow.icon";
36070                   to_y: "base";
36071                   relative: 1.0 0.0;
36072                }
36073                rel2 {
36074                   to_x: "elm.swallow.end";
36075                   to_y: "base";
36076                   relative: 0.0 1.0;
36077                }
36078                text {
36079                   font: "Sans";
36080                   size: 12;
36081                   min: 0 0;
36082                   align: 0.5 0.5;
36083                   text_class: "title_bar";
36084                }
36085             }
36086          }
36087       }
36088       programs {
36089          program { name: "show_icon";
36090             signal: "elm,state,icon,visible";
36091             source: "elm";
36092             action: STATE_SET "visible" 0.0;
36093             target: "elm.swallow.icon";
36094          }
36095          program { name: "hide_icon";
36096             signal: "elm,state,icon,hidden";
36097             source: "elm";
36098             action: STATE_SET "default" 0.0;
36099             target: "elm.swallow.icon";
36100          }
36101          program { name: "show_end";
36102             signal: "elm,state,end,visible";
36103             source: "elm";
36104             action: STATE_SET "visible" 0.0;
36105             target: "elm.swallow.end";
36106          }
36107          program { name: "hide_end";
36108             signal: "elm,state,end,hidden";
36109             source: "elm";
36110             action: STATE_SET "default" 0.0;
36111             target: "elm.swallow.end";
36112          }
36113       }
36114    }
36115 }
36116
36117
36118
36119