elementary: fix clip in the progressbar theme
[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 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: 0 1;
1433                }
1434             }
1435          }
1436       }
1437    }
1438
1439    group { name: "elm/label/base/marker";
1440       data.item: "default_font_size" "10";
1441       data.item: "min_font_size" "6";
1442       data.item: "max_font_size" "60";
1443       styles {
1444          style { name: "textblock_style2";
1445            base: "font=Sans:style=Bold font_size=10 align=center color=#fff wrap=word text_class=label";
1446            tag:  "br" "\n";
1447            tag:  "ps" "ps";
1448            tag:  "hilight" "+ color=#ffff";
1449            tag:  "b" "+ color=#ffff";
1450            tag:  "tab" "\t";
1451          }
1452       }
1453       parts {
1454          part { name: "label.swallow.background";
1455             type: SWALLOW;
1456             description { state: "default" 0.0;
1457                visible: 1;
1458                rel1 { relative: 0 0; to: "elm.text"; }
1459                rel2 { relative: 1 1; to: "elm.text"; }
1460             }
1461          }
1462          part { name: "elm.text";
1463             type: TEXTBLOCK;
1464             mouse_events: 0;
1465             scale: 1;
1466             description { state: "default" 0.0;
1467                text {
1468                   style: "textblock_style2";
1469                   min: 1 1;
1470                }
1471             }
1472          }
1473       }
1474    }
1475
1476    group { name: "elm/label/base/slide_long";
1477       data.item: "default_font_size" "10";
1478       data.item: "min_font_size" "6";
1479       data.item: "max_font_size" "60";
1480
1481       script {
1482         public g_duration, g_stopslide, g_timer_id, g_anim_id;
1483
1484         public message(Msg_Type:type, id, ...) {
1485            if ((type == MSG_FLOAT_SET) && (id == 0)) {
1486               new Float:duration;
1487               duration = getfarg(2);
1488               set_float(g_duration, duration);
1489            }
1490         }
1491         public slide_to_end_anim(val, Float:pos) {
1492            new stopflag;
1493            new id;
1494            stopflag = get_int(g_stopslide);
1495            if (stopflag == 1) return;
1496            set_tween_state(PART:"elm.text", pos, "slide_begin", 0.0, "slide_end", 0.0);
1497            if (pos >= 1.0) {
1498               id = timer(0.5, "slide_to_begin", 1);
1499               set_int(g_timer_id, id);
1500            }
1501         }
1502         public slide_to_end() {
1503            new stopflag;
1504            new id;
1505            new Float:duration;
1506            stopflag = get_int(g_stopslide);
1507            if (stopflag == 1) return;
1508            duration = get_float(g_duration);
1509            id = anim(duration, "slide_to_end_anim", 1);
1510            set_int(g_anim_id, id);
1511         }
1512         public slide_to_begin() {
1513            new stopflag;
1514            new id;
1515            stopflag = get_int(g_stopslide);
1516            if (stopflag == 1) return;
1517            set_state(PART:"elm.text", "slide_begin", 0.0);
1518            id = timer(0.5, "slide_to_end", 1);
1519            set_int(g_timer_id, id);
1520         }
1521         public start_slide() {
1522            set_int(g_stopslide, 0);
1523            set_state(PART:"elm.text", "slide_begin", 0.0);
1524            slide_to_end();
1525         }
1526         public stop_slide() {
1527            new id;
1528            set_int(g_stopslide, 1);
1529            id = get_int(g_anim_id);
1530            cancel_anim(id);
1531            id = get_int(g_timer_id);
1532            cancel_timer(id);
1533            set_state(PART:"elm.text", "default", 0.0);
1534         }
1535       }
1536
1537       parts {
1538          part { name: "label.swallow.background";
1539             type: SWALLOW;
1540             description { state: "default" 0.0;
1541                visible: 1;
1542             }
1543          }
1544          part { name: "label.text.clip";
1545             type: RECT;
1546             description { state: "default" 0.0;
1547                visible: 1;
1548                color: 255 255 255 255;
1549                rel1 { relative: 0 0; to: "label.swallow.background"; }
1550                rel2 { relative: 1 1; to: "label.swallow.background"; }
1551             }
1552          }
1553          part { name: "elm.text";
1554             type: TEXTBLOCK;
1555             mouse_events: 0;
1556             scale: 1;
1557             clip_to: "label.text.clip";
1558             description { state: "default" 0.0;
1559                rel1.relative: 0.0 0.0;
1560                rel2.relative: 1.0 1.0;
1561                align: 0.0 0.0;
1562                text {
1563                   style: "textblock_style";
1564                   min: 1 1;
1565                }
1566             }
1567             description { state: "slide_end" 0.0;
1568                inherit: "default" 0.0;
1569                rel1.relative: 0.0 0.0;
1570                rel2.relative: 0.0 1.0;
1571                align: 1.0 0.0;
1572             }
1573             description { state: "slide_begin" 0.0;
1574                inherit: "default" 0.0;
1575                rel1.relative: 1.0 0.0;
1576                rel2.relative: 1.0 1.0;
1577                align: 0.0 0.0;
1578             }
1579          }
1580        }
1581        programs {
1582           program { name: "start_slide";
1583              source: "elm";
1584              signal: "elm,state,slide,start";
1585              script
1586                {
1587                   start_slide();
1588                }
1589           }
1590           program { name: "stop_slide";
1591              source: "elm";
1592              signal: "elm,state,slide,stop";
1593              script
1594                {
1595                   stop_slide();
1596                }
1597           }
1598        }
1599    }
1600
1601
1602    group { name: "elm/label/base/slide_short";
1603       data.item: "default_font_size" "10";
1604       data.item: "min_font_size" "6";
1605       data.item: "max_font_size" "60";
1606
1607       script {
1608          public g_duration, g_stopslide, g_timer_id, g_anim_id;
1609
1610          public message(Msg_Type:type, id, ...) {
1611             if ((type == MSG_FLOAT_SET) && (id == 0)) {
1612                new Float:duration;
1613                duration = getfarg(2);
1614                set_float(g_duration, duration);
1615             }
1616          }
1617          public slide_to_end_anim(val, Float:pos) {
1618             new stopflag;
1619             new id;
1620             stopflag = get_int(g_stopslide);
1621             if (stopflag == 1) return;
1622             set_tween_state(PART:"elm.text", pos, "slide_begin", 0.0, "slide_end", 0.0);
1623             if (pos >= 1.0) {
1624                id = timer(0.5, "slide_to_begin", 1);
1625                set_int(g_timer_id, id);
1626             }
1627          }
1628          public slide_to_end() {
1629             new stopflag;
1630             new id;
1631             new Float:duration;
1632             stopflag = get_int(g_stopslide);
1633             if (stopflag == 1) return;
1634             duration = get_float(g_duration);
1635             id = anim(duration, "slide_to_end_anim", 1);
1636             set_int(g_anim_id, id);
1637          }
1638          public slide_to_begin() {
1639             new stopflag;
1640             new id;
1641             stopflag = get_int(g_stopslide);
1642             if (stopflag == 1) return;
1643             set_state(PART:"elm.text", "slide_begin", 0.0);
1644             id = timer(0.5, "slide_to_end", 1);
1645             set_int(g_timer_id, id);
1646          }
1647          public start_slide() {
1648             set_int(g_stopslide, 0);
1649             set_state(PART:"elm.text", "slide_begin", 0.0);
1650             slide_to_end();
1651          }
1652          public stop_slide() {
1653             new id;
1654             set_int(g_stopslide, 1);
1655             id = get_int(g_anim_id);
1656             cancel_anim(id);
1657             id = get_int(g_timer_id);
1658             cancel_timer(id);
1659             set_state(PART:"elm.text", "default", 0.0);
1660          }
1661       }
1662
1663       parts {
1664          part { name: "label.swallow.background";
1665             type: SWALLOW;
1666             description { state: "default" 0.0;
1667                visible: 1;
1668             }
1669          }
1670          part { name: "label.text.clip";
1671             type: RECT;
1672             description { state: "default" 0.0;
1673                visible: 1;
1674                color: 255 255 255 255;
1675                rel1 { relative: 0 0; to: "label.swallow.background"; }
1676                rel2 { relative: 1 1; to: "label.swallow.background"; }
1677             }
1678          }
1679          part { name: "elm.text";
1680             type: TEXTBLOCK;
1681             mouse_events: 0;
1682             scale: 1;
1683             clip_to: "label.text.clip";
1684             description { state: "default" 0.0;
1685                rel1.relative: 0.0 0.0;
1686                rel2.relative: 1.0 1.0;
1687                align: 0.0 0.0;
1688                text {
1689                   style: "textblock_style";
1690                   min: 1 1;
1691                }
1692             }
1693             description { state: "slide_end" 0.0;
1694                inherit: "default" 0.0;
1695                rel1.relative: 1.0 0.0;
1696                rel2.relative: 1.0 1.0;
1697                align: 1.0 0.0;
1698             }
1699             description { state: "slide_begin" 0.0;
1700                inherit: "default" 0.0;
1701                rel1.relative: 0.0 0.0;
1702                rel2.relative: 0.0 1.0;
1703                align: 0.0 0.0;
1704             }
1705          }
1706       }
1707       programs {
1708          program { name: "start_slide";
1709             source: "elm";
1710             signal: "elm,state,slide,start";
1711             script
1712               {
1713                  start_slide();
1714               }
1715          }
1716          program { name: "stop_slide";
1717             source: "elm";
1718             signal: "elm,state,slide,stop";
1719             script
1720               {
1721                  stop_slide();
1722               }
1723          }
1724       }
1725    }
1726
1727    group { name: "elm/label/base/slide_bounce";
1728       data.item: "default_font_size" "10";
1729       data.item: "min_font_size" "6";
1730       data.item: "max_font_size" "60";
1731
1732       script {
1733          public g_duration, g_stopslide, g_timer_id, g_anim_id;
1734
1735          public message(Msg_Type:type, id, ...) {
1736             if ((type == MSG_FLOAT_SET) && (id == 0)) {
1737                new Float:duration;
1738                duration = getfarg(2);
1739                set_float(g_duration, duration);
1740             }
1741          }
1742          public slide_to_end_anim(val, Float:pos) {
1743             new stopflag;
1744             new id;
1745             stopflag = get_int(g_stopslide);
1746             if (stopflag == 1) return;
1747             set_tween_state(PART:"elm.text", pos, "slide_begin", 0.0, "slide_end", 0.0);
1748             if (pos >= 1.0) {
1749                id = timer(0.5, "slide_to_begin", 1);
1750                set_int(g_timer_id, id);
1751             }
1752          }
1753          public slide_to_end() {
1754             new stopflag;
1755             new id;
1756             new Float:duration;
1757             stopflag = get_int(g_stopslide);
1758             if (stopflag == 1) return;
1759             duration = get_float(g_duration);
1760             id = anim(duration, "slide_to_end_anim", 1);
1761             set_int(g_anim_id, id);
1762          }
1763          public slide_to_begin_anim(val, Float:pos) {
1764             new stopflag;
1765             new id;
1766             stopflag = get_int(g_stopslide);
1767             if (stopflag == 1) return;
1768             set_tween_state(PART:"elm.text", pos, "slide_end", 0.0, "slide_begin", 0.0);
1769             if (pos >= 1.0) {
1770                id = timer(0.5, "slide_to_end", 1);
1771                set_int(g_timer_id, id);
1772             }
1773          }
1774          public slide_to_begin() {
1775             new stopflag;
1776             new id;
1777             new Float:duration;
1778             stopflag = get_int(g_stopslide);
1779             if (stopflag == 1) return;
1780             duration = get_float(g_duration);
1781             id = anim(duration, "slide_to_begin_anim", 1);
1782             set_int(g_anim_id, id);
1783          }
1784          public start_slide() {
1785             set_int(g_stopslide, 0);
1786             set_state(PART:"elm.text", "slide_begin", 0.0);
1787             slide_to_end();
1788          }
1789          public stop_slide() {
1790             new id;
1791             set_int(g_stopslide, 1);
1792             id = get_int(g_anim_id);
1793             cancel_anim(id);
1794             id = get_int(g_timer_id);
1795             cancel_timer(id);
1796             set_state(PART:"elm.text", "default", 0.0);
1797          }
1798       }
1799
1800       parts {
1801          part { name: "label.swallow.background";
1802             type: SWALLOW;
1803             description { state: "default" 0.0;
1804                visible: 1;
1805             }
1806          }
1807          part { name: "label.text.clip";
1808             type: RECT;
1809             description { state: "default" 0.0;
1810                visible: 1;
1811                color: 255 255 255 255;
1812                rel1 { relative: 0 0; to: "label.swallow.background"; }
1813                rel2 { relative: 1 1; to: "label.swallow.background"; }
1814             }
1815          }
1816          part { name: "elm.text";
1817             type: TEXTBLOCK;
1818             mouse_events: 0;
1819             scale: 1;
1820             clip_to: "label.text.clip";
1821             description { state: "default" 0.0;
1822                rel1.relative: 0.0 0.0;
1823                rel2.relative: 1.0 1.0;
1824                align: 0.0 0.0;
1825                text {
1826                   style: "textblock_style";
1827                   min: 1 1;
1828                }
1829             }
1830             description { state: "slide_end" 0.0;
1831                inherit: "default" 0.0;
1832                rel1.relative: 1.0 0.0;
1833                rel2.relative: 1.0 1.0;
1834                align: 1.0 0.0;
1835             }
1836             description { state: "slide_begin" 0.0;
1837                inherit: "default" 0.0;
1838                rel1.relative: 0.0 0.0;
1839                rel2.relative: 0.0 1.0;
1840                align: 0.0 0.0;
1841             }
1842          }
1843       }
1844       programs {
1845          program { name: "start_slide";
1846             source: "elm";
1847             signal: "elm,state,slide,start";
1848             script
1849               {
1850                  start_slide();
1851               }
1852          }
1853          program { name: "stop_slide";
1854             source: "elm";
1855             signal: "elm,state,slide,stop";
1856             script
1857               {
1858                  stop_slide();
1859               }
1860          }
1861       }
1862    }
1863
1864
1865 ///////////////////////////////////////////////////////////////////////////////
1866
1867    group { name: "elm/button/base/default";
1868       images {
1869          image: "bt_base1.png" COMP;
1870          image: "bt_base2.png" COMP;
1871          image: "bt_hilight.png" COMP;
1872          image: "bt_shine.png" COMP;
1873          image: "bt_glow.png" COMP;
1874          image: "bt_dis_base.png" COMP;
1875          image: "bt_dis_hilight.png" COMP;
1876       }
1877       parts {
1878          part { name: "button_image";
1879             mouse_events: 1;
1880             description { state: "default" 0.0;
1881                min: 15 15;
1882                image {
1883                   normal: "bt_base2.png";
1884                   border: 7 7 7 7;
1885                }
1886                image.middle: SOLID;
1887             }
1888             description { state: "clicked" 0.0;
1889                inherit: "default" 0.0;
1890                image.normal: "bt_base1.png";
1891             }
1892             description { state: "disabled" 0.0;
1893                inherit:  "default" 0.0;
1894                image {
1895                   normal: "bt_dis_base.png";
1896                   border: 4 4 4 4;
1897                }
1898             }
1899          }
1900          part { name: "elm.swallow.content";
1901             type: SWALLOW;
1902             description { state: "default" 0.0;
1903                fixed: 1 0;
1904                visible: 0;
1905                align: 0.0 0.5;
1906                rel1.offset: 4 4;
1907                rel2.offset: 3 -5;
1908                rel2.relative: 0.0 1.0;
1909             }
1910             description { state: "visible" 0.0;
1911                inherit: "default" 0.0;
1912                fixed: 1 0;
1913                visible: 1;
1914                aspect: 1.0 1.0;
1915 //               aspect_preference: VERTICAL;
1916                rel2.offset: 4 -5;
1917             }
1918             description { state: "icononly" 0.0;
1919                inherit: "default" 0.0;
1920                fixed: 0 0;
1921                visible: 1;
1922                align: 0.5 0.5;
1923 //               aspect: 1.0 1.0;
1924                rel2.offset: -5 -5;
1925                rel2.relative: 1.0 1.0;
1926 //               aspect_preference: VERTICAL;
1927             }
1928          }
1929          part {
1930             name:          "elm.text";
1931             type:          TEXT;
1932             effect:        SOFT_SHADOW;
1933             mouse_events:  0;
1934             scale: 1;
1935             description { state: "default" 0.0;
1936                visible: 0;
1937                rel1.to_x: "elm.swallow.content";
1938                rel1.relative: 1.0 0.0;
1939                rel1.offset: 0 4;
1940                rel2.offset: -5 -5;
1941                color: 224 224 224 255;
1942                color3: 0 0 0 64;
1943                text {
1944                   font:     "Sans,Edje-Vera";
1945                   size:     10;
1946                   min:      0 0;
1947                   align:    0.5 0.5;
1948                   text_class: "button";
1949                }
1950             }
1951             description { state: "visible" 0.0;
1952                inherit: "default" 0.0;
1953                visible: 1;
1954                text.min: 1 1;
1955             }
1956             description { state: "disabled" 0.0;
1957                inherit: "default" 0.0;
1958                color: 0 0 0 128;
1959                color3: 0 0 0 0;
1960             }
1961             description { state: "disabled_visible" 0.0;
1962                inherit: "default" 0.0;
1963                color: 0 0 0 128;
1964                color3: 0 0 0 0;
1965                visible: 1;
1966                text.min: 1 1;
1967             }
1968          }
1969          part {          name: "over1";
1970             mouse_events: 0;
1971             description { state: "default" 0.0;
1972                rel2.relative: 1.0 0.5;
1973                image {
1974                   normal: "bt_hilight.png";
1975                   border: 7 7 7 0;
1976                }
1977             }
1978             description { state: "disabled" 0.0;
1979                inherit:  "default" 0.0;
1980                image {
1981                   normal: "bt_dis_hilight.png";
1982                   border: 4 4 4 0;
1983                }
1984             }
1985          }
1986          part { name: "over2";
1987             mouse_events: 1;
1988             repeat_events: 1;
1989             ignore_flags: ON_HOLD;
1990             description { state: "default" 0.0;
1991                image {
1992                   normal: "bt_shine.png";
1993                   border: 7 7 7 7;
1994                }
1995             }
1996             description { state: "disabled" 0.0;
1997                inherit:  "default" 0.0;
1998                visible: 0;
1999             }
2000          }
2001          part { name: "over3";
2002             mouse_events: 1;
2003             repeat_events: 1;
2004             description { state: "default" 0.0;
2005                color: 255 255 255 0;
2006                image {
2007                   normal: "bt_glow.png";
2008                   border: 12 12 12 12;
2009                }
2010                fill.smooth : 0;
2011             }
2012             description { state: "clicked" 0.0;
2013                inherit:  "default" 0.0;
2014                color: 255 255 255 255;
2015             }
2016          }
2017           part { name: "disabler";
2018             type: RECT;
2019             description { state: "default" 0.0;
2020                color: 0 0 0 0;
2021                visible: 0;
2022             }
2023             description { state: "disabled" 0.0;
2024                inherit: "default" 0.0;
2025                visible: 1;
2026             }
2027          }
2028       }
2029       programs {
2030          program {
2031             name:   "button_click";
2032             signal: "mouse,down,1";
2033             source: "over2";
2034             action: SIGNAL_EMIT "elm,action,press" "";
2035             after: "button_click_anim";
2036          }
2037          program {
2038             name:   "button_click_anim";
2039             action: STATE_SET "clicked" 0.0;
2040             target: "button_image";
2041          }
2042          program {
2043             name:   "button_unclick";
2044             signal: "mouse,up,1";
2045             source: "over3";
2046             action: SIGNAL_EMIT "elm,action,unpress" "";
2047             after: "button_unclick_anim";
2048          }
2049          program {
2050             name:   "button_pressed_anim";
2051             signal: "elm,anim,activate";
2052             source: "elm";
2053             action: STATE_SET "clicked" 0.0;
2054             target: "button_image";
2055             target: "over3";
2056             after: "button_unpressed_anim";
2057          }
2058          program {
2059             name:   "button_unpressed_anim";
2060             action: STATE_SET "default" 0.0;
2061             transition: DECELERATE 0.5;
2062             target: "button_image";
2063             target: "over3";
2064          }
2065          program {
2066             name:   "button_unclick_anim";
2067             action: STATE_SET "default" 0.0;
2068             target: "button_image";
2069          }
2070          program {
2071             name:   "button_click2";
2072             signal: "mouse,down,1";
2073             source: "over3";
2074             action: STATE_SET "clicked" 0.0;
2075             target: "over3";
2076          }
2077          program {
2078             name:   "button_unclick2";
2079             signal: "mouse,up,1";
2080             source: "over3";
2081             action: STATE_SET "default" 0.0;
2082             transition: DECELERATE 0.5;
2083             target: "over3";
2084          }
2085          program {
2086             name:   "button_unclick3";
2087             signal: "mouse,clicked,1";
2088             source: "over2";
2089             action: SIGNAL_EMIT "elm,action,click" "";
2090          }
2091          program { name: "text_show";
2092             signal: "elm,state,text,visible";
2093             source: "elm";
2094             script {
2095                new st[31];
2096                new Float:vl;
2097                get_state(PART:"elm.swallow.content", st, 30, vl);
2098                if (!strcmp(st, "icononly"))
2099                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2100                set_state(PART:"elm.text", "visible", 0.0);
2101             }
2102          }
2103          program { name: "text_hide";
2104             signal: "elm,state,text,hidden";
2105             source: "elm";
2106             script {
2107                new st[31];
2108                new Float:vl;
2109                get_state(PART:"elm.swallow.content", st, 30, vl);
2110                if (!strcmp(st, "visible"))
2111                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2112                set_state(PART:"elm.text", "default", 0.0);
2113             }
2114          }
2115          program { name: "icon_show";
2116             signal: "elm,state,icon,visible";
2117             source: "elm";
2118             script {
2119                new st[31];
2120                new Float:vl;
2121                get_state(PART:"elm.text", st, 30, vl);
2122                if (!strcmp(st, "visible"))
2123                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2124                else
2125                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2126             }
2127          }
2128          program { name: "icon_hide";
2129             signal: "elm,state,icon,hidden";
2130             source: "elm";
2131             action:  STATE_SET "default" 0.0;
2132             target: "elm.swallow.content";
2133          }
2134          program { name: "disable";
2135             signal: "elm,state,disabled";
2136             source: "elm";
2137             action: STATE_SET "disabled" 0.0;
2138             target: "button_image";
2139             target: "over1";
2140             target: "over2";
2141             target: "disabler";
2142             after: "disable_text";
2143          }
2144          program { name: "disable_text";
2145             script {
2146                new st[31];
2147                new Float:vl;
2148                get_state(PART:"elm.text", st, 30, vl);
2149                if (!strcmp(st, "visible"))
2150                  set_state(PART:"elm.text", "disabled_visible", 0.0);
2151                else
2152                  set_state(PART:"elm.text", "disabled", 0.0);
2153             }
2154          }
2155          program { name: "enable";
2156             signal: "elm,state,enabled";
2157             source: "elm";
2158             action: STATE_SET "default" 0.0;
2159             target: "button_image";
2160             target: "over1";
2161             target: "over2";
2162             target: "disabler";
2163             after: "enable_text";
2164          }
2165          program { name: "enable_text";
2166             script {
2167                new st[31];
2168                new Float:vl;
2169                get_state(PART:"elm.text", st, 30, vl);
2170                if (!strcmp(st, "disabled_visible"))
2171                  set_state(PART:"elm.text", "visible", 0.0);
2172                else
2173                  set_state(PART:"elm.text", "default", 0.0);
2174             }
2175          }
2176       }
2177    }
2178
2179    group { name: "elm/button/base/hoversel_vertical/default";
2180       alias: "elm/button/base/hoversel_vertical/entry";
2181       alias: "elm/button/base/hoversel_horizontal/default";
2182       alias: "elm/button/base/hoversel_horizontal/entry";
2183       images {
2184          image: "bt_base1.png" COMP;
2185          image: "bt_base2.png" COMP;
2186          image: "bt_hilight.png" COMP;
2187          image: "bt_shine.png" COMP;
2188          image: "bt_glow.png" COMP;
2189          image: "updown.png" COMP;
2190          image: "bt_dis_base.png" COMP;
2191          image: "bt_dis_hilight.png" COMP;
2192       }
2193       parts {
2194          part { name: "button_image";
2195             mouse_events: 1;
2196             description { state: "default" 0.0;
2197                image {
2198                   normal: "bt_base2.png";
2199                   border: 7 7 7 7;
2200                }
2201                image.middle: SOLID;
2202             }
2203             description { state: "clicked" 0.0;
2204                inherit: "default" 0.0;
2205                image.normal: "bt_base1.png";
2206                image.middle: SOLID;
2207             }
2208             description { state: "disabled" 0.0;
2209                inherit:  "default" 0.0;
2210                image {
2211                   normal: "bt_dis_base.png";
2212                   border: 4 4 4 4;
2213                }
2214             }
2215          }
2216          part { name: "arrow";
2217             mouse_events: 0;
2218             description { state: "default" 0.0;
2219                image.normal: "updown.png";
2220                aspect: 0.6666666666 0.6666666666;
2221                aspect_preference: VERTICAL;
2222                rel1.offset: 6 7;
2223                rel2.offset: 6 -7;
2224                rel2.relative: 0.0 1.0;
2225                align: 0.0 0.5;
2226             }
2227          }
2228          part { name: "elm.swallow.content";
2229             type: SWALLOW;
2230             description { state: "default" 0.0;
2231                fixed: 1 0;
2232                visible: 0;
2233                align: 0.0 0.5;
2234                rel1 {
2235                   to_x: "arrow";
2236                   offset: 2 4;
2237                   relative: 1.0 0.0;
2238                }
2239                rel2 {
2240                   to_x: "arrow";
2241                   offset: 1 -5;
2242                   relative: 1.0 1.0;
2243                }
2244             }
2245             description { state: "visible" 0.0;
2246                inherit: "default" 0.0;
2247                fixed: 0 0;
2248                visible: 1;
2249                aspect: 1.0 1.0;
2250                aspect_preference: VERTICAL;
2251                rel2.offset: 2 -5;
2252             }
2253             description { state: "icononly" 0.0;
2254                inherit: "default" 0.0;
2255                fixed: 0 0;
2256                visible: 1;
2257                align: 0.5 0.5;
2258                aspect: 1.0 1.0;
2259                rel1 {
2260                   to_x: "button_image";
2261                   offset: -5 -5;
2262                   relative: 1.0 1.0;
2263                }
2264                aspect_preference: VERTICAL;
2265             }
2266          }
2267          part {
2268             name:          "elm.text";
2269             type:          TEXT;
2270             effect:        SOFT_SHADOW;
2271             mouse_events:  0;
2272             scale: 1;
2273             description { state: "default" 0.0;
2274                visible: 0;
2275                rel1.to_x: "elm.swallow.content";
2276                rel1.relative: 1.0 0.0;
2277                rel1.offset: 0 4;
2278                rel2.offset: -5 -5;
2279                color: 224 224 224 255;
2280                color3: 0 0 0 64;
2281                text {
2282                   font:     "Sans,Edje-Vera";
2283                   size:     10;
2284                   min:      0 0;
2285                   align:    0.5 0.5;
2286                   text_class: "button";
2287                }
2288             }
2289             description { state: "visible" 0.0;
2290                inherit: "default" 0.0;
2291                visible: 1;
2292                text.min: 1 1;
2293             }
2294             description { state: "disabled" 0.0;
2295                inherit: "default" 0.0;
2296                color: 0 0 0 128;
2297                color3: 0 0 0 0;
2298             }
2299             description { state: "disabled_visible" 0.0;
2300                inherit: "default" 0.0;
2301                color: 0 0 0 128;
2302                color3: 0 0 0 0;
2303                visible: 1;
2304                text.min: 1 1;
2305             }
2306          }
2307          part {          name: "over1";
2308             mouse_events: 0;
2309             description { state: "default" 0.0;
2310                rel2.relative: 1.0 0.5;
2311                image {
2312                   normal: "bt_hilight.png";
2313                   border: 7 7 7 0;
2314                }
2315             }
2316             description { state: "disabled" 0.0;
2317                inherit:  "default" 0.0;
2318                image {
2319                   normal: "bt_dis_hilight.png";
2320                   border: 4 4 4 0;
2321                }
2322             }
2323          }
2324          part { name: "over2";
2325             mouse_events: 1;
2326             repeat_events: 1;
2327             ignore_flags: ON_HOLD;
2328             description { state: "default" 0.0;
2329                image {
2330                   normal: "bt_shine.png";
2331                   border: 7 7 7 7;
2332                }
2333             }
2334             description { state: "disabled" 0.0;
2335                inherit:  "default" 0.0;
2336                visible: 0;
2337             }
2338          }
2339          part { name: "over3";
2340             mouse_events: 1;
2341             repeat_events: 1;
2342             description { state: "default" 0.0;
2343                color: 255 255 255 0;
2344                image {
2345                   normal: "bt_glow.png";
2346                   border: 12 12 12 12;
2347                }
2348                fill.smooth : 0;
2349             }
2350             description { state: "clicked" 0.0;
2351                inherit:  "default" 0.0;
2352                visible: 1;
2353                color: 255 255 255 255;
2354             }
2355          }
2356           part { name: "disabler";
2357             type: RECT;
2358             description { state: "default" 0.0;
2359                color: 0 0 0 0;
2360                visible: 0;
2361             }
2362             description { state: "disabled" 0.0;
2363                inherit: "default" 0.0;
2364                visible: 1;
2365             }
2366          }
2367       }
2368       programs {
2369          program {
2370             name:   "button_click";
2371             signal: "mouse,down,1";
2372             source: "over2";
2373             action: STATE_SET "clicked" 0.0;
2374             target: "button_image";
2375          }
2376          program {
2377             name:   "button_unclick";
2378             signal: "mouse,up,1";
2379             source: "over2";
2380             action: STATE_SET "default" 0.0;
2381             target: "button_image";
2382          }
2383          program {
2384             name:   "button_click2";
2385             signal: "mouse,down,1";
2386             source: "over3";
2387             action: STATE_SET "clicked" 0.0;
2388             target: "over3";
2389          }
2390          program {
2391             name:   "button_unclick2";
2392             signal: "mouse,up,1";
2393             source: "over3";
2394             action: STATE_SET "default" 0.0;
2395             transition: DECELERATE 0.5;
2396             target: "over3";
2397          }
2398          program {
2399             name:   "button_unclick3";
2400             signal: "mouse,up,1";
2401             source: "over2";
2402             action: SIGNAL_EMIT "elm,action,click" "";
2403          }
2404          program { name: "text_show";
2405             signal: "elm,state,text,visible";
2406             source: "elm";
2407             script {
2408                new st[31];
2409                new Float:vl;
2410                get_state(PART:"elm.swallow.content", st, 30, vl);
2411                if (!strcmp(st, "icononly"))
2412                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2413                set_state(PART:"elm.text", "visible", 0.0);
2414             }
2415          }
2416          program { name: "text_hide";
2417             signal: "elm,state,text,hidden";
2418             source: "elm";
2419             script {
2420                new st[31];
2421                new Float:vl;
2422                get_state(PART:"elm.swallow.content", st, 30, vl);
2423                if (!strcmp(st, "visible"))
2424                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2425                set_state(PART:"elm.text", "default", 0.0);
2426             }
2427          }
2428          program { name: "icon_show";
2429             signal: "elm,state,icon,visible";
2430             source: "elm";
2431             script {
2432                new st[31];
2433                new Float:vl;
2434                get_state(PART:"elm.text", st, 30, vl);
2435                if (!strcmp(st, "visible"))
2436                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2437                else
2438                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2439             }
2440          }
2441          program { name: "icon_hide";
2442             signal: "elm,state,icon,hidden";
2443             source: "elm";
2444             action:  STATE_SET "default" 0.0;
2445             target: "elm.swallow.content";
2446          }
2447          program { name: "disable";
2448             signal: "elm,state,disabled";
2449             source: "elm";
2450             action: STATE_SET "disabled" 0.0;
2451             target: "button_image";
2452             target: "over1";
2453             target: "over2";
2454             target: "disabler";
2455             after: "disable_text";
2456          }
2457          program { name: "disable_text";
2458             script {
2459                new st[31];
2460                new Float:vl;
2461                get_state(PART:"elm.text", st, 30, vl);
2462                if (!strcmp(st, "visible"))
2463                  set_state(PART:"elm.text", "disabled_visible", 0.0);
2464                else
2465                  set_state(PART:"elm.text", "disabled", 0.0);
2466             }
2467          }
2468          program { name: "enable";
2469             signal: "elm,state,enabled";
2470             source: "elm";
2471             action: STATE_SET "default" 0.0;
2472             target: "button_image";
2473             target: "over1";
2474             target: "over2";
2475             target: "disabler";
2476             after: "enable_text";
2477          }
2478          program { name: "enable_text";
2479             script {
2480                new st[31];
2481                new Float:vl;
2482                get_state(PART:"elm.text", st, 30, vl);
2483                if (!strcmp(st, "disabled_visible"))
2484                  set_state(PART:"elm.text", "visible", 0.0);
2485                else
2486                  set_state(PART:"elm.text", "default", 0.0);
2487             }
2488          }
2489       }
2490    }
2491
2492    group { name: "elm/button/base/hoversel_vertical_entry/default";
2493       alias: "elm/button/base/hoversel_vertical_entry/entry";
2494       alias: "elm/button/base/hoversel_horizontal_entry/default";
2495       alias: "elm/button/base/hoversel_horizontal_entry/entry";
2496       images {
2497          image: "hoversel_entry_bg.png" COMP;
2498       }
2499       parts {
2500          part { name: "button_image";
2501             mouse_events: 1;
2502             description { state: "default" 0.0;
2503                color: 255 255 255 0;
2504                image.normal: "hoversel_entry_bg.png";
2505                image.border: 0 0 2 2;
2506                fill.smooth: 0;
2507             }
2508             description { state: "clicked" 0.0;
2509                inherit: "default" 0.0;
2510                color: 255 255 255 255;
2511             }
2512          }
2513          part { name: "elm.swallow.content";
2514             type: SWALLOW;
2515             description { state: "default" 0.0;
2516                visible: 0;
2517                align: 0.0 0.5;
2518                rel1.offset: 4 4;
2519                rel2.offset: 3 -5;
2520                rel2.relative: 0.0 1.0;
2521             }
2522             description { state: "visible" 0.0;
2523                inherit: "default" 0.0;
2524                visible: 1;
2525                aspect: 1.0 1.0;
2526                aspect_preference: VERTICAL;
2527                rel2.offset: 4 -5;
2528             }
2529             description { state: "icononly" 0.0;
2530                inherit: "default" 0.0;
2531                visible: 1;
2532                align: 0.5 0.5;
2533                aspect: 1.0 1.0;
2534                rel2.offset: -5 -5;
2535                rel2.relative: 1.0 1.0;
2536                aspect_preference: VERTICAL;
2537             }
2538          }
2539          part { name: "textvis";
2540             type: RECT;
2541             mouse_events: 0;
2542             description { state: "default" 0.0;
2543                visible: 0;
2544             }
2545             description { state: "visible" 0.0;
2546                visible: 1;
2547             }
2548          }
2549          part {
2550             name:          "elm.text";
2551             type:          TEXT;
2552             effect:        SOFT_SHADOW;
2553             mouse_events:  0;
2554             scale: 1;
2555             clip_to:       "textvis";
2556             description { state: "default" 0.0;
2557                rel1.to_x: "elm.swallow.content";
2558                rel1.relative: 1.0 0.0;
2559                rel1.offset: 0 4;
2560                rel2.offset: -5 -5;
2561                color: 224 224 224 255;
2562                color3: 0 0 0 64;
2563                text {
2564                   font:     "Sans,Edje-Vera";
2565                   size:     10;
2566                   min:      0 0;
2567                   align:    0.5 0.5;
2568                   text_class: "button";
2569                }
2570             }
2571             description { state: "visible" 0.0;
2572                inherit: "default" 0.0;
2573                text.min: 1 1;
2574             }
2575             description { state: "clicked" 0.0;
2576                inherit: "default" 0.0;
2577                text.min: 1 1;
2578                color: 0 0 0 255;
2579                color3: 0 0 0 0;
2580             }
2581          }
2582          part { name: "over2";
2583             type: RECT;
2584             mouse_events: 1;
2585             description { state: "default" 0.0;
2586                color: 0 0 0 0;
2587             }
2588          }
2589       }
2590       programs {
2591          program {
2592             name:   "button_click";
2593             signal: "mouse,down,1";
2594             source: "over2";
2595             action: STATE_SET "clicked" 0.0;
2596             target: "button_image";
2597             target: "elm.text";
2598          }
2599          program {
2600             name:   "button_unclick";
2601             signal: "mouse,up,1";
2602             source: "over2";
2603             action: STATE_SET "default" 0.0;
2604             target: "button_image";
2605             target: "elm.text";
2606          }
2607          program {
2608             name:   "button_unclick3";
2609             signal: "mouse,up,1";
2610             source: "over2";
2611             action: SIGNAL_EMIT "elm,action,click" "";
2612          }
2613          program { name: "text_show";
2614             signal: "elm,state,text,visible";
2615             source: "elm";
2616             script {
2617                new st[31];
2618                new Float:vl;
2619                get_state(PART:"elm.swallow.content", st, 30, vl);
2620                if (!strcmp(st, "icononly"))
2621                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2622                set_state(PART:"textvis", "visible", 0.0);
2623                set_state(PART:"elm.text", "visible", 0.0);
2624             }
2625          }
2626          program { name: "text_hide";
2627             signal: "elm,state,text,hidden";
2628             source: "elm";
2629             script {
2630                new st[31];
2631                new Float:vl;
2632                get_state(PART:"elm.swallow.content", st, 30, vl);
2633                if (!strcmp(st, "visible"))
2634                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2635                set_state(PART:"textvis", "default", 0.0);
2636                set_state(PART:"elm.text", "default", 0.0);
2637             }
2638          }
2639          program { name: "icon_show";
2640             signal: "elm,state,icon,visible";
2641             source: "elm";
2642             script {
2643                new st[31];
2644                new Float:vl;
2645                get_state(PART:"textvis", st, 30, vl);
2646                if (!strcmp(st, "visible"))
2647                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2648                else
2649                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2650             }
2651          }
2652          program { name: "icon_hide";
2653             signal: "elm,state,icon,hidden";
2654             source: "elm";
2655             action:  STATE_SET "default" 0.0;
2656             target: "elm.swallow.content";
2657          }
2658       }
2659    }
2660
2661    group { name: "elm/button/base/anchor";
2662       images {
2663          image: "bt_base1.png" COMP;
2664          image: "bt_base2.png" COMP;
2665          image: "bt_hilight.png" COMP;
2666          image: "bt_shine.png" COMP;
2667          image: "bt_glow.png" COMP;
2668          image: "bt_dis_base.png" COMP;
2669          image: "bt_dis_hilight.png" COMP;
2670       }
2671       parts {
2672          part { name: "button_image";
2673             mouse_events: 1;
2674             description { state: "default" 0.0;
2675           min: 15 15;
2676            color: 255 255 255 0;
2677                image {
2678                   normal: "bt_base2.png";
2679                   border: 7 7 7 7;
2680                }
2681                image.middle: SOLID;
2682             }
2683        description { state: "visible" 0.0;
2684                inherit: "default" 0.0;
2685           color: 255 255 255 255;
2686             }
2687             description { state: "clicked" 0.0;
2688                inherit: "default" 0.0;
2689           inherit: "visible" 0.0;
2690                image.normal: "bt_base1.png";
2691                image.middle: SOLID;
2692             }
2693             description { state: "disabled" 0.0;
2694                inherit:  "default" 0.0;
2695           inherit: "visible" 0.0;
2696                image {
2697                   normal: "bt_dis_base.png";
2698                   border: 4 4 4 4;
2699                }
2700             }
2701          }
2702          part { name: "elm.swallow.content";
2703             type: SWALLOW;
2704             description { state: "default" 0.0;
2705                fixed: 1 0;
2706                visible: 0;
2707                align: 0.0 0.5;
2708                rel1.offset: 4 4;
2709                rel2.offset: 3 -5;
2710                rel2.relative: 0.0 1.0;
2711             }
2712             description { state: "visible" 0.0;
2713                inherit: "default" 0.0;
2714                fixed: 1 0;
2715                visible: 1;
2716                aspect: 1.0 1.0;
2717                aspect_preference: VERTICAL;
2718                rel2.offset: 4 -5;
2719             }
2720             description { state: "icononly" 0.0;
2721                inherit: "default" 0.0;
2722                fixed: 0 0;
2723                visible: 1;
2724                align: 0.5 0.5;
2725                aspect: 1.0 1.0;
2726                rel2.offset: -5 -5;
2727                rel2.relative: 1.0 1.0;
2728                aspect_preference: VERTICAL;
2729             }
2730          }
2731          part {
2732             name:          "elm.text";
2733             type:          TEXT;
2734             effect:        SOFT_SHADOW;
2735             mouse_events:  0;
2736             scale: 1;
2737             description { state: "default" 0.0;
2738                visible: 0;
2739                rel1.to_x: "elm.swallow.content";
2740                rel1.relative: 1.0 0.0;
2741                rel1.offset: 0 4;
2742                rel2.offset: -5 -5;
2743                color: 224 224 224 255;
2744                color3: 0 0 0 64;
2745                text {
2746                   font:     "Sans,Edje-Vera";
2747                   size:     10;
2748                   min:      0 0;
2749                   align:    0.5 0.5;
2750                   text_class: "button";
2751                }
2752             }
2753             description { state: "visible" 0.0;
2754                inherit: "default" 0.0;
2755                visible: 1;
2756                text.min: 1 1;
2757             }
2758             description { state: "disabled" 0.0;
2759                inherit: "default" 0.0;
2760                color: 0 0 0 128;
2761                color3: 0 0 0 0;
2762             }
2763             description { state: "disabled_visible" 0.0;
2764                inherit: "default" 0.0;
2765                color: 0 0 0 128;
2766                color3: 0 0 0 0;
2767                visible: 1;
2768                text.min: 1 1;
2769             }
2770          }
2771          part {          name: "over1";
2772             mouse_events: 0;
2773             description { state: "default" 0.0;
2774            color: 255 255 255 0;
2775                rel2.relative: 1.0 0.5;
2776                image {
2777                   normal: "bt_hilight.png";
2778                   border: 7 7 7 0;
2779                }
2780             }
2781        description { state: "visible" 0.0;
2782                inherit:  "default" 0.0;
2783           color: 255 255 255 255;
2784             }
2785             description { state: "disabled" 0.0;
2786                inherit:  "default" 0.0;
2787           inherit:  "visible" 0.0;
2788                image {
2789                   normal: "bt_dis_hilight.png";
2790                   border: 4 4 4 0;
2791                }
2792             }
2793          }
2794          part { name: "over2";
2795             mouse_events: 1;
2796             repeat_events: 1;
2797             ignore_flags: ON_HOLD;
2798             description { state: "default" 0.0;
2799                image {
2800                   normal: "bt_shine.png";
2801                   border: 7 7 7 7;
2802                }
2803             }
2804             description { state: "disabled" 0.0;
2805                inherit:  "default" 0.0;
2806                visible: 0;
2807             }
2808          }
2809          part { name: "over3";
2810             mouse_events: 1;
2811             repeat_events: 1;
2812             description { state: "default" 0.0;
2813                color: 255 255 255 0;
2814                image {
2815                   normal: "bt_glow.png";
2816                   border: 12 12 12 12;
2817                }
2818                fill.smooth : 0;
2819             }
2820             description { state: "clicked" 0.0;
2821                inherit:  "default" 0.0;
2822                visible: 1;
2823                color: 255 255 255 255;
2824             }
2825          }
2826           part { name: "disabler";
2827             type: RECT;
2828             description { state: "default" 0.0;
2829                color: 0 0 0 0;
2830                visible: 0;
2831             }
2832             description { state: "disabled" 0.0;
2833                inherit: "default" 0.0;
2834                visible: 1;
2835             }
2836          }
2837       }
2838       programs {
2839     program {
2840             name:   "button_mouse_in";
2841             signal: "mouse,in";
2842             source: "over2";
2843             action: STATE_SET "visible" 0.0;
2844             target: "button_image";
2845        target: "over1";
2846        transition: DECELERATE 0.5;
2847          }
2848          program {
2849             name:   "button_mouse_out";
2850             signal: "mouse,out";
2851             source: "over2";
2852             action: STATE_SET "default" 0.0;
2853             target: "button_image";
2854        target: "over1";
2855        transition: DECELERATE 0.5;
2856          }
2857          program {
2858             name:   "button_unclick";
2859             signal: "mouse,up,1";
2860             source: "over2";
2861             action: STATE_SET "visible" 0.0;
2862             target: "button_image";
2863          }
2864          program {
2865             name:   "button_click2";
2866             signal: "mouse,down,1";
2867             source: "over3";
2868             action: STATE_SET "clicked" 0.0;
2869             target: "over3";
2870          }
2871          program {
2872             name:   "button_unclick2";
2873             signal: "mouse,up,1";
2874             source: "over3";
2875             action: STATE_SET "default" 0.0;
2876             transition: DECELERATE 0.5;
2877             target: "over3";
2878          }
2879          program {
2880             name:   "button_unclick3";
2881             signal: "mouse,up,1";
2882             source: "over2";
2883             action: SIGNAL_EMIT "elm,action,click" "";
2884          }
2885          program { name: "text_show";
2886             signal: "elm,state,text,visible";
2887             source: "elm";
2888             script {
2889                new st[31];
2890                new Float:vl;
2891                get_state(PART:"elm.swallow.content", st, 30, vl);
2892                if (!strcmp(st, "icononly"))
2893                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2894                set_state(PART:"elm.text", "visible", 0.0);
2895             }
2896          }
2897          program { name: "text_hide";
2898             signal: "elm,state,text,hidden";
2899             source: "elm";
2900             script {
2901                new st[31];
2902                new Float:vl;
2903                get_state(PART:"elm.swallow.content", st, 30, vl);
2904                if (!strcmp(st, "visible"))
2905                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2906                set_state(PART:"elm.text", "default", 0.0);
2907             }
2908          }
2909          program { name: "icon_show";
2910             signal: "elm,state,icon,visible";
2911             source: "elm";
2912             script {
2913                new st[31];
2914                new Float:vl;
2915                get_state(PART:"elm.text", st, 30, vl);
2916                if (!strcmp(st, "visible"))
2917                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2918                else
2919                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2920             }
2921          }
2922          program { name: "icon_hide";
2923             signal: "elm,state,icon,hidden";
2924             source: "elm";
2925             action:  STATE_SET "default" 0.0;
2926             target: "elm.swallow.content";
2927          }
2928          program { name: "disable";
2929             signal: "elm,state,disabled";
2930             source: "elm";
2931             action: STATE_SET "disabled" 0.0;
2932             target: "button_image";
2933             target: "over1";
2934             target: "over2";
2935             target: "disabler";
2936             after: "disable_text";
2937          }
2938          program { name: "disable_text";
2939             script {
2940                new st[31];
2941                new Float:vl;
2942                get_state(PART:"elm.text", st, 30, vl);
2943                if (!strcmp(st, "visible"))
2944                  set_state(PART:"elm.text", "disabled_visible", 0.0);
2945                else
2946                  set_state(PART:"elm.text", "disabled", 0.0);
2947             }
2948          }
2949          program { name: "enable";
2950             signal: "elm,state,enabled";
2951             source: "elm";
2952             action: STATE_SET "default" 0.0;
2953             target: "button_image";
2954             target: "over1";
2955             target: "over2";
2956             target: "disabler";
2957             after: "enable_text";
2958          }
2959          program { name: "enable_text";
2960             script {
2961                new st[31];
2962                new Float:vl;
2963                get_state(PART:"elm.text", st, 30, vl);
2964                if (!strcmp(st, "disabled_visible"))
2965                  set_state(PART:"elm.text", "visible", 0.0);
2966                else
2967                  set_state(PART:"elm.text", "default", 0.0);
2968             }
2969          }
2970       }
2971    }
2972
2973 ///////////////////////////////////////////////////////////////////////////////
2974    group { name: "elm/toggle/base/default";
2975       images {
2976          image: "shelf_inset.png" COMP;
2977          image: "bt_basew.png" COMP;
2978          image: "bt_bases.png" COMP;
2979          image: "bt_hilightw.png" COMP;
2980          image: "tog_base_on.png" COMP;
2981          image: "tog_base_off.png" COMP;
2982          image: "tog_dis_base_on.png" COMP;
2983          image: "tog_dis_base_off.png" COMP;
2984       }
2985       script {
2986          public is_rtl;
2987       }
2988       parts {
2989          part { name: "bg";
2990             type: RECT;
2991             mouse_events: 0;
2992             scale: 1;
2993             description { state: "default" 0.0;
2994                rel1.relative: 1.0 0.0;
2995                rel1.offset: -4 3;
2996                rel2.offset: -4 -4;
2997                align: 1.0 0.5;
2998                min: 96 16;
2999                max: 96 16;
3000                aspect: 4.0 4.0;
3001                aspect_preference: VERTICAL;
3002                color: 255 255 255 255;
3003             }
3004          }
3005          part { name: "clipper";
3006             type: RECT;
3007             mouse_events: 0;
3008             description { state: "default" 0.0;
3009                rel1.to: "bg";
3010                rel2.to: "bg";
3011                color: 255 255 255 255;
3012             }
3013          }
3014          part { name: "button";
3015             type: RECT;
3016             scale: 1;
3017             clip_to: "clipper";
3018             mouse_events: 1;
3019              dragable {
3020                x: 1 1 0;
3021                y: 0 0 0;
3022                confine: "bg";
3023             }
3024             description { state: "default" 0.0;
3025                fixed: 1 1;
3026                rel1.to: "bg";
3027                rel2.to: "bg";
3028                min: 16 16;
3029                max: 16 16;
3030                aspect: 1.0 1.0;
3031                aspect_preference: VERTICAL;
3032                color: 0 0 0 0;
3033             }
3034          }
3035          part { name: "button_events";
3036             type: RECT;
3037              dragable {
3038                events: "button";
3039             }
3040             description { state: "default" 0.0;
3041                rel1.to_x: "bg";
3042                rel1.offset: 0 0;
3043                rel1.relative: 0.0 0.0;
3044                rel2.to_x: "bg";
3045                rel2.offset: -1 -1;
3046                rel2.relative: 1.0 1.0;
3047                color: 0 0 0 0;
3048             }
3049          }
3050          part { name: "onrect";
3051             type: IMAGE;
3052             scale: 1;
3053             clip_to: "clipper";
3054             mouse_events: 0;
3055             description { state: "default" 0.0;
3056                rel1.to: "button";
3057                rel1.relative: -5.0 0.0;
3058                rel2.to: "button";
3059                rel2.relative: 0.5 1.0;
3060                image.normal: "tog_base_on.png";
3061             }
3062             description { state: "disabled" 0.0;
3063                inherit: "default" 0.0;
3064                image.normal: "tog_dis_base_on.png";
3065             }
3066          }
3067          part { name: "offrect";
3068             type: IMAGE;
3069             scale: 1;
3070             clip_to: "clipper";
3071             mouse_events: 0;
3072             description { state: "default" 0.0;
3073                rel1.to: "button";
3074                rel1.relative: 0.5 0.0;
3075                rel2.to: "button";
3076                rel2.relative: 6.0 1.0;
3077                image.normal: "tog_base_off.png";
3078             }
3079             description { state: "disabled" 0.0;
3080                inherit: "default" 0.0;
3081                image.normal: "tog_dis_base_off.png";
3082             }
3083          }
3084          part { name: "elm.offtext";
3085             type: TEXT;
3086             mouse_events:  0;
3087             scale: 1;
3088             clip_to: "clipper";
3089             description { state: "default" 0.0;
3090                fixed: 1 1;
3091                rel1.to_x: "button";
3092                rel1.relative: 1.0 0.0;
3093                rel2.to_x: "offrect";
3094                color: 0 0 0 255;
3095                text {
3096                   font:     "Sans,Edje-Vera";
3097                   size:     10;
3098                   min:      0 1;
3099                   align:    0.5 0.5;
3100                   text:     "OFF";
3101                }
3102             }
3103             description { state: "disabled" 0.0;
3104                inherit: "default" 0.0;
3105                color: 128 128 128 128;
3106             }
3107          }
3108          part { name: "elm.ontext";
3109             type: TEXT;
3110             effect: SOFT_SHADOW;
3111             mouse_events:  0;
3112             scale: 1;
3113             clip_to: "clipper";
3114             description { state: "default" 0.0;
3115                fixed: 1 1;
3116                rel1.to_x: "onrect";
3117                rel1.offset: 1 1;
3118                rel2.to_x: "button";
3119                rel2.offset: 0 0;
3120                rel2.relative: 0.0 1.0;
3121                color: 224 224 224 255;
3122                color3: 0 0 0 64;
3123                text {
3124                   font:     "Sans,Edje-Vera";
3125                   size:     10;
3126                   min:      0 1;
3127                   align:    0.5 0.5;
3128                   text:     "ON";
3129                }
3130             }
3131             description { state: "disabled" 0.0;
3132                inherit: "default" 0.0;
3133                color: 128 128 128 128;
3134                color3: 0 0 0 24;
3135             }
3136          }
3137          part { name: "conf_over";
3138             mouse_events:  0;
3139             description { state: "default" 0.0;
3140                rel1.offset: -1 -1;
3141                rel1.to: "bg";
3142                rel2.offset: 0 0;
3143                rel2.to: "bg";
3144                image {
3145                   normal: "shelf_inset.png";
3146                   border: 7 7 7 7;
3147                   middle: 0;
3148                }
3149                fill.smooth : 0;
3150             }
3151          }
3152          part { name: "button0";
3153             mouse_events:  0;
3154             clip_to: "clipper";
3155             description { state: "default" 0.0;
3156                rel1.to: "button2";
3157                rel1.offset: -4 -4;
3158                rel2.to: "button2";
3159                rel2.offset: 3 3;
3160                image {
3161                   normal: "bt_bases.png";
3162                   border: 11 11 11 11;
3163                }
3164                image.middle: SOLID;
3165                color: 255 255 255 128;
3166             }
3167          }
3168          part { name: "button2";
3169             mouse_events:  0;
3170             clip_to: "clipper";
3171             description { state: "default" 0.0;
3172                rel1.to: "button";
3173                rel1.offset: -2 -2;
3174                rel2.to: "button";
3175                rel2.offset: 1 1;
3176                image {
3177                   normal: "bt_basew.png";
3178                   border: 7 7 7 7;
3179                }
3180                image.middle: SOLID;
3181             }
3182          }
3183          part { name: "button3";
3184             mouse_events:  0;
3185             clip_to: "clipper";
3186             description { state: "default" 0.0;
3187                rel1.to: "button2";
3188                rel2.to: "button2";
3189                rel2.relative: 1.0 0.5;
3190                image {
3191                   normal: "bt_hilightw.png";
3192                   border: 4 4 4 0;
3193                }
3194             }
3195          }
3196          part { name: "elm.swallow.content";
3197             type: SWALLOW;
3198             description { state: "default" 0.0;
3199                fixed: 1 0;
3200                visible: 0;
3201                align: 0.0 0.5;
3202                rel1.offset: 4 4;
3203                rel2.relative: 0.0 1.0;
3204                rel2.offset: 3 -5;
3205             }
3206             description { state: "visible" 0.0;
3207                inherit: "default" 0.0;
3208                visible: 1;
3209                aspect: 1.0 1.0;
3210                rel2.offset: 4 -5;
3211             }
3212             description { state: "disabled" 0.0;
3213                inherit: "default" 0.0;
3214                color: 128 128 128 128;
3215             }
3216             description { state: "disabled_visible" 0.0;
3217                inherit: "default" 0.0;
3218                color: 128 128 128 128;
3219                visible: 1;
3220                aspect: 1.0 1.0;
3221             }
3222          }
3223          part { name: "elm.text";
3224             type: TEXT;
3225             mouse_events: 0;
3226             scale: 1;
3227             description { state: "default" 0.0;
3228                visible: 0;
3229                rel1.to_x: "elm.swallow.content";
3230                rel1.relative: 1.0 0.0;
3231                rel1.offset: 0 4;
3232                rel2.to_x: "bg";
3233                rel2.relative: 0.0 1.0;
3234                rel2.offset: -5 -5;
3235                color: 0 0 0 255;
3236                text {
3237                   font: "Sans,Edje-Vera";
3238                   size: 10;
3239                   min: 0 0;
3240                   align: 0.0 0.5;
3241                }
3242             }
3243             description { state: "visible" 0.0;
3244                inherit: "default" 0.0;
3245                visible: 1;
3246                text.min: 1 1;
3247             }
3248             description { state: "disabled" 0.0;
3249                inherit: "default" 0.0;
3250                color: 128 128 128 128;
3251             }
3252             description { state: "disabled_visible" 0.0;
3253                inherit: "default" 0.0;
3254                color: 128 128 128 128;
3255                visible: 1;
3256                text.min: 1 1;
3257             }
3258          }
3259           part { name: "disabler";
3260             type: RECT;
3261             description { state: "default" 0.0;
3262                color: 0 0 0 0;
3263                visible: 0;
3264             }
3265             description { state: "disabled" 0.0;
3266                inherit: "default" 0.0;
3267                visible: 1;
3268             }
3269          }
3270       }
3271       programs {
3272          program { name:   "drag_end";
3273             signal: "mouse,up,1";
3274             source: "button";
3275             script {
3276                new Float:dx, Float:dy;
3277                get_drag(PART:"button", dx, dy);
3278                if (dx > 0.5)
3279                  {
3280                     set_drag(PART:"button", 1.0, 0.0);
3281                  }
3282                else
3283                  {
3284                     set_drag(PART:"button", 0.0, 0.0);
3285                  }
3286                if (((get_int(is_rtl) == 1) && (dx <= 0.5)) ||
3287                    (get_int(is_rtl) == 0) && (dx > 0.5)) {
3288                   emit("elm,action,toggle,on", "");
3289                }
3290                else {
3291                   emit("elm,action,toggle,off", "");
3292                }
3293
3294             }
3295          }
3296          program { name: "toggle_on";
3297             signal: "elm,state,toggle,on";
3298             source: "elm";
3299             script {
3300                new Float:drag;
3301                if (get_int(is_rtl) == 0) {
3302                   drag = 100.0;
3303                }
3304                else {
3305                   drag = 0.0;
3306                }
3307                set_drag(PART:"button", drag, 0.0);
3308             }
3309          }
3310          program { name: "toggle_off";
3311             signal: "elm,state,toggle,off";
3312             source: "elm";
3313             script {
3314                new Float:drag;
3315                if (get_int(is_rtl) == 0) {
3316                   drag = 0.0;
3317                }
3318                else {
3319                   drag = 100.0;
3320                }
3321                set_drag(PART:"button", drag, 0.0);
3322             }
3323          }
3324          program { name: "text_show";
3325             signal: "elm,state,text,visible";
3326             source: "elm";
3327             action:  STATE_SET "visible" 0.0;
3328             target: "elm.text";
3329          }
3330          program { name: "text_hide";
3331             signal: "elm,state,text,hidden";
3332             source: "elm";
3333             action:  STATE_SET "default" 0.0;
3334             target: "elm.text";
3335          }
3336          program { name: "icon_show";
3337             signal: "elm,state,icon,visible";
3338             source: "elm";
3339             action:  STATE_SET "visible" 0.0;
3340             target: "elm.swallow.content";
3341          }
3342          program { name: "icon_hide";
3343             signal: "elm,state,icon,hidden";
3344             source: "elm";
3345             action:  STATE_SET "default" 0.0;
3346             target: "elm.swallow.content";
3347          }
3348          program { name: "disable";
3349             signal: "elm,state,disabled";
3350             source: "elm";
3351             action: STATE_SET "disabled" 0.0;
3352             target: "elm.offtext";
3353             target: "elm.ontext";
3354             target: "onrect";
3355             target: "offrect";
3356             target: "disabler";
3357             after: "disable_text";
3358          }
3359          program { name: "disable_text";
3360             script {
3361                new st[31];
3362                new Float:vl;
3363                get_state(PART:"elm.text", st, 30, vl);
3364                if (!strcmp(st, "visible"))
3365                  set_state(PART:"elm.text", "disabled_visible", 0.0);
3366                else
3367                  set_state(PART:"elm.text", "disabled", 0.0);
3368
3369                get_state(PART:"elm.swallow.content", st, 30, vl);
3370                if (!strcmp(st, "visible"))
3371                  set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
3372                else
3373                  set_state(PART:"elm.swallow.content", "disabled", 0.0);
3374             }
3375          }
3376          program { name: "enable";
3377             signal: "elm,state,enabled";
3378             source: "elm";
3379             action: STATE_SET "default" 0.0;
3380             target: "disabler";
3381             target: "onrect";
3382             target: "offrect";
3383             after: "enable_text";
3384          }
3385          program { name: "enable_text";
3386             script {
3387                new st[31];
3388                new Float:vl;
3389                get_state(PART:"elm.text", st, 30, vl);
3390                if (!strcmp(st, "disabled_visible"))
3391                  set_state(PART:"elm.text", "visible", 0.0);
3392                else
3393                  set_state(PART:"elm.text", "default", 0.0);
3394
3395                get_state(PART:"elm.swallow.content", st, 30, vl);
3396                if (!strcmp(st, "visible"))
3397                  set_state(PART:"elm.swallow.content", "visible", 0.0);
3398                else
3399                  set_state(PART:"elm.swallow.content", "default", 0.0);
3400             }
3401          }
3402          program { name: "to_rtl";
3403             signal: "edje,state,rtl";
3404             source: "edje";
3405             script {
3406                set_int(is_rtl, 1);
3407             }
3408          }
3409          program { name: "to_ltr";
3410             signal: "edje,state,ltr";
3411             source: "edje";
3412             script {
3413                set_int(is_rtl, 0);
3414             }
3415          }
3416       }
3417    }
3418
3419 ///////////////////////////////////////////////////////////////////////////////
3420    group { name: "elm/clock/flipdigit/default";
3421       images {
3422          image: "flip_base.png" COMP;
3423          image: "flip_base_shad.png" COMP;
3424          image: "flip_shad.png" COMP;
3425          image: "flip_0t.png" COMP;
3426          image: "flip_0b.png" COMP;
3427          image: "flip_1t.png" COMP;
3428          image: "flip_1b.png" COMP;
3429          image: "flip_2t.png" COMP;
3430          image: "flip_2b.png" COMP;
3431          image: "flip_3t.png" COMP;
3432          image: "flip_3b.png" COMP;
3433          image: "flip_4t.png" COMP;
3434          image: "flip_4b.png" COMP;
3435          image: "flip_5t.png" COMP;
3436          image: "flip_5b.png" COMP;
3437          image: "flip_6t.png" COMP;
3438          image: "flip_6b.png" COMP;
3439          image: "flip_7t.png" COMP;
3440          image: "flip_7b.png" COMP;
3441          image: "flip_8t.png" COMP;
3442          image: "flip_8b.png" COMP;
3443          image: "flip_9t.png" COMP;
3444          image: "flip_9b.png" COMP;
3445          image: "arrow_up.png" COMP;
3446          image: "arrow_down.png" COMP;
3447       }
3448       script {
3449          public v0_cur, v0_pre, v0_lock, v0_next;
3450
3451        public animator2(val, Float:pos) {
3452           new st1[11], st2[11], v;
3453
3454           v = get_int(v0_cur);
3455           snprintf(st1, 10, "%ih", v);
3456           snprintf(st2, 10, "%i", v);
3457           set_tween_state(PART:"bot", pos, st1, 0.0, st2, 0.0);
3458           set_tween_state(PART:"sh", pos, "half", 0.0, "full", 0.0);
3459           if (pos >= 1.0) {
3460              set_state(PART:"sh", "default", 0.0);
3461              set_int(v0_lock, 0);
3462              v = get_int(v0_next);
3463              if (v >= 0) {
3464                 set_int(v0_next, -1);
3465                 message(MSG_INT, 1, v);
3466              }
3467           }
3468        }
3469        public animator1(val, Float:pos) {
3470           new st1[11], st2[11], v;
3471
3472           v = get_int(v0_pre);
3473           snprintf(st1, 10, "%i", v);
3474           snprintf(st2, 10, "%ih", v);
3475           set_tween_state(PART:"top", pos, st1, 0.0, st2, 0.0);
3476           set_tween_state(PART:"sh", pos, "default", 0.0, "half", 0.0);
3477           if (pos >= 1.0) anim(0.2, "animator2", val);
3478        }
3479        public message(Msg_Type:type, id, ...) {
3480           if ((type == MSG_INT) && (id == 1)) {
3481              new value, v, buf[11];
3482
3483              value = getarg(2);
3484              if (get_int(v0_lock) == 1) {
3485                 set_int(v0_next, value);
3486                 return;
3487              }
3488              v = get_int(v0_cur);
3489              set_int(v0_pre, v);
3490              set_int(v0_cur, value);
3491              set_int(v0_lock, 1);
3492              snprintf(buf, 10, "%i", get_int(v0_pre));
3493              set_state(PART:"bot0", buf, 0.0);
3494              snprintf(buf, 10, "%ih", get_int(v0_cur));
3495              set_state(PART:"bot", buf, 0.0);
3496              snprintf(buf, 10, "%i", get_int(v0_cur));
3497              set_state(PART:"top0", buf, 0.0);
3498              snprintf(buf, 10, "%i", get_int(v0_pre));
3499              set_state(PART:"top", buf, 0.0);
3500              set_state(PART:"sh", "default", 0.0);
3501              anim(0.2, "animator1", 1);
3502           }
3503        }
3504       }
3505       parts {
3506          part { name: "shad";
3507             mouse_events: 0;
3508             description { state: "default" 0.0;
3509                rel1.offset: -4 -4;
3510                rel1.to: "base";
3511                rel2.offset: 3 3;
3512                rel2.to: "base";
3513                image {
3514                   normal: "flip_base_shad.png";
3515                   border: 8 8 8 8;
3516                }
3517             }
3518          }
3519          part { name: "base";
3520             scale: 1;
3521             description { state: "default" 0.0;
3522                rel1.offset: 4 4;
3523                rel2.offset: -5 -5;
3524                // FIXME 48x96 should be the native pixel design, right now
3525                // its 80x160. fix int he artwork later
3526                min: 24 48;
3527                aspect: 0.5 0.5;
3528 //               max: 24 48;
3529                image.normal: "flip_base.png";
3530             }
3531          }
3532          part { name: "b";
3533             type: RECT;
3534             mouse_events: 1;
3535             description { state: "default" 0.0;
3536                visible: 0;
3537                rel1.to: "base";
3538                rel1.relative: 0.0 0.5;
3539                rel2.to: "base";
3540                color: 0 0 0 0;
3541             }
3542             description { state: "visible" 0.0;
3543                inherit: "default" 0.0;
3544                visible: 1;
3545             }
3546          }
3547          part { name: "t";
3548             type: RECT;
3549             mouse_events: 1;
3550             description { state: "default" 0.0;
3551                visible: 0;
3552                rel1.to: "base";
3553                rel2.to: "base";
3554                rel2.relative: 1.0 0.5;
3555                color: 0 0 0 0;
3556             }
3557             description { state: "visible" 0.0;
3558                inherit: "default" 0.0;
3559                visible: 1;
3560             }
3561          }
3562          part { name: "bot0";
3563             mouse_events: 0;
3564             description { state: "default" 0.0;
3565                rel1.to: "b";
3566                rel2.to: "b";
3567                image.normal: "flip_0b.png";
3568             }
3569             description { state: "0" 0.0;
3570                inherit: "default" 0.0;
3571                image.normal: "flip_0b.png";
3572             }
3573             description { state: "1" 0.0;
3574                inherit: "default" 0.0;
3575                image.normal: "flip_1b.png";
3576             }
3577             description { state: "2" 0.0;
3578                inherit: "default" 0.0;
3579                image.normal: "flip_2b.png";
3580             }
3581             description { state: "3" 0.0;
3582                inherit: "default" 0.0;
3583                image.normal: "flip_3b.png";
3584             }
3585             description { state: "4" 0.0;
3586                inherit: "default" 0.0;
3587                image.normal: "flip_4b.png";
3588             }
3589             description { state: "5" 0.0;
3590                inherit: "default" 0.0;
3591                image.normal: "flip_5b.png";
3592             }
3593             description { state: "6" 0.0;
3594                inherit: "default" 0.0;
3595                image.normal: "flip_6b.png";
3596             }
3597             description { state: "7" 0.0;
3598                inherit: "default" 0.0;
3599                image.normal: "flip_7b.png";
3600             }
3601             description { state: "8" 0.0;
3602                inherit: "default" 0.0;
3603                image.normal: "flip_8b.png";
3604             }
3605             description { state: "9" 0.0;
3606                inherit: "default" 0.0;
3607                image.normal: "flip_9b.png";
3608             }
3609          }
3610          part { name: "sh";
3611             mouse_events: 0;
3612             description { state: "default" 0.0;
3613                rel1.to: "b";
3614                rel2.to: "b";
3615                rel2.relative: 1.0 0.0;
3616                image.normal: "flip_shad.png";
3617             }
3618             description { state: "half" 0.0;
3619                inherit: "default" 0.0;
3620                rel2.relative: 1.0 0.5;
3621             }
3622             description { state: "full" 0.0;
3623                inherit: "default" 0.0;
3624                rel2.relative: 1.0 1.0;
3625             }
3626          }
3627          part { name: "bot";
3628             mouse_events: 0;
3629             description { state: "default" 0.0;
3630                visible: 1;
3631                rel1.to: "b";
3632                rel2.to: "b";
3633                image.normal: "flip_0b.png";
3634             }
3635             description { state: "0" 0.0;
3636                inherit: "default" 0.0;
3637                visible: 1;
3638                rel2.relative: 1.0 1.0;
3639                image.normal: "flip_0b.png";
3640             }
3641             description { state: "0h" 0.0;
3642                inherit: "default" 0.0;
3643                visible: 0;
3644                rel2.relative: 1.0 0.0;
3645                image.normal: "flip_0b.png";
3646             }
3647             description { state: "1" 0.0;
3648                inherit: "default" 0.0;
3649                visible: 1;
3650                rel2.relative: 1.0 1.0;
3651                image.normal: "flip_1b.png";
3652             }
3653             description { state: "1h" 0.0;
3654                inherit: "default" 0.0;
3655                visible: 0;
3656                rel2.relative: 1.0 0.0;
3657                image.normal: "flip_1b.png";
3658             }
3659             description { state: "2" 0.0;
3660                inherit: "default" 0.0;
3661                visible: 1;
3662                rel2.relative: 1.0 1.0;
3663                image.normal: "flip_2b.png";
3664             }
3665             description { state: "2h" 0.0;
3666                inherit: "default" 0.0;
3667                visible: 0;
3668                rel2.relative: 1.0 0.0;
3669                image.normal: "flip_2b.png";
3670             }
3671             description { state: "3" 0.0;
3672                inherit: "default" 0.0;
3673                visible: 1;
3674                rel2.relative: 1.0 1.0;
3675                image.normal: "flip_3b.png";
3676             }
3677             description { state: "3h" 0.0;
3678                inherit: "default" 0.0;
3679                visible: 0;
3680                rel2.relative: 1.0 0.0;
3681                image.normal: "flip_3b.png";
3682             }
3683             description { state: "4" 0.0;
3684                inherit: "default" 0.0;
3685                visible: 1;
3686                rel2.relative: 1.0 1.0;
3687                image.normal: "flip_4b.png";
3688             }
3689             description { state: "4h" 0.0;
3690                inherit: "default" 0.0;
3691                visible: 0;
3692                rel2.relative: 1.0 0.0;
3693                image.normal: "flip_4b.png";
3694             }
3695             description { state: "5" 0.0;
3696                inherit: "default" 0.0;
3697                visible: 1;
3698                rel2.relative: 1.0 1.0;
3699                image.normal: "flip_5b.png";
3700             }
3701             description { state: "5h" 0.0;
3702                inherit: "default" 0.0;
3703                visible: 0;
3704                rel2.relative: 1.0 0.0;
3705                image.normal: "flip_5b.png";
3706             }
3707             description { state: "6" 0.0;
3708                inherit: "default" 0.0;
3709                visible: 1;
3710                rel2.relative: 1.0 1.0;
3711                image.normal: "flip_6b.png";
3712             }
3713             description { state: "6h" 0.0;
3714                inherit: "default" 0.0;
3715                visible: 0;
3716                rel2.relative: 1.0 0.0;
3717                image.normal: "flip_6b.png";
3718             }
3719             description { state: "7" 0.0;
3720                inherit: "default" 0.0;
3721                visible: 1;
3722                rel2.relative: 1.0 1.0;
3723                image.normal: "flip_7b.png";
3724             }
3725             description { state: "7h" 0.0;
3726                inherit: "default" 0.0;
3727                visible: 0;
3728                rel2.relative: 1.0 0.0;
3729                image.normal: "flip_7b.png";
3730             }
3731             description { state: "8" 0.0;
3732                inherit: "default" 0.0;
3733                visible: 1;
3734                rel2.relative: 1.0 1.0;
3735                image.normal: "flip_8b.png";
3736             }
3737             description { state: "8h" 0.0;
3738                inherit: "default" 0.0;
3739                visible: 0;
3740                rel2.relative: 1.0 0.0;
3741                image.normal: "flip_8b.png";
3742             }
3743             description { state: "9" 0.0;
3744                inherit: "default" 0.0;
3745                visible: 1;
3746                rel2.relative: 1.0 1.0;
3747                image.normal: "flip_9b.png";
3748             }
3749             description { state: "9h" 0.0;
3750                inherit: "default" 0.0;
3751                visible: 0;
3752                rel2.relative: 1.0 0.0;
3753                image.normal: "flip_9b.png";
3754             }
3755          }
3756          part { name: "top0";
3757             mouse_events: 0;
3758             description { state: "default" 0.0;
3759                rel1.to: "t";
3760                rel2.to: "t";
3761                image.normal: "flip_0t.png";
3762             }
3763             description { state: "0" 0.0;
3764                inherit: "default" 0.0;
3765                image.normal: "flip_0t.png";
3766             }
3767             description { state: "1" 0.0;
3768                inherit: "default" 0.0;
3769                image.normal: "flip_1t.png";
3770             }
3771             description { state: "2" 0.0;
3772                inherit: "default" 0.0;
3773                image.normal: "flip_2t.png";
3774             }
3775             description { state: "3" 0.0;
3776                inherit: "default" 0.0;
3777                image.normal: "flip_3t.png";
3778             }
3779             description { state: "4" 0.0;
3780                inherit: "default" 0.0;
3781                image.normal: "flip_4t.png";
3782             }
3783             description { state: "5" 0.0;
3784                inherit: "default" 0.0;
3785                image.normal: "flip_5t.png";
3786             }
3787             description { state: "6" 0.0;
3788                inherit: "default" 0.0;
3789                image.normal: "flip_6t.png";
3790             }
3791             description { state: "7" 0.0;
3792                inherit: "default" 0.0;
3793                image.normal: "flip_7t.png";
3794             }
3795             description { state: "8" 0.0;
3796                inherit: "default" 0.0;
3797                image.normal: "flip_8t.png";
3798             }
3799             description { state: "9" 0.0;
3800                inherit: "default" 0.0;
3801                image.normal: "flip_9t.png";
3802             }
3803          }
3804          part { name: "top";
3805             mouse_events: 0;
3806             description { state: "default" 0.0;
3807                visible: 1;
3808                rel1.to: "t";
3809                rel2.to: "t";
3810                image.normal: "flip_0t.png";
3811             }
3812             description { state: "0" 0.0;
3813                inherit: "default" 0.0;
3814                visible: 1;
3815                rel1.relative: 0.0 0.0;
3816                image.normal: "flip_0t.png";
3817             }
3818             description { state: "0h" 0.0;
3819                inherit: "default" 0.0;
3820                color: 128 128 128 255;
3821                visible: 0;
3822                rel1.relative: 0.0 1.0;
3823                image.normal: "flip_0t.png";
3824             }
3825             description { state: "1" 0.0;
3826                inherit: "default" 0.0;
3827                visible: 1;
3828                rel1.relative: 0.0 0.0;
3829                image.normal: "flip_1t.png";
3830             }
3831             description { state: "1h" 0.0;
3832                inherit: "default" 0.0;
3833                color: 128 128 128 255;
3834                visible: 0;
3835                rel1.relative: 0.0 1.0;
3836                image.normal: "flip_1t.png";
3837             }
3838             description { state: "2" 0.0;
3839                inherit: "default" 0.0;
3840                visible: 1;
3841                rel1.relative: 0.0 0.0;
3842                image.normal: "flip_2t.png";
3843             }
3844             description { state: "2h" 0.0;
3845                inherit: "default" 0.0;
3846                color: 128 128 128 255;
3847                visible: 0;
3848                rel1.relative: 0.0 1.0;
3849                image.normal: "flip_2t.png";
3850             }
3851             description { state: "3" 0.0;
3852                inherit: "default" 0.0;
3853                visible: 1;
3854                rel1.relative: 0.0 0.0;
3855                image.normal: "flip_3t.png";
3856             }
3857             description { state: "3h" 0.0;
3858                inherit: "default" 0.0;
3859                color: 128 128 128 255;
3860                visible: 0;
3861                rel1.relative: 0.0 1.0;
3862                image.normal: "flip_3t.png";
3863             }
3864             description { state: "4" 0.0;
3865                inherit: "default" 0.0;
3866                visible: 1;
3867                rel1.relative: 0.0 0.0;
3868                image.normal: "flip_4t.png";
3869             }
3870             description { state: "4h" 0.0;
3871                inherit: "default" 0.0;
3872                color: 128 128 128 255;
3873                visible: 0;
3874                rel1.relative: 0.0 1.0;
3875                image.normal: "flip_4t.png";
3876             }
3877             description { state: "5" 0.0;
3878                inherit: "default" 0.0;
3879                visible: 1;
3880                rel1.relative: 0.0 0.0;
3881                image.normal: "flip_5t.png";
3882             }
3883             description { state: "5h" 0.0;
3884                inherit: "default" 0.0;
3885                color: 128 128 128 255;
3886                visible: 0;
3887                rel1.relative: 0.0 1.0;
3888                image.normal: "flip_5t.png";
3889             }
3890             description { state: "6" 0.0;
3891                inherit: "default" 0.0;
3892                visible: 1;
3893                rel1.relative: 0.0 0.0;
3894                image.normal: "flip_6t.png";
3895             }
3896             description { state: "6h" 0.0;
3897                inherit: "default" 0.0;
3898                color: 128 128 128 255;
3899                visible: 0;
3900                rel1.relative: 0.0 1.0;
3901                image.normal: "flip_6t.png";
3902             }
3903             description { state: "7" 0.0;
3904                inherit: "default" 0.0;
3905                visible: 1;
3906                rel1.relative: 0.0 0.0;
3907                image.normal: "flip_7t.png";
3908             }
3909             description { state: "7h" 0.0;
3910                inherit: "default" 0.0;
3911                color: 128 128 128 255;
3912                visible: 0;
3913                rel1.relative: 0.0 1.0;
3914                image.normal: "flip_7t.png";
3915             }
3916             description { state: "8" 0.0;
3917                inherit: "default" 0.0;
3918                visible: 1;
3919                rel1.relative: 0.0 0.0;
3920                image.normal: "flip_8t.png";
3921             }
3922             description { state: "8h" 0.0;
3923                inherit: "default" 0.0;
3924                color: 128 128 128 255;
3925                visible: 0;
3926                rel1.relative: 0.0 1.0;
3927                image.normal: "flip_8t.png";
3928             }
3929             description { state: "9" 0.0;
3930                inherit: "default" 0.0;
3931                visible: 1;
3932                rel1.relative: 0.0 0.0;
3933                image.normal: "flip_9t.png";
3934             }
3935             description { state: "9h" 0.0;
3936                inherit: "default" 0.0;
3937                color: 128 128 128 255;
3938                visible: 0;
3939                rel1.relative: 0.0 1.0;
3940                image.normal: "flip_9t.png";
3941             }
3942          }
3943          part { name: "atop";
3944             mouse_events: 0;
3945             scale: 1;
3946             description { state: "default" 0.0;
3947                visible: 0;
3948                min: 15 15;
3949                max: 15 15;
3950                align: 0.5 0.0;
3951                rel1.to: "t";
3952                rel2.to: "t";
3953                image.normal: "arrow_up.png";
3954             }
3955             description { state: "visible" 0.0;
3956                inherit: "default" 0.0;
3957                visible: 1;
3958             }
3959          }
3960          part { name: "abot";
3961             mouse_events: 0;
3962             scale: 1;
3963             description { state: "default" 0.0;
3964                visible: 0;
3965                min: 15 15;
3966                max: 15 15;
3967                align: 0.5 1.0;
3968                rel1.to: "b";
3969                rel2.to: "b";
3970                image.normal: "arrow_down.png";
3971             }
3972             description { state: "visible" 0.0;
3973                inherit: "default" 0.0;
3974                visible: 1;
3975             }
3976          }
3977       }
3978       programs {
3979          program { name: "load";
3980             signal: "load";
3981             source: "";
3982             script {
3983                set_int(v0_cur, 0);
3984                set_int(v0_pre, 0);
3985                set_int(v0_lock, 0);
3986                set_int(v0_next, -1);
3987             }
3988          }
3989          program { name: "edit_on";
3990             signal: "elm,state,edit,on";
3991             source: "elm";
3992             action: STATE_SET "visible" 0.0;
3993             target: "atop";
3994             target: "abot";
3995             target: "t";
3996             target: "b";
3997          }
3998          program { name: "edit_off";
3999             signal: "elm,state,edit,off";
4000             source: "elm";
4001             action: STATE_SET "default" 0.0;
4002             target: "atop";
4003             target: "abot";
4004             target: "t";
4005             target: "b";
4006          }
4007          program { name: "up";
4008             signal: "mouse,down,1";
4009             source: "t";
4010             action: SIGNAL_EMIT "elm,action,up,start" "";
4011          }
4012          program { name: "up,stop";
4013             signal: "mouse,up,1";
4014             source: "t";
4015             action: SIGNAL_EMIT "elm,action,up,stop" "";
4016          }
4017          program { name: "down";
4018             signal: "mouse,down,1";
4019             source: "b";
4020             action: SIGNAL_EMIT "elm,action,down,start" "";
4021          }
4022          program { name: "down,stop";
4023             signal: "mouse,up,1";
4024             source: "b";
4025             action: SIGNAL_EMIT "elm,action,down,stop" "";
4026          }
4027       }
4028    }
4029
4030 ///////////////////////////////////////////////////////////////////////////////
4031    group { name: "elm/clock/flipampm/default";
4032       images {
4033          image: "flip_base.png" COMP;
4034          image: "flip_base_shad.png" COMP;
4035          image: "flip_shad.png" COMP;
4036          image: "flip_amt.png" COMP;
4037          image: "flip_amb.png" COMP;
4038          image: "flip_pmt.png" COMP;
4039          image: "flip_pmb.png" COMP;
4040          image: "arrow_up.png" COMP;
4041          image: "arrow_down.png" COMP;
4042       }
4043       script {
4044          public v0_cur, v0_pre, v0_lock, v0_next;
4045
4046        public animator2(val, Float:pos) {
4047           new st1[11], st2[11], v;
4048
4049           v = get_int(v0_cur);
4050           snprintf(st1, 10, "%ih", v);
4051           snprintf(st2, 10, "%i", v);
4052           set_tween_state(PART:"bot", pos, st1, 0.0, st2, 0.0);
4053           set_tween_state(PART:"sh", pos, "half", 0.0, "full", 0.0);
4054           if (pos >= 1.0) {
4055              set_state(PART:"sh", "default", 0.0);
4056              set_int(v0_lock, 0);
4057              v = get_int(v0_next);
4058              if (v >= 0) {
4059                 set_int(v0_next, -1);
4060                 message(MSG_INT, 1, v);
4061              }
4062           }
4063        }
4064        public animator1(val, Float:pos) {
4065           new st1[11], st2[11], v;
4066
4067           v = get_int(v0_pre);
4068           snprintf(st1, 10, "%i", v);
4069           snprintf(st2, 10, "%ih", v);
4070           set_tween_state(PART:"top", pos, st1, 0.0, st2, 0.0);
4071           set_tween_state(PART:"sh", pos, "default", 0.0, "half", 0.0);
4072           if (pos >= 1.0) anim(0.2, "animator2", val);
4073        }
4074        public message(Msg_Type:type, id, ...) {
4075           if ((type == MSG_INT) && (id == 1)) {
4076              new value, v, buf[11];
4077
4078              value = getarg(2);
4079              if (get_int(v0_lock) == 1) {
4080                 set_int(v0_next, value);
4081                 return;
4082              }
4083              v = get_int(v0_cur);
4084              set_int(v0_pre, v);
4085              set_int(v0_cur, value);
4086              set_int(v0_lock, 1);
4087              snprintf(buf, 10, "%i", get_int(v0_pre));
4088              set_state(PART:"bot0", buf, 0.0);
4089              snprintf(buf, 10, "%ih", get_int(v0_cur));
4090              set_state(PART:"bot", buf, 0.0);
4091              snprintf(buf, 10, "%i", get_int(v0_cur));
4092              set_state(PART:"top0", buf, 0.0);
4093              snprintf(buf, 10, "%i", get_int(v0_pre));
4094              set_state(PART:"top", buf, 0.0);
4095              set_state(PART:"sh", "default", 0.0);
4096              anim(0.2, "animator1", 1);
4097           }
4098        }
4099       }
4100       parts {
4101          part { name: "shad";
4102             mouse_events: 0;
4103             description { state: "default" 0.0;
4104                rel1.offset: -4 -4;
4105                rel1.to: "base";
4106                rel2.offset: 3 3;
4107                rel2.to: "base";
4108                image {
4109                   normal: "flip_base_shad.png";
4110                   border: 8 8 8 8;
4111                }
4112             }
4113          }
4114          part { name: "base";
4115             mouse_events: 0;
4116             scale: 1;
4117             description { state: "default" 0.0;
4118                rel1.offset: 4 4;
4119                rel2.offset: -5 -5;
4120                // FIXME 48x96 should be the native pixel design, right now
4121                // its 80x160. fix int he artwork later
4122                aspect: 0.5 0.5;
4123                min: 24 48;
4124 //               max: 24 48;
4125                image.normal: "flip_base.png";
4126             }
4127          }
4128          part { name: "b";
4129             type: RECT;
4130             mouse_events: 1;
4131             description { state: "default" 0.0;
4132                rel1.to: "base";
4133                rel1.relative: 0.0 0.5;
4134                rel2.to: "base";
4135                color: 0 0 0 0;
4136             }
4137          }
4138          part { name: "t";
4139             type: RECT;
4140             mouse_events: 1;
4141             description { state: "default" 0.0;
4142                rel1.to: "base";
4143                rel2.to: "base";
4144                rel2.relative: 1.0 0.5;
4145                color: 0 0 0 0;
4146             }
4147          }
4148          part { name: "bot0";
4149             mouse_events: 0;
4150             description { state: "default" 0.0;
4151                rel1.to: "b";
4152                rel2.to: "b";
4153                image.normal: "flip_amb.png";
4154             }
4155             description { state: "0" 0.0;
4156                inherit: "default" 0.0;
4157                image.normal: "flip_amb.png";
4158             }
4159             description { state: "1" 0.0;
4160                inherit: "default" 0.0;
4161                image.normal: "flip_pmb.png";
4162             }
4163          }
4164          part { name: "sh";
4165             mouse_events: 0;
4166             description { state: "default" 0.0;
4167                rel1.to: "b";
4168                rel2.to: "b";
4169                rel2.relative: 1.0 0.0;
4170                image.normal: "flip_shad.png";
4171             }
4172             description { state: "half" 0.0;
4173                inherit: "default" 0.0;
4174                rel2.relative: 1.0 0.5;
4175             }
4176             description { state: "full" 0.0;
4177                inherit: "default" 0.0;
4178                rel2.relative: 1.0 1.0;
4179             }
4180          }
4181          part { name: "bot";
4182             mouse_events: 0;
4183             description { state: "default" 0.0;
4184                visible: 1;
4185                rel1.to: "b";
4186                rel2.to: "b";
4187                image.normal: "flip_amb.png";
4188             }
4189             description { state: "0" 0.0;
4190                inherit: "default" 0.0;
4191                visible: 1;
4192                rel2.relative: 1.0 1.0;
4193                image.normal: "flip_amb.png";
4194             }
4195             description { state: "0h" 0.0;
4196                inherit: "default" 0.0;
4197                visible: 0;
4198                rel2.relative: 1.0 0.0;
4199                image.normal: "flip_amb.png";
4200             }
4201             description { state: "1" 0.0;
4202                inherit: "default" 0.0;
4203                visible: 1;
4204                rel2.relative: 1.0 1.0;
4205                image.normal: "flip_pmb.png";
4206             }
4207             description { state: "1h" 0.0;
4208                inherit: "default" 0.0;
4209                visible: 0;
4210                rel2.relative: 1.0 0.0;
4211                image.normal: "flip_pmb.png";
4212             }
4213          }
4214          part { name: "top0";
4215             mouse_events: 0;
4216             description { state: "default" 0.0;
4217                rel1.to: "t";
4218                rel2.to: "t";
4219                image.normal: "flip_amt.png";
4220             }
4221             description { state: "0" 0.0;
4222                inherit: "default" 0.0;
4223                image.normal: "flip_amt.png";
4224             }
4225             description { state: "1" 0.0;
4226                inherit: "default" 0.0;
4227                image.normal: "flip_pmt.png";
4228             }
4229          }
4230          part { name: "top";
4231             mouse_events: 0;
4232             description { state: "default" 0.0;
4233                visible: 1;
4234                rel1.to: "t";
4235                rel2.to: "t";
4236                image.normal: "flip_amt.png";
4237             }
4238             description { state: "0" 0.0;
4239                inherit: "default" 0.0;
4240                visible: 1;
4241                rel1.relative: 0.0 0.0;
4242                image.normal: "flip_amt.png";
4243             }
4244             description { state: "0h" 0.0;
4245                inherit: "default" 0.0;
4246                color: 128 128 128 255;
4247                visible: 0;
4248                rel1.relative: 0.0 1.0;
4249                image.normal: "flip_amt.png";
4250             }
4251             description { state: "1" 0.0;
4252                inherit: "default" 0.0;
4253                visible: 1;
4254                rel1.relative: 0.0 0.0;
4255                image.normal: "flip_pmt.png";
4256             }
4257             description { state: "1h" 0.0;
4258                inherit: "default" 0.0;
4259                color: 128 128 128 255;
4260                visible: 0;
4261                rel1.relative: 0.0 1.0;
4262                image.normal: "flip_pmt.png";
4263             }
4264          }
4265          part { name: "atop";
4266             mouse_events: 0;
4267             scale: 1;
4268             description { state: "default" 0.0;
4269                visible: 0;
4270                min: 15 15;
4271                max: 15 15;
4272                align: 0.5 0.0;
4273                rel1.to: "t";
4274                rel2.to: "t";
4275                image.normal: "arrow_up.png";
4276             }
4277             description { state: "visible" 0.0;
4278                inherit: "default" 0.0;
4279                visible: 1;
4280             }
4281          }
4282          part { name: "abot";
4283             mouse_events: 0;
4284             scale: 1;
4285             description { state: "default" 0.0;
4286                visible: 0;
4287                min: 15 15;
4288                max: 15 15;
4289                align: 0.5 1.0;
4290                rel1.to: "b";
4291                rel2.to: "b";
4292                image.normal: "arrow_down.png";
4293             }
4294             description { state: "visible" 0.0;
4295                inherit: "default" 0.0;
4296                visible: 1;
4297             }
4298          }
4299       }
4300       programs {
4301          program { name: "load";
4302             signal: "load";
4303             source: "";
4304             script {
4305                set_int(v0_cur, 0);
4306                set_int(v0_pre, 0);
4307                set_int(v0_lock, 0);
4308                set_int(v0_next, -1);
4309             }
4310          }
4311          program { name: "edit_on";
4312             signal: "elm,state,edit,on";
4313             source: "elm";
4314             action: STATE_SET "visible" 0.0;
4315             target: "atop";
4316             target: "abot";
4317          }
4318 /*
4319          program { name: "edit_off";
4320             signal: "elm,state,edit,off";
4321             source: "elm";
4322             action: STATE_SET "default" 0.0;
4323             target: "atop";
4324             target: "abot";
4325          }
4326  */
4327          program { name: "up";
4328             signal: "mouse,down,1";
4329             source: "t";
4330             action: SIGNAL_EMIT "elm,action,up,start" "";
4331          }
4332          program { name: "up,stop";
4333             signal: "mouse,up,1";
4334             source: "t";
4335             action: SIGNAL_EMIT "elm,action,up,stop" "";
4336          }
4337          program { name: "down";
4338             signal: "mouse,down,1";
4339             source: "b";
4340             action: SIGNAL_EMIT "elm,action,down,start" "";
4341          }
4342          program { name: "down,stop";
4343             signal: "mouse,up,1";
4344             source: "b";
4345             action: SIGNAL_EMIT "elm,action,down,stop" "";
4346          }
4347       }
4348    }
4349
4350    ///////////////////////////////////////////////////////////////////////////////
4351    group { name: "elm/menu/item/default";
4352        images {
4353            image: "bt_base1.png" COMP;
4354            image: "bt_base2.png" COMP;
4355            image: "bt_hilight.png" COMP;
4356            image: "bt_shine.png" COMP;
4357            image: "bt_glow.png" COMP;
4358            image: "bt_dis_base.png" COMP;
4359            image: "bt_dis_hilight.png" COMP;
4360        }
4361        script {
4362             public menu_text_visible; //0:hide (default), 1:visible
4363             public menu_disable; //0:enable, 1:disable
4364        }
4365        parts {
4366            part { name: "item_image";
4367                mouse_events: 1;
4368                description { state: "default" 0.0;
4369                    color: 255 255 255 0;
4370                    image {
4371                        normal: "bt_base2.png";
4372                        border: 7 7 7 7;
4373                    }
4374                    image.middle: SOLID;
4375                }
4376                description { state: "visible" 0.0;
4377                    inherit: "default" 0.0;
4378                    color: 255 255 255 255;
4379                }
4380                description { state: "clicked" 0.0;
4381                    inherit: "default" 0.0;
4382                    inherit: "visible" 0.0;
4383                    image.normal: "bt_base1.png";
4384                    image.middle: SOLID;
4385                }
4386                description { state: "disabled" 0.0;
4387                    inherit:  "default" 0.0;
4388                }
4389            }
4390            part { name: "item_image_disabled";
4391                mouse_events: 1;
4392                description { state: "default" 0.0;
4393                    color: 255 255 255 0;
4394                    image {
4395                        normal: "bt_dis_base.png";
4396                        border: 4 4 4 4;
4397                    }
4398                    image.middle: SOLID;
4399                }
4400                description { state: "disabled" 0.0;
4401                    inherit:  "default" 0.0;
4402                    color: 255 255 255 255;
4403                }
4404            }
4405            part { name: "elm.swallow.content";
4406                type: SWALLOW;
4407                description { state: "default" 0.0;
4408                    fixed: 1 0;
4409                    visible: 1;
4410                    align: 0.0 0.5;
4411                    rel1.offset: 4 4;
4412                    rel2.offset: 3 -5;
4413                    rel2.relative: 0.0 1.0;
4414                    aspect: 1.0 1.0;
4415                    aspect_preference: VERTICAL;
4416                    rel2.offset: 4 -5;
4417                }
4418            }
4419            part {
4420                name:          "elm.text";
4421                type:          TEXT;
4422                mouse_events:  0;
4423                scale: 1;
4424                description { state: "default" 0.0;
4425                    visible: 0;
4426                    rel1.to_x: "elm.swallow.content";
4427                    rel1.relative: 1.0 0.0;
4428                    rel1.offset: 5 7;
4429                    rel2.offset: -10 -8;
4430                    color: 0 0 0 255;
4431                    text {
4432                        font:     "Sans,Edje-Vera";
4433                        size:     10;
4434                        min:      1 1;
4435                        align:    0.0 0.5;
4436                        text_class: "menu_item";
4437                    }
4438                }
4439                description { state: "visible" 0.0;
4440                    inherit: "default" 0.0;
4441                    visible: 1;
4442                    text.min: 1 1;
4443                }
4444                description { state: "selected" 0.0;
4445                    inherit: "default" 0.0;
4446                    inherit: "visible" 0.0;
4447                    color: 254 254 254 255;
4448                }
4449                description { state: "disabled" 0.0;
4450                    inherit: "default" 0.0;
4451                    color: 0 0 0 128;
4452                }
4453                description { state: "disabled_visible" 0.0;
4454                    inherit: "default" 0.0;
4455                    inherit: "visible" 0.0;
4456                    color: 0 0 0 128;
4457                }
4458            }
4459            part {          name: "over1";
4460                mouse_events: 0;
4461                description { state: "default" 0.0;
4462                    color: 255 255 255 0;
4463                    rel2.relative: 1.0 0.5;
4464                    image {
4465                        normal: "bt_hilight.png";
4466                        border: 7 7 7 0;
4467                    }
4468                }
4469                description { state: "visible" 0.0;
4470                    inherit:  "default" 0.0;
4471                    color: 255 255 255 255;
4472                }
4473                description { state: "disabled" 0.0;
4474                    inherit:  "default" 0.0;
4475                }
4476            }
4477            part {          name: "over_disabled";
4478                mouse_events: 0;
4479                description { state: "default" 0.0;
4480                    color: 255 255 255 0;
4481                    rel2.relative: 1.0 0.5;
4482                    image {
4483                        normal: "bt_dis_hilight.png";
4484                        border: 4 4 4 0;
4485                    }
4486                }
4487                description { state: "disabled" 0.0;
4488                    inherit:  "default" 0.0;
4489                    color: 255 255 255 255;
4490                }
4491            }
4492            part { name: "over2";
4493                mouse_events: 1;
4494                repeat_events: 1;
4495                ignore_flags: ON_HOLD;
4496                description { state: "default" 0.0;
4497                    image {
4498                        normal: "bt_shine.png";
4499                        border: 7 7 7 7;
4500                    }
4501                }
4502                description { state: "disabled" 0.0;
4503                    inherit:  "default" 0.0;
4504                    visible: 0;
4505                }
4506            }
4507            part { name: "over3";
4508                mouse_events: 1;
4509                repeat_events: 1;
4510                description { state: "default" 0.0;
4511                    color: 255 255 255 0;
4512                    image {
4513                        normal: "bt_glow.png";
4514                        border: 12 12 12 12;
4515                    }
4516                    fill.smooth : 0;
4517                }
4518                description { state: "clicked" 0.0;
4519                    inherit:  "default" 0.0;
4520                    visible: 1;
4521                    color: 255 255 255 255;
4522                }
4523            }
4524            part { name: "disabler";
4525                type: RECT;
4526                description { state: "default" 0.0;
4527                    color: 0 0 0 0;
4528                    visible: 0;
4529                }
4530                description { state: "disabled" 0.0;
4531                    inherit: "default" 0.0;
4532                    visible: 1;
4533                }
4534            }
4535        }
4536        programs {
4537           //
4538            program {
4539                name:   "item_mouse_in";
4540                signal: "mouse,in";
4541                source: "over2";
4542                action: SIGNAL_EMIT "elm,action,activate" "";
4543                after: "item_mouse_in_2";
4544                after: "item_mouse_in_3";
4545            }
4546            program {
4547                name:   "item_mouse_in_2";
4548                transition: DECELERATE 0.5;
4549                script {
4550                    new v, d;
4551                    v = get_int(menu_text_visible);
4552                    d = get_int(menu_disable);
4553
4554                    if (v==1 && d==0)
4555                         run_program(PROGRAM:"selected_text");
4556                }
4557            }
4558            program {
4559                name:   "item_mouse_in_3";
4560                action : STATE_SET "visible" 0.0;
4561                target: "item_image";
4562                target: "over1";
4563                transition: DECELERATE 0.5;
4564            }
4565            program {
4566                name:   "selected_text";
4567                action: STATE_SET "selected" 0.0;
4568                target: "elm.text";
4569                transition: DECELERATE 0.5;
4570            }
4571            //
4572
4573            //
4574            program {
4575                name:   "item_mouse_out";
4576                signal: "mouse,out";
4577                source: "over2";
4578                action: SIGNAL_EMIT "elm,action,inactivate" "";
4579                after: "item_mouse_out_2";
4580                after: "item_mouse_out_3";
4581            }
4582            program {
4583                name:   "item_mouse_out_2";
4584                transition: DECELERATE 0.5;
4585                script {
4586                    new v, d;
4587                    v = get_int(menu_text_visible);
4588                    d = get_int(menu_disable);
4589
4590                    if (v==1 && d==0)
4591                         run_program(PROGRAM:"visible_text");
4592                }
4593            }
4594            program {
4595                name:   "item_mouse_out_3";
4596                action: STATE_SET "default" 0.0;
4597                target: "item_image";
4598                target: "over1";
4599                transition: DECELERATE 0.5;
4600            }
4601            program {
4602                name:   "visible_text";
4603                action: STATE_SET "visible" 0.0;
4604                target: "elm.text";
4605                transition: DECELERATE 0.5;
4606            }
4607            //
4608
4609            program {
4610                name:   "item_unclick";
4611                signal: "mouse,up,1";
4612                source: "over2";
4613                action: STATE_SET "visible" 0.0;
4614                target: "item_image";
4615            }
4616            program {
4617                name:   "item_click2";
4618                signal: "mouse,down,1";
4619                source: "over3";
4620                action: STATE_SET "clicked" 0.0;
4621                target: "over3";
4622            }
4623            program {
4624                name:   "item_unclick2";
4625                signal: "mouse,up,1";
4626                source: "over3";
4627                action: STATE_SET "default" 0.0;
4628                transition: DECELERATE 0.5;
4629                target: "over3";
4630            }
4631            program {
4632                name:   "item_unclick3";
4633                signal: "mouse,up,1";
4634                source: "over2";
4635                action: SIGNAL_EMIT "elm,action,click" "";
4636            }
4637            program { name: "text_show";
4638                signal: "elm,state,text,visible";
4639                source: "elm";
4640                script {
4641                    set_int(menu_text_visible, 1);
4642                    set_state(PART:"elm.text", "visible", 0.0);
4643                }
4644            }
4645            program { name: "text_hide";
4646                signal: "elm,state,text,hidden";
4647                source: "elm";
4648                script {
4649                    set_int(menu_text_visible, 0);
4650                    set_state(PART:"elm.text", "default", 0.0);
4651                }
4652            }
4653            program { name: "disable";
4654                signal: "elm,state,disabled";
4655                source: "elm";
4656                action: STATE_SET "disabled" 0.0;
4657                target: "item_image";
4658                target: "item_image_disabled";
4659                target: "over1";
4660                target: "over2";
4661                target: "over_disabled";
4662                target: "disabler";
4663                after: "disable_text";
4664            }
4665            program { name: "disable_text";
4666                script {
4667                    new v;
4668                    v = get_int(menu_text_visible);
4669                    if (v==1)
4670                     set_state(PART:"elm.text", "disabled_visible", 0.0);
4671                    else if (v==0)
4672                     set_state(PART:"elm.text", "disabled", 0.0);
4673                    set_int(menu_disable, 1);
4674                }
4675            }
4676            program { name: "item_select";
4677                signal: "elm,state,selected";
4678                source: "elm";
4679                after: "item_mouse_in_2";
4680                after: "item_mouse_in_3";
4681            }
4682            program { name: "item_unselect";
4683                signal: "elm,state,unselected";
4684                source: "elm";
4685                after: "item_mouse_out_2";
4686                after: "item_mouse_out_3";
4687            }
4688            program { name: "enable";
4689                signal: "elm,state,enabled";
4690                source: "elm";
4691                action: STATE_SET "default" 0.0;
4692                target: "item_image";
4693                target: "item_image_disabled";
4694                target: "over1";
4695                target: "over2";
4696                target: "over_disabled";
4697                target: "disabler";
4698                after: "enable_text";
4699            }
4700            program { name: "enable_text";
4701                script {
4702                    new v;
4703                    v = get_int(menu_text_visible);
4704                    if (v==1)
4705                     set_state(PART:"elm.text", "visible", 0.0);
4706                    else  if (v==0)
4707                     set_state(PART:"elm.text", "default", 0.0);
4708                    set_int(menu_disable, 0);
4709                }
4710            }
4711        }
4712    }
4713
4714    group { name: "elm/menu/item_with_submenu/default";
4715        images {
4716            image: "bt_base1.png" COMP;
4717            image: "bt_base2.png" COMP;
4718            image: "bt_hilight.png" COMP;
4719            image: "bt_shine.png" COMP;
4720            image: "bt_glow.png" COMP;
4721            image: "bt_dis_base.png" COMP;
4722            image: "bt_dis_hilight.png" COMP;
4723            image: "arrow_right.png" COMP;
4724            image: "arrow_left.png" COMP;
4725        }
4726        script {
4727             public menu_text_visible; //0:hide (default), 1:visible
4728             public menu_disable; //0:enable, 1:disable
4729        }
4730        parts {
4731            part { name: "item_image";
4732                mouse_events: 1;
4733                description { state: "default" 0.0;
4734                    color: 255 255 255 0;
4735                    image {
4736                        normal: "bt_base2.png";
4737                        border: 7 7 7 7;
4738                    }
4739                    image.middle: SOLID;
4740                }
4741                description { state: "visible" 0.0;
4742                    inherit: "default" 0.0;
4743                    color: 255 255 255 255;
4744                }
4745                description { state: "clicked" 0.0;
4746                    inherit: "default" 0.0;
4747                    inherit: "visible" 0.0;
4748                    image.normal: "bt_base1.png";
4749                    image.middle: SOLID;
4750                }
4751                description { state: "disabled" 0.0;
4752                    inherit:  "default" 0.0;
4753                }
4754            }
4755            part { name: "item_image_disabled";
4756                mouse_events: 1;
4757                description { state: "default" 0.0;
4758                    color: 255 255 255 0;
4759                    image {
4760                        normal: "bt_dis_base.png";
4761                        border: 4 4 4 4;
4762                    }
4763                    image.middle: SOLID;
4764                }
4765                description { state: "disabled" 0.0;
4766                    inherit:  "default" 0.0;
4767                    color: 255 255 255 255;
4768                }
4769            }
4770            part { name: "arrow";
4771                mouse_events: 1;
4772                description { state: "default" 0.0;
4773                    color: 255 255 255 255;
4774                    align: 1.0 0.5;
4775                    aspect: 1 1;
4776                    aspect_preference: BOTH;
4777                    image {
4778                        normal: "arrow_right.png";
4779                    }
4780                }
4781                description { state: "rtl" 0.0;
4782                   inherit: "default" 0.0;
4783                   image.normal: "arrow_left.png";
4784                }
4785            }
4786            part { name: "elm.swallow.content";
4787                type: SWALLOW;
4788                description { state: "default" 0.0;
4789                    fixed: 1 0;
4790                    visible: 1;
4791                    align: 0.0 0.5;
4792                    rel1.offset: 4 4;
4793                    rel2.offset: 3 -5;
4794                    rel2.relative: 0.0 1.0;
4795                    aspect: 1.0 1.0;
4796                    aspect_preference: VERTICAL;
4797                    rel2.offset: 4 -5;
4798                }
4799            }
4800            part {
4801                name:          "elm.text";
4802                type:          TEXT;
4803                mouse_events:  0;
4804                scale: 1;
4805                description { state: "default" 0.0;
4806                    visible: 0;
4807                    rel1.to_x: "elm.swallow.content";
4808                    rel1.relative: 1.0 0.0;
4809                    rel1.offset: 5 7;
4810                    rel2.offset: -10 -8;
4811                    color: 0 0 0 255;
4812                    text {
4813                        font:     "Sans,Edje-Vera";
4814                        size:     10;
4815                        min:      1 1;
4816                        align:    0.0 0.5;
4817                        text_class: "menu_item";
4818                    }
4819                }
4820                description { state: "visible" 0.0;
4821                    inherit: "default" 0.0;
4822                    visible: 1;
4823                    text.min: 1 1;
4824                }
4825                description { state: "selected" 0.0;
4826                    inherit: "default" 0.0;
4827                    inherit: "visible" 0.0;
4828                    color: 254 254 254 255;
4829                }
4830                description { state: "disabled" 0.0;
4831                    inherit: "default" 0.0;
4832                    color: 0 0 0 128;
4833                }
4834                description { state: "disabled_visible" 0.0;
4835                    inherit: "default" 0.0;
4836                    inherit: "visible" 0.0;
4837                    color: 0 0 0 128;
4838                }
4839            }
4840            part {          name: "over1";
4841                mouse_events: 0;
4842                description { state: "default" 0.0;
4843                    color: 255 255 255 0;
4844                    rel2.relative: 1.0 0.5;
4845                    image {
4846                        normal: "bt_hilight.png";
4847                        border: 7 7 7 0;
4848                    }
4849                }
4850                description { state: "visible" 0.0;
4851                    inherit:  "default" 0.0;
4852                    color: 255 255 255 255;
4853                }
4854                description { state: "disabled" 0.0;
4855                    inherit:  "default" 0.0;
4856                }
4857            }
4858            part { name: "over_disabled";
4859                mouse_events: 0;
4860                description { state: "default" 0.0;
4861                    color: 255 255 255 0;
4862                    rel2.relative: 1.0 0.5;
4863                    image {
4864                        normal: "bt_dis_hilight.png";
4865                        border: 4 4 4 0;
4866                    }
4867                }
4868                description { state: "disabled" 0.0;
4869                    inherit:  "default" 0.0;
4870                    color: 255 255 255 255;
4871                }
4872            }
4873            part { name: "over2";
4874                mouse_events: 1;
4875                repeat_events: 1;
4876                ignore_flags: ON_HOLD;
4877                description { state: "default" 0.0;
4878                    image {
4879                        normal: "bt_shine.png";
4880                        border: 7 7 7 7;
4881                    }
4882                }
4883                description { state: "disabled" 0.0;
4884                    inherit:  "default" 0.0;
4885                    visible: 0;
4886                }
4887            }
4888            part { name: "over3";
4889                mouse_events: 1;
4890                repeat_events: 1;
4891                description { state: "default" 0.0;
4892                    color: 255 255 255 0;
4893                    image {
4894                        normal: "bt_glow.png";
4895                        border: 12 12 12 12;
4896                    }
4897                    fill.smooth : 0;
4898                }
4899                description { state: "clicked" 0.0;
4900                    inherit:  "default" 0.0;
4901                    visible: 1;
4902                    color: 255 255 255 255;
4903                }
4904            }
4905            part { name: "disabler";
4906                type: RECT;
4907                description { state: "default" 0.0;
4908                    color: 0 0 0 0;
4909                    visible: 0;
4910                }
4911                description { state: "disabled" 0.0;
4912                    inherit: "default" 0.0;
4913                    visible: 1;
4914                }
4915            }
4916        }
4917        programs {
4918            //
4919            program {
4920                name:   "item_mouse_in";
4921                signal: "mouse,in";
4922                source: "over2";
4923                action: SIGNAL_EMIT "elm,action,activate" "";
4924                after: "item_mouse_in_2";
4925                after: "item_mouse_in_3";
4926            }
4927            program {
4928                name:   "item_mouse_in_2";
4929                transition: DECELERATE 0.5;
4930                script {
4931                    new v, d;
4932                    v = get_int(menu_text_visible);
4933                    d = get_int(menu_disable);
4934
4935                    if (v==1 && d==0)
4936                         run_program(PROGRAM:"selected_text");
4937                }
4938            }
4939            program {
4940                name:   "item_mouse_in_3";
4941                action : STATE_SET "visible" 0.0;
4942                target: "item_image";
4943                target: "over1";
4944                transition: DECELERATE 0.5;
4945            }
4946            program {
4947                name:   "selected_text";
4948                action: STATE_SET "selected" 0.0;
4949                target: "elm.text";
4950                transition: DECELERATE 0.5;
4951            }
4952            //
4953
4954            //
4955            program {
4956                name:   "item_mouse_out";
4957                signal: "mouse,out";
4958                source: "over2";
4959                after: "item_mouse_out_2";
4960                after: "item_mouse_out_3";
4961            }
4962            program {
4963                name:   "item_mouse_out_2";
4964                transition: DECELERATE 0.5;
4965                script {
4966                    new v, d;
4967                    v = get_int(menu_text_visible);
4968                    d = get_int(menu_disable);
4969
4970                    if (v==1 && d==0)
4971                         run_program(PROGRAM:"visible_text");
4972                }
4973            }
4974            program {
4975                name:   "item_mouse_out_3";
4976                action: STATE_SET "default" 0.0;
4977                target: "item_image";
4978                target: "over1";
4979                transition: DECELERATE 0.5;
4980            }
4981            program {
4982                name:   "visible_text";
4983                action: STATE_SET "visible" 0.0;
4984                target: "elm.text";
4985                transition: DECELERATE 0.5;
4986            }
4987            //
4988
4989            program {
4990                name:   "item_unclick";
4991                signal: "mouse,up,1";
4992                source: "over2";
4993                action: STATE_SET "visible" 0.0;
4994                target: "item_image";
4995            }
4996            program {
4997                name:   "item_click2";
4998                signal: "mouse,down,1";
4999                source: "over3";
5000                action: STATE_SET "clicked" 0.0;
5001                target: "over3";
5002            }
5003            program {
5004                name:   "item_unclick2";
5005                signal: "mouse,up,1";
5006                source: "over3";
5007                action: STATE_SET "default" 0.0;
5008                transition: DECELERATE 0.5;
5009                target: "over3";
5010            }
5011            program {
5012                name:   "item_unclick3";
5013                signal: "mouse,up,1";
5014                source: "over2";
5015                action: SIGNAL_EMIT "elm,action,click" "";
5016            }
5017            program {
5018                name:   "menu_open";
5019                signal: "mouse,in";
5020                source: "over2";
5021                action: SIGNAL_EMIT "elm,action,open" "";
5022            }
5023             program { name: "text_show";
5024                signal: "elm,state,text,visible";
5025                source: "elm";
5026                script {
5027                    set_int(menu_text_visible, 1);
5028                    set_state(PART:"elm.text", "visible", 0.0);
5029                }
5030            }
5031            program { name: "text_hide";
5032                signal: "elm,state,text,hidden";
5033                source: "elm";
5034                script {
5035                    set_int(menu_text_visible, 0);
5036                    set_state(PART:"elm.text", "default", 0.0);
5037                }
5038            }
5039            program { name: "disable";
5040                signal: "elm,state,disabled";
5041                source: "elm";
5042                action: STATE_SET "disabled" 0.0;
5043                target: "item_image";
5044                target: "item_image_disabled";
5045                target: "over1";
5046                target: "over2";
5047                target: "over_disabled";
5048                target: "disabler";
5049                after: "disable_text";
5050            }
5051            program { name: "disable_text";
5052                script {
5053                    new st[31];
5054                    new Float:vl;
5055                    get_state(PART:"elm.text", st, 30, vl);
5056                    if (!strcmp(st, "visible"))
5057                    set_state(PART:"elm.text", "disabled_visible", 0.0);
5058                    else if (!strcmp(st, "default"))
5059                    set_state(PART:"elm.text", "disabled", 0.0);
5060                }
5061            }
5062            program { name: "enable";
5063                signal: "elm,state,enabled";
5064                source: "elm";
5065                action: STATE_SET "default" 0.0;
5066                target: "item_image";
5067                target: "item_image_disabled";
5068                target: "over1";
5069                target: "over2";
5070                target: "over_disabled";
5071                target: "disabler";
5072                after: "enable_text";
5073            }
5074            program { name: "enable_text";
5075                script {
5076                    new v;
5077                    v = get_int(menu_text_visible);
5078                    if (v==1)
5079                     set_state(PART:"elm.text", "visible", 0.0);
5080                    else  if (v==0)
5081                     set_state(PART:"elm.text", "default", 0.0);
5082                    set_int(menu_disable, 0);
5083                }
5084            }
5085            program { name: "to_rtl";
5086                signal: "edje,state,rtl";
5087                source: "edje";
5088                action: STATE_SET "rtl" 0.0;
5089                target: "arrow";
5090            }
5091            program { name: "to_ltr";
5092                signal: "edje,state,ltr";
5093                source: "edje";
5094                action: STATE_SET "default" 0.0;
5095                target: "arrow";
5096            }
5097        }
5098    }
5099
5100    group { name: "elm/menu/separator/default";
5101        images {
5102            image: "separator_h.png" COMP;
5103        }
5104        parts {
5105            part { name: "separator"; // separator group
5106                description { state: "default" 0.0;
5107                    min: 2 2;
5108                    rel1.offset: 4 4;
5109                    rel2.offset: -5 -5;
5110                    image {
5111                        normal: "separator_h.png";
5112                    }
5113                    fill {
5114                        smooth: 0;
5115                    }
5116                }
5117            }
5118        }
5119    }
5120 ///////////////////////////////////////////////////////////////////////////////
5121    group { name: "elm/clock/base-all/default";
5122       parts {
5123          part { name: "d0";
5124             type: SWALLOW;
5125             description { state: "default" 0.0;
5126                rel1.relative: 0.0000000 0.0;
5127                rel2.relative: 0.1250000 1.0;
5128             }
5129          }
5130          part { name: "d1";
5131             type: SWALLOW;
5132             description { state: "default" 0.0;
5133                rel1.relative: 0.1250000 0.0;
5134                rel2.relative: 0.2500000 1.0;
5135             }
5136          }
5137          part { name: "c0";
5138             type: SWALLOW;
5139             type: TEXT;
5140             mouse_events:  0;
5141             scale: 1;
5142             description { state: "default" 0.0;
5143                rel1.relative: 0.2500000 0.0;
5144                rel2.relative: 0.3125000 1.0;
5145                color: 0 0 0 255;
5146                text {
5147                   font:     "Sans,Edje-Vera";
5148                   text:     ":";
5149                   size:     10;
5150                   min:      1 1;
5151                   align:    0.5 0.5;
5152                }
5153             }
5154          }
5155          part { name: "d2";
5156             type: SWALLOW;
5157             description { state: "default" 0.0;
5158                rel1.relative: 0.3125000 0.0;
5159                rel2.relative: 0.4375000 1.0;
5160             }
5161          }
5162          part { name: "d3";
5163             type: SWALLOW;
5164             description { state: "default" 0.0;
5165                rel1.relative: 0.4375000 0.0;
5166                rel2.relative: 0.5625000 1.0;
5167             }
5168          }
5169          // (if seconds)
5170          part { name: "c1";
5171             type: SWALLOW;
5172             type: TEXT;
5173             mouse_events:  0;
5174             scale: 1;
5175             description { state: "default" 0.0;
5176                rel1.relative: 0.5625000 0.0;
5177                rel2.relative: 0.6250000 1.0;
5178                color: 0 0 0 255;
5179                text {
5180                   font:     "Sans,Edje-Vera";
5181                   text:     ":";
5182                   size:     10;
5183                   min:      1 1;
5184                   align:    0.5 0.5;
5185                }
5186             }
5187          }
5188          // (if seconds)
5189          part { name: "d4";
5190             type: SWALLOW;
5191             description { state: "default" 0.0;
5192                rel1.relative: 0.6250000 0.0;
5193                rel2.relative: 0.7500000 1.0;
5194             }
5195          }
5196          // (if seconds)
5197          part { name: "d5";
5198             type: SWALLOW;
5199             description { state: "default" 0.0;
5200                rel1.relative: 0.7500000 0.0;
5201                rel2.relative: 0.8750000 1.0;
5202             }
5203          }
5204          // (if am_pm)
5205          part { name: "ampm";
5206             type: SWALLOW;
5207             description { state: "default" 0.0;
5208                rel1.relative: 0.8750000 0.0;
5209                rel2.relative: 1.0 1.0;
5210             }
5211          }
5212       }
5213    }
5214
5215 ///////////////////////////////////////////////////////////////////////////////
5216    group { name: "elm/clock/base-seconds/default";
5217       parts {
5218          part { name: "d0";
5219             type: SWALLOW;
5220             description { state: "default" 0.0;
5221                rel1.relative: 0.000000000 0.0;
5222                rel2.relative: 0.142857143 1.0;
5223             }
5224          }
5225          part { name: "d1";
5226             type: SWALLOW;
5227             description { state: "default" 0.0;
5228                rel1.relative: 0.142857143 0.0;
5229                rel2.relative: 0.285714286 1.0;
5230             }
5231          }
5232          part { name: "c0";
5233             type: SWALLOW;
5234             type: TEXT;
5235             mouse_events:  0;
5236             scale: 1;
5237             description { state: "default" 0.0;
5238                rel1.relative: 0.285714286 0.0;
5239                rel2.relative: 0.357142857 1.0;
5240                color: 0 0 0 255;
5241                text {
5242                   font:     "Sans,Edje-Vera";
5243                   text:     ":";
5244                   size:     10;
5245                   min:      1 1;
5246                   align:    0.5 0.5;
5247                }
5248             }
5249          }
5250          part { name: "d2";
5251             type: SWALLOW;
5252             description { state: "default" 0.0;
5253                rel1.relative: 0.357142857 0.0;
5254                rel2.relative: 0.500000000 1.0;
5255             }
5256          }
5257          part { name: "d3";
5258             type: SWALLOW;
5259             description { state: "default" 0.0;
5260                rel1.relative: 0.500000000 0.0;
5261                rel2.relative: 0.642857143 1.0;
5262             }
5263          }
5264          // (if seconds)
5265          part { name: "c1";
5266             type: SWALLOW;
5267             type: TEXT;
5268             mouse_events:  0;
5269             scale: 1;
5270             description { state: "default" 0.0;
5271                rel1.relative: 0.642857143 0.0;
5272                rel2.relative: 0.714285714 1.0;
5273                color: 0 0 0 255;
5274                text {
5275                   font:     "Sans,Edje-Vera";
5276                   text:     ":";
5277                   size:     10;
5278                   min:      1 1;
5279                   align:    0.5 0.5;
5280                }
5281             }
5282          }
5283          // (if seconds)
5284          part { name: "d4";
5285             type: SWALLOW;
5286             description { state: "default" 0.0;
5287                rel1.relative: 0.714285714 0.0;
5288                rel2.relative: 0.857142857 1.0;
5289             }
5290          }
5291          // (if seconds)
5292          part { name: "d5";
5293             type: SWALLOW;
5294             description { state: "default" 0.0;
5295                rel1.relative: 0.857142857 0.0;
5296                rel2.relative: 1.000000000 1.0;
5297             }
5298          }
5299       }
5300    }
5301
5302 ///////////////////////////////////////////////////////////////////////////////
5303    group { name: "elm/clock/base-am_pm/default";
5304       parts {
5305          part { name: "d0";
5306             type: SWALLOW;
5307             description { state: "default" 0.0;
5308                rel1.relative: 0.000000000 0.0;
5309                rel2.relative: 0.181818182 1.0;
5310             }
5311          }
5312          part { name: "d1";
5313             type: SWALLOW;
5314             description { state: "default" 0.0;
5315                rel1.relative: 0.181818182 0.0;
5316                rel2.relative: 0.363636364 1.0;
5317             }
5318          }
5319          part { name: "c0";
5320             type: SWALLOW;
5321             type: TEXT;
5322             mouse_events:  0;
5323             scale: 1;
5324             description { state: "default" 0.0;
5325                rel1.relative: 0.363636364 0.0;
5326                rel2.relative: 0.454545455 1.0;
5327                color: 0 0 0 255;
5328                text {
5329                   font:     "Sans,Edje-Vera";
5330                   text:     ":";
5331                   size:     10;
5332                   min:      1 1;
5333                   align:    0.5 0.5;
5334                }
5335             }
5336          }
5337          part { name: "d2";
5338             type: SWALLOW;
5339             description { state: "default" 0.0;
5340                rel1.relative: 0.454545455 0.0;
5341                rel2.relative: 0.636363636 1.0;
5342             }
5343          }
5344          part { name: "d3";
5345             type: SWALLOW;
5346             description { state: "default" 0.0;
5347                rel1.relative: 0.636363636 0.0;
5348                rel2.relative: 0.818181818 1.0;
5349             }
5350          }
5351          // (if am_pm)
5352          part { name: "ampm";
5353             type: SWALLOW;
5354             description { state: "default" 0.0;
5355                rel1.relative: 0.818181818 0.0;
5356                rel2.relative: 1.0 1.0;
5357             }
5358          }
5359       }
5360    }
5361
5362 ///////////////////////////////////////////////////////////////////////////////
5363    group { name: "elm/clock/base/default";
5364       parts {
5365          part { name: "d0";
5366             type: SWALLOW;
5367             description { state: "default" 0.0;
5368                rel1.relative: 0.000000000 0.0;
5369                rel2.relative: 0.222222222 1.0;
5370             }
5371          }
5372          part { name: "d1";
5373             type: SWALLOW;
5374             description { state: "default" 0.0;
5375                rel1.relative: 0.222222222 0.0;
5376                rel2.relative: 0.444444444 1.0;
5377             }
5378          }
5379          part { name: "c0";
5380             type: SWALLOW;
5381             type: TEXT;
5382             mouse_events:  0;
5383             scale: 1;
5384             description { state: "default" 0.0;
5385                rel1.relative: 0.444444444 0.0;
5386                rel2.relative: 0.555555556 1.0;
5387                color: 0 0 0 255;
5388                text {
5389                   font:     "Sans,Edje-Vera";
5390                   text:     ":";
5391                   size:     10;
5392                   min:      1 1;
5393                   align:    0.5 0.5;
5394                }
5395             }
5396          }
5397          part { name: "d2";
5398             type: SWALLOW;
5399             description { state: "default" 0.0;
5400                rel1.relative: 0.555555556 0.0;
5401                rel2.relative: 0.777777778 1.0;
5402             }
5403          }
5404          part { name: "d3";
5405             type: SWALLOW;
5406             description { state: "default" 0.0;
5407                rel1.relative: 0.777777778 0.0;
5408                rel2.relative: 1.000000000 1.0;
5409             }
5410          }
5411       }
5412    }
5413
5414 ///////////////////////////////////////////////////////////////////////////////
5415    group { name: "elm/frame/base/default";
5416        images {
5417            image: "frame_1.png" COMP;
5418            image: "frame_2.png" COMP;
5419            image: "dia_grad.png" COMP;
5420        }
5421        parts {
5422            part { name: "base0";
5423                mouse_events:  0;
5424                description { state: "default" 0.0;
5425                    image.normal: "dia_grad.png";
5426                    rel1.to: "over";
5427                    rel2.to: "over";
5428                    fill {
5429                        smooth: 0;
5430                        size {
5431                            relative: 0.0 1.0;
5432                            offset: 64 0;
5433                        }
5434                    }
5435                }
5436            }
5437            part { name: "base";
5438                mouse_events:  0;
5439                description { state:    "default" 0.0;
5440                    rel2.to: "elm.swallow.content";
5441                    rel2.offset: 9 9;
5442                    image {
5443                        normal: "frame_2.png";
5444                        border: 5 5 32 26;
5445                        middle: 0;
5446                    }
5447                    fill.smooth : 0;
5448                }
5449            }
5450            part { name: "elm.text";
5451                type: TEXT;
5452                mouse_events:   0;
5453                scale: 1;
5454                description { state: "default" 0.0;
5455                    align: 0.0 0.0;
5456                    fixed: 0 1;
5457                    rel1 {
5458                        relative: 0.0 0.0;
5459                        offset: 6 6;
5460                    }
5461                    rel2 {
5462                        relative: 1.0 0.0;
5463                        offset: -7 6;
5464                    }
5465                    color: 0 0 0 64;
5466                    text {
5467                        font: "Sans:style=Bold,Edje-Vera-Bold";
5468                        size: 10;
5469                        min: 1 1;
5470                        max: 1 1;
5471                        align: 0.0 0.0;
5472                    }
5473                }
5474            }
5475            part { name: "over";
5476                mouse_events:  0;
5477                description { state:    "default" 0.0;
5478                    rel1.offset: 4 4;
5479                    rel2.to: "elm.swallow.content";
5480                    rel2.offset: 5 5;
5481                    image {
5482                        normal: "frame_1.png";
5483                        border: 2 2 28 22;
5484                        middle: 0;
5485                    }
5486                    fill.smooth : 0;
5487                }
5488            }
5489            part { name: "elm.swallow.content";
5490                type: SWALLOW;
5491                description { state: "default" 0.0;
5492                    align: 0.0 0.0;
5493                    rel1 {
5494                        to_y: "elm.text";
5495                        relative: 0.0 1.0;
5496                        offset: 8 2;
5497                    }
5498                    rel2.offset: -9 -9;
5499                }
5500            }
5501        }
5502    }
5503
5504    group { name: "elm/frame/base/pad_small";
5505        parts {
5506            part { name: "b0";
5507                mouse_events:  0;
5508                type: RECT;
5509                scale: 1;
5510                description { state: "default" 0.0;
5511                    visible: 0;
5512                    min: 4 4;
5513                    max: 4 4;
5514                    align: 0.0 0.0;
5515                }
5516            }
5517            part { name: "b1";
5518                mouse_events:  0;
5519                type: RECT;
5520                scale: 1;
5521                description { state: "default" 0.0;
5522                    visible: 0;
5523                    min: 4 4;
5524                    max: 4 4;
5525                    align: 1.0 1.0;
5526                }
5527            }
5528            part { name: "elm.swallow.content";
5529                type: SWALLOW;
5530                description { state: "default" 0.0;
5531                    rel1 {
5532                        to: "b0";
5533                        relative: 1.0 1.0;
5534                        offset: 0 0;
5535                    }
5536                    rel2 {
5537                        to: "b1";
5538                        relative: 0.0 0.0;
5539                        offset: -1 -1;
5540                    }
5541                }
5542            }
5543        }
5544    }
5545
5546    group { name: "elm/frame/base/pad_medium";
5547        parts {
5548            part { name: "b0";
5549                mouse_events:  0;
5550                type: RECT;
5551                scale: 1;
5552                description { state: "default" 0.0;
5553                    visible: 0;
5554                    min: 8 8;
5555                    max: 8 8;
5556                    align: 0.0 0.0;
5557                }
5558            }
5559            part { name: "b1";
5560                mouse_events:  0;
5561                type: RECT;
5562                scale: 1;
5563                description { state: "default" 0.0;
5564                    visible: 0;
5565                    min: 8 8;
5566                    max: 8 8;
5567                    align: 1.0 1.0;
5568                }
5569            }
5570            part { name: "elm.swallow.content";
5571                type: SWALLOW;
5572                description { state: "default" 0.0;
5573                    rel1 {
5574                        to: "b0";
5575                        relative: 1.0 1.0;
5576                        offset: 0 0;
5577                    }
5578                    rel2 {
5579                        to: "b1";
5580                        relative: 0.0 0.0;
5581                        offset: -1 -1;
5582                    }
5583                }
5584            }
5585        }
5586    }
5587
5588    group { name: "elm/frame/base/pad_large";
5589        parts {
5590            part { name: "b0";
5591                mouse_events:  0;
5592                type: RECT;
5593                scale: 1;
5594                description { state: "default" 0.0;
5595                    visible: 0;
5596                    min: 16 16;
5597                    max: 16 16;
5598                    align: 0.0 0.0;
5599                }
5600            }
5601            part { name: "b1";
5602                mouse_events:  0;
5603                type: RECT;
5604                scale: 1;
5605                description { state: "default" 0.0;
5606                    visible: 0;
5607                    min: 16 16;
5608                    max: 16 16;
5609                    align: 1.0 1.0;
5610                }
5611            }
5612            part { name: "elm.swallow.content";
5613                type: SWALLOW;
5614                description { state: "default" 0.0;
5615                    rel1 {
5616                        to: "b0";
5617                        relative: 1.0 1.0;
5618                        offset: 0 0;
5619                    }
5620                    rel2 {
5621                        to: "b1";
5622                        relative: 0.0 0.0;
5623                        offset: -1 -1;
5624                    }
5625                }
5626            }
5627        }
5628    }
5629
5630    group { name: "elm/frame/base/pad_huge";
5631        parts {
5632            part { name: "b0";
5633                mouse_events:  0;
5634                type: RECT;
5635                scale: 1;
5636                description { state: "default" 0.0;
5637                    visible: 0;
5638                    min: 32 32;
5639                    max: 32 32;
5640                    align: 0.0 0.0;
5641                }
5642            }
5643            part { name: "b1";
5644                mouse_events:  0;
5645                type: RECT;
5646                scale: 1;
5647                description { state: "default" 0.0;
5648                    visible: 0;
5649                    min: 32 32;
5650                    max: 32 32;
5651                    align: 1.0 1.0;
5652                }
5653            }
5654            part { name: "elm.swallow.content";
5655                type: SWALLOW;
5656                description { state: "default" 0.0;
5657                    rel1 {
5658                        to: "b0";
5659                        relative: 1.0 1.0;
5660                        offset: 0 0;
5661                    }
5662                    rel2 {
5663                        to: "b1";
5664                        relative: 0.0 0.0;
5665                        offset: -1 -1;
5666                    }
5667                }
5668            }
5669        }
5670    }
5671
5672    group { name: "elm/frame/base/outdent_top";
5673        images {
5674            image: "outdent-top.png" COMP;
5675        }
5676        parts {
5677            part { name: "base0";
5678                mouse_events:  0;
5679                description { state: "default" 0.0;
5680                    image.normal: "outdent-top.png";
5681                    image.border: 0 0 0 13;
5682                    fill.smooth: 0;
5683                }
5684            }
5685            part { name: "elm.swallow.content";
5686                type: SWALLOW;
5687                description { state: "default" 0.0;
5688                    rel1.offset: 2 2;
5689                    rel2.offset: -3 -13;
5690                }
5691            }
5692        }
5693    }
5694
5695    group { name: "elm/frame/base/outdent_bottom";
5696        images {
5697            image: "outdent-bottom.png" COMP;
5698        }
5699        parts {
5700            part { name: "base0";
5701                mouse_events:  0;
5702                description { state: "default" 0.0;
5703                    image.normal: "outdent-bottom.png";
5704                    image.border: 0 0 13 0;
5705                    fill.smooth: 0;
5706                }
5707            }
5708            part { name: "elm.swallow.content";
5709                type: SWALLOW;
5710                description { state: "default" 0.0;
5711                    rel1.offset: 2 12;
5712                    rel2.offset: -3 -3;
5713                }
5714            }
5715        }
5716    }
5717
5718 ///////////////////////////////////////////////////////////////////////////////
5719    group { name: "elm/label/base/tooltip";
5720       styles {
5721          style { name: "tooltip_style";
5722             base: "font=Sans font_size=8 color=#666 wrap=word";
5723             tag:  "br" "\n";
5724             tag:  "hilight" "+ font=Sans:style=Bold";
5725             tag:  "b" "+ font=Sans:style=Bold";
5726             tag:  "tab" "\t";
5727          }
5728       }
5729       parts {
5730          part { name: "elm.text";
5731             type: TEXTBLOCK;
5732             mouse_events: 0;
5733             scale: 1;
5734             description { state: "default" 0.0;
5735                text {
5736                   style: "tooltip_style";
5737                   min: 1 1;
5738                }
5739             }
5740          }
5741       }
5742    }
5743
5744    group { name: "elm/tooltip/base/default";
5745        min: 30 30;
5746        data {
5747            item: "pad_x" "20";
5748            item: "pad_y" "20";
5749            item: "pad_border_x" "10";
5750            item: "pad_border_y" "10";
5751            item: "hide_timeout" "0.35"; /**< tooltip is hidden after this amount, keep in sync with hide animations */
5752        }
5753        images {
5754            image: "tooltip-base.png" COMP;
5755            image: "tooltip-corner-top-left-tip.png" COMP;
5756            image: "tooltip-corner-top-right-tip.png" COMP;
5757            image: "tooltip-corner-bottom-left-tip.png" COMP;
5758            image: "tooltip-corner-bottom-right-tip.png" COMP;
5759            image: "tooltip-edge-left-tip.png" COMP;
5760            image: "tooltip-edge-right-tip.png" COMP;
5761            image: "tooltip-edge-bottom-tip.png" COMP;
5762            image: "tooltip-edge-top-tip.png" COMP;
5763        }
5764        script {
5765           hide_corners() {
5766              set_state(PART:"corner-top-left", "default", 0.0);
5767              set_state(PART:"corner-top-right", "default", 0.0);
5768              set_state(PART:"corner-bottom-left", "default", 0.0);
5769              set_state(PART:"corner-bottom-right", "default", 0.0);
5770           }
5771           hide_edges() {
5772              set_state(PART:"clipper-edge-left", "default", 0.0);
5773              set_state(PART:"clipper-edge-right", "default", 0.0);
5774              set_state(PART:"clipper-edge-top", "default", 0.0);
5775              set_state(PART:"clipper-edge-bottom", "default", 0.0);
5776           }
5777
5778           show_corner_top_left() {
5779              set_state(PART:"corner-top-left", "visible", 0.0);
5780
5781              set_state(PART:"corner-top-right", "default", 0.0);
5782              set_state(PART:"corner-bottom-left", "default", 0.0);
5783              set_state(PART:"corner-bottom-right", "default", 0.0);
5784              hide_edges();
5785           }
5786           show_corner_top_right() {
5787              set_state(PART:"corner-top-right", "visible", 0.0);
5788
5789              set_state(PART:"corner-top-left", "default", 0.0);
5790              set_state(PART:"corner-bottom-left", "default", 0.0);
5791              set_state(PART:"corner-bottom-right", "default", 0.0);
5792              hide_edges();
5793           }
5794
5795           show_corner_bottom_left() {
5796              set_state(PART:"corner-bottom-left", "visible", 0.0);
5797
5798              set_state(PART:"corner-bottom-right", "default", 0.0);
5799              set_state(PART:"corner-top-left", "default", 0.0);
5800              set_state(PART:"corner-top-right", "default", 0.0);
5801              hide_edges();
5802           }
5803           show_corner_bottom_right() {
5804              set_state(PART:"corner-bottom-right", "visible", 0.0);
5805
5806              set_state(PART:"corner-bottom-left", "default", 0.0);
5807              set_state(PART:"corner-top-left", "default", 0.0);
5808              set_state(PART:"corner-top-right", "default", 0.0);
5809              hide_edges();
5810           }
5811
5812           show_edge_left(Float:val) {
5813              set_state(PART:"clipper-edge-left", "visible", 0.0);
5814              set_drag(PART:"edge-drag-left", 0.0, val);
5815
5816              set_state(PART:"clipper-edge-right", "default", 0.0);
5817              set_state(PART:"clipper-edge-top", "default", 0.0);
5818              set_state(PART:"clipper-edge-bottom", "default", 0.0);
5819              hide_corners();
5820           }
5821           show_edge_right(Float:val) {
5822              set_state(PART:"clipper-edge-right", "visible", 0.0);
5823              set_drag(PART:"edge-drag-right", 0.0, val);
5824
5825              set_state(PART:"clipper-edge-left", "default", 0.0);
5826              set_state(PART:"clipper-edge-top", "default", 0.0);
5827              set_state(PART:"clipper-edge-bottom", "default", 0.0);
5828              hide_corners();
5829           }
5830
5831           show_edge_top(Float:val) {
5832              set_state(PART:"clipper-edge-top", "visible", 0.0);
5833              set_drag(PART:"edge-drag-top", val, 0.0);
5834
5835              set_state(PART:"clipper-edge-bottom", "default", 0.0);
5836              set_state(PART:"clipper-edge-left", "default", 0.0);
5837              set_state(PART:"clipper-edge-right", "default", 0.0);
5838              hide_corners();
5839           }
5840           show_edge_bottom(Float:val) {
5841              set_state(PART:"clipper-edge-bottom", "visible", 0.0);
5842              set_drag(PART:"edge-drag-bottom", val, 0.0);
5843
5844              set_state(PART:"clipper-edge-top", "default", 0.0);
5845              set_state(PART:"clipper-edge-left", "default", 0.0);
5846              set_state(PART:"clipper-edge-right", "default", 0.0);
5847              hide_corners();
5848           }
5849
5850           public message(Msg_Type:type, id, ...) {
5851              if ((type == MSG_FLOAT_SET) && (id == 1)) {
5852                 new Float:x, Float:y;
5853
5854                 x = getfarg(2);
5855                 y = getfarg(3);
5856
5857                 if (x < 0.0)
5858                   {
5859                      if (y < 0.0)      show_corner_top_left();
5860                      else if (y > 1.0) show_corner_bottom_left();
5861                      else              show_edge_left(y);
5862                   }
5863                 else if (x > 1.0)
5864                   {
5865                      if (y < 0.0)      show_corner_top_right();
5866                      else if (y > 1.0) show_corner_bottom_right();
5867                      else              show_edge_right(y);
5868                   }
5869                 else
5870                   {
5871                      if (y < 0.0)      show_edge_top(x);
5872                      else if (y > 1.0) show_edge_bottom(x);
5873                      else
5874                        {
5875                           hide_corners();
5876                           hide_edges();
5877                        }
5878                   }
5879              }
5880           }
5881        }
5882        parts {
5883            part { name: "clipper";
5884                type: RECT;
5885                description { state: "default" 0.0;
5886                    color: 255 255 255 0;
5887                    rel1.to: "elm.swallow.content";
5888                    rel1.offset: -64 -64;
5889                    rel2.to: "elm.swallow.content";
5890                    rel2.offset: 63 63;
5891                }
5892                description { state: "visible" 0.0;
5893                    inherit: "default" 0.0;
5894                    color: 255 255 255 255;
5895                }
5896            }
5897            part { name: "pop";
5898                mouse_events: 0;
5899                clip_to: "clipper";
5900                description { state: "default" 0.0;
5901                    min: 30 30;
5902                    rel1 {
5903                        to: "elm.swallow.content";
5904                        offset: -15 -15;
5905                    }
5906                    rel2 {
5907                        to: "elm.swallow.content";
5908                        offset: 14 14;
5909                    }
5910                    image {
5911                        normal: "tooltip-base.png";
5912                        border: 14 14 14 14;
5913                    }
5914                    image.middle: SOLID;
5915                }
5916            }
5917
5918 #define TT_CORNER(name_, rx, ry, ax, ay, ox, oy)                        \
5919            part { name: "corner-"name_;                                 \
5920               type: IMAGE;                                              \
5921               mouse_events: 0;                                          \
5922               clip_to: "clipper";                                       \
5923               description { state: "default" 0.0;                       \
5924                  color: 255 255 255 0;                                  \
5925                  visible: 0;                                            \
5926                  min: 14 14;                                            \
5927                  max: 14 14;                                            \
5928                  align: ax ay;                                          \
5929                  fixed: 1 1;                                            \
5930                  rel1 {                                                 \
5931                     relative: rx ry;                                    \
5932                     offset: ox oy;                                      \
5933                     to: "elm.swallow.content";                          \
5934                  }                                                      \
5935                  rel2 {                                                 \
5936                     relative: rx ry;                                    \
5937                     offset: ox oy;                                      \
5938                     to: "elm.swallow.content";                          \
5939                  }                                                      \
5940                  image.normal: "tooltip-corner-"name_"-tip.png";        \
5941               }                                                         \
5942               description { state: "visible" 0.0;                       \
5943                  inherit: "default" 0.0;                                \
5944                  color: 255 255 255 255;                                \
5945                  visible: 1;                                            \
5946               }                                                         \
5947            }
5948            TT_CORNER("top-left", 0, 0, 1, 1, 4, 4);
5949            TT_CORNER("top-right", 1, 0, 0, 1, -5, 4);
5950            TT_CORNER("bottom-left", 0, 1, 1, 0, 4, -5);
5951            TT_CORNER("bottom-right", 1, 1, 0, 0, -5, -5);
5952 #undef TT_CORNER
5953
5954 #define TT_EDGE_VERT(name_, rx, ax, ox)                                 \
5955            part { name: "clipper-edge-"name_;                           \
5956               type: RECT;                                               \
5957               clip_to: "clipper";                                       \
5958               description { state: "default" 0.0;                       \
5959                  color: 255 255 255 0;                                  \
5960                  visible: 0;                                            \
5961                  min: 14 14;                                            \
5962                  align: ax 0.5;                                         \
5963                  fixed: 1 1;                                            \
5964                  rel1 {                                                 \
5965                     relative: rx 0.0;                                   \
5966                     offset: ox 0;                                       \
5967                     to: "elm.swallow.content";                          \
5968                  }                                                      \
5969                  rel2 {                                                 \
5970                     relative: rx 1.0;                                   \
5971                     offset: ox 0;                                       \
5972                     to: "elm.swallow.content";                          \
5973                  }                                                      \
5974               }                                                         \
5975               description { state: "visible" 0.0;                       \
5976                  inherit: "default" 0.0;                                \
5977                  color: 255 255 255 255;                                \
5978                  visible: 1;                                            \
5979               }                                                         \
5980            }                                                            \
5981            part { name: "edge-area-"name_;                              \
5982               type: RECT;                                               \
5983               mouse_events: 0;                                          \
5984               clip_to: "clipper-edge-"name_;                            \
5985               description { state: "default" 0.0;                       \
5986                  color: 0 0 0 0;                                        \
5987                  min: 14 14;                                            \
5988                  align: ax 0.5;                                         \
5989                  fixed: 1 1;                                            \
5990                  rel1 {                                                 \
5991                     relative: rx 0.0;                                   \
5992                     offset: ox 0;                                       \
5993                     to: "elm.swallow.content";                          \
5994                  }                                                      \
5995                  rel2 {                                                 \
5996                     relative: rx 1.0;                                   \
5997                     offset: ox 0;                                       \
5998                     to: "elm.swallow.content";                          \
5999                  }                                                      \
6000               }                                                         \
6001            }                                                            \
6002            part { name: "edge-drag-"name_;                              \
6003               type: RECT;                                               \
6004               mouse_events: 0;                                          \
6005               clip_to: "clipper-edge-"name_;                            \
6006               dragable {                                                \
6007                   x: 0 0 0;                                             \
6008                   y: 1 1 0;                                             \
6009                   confine: "edge-area-"name_;                           \
6010               }                                                         \
6011               description { state: "default" 0.0;                       \
6012                  color: 0 0 0 0;                                        \
6013                  min: 14 14;                                            \
6014                  rel1.to: "edge-area-"name_;                            \
6015                  rel2.to: "edge-area-"name_;                            \
6016               }                                                         \
6017            }                                                            \
6018            part { name: "edge-img-"name_;                               \
6019               type: IMAGE;                                              \
6020               mouse_events: 0;                                          \
6021               clip_to: "clipper-edge-"name_;                            \
6022               description { state: "default" 0.0;                       \
6023                  min: 14 14;                                            \
6024                  max: 14 14;                                            \
6025                  align: ax 0.5;                                         \
6026                  fixed: 1 1;                                            \
6027                  rel1.to: "edge-drag-"name_;                            \
6028                  rel2.to: "edge-drag-"name_;                            \
6029                  image.normal: "tooltip-edge-"name_"-tip.png";          \
6030               }                                                         \
6031            }
6032            TT_EDGE_VERT("left", 0, 1, -2);
6033            TT_EDGE_VERT("right", 1, 0, 1);
6034 #undef TT_EDGE_VERT
6035
6036 #define TT_EDGE_HORIZ(name_, ry, ay, oy)                                \
6037            part { name: "clipper-edge-"name_;                           \
6038               type: RECT;                                               \
6039               clip_to: "clipper";                                       \
6040               description { state: "default" 0.0;                       \
6041                  color: 255 255 255 0;                                  \
6042                  visible: 0;                                            \
6043                  min: 14 14;                                            \
6044                  align: 0.5 ay;                                         \
6045                  fixed: 1 1;                                            \
6046                  rel1 {                                                 \
6047                     relative: 0.0 ry;                                   \
6048                     offset: 0 oy;                                       \
6049                     to: "elm.swallow.content";                          \
6050                  }                                                      \
6051                  rel2 {                                                 \
6052                     relative: 1.0 ry;                                   \
6053                     offset: 0 oy;                                       \
6054                     to: "elm.swallow.content";                          \
6055                  }                                                      \
6056               }                                                         \
6057               description { state: "visible" 0.0;                       \
6058                  inherit: "default" 0.0;                                \
6059                  color: 255 255 255 255;                                \
6060                  visible: 1;                                            \
6061               }                                                         \
6062            }                                                            \
6063            part { name: "edge-area-"name_;                              \
6064               type: RECT;                                               \
6065               mouse_events: 0;                                          \
6066               clip_to: "clipper-edge-"name_;                            \
6067               description { state: "default" 0.0;                       \
6068                  color: 0 0 0 0;                                        \
6069                  min: 14 14;                                            \
6070                  align: 0.5 ay;                                         \
6071                  fixed: 1 1;                                            \
6072                  rel1 {                                                 \
6073                     relative: 0.0 ry;                                   \
6074                     offset: 0 oy;                                       \
6075                     to: "elm.swallow.content";                          \
6076                  }                                                      \
6077                  rel2 {                                                 \
6078                     relative: 1.0 ry;                                   \
6079                     offset: 0 oy;                                       \
6080                     to: "elm.swallow.content";                          \
6081                  }                                                      \
6082               }                                                         \
6083            }                                                            \
6084            part { name: "edge-drag-"name_;                              \
6085               type: RECT;                                               \
6086               mouse_events: 0;                                          \
6087               clip_to: "clipper-edge-"name_;                            \
6088               dragable {                                                \
6089                   x: 1 1 0;                                             \
6090                   y: 0 0 0;                                             \
6091                   confine: "edge-area-"name_;                           \
6092               }                                                         \
6093               description { state: "default" 0.0;                       \
6094                  color: 0 0 0 0;                                        \
6095                  min: 14 14;                                            \
6096                  rel1.to: "edge-area-"name_;                            \
6097                  rel2.to: "edge-area-"name_;                            \
6098               }                                                         \
6099            }                                                            \
6100            part { name: "edge-img-"name_;                               \
6101               type: IMAGE;                                              \
6102               mouse_events: 0;                                          \
6103               clip_to: "clipper-edge-"name_;                            \
6104               description { state: "default" 0.0;                       \
6105                  min: 14 14;                                            \
6106                  max: 14 14;                                            \
6107                  align: 0.5 ay;                                         \
6108                  fixed: 1 1;                                            \
6109                  rel1.to: "edge-drag-"name_;                            \
6110                  rel2.to: "edge-drag-"name_;                            \
6111                  image.normal: "tooltip-edge-"name_"-tip.png";          \
6112               }                                                         \
6113            }
6114            TT_EDGE_HORIZ("top", 0, 1, -2);
6115            TT_EDGE_HORIZ("bottom", 1, 0, 1);
6116 #undef TT_EDGE_HORIZ
6117
6118            part { name: "clipper_content";
6119                type: RECT;
6120                description { state: "default" 0.0;
6121                    color: 255 255 255 0;
6122                    rel1.to: "elm.swallow.content";
6123                    rel1.offset: -64 -64;
6124                    rel2.to: "elm.swallow.content";
6125                    rel2.offset: 63 63;
6126                }
6127                description { state: "visible" 0.0;
6128                    inherit: "default" 0.0;
6129                    color: 255 255 255 255;
6130                }
6131            }
6132            part { name: "elm.swallow.content";
6133                type: SWALLOW;
6134                clip_to: "clipper_content";
6135                description { state: "default" 0.0; }
6136            }
6137            programs {
6138                program {
6139                    name: "show0";
6140                    signal: "elm,action,show";
6141                    source: "elm";
6142                    action: ACTION_STOP;
6143                    target: "hide0";
6144                    target: "hide1";
6145                    target: "hide2";
6146                    target: "hide3";
6147                    after: "show1";
6148                    after: "show2";
6149                }
6150                program {
6151                    name: "show1";
6152                    action: STATE_SET "visible" 0.0;
6153                    transition: LINEAR 0.15;
6154                    target: "clipper";
6155                }
6156                program {
6157                    name: "show2";
6158                    in: 0.1 0.0;
6159                    action: STATE_SET "visible" 0.0;
6160                    transition: LINEAR 0.15;
6161                    target: "clipper_content";
6162                }
6163
6164                program {
6165                    name: "hide0";
6166                    signal: "elm,action,hide";
6167                    source: "elm";
6168                    action: ACTION_STOP;
6169                    target: "show0";
6170                    target: "show1";
6171                    target: "show2";
6172                    after: "hide1";
6173                    after: "hide2";
6174                    after: "hide3";
6175                }
6176                program {
6177                    name: "hide1";
6178                    script {
6179                       hide_corners();
6180                       hide_edges();
6181                    }
6182                }
6183                program {
6184                    name: "hide2";
6185                    action: STATE_SET "default" 0.0;
6186                    transition: LINEAR 0.1;
6187                    target: "clipper_content";
6188                }
6189                program {
6190                    name: "hide3";
6191                    in: 0.1 0.0;
6192                    action: STATE_SET "default" 0.0;
6193                    transition: LINEAR 0.1;
6194                    target: "clipper";
6195                }
6196            }
6197        }
6198    }
6199    group { name: "elm/tooltip/base/transparent";
6200       parts {
6201          part { name: "elm.swallow.content";
6202             type: SWALLOW;
6203             mouse_events:   0;
6204             scale: 1;
6205             description { state: "default" 0.0; }
6206          }
6207       }
6208    }
6209
6210 ///////////////////////////////////////////////////////////////////////////////
6211
6212    /* TODO: replicate diagonal swallow slots to the other hover styles */
6213    group { name: "elm/hover/base/default";
6214       images {
6215          image: "shad_circ.png" COMP;
6216       }
6217       parts {
6218          part { name: "elm.swallow.offset";
6219             type: SWALLOW;
6220             description { state: "default" 0.0;
6221                align: 0.0 0.0;
6222                rel1.relative: 0.0 0.0;
6223                rel2.relative: 0.0 0.0;
6224             }
6225          }
6226          part { name: "elm.swallow.size";
6227             type: SWALLOW;
6228             description { state: "default" 0.0;
6229                align: 0.0 0.0;
6230                rel1.to: "elm.swallow.offset";
6231                rel1.relative: 1.0 1.0;
6232                rel2.to: "elm.swallow.offset";
6233                rel2.relative: 1.0 1.0;
6234             }
6235          }
6236          part { name: "base";
6237             type: RECT;
6238             mouse_events: 1;
6239             description { state: "default" 0.0;
6240                color: 0 0 0 64;
6241             }
6242          }
6243          part { name: "shad";
6244             mouse_events:  0;
6245             description { state: "default" 0.0;
6246                image.normal: "shad_circ.png";
6247                rel1.to: "elm.swallow.size";
6248                rel1.offset: -32 -32;
6249                rel2.to: "elm.swallow.size";
6250                rel2.offset: 31 31;
6251                fill.smooth: 0;
6252             }
6253          }
6254          part { name: "box";
6255             type: RECT;
6256             mouse_events: 0;
6257             description { state: "default" 0.0;
6258                color: 0 0 0 0;
6259                rel1.to: "elm.swallow.size";
6260                rel1.offset: -2 -2;
6261                rel2.to: "elm.swallow.size";
6262                rel2.offset: 1 1;
6263             }
6264          }
6265          part { name: "elm.swallow.slot.left";
6266             type: SWALLOW;
6267             description { state: "default" 0.0;
6268                align: 1.0 0.5;
6269                rel1.to: "elm.swallow.slot.middle";
6270                rel1.relative: 0.0 0.0;
6271                rel1.offset: -1 0;
6272                rel2.to: "elm.swallow.slot.middle";
6273                rel2.relative: 0.0 1.0;
6274                rel2.offset: -1 -1;
6275             }
6276          }
6277          part { name: "elm.swallow.slot.top-left";
6278             type: SWALLOW;
6279             description { state: "default" 0.0;
6280                align: 1.0 1.0;
6281                rel1.to: "elm.swallow.slot.middle";
6282                rel1.relative: 0.0 0.0;
6283                rel1.offset: 0 0;
6284                rel2.to: "elm.swallow.slot.middle";
6285                rel2.relative: 0.0 0.0;
6286                rel2.offset: -1 -1;
6287             }
6288          }
6289          part { name: "elm.swallow.slot.top";
6290             type: SWALLOW;
6291             description { state: "default" 0.0;
6292                align: 0.5 1.0;
6293                rel1.to: "elm.swallow.slot.middle";
6294                rel1.relative: 0.0 0.0;
6295                rel1.offset: 0 -1;
6296                rel2.to: "elm.swallow.slot.middle";
6297                rel2.relative: 1.0 0.0;
6298                rel2.offset: -1 -1;
6299             }
6300          }
6301          part { name: "elm.swallow.slot.top-right";
6302             type: SWALLOW;
6303             description { state: "default" 0.0;
6304                align: 0.0 1.0;
6305                rel1.to: "elm.swallow.slot.middle";
6306                rel1.relative: 1.0 0.0;
6307                rel1.offset: 0 0;
6308                rel2.to: "elm.swallow.slot.middle";
6309                rel2.relative: 1.0 0.0;
6310                rel2.offset: -1 -1;
6311             }
6312          }
6313          part { name: "elm.swallow.slot.right";
6314             type: SWALLOW;
6315             description { state: "default" 0.0;
6316                align: 0.0 0.5;
6317                rel1.to: "elm.swallow.slot.middle";
6318                rel1.relative: 1.0 0.0;
6319                rel1.offset: 0 0;
6320                rel2.to: "elm.swallow.slot.middle";
6321                rel2.relative: 1.0 1.0;
6322                rel2.offset: 0 -1;
6323             }
6324          }
6325          part { name: "elm.swallow.slot.bottom-right";
6326             type: SWALLOW;
6327             description { state: "default" 0.0;
6328                align: 0.0 0.0;
6329                rel1.to: "elm.swallow.slot.middle";
6330                rel1.relative: 1.0 1.0;
6331                rel1.offset: 0 0;
6332                rel2.to: "elm.swallow.slot.middle";
6333                rel2.relative: 1.0 1.0;
6334                rel2.offset: -1 -1;
6335             }
6336          }
6337          part { name: "elm.swallow.slot.bottom";
6338             type: SWALLOW;
6339             description { state: "default" 0.0;
6340                align: 0.5 0.0;
6341                rel1.to: "elm.swallow.slot.middle";
6342                rel1.relative: 0.0 1.0;
6343                rel1.offset: 0 0;
6344                rel2.to: "elm.swallow.slot.middle";
6345                rel2.relative: 1.0 1.0;
6346                rel2.offset: -1 0;
6347             }
6348          }
6349          part { name: "elm.swallow.slot.bottom-left";
6350             type: SWALLOW;
6351             description { state: "default" 0.0;
6352                align: 1.0 0.0;
6353                rel1.to: "elm.swallow.slot.middle";
6354                rel1.relative: 0.0 1.0;
6355                rel1.offset: 0 0;
6356                rel2.to: "elm.swallow.slot.middle";
6357                rel2.relative: 0.0 1.0;
6358                rel2.offset: -1 0;
6359             }
6360          }
6361          part { name: "elm.swallow.slot.middle";
6362             type: SWALLOW;
6363             description { state: "default" 0.0;
6364                rel1.to: "elm.swallow.size";
6365                rel2.to: "elm.swallow.size";
6366             }
6367          }
6368       }
6369       programs {
6370          program { name: "end";
6371             signal: "mouse,up,1";
6372             source: "base";
6373             action: SIGNAL_EMIT "elm,action,dismiss" "";
6374          }
6375       }
6376    }
6377
6378    group { name: "elm/hover/base/popout";
6379       images {
6380          image: "shad_circ.png" COMP;
6381          image: "bt_dis_base.png" COMP;
6382          image: "bt_dis_hilight.png" COMP;
6383       }
6384       parts {
6385          part { name: "elm.swallow.offset";
6386             type: SWALLOW;
6387             description { state: "default" 0.0;
6388                align: 0.0 0.0;
6389                rel1.relative: 0.0 0.0;
6390                rel2.relative: 0.0 0.0;
6391             }
6392          }
6393          part { name: "elm.swallow.size";
6394             type: SWALLOW;
6395             description { state: "default" 0.0;
6396                align: 0.0 0.0;
6397                rel1.to: "elm.swallow.offset";
6398                rel1.relative: 1.0 1.0;
6399                rel2.to: "elm.swallow.offset";
6400                rel2.relative: 1.0 1.0;
6401             }
6402          }
6403          part { name: "base";
6404             type: RECT;
6405             mouse_events: 1;
6406             description { state: "default" 0.0;
6407                color: 0 0 0 0;
6408             }
6409             description { state: "visible" 0.0;
6410                inherit: "default" 1.0;
6411                color: 0 0 0 64;
6412             }
6413          }
6414          part { name: "leftclip";
6415             type: RECT;
6416             description { state: "default" 0.0;
6417                rel2.to_x: "pop";
6418                rel2.relative: 0.0 1.0;
6419                rel2.offset: 1 -1;
6420             }
6421          }
6422          part { name: "left";
6423             clip_to: "leftclip";
6424             description { state: "default" 0.0;
6425                visible: 0;
6426                rel1.to: "elm.swallow.slot.left";
6427                rel1.offset: -5 -5;
6428                rel2.to: "elm.swallow.slot.left";
6429                rel2.offset: 4 4;
6430                image {
6431                   normal: "bt_dis_base.png";
6432                   border: 4 4 4 4;
6433                }
6434                image.middle: SOLID;
6435             }
6436             description { state: "visible" 0.0;
6437                inherit: "default" 0.0;
6438                visible: 1;
6439             }
6440          }
6441          part { name: "elm.swallow.slot.left";
6442             type: SWALLOW;
6443             clip_to: "leftclip";
6444             description { state: "default" 0.0;
6445                align: 0.0 0.5;
6446                rel1.to: "elm.swallow.slot.middle";
6447                rel1.relative: 0.0 0.0;
6448                rel1.offset: -1 0;
6449                rel2.to: "elm.swallow.slot.middle";
6450                rel2.relative: 0.0 1.0;
6451                rel2.offset: -1 -1;
6452             }
6453             description { state: "visible" 0.0;
6454                inherit: "default" 0.0;
6455                rel1.offset: -7 0;
6456                rel2.offset: -7 -1;
6457                align: 1.0 0.5;
6458             }
6459          }
6460          part { name: "leftover";
6461             clip_to: "leftclip";
6462             mouse_events: 0;
6463             description { state: "default" 0.0;
6464                rel1.to: "left";
6465                rel2.to: "left";
6466                rel2.relative: 1.0 0.5;
6467                image {
6468                   normal: "bt_dis_hilight.png";
6469                   border: 4 4 4 0;
6470                }
6471             }
6472          }
6473          part { name: "rightclip";
6474             type: RECT;
6475             description { state: "default" 0.0;
6476                rel1.to_x: "pop";
6477                rel1.relative: 1.0 0.0;
6478                rel1.offset: -2 0;
6479             }
6480          }
6481          part { name: "right";
6482             clip_to: "rightclip";
6483             description { state: "default" 0.0;
6484                visible: 0;
6485                rel1.to: "elm.swallow.slot.right";
6486                rel1.offset: -5 -5;
6487                rel2.to: "elm.swallow.slot.right";
6488                rel2.offset: 4 4;
6489                image {
6490                   normal: "bt_dis_base.png";
6491                   border: 4 4 4 4;
6492                }
6493                image.middle: SOLID;
6494             }
6495             description { state: "visible" 0.0;
6496                inherit: "default" 0.0;
6497                visible: 1;
6498             }
6499          }
6500          part { name: "elm.swallow.slot.right";
6501             type: SWALLOW;
6502             clip_to: "rightclip";
6503             description { state: "default" 0.0;
6504                align: 1.0 0.5;
6505                rel1.to: "elm.swallow.slot.middle";
6506                rel1.relative: 1.0 0.0;
6507                rel1.offset: 0 0;
6508                rel2.to: "elm.swallow.slot.middle";
6509                rel2.relative: 1.0 1.0;
6510                rel2.offset: 0 -1;
6511             }
6512             description { state: "visible" 0.0;
6513                inherit: "default" 0.0;
6514                rel1.offset: 6 0;
6515                rel2.offset: 6 -1;
6516                align: 0.0 0.5;
6517             }
6518          }
6519          part { name: "rightover";
6520             clip_to: "rightclip";
6521             mouse_events: 0;
6522             description { state: "default" 0.0;
6523                rel1.to: "right";
6524                rel2.to: "right";
6525                rel2.relative: 1.0 0.5;
6526                image {
6527                   normal: "bt_dis_hilight.png";
6528                   border: 4 4 4 0;
6529                }
6530             }
6531          }
6532          part { name: "topclip";
6533             type: RECT;
6534             description { state: "default" 0.0;
6535                rel2.to_y: "pop";
6536                rel2.relative: 1.0 0.0;
6537                rel2.offset: -1 1;
6538             }
6539          }
6540          part { name: "top";
6541             clip_to: "topclip";
6542             description { state: "default" 0.0;
6543                visible: 0;
6544                rel1.to: "elm.swallow.slot.top";
6545                rel1.offset: -5 -5;
6546                rel2.to: "elm.swallow.slot.top";
6547                rel2.offset: 4 4;
6548                image {
6549                   normal: "bt_dis_base.png";
6550                   border: 4 4 4 4;
6551                }
6552                image.middle: SOLID;
6553             }
6554             description { state: "visible" 0.0;
6555                inherit: "default" 0.0;
6556                visible: 1;
6557             }
6558          }
6559          part { name: "elm.swallow.slot.top";
6560             type: SWALLOW;
6561             clip_to: "topclip";
6562             description { state: "default" 0.0;
6563                visible: 1;
6564                align: 0.5 0.0;
6565                rel1.to: "elm.swallow.slot.middle";
6566                rel1.relative: 0.0 0.0;
6567                rel1.offset: 0 -1;
6568                rel2.to: "elm.swallow.slot.middle";
6569                rel2.relative: 1.0 0.0;
6570                rel2.offset: -1 -1;
6571             }
6572             description { state: "visible" 0.0;
6573                inherit: "default" 0.0;
6574                rel1.offset: 0 -7;
6575                rel2.offset: -1 -7;
6576                align: 0.5 1.0;
6577             }
6578          }
6579          part { name: "topover";
6580             clip_to: "topclip";
6581             mouse_events: 0;
6582             description { state: "default" 0.0;
6583                rel1.to: "top";
6584                rel2.to: "top";
6585                rel2.relative: 1.0 0.5;
6586                image {
6587                   normal: "bt_dis_hilight.png";
6588                   border: 4 4 4 0;
6589                }
6590             }
6591          }
6592          part { name: "bottomclip";
6593             type: RECT;
6594             description { state: "default" 0.0;
6595                rel1.to_y: "pop";
6596                rel1.relative: 0.0 1.0;
6597                rel1.offset: -1 -2;
6598             }
6599          }
6600          part { name: "bottom";
6601             clip_to: "bottomclip";
6602             description { state: "default" 0.0;
6603                visible: 0;
6604                rel1.to: "elm.swallow.slot.bottom";
6605                rel1.offset: -5 -5;
6606                rel2.to: "elm.swallow.slot.bottom";
6607                rel2.offset: 4 4;
6608                image {
6609                   normal: "bt_dis_base.png";
6610                   border: 4 4 4 4;
6611                }
6612                image.middle: SOLID;
6613             }
6614             description { state: "visible" 0.0;
6615                inherit: "default" 0.0;
6616                visible: 1;
6617             }
6618          }
6619          part { name: "elm.swallow.slot.bottom";
6620             type: SWALLOW;
6621             clip_to: "bottomclip";
6622             description { state: "default" 0.0;
6623                align: 0.5 1.0;
6624                rel1.to: "elm.swallow.slot.middle";
6625                rel1.relative: 0.0 1.0;
6626                rel1.offset: 0 0;
6627                rel2.to: "elm.swallow.slot.middle";
6628                rel2.relative: 1.0 1.0;
6629                rel2.offset: -1 0;
6630             }
6631             description { state: "visible" 0.0;
6632                inherit: "default" 0.0;
6633                rel1.offset: 0 6;
6634                rel2.offset: -1 6;
6635                align: 0.5 0.0;
6636             }
6637          }
6638          part { name: "bottomover";
6639             clip_to: "bottomclip";
6640             mouse_events: 0;
6641             description { state: "default" 0.0;
6642                rel1.to: "bottom";
6643                rel2.to: "bottom";
6644                rel2.relative: 1.0 0.5;
6645                image {
6646                   normal: "bt_dis_hilight.png";
6647                   border: 4 4 4 0;
6648                }
6649             }
6650          }
6651          part { name: "shad";
6652             mouse_events:  0;
6653             description { state: "default" 0.0;
6654                image.normal: "shad_circ.png";
6655                rel1.to: "elm.swallow.size";
6656                rel1.offset: -64 -64;
6657                rel2.to: "elm.swallow.size";
6658                rel2.offset: 63 63;
6659                fill.smooth: 0;
6660             }
6661          }
6662          part { name: "pop";
6663             mouse_events: 1;
6664             description { state: "default" 0.0;
6665                rel1.to: "elm.swallow.slot.middle";
6666                rel1.offset: -5 -5;
6667                rel2.to: "elm.swallow.slot.middle";
6668                rel2.offset: 4 4;
6669                image {
6670                   normal: "bt_dis_base.png";
6671                   border: 4 4 4 4;
6672                }
6673                image.middle: SOLID;
6674             }
6675          }
6676          part { name: "elm.swallow.slot.middle";
6677             type: SWALLOW;
6678             description { state: "default" 0.0;
6679                rel1.to: "elm.swallow.size";
6680                rel2.to: "elm.swallow.size";
6681             }
6682          }
6683          part { name: "popover";
6684             mouse_events: 0;
6685             description { state: "default" 0.0;
6686                rel1.to: "pop";
6687                rel2.to: "pop";
6688                rel2.relative: 1.0 0.5;
6689                image {
6690                   normal: "bt_dis_hilight.png";
6691                   border: 4 4 4 0;
6692                }
6693             }
6694          }
6695       }
6696       programs {
6697          program { name: "end";
6698             signal: "mouse,up,1";
6699             source: "base";
6700             action: SIGNAL_EMIT "elm,action,dismiss" "";
6701          }
6702
6703          program { name: "show";
6704             signal: "elm,action,show";
6705             source: "elm";
6706             action: STATE_SET "visible" 0.0;
6707 //            transition: DECELERATE 0.5;
6708             target: "base";
6709          }
6710          program { name: "hide";
6711             signal: "elm,action,hide";
6712             source: "elm";
6713             action: STATE_SET "default" 0.0;
6714 //            transition: DECELERATE 0.5;
6715             target: "base";
6716          }
6717
6718          program { name: "leftshow";
6719             signal: "elm,action,slot,left,show";
6720             source: "elm";
6721             action: STATE_SET "visible" 0.0;
6722             transition: DECELERATE 0.5;
6723             target: "left";
6724             target: "elm.swallow.slot.left";
6725          }
6726          program { name: "lefthide";
6727             signal: "elm,action,slot,left,hide";
6728             source: "elm";
6729             action: STATE_SET "default" 0.0;
6730             transition: DECELERATE 0.5;
6731             target: "left";
6732             target: "elm.swallow.slot.left";
6733          }
6734          program { name: "rightshow";
6735             signal: "elm,action,slot,right,show";
6736             source: "elm";
6737             action: STATE_SET "visible" 0.0;
6738             transition: DECELERATE 0.5;
6739             target: "right";
6740             target: "elm.swallow.slot.right";
6741          }
6742          program { name: "righthide";
6743             signal: "elm,action,slot,right,hide";
6744             source: "elm";
6745             action: STATE_SET "default" 0.0;
6746             transition: DECELERATE 0.5;
6747             target: "right";
6748             target: "elm.swallow.slot.right";
6749          }
6750          program { name: "topshow";
6751             signal: "elm,action,slot,top,show";
6752             source: "elm";
6753             action: STATE_SET "visible" 0.0;
6754             transition: DECELERATE 0.5;
6755             target: "top";
6756             target: "elm.swallow.slot.top";
6757          }
6758          program { name: "tophide";
6759             signal: "elm,action,slot,top,hide";
6760             source: "elm";
6761             action: STATE_SET "default" 0.0;
6762             transition: DECELERATE 0.5;
6763             target: "top";
6764             target: "elm.swallow.slot.top";
6765          }
6766          program { name: "bottomshow";
6767             signal: "elm,action,slot,bottom,show";
6768             source: "elm";
6769             action: STATE_SET "visible" 0.0;
6770             transition: DECELERATE 0.5;
6771             target: "bottom";
6772             target: "elm.swallow.slot.bottom";
6773          }
6774          program { name: "bottomhide";
6775             signal: "elm,action,slot,bottom,hide";
6776             source: "elm";
6777             action: STATE_SET "default" 0.0;
6778             transition: DECELERATE 0.5;
6779             target: "bottom";
6780             target: "elm.swallow.slot.bottom";
6781          }
6782       }
6783    }
6784
6785    //In the hover used by the menu only the bottom part is used.
6786    group { name: "elm/hover/base/menu";
6787        images {
6788            image: "shad_circ.png" COMP;
6789            image: "bt_dis_base.png" COMP;
6790        }
6791        parts {
6792            part { name: "elm.swallow.offset";
6793                type: SWALLOW;
6794                description { state: "default" 0.0;
6795                    align: 0.0 0.0;
6796                    rel1.relative: 0.0 0.0;
6797                    rel2.relative: 0.0 0.0;
6798                }
6799            }
6800            part { name: "elm.swallow.size";
6801                type: SWALLOW;
6802                description { state: "default" 0.0;
6803                    align: 0.0 0.0;
6804                    rel1.to: "elm.swallow.offset";
6805                    rel1.relative: 1.0 1.0;
6806                    rel2.to: "elm.swallow.offset";
6807                    rel2.relative: 1.0 1.0;
6808                }
6809            }
6810            part { name: "base";
6811                type: RECT;
6812                mouse_events: 1;
6813                description { state: "default" 0.0;
6814                    color: 0 0 0 0;
6815                }
6816                description { state: "visible" 0.0;
6817                    inherit: "default" 1.0;
6818                    color: 0 0 0 64;
6819                }
6820            }
6821            part { name: "elm.swallow.slot.left";
6822                type: SWALLOW;
6823                description { state: "default" 0.0;
6824                }
6825            }
6826            part { name: "elm.swallow.slot.right";
6827                type: SWALLOW;
6828                description { state: "default" 0.0;
6829                }
6830            }
6831            part { name: "elm.swallow.slot.top";
6832                type: SWALLOW;
6833                description { state: "default" 0.0;
6834                }
6835                description { state: "visible" 0.0;
6836                    inherit: "default" 0.0;
6837                }
6838            }
6839            part { name: "bottomclip";
6840                type: RECT;
6841                description { state: "default" 0.0;
6842                    rel1.to_y: "pop";
6843                    rel1.relative: 0.0 1.0;
6844                    rel1.offset: -1 -2;
6845                }
6846            }
6847            part { name: "bottom";
6848                clip_to: "bottomclip";
6849                description { state: "default" 0.0;
6850                    visible: 0;
6851                    rel1.to: "elm.swallow.slot.bottom";
6852                    rel1.offset: -5 -5;
6853                    rel2.to: "elm.swallow.slot.bottom";
6854                    rel2.offset: 4 4;
6855                    image {
6856                        normal: "bt_dis_base.png";
6857                        border: 4 4 4 4;
6858                    }
6859                    image.middle: SOLID;
6860                }
6861                description { state: "visible" 0.0;
6862                    inherit: "default" 0.0;
6863                    visible: 1;
6864                }
6865            }
6866            part { name: "elm.swallow.slot.bottom";
6867                type: SWALLOW;
6868                clip_to: "bottomclip";
6869                description { state: "default" 0.0;
6870                    align: 0.5 1.0;
6871                    rel1.to: "elm.swallow.slot.middle";
6872                    rel1.relative: 0.0 1.0;
6873                    rel1.offset: 0 0;
6874                    rel2.to: "elm.swallow.slot.middle";
6875                    rel2.relative: 1.0 1.0;
6876                    rel2.offset: -1 0;
6877                }
6878                description { state: "visible" 0.0;
6879                    inherit: "default" 0.0;
6880                    rel1.offset: 0 6;
6881                    rel2.offset: -1 6;
6882                    align: 0.5 0.0;
6883                }
6884            }
6885            part { name: "pop";
6886                mouse_events: 1;
6887                repeat_events:1;
6888                description { state: "default" 0.0;
6889                    rel1.to: "elm.swallow.slot.middle";
6890                    rel1.offset: -5 -5;
6891                    rel2.to: "elm.swallow.slot.middle";
6892                    rel2.offset: 4 4;
6893                }
6894            }
6895            part { name: "elm.swallow.slot.middle";
6896                type: SWALLOW;
6897                repeat_events:1;
6898                description { state: "default" 0.0;
6899                    rel1.to: "elm.swallow.size";
6900                    rel2.to: "elm.swallow.size";
6901                }
6902            }
6903        }
6904        programs {
6905            program { name: "end";
6906                signal: "mouse,up,1";
6907                source: "base";
6908                action: SIGNAL_EMIT "elm,action,dismiss" "";
6909            }
6910            program { name: "show";
6911                signal: "elm,action,show";
6912                source: "elm";
6913                action: STATE_SET "visible" 0.0;
6914                        //            transition: DECELERATE 0.5;
6915                target: "base";
6916            }
6917            program { name: "hide";
6918                signal: "elm,action,hide";
6919                source: "elm";
6920                action: STATE_SET "default" 0.0;
6921                        //            transition: DECELERATE 0.5;
6922                target: "base";
6923            }
6924            program { name: "bottomshow";
6925                signal: "elm,action,slot,bottom,show";
6926                source: "elm";
6927                action: STATE_SET "visible" 0.0;
6928                transition: DECELERATE 0.3;
6929                target: "bottom";
6930                target: "elm.swallow.slot.bottom";
6931            }
6932            program { name: "bottomhide";
6933                signal: "elm,action,slot,bottom,hide";
6934                source: "elm";
6935                action: STATE_SET "default" 0.0;
6936                transition: DECELERATE 0.5;
6937                target: "bottom";
6938                target: "elm.swallow.slot.bottom";
6939            }
6940        }
6941    }
6942
6943    //In the hover used by the submenu only the bottom part is used
6944    //and no part should interact except the bottom area
6945    group { name: "elm/hover/base/submenu";
6946        images {
6947            image: "shad_circ.png" COMP;
6948            image: "bt_dis_base.png" COMP;
6949        }
6950        parts {
6951            part { name: "elm.swallow.offset";
6952                type: SWALLOW;
6953                repeat_events:1;
6954                description { state: "default" 0.0;
6955                    align: 0.0 0.0;
6956                    rel1.relative: 0.0 0.0;
6957                    rel2.relative: 0.0 0.0;
6958                }
6959            }
6960            part { name: "elm.swallow.size";
6961                type: SWALLOW;
6962                description { state: "default" 0.0;
6963                    align: 0.0 0.0;
6964                    rel1.to: "elm.swallow.offset";
6965                    rel1.relative: 1.0 1.0;
6966                    rel2.to: "elm.swallow.offset";
6967                    rel2.relative: 1.0 1.0;
6968                }
6969            }
6970            //here we do non catch events like the hover hover does
6971            part { name: "base";
6972                type: RECT;
6973                mouse_events: 1;
6974                description { state: "default" 0.0;
6975                    color: 0 0 0 0;
6976                    visible: 0;
6977                }
6978            }
6979            part { name: "elm.swallow.slot.left";
6980                type: SWALLOW;
6981                description { state: "default" 0.0;
6982                }
6983            }
6984            part { name: "elm.swallow.slot.right";
6985                type: SWALLOW;
6986                description { state: "default" 0.0;
6987                }
6988            }
6989            part { name: "elm.swallow.slot.top";
6990                type: SWALLOW;
6991                description { state: "default" 0.0;
6992                }
6993            }
6994            part { name: "bottomclip";
6995                type: RECT;
6996                description { state: "default" 0.0;
6997                    rel1.to_y: "pop";
6998                    rel1.relative: 0.0 1.0;
6999                    rel1.offset: -1 -2;
7000                }
7001            }
7002            part { name: "bottom";
7003                clip_to: "bottomclip";
7004                description { state: "default" 0.0;
7005                    visible: 0;
7006                    rel1.to: "elm.swallow.slot.bottom";
7007                    rel1.offset: -5 -5;
7008                    rel2.to: "elm.swallow.slot.bottom";
7009                    rel2.offset: 4 4;
7010                    image {
7011                        normal: "bt_dis_base.png";
7012                        border: 4 4 4 4;
7013                    }
7014                    image.middle: SOLID;
7015                }
7016                description { state: "visible" 0.0;
7017                    inherit: "default" 0.0;
7018                    visible: 1;
7019                }
7020            }
7021            part { name: "elm.swallow.slot.bottom";
7022                type: SWALLOW;
7023                clip_to: "bottomclip";
7024                description { state: "default" 0.0;
7025                    align: 0.5 1.0;
7026                    rel1.to: "elm.swallow.slot.middle";
7027                    rel1.relative: 0.0 1.0;
7028                    rel1.offset: 0 0;
7029                    rel2.to: "elm.swallow.slot.middle";
7030                    rel2.relative: 1.0 1.0;
7031                    rel2.offset: -1 0;
7032                }
7033                description { state: "visible" 0.0;
7034                    inherit: "default" 0.0;
7035                    rel1.offset: 0 6;
7036                    rel2.offset: -1 6;
7037                    align: 0.5 0.0;
7038                }
7039            }
7040            part { name: "pop";
7041                mouse_events: 1;
7042                repeat_events:1;
7043                description { state: "default" 0.0;
7044                    rel1.to: "elm.swallow.slot.middle";
7045                    rel1.offset: -5 -5;
7046                    rel2.to: "elm.swallow.slot.middle";
7047                    rel2.offset: 4 4;
7048                }
7049            }
7050            part { name: "elm.swallow.slot.middle";
7051                type: SWALLOW;
7052                repeat_events:1;
7053                description { state: "default" 0.0;
7054                    rel1.to: "elm.swallow.size";
7055                    rel2.to: "elm.swallow.size";
7056                }
7057            }
7058        }
7059        programs {
7060            program { name: "end";
7061                signal: "mouse,up,1";
7062                source: "base";
7063                action: SIGNAL_EMIT "elm,action,dismiss" "";
7064            }
7065            program { name: "show";
7066                signal: "elm,action,show";
7067                source: "elm";
7068                action: STATE_SET "visible" 0.0;
7069                        //            transition: DECELERATE 0.5;
7070                target: "base";
7071            }
7072            program { name: "hide";
7073                signal: "elm,action,hide";
7074                source: "elm";
7075                action: STATE_SET "default" 0.0;
7076                        //            transition: DECELERATE 0.5;
7077                target: "base";
7078            }
7079            program { name: "bottomshow";
7080                signal: "elm,action,slot,bottom,show";
7081                source: "elm";
7082                action: STATE_SET "visible" 0.0;
7083                transition: DECELERATE 0.3;
7084                target: "bottom";
7085                target: "elm.swallow.slot.bottom";
7086            }
7087            program { name: "bottomhide";
7088                signal: "elm,action,slot,bottom,hide";
7089                source: "elm";
7090                action: STATE_SET "default" 0.0;
7091                transition: DECELERATE 0.5;
7092                target: "bottom";
7093                target: "elm.swallow.slot.bottom";
7094            }
7095        }
7096    }
7097
7098    group { name: "elm/hover/base/hoversel_vertical/default";
7099       alias: "elm/hover/base/hoversel_vertical/entry";
7100       images {
7101 //         image: "shad_circ.png" COMP;
7102          image: "bt_base2.png" COMP;
7103          image: "bt_hilight.png" COMP;
7104          image: "bt_shine.png" COMP;
7105          image: "outdent-top.png" COMP;
7106          image: "outdent-bottom.png" COMP;
7107       }
7108       parts {
7109          part { name: "elm.swallow.offset";
7110             type: SWALLOW;
7111             description { state: "default" 0.0;
7112                align: 0.0 0.0;
7113                rel1.relative: 0.0 0.0;
7114                rel2.relative: 0.0 0.0;
7115             }
7116          }
7117          part { name: "elm.swallow.size";
7118             type: SWALLOW;
7119             description { state: "default" 0.0;
7120                align: 0.0 0.0;
7121                rel1.to: "elm.swallow.offset";
7122                rel1.relative: 1.0 1.0;
7123                rel2.to: "elm.swallow.offset";
7124                rel2.relative: 1.0 1.0;
7125             }
7126          }
7127 /*
7128         part { name: "shad";
7129             mouse_events:  0;
7130             description { state: "default" 0.0;
7131                image.normal: "shad_circ.png";
7132                rel1.to: "button_image";
7133                rel1.offset: -64 -64;
7134                rel2.to: "button_image";
7135                rel2.offset: 63 63;
7136                fill.smooth: 0;
7137             }
7138          }
7139  */
7140          part { name: "button_image";
7141             mouse_events: 1;
7142             description { state: "default" 0.0;
7143                rel1.to_x: "elm.swallow.slot.top";
7144                rel1.to_y: "elm.swallow.slot.top";
7145                rel1.offset: -2 -6;
7146                rel2.to_x: "elm.swallow.slot.top";
7147                rel2.to_y: "elm.swallow.slot.bottom";
7148                rel2.offset: 1 5;
7149                image {
7150                   normal: "bt_base2.png";
7151                   border: 7 7 7 7;
7152                }
7153                image.middle: SOLID;
7154             }
7155             description { state: "bottom" 0.0;
7156                rel1.to_x: "elm.swallow.slot.bottom";
7157                rel1.to_y: "elm.swallow.slot.top";
7158                rel1.offset: -2 -6;
7159                rel2.to_x: "elm.swallow.slot.bottom";
7160                rel2.to_y: "elm.swallow.slot.bottom";
7161                rel2.offset: 1 5;
7162                image {
7163                   normal: "bt_base2.png";
7164                   border: 7 7 7 7;
7165                }
7166                image.middle: SOLID;
7167             }
7168          }
7169
7170          part { name: "base";
7171             type: RECT;
7172             mouse_events: 1;
7173             description { state: "default" 0.0;
7174                color: 0 0 0 0;
7175             }
7176             description { state: "visible" 0.0;
7177                inherit: "default" 1.0;
7178                color: 0 0 0 64;
7179             }
7180          }
7181
7182          part { name: "topclip";
7183             type: RECT;
7184             description { state: "default" 0.0;
7185                rel2.to_y: "edge_top";
7186                rel2.relative: 1.0 0.0;
7187                rel2.offset: -1 7;
7188             }
7189          }
7190          part { name: "elm.swallow.slot.top";
7191             type: SWALLOW;
7192             clip_to: "topclip";
7193             description { state: "default" 0.0;
7194                visible: 1;
7195                align: 0.5 0.0;
7196                rel1.to: "elm.swallow.slot.middle";
7197                rel1.relative: 0.0 0.0;
7198                rel1.offset: 0 -1;
7199                rel2.to: "elm.swallow.slot.middle";
7200                rel2.relative: 1.0 0.0;
7201                rel2.offset: -1 -1;
7202             }
7203             description { state: "visible" 0.0;
7204                inherit: "default" 0.0;
7205                rel1.offset: 0 -7;
7206                rel2.offset: -1 -7;
7207                align: 0.5 1.0;
7208             }
7209          }
7210
7211          part { name: "bottomclip";
7212             type: RECT;
7213             description { state: "default" 0.0;
7214                rel1.to_y: "edge_bottom";
7215                rel1.relative: 0.0 1.0;
7216                rel1.offset: -1 -8;
7217             }
7218          }
7219          part { name: "elm.swallow.slot.bottom";
7220             type: SWALLOW;
7221             clip_to: "bottomclip";
7222             description { state: "default" 0.0;
7223                align: 0.5 1.0;
7224                rel1.to: "elm.swallow.slot.middle";
7225                rel1.relative: 0.0 1.0;
7226                rel1.offset: 0 0;
7227                rel2.to: "elm.swallow.slot.middle";
7228                rel2.relative: 1.0 1.0;
7229                rel2.offset: -1 0;
7230             }
7231             description { state: "visible" 0.0;
7232                inherit: "default" 0.0;
7233                rel1.offset: 0 6;
7234                rel2.offset: -1 6;
7235                align: 0.5 0.0;
7236             }
7237          }
7238
7239          part {          name: "over1";
7240             mouse_events: 0;
7241             description { state: "default" 0.0;
7242                rel1.to: "button_image";
7243                rel2.to: "button_image";
7244                rel2.relative: 1.0 0.5;
7245                image {
7246                   normal: "bt_hilight.png";
7247                   border: 7 7 7 0;
7248                }
7249             }
7250          }
7251          part { name: "over2";
7252             mouse_events: 1;
7253             repeat_events: 1;
7254             ignore_flags: ON_HOLD;
7255             description { state: "default" 0.0;
7256                rel1.to: "button_image";
7257                rel2.to: "button_image";
7258                image {
7259                   normal: "bt_shine.png";
7260                   border: 7 7 7 7;
7261                }
7262             }
7263          }
7264          part { name: "edge_top";
7265             mouse_events:  0;
7266             description { state: "default" 0.0;
7267                visible: 0;
7268                rel1 {
7269                   to: "elm.swallow.size";
7270                   offset: 0 -10;
7271                }
7272                rel2 {
7273                   to: "elm.swallow.size";
7274                }
7275                image.normal: "outdent-bottom.png";
7276                image.border: 0 0 13 0;
7277                fill.smooth: 0;
7278             }
7279             description { state: "visible" 0.0;
7280                inherit: "default" 0.0;
7281                visible: 1;
7282             }
7283          }
7284          part { name: "edge_bottom";
7285             mouse_events:  0;
7286             description { state: "default" 0.0;
7287                visible: 0;
7288                rel1 {
7289                   to: "elm.swallow.size";
7290                }
7291                rel2 {
7292                   to: "elm.swallow.size";
7293                   offset: -1 9;
7294                }
7295                image.normal: "outdent-top.png";
7296                image.border: 0 0 0 13;
7297                fill.smooth: 0;
7298             }
7299             description { state: "visible" 0.0;
7300                inherit: "default" 0.0;
7301                visible: 1;
7302             }
7303          }
7304          part { name: "elm.swallow.slot.middle";
7305             type: SWALLOW;
7306             description { state: "default" 0.0;
7307                rel1.to: "elm.swallow.size";
7308                rel2.to: "elm.swallow.size";
7309             }
7310          }
7311       }
7312       programs {
7313          program { name: "end";
7314             signal: "mouse,up,1";
7315             source: "base";
7316             action: SIGNAL_EMIT "elm,action,dismiss" "";
7317          }
7318
7319          program { name: "show";
7320             signal: "elm,action,show";
7321             source: "elm";
7322             action: STATE_SET "visible" 0.0;
7323 //            transition: DECELERATE 0.5;
7324             target: "base";
7325          }
7326          program { name: "hide";
7327             signal: "elm,action,hide";
7328             source: "elm";
7329             action: STATE_SET "default" 0.0;
7330 //            transition: DECELERATE 0.5;
7331             target: "base";
7332          }
7333          program { name: "topshow";
7334             signal: "elm,action,slot,top,show";
7335             source: "elm";
7336             action: STATE_SET "visible" 0.0;
7337             target: "edge_top";
7338             after: "topshow2";
7339          }
7340          program { name: "topshow2";
7341             action: STATE_SET "visible" 0.0;
7342             transition: DECELERATE 0.5;
7343             target: "elm.swallow.slot.top";
7344          }
7345          program { name: "topshow3";
7346             signal: "elm,action,slot,top,show";
7347             source: "elm";
7348             action: STATE_SET "default" 0.0;
7349             target: "button_image";
7350          }
7351          program { name: "tophide";
7352             signal: "elm,action,slot,top,hide";
7353             source: "elm";
7354             action: STATE_SET "default" 0.0;
7355             transition: DECELERATE 0.5;
7356             target: "elm.swallow.slot.top";
7357             after: "tophide2";
7358          }
7359          program { name: "tophide2";
7360             action: STATE_SET "default" 0.0;
7361             target: "edge_top";
7362          }
7363          program { name: "bottomshow";
7364             signal: "elm,action,slot,bottom,show";
7365             source: "elm";
7366             action: STATE_SET "visible" 0.0;
7367             target: "edge_bottom";
7368             after: "bottomshow2";
7369          }
7370          program { name: "bottomshow2";
7371             action: STATE_SET "visible" 0.0;
7372             transition: DECELERATE 0.5;
7373             target: "elm.swallow.slot.bottom";
7374          }
7375          program { name: "bottomshow3";
7376             signal: "elm,action,slot,bottom,show";
7377             source: "elm";
7378             action: STATE_SET "bottom" 0.0;
7379             target: "button_image";
7380          }
7381          program { name: "bottomhide";
7382             signal: "elm,action,slot,bottom,hide";
7383             source: "elm";
7384             action: STATE_SET "default" 0.0;
7385             transition: DECELERATE 0.5;
7386             target: "elm.swallow.slot.bottom";
7387             after: "bottomhide2";
7388          }
7389          program { name: "bottomhide2";
7390             action: STATE_SET "default" 0.0;
7391             target: "edge_bottom";
7392          }
7393       }
7394    }
7395 ///////////////////////////////////////////////////////////////////////////////
7396    group { name: "elm/scroller/base/ctxpopup";
7397       data {
7398          item: "focus_highlight" "on";
7399       }
7400       script {
7401          public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
7402          public timer0(val) {
7403             new v;
7404             v = get_int(sbvis_v);
7405             if (v) {
7406                v = get_int(sbalways_v);
7407                if(!v) {
7408                   emit("do-hide-vbar", "");
7409                   set_int(sbvis_v, 0);
7410                }
7411             }
7412             v = get_int(sbvis_h);
7413             if (v) {
7414                v = get_int(sbalways_h);
7415                if(!v) {
7416                   emit("do-hide-hbar", "");
7417                   set_int(sbvis_h, 0);
7418                }
7419             }
7420             set_int(sbvis_timer, 0);
7421             return 0;
7422          }
7423       }
7424       images {
7425          image: "bt_sm_base2.png" COMP;
7426          image: "bt_sm_shine.png" COMP;
7427          image: "bt_sm_hilight.png" COMP;
7428          image: "sl_bt2_2.png" COMP;
7429       }
7430       parts {
7431          part { name: "clipper";
7432             type: RECT;
7433             mouse_events: 0;
7434             scale: 1;
7435             description { state: "default" 0.0;
7436             }
7437          }
7438          part { name: "elm.swallow.content";
7439             clip_to: "clipper";
7440             type: SWALLOW;
7441             scale: 1;
7442             description { state: "default" 0.0;
7443                align: 0.5 0.5;
7444             }
7445          }
7446          part { name: "focus_highlight";
7447             mouse_events: 0;
7448             description { state: "default" 0.0;
7449                rel1.offset: -1 -1;
7450                rel2.offset: 0 0;
7451                image { normal: "sl_bt2_2.png";
7452                   border: 7 7 7 7;
7453                   middle: 0;
7454                }
7455                fill.smooth : 0;
7456                color: 200 155 0 0;
7457             }
7458             description { state: "enabled" 0.0;
7459                inherit: "default" 0.0;
7460                color: 200 155 0 255;
7461             }
7462          }
7463          part { name: "sb_vbar_clip_master";
7464             type: RECT;
7465             mouse_events: 0;
7466             description { state: "default" 0.0;
7467             }
7468             description { state: "hidden" 0.0;
7469                visible: 0;
7470                color: 255 255 255 0;
7471             }
7472          }
7473          part { name: "sb_vbar_clip";
7474             clip_to:"sb_vbar_clip_master";
7475             type: RECT;
7476             mouse_events: 0;
7477             scale: 1;
7478             description { state: "default" 0.0;
7479                align: 0.0 0.0;
7480                rel2{ to:"clipper"; relative: 1.0 1.0;}
7481             }
7482             description { state: "hidden" 0.0;
7483                visible: 0;
7484                color: 255 255 255 0;
7485             }
7486          }
7487          part { name: "sb_vbar";
7488             type: RECT;
7489             mouse_events: 0;
7490             scale: 1;
7491             description { state: "default" 0.0;
7492                fixed: 1 1;
7493                visible: 0;
7494                align: 1.0 0.0;
7495                rel1{ to:"clipper"; relative: 1.0 0.0; }
7496                rel2{ to:"clipper"; relative: 1.0 1.0; }
7497             }
7498          }
7499          part { name: "elm.dragable.vbar";
7500             clip_to: "sb_vbar_clip";
7501             mouse_events: 0;
7502             scale: 1;
7503             dragable {
7504                x: 0 0 0;
7505                y: 1 1 0;
7506                confine: "sb_vbar";
7507             }
7508             description { state: "default" 0.0;
7509                fixed: 1 1;
7510                min: 10 17;
7511                max: 10 99999;
7512                rel1 { relative: 0.5 0.5; to: "sb_vbar"; }
7513                rel2 { relative: 0.5  0.5; to: "sb_vbar"; }
7514                image { normal: "bt_sm_base2.png";
7515                   border: 6 6 6 6;
7516                   middle: SOLID;
7517                }
7518             }
7519          }
7520          part { name: "sb_vbar_over1";
7521             clip_to: "sb_vbar_clip";
7522             mouse_events: 0;
7523             description { state: "default" 0.0;
7524                rel1.to: "elm.dragable.vbar";
7525                rel2.relative: 1.0 0.5;
7526                rel2.to: "elm.dragable.vbar";
7527                image { normal: "bt_sm_hilight.png";
7528                   border: 6 6 6 0;
7529                }
7530             }
7531          }
7532          part { name: "sb_vbar_over2";
7533             clip_to: "sb_vbar_clip";
7534             mouse_events: 0;
7535             description { state: "default" 0.0;
7536                rel1.to: "elm.dragable.vbar";
7537                rel2.to: "elm.dragable.vbar";
7538                image { normal: "bt_sm_shine.png";
7539                   border: 6 6 6 0;
7540                }
7541             }
7542          }
7543          part { name: "sb_hbar_clip_master";
7544             type: RECT;
7545             mouse_events: 0;
7546             description { state: "default" 0.0;
7547             }
7548             description { state: "hidden" 0.0;
7549                visible: 0;
7550                color: 255 255 255 0;
7551             }
7552          }
7553          part { name: "sb_hbar_clip";
7554             clip_to: "sb_hbar_clip_master";
7555             type: RECT;
7556             mouse_events: 0;
7557             scale: 1;
7558             description { state: "default" 0.0;
7559                align: 0.0 0.0;
7560                rel2{ to:"clipper"; relative: 1.0 1.0;}
7561             }
7562             description { state: "hidden" 0.0;
7563                visible: 0;
7564                color: 255 255 255 0;
7565             }
7566          }
7567          part { name: "sb_hbar";
7568             type: RECT;
7569             mouse_events: 0;
7570             scale: 1;
7571             description { state: "default" 0.0;
7572                fixed: 1 1;
7573                visible: 0;
7574                align: 0.0 1.0;
7575                rel1 { to:"clipper"; relative: 0.0 1.0; }
7576                rel2 { to:"clipper"; relative: 1.0 1.0; }
7577             }
7578          }
7579          part { name: "elm.dragable.hbar";
7580             clip_to: "sb_hbar_clip";
7581             mouse_events: 0;
7582             scale: 1;
7583             dragable {
7584                x: 1 1 0;
7585                y: 0 0 0;
7586                confine: "sb_hbar";
7587             }
7588             description { state: "default" 0.0;
7589                min: 17 10;
7590                max: 99999 10;
7591                fixed: 1 1;
7592                rel1 { relative: 0.5  0.5; to: "sb_hbar"; }
7593                rel2 { relative: 0.5  0.5; to: "sb_hbar"; }
7594                image { normal: "bt_sm_base2.png";
7595                   border: 4 4 4 4;
7596                   middle: SOLID;
7597                }
7598             }
7599          }
7600          part { name: "sb_hbar_over1";
7601             clip_to: "sb_hbar_clip";
7602             mouse_events: 0;
7603             description { state: "default" 0.0;
7604                rel1.to: "elm.dragable.hbar";
7605                rel2.relative: 1.0 0.5;
7606                rel2.to: "elm.dragable.hbar";
7607                image { normal: "bt_sm_hilight.png";
7608                   border: 6 6 6 0;
7609                }
7610             }
7611          }
7612          part { name: "sb_hbar_over2";
7613             clip_to: "sb_hbar_clip";
7614             mouse_events: 0;
7615             description { state: "default" 0.0;
7616                rel1.to: "elm.dragable.hbar";
7617                rel2.to: "elm.dragable.hbar";
7618                image { normal: "bt_sm_shine.png";
7619                   border: 6 6 6 0;
7620                }
7621             }
7622          }
7623       }
7624       programs {
7625          program { name: "load";
7626             signal: "load";
7627             source: "";
7628             script {
7629                set_state(PART:"sb_vbar_clip", "hidden", 0.0);
7630                set_state(PART:"sb_hbar_clip", "hidden", 0.0);
7631                set_int(sbvis_v, 0);
7632                set_int(sbvis_h, 0);
7633                set_int(sbalways_v, 0);
7634                                    set_int(sbalways_h, 0);
7635                set_int(sbvis_timer, 0);
7636             }
7637          }
7638          program { name: "vbar_show";
7639             signal: "elm,action,show,vbar";
7640             source: "elm";
7641             action: STATE_SET "default" 0.0;
7642             target: "sb_vbar_clip_master";
7643          }
7644          program { name: "vbar_hide";
7645             signal: "elm,action,hide,vbar";
7646             source: "elm";
7647             action:  STATE_SET "hidden" 0.0;
7648             target: "sb_vbar_clip_master";
7649          }
7650          program { name: "vbar_show_always";
7651             signal: "elm,action,show_always,vbar";
7652             source: "elm";
7653             script {
7654                new v;
7655                v = get_int(sbvis_v);
7656                v |= get_int(sbalways_v);
7657                if (!v) {
7658                   set_int(sbalways_v, 1);
7659                   emit("do-show-vbar", "");
7660                   set_int(sbvis_v, 1);
7661                }
7662             }
7663          }
7664          program { name: "vbar_show_notalways";
7665             signal: "elm,action,show_notalways,vbar";
7666             source: "elm";
7667             script {
7668                new v;
7669                v = get_int(sbalways_v);
7670                if (v) {
7671                   set_int(sbalways_v, 0);
7672                   v = get_int(sbvis_v);
7673                   if (!v) {
7674                      emit("do-hide-vbar", "");
7675                      set_int(sbvis_v, 0);
7676                   }
7677                }
7678             }
7679          }
7680          program { name: "sb_vbar_show";
7681             signal: "do-show-vbar";
7682             source: "";
7683             action:  STATE_SET "default" 0.0;
7684             transition: LINEAR 1.0;
7685             target: "sb_vbar_clip";
7686          }
7687          program { name: "sb_vbar_hide";
7688             signal: "do-hide-vbar";
7689             source: "";
7690             action:  STATE_SET "hidden" 0.0;
7691             transition: LINEAR 1.0;
7692             target: "sb_vbar_clip";
7693          }
7694          program { name: "hbar_show";
7695             signal: "elm,action,show,hbar";
7696             source: "elm";
7697             action:  STATE_SET "default" 0.0;
7698             target: "sb_hbar_clip_master";
7699          }
7700          program { name: "hbar_hide";
7701             signal: "elm,action,hide,hbar";
7702             source: "elm";
7703             action:  STATE_SET "hidden" 0.0;
7704             target: "sb_hbar_clip_master";
7705          }
7706          program { name: "hbar_show_always";
7707             signal: "elm,action,show_always,hbar";
7708             source: "elm";
7709             script {
7710                new v;
7711                v = get_int(sbvis_h);
7712                v |= get_int(sbalways_h);
7713                if (!v) {
7714                   set_int(sbalways_h, 1);
7715                   emit("do-show-hbar", "");
7716                   set_int(sbvis_h, 1);
7717                }
7718             }
7719          }
7720          program { name: "hbar_show_notalways";
7721             signal: "elm,action,show_notalways,hbar";
7722             source: "elm";
7723             script {
7724                new v;
7725                v = get_int(sbalways_h);
7726                if (v) {
7727                   set_int(sbalways_h, 0);
7728                   v = get_int(sbvis_h);
7729                   if (!v) {
7730                      emit("do-hide-hbar", "");
7731                      set_int(sbvis_h, 0);
7732                   }
7733                }
7734             }
7735          }
7736          program { name: "sb_hbar_show";
7737             signal: "do-show-hbar";
7738             source: "";
7739             action:  STATE_SET "default" 0.0;
7740             transition: LINEAR 1.0;
7741             target: "sb_hbar_clip";
7742          }
7743          program { name: "sb_hbar_hide";
7744             signal: "do-hide-hbar";
7745             source: "";
7746             action:  STATE_SET "hidden" 0.0;
7747             transition: LINEAR 1.0;
7748             target: "sb_hbar_clip";
7749          }
7750          program { name: "scroll";
7751             signal: "elm,action,scroll";
7752             source: "elm";
7753             script {
7754                new v;
7755                v = get_int(sbvis_v);
7756                v |= get_int(sbalways_v);
7757                if (!v) {
7758                   emit("do-show-vbar", "")
7759                   set_int(sbvis_v, 1);
7760                }
7761                v = get_int(sbvis_h);
7762                v |= get_int(sbalways_h);
7763                if (!v) {
7764                   emit("do-show-hbar", "");
7765                   set_int(sbvis_h, 1);
7766                }
7767                v = get_int(sbvis_timer);
7768                if (v > 0) cancel_timer(v);
7769                v = timer(1.0, "timer0", 0);
7770                set_int(sbvis_timer, v);
7771             }
7772          }
7773          program { name: "highlight_show";
7774             signal: "elm,action,focus_highlight,show";
7775             source: "elm";
7776             action: STATE_SET "enabled" 0.0;
7777             transition: ACCELERATE 0.3;
7778             target: "focus_highlight";
7779           }
7780          program { name: "highlight_hide";
7781             signal: "elm,action,focus_highlight,hide";
7782             source: "elm";
7783             action: STATE_SET "default" 0.0;
7784             transition: DECELERATE 0.3;
7785             target: "focus_highlight";
7786          }
7787       }
7788    }
7789 ///////////////////////////////////////////////////////////////////////////////
7790    group { name: "elm/ctxpopup/bg/default";
7791       parts {
7792          part { name: "ctxpopup_bg";
7793             type: RECT;
7794             mouse_events: 1;
7795             description { state: "default" 0.0;
7796                color: 0 0 0 0;
7797             }
7798             description { state: "visible" 0.0;
7799                inherit: "default" 0.0;
7800                color: 0 0 0 64;
7801             }
7802          }
7803       }
7804       programs {
7805          program { name: "clicked_event";
7806             signal: "mouse,clicked,1";
7807             source: "ctxpopup_bg";
7808             action: SIGNAL_EMIT "elm,action,click" "";
7809          }
7810          program { name: "show";
7811             signal: "elm,state,show";
7812             source: "elm";
7813             action: STATE_SET "visible" 0.0;
7814             target: "ctxpopup_bg";
7815          }
7816          program { name: "hide";
7817             signal: "elm,state,hide";
7818             source: "elm";
7819             action: STATE_SET "default" 0.0;
7820             target: "ctxpopup_bg";
7821          }
7822       }
7823    }
7824 ///////////////////////////////////////////////////////////////////////////////
7825    group { name: "elm/ctxpopup/base/default";
7826       images {
7827          image: "bt_base2.png" COMP;
7828          image: "bt_hilight.png" COMP;
7829          image: "bt_shine.png" COMP;
7830       }
7831       parts {
7832          part { name: "arrow_area_left";
7833             type: RECT;
7834             mouse_events: 0;
7835             description { state: "default" 0.0;
7836                visible: 0;
7837                min: 40 0;
7838                fixed: 1 1;
7839                align: 1 0.5;
7840                rel1 {
7841                   to_y: "base";
7842                }
7843                rel2 {
7844                   relative:0 1;
7845                   to:"base";
7846                }
7847             }
7848          }
7849          part { name: "arrow_area_right";
7850             type: RECT;
7851             mouse_events: 0;
7852             description { state: "default" 0.0;
7853                visible: 0;
7854                min: 40 0;
7855                fixed: 1 1;
7856                align: 0 0.5;
7857                rel1 {
7858                   relative: 1 0;
7859                   to:"base";
7860                }
7861                rel2 {
7862                   to_y: "base";
7863                }
7864             }
7865          }
7866          part { name: "arrow_area_up";
7867             type: RECT;
7868             mouse_events: 0;
7869             description { state: "default" 0.0;
7870                visible: 0;
7871                min: 0 40;
7872                fixed: 1 1;
7873                align: 0.5 1;
7874                rel1 {
7875                   to_x: "base";
7876                }
7877                rel2 {
7878                   relative: 1 0;
7879                   to:"base";
7880                }
7881             }
7882          }
7883          part { name: "arrow_area_down";
7884             type: RECT;
7885             mouse_events: 0;
7886             description { state: "default" 0.0;
7887                visible: 0;
7888                min: 0 40;
7889                fixed: 1 1;
7890                align: 0.5 0;
7891                rel1 {
7892                   relative: 0 1;
7893                   to:"base";
7894                }
7895                rel2 {
7896                   to_x: "base";
7897                }
7898             }
7899          }
7900          part { name: "elm.swallow.arrow_up";
7901             type: SWALLOW;
7902             mouse_events: 0;
7903             scale: 1;
7904             dragable {
7905                x: 1 1 0;
7906                y: 1 1 0;
7907                confine: "arrow_area_up";
7908             }
7909             description {
7910                state: "default" 0.0;
7911                min: 40 40;
7912                fixed: 1 1;
7913                visible: 1;
7914             }
7915          }
7916          part { name: "elm.swallow.arrow_down";
7917             type: SWALLOW;
7918             mouse_events: 0;
7919             scale: 1;
7920             dragable {
7921                x: 1 1 0;
7922                y: 1 1 0;
7923                confine: "arrow_area_down";
7924             }
7925             description {
7926                state: "default" 0.0;
7927                min: 40 40;
7928                fixed: 1 1;
7929                visible: 1;
7930             }
7931          }
7932          part { name: "elm.swallow.arrow_left";
7933             type: SWALLOW;
7934             mouse_events: 0;
7935             scale: 1;
7936             dragable {
7937                x: 1 1 0;
7938                y: 1 1 0;
7939                confine: "arrow_area_left";
7940             }
7941             description {
7942                state: "default" 0.0;
7943                min: 40 40;
7944                fixed: 1 1;
7945                visible: 1;
7946             }
7947          }
7948          part { name: "elm.swallow.arrow_right";
7949             type: SWALLOW;
7950             mouse_events: 0;
7951             scale: 1;
7952             dragable {
7953                x: 1 1 0;
7954                y: 1 1 0;
7955                confine: "arrow_area_right";
7956             }
7957             description {
7958                state: "default" 0.0;
7959                min: 40 40;
7960                fixed: 1 1;
7961                visible: 1;
7962             }
7963          }
7964          part { name: "base";
7965             scale: 1;
7966             description { state: "default" 0.0;
7967                rel1.offset: -3 -3;
7968                rel2.offset: 3 3;
7969                image { normal: "bt_base2.png";
7970                   border: 7 7 7 7;
7971                }
7972             }
7973          }
7974          part { name: "over1";
7975             scale: 1;
7976             description { state: "default" 0.0;
7977                rel1.to: "base";
7978                rel2.to: "base";
7979                rel2.relative: 1.0 0.5;
7980                image { normal: "bt_hilight.png";
7981                   border: 7 7 7 0;
7982                }
7983             }
7984          }
7985          part { name: "over2";
7986             scale: 1;
7987             description { state: "default" 0.0;
7988                rel1.to: "base";
7989                rel2.to: "base";
7990                image { normal: "bt_shine.png";
7991                   border: 7 7 7 7;
7992                }
7993             }
7994          }
7995          part { name: "elm.swallow.content";
7996             type: SWALLOW;
7997             description { state: "default" 0.0;
7998                rel1 { to:"base"; offset: 4 4; };
7999                rel2 { to:"base"; offset: -5 -5; };
8000             }
8001          }
8002       }
8003    }
8004 ///////////////////////////////////////////////////////////////////////////////
8005    group { name: "elm/ctxpopup/arrow/default";
8006       images {
8007          image: "icon_arrow_left.png" COMP;
8008          image: "icon_arrow_right.png" COMP;
8009          image: "icon_arrow_up.png" COMP;
8010          image: "icon_arrow_down.png" COMP;
8011       }
8012       parts {
8013          part { name: "ctxpopup_arrow";
8014             type: IMAGE;
8015             scale: 1;
8016             description {
8017                state: "default" 0.0;
8018                min: 40 40;
8019                fixed: 1 1;
8020                visible: 0;
8021                align: 0.5 0.5;
8022             }
8023             description {
8024                state: "left" 0.0;
8025                min: 40 40;
8026                fixed: 1 1;
8027                align: 0.0 0.5;
8028                rel1 { offset: 7 0; }
8029                rel2 { offset: 6 -1; }
8030                image { normal: "icon_arrow_left.png"; }
8031             }
8032             description { state: "right" 0.0;
8033                min: 40 40;
8034                fixed: 1 1;
8035                align: 1.0 0.5;
8036                rel1 { offset: -7 0; }
8037                rel2 { offset: -8 -1; }
8038                image { normal: "icon_arrow_right.png"; }
8039             }
8040             description { state: "top" 0.0;
8041                min: 40 40;
8042                fixed: 1 1;
8043                align: 0.5 0.0;
8044                rel1 { offset: 0 7; }
8045                rel2 { offset: -1 6; }
8046                image { normal: "icon_arrow_up.png"; }
8047             }
8048             description { state: "bottom" 0.0;
8049                min: 40 40;
8050                fixed: 1 1;
8051                align: 0.5 1.0;
8052                rel1 { offset: 0 -7; }
8053                rel2 { offset: -1 -8; }
8054                image { normal: "icon_arrow_down.png"; }
8055             }
8056          }
8057       }
8058       programs {
8059          program { name: "enable_left_arrow";
8060             signal: "elm,state,left";
8061             source: "elm";
8062             action: STATE_SET "left" 0.0;
8063             target: "ctxpopup_arrow";
8064          }
8065          program { name: "enable_right_arrow";
8066             signal: "elm,state,right";
8067             source: "elm";
8068             action: STATE_SET "right" 0.0;
8069             target: "ctxpopup_arrow";
8070          }
8071          program { name: "enable_top_arrow";
8072             signal: "elm,state,top";
8073             source: "elm";
8074             action: STATE_SET "top" 0.0;
8075             target: "ctxpopup_arrow";
8076          }
8077          program { name: "enable_bottom_arrow";
8078             signal: "elm,state,bottom";
8079             source: "elm";
8080             action: STATE_SET "bottom" 0.0;
8081             target: "ctxpopup_arrow";
8082          }
8083       }
8084    }
8085 ///////////////////////////////////////////////////////////////////////////////
8086    group {
8087       name: "elm/ctxpopup/icon_text_style_item/default";
8088            alias: "elm/ctxpopup/text_style_item/default";
8089            alias: "elm/ctxpopup/icon_style_item/default";
8090       images {
8091          image: "hoversel_entry_bg.png" COMP;
8092       }
8093       parts {
8094          part { name: "event";
8095             mouse_events: 1;
8096             description { state: "default" 0.0;
8097             }
8098          }
8099          part { name: "bg";
8100             mouse_events: 0;
8101             description { state: "default" 0.0;
8102                rel1.offset: 2 2;
8103                rel2.offset: -3 -3;
8104                image { normal:"hoversel_entry_bg.png";
8105                   border: 0 0 2 2;
8106                }
8107                fill.smooth: 0;
8108                color: 255 255 255 0;
8109             }
8110             description { state: "clicked" 0.0;
8111                inherit: "default" 0.0;
8112                color: 255 255 255 255;
8113             }
8114          }
8115          part { name: "elm.swallow.icon";
8116             type: SWALLOW;
8117             clip_to: "disclip";
8118             scale: 1;
8119             description { state: "default" 0.0;
8120                min: 25 25;
8121                max: 25 25;
8122                align: 0 0.5;
8123                aspect: 1.0 1.0;
8124                rel1 { offset: 10 10; }
8125                                         rel2 { offset: 0 -10; }
8126             }
8127          }
8128          part { name: "elm.text";
8129             type: TEXT;
8130             mouse_events: 0;
8131             clip_to: "disclip";
8132             scale: 1;
8133             description { state: "default" 0.0;
8134                min: 1 40;
8135                fixed: 0 1;
8136                align: 0.5 0.5;
8137                rel1 { relative: 1.0 0.0; to: "elm.swallow.icon"; offset: 10 0; }
8138                rel2 { relative: 1.0 1.0; offset: -11 -1; }
8139                color: 255 255 255 255;
8140                text {
8141                   font: "Sans";
8142                   size: 10;
8143                   align: 0.0 0.5;
8144                   min: 1 1;
8145                }
8146             }
8147             description { state: "clicked" 0.0;
8148                inherit: "default" 0.0;
8149                color: 0 0 0 255;
8150             }
8151          }
8152          part { name: "over1";
8153             mouse_events: 1;
8154             repeat_events: 1;
8155             ignore_flags: ON_HOLD;
8156             description { state: "default" 0.0;
8157                color: 255 255 255 0;
8158             }
8159             description { state: "clicked" 0.0;
8160                inherit: "default" 0.0;
8161                color: 255 255 255 255;
8162             }
8163          }
8164          part { name: "over2";
8165             mouse_events: 1;
8166             repeat_events: 1;
8167             description { state: "default" 0.0;
8168                color: 255 255 255 0;
8169             }
8170             description { state: "clicked" 0.0;
8171                inherit: "default" 0.0;
8172                color: 255 255 255 255;
8173             }
8174          }
8175          part { name: "disclip";
8176             type: RECT;
8177             description { state: "default" 0.0;
8178                color: 255 255 255 255;
8179             }
8180             description { state: "enabled" 0.0;
8181                color: 127 127 127 127;
8182             }
8183          }
8184          part { name: "blocker";
8185             description { state: "default" 0.0;
8186                visible: 0;
8187             }
8188             description { state: "enabled" 0.0;
8189                visible: 1;
8190                color: 0 0 0 0;
8191             }
8192          }
8193       }
8194       programs {
8195          program {
8196             name: "item_unclick";
8197             signal: "mouse,up,1";
8198             source: "over1";
8199             action: SIGNAL_EMIT "elm,action,click" "";
8200          }
8201          program { name: "disable";
8202             signal: "elm,state,disabled";
8203             source: "elm";
8204             action: STATE_SET "enabled" 0.0;
8205             target: "disclip";
8206             target: "blocker";
8207          }
8208          program { name: "enable";
8209             signal: "elm,state,enabled";
8210             source: "elm";
8211             action: STATE_SET "default" 0.0;
8212             target: "disclip";
8213             target: "blocker";
8214          }
8215          program { name: "item_click2";
8216             signal: "mouse,down,1";
8217             source: "over2";
8218             script {
8219                set_state(PART:"elm.text", "clicked", 0.0);
8220                set_state(PART:"bg", "clicked", 0.0);
8221             }
8222          }
8223          program { name: "item_unclick2";
8224             signal: "mouse,up,1";
8225             source: "over2";
8226             script {
8227                                         set_state(PART:"elm.text", "default", 0.0);
8228                set_state(PART:"bg", "default", 0.0);
8229             }
8230          }
8231       }
8232    }
8233 ///////////////////////////////////////////////////////////////////////////////
8234 // emoticon images from:
8235 // Tanya - Latvia
8236 // http://lazycrazy.deviantart.com/
8237 // http://lazycrazy.deviantart.com/art/Very-Emotional-Emoticons-144461621
8238   group { name: "elm/entry/emoticon/angry/default"; images.image:
8239      "emo-angry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8240         "emo-angry.png"; } } } }
8241   group { name: "elm/entry/emoticon/angry-shout/default"; images.image:
8242      "emo-angry-shout.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8243         "emo-angry-shout.png"; } } } }
8244   group { name: "elm/entry/emoticon/crazy-laugh/default"; images.image:
8245      "emo-crazy-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8246         "emo-crazy-laugh.png"; } } } }
8247   group { name: "elm/entry/emoticon/evil-laugh/default"; images.image:
8248      "emo-evil-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8249         "emo-evil-laugh.png"; } } } }
8250   group { name: "elm/entry/emoticon/evil/default"; images.image:
8251      "emo-evil.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8252         "emo-evil.png"; } } } }
8253   group { name: "elm/entry/emoticon/goggle-smile/default"; images.image:
8254      "emo-goggle-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8255         "emo-goggle-smile.png"; } } } }
8256   group { name: "elm/entry/emoticon/grumpy/default"; images.image:
8257      "emo-grumpy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8258         "emo-grumpy.png"; } } } }
8259   group { name: "elm/entry/emoticon/grumpy-smile/default"; images.image:
8260      "emo-grumpy-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8261         "emo-grumpy-smile.png"; } } } }
8262   group { name: "elm/entry/emoticon/guilty/default"; images.image:
8263      "emo-guilty.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8264         "emo-guilty.png"; } } } }
8265   group { name: "elm/entry/emoticon/guilty-smile/default"; images.image:
8266      "emo-guilty-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8267         "emo-guilty-smile.png"; } } } }
8268   group { name: "elm/entry/emoticon/haha/default"; images.image:
8269      "emo-haha.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8270         "emo-haha.png"; } } } }
8271   group { name: "elm/entry/emoticon/half-smile/default"; images.image:
8272      "emo-half-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8273         "emo-half-smile.png"; } } } }
8274   group { name: "elm/entry/emoticon/happy-panting/default"; images.image:
8275      "emo-happy-panting.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8276         "emo-happy-panting.png"; } } } }
8277   group { name: "elm/entry/emoticon/happy/default"; images.image:
8278      "emo-happy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8279         "emo-happy.png"; } } } }
8280   group { name: "elm/entry/emoticon/indifferent/default"; images.image:
8281      "emo-indifferent.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8282         "emo-indifferent.png"; } } } }
8283   group { name: "elm/entry/emoticon/kiss/default"; images.image:
8284      "emo-kiss.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8285         "emo-kiss.png"; } } } }
8286   group { name: "elm/entry/emoticon/knowing-grin/default"; images.image:
8287      "emo-knowing-grin.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8288         "emo-knowing-grin.png"; } } } }
8289   group { name: "elm/entry/emoticon/laugh/default"; images.image:
8290      "emo-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8291         "emo-laugh.png"; } } } }
8292   group { name: "elm/entry/emoticon/little-bit-sorry/default"; images.image:
8293      "emo-little-bit-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8294         "emo-little-bit-sorry.png"; } } } }
8295   group { name: "elm/entry/emoticon/love-lots/default"; images.image:
8296      "emo-love-lots.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8297         "emo-love-lots.png"; } } } }
8298   group { name: "elm/entry/emoticon/love/default"; images.image:
8299      "emo-love.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8300         "emo-love.png"; } } } }
8301   group { name: "elm/entry/emoticon/minimal-smile/default"; images.image:
8302      "emo-minimal-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8303         "emo-minimal-smile.png"; } } } }
8304   group { name: "elm/entry/emoticon/not-happy/default"; images.image:
8305      "emo-not-happy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8306         "emo-not-happy.png"; } } } }
8307   group { name: "elm/entry/emoticon/not-impressed/default"; images.image:
8308      "emo-not-impressed.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8309         "emo-not-impressed.png"; } } } }
8310   group { name: "elm/entry/emoticon/omg/default"; images.image:
8311      "emo-omg.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8312         "emo-omg.png"; } } } }
8313   group { name: "elm/entry/emoticon/opensmile/default"; images.image:
8314      "emo-opensmile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8315         "emo-opensmile.png"; } } } }
8316   group { name: "elm/entry/emoticon/smile/default"; images.image:
8317      "emo-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8318         "emo-smile.png"; } } } }
8319   group { name: "elm/entry/emoticon/sorry/default"; images.image:
8320      "emo-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8321         "emo-sorry.png"; } } } }
8322   group { name: "elm/entry/emoticon/squint-laugh/default"; images.image:
8323      "emo-squint-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8324         "emo-squint-laugh.png"; } } } }
8325   group { name: "elm/entry/emoticon/surprised/default"; images.image:
8326      "emo-surprised.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8327         "emo-surprised.png"; } } } }
8328   group { name: "elm/entry/emoticon/suspicious/default"; images.image:
8329      "emo-suspicious.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8330         "emo-suspicious.png"; } } } }
8331   group { name: "elm/entry/emoticon/tongue-dangling/default"; images.image:
8332      "emo-tongue-dangling.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8333         "emo-tongue-dangling.png"; } } } }
8334   group { name: "elm/entry/emoticon/tongue-poke/default"; images.image:
8335      "emo-tongue-poke.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8336         "emo-tongue-poke.png"; } } } }
8337   group { name: "elm/entry/emoticon/uh/default"; images.image:
8338      "emo-uh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8339         "emo-uh.png"; } } } }
8340   group { name: "elm/entry/emoticon/unhappy/default"; images.image:
8341      "emo-unhappy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8342         "emo-unhappy.png"; } } } }
8343   group { name: "elm/entry/emoticon/very-sorry/default"; images.image:
8344      "emo-very-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8345         "emo-very-sorry.png"; } } } }
8346   group { name: "elm/entry/emoticon/what/default"; images.image:
8347      "emo-what.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8348         "emo-what.png"; } } } }
8349   group { name: "elm/entry/emoticon/wink/default"; images.image:
8350      "emo-wink.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8351         "emo-wink.png"; } } } }
8352   group { name: "elm/entry/emoticon/worried/default"; images.image:
8353      "emo-worried.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8354         "emo-worried.png"; } } } }
8355   group { name: "elm/entry/emoticon/wtf/default"; images.image:
8356      "emo-wtf.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8357         "emo-wtf.png"; } } } }
8358 //------------------------------------------------------------
8359    group { name: "elm/entry/base/default";
8360       styles
8361       {
8362          style { name: "entry_textblock_style";
8363             base: "font=Sans font_size=10 color=#000 wrap=word text_class=entry";
8364             tag:  "br" "\n";
8365             tag:  "ps" "ps";
8366             tag:  "tab" "\t";
8367             tag:  "em" "+ font=Sans:style=Oblique";
8368             tag:  "b" "+ font=Sans:style=Bold";
8369             tag:  "link" "+ color=#800 underline=on underline_color=#8008";
8370             tag:  "hilight" "+ font=Sans:style=Bold";
8371          }
8372          style { name: "entry_textblock_disabled_style";
8373             base: "font=Sans font_size=10 color=#00000080 wrap=word text_class=entry";
8374             tag:  "br" "\n";
8375             tag:  "ps" "ps";
8376             tag:  "tab" "\t";
8377             tag:  "em" "+ font=Sans:style=Oblique";
8378             tag:  "b" "+ font=Sans:style=Bold";
8379             tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
8380             tag:  "hilight" "+ font=Sans:style=Bold";
8381          }
8382       }
8383       data {
8384 //         item: context_menu_orientation "horizontal";
8385       }
8386       parts {
8387          part { name: "elm.text";
8388             type: TEXTBLOCK;
8389             mouse_events: 1;
8390             scale: 1;
8391             entry_mode: EDITABLE;
8392             select_mode: EXPLICIT;
8393             multiline: 1;
8394             source: "elm/entry/selection/default"; // selection under
8395    //       source2: "X"; // selection over
8396    //       source3: "X"; // cursor under
8397             source4: "elm/entry/cursor/default"; // cursorover
8398             source5: "elm/entry/anchor/default"; // anchor under
8399    //       source6: "X"; // anchor over
8400             description { state: "default" 0.0;
8401                /* we gotta use 0 0 here, because of scrolled entries */
8402                fixed: 0 0;
8403                text {
8404                   style: "entry_textblock_style";
8405                   min: 0 1;
8406                   align: 0.0 0.0;
8407                }
8408             }
8409             description { state: "disabled" 0.0;
8410                inherit: "default" 0.0;
8411                text {
8412                   style: "entry_textblock_disabled_style";
8413                   min: 0 1;
8414                }
8415             }
8416          }
8417       }
8418       programs {
8419          program { name: "focus";
8420             signal: "load";
8421             source: "";
8422             action: FOCUS_SET;
8423             target: "elm.text";
8424          }
8425          program { name: "disable";
8426             signal: "elm,state,disabled";
8427             source: "elm";
8428             action: STATE_SET "disabled" 0.0;
8429             target: "elm.text";
8430          }
8431          program { name: "enable";
8432             signal: "elm,state,enabled";
8433             source: "elm";
8434             action: STATE_SET "default" 0.0;
8435             target: "elm.text";
8436          }
8437       }
8438    }
8439
8440    group { name: "elm/entry/base-mixedwrap/default";
8441       styles
8442       {
8443          style { name: "entry_textblock_style_mixedwrap";
8444             base: "font=Sans font_size=10 color=#000 wrap=mixed text_class=entry";
8445             tag:  "br" "\n";
8446             tag:  "ps" "ps";
8447             tag:  "tab" "\t";
8448             tag:  "em" "+ font=Sans:style=Oblique";
8449             tag:  "b" "+ font=Sans:style=Bold";
8450             tag:  "link" "+ color=#800 underline=on underline_color=#8008";
8451             tag:  "hilight" "+ font=Sans:style=Bold";
8452          }
8453          style { name: "entry_textblock_disabled_style_mixedwrap";
8454             base: "font=Sans font_size=10 color=#00000080 wrap=char text_class=entry";
8455             tag:  "br" "\n";
8456             tag:  "ps" "ps";
8457             tag:  "tab" "\t";
8458             tag:  "em" "+ font=Sans:style=Oblique";
8459             tag:  "b" "+ font=Sans:style=Bold";
8460             tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
8461             tag:  "hilight" "+ font=Sans:style=Bold";
8462          }
8463       }
8464       parts {
8465          part { name: "elm.text";
8466             type: TEXTBLOCK;
8467             mouse_events: 1;
8468             scale: 1;
8469             entry_mode: EDITABLE;
8470             select_mode: EXPLICIT;
8471             multiline: 1;
8472             source: "elm/entry/selection/default"; // selection under
8473 //          source2: "X"; // selection over
8474 //          source3: "X"; // cursor under
8475             source4: "elm/entry/cursor/default"; // cursorover
8476             source5: "elm/entry/anchor/default"; // anchor under
8477 //          source6: "X"; // anchor over
8478             description { state: "default" 0.0;
8479                fixed: 1 0;
8480                text {
8481                   style: "entry_textblock_style_mixedwrap";
8482                   min: 0 1;
8483                   align: 0.0 0.0;
8484                }
8485             }
8486             description { state: "disabled" 0.0;
8487                inherit: "default" 0.0;
8488                text {
8489                   style: "entry_textblock_disabled_style_mixedwrap";
8490                   min: 0 1;
8491                }
8492             }
8493          }
8494       }
8495       programs {
8496          program { name: "focus";
8497             signal: "load";
8498             source: "";
8499             action: FOCUS_SET;
8500             target: "elm.text";
8501          }
8502          program { name: "disable";
8503             signal: "elm,state,disabled";
8504             source: "elm";
8505             action: STATE_SET "disabled" 0.0;
8506             target: "elm.text";
8507          }
8508          program { name: "enable";
8509             signal: "elm,state,enabled";
8510             source: "elm";
8511             action: STATE_SET "default" 0.0;
8512             target: "elm.text";
8513          }
8514       }
8515    }
8516
8517    group { name: "elm/entry/base-charwrap/default";
8518       styles
8519       {
8520          style { name: "entry_textblock_style_charwrap";
8521             base: "font=Sans font_size=10 color=#000 wrap=char text_class=entry";
8522             tag:  "br" "\n";
8523             tag:  "ps" "ps";
8524             tag:  "tab" "\t";
8525             tag:  "em" "+ font=Sans:style=Oblique";
8526             tag:  "b" "+ font=Sans:style=Bold";
8527             tag:  "link" "+ color=#800 underline=on underline_color=#8008";
8528             tag:  "hilight" "+ font=Sans:style=Bold";
8529          }
8530          style { name: "entry_textblock_disabled_style_charwrap";
8531             base: "font=Sans font_size=10 color=#00000080 wrap=char text_class=entry";
8532             tag:  "br" "\n";
8533             tag:  "ps" "ps";
8534             tag:  "tab" "\t";
8535             tag:  "em" "+ font=Sans:style=Oblique";
8536             tag:  "b" "+ font=Sans:style=Bold";
8537             tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
8538             tag:  "hilight" "+ font=Sans:style=Bold";
8539          }
8540       }
8541       parts {
8542          part { name: "elm.text";
8543             type: TEXTBLOCK;
8544             mouse_events: 1;
8545             scale: 1;
8546             entry_mode: EDITABLE;
8547             select_mode: EXPLICIT;
8548             multiline: 1;
8549             source: "elm/entry/selection/default"; // selection under
8550 //          source2: "X"; // selection over
8551 //          source3: "X"; // cursor under
8552             source4: "elm/entry/cursor/default"; // cursorover
8553             source5: "elm/entry/anchor/default"; // anchor under
8554 //          source6: "X"; // anchor over
8555             description { state: "default" 0.0;
8556                fixed: 1 0;
8557                text {
8558                   style: "entry_textblock_style_charwrap";
8559                   min: 0 1;
8560                   align: 0.0 0.0;
8561                }
8562             }
8563             description { state: "disabled" 0.0;
8564                inherit: "default" 0.0;
8565                text {
8566                   style: "entry_textblock_disabled_style_charwrap";
8567                   min: 0 1;
8568                }
8569             }
8570          }
8571       }
8572       programs {
8573          program { name: "focus";
8574             signal: "load";
8575             source: "";
8576             action: FOCUS_SET;
8577             target: "elm.text";
8578          }
8579          program { name: "disable";
8580             signal: "elm,state,disabled";
8581             source: "elm";
8582             action: STATE_SET "disabled" 0.0;
8583             target: "elm.text";
8584          }
8585          program { name: "enable";
8586             signal: "elm,state,enabled";
8587             source: "elm";
8588             action: STATE_SET "default" 0.0;
8589             target: "elm.text";
8590          }
8591       }
8592    }
8593
8594    group { name: "elm/entry/base-nowrap/default";
8595       parts {
8596          part { name: "elm.text";
8597             type: TEXTBLOCK;
8598             mouse_events: 1;
8599             scale: 1;
8600             entry_mode: EDITABLE;
8601             select_mode: EXPLICIT;
8602             multiline: 1;
8603             source: "elm/entry/selection/default"; // selection under
8604             source4: "elm/entry/cursor/default"; // cursorover
8605             source5: "elm/entry/anchor/default"; // anchor under
8606             description { state: "default" 0.0;
8607                text {
8608                   style: "entry_textblock_style";
8609                   min: 1 1;
8610                   align: 0.0 0.0;
8611                }
8612             }
8613             description { state: "disabled" 0.0;
8614                inherit: "default" 0.0;
8615                text {
8616                   style: "entry_textblock_disabled_style";
8617                   min: 0 1;
8618                }
8619             }
8620          }
8621 /*
8622          part { name: "sel";
8623             type: RECT;
8624             mouse_events: 0;
8625             description { state: "default" 0.0;
8626                align: 1.0 1.0;
8627                max: 16 16;
8628                aspect: 1.0 1.0;
8629                color: 255 0 0 0;
8630             }
8631             description { state: "visible" 0.0;
8632                inherit: "default" 0.0;
8633                color: 255 0 0 50;
8634             }
8635          }
8636  */
8637       }
8638       programs {
8639          program { name: "focus";
8640             signal: "load";
8641             source: "";
8642             action: FOCUS_SET;
8643             target: "elm.text";
8644          }
8645          program { name: "disable";
8646             signal: "elm,state,disabled";
8647             source: "elm";
8648             action: STATE_SET "disabled" 0.0;
8649             target: "elm.text";
8650          }
8651          program { name: "enable";
8652             signal: "elm,state,enabled";
8653             source: "elm";
8654             action: STATE_SET "default" 0.0;
8655             target: "elm.text";
8656          }
8657 /*
8658          program { name: "selmode0";
8659             signal: "elm,state,select,on";
8660             source: "elm";
8661             action: STATE_SET "visible" 0.0;
8662             target: "sel";
8663          }
8664          program { name: "selmode1";
8665             signal: "elm,state,select,off";
8666             source: "elm";
8667             action: STATE_SET "default" 0.0;
8668             target: "sel";
8669          }
8670  */
8671       }
8672    }
8673
8674    group { name: "elm/entry/base-single/default";
8675       styles
8676       {
8677          style { name: "entry_single_textblock_style";
8678             base: "font=Sans font_size=10 color=#000 wrap=none text_class=entry";
8679             tag:  "br" "\n";
8680             tag:  "ps" "ps";
8681             tag:  "tab" "\t";
8682             tag:  "em" "+ font=Sans:style=Oblique";
8683             tag:  "b" "+ font=Sans:style=Bold";
8684             tag:  "link" "+ color=#800 underline=on underline_color=#8008";
8685             tag:  "hilight" "+ font=Sans:style=Bold";
8686          }
8687          style { name: "entry_single_textblock_disabled_style";
8688             base: "font=Sans font_size=10 color=#00000080 wrap=none text_class=entry";
8689             tag:  "br" "\n";
8690             tag:  "ps" "ps";
8691             tag:  "tab" "\t";
8692             tag:  "em" "+ font=Sans:style=Oblique";
8693             tag:  "b" "+ font=Sans:style=Bold";
8694             tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
8695             tag:  "hilight" "+ font=Sans:style=Bold";
8696          }
8697       }
8698       parts {
8699          part { name: "elm.text";
8700             type: TEXTBLOCK;
8701             mouse_events: 1;
8702             scale: 1;
8703             entry_mode: EDITABLE;
8704             select_mode: EXPLICIT;
8705             multiline: 0;
8706             source: "elm/entry/selection/default"; // selection under
8707             source4: "elm/entry/cursor/default"; // cursorover
8708             source5: "elm/entry/anchor/default"; // anchor under
8709             description { state: "default" 0.0;
8710                text {
8711                   style: "entry_single_textblock_style";
8712                   min: 1 1;
8713                   max: 0 0;
8714                   align: 0.0 0.5;
8715                }
8716             }
8717             description { state: "disabled" 0.0;
8718                inherit: "default" 0.0;
8719                text {
8720                   style: "entry_single_textblock_disabled_style";
8721                }
8722             }
8723          }
8724       }
8725       programs {
8726          program { name: "focus";
8727             signal: "load";
8728             source: "";
8729             action: FOCUS_SET;
8730             target: "elm.text";
8731          }
8732          program { name: "disable";
8733             signal: "elm,state,disabled";
8734             source: "elm";
8735             action: STATE_SET "disabled" 0.0;
8736             target: "elm.text";
8737          }
8738          program { name: "enable";
8739             signal: "elm,state,enabled";
8740             source: "elm";
8741             action: STATE_SET "default" 0.0;
8742             target: "elm.text";
8743          }
8744       }
8745    }
8746
8747    group { name: "elm/entry/base-single-noedit/default";
8748       parts {
8749          part { name: "elm.text";
8750             type: TEXTBLOCK;
8751             mouse_events: 1;
8752             scale: 1;
8753             entry_mode: PLAIN;
8754             select_mode: EXPLICIT;
8755             multiline: 0;
8756             source: "elm/entry/selection/default"; // selection under
8757             source5: "elm/entry/anchor/default"; // anchor under
8758             description { state: "default" 0.0;
8759                text {
8760                   style: "entry_single_textblock_style";
8761                   min: 1 1;
8762                   max: 0 0;
8763                   align: 0.0 0.5;
8764                }
8765             }
8766             description { state: "disabled" 0.0;
8767                inherit: "default" 0.0;
8768                text {
8769                style: "entry_single_textblock_disabled_style";
8770                }
8771             }
8772          }
8773       }
8774       programs {
8775          program { name: "focus";
8776             signal: "load";
8777             source: "";
8778             action: FOCUS_SET;
8779             target: "elm.text";
8780          }
8781          program { name: "disable";
8782             signal: "elm,state,disabled";
8783             source: "elm";
8784             action: STATE_SET "disabled" 0.0;
8785             target: "elm.text";
8786          }
8787          program { name: "enable";
8788             signal: "elm,state,enabled";
8789             source: "elm";
8790             action: STATE_SET "default" 0.0;
8791             target: "elm.text";
8792          }
8793       }
8794    }
8795
8796    group { name: "elm/entry/base-noedit/default";
8797       parts {
8798          part { name: "elm.text";
8799             type: TEXTBLOCK;
8800             mouse_events: 1;
8801             scale: 1;
8802             entry_mode: PLAIN;
8803             select_mode: EXPLICIT;
8804             multiline: 1;
8805             source: "elm/entry/selection/default"; // selection under
8806             source5: "elm/entry/anchor/default"; // anchor under
8807             description { state: "default" 0.0;
8808                fixed: 1 0;
8809                text {
8810                   style: "entry_textblock_style";
8811                   min: 0 1;
8812                   align: 0.0 0.0;
8813                }
8814             }
8815             description { state: "disabled" 0.0;
8816                inherit: "default" 0.0;
8817                text {
8818                   style: "entry_textblock_disabled_style";
8819                }
8820             }
8821          }
8822       }
8823       programs {
8824          program { name: "focus";
8825             signal: "load";
8826             source: "";
8827             action: FOCUS_SET;
8828             target: "elm.text";
8829          }
8830          program { name: "disable";
8831             signal: "elm,state,disabled";
8832             source: "elm";
8833             action: STATE_SET "disabled" 0.0;
8834             target: "elm.text";
8835          }
8836          program { name: "enable";
8837             signal: "elm,state,enabled";
8838             source: "elm";
8839             action: STATE_SET "default" 0.0;
8840             target: "elm.text";
8841          }
8842       }
8843    }
8844
8845    group { name: "elm/entry/base-noedit-mixedwrap/default";
8846       parts {
8847          part { name: "elm.text";
8848             type: TEXTBLOCK;
8849             mouse_events: 1;
8850             scale: 1;
8851             entry_mode: PLAIN;
8852             select_mode: EXPLICIT;
8853             multiline: 1;
8854             source: "elm/entry/selection/default"; // selection under
8855             source5: "elm/entry/anchor/default"; // anchor under
8856             description { state: "default" 0.0;
8857                fixed: 1 0;
8858                text {
8859                   style: "entry_textblock_style_mixedwrap";
8860                   min: 0 1;
8861                   align: 0.0 0.0;
8862                }
8863             }
8864             description { state: "disabled" 0.0;
8865                inherit: "default" 0.0;
8866                text {
8867                   style: "entry_textblock_disabled_style_mixedwrap";
8868                }
8869             }
8870          }
8871       }
8872       programs {
8873          program { name: "focus";
8874             signal: "load";
8875             source: "";
8876             action: FOCUS_SET;
8877             target: "elm.text";
8878          }
8879          program { name: "disable";
8880             signal: "elm,state,disabled";
8881             source: "elm";
8882             action: STATE_SET "disabled" 0.0;
8883             target: "elm.text";
8884          }
8885          program { name: "enable";
8886             signal: "elm,state,enabled";
8887             source: "elm";
8888             action: STATE_SET "default" 0.0;
8889             target: "elm.text";
8890          }
8891       }
8892    }
8893
8894    group { name: "elm/entry/base-noedit-charwrap/default";
8895       parts {
8896          part { name: "elm.text";
8897             type: TEXTBLOCK;
8898             mouse_events: 1;
8899             scale: 1;
8900             entry_mode: PLAIN;
8901             select_mode: EXPLICIT;
8902             multiline: 1;
8903             source: "elm/entry/selection/default"; // selection under
8904             source5: "elm/entry/anchor/default"; // anchor under
8905             description { state: "default" 0.0;
8906                fixed: 1 0;
8907                text {
8908                   style: "entry_textblock_style_charwrap";
8909                   min: 0 1;
8910                   align: 0.0 0.0;
8911                }
8912             }
8913             description { state: "disabled" 0.0;
8914                inherit: "default" 0.0;
8915                text {
8916                   style: "entry_textblock_disabled_style_charwrap";
8917                }
8918             }
8919          }
8920       }
8921       programs {
8922          program { name: "focus";
8923             signal: "load";
8924             source: "";
8925             action: FOCUS_SET;
8926             target: "elm.text";
8927          }
8928          program { name: "disable";
8929             signal: "elm,state,disabled";
8930             source: "elm";
8931             action: STATE_SET "disabled" 0.0;
8932             target: "elm.text";
8933          }
8934          program { name: "enable";
8935             signal: "elm,state,enabled";
8936             source: "elm";
8937             action: STATE_SET "default" 0.0;
8938             target: "elm.text";
8939          }
8940       }
8941    }
8942
8943    group { name: "elm/entry/base-nowrap-noedit/default";
8944       parts {
8945          part { name: "elm.text";
8946             type: TEXTBLOCK;
8947             mouse_events: 1;
8948             scale: 1;
8949             entry_mode: PLAIN;
8950             select_mode: EXPLICIT;
8951             multiline: 1;
8952             source: "elm/entry/selection/default"; // selection under
8953             source5: "elm/entry/anchor/default"; // anchor under
8954             description { state: "default" 0.0;
8955                text {
8956                   style: "entry_textblock_style";
8957                   min: 1 1;
8958                   align: 0.0 0.0;
8959                }
8960             }
8961             description { state: "disabled" 0.0;
8962                inherit: "default" 0.0;
8963                text {
8964                   style: "entry_textblock_disabled_style";
8965                }
8966             }
8967          }
8968       }
8969       programs {
8970          program { name: "focus";
8971             signal: "load";
8972             source: "";
8973             action: FOCUS_SET;
8974             target: "elm.text";
8975          }
8976          program { name: "disable";
8977             signal: "elm,state,disabled";
8978             source: "elm";
8979             action: STATE_SET "disabled" 0.0;
8980             target: "elm.text";
8981          }
8982          program { name: "enable";
8983             signal: "elm,state,enabled";
8984             source: "elm";
8985             action: STATE_SET "default" 0.0;
8986             target: "elm.text";
8987          }
8988       }
8989    }
8990
8991    group { name: "elm/entry/base-password/default";
8992       parts {
8993          part { name: "elm.text";
8994             type: TEXTBLOCK;
8995             mouse_events: 1;
8996             scale: 1;
8997             entry_mode: PASSWORD;
8998             select_mode: EXPLICIT;
8999             multiline: 0;
9000             source: "elm/entry/selection/default"; // selection under
9001             source4: "elm/entry/cursor/default"; // cursorover
9002             source5: "elm/entry/anchor/default"; // anchor under
9003             description { state: "default" 0.0;
9004                text {
9005                   style: "entry_single_textblock_style";
9006                   repch: "*";
9007                   min: 1 1;
9008                   max: 0 0;
9009                   align: 0.0 0.5;
9010                }
9011             }
9012             description { state: "disabled" 0.0;
9013                inherit: "default" 0.0;
9014                text {
9015                   style: "entry_single_textblock_disabled_style";
9016                }
9017             }
9018          }
9019       }
9020       programs {
9021          program { name: "focus";
9022             signal: "load";
9023             source: "";
9024             action: FOCUS_SET;
9025             target: "elm.text";
9026          }
9027          program { name: "disable";
9028             signal: "elm,state,disabled";
9029             source: "elm";
9030             action: STATE_SET "disabled" 0.0;
9031             target: "elm.text";
9032          }
9033          program { name: "enable";
9034             signal: "elm,state,enabled";
9035             source: "elm";
9036             action: STATE_SET "default" 0.0;
9037             target: "elm.text";
9038          }
9039       }
9040    }
9041
9042    group { name: "elm/entry/cursor/default";
9043       images {
9044          image: "cur_box.png" COMP;
9045          image: "cur_hi.png" COMP;
9046          image: "cur_shad.png" COMP;
9047          image: "cur_shine.png" COMP;
9048          image: "cur_glow.png" COMP;
9049       }
9050       parts {
9051          part { name: "clip2";
9052             type: RECT;
9053             mouse_events: 0;
9054             description { state: "default" 0.0;
9055                rel1.to: "clip";
9056                rel2.to: "clip";
9057                visible: 0;
9058             }
9059             description { state: "focused" 0.0;
9060                inherit: "default" 0.0;
9061                visible: 1;
9062             }
9063          }
9064          part { name: "clip";
9065             type: RECT;
9066             mouse_events: 0;
9067             clip_to: "clip2";
9068             description { state: "default" 0.0;
9069                rel1.offset: -10 0;
9070                rel2.offset: 9 9;
9071             }
9072             description { state: "hidden" 0.0;
9073                inherit: "default" 0.0;
9074                visible: 0;
9075             }
9076          }
9077          part { name: "bg";
9078             mouse_events: 0;
9079             clip_to: "clip";
9080             description { state: "default" 0.0;
9081                rel1.to: "base";
9082                rel1.offset: -2 0;
9083                rel2.to: "base";
9084                rel2.offset: 1 1;
9085                image.border: 2 2 2 2;
9086                image.normal: "cur_shad.png";
9087             }
9088          }
9089          part { name: "base";
9090             mouse_events: 0;
9091             scale: 1;
9092             clip_to: "clip";
9093             description { state: "default" 0.0;
9094                min: 2 2;
9095                align: 0.5 1.0;
9096                rel1.relative: 0.0 1.0;
9097                rel1.offset: 0 -1;
9098                rel2.relative: 1.0 1.0;
9099                rel2.offset: -1 -1;
9100                image.normal: "cur_box.png";
9101             }
9102          }
9103          part { name: "hi";
9104             mouse_events: 0;
9105             clip_to: "clip";
9106             description { state: "default" 0.0;
9107                rel1.to: "base";
9108                rel2.to: "base";
9109                rel2.relative: 1.0 0.5;
9110                image.normal: "cur_hi.png";
9111             }
9112          }
9113          part { name: "shine";
9114             mouse_events: 0;
9115             clip_to: "clip";
9116             clip_to: "clip2";
9117             description { state: "default" 0.0;
9118                rel1.to: "base";
9119                rel2.to: "base";
9120                rel2.relative: 1.0 0.75;
9121                image.border: 2 2 1 0;
9122                image.normal: "cur_shine.png";
9123                fill.smooth: 0;
9124             }
9125          }
9126          part { name: "glow";
9127             mouse_events: 0;
9128             clip_to: "clip2";
9129             description { state: "default" 0.0;
9130                rel1.to: "base";
9131                rel1.relative: 0.0 -2.0;
9132                rel1.offset: -2 0;
9133                rel2.to: "base";
9134                rel2.relative: 1.0 0.0;
9135                rel2.offset: 1 1;
9136                image.border: 2 2 0 4;
9137                image.normal: "cur_glow.png";
9138                fill.smooth: 0;
9139             }
9140             description { state: "hidden" 0.0;
9141                inherit: "default" 0.0;
9142                color: 255 255 255 0;
9143             }
9144          }
9145       }
9146       programs {
9147          program { name: "show";
9148             signal: "show";
9149             source: "";
9150             action: STATE_SET "hidden" 0.0;
9151             in: 1.0 0.0;
9152             transition: DECELERATE 2.0;
9153             target: "glow";
9154             after: "show2";
9155          }
9156          program { name: "show2";
9157             action: STATE_SET "hidden" 0.0;
9158             in: 0.2 0.0;
9159             target: "clip";
9160             after: "show3";
9161          }
9162          program { name: "show3";
9163             action: STATE_SET "default" 0.0;
9164             in: 0.5 0.0;
9165             target: "clip";
9166             after: "show4";
9167          }
9168          program { name: "show4";
9169             action: STATE_SET "default" 0.0;
9170             in: 0.5 0.0;
9171             transition: DECELERATE 0.5;
9172             target: "glow";
9173             after: "show";
9174          }
9175          program { name: "focused";
9176             signal: "elm,action,focus";
9177             source: "elm";
9178             action: STATE_SET "focused" 0.0;
9179             target: "clip2";
9180          }
9181          program { name: "unfocused";
9182             signal: "elm,action,unfocus";
9183             source: "elm";
9184             action: STATE_SET "default" 0.0;
9185             target: "clip2";
9186          }
9187       }
9188    }
9189
9190    group { name: "elm/entry/selection/default";
9191       parts {
9192          part { name: "bg";
9193             type: RECT;
9194             mouse_events: 0;
9195             description { state: "default" 0.0;
9196                color: 128 128 128 128;
9197             }
9198          }
9199       }
9200    }
9201
9202    group { name: "elm/entry/anchor/default";
9203       parts {
9204          part { name: "bg";
9205             type: RECT;
9206             mouse_events: 0;
9207             description { state: "default" 0.0;
9208                color: 128 0 0 64;
9209             }
9210          }
9211       }
9212    }
9213
9214 ///////////////////////////////////////////////////////////////////////////////
9215   group { name: "elm/bubble/top_left/default";
9216     alias: "elm/bubble/base/default";
9217     images {
9218       image: "bubble_3.png" COMP;
9219       image: "bubble_4.png" COMP;
9220       image: "bubble_shine3.png" COMP;
9221       image: "bubble_shine4.png" COMP;
9222     }
9223     parts {
9224       part { name: "event";
9225          type: RECT;
9226          description {
9227             state: "default" 0.0;
9228             color: 0 0 0 0;
9229          }
9230       }
9231       part { name: "elm.swallow.icon";
9232         type: SWALLOW;
9233         description { state: "default" 0.0;
9234           fixed: 1 1;
9235           visible: 0;
9236           align: 0.0 0.0;
9237           aspect: 1.0 1.0;
9238           aspect_preference: VERTICAL;
9239           rel1 {
9240             relative: 0.0 0.0;
9241             offset: 4 4;
9242           }
9243           rel2 {
9244             to_y: "elm.text";
9245             relative: 0.0 1.0;
9246             offset: 4 -1;
9247           }
9248         }
9249         description { state: "visible" 0.0;
9250           inherit: "default" 0.0;
9251           visible: 1;
9252         }
9253       }
9254       part { name: "elm.text";
9255         type: TEXT;
9256         mouse_events:   0;
9257         scale: 1;
9258         description { state: "default" 0.0;
9259           align: 0.0 0.0;
9260           fixed: 0 1;
9261           rel1 {
9262             to_x: "elm.swallow.icon";
9263             relative: 1.0 0.0;
9264             offset: 4 4;
9265           }
9266           rel2 {
9267             to_x: "elm.info";
9268             relative: 0.0 0.0;
9269             offset: -5 4;
9270           }
9271           color: 0 0 0 255;
9272           text {
9273             font: "Sans:style=Bold,Edje-Vera-Bold";
9274             size: 10;
9275             min: 0 1;
9276             max: 0 1;
9277             align: 0.0 0.0;
9278           }
9279         }
9280       }
9281       part { name: "elm.info";
9282         type: TEXT;
9283         mouse_events:   0;
9284         scale: 1;
9285         description { state: "default" 0.0;
9286           align: 1.0 0.0;
9287           fixed: 1 1;
9288           rel1 {
9289             relative: 1.0 0.0;
9290             offset: -5 4;
9291           }
9292           rel2 {
9293             relative: 1.0 0.0;
9294             offset: -5 4;
9295           }
9296           color: 0 0 0 64;
9297           text {
9298             font: "Sans:style=Bold,Edje-Vera-Bold";
9299             size: 10;
9300             min: 1 1;
9301             max: 1 1;
9302             align: 1.0 0.0;
9303           }
9304         }
9305       }
9306       part { name: "base0";
9307         mouse_events:  0;
9308         description { state: "default" 0.0;
9309           rel1 {
9310             to_y: "elm.swallow.icon";
9311             relative: 0.0 1.0;
9312             offset: 0 0;
9313           }
9314           image {
9315             normal: "bubble_3.png";
9316             border: 36 11 18 9;
9317           }
9318           image.middle: SOLID;
9319           fill.smooth: 0;
9320         }
9321         description { state: "rtl" 0.0;
9322            inherit: "default" 0.0;
9323            image {
9324               normal: "bubble_4.png";
9325               border: 11 36 18 9;
9326            }
9327         }
9328       }
9329       part { name: "elm.swallow.content";
9330         type: SWALLOW;
9331         description { state: "default" 0.0;
9332           rel1 {
9333             to: "base0";
9334             offset: 9 16;
9335           }
9336           rel2 {
9337             to: "base0";
9338             offset: -10 -9;
9339           }
9340         }
9341       }
9342       part { name: "shine";
9343         mouse_events:  0;
9344         description { state:    "default" 0.0;
9345           rel1 {
9346             to: "base0";
9347             offset: 5 4;
9348           }
9349           rel2 {
9350             to: "base0";
9351             relative: 1.0 0.5;
9352             offset: -6 7;
9353           }
9354           image {
9355             normal: "bubble_shine3.png";
9356             border: 36 5 14 0;
9357           }
9358           fill.smooth: 0;
9359         }
9360         description { state: "rtl" 0.0;
9361            inherit: "default" 0.0;
9362            image {
9363               normal: "bubble_shine4.png";
9364               border: 5 36 14 0;
9365            }
9366         }
9367       }
9368     }
9369     programs {
9370       program {
9371         name: "icon_show";
9372         signal: "elm,state,icon,visible";
9373         source: "elm";
9374         action: STATE_SET "visible" 0.0;
9375         target: "elm.swallow.icon";
9376       }
9377       program {
9378         name: "icon_hide";
9379         signal: "elm,state,icon,hidden";
9380         source: "elm";
9381         action: STATE_SET "default" 0.0;
9382         target: "elm.swallow.icon";
9383       }
9384       program { name: "to_rtl";
9385          signal: "edje,state,rtl";
9386          source: "edje";
9387          action: STATE_SET "rtl" 0.0;
9388          target: "base0";
9389          target: "shine";
9390       }
9391       program { name: "to_ltr";
9392          signal: "edje,state,ltr";
9393          source: "edje";
9394          action: STATE_SET "default" 0.0;
9395          target: "base0";
9396          target: "shine";
9397       }
9398     }
9399   }
9400
9401   group { name: "elm/bubble/top_right/default";
9402     images {
9403       image: "bubble_3.png" COMP;
9404       image: "bubble_4.png" COMP;
9405       image: "bubble_shine3.png" COMP;
9406       image: "bubble_shine4.png" COMP;
9407     }
9408     parts {
9409       part { name: "event";
9410          type: RECT;
9411          description {
9412             state: "default" 0.0;
9413             color: 0 0 0 0;
9414          }
9415       }
9416       part { name: "elm.swallow.icon";
9417         type: SWALLOW;
9418         description { state: "default" 0.0;
9419           fixed: 1 1;
9420           visible: 0;
9421           align: 1.0 0.0;
9422           aspect: 1.0 1.0;
9423           aspect_preference: VERTICAL;
9424           rel1 {
9425             relative: 1.0 0.0;
9426             offset: -5 4;
9427           }
9428           rel2 {
9429             to_y: "elm.text";
9430             relative: 1.0 1.0;
9431             offset: -5 -1;
9432           }
9433         }
9434         description { state: "visible" 0.0;
9435           inherit: "default" 0.0;
9436           visible: 1;
9437         }
9438       }
9439       part { name: "elm.text";
9440         type: TEXT;
9441         mouse_events:   0;
9442         scale: 1;
9443         description { state: "default" 0.0;
9444           align: 0.0 0.0;
9445           fixed: 0 1;
9446           rel1 {
9447             relative: 0.0 0.0;
9448             offset: 4 4;
9449           }
9450           rel2 {
9451             to_x: "elm.info";
9452             relative: 0.0 0.0;
9453             offset: -5 4;
9454           }
9455           color: 0 0 0 255;
9456           text {
9457             font: "Sans:style=Bold,Edje-Vera-Bold";
9458             size: 10;
9459             min: 0 1;
9460             max: 0 1;
9461             align: 0.0 0.0;
9462           }
9463         }
9464       }
9465       part { name: "elm.info";
9466         type: TEXT;
9467         mouse_events:   0;
9468         scale: 1;
9469         description { state: "default" 0.0;
9470           align: 1.0 0.0;
9471           fixed: 1 1;
9472           rel1 {
9473             relative: 1.0 0.0;
9474             offset: -5 4;
9475           }
9476           rel2 {
9477             to_x: "elm.swallow.icon";
9478             relative: 0.0 0.0;
9479             offset: -5 4;
9480           }
9481           color: 0 0 0 64;
9482           text {
9483             font: "Sans:style=Bold,Edje-Vera-Bold";
9484             size: 10;
9485             min: 1 1;
9486             max: 1 1;
9487             align: 1.0 0.0;
9488           }
9489         }
9490       }
9491       part { name: "base0";
9492         mouse_events:  0;
9493         description { state: "default" 0.0;
9494           rel1 {
9495             to_y: "elm.swallow.icon";
9496             relative: 0.0 1.0;
9497             offset: 0 0;
9498           }
9499           image {
9500             normal: "bubble_4.png";
9501             border: 11 36 18 9;
9502           }
9503           image.middle: SOLID;
9504           fill.smooth: 0;
9505         }
9506         description { state: "rtl" 0.0;
9507            inherit: "default" 0.0;
9508            image {
9509               normal: "bubble_3.png";
9510               border: 36 11 18 9;
9511            }
9512         }
9513       }
9514       part { name: "elm.swallow.content";
9515         type: SWALLOW;
9516         description { state: "default" 0.0;
9517           rel1 {
9518             to: "base0";
9519             offset: 9 16;
9520           }
9521           rel2 {
9522             to: "base0";
9523             offset: -10 -9;
9524           }
9525         }
9526       }
9527       part { name: "shine";
9528         mouse_events:  0;
9529         description { state:    "default" 0.0;
9530           rel1 {
9531             to: "base0";
9532             offset: 5 4;
9533           }
9534           rel2 {
9535             to: "base0";
9536             relative: 1.0 0.5;
9537             offset: -6 7;
9538           }
9539           image {
9540             normal: "bubble_shine4.png";
9541             border: 5 36 14 0;
9542           }
9543           fill.smooth: 0;
9544         }
9545         description { state: "rtl" 0.0;
9546            inherit: "default" 0.0;
9547            image {
9548               normal: "bubble_shine3.png";
9549               border: 36 5 14 0;
9550            }
9551         }
9552       }
9553     }
9554     programs {
9555       program {
9556         name: "icon_show";
9557         signal: "elm,state,icon,visible";
9558         source: "elm";
9559         action: STATE_SET "visible" 0.0;
9560         target: "elm.swallow.icon";
9561       }
9562       program {
9563         name: "icon_hide";
9564         signal: "elm,state,icon,hidden";
9565         source: "elm";
9566         action: STATE_SET "default" 0.0;
9567         target: "elm.swallow.icon";
9568       }
9569       program { name: "to_rtl";
9570          signal: "edje,state,rtl";
9571          source: "edje";
9572          action: STATE_SET "rtl" 0.0;
9573          target: "base0";
9574          target: "shine";
9575       }
9576       program { name: "to_ltr";
9577          signal: "edje,state,ltr";
9578          source: "edje";
9579          action: STATE_SET "default" 0.0;
9580          target: "base0";
9581          target: "shine";
9582       }
9583     }
9584   }
9585
9586   group { name: "elm/bubble/bottom_left/default";
9587     images {
9588       image: "bubble_1.png" COMP;
9589       image: "bubble_2.png" COMP;
9590       image: "bubble_shine.png" COMP;
9591     }
9592     parts {
9593       part { name: "event";
9594          type: RECT;
9595          description {
9596             state: "default" 0.0;
9597             color: 0 0 0 0;
9598          }
9599       }
9600       part { name: "elm.swallow.icon";
9601         type: SWALLOW;
9602         description { state: "default" 0.0;
9603           fixed: 1 1;
9604           visible: 0;
9605           align: 0.0 1.0;
9606           aspect: 1.0 1.0;
9607           aspect_preference: VERTICAL;
9608           rel1 {
9609             to_y: "elm.text";
9610             relative: 0.0 0.0;
9611             offset: 4 0;
9612           }
9613           rel2 {
9614             relative: 0.0 1.0;
9615             offset: 4 -5;
9616           }
9617         }
9618         description { state: "visible" 0.0;
9619           inherit: "default" 0.0;
9620           visible: 1;
9621         }
9622       }
9623       part { name: "elm.text";
9624         type: TEXT;
9625         mouse_events:   0;
9626         scale: 1;
9627         description { state: "default" 0.0;
9628           align: 0.0 1.0;
9629           fixed: 0 1;
9630           rel1 {
9631             to_x: "elm.swallow.icon";
9632             relative: 1.0 1.0;
9633             offset: 4 -5;
9634           }
9635           rel2 {
9636             to_x: "elm.info";
9637             relative: 0.0 1.0;
9638             offset: -5 -5;
9639           }
9640           color: 0 0 0 255;
9641           text {
9642             font: "Sans:style=Bold,Edje-Vera-Bold";
9643             size: 10;
9644             min: 0 1;
9645             max: 0 1;
9646             align: 0.0 1.0;
9647           }
9648         }
9649       }
9650       part { name: "elm.info";
9651         type: TEXT;
9652         mouse_events:   0;
9653         scale: 1;
9654         description { state: "default" 0.0;
9655           align: 1.0 1.0;
9656           fixed: 1 1;
9657           rel1 {
9658             relative: 1.0 1.0;
9659             offset: -5 -5;
9660           }
9661           rel2 {
9662             relative: 1.0 1.0;
9663             offset: -5 -5;
9664           }
9665           color: 0 0 0 64;
9666           text {
9667             font: "Sans:style=Bold,Edje-Vera-Bold";
9668             size: 10;
9669             min: 1 1;
9670             max: 1 1;
9671             align: 1.0 1.0;
9672           }
9673         }
9674       }
9675       part { name: "base0";
9676         mouse_events:  0;
9677         description { state: "default" 0.0;
9678           rel2 {
9679             to_y: "elm.swallow.icon";
9680             relative: 1.0 0.0;
9681             offset: -1 -1;
9682           }
9683           image {
9684             normal: "bubble_1.png";
9685             border: 36 11 10 19;
9686           }
9687           image.middle: SOLID;
9688           fill.smooth: 0;
9689         }
9690         description { state: "rtl" 0.0;
9691            inherit: "default" 0.0;
9692            image {
9693               normal: "bubble_2.png";
9694               border: 11 36 10 19;
9695            }
9696         }
9697       }
9698       part { name: "elm.swallow.content";
9699         type: SWALLOW;
9700         description { state: "default" 0.0;
9701           rel1 {
9702             to: "base0";
9703             offset: 9 8;
9704           }
9705           rel2 {
9706             to: "base0";
9707             offset: -10 -17;
9708           }
9709         }
9710       }
9711       part { name: "shine";
9712         mouse_events:  0;
9713         description { state:    "default" 0.0;
9714           rel1 {
9715             to: "base0";
9716             offset: 5 4;
9717           }
9718           rel2 {
9719             to: "base0";
9720             relative: 1.0 0.5;
9721             offset: -6 -16;
9722           }
9723           image {
9724             normal: "bubble_shine.png";
9725             border: 5 5 5 0;
9726           }
9727           fill.smooth: 0;
9728         }
9729         description { state: "rtl" 0.0;
9730            inherit: "default" 0.0;
9731            image {
9732               normal: "bubble_shine4.png";
9733               border: 5 36 14 0;
9734            }
9735         }
9736       }
9737     }
9738     programs {
9739       program {
9740         name: "icon_show";
9741         signal: "elm,state,icon,visible";
9742         source: "elm";
9743         action: STATE_SET "visible" 0.0;
9744         target: "elm.swallow.icon";
9745       }
9746       program {
9747         name: "icon_hide";
9748         signal: "elm,state,icon,hidden";
9749         source: "elm";
9750         action: STATE_SET "default" 0.0;
9751         target: "elm.swallow.icon";
9752       }
9753       program { name: "to_rtl";
9754          signal: "edje,state,rtl";
9755          source: "edje";
9756          action: STATE_SET "rtl" 0.0;
9757          target: "base0";
9758       }
9759       program { name: "to_ltr";
9760          signal: "edje,state,ltr";
9761          source: "edje";
9762          action: STATE_SET "default" 0.0;
9763          target: "base0";
9764       }
9765     }
9766   }
9767
9768   group { name: "elm/bubble/bottom_right/default";
9769     images {
9770       image: "bubble_1.png" COMP;
9771       image: "bubble_2.png" COMP;
9772       image: "bubble_shine.png" COMP;
9773     }
9774     parts {
9775       part { name: "event";
9776          type: RECT;
9777          description {
9778             state: "default" 0.0;
9779             color: 0 0 0 0;
9780          }
9781       }
9782       part { name: "elm.swallow.icon";
9783         type: SWALLOW;
9784         description { state: "default" 0.0;
9785           fixed: 1 1;
9786           visible: 0.0;
9787           align: 1.0 1.0;
9788           aspect: 1.0 1.0;
9789           aspect_preference: VERTICAL;
9790           rel1 {
9791             to_y: "elm.text";
9792             relative: 1.0 0.0;
9793             offset: -5 0;
9794           }
9795           rel2 {
9796             relative: 1.0 1.0;
9797             offset: -5 -5;
9798           }
9799         }
9800         description { state: "visible" 0.0;
9801           inherit: "default" 0.0;
9802           visible: 1;
9803         }
9804       }
9805       part { name: "elm.text";
9806         type: TEXT;
9807         mouse_events:   0;
9808         scale: 1;
9809         description { state: "default" 0.0;
9810           align: 0.0 1.0;
9811           fixed: 0 1;
9812           rel1 {
9813             relative: 0.0 1.0;
9814             offset: 4 -5;
9815           }
9816           rel2 {
9817             to_x: "elm.info";
9818             relative: 0.0 1.0;
9819             offset: -5 -5;
9820           }
9821           color: 0 0 0 255;
9822           text {
9823             font: "Sans:style=Bold,Edje-Vera-Bold";
9824             size: 10;
9825             min: 0 1;
9826             max: 0 1;
9827             align: 0.0 1.0;
9828           }
9829         }
9830       }
9831       part { name: "elm.info";
9832         type: TEXT;
9833         mouse_events:   0;
9834         scale: 1;
9835         description { state: "default" 0.0;
9836           align: 1.0 1.0;
9837           fixed: 1 1;
9838           rel1 {
9839             relative: 1.0 1.0;
9840             offset: -5 -5;
9841           }
9842           rel2 {
9843             to_x: "elm.swallow.icon";
9844             relative: 0.0 1.0;
9845             offset: -5 -5;
9846           }
9847           color: 0 0 0 64;
9848           text {
9849             font: "Sans:style=Bold,Edje-Vera-Bold";
9850             size: 10;
9851             min: 1 1;
9852             max: 1 1;
9853             align: 1.0 1.0;
9854           }
9855         }
9856       }
9857       part { name: "base0";
9858         mouse_events:  0;
9859         description { state: "default" 0.0;
9860           rel2 {
9861             to_y: "elm.swallow.icon";
9862             relative: 1.0 0.0;
9863             offset: -1 -1;
9864           }
9865           image {
9866             normal: "bubble_2.png";
9867             border: 11 36 10 19;
9868           }
9869           image.middle: SOLID;
9870           fill.smooth: 0;
9871         }
9872         description { state: "rtl" 0.0;
9873            inherit: "default" 0.0;
9874            image {
9875               normal: "bubble_1.png";
9876               border: 36 11 10 19;
9877            }
9878         }
9879       }
9880       part { name: "elm.swallow.content";
9881         type: SWALLOW;
9882         description { state: "default" 0.0;
9883           rel1 {
9884             to: "base0";
9885             offset: 9 8;
9886           }
9887           rel2 {
9888             to: "base0";
9889             offset: -10 -17;
9890           }
9891         }
9892       }
9893       part { name: "shine";
9894         mouse_events:  0;
9895         description { state:    "default" 0.0;
9896           rel1 {
9897             to: "base0";
9898             offset: 5 4;
9899           }
9900           rel2 {
9901             to: "base0";
9902             relative: 1.0 0.5;
9903             offset: -6 -16;
9904           }
9905           image {
9906             normal: "bubble_shine.png";
9907             border: 5 5 5 0;
9908           }
9909           fill.smooth: 0;
9910         }
9911         description { state: "rtl" 0.0;
9912            inherit: "default" 0.0;
9913            image {
9914               normal: "bubble_shine3.png";
9915               border: 36 5 14 0;
9916            }
9917         }
9918       }
9919     }
9920     programs {
9921       program {
9922         name: "icon_show";
9923         signal: "elm,state,icon,visible";
9924         source: "elm";
9925         action: STATE_SET "visible" 0.0;
9926         target: "elm.swallow.icon";
9927       }
9928       program {
9929         name: "icon_hide";
9930         signal: "elm,state,icon,hidden";
9931         source: "elm";
9932         action: STATE_SET "default" 0.0;
9933         target: "elm.swallow.icon";
9934       }
9935       program { name: "to_rtl";
9936          signal: "edje,state,rtl";
9937          source: "edje";
9938          action: STATE_SET "rtl" 0.0;
9939          target: "base0";
9940       }
9941       program { name: "to_ltr";
9942          signal: "edje,state,ltr";
9943          source: "edje";
9944          action: STATE_SET "default" 0.0;
9945          target: "base0";
9946       }
9947     }
9948   }
9949
9950 ///////////////////////////////////////////////////////////////////////////////
9951    group { name: "elm/photo/base/default";
9952       images {
9953          image: "frame_1.png" COMP;
9954          image: "frame_2.png" COMP;
9955          image: "dia_grad.png" COMP;
9956          image: "head.png" COMP;
9957       }
9958       parts {
9959          part { name: "base0";
9960             mouse_events:  0;
9961             description { state: "default" 0.0;
9962                image.normal: "dia_grad.png";
9963                rel1.to: "over";
9964                rel2.to: "over";
9965                fill {
9966                   smooth: 0;
9967                   size {
9968                      relative: 0.0 1.0;
9969                      offset: 64 0;
9970                   }
9971                }
9972             }
9973          }
9974          part { name: "base";
9975             mouse_events:  0;
9976             description { state:    "default" 0.0;
9977                image {
9978                   normal: "frame_2.png";
9979                   border: 5 5 32 26;
9980                   middle: 0;
9981                }
9982                fill.smooth : 0;
9983             }
9984          }
9985          part { name: "head";
9986             mouse_events:  0;
9987             description { state:    "default" 0.0;
9988                rel1.offset: 4 4;
9989                rel2.offset: -5 -5;
9990                aspect: 1.0 1.0;
9991                aspect_preference: BOTH;
9992                image.normal: "head.png";
9993             }
9994          }
9995          part { name: "clip";
9996             mouse_events:  0;
9997             type: RECT;
9998             description { state:    "default" 0.0;
9999                rel1.offset: 4 4;
10000                rel2.offset: -5 -5;
10001                color: 255 255 255 255;
10002             }
10003          }
10004          part { name: "elm.swallow.content";
10005             type: SWALLOW;
10006             clip_to: "clip";
10007             description { state: "default" 0.0;
10008                rel1.offset: 4 4;
10009                rel2.offset: -5 -5;
10010             }
10011          }
10012          part { name: "over";
10013             mouse_events:  0;
10014             description { state:    "default" 0.0;
10015                rel1.offset: 4 4;
10016                rel2.offset: -5 -5;
10017                image {
10018                   normal: "frame_1.png";
10019                   border: 2 2 28 22;
10020                   middle: 0;
10021                }
10022                fill.smooth: 0;
10023             }
10024          }
10025      }
10026    }
10027
10028    group { name: "elm/photo/base/shadow";
10029               images {
10030                         image: "shadow.png" COMP;
10031                         image: "black.png" COMP;
10032               }
10033               script {
10034               public message(Msg_Type:type, id, ...) {
10035                 if( (type==MSG_INT_SET) && (id==0) )
10036                 {
10037                     new w;
10038                     new h;
10039
10040                     custom_state(PART:"size", "default", 0.0);
10041
10042                     w = getarg(2);
10043                     h = getarg(3);
10044                     set_state_val(PART:"size", STATE_REL1_OFFSET, - w/2, - h/2);
10045                     set_state_val(PART:"size", STATE_REL2_OFFSET, w/2 + 1, h/2 + 1);
10046                     set_state(PART:"size", "custom", 0.0);
10047                 }
10048             }
10049             }
10050               parts {
10051               part { name: "size";
10052                     type: SWALLOW;
10053                     description { state: "default" 0.0;
10054                             rel1.relative: 0.5 0.5;
10055                             rel2.relative: 0.5 0.5;
10056                     }
10057                  }
10058               part {
10059                 name: "shadow";
10060                 type: IMAGE;
10061                 repeat_events: 1;
10062                 description {
10063                     state: "default" 0.0;
10064                     rel1.to: "size";
10065                     rel2.to: "size";
10066                     rel1.relative: -0.06 -0.06;
10067                     rel2.relative: 1.07 1.07;
10068                     image.normal: "shadow.png";
10069                 }
10070             }
10071
10072
10073                  part { name: "elm.swallow.content";
10074                     type: SWALLOW;
10075                     description { state: "default" 0.0;
10076                     rel1.offset: 3 3;
10077                     rel2.offset: -3 -3;
10078                             fixed: 1 1;
10079                     }
10080                  }
10081
10082                  part {
10083                 name: "border";
10084                 type: IMAGE;
10085                 repeat_events: 1;
10086                 description {
10087                     state: "default" 0.0;
10088                     visible: 1;
10089                     color: 0 0 0 255;
10090                     rel1.to: "size";
10091                     rel2.to: "size";
10092                     image.normal: "black.png";
10093                     image.border: 1 1 1 1;
10094                     image.middle: 0;
10095                 }
10096             }
10097                  }
10098    }
10099
10100 ///////////////////////////////////////////////////////////////////////////////
10101    group { name: "elm/thumb/base/default";
10102       images {
10103          image: "frame_1.png" COMP;
10104          image: "frame_2.png" COMP;
10105          image: "dia_grad.png" COMP;
10106          image: "busy-1.png" COMP;
10107          image: "busy-2.png" COMP;
10108          image: "busy-3.png" COMP;
10109          image: "busy-4.png" COMP;
10110          image: "busy-5.png" COMP;
10111          image: "busy-6.png" COMP;
10112          image: "busy-7.png" COMP;
10113          image: "busy-8.png" COMP;
10114          image: "busy-9.png" COMP;
10115       }
10116       parts {
10117          part { name: "base0";
10118             mouse_events:  0;
10119             description { state:        "default" 0.0;
10120                image.normal: "dia_grad.png";
10121                rel1.to: "over";
10122                rel2.to: "over";
10123                fill {
10124                   smooth: 0;
10125                   size {
10126                      relative: 0.0 1.0;
10127                      offset: 64 0;
10128                   }
10129                }
10130             }
10131          }
10132          part { name: "base";
10133             mouse_events:  0;
10134             description { state:        "default" 0.0;
10135                image {
10136                   normal: "frame_2.png";
10137                   border: 5 5 32 26;
10138                   middle: 0;
10139                }
10140                fill.smooth : 0;
10141             }
10142          }
10143          part { name: "clip";
10144             mouse_events:  0;
10145             type: RECT;
10146             description { state:        "default" 0.0;
10147                rel1.offset: 4 4;
10148                rel2.offset: -5 -5;
10149                color: 255 255 255 255;
10150             }
10151          }
10152          part { name: "elm.swallow.content";
10153             type: SWALLOW;
10154             clip_to: "clip";
10155             description { state:        "default" 0.0;
10156                rel1.offset: 4 4;
10157                rel2.offset: -5 -5;
10158             }
10159          }
10160          part { name: "progress";
10161             mouse_events: 0;
10162
10163             clip_to: "clip";
10164             description { state:        "default" 0.0;
10165                min: 32 32;
10166                max: 32 32;
10167                visible: 0;
10168                aspect: 1.0 1.0;
10169                aspect_preference: BOTH;
10170             }
10171             description { state:        "pulse" 0.0;
10172                inherit: "default" 0.0;
10173                visible: 1;
10174                image {
10175                   normal: "busy-9.png";
10176                   tween:  "busy-1.png";
10177                   tween:  "busy-2.png";
10178                   tween:  "busy-3.png";
10179                   tween:  "busy-4.png";
10180                   tween:  "busy-5.png";
10181                   tween:  "busy-6.png";
10182                   tween:  "busy-7.png";
10183                   tween:  "busy-8.png";
10184                   border: 7 7 7 7;
10185                }
10186             }
10187          }
10188          part { name: "over";
10189             mouse_events:  0;
10190             description { state:        "default" 0.0;
10191                rel1.offset: 4 4;
10192                rel2.offset: -5 -5;
10193                image {
10194                   normal: "frame_1.png";
10195                   border: 2 2 28 22;
10196                   middle: 0;
10197                }
10198                fill.smooth: 0;
10199             }
10200          }
10201          programs {
10202             program { name: "start_pulse";
10203                signal: "elm,state,pulse,start";
10204                source: "elm";
10205                action: STATE_SET "pulse" 0.0;
10206                target: "progress";
10207                transition: LINEAR 0.5;
10208                after: "start_pulse";
10209             }
10210             program { name: "stop_pulse";
10211                signal: "elm,state,pulse,stop";
10212                source: "elm";
10213                action: STATE_SET "default" 0.0;
10214                target: "progress";
10215             }
10216          }
10217       }
10218    }
10219
10220    group { name: "elm/thumb/base/noframe";
10221       images {
10222          image: "busy-1.png" COMP;
10223          image: "busy-2.png" COMP;
10224          image: "busy-3.png" COMP;
10225          image: "busy-4.png" COMP;
10226          image: "busy-5.png" COMP;
10227          image: "busy-6.png" COMP;
10228          image: "busy-7.png" COMP;
10229          image: "busy-8.png" COMP;
10230          image: "busy-9.png" COMP;
10231       }
10232       parts {
10233          part { name: "elm.swallow.content";
10234             type: SWALLOW;
10235             description { state: "default" 0.0;
10236                rel1.offset: 4 4;
10237                rel2.offset: -5 -5;
10238             }
10239          }
10240          part { name: "progress";
10241             mouse_events: 0;
10242             description { state:        "default" 0.0;
10243                min: 32 32;
10244                max: 32 32;
10245                visible: 0;
10246                aspect: 1.0 1.0;
10247                aspect_preference: BOTH;
10248             }
10249             description { state:        "pulse" 0.0;
10250                inherit: "default" 0.0;
10251                visible: 1;
10252                image {
10253                   normal: "busy-9.png";
10254                   tween:  "busy-1.png";
10255                   tween:  "busy-2.png";
10256                   tween:  "busy-3.png";
10257                   tween:  "busy-4.png";
10258                   tween:  "busy-5.png";
10259                   tween:  "busy-6.png";
10260                   tween:  "busy-7.png";
10261                   tween:  "busy-8.png";
10262                   border: 7 7 7 7;
10263                }
10264             }
10265          }
10266          programs {
10267             program { name: "start_pulse";
10268                signal: "elm,state,pulse,start";
10269                source: "elm";
10270                action: STATE_SET "pulse" 0.0;
10271                target: "progress";
10272                transition: LINEAR 0.5;
10273                after: "start_pulse";
10274             }
10275             program { name: "stop_pulse";
10276                signal: "elm,state,pulse,stop";
10277                source: "elm";
10278                action: STATE_SET "default" 0.0;
10279                target: "progress";
10280             }
10281          }
10282       }
10283    }
10284
10285
10286 ///////////////////////////////////////////////////////////////////////////////
10287    group { name: "elm/icon/home/default"; alias: "elm/icon/toolbar/home/default"; min: 32 32;
10288       images.image: "icon_home.png" COMP; parts { part { name: "base";
10289          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10290             image.normal: "icon_home.png"; } } } }
10291    group { name: "elm/icon/close/default"; alias: "elm/icon/toolbar/close/default"; min: 32 32;
10292       images.image: "icon_close.png" COMP; parts { part { name: "base";
10293          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10294             image.normal: "icon_close.png"; } } } }
10295    group { name: "elm/icon/apps/default"; alias: "elm/icon/toolbar/apps/default"; min: 32 32;
10296       images.image: "icon_apps.png" COMP; parts { part { name: "base";
10297          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10298             image.normal: "icon_apps.png"; } } } }
10299    group { name: "elm/icon/arrow_up/default"; alias: "elm/icon/toolbar/arrow_up/default"; min: 32 32;
10300       images.image: "icon_arrow_up.png" COMP; parts { part { name: "base";
10301          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10302             image.normal: "icon_arrow_up.png"; } } } }
10303    group { name: "elm/icon/arrow_down/default";
10304            alias: "elm/icon/toolbar/arrow_down/default";
10305            alias: "elm/icon/toolbar/more_menu/default"; min: 32 32;
10306       images.image: "icon_arrow_down.png" COMP; parts { part { name: "base";
10307          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10308             image.normal: "icon_arrow_down.png"; } } } }
10309    group { name: "elm/icon/arrow_left/default"; alias: "elm/icon/toolbar/arrow_left/default"; min: 32 32;
10310       images.image: "icon_arrow_left.png" COMP; parts { part { name: "base";
10311          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10312             image.normal: "icon_arrow_left.png"; } } } }
10313    group { name: "elm/icon/arrow_right/default"; alias: "elm/icon/toolbar/arrow_right/default"; min: 32 32;
10314       images.image: "icon_arrow_right.png" COMP; parts { part { name: "base";
10315          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10316             image.normal: "icon_arrow_right.png"; } } } }
10317    group { name: "elm/icon/chat/default"; alias: "elm/icon/toolbar/chat/default"; min: 32 32;
10318       images.image: "icon_chat.png" COMP; parts { part { name: "base";
10319          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10320             image.normal: "icon_chat.png"; } } } }
10321    group { name: "elm/icon/clock/default"; alias: "elm/icon/toolbar/clock/default"; min: 32 32;
10322       images.image: "icon_clock.png" COMP; parts { part { name: "base";
10323          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10324             image.normal: "icon_clock.png"; } } } }
10325    group { name: "elm/icon/delete/default"; alias: "elm/icon/toolbar/delete/default"; min: 32 32;
10326       images.image: "icon_delete.png" COMP; parts { part { name: "base";
10327          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10328             image.normal: "icon_delete.png"; } } } }
10329    group { name: "elm/icon/edit/default"; alias: "elm/icon/toolbar/edit/default"; min: 32 32;
10330       images.image: "icon_edit.png" COMP; parts { part { name: "base";
10331          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10332             image.normal: "icon_edit.png"; } } } }
10333    group { name: "elm/icon/refresh/default"; alias: "elm/icon/toolbar/refresh/default"; min: 32 32;
10334       images.image: "icon_refresh.png" COMP; parts { part { name: "base";
10335          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10336             image.normal: "icon_refresh.png"; } } } }
10337    group { name: "elm/icon/folder/default"; alias: "elm/icon/toolbar/folder/default"; min: 32 32;
10338       images.image: "icon_folder.png" COMP; parts { part { name: "base";
10339          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10340             image.normal: "icon_folder.png"; } } } }
10341    group { name: "elm/icon/file/default"; alias: "elm/icon/toolbar/file/default"; min: 32 32;
10342       images.image: "icon_file.png" COMP; parts { part { name: "base";
10343          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10344             image.normal: "icon_file.png"; } } } }
10345 ///////////////////////////////////////////////////////////////////////////////
10346    group { name: "elm/icon/menu/home/default"; min: 24 24; max: 24 24;
10347       images.image: "icon_home.png" COMP; parts { part { name: "base";
10348          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10349             image.normal: "icon_home.png"; } } } }
10350    group { name: "elm/icon/menu/close/default"; min: 24 24; max: 24 24;
10351       images.image: "icon_close.png" COMP; parts { part { name: "base";
10352          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10353             image.normal: "icon_close.png"; } } } }
10354    group { name: "elm/icon/menu/apps/default"; min: 24 24; max: 24 24;
10355       images.image: "icon_apps.png" COMP; parts { part { name: "base";
10356          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10357             image.normal: "icon_apps.png"; } } } }
10358    group { name: "elm/icon/menu/arrow_up/default"; min: 24 24; max: 24 24;
10359       images.image: "icon_arrow_up.png" COMP; parts { part { name: "base";
10360          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10361             image.normal: "icon_arrow_up.png"; } } } }
10362    group { name: "elm/icon/menu/arrow_down/default"; min: 24 24; max: 24 24;
10363       images.image: "icon_arrow_down.png" COMP; parts { part { name: "base";
10364          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10365             image.normal: "icon_arrow_down.png"; } } } }
10366    group { name: "elm/icon/menu/arrow_left/default"; min: 24 24; max: 24 24;
10367       images.image: "icon_arrow_left.png" COMP; parts { part { name: "base";
10368          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10369             image.normal: "icon_arrow_left.png"; } } } }
10370    group { name: "elm/icon/menu/arrow_right/default"; min: 24 24; max: 24 24;
10371       images.image: "icon_arrow_right.png" COMP; parts { part { name: "base";
10372          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10373             image.normal: "icon_arrow_right.png"; } } } }
10374    group { name: "elm/icon/menu/chat/default"; min: 24 24; max: 24 24;
10375       images.image: "icon_chat.png" COMP; parts { part { name: "base";
10376          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10377             image.normal: "icon_chat.png"; } } } }
10378    group { name: "elm/icon/menu/clock/default"; min: 24 24; max: 24 24;
10379       images.image: "icon_clock.png" COMP; parts { part { name: "base";
10380          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10381             image.normal: "icon_clock.png"; } } } }
10382    group { name: "elm/icon/menu/delete/default"; min: 24 24; max: 24 24;
10383       images.image: "icon_delete.png" COMP; parts { part { name: "base";
10384          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10385             image.normal: "icon_delete.png"; } } } }
10386    group { name: "elm/icon/menu/edit/default"; min: 24 24; max: 24 24;
10387       images.image: "icon_edit.png" COMP; parts { part { name: "base";
10388          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10389             image.normal: "icon_edit.png"; } } } }
10390    group { name: "elm/icon/menu/refresh/default"; min: 24 24; max: 24 24;
10391       images.image: "icon_refresh.png" COMP; parts { part { name: "base";
10392          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10393             image.normal: "icon_refresh.png"; } } } }
10394    group { name: "elm/icon/menu/folder/default"; min: 24 24; max: 24 24;
10395       images.image: "icon_folder.png" COMP; parts { part { name: "base";
10396          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10397             image.normal: "icon_folder.png"; } } } }
10398    group { name: "elm/icon/menu/file/default"; min: 24 24; max: 24 24;
10399       images.image: "icon_file.png" COMP; parts { part { name: "base";
10400          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10401             image.normal: "icon_file.png"; } } } }
10402
10403 ///////////////////////////////////////////////////////////////////////////////
10404    group { name: "elm/toolbar/base/default";
10405       images {
10406          image: "bt_dis_base.png" COMP;
10407          image: "bt_dis_hilight.png" COMP;
10408          image: "bt_dis_shine.png" COMP;
10409          image: "icon_left_arrow.png" COMP;
10410          image: "icon_right_arrow.png" COMP;
10411       }
10412       parts {
10413          part { name: "base";
10414             mouse_events: 1;
10415             description { state: "default" 0.0;
10416                rel1 {
10417                   relative: 0.0 0.0;
10418                   offset: 2 2;
10419                }
10420                rel2.offset: -3 -3;
10421                image {
10422                   normal: "bt_dis_base.png";
10423                   border: 4 4 4 4;
10424                }
10425                image.middle: SOLID;
10426             }
10427          }
10428          part { name: "clipper";
10429             type: RECT;
10430             mouse_events: 0;
10431             description {
10432                state: "default" 0.0;
10433                rel1 {
10434                   to: "base";
10435                   offset: 2 2;
10436                }
10437                rel2 {
10438                   to: "base";
10439                   offset: -3 -3;
10440                }
10441             }
10442          }
10443          part { name: "elm.swallow.content";
10444             clip_to: "clipper";
10445             type: SWALLOW;
10446             description {
10447                state: "default" 0.0;
10448                rel1.to: "clipper";
10449                rel2.to: "clipper";
10450             }
10451          }
10452          part { name: "over2";
10453             mouse_events: 0;
10454             description { state: "default" 0.0;
10455                rel1.to: "base";
10456                rel2.to: "base";
10457                image {
10458                   normal: "bt_dis_shine.png";
10459                   border: 4 4 4 4;
10460                }
10461             }
10462          }
10463          part { name: "over1";
10464             mouse_events: 0;
10465             description { state: "default" 0.0;
10466                rel1.to: "base";
10467                rel2.to: "base";
10468                rel2.relative: 1.0 0.5;
10469                image {
10470                   normal: "bt_dis_hilight.png";
10471                   border: 4 4 4 0;
10472                }
10473                color: 255 255 255 128;
10474             }
10475          }
10476          part { name: "left_arrow";
10477             mouse_events: 0;
10478             description { state: "default" 0.0;
10479                image.normal: "icon_left_arrow.png";
10480                aspect: 1.0 1.0;
10481                aspect_preference: VERTICAL;
10482                align: 0.0 0.5;
10483                min: 32 32;
10484                max: 32 32;
10485             }
10486             description { state: "hidden" 0.0;
10487                inherit: "default" 0.0;
10488                visible: 0;
10489                color: 255 255 255 0;
10490             }
10491          }
10492          part { name: "right_arrow";
10493             mouse_events: 0;
10494             description { state: "default" 0.0;
10495                image.normal: "icon_right_arrow.png";
10496                aspect: 1.0 1.0;
10497                aspect_preference: VERTICAL;
10498                align: 1.0 0.5;
10499                min: 32 32;
10500                max: 32 32;
10501             }
10502             description { state: "hidden" 0.0;
10503                inherit: "default" 0.0;
10504                visible: 0;
10505                color: 255 255 255 0;
10506             }
10507          }
10508          part { name: "event";
10509             type: RECT;
10510             mouse_events: 1;
10511             repeat_events: 1;
10512             description { state: "default" 0.0;
10513                color: 0 0 0 0;
10514             }
10515          }
10516       }
10517       programs {
10518          program { name: "sb_hbar_show";
10519             signal: "elm,action,show,hbar";
10520             source: "elm";
10521             action:  STATE_SET "default" 0.0;
10522             transition: LINEAR 0.5;
10523             target: "left_arrow";
10524             target: "right_arrow";
10525          }
10526          program { name: "sb_hbar_hide";
10527             signal: "elm,action,hide,hbar";
10528             source: "elm";
10529             action:  STATE_SET "hidden" 0.0;
10530             target: "left_arrow";
10531             target: "right_arrow";
10532             transition: LINEAR 0.5;
10533          }
10534       }
10535    }
10536
10537    group { name: "elm/toolbar/item/default";
10538        images {
10539            image: "toolbar_sel.png" COMP;
10540        }
10541        data.item: "transition_animation_on" "1";
10542        parts {
10543            part { name: "label2";
10544                type: TEXT;
10545                mouse_events:  0;
10546                scale: 1;
10547                clip_to: "elm.text.clipper";
10548                description { state: "default" 0.0;
10549                    align: 0.5 1.0;
10550                    fixed: 0 1;
10551                    rel1.to: "elm.text";
10552                    rel2.to: "elm.text";
10553                    color: 0 0 0 255;
10554                    text {
10555                        font: "Sans";
10556                        text_source: "elm.text";
10557                        size: 10;
10558                        min: 1 1;
10559                        align: 0.5 0.5;
10560                        text_class: "toolbar_item";
10561                    }
10562                }
10563                description { state: "selected" 0.0;
10564                    inherit: "default" 0.0;
10565                    visible: 0;
10566                }
10567                description { state: "disabled" 0.0;
10568                    inherit: "default" 0.0;
10569                    color: 0 0 0 128;
10570                    color3: 0 0 0 0;
10571                }
10572                description { state: "disabled_visible" 0.0;
10573                    inherit: "default" 0.0;
10574                    color: 0 0 0 128;
10575                    color3: 0 0 0 0;
10576                    visible: 1;
10577                    text.min: 1 1;
10578                }
10579            }
10580            part { name: "label2_new";
10581                type: TEXT;
10582                mouse_events:  0;
10583                scale: 1;
10584                clip_to: "elm.text_new.clipper";
10585                description { state: "default" 0.0;
10586                    align: 0.5 1.0;
10587                    fixed: 0 1;
10588                    rel1.to: "elm.text_new";
10589                    rel2.to: "elm.text_new";
10590                    color: 0 0 0 255;
10591                    text {
10592                        font: "Sans";
10593                        text_source: "elm.text_new";
10594                        size: 10;
10595                        min: 1 1;
10596                        align: 0.5 0.5;
10597                        text_class: "toolbar_item";
10598                    }
10599                }
10600                description { state: "selected" 0.0;
10601                    inherit: "default" 0.0;
10602                    visible: 0;
10603                }
10604                description { state: "disabled" 0.0;
10605                    inherit: "default" 0.0;
10606                    color: 0 0 0 128;
10607                    color3: 0 0 0 0;
10608                }
10609                description { state: "disabled_visible" 0.0;
10610                    inherit: "default" 0.0;
10611                    color: 0 0 0 128;
10612                    color3: 0 0 0 0;
10613                    visible: 1;
10614                    text.min: 1 1;
10615                }
10616            }
10617            part { name: "bg";
10618                mouse_events: 0;
10619                description { state: "default" 0.0;
10620                    visible: 0;
10621                    color: 255 255 255 0;
10622                    image {
10623                        normal: "toolbar_sel.png";
10624                        border: 3 3 0 0;
10625                    }
10626                    image.middle: SOLID;
10627                    fill.smooth: 0;
10628                }
10629                description { state: "selected" 0.0;
10630                    inherit: "default" 0.0;
10631                    visible: 1;
10632                    color: 255 255 255 255;
10633                }
10634                description { state: "disabled" 0.0;
10635                    inherit: "default" 0.0;
10636                    visible: 0;
10637                    color: 255 255 255 0;
10638                }
10639            }
10640            part { name: "elm.swallow.icon";
10641                type: SWALLOW;
10642                clip_to: "elm.icon.clipper";
10643                description { state: "default" 0.0;
10644                    align: 0.5 0.5;
10645                    fixed: 0 0;
10646                    rel1 {
10647                        relative: 0.0 0.0;
10648                        offset: 2 2;
10649                    }
10650                    rel2 {
10651                        to_y: "elm.text";
10652                        relative: 1.0 0.0;
10653                        offset: -3 -1;
10654                    }
10655                    color: 0 0 0 0;
10656                }
10657            }
10658            part { name: "elm.swallow.icon_new";
10659                type: SWALLOW;
10660                clip_to: "elm.icon_new.clipper";
10661                description { state: "default" 0.0;
10662                    align: 0.5 0.5;
10663                    fixed: 0 0;
10664                    rel1 {
10665                        relative: 0.0 0.0;
10666                        offset: 2 2;
10667                    }
10668                    rel2 {
10669                        to_y: "elm.text_new";
10670                        relative: 1.0 0.0;
10671                        offset: -3 -1;
10672                    }
10673                    color: 0 0 0 0;
10674                }
10675            }
10676            part { name: "elm.text";
10677                type: TEXT;
10678                effect: SOFT_SHADOW;
10679                mouse_events:  0;
10680                scale: 1;
10681                clip_to: "elm.text.clipper";
10682                description { state: "default" 0.0;
10683                    align: 0.5 1.0;
10684                    fixed: 0 1;
10685                    rel1 {
10686                        relative: 0.0 1.0;
10687                        offset:   0 -1;
10688                    }
10689                    rel2 {
10690                        relative: 1.0 1.0;
10691                        offset:   -1 -1;
10692                    }
10693                    visible: 0;
10694                    color: 224 224 224 255;
10695                    color3: 0 0 0 32;
10696                    text {
10697                        font: "Sans:style=Bold";
10698                        size: 10;
10699                        min: 1 1;
10700                        align: 0.5 0.5;
10701                        text_class: "toolbar_item";
10702                    }
10703                }
10704                description { state: "selected" 0.0;
10705                    inherit: "default" 0.0;
10706                    visible: 1;
10707                }
10708                description { state: "visible" 0.0;
10709                    inherit: "default" 0.0;
10710                    visible: 1;
10711                    text.min: 1 1;
10712                }
10713                description { state: "disabled" 0.0;
10714                    inherit: "default" 0.0;
10715                    color: 0 0 0 128;
10716                    color3: 0 0 0 0;
10717                }
10718                description { state: "disabled_visible" 0.0;
10719                    inherit: "default" 0.0;
10720                    color: 0 0 0 128;
10721                    color3: 0 0 0 0;
10722                    visible: 1;
10723                    text.min: 1 1;
10724                }
10725            }
10726            part { name: "elm.text_new";
10727                type: TEXT;
10728                effect: SOFT_SHADOW;
10729                mouse_events:  0;
10730                clip_to: "elm.text_new.clipper";
10731                scale: 1;
10732                description { state: "default" 0.0;
10733                    align: 0.5 1.0;
10734                    fixed: 0 1;
10735                    rel1 {
10736                        relative: 0.0 1.0;
10737                        offset:   0 -1;
10738                    }
10739                    rel2 {
10740                        relative: 1.0 1.0;
10741                        offset:   -1 -1;
10742                    }
10743                    visible: 0;
10744                    color: 224 224 224 255;
10745                    color3: 0 0 0 32;
10746                    text {
10747                        font: "Sans:style=Bold";
10748                        size: 10;
10749                        min: 1 1;
10750                        align: 0.5 0.5;
10751                        text_class: "toolbar_item";
10752                    }
10753                }
10754                description { state: "selected" 0.0;
10755                    inherit: "default" 0.0;
10756                    visible: 1;
10757                }
10758                description { state: "visible" 0.0;
10759                    inherit: "default" 0.0;
10760                    visible: 1;
10761                    text.min: 1 1;
10762                }
10763                description { state: "disabled" 0.0;
10764                    inherit: "default" 0.0;
10765                    color: 0 0 0 128;
10766                    color3: 0 0 0 0;
10767                }
10768                description { state: "disabled_visible" 0.0;
10769                    inherit: "default" 0.0;
10770                    color: 0 0 0 128;
10771                    color3: 0 0 0 0;
10772                    visible: 1;
10773                    text.min: 1 1;
10774                }
10775            }
10776            part { name: "elm.text.clipper";
10777                type: RECT;
10778                description { state: "default" 0.0;
10779                    color: 255 255 255 255;
10780                }
10781                description { state: "animation" 0.0;
10782                    color: 255 255 255 0;
10783                }
10784            }
10785            part { name: "elm.text_new.clipper";
10786                type: RECT;
10787                description { state: "default" 0.0;
10788                    color: 255 255 255 0;
10789                }
10790                description { state: "animation" 0.0;
10791                    color: 255 255 255 255;
10792                }
10793            }
10794            part { name: "elm.icon.clipper";
10795                type: RECT;
10796                description { state: "default" 0.0;
10797                    color: 255 255 255 255;
10798                }
10799                description { state: "animation" 0.0;
10800                    color: 255 255 255 0;
10801                }
10802            }
10803            part { name: "elm.icon_new.clipper";
10804                type: RECT;
10805                description { state: "default" 0.0;
10806                    color: 255 255 255 0;
10807                }
10808                description { state: "animation" 0.0;
10809                    color: 255 255 255 255;
10810                }
10811            }
10812            part { name: "event";
10813                type: RECT;
10814                mouse_events: 1;
10815                ignore_flags: ON_HOLD;
10816                description { state: "default" 0.0;
10817                    color: 0 0 0 0;
10818                }
10819            }
10820        }
10821        programs {
10822            program { name: "go_active";
10823                signal:  "elm,state,selected";
10824                source:  "elm";
10825                action:  STATE_SET "selected" 0.0;
10826                target:  "bg";
10827                target:  "elm.text";
10828                target:  "label2";
10829                target:  "elm.text_new";
10830                target:  "label2_new";
10831                transition: LINEAR 0.2;
10832            }
10833            program { name: "go_passive";
10834                signal:  "elm,state,unselected";
10835                source:  "elm";
10836                action:  STATE_SET "default" 0.0;
10837                target:  "bg";
10838                target:  "elm.text";
10839                target:  "label2";
10840                target:  "elm.text_new";
10841                target:  "label2_new";
10842                transition: LINEAR 0.1;
10843            }
10844            program { name: "go";
10845                signal:  "mouse,up,1";
10846                source:  "event";
10847                action:  SIGNAL_EMIT "elm,action,click" "elm";
10848            }
10849            program { name: "mouse,in";
10850               signal:  "mouse,in";
10851               source:  "event";
10852               action:  SIGNAL_EMIT "elm,mouse,in" "elm";
10853            }
10854            program { name: "mouse,out";
10855               signal:  "mouse,out";
10856               source:  "event";
10857               action:  SIGNAL_EMIT "elm,mouse,out" "elm";
10858            }
10859            program { name: "disable";
10860                signal: "elm,state,disabled";
10861                source: "elm";
10862                action: STATE_SET "disabled" 0.0;
10863                target: "label2";
10864                target: "label2_new";
10865                target: "bg";
10866                after: "disable_text";
10867            }
10868            program { name: "disable_text";
10869                script {
10870                    new st[31];
10871                    new Float:vl;
10872                    get_state(PART:"elm.text", st, 30, vl);
10873                    if (!strcmp(st, "visible"))
10874                    {
10875                       set_state(PART:"elm.text", "disabled_visible", 0.0);
10876                       set_state(PART:"elm.text_new", "disabled_visible", 0.0);
10877                    }
10878                    else
10879                    {
10880                       set_state(PART:"elm.text", "disabled", 0.0);
10881                       set_state(PART:"elm.text_new", "disabled", 0.0);
10882                    }
10883                }
10884            }
10885            program { name: "enable";
10886                signal: "elm,state,enabled";
10887                source: "elm";
10888                action: STATE_SET "default" 0.0;
10889                target: "label2";
10890                target: "label2_new";
10891                target: "bg";
10892                after: "enable_text";
10893            }
10894            program { name: "enable_text";
10895                script {
10896                    new st[31];
10897                    new Float:vl;
10898                    get_state(PART:"elm.text", st, 30, vl);
10899                    if (!strcmp(st, "disabled_visible"))
10900                    {
10901                       set_state(PART:"elm.text", "visible", 0.0);
10902                       set_state(PART:"elm.text_new", "visible", 0.0);
10903                    }
10904                    else
10905                    {
10906                       set_state(PART:"elm.text", "default", 0.0);
10907                       set_state(PART:"elm.text_new", "default", 0.0);
10908                    }
10909                }
10910            }
10911            program { name: "label_set,animation,forward";
10912               signal: "elm,state,label_set,forward";
10913               source: "elm";
10914               after: "label_set,animation";
10915            }
10916            program { name: "label_set,animation,backward";
10917               signal: "elm,state,label_set,backward";
10918               source: "elm";
10919               after: "label_set,animation";
10920            }
10921            program { name: "label_set,animation";
10922               signal: "elm,state,label_set";
10923               source: "elm";
10924               action: STATE_SET "animation" 0.0;
10925               target: "elm.text.clipper";
10926               target: "elm.text_new.clipper";
10927               transition: LINEAR 0.2;
10928               after: "label_set,animation,done";
10929            }
10930            program { name: "label_set,animation,done";
10931               action: SIGNAL_EMIT "elm,state,label_set,done" "elm";
10932            }
10933            program { name: "label,reset";
10934               signal: "elm,state,label,reset";
10935               source: "elm";
10936               action: STATE_SET "default" 0.0;
10937               target: "elm.text.clipper";
10938               target: "elm.text_new.clipper";
10939            }
10940            program { name: "icon_set,animation,forward";
10941               signal: "elm,state,icon_set,forward";
10942               source: "elm";
10943               after: "icon_set,animation";
10944            }
10945            program { name: "icon_set,animation,backward";
10946               signal: "elm,state,icon_set,backward";
10947               source: "elm";
10948               after: "icon_set,animation";
10949            }
10950            program { name: "icon_set,animation";
10951               signal: "elm,state,icon_set";
10952               source: "elm";
10953               action: STATE_SET "animation" 0.0;
10954               target: "elm.icon.clipper";
10955               target: "elm.icon_new.clipper";
10956               transition: LINEAR 0.2;
10957               after: "icon_set,animation,done";
10958            }
10959            program { name: "icon_set,animation,done";
10960               action: SIGNAL_EMIT "elm,state,icon_set,done" "elm";
10961            }
10962            program { name: "icon,reset";
10963               signal: "elm,state,icon,reset";
10964               source: "elm";
10965               action: STATE_SET "default" 0.0;
10966               target: "elm.icon.clipper";
10967               target: "elm.icon_new.clipper";
10968            }
10969        }
10970    }
10971
10972    group { name: "elm/toolbar/separator/default";
10973       images {
10974          image: "toolbar_separator_v.png" COMP;
10975       }
10976       parts {
10977          part { name: "separator"; // separator group
10978             description { state: "default" 0.0;
10979                min: 2 2;
10980                max: 2 9999;
10981                rel1.offset: 4 4;
10982                rel2.offset: -5 -5;
10983                image {
10984                   normal: "toolbar_separator_v.png";
10985                }
10986                fill {
10987                   smooth: 0;
10988                }
10989             }
10990          }
10991       }
10992    }
10993
10994    ///////////////////////////////////////////////////////////////////////////////
10995    group { name: "elm/notify/block_events/default";
10996        parts {
10997            part { name: "block_events";
10998                type: RECT;
10999                description { state: "default" 0.0;
11000                    color: 0 0 0 64;
11001                    visible: 1;
11002                }
11003            }
11004        }
11005            programs {
11006                    program {
11007                                 name: "block_clicked";
11008                                 signal: "mouse,clicked,1";
11009                                 source: "block_events";
11010                                 action: SIGNAL_EMIT "elm,action,clicked" "elm";
11011                    }
11012            }
11013    }
11014    group { name: "elm/notify/top/default";
11015        //this group is a design similar to the inwin group
11016        images {
11017            image: "shad_circ.png" COMP;
11018            image: "bt_dis_base.png" COMP;
11019            image: "bt_dis_hilight.png" COMP;
11020        }
11021        parts {
11022            part { name: "base";
11023                type: RECT;
11024                mouse_events: 0;
11025                repeat_events: 1;
11026                description { state: "default" 0.0;
11027                    color: 0 0 0 0;
11028                    rel1.offset: 10 10;
11029                    rel2.offset: -10 -10;
11030                    rel1.relative: 0.0 -1.0;
11031                    rel2.relative: 1.0 0.0;
11032                }
11033                description { state: "visible" 0.0;
11034                    inherit: "default" 0.0;
11035                    color: 0 0 0 64;
11036                    rel1.relative: 0.0 0.0;
11037                    rel2.relative: 1.0 1.0;
11038                }
11039            }
11040            part { name: "shad";
11041                mouse_events:  0;
11042                description { state: "default" 0.0;
11043                    image.normal: "shad_circ.png";
11044                    rel1.to: "elm.swallow.content";
11045                    rel1.offset: -64 -64;
11046                    rel2.to: "elm.swallow.content";
11047                    rel2.offset: 63 63;
11048                    fill.smooth: 0;
11049                }
11050            }
11051            part { name: "pop";
11052                mouse_events: 1;
11053                description { state: "default" 0.0;
11054                    rel1.to: "elm.swallow.content";
11055                    rel1.offset: -5 -5;
11056                    rel2.to: "elm.swallow.content";
11057                    rel2.offset: 4 4;
11058                    image {
11059                        normal: "bt_dis_base.png";
11060                        border: 4 4 4 4;
11061                    }
11062                    image.middle: SOLID;
11063                }
11064            }
11065            part { name: "popover";
11066                mouse_events: 0;
11067                description { state: "default" 0.0;
11068                    rel1.to: "pop";
11069                    rel2.to: "pop";
11070                    rel2.relative: 1.0 0.5;
11071                    image {
11072                        normal: "bt_dis_hilight.png";
11073                        border: 4 4 4 0;
11074                    }
11075                }
11076            }
11077            part { name: "elm.swallow.content";
11078                type: SWALLOW;
11079                description { state: "default" 0.0;
11080                    rel1.to: "base";
11081                    rel2.to: "base";
11082                }
11083            }
11084        }
11085        programs {
11086            program { name: "show";
11087                signal: "elm,action,show";
11088                source: "elm";
11089                action: STATE_SET "visible" 0.0;
11090                target: "base";
11091            }
11092            program { name: "show_2";
11093                 signal: "show";
11094                 action: STATE_SET "default" 0.0;
11095                 target: "base";
11096                 after: "show_3";
11097            }
11098            program { name: "show_3";
11099                 signal: "show";
11100                 action: STATE_SET "visible" 0.0;
11101                 target: "base";
11102                 transition: LINEAR 0.5;
11103            }
11104            program { name: "hide";
11105                signal: "elm,action,hide";
11106                source: "elm";
11107                action: STATE_SET "default" 0.0;
11108                target: "base";
11109            }
11110        }
11111    }
11112    group { name: "elm/notify/center/default";
11113        //this group is a design similar to the inwin group
11114        images {
11115            image: "bt_dis_base.png" COMP;
11116        }
11117        parts {
11118            part { name: "base";
11119                type: RECT;
11120                mouse_events: 0;
11121                repeat_events: 1;
11122                description { state: "default" 0.0;
11123                    color: 0 0 0 0;
11124                    rel1.relative: 0.0 0.0;
11125                    rel2.relative: 1.0 1.0;
11126                }
11127            }
11128            part { name: "pop";
11129                mouse_events: 1;
11130                description { state: "default" 0.0;
11131                    rel1.to: "elm.swallow.content";
11132                    rel1.offset: -5 -5;
11133                    rel2.to: "elm.swallow.content";
11134                    rel2.offset: 4 4;
11135                    image {
11136                        normal: "bt_dis_base.png";
11137                        border: 4 4 4 4;
11138                    }
11139                }
11140            }
11141            part { name: "elm.swallow.content";
11142                type: SWALLOW;
11143                description { state: "default" 0.0;
11144                    rel1.to: "base";
11145                    rel2.to: "base";
11146                }
11147            }
11148        }
11149        programs {
11150            program { name: "show";
11151                signal: "elm,action,show";
11152                source: "elm";
11153                action: STATE_SET "default" 0.0;
11154                target: "base";
11155            }
11156            program { name: "show_2";
11157                 signal: "show";
11158                 action: STATE_SET "default" 0.0;
11159                 target: "base";
11160            }
11161            program { name: "hide";
11162                signal: "elm,action,hide";
11163                source: "elm";
11164                action: STATE_SET "default" 0.0;
11165                target: "base";
11166            }
11167        }
11168    }
11169    group { name: "elm/notify/bottom/default";
11170        //this group is a design similar to the inwin group
11171        images {
11172            image: "shad_circ.png" COMP;
11173            image: "bt_dis_base.png" COMP;
11174            image: "bt_dis_hilight.png" COMP;
11175        }
11176        parts {
11177            part { name: "base";
11178                type: RECT;
11179                mouse_events: 0;
11180                repeat_events: 1;
11181                description { state: "default" 0.0;
11182                    color: 0 0 0 0;
11183                    rel1.offset: 10 10;
11184                    rel2.offset: -10 -10;
11185                    rel1.relative: 0.0 1.0;
11186                    rel2.relative: 1.0 2.0;
11187                }
11188                description { state: "visible" 0.0;
11189                    inherit: "default" 0.0;
11190                    color: 0 0 0 64;
11191                    rel1.relative: 0.0 0.0;
11192                    rel2.relative: 1.0 1.0;
11193                }
11194            }
11195            part { name: "shad";
11196                mouse_events:  0;
11197                description { state: "default" 0.0;
11198                    image.normal: "shad_circ.png";
11199                    rel1.to: "elm.swallow.content";
11200                    rel1.offset: -64 -64;
11201                    rel2.to: "elm.swallow.content";
11202                    rel2.offset: 63 63;
11203                    fill.smooth: 0;
11204                }
11205            }
11206            part { name: "pop";
11207                mouse_events: 1;
11208                description { state: "default" 0.0;
11209                    rel1.to: "elm.swallow.content";
11210                    rel1.offset: -5 -5;
11211                    rel2.to: "elm.swallow.content";
11212                    rel2.offset: 4 4;
11213                    image {
11214                        normal: "bt_dis_base.png";
11215                        border: 4 4 4 4;
11216                    }
11217                    image.middle: SOLID;
11218                }
11219            }
11220            part { name: "popover";
11221                mouse_events: 0;
11222                description { state: "default" 0.0;
11223                    rel1.to: "pop";
11224                    rel2.to: "pop";
11225                    rel2.relative: 1.0 0.5;
11226                    image {
11227                        normal: "bt_dis_hilight.png";
11228                        border: 4 4 4 0;
11229                    }
11230                }
11231            }
11232            part { name: "elm.swallow.content";
11233                type: SWALLOW;
11234                description { state: "default" 0.0;
11235                    rel1.to: "base";
11236                    rel2.to: "base";
11237                }
11238            }
11239        }
11240        programs {
11241            program { name: "show";
11242                signal: "elm,action,show";
11243                source: "elm";
11244                action: STATE_SET "visible" 0.0;
11245                target: "base";
11246            }
11247            program { name: "show_2";
11248                 signal: "show";
11249                 action: STATE_SET "default" 0.0;
11250                 target: "base";
11251                 after: "show_3";
11252            }
11253            program { name: "show_3";
11254                 signal: "show";
11255                 action: STATE_SET "visible" 0.0;
11256                 target: "base";
11257                 transition: LINEAR 0.5;
11258            }
11259            program { name: "hide";
11260                signal: "elm,action,hide";
11261                source: "elm";
11262                action: STATE_SET "default" 0.0;
11263                target: "base";
11264            }
11265        }
11266    }
11267    group { name: "elm/notify/left/default";
11268        //this group is a design similar to the inwin group
11269        images {
11270            image: "shad_circ.png" COMP;
11271            image: "bt_dis_base.png" COMP;
11272            image: "bt_dis_hilight.png" COMP;
11273        }
11274        parts {
11275            part { name: "base";
11276                type: RECT;
11277                mouse_events: 0;
11278                repeat_events: 1;
11279                description { state: "default" 0.0;
11280                    color: 0 0 0 0;
11281                    rel1.offset: 10 10;
11282                    rel2.offset: -10 -10;
11283                    rel1.relative: -1.0 0.0;
11284                    rel2.relative: 0.0 1.0;
11285                }
11286                description { state: "visible" 0.0;
11287                    inherit: "default" 0.0;
11288                    color: 0 0 0 64;
11289                    rel1.relative: 0.0 0.0;
11290                    rel2.relative: 1.0 1.0;
11291                }
11292            }
11293            part { name: "shad";
11294                mouse_events:  0;
11295                description { state: "default" 0.0;
11296                    image.normal: "shad_circ.png";
11297                    rel1.to: "elm.swallow.content";
11298                    rel1.offset: -64 -64;
11299                    rel2.to: "elm.swallow.content";
11300                    rel2.offset: 63 63;
11301                    fill.smooth: 0;
11302                }
11303            }
11304            part { name: "pop";
11305                mouse_events: 1;
11306                description { state: "default" 0.0;
11307                    rel1.to: "elm.swallow.content";
11308                    rel1.offset: -5 -5;
11309                    rel2.to: "elm.swallow.content";
11310                    rel2.offset: 4 4;
11311                    image {
11312                        normal: "bt_dis_base.png";
11313                        border: 4 4 4 4;
11314                    }
11315                    image.middle: SOLID;
11316                }
11317            }
11318            part { name: "popover";
11319                mouse_events: 0;
11320                description { state: "default" 0.0;
11321                    rel1.to: "pop";
11322                    rel2.to: "pop";
11323                    rel2.relative: 1.0 0.5;
11324                    image {
11325                        normal: "bt_dis_hilight.png";
11326                        border: 4 4 4 0;
11327                    }
11328                }
11329            }
11330            part { name: "elm.swallow.content";
11331                type: SWALLOW;
11332                description { state: "default" 0.0;
11333                    rel1.to: "base";
11334                    rel2.to: "base";
11335                }
11336            }
11337        }
11338        programs {
11339            program { name: "show";
11340                signal: "elm,action,show";
11341                source: "elm";
11342                action: STATE_SET "visible" 0.0;
11343                target: "base";
11344            }
11345            program { name: "show_2";
11346                signal: "show";
11347                action: STATE_SET "default" 0.0;
11348                target: "base";
11349                after: "show_3";
11350            }
11351            program { name: "show_3";
11352                signal: "show";
11353                action: STATE_SET "visible" 0.0;
11354                target: "base";
11355                transition: LINEAR 0.5;
11356            }
11357            program { name: "hide";
11358                signal: "elm,action,hide";
11359                source: "elm";
11360                action: STATE_SET "default" 0.0;
11361                target: "base";
11362            }
11363        }
11364    }
11365    group { name: "elm/notify/right/default";
11366        //this group is a design similar to the inwin group
11367        images {
11368            image: "shad_circ.png" COMP;
11369            image: "bt_dis_base.png" COMP;
11370            image: "bt_dis_hilight.png" COMP;
11371        }
11372        parts {
11373            part { name: "base";
11374                type: RECT;
11375                mouse_events: 0;
11376                repeat_events: 1;
11377                 description { state: "default" 0.0;
11378                    color: 0 0 0 0;
11379                    rel1.offset: 10 10;
11380                    rel2.offset: -10 -10;
11381                    rel1.relative: 1.0 0.0;
11382                    rel2.relative: 2.0 1.0;
11383                }
11384                description { state: "visible" 0.0;
11385                    inherit: "default" 0.0;
11386                    color: 0 0 0 64;
11387                    rel1.relative: 0.0 0.0;
11388                    rel2.relative: 1.0 1.0;
11389                }
11390            }
11391            part { name: "shad";
11392                mouse_events:  0;
11393                description { state: "default" 0.0;
11394                    image.normal: "shad_circ.png";
11395                    rel1.to: "elm.swallow.content";
11396                    rel1.offset: -64 -64;
11397                    rel2.to: "elm.swallow.content";
11398                    rel2.offset: 63 63;
11399                    fill.smooth: 0;
11400                }
11401            }
11402            part { name: "pop";
11403                mouse_events: 1;
11404                description { state: "default" 0.0;
11405                    rel1.to: "elm.swallow.content";
11406                    rel1.offset: -5 -5;
11407                    rel2.to: "elm.swallow.content";
11408                    rel2.offset: 4 4;
11409                    image {
11410                        normal: "bt_dis_base.png";
11411                        border: 4 4 4 4;
11412                    }
11413                    image.middle: SOLID;
11414                }
11415            }
11416            part { name: "popover";
11417                mouse_events: 0;
11418                description { state: "default" 0.0;
11419                    rel1.to: "pop";
11420                    rel2.to: "pop";
11421                    rel2.relative: 1.0 0.5;
11422                    image {
11423                        normal: "bt_dis_hilight.png";
11424                        border: 4 4 4 0;
11425                    }
11426                }
11427            }
11428            part { name: "elm.swallow.content";
11429                type: SWALLOW;
11430                description { state: "default" 0.0;
11431                    rel1.to: "base";
11432                    rel2.to: "base";
11433                }
11434            }
11435        }
11436        programs {
11437            program { name: "show";
11438                signal: "elm,action,show";
11439                source: "elm";
11440                action: STATE_SET "visible" 0.0;
11441                target: "base";
11442            }
11443            program { name: "show_2";
11444                signal: "show";
11445                action: STATE_SET "default" 0.0;
11446                target: "base";
11447                after: "show_3";
11448            }
11449            program { name: "show_3";
11450                signal: "show";
11451                action: STATE_SET "visible" 0.0;
11452                target: "base";
11453                transition: LINEAR 0.5;
11454            }
11455            program { name: "hide";
11456                signal: "elm,action,hide";
11457                source: "elm";
11458                action: STATE_SET "default" 0.0;
11459                target: "base";
11460            }
11461        }
11462    }
11463    group { name: "elm/notify/top_left/default";
11464        //this group is a design similar to the inwin group
11465        images {
11466            image: "shad_circ.png" COMP;
11467            image: "bt_dis_base.png" COMP;
11468            image: "bt_dis_hilight.png" COMP;
11469        }
11470        parts {
11471            part { name: "base";
11472                type: RECT;
11473                mouse_events: 0;
11474                repeat_events: 1;
11475                 description { state: "default" 0.0;
11476                    color: 0 0 0 0;
11477                    rel1.offset: 10 10;
11478                    rel2.offset: -10 -10;
11479                    rel1.relative: 0.0 -1.0;
11480                    rel2.relative: 1.0 0.0;
11481                }
11482                description { state: "visible" 0.0;
11483                    inherit: "default" 0.0;
11484                    color: 0 0 0 64;
11485                    rel1.relative: 0.0 0.0;
11486                    rel2.relative: 1.0 1.0;
11487                }
11488            }
11489            part { name: "shad";
11490                mouse_events:  0;
11491                description { state: "default" 0.0;
11492                    image.normal: "shad_circ.png";
11493                    rel1.to: "elm.swallow.content";
11494                    rel1.offset: -64 -64;
11495                    rel2.to: "elm.swallow.content";
11496                    rel2.offset: 63 63;
11497                    fill.smooth: 0;
11498                }
11499            }
11500            part { name: "pop";
11501                mouse_events: 1;
11502                description { state: "default" 0.0;
11503                    rel1.to: "elm.swallow.content";
11504                    rel1.offset: -5 -5;
11505                    rel2.to: "elm.swallow.content";
11506                    rel2.offset: 4 4;
11507                    image {
11508                        normal: "bt_dis_base.png";
11509                        border: 4 4 4 4;
11510                    }
11511                    image.middle: SOLID;
11512                }
11513            }
11514            part { name: "popover";
11515                mouse_events: 0;
11516                description { state: "default" 0.0;
11517                    rel1.to: "pop";
11518                    rel2.to: "pop";
11519                    rel2.relative: 1.0 0.5;
11520                    image {
11521                        normal: "bt_dis_hilight.png";
11522                        border: 4 4 4 0;
11523                    }
11524                }
11525            }
11526            part { name: "elm.swallow.content";
11527                type: SWALLOW;
11528                description { state: "default" 0.0;
11529                    rel1.to: "base";
11530                    rel2.to: "base";
11531                }
11532            }
11533        }
11534        programs {
11535            program { name: "show";
11536                signal: "elm,action,show";
11537                source: "elm";
11538                action: STATE_SET "visible" 0.0;
11539                target: "base";
11540            }
11541            program { name: "show_2";
11542                signal: "show";
11543                action: STATE_SET "default" 0.0;
11544                target: "base";
11545                after: "show_3";
11546            }
11547            program { name: "show_3";
11548                signal: "show";
11549                action: STATE_SET "visible" 0.0;
11550                target: "base";
11551                transition: LINEAR 0.5;
11552            }
11553            program { name: "hide";
11554                signal: "elm,action,hide";
11555                source: "elm";
11556                action: STATE_SET "default" 0.0;
11557                target: "base";
11558            }
11559        }
11560    }
11561    group { name: "elm/notify/top_right/default";
11562        //this group is a design similar to the inwin group
11563        images {
11564            image: "shad_circ.png" COMP;
11565            image: "bt_dis_base.png" COMP;
11566            image: "bt_dis_hilight.png" COMP;
11567        }
11568        parts {
11569            part { name: "base";
11570                type: RECT;
11571                mouse_events: 0;
11572                repeat_events: 1;
11573                description { state: "default" 0.0;
11574                    color: 0 0 0 0;
11575                    rel1.offset: 10 10;
11576                    rel2.offset: -10 -10;
11577                    rel1.relative: 0.0 -1.0;
11578                    rel2.relative: 1.0 0.0;
11579                }
11580                description { state: "visible" 0.0;
11581                    inherit: "default" 0.0;
11582                    color: 0 0 0 64;
11583                    rel1.relative: 0.0 0.0;
11584                    rel2.relative: 1.0 1.0;
11585                }
11586            }
11587            part { name: "shad";
11588                mouse_events:  0;
11589                description { state: "default" 0.0;
11590                    image.normal: "shad_circ.png";
11591                    rel1.to: "elm.swallow.content";
11592                    rel1.offset: -64 -64;
11593                    rel2.to: "elm.swallow.content";
11594                    rel2.offset: 63 63;
11595                    fill.smooth: 0;
11596                }
11597            }
11598            part { name: "pop";
11599                mouse_events: 1;
11600                description { state: "default" 0.0;
11601                    rel1.to: "elm.swallow.content";
11602                    rel1.offset: -5 -5;
11603                    rel2.to: "elm.swallow.content";
11604                    rel2.offset: 4 4;
11605                    image {
11606                        normal: "bt_dis_base.png";
11607                        border: 4 4 4 4;
11608                    }
11609                    image.middle: SOLID;
11610                }
11611            }
11612            part { name: "popover";
11613                mouse_events: 0;
11614                description { state: "default" 0.0;
11615                    rel1.to: "pop";
11616                    rel2.to: "pop";
11617                    rel2.relative: 1.0 0.5;
11618                    image {
11619                        normal: "bt_dis_hilight.png";
11620                        border: 4 4 4 0;
11621                    }
11622                }
11623            }
11624            part { name: "elm.swallow.content";
11625                type: SWALLOW;
11626                description { state: "default" 0.0;
11627                    rel1.to: "base";
11628                    rel2.to: "base";
11629                }
11630            }
11631        }
11632        programs {
11633            program { name: "show";
11634                signal: "elm,action,show";
11635                source: "elm";
11636                action: STATE_SET "visible" 0.0;
11637                target: "base";
11638            }
11639            program { name: "show_2";
11640                signal: "show";
11641                action: STATE_SET "default" 0.0;
11642                target: "base";
11643                after: "show_3";
11644            }
11645            program { name: "show_3";
11646                signal: "show";
11647                action: STATE_SET "visible" 0.0;
11648                target: "base";
11649                transition: LINEAR 0.5;
11650            }
11651            program { name: "hide";
11652                signal: "elm,action,hide";
11653                source: "elm";
11654                action: STATE_SET "default" 0.0;
11655                target: "base";
11656            }
11657        }
11658    }
11659    group { name: "elm/notify/bottom_left/default";
11660        //this group is a design similar to the inwin group
11661        images {
11662            image: "shad_circ.png" COMP;
11663            image: "bt_dis_base.png" COMP;
11664            image: "bt_dis_hilight.png" COMP;
11665        }
11666        parts {
11667            part { name: "base";
11668                type: RECT;
11669                mouse_events: 0;
11670                repeat_events: 1;
11671                description { state: "default" 0.0;
11672                    color: 0 0 0 0;
11673                    rel1.offset: 10 10;
11674                    rel2.offset: -10 -10;
11675                    rel1.relative: 0.0 1.0;
11676                    rel2.relative: 1.0 2.0;
11677                }
11678                description { state: "visible" 0.0;
11679                    inherit: "default" 0.0;
11680                    color: 0 0 0 64;
11681                    rel1.relative: 0.0 0.0;
11682                    rel2.relative: 1.0 1.0;
11683                }
11684            }
11685            part { name: "shad";
11686                mouse_events:  0;
11687                description { state: "default" 0.0;
11688                    image.normal: "shad_circ.png";
11689                    rel1.to: "elm.swallow.content";
11690                    rel1.offset: -64 -64;
11691                    rel2.to: "elm.swallow.content";
11692                    rel2.offset: 63 63;
11693                    fill.smooth: 0;
11694                }
11695            }
11696            part { name: "pop";
11697                mouse_events: 1;
11698                description { state: "default" 0.0;
11699                    rel1.to: "elm.swallow.content";
11700                    rel1.offset: -5 -5;
11701                    rel2.to: "elm.swallow.content";
11702                    rel2.offset: 4 4;
11703                    image {
11704                        normal: "bt_dis_base.png";
11705                        border: 4 4 4 4;
11706                    }
11707                    image.middle: SOLID;
11708                }
11709            }
11710            part { name: "popover";
11711                mouse_events: 0;
11712                description { state: "default" 0.0;
11713                    rel1.to: "pop";
11714                    rel2.to: "pop";
11715                    rel2.relative: 1.0 0.5;
11716                    image {
11717                        normal: "bt_dis_hilight.png";
11718                        border: 4 4 4 0;
11719                    }
11720                }
11721            }
11722            part { name: "elm.swallow.content";
11723                type: SWALLOW;
11724                description { state: "default" 0.0;
11725                    rel1.to: "base";
11726                    rel2.to: "base";
11727                }
11728            }
11729        }
11730        programs {
11731            program { name: "show";
11732                signal: "elm,action,show";
11733                source: "elm";
11734                action: STATE_SET "visible" 0.0;
11735                target: "base";
11736            }
11737            program { name: "show_2";
11738                signal: "show";
11739                action: STATE_SET "default" 0.0;
11740                target: "base";
11741                after: "show_3";
11742            }
11743            program { name: "show_3";
11744                signal: "show";
11745                action: STATE_SET "visible" 0.0;
11746                target: "base";
11747                transition: LINEAR 0.5;
11748            }
11749            program { name: "hide";
11750                signal: "elm,action,hide";
11751                source: "elm";
11752                action: STATE_SET "default" 0.0;
11753                target: "base";
11754            }
11755        }
11756    }
11757    group { name: "elm/notify/bottom_right/default";
11758        //this group is a design similar to the inwin group
11759        images {
11760            image: "shad_circ.png" COMP;
11761            image: "bt_dis_base.png" COMP;
11762            image: "bt_dis_hilight.png" COMP;
11763        }
11764        parts {
11765            part { name: "base";
11766                type: RECT;
11767                mouse_events: 0;
11768                repeat_events: 1;
11769               description { state: "default" 0.0;
11770                    color: 0 0 0 0;
11771                    rel1.offset: 10 10;
11772                    rel2.offset: -10 -10;
11773                    rel1.relative: 0.0 1.0;
11774                    rel2.relative: 1.0 2.0;
11775                }
11776                description { state: "visible" 0.0;
11777                    inherit: "default" 0.0;
11778                    color: 0 0 0 64;
11779                    rel1.relative: 0.0 0.0;
11780                    rel2.relative: 1.0 1.0;
11781                }
11782            }
11783            part { name: "shad";
11784                mouse_events:  0;
11785                description { state: "default" 0.0;
11786                    image.normal: "shad_circ.png";
11787                    rel1.to: "elm.swallow.content";
11788                    rel1.offset: -64 -64;
11789                    rel2.to: "elm.swallow.content";
11790                    rel2.offset: 63 63;
11791                    fill.smooth: 0;
11792                }
11793            }
11794            part { name: "pop";
11795                mouse_events: 1;
11796                description { state: "default" 0.0;
11797                    rel1.to: "elm.swallow.content";
11798                    rel1.offset: -5 -5;
11799                    rel2.to: "elm.swallow.content";
11800                    rel2.offset: 4 4;
11801                    image {
11802                        normal: "bt_dis_base.png";
11803                        border: 4 4 4 4;
11804                    }
11805                    image.middle: SOLID;
11806                }
11807            }
11808            part { name: "popover";
11809                mouse_events: 0;
11810                description { state: "default" 0.0;
11811                    rel1.to: "pop";
11812                    rel2.to: "pop";
11813                    rel2.relative: 1.0 0.5;
11814                    image {
11815                        normal: "bt_dis_hilight.png";
11816                        border: 4 4 4 0;
11817                    }
11818                }
11819            }
11820            part { name: "elm.swallow.content";
11821                type: SWALLOW;
11822                description { state: "default" 0.0;
11823                    rel1.to: "base";
11824                    rel2.to: "base";
11825                }
11826            }
11827        }
11828        programs {
11829            program { name: "show";
11830                signal: "elm,action,show";
11831                source: "elm";
11832                action: STATE_SET "visible" 0.0;
11833                target: "base";
11834            }
11835            program { name: "show_2";
11836                signal: "show";
11837                action: STATE_SET "default" 0.0;
11838                target: "base";
11839                after: "show_3";
11840            }
11841            program { name: "show_3";
11842                signal: "show";
11843                action: STATE_SET "visible" 0.0;
11844                target: "base";
11845                transition: LINEAR 0.5;
11846            }
11847            program { name: "hide";
11848                signal: "elm,action,hide";
11849                source: "elm";
11850                action: STATE_SET "default" 0.0;
11851                target: "base";
11852            }
11853        }
11854    }
11855
11856 ///////////////////////////////////////////////////////////////////////////////
11857    group { name: "elm/slideshow/base/default";
11858       data {
11859          item: transitions "fade black_fade horizontal vertical square";
11860          item: layouts "fullscreen not_fullscreen";
11861       }
11862       parts {
11863          part { name: "whole";
11864                  type: RECT;
11865             description {
11866                state: "default" 0.0;
11867                visible: 1;
11868                color: 20 20 20 255;
11869             }
11870          }
11871          part { name: "image_1_whole";
11872             type: RECT;
11873             description {
11874                state: "default" 0.0;
11875                color: 255 255 255 255;
11876             }
11877             description {
11878                state: "fade_prev_next" 0.0;
11879                inherit: "default" 0.0;
11880                color: 255 255 255 0;
11881             }
11882             description {
11883                state: "black_fade_prev_next_init" 0.0;
11884                inherit: "default" 0.0;
11885                color: 255 255 255 255;
11886             }
11887             description {
11888                state: "black_fade_prev_next" 0.0;
11889                inherit: "default" 0.0;
11890                color: 0 0 0 255;
11891             }
11892             description {
11893                state: "horizontal_next_init" 0.0;
11894                inherit: "default" 0.0;
11895             }
11896             description {
11897                state: "horizontal_next" 0.0;
11898                inherit: "default" 0.0;
11899                rel1.relative: -1.0 0.0;
11900                rel2.relative: 0.0 1.0;
11901             }
11902             description {
11903                state: "horizontal_prev_init" 0.0;
11904                inherit: "default" 0.0;
11905             }
11906             description {
11907                state: "horizontal_prev" 0.0;
11908                inherit: "default" 0.0;
11909                rel1.relative: 1.0 0.0;
11910                rel2.relative: 2.0 1.0;
11911             }
11912             description {
11913                state: "vertical_next_init" 0.0;
11914                inherit: "default" 0.0;
11915             }
11916             description {
11917                state: "vertical_next" 0.0;
11918                inherit: "default" 0.0;
11919                rel1.relative: 0.0 -1.0;
11920                rel2.relative: 1.0 0.0;
11921             }
11922             description {
11923                state: "vertical_prev_init" 0.0;
11924                inherit: "default" 0.0;
11925             }
11926             description {
11927                state: "vertical_prev" 0.0;
11928                inherit: "default" 0.0;
11929                rel1.relative: 0.0 1.0;
11930                rel2.relative: 1.0 2.0;
11931             }
11932             description {
11933                state: "square_prev_next" 0.0;
11934                inherit: "default" 0.0;
11935                color: 255 255 255 0;
11936             }
11937          }
11938          part { name: "image_2_whole";
11939             type: RECT;
11940             description {
11941                state: "default" 0.0;
11942                visible: 1;
11943                color: 255 255 255 0;
11944             }
11945             description {
11946                state: "fade_prev_next" 0.0;
11947                inherit: "default" 0.0;
11948                color: 255 255 255 255;
11949             }
11950             description {
11951                state: "black_fade_prev_next_init" 0.0;
11952                inherit: "default" 0.0;
11953                color: 0 0 0 0;
11954             }
11955             description {
11956                state: "black_fade_prev_next" 0.0;
11957                inherit: "default" 0.0;
11958                color: 255 255 255 255;
11959             }
11960             description {
11961                state: "horizontal_next_init" 0.0;
11962                inherit: "default" 0.0;
11963                rel1.relative: 1.0 0.0;
11964                rel2.relative: 2.0 1.0;
11965                color: 255 255 255 255;
11966             }
11967             description {
11968                state: "horizontal_next" 0.0;
11969                inherit: "default" 0.0;
11970                color: 255 255 255 255;
11971             }
11972             description {
11973                state: "horizontal_prev_init" 0.0;
11974                inherit: "default" 0.0;
11975                rel1.relative: -1.0 0.0;
11976                rel2.relative: 0.0 1.0;
11977                color: 255 255 255 255;
11978             }
11979             description {
11980                state: "horizontal_prev" 0.0;
11981                inherit: "default" 0.0;
11982                color: 255 255 255 255;
11983             }
11984             description {
11985                state: "vertical_next_init" 0.0;
11986                inherit: "default" 0.0;
11987                rel1.relative: 0.0 1.0;
11988                rel2.relative: 1.0 2.0;
11989                color: 255 255 255 255;
11990             }
11991             description {
11992                state: "vertical_next" 0.0;
11993                inherit: "default" 0.0;
11994                color: 255 255 255 255;
11995             }
11996             description {
11997                state: "vertical_prev_init" 0.0;
11998                inherit: "default" 0.0;
11999                rel1.relative: 0.0 -1.0;
12000                rel2.relative: 1.0 0.0;
12001                color: 255 255 255 255;
12002             }
12003             description {
12004                state: "vertical_prev" 0.0;
12005                inherit: "default" 0.0;
12006                color: 255 255 255 255;
12007             }
12008             description {
12009                state: "square_prev_next_init" 0.0;
12010                inherit: "default" 0.0;
12011                rel1.relative: 0.5 0.5;
12012                rel2.relative: 0.5 0.5;
12013                color: 255 255 255 255;
12014             }
12015             description {
12016                state: "square_prev_next" 0.0;
12017                inherit: "default" 0.0;
12018                rel1.relative: 0.0 0.0;
12019                rel2.relative: 1.0 1.0;
12020                color: 255 255 255 255;
12021             }
12022          }
12023          part { name: "elm.swallow.1";
12024             type: SWALLOW;
12025             clip_to: "image_1_whole";
12026             description {
12027                state: "default" 0.0;
12028                rel1.to: "image_1_whole";
12029                rel2.to: "image_1_whole";
12030                color: 255 255 255 255;
12031             }
12032             description {
12033                state: "not_fullscreen" 0.0;
12034                rel1.relative: 0.1 0.1;
12035                rel1.to: "image_1_whole";
12036                rel2.relative: 0.9 0.9;
12037                rel2.to: "image_1_whole";
12038                color: 255 255 255 255;
12039             }
12040          }
12041          part { name: "elm.swallow.2";
12042             type: SWALLOW;
12043             clip_to: "image_2_whole";
12044             description {
12045                state: "default" 0.0;
12046                color: 255 255 255 255;
12047                rel1.to: "image_2_whole";
12048                rel2.to: "image_2_whole";
12049             }
12050             description {
12051                state: "not_fullscreen" 0.0;
12052                color: 255 255 255 255;
12053                rel1.relative: 0.1 0.1;
12054                rel1.to: "image_2_whole";
12055                rel2.relative: 0.9 0.9;
12056                rel2.to: "image_2_whole";
12057             }
12058          }
12059          part { name: "events_catcher";
12060             type: RECT;
12061             repeat_events: 1;
12062             description {
12063                state: "default" 0.0;
12064                visible: 1;
12065                color: 0 0 0 0;
12066             }
12067          }
12068       }
12069       programs {
12070               //Substyle
12071               program { name: "layout_fullscreen";
12072             signal: "layout,fullscreen";
12073             source: "slideshow";
12074             action: STATE_SET "default" 0.0;
12075             target: "elm.swallow.1";
12076             target: "elm.swallow.2";
12077             transition: SINUSOIDAL 1.0;
12078         }
12079         program { name: "layout_not_fullscreen";
12080             signal: "layout,not_fullscreen";
12081             source: "slideshow";
12082             action: STATE_SET "not_fullscreen" 0.0;
12083             target: "elm.swallow.1";
12084             target: "elm.swallow.2";
12085             transition: SINUSOIDAL 1.0;
12086          }
12087                //
12088          program { name: "fade_next";
12089             signal: "fade,next";
12090             source: "slideshow";
12091             action: STATE_SET "default" 0.0;
12092             target: "image_1_whole";
12093             target: "image_2_whole";
12094             after: "fade_next_2";
12095          }
12096          program { name: "fade_next_2";
12097             action: STATE_SET "fade_prev_next" 0.0;
12098             target: "image_1_whole";
12099             target: "image_2_whole";
12100             transition: SINUSOIDAL 1.5;
12101             after: "end";
12102          }
12103          program { name: "fade_previous";
12104             signal: "fade,previous";
12105             source: "slideshow";
12106             action: STATE_SET "default" 0.0;
12107             target: "image_1_whole";
12108             target: "image_2_whole";
12109             after: "fade_previous_2";
12110          }
12111          program { name: "fade_previous_2";
12112             action: STATE_SET "fade_prev_next" 0.0;
12113             target: "image_1_whole";
12114             target: "image_2_whole";
12115             transition: SINUSOIDAL 1.5;
12116             after: "end";
12117          }
12118          program { name: "black_fade_next";
12119             signal: "black_fade,next";
12120             source: "slideshow";
12121             action: STATE_SET "black_fade_prev_next_init" 0.0;
12122             target: "image_1_whole";
12123             target: "image_2_whole";
12124             after: "black_fade_next_2";
12125          }
12126          program { name: "black_fade_next_2";
12127             action: STATE_SET "black_fade_prev_next" 0.0;
12128             target: "image_1_whole";
12129             transition: SINUSOIDAL 0.75;
12130             after: "black_fade_next_3";
12131          }
12132          program { name: "black_fade_next_3";
12133             action: STATE_SET "black_fade_prev_next" 0.0;
12134             target: "image_2_whole";
12135             transition: SINUSOIDAL 0.75;
12136             after: "end";
12137          }
12138          program { name: "black_fade_previous";
12139             signal: "black_fade,previous";
12140             source: "slideshow";
12141             action: STATE_SET "black_fade_prev_next_init" 0.0;
12142             target: "image_1_whole";
12143             target: "image_2_whole";
12144             after: "black_fade_previous_2";
12145          }
12146          program { name: "black_fade_previous_2";
12147             action: STATE_SET "black_fade_prev_next" 0.0;
12148             target: "image_1_whole";
12149             transition: SINUSOIDAL 0.75;
12150             after: "black_fade_previous_3";
12151          }
12152          program { name: "black_fade_previous_3";
12153             action: STATE_SET "black_fade_prev_next" 0.0;
12154             target: "image_2_whole";
12155             transition: SINUSOIDAL 0.75;
12156             after: "end";
12157          }
12158          program { name: "horizontal_next";
12159             signal: "horizontal,next";
12160             source: "slideshow";
12161             action: STATE_SET "horizontal_next_init" 0.0;
12162             target: "image_1_whole";
12163             target: "image_2_whole";
12164             after: "horizontal_next_2";
12165          }
12166          program { name: "horizontal_next_2";
12167             action: STATE_SET "horizontal_next" 0.0;
12168             target: "image_1_whole";
12169             target: "image_2_whole";
12170             transition: SINUSOIDAL 1.5;
12171             after: "end";
12172          }
12173          program { name: "horizontal_previous";
12174             signal: "horizontal,previous";
12175             source: "slideshow";
12176             action: STATE_SET "horizontal_prev_init" 0.0;
12177             target: "image_1_whole";
12178             target: "image_2_whole";
12179             after: "horizontal_previous_2";
12180          }
12181          program { name: "horizontal_previous_2";
12182             action: STATE_SET "horizontal_prev" 0.0;
12183             target: "image_1_whole";
12184             target: "image_2_whole";
12185             transition: SINUSOIDAL 1.5;
12186             after: "end";
12187          }
12188          program { name: "vertical_next";
12189             signal: "vertical,next";
12190             source: "slideshow";
12191             action: STATE_SET "vertical_next_init" 0.0;
12192             target: "image_1_whole";
12193             target: "image_2_whole";
12194             after: "vertical_next_2";
12195          }
12196          program { name: "vertical_next_2";
12197             action: STATE_SET "vertical_next" 0.0;
12198             target: "image_1_whole";
12199             target: "image_2_whole";
12200             transition: SINUSOIDAL 1.5;
12201             after: "end";
12202          }
12203          program { name: "vertical_previous";
12204             signal: "vertical,previous";
12205             source: "slideshow";
12206             action: STATE_SET "vertical_prev_init" 0.0;
12207             target: "image_1_whole";
12208             target: "image_2_whole";
12209             after: "vertical_previous_2";
12210          }
12211          program { name: "vertical_previous_2";
12212             action: STATE_SET "vertical_prev" 0.0;
12213             target: "image_1_whole";
12214             target: "image_2_whole";
12215             transition: SINUSOIDAL 1.5;
12216             after: "end";
12217          }
12218          program { name: "square_next";
12219             signal: "square,next";
12220             source: "slideshow";
12221             action: STATE_SET "square_prev_next_init" 0.0;
12222             target: "image_2_whole";
12223             after: "square_next_2";
12224          }
12225          program { name: "square_next_2";
12226             action: STATE_SET "square_prev_next" 0.0;
12227             target: "image_2_whole";
12228             target: "image_1_whole";
12229             transition: SINUSOIDAL 1.5;
12230             after: "end";
12231          }
12232          program { name: "square_previous";
12233             signal: "square,previous";
12234             source: "slideshow";
12235             action: STATE_SET "square_prev_next_init" 0.0;
12236             target: "image_2_whole";
12237             after: "square_next_2";
12238          }
12239          program { name: "end";
12240             action: SIGNAL_EMIT "end" "slideshow";
12241          }
12242          program { name: "end_signal";
12243             signal: "anim,end";
12244             source: "slideshow";
12245             action: STATE_SET "default" 0.0;
12246             target: "image_1_whole";
12247             target: "image_2_whole";
12248          }
12249       }
12250    }
12251
12252 ///////////////////////////////////////////////////////////////////////////////
12253    group { name: "elm/win/inwin/default";
12254       images {
12255          image: "shad_circ.png" COMP;
12256          image: "bt_dis_base.png" COMP;
12257          image: "bt_dis_hilight.png" COMP;
12258       }
12259       parts {
12260          part { name: "base";
12261             type: RECT;
12262             mouse_events: 1;
12263             description { state: "default" 0.0;
12264                color: 0 0 0 0;
12265             }
12266             description { state: "visible" 0.0;
12267                inherit: "default" 1.0;
12268                color: 0 0 0 64;
12269             }
12270          }
12271          part { name: "shad";
12272             mouse_events:  0;
12273             description { state: "default" 0.0;
12274                image.normal: "shad_circ.png";
12275                rel1.to: "elm.swallow.content";
12276                rel1.offset: -64 -64;
12277                rel2.to: "elm.swallow.content";
12278                rel2.offset: 63 63;
12279                fill.smooth: 0;
12280             }
12281          }
12282          part { name: "pop";
12283             mouse_events: 1;
12284             description { state: "default" 0.0;
12285                rel1.to: "elm.swallow.content";
12286                rel1.offset: -5 -5;
12287                rel2.to: "elm.swallow.content";
12288                rel2.offset: 4 4;
12289                image {
12290                   normal: "bt_dis_base.png";
12291                   border: 4 4 4 4;
12292                }
12293                image.middle: SOLID;
12294             }
12295          }
12296          part { name: "popover";
12297             mouse_events: 0;
12298             description { state: "default" 0.0;
12299                rel1.to: "pop";
12300                rel2.to: "pop";
12301                rel2.relative: 1.0 0.5;
12302                image {
12303                   normal: "bt_dis_hilight.png";
12304                   border: 4 4 4 0;
12305                }
12306             }
12307          }
12308          part { name: "elm.swallow.content";
12309             type: SWALLOW;
12310             description { state: "default" 0.0;
12311                rel1.relative: 0.1 0.1;
12312                rel2.relative: 0.9 0.9;
12313             }
12314          }
12315       }
12316       programs {
12317          program { name: "show";
12318             signal: "elm,action,show";
12319             source: "elm";
12320             action: STATE_SET "visible" 0.0;
12321 //            transition: DECELERATE 0.5;
12322             target: "base";
12323          }
12324          program { name: "hide";
12325             signal: "elm,action,hide";
12326             source: "elm";
12327             action: STATE_SET "default" 0.0;
12328 //            transition: DECELERATE 0.5;
12329             target: "base";
12330          }
12331       }
12332    }
12333
12334    group { name: "elm/win/inwin/minimal";
12335       images {
12336          image: "shad_circ.png" COMP;
12337          image: "bt_dis_base.png" COMP;
12338          image: "bt_dis_hilight.png" COMP;
12339       }
12340       parts {
12341          part { name: "base";
12342             type: RECT;
12343             mouse_events: 1;
12344             description { state: "default" 0.0;
12345                color: 0 0 0 0;
12346             }
12347             description { state: "visible" 0.0;
12348                inherit: "default" 1.0;
12349                color: 0 0 0 64;
12350             }
12351          }
12352          part { name: "shad";
12353             mouse_events:  0;
12354             description { state: "default" 0.0;
12355                image.normal: "shad_circ.png";
12356                rel1.to: "elm.swallow.content";
12357                rel1.offset: -64 -64;
12358                rel2.to: "elm.swallow.content";
12359                rel2.offset: 63 63;
12360                fill.smooth: 0;
12361             }
12362          }
12363          part { name: "pop";
12364             mouse_events: 1;
12365             description { state: "default" 0.0;
12366                rel1.to: "elm.swallow.content";
12367                rel1.offset: -5 -5;
12368                rel2.to: "elm.swallow.content";
12369                rel2.offset: 4 4;
12370                image {
12371                   normal: "bt_dis_base.png";
12372                   border: 4 4 4 4;
12373                }
12374                image.middle: SOLID;
12375             }
12376          }
12377          part { name: "popover";
12378             mouse_events: 0;
12379             description { state: "default" 0.0;
12380                rel1.to: "pop";
12381                rel2.to: "pop";
12382                rel2.relative: 1.0 0.5;
12383                image {
12384                   normal: "bt_dis_hilight.png";
12385                   border: 4 4 4 0;
12386                }
12387             }
12388          }
12389          part { name: "elm.swallow.content";
12390             type: SWALLOW;
12391             description { state: "default" 0.0;
12392                fixed: 1 1;
12393                rel1.relative: 0.5 0.5;
12394                rel2.relative: 0.5 0.5;
12395             }
12396          }
12397       }
12398       programs {
12399          program { name: "show";
12400             signal: "elm,action,show";
12401             source: "elm";
12402             action: STATE_SET "visible" 0.0;
12403 //            transition: DECELERATE 0.5;
12404             target: "base";
12405          }
12406          program { name: "hide";
12407             signal: "elm,action,hide";
12408             source: "elm";
12409             action: STATE_SET "default" 0.0;
12410 //            transition: DECELERATE 0.5;
12411             target: "base";
12412          }
12413       }
12414    }
12415
12416    group { name: "elm/win/inwin/minimal_vertical";
12417       images {
12418          image: "shad_circ.png" COMP;
12419          image: "bt_dis_base.png" COMP;
12420          image: "bt_dis_hilight.png" COMP;
12421       }
12422       parts {
12423          part { name: "base";
12424             type: RECT;
12425             mouse_events: 1;
12426             description { state: "default" 0.0;
12427                color: 0 0 0 0;
12428             }
12429             description { state: "visible" 0.0;
12430                inherit: "default" 1.0;
12431                color: 0 0 0 64;
12432             }
12433          }
12434          part { name: "shad";
12435             mouse_events:  0;
12436             description { state: "default" 0.0;
12437                image.normal: "shad_circ.png";
12438                rel1.to: "elm.swallow.content";
12439                rel1.offset: -64 -64;
12440                rel2.to: "elm.swallow.content";
12441                rel2.offset: 63 63;
12442                fill.smooth: 0;
12443             }
12444          }
12445          part { name: "pop";
12446             mouse_events: 1;
12447             description { state: "default" 0.0;
12448                rel1.to: "elm.swallow.content";
12449                rel1.offset: -5 -5;
12450                rel2.to: "elm.swallow.content";
12451                rel2.offset: 4 4;
12452                image {
12453                   normal: "bt_dis_base.png";
12454                   border: 4 4 4 4;
12455                }
12456                image.middle: SOLID;
12457             }
12458          }
12459          part { name: "popover";
12460             mouse_events: 0;
12461             description { state: "default" 0.0;
12462                rel1.to: "pop";
12463                rel2.to: "pop";
12464                rel2.relative: 1.0 0.5;
12465                image {
12466                   normal: "bt_dis_hilight.png";
12467                   border: 4 4 4 0;
12468                }
12469             }
12470          }
12471          part { name: "elm.swallow.content";
12472             type: SWALLOW;
12473             description { state: "default" 0.0;
12474                fixed: 1 1;
12475                rel1.relative: 0.1 0.5;
12476                rel2.relative: 0.9 0.5;
12477             }
12478          }
12479       }
12480       programs {
12481          program { name: "show";
12482             signal: "elm,action,show";
12483             source: "elm";
12484             action: STATE_SET "visible" 0.0;
12485 //            transition: DECELERATE 0.5;
12486             target: "base";
12487          }
12488          program { name: "hide";
12489             signal: "elm,action,hide";
12490             source: "elm";
12491             action: STATE_SET "default" 0.0;
12492 //            transition: DECELERATE 0.5;
12493             target: "base";
12494          }
12495       }
12496    }
12497
12498 ///////////////////////////////////////////////////////////////////////////////
12499
12500 ///////////////////////////////////////////////////////////////////////////////
12501    group { name: "elm/list/item/default";
12502       data.item: "stacking" "above";
12503       images {
12504          image: "bt_sm_base1.png" COMP;
12505          image: "bt_sm_shine.png" COMP;
12506          image: "bt_sm_hilight.png" COMP;
12507          image: "ilist_1.png" COMP;
12508          image: "ilist_item_shadow.png" COMP;
12509       }
12510       parts {
12511          part {
12512             name:           "event";
12513             type:           RECT;
12514             repeat_events: 1;
12515             description {
12516                state: "default" 0.0;
12517                color: 0 0 0 0;
12518             }
12519          }
12520          part {
12521             name: "base_sh";
12522             mouse_events: 0;
12523             description {
12524                state: "default" 0.0;
12525                align: 0.0 0.0;
12526                min: 0 10;
12527                fixed: 1 1;
12528                rel1 {
12529                   to: "base";
12530                   relative: 0.0 1.0;
12531                   offset: 0 0;
12532                }
12533                rel2 {
12534                   to: "base";
12535                   relative: 1.0 1.0;
12536                   offset: -1 0;
12537                }
12538                image {
12539                   normal: "ilist_item_shadow.png";
12540                }
12541                fill.smooth: 0;
12542             }
12543          }
12544          part {
12545             name: "base";
12546             mouse_events: 0;
12547             description {
12548                state: "default" 0.0;
12549                image {
12550                   normal: "ilist_1.png";
12551                   border: 2 2 2 2;
12552                }
12553                fill.smooth: 0;
12554             }
12555          }
12556          part { name: "bg";
12557             mouse_events: 0;
12558             description { state: "default" 0.0;
12559                visible: 0;
12560                color: 255 255 255 0;
12561                rel1 {
12562                   relative: 0.0 0.0;
12563                   offset: -5 -5;
12564                }
12565                rel2 {
12566                   relative: 1.0 1.0;
12567                   offset: 4 4;
12568                }
12569                image {
12570                   normal: "bt_sm_base1.png";
12571                   border: 6 6 6 6;
12572                }
12573                image.middle: SOLID;
12574             }
12575             description { state: "selected" 0.0;
12576                inherit: "default" 0.0;
12577                visible: 1;
12578                color: 255 255 255 255;
12579                rel1 {
12580                   relative: 0.0 0.0;
12581                   offset: -2 -2;
12582                }
12583                rel2 {
12584                   relative: 1.0 1.0;
12585                   offset: 1 1;
12586                }
12587             }
12588          }
12589          part { name: "elm.swallow.icon";
12590             type: SWALLOW;
12591             description { state: "default" 0.0;
12592                fixed: 1 0;
12593                align: 0.0 0.5;
12594                rel1 {
12595                   relative: 0.0  0.0;
12596                   offset:   4    4;
12597                }
12598                rel2 {
12599                   relative: 0.0  1.0;
12600                   offset:   4   -5;
12601                }
12602             }
12603          }
12604          part { name: "elm.swallow.end";
12605             type: SWALLOW;
12606             description { state: "default" 0.0;
12607                fixed: 1 0;
12608                align: 1.0 0.5;
12609                rel1 {
12610                   relative: 1.0  0.0;
12611                   offset:   -5    4;
12612                }
12613                rel2 {
12614                   relative: 1.0  1.0;
12615                   offset:   -5   -5;
12616                }
12617             }
12618          }
12619          part { name: "elm.text";
12620             type:           TEXT;
12621             effect:         SOFT_SHADOW;
12622             mouse_events:   0;
12623             scale: 1;
12624             description {
12625                state: "default" 0.0;
12626 //               min: 16 16;
12627                rel1 {
12628                   to_x:     "elm.swallow.icon";
12629                   relative: 1.0  0.0;
12630                   offset:   4 4;
12631                }
12632                rel2 {
12633                   to_x:     "elm.swallow.end";
12634                   relative: 0.0  1.0;
12635                   offset:   -1 -5;
12636                }
12637                color: 0 0 0 255;
12638                color3: 0 0 0 0;
12639                text {
12640                   font: "Sans";
12641                   size: 10;
12642                   min: 1 1;
12643 //                  min: 0 1;
12644                   align: -1.0 0.5;
12645                   text_class: "list_item";
12646                }
12647             }
12648             description { state: "selected" 0.0;
12649                inherit: "default" 0.0;
12650                color: 224 224 224 255;
12651                color3: 0 0 0 64;
12652             }
12653          }
12654          part { name: "fg1";
12655             mouse_events: 0;
12656             description { state: "default" 0.0;
12657                visible: 0;
12658                color: 255 255 255 0;
12659                rel1.to: "bg";
12660                rel2.relative: 1.0 0.5;
12661                rel2.to: "bg";
12662                image {
12663                   normal: "bt_sm_hilight.png";
12664                   border: 6 6 6 0;
12665                }
12666             }
12667             description { state: "selected" 0.0;
12668                inherit: "default" 0.0;
12669                visible: 1;
12670                color: 255 255 255 255;
12671             }
12672          }
12673          part { name: "fg2";
12674             mouse_events: 0;
12675             description { state: "default" 0.0;
12676                visible: 0;
12677                color: 255 255 255 0;
12678                rel1.to: "bg";
12679                rel2.to: "bg";
12680                image {
12681                   normal: "bt_sm_shine.png";
12682                   border: 6 6 6 0;
12683                }
12684             }
12685             description { state: "selected" 0.0;
12686                inherit: "default" 0.0;
12687                visible: 1;
12688                color: 255 255 255 255;
12689             }
12690          }
12691       }
12692       programs {
12693          program {
12694             name:    "go_active";
12695             signal:  "elm,state,selected";
12696             source:  "elm";
12697             action:  STATE_SET "selected" 0.0;
12698             target:  "bg";
12699             target:  "fg1";
12700             target:  "fg2";
12701             target:  "elm.text";
12702          }
12703          program {
12704             name:    "go_passive";
12705             signal:  "elm,state,unselected";
12706             source:  "elm";
12707             action:  STATE_SET "default" 0.0;
12708             target:  "bg";
12709             target:  "fg1";
12710             target:  "fg2";
12711             target:  "elm.text";
12712             transition: LINEAR 0.1;
12713          }
12714       }
12715    }
12716    group { name: "elm/list/item_odd/default";
12717       data.item: "stacking" "below";
12718       data.item: "selectraise" "on";
12719       images {
12720          image: "bt_sm_base1.png" COMP;
12721          image: "bt_sm_shine.png" COMP;
12722          image: "bt_sm_hilight.png" COMP;
12723          image: "ilist_2.png" COMP;
12724       }
12725       parts {
12726          part {
12727             name:           "event";
12728             type:           RECT;
12729             repeat_events: 1;
12730             description {
12731                state: "default" 0.0;
12732                color: 0 0 0 0;
12733             }
12734          }
12735          part {
12736             name: "base";
12737             mouse_events: 0;
12738             description {
12739                state: "default" 0.0;
12740                image {
12741                   normal: "ilist_2.png";
12742                   border: 2 2 2 2;
12743                }
12744                fill.smooth: 0;
12745             }
12746          }
12747          part { name: "bg";
12748             mouse_events: 0;
12749             description { state: "default" 0.0;
12750                visible: 0;
12751                color: 255 255 255 0;
12752                rel1 {
12753                   relative: 0.0 0.0;
12754                   offset: -5 -5;
12755                }
12756                rel2 {
12757                   relative: 1.0 1.0;
12758                   offset: 4 4;
12759                }
12760                image {
12761                   normal: "bt_sm_base1.png";
12762                   border: 6 6 6 6;
12763                }
12764                image.middle: SOLID;
12765             }
12766             description { state: "selected" 0.0;
12767                inherit: "default" 0.0;
12768                visible: 1;
12769                color: 255 255 255 255;
12770                rel1 {
12771                   relative: 0.0 0.0;
12772                   offset: -2 -2;
12773                }
12774                rel2 {
12775                   relative: 1.0 1.0;
12776                   offset: 1 1;
12777                }
12778             }
12779          }
12780          part {
12781             name:          "elm.swallow.icon";
12782             type:          SWALLOW;
12783             description { state:    "default" 0.0;
12784                fixed: 1 0;
12785                align:    0.0 0.5;
12786                rel1 {
12787                   relative: 0.0  0.0;
12788                   offset:   4    4;
12789                }
12790                rel2 {
12791                   relative: 0.0  1.0;
12792                   offset:   4   -5;
12793                }
12794             }
12795          }
12796          part {
12797             name:          "elm.swallow.end";
12798             type:          SWALLOW;
12799             description { state:    "default" 0.0;
12800                fixed: 1 0;
12801                align: 1.0 0.5;
12802                rel1 {
12803                   relative: 1.0  0.0;
12804                   offset:   -5    4;
12805                }
12806                rel2 {
12807                   relative: 1.0  1.0;
12808                   offset:   -5   -5;
12809                }
12810             }
12811          }
12812          part {
12813             name:           "elm.text";
12814             type:           TEXT;
12815             effect:         SOFT_SHADOW;
12816             mouse_events:   0;
12817             scale: 1;
12818             description {
12819                state: "default" 0.0;
12820 //               min:      16 16;
12821                rel1 {
12822                   to_x:     "elm.swallow.icon";
12823                   relative: 1.0  0.0;
12824                   offset:   4 4;
12825                }
12826                rel2 {
12827                   to_x:     "elm.swallow.end";
12828                   relative: 0.0  1.0;
12829                   offset:   -1 -5;
12830                }
12831                color: 0 0 0 255;
12832                color3: 0 0 0 0;
12833                text {
12834                   font: "Sans";
12835                   size: 10;
12836                   min: 1 1;
12837 //                  min: 0 1;
12838                   align: -1.0 0.5;
12839                   text_class: "list_item";
12840                }
12841             }
12842             description { state: "selected" 0.0;
12843                inherit: "default" 0.0;
12844                color: 224 224 224 255;
12845                color3: 0 0 0 64;
12846             }
12847          }
12848          part { name: "fg1";
12849             mouse_events: 0;
12850             description { state: "default" 0.0;
12851                visible: 0;
12852                color: 255 255 255 0;
12853                rel1.to: "bg";
12854                rel2.relative: 1.0 0.5;
12855                rel2.to: "bg";
12856                image {
12857                   normal: "bt_sm_hilight.png";
12858                   border: 6 6 6 0;
12859                }
12860             }
12861             description { state: "selected" 0.0;
12862                inherit: "default" 0.0;
12863                visible: 1;
12864                color: 255 255 255 255;
12865             }
12866          }
12867          part { name: "fg2";
12868             mouse_events: 0;
12869             description { state: "default" 0.0;
12870                visible: 0;
12871                color: 255 255 255 0;
12872                rel1.to: "bg";
12873                rel2.to: "bg";
12874                image {
12875                   normal: "bt_sm_shine.png";
12876                   border: 6 6 6 0;
12877                }
12878             }
12879             description { state: "selected" 0.0;
12880                inherit: "default" 0.0;
12881                visible: 1;
12882                color: 255 255 255 255;
12883             }
12884          }
12885       }
12886       programs {
12887          program {
12888             name:    "go_active";
12889             signal:  "elm,state,selected";
12890             source:  "elm";
12891             action:  STATE_SET "selected" 0.0;
12892             target:  "bg";
12893             target:  "fg1";
12894             target:  "fg2";
12895             target:  "elm.text";
12896          }
12897          program {
12898             name:    "go_passive";
12899             signal:  "elm,state,unselected";
12900             source:  "elm";
12901             action:  STATE_SET "default" 0.0;
12902             target:  "bg";
12903             target:  "fg1";
12904             target:  "fg2";
12905             target:  "elm.text";
12906             transition: LINEAR 0.1;
12907          }
12908       }
12909    }
12910    group { name: "elm/list/item_compress/default";
12911       data.item: "stacking" "above";
12912       data.item: "selectraise" "on";
12913       images {
12914          image: "bt_sm_base1.png" COMP;
12915          image: "bt_sm_shine.png" COMP;
12916          image: "bt_sm_hilight.png" COMP;
12917          image: "ilist_1.png" COMP;
12918          image: "ilist_item_shadow.png" COMP;
12919       }
12920       parts {
12921          part {
12922             name:           "event";
12923             type:           RECT;
12924             repeat_events: 1;
12925             description {
12926                state: "default" 0.0;
12927                color: 0 0 0 0;
12928             }
12929          }
12930          part {
12931             name: "base_sh";
12932             mouse_events: 0;
12933             description { state: "default" 0.0;
12934                fixed: 1 1;
12935                align: 0.0 0.0;
12936                min: 0 10;
12937                rel1 {
12938                   to: "base";
12939                   relative: 0.0 1.0;
12940                   offset: 0 0;
12941                }
12942                rel2 {
12943                   to: "base";
12944                   relative: 1.0 1.0;
12945                   offset: -1 0;
12946                }
12947                image {
12948                   normal: "ilist_item_shadow.png";
12949                }
12950                fill.smooth: 0;
12951             }
12952          }
12953          part {
12954             name: "base";
12955             mouse_events: 0;
12956             description {
12957                state: "default" 0.0;
12958                image {
12959                   normal: "ilist_1.png";
12960                   border: 2 2 2 2;
12961                }
12962                fill.smooth: 0;
12963             }
12964          }
12965          part { name: "bg";
12966             mouse_events: 0;
12967             description { state: "default" 0.0;
12968                visible: 0;
12969                color: 255 255 255 0;
12970                rel1 {
12971                   relative: 0.0 0.0;
12972                   offset: -5 -5;
12973                }
12974                rel2 {
12975                   relative: 1.0 1.0;
12976                   offset: 4 4;
12977                }
12978                image {
12979                   normal: "bt_sm_base1.png";
12980                   border: 6 6 6 6;
12981                }
12982                image.middle: SOLID;
12983             }
12984             description { state: "selected" 0.0;
12985                inherit: "default" 0.0;
12986                visible: 1;
12987                color: 255 255 255 255;
12988                rel1 {
12989                   relative: 0.0 0.0;
12990                   offset: -2 -2;
12991                }
12992                rel2 {
12993                   relative: 1.0 1.0;
12994                   offset: 1 1;
12995                }
12996             }
12997          }
12998          part { name:          "elm.swallow.icon";
12999             type:          SWALLOW;
13000             description { state:    "default" 0.0;
13001                fixed: 1 0;
13002                align:    0.0 0.5;
13003                rel1 {
13004                   relative: 0.0  0.0;
13005                   offset:   4    4;
13006                }
13007                rel2 {
13008                   relative: 0.0  1.0;
13009                   offset:   4   -5;
13010                }
13011             }
13012          }
13013          part { name:          "elm.swallow.end";
13014             type:          SWALLOW;
13015             description { state:    "default" 0.0;
13016                fixed: 1 0;
13017                align:    1.0 0.5;
13018                rel1 {
13019                   relative: 1.0  0.0;
13020                   offset:   -5    4;
13021                }
13022                rel2 {
13023                   relative: 1.0  1.0;
13024                   offset:   -5   -5;
13025                }
13026             }
13027          }
13028          part {
13029             name:           "elm.text";
13030             type:           TEXT;
13031             effect:         SOFT_SHADOW;
13032             mouse_events:   0;
13033             scale: 1;
13034             description { state: "default" 0.0;
13035 //               min:      16 16;
13036                rel1 {
13037                   to_x:     "elm.swallow.icon";
13038                   relative: 1.0  0.0;
13039                   offset:   4 4;
13040                }
13041                rel2 {
13042                   to_x:     "elm.swallow.end";
13043                   relative: 0.0  1.0;
13044                   offset:   -1 -5;
13045                }
13046                color: 0 0 0 255;
13047                color3: 0 0 0 0;
13048                text {
13049                   font: "Sans";
13050                   size: 10;
13051 //                  min: 1 1;
13052                   min: 0 1;
13053                   align: 0.0 0.5;
13054                   text_class: "list_item";
13055                }
13056             }
13057             description { state: "selected" 0.0;
13058                inherit: "default" 0.0;
13059                color: 224 224 224 255;
13060                color3: 0 0 0 64;
13061             }
13062          }
13063          part { name: "fg1";
13064             mouse_events: 0;
13065             description { state: "default" 0.0;
13066                visible: 0;
13067                color: 255 255 255 0;
13068                rel1.to: "bg";
13069                rel2.relative: 1.0 0.5;
13070                rel2.to: "bg";
13071                image {
13072                   normal: "bt_sm_hilight.png";
13073                   border: 6 6 6 0;
13074                }
13075             }
13076             description { state: "selected" 0.0;
13077                inherit: "default" 0.0;
13078                visible: 1;
13079                color: 255 255 255 255;
13080             }
13081          }
13082          part { name: "fg2";
13083             mouse_events: 0;
13084             description { state: "default" 0.0;
13085                visible: 0;
13086                color: 255 255 255 0;
13087                rel1.to: "bg";
13088                rel2.to: "bg";
13089                image {
13090                   normal: "bt_sm_shine.png";
13091                   border: 6 6 6 0;
13092                }
13093             }
13094             description { state: "selected" 0.0;
13095                inherit: "default" 0.0;
13096                visible: 1;
13097                color: 255 255 255 255;
13098             }
13099          }
13100       }
13101       programs {
13102          program {
13103             name:    "go_active";
13104             signal:  "elm,state,selected";
13105             source:  "elm";
13106             action:  STATE_SET "selected" 0.0;
13107             target:  "bg";
13108             target:  "fg1";
13109             target:  "fg2";
13110             target:  "elm.text";
13111          }
13112          program {
13113             name:    "go_passive";
13114             signal:  "elm,state,unselected";
13115             source:  "elm";
13116             action:  STATE_SET "default" 0.0;
13117             target:  "bg";
13118             target:  "fg1";
13119             target:  "fg2";
13120             target:  "elm.text";
13121             transition: LINEAR 0.1;
13122          }
13123       }
13124    }
13125    group { name: "elm/list/item_compress_odd/default";
13126       data.item: "stacking" "below";
13127       data.item: "selectraise" "on";
13128       images {
13129          image: "bt_sm_base1.png" COMP;
13130          image: "bt_sm_shine.png" COMP;
13131          image: "bt_sm_hilight.png" COMP;
13132          image: "ilist_2.png" COMP;
13133       }
13134       parts {
13135          part {
13136             name:           "event";
13137             type:           RECT;
13138             repeat_events: 1;
13139             description {
13140                state: "default" 0.0;
13141                color: 0 0 0 0;
13142             }
13143          }
13144          part {
13145             name: "base";
13146             mouse_events: 0;
13147             description {
13148                state: "default" 0.0;
13149                image {
13150                   normal: "ilist_2.png";
13151                   border: 2 2 2 2;
13152                }
13153                fill.smooth: 0;
13154             }
13155          }
13156          part { name: "bg";
13157             mouse_events: 0;
13158             description { state: "default" 0.0;
13159                visible: 0;
13160                color: 255 255 255 0;
13161                rel1 {
13162                   relative: 0.0 0.0;
13163                   offset: -5 -5;
13164                }
13165                rel2 {
13166                   relative: 1.0 1.0;
13167                   offset: 4 4;
13168                }
13169                image {
13170                   normal: "bt_sm_base1.png";
13171                   border: 6 6 6 6;
13172                }
13173                image.middle: SOLID;
13174             }
13175             description { state: "selected" 0.0;
13176                inherit: "default" 0.0;
13177                visible: 1;
13178                color: 255 255 255 255;
13179                rel1 {
13180                   relative: 0.0 0.0;
13181                   offset: -2 -2;
13182                }
13183                rel2 {
13184                   relative: 1.0 1.0;
13185                   offset: 1 1;
13186                }
13187             }
13188          }
13189          part { name:          "elm.swallow.icon";
13190             type:          SWALLOW;
13191             description { state:    "default" 0.0;
13192                fixed: 1 0;
13193                align:    0.0 0.5;
13194                rel1 {
13195                   relative: 0.0  0.0;
13196                   offset:   4    4;
13197                }
13198                rel2 {
13199                   relative: 0.0  1.0;
13200                   offset:   4   -5;
13201                }
13202             }
13203          }
13204          part { name:          "elm.swallow.end";
13205             type:          SWALLOW;
13206             description { state:    "default" 0.0;
13207                fixed: 1 0;
13208                align:    1.0 0.5;
13209                rel1 {
13210                   relative: 1.0  0.0;
13211                   offset:   -5    4;
13212                }
13213                rel2 {
13214                   relative: 1.0  1.0;
13215                   offset:   -5   -5;
13216                }
13217             }
13218          }
13219          part {
13220             name:           "elm.text";
13221             type:           TEXT;
13222             effect:         SOFT_SHADOW;
13223             mouse_events:   0;
13224             scale: 1;
13225             description {
13226                state: "default" 0.0;
13227 //               min:      16 16;
13228                rel1 {
13229                   to_x:     "elm.swallow.icon";
13230                   relative: 1.0  0.0;
13231                   offset:   4 4;
13232                }
13233                rel2 {
13234                   to_x:     "elm.swallow.end";
13235                   relative: 0.0  1.0;
13236                   offset:   -1 -5;
13237                }
13238                color: 0 0 0 255;
13239                color3: 0 0 0 0;
13240                text {
13241                   font: "Sans";
13242                   size: 10;
13243 //                  min: 1 1;
13244                   min: 0 1;
13245                   align: 0.0 0.5;
13246                   text_class: "list_item";
13247                }
13248             }
13249             description { state: "selected" 0.0;
13250                inherit: "default" 0.0;
13251                color: 224 224 224 255;
13252                color3: 0 0 0 64;
13253             }
13254          }
13255          part { name: "fg1";
13256             mouse_events: 0;
13257             description { state: "default" 0.0;
13258                visible: 0;
13259                color: 255 255 255 0;
13260                rel1.to: "bg";
13261                rel2.relative: 1.0 0.5;
13262                rel2.to: "bg";
13263                image {
13264                   normal: "bt_sm_hilight.png";
13265                   border: 6 6 6 0;
13266                }
13267             }
13268             description { state: "selected" 0.0;
13269                inherit: "default" 0.0;
13270                visible: 1;
13271                color: 255 255 255 255;
13272             }
13273          }
13274          part { name: "fg2";
13275             mouse_events: 0;
13276             description { state: "default" 0.0;
13277                visible: 0;
13278                color: 255 255 255 0;
13279                rel1.to: "bg";
13280                rel2.to: "bg";
13281                image {
13282                   normal: "bt_sm_shine.png";
13283                   border: 6 6 6 0;
13284                }
13285             }
13286             description { state: "selected" 0.0;
13287                inherit: "default" 0.0;
13288                visible: 1;
13289                color: 255 255 255 255;
13290             }
13291          }
13292       }
13293       programs {
13294          program {
13295             name:    "go_active";
13296             signal:  "elm,state,selected";
13297             source:  "elm";
13298             action:  STATE_SET "selected" 0.0;
13299             target:  "bg";
13300             target:  "fg1";
13301             target:  "fg2";
13302             target:  "elm.text";
13303          }
13304          program {
13305             name:    "go_passive";
13306             signal:  "elm,state,unselected";
13307             source:  "elm";
13308             action:  STATE_SET "default" 0.0;
13309             target:  "bg";
13310             target:  "fg1";
13311             target:  "fg2";
13312             target:  "elm.text";
13313             transition: LINEAR 0.1;
13314          }
13315       }
13316    }
13317
13318 ///////////////////////////////////////////////////////////////////////////////
13319    group { name: "elm/list/h_item/default";
13320       data.item: "stacking" "above";
13321       images {
13322          image: "bt_sm_base1.png" COMP;
13323          image: "bt_sm_shine.png" COMP;
13324          image: "bt_sm_hilight.png" COMP;
13325          image: "ilist_1_h.png" COMP;
13326          image: "ilist_item_shadow_h.png" COMP;
13327       }
13328       parts {
13329          part {
13330             name: "event";
13331             type: RECT;
13332             repeat_events: 1;
13333             description {
13334                state: "default" 0.0;
13335                color: 0 0 0 0;
13336             }
13337          }
13338          part {
13339             name: "base_sh";
13340             mouse_events: 0;
13341             description {
13342                state: "default" 0.0;
13343                align: 0.0 0.0;
13344                min: 10 0;
13345                fixed: 1 1;
13346                rel1 {
13347                   to: "base";
13348                   relative: 1.0 0.0;
13349                   offset: 0 0;
13350                }
13351                rel2 {
13352                   to: "base";
13353                   relative: 1.0 1.0;
13354                   offset: 0 -1;
13355                }
13356                image {
13357                   normal: "ilist_item_shadow_h.png";
13358                }
13359                fill.smooth: 0;
13360             }
13361          }
13362          part {
13363             name: "base";
13364             mouse_events: 0;
13365             description {
13366                state: "default" 0.0;
13367                image {
13368                   normal: "ilist_1_h.png";
13369                   border: 2 2 2 2;
13370                }
13371                fill.smooth: 0;
13372             }
13373          }
13374          part { name: "bg";
13375             mouse_events: 0;
13376             description { state: "default" 0.0;
13377                visible: 0;
13378                color: 255 255 255 0;
13379                rel1 {
13380                   relative: 0.0 0.0;
13381                   offset: -5 -5;
13382                }
13383                rel2 {
13384                   relative: 1.0 1.0;
13385                   offset: 4 4;
13386                }
13387                image {
13388                   normal: "bt_sm_base1.png";
13389                   border: 6 6 6 6;
13390                }
13391                image.middle: SOLID;
13392             }
13393             description { state: "selected" 0.0;
13394                inherit: "default" 0.0;
13395                visible: 1;
13396                color: 255 255 255 255;
13397                rel1 {
13398                   relative: 0.0 0.0;
13399                   offset: -2 -2;
13400                }
13401                rel2 {
13402                   relative: 1.0 1.0;
13403                   offset: 1 1;
13404                }
13405             }
13406          }
13407          part { name: "elm.swallow.icon";
13408             type: SWALLOW;
13409             description { state: "default" 0.0;
13410                fixed: 0 1;
13411                align: 0.5 0.0;
13412                rel1 {
13413                   relative: 0.0 0.0;
13414                   offset: 4 4;
13415                }
13416                rel2 {
13417                   relative: 1.0 0.0;
13418                   offset: -5 4;
13419                }
13420             }
13421          }
13422          part { name: "elm.swallow.end";
13423             type: SWALLOW;
13424             description { state: "default" 0.0;
13425                fixed: 0 1;
13426                align: 0.5 1.0;
13427                rel1 {
13428                   relative: 0.0 1.0;
13429                   offset: 4 -5;
13430                }
13431                rel2 {
13432                   relative: 1.0 1.0;
13433                   offset: -5 -5;
13434                }
13435             }
13436          }
13437          part { name: "elm.text";
13438             type: TEXT;
13439             effect: SOFT_SHADOW;
13440             mouse_events: 0;
13441             scale: 1;
13442             description {
13443                state: "default" 0.0;
13444                fixed: 0 1;
13445                rel1 {
13446                   to_x: "elm.swallow.icon";
13447                   relative: 0.0 1.0;
13448                   offset: 4 4;
13449                }
13450                rel2 {
13451                   to_x: "elm.swallow.end";
13452                   relative: 1.0 0.0;
13453                   offset: -5 -1;
13454                }
13455                color: 0 0 0 255;
13456                color3: 0 0 0 0;
13457                text {
13458                   font: "Sans";
13459                   size: 10;
13460                   min: 1 1;
13461                   align: 0.5 0.5;
13462                   text_class: "list_item";
13463                }
13464             }
13465             description { state: "selected" 0.0;
13466                inherit: "default" 0.0;
13467                color: 224 224 224 255;
13468                color3: 0 0 0 64;
13469             }
13470          }
13471          part { name: "fg1";
13472             mouse_events: 0;
13473             description { state: "default" 0.0;
13474                visible: 0;
13475                color: 255 255 255 0;
13476                rel1.to: "bg";
13477                rel2.relative: 1.0 0.5;
13478                rel2.to: "bg";
13479                image {
13480                   normal: "bt_sm_hilight.png";
13481                   border: 6 6 6 0;
13482                }
13483             }
13484             description { state: "selected" 0.0;
13485                inherit: "default" 0.0;
13486                visible: 1;
13487                color: 255 255 255 255;
13488             }
13489          }
13490          part { name: "fg2";
13491             mouse_events: 0;
13492             description { state: "default" 0.0;
13493                visible: 0;
13494                color: 255 255 255 0;
13495                rel1.to: "bg";
13496                rel2.to: "bg";
13497                image {
13498                   normal: "bt_sm_shine.png";
13499                   border: 6 6 6 0;
13500                }
13501             }
13502             description { state: "selected" 0.0;
13503                inherit: "default" 0.0;
13504                visible: 1;
13505                color: 255 255 255 255;
13506             }
13507          }
13508       }
13509       programs {
13510          program {
13511             name: "go_active";
13512             signal: "elm,state,selected";
13513             source: "elm";
13514             action: STATE_SET "selected" 0.0;
13515             target: "bg";
13516             target: "fg1";
13517             target: "fg2";
13518             target: "elm.text";
13519          }
13520          program {
13521             name: "go_passive";
13522             signal: "elm,state,unselected";
13523             source: "elm";
13524             action: STATE_SET "default" 0.0;
13525             target: "bg";
13526             target: "fg1";
13527             target: "fg2";
13528             target: "elm.text";
13529             transition: LINEAR 0.1;
13530          }
13531       }
13532    }
13533    group { name: "elm/list/h_item_odd/default";
13534       data.item: "stacking" "below";
13535       data.item: "selectraise" "on";
13536       images {
13537          image: "bt_sm_base1.png" COMP;
13538          image: "bt_sm_shine.png" COMP;
13539          image: "bt_sm_hilight.png" COMP;
13540          image: "ilist_2_h.png" COMP;
13541       }
13542       parts {
13543          part {
13544             name: "event";
13545             type: RECT;
13546             repeat_events: 1;
13547             description {
13548                state: "default" 0.0;
13549                color: 0 0 0 0;
13550             }
13551          }
13552          part {
13553             name: "base";
13554             mouse_events: 0;
13555             description {
13556                state: "default" 0.0;
13557                image {
13558                   normal: "ilist_2_h.png";
13559                   border: 2 2 2 2;
13560                }
13561                fill.smooth: 0;
13562             }
13563          }
13564          part { name: "bg";
13565             mouse_events: 0;
13566             description { state: "default" 0.0;
13567                visible: 0;
13568                color: 255 255 255 0;
13569                rel1 {
13570                   relative: 0.0 0.0;
13571                   offset: -5 -5;
13572                }
13573                rel2 {
13574                   relative: 1.0 1.0;
13575                   offset: 4 4;
13576                }
13577                image {
13578                   normal: "bt_sm_base1.png";
13579                   border: 6 6 6 6;
13580                }
13581                image.middle: SOLID;
13582             }
13583             description { state: "selected" 0.0;
13584                inherit: "default" 0.0;
13585                visible: 1;
13586                color: 255 255 255 255;
13587                rel1 {
13588                   relative: 0.0 0.0;
13589                   offset: -2 -2;
13590                }
13591                rel2 {
13592                   relative: 1.0 1.0;
13593                   offset: 1 1;
13594                }
13595             }
13596          }
13597          part {
13598             name: "elm.swallow.icon";
13599             type: SWALLOW;
13600             description { state: "default" 0.0;
13601                fixed: 0 1;
13602                align: 0.5 0.0;
13603                rel1 {
13604                   relative: 0.0 0.0;
13605                   offset: 4 4;
13606                }
13607                rel2 {
13608                   relative: 1.0 0.0;
13609                   offset: -5 4;
13610                }
13611             }
13612          }
13613          part {
13614             name: "elm.swallow.end";
13615             type: SWALLOW;
13616             description { state: "default" 0.0;
13617                fixed: 0 1;
13618                align: 0.5 1.0;
13619                rel1 {
13620                   relative: 0.0 1.0;
13621                   offset: 4 -5;
13622                }
13623                rel2 {
13624                   relative: 1.0 1.0;
13625                   offset: -5 -5;
13626                }
13627             }
13628          }
13629          part { name: "elm.text";
13630             type: TEXT;
13631             effect: SOFT_SHADOW;
13632             mouse_events: 0;
13633             scale: 1;
13634             description {
13635                state: "default" 0.0;
13636                fixed: 1 1;
13637                rel1 {
13638                   to_x: "elm.swallow.icon";
13639                   relative: 0.0 1.0;
13640                   offset: 4 4;
13641                }
13642                rel2 {
13643                   to_x: "elm.swallow.end";
13644                   relative: 1.0 0.0;
13645                   offset: -5 -1;
13646                }
13647                color: 0 0 0 255;
13648                color3: 0 0 0 0;
13649                text {
13650                   font: "Sans";
13651                   size: 10;
13652                   min: 1 1;
13653                   align: 0.5 0.5;
13654                   text_class: "list_item";
13655                }
13656             }
13657             description { state: "selected" 0.0;
13658                inherit: "default" 0.0;
13659                color: 224 224 224 255;
13660                color3: 0 0 0 64;
13661             }
13662          }
13663          part { name: "fg1";
13664             mouse_events: 0;
13665             description { state: "default" 0.0;
13666                visible: 0;
13667                color: 255 255 255 0;
13668                rel1.to: "bg";
13669                rel2.relative: 1.0 0.5;
13670                rel2.to: "bg";
13671                image {
13672                   normal: "bt_sm_hilight.png";
13673                   border: 6 6 6 0;
13674                }
13675             }
13676             description { state: "selected" 0.0;
13677                inherit: "default" 0.0;
13678                visible: 1;
13679                color: 255 255 255 255;
13680             }
13681          }
13682          part { name: "fg2";
13683             mouse_events: 0;
13684             description { state: "default" 0.0;
13685                visible: 0;
13686                color: 255 255 255 0;
13687                rel1.to: "bg";
13688                rel2.to: "bg";
13689                image {
13690                   normal: "bt_sm_shine.png";
13691                   border: 6 6 6 0;
13692                }
13693             }
13694             description { state: "selected" 0.0;
13695                inherit: "default" 0.0;
13696                visible: 1;
13697                color: 255 255 255 255;
13698             }
13699          }
13700       }
13701       programs {
13702          program {
13703             name: "go_active";
13704             signal: "elm,state,selected";
13705             source: "elm";
13706             action: STATE_SET "selected" 0.0;
13707             target: "bg";
13708             target: "fg1";
13709             target: "fg2";
13710             target: "elm.text";
13711          }
13712          program {
13713             name: "go_passive";
13714             signal: "elm,state,unselected";
13715             source: "elm";
13716             action: STATE_SET "default" 0.0;
13717             target: "bg";
13718             target: "fg1";
13719             target: "fg2";
13720             target: "elm.text";
13721             transition: LINEAR 0.1;
13722          }
13723       }
13724    }
13725    group { name: "elm/list/h_item_compress/default";
13726       data.item: "stacking" "above";
13727       data.item: "selectraise" "on";
13728       images {
13729          image: "bt_sm_base1.png" COMP;
13730          image: "bt_sm_shine.png" COMP;
13731          image: "bt_sm_hilight.png" COMP;
13732          image: "ilist_1_h.png" COMP;
13733          image: "ilist_item_shadow_h.png" COMP;
13734       }
13735       parts {
13736          part {
13737             name: "event";
13738             type: RECT;
13739             repeat_events: 1;
13740             description {
13741                state: "default" 0.0;
13742                color: 0 0 0 0;
13743             }
13744          }
13745          part {
13746             name: "base_sh";
13747             mouse_events: 0;
13748             description { state: "default" 0.0;
13749                fixed: 1 1;
13750                align: 0.0 0.0;
13751                min: 10 0;
13752                rel1 {
13753                   to: "base";
13754                   relative: 1.0 0.0;
13755                   offset: 0 0;
13756                }
13757                rel2 {
13758                   to: "base";
13759                   relative: 1.0 1.0;
13760                   offset: 0 -1;
13761                }
13762                image {
13763                   normal: "ilist_item_shadow_h.png";
13764                }
13765                fill.smooth: 0;
13766             }
13767          }
13768          part {
13769             name: "base";
13770             mouse_events: 0;
13771             description {
13772                state: "default" 0.0;
13773                image {
13774                   normal: "ilist_1_h.png";
13775                   border: 2 2 2 2;
13776                }
13777                fill.smooth: 0;
13778             }
13779          }
13780          part { name: "bg";
13781             mouse_events: 0;
13782             description { state: "default" 0.0;
13783                visible: 0;
13784                color: 255 255 255 0;
13785                rel1 {
13786                   relative: 0.0 0.0;
13787                   offset: -5 -5;
13788                }
13789                rel2 {
13790                   relative: 1.0 1.0;
13791                   offset: 4 4;
13792                }
13793                image {
13794                   normal: "bt_sm_base1.png";
13795                   border: 6 6 6 6;
13796                }
13797                image.middle: SOLID;
13798             }
13799             description { state: "selected" 0.0;
13800                inherit: "default" 0.0;
13801                visible: 1;
13802                color: 255 255 255 255;
13803                rel1 {
13804                   relative: 0.0 0.0;
13805                   offset: -2 -2;
13806                }
13807                rel2 {
13808                   relative: 1.0 1.0;
13809                   offset: 1 1;
13810                }
13811             }
13812          }
13813          part { name: "elm.swallow.icon";
13814             type: SWALLOW;
13815             description { state: "default" 0.0;
13816                fixed: 0 1;
13817                align: 0.5 0.0;
13818                rel1 {
13819                   relative: 0.0 0.0;
13820                   offset: 4 4;
13821                }
13822                rel2 {
13823                   relative: 1.0 0.0;
13824                   offset: -5 4;
13825                }
13826             }
13827          }
13828          part { name: "elm.swallow.end";
13829             type: SWALLOW;
13830             description { state: "default" 0.0;
13831                fixed: 0 1;
13832                align: 0.5 1.0;
13833                rel1 {
13834                   relative: 0.0 1.0;
13835                   offset: 4 -5;
13836                }
13837                rel2 {
13838                   relative: 1.0 1.0;
13839                   offset: -5 -5;
13840                }
13841             }
13842          }
13843          part {
13844             name: "elm.text";
13845             type: TEXT;
13846             effect: SOFT_SHADOW;
13847             mouse_events: 0;
13848             scale: 1;
13849             description { state: "default" 0.0;
13850                fixed: 1 1;
13851                rel1 {
13852                   to_x: "elm.swallow.icon";
13853                   relative: 0.0 1.0;
13854                   offset: 4 4;
13855                }
13856                rel2 {
13857                   to_x: "elm.swallow.end";
13858                   relative: 1.0 0.0;
13859                   offset: -5 -1;
13860                }
13861                color: 0 0 0 255;
13862                color3: 0 0 0 0;
13863                text {
13864                   font: "Sans";
13865                   size: 10;
13866                   min: 1 1;
13867                   align: 0.5 0.5;
13868                   text_class: "list_item";
13869                }
13870             }
13871             description { state: "selected" 0.0;
13872                inherit: "default" 0.0;
13873                color: 224 224 224 255;
13874                color3: 0 0 0 64;
13875             }
13876          }
13877          part { name: "fg1";
13878             mouse_events: 0;
13879             description { state: "default" 0.0;
13880                visible: 0;
13881                color: 255 255 255 0;
13882                rel1.to: "bg";
13883                rel2.relative: 1.0 0.5;
13884                rel2.to: "bg";
13885                image {
13886                   normal: "bt_sm_hilight.png";
13887                   border: 6 6 6 0;
13888                }
13889             }
13890             description { state: "selected" 0.0;
13891                inherit: "default" 0.0;
13892                visible: 1;
13893                color: 255 255 255 255;
13894             }
13895          }
13896          part { name: "fg2";
13897             mouse_events: 0;
13898             description { state: "default" 0.0;
13899                visible: 0;
13900                color: 255 255 255 0;
13901                rel1.to: "bg";
13902                rel2.to: "bg";
13903                image {
13904                   normal: "bt_sm_shine.png";
13905                   border: 6 6 6 0;
13906                }
13907             }
13908             description { state: "selected" 0.0;
13909                inherit: "default" 0.0;
13910                visible: 1;
13911                color: 255 255 255 255;
13912             }
13913          }
13914       }
13915       programs {
13916          program {
13917             name: "go_active";
13918             signal: "elm,state,selected";
13919             source: "elm";
13920             action: STATE_SET "selected" 0.0;
13921             target: "bg";
13922             target: "fg1";
13923             target: "fg2";
13924             target: "elm.text";
13925          }
13926          program {
13927             name: "go_passive";
13928             signal: "elm,state,unselected";
13929             source: "elm";
13930             action: STATE_SET "default" 0.0;
13931             target: "bg";
13932             target: "fg1";
13933             target: "fg2";
13934             target: "elm.text";
13935             transition: LINEAR 0.1;
13936          }
13937       }
13938    }
13939    group { name: "elm/list/h_item_compress_odd/default";
13940       data.item: "stacking" "below";
13941       data.item: "selectraise" "on";
13942       images {
13943          image: "bt_sm_base1.png" COMP;
13944          image: "bt_sm_shine.png" COMP;
13945          image: "bt_sm_hilight.png" COMP;
13946          image: "ilist_2_h.png" COMP;
13947       }
13948       parts {
13949          part {
13950             name: "event";
13951             type: RECT;
13952             repeat_events: 1;
13953             description {
13954                state: "default" 0.0;
13955                color: 0 0 0 0;
13956             }
13957          }
13958          part {
13959             name: "base";
13960             mouse_events: 0;
13961             description {
13962                state: "default" 0.0;
13963                image {
13964                   normal: "ilist_2_h.png";
13965                   border: 2 2 2 2;
13966                }
13967                fill.smooth: 0;
13968             }
13969          }
13970          part { name: "bg";
13971             mouse_events: 0;
13972             description { state: "default" 0.0;
13973                visible: 0;
13974                color: 255 255 255 0;
13975                rel1 {
13976                   relative: 0.0 0.0;
13977                   offset: -5 -5;
13978                }
13979                rel2 {
13980                   relative: 1.0 1.0;
13981                   offset: 4 4;
13982                }
13983                image {
13984                   normal: "bt_sm_base1.png";
13985                   border: 6 6 6 6;
13986                }
13987                image.middle: SOLID;
13988             }
13989             description { state: "selected" 0.0;
13990                inherit: "default" 0.0;
13991                visible: 1;
13992                color: 255 255 255 255;
13993                rel1 {
13994                   relative: 0.0 0.0;
13995                   offset: -2 -2;
13996                }
13997                rel2 {
13998                   relative: 1.0 1.0;
13999                   offset: 1 1;
14000                }
14001             }
14002          }
14003          part { name: "elm.swallow.icon";
14004             type: SWALLOW;
14005             description { state: "default" 0.0;
14006                fixed: 0 1;
14007                align: 0.5 0.0;
14008                rel1 {
14009                   relative: 0.0 0.0;
14010                   offset: 4 4;
14011                }
14012                rel2 {
14013                   relative: 1.0 0.0;
14014                   offset: -5 4;
14015                }
14016             }
14017          }
14018          part { name: "elm.swallow.end";
14019             type: SWALLOW;
14020             description { state: "default" 0.0;
14021                fixed: 0 1;
14022                align: 0.5 1.0;
14023                rel1 {
14024                   relative: 0.0 1.0;
14025                   offset: 4 -5;
14026                }
14027                rel2 {
14028                   relative: 1.0 1.0;
14029                   offset: -5 -5;
14030                }
14031             }
14032          }
14033          part { name: "elm.text";
14034             type: TEXT;
14035             effect: SOFT_SHADOW;
14036             mouse_events: 0;
14037             scale: 1;
14038             description {
14039                state: "default" 0.0;
14040                fixed: 1 1;
14041                rel1 {
14042                   to_x: "elm.swallow.icon";
14043                   relative: 0.0 1.0;
14044                   offset: 4 4;
14045                }
14046                rel2 {
14047                   to_x: "elm.swallow.end";
14048                   relative: 1.0 0.0;
14049                   offset: -5 -1;
14050                }
14051                color: 0 0 0 255;
14052                color3: 0 0 0 0;
14053                text {
14054                   font: "Sans";
14055                   size: 10;
14056                   min: 1 1;
14057                   align: 0.5 0.5;
14058                   text_class: "list_item";
14059                }
14060             }
14061             description { state: "selected" 0.0;
14062                inherit: "default" 0.0;
14063                color: 224 224 224 255;
14064                color3: 0 0 0 64;
14065             }
14066          }
14067          part { name: "fg1";
14068             mouse_events: 0;
14069             description { state: "default" 0.0;
14070                visible: 0;
14071                color: 255 255 255 0;
14072                rel1.to: "bg";
14073                rel2.relative: 1.0 0.5;
14074                rel2.to: "bg";
14075                image {
14076                   normal: "bt_sm_hilight.png";
14077                   border: 6 6 6 0;
14078                }
14079             }
14080             description { state: "selected" 0.0;
14081                inherit: "default" 0.0;
14082                visible: 1;
14083                color: 255 255 255 255;
14084             }
14085          }
14086          part { name: "fg2";
14087             mouse_events: 0;
14088             description { state: "default" 0.0;
14089                visible: 0;
14090                color: 255 255 255 0;
14091                rel1.to: "bg";
14092                rel2.to: "bg";
14093                image {
14094                   normal: "bt_sm_shine.png";
14095                   border: 6 6 6 0;
14096                }
14097             }
14098             description { state: "selected" 0.0;
14099                inherit: "default" 0.0;
14100                visible: 1;
14101                color: 255 255 255 255;
14102             }
14103          }
14104       }
14105       programs {
14106          program {
14107             name: "go_active";
14108             signal: "elm,state,selected";
14109             source: "elm";
14110             action: STATE_SET "selected" 0.0;
14111             target: "bg";
14112             target: "fg1";
14113             target: "fg2";
14114             target: "elm.text";
14115          }
14116          program {
14117             name: "go_passive";
14118             signal: "elm,state,unselected";
14119             source: "elm";
14120             action: STATE_SET "default" 0.0;
14121             target: "bg";
14122             target: "fg1";
14123             target: "fg2";
14124             target: "elm.text";
14125             transition: LINEAR 0.1;
14126          }
14127       }
14128    }
14129
14130 ///////////////////////////////////////////////////////////////////////////////
14131    group { name: "elm/slider/horizontal/default";
14132            alias: "elm/slider/horizontal/disabled";
14133       images {
14134          image: "sl_bg.png" COMP;
14135          image: "sl_bg_over.png" COMP;
14136
14137          image: "sl_units.png" COMP;
14138       }
14139       parts {
14140          part { name: "base";
14141             mouse_events: 0;
14142             description { state: "default" 0.0;
14143                max: 99999 6;
14144                min: 0 6;
14145                rel1 { to: "bg";
14146                   offset: 1 0;
14147                }
14148                rel2 { to: "bg";
14149                   offset: -2 -1;
14150                }
14151                image.normal: "sl_bg.png";
14152                fill.smooth: 0;
14153             }
14154          }
14155          part { name: "level";
14156             type: RECT;
14157             mouse_events: 0;
14158             description { state: "default" 0.0;
14159                fixed: 1 1;
14160                rel1.to: "base";
14161                rel2 {
14162                   to_y: "base";
14163                   to_x: "elm.dragable.slider";
14164                   relative: 0.5 1.0;
14165                }
14166                color: 255 0 0 200;
14167             }
14168             description { state: "inverted" 0.0;
14169                inherit: "default" 0.0;
14170                visible: 0;
14171             }
14172             description { state: "disabled" 0.0;
14173                inherit: "default" 0.0;
14174                color: 255 0 0 100;
14175             }
14176             description { state: "disabled_inverted" 0.0;
14177                inherit: "default" 0.0;
14178                visible: 0;
14179             }
14180          }
14181          part { name: "level2";
14182             type: RECT;
14183             mouse_events: 0;
14184             description { state: "default" 0.0;
14185                fixed: 1 1;
14186                visible: 0;
14187                rel1 {
14188                   to_y: "base";
14189                   to_x: "elm.dragable.slider";
14190                   relative: 0.5 0.0;
14191                }
14192                rel2.to: "base";
14193                color: 255 0 0 200;
14194             }
14195             description { state: "inverted" 0.0;
14196                inherit: "default" 0.0;
14197                visible: 1;
14198             }
14199             description { state: "disabled" 0.0;
14200                inherit: "default" 0.0;
14201             }
14202             description { state: "disabled_inverted" 0.0;
14203                inherit: "default" 0.0;
14204                color: 255 0 0 100;
14205                visible: 1;
14206             }
14207          }
14208          part {
14209             name: "base_over";
14210             mouse_events: 0;
14211             description { state: "default" 0.0;
14212                rel1.to: "base";
14213                rel1.offset: -1 -1;
14214                rel2.to: "base";
14215                rel2.offset: 0 0;
14216                image {
14217                   normal: "sl_bg_over.png";
14218                   border: 3 3 3 3;
14219                }
14220                fill.smooth: 0;
14221             }
14222          }
14223          part { name: "bg";
14224             type: RECT;
14225             mouse_events: 0;
14226             scale: 1;
14227             description { state: "default" 0.0;
14228                visible: 0;
14229                rel1.to: "elm.swallow.bar";
14230                rel2.to: "elm.swallow.bar";
14231                color: 0 0 0 0;
14232             }
14233          }
14234          part { name: "elm.swallow.bar";
14235             type: SWALLOW;
14236             scale: 1;
14237             description { state: "default" 0.0;
14238                min: 48 24;
14239                max: 99999 24;
14240                align: 1.0 0.5;
14241                rel1 {
14242                   to_x: "elm.text";
14243                   relative: 1.0 0.0;
14244                   offset: 8 0;
14245                }
14246                rel2 {
14247                   to_x: "elm.units";
14248                   relative: 0.0 1.0;
14249                   offset: -10 -1;
14250                }
14251             }
14252          }
14253          part { name: "elm.swallow.icon";
14254             type: SWALLOW;
14255             description { state: "default" 0.0;
14256                visible: 0;
14257                align: 0.0 0.5;
14258                rel1 {
14259                   offset: 4 0;
14260                   to_y: "elm.swallow.bar";
14261                }
14262                rel2 {
14263                   offset: 3 -1;
14264                   relative: 0.0 1.0;
14265                   to_y: "elm.swallow.bar";
14266                }
14267             }
14268             description { state: "visible" 0.0;
14269                inherit: "default" 0.0;
14270                visible: 1;
14271                aspect: 1.0 1.0;
14272                aspect_preference: VERTICAL;
14273                rel2.offset: 4 -1;
14274             }
14275          }
14276          part { name: "elm.text";
14277             type: TEXT;
14278             mouse_events: 0;
14279             scale: 1;
14280             description { state: "default" 0.0;
14281                visible: 0;
14282                fixed: 1 1;
14283                align: 0.0 0.5;
14284                rel1.to_x: "elm.swallow.icon";
14285                rel1.relative: 1.0 0.0;
14286                rel1.offset: -1 4;
14287                rel2.to_x: "elm.swallow.icon";
14288                rel2.relative: 1.0 1.0;
14289                rel2.offset: -1 -5;
14290                color: 0 0 0 255;
14291                text {
14292                   font: "Sans,Edje-Vera";
14293                   size: 10;
14294                   min: 0 0;
14295                   align: 0.0 0.5;
14296                }
14297             }
14298             description { state: "visible" 0.0;
14299                inherit: "default" 0.0;
14300                visible: 1;
14301                text.min: 1 1;
14302                rel1.offset: 0 4;
14303                rel2.offset: 0 -5;
14304             }
14305             description { state: "disabled" 0.0;
14306                inherit: "default" 0.0;
14307                color: 255 128 128 128;
14308                visible: 0;
14309             }
14310             description { state: "disabled_visible" 0.0;
14311                inherit: "default" 0.0;
14312                color: 0 0 0 128;
14313                color3: 0 0 0 0;
14314                visible: 1;
14315                text.min: 1 1;
14316             }
14317          }
14318          part {
14319             name: "elm.swallow.end";
14320             type: SWALLOW;
14321             description {
14322                state: "default" 0.0;
14323                visible: 0;
14324                align: 1.0 0.5;
14325                rel1 {
14326                   offset: -4 0;
14327                   relative: 1.0 0.0;
14328                   to_y: "elm.swallow.bar";
14329                }
14330                rel2 {
14331                   offset: -3 -1;
14332                   to_y: "elm.swallow.bar";
14333                }
14334             }
14335             description { state: "visible" 0.0;
14336                inherit: "default" 0.0;
14337                visible: 1;
14338                aspect: 1.0 1.0;
14339                aspect_preference: VERTICAL;
14340                rel2.offset: -4 -1;
14341             }
14342          }
14343          part { name: "units";
14344             mouse_events: 0;
14345             description { state: "default" 0.0;
14346                visible: 0;
14347                rel1 {
14348                   to_x: "elm.units";
14349                   offset: 0 5;
14350                }
14351                rel2 {
14352                   to_x: "elm.units";
14353                   offset: 5 -3;
14354                }
14355                image {
14356                   normal: "sl_units.png";
14357                   border: 0 5 3 8;
14358                }
14359                fill.smooth: 0;
14360             }
14361             description { state: "visible" 0.0;
14362                inherit: "default" 0.0;
14363                visible: 1;
14364             }
14365          }
14366          part { name: "elm.units";
14367             type: TEXT;
14368             mouse_events: 0;
14369             scale: 1;
14370             description { state: "default" 0.0;
14371                visible: 0;
14372                fixed: 1 1;
14373                align: 1.0 0.5;
14374                rel1.to_x: "elm.swallow.end";
14375                rel1.relative: 0.0 0.0;
14376                rel1.offset: 0 8;
14377                rel2.to_x: "elm.swallow.end";
14378                rel2.relative: 0.0 1.0;
14379                rel2.offset: 0 -9;
14380                color: 0 0 0 255;
14381                text {
14382                   font: "Sans,Edje-Vera";
14383                   size: 10;
14384                   min: 0 0;
14385                   align: 0.0 0.5;
14386                }
14387             }
14388             description { state: "visible" 0.0;
14389                inherit: "default" 0.0;
14390                fixed: 1 1;
14391                visible: 1;
14392                text.min: 1 1;
14393                rel1.offset: -5 0;
14394                rel2.offset: -5 -1;
14395             }
14396             description { state: "disabled" 0.0;
14397                inherit: "default" 0.0;
14398                color: 255 128 128 128;
14399                visible: 0;
14400             }
14401             description { state: "disabled_visible" 0.0;
14402                inherit: "default" 0.0;
14403                color: 0 0 0 128;
14404                color3: 0 0 0 0;
14405                visible: 1;
14406                text.min: 1 1;
14407             }
14408          }
14409          part { name: "elm.dragable.slider";
14410             type: GROUP;
14411             source: "elm/slider/horizontal/indicator/default";
14412             mouse_events: 1;
14413             repeat_events: 1;
14414             scale: 1;
14415             dragable {
14416                x: 1 1 0;
14417                y: 0 0 0;
14418                confine: "bg";
14419             }
14420             description { state: "default" 0.0;
14421                min: 0 24;
14422                max: 0 24;
14423                fixed: 1 1;
14424                rel1 {
14425                   relative: 0.5 0.0;
14426                   to_x: "bg";
14427                }
14428                rel2 {
14429                   relative: 0.5 1.0;
14430                   to_x: "bg";
14431                }
14432                color: 255 0 0 100;
14433             }
14434          }
14435           part { name: "disabler";
14436             type: RECT;
14437             description { state: "default" 0.0;
14438                color: 0 0 0 0;
14439                visible: 0;
14440             }
14441             description { state: "disabled" 0.0;
14442                inherit: "default" 0.0;
14443                visible: 1;
14444             }
14445          }
14446       }
14447       programs {
14448          program { name: "text_show";
14449             signal: "elm,state,text,visible";
14450             source: "elm";
14451             action:  STATE_SET "visible" 0.0;
14452             target: "elm.text";
14453          }
14454          program { name: "text_hide";
14455             signal: "elm,state,text,hidden";
14456             source: "elm";
14457             action:  STATE_SET "default" 0.0;
14458             target: "elm.text";
14459          }
14460          program { name: "icon_show";
14461             signal: "elm,state,icon,visible";
14462             source: "elm";
14463             action:  STATE_SET "visible" 0.0;
14464             target: "elm.swallow.icon";
14465          }
14466          program { name: "icon_hide";
14467             signal: "elm,state,icon,hidden";
14468             source: "elm";
14469             action:  STATE_SET "default" 0.0;
14470             target: "elm.swallow.icon";
14471          }
14472           program { name: "end_show";
14473             signal: "elm,state,end,visible";
14474             source: "elm";
14475             action:  STATE_SET "visible" 0.0;
14476             target: "elm.swallow.end";
14477          }
14478          program { name: "end_hide";
14479             signal: "elm,state,end,hidden";
14480             source: "elm";
14481             action:  STATE_SET "default" 0.0;
14482             target: "elm.swallow.end";
14483          }
14484          program { name: "units_show";
14485             signal: "elm,state,units,visible";
14486             source: "elm";
14487             action:  STATE_SET "visible" 0.0;
14488             target: "elm.units";
14489             target: "units";
14490          }
14491          program { name: "units_hide";
14492             signal: "elm,state,units,hidden";
14493             source: "elm";
14494             action:  STATE_SET "default" 0.0;
14495             target: "elm.units";
14496             target: "units";
14497          }
14498          program { name: "invert_on";
14499             signal: "elm,state,inverted,on";
14500             source: "elm";
14501             action:  STATE_SET "inverted" 0.0;
14502             target: "level";
14503             target: "level2";
14504          }
14505          program { name: "invert_off";
14506             signal: "elm,state,inverted,off";
14507             source: "elm";
14508             action:  STATE_SET "default" 0.0;
14509             target: "level";
14510             target: "level2";
14511          }
14512          program {
14513             name:    "go_disabled";
14514             signal:  "elm,state,disabled";
14515             source:  "elm";
14516             action:  STATE_SET "disabled" 0.0;
14517 //            target: "button0";
14518             target: "disabler";
14519             after: "disable_text";
14520             after: "disable_ind";
14521          }
14522
14523          program { name: "disable_ind";
14524             action: SIGNAL_EMIT "elm.dragable.slider:elm,state,disabled" "elm";
14525          }
14526          program { name: "disable_text";
14527             script {
14528                new st[31];
14529                new Float:vl;
14530                get_state(PART:"elm.text", st, 30, vl);
14531                if (!strcmp(st, "visible"))
14532                   set_state(PART:"elm.text", "disabled_visible", 0.0);
14533                else
14534                   set_state(PART:"elm.text", "disabled", 0.0);
14535
14536                get_state(PART:"elm.units", st, 30, vl);
14537                if (!strcmp(st, "visible"))
14538                   set_state(PART:"elm.units", "disabled_visible", 0.0);
14539                else
14540                   set_state(PART:"elm.units", "disabled", 0.0);
14541
14542                get_state(PART:"level2", st, 30, vl);
14543                if (!strcmp(st, "inverted"))
14544                {
14545                   set_state(PART:"level", "disabled_inverted", 0.0);
14546                   set_state(PART:"level2", "disabled_inverted", 0.0);
14547                }
14548                else
14549                {
14550                   set_state(PART:"level", "disabled", 0.0);
14551                   set_state(PART:"level2", "disabled", 0.0);
14552                }
14553             }
14554          }
14555          program { name: "enable";
14556             signal: "elm,state,enabled";
14557             source: "elm";
14558             action: STATE_SET "default" 0.0;
14559 //            target: "button0";
14560             target: "disabler";
14561             after: "enable_text";
14562             after: "enable_ind";
14563          }
14564
14565          program { name: "enable_ind";
14566             action: SIGNAL_EMIT "elm.dragable.slider:elm,state,enabled" "elm";
14567          }
14568
14569          program { name: "enable_text";
14570             script {
14571                new st[31];
14572                new Float:vl;
14573                get_state(PART:"elm.text", st, 30, vl);
14574                if (!strcmp(st, "disabled_visible"))
14575                   set_state(PART:"elm.text", "visible", 0.0);
14576                else
14577                   set_state(PART:"elm.text", "default", 0.0);
14578
14579                get_state(PART:"elm.units", st, 30, vl);
14580                if (!strcmp(st, "disabled_visible"))
14581                   set_state(PART:"elm.units", "visible", 0.0);
14582                else
14583                   set_state(PART:"elm.units", "default", 0.0);
14584
14585                get_state(PART:"level2", st, 30, vl);
14586                if (!strcmp(st, "disabled_inverted"))
14587                {
14588                   set_state(PART:"level", "inverted", 0.0);
14589                   set_state(PART:"level2", "inverted", 0.0);
14590                }
14591                else
14592                {
14593                   set_state(PART:"level", "default", 0.0);
14594                   set_state(PART:"level2", "default", 0.0);
14595                }
14596             }
14597          }
14598       }
14599    }
14600
14601    group { name: "elm/slider/vertical/default";
14602       images {
14603          image: "slv_bg.png" COMP;
14604          image: "slv_bg_over.png" COMP;
14605
14606          image: "slv_units.png" COMP;
14607       }
14608       parts {
14609          part { name: "base";
14610             mouse_events: 0;
14611             description { state: "default" 0.0;
14612                max: 6 99999;
14613                min: 6 0;
14614                rel1 { to: "bg";
14615                   offset: 1 0;
14616                }
14617                rel2 { to: "bg";
14618                   offset: -2 -1;
14619                }
14620                image.normal: "slv_bg.png";
14621                fill.smooth: 0;
14622             }
14623          }
14624          part { name: "level";
14625             type: RECT;
14626             mouse_events: 0;
14627             description { state: "default" 0.0;
14628                fixed: 1 1;
14629                rel1.to: "base";
14630                rel2 {
14631                   to_x: "base";
14632                   to_y: "elm.dragable.slider";
14633                   relative: 1.0 0.5;
14634                }
14635                color: 255 0 0 200;
14636             }
14637             description { state: "inverted" 0.0;
14638                inherit: "default" 0.0;
14639                visible: 0;
14640             }
14641             description { state: "disabled" 0.0;
14642                inherit: "default" 0.0;
14643                color: 255 0 0 100;
14644             }
14645             description { state: "disabled_inverted" 0.0;
14646                inherit: "default" 0.0;
14647                visible: 0;
14648             }
14649          }
14650          part { name: "level2";
14651             type: RECT;
14652             mouse_events: 0;
14653             description { state: "default" 0.0;
14654                fixed: 1 1;
14655                visible: 0;
14656                rel1 {
14657                   to_x: "base";
14658                   to_y: "elm.dragable.slider";
14659                   relative: 0.0 0.5;
14660                }
14661                rel2.to: "base";
14662                color: 255 0 0 200;
14663             }
14664             description { state: "inverted" 0.0;
14665                inherit: "default" 0.0;
14666                visible: 1;
14667             }
14668             description { state: "disabled" 0.0;
14669                inherit: "default" 0.0;
14670                color: 255 0 0 100;
14671             }
14672             description { state: "disabled_inverted" 0.0;
14673                inherit: "default" 0.0;
14674                color: 255 0 0 100;
14675                visible: 1;
14676             }
14677          }
14678          part {
14679             name: "base_over";
14680             mouse_events: 0;
14681             description { state: "default" 0.0;
14682                rel1.to: "base";
14683                rel1.offset: -1 -1;
14684                rel2.to: "base";
14685                rel2.offset: 0 0;
14686                image {
14687                   normal: "slv_bg_over.png";
14688                   border: 3 3 3 3;
14689                }
14690                fill.smooth: 0;
14691             }
14692          }
14693          part { name: "bg";
14694             type: RECT;
14695             mouse_events: 0;
14696             scale: 1;
14697             description { state: "default" 0.0;
14698                visible: 0;
14699                rel1.to: "elm.swallow.bar";
14700                rel2.to: "elm.swallow.bar";
14701                color: 0 0 0 0;
14702             }
14703          }
14704          part { name: "elm.swallow.bar";
14705             type: SWALLOW;
14706             scale: 1;
14707             description { state: "default" 0.0;
14708                min: 24 48;
14709                max: 24 9999;
14710                align: 0.5 1.0;
14711                rel1 {
14712                   to_y: "elm.text";
14713                   relative: 0.0 1.0;
14714                   offset: 0 10;
14715                }
14716                rel2 {
14717                   to_y: "elm.units";
14718                   relative: 1.0 0.0;
14719                   offset: -1 -8;
14720                }
14721             }
14722          }
14723          part { name: "elm.swallow.icon";
14724             type: SWALLOW;
14725             description { state: "default" 0.0;
14726                visible: 0;
14727                align: 0.5 0.0;
14728                rel1 {
14729                   offset: 0 4;
14730                   to_x: "elm.swallow.bar";
14731                }
14732                rel2 {
14733                   offset: -1 3;
14734                   relative: 1.0 0.0;
14735                   to_x: "elm.swallow.bar";
14736                }
14737             }
14738             description { state: "visible" 0.0;
14739                inherit: "default" 0.0;
14740                visible: 1;
14741                aspect: 1.0 1.0;
14742                aspect_preference: HORIZONTAL;
14743                rel2.offset: -1 4;
14744             }
14745          }
14746          part { name: "elm.text";
14747             type: TEXT;
14748             mouse_events: 0;
14749             scale: 1;
14750             description { state: "default" 0.0;
14751                visible: 0;
14752                fixed: 0 1;
14753                align: 0.5 0.0;
14754                rel1.to_y: "elm.swallow.icon";
14755                rel1.relative: 0.0 1.0;
14756                rel1.offset: 0 -1;
14757                rel2.to_y: "elm.swallow.icon";
14758                rel2.relative: 1.0 1.0;
14759                rel2.offset: -1 -1;
14760                color: 0 0 0 255;
14761                text {
14762                   font: "Sans,Edje-Vera";
14763                   size: 10;
14764                   min: 0 0;
14765                   align: 0.5 0.0;
14766                }
14767             }
14768             description { state: "visible" 0.0;
14769                inherit: "default" 0.0;
14770                visible: 1;
14771                text.min: 1 1;
14772                rel1.offset: 4 0;
14773                rel2.offset: -5 0;
14774             }
14775             description { state: "disabled" 0.0;
14776                inherit: "default" 0.0;
14777                color: 255 128 128 128;
14778                visible: 0;
14779             }
14780             description { state: "disabled_visible" 0.0;
14781                inherit: "default" 0.0;
14782                color: 0 0 0 128;
14783                color3: 0 0 0 0;
14784                visible: 1;
14785                text.min: 1 1;
14786             }
14787          }
14788          part {
14789             name: "elm.swallow.end";
14790             type: SWALLOW;
14791             description {
14792                state: "default" 0.0;
14793                visible: 0;
14794                align: 0.5 1.0;
14795                rel1 {
14796                   offset: 0 -4;
14797                   relative: 0.0 1.0;
14798                   to_x: "elm.swallow.bar";
14799                }
14800                rel2 {
14801                   offset: -1 -3;
14802                   to_x: "elm.swallow.bar";
14803                }
14804             }
14805             description { state: "visible" 0.0;
14806                inherit: "default" 0.0;
14807                visible: 1;
14808                aspect: 1.0 1.0;
14809                aspect_preference: HORIZONTAL;
14810                rel2.offset: -1 -4;
14811             }
14812          }
14813          part { name: "units";
14814             mouse_events: 0;
14815             description { state: "default" 0.0;
14816                visible: 0;
14817                rel1 {
14818                   to: "elm.units";
14819                   offset: -8 0;
14820                }
14821                rel2 {
14822                   to: "elm.units";
14823                   offset: 7 8;
14824                }
14825                image {
14826                   normal: "slv_units.png";
14827                   border: 8 8 0 9;
14828                }
14829                fill.smooth: 0;
14830             }
14831             description { state: "visible" 0.0;
14832                inherit: "default" 0.0;
14833                visible: 1;
14834             }
14835          }
14836          part { name: "elm.units";
14837             type: TEXT;
14838             mouse_events: 0;
14839             scale: 1;
14840             description { state: "default" 0.0;
14841                visible: 0;
14842                fixed: 1 1;
14843                align: 0.5 1.0;
14844                rel1.relative: 0.0 0.0;
14845                rel1.to_y: "elm.swallow.end";
14846                rel1.offset: 8 0;
14847                rel2.relative: 1.0 0.0;
14848                rel2.to_y: "elm.swallow.end";
14849                rel2.offset: -9 0;
14850                color: 0 0 0 255;
14851                text {
14852                   font: "Sans,Edje-Vera";
14853                   size: 10;
14854                   min: 0 0;
14855                   align: 0.5 0.0;
14856                }
14857             }
14858             description { state: "visible" 0.0;
14859                inherit: "default" 0.0;
14860                fixed: 1 1;
14861                visible: 1;
14862                text.min: 1 1;
14863                rel1.offset: 8 -9;
14864                rel2.offset: -9 -9;
14865             }
14866             description { state: "disabled" 0.0;
14867                inherit: "default" 0.0;
14868                color:  0 0 0 128;
14869                color3: 0 0 0 0;
14870                visible: 0;
14871             }
14872             description { state: "disabled_visible" 0.0;
14873                inherit: "default" 0.0;
14874                fixed: 1 1;
14875                visible: 1;
14876                text.min: 1 1;
14877                rel1.offset: 8 -9;
14878                rel2.offset: -9 -9;
14879                color: 0 0 0 128;
14880                color3: 0 0 0 0;
14881             }
14882          }
14883          part { name: "elm.dragable.slider";
14884             type: GROUP;
14885             source: "elm/slider/vertical/indicator/default";
14886             mouse_events: 1;
14887             repeat_events: 1;
14888             scale: 1;
14889             dragable {
14890                x: 0 0 0;
14891                y: 1 1 0;
14892                confine: "bg";
14893             }
14894             description { state: "default" 0.0;
14895                min: 24 0;
14896                max: 24 0;
14897                fixed: 1 1;
14898                rel1 {
14899                   relative: 0.5  0.0;
14900                   to_y: "bg";
14901                }
14902                rel2 {
14903                   relative: 0.5  1.0;
14904                   to_y: "bg";
14905                }
14906                color: 0 0 0 0;
14907             }
14908          }
14909               part { name: "disabler";
14910                 type: RECT;
14911                 description { state: "default" 0.0;
14912                    color: 0 0 0 0;
14913                    visible: 0;
14914                 }
14915                 description { state: "disabled" 0.0;
14916                    inherit: "default" 0.0;
14917                    visible: 1;
14918                 }
14919              }
14920           }
14921
14922       programs {
14923          program { name: "text_show";
14924             signal: "elm,state,text,visible";
14925             source: "elm";
14926             action:  STATE_SET "visible" 0.0;
14927             target: "elm.text";
14928          }
14929          program { name: "text_hide";
14930             signal: "elm,state,text,hidden";
14931             source: "elm";
14932             action:  STATE_SET "default" 0.0;
14933             target: "elm.text";
14934          }
14935          program { name: "icon_show";
14936             signal: "elm,state,icon,visible";
14937             source: "elm";
14938             action:  STATE_SET "visible" 0.0;
14939             target: "elm.swallow.icon";
14940          }
14941          program { name: "icon_hide";
14942             signal: "elm,state,icon,hidden";
14943             source: "elm";
14944             action:  STATE_SET "default" 0.0;
14945             target: "elm.swallow.icon";
14946          }
14947          program { name: "end_show";
14948             signal: "elm,state,end,visible";
14949             source: "elm";
14950             action:  STATE_SET "visible" 0.0;
14951             target: "elm.swallow.end";
14952          }
14953          program { name: "end_hide";
14954             signal: "elm,state,end,hidden";
14955             source: "elm";
14956             action:  STATE_SET "default" 0.0;
14957             target: "elm.swallow.end";
14958          }
14959          program { name: "units_show";
14960             signal: "elm,state,units,visible";
14961             source: "elm";
14962             action:  STATE_SET "visible" 0.0;
14963             target: "elm.units";
14964             target: "units";
14965          }
14966          program { name: "units_hide";
14967             signal: "elm,state,units,hidden";
14968             source: "elm";
14969             action:  STATE_SET "default" 0.0;
14970             target: "elm.units";
14971             target: "units";
14972          }
14973          program { name: "invert_on";
14974             signal: "elm,state,inverted,on";
14975             source: "elm";
14976             action:  STATE_SET "inverted" 0.0;
14977             target: "level";
14978             target: "level2";
14979          }
14980          program { name: "invert_off";
14981             signal: "elm,state,inverted,off";
14982             source: "elm";
14983             action:  STATE_SET "default" 0.0;
14984             target: "level";
14985             target: "level2";
14986          }
14987          program {
14988             name:   "go_disabled";
14989             signal: "elm,state,disabled";
14990             source: "elm";
14991             action: STATE_SET "disabled" 0.0;
14992 //            target: "button0";
14993             target: "disabler";
14994             after: "disable_text";
14995             after: "disable_ind";
14996          }
14997
14998          program { name: "disable_ind";
14999             action: SIGNAL_EMIT "elm.dragable.slider:elm,state,disabled" "elm";
15000          }
15001
15002          program { name: "disable_text";
15003             script {
15004             new st[31];
15005             new Float:vl;
15006                get_state(PART:"elm.text", st, 30, vl);
15007                if (!strcmp(st, "visible"))
15008                   set_state(PART:"elm.text", "disabled_visible", 0.0);
15009                else
15010                   set_state(PART:"elm.text", "disabled", 0.0);
15011
15012                get_state(PART:"elm.units", st, 30, vl);
15013                if (!strcmp(st, "visible"))
15014                   set_state(PART:"elm.units", "disabled_visible", 0.0);
15015                else
15016                   set_state(PART:"elm.units", "disabled", 0.0);
15017
15018                get_state(PART:"level2", st, 30, vl);
15019                if (!strcmp(st, "inverted"))
15020                {
15021                   set_state(PART:"level", "disabled_inverted", 0.0);
15022                   set_state(PART:"level2", "disabled_inverted", 0.0);
15023                }
15024                else
15025                {
15026                   set_state(PART:"level", "disabled", 0.0);
15027                   set_state(PART:"level2", "disabled", 0.0);
15028                }
15029             }
15030          }
15031
15032          program { name: "enable";
15033             signal: "elm,state,enabled";
15034             source: "elm";
15035             action: STATE_SET "default" 0.0;
15036 //            target: "button0";
15037             target: "disabler";
15038             after: "enable_text";
15039             after: "enable_ind";
15040          }
15041
15042          program { name: "enable_ind";
15043             action: SIGNAL_EMIT "elm.dragable.slider:elm,state,enabled" "elm";
15044          }
15045          program { name: "enable_text";
15046             script {
15047                new st[31];
15048                new Float:vl;
15049                get_state(PART:"elm.text", st, 30, vl);
15050                if (!strcmp(st, "disabled_visible"))
15051                   set_state(PART:"elm.text", "visible", 0.0);
15052                else
15053                   set_state(PART:"elm.text", "default", 0.0);
15054
15055                get_state(PART:"elm.units", st, 30, vl);
15056                if (!strcmp(st, "disabled_visible"))
15057                   set_state(PART:"elm.units", "visible", 0.0);
15058                else
15059                   set_state(PART:"elm.units", "default", 0.0);
15060
15061                get_state(PART:"level2", st, 30, vl);
15062                if (!strcmp(st, "disabled_inverted"))
15063                {
15064                   set_state(PART:"level", "inverted", 0.0);
15065                   set_state(PART:"level2", "inverted", 0.0);
15066                }
15067                else
15068                {
15069                   set_state(PART:"level", "default", 0.0);
15070                   set_state(PART:"level2", "default", 0.0);
15071                }
15072             }
15073          }
15074       }
15075    }
15076    group { name: "elm/slider/horizontal/indicator/default";
15077            alias: "elm/slider/horizontal/indicator/disabled";
15078            alias: "elm/slider/vertical/indicator/default";
15079            alias: "elm/slider/vertical/indicator/disabled";
15080       images {
15081          image: "sl_bt_0.png" COMP;
15082          image: "sl_bt_1.png" COMP;
15083          image: "sl_bt_2.png" COMP;
15084          image: "sl_bt_3.png" COMP;
15085          image: "sl_bt2_0_0.png" COMP;
15086          image: "sl_bt2_0_1.png" COMP;
15087          image: "sl_bt2_0_2.png" COMP;
15088          image: "sl_bt2_1.png" COMP;
15089          image: "sl_bt2_2.png" COMP;
15090       }
15091       script {
15092          public value_hide = 0;
15093          public set_value_show() {
15094             set_int(value_hide, 0);
15095          }
15096          public set_value_hide() {
15097             set_int(value_hide, 1);
15098          }
15099          public thumb_down() {
15100             if (get_int(value_hide) == 1) {
15101                set_state(PART:"elm.indicator", "default", 0.0);
15102                set_state(PART:"button3", "default", 0.0);
15103                set_state(PART:"button4", "default", 0.0);
15104                set_state(PART:"button5", "default", 0.0);
15105                set_state(PART:"button6", "default", 0.0);
15106                set_state(PART:"button7", "default", 0.0);
15107             } else {
15108                set_state(PART:"elm.indicator", "visible", 0.0);
15109                set_state(PART:"button3", "visible", 0.0);
15110                set_state(PART:"button4", "visible", 0.0);
15111                set_state(PART:"button5", "visible", 0.0);
15112                set_state(PART:"button6", "visible", 0.0);
15113                set_state(PART:"button7", "visible", 0.0);
15114             }
15115          }
15116          public thumb_up() {
15117             set_state(PART:"elm.indicator", "default", 0.0);
15118             set_state(PART:"button3", "default", 0.0);
15119             set_state(PART:"button4", "default", 0.0);
15120             set_state(PART:"button5", "default", 0.0);
15121             set_state(PART:"button6", "default", 0.0);
15122             set_state(PART:"button7", "default", 0.0);
15123          }
15124       }
15125       parts {
15126          part { name: "button_events";
15127             type: RECT;
15128             mouse_events: 1;
15129             description { state: "default" 0.0;
15130                fixed: 1 1;
15131                min: 16 16;
15132                aspect: 1.0 1.0;
15133                aspect_preference: VERTICAL;
15134                color: 0 0 0 0;
15135             }
15136          }
15137          part { name: "button0";
15138             mouse_events: 0;
15139             description { state: "default" 0.0;
15140                fixed: 1 1;
15141                max: 17 999;
15142                min: 17 24;
15143                image {
15144                   normal: "sl_bt_0.png";
15145                   border: 5 5 5 10;
15146                }
15147                fill.smooth: 0;
15148             }
15149             description { state: "disabled" 0.0;
15150                inherit: "default" 0.0;
15151                image {
15152                   normal: "sl_bt_3.png";
15153                   border: 5 5 5 10;
15154                }
15155             }
15156          }
15157          part { name: "button1";
15158             mouse_events: 0;
15159             description { state: "default" 0.0;
15160                rel1.to: "button0";
15161                rel2 {
15162                   to: "button0";
15163                   relative: 1.0 0.5;
15164                   offset: -1 -5;
15165                }
15166                image {
15167                   normal: "sl_bt_1.png";
15168                   border: 5 5 5 0;
15169                }
15170             }
15171          }
15172          part { name: "button2";
15173             mouse_events: 0;
15174             description { state: "default" 0.0;
15175                rel1.to: "button0";
15176                rel2.to: "button0";
15177                image {
15178                   normal: "sl_bt_2.png";
15179                   border: 5 5 5 10;
15180                }
15181                fill.smooth: 0;
15182             }
15183          }
15184          part { name: "button3";
15185             mouse_events: 0;
15186             description { state: "default" 0.0;
15187                fixed: 1 1;
15188                visible: 0;
15189                min: 8 32;
15190                align: 1.0 0.5;
15191                rel1 {
15192                   to_x: "elm.indicator";
15193                   to_y: "button4";
15194                   relative: 0.0 0.0;
15195                   offset: -7 0;
15196                }
15197                rel2 {
15198                   to: "button4";
15199                   relative: 0.0 1.0;
15200                   offset: -1 -1;
15201                }
15202                image {
15203                   normal: "sl_bt2_0_0.png";
15204                   border: 6 0 6 12;
15205                }
15206                fill.smooth: 0;
15207             }
15208             description { state: "visible" 0.0;
15209                inherit: "default" 0.0;
15210                visible: 1;
15211             }
15212          }
15213          part { name: "button4";
15214             mouse_events: 0;
15215             description { state: "default" 0.0;
15216                visible: 0;
15217                max: 15 999;
15218                min: 15 32;
15219                rel1 {
15220                   to_x: "button0";
15221                   to_y: "elm.indicator";
15222                   offset: 0 0;
15223                }
15224                rel2.to: "button0";
15225                image {
15226                   normal: "sl_bt2_0_1.png";
15227                   border: 0 0 6 12;
15228                }
15229                fill.smooth: 0;
15230             }
15231             description { state: "visible" 0.0;
15232                inherit: "default" 0.0;
15233                visible: 1;
15234             }
15235          }
15236          part { name: "button5";
15237             mouse_events: 0;
15238             description { state: "default" 0.0;
15239                fixed: 1 1;
15240                visible: 0;
15241                min: 8 32;
15242                align: 0.0 0.5;
15243                rel1 {
15244                   to: "button4";
15245                   relative: 1.0 0.0;
15246                   offset: 0 0;
15247                }
15248                rel2 {
15249                   to_x: "elm.indicator";
15250                   to_y: "button4";
15251                   relative: 1.0 1.0;
15252                   offset: 6 -1;
15253                }
15254                image {
15255                   normal: "sl_bt2_0_2.png";
15256                   border: 0 6 6 12;
15257                }
15258                fill.smooth: 0;
15259             }
15260             description { state: "visible" 0.0;
15261                inherit: "default" 0.0;
15262                visible: 1;
15263             }
15264          }
15265          part { name: "elm.indicator";
15266             type: TEXT;
15267             mouse_events: 0;
15268             effect: SOFT_SHADOW;
15269             scale: 1;
15270             description { state: "default" 0.0;
15271                visible: 0;
15272                fixed: 1 1;
15273                align: 0.5 1.0;
15274                rel1 {
15275                   to: "button0";
15276                   relative: 0.0 -0.25;
15277                   offset: 0 0;
15278                }
15279                rel2 {
15280                   to_x: "button0";
15281                   relative: 1.0 -0.25;
15282                   offset: -1 0;
15283                }
15284                color: 224 224 224 255;
15285                color3: 0 0 0 64;
15286                text {
15287                   font:     "Sans,Edje-Vera";
15288                   size:     10;
15289                   min:      0 0;
15290                   align:    0.5 0.5;
15291                }
15292             }
15293             description { state: "visible" 0.0;
15294                inherit: "default" 0.0;
15295                visible: 1;
15296                text.min: 1 1;
15297                rel1.offset: 0 -1;
15298                rel2.offset: -1 -1;
15299             }
15300          }
15301          part { name: "button6";
15302             mouse_events: 0;
15303             description { state: "default" 0.0;
15304                visible: 0;
15305                rel1.to: "button3";
15306                rel2 {
15307                   to: "button5";
15308                   relative: 1.0 0.3;
15309                   offset: -1 -1;
15310                }
15311                image {
15312                   normal: "sl_bt2_1.png";
15313                   border: 5 5 5 0;
15314                }
15315                fill.smooth: 0;
15316             }
15317             description { state: "visible" 0.0;
15318                inherit: "default" 0.0;
15319                visible: 1;
15320             }
15321          }
15322          part { name: "button7";
15323             mouse_events: 0;
15324             description { state: "default" 0.0;
15325                visible: 0;
15326                rel1.to: "button3";
15327                rel2.to: "button5";
15328                image {
15329                   normal: "sl_bt2_2.png";
15330                   border: 5 5 5 0;
15331                   middle: 0;
15332                }
15333                fill.smooth: 0;
15334             }
15335             description { state: "visible" 0.0;
15336                inherit: "default" 0.0;
15337                visible: 1;
15338             }
15339          }
15340       }
15341       programs {
15342          program { name: "set_val_show";
15343             signal: "elm,state,val,show";
15344             source: "elm";
15345             script {
15346                set_value_show();
15347             }
15348          }
15349          program { name: "set_val_hide";
15350             signal: "elm,state,val,hide";
15351             source: "elm";
15352             script {
15353                set_value_hide();
15354             }
15355          }
15356          program { name: "val_show";
15357             signal: "mouse,down,*";
15358             source: "button_events";
15359             script {
15360                thumb_down();
15361             }
15362
15363          }
15364          program { name: "val_hide";
15365             signal: "mouse,up,*";
15366             source: "button_events";
15367             script {
15368                thumb_up();
15369             }
15370          }
15371          program {
15372             name:    "go_disabled";
15373             signal:  "elm,state,disabled";
15374             source:  "elm";
15375             action:  STATE_SET "disabled" 0.0;
15376             target:  "button0";
15377          }
15378          program {
15379             name:    "go_enabled";
15380             signal:  "elm,state,enabled";
15381             source:  "elm";
15382             action:  STATE_SET "default" 0.0;
15383             target:  "button0";
15384          }
15385       }
15386    }
15387
15388
15389 ////////////////////////////////////////////////////////////////////////////////
15390 // actionslider
15391 ////////////////////////////////////////////////////////////////////////////////
15392    group { name: "elm/actionslider/base/default";
15393
15394       images {
15395          image: "shelf_inset.png" COMP;
15396          image: "ilist_1.png" COMP;
15397          image: "bt_bases.png" COMP;
15398          image: "bt_basew.png" COMP;
15399          image: "bt_hilightw.png" COMP;
15400       }
15401
15402       parts {
15403          part {
15404             name: "base";
15405             mouse_events: 0;
15406             description {
15407                state: "default" 0.0;
15408                min: 75 25;
15409                rel1.offset: 1 1;
15410                rel2.offset: -2 -2;
15411                image {
15412                   normal: "ilist_1.png";
15413                   border: 2 2 2 2;
15414                }
15415                fill.smooth: 0;
15416             }
15417          }
15418          part { name: "conf_over";
15419             mouse_events:  0;
15420             description { state: "default" 0.0;
15421                rel1.to: "base";
15422                rel2.to: "base";
15423                image {
15424                   normal: "shelf_inset.png";
15425                   border: 7 7 7 7;
15426                   middle: 0;
15427                }
15428                fill.smooth : 0;
15429             }
15430          }
15431          part { name: "icon.dragable.area";
15432            type: RECT;
15433             mouse_events: 0;
15434             description { state: "default" 0.0;
15435                visible: 0;
15436                rel1.to: "base";
15437                rel2.to: "base";
15438             }
15439          }
15440          part { name: "elm.text.left";
15441             type: TEXT;
15442             mouse_events: 0;
15443             scale: 1;
15444             description { state: "default" 0.0;
15445                color: 0 0 0 255;
15446                text {
15447                   font: "Sans,Edje-Vera";
15448                   size: 10;
15449                   align: 0.05 0.5;
15450                   min: 1 1;
15451                }
15452             }
15453          }
15454          part { name: "elm.text.center";
15455             type: TEXT;
15456             mouse_events: 0;
15457             scale: 1;
15458             description { state: "default" 0.0;
15459                color: 0 0 0 255;
15460                text {
15461                   font: "Sans,Edje-Vera";
15462                   size: 10;
15463                   align: 0.5 0.5;
15464                   min: 1 1;
15465                }
15466             }
15467          }
15468          part { name: "elm.text.right";
15469             type: TEXT;
15470             mouse_events: 0;
15471             scale: 1;
15472             description { state: "default" 0.0;
15473                color: 0 0 0 255;
15474                text {
15475                   font: "Sans,Edje-Vera";
15476                   size: 10;
15477                   align: 0.95 0.5;
15478                   min: 1 1;
15479                }
15480             }
15481          }
15482          part { name: "elm.drag_button_base";
15483             type: SWALLOW;
15484             mouse_events: 0;
15485             scale: 1;
15486             description { state: "default" 0.0;
15487                fixed: 1 1;
15488                min: 50 25;
15489                align: 0.5 0.5;
15490                rel1.to: "icon.dragable.area";
15491                rel2 {
15492                   relative: 0.0 1.0;
15493                   to: "icon.dragable.area";
15494                }
15495             }
15496             dragable {
15497                confine: "icon.dragable.area";
15498                x: 1 1 0;
15499                y: 0 0 0;
15500             }
15501          }
15502          part { name: "elm.drag_button";
15503             type: RECT;
15504             mouse_events: 1;
15505             description { state: "default" 0.0;
15506                min: 50 25;
15507                color: 255 255 255 0;
15508                rel1.to_x: "elm.drag_button_base";
15509                rel1.to_y: "icon.dragable.area";
15510                rel2.to_x: "elm.drag_button_base";
15511                rel2.to_y: "icon.dragable.area";
15512             }
15513             dragable {
15514                events: "elm.drag_button_base";
15515             }
15516          }
15517          part { name: "button0";
15518             mouse_events: 0;
15519             description { state: "default" 0.0;
15520                rel1.to: "button2";
15521                rel1.offset: -4 -4;
15522                rel2.to: "button2";
15523                rel2.offset: 3 3;
15524                image {
15525                   normal: "bt_bases.png";
15526                   border: 11 11 11 11;
15527                   middle: SOLID;
15528                }
15529                color: 255 255 255 128;
15530             }
15531          }
15532          part { name: "button2";
15533             mouse_events: 0;
15534             description { state: "default" 0.0;
15535                rel1.to: "elm.drag_button";
15536                rel2.to: "elm.drag_button";
15537                image {
15538                   normal: "bt_basew.png";
15539                   border: 7 7 7 7;
15540                   middle: SOLID;
15541                }
15542                color: 255 255 255 210;
15543             }
15544          }
15545          part { name: "button3";
15546             mouse_events: 0;
15547             description { state: "default" 0.0;
15548                rel1.to: "button2";
15549                rel2.to: "button2";
15550                rel2.relative: 1.0 0.5;
15551                image {
15552                   normal: "bt_hilightw.png";
15553                   border: 4 4 4 0;
15554                }
15555                color: 255 255 255 190;
15556             }
15557          }
15558          part { name: "elm.text.indicator";
15559             type: TEXT;
15560             scale: 1;
15561             mouse_events: 0;
15562             description { state: "default" 0.0;
15563                rel1 {
15564                   to: "elm.drag_button";
15565                   offset: 5 0;
15566                }
15567                rel2 {
15568                   to: "elm.drag_button";
15569                   offset: -5 0;
15570                }
15571                color: 0 0 0 255;
15572                text {
15573                   font: "Sans,Edje-Vera";
15574                   size: 10;
15575                   align: 0.5 0.5;
15576                   min: 0 1;
15577                }
15578             }
15579          }
15580       }
15581       programs {
15582          program { name: "elm.drag_button,mouse,up";
15583             signal: "mouse,up,1";
15584             source: "elm.drag_button";
15585             action: SIGNAL_EMIT "elm.drag_button,mouse,up" "";
15586          }
15587          program { name: "elm.drag_button,mouse,down";
15588             signal: "mouse,down,1";
15589             source: "elm.drag_button";
15590             action: SIGNAL_EMIT "elm.drag_button,mouse,down" "";
15591          }
15592          program { name: "elm.drag_button,mouse,move";
15593             signal: "mouse,move";
15594             source: "elm.drag_button_base";
15595             action: SIGNAL_EMIT "elm.drag_button,mouse,move" "";
15596          }
15597       }
15598    }
15599
15600    group { name: "elm/actionslider/base/bar";
15601
15602       images {
15603          image: "shelf_inset.png" COMP;
15604          image: "ilist_1.png" COMP;
15605          image: "bt_bases.png" COMP;
15606          image: "bt_basew.png" COMP;
15607          image: "bt_hilightw.png" COMP;
15608       }
15609
15610       parts {
15611          part {
15612             name: "base";
15613             mouse_events: 0;
15614             description {
15615                state: "default" 0.0;
15616                min: 150 30;
15617                rel1.offset: 1 1;
15618                rel2.offset: -2 -2;
15619                image {
15620                   normal: "ilist_1.png";
15621                   border: 2 2 2 2;
15622                }
15623                fill.smooth: 0;
15624             }
15625          }
15626          part { name: "conf_over";
15627             mouse_events:  0;
15628             description { state: "default" 0.0;
15629                rel1.to: "base";
15630                rel2.to: "base";
15631                image {
15632                   normal: "shelf_inset.png";
15633                   border: 7 7 7 7;
15634                   middle: 0;
15635                }
15636                fill.smooth : 0;
15637             }
15638          }
15639          part { name: "icon.dragable.area";
15640            type: RECT;
15641             mouse_events: 0;
15642             description { state: "default" 0.0;
15643                visible: 0;
15644                rel1.to: "base";
15645                rel2.to: "base";
15646             }
15647          }
15648          part { name: "elm.text.left";
15649             type: TEXT;
15650             mouse_events: 0;
15651             scale: 1;
15652             description { state: "default" 0.0;
15653                color: 0 0 0 255;
15654                text {
15655                   font: "Sans,Edje-Vera";
15656                   size: 10;
15657                   align: 0.05 0.5;
15658                   min: 1 1;
15659                }
15660             }
15661          }
15662          part { name: "elm.text.center";
15663             type: TEXT;
15664             mouse_events: 0;
15665             scale: 1;
15666             description { state: "default" 0.0;
15667                color: 0 0 0 255;
15668                text {
15669                   font: "Sans,Edje-Vera";
15670                   size: 10;
15671                   align: 0.5 0.5;
15672                   min: 1 1;
15673                }
15674             }
15675          }
15676          part { name: "elm.text.right";
15677             type: TEXT;
15678             mouse_events: 0;
15679             scale: 1;
15680             description { state: "default" 0.0;
15681                color: 0 0 0 255;
15682                text {
15683                   font: "Sans,Edje-Vera";
15684                   size: 10;
15685                   align: 0.95 0.5;
15686                   min: 1 1;
15687                }
15688             }
15689          }
15690          part { name: "bar";
15691             type: RECT;
15692             mouse_events: 0;
15693             description { state: "default" 0.0;
15694                rel1.to: "base";
15695                rel1.offset: 0 2;
15696                rel2 {
15697                   relative: 0 1;
15698                   offset: 3 -3;
15699                   to_x: "elm.drag_button_base";
15700                   to_y: "base";
15701                }
15702                color: 0 0 0 180;
15703             }
15704          }
15705          part { name: "elm.drag_button_base";
15706             type: SWALLOW;
15707             mouse_events: 1;
15708             scale: 1;
15709             description { state: "default" 0.0;
15710                fixed: 1 1;
15711                min: 50 25;
15712                align: 0.5 0.5;
15713                rel1.to: "icon.dragable.area";
15714                rel2 {
15715                   relative: 0.0 1.0;
15716                   to: "icon.dragable.area";
15717                }
15718             }
15719             dragable {
15720                confine: "icon.dragable.area";
15721                x: 1 1 0;
15722                y: 0 0 0;
15723             }
15724          }
15725          part { name: "elm.drag_button";
15726             type: RECT;
15727             mouse_events: 1;
15728             description { state: "default" 0.0;
15729                min: 50 25;
15730                color: 255 255 255 0;
15731                rel1.to_x: "elm.drag_button_base";
15732                rel1.to_y: "icon.dragable.area";
15733                rel2.to_x: "elm.drag_button_base";
15734                rel2.to_y: "icon.dragable.area";
15735             }
15736             dragable {
15737                events: "elm.drag_button_base";
15738             }
15739          }
15740          part { name: "button0";
15741             mouse_events: 0;
15742             description { state: "default" 0.0;
15743                rel1.to: "button2";
15744                rel1.offset: -4 -4;
15745                rel2.to: "button2";
15746                rel2.offset: 3 3;
15747                image {
15748                   normal: "bt_bases.png";
15749                   border: 11 11 11 11;
15750                   middle: SOLID;
15751                }
15752                color: 255 255 255 128;
15753             }
15754          }
15755          part { name: "button2";
15756             mouse_events: 0;
15757             description { state: "default" 0.0;
15758                rel1.to: "elm.drag_button";
15759                rel2.to: "elm.drag_button";
15760                image {
15761                   normal: "bt_basew.png";
15762                   border: 7 7 7 7;
15763                   middle: SOLID;
15764                }
15765                color: 255 255 255 210;
15766             }
15767          }
15768          part { name: "button3";
15769             mouse_events: 0;
15770             description { state: "default" 0.0;
15771                rel1.to: "button2";
15772                rel2.to: "button2";
15773                rel2.relative: 1.0 0.5;
15774                image {
15775                   normal: "bt_hilightw.png";
15776                   border: 4 4 4 0;
15777                }
15778                color: 255 255 255 190;
15779             }
15780          }
15781          part { name: "elm.text.indicator";
15782             type: TEXT;
15783             scale: 1;
15784             mouse_events: 0;
15785             description { state: "default" 0.0;
15786                rel1 {
15787                   to: "elm.drag_button";
15788                   offset: 5 0;
15789                }
15790                rel2 {
15791                   to: "elm.drag_button";
15792                   offset: -5 0;
15793                }
15794                color: 0 0 0 255;
15795                text {
15796                   font: "Sans,Edje-Vera";
15797                   size: 10;
15798                   align: 0.5 0.5;
15799                   min: 0 1;
15800                }
15801             }
15802          }
15803       }
15804       programs {
15805          program { name: "elm.drag_button,mouse,up";
15806             signal: "mouse,up,1";
15807             source: "elm.drag_button";
15808             action: SIGNAL_EMIT "elm.drag_button,mouse,up" "";
15809          }
15810          program { name: "elm.drag_button,mouse,down";
15811             signal: "mouse,down,1";
15812             source: "elm.drag_button";
15813             action: SIGNAL_EMIT "elm.drag_button,mouse,down" "";
15814          }
15815          program { name: "elm.drag_button,mouse,move";
15816             signal: "mouse,move";
15817             source: "elm.drag_button_base";
15818             action: SIGNAL_EMIT "elm.drag_button,mouse,move" "";
15819          }
15820       }
15821    }
15822
15823 ///////////////////////////////////////////////////////////////////////////////
15824    group { name: "elm/genlist/item/default/default";
15825       data.item: "selectraise" "on";
15826       data.item: "labels" "elm.text";
15827       data.item: "icons" "elm.swallow.icon elm.swallow.end";
15828       data.item: "treesize" "20";
15829 //      data.item: "states" "";
15830       images {
15831          image: "bt_sm_base1.png" COMP;
15832          image: "bt_sm_shine.png" COMP;
15833          image: "bt_sm_hilight.png" COMP;
15834          image: "ilist_1.png" COMP;
15835          image: "ilist_2.png" COMP;
15836          image: "ilist_item_shadow.png" COMP;
15837       }
15838       parts {
15839          part {
15840             name:           "event";
15841             type:           RECT;
15842             repeat_events: 1;
15843             description {
15844                state: "default" 0.0;
15845                color: 0 0 0 0;
15846             }
15847          }
15848          part { name: "reorder_bg";
15849             mouse_events: 0;
15850             description { state: "default" 0.0;
15851                visible: 0;
15852                color: 255 255 255 0;
15853                rel1 {
15854                   relative: 0.0 0.0;
15855                   offset: -7 -7;
15856                }
15857                rel2 {
15858                   relative: 1.0 1.0;
15859                   offset: 9 9;
15860                }
15861                image {
15862                   normal: "bt_bases.png";
15863                   border: 6 6 6 6;
15864                }
15865             }
15866             description { state: "enabled" 0.0;
15867                inherit: "default" 0.0;
15868                visible: 1;
15869                color: 255 255 255 255;
15870             }
15871          }
15872          part {
15873             name: "base_sh";
15874             mouse_events: 0;
15875             description {
15876                state: "default" 0.0;
15877                align: 0.0 0.0;
15878                min: 0 10;
15879                fixed: 1 1;
15880                rel1 {
15881                   to: "base";
15882                   relative: 0.0 1.0;
15883                   offset: 0 0;
15884                }
15885                rel2 {
15886                   to: "base";
15887                   relative: 1.0 1.0;
15888                   offset: -1 0;
15889                }
15890                image {
15891                   normal: "ilist_item_shadow.png";
15892                }
15893                fill.smooth: 0;
15894             }
15895             description {
15896                state: "default" 1.0;
15897                inherit: "default" 0.0;
15898                visible: 0;
15899             }
15900          }
15901          part {
15902             name: "base";
15903             mouse_events: 0;
15904             description {
15905                state: "default" 0.0;
15906                image {
15907                   normal: "ilist_1.png";
15908                   border: 2 2 2 2;
15909                }
15910                fill.smooth: 0;
15911             }
15912             description {
15913                state: "default" 1.0;
15914                inherit: "default" 0.0;
15915                image.normal: "ilist_2.png";
15916             }
15917          }
15918          part { name: "bg";
15919             clip_to: "disclip";
15920             mouse_events: 0;
15921             description { state: "default" 0.0;
15922                visible: 0;
15923                color: 255 255 255 0;
15924                rel1 {
15925                   relative: 0.0 0.0;
15926                   offset: -5 -5;
15927                }
15928                rel2 {
15929                   relative: 1.0 1.0;
15930                   offset: 4 4;
15931                }
15932                image {
15933                   normal: "bt_sm_base1.png";
15934                   border: 6 6 6 6;
15935                }
15936                image.middle: SOLID;
15937             }
15938             description { state: "default" 0.1;
15939                inherit: "default" 0.0;
15940             }
15941             description { state: "selected" 0.0;
15942                inherit: "default" 0.0;
15943                visible: 1;
15944                color: 255 255 255 255;
15945                rel1 {
15946                   relative: 0.0 0.0;
15947                   offset: -2 -2;
15948                }
15949                rel2 {
15950                   relative: 1.0 1.0;
15951                   offset: 1 1;
15952                }
15953             }
15954             description {
15955                state: "selected" 1.0;
15956                inherit: "selected" 0.0;
15957             }
15958          }
15959          part { name: "elm.swallow.pad";
15960             type: SWALLOW;
15961             description { state: "default" 0.0;
15962                fixed: 1 0;
15963                align: 0.0 0.5;
15964                rel1 {
15965                   relative: 0.0  0.0;
15966                   offset:   4    4;
15967                }
15968                rel2 {
15969                   relative: 0.0  1.0;
15970                   offset:   4   -5;
15971                }
15972             }
15973          }
15974          part { name: "elm.swallow.icon";
15975             clip_to: "disclip";
15976             type: SWALLOW;
15977             description { state: "default" 0.0;
15978                fixed: 1 0;
15979                align: 0.0 0.5;
15980                rel1 {
15981                   to_x: "elm.swallow.pad";
15982                   relative: 1.0  0.0;
15983                   offset:   -1    4;
15984                }
15985                rel2 {
15986                   to_x: "elm.swallow.pad";
15987                   relative: 1.0  1.0;
15988                   offset:   -1   -5;
15989                }
15990             }
15991          }
15992          part { name: "elm.swallow.end";
15993             clip_to: "disclip";
15994             type: SWALLOW;
15995             description { state: "default" 0.0;
15996                fixed: 1 0;
15997                align: 1.0 0.5;
15998                aspect: 1.0 1.0;
15999                aspect_preference: VERTICAL;
16000                rel1 {
16001                   relative: 1.0  0.0;
16002                   offset:   -5    4;
16003                }
16004                rel2 {
16005                   relative: 1.0  1.0;
16006                   offset:   -5   -5;
16007                }
16008             }
16009          }
16010          part { name: "elm.text";
16011             clip_to: "disclip";
16012             type:           TEXT;
16013             effect:         SOFT_SHADOW;
16014             mouse_events:   0;
16015             scale: 1;
16016             description {
16017                state: "default" 0.0;
16018 //               min: 16 16;
16019                rel1 {
16020                   to_x:     "elm.swallow.icon";
16021                   relative: 1.0  0.0;
16022                   offset:   0 4;
16023                }
16024                rel2 {
16025                   to_x:     "elm.swallow.end";
16026                   relative: 0.0  1.0;
16027                   offset:   -1 -5;
16028                }
16029                color: 0 0 0 255;
16030                color3: 0 0 0 0;
16031                text {
16032                   font: "Sans";
16033                   size: 10;
16034                   min: 1 1;
16035 //                  min: 0 1;
16036                   align: -1.0 0.5;
16037                   text_class: "list_item";
16038                }
16039             }
16040             description { state: "selected" 0.0;
16041                inherit: "default" 0.0;
16042                color: 224 224 224 255;
16043                color3: 0 0 0 64;
16044             }
16045          }
16046          part { name: "fg1";
16047             clip_to: "disclip";
16048             mouse_events: 0;
16049             description { state: "default" 0.0;
16050                visible: 0;
16051                color: 255 255 255 0;
16052                rel1.to: "bg";
16053                rel2.relative: 1.0 0.5;
16054                rel2.to: "bg";
16055                image {
16056                   normal: "bt_sm_hilight.png";
16057                   border: 6 6 6 0;
16058                }
16059             }
16060             description { state: "selected" 0.0;
16061                inherit: "default" 0.0;
16062                visible: 1;
16063                color: 255 255 255 255;
16064             }
16065             description {
16066                state: "selected" 1.0;
16067                inherit: "default" 0.0;
16068                visible: 1;
16069                color: 255 255 255 255;
16070             }
16071          }
16072          part { name: "fg2";
16073             clip_to: "disclip";
16074             mouse_events: 0;
16075             description { state: "default" 0.0;
16076                visible: 0;
16077                color: 255 255 255 0;
16078                rel1.to: "bg";
16079                rel2.to: "bg";
16080                image {
16081                   normal: "bt_sm_shine.png";
16082                   border: 6 6 6 0;
16083                }
16084             }
16085             description { state: "selected" 0.0;
16086                inherit: "default" 0.0;
16087                visible: 1;
16088                color: 255 255 255 255;
16089             }
16090             description {
16091                state: "selected" 1.0;
16092                inherit: "default" 0.0;
16093                visible: 1;
16094                color: 255 255 255 255;
16095             }
16096          }
16097          part { name: "disclip";
16098             type: RECT;
16099             description { state: "default" 0.0;
16100                rel1.to: "bg";
16101                rel2.to: "bg";
16102             }
16103             description { state: "disabled" 0.0;
16104                inherit: "default" 0.0;
16105                color: 255 255 255 64;
16106             }
16107          }
16108       }
16109       programs {
16110          // signal: elm,state,%s,active
16111          //   a "check" item named %s went active
16112          // signal: elm,state,%s,passive
16113          //   a "check" item named %s went passive
16114          // default is passive
16115          program {
16116             name:    "odd";
16117             signal:  "elm,state,odd";
16118             source:  "elm";
16119             action:  STATE_SET "default" 1.0;
16120             target:  "base_sh";
16121             target:  "base";
16122          }
16123          program {
16124             name:    "even";
16125             signal:  "elm,state,even";
16126             source:  "elm";
16127             action:  STATE_SET "default" 0.0;
16128             target:  "base_sh";
16129             target:  "base";
16130          }
16131          program {
16132             name:    "go_active";
16133             signal:  "elm,state,selected";
16134             source:  "elm";
16135             script {
16136                new st[31];
16137                new Float:vl;
16138                get_state(PART:"base", st, 30, vl);
16139                set_state(PART:"bg", "selected", vl);
16140                set_state(PART:"fg1", "selected", vl);
16141                set_state(PART:"fg2", "selected", vl);
16142                set_state(PART:"elm.text", "selected", vl);
16143             }
16144          }
16145          program {
16146             name:    "go_passive";
16147             signal:  "elm,state,unselected";
16148             source:  "elm";
16149             script {
16150                new st[31];
16151                new Float:vl;
16152                get_state(PART:"base", st, 30, vl);
16153                set_state(PART:"bg", "default", vl);
16154                set_state(PART:"fg1", "default", vl);
16155                set_state(PART:"fg2", "default", vl);
16156                set_state(PART:"elm.text", "default", vl);
16157             }
16158          }
16159          program {
16160             name:    "go_disabled";
16161             signal:  "elm,state,disabled";
16162             source:  "elm";
16163             action:  STATE_SET "disabled" 0.0;
16164             target:  "disclip";
16165          }
16166          program {
16167             name:    "go_enabled";
16168             signal:  "elm,state,enabled";
16169             source:  "elm";
16170             action:  STATE_SET "default" 0.0;
16171             target:  "disclip";
16172          }
16173          program {
16174             name:    "go_reorder_disabled";
16175             signal:  "elm,state,reorder,disabled";
16176             source:  "elm";
16177             action:  STATE_SET "default" 0.0;
16178             target:  "reorder_bg";
16179             transition: DECELERATE 0.5;
16180          }
16181          program {
16182             name:    "go_reorder_enabled";
16183             signal:  "elm,state,reorder,enabled";
16184             source:  "elm";
16185             action:  STATE_SET "enabled" 0.0;
16186             target:  "reorder_bg";
16187             transition: DECELERATE 0.5;
16188          }
16189       }
16190    }
16191    group { name: "elm/genlist/item/group_index/default";
16192       alias: "elm/genlist/item_compress/group_index/default";
16193       data.item: "selectraise" "on";
16194       data.item: "labels" "elm.text";
16195       data.item: "icons" "elm.swallow.icon elm.swallow.end";
16196       data.item: "treesize" "20";
16197 //      data.item: "states" "";
16198       images {
16199          image: "bt_sm_base1.png" COMP;
16200          image: "bt_sm_shine.png" COMP;
16201          image: "bt_sm_hilight.png" COMP;
16202          image: "ilist_item_shadow.png" COMP;
16203          image: "group_index.png" COMP;
16204       }
16205       parts {
16206          part {
16207             name: "event";
16208             type: RECT;
16209             repeat_events: 0;
16210             description {
16211                state: "default" 0.0;
16212                color: 0 0 0 0;
16213             }
16214          }
16215          part {
16216             name: "base_sh";
16217             mouse_events: 0;
16218             description {
16219                state: "default" 0.0;
16220                align: 0.0 0.0;
16221                min: 0 10;
16222                fixed: 1 1;
16223                rel1 {
16224                   to: "base";
16225                   relative: 0.0 1.0;
16226                   offset: 0 0;
16227                }
16228                rel2 {
16229                   to: "base";
16230                   relative: 1.0 1.0;
16231                   offset: -1 0;
16232                }
16233                image {
16234                   normal: "ilist_item_shadow.png";
16235                }
16236                fill.smooth: 0;
16237             }
16238          }
16239          part {
16240             name: "base";
16241             mouse_events: 0;
16242             description {
16243                state: "default" 0.0;
16244                image {
16245                   normal: "group_index.png";
16246                   border: 2 2 2 2;
16247                }
16248                fill.smooth: 0;
16249             }
16250          }
16251          part { name: "bg";
16252             clip_to: "disclip";
16253             mouse_events: 0;
16254             description { state: "default" 0.0;
16255                visible: 0;
16256                color: 255 255 255 0;
16257                rel1 {
16258                   relative: 0.0 0.0;
16259                   offset: -5 -5;
16260                }
16261                rel2 {
16262                   relative: 1.0 1.0;
16263                   offset: 4 4;
16264                }
16265                image {
16266                   normal: "bt_sm_base1.png";
16267                   border: 6 6 6 6;
16268                }
16269                image.middle: SOLID;
16270             }
16271             description { state: "selected" 0.0;
16272                inherit: "default" 0.0;
16273                visible: 1;
16274                color: 255 255 255 255;
16275                rel1 {
16276                   relative: 0.0 0.0;
16277                   offset: -2 -2;
16278                }
16279                rel2 {
16280                   relative: 1.0 1.0;
16281                   offset: 1 1;
16282                }
16283             }
16284          }
16285          part { name: "elm.swallow.pad";
16286             type: SWALLOW;
16287             description { state: "default" 0.0;
16288                fixed: 1 0;
16289                align: 0.0 0.5;
16290                rel1 {
16291                   relative: 0.0  0.0;
16292                   offset: 4 4;
16293                }
16294                rel2 {
16295                   relative: 0.0  1.0;
16296                   offset: 4 -5;
16297                }
16298             }
16299          }
16300          part { name: "elm.swallow.icon";
16301             clip_to: "disclip";
16302             type: SWALLOW;
16303             description { state: "default" 0.0;
16304                fixed: 1 0;
16305                align: 0.0 0.5;
16306                rel1 {
16307                   to_x: "elm.swallow.pad";
16308                   relative: 1.0 0.0;
16309                   offset: -1 4;
16310                }
16311                rel2 {
16312                   to_x: "elm.swallow.pad";
16313                   relative: 1.0 1.0;
16314                   offset: -1 -5;
16315                }
16316             }
16317          }
16318          part { name: "elm.swallow.end";
16319             clip_to: "disclip";
16320             type: SWALLOW;
16321             description { state: "default" 0.0;
16322                fixed: 1 0;
16323                align: 1.0 0.5;
16324                aspect: 1.0 1.0;
16325                aspect_preference: VERTICAL;
16326                rel1 {
16327                   relative: 1.0 0.0;
16328                   offset: -5 4;
16329                }
16330                rel2 {
16331                   relative: 1.0 1.0;
16332                   offset: -5 -5;
16333                }
16334             }
16335          }
16336          part { name: "elm.text";
16337             clip_to: "disclip";
16338             type: TEXT;
16339             effect: SOFT_SHADOW;
16340             mouse_events: 0;
16341             scale: 1;
16342             description {
16343                state: "default" 0.0;
16344 //               min: 16 16;
16345                rel1 {
16346                   to_x: "elm.swallow.icon";
16347                   relative: 1.0  0.0;
16348                   offset: 0 4;
16349                }
16350                rel2 {
16351                   to_x: "elm.swallow.end";
16352                   relative: 0.0  1.0;
16353                   offset: -1 -5;
16354                }
16355                color: 0 0 0 255;
16356                color3: 0 0 0 0;
16357                text {
16358                   font: "Sans";
16359                   size: 10;
16360                   min: 1 1;
16361 //                  min: 0 1;
16362                   align: -1.0 0.5;
16363                   text_class: "list_item";
16364                }
16365             }
16366             description { state: "selected" 0.0;
16367                inherit: "default" 0.0;
16368                color: 224 224 224 255;
16369                color3: 0 0 0 64;
16370             }
16371          }
16372          part { name: "fg1";
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.relative: 1.0 0.5;
16380                rel2.to: "bg";
16381                image {
16382                   normal: "bt_sm_hilight.png";
16383                   border: 6 6 6 0;
16384                }
16385             }
16386             description { state: "selected" 0.0;
16387                inherit: "default" 0.0;
16388                visible: 1;
16389                color: 255 255 255 255;
16390             }
16391          }
16392          part { name: "fg2";
16393             clip_to: "disclip";
16394             mouse_events: 0;
16395             description { state: "default" 0.0;
16396                visible: 0;
16397                color: 255 255 255 0;
16398                rel1.to: "bg";
16399                rel2.to: "bg";
16400                image {
16401                   normal: "bt_sm_shine.png";
16402                   border: 6 6 6 0;
16403                }
16404             }
16405             description { state: "selected" 0.0;
16406                inherit: "default" 0.0;
16407                visible: 1;
16408                color: 255 255 255 255;
16409             }
16410          }
16411          part { name: "disclip";
16412             type: RECT;
16413             description { state: "default" 0.0;
16414                rel1.to: "bg";
16415                rel2.to: "bg";
16416             }
16417             description { state: "disabled" 0.0;
16418                inherit: "default" 0.0;
16419                color: 255 255 255 64;
16420             }
16421          }
16422       }
16423       programs {
16424          // signal: elm,state,%s,active
16425          //   a "check" item named %s went active
16426          // signal: elm,state,%s,passive
16427          //   a "check" item named %s went passive
16428          // default is passive
16429          program {
16430             name:    "go_active";
16431             signal:  "elm,state,selected";
16432             source:  "elm";
16433             action:  STATE_SET "selected" 0.0;
16434             target:  "bg";
16435             target:  "fg1";
16436             target:  "fg2";
16437             target:  "elm.text";
16438          }
16439          program {
16440             name:    "go_passive";
16441             signal:  "elm,state,unselected";
16442             source:  "elm";
16443             action:  STATE_SET "default" 0.0;
16444             target:  "bg";
16445             target:  "fg1";
16446             target:  "fg2";
16447             target:  "elm.text";
16448             transition: LINEAR 0.1;
16449          }
16450          program {
16451             name:    "go_disabled";
16452             signal:  "elm,state,disabled";
16453             source:  "elm";
16454             action:  STATE_SET "disabled" 0.0;
16455             target:  "disclip";
16456          }
16457          program {
16458             name:    "go_enabled";
16459             signal:  "elm,state,enabled";
16460             source:  "elm";
16461             action:  STATE_SET "default" 0.0;
16462             target:  "disclip";
16463          }
16464       }
16465    }
16466    group { name: "elm/genlist/item_compress/message/default";
16467       data.item: "selectraise" "on";
16468       data.item: "labels" "elm.title.1 elm.title.2 elm.text";
16469 //      data.item: "icons" "elm.swallow.icon elm.swallow.end";
16470       data.item: "treesize" "20";
16471 //      data.item: "states" "";
16472       images {
16473          image: "bt_sm_base1.png" COMP;
16474          image: "bt_sm_shine.png" COMP;
16475          image: "bt_sm_hilight.png" COMP;
16476          image: "ilist_1.png" COMP;
16477          image: "ilist_2.png" COMP;
16478          image: "ilist_item_shadow.png" COMP;
16479       }
16480       styles {
16481         style { name: "genlist_textblock_style";
16482           base: "font=Sans font_size=10 color=#000 wrap=char text_class=list_item";
16483           tag:  "br" "\n";
16484           tag:  "ps" "ps";
16485           tag:  "tab" "\t";
16486         }
16487         style { name: "genlist_textblock_style2";
16488           base: "font=Sans font_size=10 color=#fff wrap=char text_class=list_item";
16489           tag:  "br" "\n";
16490           tag:  "ps" "ps";
16491           tag:  "tab" "\t";
16492         }
16493       }
16494      parts {
16495          part {
16496             name:           "event";
16497             type:           RECT;
16498             repeat_events: 1;
16499             description {
16500                state: "default" 0.0;
16501                color: 0 0 0 0;
16502             }
16503          }
16504          part {
16505             name: "base_sh";
16506             mouse_events: 0;
16507             description {
16508                state: "default" 0.0;
16509                align: 0.0 0.0;
16510                min: 0 10;
16511                fixed: 1 1;
16512                rel1 {
16513                   to: "base";
16514                   relative: 0.0 1.0;
16515                   offset: 0 0;
16516                }
16517                rel2 {
16518                   to: "base";
16519                   relative: 1.0 1.0;
16520                   offset: -1 0;
16521                }
16522                image {
16523                   normal: "ilist_item_shadow.png";
16524                }
16525                fill.smooth: 0;
16526             }
16527             description {
16528                state: "default" 1.0;
16529                inherit: "default" 0.0;
16530                visible: 0;
16531             }
16532          }
16533          part {
16534             name: "base";
16535             mouse_events: 0;
16536             description {
16537                state: "default" 0.0;
16538                image {
16539                   normal: "ilist_1.png";
16540                   border: 2 2 2 2;
16541                }
16542                fill.smooth: 0;
16543             }
16544             description {
16545                state: "default" 1.0;
16546                inherit: "default" 0.0;
16547                image.normal: "ilist_2.png";
16548             }
16549          }
16550          part { name: "bg";
16551             clip_to: "disclip";
16552             mouse_events: 0;
16553             description { state: "default" 0.0;
16554                visible: 0;
16555                color: 255 255 255 0;
16556                rel1 {
16557                   relative: 0.0 0.0;
16558                   offset: -5 -5;
16559                }
16560                rel2 {
16561                   relative: 1.0 1.0;
16562                   offset: 4 4;
16563                }
16564                image {
16565                   normal: "bt_sm_base1.png";
16566                   border: 6 6 6 6;
16567                }
16568                image.middle: SOLID;
16569             }
16570             description { state: "selected" 0.0;
16571                inherit: "default" 0.0;
16572                visible: 1;
16573                color: 255 255 255 255;
16574                rel1 {
16575                   relative: 0.0 0.0;
16576                   offset: -2 -2;
16577                }
16578                rel2 {
16579                   relative: 1.0 1.0;
16580                   offset: 1 1;
16581                }
16582             }
16583          }
16584          part { name: "elm.title.1";
16585             clip_to: "disclip";
16586             type:           TEXT;
16587             effect:         SOFT_SHADOW;
16588             mouse_events:   0;
16589             scale: 1;
16590             description {
16591                state: "default" 0.0;
16592                fixed: 0 1;
16593 //               min: 16 16;
16594                rel1 {
16595                   relative: 0.0  0.0;
16596                   offset:   4 4;
16597                }
16598                rel2 {
16599                   relative: 1.0  0.0;
16600                   offset:   -5 4;
16601                }
16602                color: 0 0 0 255;
16603                color3: 0 0 0 0;
16604                align: 0.0 0.0;
16605                text {
16606                   font: "Sans";
16607                   size: 10;
16608                   min: 0 1;
16609 //                  min: 1 1;
16610                   align: 0.0 0.0;
16611                   text_class: "list_item";
16612                }
16613             }
16614             description { state: "selected" 0.0;
16615                inherit: "default" 0.0;
16616                color: 224 224 224 255;
16617                color3: 0 0 0 64;
16618             }
16619          }
16620          part { name: "elm.title.2";
16621             clip_to: "disclip";
16622             type:           TEXT;
16623             effect:         SOFT_SHADOW;
16624             mouse_events:   0;
16625             scale: 1;
16626             description {
16627                state: "default" 0.0;
16628                fixed: 0 1;
16629 //               min: 16 16;
16630                rel1 {
16631                   to_y:     "elm.title.1";
16632                   relative: 0.0  1.0;
16633                   offset:   4 0;
16634                }
16635                rel2 {
16636                   to_y:     "elm.title.1";
16637                   relative: 1.0  1.0;
16638                   offset:   -5 0;
16639                }
16640                color: 0 0 0 255;
16641                color3: 0 0 0 0;
16642                align: 0.0 0.0;
16643                text {
16644                   font: "Sans";
16645                   size: 10;
16646                   min: 0 1;
16647 //                  min: 1 1;
16648                   align: 0.0 0.0;
16649                   text_class: "list_item";
16650                }
16651             }
16652             description { state: "selected" 0.0;
16653                inherit: "default" 0.0;
16654                color: 224 224 224 255;
16655                color3: 0 0 0 64;
16656             }
16657          }
16658          part { name: "elm.text";
16659             clip_to: "disclip";
16660             type:           TEXTBLOCK;
16661             mouse_events:   0;
16662             scale: 1;
16663             description {
16664                state: "default" 0.0;
16665 //               fixed: 0 1;
16666 //               min: 16 16;
16667                rel1 {
16668                   to_y:     "elm.title.2";
16669                   relative: 0.0  1.0;
16670                   offset:   4 0;
16671                }
16672                rel2 {
16673                   relative: 1.0  1.0;
16674                   offset:   -5 -5;
16675                }
16676                align: 0.0 0.0;
16677                text {
16678                   style: "genlist_textblock_style";
16679                   min: 0 1;
16680 //                  min: 1 1;
16681                   align: 0.0 0.0;
16682                }
16683             }
16684             description { state: "selected" 0.0;
16685                inherit: "default" 0.0;
16686                text {
16687                   style: "genlist_textblock_style2";
16688                }
16689             }
16690          }
16691          part { name: "fg1";
16692             clip_to: "disclip";
16693             mouse_events: 0;
16694             description { state: "default" 0.0;
16695                visible: 0;
16696                color: 255 255 255 0;
16697                rel1.to: "bg";
16698                rel2.relative: 1.0 0.5;
16699                rel2.to: "bg";
16700                image {
16701                   normal: "bt_sm_hilight.png";
16702                   border: 6 6 6 0;
16703                }
16704             }
16705             description { state: "selected" 0.0;
16706                inherit: "default" 0.0;
16707                visible: 1;
16708                color: 255 255 255 255;
16709             }
16710          }
16711          part { name: "fg2";
16712             clip_to: "disclip";
16713             mouse_events: 0;
16714             description { state: "default" 0.0;
16715                visible: 0;
16716                color: 255 255 255 0;
16717                rel1.to: "bg";
16718                rel2.to: "bg";
16719                image {
16720                   normal: "bt_sm_shine.png";
16721                   border: 6 6 6 0;
16722                }
16723             }
16724             description { state: "selected" 0.0;
16725                inherit: "default" 0.0;
16726                visible: 1;
16727                color: 255 255 255 255;
16728             }
16729          }
16730          part { name: "disclip";
16731             type: RECT;
16732             description { state: "default" 0.0;
16733                rel1.to: "bg";
16734                rel2.to: "bg";
16735             }
16736             description { state: "disabled" 0.0;
16737                inherit: "default" 0.0;
16738                color: 255 255 255 64;
16739             }
16740          }
16741       }
16742       programs {
16743          // signal: elm,state,%s,active
16744          //   a "check" item named %s went active
16745          // signal: elm,state,%s,passive
16746          //   a "check" item named %s went passive
16747          // default is passive
16748          program {
16749             name:    "odd";
16750             signal:  "elm,state,odd";
16751             source:  "elm";
16752             action:  STATE_SET "default" 1.0;
16753             target:  "base_sh";
16754             target:  "base";
16755          }
16756          program {
16757             name:    "even";
16758             signal:  "elm,state,even";
16759             source:  "elm";
16760             action:  STATE_SET "default" 0.0;
16761             target:  "base_sh";
16762             target:  "base";
16763          }
16764          program {
16765             name:    "go_active";
16766             signal:  "elm,state,selected";
16767             source:  "elm";
16768             action:  STATE_SET "selected" 0.0;
16769             target:  "bg";
16770             target:  "fg1";
16771             target:  "fg2";
16772             target:  "elm.title.1";
16773             target:  "elm.title.2";
16774             target:  "elm.text";
16775          }
16776          program {
16777             name:    "go_passive";
16778             signal:  "elm,state,unselected";
16779             source:  "elm";
16780             action:  STATE_SET "default" 0.0;
16781             target:  "bg";
16782             target:  "fg1";
16783             target:  "fg2";
16784             target:  "elm.title.1";
16785             target:  "elm.title.2";
16786             target:  "elm.text";
16787             transition: LINEAR 0.1;
16788          }
16789          program {
16790             name:    "go_disabled";
16791             signal:  "elm,state,disabled";
16792             source:  "elm";
16793             action:  STATE_SET "disabled" 0.0;
16794             target:  "disclip";
16795          }
16796          program {
16797             name:    "go_enabled";
16798             signal:  "elm,state,enabled";
16799             source:  "elm";
16800             action:  STATE_SET "default" 0.0;
16801             target:  "disclip";
16802          }
16803       }
16804    }
16805
16806    group { name: "elm/genlist/item_compress/default/default";
16807       data.item: "selectraise" "on";
16808       data.item: "labels" "elm.text";
16809       data.item: "icons" "elm.swallow.icon elm.swallow.end";
16810       data.item: "treesize" "20";
16811 //      data.item: "states" "";
16812       images {
16813          image: "bt_sm_base1.png" COMP;
16814          image: "bt_sm_shine.png" COMP;
16815          image: "bt_sm_hilight.png" COMP;
16816          image: "ilist_1.png" COMP;
16817          image: "ilist_2.png" COMP;
16818          image: "ilist_item_shadow.png" COMP;
16819       }
16820       parts {
16821          part {
16822             name:           "event";
16823             type:           RECT;
16824             repeat_events: 1;
16825             description {
16826                state: "default" 0.0;
16827                color: 0 0 0 0;
16828             }
16829          }
16830          part {
16831             name: "base_sh";
16832             mouse_events: 0;
16833             description {
16834                state: "default" 0.0;
16835                align: 0.0 0.0;
16836                min: 0 10;
16837                fixed: 1 1;
16838                rel1 {
16839                   to: "base";
16840                   relative: 0.0 1.0;
16841                   offset: 0 0;
16842                }
16843                rel2 {
16844                   to: "base";
16845                   relative: 1.0 1.0;
16846                   offset: -1 0;
16847                }
16848                image {
16849                   normal: "ilist_item_shadow.png";
16850                }
16851                fill.smooth: 0;
16852             }
16853             description {
16854                state: "default" 1.0;
16855                inherit: "default" 0.0;
16856                visible: 0;
16857             }
16858          }
16859          part {
16860             name: "base";
16861             mouse_events: 0;
16862             description {
16863                state: "default" 0.0;
16864                image {
16865                   normal: "ilist_1.png";
16866                   border: 2 2 2 2;
16867                }
16868                fill.smooth: 0;
16869             }
16870             description {
16871                state: "default" 1.0;
16872                inherit: "default" 0.0;
16873                image.normal: "ilist_2.png";
16874             }
16875          }
16876          part { name: "bg";
16877             clip_to: "disclip";
16878             mouse_events: 0;
16879             description { state: "default" 0.0;
16880                visible: 0;
16881                color: 255 255 255 0;
16882                rel1 {
16883                   relative: 0.0 0.0;
16884                   offset: -5 -5;
16885                }
16886                rel2 {
16887                   relative: 1.0 1.0;
16888                   offset: 4 4;
16889                }
16890                image {
16891                   normal: "bt_sm_base1.png";
16892                   border: 6 6 6 6;
16893                }
16894                image.middle: SOLID;
16895             }
16896             description { state: "selected" 0.0;
16897                inherit: "default" 0.0;
16898                visible: 1;
16899                color: 255 255 255 255;
16900                rel1 {
16901                   relative: 0.0 0.0;
16902                   offset: -2 -2;
16903                }
16904                rel2 {
16905                   relative: 1.0 1.0;
16906                   offset: 1 1;
16907                }
16908             }
16909          }
16910          part { name: "elm.swallow.pad";
16911             type: SWALLOW;
16912             description { state: "default" 0.0;
16913                fixed: 1 0;
16914                align: 0.0 0.5;
16915                rel1 {
16916                   relative: 0.0  0.0;
16917                   offset:   4    4;
16918                }
16919                rel2 {
16920                   relative: 0.0  1.0;
16921                   offset:   4   -5;
16922                }
16923             }
16924          }
16925          part { name: "elm.swallow.icon";
16926             clip_to: "disclip";
16927             type: SWALLOW;
16928             description { state: "default" 0.0;
16929                fixed: 1 0;
16930                align: 0.0 0.5;
16931                rel1 {
16932                   to_x: "elm.swallow.pad";
16933                   relative: 1.0  0.0;
16934                   offset:   -1    4;
16935                }
16936                rel2 {
16937                   to_x: "elm.swallow.pad";
16938                   relative: 1.0  1.0;
16939                   offset:   -1   -5;
16940                }
16941             }
16942          }
16943          part { name: "elm.swallow.end";
16944             clip_to: "disclip";
16945             type: SWALLOW;
16946             description { state: "default" 0.0;
16947                fixed: 1 0;
16948                align: 1.0 0.5;
16949                aspect: 1.0 1.0;
16950                aspect_preference: VERTICAL;
16951                rel1 {
16952                   relative: 1.0  0.0;
16953                   offset:   -5    4;
16954                }
16955                rel2 {
16956                   relative: 1.0  1.0;
16957                   offset:   -5   -5;
16958                }
16959             }
16960          }
16961          part { name: "elm.text";
16962             clip_to: "disclip";
16963             type:           TEXT;
16964             effect:         SOFT_SHADOW;
16965             mouse_events:   0;
16966             scale: 1;
16967             description {
16968                state: "default" 0.0;
16969 //               min: 16 16;
16970                rel1 {
16971                   to_x:     "elm.swallow.icon";
16972                   relative: 1.0  0.0;
16973                   offset:   0 4;
16974                }
16975                rel2 {
16976                   to_x:     "elm.swallow.end";
16977                   relative: 0.0  1.0;
16978                   offset:   -1 -5;
16979                }
16980                color: 0 0 0 255;
16981                color3: 0 0 0 0;
16982                text {
16983                   font: "Sans";
16984                   size: 10;
16985                   min: 0 1;
16986 //                  min: 1 1;
16987                   align: 0.0 0.5;
16988                   text_class: "list_item";
16989                }
16990             }
16991             description { state: "selected" 0.0;
16992                inherit: "default" 0.0;
16993                color: 224 224 224 255;
16994                color3: 0 0 0 64;
16995             }
16996          }
16997          part { name: "fg1";
16998             clip_to: "disclip";
16999             mouse_events: 0;
17000             description { state: "default" 0.0;
17001                visible: 0;
17002                color: 255 255 255 0;
17003                rel1.to: "bg";
17004                rel2.relative: 1.0 0.5;
17005                rel2.to: "bg";
17006                image {
17007                   normal: "bt_sm_hilight.png";
17008                   border: 6 6 6 0;
17009                }
17010             }
17011             description { state: "selected" 0.0;
17012                inherit: "default" 0.0;
17013                visible: 1;
17014                color: 255 255 255 255;
17015             }
17016          }
17017          part { name: "fg2";
17018             clip_to: "disclip";
17019             mouse_events: 0;
17020             description { state: "default" 0.0;
17021                visible: 0;
17022                color: 255 255 255 0;
17023                rel1.to: "bg";
17024                rel2.to: "bg";
17025                image {
17026                   normal: "bt_sm_shine.png";
17027                   border: 6 6 6 0;
17028                }
17029             }
17030             description { state: "selected" 0.0;
17031                inherit: "default" 0.0;
17032                visible: 1;
17033                color: 255 255 255 255;
17034             }
17035          }
17036          part { name: "disclip";
17037             type: RECT;
17038             description { state: "default" 0.0;
17039                rel1.to: "bg";
17040                rel2.to: "bg";
17041             }
17042             description { state: "disabled" 0.0;
17043                inherit: "default" 0.0;
17044                color: 255 255 255 64;
17045             }
17046          }
17047       }
17048       programs {
17049          // signal: elm,state,%s,active
17050          //   a "check" item named %s went active
17051          // signal: elm,state,%s,passive
17052          //   a "check" item named %s went passive
17053          // default is passive
17054          program {
17055             name:    "odd";
17056             signal:  "elm,state,odd";
17057             source:  "elm";
17058             action:  STATE_SET "default" 1.0;
17059             target:  "base_sh";
17060             target:  "base";
17061          }
17062          program {
17063             name:    "even";
17064             signal:  "elm,state,even";
17065             source:  "elm";
17066             action:  STATE_SET "default" 0.0;
17067             target:  "base_sh";
17068             target:  "base";
17069          }
17070          program {
17071             name:    "go_active";
17072             signal:  "elm,state,selected";
17073             source:  "elm";
17074             action:  STATE_SET "selected" 0.0;
17075             target:  "bg";
17076             target:  "fg1";
17077             target:  "fg2";
17078             target:  "elm.text";
17079          }
17080          program {
17081             name:    "go_passive";
17082             signal:  "elm,state,unselected";
17083             source:  "elm";
17084             action:  STATE_SET "default" 0.0;
17085             target:  "bg";
17086             target:  "fg1";
17087             target:  "fg2";
17088             target:  "elm.text";
17089             transition: LINEAR 0.1;
17090          }
17091          program {
17092             name:    "go_disabled";
17093             signal:  "elm,state,disabled";
17094             source:  "elm";
17095             action:  STATE_SET "disabled" 0.0;
17096             target:  "disclip";
17097          }
17098          program {
17099             name:    "go_enabled";
17100             signal:  "elm,state,enabled";
17101             source:  "elm";
17102             action:  STATE_SET "default" 0.0;
17103             target:  "disclip";
17104          }
17105       }
17106    }
17107
17108    group { name: "elm/genlist/tree/default/default";
17109       data.item: "selectraise" "on";
17110       data.item: "labels" "elm.text";
17111       data.item: "icons" "elm.swallow.icon elm.swallow.end";
17112       data.item: "treesize" "20";
17113 //      data.item: "states" "";
17114       images {
17115          image: "bt_sm_base1.png" COMP;
17116          image: "bt_sm_shine.png" COMP;
17117          image: "bt_sm_hilight.png" COMP;
17118          image: "ilist_1.png" COMP;
17119          image: "ilist_2.png" COMP;
17120          image: "ilist_item_shadow.png" COMP;
17121          image: "icon_arrow_left.png" COMP;
17122          image: "icon_arrow_right.png" COMP;
17123          image: "icon_arrow_down.png" COMP;
17124       }
17125       parts {
17126          part {
17127             name:           "event";
17128             type:           RECT;
17129             repeat_events: 1;
17130             description {
17131                state: "default" 0.0;
17132                color: 0 0 0 0;
17133             }
17134          }
17135          part {
17136             name: "base_sh";
17137             mouse_events: 0;
17138             description {
17139                state: "default" 0.0;
17140                align: 0.0 0.0;
17141                min: 0 10;
17142                fixed: 1 1;
17143                rel1 {
17144                   to: "base";
17145                   relative: 0.0 1.0;
17146                   offset: 0 0;
17147                }
17148                rel2 {
17149                   to: "base";
17150                   relative: 1.0 1.0;
17151                   offset: -1 0;
17152                }
17153                image {
17154                   normal: "ilist_item_shadow.png";
17155                }
17156                fill.smooth: 0;
17157             }
17158             description {
17159                state: "default" 1.0;
17160                inherit: "default" 0.0;
17161                visible: 0;
17162             }
17163          }
17164          part {
17165             name: "base";
17166             mouse_events: 0;
17167             description {
17168                state: "default" 0.0;
17169                image {
17170                   normal: "ilist_1.png";
17171                   border: 2 2 2 2;
17172                }
17173                fill.smooth: 0;
17174             }
17175             description {
17176                state: "default" 1.0;
17177                inherit: "default" 0.0;
17178                image.normal: "ilist_2.png";
17179             }
17180          }
17181          part { name: "bg";
17182             clip_to: "disclip";
17183             mouse_events: 0;
17184             description { state: "default" 0.0;
17185                visible: 0;
17186                color: 255 255 255 0;
17187                rel1 {
17188                   relative: 0.0 0.0;
17189                   offset: -5 -5;
17190                }
17191                rel2 {
17192                   relative: 1.0 1.0;
17193                   offset: 4 4;
17194                }
17195                image {
17196                   normal: "bt_sm_base1.png";
17197                   border: 6 6 6 6;
17198                }
17199                image.middle: SOLID;
17200             }
17201             description { state: "selected" 0.0;
17202                inherit: "default" 0.0;
17203                visible: 1;
17204                color: 255 255 255 255;
17205                rel1 {
17206                   relative: 0.0 0.0;
17207                   offset: -2 -2;
17208                }
17209                rel2 {
17210                   relative: 1.0 1.0;
17211                   offset: 1 1;
17212                }
17213             }
17214          }
17215          part { name: "elm.swallow.pad";
17216             type: SWALLOW;
17217             description { state: "default" 0.0;
17218                fixed: 1 0;
17219                align: 0.0 0.5;
17220                rel1 {
17221                   relative: 0.0  0.0;
17222                   offset:   4    4;
17223                }
17224                rel2 {
17225                   relative: 0.0  1.0;
17226                   offset:   4   -5;
17227                }
17228             }
17229          }
17230          part { name: "arrow";
17231             clip_to: "disclip";
17232             ignore_flags: ON_HOLD;
17233             description { state: "default" 0.0;
17234                fixed: 1 0;
17235                align: 0.0 0.5;
17236                aspect: 1.0 1.0;
17237                rel1 {
17238                   to_x: "elm.swallow.pad";
17239                   relative: 1.0  0.0;
17240                   offset:   -1    4;
17241                }
17242                rel2 {
17243                   to_x: "elm.swallow.pad";
17244                   relative: 1.0  1.0;
17245                   offset:   -1   -5;
17246                }
17247                image.normal: "icon_arrow_right.png";
17248             }
17249             description { state: "default" 0.1;
17250                inherit: "default" 0.0;
17251                image.normal: "icon_arrow_left.png";
17252             }
17253             description { state: "active" 0.0;
17254                inherit: "default" 0.0;
17255                image.normal: "icon_arrow_down.png";
17256             }
17257             description { state: "active" 0.1;
17258                inherit: "default" 0.0;
17259                image.normal: "icon_arrow_down.png";
17260             }
17261          }
17262          part { name: "elm.swallow.icon";
17263             clip_to: "disclip";
17264             type: SWALLOW;
17265             description { state: "default" 0.0;
17266                fixed: 1 0;
17267                align: 0.0 0.5;
17268                rel1 {
17269                   to_x: "arrow";
17270                   relative: 1.0  0.0;
17271                   offset:   4    4;
17272                }
17273                rel2 {
17274                   to_x: "arrow";
17275                   relative: 1.0  1.0;
17276                   offset:   4   -5;
17277                }
17278             }
17279          }
17280          part { name: "elm.swallow.end";
17281             clip_to: "disclip";
17282             type: SWALLOW;
17283             description { state: "default" 0.0;
17284                fixed: 1 0;
17285                align: 1.0 0.5;
17286                aspect: 1.0 1.0;
17287                aspect_preference: VERTICAL;
17288                rel1 {
17289                   relative: 1.0  0.0;
17290                   offset:   -5    4;
17291                }
17292                rel2 {
17293                   relative: 1.0  1.0;
17294                   offset:   -5   -5;
17295                }
17296             }
17297          }
17298          part { name: "elm.text";
17299             clip_to: "disclip";
17300             type:           TEXT;
17301             effect:         SOFT_SHADOW;
17302             mouse_events:   0;
17303             scale: 1;
17304             description {
17305                state: "default" 0.0;
17306 //               min: 16 16;
17307                rel1 {
17308                   to_x:     "elm.swallow.icon";
17309                   relative: 1.0  0.0;
17310                   offset:   0 4;
17311                }
17312                rel2 {
17313                   to_x:     "elm.swallow.end";
17314                   relative: 0.0  1.0;
17315                   offset:   -1 -5;
17316                }
17317                color: 0 0 0 255;
17318                color3: 0 0 0 0;
17319                text {
17320                   font: "Sans";
17321                   size: 10;
17322                   min: 1 1;
17323 //                  min: 0 1;
17324                   align: -1.0 0.5;
17325                   text_class: "list_item";
17326                }
17327             }
17328             description { state: "selected" 0.0;
17329                inherit: "default" 0.0;
17330                color: 224 224 224 255;
17331                color3: 0 0 0 64;
17332             }
17333          }
17334          part { name: "fg1";
17335             clip_to: "disclip";
17336             mouse_events: 0;
17337             description { state: "default" 0.0;
17338                visible: 0;
17339                color: 255 255 255 0;
17340                rel1.to: "bg";
17341                rel2.relative: 1.0 0.5;
17342                rel2.to: "bg";
17343                image {
17344                   normal: "bt_sm_hilight.png";
17345                   border: 6 6 6 0;
17346                }
17347             }
17348             description { state: "selected" 0.0;
17349                inherit: "default" 0.0;
17350                visible: 1;
17351                color: 255 255 255 255;
17352             }
17353          }
17354          part { name: "fg2";
17355             clip_to: "disclip";
17356             mouse_events: 0;
17357             description { state: "default" 0.0;
17358                visible: 0;
17359                color: 255 255 255 0;
17360                rel1.to: "bg";
17361                rel2.to: "bg";
17362                image {
17363                   normal: "bt_sm_shine.png";
17364                   border: 6 6 6 0;
17365                }
17366             }
17367             description { state: "selected" 0.0;
17368                inherit: "default" 0.0;
17369                visible: 1;
17370                color: 255 255 255 255;
17371             }
17372          }
17373          part { name: "disclip";
17374             type: RECT;
17375             description { state: "default" 0.0;
17376                rel1.to: "bg";
17377                rel2.to: "bg";
17378             }
17379             description { state: "disabled" 0.0;
17380                inherit: "default" 0.0;
17381                color: 255 255 255 64;
17382             }
17383          }
17384       }
17385       programs {
17386          // signal: elm,state,%s,active
17387          //   a "check" item named %s went active
17388          // signal: elm,state,%s,passive
17389          //   a "check" item named %s went passive
17390          // default is passive
17391          program {
17392             name:    "odd";
17393             signal:  "elm,state,odd";
17394             source:  "elm";
17395             action:  STATE_SET "default" 1.0;
17396             target:  "base_sh";
17397             target:  "base";
17398          }
17399          program {
17400             name:    "even";
17401             signal:  "elm,state,even";
17402             source:  "elm";
17403             action:  STATE_SET "default" 0.0;
17404             target:  "base_sh";
17405             target:  "base";
17406          }
17407          program {
17408             name:    "go_active";
17409             signal:  "elm,state,selected";
17410             source:  "elm";
17411             action:  STATE_SET "selected" 0.0;
17412             target:  "bg";
17413             target:  "fg1";
17414             target:  "fg2";
17415             target:  "elm.text";
17416          }
17417          program {
17418             name:    "go_passive";
17419             signal:  "elm,state,unselected";
17420             source:  "elm";
17421             action:  STATE_SET "default" 0.0;
17422             target:  "bg";
17423             target:  "fg1";
17424             target:  "fg2";
17425             target:  "elm.text";
17426             transition: LINEAR 0.1;
17427          }
17428          program {
17429             name:    "go_disabled";
17430             signal:  "elm,state,disabled";
17431             source:  "elm";
17432             action:  STATE_SET "disabled" 0.0;
17433             target:  "disclip";
17434          }
17435          program {
17436             name:    "go_enabled";
17437             signal:  "elm,state,enabled";
17438             source:  "elm";
17439             action:  STATE_SET "default" 0.0;
17440             target:  "disclip";
17441          }
17442          program {
17443             name:    "expand";
17444             signal:  "mouse,up,1";
17445             source:  "arrow";
17446             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
17447          }
17448          program {
17449             name:    "go_expanded";
17450             signal:  "elm,state,expanded";
17451             source:  "elm";
17452             script {
17453                new st[31];
17454                new Float:vl;
17455                get_state(PART:"arrow", st, 30, vl);
17456                set_state(PART:"arrow", "active", vl);
17457             }
17458          }
17459          program {
17460             name:    "go_contracted";
17461             signal:  "elm,state,contracted";
17462             source:  "elm";
17463             script {
17464                new st[31];
17465                new Float:vl;
17466                get_state(PART:"arrow", st, 30, vl);
17467                set_state(PART:"arrow", "default", vl);
17468             }
17469          }
17470          program { name: "to_rtl";
17471             signal: "edje,state,rtl";
17472             source: "edje";
17473             script {
17474                new st[31];
17475                new Float:vl;
17476                get_state(PART:"arrow", st, 30, vl);
17477                if (vl == 0.0) {
17478                   set_state(PART:"arrow", st, 0.1);
17479                }
17480             }
17481          }
17482          program { name: "to_ltr";
17483             signal: "edje,state,ltr";
17484             source: "edje";
17485             script {
17486                new st[31];
17487                new Float:vl;
17488                get_state(PART:"arrow", st, 30, vl);
17489                if (vl == 0.1) {
17490                   set_state(PART:"arrow", st, 0.0);
17491                }
17492             }
17493          }
17494       }
17495    }
17496    group { name: "elm/genlist/tree_compress/default/default";
17497       data.item: "stacking" "above";
17498       data.item: "selectraise" "on";
17499       data.item: "labels" "elm.text";
17500       data.item: "icons" "elm.swallow.icon elm.swallow.end";
17501       data.item: "treesize" "20";
17502 //      data.item: "states" "";
17503       images {
17504          image: "bt_sm_base1.png" COMP;
17505          image: "bt_sm_shine.png" COMP;
17506          image: "bt_sm_hilight.png" COMP;
17507          image: "ilist_1.png" COMP;
17508          image: "ilist_item_shadow.png" COMP;
17509          image: "icon_arrow_left.png" COMP;
17510          image: "icon_arrow_right.png" COMP;
17511          image: "icon_arrow_down.png" COMP;
17512       }
17513       parts {
17514          part {
17515             name:           "event";
17516             type:           RECT;
17517             repeat_events: 1;
17518             description {
17519                state: "default" 0.0;
17520                color: 0 0 0 0;
17521             }
17522          }
17523          part {
17524             name: "base_sh";
17525             mouse_events: 0;
17526             description {
17527                state: "default" 0.0;
17528                align: 0.0 0.0;
17529                min: 0 10;
17530                fixed: 1 1;
17531                rel1 {
17532                   to: "base";
17533                   relative: 0.0 1.0;
17534                   offset: 0 0;
17535                }
17536                rel2 {
17537                   to: "base";
17538                   relative: 1.0 1.0;
17539                   offset: -1 0;
17540                }
17541                image {
17542                   normal: "ilist_item_shadow.png";
17543                }
17544                fill.smooth: 0;
17545             }
17546             description {
17547                state: "default" 1.0;
17548                inherit: "default" 0.0;
17549                visible: 0;
17550             }
17551          }
17552          part {
17553             name: "base";
17554             mouse_events: 0;
17555             description {
17556                state: "default" 0.0;
17557                image {
17558                   normal: "ilist_1.png";
17559                   border: 2 2 2 2;
17560                }
17561                fill.smooth: 0;
17562             }
17563             description {
17564                state: "default" 1.0;
17565                inherit: "default" 0.0;
17566                image.normal: "ilist_2.png";
17567             }
17568          }
17569          part { name: "bg";
17570             clip_to: "disclip";
17571             mouse_events: 0;
17572             description { state: "default" 0.0;
17573                visible: 0;
17574                color: 255 255 255 0;
17575                rel1 {
17576                   relative: 0.0 0.0;
17577                   offset: -5 -5;
17578                }
17579                rel2 {
17580                   relative: 1.0 1.0;
17581                   offset: 4 4;
17582                }
17583                image {
17584                   normal: "bt_sm_base1.png";
17585                   border: 6 6 6 6;
17586                }
17587                image.middle: SOLID;
17588             }
17589             description { state: "selected" 0.0;
17590                inherit: "default" 0.0;
17591                visible: 1;
17592                color: 255 255 255 255;
17593                rel1 {
17594                   relative: 0.0 0.0;
17595                   offset: -2 -2;
17596                }
17597                rel2 {
17598                   relative: 1.0 1.0;
17599                   offset: 1 1;
17600                }
17601             }
17602          }
17603          part { name: "elm.swallow.pad";
17604             type: SWALLOW;
17605             description { state: "default" 0.0;
17606                fixed: 1 0;
17607                align: 0.0 0.5;
17608                rel1 {
17609                   relative: 0.0  0.0;
17610                   offset:   4    4;
17611                }
17612                rel2 {
17613                   relative: 0.0  1.0;
17614                   offset:   4   -5;
17615                }
17616             }
17617          }
17618          part { name: "arrow";
17619             clip_to: "disclip";
17620             ignore_flags: ON_HOLD;
17621             description { state: "default" 0.0;
17622                fixed: 1 0;
17623                align: 0.0 0.5;
17624                aspect: 1.0 1.0;
17625                rel1 {
17626                   to_x: "elm.swallow.pad";
17627                   relative: 1.0  0.0;
17628                   offset:   -1    4;
17629                }
17630                rel2 {
17631                   to_x: "elm.swallow.pad";
17632                   relative: 1.0  1.0;
17633                   offset:   -1   -5;
17634                }
17635                image.normal: "icon_arrow_right.png";
17636             }
17637             description { state: "default" 0.1;
17638                inherit: "default" 0.0;
17639                image.normal: "icon_arrow_left.png";
17640             }
17641             description { state: "active" 0.0;
17642                inherit: "default" 0.0;
17643                image.normal: "icon_arrow_down.png";
17644             }
17645             description { state: "active" 0.1;
17646                inherit: "default" 0.0;
17647                image.normal: "icon_arrow_down.png";
17648             }
17649          }
17650          part { name: "elm.swallow.icon";
17651             clip_to: "disclip";
17652             type: SWALLOW;
17653             description { state: "default" 0.0;
17654                fixed: 1 0;
17655                align: 0.0 0.5;
17656                rel1 {
17657                   to_x: "arrow";
17658                   relative: 1.0  0.0;
17659                   offset:   4    4;
17660                }
17661                rel2 {
17662                   to_x: "arrow";
17663                   relative: 1.0  1.0;
17664                   offset:   4   -5;
17665                }
17666             }
17667          }
17668          part { name: "elm.swallow.end";
17669             clip_to: "disclip";
17670             type: SWALLOW;
17671             description { state: "default" 0.0;
17672                fixed: 1 0;
17673                align: 1.0 0.5;
17674                aspect: 1.0 1.0;
17675                aspect_preference: VERTICAL;
17676                rel1 {
17677                   relative: 1.0  0.0;
17678                   offset:   -5    4;
17679                }
17680                rel2 {
17681                   relative: 1.0  1.0;
17682                   offset:   -5   -5;
17683                }
17684             }
17685          }
17686          part { name: "elm.text";
17687             clip_to: "disclip";
17688             type:           TEXT;
17689             effect:         SOFT_SHADOW;
17690             mouse_events:   0;
17691             scale: 1;
17692             description {
17693                state: "default" 0.0;
17694 //               min: 16 16;
17695                rel1 {
17696                   to_x:     "elm.swallow.icon";
17697                   relative: 1.0  0.0;
17698                   offset:   0 4;
17699                }
17700                rel2 {
17701                   to_x:     "elm.swallow.end";
17702                   relative: 0.0  1.0;
17703                   offset:   -1 -5;
17704                }
17705                color: 0 0 0 255;
17706                color3: 0 0 0 0;
17707                text {
17708                   font: "Sans";
17709                   size: 10;
17710 //                  min: 1 1;
17711                   min: 0 1;
17712                   align: 0.0 0.5;
17713                   text_class: "list_item";
17714                }
17715             }
17716             description { state: "selected" 0.0;
17717                inherit: "default" 0.0;
17718                color: 224 224 224 255;
17719                color3: 0 0 0 64;
17720             }
17721          }
17722          part { name: "fg1";
17723             clip_to: "disclip";
17724             mouse_events: 0;
17725             description { state: "default" 0.0;
17726                visible: 0;
17727                color: 255 255 255 0;
17728                rel1.to: "bg";
17729                rel2.relative: 1.0 0.5;
17730                rel2.to: "bg";
17731                image {
17732                   normal: "bt_sm_hilight.png";
17733                   border: 6 6 6 0;
17734                }
17735             }
17736             description { state: "selected" 0.0;
17737                inherit: "default" 0.0;
17738                visible: 1;
17739                color: 255 255 255 255;
17740             }
17741          }
17742          part { name: "fg2";
17743             clip_to: "disclip";
17744             mouse_events: 0;
17745             description { state: "default" 0.0;
17746                visible: 0;
17747                color: 255 255 255 0;
17748                rel1.to: "bg";
17749                rel2.to: "bg";
17750                image {
17751                   normal: "bt_sm_shine.png";
17752                   border: 6 6 6 0;
17753                }
17754             }
17755             description { state: "selected" 0.0;
17756                inherit: "default" 0.0;
17757                visible: 1;
17758                color: 255 255 255 255;
17759             }
17760          }
17761          part { name: "disclip";
17762             type: RECT;
17763             description { state: "default" 0.0;
17764                rel1.to: "bg";
17765                rel2.to: "bg";
17766             }
17767             description { state: "disabled" 0.0;
17768                inherit: "default" 0.0;
17769                color: 255 255 255 64;
17770             }
17771          }
17772       }
17773       programs {
17774          // signal: elm,state,%s,active
17775          //   a "check" item named %s went active
17776          // signal: elm,state,%s,passive
17777          //   a "check" item named %s went passive
17778          // default is passive
17779          program {
17780             name:    "odd";
17781             signal:  "elm,state,odd";
17782             source:  "elm";
17783             action:  STATE_SET "default" 1.0;
17784             target:  "base_sh";
17785             target:  "base";
17786          }
17787          program {
17788             name:    "even";
17789             signal:  "elm,state,even";
17790             source:  "elm";
17791             action:  STATE_SET "default" 0.0;
17792             target:  "base_sh";
17793             target:  "base";
17794          }
17795          program {
17796             name:    "go_active";
17797             signal:  "elm,state,selected";
17798             source:  "elm";
17799             action:  STATE_SET "selected" 0.0;
17800             target:  "bg";
17801             target:  "fg1";
17802             target:  "fg2";
17803             target:  "elm.text";
17804          }
17805          program {
17806             name:    "go_passive";
17807             signal:  "elm,state,unselected";
17808             source:  "elm";
17809             action:  STATE_SET "default" 0.0;
17810             target:  "bg";
17811             target:  "fg1";
17812             target:  "fg2";
17813             target:  "elm.text";
17814             transition: LINEAR 0.1;
17815          }
17816          program {
17817             name:    "go_disabled";
17818             signal:  "elm,state,disabled";
17819             source:  "elm";
17820             action:  STATE_SET "disabled" 0.0;
17821             target:  "disclip";
17822          }
17823          program {
17824             name:    "go_enabled";
17825             signal:  "elm,state,enabled";
17826             source:  "elm";
17827             action:  STATE_SET "default" 0.0;
17828             target:  "disclip";
17829          }
17830          program {
17831             name:    "expand";
17832             signal:  "mouse,up,1";
17833             source:  "arrow";
17834             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
17835          }
17836          program {
17837             name:    "go_expanded";
17838             signal:  "elm,state,expanded";
17839             source:  "elm";
17840             script {
17841                new st[31];
17842                new Float:vl;
17843                get_state(PART:"arrow", st, 30, vl);
17844                set_state(PART:"arrow", "active", vl);
17845             }
17846          }
17847          program {
17848             name:    "go_contracted";
17849             signal:  "elm,state,contracted";
17850             source:  "elm";
17851             script {
17852                new st[31];
17853                new Float:vl;
17854                get_state(PART:"arrow", st, 30, vl);
17855                set_state(PART:"arrow", "default", vl);
17856             }
17857          }
17858          program { name: "to_rtl";
17859             signal: "edje,state,rtl";
17860             source: "edje";
17861             script {
17862                new st[31];
17863                new Float:vl;
17864                get_state(PART:"arrow", st, 30, vl);
17865                if (vl == 0.0) {
17866                   set_state(PART:"arrow", st, 0.1);
17867                }
17868             }
17869          }
17870          program { name: "to_ltr";
17871             signal: "edje,state,ltr";
17872             source: "edje";
17873             script {
17874                new st[31];
17875                new Float:vl;
17876                get_state(PART:"arrow", st, 30, vl);
17877                if (vl == 0.1) {
17878                   set_state(PART:"arrow", st, 0.0);
17879                }
17880             }
17881          }
17882       }
17883    }
17884    group { name: "elm/genlist/item/default_style/default";
17885        styles
17886        {
17887            style { name: "genlist_style";
17888                base: "font=Sans font_size=10 align=left valign=0.5 color=#000 text_class=list_item";
17889                tag:  "br" "\n";
17890                tag:  "ps" "ps";
17891                tag:  "hilight" "+ font=Sans:style=Bold";
17892                tag:  "b" "+ font=Sans:style=Bold";
17893                tag:  "tab" "\t";
17894            }
17895            style { name: "genlist_selected_style";
17896                base: "font=Sans font_size=10 align=left valign=0.5 color=#fff text_class=list_item";
17897                tag:  "br" "\n";
17898                tag:  "ps" "ps";
17899                tag:  "hilight" "+ font=Sans:style=Bold";
17900                tag:  "b" "+ font=Sans:style=Bold";
17901                tag:  "tab" "\t";
17902            }
17903        }
17904        data.item: "stacking" "above";
17905        data.item: "selectraise" "on";
17906        data.item: "labels" "elm.text";
17907        data.item: "icons" "elm.swallow.icon elm.swallow.end";
17908        data.item: "treesize" "20";
17909        images {
17910            image: "bt_sm_base1.png" COMP;
17911            image: "bt_sm_shine.png" COMP;
17912            image: "bt_sm_hilight.png" COMP;
17913            image: "ilist_1.png" COMP;
17914            image: "ilist_item_shadow.png" COMP;
17915        }
17916        parts {
17917            part {
17918                name:           "event";
17919                type:           RECT;
17920                repeat_events: 1;
17921                description {
17922                    state: "default" 0.0;
17923                    color: 0 0 0 0;
17924                }
17925            }
17926            part {
17927                name: "base_sh";
17928                mouse_events: 0;
17929                description {
17930                    state: "default" 0.0;
17931                    align: 0.0 0.0;
17932                    min: 0 10;
17933                    fixed: 1 1;
17934                    rel1 {
17935                        to: "base";
17936                        relative: 0.0 1.0;
17937                        offset: 0 0;
17938                    }
17939                    rel2 {
17940                        to: "base";
17941                        relative: 1.0 1.0;
17942                        offset: -1 0;
17943                    }
17944                    image {
17945                        normal: "ilist_item_shadow.png";
17946                    }
17947                    fill.smooth: 0;
17948                }
17949            }
17950            part {
17951                name: "base";
17952                mouse_events: 0;
17953                description {
17954                    state: "default" 0.0;
17955                    min: 16 28;
17956                    image {
17957                        normal: "ilist_1.png";
17958                        border: 2 2 2 2;
17959                    }
17960                    fill.smooth: 0;
17961                }
17962            }
17963            part { name: "bg";
17964                clip_to: "disclip";
17965                mouse_events: 0;
17966                description { state: "default" 0.0;
17967                    visible: 0;
17968                    color: 255 255 255 0;
17969                    rel1 {
17970                        relative: 0.0 0.0;
17971                        offset: -5 -5;
17972                    }
17973                    rel2 {
17974                        relative: 1.0 1.0;
17975                        offset: 4 4;
17976                    }
17977                    image {
17978                        normal: "bt_sm_base1.png";
17979                        border: 6 6 6 6;
17980                    }
17981                    image.middle: SOLID;
17982                }
17983                description { state: "selected" 0.0;
17984                    inherit: "default" 0.0;
17985                    visible: 1;
17986                    color: 255 255 255 255;
17987                    rel1 {
17988                        relative: 0.0 0.0;
17989                        offset: -2 -2;
17990                    }
17991                    rel2 {
17992                        relative: 1.0 1.0;
17993                        offset: 1 1;
17994                    }
17995                }
17996            }
17997            part { name: "elm.swallow.pad";
17998                type: SWALLOW;
17999                description { state: "default" 0.0;
18000                    fixed: 1 0;
18001                    align: 0.0 0.5;
18002                    rel1 {
18003                        relative: 0.0  0.0;
18004                        offset:   4    4;
18005                    }
18006                    rel2 {
18007                        relative: 0.0  1.0;
18008                        offset:   4   -5;
18009                    }
18010                }
18011            }
18012            part { name: "elm.swallow.icon";
18013                clip_to: "disclip";
18014                type: SWALLOW;
18015                description { state: "default" 0.0;
18016                    fixed: 1 0;
18017                    align: 0.0 0.5;
18018                    rel1 {
18019                        to_x: "elm.swallow.pad";
18020                        relative: 1.0  0.0;
18021                        offset:   -1    4;
18022                    }
18023                    rel2 {
18024                        to_x: "elm.swallow.pad";
18025                        relative: 1.0  1.0;
18026                        offset:   -1   -5;
18027                    }
18028                }
18029            }
18030            part { name: "elm.swallow.end";
18031                clip_to: "disclip";
18032                type: SWALLOW;
18033                description { state: "default" 0.0;
18034                    fixed: 1 0;
18035                    align: 1.0 0.5;
18036                    aspect: 1.0 1.0;
18037                    aspect_preference: VERTICAL;
18038                    rel1 {
18039                        relative: 1.0  0.0;
18040                        offset:   -5    4;
18041                    }
18042                    rel2 {
18043                        relative: 1.0  1.0;
18044                        offset:   -5   -5;
18045                    }
18046                }
18047            }
18048            part { name: "elm.text";
18049                clip_to: "disclip";
18050                type: TEXTBLOCK;
18051                mouse_events: 0;
18052                scale: 1;
18053                description {
18054                    state: "default" 0.0;
18055                    align: 0.0 0.5;
18056                    fixed: 0 1;
18057                    rel1 {
18058                        to_x: "elm.swallow.icon";
18059                        to_y: "base";
18060                        relative: 1.0  0.5;
18061                        offset:   0 4;
18062                    }
18063                    rel2 {
18064                        to_x: "elm.swallow.end";
18065                        to_y: "base";
18066                        relative: 0.0  0.5;
18067                        offset:   -1 -5;
18068                    }
18069                    text {
18070                        style: "genlist_style";
18071                        min: 1 1;
18072                    }
18073                }
18074                description { state: "selected" 0.0;
18075                    inherit: "default" 0.0;
18076                    text {
18077                        style: "genlist_selected_style";
18078                    }
18079                }
18080            }
18081            part { name: "fg1";
18082                clip_to: "disclip";
18083                mouse_events: 0;
18084                description { state: "default" 0.0;
18085                    visible: 0;
18086                    color: 255 255 255 0;
18087                    rel1.to: "bg";
18088                    rel2.relative: 1.0 0.5;
18089                    rel2.to: "bg";
18090                    image {
18091                        normal: "bt_sm_hilight.png";
18092                        border: 6 6 6 0;
18093                    }
18094                }
18095                description { state: "selected" 0.0;
18096                    inherit: "default" 0.0;
18097                    visible: 1;
18098                    color: 255 255 255 255;
18099                }
18100            }
18101            part { name: "fg2";
18102                clip_to: "disclip";
18103                mouse_events: 0;
18104                description { state: "default" 0.0;
18105                    visible: 0;
18106                    color: 255 255 255 0;
18107                    rel1.to: "bg";
18108                    rel2.to: "bg";
18109                    image {
18110                        normal: "bt_sm_shine.png";
18111                        border: 6 6 6 0;
18112                    }
18113                }
18114                description { state: "selected" 0.0;
18115                    inherit: "default" 0.0;
18116                    visible: 1;
18117                    color: 255 255 255 255;
18118                }
18119            }
18120            part { name: "disclip";
18121                type: RECT;
18122                description { state: "default" 0.0;
18123                    rel1.to: "bg";
18124                    rel2.to: "bg";
18125                }
18126                description { state: "disabled" 0.0;
18127                    inherit: "default" 0.0;
18128                    color: 255 255 255 64;
18129                }
18130            }
18131        }
18132        programs {
18133            // signal: elm,state,%s,active
18134            //   a "check" item named %s went active
18135            // signal: elm,state,%s,passive
18136            //   a "check" item named %s went passive
18137            // default is passive
18138            program {
18139                name:    "go_active";
18140                signal:  "elm,state,selected";
18141                source:  "elm";
18142                action:  STATE_SET "selected" 0.0;
18143                target:  "bg";
18144                target:  "fg1";
18145                target:  "fg2";
18146                target:  "elm.text";
18147            }
18148            program {
18149                name:    "go_passive";
18150                signal:  "elm,state,unselected";
18151                source:  "elm";
18152                action:  STATE_SET "default" 0.0;
18153                target:  "bg";
18154                target:  "fg1";
18155                target:  "fg2";
18156                target:  "elm.text";
18157                transition: LINEAR 0.1;
18158            }
18159            program {
18160                name:    "go_disabled";
18161                signal:  "elm,state,disabled";
18162                source:  "elm";
18163                action:  STATE_SET "disabled" 0.0;
18164                target:  "disclip";
18165            }
18166            program {
18167                name:    "go_enabled";
18168                signal:  "elm,state,enabled";
18169                source:  "elm";
18170                action:  STATE_SET "default" 0.0;
18171                target:  "disclip";
18172            }
18173        }
18174    }
18175    group { name: "elm/genlist/item_odd/default_style/default";
18176        data.item: "stacking" "below";
18177        data.item: "selectraise" "on";
18178        data.item: "labels" "elm.text";
18179        data.item: "icons" "elm.swallow.icon elm.swallow.end";
18180        data.item: "treesize" "20";
18181        images {
18182            image: "bt_sm_base1.png" COMP;
18183            image: "bt_sm_shine.png" COMP;
18184            image: "bt_sm_hilight.png" COMP;
18185            image: "ilist_2.png" COMP;
18186        }
18187        parts {
18188            part { name: "event";
18189                type: RECT;
18190                repeat_events: 1;
18191                description {
18192                    state: "default" 0.0;
18193                    color: 0 0 0 0;
18194                }
18195            }
18196            part {
18197                name: "base";
18198                mouse_events: 0;
18199                description {
18200                    state: "default" 0.0;
18201                    min: 16 28;
18202                    image {
18203                        normal: "ilist_2.png";
18204                        border: 2 2 2 2;
18205                    }
18206                    fill.smooth: 0;
18207                }
18208            }
18209            part { name: "bg";
18210                clip_to: "disclip";
18211                mouse_events: 0;
18212                description { state: "default" 0.0;
18213                    visible: 0;
18214                    color: 255 255 255 0;
18215                    rel1 {
18216                        relative: 0.0 0.0;
18217                        offset: -5 -5;
18218                    }
18219                    rel2 {
18220                        relative: 1.0 1.0;
18221                        offset: 4 4;
18222                    }
18223                    image {
18224                        normal: "bt_sm_base1.png";
18225                        border: 6 6 6 6;
18226                    }
18227                    image.middle: SOLID;
18228                }
18229                description { state: "selected" 0.0;
18230                    inherit: "default" 0.0;
18231                    visible: 1;
18232                    color: 255 255 255 255;
18233                    rel1 {
18234                        relative: 0.0 0.0;
18235                        offset: -2 -2;
18236                    }
18237                    rel2 {
18238                        relative: 1.0 1.0;
18239                        offset: 1 1;
18240                    }
18241                }
18242            }
18243            part { name: "elm.swallow.pad";
18244                type: SWALLOW;
18245                description { state: "default" 0.0;
18246                    fixed: 1 0;
18247                    align: 0.0 0.5;
18248                    rel1 {
18249                        relative: 0.0  0.0;
18250                        offset:   4    4;
18251                    }
18252                    rel2 {
18253                        relative: 0.0  1.0;
18254                        offset:   4   -5;
18255                    }
18256                }
18257            }
18258            part { name: "elm.swallow.icon";
18259                clip_to: "disclip";
18260                type: SWALLOW;
18261                description { state: "default" 0.0;
18262                    fixed: 1 0;
18263                    align: 0.0 0.5;
18264                    rel1 {
18265                        to_x: "elm.swallow.pad";
18266                        relative: 1.0  0.0;
18267                        offset:   -1    4;
18268                    }
18269                    rel2 {
18270                        to_x: "elm.swallow.pad";
18271                        relative: 1.0  1.0;
18272                        offset:   -1   -5;
18273                    }
18274                }
18275            }
18276            part { name: "elm.swallow.end";
18277                clip_to: "disclip";
18278                type:          SWALLOW;
18279                description { state:    "default" 0.0;
18280                    fixed: 1 0;
18281                    align:    1.0 0.5;
18282                    aspect: 1.0 1.0;
18283                    aspect_preference: VERTICAL;
18284                    rel1 {
18285                        relative: 1.0  0.0;
18286                        offset:   -5    4;
18287                    }
18288                    rel2 {
18289                        relative: 1.0  1.0;
18290                        offset:   -5   -5;
18291                    }
18292                }
18293            }
18294            part { name: "elm.text";
18295                clip_to: "disclip";
18296                type:           TEXTBLOCK;
18297                mouse_events:   0;
18298                scale: 1;
18299                description {
18300                    state: "default" 0.0;
18301                    align: 0.0 0.5;
18302                    fixed: 0 1;
18303                    rel1 {
18304                        to_x: "elm.swallow.icon";
18305                        to_y: "base";
18306                        relative: 1.0  0.5;
18307                        offset:   0 4;
18308                    }
18309                    rel2 {
18310                        to_x: "elm.swallow.end";
18311                        to_y: "base";
18312                        relative: 0.0  0.5;
18313                        offset:   -1 -5;
18314                    }
18315                    text {
18316                        style: "genlist_style";
18317                        min: 1 1;
18318                    }
18319                }
18320                description { state: "selected" 0.0;
18321                    inherit: "default" 0.0;
18322                    text {
18323                        style: "genlist_selected_style";
18324                    }
18325                }
18326            }
18327            part { name: "fg1";
18328                clip_to: "disclip";
18329                mouse_events: 0;
18330                description { state: "default" 0.0;
18331                    visible: 0;
18332                    color: 255 255 255 0;
18333                    rel1.to: "bg";
18334                    rel2.relative: 1.0 0.5;
18335                    rel2.to: "bg";
18336                    image {
18337                        normal: "bt_sm_hilight.png";
18338                        border: 6 6 6 0;
18339                    }
18340                }
18341                description { state: "selected" 0.0;
18342                    inherit: "default" 0.0;
18343                    visible: 1;
18344                    color: 255 255 255 255;
18345                }
18346            }
18347            part { name: "fg2";
18348                clip_to: "disclip";
18349                mouse_events: 0;
18350                description { state: "default" 0.0;
18351                    visible: 0;
18352                    color: 255 255 255 0;
18353                    rel1.to: "bg";
18354                    rel2.to: "bg";
18355                    image {
18356                        normal: "bt_sm_shine.png";
18357                        border: 6 6 6 0;
18358                    }
18359                }
18360                description { state: "selected" 0.0;
18361                    inherit: "default" 0.0;
18362                    visible: 1;
18363                    color: 255 255 255 255;
18364                }
18365            }
18366            part { name: "disclip";
18367                type: RECT;
18368                description { state: "default" 0.0;
18369                    rel1.to: "bg";
18370                    rel2.to: "bg";
18371                }
18372                description { state: "disabled" 0.0;
18373                    inherit: "default" 0.0;
18374                    color: 255 255 255 64;
18375                }
18376            }
18377        }
18378        programs {
18379            // signal: elm,state,%s,active
18380            //   a "check" item named %s went active
18381            // signal: elm,state,%s,passive
18382            //   a "check" item named %s went passive
18383            // default is passive
18384            program {
18385                name:    "go_active";
18386                signal:  "elm,state,selected";
18387                source:  "elm";
18388                action:  STATE_SET "selected" 0.0;
18389                target:  "bg";
18390                target:  "fg1";
18391                target:  "fg2";
18392                target:  "elm.text";
18393            }
18394            program {
18395                name:    "go_passive";
18396                signal:  "elm,state,unselected";
18397                source:  "elm";
18398                action:  STATE_SET "default" 0.0;
18399                target:  "bg";
18400                target:  "fg1";
18401                target:  "fg2";
18402                target:  "elm.text";
18403                transition: LINEAR 0.1;
18404            }
18405            program {
18406                name:    "go_disabled";
18407                signal:  "elm,state,disabled";
18408                source:  "elm";
18409                action:  STATE_SET "disabled" 0.0;
18410                target:  "disclip";
18411            }
18412            program {
18413                name:    "go_enabled";
18414                signal:  "elm,state,enabled";
18415                source:  "elm";
18416                action:  STATE_SET "default" 0.0;
18417                target:  "disclip";
18418            }
18419        }
18420    }
18421
18422    group { name: "elm/genlist/tree/default_style/default";
18423        data.item: "stacking" "above";
18424        data.item: "selectraise" "on";
18425        data.item: "labels" "elm.text";
18426        data.item: "icons" "elm.swallow.icon elm.swallow.end";
18427        data.item: "treesize" "20";
18428        images {
18429            image: "bt_sm_base1.png" COMP;
18430            image: "bt_sm_shine.png" COMP;
18431            image: "bt_sm_hilight.png" COMP;
18432            image: "ilist_1.png" COMP;
18433            image: "ilist_item_shadow.png" COMP;
18434            image: "icon_arrow_right.png" COMP;
18435            image: "icon_arrow_down.png" COMP;
18436        }
18437        parts {
18438            part {
18439                name:           "event";
18440                type:           RECT;
18441                repeat_events: 1;
18442                description {
18443                    state: "default" 0.0;
18444                    color: 0 0 0 0;
18445                }
18446            }
18447            part {
18448                name: "base_sh";
18449                mouse_events: 0;
18450                description {
18451                    state: "default" 0.0;
18452                    align: 0.0 0.0;
18453                    min: 0 10;
18454                    fixed: 1 1;
18455                    rel1 {
18456                        to: "base";
18457                        relative: 0.0 1.0;
18458                        offset: 0 0;
18459                    }
18460                    rel2 {
18461                        to: "base";
18462                        relative: 1.0 1.0;
18463                        offset: -1 0;
18464                    }
18465                    image {
18466                        normal: "ilist_item_shadow.png";
18467                    }
18468                    fill.smooth: 0;
18469                }
18470            }
18471            part {
18472                name: "base";
18473                mouse_events: 0;
18474                description {
18475                    state: "default" 0.0;
18476                    min: 16 28;
18477                    image {
18478                        normal: "ilist_1.png";
18479                        border: 2 2 2 2;
18480                    }
18481                    fill.smooth: 0;
18482                }
18483            }
18484            part { name: "bg";
18485                clip_to: "disclip";
18486                mouse_events: 0;
18487                description { state: "default" 0.0;
18488                    visible: 0;
18489                    color: 255 255 255 0;
18490                    rel1 {
18491                        relative: 0.0 0.0;
18492                        offset: -5 -5;
18493                    }
18494                    rel2 {
18495                        relative: 1.0 1.0;
18496                        offset: 4 4;
18497                    }
18498                    image {
18499                        normal: "bt_sm_base1.png";
18500                        border: 6 6 6 6;
18501                    }
18502                    image.middle: SOLID;
18503                }
18504                description { state: "selected" 0.0;
18505                    inherit: "default" 0.0;
18506                    visible: 1;
18507                    color: 255 255 255 255;
18508                    rel1 {
18509                        relative: 0.0 0.0;
18510                        offset: -2 -2;
18511                    }
18512                    rel2 {
18513                        relative: 1.0 1.0;
18514                        offset: 1 1;
18515                    }
18516                }
18517            }
18518            part { name: "elm.swallow.pad";
18519                type: SWALLOW;
18520                description { state: "default" 0.0;
18521                    fixed: 1 0;
18522                    align: 0.0 0.5;
18523                    rel1 {
18524                        relative: 0.0  0.0;
18525                        offset:   4    4;
18526                    }
18527                    rel2 {
18528                        relative: 0.0  1.0;
18529                        offset:   4   -5;
18530                    }
18531                }
18532            }
18533            part { name: "arrow";
18534                clip_to: "disclip";
18535                ignore_flags: ON_HOLD;
18536                description { state: "default" 0.0;
18537                    fixed: 1 0;
18538                    align: 0.0 0.5;
18539                    aspect: 1.0 1.0;
18540                    rel1 {
18541                        to_x: "elm.swallow.pad";
18542                        relative: 1.0  0.0;
18543                        offset:   -1    4;
18544                    }
18545                    rel2 {
18546                        to_x: "elm.swallow.pad";
18547                        relative: 1.0  1.0;
18548                        offset:   -1   -5;
18549                    }
18550                    image.normal: "icon_arrow_right.png";
18551                }
18552                description { state: "active" 0.0;
18553                    inherit: "default" 0.0;
18554                    image.normal: "icon_arrow_down.png";
18555                }
18556            }
18557            part { name: "elm.swallow.icon";
18558                clip_to: "disclip";
18559                type: SWALLOW;
18560                description { state: "default" 0.0;
18561                    fixed: 1 0;
18562                    align: 0.0 0.5;
18563                    rel1 {
18564                        to_x: "arrow";
18565                        relative: 1.0  0.0;
18566                        offset:   4    4;
18567                    }
18568                    rel2 {
18569                        to_x: "arrow";
18570                        relative: 1.0  1.0;
18571                        offset:   4   -5;
18572                    }
18573                }
18574            }
18575            part { name: "elm.swallow.end";
18576                clip_to: "disclip";
18577                type: SWALLOW;
18578                description { state: "default" 0.0;
18579                    fixed: 1 0;
18580                    align: 1.0 0.5;
18581                    aspect: 1.0 1.0;
18582                    aspect_preference: VERTICAL;
18583                    rel1 {
18584                        relative: 1.0  0.0;
18585                        offset:   -5    4;
18586                    }
18587                    rel2 {
18588                        relative: 1.0  1.0;
18589                        offset:   -5   -5;
18590                    }
18591                }
18592            }
18593            part { name: "elm.text";
18594                clip_to: "disclip";
18595                type:           TEXTBLOCK;
18596                effect:         SOFT_SHADOW;
18597                mouse_events:   0;
18598                scale: 1;
18599                description {
18600                    state: "default" 0.0;
18601                    align: 0.0 0.5;
18602                    fixed: 0 1;
18603                    rel1 {
18604                        to_x:     "elm.swallow.icon";
18605                        to_y: "base";
18606                        relative: 1.0  0.5;
18607                        offset:   0 4;
18608                    }
18609                    rel2 {
18610                        to_x:     "elm.swallow.end";
18611                        to_y: "base";
18612                        relative: 0.0  0.5;
18613                        offset:   -1 -5;
18614                    }
18615                    text {
18616                        style: "genlist_style";
18617                        min: 1 1;
18618                    }
18619                }
18620                description { state: "selected" 0.0;
18621                    inherit: "default" 0.0;
18622                    text {
18623                        style: "genlist_selected_style";
18624                    }
18625                }
18626            }
18627            part { name: "fg1";
18628                clip_to: "disclip";
18629                mouse_events: 0;
18630                description { state: "default" 0.0;
18631                    visible: 0;
18632                    color: 255 255 255 0;
18633                    rel1.to: "bg";
18634                    rel2.relative: 1.0 0.5;
18635                    rel2.to: "bg";
18636                    image {
18637                        normal: "bt_sm_hilight.png";
18638                        border: 6 6 6 0;
18639                    }
18640                }
18641                description { state: "selected" 0.0;
18642                    inherit: "default" 0.0;
18643                    visible: 1;
18644                    color: 255 255 255 255;
18645                }
18646            }
18647            part { name: "fg2";
18648                clip_to: "disclip";
18649                mouse_events: 0;
18650                description { state: "default" 0.0;
18651                    visible: 0;
18652                    color: 255 255 255 0;
18653                    rel1.to: "bg";
18654                    rel2.to: "bg";
18655                    image {
18656                        normal: "bt_sm_shine.png";
18657                        border: 6 6 6 0;
18658                    }
18659                }
18660                description { state: "selected" 0.0;
18661                    inherit: "default" 0.0;
18662                    visible: 1;
18663                    color: 255 255 255 255;
18664                }
18665            }
18666            part { name: "disclip";
18667                type: RECT;
18668                description { state: "default" 0.0;
18669                    rel1.to: "bg";
18670                    rel2.to: "bg";
18671                }
18672                description { state: "disabled" 0.0;
18673                    inherit: "default" 0.0;
18674                    color: 255 255 255 64;
18675                }
18676            }
18677        }
18678        programs {
18679            // signal: elm,state,%s,active
18680            //   a "check" item named %s went active
18681            // signal: elm,state,%s,passive
18682            //   a "check" item named %s went passive
18683            // default is passive
18684            program {
18685                name:    "go_active";
18686                signal:  "elm,state,selected";
18687                source:  "elm";
18688                action:  STATE_SET "selected" 0.0;
18689                target:  "bg";
18690                target:  "fg1";
18691                target:  "fg2";
18692                target:  "elm.text";
18693            }
18694            program {
18695                name:    "go_passive";
18696                signal:  "elm,state,unselected";
18697                source:  "elm";
18698                action:  STATE_SET "default" 0.0;
18699                target:  "bg";
18700                target:  "fg1";
18701                target:  "fg2";
18702                target:  "elm.text";
18703                transition: LINEAR 0.1;
18704            }
18705            program {
18706                name:    "go_disabled";
18707                signal:  "elm,state,disabled";
18708                source:  "elm";
18709                action:  STATE_SET "disabled" 0.0;
18710                target:  "disclip";
18711            }
18712            program {
18713                name:    "go_enabled";
18714                signal:  "elm,state,enabled";
18715                source:  "elm";
18716                action:  STATE_SET "default" 0.0;
18717                target:  "disclip";
18718            }
18719            program {
18720                name:    "expand";
18721                signal:  "mouse,up,1";
18722                source:  "arrow";
18723                action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
18724            }
18725            program {
18726                name:    "go_expanded";
18727                signal:  "elm,state,expanded";
18728                source:  "elm";
18729                action:  STATE_SET "active" 0.0;
18730                target:  "arrow";
18731            }
18732            program {
18733                name:    "go_contracted";
18734                signal:  "elm,state,contracted";
18735                source:  "elm";
18736                action:  STATE_SET "default" 0.0;
18737                target:  "arrow";
18738            }
18739        }
18740    }
18741    group { name: "elm/genlist/tree_odd/default_style/default";
18742        data.item: "stacking" "below";
18743        data.item: "selectraise" "on";
18744        data.item: "labels" "elm.text";
18745        data.item: "icons" "elm.swallow.icon elm.swallow.end";
18746        data.item: "treesize" "20";
18747        images {
18748            image: "bt_sm_base1.png" COMP;
18749            image: "bt_sm_shine.png" COMP;
18750            image: "bt_sm_hilight.png" COMP;
18751            image: "ilist_2.png" COMP;
18752            image: "icon_arrow_right.png" COMP;
18753            image: "icon_arrow_down.png" COMP;
18754        }
18755        parts {
18756            part {
18757                name:           "event";
18758                type:           RECT;
18759                repeat_events: 1;
18760                description {
18761                    state: "default" 0.0;
18762                    color: 0 0 0 0;
18763                }
18764            }
18765            part {
18766                name: "base";
18767                mouse_events: 0;
18768                description {
18769                    state: "default" 0.0;
18770                    min: 16 28;
18771                    image {
18772                        normal: "ilist_2.png";
18773                        border: 2 2 2 2;
18774                    }
18775                    fill.smooth: 0;
18776                }
18777            }
18778            part { name: "bg";
18779                clip_to: "disclip";
18780                mouse_events: 0;
18781                description { state: "default" 0.0;
18782                    visible: 0;
18783                    color: 255 255 255 0;
18784                    rel1 {
18785                        relative: 0.0 0.0;
18786                        offset: -5 -5;
18787                    }
18788                    rel2 {
18789                        relative: 1.0 1.0;
18790                        offset: 4 4;
18791                    }
18792                    image {
18793                        normal: "bt_sm_base1.png";
18794                        border: 6 6 6 6;
18795                    }
18796                    image.middle: SOLID;
18797                }
18798                description { state: "selected" 0.0;
18799                    inherit: "default" 0.0;
18800                    visible: 1;
18801                    color: 255 255 255 255;
18802                    rel1 {
18803                        relative: 0.0 0.0;
18804                        offset: -2 -2;
18805                    }
18806                    rel2 {
18807                        relative: 1.0 1.0;
18808                        offset: 1 1;
18809                    }
18810                }
18811            }
18812            part { name: "elm.swallow.pad";
18813                type: SWALLOW;
18814                description { state: "default" 0.0;
18815                    fixed: 1 0;
18816                    align: 0.0 0.5;
18817                    rel1 {
18818                        relative: 0.0  0.0;
18819                        offset:   4    4;
18820                    }
18821                    rel2 {
18822                        relative: 0.0  1.0;
18823                        offset:   4   -5;
18824                    }
18825                }
18826            }
18827            part { name: "arrow";
18828                clip_to: "disclip";
18829                ignore_flags: ON_HOLD;
18830                description { state: "default" 0.0;
18831                    fixed: 1 0;
18832                    align: 0.0 0.5;
18833                    aspect: 1.0 1.0;
18834                    rel1 {
18835                        to_x: "elm.swallow.pad";
18836                        relative: 1.0  0.0;
18837                        offset:   -1    4;
18838                    }
18839                    rel2 {
18840                        to_x: "elm.swallow.pad";
18841                        relative: 1.0  1.0;
18842                        offset:   -1   -5;
18843                    }
18844                    image.normal: "icon_arrow_right.png";
18845                }
18846                description { state: "active" 0.0;
18847                    inherit: "default" 0.0;
18848                    image.normal: "icon_arrow_down.png";
18849                }
18850            }
18851            part { name: "elm.swallow.icon";
18852                clip_to: "disclip";
18853                type: SWALLOW;
18854                description { state: "default" 0.0;
18855                    fixed: 1 0;
18856                    align: 0.0 0.5;
18857                    rel1 {
18858                        to_x: "arrow";
18859                        relative: 1.0  0.0;
18860                        offset:   4    4;
18861                    }
18862                    rel2 {
18863                        to_x: "arrow";
18864                        relative: 1.0  1.0;
18865                        offset:   4   -5;
18866                    }
18867                }
18868            }
18869            part { name: "elm.swallow.end";
18870                clip_to: "disclip";
18871                type: SWALLOW;
18872                description { state: "default" 0.0;
18873                    fixed: 1 0;
18874                    align: 1.0 0.5;
18875                    aspect: 1.0 1.0;
18876                    aspect_preference: VERTICAL;
18877                    rel1 {
18878                        relative: 1.0  0.0;
18879                        offset:   -5    4;
18880                    }
18881                    rel2 {
18882                        relative: 1.0  1.0;
18883                        offset:   -5   -5;
18884                    }
18885                }
18886            }
18887            part { name: "elm.text";
18888                clip_to: "disclip";
18889                type:           TEXTBLOCK;
18890                effect:         SOFT_SHADOW;
18891                mouse_events:   0;
18892                scale: 1;
18893                description {
18894                    state: "default" 0.0;
18895                    align: 0.0 0.5;
18896                    fixed: 0 1;
18897                    rel1 {
18898                        to_x:     "elm.swallow.icon";
18899                        to_y: "base";
18900                        relative: 1.0  0.5;
18901                        offset:   0 4;
18902                    }
18903                    rel2 {
18904                        to_x:     "elm.swallow.end";
18905                        to_y: "base";
18906                        relative: 0.0  0.5;
18907                        offset:   -1 -5;
18908                    }
18909                    text {
18910                        style: "genlist_style";
18911                        min: 1 1;
18912                    }
18913                }
18914                description { state: "selected" 0.0;
18915                    inherit: "default" 0.0;
18916                    text {
18917                        style: "genlist_selected_style";
18918                    }
18919                }
18920            }
18921            part { name: "fg1";
18922                clip_to: "disclip";
18923                mouse_events: 0;
18924                description { state: "default" 0.0;
18925                    visible: 0;
18926                    color: 255 255 255 0;
18927                    rel1.to: "bg";
18928                    rel2.relative: 1.0 0.5;
18929                    rel2.to: "bg";
18930                    image {
18931                        normal: "bt_sm_hilight.png";
18932                        border: 6 6 6 0;
18933                    }
18934                }
18935                description { state: "selected" 0.0;
18936                    inherit: "default" 0.0;
18937                    visible: 1;
18938                    color: 255 255 255 255;
18939                }
18940            }
18941            part { name: "fg2";
18942                clip_to: "disclip";
18943                mouse_events: 0;
18944                description { state: "default" 0.0;
18945                    visible: 0;
18946                    color: 255 255 255 0;
18947                    rel1.to: "bg";
18948                    rel2.to: "bg";
18949                    image {
18950                        normal: "bt_sm_shine.png";
18951                        border: 6 6 6 0;
18952                    }
18953                }
18954                description { state: "selected" 0.0;
18955                    inherit: "default" 0.0;
18956                    visible: 1;
18957                    color: 255 255 255 255;
18958                }
18959            }
18960            part { name: "disclip";
18961                type: RECT;
18962                description { state: "default" 0.0;
18963                    rel1.to: "bg";
18964                    rel2.to: "bg";
18965                }
18966                description { state: "disabled" 0.0;
18967                    inherit: "default" 0.0;
18968                    color: 255 255 255 64;
18969                }
18970            }
18971        }
18972        programs {
18973            // signal: elm,state,%s,active
18974            //   a "check" item named %s went active
18975            // signal: elm,state,%s,passive
18976            //   a "check" item named %s went passive
18977            // default is passive
18978            program {
18979                name:    "go_active";
18980                signal:  "elm,state,selected";
18981                source:  "elm";
18982                action:  STATE_SET "selected" 0.0;
18983                target:  "bg";
18984                target:  "fg1";
18985                target:  "fg2";
18986                target:  "elm.text";
18987            }
18988            program {
18989                name:    "go_passive";
18990                signal:  "elm,state,unselected";
18991                source:  "elm";
18992                action:  STATE_SET "default" 0.0;
18993                target:  "bg";
18994                target:  "fg1";
18995                target:  "fg2";
18996                target:  "elm.text";
18997                transition: LINEAR 0.1;
18998            }
18999            program {
19000                name:    "go_disabled";
19001                signal:  "elm,state,disabled";
19002                source:  "elm";
19003                action:  STATE_SET "disabled" 0.0;
19004                target:  "disclip";
19005            }
19006            program {
19007                name:    "go_enabled";
19008                signal:  "elm,state,enabled";
19009                source:  "elm";
19010                action:  STATE_SET "default" 0.0;
19011                target:  "disclip";
19012            }
19013            program {
19014                name:    "expand";
19015                signal:  "mouse,up,1";
19016                source:  "arrow";
19017                action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
19018            }
19019            program {
19020                name:    "go_expanded";
19021                signal:  "elm,state,expanded";
19022                source:  "elm";
19023                action:  STATE_SET "active" 0.0;
19024                target:  "arrow";
19025            }
19026            program {
19027                name:    "go_contracted";
19028                signal:  "elm,state,contracted";
19029                source:  "elm";
19030                action:  STATE_SET "default" 0.0;
19031                target:  "arrow";
19032            }
19033        }
19034    }
19035
19036
19037    group { name: "elm/genlist/item/double_label/default";
19038       data.item: "stacking" "above";
19039       data.item: "selectraise" "on";
19040       data.item: "labels" "elm.text elm.text.sub";
19041       data.item: "icons" "elm.swallow.icon elm.swallow.end";
19042       data.item: "treesize" "20";
19043 //      data.item: "states" "";
19044       images {
19045          image: "bt_sm_base1.png" COMP;
19046          image: "bt_sm_shine.png" COMP;
19047          image: "bt_sm_hilight.png" COMP;
19048          image: "ilist_1.png" COMP;
19049          image: "ilist_item_shadow.png" COMP;
19050       }
19051       parts {
19052          part {
19053             name:           "event";
19054             type:           RECT;
19055             repeat_events: 1;
19056             description {
19057                state: "default" 0.0;
19058                color: 0 0 0 0;
19059             }
19060          }
19061          part {
19062             name: "base_sh";
19063             mouse_events: 0;
19064             description {
19065                state: "default" 0.0;
19066                align: 0.0 0.0;
19067                min: 0 10;
19068                fixed: 1 1;
19069                rel1 {
19070                   to: "base";
19071                   relative: 0.0 1.0;
19072                   offset: 0 0;
19073                }
19074                rel2 {
19075                   to: "base";
19076                   relative: 1.0 1.0;
19077                   offset: -1 0;
19078                }
19079                image {
19080                   normal: "ilist_item_shadow.png";
19081                }
19082                fill.smooth: 0;
19083             }
19084          }
19085          part {
19086             name: "base";
19087             mouse_events: 0;
19088             description {
19089                state: "default" 0.0;
19090                image {
19091                   normal: "ilist_1.png";
19092                   border: 2 2 2 2;
19093                }
19094                fill.smooth: 0;
19095             }
19096          }
19097          part { name: "bg";
19098             clip_to: "disclip";
19099             mouse_events: 0;
19100             description { state: "default" 0.0;
19101                visible: 0;
19102                color: 255 255 255 0;
19103                rel1 {
19104                   relative: 0.0 0.0;
19105                   offset: -5 -5;
19106                }
19107                rel2 {
19108                   relative: 1.0 1.0;
19109                   offset: 4 4;
19110                }
19111                image {
19112                   normal: "bt_sm_base1.png";
19113                   border: 6 6 6 6;
19114                }
19115                image.middle: SOLID;
19116             }
19117             description { state: "selected" 0.0;
19118                inherit: "default" 0.0;
19119                visible: 1;
19120                color: 255 255 255 255;
19121                rel1 {
19122                   relative: 0.0 0.0;
19123                   offset: -2 -2;
19124                }
19125                rel2 {
19126                   relative: 1.0 1.0;
19127                   offset: 1 1;
19128                }
19129             }
19130          }
19131          part { name: "elm.swallow.pad";
19132             type: SWALLOW;
19133             description { state: "default" 0.0;
19134                fixed: 1 0;
19135                align: 0.0 0.5;
19136                rel1 {
19137                   relative: 0.0  0.0;
19138                   offset:   4    4;
19139                }
19140                rel2 {
19141                   relative: 0.0  1.0;
19142                   offset:   4   -5;
19143                }
19144             }
19145          }
19146          part { name: "elm.swallow.icon";
19147             clip_to: "disclip";
19148             type: SWALLOW;
19149             description { state: "default" 0.0;
19150                fixed: 1 0;
19151                align: 0.0 0.5;
19152                rel1 {
19153                   to_x: "elm.swallow.pad";
19154                   relative: 1.0  0.0;
19155                   offset:   -1    4;
19156                }
19157                rel2 {
19158                   to_x: "elm.swallow.pad";
19159                   relative: 1.0  1.0;
19160                   offset:   -1   -5;
19161                }
19162             }
19163          }
19164          part { name: "elm.swallow.end";
19165             clip_to: "disclip";
19166             type: SWALLOW;
19167             description { state: "default" 0.0;
19168                fixed: 1 0;
19169                align: 1.0 0.5;
19170                aspect: 1.0 1.0;
19171                aspect_preference: VERTICAL;
19172                rel1 {
19173                   relative: 1.0  0.0;
19174                   offset:   -5    4;
19175                }
19176                rel2 {
19177                   relative: 1.0  1.0;
19178                   offset:   -5   -5;
19179                }
19180             }
19181          }
19182          part { name: "elm.text";
19183             clip_to: "disclip";
19184             type:           TEXT;
19185             effect:         SOFT_SHADOW;
19186             mouse_events:   0;
19187             scale: 1;
19188             description {
19189                state: "default" 0.0;
19190 //               min: 16 16;
19191                rel1 {
19192                   to_x:     "elm.swallow.icon";
19193                   relative: 1.0  0.0;
19194                   offset:   0 4;
19195                }
19196                rel2 {
19197                   to_x:     "elm.swallow.end";
19198                   relative: 0.0  0.5;
19199                   offset:   -1 -5;
19200                }
19201                color: 0 0 0 255;
19202                color3: 0 0 0 0;
19203                text {
19204                   font: "Sans";
19205                   size: 10;
19206                   min: 1 1;
19207 //                  min: 0 1;
19208                   align: 0.0 0.5;
19209                   text_class: "list_item";
19210                }
19211             }
19212             description { state: "selected" 0.0;
19213                inherit: "default" 0.0;
19214                color: 224 224 224 255;
19215                color3: 0 0 0 64;
19216             }
19217          }
19218          part { name: "elm.text.sub";
19219             clip_to: "disclip";
19220             type:           TEXT;
19221             mouse_events:   0;
19222             scale: 1;
19223             description {
19224                state: "default" 0.0;
19225 //               min: 16 16;
19226                rel1 {
19227                   to_x:     "elm.swallow.icon";
19228                   relative: 1.0  0.5;
19229                   offset:   0 4;
19230                }
19231                rel2 {
19232                   to_x:     "elm.swallow.end";
19233                   relative: 0.0  1.0;
19234                   offset:   -1 -5;
19235                }
19236                color: 0 0 0 128;
19237                color3: 0 0 0 0;
19238                text {
19239                   font: "Sans";
19240                   size: 8;
19241                   min: 1 1;
19242 //                  min: 0 1;
19243                   align: 0.0 0.5;
19244                   text_class: "list_item";
19245                }
19246             }
19247             description { state: "selected" 0.0;
19248                inherit: "default" 0.0;
19249                color: 128 128 128 255;
19250                color3: 0 0 0 32;
19251             }
19252          }
19253          part { name: "fg1";
19254             clip_to: "disclip";
19255             mouse_events: 0;
19256             description { state: "default" 0.0;
19257                visible: 0;
19258                color: 255 255 255 0;
19259                rel1.to: "bg";
19260                rel2.relative: 1.0 0.5;
19261                rel2.to: "bg";
19262                image {
19263                   normal: "bt_sm_hilight.png";
19264                   border: 6 6 6 0;
19265                }
19266             }
19267             description { state: "selected" 0.0;
19268                inherit: "default" 0.0;
19269                visible: 1;
19270                color: 255 255 255 255;
19271             }
19272          }
19273          part { name: "fg2";
19274             clip_to: "disclip";
19275             mouse_events: 0;
19276             description { state: "default" 0.0;
19277                visible: 0;
19278                color: 255 255 255 0;
19279                rel1.to: "bg";
19280                rel2.to: "bg";
19281                image {
19282                   normal: "bt_sm_shine.png";
19283                   border: 6 6 6 0;
19284                }
19285             }
19286             description { state: "selected" 0.0;
19287                inherit: "default" 0.0;
19288                visible: 1;
19289                color: 255 255 255 255;
19290             }
19291          }
19292          part { name: "disclip";
19293             type: RECT;
19294             description { state: "default" 0.0;
19295                rel1.to: "bg";
19296                rel2.to: "bg";
19297             }
19298             description { state: "disabled" 0.0;
19299                inherit: "default" 0.0;
19300                color: 255 255 255 64;
19301             }
19302          }
19303       }
19304       programs {
19305          // signal: elm,state,%s,active
19306          //   a "check" item named %s went active
19307          // signal: elm,state,%s,passive
19308          //   a "check" item named %s went passive
19309          // default is passive
19310          program {
19311             name:    "go_active";
19312             signal:  "elm,state,selected";
19313             source:  "elm";
19314             action:  STATE_SET "selected" 0.0;
19315             target:  "bg";
19316             target:  "fg1";
19317             target:  "fg2";
19318             target:  "elm.text";
19319             target:  "elm.text.sub";
19320          }
19321          program {
19322             name:    "go_passive";
19323             signal:  "elm,state,unselected";
19324             source:  "elm";
19325             action:  STATE_SET "default" 0.0;
19326             target:  "bg";
19327             target:  "fg1";
19328             target:  "fg2";
19329             target:  "elm.text";
19330             target:  "elm.text.sub";
19331             transition: LINEAR 0.1;
19332          }
19333          program {
19334             name:    "go_disabled";
19335             signal:  "elm,state,disabled";
19336             source:  "elm";
19337             action:  STATE_SET "disabled" 0.0;
19338             target:  "disclip";
19339          }
19340          program {
19341             name:    "go_enabled";
19342             signal:  "elm,state,enabled";
19343             source:  "elm";
19344             action:  STATE_SET "default" 0.0;
19345             target:  "disclip";
19346          }
19347       }
19348    }
19349    group { name: "elm/genlist/item_compress/double_label/default";
19350       data.item: "stacking" "above";
19351       data.item: "selectraise" "on";
19352       data.item: "labels" "elm.text elm.text.sub";
19353       data.item: "icons" "elm.swallow.icon elm.swallow.end";
19354       data.item: "treesize" "20";
19355 //      data.item: "states" "";
19356       images {
19357          image: "bt_sm_base1.png" COMP;
19358          image: "bt_sm_shine.png" COMP;
19359          image: "bt_sm_hilight.png" COMP;
19360          image: "ilist_1.png" COMP;
19361          image: "ilist_item_shadow.png" COMP;
19362       }
19363       parts {
19364          part {
19365             name:           "event";
19366             type:           RECT;
19367             repeat_events: 1;
19368             description {
19369                state: "default" 0.0;
19370                color: 0 0 0 0;
19371             }
19372          }
19373          part {
19374             name: "base_sh";
19375             mouse_events: 0;
19376             description {
19377                state: "default" 0.0;
19378                align: 0.0 0.0;
19379                min: 0 10;
19380                fixed: 1 1;
19381                rel1 {
19382                   to: "base";
19383                   relative: 0.0 1.0;
19384                   offset: 0 0;
19385                }
19386                rel2 {
19387                   to: "base";
19388                   relative: 1.0 1.0;
19389                   offset: -1 0;
19390                }
19391                image {
19392                   normal: "ilist_item_shadow.png";
19393                }
19394                fill.smooth: 0;
19395             }
19396          }
19397          part {
19398             name: "base";
19399             mouse_events: 0;
19400             description {
19401                state: "default" 0.0;
19402                image {
19403                   normal: "ilist_1.png";
19404                   border: 2 2 2 2;
19405                }
19406                fill.smooth: 0;
19407             }
19408          }
19409          part { name: "bg";
19410             clip_to: "disclip";
19411             mouse_events: 0;
19412             description { state: "default" 0.0;
19413                visible: 0;
19414                color: 255 255 255 0;
19415                rel1 {
19416                   relative: 0.0 0.0;
19417                   offset: -5 -5;
19418                }
19419                rel2 {
19420                   relative: 1.0 1.0;
19421                   offset: 4 4;
19422                }
19423                image {
19424                   normal: "bt_sm_base1.png";
19425                   border: 6 6 6 6;
19426                }
19427                image.middle: SOLID;
19428             }
19429             description { state: "selected" 0.0;
19430                inherit: "default" 0.0;
19431                visible: 1;
19432                color: 255 255 255 255;
19433                rel1 {
19434                   relative: 0.0 0.0;
19435                   offset: -2 -2;
19436                }
19437                rel2 {
19438                   relative: 1.0 1.0;
19439                   offset: 1 1;
19440                }
19441             }
19442          }
19443          part { name: "elm.swallow.pad";
19444             type: SWALLOW;
19445             description { state: "default" 0.0;
19446                fixed: 1 0;
19447                align: 0.0 0.5;
19448                rel1 {
19449                   relative: 0.0  0.0;
19450                   offset:   4    4;
19451                }
19452                rel2 {
19453                   relative: 0.0  1.0;
19454                   offset:   4   -5;
19455                }
19456             }
19457          }
19458          part { name: "elm.swallow.icon";
19459             clip_to: "disclip";
19460             type: SWALLOW;
19461             description { state: "default" 0.0;
19462                fixed: 1 0;
19463                align: 0.0 0.5;
19464                rel1 {
19465                   to_x: "elm.swallow.pad";
19466                   relative: 1.0  0.0;
19467                   offset:   -1    4;
19468                }
19469                rel2 {
19470                   to_x: "elm.swallow.pad";
19471                   relative: 1.0  1.0;
19472                   offset:   -1   -5;
19473                }
19474             }
19475          }
19476          part { name: "elm.swallow.end";
19477             clip_to: "disclip";
19478             type: SWALLOW;
19479             description { state: "default" 0.0;
19480                fixed: 1 0;
19481                align: 1.0 0.5;
19482                aspect: 1.0 1.0;
19483                aspect_preference: VERTICAL;
19484                rel1 {
19485                   relative: 1.0  0.0;
19486                   offset:   -5    4;
19487                }
19488                rel2 {
19489                   relative: 1.0  1.0;
19490                   offset:   -5   -5;
19491                }
19492             }
19493          }
19494          part { name: "elm.text";
19495             clip_to: "disclip";
19496             type:           TEXT;
19497             effect:         SOFT_SHADOW;
19498             mouse_events:   0;
19499             scale: 1;
19500             description {
19501                state: "default" 0.0;
19502 //               min: 16 16;
19503                rel1 {
19504                   to_x:     "elm.swallow.icon";
19505                   relative: 1.0  0.0;
19506                   offset:   0 4;
19507                }
19508                rel2 {
19509                   to_x:     "elm.swallow.end";
19510                   relative: 0.0  0.5;
19511                   offset:   -1 -5;
19512                }
19513                color: 0 0 0 255;
19514                color3: 0 0 0 0;
19515                text {
19516                   font: "Sans";
19517                   size: 10;
19518 //                  min: 1 1;
19519                   min: 0 1;
19520                   align: 0.0 0.5;
19521                   text_class: "list_item";
19522                }
19523             }
19524             description { state: "selected" 0.0;
19525                inherit: "default" 0.0;
19526                color: 224 224 224 255;
19527                color3: 0 0 0 64;
19528             }
19529          }
19530          part { name: "elm.text.sub";
19531             clip_to: "disclip";
19532             type:           TEXT;
19533             mouse_events:   0;
19534             scale: 1;
19535             description {
19536                state: "default" 0.0;
19537 //               min: 16 16;
19538                rel1 {
19539                   to_x:     "elm.swallow.icon";
19540                   relative: 1.0  0.5;
19541                   offset:   0 4;
19542                }
19543                rel2 {
19544                   to_x:     "elm.swallow.end";
19545                   relative: 0.0  1.0;
19546                   offset:   -1 -5;
19547                }
19548                color: 0 0 0 128;
19549                color3: 0 0 0 0;
19550                text {
19551                   font: "Sans";
19552                   size: 8;
19553 //                  min: 1 1;
19554                   min: 0 1;
19555                   align: 0.0 0.5;
19556                   text_class: "list_item";
19557                }
19558             }
19559             description { state: "selected" 0.0;
19560                inherit: "default" 0.0;
19561                color: 128 128 128 255;
19562                color3: 0 0 0 32;
19563             }
19564          }
19565          part { name: "fg1";
19566             clip_to: "disclip";
19567             mouse_events: 0;
19568             description { state: "default" 0.0;
19569                visible: 0;
19570                color: 255 255 255 0;
19571                rel1.to: "bg";
19572                rel2.relative: 1.0 0.5;
19573                rel2.to: "bg";
19574                image {
19575                   normal: "bt_sm_hilight.png";
19576                   border: 6 6 6 0;
19577                }
19578             }
19579             description { state: "selected" 0.0;
19580                inherit: "default" 0.0;
19581                visible: 1;
19582                color: 255 255 255 255;
19583             }
19584          }
19585          part { name: "fg2";
19586             clip_to: "disclip";
19587             mouse_events: 0;
19588             description { state: "default" 0.0;
19589                visible: 0;
19590                color: 255 255 255 0;
19591                rel1.to: "bg";
19592                rel2.to: "bg";
19593                image {
19594                   normal: "bt_sm_shine.png";
19595                   border: 6 6 6 0;
19596                }
19597             }
19598             description { state: "selected" 0.0;
19599                inherit: "default" 0.0;
19600                visible: 1;
19601                color: 255 255 255 255;
19602             }
19603          }
19604          part { name: "disclip";
19605             type: RECT;
19606             description { state: "default" 0.0;
19607                rel1.to: "bg";
19608                rel2.to: "bg";
19609             }
19610             description { state: "disabled" 0.0;
19611                inherit: "default" 0.0;
19612                color: 255 255 255 64;
19613             }
19614          }
19615       }
19616       programs {
19617          // signal: elm,state,%s,active
19618          //   a "check" item named %s went active
19619          // signal: elm,state,%s,passive
19620          //   a "check" item named %s went passive
19621          // default is passive
19622          program {
19623             name:    "go_active";
19624             signal:  "elm,state,selected";
19625             source:  "elm";
19626             action:  STATE_SET "selected" 0.0;
19627             target:  "bg";
19628             target:  "fg1";
19629             target:  "fg2";
19630             target:  "elm.text";
19631             target:  "elm.text.sub";
19632          }
19633          program {
19634             name:    "go_passive";
19635             signal:  "elm,state,unselected";
19636             source:  "elm";
19637             action:  STATE_SET "default" 0.0;
19638             target:  "bg";
19639             target:  "fg1";
19640             target:  "fg2";
19641             target:  "elm.text";
19642             target:  "elm.text.sub";
19643             transition: LINEAR 0.1;
19644          }
19645          program {
19646             name:    "go_disabled";
19647             signal:  "elm,state,disabled";
19648             source:  "elm";
19649             action:  STATE_SET "disabled" 0.0;
19650             target:  "disclip";
19651          }
19652          program {
19653             name:    "go_enabled";
19654             signal:  "elm,state,enabled";
19655             source:  "elm";
19656             action:  STATE_SET "default" 0.0;
19657             target:  "disclip";
19658          }
19659       }
19660    }
19661    group { name: "elm/genlist/item_odd/double_label/default";
19662       data.item: "stacking" "below";
19663       data.item: "selectraise" "on";
19664       data.item: "labels" "elm.text elm.text.sub";
19665       data.item: "icons" "elm.swallow.icon elm.swallow.end";
19666       data.item: "treesize" "20";
19667 //      data.item: "states" "";
19668       images {
19669          image: "bt_sm_base1.png" COMP;
19670          image: "bt_sm_shine.png" COMP;
19671          image: "bt_sm_hilight.png" COMP;
19672          image: "ilist_2.png" COMP;
19673       }
19674       parts {
19675          part { name: "event";
19676             type: RECT;
19677             repeat_events: 1;
19678             description {
19679                state: "default" 0.0;
19680                color: 0 0 0 0;
19681             }
19682          }
19683          part {
19684             name: "base";
19685             mouse_events: 0;
19686             description {
19687                state: "default" 0.0;
19688                image {
19689                   normal: "ilist_2.png";
19690                   border: 2 2 2 2;
19691                }
19692                fill.smooth: 0;
19693             }
19694          }
19695          part { name: "bg";
19696             clip_to: "disclip";
19697             mouse_events: 0;
19698             description { state: "default" 0.0;
19699                visible: 0;
19700                color: 255 255 255 0;
19701                rel1 {
19702                   relative: 0.0 0.0;
19703                   offset: -5 -5;
19704                }
19705                rel2 {
19706                   relative: 1.0 1.0;
19707                   offset: 4 4;
19708                }
19709                image {
19710                   normal: "bt_sm_base1.png";
19711                   border: 6 6 6 6;
19712                }
19713                image.middle: SOLID;
19714             }
19715             description { state: "selected" 0.0;
19716                inherit: "default" 0.0;
19717                visible: 1;
19718                color: 255 255 255 255;
19719                rel1 {
19720                   relative: 0.0 0.0;
19721                   offset: -2 -2;
19722                }
19723                rel2 {
19724                   relative: 1.0 1.0;
19725                   offset: 1 1;
19726                }
19727             }
19728          }
19729          part { name: "elm.swallow.pad";
19730             type: SWALLOW;
19731             description { state: "default" 0.0;
19732                fixed: 1 0;
19733                align: 0.0 0.5;
19734                rel1 {
19735                   relative: 0.0  0.0;
19736                   offset:   4    4;
19737                }
19738                rel2 {
19739                   relative: 0.0  1.0;
19740                   offset:   4   -5;
19741                }
19742             }
19743          }
19744          part { name: "elm.swallow.icon";
19745             clip_to: "disclip";
19746             type: SWALLOW;
19747             description { state: "default" 0.0;
19748                fixed: 1 0;
19749                align: 0.0 0.5;
19750                rel1 {
19751                   to_x: "elm.swallow.pad";
19752                   relative: 1.0  0.0;
19753                   offset:   -1    4;
19754                }
19755                rel2 {
19756                   to_x: "elm.swallow.pad";
19757                   relative: 1.0  1.0;
19758                   offset:   -1   -5;
19759                }
19760             }
19761          }
19762          part { name: "elm.swallow.end";
19763             clip_to: "disclip";
19764             type:          SWALLOW;
19765             description { state:    "default" 0.0;
19766                fixed: 1 0;
19767                align:    1.0 0.5;
19768                aspect: 1.0 1.0;
19769                aspect_preference: VERTICAL;
19770                rel1 {
19771                   relative: 1.0  0.0;
19772                   offset:   -5    4;
19773                }
19774                rel2 {
19775                   relative: 1.0  1.0;
19776                   offset:   -5   -5;
19777                }
19778             }
19779          }
19780          part { name: "elm.text";
19781             clip_to: "disclip";
19782             type:           TEXT;
19783             effect:         SOFT_SHADOW;
19784             mouse_events:   0;
19785             scale: 1;
19786             description {
19787                state: "default" 0.0;
19788 //               min: 16 16;
19789                rel1 {
19790                   to_x:     "elm.swallow.icon";
19791                   relative: 1.0  0.0;
19792                   offset:   0 4;
19793                }
19794                rel2 {
19795                   to_x:     "elm.swallow.end";
19796                   relative: 0.0  0.5;
19797                   offset:   -1 -5;
19798                }
19799                color: 0 0 0 255;
19800                color3: 0 0 0 0;
19801                text {
19802                   font: "Sans";
19803                   size: 10;
19804                   min: 1 1;
19805 //                  min: 0 1;
19806                   align: 0.0 0.5;
19807                   text_class: "list_item";
19808                }
19809             }
19810             description { state: "selected" 0.0;
19811                inherit: "default" 0.0;
19812                color: 224 224 224 255;
19813                color3: 0 0 0 64;
19814             }
19815          }
19816          part { name: "elm.text.sub";
19817             clip_to: "disclip";
19818             type:           TEXT;
19819             mouse_events:   0;
19820             scale: 1;
19821             description {
19822                state: "default" 0.0;
19823 //               min: 16 16;
19824                rel1 {
19825                   to_x:     "elm.swallow.icon";
19826                   relative: 1.0  0.5;
19827                   offset:   0 4;
19828                }
19829                rel2 {
19830                   to_x:     "elm.swallow.end";
19831                   relative: 0.0  1.0;
19832                   offset:   -1 -5;
19833                }
19834                color: 0 0 0 128;
19835                color3: 0 0 0 0;
19836                text {
19837                   font: "Sans";
19838                   size: 8;
19839                   min: 1 1;
19840 //                  min: 0 1;
19841                   align: 0.0 0.5;
19842                   text_class: "list_item";
19843                }
19844             }
19845             description { state: "selected" 0.0;
19846                inherit: "default" 0.0;
19847                color: 128 128 128 255;
19848                color3: 0 0 0 32;
19849             }
19850          }
19851          part { name: "fg1";
19852             clip_to: "disclip";
19853             mouse_events: 0;
19854             description { state: "default" 0.0;
19855                visible: 0;
19856                color: 255 255 255 0;
19857                rel1.to: "bg";
19858                rel2.relative: 1.0 0.5;
19859                rel2.to: "bg";
19860                image {
19861                   normal: "bt_sm_hilight.png";
19862                   border: 6 6 6 0;
19863                }
19864             }
19865             description { state: "selected" 0.0;
19866                inherit: "default" 0.0;
19867                visible: 1;
19868                color: 255 255 255 255;
19869             }
19870          }
19871          part { name: "fg2";
19872             clip_to: "disclip";
19873             mouse_events: 0;
19874             description { state: "default" 0.0;
19875                visible: 0;
19876                color: 255 255 255 0;
19877                rel1.to: "bg";
19878                rel2.to: "bg";
19879                image {
19880                   normal: "bt_sm_shine.png";
19881                   border: 6 6 6 0;
19882                }
19883             }
19884             description { state: "selected" 0.0;
19885                inherit: "default" 0.0;
19886                visible: 1;
19887                color: 255 255 255 255;
19888             }
19889          }
19890          part { name: "disclip";
19891             type: RECT;
19892             description { state: "default" 0.0;
19893                rel1.to: "bg";
19894                rel2.to: "bg";
19895             }
19896             description { state: "disabled" 0.0;
19897                inherit: "default" 0.0;
19898                color: 255 255 255 64;
19899             }
19900          }
19901       }
19902       programs {
19903          // signal: elm,state,%s,active
19904          //   a "check" item named %s went active
19905          // signal: elm,state,%s,passive
19906          //   a "check" item named %s went passive
19907          // default is passive
19908          program {
19909             name:    "go_active";
19910             signal:  "elm,state,selected";
19911             source:  "elm";
19912             action:  STATE_SET "selected" 0.0;
19913             target:  "bg";
19914             target:  "fg1";
19915             target:  "fg2";
19916             target:  "elm.text";
19917             target:  "elm.text.sub";
19918          }
19919          program {
19920             name:    "go_passive";
19921             signal:  "elm,state,unselected";
19922             source:  "elm";
19923             action:  STATE_SET "default" 0.0;
19924             target:  "bg";
19925             target:  "fg1";
19926             target:  "fg2";
19927             target:  "elm.text";
19928             target:  "elm.text.sub";
19929             transition: LINEAR 0.1;
19930          }
19931          program {
19932             name:    "go_disabled";
19933             signal:  "elm,state,disabled";
19934             source:  "elm";
19935             action:  STATE_SET "disabled" 0.0;
19936             target:  "disclip";
19937          }
19938          program {
19939             name:    "go_enabled";
19940             signal:  "elm,state,enabled";
19941             source:  "elm";
19942             action:  STATE_SET "default" 0.0;
19943             target:  "disclip";
19944          }
19945       }
19946    }
19947    group { name: "elm/genlist/item_compress_odd/double_label/default";
19948       data.item: "stacking" "below";
19949       data.item: "selectraise" "on";
19950       data.item: "labels" "elm.text elm.text.sub";
19951       data.item: "icons" "elm.swallow.icon elm.swallow.end";
19952       data.item: "treesize" "20";
19953 //      data.item: "states" "";
19954       images {
19955          image: "bt_sm_base1.png" COMP;
19956          image: "bt_sm_shine.png" COMP;
19957          image: "bt_sm_hilight.png" COMP;
19958          image: "ilist_2.png" COMP;
19959       }
19960       parts {
19961          part { name: "event";
19962             type: RECT;
19963             repeat_events: 1;
19964             description {
19965                state: "default" 0.0;
19966                color: 0 0 0 0;
19967             }
19968          }
19969          part {
19970             name: "base";
19971             mouse_events: 0;
19972             description {
19973                state: "default" 0.0;
19974                image {
19975                   normal: "ilist_2.png";
19976                   border: 2 2 2 2;
19977                }
19978                fill.smooth: 0;
19979             }
19980          }
19981          part { name: "bg";
19982             clip_to: "disclip";
19983             mouse_events: 0;
19984             description { state: "default" 0.0;
19985                visible: 0;
19986                color: 255 255 255 0;
19987                rel1 {
19988                   relative: 0.0 0.0;
19989                   offset: -5 -5;
19990                }
19991                rel2 {
19992                   relative: 1.0 1.0;
19993                   offset: 4 4;
19994                }
19995                image {
19996                   normal: "bt_sm_base1.png";
19997                   border: 6 6 6 6;
19998                }
19999                image.middle: SOLID;
20000             }
20001             description { state: "selected" 0.0;
20002                inherit: "default" 0.0;
20003                visible: 1;
20004                color: 255 255 255 255;
20005                rel1 {
20006                   relative: 0.0 0.0;
20007                   offset: -2 -2;
20008                }
20009                rel2 {
20010                   relative: 1.0 1.0;
20011                   offset: 1 1;
20012                }
20013             }
20014          }
20015          part { name: "elm.swallow.pad";
20016             type: SWALLOW;
20017             description { state: "default" 0.0;
20018                fixed: 1 0;
20019                align: 0.0 0.5;
20020                rel1 {
20021                   relative: 0.0  0.0;
20022                   offset:   4    4;
20023                }
20024                rel2 {
20025                   relative: 0.0  1.0;
20026                   offset:   4   -5;
20027                }
20028             }
20029          }
20030          part { name: "elm.swallow.icon";
20031             clip_to: "disclip";
20032             type: SWALLOW;
20033             description { state: "default" 0.0;
20034                fixed: 1 0;
20035                align: 0.0 0.5;
20036                rel1 {
20037                   to_x: "elm.swallow.pad";
20038                   relative: 1.0  0.0;
20039                   offset:   -1    4;
20040                }
20041                rel2 {
20042                   to_x: "elm.swallow.pad";
20043                   relative: 1.0  1.0;
20044                   offset:   -1   -5;
20045                }
20046             }
20047          }
20048          part { name: "elm.swallow.end";
20049             clip_to: "disclip";
20050             type:          SWALLOW;
20051             description { state:    "default" 0.0;
20052                fixed: 1 0;
20053                align:    1.0 0.5;
20054                aspect: 1.0 1.0;
20055                aspect_preference: VERTICAL;
20056                rel1 {
20057                   relative: 1.0  0.0;
20058                   offset:   -5    4;
20059                }
20060                rel2 {
20061                   relative: 1.0  1.0;
20062                   offset:   -5   -5;
20063                }
20064             }
20065          }
20066          part { name: "elm.text";
20067             clip_to: "disclip";
20068             type:           TEXT;
20069             effect:         SOFT_SHADOW;
20070             mouse_events:   0;
20071             scale: 1;
20072             description {
20073                state: "default" 0.0;
20074 //               min: 16 16;
20075                rel1 {
20076                   to_x:     "elm.swallow.icon";
20077                   relative: 1.0  0.0;
20078                   offset:   0 4;
20079                }
20080                rel2 {
20081                   to_x:     "elm.swallow.end";
20082                   relative: 0.0  0.5;
20083                   offset:   -1 -5;
20084                }
20085                color: 0 0 0 255;
20086                color3: 0 0 0 0;
20087                text {
20088                   font: "Sans";
20089                   size: 10;
20090 //                  min: 1 1;
20091                   min: 0 1;
20092                   align: 0.0 0.5;
20093                   text_class: "list_item";
20094                }
20095             }
20096             description { state: "selected" 0.0;
20097                inherit: "default" 0.0;
20098                color: 224 224 224 255;
20099                color3: 0 0 0 64;
20100             }
20101          }
20102          part { name: "elm.text.sub";
20103             clip_to: "disclip";
20104             type:           TEXT;
20105             mouse_events:   0;
20106             scale: 1;
20107             description {
20108                state: "default" 0.0;
20109 //               min: 16 16;
20110                rel1 {
20111                   to_x:     "elm.swallow.icon";
20112                   relative: 1.0  0.5;
20113                   offset:   0 4;
20114                }
20115                rel2 {
20116                   to_x:     "elm.swallow.end";
20117                   relative: 0.0  1.0;
20118                   offset:   -1 -5;
20119                }
20120                color: 0 0 0 128;
20121                color3: 0 0 0 0;
20122                text {
20123                   font: "Sans";
20124                   size: 8;
20125 //                  min: 1 1;
20126                   min: 0 1;
20127                   align: 0.0 0.5;
20128                   text_class: "list_item";
20129                }
20130             }
20131             description { state: "selected" 0.0;
20132                inherit: "default" 0.0;
20133                color: 128 128 128 255;
20134                color3: 0 0 0 32;
20135             }
20136          }
20137          part { name: "fg1";
20138             clip_to: "disclip";
20139             mouse_events: 0;
20140             description { state: "default" 0.0;
20141                visible: 0;
20142                color: 255 255 255 0;
20143                rel1.to: "bg";
20144                rel2.relative: 1.0 0.5;
20145                rel2.to: "bg";
20146                image {
20147                   normal: "bt_sm_hilight.png";
20148                   border: 6 6 6 0;
20149                }
20150             }
20151             description { state: "selected" 0.0;
20152                inherit: "default" 0.0;
20153                visible: 1;
20154                color: 255 255 255 255;
20155             }
20156          }
20157          part { name: "fg2";
20158             clip_to: "disclip";
20159             mouse_events: 0;
20160             description { state: "default" 0.0;
20161                visible: 0;
20162                color: 255 255 255 0;
20163                rel1.to: "bg";
20164                rel2.to: "bg";
20165                image {
20166                   normal: "bt_sm_shine.png";
20167                   border: 6 6 6 0;
20168                }
20169             }
20170             description { state: "selected" 0.0;
20171                inherit: "default" 0.0;
20172                visible: 1;
20173                color: 255 255 255 255;
20174             }
20175          }
20176          part { name: "disclip";
20177             type: RECT;
20178             description { state: "default" 0.0;
20179                rel1.to: "bg";
20180                rel2.to: "bg";
20181             }
20182             description { state: "disabled" 0.0;
20183                inherit: "default" 0.0;
20184                color: 255 255 255 64;
20185             }
20186          }
20187       }
20188       programs {
20189          // signal: elm,state,%s,active
20190          //   a "check" item named %s went active
20191          // signal: elm,state,%s,passive
20192          //   a "check" item named %s went passive
20193          // default is passive
20194          program {
20195             name:    "go_active";
20196             signal:  "elm,state,selected";
20197             source:  "elm";
20198             action:  STATE_SET "selected" 0.0;
20199             target:  "bg";
20200             target:  "fg1";
20201             target:  "fg2";
20202             target:  "elm.text";
20203             target:  "elm.text.sub";
20204          }
20205          program {
20206             name:    "go_passive";
20207             signal:  "elm,state,unselected";
20208             source:  "elm";
20209             action:  STATE_SET "default" 0.0;
20210             target:  "bg";
20211             target:  "fg1";
20212             target:  "fg2";
20213             target:  "elm.text";
20214             target:  "elm.text.sub";
20215             transition: LINEAR 0.1;
20216          }
20217          program {
20218             name:    "go_disabled";
20219             signal:  "elm,state,disabled";
20220             source:  "elm";
20221             action:  STATE_SET "disabled" 0.0;
20222             target:  "disclip";
20223          }
20224          program {
20225             name:    "go_enabled";
20226             signal:  "elm,state,enabled";
20227             source:  "elm";
20228             action:  STATE_SET "default" 0.0;
20229             target:  "disclip";
20230          }
20231       }
20232    }
20233
20234    group { name: "elm/genlist/tree/double_label/default";
20235       data.item: "stacking" "above";
20236       data.item: "selectraise" "on";
20237       data.item: "labels" "elm.text elm.text.sub";
20238       data.item: "icons" "elm.swallow.icon elm.swallow.end";
20239       data.item: "treesize" "20";
20240 //      data.item: "states" "";
20241       images {
20242          image: "bt_sm_base1.png" COMP;
20243          image: "bt_sm_shine.png" COMP;
20244          image: "bt_sm_hilight.png" COMP;
20245          image: "ilist_1.png" COMP;
20246          image: "ilist_item_shadow.png" COMP;
20247          image: "icon_arrow_right.png" COMP;
20248          image: "icon_arrow_down.png" COMP;
20249       }
20250       parts {
20251          part {
20252             name:           "event";
20253             type:           RECT;
20254             repeat_events: 1;
20255             description {
20256                state: "default" 0.0;
20257                color: 0 0 0 0;
20258             }
20259          }
20260          part {
20261             name: "base_sh";
20262             mouse_events: 0;
20263             description {
20264                state: "default" 0.0;
20265                align: 0.0 0.0;
20266                min: 0 10;
20267                fixed: 1 1;
20268                rel1 {
20269                   to: "base";
20270                   relative: 0.0 1.0;
20271                   offset: 0 0;
20272                }
20273                rel2 {
20274                   to: "base";
20275                   relative: 1.0 1.0;
20276                   offset: -1 0;
20277                }
20278                image {
20279                   normal: "ilist_item_shadow.png";
20280                }
20281                fill.smooth: 0;
20282             }
20283          }
20284          part {
20285             name: "base";
20286             mouse_events: 0;
20287             description {
20288                state: "default" 0.0;
20289                image {
20290                   normal: "ilist_1.png";
20291                   border: 2 2 2 2;
20292                }
20293                fill.smooth: 0;
20294             }
20295          }
20296          part { name: "bg";
20297             clip_to: "disclip";
20298             mouse_events: 0;
20299             description { state: "default" 0.0;
20300                visible: 0;
20301                color: 255 255 255 0;
20302                rel1 {
20303                   relative: 0.0 0.0;
20304                   offset: -5 -5;
20305                }
20306                rel2 {
20307                   relative: 1.0 1.0;
20308                   offset: 4 4;
20309                }
20310                image {
20311                   normal: "bt_sm_base1.png";
20312                   border: 6 6 6 6;
20313                }
20314                image.middle: SOLID;
20315             }
20316             description { state: "selected" 0.0;
20317                inherit: "default" 0.0;
20318                visible: 1;
20319                color: 255 255 255 255;
20320                rel1 {
20321                   relative: 0.0 0.0;
20322                   offset: -2 -2;
20323                }
20324                rel2 {
20325                   relative: 1.0 1.0;
20326                   offset: 1 1;
20327                }
20328             }
20329          }
20330          part { name: "elm.swallow.pad";
20331             type: SWALLOW;
20332             description { state: "default" 0.0;
20333                fixed: 1 0;
20334                align: 0.0 0.5;
20335                rel1 {
20336                   relative: 0.0  0.0;
20337                   offset:   4    4;
20338                }
20339                rel2 {
20340                   relative: 0.0  1.0;
20341                   offset:   4   -5;
20342                }
20343             }
20344          }
20345          part { name: "arrow";
20346             clip_to: "disclip";
20347             ignore_flags: ON_HOLD;
20348             description { state: "default" 0.0;
20349                fixed: 1 0;
20350                align: 0.0 0.5;
20351                aspect: 1.0 1.0;
20352                rel1 {
20353                   to_x: "elm.swallow.pad";
20354                   relative: 1.0  0.0;
20355                   offset:   -1    4;
20356                }
20357                rel2 {
20358                   to_x: "elm.swallow.pad";
20359                   relative: 1.0  1.0;
20360                   offset:   -1   -5;
20361                }
20362                image.normal: "icon_arrow_right.png";
20363             }
20364             description { state: "active" 0.0;
20365                inherit: "default" 0.0;
20366                image.normal: "icon_arrow_down.png";
20367             }
20368          }
20369          part { name: "elm.swallow.icon";
20370             clip_to: "disclip";
20371             type: SWALLOW;
20372             description { state: "default" 0.0;
20373                fixed: 1 0;
20374                align: 0.0 0.5;
20375                rel1 {
20376                   to_x: "arrow";
20377                   relative: 1.0  0.0;
20378                   offset:   4    4;
20379                }
20380                rel2 {
20381                   to_x: "arrow";
20382                   relative: 1.0  1.0;
20383                   offset:   4   -5;
20384                }
20385             }
20386          }
20387          part { name: "elm.swallow.end";
20388             clip_to: "disclip";
20389             type: SWALLOW;
20390             description { state: "default" 0.0;
20391                fixed: 1 0;
20392                align: 1.0 0.5;
20393                aspect: 1.0 1.0;
20394                aspect_preference: VERTICAL;
20395                rel1 {
20396                   relative: 1.0  0.0;
20397                   offset:   -5    4;
20398                }
20399                rel2 {
20400                   relative: 1.0  1.0;
20401                   offset:   -5   -5;
20402                }
20403             }
20404          }
20405          part { name: "elm.text";
20406             clip_to: "disclip";
20407             type:           TEXT;
20408             effect:         SOFT_SHADOW;
20409             mouse_events:   0;
20410             scale: 1;
20411             description {
20412                state: "default" 0.0;
20413 //               min: 16 16;
20414                rel1 {
20415                   to_x:     "elm.swallow.icon";
20416                   relative: 1.0  0.0;
20417                   offset:   0 4;
20418                }
20419                rel2 {
20420                   to_x:     "elm.swallow.end";
20421                   relative: 0.0  0.5;
20422                   offset:   -1 -5;
20423                }
20424                color: 0 0 0 255;
20425                color3: 0 0 0 0;
20426                text {
20427                   font: "Sans";
20428                   size: 10;
20429                   min: 1 1;
20430 //                  min: 0 1;
20431                   align: 0.0 0.5;
20432                   text_class: "list_item";
20433                }
20434             }
20435             description { state: "selected" 0.0;
20436                inherit: "default" 0.0;
20437                color: 224 224 224 255;
20438                color3: 0 0 0 64;
20439             }
20440          }
20441          part { name: "elm.text.sub";
20442             clip_to: "disclip";
20443             type:           TEXT;
20444             mouse_events:   0;
20445             scale: 1;
20446             description {
20447                state: "default" 0.0;
20448 //               min: 16 16;
20449                rel1 {
20450                   to_x:     "elm.swallow.icon";
20451                   relative: 1.0  0.5;
20452                   offset:   0 4;
20453                }
20454                rel2 {
20455                   to_x:     "elm.swallow.end";
20456                   relative: 0.0  1.0;
20457                   offset:   -1 -5;
20458                }
20459                color: 0 0 0 128;
20460                color3: 0 0 0 0;
20461                text {
20462                   font: "Sans";
20463                   size: 8;
20464                   min: 1 1;
20465 //                  min: 0 1;
20466                   align: 0.0 0.5;
20467                   text_class: "list_item";
20468                }
20469             }
20470             description { state: "selected" 0.0;
20471                inherit: "default" 0.0;
20472                color: 128 128 128 255;
20473                color3: 0 0 0 32;
20474             }
20475          }
20476          part { name: "fg1";
20477             clip_to: "disclip";
20478             mouse_events: 0;
20479             description { state: "default" 0.0;
20480                visible: 0;
20481                color: 255 255 255 0;
20482                rel1.to: "bg";
20483                rel2.relative: 1.0 0.5;
20484                rel2.to: "bg";
20485                image {
20486                   normal: "bt_sm_hilight.png";
20487                   border: 6 6 6 0;
20488                }
20489             }
20490             description { state: "selected" 0.0;
20491                inherit: "default" 0.0;
20492                visible: 1;
20493                color: 255 255 255 255;
20494             }
20495          }
20496          part { name: "fg2";
20497             clip_to: "disclip";
20498             mouse_events: 0;
20499             description { state: "default" 0.0;
20500                visible: 0;
20501                color: 255 255 255 0;
20502                rel1.to: "bg";
20503                rel2.to: "bg";
20504                image {
20505                   normal: "bt_sm_shine.png";
20506                   border: 6 6 6 0;
20507                }
20508             }
20509             description { state: "selected" 0.0;
20510                inherit: "default" 0.0;
20511                visible: 1;
20512                color: 255 255 255 255;
20513             }
20514          }
20515          part { name: "disclip";
20516             type: RECT;
20517             description { state: "default" 0.0;
20518                rel1.to: "bg";
20519                rel2.to: "bg";
20520             }
20521             description { state: "disabled" 0.0;
20522                inherit: "default" 0.0;
20523                color: 255 255 255 64;
20524             }
20525          }
20526       }
20527       programs {
20528          // signal: elm,state,%s,active
20529          //   a "check" item named %s went active
20530          // signal: elm,state,%s,passive
20531          //   a "check" item named %s went passive
20532          // default is passive
20533          program {
20534             name:    "go_active";
20535             signal:  "elm,state,selected";
20536             source:  "elm";
20537             action:  STATE_SET "selected" 0.0;
20538             target:  "bg";
20539             target:  "fg1";
20540             target:  "fg2";
20541             target:  "elm.text";
20542             target:  "elm.text.sub";
20543          }
20544          program {
20545             name:    "go_passive";
20546             signal:  "elm,state,unselected";
20547             source:  "elm";
20548             action:  STATE_SET "default" 0.0;
20549             target:  "bg";
20550             target:  "fg1";
20551             target:  "fg2";
20552             target:  "elm.text";
20553             target:  "elm.text.sub";
20554             transition: LINEAR 0.1;
20555          }
20556          program {
20557             name:    "go_disabled";
20558             signal:  "elm,state,disabled";
20559             source:  "elm";
20560             action:  STATE_SET "disabled" 0.0;
20561             target:  "disclip";
20562          }
20563          program {
20564             name:    "go_enabled";
20565             signal:  "elm,state,enabled";
20566             source:  "elm";
20567             action:  STATE_SET "default" 0.0;
20568             target:  "disclip";
20569          }
20570          program {
20571             name:    "expand";
20572             signal:  "mouse,up,1";
20573             source:  "arrow";
20574             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
20575          }
20576          program {
20577             name:    "go_expanded";
20578             signal:  "elm,state,expanded";
20579             source:  "elm";
20580             action:  STATE_SET "active" 0.0;
20581             target:  "arrow";
20582          }
20583          program {
20584             name:    "go_contracted";
20585             signal:  "elm,state,contracted";
20586             source:  "elm";
20587             action:  STATE_SET "default" 0.0;
20588             target:  "arrow";
20589          }
20590       }
20591    }
20592    group { name: "elm/genlist/tree_compress/double_label/default";
20593       data.item: "stacking" "above";
20594       data.item: "selectraise" "on";
20595       data.item: "labels" "elm.text elm.text.sub";
20596       data.item: "icons" "elm.swallow.icon elm.swallow.end";
20597       data.item: "treesize" "20";
20598 //      data.item: "states" "";
20599       images {
20600          image: "bt_sm_base1.png" COMP;
20601          image: "bt_sm_shine.png" COMP;
20602          image: "bt_sm_hilight.png" COMP;
20603          image: "ilist_1.png" COMP;
20604          image: "ilist_item_shadow.png" COMP;
20605          image: "icon_arrow_right.png" COMP;
20606          image: "icon_arrow_down.png" COMP;
20607       }
20608       parts {
20609          part {
20610             name:           "event";
20611             type:           RECT;
20612             repeat_events: 1;
20613             description {
20614                state: "default" 0.0;
20615                color: 0 0 0 0;
20616             }
20617          }
20618          part {
20619             name: "base_sh";
20620             mouse_events: 0;
20621             description {
20622                state: "default" 0.0;
20623                align: 0.0 0.0;
20624                min: 0 10;
20625                fixed: 1 1;
20626                rel1 {
20627                   to: "base";
20628                   relative: 0.0 1.0;
20629                   offset: 0 0;
20630                }
20631                rel2 {
20632                   to: "base";
20633                   relative: 1.0 1.0;
20634                   offset: -1 0;
20635                }
20636                image {
20637                   normal: "ilist_item_shadow.png";
20638                }
20639                fill.smooth: 0;
20640             }
20641          }
20642          part {
20643             name: "base";
20644             mouse_events: 0;
20645             description {
20646                state: "default" 0.0;
20647                image {
20648                   normal: "ilist_1.png";
20649                   border: 2 2 2 2;
20650                }
20651                fill.smooth: 0;
20652             }
20653          }
20654          part { name: "bg";
20655             clip_to: "disclip";
20656             mouse_events: 0;
20657             description { state: "default" 0.0;
20658                visible: 0;
20659                color: 255 255 255 0;
20660                rel1 {
20661                   relative: 0.0 0.0;
20662                   offset: -5 -5;
20663                }
20664                rel2 {
20665                   relative: 1.0 1.0;
20666                   offset: 4 4;
20667                }
20668                image {
20669                   normal: "bt_sm_base1.png";
20670                   border: 6 6 6 6;
20671                }
20672                image.middle: SOLID;
20673             }
20674             description { state: "selected" 0.0;
20675                inherit: "default" 0.0;
20676                visible: 1;
20677                color: 255 255 255 255;
20678                rel1 {
20679                   relative: 0.0 0.0;
20680                   offset: -2 -2;
20681                }
20682                rel2 {
20683                   relative: 1.0 1.0;
20684                   offset: 1 1;
20685                }
20686             }
20687          }
20688          part { name: "elm.swallow.pad";
20689             type: SWALLOW;
20690             description { state: "default" 0.0;
20691                fixed: 1 0;
20692                align: 0.0 0.5;
20693                rel1 {
20694                   relative: 0.0  0.0;
20695                   offset:   4    4;
20696                }
20697                rel2 {
20698                   relative: 0.0  1.0;
20699                   offset:   4   -5;
20700                }
20701             }
20702          }
20703          part { name: "arrow";
20704             clip_to: "disclip";
20705             ignore_flags: ON_HOLD;
20706             description { state: "default" 0.0;
20707                fixed: 1 0;
20708                align: 0.0 0.5;
20709                aspect: 1.0 1.0;
20710                rel1 {
20711                   to_x: "elm.swallow.pad";
20712                   relative: 1.0  0.0;
20713                   offset:   -1    4;
20714                }
20715                rel2 {
20716                   to_x: "elm.swallow.pad";
20717                   relative: 1.0  1.0;
20718                   offset:   -1   -5;
20719                }
20720                image.normal: "icon_arrow_right.png";
20721             }
20722             description { state: "active" 0.0;
20723                inherit: "default" 0.0;
20724                image.normal: "icon_arrow_down.png";
20725             }
20726          }
20727          part { name: "elm.swallow.icon";
20728             clip_to: "disclip";
20729             type: SWALLOW;
20730             description { state: "default" 0.0;
20731                fixed: 1 0;
20732                align: 0.0 0.5;
20733                rel1 {
20734                   to_x: "arrow";
20735                   relative: 1.0  0.0;
20736                   offset:   4    4;
20737                }
20738                rel2 {
20739                   to_x: "arrow";
20740                   relative: 1.0  1.0;
20741                   offset:   4   -5;
20742                }
20743             }
20744          }
20745          part { name: "elm.swallow.end";
20746             clip_to: "disclip";
20747             type: SWALLOW;
20748             description { state: "default" 0.0;
20749                fixed: 1 0;
20750                align: 1.0 0.5;
20751                aspect: 1.0 1.0;
20752                aspect_preference: VERTICAL;
20753                rel1 {
20754                   relative: 1.0  0.0;
20755                   offset:   -5    4;
20756                }
20757                rel2 {
20758                   relative: 1.0  1.0;
20759                   offset:   -5   -5;
20760                }
20761             }
20762          }
20763          part { name: "elm.text";
20764             clip_to: "disclip";
20765             type:           TEXT;
20766             effect:         SOFT_SHADOW;
20767             mouse_events:   0;
20768             scale: 1;
20769             description {
20770                state: "default" 0.0;
20771 //               min: 16 16;
20772                rel1 {
20773                   to_x:     "elm.swallow.icon";
20774                   relative: 1.0  0.0;
20775                   offset:   0 4;
20776                }
20777                rel2 {
20778                   to_x:     "elm.swallow.end";
20779                   relative: 0.0  0.5;
20780                   offset:   -1 -5;
20781                }
20782                color: 0 0 0 255;
20783                color3: 0 0 0 0;
20784                text {
20785                   font: "Sans";
20786                   size: 10;
20787 //                  min: 1 1;
20788                   min: 0 1;
20789                   align: 0.0 0.5;
20790                   text_class: "list_item";
20791                }
20792             }
20793             description { state: "selected" 0.0;
20794                inherit: "default" 0.0;
20795                color: 224 224 224 255;
20796                color3: 0 0 0 64;
20797             }
20798          }
20799          part { name: "elm.text.sub";
20800             clip_to: "disclip";
20801             type:           TEXT;
20802             mouse_events:   0;
20803             scale: 1;
20804             description {
20805                state: "default" 0.0;
20806 //               min: 16 16;
20807                rel1 {
20808                   to_x:     "elm.swallow.icon";
20809                   relative: 1.0  0.5;
20810                   offset:   0 4;
20811                }
20812                rel2 {
20813                   to_x:     "elm.swallow.end";
20814                   relative: 0.0  1.0;
20815                   offset:   -1 -5;
20816                }
20817                color: 0 0 0 128;
20818                color3: 0 0 0 0;
20819                text {
20820                   font: "Sans";
20821                   size: 8;
20822 //                  min: 1 1;
20823                   min: 0 1;
20824                   align: 0.0 0.5;
20825                   text_class: "list_item";
20826                }
20827             }
20828             description { state: "selected" 0.0;
20829                inherit: "default" 0.0;
20830                color: 128 128 128 255;
20831                color3: 0 0 0 32;
20832             }
20833          }
20834          part { name: "fg1";
20835             clip_to: "disclip";
20836             mouse_events: 0;
20837             description { state: "default" 0.0;
20838                visible: 0;
20839                color: 255 255 255 0;
20840                rel1.to: "bg";
20841                rel2.relative: 1.0 0.5;
20842                rel2.to: "bg";
20843                image {
20844                   normal: "bt_sm_hilight.png";
20845                   border: 6 6 6 0;
20846                }
20847             }
20848             description { state: "selected" 0.0;
20849                inherit: "default" 0.0;
20850                visible: 1;
20851                color: 255 255 255 255;
20852             }
20853          }
20854          part { name: "fg2";
20855             clip_to: "disclip";
20856             mouse_events: 0;
20857             description { state: "default" 0.0;
20858                visible: 0;
20859                color: 255 255 255 0;
20860                rel1.to: "bg";
20861                rel2.to: "bg";
20862                image {
20863                   normal: "bt_sm_shine.png";
20864                   border: 6 6 6 0;
20865                }
20866             }
20867             description { state: "selected" 0.0;
20868                inherit: "default" 0.0;
20869                visible: 1;
20870                color: 255 255 255 255;
20871             }
20872          }
20873          part { name: "disclip";
20874             type: RECT;
20875             description { state: "default" 0.0;
20876                rel1.to: "bg";
20877                rel2.to: "bg";
20878             }
20879             description { state: "disabled" 0.0;
20880                inherit: "default" 0.0;
20881                color: 255 255 255 64;
20882             }
20883          }
20884       }
20885       programs {
20886          // signal: elm,state,%s,active
20887          //   a "check" item named %s went active
20888          // signal: elm,state,%s,passive
20889          //   a "check" item named %s went passive
20890          // default is passive
20891          program {
20892             name:    "go_active";
20893             signal:  "elm,state,selected";
20894             source:  "elm";
20895             action:  STATE_SET "selected" 0.0;
20896             target:  "bg";
20897             target:  "fg1";
20898             target:  "fg2";
20899             target:  "elm.text";
20900             target:  "elm.text.sub";
20901          }
20902          program {
20903             name:    "go_passive";
20904             signal:  "elm,state,unselected";
20905             source:  "elm";
20906             action:  STATE_SET "default" 0.0;
20907             target:  "bg";
20908             target:  "fg1";
20909             target:  "fg2";
20910             target:  "elm.text";
20911             target:  "elm.text.sub";
20912             transition: LINEAR 0.1;
20913          }
20914          program {
20915             name:    "go_disabled";
20916             signal:  "elm,state,disabled";
20917             source:  "elm";
20918             action:  STATE_SET "disabled" 0.0;
20919             target:  "disclip";
20920          }
20921          program {
20922             name:    "go_enabled";
20923             signal:  "elm,state,enabled";
20924             source:  "elm";
20925             action:  STATE_SET "default" 0.0;
20926             target:  "disclip";
20927          }
20928          program {
20929             name:    "expand";
20930             signal:  "mouse,up,1";
20931             source:  "arrow";
20932             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
20933          }
20934          program {
20935             name:    "go_expanded";
20936             signal:  "elm,state,expanded";
20937             source:  "elm";
20938             action:  STATE_SET "active" 0.0;
20939             target:  "arrow";
20940          }
20941          program {
20942             name:    "go_contracted";
20943             signal:  "elm,state,contracted";
20944             source:  "elm";
20945             action:  STATE_SET "default" 0.0;
20946             target:  "arrow";
20947          }
20948       }
20949    }
20950    group { name: "elm/genlist/tree_odd/double_label/default";
20951       data.item: "stacking" "below";
20952       data.item: "selectraise" "on";
20953       data.item: "labels" "elm.text elm.text.sub";
20954       data.item: "icons" "elm.swallow.icon elm.swallow.end";
20955       data.item: "treesize" "20";
20956 //      data.item: "states" "";
20957       images {
20958          image: "bt_sm_base1.png" COMP;
20959          image: "bt_sm_shine.png" COMP;
20960          image: "bt_sm_hilight.png" COMP;
20961          image: "ilist_2.png" COMP;
20962          image: "icon_arrow_right.png" COMP;
20963          image: "icon_arrow_down.png" COMP;
20964       }
20965       parts {
20966          part {
20967             name:           "event";
20968             type:           RECT;
20969             repeat_events: 1;
20970             description {
20971                state: "default" 0.0;
20972                color: 0 0 0 0;
20973             }
20974          }
20975          part {
20976             name: "base";
20977             mouse_events: 0;
20978             description {
20979                state: "default" 0.0;
20980                image {
20981                   normal: "ilist_2.png";
20982                   border: 2 2 2 2;
20983                }
20984                fill.smooth: 0;
20985             }
20986          }
20987          part { name: "bg";
20988             clip_to: "disclip";
20989             mouse_events: 0;
20990             description { state: "default" 0.0;
20991                visible: 0;
20992                color: 255 255 255 0;
20993                rel1 {
20994                   relative: 0.0 0.0;
20995                   offset: -5 -5;
20996                }
20997                rel2 {
20998                   relative: 1.0 1.0;
20999                   offset: 4 4;
21000                }
21001                image {
21002                   normal: "bt_sm_base1.png";
21003                   border: 6 6 6 6;
21004                }
21005                image.middle: SOLID;
21006             }
21007             description { state: "selected" 0.0;
21008                inherit: "default" 0.0;
21009                visible: 1;
21010                color: 255 255 255 255;
21011                rel1 {
21012                   relative: 0.0 0.0;
21013                   offset: -2 -2;
21014                }
21015                rel2 {
21016                   relative: 1.0 1.0;
21017                   offset: 1 1;
21018                }
21019             }
21020          }
21021          part { name: "elm.swallow.pad";
21022             type: SWALLOW;
21023             description { state: "default" 0.0;
21024                fixed: 1 0;
21025                align: 0.0 0.5;
21026                rel1 {
21027                   relative: 0.0  0.0;
21028                   offset:   4    4;
21029                }
21030                rel2 {
21031                   relative: 0.0  1.0;
21032                   offset:   4   -5;
21033                }
21034             }
21035          }
21036          part { name: "arrow";
21037             clip_to: "disclip";
21038             ignore_flags: ON_HOLD;
21039             description { state: "default" 0.0;
21040                fixed: 1 0;
21041                align: 0.0 0.5;
21042                aspect: 1.0 1.0;
21043                rel1 {
21044                   to_x: "elm.swallow.pad";
21045                   relative: 1.0  0.0;
21046                   offset:   -1    4;
21047                }
21048                rel2 {
21049                   to_x: "elm.swallow.pad";
21050                   relative: 1.0  1.0;
21051                   offset:   -1   -5;
21052                }
21053                image.normal: "icon_arrow_right.png";
21054             }
21055             description { state: "active" 0.0;
21056                inherit: "default" 0.0;
21057                image.normal: "icon_arrow_down.png";
21058             }
21059          }
21060          part { name: "elm.swallow.icon";
21061             clip_to: "disclip";
21062             type: SWALLOW;
21063             description { state: "default" 0.0;
21064                fixed: 1 0;
21065                align: 0.0 0.5;
21066                rel1 {
21067                   to_x: "arrow";
21068                   relative: 1.0  0.0;
21069                   offset:   4    4;
21070                }
21071                rel2 {
21072                   to_x: "arrow";
21073                   relative: 1.0  1.0;
21074                   offset:   4   -5;
21075                }
21076             }
21077          }
21078          part { name: "elm.swallow.end";
21079             clip_to: "disclip";
21080             type: SWALLOW;
21081             description { state: "default" 0.0;
21082                fixed: 1 0;
21083                align: 1.0 0.5;
21084                aspect: 1.0 1.0;
21085                aspect_preference: VERTICAL;
21086                rel1 {
21087                   relative: 1.0  0.0;
21088                   offset:   -5    4;
21089                }
21090                rel2 {
21091                   relative: 1.0  1.0;
21092                   offset:   -5   -5;
21093                }
21094             }
21095          }
21096          part { name: "elm.text";
21097             clip_to: "disclip";
21098             type:           TEXT;
21099             effect:         SOFT_SHADOW;
21100             mouse_events:   0;
21101             scale: 1;
21102             description {
21103                state: "default" 0.0;
21104 //               min: 16 16;
21105                rel1 {
21106                   to_x:     "elm.swallow.icon";
21107                   relative: 1.0  0.0;
21108                   offset:   0 4;
21109                }
21110                rel2 {
21111                   to_x:     "elm.swallow.end";
21112                   relative: 0.0  0.5;
21113                   offset:   -1 -5;
21114                }
21115                color: 0 0 0 255;
21116                color3: 0 0 0 0;
21117                text {
21118                   font: "Sans";
21119                   size: 10;
21120                   min: 1 1;
21121 //                  min: 0 1;
21122                   align: 0.0 0.5;
21123                   text_class: "list_item";
21124                }
21125             }
21126             description { state: "selected" 0.0;
21127                inherit: "default" 0.0;
21128                color: 224 224 224 255;
21129                color3: 0 0 0 64;
21130             }
21131          }
21132          part { name: "elm.text.sub";
21133             clip_to: "disclip";
21134             type:           TEXT;
21135             mouse_events:   0;
21136             scale: 1;
21137             description {
21138                state: "default" 0.0;
21139 //               min: 16 16;
21140                rel1 {
21141                   to_x:     "elm.swallow.icon";
21142                   relative: 1.0  0.5;
21143                   offset:   0 4;
21144                }
21145                rel2 {
21146                   to_x:     "elm.swallow.end";
21147                   relative: 0.0  1.0;
21148                   offset:   -1 -5;
21149                }
21150                color: 0 0 0 128;
21151                color3: 0 0 0 0;
21152                text {
21153                   font: "Sans";
21154                   size: 8;
21155                   min: 1 1;
21156 //                  min: 0 1;
21157                   align: 0.0 0.5;
21158                   text_class: "list_item";
21159                }
21160             }
21161             description { state: "selected" 0.0;
21162                inherit: "default" 0.0;
21163                color: 128 128 128 255;
21164                color3: 0 0 0 32;
21165             }
21166          }
21167          part { name: "fg1";
21168             clip_to: "disclip";
21169             mouse_events: 0;
21170             description { state: "default" 0.0;
21171                visible: 0;
21172                color: 255 255 255 0;
21173                rel1.to: "bg";
21174                rel2.relative: 1.0 0.5;
21175                rel2.to: "bg";
21176                image {
21177                   normal: "bt_sm_hilight.png";
21178                   border: 6 6 6 0;
21179                }
21180             }
21181             description { state: "selected" 0.0;
21182                inherit: "default" 0.0;
21183                visible: 1;
21184                color: 255 255 255 255;
21185             }
21186          }
21187          part { name: "fg2";
21188             clip_to: "disclip";
21189             mouse_events: 0;
21190             description { state: "default" 0.0;
21191                visible: 0;
21192                color: 255 255 255 0;
21193                rel1.to: "bg";
21194                rel2.to: "bg";
21195                image {
21196                   normal: "bt_sm_shine.png";
21197                   border: 6 6 6 0;
21198                }
21199             }
21200             description { state: "selected" 0.0;
21201                inherit: "default" 0.0;
21202                visible: 1;
21203                color: 255 255 255 255;
21204             }
21205          }
21206          part { name: "disclip";
21207             type: RECT;
21208             description { state: "default" 0.0;
21209                rel1.to: "bg";
21210                rel2.to: "bg";
21211             }
21212             description { state: "disabled" 0.0;
21213                inherit: "default" 0.0;
21214                color: 255 255 255 64;
21215             }
21216          }
21217       }
21218       programs {
21219          // signal: elm,state,%s,active
21220          //   a "check" item named %s went active
21221          // signal: elm,state,%s,passive
21222          //   a "check" item named %s went passive
21223          // default is passive
21224          program {
21225             name:    "go_active";
21226             signal:  "elm,state,selected";
21227             source:  "elm";
21228             action:  STATE_SET "selected" 0.0;
21229             target:  "bg";
21230             target:  "fg1";
21231             target:  "fg2";
21232             target:  "elm.text";
21233             target:  "elm.text.sub";
21234          }
21235          program {
21236             name:    "go_passive";
21237             signal:  "elm,state,unselected";
21238             source:  "elm";
21239             action:  STATE_SET "default" 0.0;
21240             target:  "bg";
21241             target:  "fg1";
21242             target:  "fg2";
21243             target:  "elm.text";
21244             target:  "elm.text.sub";
21245             transition: LINEAR 0.1;
21246          }
21247          program {
21248             name:    "go_disabled";
21249             signal:  "elm,state,disabled";
21250             source:  "elm";
21251             action:  STATE_SET "disabled" 0.0;
21252             target:  "disclip";
21253          }
21254          program {
21255             name:    "go_enabled";
21256             signal:  "elm,state,enabled";
21257             source:  "elm";
21258             action:  STATE_SET "default" 0.0;
21259             target:  "disclip";
21260          }
21261          program {
21262             name:    "expand";
21263             signal:  "mouse,up,1";
21264             source:  "arrow";
21265             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
21266          }
21267          program {
21268             name:    "go_expanded";
21269             signal:  "elm,state,expanded";
21270             source:  "elm";
21271             action:  STATE_SET "active" 0.0;
21272             target:  "arrow";
21273          }
21274          program {
21275             name:    "go_contracted";
21276             signal:  "elm,state,contracted";
21277             source:  "elm";
21278             action:  STATE_SET "default" 0.0;
21279             target:  "arrow";
21280          }
21281       }
21282    }
21283
21284    group { name: "elm/genlist/item/icon_top_text_bottom/default";
21285       data.item: "stacking" "above";
21286       data.item: "selectraise" "on";
21287       data.item: "labels" "elm.text";
21288       data.item: "icons" "elm.swallow.icon";
21289       data.item: "treesize" "20";
21290 //      data.item: "states" "";
21291       images {
21292          image: "bt_sm_base1.png" COMP;
21293          image: "bt_sm_shine.png" COMP;
21294          image: "bt_sm_hilight.png" COMP;
21295          image: "ilist_1.png" COMP;
21296          image: "ilist_item_shadow.png" COMP;
21297       }
21298       parts {
21299          part {
21300             name:           "event";
21301             type:           RECT;
21302             repeat_events: 1;
21303             description {
21304                state: "default" 0.0;
21305                color: 0 0 0 0;
21306             }
21307          }
21308          part {
21309             name: "base_sh";
21310             mouse_events: 0;
21311             description {
21312                state: "default" 0.0;
21313                align: 0.0 0.0;
21314                min: 0 10;
21315                fixed: 1 1;
21316                rel1 {
21317                   to: "base";
21318                   relative: 0.0 1.0;
21319                   offset: 0 0;
21320                }
21321                rel2 {
21322                   to: "base";
21323                   relative: 1.0 1.0;
21324                   offset: -1 0;
21325                }
21326                image {
21327                   normal: "ilist_item_shadow.png";
21328                }
21329                fill.smooth: 0;
21330             }
21331          }
21332          part {
21333             name: "base";
21334             mouse_events: 0;
21335             description {
21336                state: "default" 0.0;
21337                image {
21338                   normal: "ilist_1.png";
21339                   border: 2 2 2 2;
21340                }
21341                fill.smooth: 0;
21342             }
21343          }
21344          part { name: "bg";
21345             clip_to: "disclip";
21346             mouse_events: 0;
21347             description { state: "default" 0.0;
21348                visible: 0;
21349                color: 255 255 255 0;
21350                rel1 {
21351                   relative: 0.0 0.0;
21352                   offset: -5 -5;
21353                }
21354                rel2 {
21355                   relative: 1.0 1.0;
21356                   offset: 4 4;
21357                }
21358                image {
21359                   normal: "bt_sm_base1.png";
21360                   border: 6 6 6 6;
21361                }
21362                image.middle: SOLID;
21363             }
21364             description { state: "selected" 0.0;
21365                inherit: "default" 0.0;
21366                visible: 1;
21367                color: 255 255 255 255;
21368                rel1 {
21369                   relative: 0.0 0.0;
21370                   offset: -2 -2;
21371                }
21372                rel2 {
21373                   relative: 1.0 1.0;
21374                   offset: 1 1;
21375                }
21376             }
21377          }
21378          part { name: "elm.swallow.pad";
21379             type: SWALLOW;
21380             description { state: "default" 0.0;
21381                fixed: 1 0;
21382                align: 0.0 0.5;
21383                rel1 {
21384                   relative: 0.0  0.0;
21385                   offset:   4    4;
21386                }
21387                rel2 {
21388                   relative: 1.0  1.0;
21389                   offset:   -4   -5;
21390                }
21391             }
21392          }
21393          part { name: "elm.swallow.icon";
21394             clip_to: "disclip";
21395             type: SWALLOW;
21396             description { state: "default" 0.0;
21397                fixed: 1 0;
21398                align: 0.5 0.5;
21399                rel1 {
21400                   to_x: "elm.swallow.pad";
21401                   relative: 0.0  0.0;
21402                   offset:   -1    4;
21403                }
21404                rel2 {
21405                   to_x: "elm.swallow.pad";
21406                   relative: 1.0  1.0;
21407                   offset:   -1   -5;
21408                }
21409             }
21410          }
21411          part { name: "elm.text";
21412             clip_to: "disclip";
21413             type:           TEXT;
21414             effect:         SOFT_SHADOW;
21415             mouse_events:   0;
21416             scale: 1;
21417             description {
21418                state: "default" 0.0;
21419 //               min: 16 16;
21420                rel1 {
21421                   to_y:     "elm.swallow.icon";
21422                   relative: 0.0  1.0;
21423                   offset:   0 4;
21424                }
21425                rel2 {
21426                   relative: 1.0  1.0;
21427                   offset:   -5 -5;
21428                }
21429                color: 0 0 0 255;
21430                color3: 0 0 0 0;
21431                text {
21432                   font: "Sans";
21433                   size: 10;
21434                   min: 1 1;
21435 //                  min: 0 1;
21436                   align: 0.5 0.5;
21437                   text_class: "list_item";
21438                }
21439             }
21440             description { state: "selected" 0.0;
21441                inherit: "default" 0.0;
21442                color: 224 224 224 255;
21443                color3: 0 0 0 64;
21444             }
21445          }
21446          part { name: "fg1";
21447             clip_to: "disclip";
21448             mouse_events: 0;
21449             description { state: "default" 0.0;
21450                visible: 0;
21451                color: 255 255 255 0;
21452                rel1.to: "bg";
21453                rel2.relative: 1.0 0.5;
21454                rel2.to: "bg";
21455                image {
21456                   normal: "bt_sm_hilight.png";
21457                   border: 6 6 6 0;
21458                }
21459             }
21460             description { state: "selected" 0.0;
21461                inherit: "default" 0.0;
21462                visible: 1;
21463                color: 255 255 255 255;
21464             }
21465          }
21466          part { name: "fg2";
21467             clip_to: "disclip";
21468             mouse_events: 0;
21469             description { state: "default" 0.0;
21470                visible: 0;
21471                color: 255 255 255 0;
21472                rel1.to: "bg";
21473                rel2.to: "bg";
21474                image {
21475                   normal: "bt_sm_shine.png";
21476                   border: 6 6 6 0;
21477                }
21478             }
21479             description { state: "selected" 0.0;
21480                inherit: "default" 0.0;
21481                visible: 1;
21482                color: 255 255 255 255;
21483             }
21484          }
21485          part { name: "disclip";
21486             type: RECT;
21487             description { state: "default" 0.0;
21488                rel1.to: "bg";
21489                rel2.to: "bg";
21490             }
21491             description { state: "disabled" 0.0;
21492                inherit: "default" 0.0;
21493                color: 255 255 255 64;
21494             }
21495          }
21496       }
21497       programs {
21498          // signal: elm,state,%s,active
21499          //   a "check" item named %s went active
21500          // signal: elm,state,%s,passive
21501          //   a "check" item named %s went passive
21502          // default is passive
21503          program {
21504             name:    "go_active";
21505             signal:  "elm,state,selected";
21506             source:  "elm";
21507             action:  STATE_SET "selected" 0.0;
21508             target:  "bg";
21509             target:  "fg1";
21510             target:  "fg2";
21511             target:  "elm.text";
21512          }
21513          program {
21514             name:    "go_passive";
21515             signal:  "elm,state,unselected";
21516             source:  "elm";
21517             action:  STATE_SET "default" 0.0;
21518             target:  "bg";
21519             target:  "fg1";
21520             target:  "fg2";
21521             target:  "elm.text";
21522             transition: LINEAR 0.1;
21523          }
21524          program {
21525             name:    "go_disabled";
21526             signal:  "elm,state,disabled";
21527             source:  "elm";
21528             action:  STATE_SET "disabled" 0.0;
21529             target:  "disclip";
21530          }
21531          program {
21532             name:    "go_enabled";
21533             signal:  "elm,state,enabled";
21534             source:  "elm";
21535             action:  STATE_SET "default" 0.0;
21536             target:  "disclip";
21537          }
21538       }
21539    }
21540    group { name: "elm/genlist/item_odd/icon_top_text_bottom/default";
21541       data.item: "stacking" "below";
21542       data.item: "selectraise" "on";
21543       data.item: "labels" "elm.text";
21544       data.item: "icons" "elm.swallow.icon";
21545       data.item: "treesize" "20";
21546 //      data.item: "states" "";
21547       images {
21548          image: "bt_sm_base1.png" COMP;
21549          image: "bt_sm_shine.png" COMP;
21550          image: "bt_sm_hilight.png" COMP;
21551          image: "ilist_2.png" COMP;
21552       }
21553       parts {
21554          part { name: "event";
21555             type: RECT;
21556             repeat_events: 1;
21557             description {
21558                state: "default" 0.0;
21559                color: 0 0 0 0;
21560             }
21561          }
21562          part {
21563             name: "base";
21564             mouse_events: 0;
21565             description {
21566                state: "default" 0.0;
21567                image {
21568                   normal: "ilist_2.png";
21569                   border: 2 2 2 2;
21570                }
21571                fill.smooth: 0;
21572             }
21573          }
21574          part { name: "bg";
21575             clip_to: "disclip";
21576             mouse_events: 0;
21577             description { state: "default" 0.0;
21578                visible: 0;
21579                color: 255 255 255 0;
21580                rel1 {
21581                   relative: 0.0 0.0;
21582                   offset: -5 -5;
21583                }
21584                rel2 {
21585                   relative: 1.0 1.0;
21586                   offset: 4 4;
21587                }
21588                image {
21589                   normal: "bt_sm_base1.png";
21590                   border: 6 6 6 6;
21591                }
21592                image.middle: SOLID;
21593             }
21594             description { state: "selected" 0.0;
21595                inherit: "default" 0.0;
21596                visible: 1;
21597                color: 255 255 255 255;
21598                rel1 {
21599                   relative: 0.0 0.0;
21600                   offset: -2 -2;
21601                }
21602                rel2 {
21603                   relative: 1.0 1.0;
21604                   offset: 1 1;
21605                }
21606             }
21607          }
21608          part { name: "elm.swallow.pad";
21609             type: SWALLOW;
21610             description { state: "default" 0.0;
21611                fixed: 1 0;
21612                align: 0.0 0.5;
21613                rel1 {
21614                   relative: 0.0  0.0;
21615                   offset:   4    4;
21616                }
21617                rel2 {
21618                   relative: 1.0  1.0;
21619                   offset:   -4   -5;
21620                }
21621             }
21622          }
21623          part { name: "elm.swallow.icon";
21624             clip_to: "disclip";
21625             type: SWALLOW;
21626             description { state: "default" 0.0;
21627                fixed: 1 0;
21628                align: 0.5 0.5;
21629                rel1 {
21630                   to_x: "elm.swallow.pad";
21631                   relative: 0.0  0.0;
21632                   offset:   -1    4;
21633                }
21634                rel2 {
21635                   to_x: "elm.swallow.pad";
21636                   relative: 1.0  1.0;
21637                   offset:   -1   -5;
21638                }
21639             }
21640          }
21641          part { name: "elm.text";
21642             clip_to: "disclip";
21643             type:           TEXT;
21644             effect:         SOFT_SHADOW;
21645             mouse_events:   0;
21646             scale: 1;
21647             description {
21648                state: "default" 0.0;
21649 //               min:      16 16;
21650                rel1 {
21651                   to_y:     "elm.swallow.icon";
21652                   relative: 0.0  1.0;
21653                   offset:   0 4;
21654                }
21655                rel2 {
21656                   relative: 1.0  1.0;
21657                   offset:   -5 -5;
21658                }
21659                color: 0 0 0 255;
21660                color3: 0 0 0 0;
21661                text {
21662                   font: "Sans";
21663                   size: 10;
21664                   min: 1 1;
21665 //                  min: 0 1;
21666                   align: 0.5 0.5;
21667                   text_class: "list_item";
21668                }
21669             }
21670             description { state: "selected" 0.0;
21671                inherit: "default" 0.0;
21672                color: 224 224 224 255;
21673                color3: 0 0 0 64;
21674             }
21675          }
21676          part { name: "fg1";
21677             clip_to: "disclip";
21678             mouse_events: 0;
21679             description { state: "default" 0.0;
21680                visible: 0;
21681                color: 255 255 255 0;
21682                rel1.to: "bg";
21683                rel2.relative: 1.0 0.5;
21684                rel2.to: "bg";
21685                image {
21686                   normal: "bt_sm_hilight.png";
21687                   border: 6 6 6 0;
21688                }
21689             }
21690             description { state: "selected" 0.0;
21691                inherit: "default" 0.0;
21692                visible: 1;
21693                color: 255 255 255 255;
21694             }
21695          }
21696          part { name: "fg2";
21697             clip_to: "disclip";
21698             mouse_events: 0;
21699             description { state: "default" 0.0;
21700                visible: 0;
21701                color: 255 255 255 0;
21702                rel1.to: "bg";
21703                rel2.to: "bg";
21704                image {
21705                   normal: "bt_sm_shine.png";
21706                   border: 6 6 6 0;
21707                }
21708             }
21709             description { state: "selected" 0.0;
21710                inherit: "default" 0.0;
21711                visible: 1;
21712                color: 255 255 255 255;
21713             }
21714          }
21715          part { name: "disclip";
21716             type: RECT;
21717             description { state: "default" 0.0;
21718                rel1.to: "bg";
21719                rel2.to: "bg";
21720             }
21721             description { state: "disabled" 0.0;
21722                inherit: "default" 0.0;
21723                color: 255 255 255 64;
21724             }
21725          }
21726       }
21727       programs {
21728          // signal: elm,state,%s,active
21729          //   a "check" item named %s went active
21730          // signal: elm,state,%s,passive
21731          //   a "check" item named %s went passive
21732          // default is passive
21733          program {
21734             name:    "go_active";
21735             signal:  "elm,state,selected";
21736             source:  "elm";
21737             action:  STATE_SET "selected" 0.0;
21738             target:  "bg";
21739             target:  "fg1";
21740             target:  "fg2";
21741             target:  "elm.text";
21742          }
21743          program {
21744             name:    "go_passive";
21745             signal:  "elm,state,unselected";
21746             source:  "elm";
21747             action:  STATE_SET "default" 0.0;
21748             target:  "bg";
21749             target:  "fg1";
21750             target:  "fg2";
21751             target:  "elm.text";
21752             transition: LINEAR 0.1;
21753          }
21754          program {
21755             name:    "go_disabled";
21756             signal:  "elm,state,disabled";
21757             source:  "elm";
21758             action:  STATE_SET "disabled" 0.0;
21759             target:  "disclip";
21760          }
21761          program {
21762             name:    "go_enabled";
21763             signal:  "elm,state,enabled";
21764             source:  "elm";
21765             action:  STATE_SET "default" 0.0;
21766             target:  "disclip";
21767          }
21768       }
21769    }
21770
21771    group { name: "elm/genlist/tree/icon_top_text_bottom/default";
21772       data.item: "stacking" "above";
21773       data.item: "selectraise" "on";
21774       data.item: "labels" "elm.text";
21775       data.item: "icons" "elm.swallow.icon";
21776       data.item: "treesize" "20";
21777 //      data.item: "states" "";
21778       images {
21779          image: "bt_sm_base1.png" COMP;
21780          image: "bt_sm_shine.png" COMP;
21781          image: "bt_sm_hilight.png" COMP;
21782          image: "ilist_1.png" COMP;
21783          image: "ilist_item_shadow.png" COMP;
21784          image: "icon_arrow_right.png" COMP;
21785          image: "icon_arrow_down.png" COMP;
21786       }
21787       parts {
21788          part {
21789             name:           "event";
21790             type:           RECT;
21791             repeat_events: 1;
21792             description {
21793                state: "default" 0.0;
21794                color: 0 0 0 0;
21795             }
21796          }
21797          part {
21798             name: "base_sh";
21799             mouse_events: 0;
21800             description {
21801                state: "default" 0.0;
21802                align: 0.0 0.0;
21803                min: 0 10;
21804                fixed: 1 1;
21805                rel1 {
21806                   to: "base";
21807                   relative: 0.0 1.0;
21808                   offset: 0 0;
21809                }
21810                rel2 {
21811                   to: "base";
21812                   relative: 1.0 1.0;
21813                   offset: -1 0;
21814                }
21815                image {
21816                   normal: "ilist_item_shadow.png";
21817                }
21818                fill.smooth: 0;
21819             }
21820          }
21821          part {
21822             name: "base";
21823             mouse_events: 0;
21824             description {
21825                state: "default" 0.0;
21826                image {
21827                   normal: "ilist_1.png";
21828                   border: 2 2 2 2;
21829                }
21830                fill.smooth: 0;
21831             }
21832          }
21833          part { name: "bg";
21834             clip_to: "disclip";
21835             mouse_events: 0;
21836             description { state: "default" 0.0;
21837                visible: 0;
21838                color: 255 255 255 0;
21839                rel1 {
21840                   relative: 0.0 0.0;
21841                   offset: -5 -5;
21842                }
21843                rel2 {
21844                   relative: 1.0 1.0;
21845                   offset: 4 4;
21846                }
21847                image {
21848                   normal: "bt_sm_base1.png";
21849                   border: 6 6 6 6;
21850                }
21851                image.middle: SOLID;
21852             }
21853             description { state: "selected" 0.0;
21854                inherit: "default" 0.0;
21855                visible: 1;
21856                color: 255 255 255 255;
21857                rel1 {
21858                   relative: 0.0 0.0;
21859                   offset: -2 -2;
21860                }
21861                rel2 {
21862                   relative: 1.0 1.0;
21863                   offset: 1 1;
21864                }
21865             }
21866          }
21867          part { name: "elm.swallow.pad";
21868             type: SWALLOW;
21869             description { state: "default" 0.0;
21870                fixed: 1 0;
21871                align: 0.0 0.5;
21872                rel1 {
21873                   relative: 0.0  0.0;
21874                   offset:   4    4;
21875                }
21876                rel2 {
21877                   relative: 0.0  1.0;
21878                   offset:   4   -5;
21879                }
21880             }
21881          }
21882          part { name: "arrow";
21883             clip_to: "disclip";
21884             ignore_flags: ON_HOLD;
21885             description { state: "default" 0.0;
21886                fixed: 1 0;
21887                align: 0.0 0.5;
21888                aspect: 1.0 1.0;
21889                rel1 {
21890                   to_x: "elm.swallow.pad";
21891                   relative: 1.0  0.0;
21892                   offset:   -1    4;
21893                }
21894                rel2 {
21895                   to_x: "elm.swallow.pad";
21896                   relative: 1.0  1.0;
21897                   offset:   -1   -5;
21898                }
21899                image.normal: "icon_arrow_right.png";
21900             }
21901             description { state: "active" 0.0;
21902                inherit: "default" 0.0;
21903                image.normal: "icon_arrow_down.png";
21904             }
21905          }
21906          part { name: "elm.swallow.icon";
21907             clip_to: "disclip";
21908             type: SWALLOW;
21909             description { state: "default" 0.0;
21910                fixed: 1 0;
21911                align: 0.5 0.5;
21912                rel1 {
21913                   to_x: "arrow";
21914                   relative: 1.0  0.0;
21915                   offset:   4    4;
21916                }
21917                rel2 {
21918                   relative: 1.0  1.0;
21919                   offset:   -4   -5;
21920                }
21921             }
21922          }
21923          part { name: "elm.text";
21924             clip_to: "disclip";
21925             type:           TEXT;
21926             effect:         SOFT_SHADOW;
21927             mouse_events:   0;
21928             scale: 1;
21929             description {
21930                state: "default" 0.0;
21931 //               min: 16 16;
21932                rel1 {
21933                   to_y:     "elm.swallow.icon";
21934                   relative: 0.0  1.0;
21935                   offset:   0 4;
21936                }
21937                rel2 {
21938                   relative: 1.0  1.0;
21939                   offset:   -5 -5;
21940                }
21941                color: 0 0 0 255;
21942                color3: 0 0 0 0;
21943                text {
21944                   font: "Sans";
21945                   size: 10;
21946                   min: 1 1;
21947 //                  min: 0 1;
21948                   align: 0.5 0.5;
21949                   text_class: "list_item";
21950                }
21951             }
21952             description { state: "selected" 0.0;
21953                inherit: "default" 0.0;
21954                color: 224 224 224 255;
21955                color3: 0 0 0 64;
21956             }
21957          }
21958          part { name: "fg1";
21959             clip_to: "disclip";
21960             mouse_events: 0;
21961             description { state: "default" 0.0;
21962                visible: 0;
21963                color: 255 255 255 0;
21964                rel1.to: "bg";
21965                rel2.relative: 1.0 0.5;
21966                rel2.to: "bg";
21967                image {
21968                   normal: "bt_sm_hilight.png";
21969                   border: 6 6 6 0;
21970                }
21971             }
21972             description { state: "selected" 0.0;
21973                inherit: "default" 0.0;
21974                visible: 1;
21975                color: 255 255 255 255;
21976             }
21977          }
21978          part { name: "fg2";
21979             clip_to: "disclip";
21980             mouse_events: 0;
21981             description { state: "default" 0.0;
21982                visible: 0;
21983                color: 255 255 255 0;
21984                rel1.to: "bg";
21985                rel2.to: "bg";
21986                image {
21987                   normal: "bt_sm_shine.png";
21988                   border: 6 6 6 0;
21989                }
21990             }
21991             description { state: "selected" 0.0;
21992                inherit: "default" 0.0;
21993                visible: 1;
21994                color: 255 255 255 255;
21995             }
21996          }
21997          part { name: "disclip";
21998             type: RECT;
21999             description { state: "default" 0.0;
22000                rel1.to: "bg";
22001                rel2.to: "bg";
22002             }
22003             description { state: "disabled" 0.0;
22004                inherit: "default" 0.0;
22005                color: 255 255 255 64;
22006             }
22007          }
22008       }
22009       programs {
22010          // signal: elm,state,%s,active
22011          //   a "check" item named %s went active
22012          // signal: elm,state,%s,passive
22013          //   a "check" item named %s went passive
22014          // default is passive
22015          program {
22016             name:    "go_active";
22017             signal:  "elm,state,selected";
22018             source:  "elm";
22019             action:  STATE_SET "selected" 0.0;
22020             target:  "bg";
22021             target:  "fg1";
22022             target:  "fg2";
22023             target:  "elm.text";
22024          }
22025          program {
22026             name:    "go_passive";
22027             signal:  "elm,state,unselected";
22028             source:  "elm";
22029             action:  STATE_SET "default" 0.0;
22030             target:  "bg";
22031             target:  "fg1";
22032             target:  "fg2";
22033             target:  "elm.text";
22034             transition: LINEAR 0.1;
22035          }
22036          program {
22037             name:    "go_disabled";
22038             signal:  "elm,state,disabled";
22039             source:  "elm";
22040             action:  STATE_SET "disabled" 0.0;
22041             target:  "disclip";
22042          }
22043          program {
22044             name:    "go_enabled";
22045             signal:  "elm,state,enabled";
22046             source:  "elm";
22047             action:  STATE_SET "default" 0.0;
22048             target:  "disclip";
22049          }
22050          program {
22051             name:    "expand";
22052             signal:  "mouse,up,1";
22053             source:  "arrow";
22054             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
22055          }
22056          program {
22057             name:    "go_expanded";
22058             signal:  "elm,state,expanded";
22059             source:  "elm";
22060             action:  STATE_SET "active" 0.0;
22061             target:  "arrow";
22062          }
22063          program {
22064             name:    "go_contracted";
22065             signal:  "elm,state,contracted";
22066             source:  "elm";
22067             action:  STATE_SET "default" 0.0;
22068             target:  "arrow";
22069          }
22070       }
22071    }
22072    group { name: "elm/genlist/tree_odd/icon_top_text_bottom/default";
22073       data.item: "stacking" "below";
22074       data.item: "selectraise" "on";
22075       data.item: "labels" "elm.text";
22076       data.item: "icons" "elm.swallow.icon";
22077       data.item: "treesize" "20";
22078 //      data.item: "states" "";
22079       images {
22080          image: "bt_sm_base1.png" COMP;
22081          image: "bt_sm_shine.png" COMP;
22082          image: "bt_sm_hilight.png" COMP;
22083          image: "ilist_2.png" COMP;
22084          image: "icon_arrow_right.png" COMP;
22085          image: "icon_arrow_down.png" COMP;
22086       }
22087       parts {
22088          part {
22089             name:           "event";
22090             type:           RECT;
22091             repeat_events: 1;
22092             description {
22093                state: "default" 0.0;
22094                color: 0 0 0 0;
22095             }
22096          }
22097          part {
22098             name: "base";
22099             mouse_events: 0;
22100             description {
22101                state: "default" 0.0;
22102                image {
22103                   normal: "ilist_2.png";
22104                   border: 2 2 2 2;
22105                }
22106                fill.smooth: 0;
22107             }
22108          }
22109          part { name: "bg";
22110             clip_to: "disclip";
22111             mouse_events: 0;
22112             description { state: "default" 0.0;
22113                visible: 0;
22114                color: 255 255 255 0;
22115                rel1 {
22116                   relative: 0.0 0.0;
22117                   offset: -5 -5;
22118                }
22119                rel2 {
22120                   relative: 1.0 1.0;
22121                   offset: 4 4;
22122                }
22123                image {
22124                   normal: "bt_sm_base1.png";
22125                   border: 6 6 6 6;
22126                }
22127                image.middle: SOLID;
22128             }
22129             description { state: "selected" 0.0;
22130                inherit: "default" 0.0;
22131                visible: 1;
22132                color: 255 255 255 255;
22133                rel1 {
22134                   relative: 0.0 0.0;
22135                   offset: -2 -2;
22136                }
22137                rel2 {
22138                   relative: 1.0 1.0;
22139                   offset: 1 1;
22140                }
22141             }
22142          }
22143          part { name: "elm.swallow.pad";
22144             type: SWALLOW;
22145             description { state: "default" 0.0;
22146                fixed: 1 0;
22147                align: 0.0 0.5;
22148                rel1 {
22149                   relative: 0.0  0.0;
22150                   offset:   4    4;
22151                }
22152                rel2 {
22153                   relative: 0.0  1.0;
22154                   offset:   4   -5;
22155                }
22156             }
22157          }
22158          part { name: "arrow";
22159             clip_to: "disclip";
22160             ignore_flags: ON_HOLD;
22161             description { state: "default" 0.0;
22162                fixed: 1 0;
22163                align: 0.0 0.5;
22164                aspect: 1.0 1.0;
22165                rel1 {
22166                   to_x: "elm.swallow.pad";
22167                   relative: 1.0  0.0;
22168                   offset:   -1    4;
22169                }
22170                rel2 {
22171                   to_x: "elm.swallow.pad";
22172                   relative: 1.0  1.0;
22173                   offset:   -1   -5;
22174                }
22175                image.normal: "icon_arrow_right.png";
22176             }
22177             description { state: "active" 0.0;
22178                inherit: "default" 0.0;
22179                image.normal: "icon_arrow_down.png";
22180             }
22181          }
22182          part { name: "elm.swallow.icon";
22183             clip_to: "disclip";
22184             type: SWALLOW;
22185             description { state: "default" 0.0;
22186                fixed: 1 0;
22187                align: 0.5 0.5;
22188                rel1 {
22189                   to_x: "arrow";
22190                   relative: 1.0  0.0;
22191                   offset:   4    4;
22192                }
22193                rel2 {
22194                   relative: 1.0  1.0;
22195                   offset:   -4   -5;
22196                }
22197             }
22198          }
22199          part { name: "elm.text";
22200             clip_to: "disclip";
22201             type:           TEXT;
22202             effect:         SOFT_SHADOW;
22203             mouse_events:   0;
22204             scale: 1;
22205             description {
22206                state: "default" 0.0;
22207 //               min: 16 16;
22208                rel1 {
22209                   to_y:     "elm.swallow.icon";
22210                   relative: 0.0  1.0;
22211                   offset:   0 4;
22212                }
22213                rel2 {
22214                   relative: 1.0  1.0;
22215                   offset:   -5 -5;
22216                }
22217                color: 0 0 0 255;
22218                color3: 0 0 0 0;
22219                text {
22220                   font: "Sans";
22221                   size: 10;
22222                   min: 1 1;
22223 //                  min: 0 1;
22224                   align: 0.5 0.5;
22225                   text_class: "list_item";
22226                }
22227             }
22228             description { state: "selected" 0.0;
22229                inherit: "default" 0.0;
22230                color: 224 224 224 255;
22231                color3: 0 0 0 64;
22232             }
22233          }
22234          part { name: "fg1";
22235             clip_to: "disclip";
22236             mouse_events: 0;
22237             description { state: "default" 0.0;
22238                visible: 0;
22239                color: 255 255 255 0;
22240                rel1.to: "bg";
22241                rel2.relative: 1.0 0.5;
22242                rel2.to: "bg";
22243                image {
22244                   normal: "bt_sm_hilight.png";
22245                   border: 6 6 6 0;
22246                }
22247             }
22248             description { state: "selected" 0.0;
22249                inherit: "default" 0.0;
22250                visible: 1;
22251                color: 255 255 255 255;
22252             }
22253          }
22254          part { name: "fg2";
22255             clip_to: "disclip";
22256             mouse_events: 0;
22257             description { state: "default" 0.0;
22258                visible: 0;
22259                color: 255 255 255 0;
22260                rel1.to: "bg";
22261                rel2.to: "bg";
22262                image {
22263                   normal: "bt_sm_shine.png";
22264                   border: 6 6 6 0;
22265                }
22266             }
22267             description { state: "selected" 0.0;
22268                inherit: "default" 0.0;
22269                visible: 1;
22270                color: 255 255 255 255;
22271             }
22272          }
22273          part { name: "disclip";
22274             type: RECT;
22275             description { state: "default" 0.0;
22276                rel1.to: "bg";
22277                rel2.to: "bg";
22278             }
22279             description { state: "disabled" 0.0;
22280                inherit: "default" 0.0;
22281                color: 255 255 255 64;
22282             }
22283          }
22284       }
22285       programs {
22286          // signal: elm,state,%s,active
22287          //   a "check" item named %s went active
22288          // signal: elm,state,%s,passive
22289          //   a "check" item named %s went passive
22290          // default is passive
22291          program {
22292             name:    "go_active";
22293             signal:  "elm,state,selected";
22294             source:  "elm";
22295             action:  STATE_SET "selected" 0.0;
22296             target:  "bg";
22297             target:  "fg1";
22298             target:  "fg2";
22299             target:  "elm.text";
22300          }
22301          program {
22302             name:    "go_passive";
22303             signal:  "elm,state,unselected";
22304             source:  "elm";
22305             action:  STATE_SET "default" 0.0;
22306             target:  "bg";
22307             target:  "fg1";
22308             target:  "fg2";
22309             target:  "elm.text";
22310             transition: LINEAR 0.1;
22311          }
22312          program {
22313             name:    "go_disabled";
22314             signal:  "elm,state,disabled";
22315             source:  "elm";
22316             action:  STATE_SET "disabled" 0.0;
22317             target:  "disclip";
22318          }
22319          program {
22320             name:    "go_enabled";
22321             signal:  "elm,state,enabled";
22322             source:  "elm";
22323             action:  STATE_SET "default" 0.0;
22324             target:  "disclip";
22325          }
22326          program {
22327             name:    "expand";
22328             signal:  "mouse,up,1";
22329             source:  "arrow";
22330             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
22331          }
22332          program {
22333             name:    "go_expanded";
22334             signal:  "elm,state,expanded";
22335             source:  "elm";
22336             action:  STATE_SET "active" 0.0;
22337             target:  "arrow";
22338          }
22339          program {
22340             name:    "go_contracted";
22341             signal:  "elm,state,contracted";
22342             source:  "elm";
22343             action:  STATE_SET "default" 0.0;
22344             target:  "arrow";
22345          }
22346       }
22347    }
22348
22349
22350 ///////////////////////////////////////////////////////////////////////////////
22351    group { name: "elm/check/base/default";
22352       images {
22353          image: "check_base.png" COMP;
22354          image: "check.png" COMP;
22355          image: "check2.png" COMP;
22356       }
22357       parts {
22358          part { name: "bg";
22359             mouse_events: 0;
22360             scale: 1;
22361             description { state: "default" 0.0;
22362                rel1.offset: 1 1;
22363                rel2.relative: 0.0 1.0;
22364                rel2.offset: 1 -2;
22365                align: 0.0 0.5;
22366                min: 16 16;
22367                max: 16 16;
22368                aspect: 1.0 1.0;
22369                aspect_preference: VERTICAL;
22370                image {
22371                   normal: "check_base.png";
22372                   border: 5 5 5 5;
22373                   middle: 0;
22374                }
22375                fill.smooth : 0;
22376             }
22377          }
22378          part { name: "check";
22379             mouse_events: 0;
22380             scale: 1;
22381             description { state: "default" 0.0;
22382                rel1 {
22383                   to: "bg";
22384                   offset: 1 1;
22385                }
22386                rel2 {
22387                   to: "bg";
22388                   offset: -2 -2;
22389                }
22390                visible: 0;
22391                color: 255 255 255 255;
22392                image.normal: "check.png";
22393             }
22394             description { state: "visible" 0.0;
22395                inherit: "default" 0.0;
22396                visible: 1;
22397             }
22398             description { state: "disabled" 0.0;
22399                inherit: "default" 0.0;
22400                visible: 0;
22401                color: 128 128 128 128;
22402             }
22403             description { state: "disabled_visible" 0.0;
22404                inherit: "default" 0.0;
22405                color: 128 128 128 128;
22406                visible: 1;
22407             }
22408          }
22409          part { name: "elm.swallow.content";
22410             type: SWALLOW;
22411             description { state: "default" 0.0;
22412                fixed: 1 0;
22413                visible: 0;
22414                align: 0.0 0.5;
22415           rel1.to_x: "bg";
22416                rel1.relative: 1.0 0.0;
22417                rel1.offset: 1 1;
22418           rel2.to_x: "bg";
22419                rel2.offset: 1 -2;
22420                rel2.relative: 1.0 1.0;
22421             }
22422             description { state: "visible" 0.0;
22423                inherit: "default" 0.0;
22424           fixed: 1 0;
22425                visible: 1;
22426                aspect: 1.0 1.0;
22427             }
22428             description { state: "disabled" 0.0;
22429                inherit: "default" 0.0;
22430                color: 128 128 128 128;
22431             }
22432             description { state: "disabled_visible" 0.0;
22433                inherit: "default" 0.0;
22434                color: 128 128 128 128;
22435           fixed: 1 0;
22436                visible: 1;
22437                aspect: 1.0 1.0;
22438             }
22439          }
22440          part { name: "elm.text";
22441             type: TEXT;
22442             mouse_events: 0;
22443             scale: 1;
22444             description { state: "default" 0.0;
22445                visible: 0;
22446                rel1.to_x: "elm.swallow.content";
22447                rel1.relative: 1.0 0.0;
22448                rel1.offset: 1 1;
22449                rel2.relative: 1.0 1.0;
22450                rel2.offset: -2 -2;
22451                color: 0 0 0 255;
22452                text {
22453                   font: "Sans,Edje-Vera";
22454                   size: 10;
22455                   min: 0 1;
22456                   align: 0.0 0.5;
22457                }
22458             }
22459             description { state: "visible" 0.0;
22460                inherit: "default" 0.0;
22461                visible: 1;
22462                text.min: 1 1;
22463             }
22464             description { state: "disabled" 0.0;
22465                inherit: "default" 0.0;
22466                color: 0 0 0 128;
22467                color3: 0 0 0 0;
22468             }
22469             description { state: "disabled_visible" 0.0;
22470                inherit: "default" 0.0;
22471                color: 0 0 0 128;
22472                color3: 0 0 0 0;
22473                visible: 1;
22474                text.min: 1 1;
22475             }
22476          }
22477          part { name: "events";
22478             type: RECT;
22479             ignore_flags: ON_HOLD;
22480             description { state: "default" 0.0;
22481                color: 0 0 0 0;
22482             }
22483          }
22484           part { name: "disabler";
22485             type: RECT;
22486             description { state: "default" 0.0;
22487                color: 0 0 0 0;
22488                visible: 0;
22489             }
22490             description { state: "disabled" 0.0;
22491                inherit: "default" 0.0;
22492                visible: 1;
22493             }
22494          }
22495       }
22496       programs {
22497          program { name: "click";
22498             signal: "mouse,up,1";
22499             source: "events";
22500             action: SIGNAL_EMIT "elm,action,check,toggle" "";
22501          }
22502          program { name: "check_on";
22503             signal: "elm,state,check,on";
22504             source: "elm";
22505             action:  STATE_SET "visible" 0.0;
22506             target: "check";
22507          }
22508          program { name: "check_off";
22509             signal: "elm,state,check,off";
22510             source: "elm";
22511             action:  STATE_SET "default" 0.0;
22512             target: "check";
22513          }
22514          program { name: "text_show";
22515             signal: "elm,state,text,visible";
22516             source: "elm";
22517             action:  STATE_SET "visible" 0.0;
22518             target: "elm.text";
22519          }
22520          program { name: "text_hide";
22521             signal: "elm,state,text,hidden";
22522             source: "elm";
22523             action:  STATE_SET "default" 0.0;
22524             target: "elm.text";
22525          }
22526          program { name: "icon_show";
22527             signal: "elm,state,icon,visible";
22528             source: "elm";
22529             action:  STATE_SET "visible" 0.0;
22530             target: "elm.swallow.content";
22531          }
22532          program { name: "icon_hide";
22533             signal: "elm,state,icon,hidden";
22534             source: "elm";
22535             action:  STATE_SET "default" 0.0;
22536             target: "elm.swallow.content";
22537          }
22538          program { name: "disable";
22539             signal: "elm,state,disabled";
22540             source: "elm";
22541             action: STATE_SET "disabled" 0.0;
22542             target: "disabler";
22543             after: "disable_text";
22544          }
22545          program { name: "disable_text";
22546             script {
22547                new st[31];
22548                new Float:vl;
22549                get_state(PART:"elm.text", st, 30, vl);
22550                if (!strcmp(st, "visible"))
22551                  set_state(PART:"elm.text", "disabled_visible", 0.0);
22552                else
22553                  set_state(PART:"elm.text", "disabled", 0.0);
22554
22555                get_state(PART:"elm.swallow.content", st, 30, vl);
22556                if (!strcmp(st, "visible"))
22557                  set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
22558                else
22559                  set_state(PART:"elm.swallow.content", "disabled", 0.0);
22560
22561                get_state(PART:"check", st, 30, vl);
22562                if (!strcmp(st, "visible"))
22563                  set_state(PART:"check", "disabled_visible", 0.0);
22564                else
22565                  set_state(PART:"check", "disabled", 0.0);
22566             }
22567          }
22568          program { name: "enable";
22569             signal: "elm,state,enabled";
22570             source: "elm";
22571             action: STATE_SET "default" 0.0;
22572             target: "disabler";
22573             after: "enable_text";
22574          }
22575          program { name: "enable_text";
22576             script {
22577                new st[31];
22578                new Float:vl;
22579                get_state(PART:"elm.text", st, 30, vl);
22580                if (!strcmp(st, "disabled_visible"))
22581                  set_state(PART:"elm.text", "visible", 0.0);
22582                else
22583                  set_state(PART:"elm.text", "default", 0.0);
22584
22585                get_state(PART:"elm.swallow.content", st, 30, vl);
22586                if (!strcmp(st, "visible"))
22587                  set_state(PART:"elm.swallow.content", "visible", 0.0);
22588                else
22589                  set_state(PART:"elm.swallow.content", "default", 0.0);
22590
22591                get_state(PART:"check", st, 30, vl);
22592                if (!strcmp(st, "visible"))
22593                  set_state(PART:"check", "visible", 0.0);
22594                else
22595                  set_state(PART:"check", "default", 0.0);
22596             }
22597          }
22598       }
22599    }
22600 ///////////////////////////////////////////////////////////////////////////////
22601    group { name: "elm/radio/base/default";
22602       images {
22603          image: "radio_base.png" COMP;
22604          image: "radio.png" COMP;
22605          image: "radio2.png" COMP;
22606       }
22607       parts {
22608          part { name: "bg";
22609             mouse_events: 0;
22610             scale: 1;
22611             description { state: "default" 0.0;
22612                rel1.offset: 1 1;
22613                rel2.relative: 0.0 1.0;
22614                rel2.offset: 1 -2;
22615                align: 0.0 0.5;
22616                min: 16 16;
22617                max: 16 16;
22618                aspect: 1.0 1.0;
22619                aspect_preference: VERTICAL;
22620                image.normal: "radio_base.png";
22621             }
22622          }
22623          part { name: "radio";
22624             mouse_events: 0;
22625             scale: 1;
22626             description { state: "default" 0.0;
22627                rel1.to: "bg";
22628                rel2.to: "bg";
22629                visible: 0;
22630                image.normal: "radio.png";
22631             }
22632             description { state: "visible" 0.0;
22633                inherit: "default" 0.0;
22634                visible: 1;
22635             }
22636          }
22637          part { name: "elm.swallow.content";
22638             type: SWALLOW;
22639             description { state: "default" 0.0;
22640                fixed: 1 0;
22641                visible: 0;
22642                align: 0.0 0.5;
22643                color: 0 0 0 0;
22644                rel1.to_x: "bg";
22645                rel1.relative: 1.0 0.0;
22646                rel1.offset: 1 1;
22647                rel2.to_x: "bg";
22648                rel2.relative: 1.0 1.0;
22649                rel2.offset: 2 -2;
22650             }
22651             description { state: "visible" 0.0;
22652                inherit: "default" 0.0;
22653                visible: 1;
22654                color: 255 255 255 255;
22655                aspect: 1.0 1.0;
22656             }
22657             description { state: "disabled" 0.0;
22658                inherit: "default" 0.0;
22659                color: 128 128 128 128;
22660             }
22661             description { state: "disabled_visible" 0.0;
22662                inherit: "default" 0.0;
22663                color: 128 128 128 128;
22664                visible: 1;
22665                aspect: 1.0 1.0;
22666             }
22667          }
22668          part { name: "elm.text";
22669             type: TEXT;
22670             mouse_events: 0;
22671             scale: 1;
22672             description { state: "default" 0.0;
22673                visible: 0;
22674                rel1.to_x: "elm.swallow.content";
22675                rel1.relative: 1.0 0.0;
22676                rel1.offset: 1 1;
22677                rel2.relative: 1.0 1.0;
22678                rel2.offset: -2 -2;
22679                color: 0 0 0 255;
22680                text {
22681                   font: "Sans,Edje-Vera";
22682                   size: 10;
22683                   min: 0 0;
22684                   align: 0.0 0.5;
22685                }
22686             }
22687             description { state: "visible" 0.0;
22688                inherit: "default" 0.0;
22689                visible: 1;
22690                text.min: 1 1;
22691             }
22692             description { state: "disabled" 0.0;
22693                inherit: "default" 0.0;
22694                color: 0 0 0 128;
22695                color3: 0 0 0 0;
22696             }
22697             description { state: "disabled_visible" 0.0;
22698                inherit: "default" 0.0;
22699                color: 0 0 0 128;
22700                color3: 0 0 0 0;
22701                visible: 1;
22702                text.min: 1 1;
22703             }
22704          }
22705          part { name: "events";
22706             type: RECT;
22707             ignore_flags: ON_HOLD;
22708             description { state: "default" 0.0;
22709                color: 0 0 0 0;
22710             }
22711          }
22712           part { name: "disabler";
22713             type: RECT;
22714             description { state: "default" 0.0;
22715                color: 0 0 0 0;
22716                visible: 0;
22717             }
22718             description { state: "disabled" 0.0;
22719                inherit: "default" 0.0;
22720                visible: 1;
22721             }
22722          }
22723       }
22724       programs {
22725          program { name: "click";
22726             signal: "mouse,up,1";
22727             source: "events";
22728             action: SIGNAL_EMIT "elm,action,radio,toggle" "";
22729          }
22730          program { name: "radio_on";
22731             signal: "elm,state,radio,on";
22732             source: "elm";
22733             action:  STATE_SET "visible" 0.0;
22734             target: "radio";
22735          }
22736          program { name: "radio_off";
22737             signal: "elm,state,radio,off";
22738             source: "elm";
22739             action:  STATE_SET "default" 0.0;
22740             target: "radio";
22741          }
22742          program { name: "text_show";
22743             signal: "elm,state,text,visible";
22744             source: "elm";
22745             action:  STATE_SET "visible" 0.0;
22746             target: "elm.text";
22747          }
22748          program { name: "text_hide";
22749             signal: "elm,state,text,hidden";
22750             source: "elm";
22751             action:  STATE_SET "default" 0.0;
22752             target: "elm.text";
22753          }
22754          program { name: "icon_show";
22755             signal: "elm,state,icon,visible";
22756             source: "elm";
22757             action:  STATE_SET "visible" 0.0;
22758             target: "elm.swallow.content";
22759          }
22760          program { name: "icon_hide";
22761             signal: "elm,state,icon,hidden";
22762             source: "elm";
22763             action:  STATE_SET "default" 0.0;
22764             target: "elm.swallow.content";
22765          }
22766          program { name: "disable";
22767             signal: "elm,state,disabled";
22768             source: "elm";
22769             action: STATE_SET "disabled" 0.0;
22770             target: "disabler";
22771             after: "disable_text";
22772          }
22773          program { name: "disable_text";
22774             script {
22775                new st[31];
22776                new Float:vl;
22777                get_state(PART:"elm.text", st, 30, vl);
22778                if (!strcmp(st, "visible"))
22779                  set_state(PART:"elm.text", "disabled_visible", 0.0);
22780                else
22781                  set_state(PART:"elm.text", "disabled", 0.0);
22782
22783                get_state(PART:"elm.swallow.content", st, 30, vl);
22784                if (!strcmp(st, "visible"))
22785                  set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
22786                else
22787                  set_state(PART:"elm.swallow.content", "disabled", 0.0);
22788             }
22789          }
22790          program { name: "enable";
22791             signal: "elm,state,enabled";
22792             source: "elm";
22793             action: STATE_SET "default" 0.0;
22794             target: "disabler";
22795             after: "enable_text";
22796          }
22797          program { name: "enable_text";
22798             script {
22799                new st[31];
22800                new Float:vl;
22801                get_state(PART:"elm.text", st, 30, vl);
22802                if (!strcmp(st, "disabled_visible"))
22803                  set_state(PART:"elm.text", "visible", 0.0);
22804                else
22805                  set_state(PART:"elm.text", "default", 0.0);
22806
22807                get_state(PART:"elm.swallow.content", st, 30, vl);
22808                if (!strcmp(st, "visible"))
22809                  set_state(PART:"elm.swallow.content", "visible", 0.0);
22810                else
22811                  set_state(PART:"elm.swallow.content", "default", 0.0);
22812             }
22813          }
22814       }
22815    }
22816    group { name: "elm/genlist/tree_compress_odd/double_label/default";
22817       data.item: "stacking" "below";
22818       data.item: "selectraise" "on";
22819       data.item: "labels" "elm.text elm.text.sub";
22820       data.item: "icons" "elm.swallow.icon elm.swallow.end";
22821       data.item: "treesize" "20";
22822 //      data.item: "states" "";
22823       images {
22824          image: "bt_sm_base1.png" COMP;
22825          image: "bt_sm_shine.png" COMP;
22826          image: "bt_sm_hilight.png" COMP;
22827          image: "ilist_2.png" COMP;
22828          image: "icon_arrow_right.png" COMP;
22829          image: "icon_arrow_down.png" COMP;
22830       }
22831       parts {
22832          part {
22833             name:           "event";
22834             type:           RECT;
22835             repeat_events: 1;
22836             description {
22837                state: "default" 0.0;
22838                color: 0 0 0 0;
22839             }
22840          }
22841          part {
22842             name: "base";
22843             mouse_events: 0;
22844             description {
22845                state: "default" 0.0;
22846                image {
22847                   normal: "ilist_2.png";
22848                   border: 2 2 2 2;
22849                }
22850                fill.smooth: 0;
22851             }
22852          }
22853          part { name: "bg";
22854             clip_to: "disclip";
22855             mouse_events: 0;
22856             description { state: "default" 0.0;
22857                visible: 0;
22858                color: 255 255 255 0;
22859                rel1 {
22860                   relative: 0.0 0.0;
22861                   offset: -5 -5;
22862                }
22863                rel2 {
22864                   relative: 1.0 1.0;
22865                   offset: 4 4;
22866                }
22867                image {
22868                   normal: "bt_sm_base1.png";
22869                   border: 6 6 6 6;
22870                }
22871                image.middle: SOLID;
22872             }
22873             description { state: "selected" 0.0;
22874                inherit: "default" 0.0;
22875                visible: 1;
22876                color: 255 255 255 255;
22877                rel1 {
22878                   relative: 0.0 0.0;
22879                   offset: -2 -2;
22880                }
22881                rel2 {
22882                   relative: 1.0 1.0;
22883                   offset: 1 1;
22884                }
22885             }
22886          }
22887          part { name: "elm.swallow.pad";
22888             type: SWALLOW;
22889             description { state: "default" 0.0;
22890                fixed: 1 0;
22891                align: 0.0 0.5;
22892                rel1 {
22893                   relative: 0.0  0.0;
22894                   offset:   4    4;
22895                }
22896                rel2 {
22897                   relative: 0.0  1.0;
22898                   offset:   4   -5;
22899                }
22900             }
22901          }
22902          part { name: "arrow";
22903             clip_to: "disclip";
22904             ignore_flags: ON_HOLD;
22905             description { state: "default" 0.0;
22906                fixed: 1 0;
22907                align: 0.0 0.5;
22908                aspect: 1.0 1.0;
22909                rel1 {
22910                   to_x: "elm.swallow.pad";
22911                   relative: 1.0  0.0;
22912                   offset:   -1    4;
22913                }
22914                rel2 {
22915                   to_x: "elm.swallow.pad";
22916                   relative: 1.0  1.0;
22917                   offset:   -1   -5;
22918                }
22919                image.normal: "icon_arrow_right.png";
22920             }
22921             description { state: "active" 0.0;
22922                inherit: "default" 0.0;
22923                image.normal: "icon_arrow_down.png";
22924             }
22925          }
22926          part { name: "elm.swallow.icon";
22927             clip_to: "disclip";
22928             type: SWALLOW;
22929             description { state: "default" 0.0;
22930                fixed: 1 0;
22931                align: 0.0 0.5;
22932                rel1 {
22933                   to_x: "arrow";
22934                   relative: 1.0  0.0;
22935                   offset:   4    4;
22936                }
22937                rel2 {
22938                   to_x: "arrow";
22939                   relative: 1.0  1.0;
22940                   offset:   4   -5;
22941                }
22942             }
22943          }
22944          part { name: "elm.swallow.end";
22945             clip_to: "disclip";
22946             type: SWALLOW;
22947             description { state: "default" 0.0;
22948                fixed: 1 0;
22949                align: 1.0 0.5;
22950                aspect: 1.0 1.0;
22951                aspect_preference: VERTICAL;
22952                rel1 {
22953                   relative: 1.0  0.0;
22954                   offset:   -5    4;
22955                }
22956                rel2 {
22957                   relative: 1.0  1.0;
22958                   offset:   -5   -5;
22959                }
22960             }
22961          }
22962          part { name: "elm.text";
22963             clip_to: "disclip";
22964             type:           TEXT;
22965             effect:         SOFT_SHADOW;
22966             mouse_events:   0;
22967             scale: 1;
22968             description {
22969                state: "default" 0.0;
22970 //               min: 16 16;
22971                rel1 {
22972                   to_x:     "elm.swallow.icon";
22973                   relative: 1.0  0.0;
22974                   offset:   0 4;
22975                }
22976                rel2 {
22977                   to_x:     "elm.swallow.end";
22978                   relative: 0.0  0.5;
22979                   offset:   -1 -5;
22980                }
22981                color: 0 0 0 255;
22982                color3: 0 0 0 0;
22983                text {
22984                   font: "Sans";
22985                   size: 10;
22986 //                  min: 1 1;
22987                   min: 0 1;
22988                   align: 0.0 0.5;
22989                   text_class: "list_item";
22990                }
22991             }
22992             description { state: "selected" 0.0;
22993                inherit: "default" 0.0;
22994                color: 224 224 224 255;
22995                color3: 0 0 0 64;
22996             }
22997          }
22998          part { name: "elm.text.sub";
22999             clip_to: "disclip";
23000             type:           TEXT;
23001             mouse_events:   0;
23002             scale: 1;
23003             description {
23004                state: "default" 0.0;
23005 //               min: 16 16;
23006                rel1 {
23007                   to_x:     "elm.swallow.icon";
23008                   relative: 1.0  0.5;
23009                   offset:   0 4;
23010                }
23011                rel2 {
23012                   to_x:     "elm.swallow.end";
23013                   relative: 0.0  1.0;
23014                   offset:   -1 -5;
23015                }
23016                color: 0 0 0 128;
23017                color3: 0 0 0 0;
23018                text {
23019                   font: "Sans";
23020                   size: 8;
23021 //                  min: 1 1;
23022                   min: 0 1;
23023                   align: 0.0 0.5;
23024                   text_class: "list_item";
23025                }
23026             }
23027             description { state: "selected" 0.0;
23028                inherit: "default" 0.0;
23029                color: 128 128 128 255;
23030                color3: 0 0 0 32;
23031             }
23032          }
23033          part { name: "fg1";
23034             clip_to: "disclip";
23035             mouse_events: 0;
23036             description { state: "default" 0.0;
23037                visible: 0;
23038                color: 255 255 255 0;
23039                rel1.to: "bg";
23040                rel2.relative: 1.0 0.5;
23041                rel2.to: "bg";
23042                image {
23043                   normal: "bt_sm_hilight.png";
23044                   border: 6 6 6 0;
23045                }
23046             }
23047             description { state: "selected" 0.0;
23048                inherit: "default" 0.0;
23049                visible: 1;
23050                color: 255 255 255 255;
23051             }
23052          }
23053          part { name: "fg2";
23054             clip_to: "disclip";
23055             mouse_events: 0;
23056             description { state: "default" 0.0;
23057                visible: 0;
23058                color: 255 255 255 0;
23059                rel1.to: "bg";
23060                rel2.to: "bg";
23061                image {
23062                   normal: "bt_sm_shine.png";
23063                   border: 6 6 6 0;
23064                }
23065             }
23066             description { state: "selected" 0.0;
23067                inherit: "default" 0.0;
23068                visible: 1;
23069                color: 255 255 255 255;
23070             }
23071          }
23072          part { name: "disclip";
23073             type: RECT;
23074             description { state: "default" 0.0;
23075                rel1.to: "bg";
23076                rel2.to: "bg";
23077             }
23078             description { state: "disabled" 0.0;
23079                inherit: "default" 0.0;
23080                color: 255 255 255 64;
23081             }
23082          }
23083       }
23084       programs {
23085          // signal: elm,state,%s,active
23086          //   a "check" item named %s went active
23087          // signal: elm,state,%s,passive
23088          //   a "check" item named %s went passive
23089          // default is passive
23090          program {
23091             name:    "go_active";
23092             signal:  "elm,state,selected";
23093             source:  "elm";
23094             action:  STATE_SET "selected" 0.0;
23095             target:  "bg";
23096             target:  "fg1";
23097             target:  "fg2";
23098             target:  "elm.text";
23099             target:  "elm.text.sub";
23100          }
23101          program {
23102             name:    "go_passive";
23103             signal:  "elm,state,unselected";
23104             source:  "elm";
23105             action:  STATE_SET "default" 0.0;
23106             target:  "bg";
23107             target:  "fg1";
23108             target:  "fg2";
23109             target:  "elm.text";
23110             target:  "elm.text.sub";
23111             transition: LINEAR 0.1;
23112          }
23113          program {
23114             name:    "go_disabled";
23115             signal:  "elm,state,disabled";
23116             source:  "elm";
23117             action:  STATE_SET "disabled" 0.0;
23118             target:  "disclip";
23119          }
23120          program {
23121             name:    "go_enabled";
23122             signal:  "elm,state,enabled";
23123             source:  "elm";
23124             action:  STATE_SET "default" 0.0;
23125             target:  "disclip";
23126          }
23127          program {
23128             name:    "expand";
23129             signal:  "mouse,up,1";
23130             source:  "arrow";
23131             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
23132          }
23133          program {
23134             name:    "go_expanded";
23135             signal:  "elm,state,expanded";
23136             source:  "elm";
23137             action:  STATE_SET "active" 0.0;
23138             target:  "arrow";
23139          }
23140          program {
23141             name:    "go_contracted";
23142             signal:  "elm,state,contracted";
23143             source:  "elm";
23144             action:  STATE_SET "default" 0.0;
23145             target:  "arrow";
23146          }
23147       }
23148    }
23149
23150    group { name: "elm/genlist/item_compress/media/default";
23151       data.item: "stacking" "above";
23152       data.item: "selectraise" "on";
23153       data.item: "labels" "elm.text.title elm.text.album-artist";
23154       data.item: "treesize" "20";
23155       images {
23156          image: "bt_sm_base1.png" COMP;
23157          image: "bt_sm_shine.png" COMP;
23158          image: "bt_sm_hilight.png" COMP;
23159          image: "ilist_1.png" COMP;
23160          image: "ilist_item_shadow.png" COMP;
23161       }
23162       parts {
23163          part {
23164             name:           "event";
23165             type:           RECT;
23166             repeat_events: 1;
23167             description {
23168                state: "default" 0.0;
23169                color: 0 0 0 0;
23170             }
23171          }
23172          part {
23173             name: "base_sh";
23174             mouse_events: 0;
23175             description {
23176                state: "default" 0.0;
23177                align: 0.0 0.0;
23178                min: 0 10;
23179                fixed: 1 1;
23180                rel1 {
23181                   to: "base";
23182                   relative: 0.0 1.0;
23183                   offset: 0 0;
23184                }
23185                rel2 {
23186                   to: "base";
23187                   relative: 1.0 1.0;
23188                   offset: -1 0;
23189                }
23190                image {
23191                   normal: "ilist_item_shadow.png";
23192                }
23193                fill.smooth: 0;
23194             }
23195          }
23196          part {
23197             name: "base";
23198             mouse_events: 0;
23199             description {
23200                state: "default" 0.0;
23201                image {
23202                   normal: "ilist_1.png";
23203                   border: 2 2 2 2;
23204                }
23205                fill.smooth: 0;
23206             }
23207          }
23208          part { name: "bg";
23209             clip_to: "disclip";
23210             mouse_events: 0;
23211             description { state: "default" 0.0;
23212                visible: 0;
23213                color: 255 255 255 0;
23214                rel1 {
23215                   relative: 0.0 0.0;
23216                   offset: -5 -5;
23217                }
23218                rel2 {
23219                   relative: 1.0 1.0;
23220                   offset: 4 4;
23221                }
23222                image {
23223                   normal: "bt_sm_base1.png";
23224                   border: 6 6 6 6;
23225                }
23226                image.middle: SOLID;
23227             }
23228             description { state: "selected" 0.0;
23229                inherit: "default" 0.0;
23230                visible: 1;
23231                color: 255 255 255 255;
23232                rel1 {
23233                   relative: 0.0 0.0;
23234                   offset: -2 -2;
23235                }
23236                rel2 {
23237                   relative: 1.0 1.0;
23238                   offset: 1 1;
23239                }
23240             }
23241          }
23242          part { name: "elm.swallow.pad";
23243             type: SWALLOW;
23244             description { state: "default" 0.0;
23245                fixed: 1 0;
23246                align: 0.0 0.5;
23247                rel1 {
23248                   relative: 0.0  0.0;
23249                   offset:   4    4;
23250                }
23251                rel2 {
23252                   relative: 0.0  1.0;
23253                   offset:   4   -5;
23254                }
23255             }
23256          }
23257          part { name: "elm.text.title";
23258             clip_to: "disclip";
23259             type:           TEXT;
23260             effect:         SOFT_SHADOW;
23261             mouse_events:   0;
23262             scale: 1;
23263             description {
23264                state: "default" 0.0;
23265                rel1 {
23266                   relative: 0.0  0.0;
23267                   offset:   4 4;
23268                }
23269                rel2 {
23270                   relative: 1.0  0.5;
23271                   offset:   -1 -5;
23272                }
23273                color: 0 0 0 255;
23274                color3: 0 0 0 0;
23275                text {
23276                   font: "Sans";
23277                   size: 10;
23278                   min: 0 1;
23279                   align: 0.0 0.5;
23280                }
23281             }
23282             description { state: "selected" 0.0;
23283                inherit: "default" 0.0;
23284                color: 224 224 224 255;
23285                color3: 0 0 0 64;
23286             }
23287          }
23288          part { name: "elm.text.album-artist";
23289             clip_to: "disclip";
23290             type:           TEXT;
23291             mouse_events:   0;
23292             scale: 1;
23293             description {
23294                state: "default" 0.0;
23295                rel1 {
23296                   relative: 0.0  0.5;
23297                   offset:   4 4;
23298                }
23299                rel2 {
23300                   relative: 1.0  1.0;
23301                   offset:   -1 -5;
23302                }
23303                color: 0 0 0 128;
23304                color3: 0 0 0 0;
23305                text {
23306                   font: "Sans";
23307                   size: 8;
23308                   min: 0 1;
23309                   align: 0.0 0.5;
23310                }
23311             }
23312             description { state: "selected" 0.0;
23313                inherit: "default" 0.0;
23314                color: 128 128 128 255;
23315                color3: 0 0 0 32;
23316             }
23317          }
23318          part { name: "fg1";
23319             clip_to: "disclip";
23320             mouse_events: 0;
23321             description { state: "default" 0.0;
23322                visible: 0;
23323                color: 255 255 255 0;
23324                rel1.to: "bg";
23325                rel2.relative: 1.0 0.5;
23326                rel2.to: "bg";
23327                image {
23328                   normal: "bt_sm_hilight.png";
23329                   border: 6 6 6 0;
23330                }
23331             }
23332             description { state: "selected" 0.0;
23333                inherit: "default" 0.0;
23334                visible: 1;
23335                color: 255 255 255 255;
23336             }
23337          }
23338          part { name: "fg2";
23339             clip_to: "disclip";
23340             mouse_events: 0;
23341             description { state: "default" 0.0;
23342                visible: 0;
23343                color: 255 255 255 0;
23344                rel1.to: "bg";
23345                rel2.to: "bg";
23346                image {
23347                   normal: "bt_sm_shine.png";
23348                   border: 6 6 6 0;
23349                }
23350             }
23351             description { state: "selected" 0.0;
23352                inherit: "default" 0.0;
23353                visible: 1;
23354                color: 255 255 255 255;
23355             }
23356          }
23357          part { name: "disclip";
23358             type: RECT;
23359             description { state: "default" 0.0;
23360                rel1.to: "bg";
23361                rel2.to: "bg";
23362             }
23363             description { state: "disabled" 0.0;
23364                inherit: "default" 0.0;
23365                color: 255 255 255 64;
23366             }
23367          }
23368       }
23369       programs {
23370          // signal: elm,state,%s,active
23371          //   a "check" item named %s went active
23372          // signal: elm,state,%s,passive
23373          //   a "check" item named %s went passive
23374          // default is passive
23375          program {
23376             name:    "go_active";
23377             signal:  "elm,state,selected";
23378             source:  "elm";
23379             action:  STATE_SET "selected" 0.0;
23380             target:  "bg";
23381             target:  "fg1";
23382             target:  "fg2";
23383             target:  "elm.text.title";
23384             target:  "elm.text.album-artist";
23385          }
23386          program {
23387             name:    "go_passive";
23388             signal:  "elm,state,unselected";
23389             source:  "elm";
23390             action:  STATE_SET "default" 0.0;
23391             target:  "bg";
23392             target:  "fg1";
23393             target:  "fg2";
23394             target:  "elm.text.title";
23395             target:  "elm.text.album-artist";
23396             transition: LINEAR 0.1;
23397          }
23398          program {
23399             name:    "go_disabled";
23400             signal:  "elm,state,disabled";
23401             source:  "elm";
23402             action:  STATE_SET "disabled" 0.0;
23403             target:  "disclip";
23404          }
23405          program {
23406             name:    "go_enabled";
23407             signal:  "elm,state,enabled";
23408             source:  "elm";
23409             action:  STATE_SET "default" 0.0;
23410             target:  "disclip";
23411          }
23412       }
23413    }
23414    group { name: "elm/genlist/item_compress_odd/media/default";
23415       data.item: "stacking" "below";
23416       data.item: "selectraise" "on";
23417       data.item: "labels" "elm.text.title elm.text.album-artist";
23418       data.item: "treesize" "20";
23419       images {
23420          image: "bt_sm_base1.png" COMP;
23421          image: "bt_sm_shine.png" COMP;
23422          image: "bt_sm_hilight.png" COMP;
23423          image: "ilist_2.png" COMP;
23424       }
23425       parts {
23426          part { name: "event";
23427             type: RECT;
23428             repeat_events: 1;
23429             description {
23430                state: "default" 0.0;
23431                color: 0 0 0 0;
23432             }
23433          }
23434          part {
23435             name: "base";
23436             mouse_events: 0;
23437             description {
23438                state: "default" 0.0;
23439                image {
23440                   normal: "ilist_2.png";
23441                   border: 2 2 2 2;
23442                }
23443                fill.smooth: 0;
23444             }
23445          }
23446          part { name: "bg";
23447             clip_to: "disclip";
23448             mouse_events: 0;
23449             description { state: "default" 0.0;
23450                visible: 0;
23451                color: 255 255 255 0;
23452                rel1 {
23453                   relative: 0.0 0.0;
23454                   offset: -5 -5;
23455                }
23456                rel2 {
23457                   relative: 1.0 1.0;
23458                   offset: 4 4;
23459                }
23460                image {
23461                   normal: "bt_sm_base1.png";
23462                   border: 6 6 6 6;
23463                }
23464                image.middle: SOLID;
23465             }
23466             description { state: "selected" 0.0;
23467                inherit: "default" 0.0;
23468                visible: 1;
23469                color: 255 255 255 255;
23470                rel1 {
23471                   relative: 0.0 0.0;
23472                   offset: -2 -2;
23473                }
23474                rel2 {
23475                   relative: 1.0 1.0;
23476                   offset: 1 1;
23477                }
23478             }
23479          }
23480          part { name: "elm.swallow.pad";
23481             type: SWALLOW;
23482             description { state: "default" 0.0;
23483                fixed: 1 0;
23484                align: 0.0 0.5;
23485                rel1 {
23486                   relative: 0.0  0.0;
23487                   offset:   4    4;
23488                }
23489                rel2 {
23490                   relative: 0.0  1.0;
23491                   offset:   4   -5;
23492                }
23493             }
23494          }
23495          part { name: "elm.text.title";
23496             clip_to: "disclip";
23497             type:           TEXT;
23498             effect:         SOFT_SHADOW;
23499             mouse_events:   0;
23500             scale: 1;
23501             description {
23502                state: "default" 0.0;
23503                rel1 {
23504                   relative: 0.0  0.0;
23505                   offset:   4 4;
23506                }
23507                rel2 {
23508                   relative: 1.0  0.5;
23509                   offset:   -1 -5;
23510                }
23511                color: 0 0 0 255;
23512                color3: 0 0 0 0;
23513                text {
23514                   font: "Sans";
23515                   size: 10;
23516                   min: 0 1;
23517                   align: 0.0 0.5;
23518                }
23519             }
23520             description { state: "selected" 0.0;
23521                inherit: "default" 0.0;
23522                color: 224 224 224 255;
23523                color3: 0 0 0 64;
23524             }
23525          }
23526          part { name: "elm.text.album-artist";
23527             clip_to: "disclip";
23528             type:           TEXT;
23529             mouse_events:   0;
23530             scale: 1;
23531             description {
23532                state: "default" 0.0;
23533                rel1 {
23534                   relative: 0.0  0.5;
23535                   offset:   4 4;
23536                }
23537                rel2 {
23538                   relative: 1.0  1.0;
23539                   offset:   -1 -5;
23540                }
23541                color: 0 0 0 128;
23542                color3: 0 0 0 0;
23543                text {
23544                   font: "Sans";
23545                   size: 8;
23546                   min: 0 1;
23547                   align: 0.0 0.5;
23548                }
23549             }
23550             description { state: "selected" 0.0;
23551                inherit: "default" 0.0;
23552                color: 128 128 128 255;
23553                color3: 0 0 0 32;
23554             }
23555          }
23556          part { name: "fg1";
23557             clip_to: "disclip";
23558             mouse_events: 0;
23559             description { state: "default" 0.0;
23560                visible: 0;
23561                color: 255 255 255 0;
23562                rel1.to: "bg";
23563                rel2.relative: 1.0 0.5;
23564                rel2.to: "bg";
23565                image {
23566                   normal: "bt_sm_hilight.png";
23567                   border: 6 6 6 0;
23568                }
23569             }
23570             description { state: "selected" 0.0;
23571                inherit: "default" 0.0;
23572                visible: 1;
23573                color: 255 255 255 255;
23574             }
23575          }
23576          part { name: "fg2";
23577             clip_to: "disclip";
23578             mouse_events: 0;
23579             description { state: "default" 0.0;
23580                visible: 0;
23581                color: 255 255 255 0;
23582                rel1.to: "bg";
23583                rel2.to: "bg";
23584                image {
23585                   normal: "bt_sm_shine.png";
23586                   border: 6 6 6 0;
23587                }
23588             }
23589             description { state: "selected" 0.0;
23590                inherit: "default" 0.0;
23591                visible: 1;
23592                color: 255 255 255 255;
23593             }
23594          }
23595          part { name: "disclip";
23596             type: RECT;
23597             description { state: "default" 0.0;
23598                rel1.to: "bg";
23599                rel2.to: "bg";
23600             }
23601             description { state: "disabled" 0.0;
23602                inherit: "default" 0.0;
23603                color: 255 255 255 64;
23604             }
23605          }
23606       }
23607       programs {
23608          // signal: elm,state,%s,active
23609          //   a "check" item named %s went active
23610          // signal: elm,state,%s,passive
23611          //   a "check" item named %s went passive
23612          // default is passive
23613          program {
23614             name:    "go_active";
23615             signal:  "elm,state,selected";
23616             source:  "elm";
23617             action:  STATE_SET "selected" 0.0;
23618             target:  "bg";
23619             target:  "fg1";
23620             target:  "fg2";
23621             target:  "elm.text.title";
23622             target:  "elm.text.album-artist";
23623          }
23624          program {
23625             name:    "go_passive";
23626             signal:  "elm,state,unselected";
23627             source:  "elm";
23628             action:  STATE_SET "default" 0.0;
23629             target:  "bg";
23630             target:  "fg1";
23631             target:  "fg2";
23632             target:  "elm.text.title";
23633             target:  "elm.text.album-artist";
23634             transition: LINEAR 0.1;
23635          }
23636          program {
23637             name:    "go_disabled";
23638             signal:  "elm,state,disabled";
23639             source:  "elm";
23640             action:  STATE_SET "disabled" 0.0;
23641             target:  "disclip";
23642          }
23643          program {
23644             name:    "go_enabled";
23645             signal:  "elm,state,enabled";
23646             source:  "elm";
23647             action:  STATE_SET "default" 0.0;
23648             target:  "disclip";
23649          }
23650       }
23651    }
23652
23653    group { name: "elm/genlist/item_compress/media-album/default";
23654       data.item: "stacking" "above";
23655       data.item: "selectraise" "on";
23656       data.item: "labels" "elm.text.title elm.text.trackno elm.text.length";
23657       data.item: "states" "elm.state.trackno";
23658       data.item: "treesize" "20";
23659       images {
23660          image: "bt_sm_base1.png" COMP;
23661          image: "bt_sm_shine.png" COMP;
23662          image: "bt_sm_hilight.png" COMP;
23663          image: "ilist_1.png" COMP;
23664          image: "ilist_item_shadow.png" COMP;
23665       }
23666       script {
23667          public dot_visible;
23668       }
23669       parts {
23670          part {
23671             name: "event";
23672             type: RECT;
23673             repeat_events: 1;
23674             description {
23675                state: "default" 0.0;
23676                color: 0 0 0 0;
23677             }
23678          }
23679          part {
23680             name: "base_sh";
23681             mouse_events: 0;
23682             description {
23683                state: "default" 0.0;
23684                align: 0.0 0.0;
23685                min: 0 10;
23686                fixed: 1 1;
23687                rel1 {
23688                   to: "base";
23689                   relative: 0.0 1.0;
23690                   offset: 0 0;
23691                }
23692                rel2 {
23693                   to: "base";
23694                   relative: 1.0 1.0;
23695                   offset: -1 0;
23696                }
23697                image {
23698                   normal: "ilist_item_shadow.png";
23699                }
23700                fill.smooth: 0;
23701             }
23702          }
23703          part {
23704             name: "base";
23705             mouse_events: 0;
23706             description {
23707                state: "default" 0.0;
23708                image {
23709                   normal: "ilist_1.png";
23710                   border: 2 2 2 2;
23711                }
23712                fill.smooth: 0;
23713             }
23714          }
23715          part { name: "bg";
23716             clip_to: "disclip";
23717             mouse_events: 0;
23718             description { state: "default" 0.0;
23719                visible: 0;
23720                color: 255 255 255 0;
23721                rel1 {
23722                   relative: 0.0 0.0;
23723                   offset: -5 -5;
23724                }
23725                rel2 {
23726                   relative: 1.0 1.0;
23727                   offset: 4 4;
23728                }
23729                image {
23730                   normal: "bt_sm_base1.png";
23731                   border: 6 6 6 6;
23732                }
23733                image.middle: SOLID;
23734             }
23735             description { state: "selected" 0.0;
23736                inherit: "default" 0.0;
23737                visible: 1;
23738                color: 255 255 255 255;
23739                rel1 {
23740                   relative: 0.0 0.0;
23741                   offset: -2 -2;
23742                }
23743                rel2 {
23744                   relative: 1.0 1.0;
23745                   offset: 1 1;
23746                }
23747             }
23748          }
23749          part { name: "elm.swallow.pad";
23750             type: SWALLOW;
23751             description { state: "default" 0.0;
23752                fixed: 1 0;
23753                align: 0.0 0.5;
23754                rel1 {
23755                   relative: 0.0  0.0;
23756                   offset:   4    4;
23757                }
23758                rel2 {
23759                   relative: 0.0  1.0;
23760                   offset:   4   -5;
23761                }
23762             }
23763          }
23764          part {
23765             name: "elm.text.trackno";
23766             type: TEXT;
23767             scale: 1;
23768             mouse_events: 0;
23769             description {
23770                state: "default" 0.0;
23771                color: 255 255 255 255;
23772                align: 0.0 0.0;
23773                fixed: 1 0;
23774                rel1 {
23775                   to_y: "elm.text.title";
23776                   relative: 0.0 0.0;
23777                   offset: 5 0;
23778                }
23779                rel2 {
23780                   to_y: "elm.text.title";
23781                   relative: 0.0 1.0;
23782                   offset: 20 0;
23783                }
23784                color: 0 0 0 255;
23785                color3: 0 0 0 0;
23786                text {
23787                   font: "Sans";
23788                   size: 10;
23789                   min: 1 1;
23790                   align: 1.0 0.5;
23791                }
23792             }
23793             description { state: "selected" 0.0;
23794                inherit: "default" 0.0;
23795                color: 224 224 224 255;
23796                color3: 0 0 0 64;
23797             }
23798          }
23799          part {
23800             name: "dot";
23801             type: TEXT;
23802             scale: 1;
23803             mouse_events: 0;
23804             description {
23805                state: "default" 0.0;
23806                color: 255 255 255 255;
23807                visible: 0;
23808                fixed: 1 1;
23809                align: 0.0 0.0;
23810                rel1 {
23811                   to_x: "elm.text.trackno";
23812                   to_y: "elm.text.title";
23813                   relative: 1.0 0.0;
23814                   offset: 1 0;
23815                }
23816                rel2 {
23817                   to_x: "elm.text.trackno";
23818                   to_y: "elm.text.title";
23819                   relative: 1.0 1.0;
23820                   offset: 1 0;
23821
23822                }
23823                color: 0 0 0 255;
23824                color3: 0 0 0 0;
23825                text {
23826                   font: "Sans";
23827                   size: 10;
23828                   min: 1 1;
23829                   align: 0.0 0.5;
23830                   text: ".";
23831                }
23832             }
23833             description {
23834                state: "visible" 0.0;
23835                inherit: "default" 0.0;
23836                visible: 1;
23837             }
23838             description { state: "selected" 0.0;
23839                inherit: "default" 0.0;
23840                color: 224 224 224 255;
23841                color3: 0 0 0 64;
23842                visible: 1;
23843             }
23844          }
23845          programs {
23846             program {
23847                signal: "elm,state,elm.state.trackno,active";
23848                source: "elm";
23849                script {
23850                   set_state(PART:"dot", "visible", 0.0);
23851                   set_int(dot_visible, 1);
23852                }
23853             }
23854          }
23855          part { name: "elm.text.title";
23856             clip_to: "disclip";
23857             type:           TEXT;
23858             effect:         SOFT_SHADOW;
23859             mouse_events:   0;
23860             scale: 1;
23861             description {
23862                state: "default" 0.0;
23863                rel1 {
23864                   to_x: "dot";
23865                   relative: 0.0  0.0;
23866                   offset:   4 4;
23867                }
23868                rel2 {
23869                   relative: 1.0  0.5;
23870                   offset:   -1 -5;
23871                }
23872                color: 0 0 0 255;
23873                color3: 0 0 0 0;
23874                text {
23875                   font: "Sans";
23876                   size: 10;
23877                   min: 0 1;
23878                   align: 0.0 0.5;
23879                }
23880             }
23881             description { state: "selected" 0.0;
23882                inherit: "default" 0.0;
23883                color: 224 224 224 255;
23884                color3: 0 0 0 64;
23885             }
23886          }
23887          part { name: "elm.text.length";
23888             clip_to: "disclip";
23889             type:           TEXT;
23890             mouse_events:   0;
23891             scale: 1;
23892             description {
23893                state: "default" 0.0;
23894                rel1 {
23895                   relative: 0.0  0.5;
23896                   offset:   4 4;
23897                }
23898                rel2 {
23899                   relative: 1.0  1.0;
23900                   offset:   -1 -5;
23901                }
23902                color: 0 0 0 128;
23903                color3: 0 0 0 0;
23904                text {
23905                   font: "Sans";
23906                   size: 8;
23907                   min: 0 1;
23908                   align: 0.0 0.5;
23909                }
23910             }
23911             description { state: "selected" 0.0;
23912                inherit: "default" 0.0;
23913                color: 128 128 128 255;
23914                color3: 0 0 0 32;
23915             }
23916          }
23917          part { name: "fg1";
23918             clip_to: "disclip";
23919             mouse_events: 0;
23920             description { state: "default" 0.0;
23921                visible: 0;
23922                color: 255 255 255 0;
23923                rel1.to: "bg";
23924                rel2.relative: 1.0 0.5;
23925                rel2.to: "bg";
23926                image {
23927                   normal: "bt_sm_hilight.png";
23928                   border: 6 6 6 0;
23929                }
23930             }
23931             description { state: "selected" 0.0;
23932                inherit: "default" 0.0;
23933                visible: 1;
23934                color: 255 255 255 255;
23935             }
23936          }
23937          part { name: "fg2";
23938             clip_to: "disclip";
23939             mouse_events: 0;
23940             description { state: "default" 0.0;
23941                visible: 0;
23942                color: 255 255 255 0;
23943                rel1.to: "bg";
23944                rel2.to: "bg";
23945                image {
23946                   normal: "bt_sm_shine.png";
23947                   border: 6 6 6 0;
23948                }
23949             }
23950             description { state: "selected" 0.0;
23951                inherit: "default" 0.0;
23952                visible: 1;
23953                color: 255 255 255 255;
23954             }
23955          }
23956          part { name: "disclip";
23957             type: RECT;
23958             description { state: "default" 0.0;
23959                rel1.to: "bg";
23960                rel2.to: "bg";
23961             }
23962             description { state: "disabled" 0.0;
23963                inherit: "default" 0.0;
23964                color: 255 255 255 64;
23965             }
23966          }
23967       }
23968       programs {
23969          // signal: elm,state,%s,active
23970          //   a "check" item named %s went active
23971          // signal: elm,state,%s,passive
23972          //   a "check" item named %s went passive
23973          // default is passive
23974          program {
23975             name:    "go_active";
23976             signal:  "elm,state,selected";
23977             source:  "elm";
23978             action:  STATE_SET "selected" 0.0;
23979             target:  "bg";
23980             target:  "fg1";
23981             target:  "fg2";
23982             target:  "elm.text.title";
23983             target:  "elm.text.trackno";
23984             target:  "elm.text.length";
23985             after:   "dot_active";
23986          }
23987          program {
23988             name: "dot_active";
23989             script {
23990                if (get_int(dot_visible) == 1)
23991                   set_state(PART:"dot", "selected", 0.0);
23992             }
23993          }
23994          program {
23995             name:    "go_passive";
23996             signal:  "elm,state,unselected";
23997             source:  "elm";
23998             action:  STATE_SET "default" 0.0;
23999             target:  "bg";
24000             target:  "fg1";
24001             target:  "fg2";
24002             target:  "elm.text.title";
24003             target:  "elm.text.length";
24004             target:  "elm.text.trackno";
24005             transition: LINEAR 0.1;
24006             after:   "dot_passive";
24007          }
24008          program {
24009             name: "dot_passive";
24010             script {
24011                if (get_int(dot_visible) == 1)
24012                   set_state(PART:"dot", "visible", 0.0);
24013             }
24014          }
24015          program {
24016             name:    "go_disabled";
24017             signal:  "elm,state,disabled";
24018             source:  "elm";
24019             action:  STATE_SET "disabled" 0.0;
24020             target:  "disclip";
24021          }
24022          program {
24023             name:    "go_enabled";
24024             signal:  "elm,state,enabled";
24025             source:  "elm";
24026             action:  STATE_SET "default" 0.0;
24027             target:  "disclip";
24028          }
24029       }
24030    }
24031    group { name: "elm/genlist/item_compress_odd/media-album/default";
24032       data.item: "stacking" "below";
24033       data.item: "selectraise" "on";
24034       data.item: "labels" "elm.text.title elm.text.trackno elm.text.length";
24035       data.item: "states" "elm.state.trackno";
24036       data.item: "treesize" "20";
24037       images {
24038          image: "bt_sm_base1.png" COMP;
24039          image: "bt_sm_shine.png" COMP;
24040          image: "bt_sm_hilight.png" COMP;
24041          image: "ilist_2.png" COMP;
24042       }
24043       script {
24044          public dot_visible;
24045       }
24046       parts {
24047          part { name: "event";
24048             type: RECT;
24049             repeat_events: 1;
24050             description {
24051                state: "default" 0.0;
24052                color: 0 0 0 0;
24053             }
24054          }
24055          part {
24056             name: "base";
24057             mouse_events: 0;
24058             description {
24059                state: "default" 0.0;
24060                image {
24061                   normal: "ilist_2.png";
24062                   border: 2 2 2 2;
24063                }
24064                fill.smooth: 0;
24065             }
24066          }
24067          part { name: "bg";
24068             clip_to: "disclip";
24069             mouse_events: 0;
24070             description { state: "default" 0.0;
24071                visible: 0;
24072                color: 255 255 255 0;
24073                rel1 {
24074                   relative: 0.0 0.0;
24075                   offset: -5 -5;
24076                }
24077                rel2 {
24078                   relative: 1.0 1.0;
24079                   offset: 4 4;
24080                }
24081                image {
24082                   normal: "bt_sm_base1.png";
24083                   border: 6 6 6 6;
24084                }
24085                image.middle: SOLID;
24086             }
24087             description { state: "selected" 0.0;
24088                inherit: "default" 0.0;
24089                visible: 1;
24090                color: 255 255 255 255;
24091                rel1 {
24092                   relative: 0.0 0.0;
24093                   offset: -2 -2;
24094                }
24095                rel2 {
24096                   relative: 1.0 1.0;
24097                   offset: 1 1;
24098                }
24099             }
24100          }
24101          part { name: "elm.swallow.pad";
24102             type: SWALLOW;
24103             description { state: "default" 0.0;
24104                fixed: 1 0;
24105                align: 0.0 0.5;
24106                rel1 {
24107                   relative: 0.0  0.0;
24108                   offset:   4    4;
24109                }
24110                rel2 {
24111                   relative: 0.0  1.0;
24112                   offset:   4   -5;
24113                }
24114             }
24115          }
24116          part {
24117             name: "elm.text.trackno";
24118             type: TEXT;
24119             scale: 1;
24120             mouse_events: 0;
24121             description {
24122                state: "default" 0.0;
24123                color: 255 255 255 255;
24124                align: 0.0 0.0;
24125                fixed: 1 0;
24126                rel1 {
24127                   to_y: "elm.text.title";
24128                   relative: 0.0 0.0;
24129                   offset: 5 0;
24130                }
24131                rel2 {
24132                   to_y: "elm.text.title";
24133                   relative: 0.0 1.0;
24134                   offset: 20 0;
24135                }
24136                color: 0 0 0 255;
24137                color3: 0 0 0 0;
24138                text {
24139                   font: "Sans";
24140                   size: 10;
24141                   min: 1 1;
24142                   align: 1.0 0.5;
24143                }
24144             }
24145             description { state: "selected" 0.0;
24146                inherit: "default" 0.0;
24147                color: 224 224 224 255;
24148                color3: 0 0 0 64;
24149             }
24150          }
24151          part {
24152             name: "dot";
24153             type: TEXT;
24154             scale: 1;
24155             mouse_events: 0;
24156             description {
24157                state: "default" 0.0;
24158                color: 255 255 255 255;
24159                visible: 0;
24160                fixed: 1 1;
24161                align: 0.0 0.0;
24162                rel1 {
24163                   to_x: "elm.text.trackno";
24164                   to_y: "elm.text.title";
24165                   relative: 1.0 0.0;
24166                   offset: 1 0;
24167                }
24168                rel2 {
24169                   to_x: "elm.text.trackno";
24170                   to_y: "elm.text.title";
24171                   relative: 1.0 1.0;
24172                   offset: 1 0;
24173
24174                }
24175                color: 0 0 0 255;
24176                color3: 0 0 0 0;
24177                text {
24178                   font: "Sans";
24179                   size: 10;
24180                   min: 1 1;
24181                   align: 0.0 0.5;
24182                   text: ".";
24183                }
24184             }
24185             description {
24186                state: "visible" 0.0;
24187                inherit: "default" 0.0;
24188                visible: 1;
24189             }
24190             description { state: "selected" 0.0;
24191                inherit: "default" 0.0;
24192                color: 224 224 224 255;
24193                color3: 0 0 0 64;
24194                visible: 1;
24195             }
24196          }
24197          programs {
24198             program {
24199                signal: "elm,state,elm.state.trackno,active";
24200                source: "elm";
24201                script {
24202                   set_state(PART:"dot", "visible", 0.0);
24203                   set_int(dot_visible, 1);
24204                }
24205             }
24206          }
24207          part { name: "elm.text.title";
24208             clip_to: "disclip";
24209             type:           TEXT;
24210             effect:         SOFT_SHADOW;
24211             mouse_events:   0;
24212             scale: 1;
24213             description {
24214                state: "default" 0.0;
24215                rel1 {
24216                   to_x: "dot";
24217                   relative: 1.0  0.0;
24218                   offset:   4 4;
24219                }
24220                rel2 {
24221                   relative: 1.0  0.5;
24222                   offset:   -1 -5;
24223                }
24224                color: 0 0 0 255;
24225                color3: 0 0 0 0;
24226                text {
24227                   font: "Sans";
24228                   size: 10;
24229                   min: 0 1;
24230                   align: 0.0 0.5;
24231                }
24232             }
24233             description { state: "selected" 0.0;
24234                inherit: "default" 0.0;
24235                color: 224 224 224 255;
24236                color3: 0 0 0 64;
24237             }
24238          }
24239          part { name: "elm.text.length";
24240             clip_to: "disclip";
24241             type:           TEXT;
24242             mouse_events:   0;
24243             scale: 1;
24244             description {
24245                state: "default" 0.0;
24246                rel1 {
24247                   relative: 0.0  0.5;
24248                   offset:   4 4;
24249                }
24250                rel2 {
24251                   relative: 1.0  1.0;
24252                   offset:   -1 -5;
24253                }
24254                color: 0 0 0 128;
24255                color3: 0 0 0 0;
24256                text {
24257                   font: "Sans";
24258                   size: 8;
24259                   min: 0 1;
24260                   align: 0.0 0.5;
24261                }
24262             }
24263             description { state: "selected" 0.0;
24264                inherit: "default" 0.0;
24265                color: 128 128 128 255;
24266                color3: 0 0 0 32;
24267             }
24268          }
24269          part { name: "fg1";
24270             clip_to: "disclip";
24271             mouse_events: 0;
24272             description { state: "default" 0.0;
24273                visible: 0;
24274                color: 255 255 255 0;
24275                rel1.to: "bg";
24276                rel2.relative: 1.0 0.5;
24277                rel2.to: "bg";
24278                image {
24279                   normal: "bt_sm_hilight.png";
24280                   border: 6 6 6 0;
24281                }
24282             }
24283             description { state: "selected" 0.0;
24284                inherit: "default" 0.0;
24285                visible: 1;
24286                color: 255 255 255 255;
24287             }
24288          }
24289          part { name: "fg2";
24290             clip_to: "disclip";
24291             mouse_events: 0;
24292             description { state: "default" 0.0;
24293                visible: 0;
24294                color: 255 255 255 0;
24295                rel1.to: "bg";
24296                rel2.to: "bg";
24297                image {
24298                   normal: "bt_sm_shine.png";
24299                   border: 6 6 6 0;
24300                }
24301             }
24302             description { state: "selected" 0.0;
24303                inherit: "default" 0.0;
24304                visible: 1;
24305                color: 255 255 255 255;
24306             }
24307          }
24308          part { name: "disclip";
24309             type: RECT;
24310             description { state: "default" 0.0;
24311                rel1.to: "bg";
24312                rel2.to: "bg";
24313             }
24314             description { state: "disabled" 0.0;
24315                inherit: "default" 0.0;
24316                color: 255 255 255 64;
24317             }
24318          }
24319       }
24320       programs {
24321          // signal: elm,state,%s,active
24322          //   a "check" item named %s went active
24323          // signal: elm,state,%s,passive
24324          //   a "check" item named %s went passive
24325          // default is passive
24326          program {
24327             name:    "go_active";
24328             signal:  "elm,state,selected";
24329             source:  "elm";
24330             action:  STATE_SET "selected" 0.0;
24331             target:  "bg";
24332             target:  "fg1";
24333             target:  "fg2";
24334             target:  "elm.text.title";
24335             target:  "elm.text.length";
24336             target:  "elm.text.trackno";
24337             after:   "dot_active";
24338          }
24339          program {
24340             name: "dot_active";
24341             script {
24342                if (get_int(dot_visible) == 1)
24343                   set_state(PART:"dot", "selected", 0.0);
24344             }
24345          }
24346          program {
24347             name:    "go_passive";
24348             signal:  "elm,state,unselected";
24349             source:  "elm";
24350             action:  STATE_SET "default" 0.0;
24351             target:  "bg";
24352             target:  "fg1";
24353             target:  "fg2";
24354             target:  "elm.text.title";
24355             target:  "elm.text.length";
24356             target:  "elm.text.trackno";
24357             transition: LINEAR 0.1;
24358             after:   "dot_passive";
24359          }
24360          program {
24361             name: "dot_passive";
24362             script {
24363                if (get_int(dot_visible) == 1)
24364                   set_state(PART:"dot", "visible", 0.0);
24365             }
24366          }
24367          program {
24368             name:    "go_disabled";
24369             signal:  "elm,state,disabled";
24370             source:  "elm";
24371             action:  STATE_SET "disabled" 0.0;
24372             target:  "disclip";
24373          }
24374          program {
24375             name:    "go_enabled";
24376             signal:  "elm,state,enabled";
24377             source:  "elm";
24378             action:  STATE_SET "default" 0.0;
24379             target:  "disclip";
24380          }
24381       }
24382    }
24383
24384    group { name: "elm/genlist/item_compress/media-preview/default";
24385       data.item: "stacking" "above";
24386       data.item: "selectraise" "on";
24387       data.item: "labels" "elm.text.title elm.text.artist";
24388       data.item: "icons" "elm.swallow.preview";
24389       data.item: "treesize" "20";
24390       images {
24391          image: "bt_sm_base1.png" COMP;
24392          image: "bt_sm_shine.png" COMP;
24393          image: "bt_sm_hilight.png" COMP;
24394          image: "ilist_1.png" COMP;
24395          image: "ilist_item_shadow.png" COMP;
24396       }
24397       parts {
24398          part {
24399             name: "event";
24400             type: RECT;
24401             repeat_events: 1;
24402             description {
24403                state: "default" 0.0;
24404                color: 0 0 0 0;
24405             }
24406          }
24407          part {
24408             name: "base_sh";
24409             mouse_events: 0;
24410             description {
24411                state: "default" 0.0;
24412                align: 0.0 0.0;
24413                min: 0 10;
24414                fixed: 1 1;
24415                rel1 {
24416                   to: "base";
24417                   relative: 0.0 1.0;
24418                   offset: 0 0;
24419                }
24420                rel2 {
24421                   to: "base";
24422                   relative: 1.0 1.0;
24423                   offset: -1 0;
24424                }
24425                image {
24426                   normal: "ilist_item_shadow.png";
24427                }
24428                fill.smooth: 0;
24429             }
24430          }
24431          part {
24432             name: "base";
24433             mouse_events: 0;
24434             description {
24435                state: "default" 0.0;
24436                image {
24437                   normal: "ilist_1.png";
24438                   border: 2 2 2 2;
24439                }
24440                fill.smooth: 0;
24441             }
24442          }
24443          part { name: "bg";
24444             clip_to: "disclip";
24445             mouse_events: 0;
24446             description { state: "default" 0.0;
24447                visible: 0;
24448                color: 255 255 255 0;
24449                rel1 {
24450                   relative: 0.0 0.0;
24451                   offset: -5 -5;
24452                }
24453                rel2 {
24454                   relative: 1.0 1.0;
24455                   offset: 4 4;
24456                }
24457                image {
24458                   normal: "bt_sm_base1.png";
24459                   border: 6 6 6 6;
24460                }
24461                image.middle: SOLID;
24462             }
24463             description { state: "selected" 0.0;
24464                inherit: "default" 0.0;
24465                visible: 1;
24466                color: 255 255 255 255;
24467                rel1 {
24468                   relative: 0.0 0.0;
24469                   offset: -2 -2;
24470                }
24471                rel2 {
24472                   relative: 1.0 1.0;
24473                   offset: 1 1;
24474                }
24475             }
24476          }
24477          part { name: "elm.swallow.pad";
24478             type: SWALLOW;
24479             description { state: "default" 0.0;
24480                fixed: 1 0;
24481                align: 0.0 0.5;
24482                rel1 {
24483                   relative: 0.0  0.0;
24484                   offset:   4    4;
24485                }
24486                rel2 {
24487                   relative: 0.0  1.0;
24488                   offset:   4   -5;
24489                }
24490             }
24491          }
24492          part { name: "elm.swallow.preview";
24493             clip_to: "disclip";
24494             type: SWALLOW;
24495             description { state: "default" 0.0;
24496                fixed: 1 0;
24497                align: 0.0 0.5;
24498                min: 68 68;
24499                max: 68 68;
24500                rel1 {
24501                   to_x: "elm.swallow.pad";
24502                   relative: 1.0  0.0;
24503                   offset:   -1    4;
24504                }
24505                rel2 {
24506                   to_x: "elm.swallow.pad";
24507                   relative: 1.0  1.0;
24508                   offset:   -1   -5;
24509                }
24510             }
24511          }
24512          part { name: "elm.text.title";
24513             clip_to: "disclip";
24514             type:           TEXT;
24515             effect:         SOFT_SHADOW;
24516             mouse_events:   0;
24517             scale: 1;
24518             description {
24519                state: "default" 0.0;
24520                rel1 {
24521                   to_x:     "elm.swallow.preview";
24522                   relative: 1.0  0.0;
24523                   offset:   4 4;
24524                }
24525                rel2 {
24526                   relative: 1.0  0.5;
24527                   offset:   -1 -5;
24528                }
24529                color: 0 0 0 255;
24530                color3: 0 0 0 0;
24531                text {
24532                   font: "Sans";
24533                   size: 10;
24534                   min: 0 1;
24535                   align: 0.0 0.5;
24536                }
24537             }
24538             description { state: "selected" 0.0;
24539                inherit: "default" 0.0;
24540                color: 224 224 224 255;
24541                color3: 0 0 0 64;
24542             }
24543          }
24544          part { name: "elm.text.artist";
24545             clip_to: "disclip";
24546             type:           TEXT;
24547             mouse_events:   0;
24548             scale: 1;
24549             description {
24550                state: "default" 0.0;
24551                rel1 {
24552                   to_x:     "elm.swallow.preview";
24553                   relative: 1.0  0.5;
24554                   offset:   4 4;
24555                }
24556                rel2 {
24557                   relative: 1.0  1.0;
24558                   offset:   -1 -5;
24559                }
24560                color: 0 0 0 128;
24561                color3: 0 0 0 0;
24562                text {
24563                   font: "Sans";
24564                   size: 8;
24565                   min: 0 1;
24566                   align: 0.0 0.5;
24567                }
24568             }
24569             description { state: "selected" 0.0;
24570                inherit: "default" 0.0;
24571                color: 128 128 128 255;
24572                color3: 0 0 0 32;
24573             }
24574          }
24575          part { name: "fg1";
24576             clip_to: "disclip";
24577             mouse_events: 0;
24578             description { state: "default" 0.0;
24579                visible: 0;
24580                color: 255 255 255 0;
24581                rel1.to: "bg";
24582                rel2.relative: 1.0 0.5;
24583                rel2.to: "bg";
24584                image {
24585                   normal: "bt_sm_hilight.png";
24586                   border: 6 6 6 0;
24587                }
24588             }
24589             description { state: "selected" 0.0;
24590                inherit: "default" 0.0;
24591                visible: 1;
24592                color: 255 255 255 255;
24593             }
24594          }
24595          part { name: "fg2";
24596             clip_to: "disclip";
24597             mouse_events: 0;
24598             description { state: "default" 0.0;
24599                visible: 0;
24600                color: 255 255 255 0;
24601                rel1.to: "bg";
24602                rel2.to: "bg";
24603                image {
24604                   normal: "bt_sm_shine.png";
24605                   border: 6 6 6 0;
24606                }
24607             }
24608             description { state: "selected" 0.0;
24609                inherit: "default" 0.0;
24610                visible: 1;
24611                color: 255 255 255 255;
24612             }
24613          }
24614          part { name: "disclip";
24615             type: RECT;
24616             description { state: "default" 0.0;
24617                rel1.to: "bg";
24618                rel2.to: "bg";
24619             }
24620             description { state: "disabled" 0.0;
24621                inherit: "default" 0.0;
24622                color: 255 255 255 64;
24623             }
24624          }
24625       }
24626       programs {
24627          // signal: elm,state,%s,active
24628          //   a "check" item named %s went active
24629          // signal: elm,state,%s,passive
24630          //   a "check" item named %s went passive
24631          // default is passive
24632          program {
24633             name:    "go_active";
24634             signal:  "elm,state,selected";
24635             source:  "elm";
24636             action:  STATE_SET "selected" 0.0;
24637             target:  "bg";
24638             target:  "fg1";
24639             target:  "fg2";
24640             target:  "elm.text.title";
24641             target:  "elm.text.artist";
24642          }
24643          program {
24644             name:    "go_passive";
24645             signal:  "elm,state,unselected";
24646             source:  "elm";
24647             action:  STATE_SET "default" 0.0;
24648             target:  "bg";
24649             target:  "fg1";
24650             target:  "fg2";
24651             target:  "elm.text.title";
24652             target:  "elm.text.artist";
24653             transition: LINEAR 0.1;
24654          }
24655          program {
24656             name:    "go_disabled";
24657             signal:  "elm,state,disabled";
24658             source:  "elm";
24659             action:  STATE_SET "disabled" 0.0;
24660             target:  "disclip";
24661          }
24662          program {
24663             name:    "go_enabled";
24664             signal:  "elm,state,enabled";
24665             source:  "elm";
24666             action:  STATE_SET "default" 0.0;
24667             target:  "disclip";
24668          }
24669       }
24670    }
24671    group { name: "elm/genlist/item_compress_odd/media-preview/default";
24672       data.item: "stacking" "below";
24673       data.item: "selectraise" "on";
24674       data.item: "labels" "elm.text.title elm.text.artist";
24675       data.item: "icons" "elm.swallow.preview";
24676       data.item: "treesize" "20";
24677       images {
24678          image: "bt_sm_base1.png" COMP;
24679          image: "bt_sm_shine.png" COMP;
24680          image: "bt_sm_hilight.png" COMP;
24681          image: "ilist_2.png" COMP;
24682       }
24683       parts {
24684          part { name: "event";
24685             type: RECT;
24686             repeat_events: 1;
24687             description {
24688                state: "default" 0.0;
24689                color: 0 0 0 0;
24690             }
24691          }
24692          part {
24693             name: "base";
24694             mouse_events: 0;
24695             description {
24696                state: "default" 0.0;
24697                image {
24698                   normal: "ilist_2.png";
24699                   border: 2 2 2 2;
24700                }
24701                fill.smooth: 0;
24702             }
24703          }
24704          part { name: "bg";
24705             clip_to: "disclip";
24706             mouse_events: 0;
24707             description { state: "default" 0.0;
24708                visible: 0;
24709                color: 255 255 255 0;
24710                rel1 {
24711                   relative: 0.0 0.0;
24712                   offset: -5 -5;
24713                }
24714                rel2 {
24715                   relative: 1.0 1.0;
24716                   offset: 4 4;
24717                }
24718                image {
24719                   normal: "bt_sm_base1.png";
24720                   border: 6 6 6 6;
24721                }
24722                image.middle: SOLID;
24723             }
24724             description { state: "selected" 0.0;
24725                inherit: "default" 0.0;
24726                visible: 1;
24727                color: 255 255 255 255;
24728                rel1 {
24729                   relative: 0.0 0.0;
24730                   offset: -2 -2;
24731                }
24732                rel2 {
24733                   relative: 1.0 1.0;
24734                   offset: 1 1;
24735                }
24736             }
24737          }
24738          part { name: "elm.swallow.pad";
24739             type: SWALLOW;
24740             description { state: "default" 0.0;
24741                fixed: 1 0;
24742                align: 0.0 0.5;
24743                rel1 {
24744                   relative: 0.0  0.0;
24745                   offset:   4    4;
24746                }
24747                rel2 {
24748                   relative: 0.0  1.0;
24749                   offset:   4   -5;
24750                }
24751             }
24752          }
24753          part { name: "elm.swallow.preview";
24754             clip_to: "disclip";
24755             type: SWALLOW;
24756             description { state: "default" 0.0;
24757                fixed: 1 0;
24758                align: 0.0 0.5;
24759                min: 68 68;
24760                max: 68 68;
24761                rel1 {
24762                   to_x: "elm.swallow.pad";
24763                   relative: 1.0  0.0;
24764                   offset:   -1    4;
24765                }
24766                rel2 {
24767                   to_x: "elm.swallow.pad";
24768                   relative: 1.0  1.0;
24769                   offset:   -1   -5;
24770                }
24771             }
24772          }
24773          part { name: "elm.text.title";
24774             clip_to: "disclip";
24775             type:           TEXT;
24776             effect:         SOFT_SHADOW;
24777             mouse_events:   0;
24778             scale: 1;
24779             description {
24780                state: "default" 0.0;
24781                rel1 {
24782                   to_x:     "elm.swallow.preview";
24783                   relative: 1.0  0.0;
24784                   offset:   4 4;
24785                }
24786                rel2 {
24787                   relative: 1.0  0.5;
24788                   offset:   -1 -5;
24789                }
24790                color: 0 0 0 255;
24791                color3: 0 0 0 0;
24792                text {
24793                   font: "Sans";
24794                   size: 10;
24795                   min: 0 1;
24796                   align: 0.0 0.5;
24797                }
24798             }
24799             description { state: "selected" 0.0;
24800                inherit: "default" 0.0;
24801                color: 224 224 224 255;
24802                color3: 0 0 0 64;
24803             }
24804          }
24805          part { name: "elm.text.artist";
24806             clip_to: "disclip";
24807             type:           TEXT;
24808             mouse_events:   0;
24809             scale: 1;
24810             description {
24811                state: "default" 0.0;
24812                rel1 {
24813                   to_x:     "elm.swallow.preview";
24814                   relative: 1.0  0.5;
24815                   offset:   4 4;
24816                }
24817                rel2 {
24818                   relative: 1.0  1.0;
24819                   offset:   -1 -5;
24820                }
24821                color: 0 0 0 128;
24822                color3: 0 0 0 0;
24823                text {
24824                   font: "Sans";
24825                   size: 8;
24826                   min: 0 1;
24827                   align: 0.0 0.5;
24828                }
24829             }
24830             description { state: "selected" 0.0;
24831                inherit: "default" 0.0;
24832                color: 128 128 128 255;
24833                color3: 0 0 0 32;
24834             }
24835          }
24836          part { name: "fg1";
24837             clip_to: "disclip";
24838             mouse_events: 0;
24839             description { state: "default" 0.0;
24840                visible: 0;
24841                color: 255 255 255 0;
24842                rel1.to: "bg";
24843                rel2.relative: 1.0 0.5;
24844                rel2.to: "bg";
24845                image {
24846                   normal: "bt_sm_hilight.png";
24847                   border: 6 6 6 0;
24848                }
24849             }
24850             description { state: "selected" 0.0;
24851                inherit: "default" 0.0;
24852                visible: 1;
24853                color: 255 255 255 255;
24854             }
24855          }
24856          part { name: "fg2";
24857             clip_to: "disclip";
24858             mouse_events: 0;
24859             description { state: "default" 0.0;
24860                visible: 0;
24861                color: 255 255 255 0;
24862                rel1.to: "bg";
24863                rel2.to: "bg";
24864                image {
24865                   normal: "bt_sm_shine.png";
24866                   border: 6 6 6 0;
24867                }
24868             }
24869             description { state: "selected" 0.0;
24870                inherit: "default" 0.0;
24871                visible: 1;
24872                color: 255 255 255 255;
24873             }
24874          }
24875          part { name: "disclip";
24876             type: RECT;
24877             description { state: "default" 0.0;
24878                rel1.to: "bg";
24879                rel2.to: "bg";
24880             }
24881             description { state: "disabled" 0.0;
24882                inherit: "default" 0.0;
24883                color: 255 255 255 64;
24884             }
24885          }
24886       }
24887       programs {
24888          // signal: elm,state,%s,active
24889          //   a "check" item named %s went active
24890          // signal: elm,state,%s,passive
24891          //   a "check" item named %s went passive
24892          // default is passive
24893          program {
24894             name:    "go_active";
24895             signal:  "elm,state,selected";
24896             source:  "elm";
24897             action:  STATE_SET "selected" 0.0;
24898             target:  "bg";
24899             target:  "fg1";
24900             target:  "fg2";
24901             target:  "elm.text.title";
24902             target:  "elm.text.artist";
24903          }
24904          program {
24905             name:    "go_passive";
24906             signal:  "elm,state,unselected";
24907             source:  "elm";
24908             action:  STATE_SET "default" 0.0;
24909             target:  "bg";
24910             target:  "fg1";
24911             target:  "fg2";
24912             target:  "elm.text.title";
24913             target:  "elm.text.artist";
24914             transition: LINEAR 0.1;
24915          }
24916          program {
24917             name:    "go_disabled";
24918             signal:  "elm,state,disabled";
24919             source:  "elm";
24920             action:  STATE_SET "disabled" 0.0;
24921             target:  "disclip";
24922          }
24923          program {
24924             name:    "go_enabled";
24925             signal:  "elm,state,enabled";
24926             source:  "elm";
24927             action:  STATE_SET "default" 0.0;
24928             target:  "disclip";
24929          }
24930       }
24931    }
24932
24933    group { name: "elm/genlist/item/mode/default";
24934       data.item: "selectraise" "on";
24935       data.item: "labels" "elm.text.mode";
24936       data.item: "icons" "elm.swallow.mode";
24937       data.item: "mode_part" "elm.swallow.origin";
24938       data.item: "treesize" "20";
24939       images {
24940          image: "bt_sm_base1.png" COMP;
24941          image: "bt_sm_shine.png" COMP;
24942          image: "bt_sm_hilight.png" COMP;
24943          image: "ilist_1.png" COMP;
24944          image: "ilist_2.png" COMP;
24945          image: "ilist_item_shadow.png" COMP;
24946       }
24947
24948       parts {
24949          part {
24950             name: "event";
24951             type: RECT;
24952             repeat_events: 1;
24953             description {
24954                state: "default" 0.0;
24955                color: 0 0 0 0;
24956             }
24957          }
24958          part {
24959             name: "base_sh";
24960             mouse_events: 0;
24961             description {
24962                state: "default" 0.0;
24963                align: 0.0 0.0;
24964                min: 0 10;
24965                fixed: 1 1;
24966                rel1 {
24967                   to: "base";
24968                   relative: 0.0 1.0;
24969                   offset: 0 0;
24970                }
24971                rel2 {
24972                   to: "base";
24973                   relative: 1.0 1.0;
24974                   offset: -1 0;
24975                }
24976                image {
24977                   normal: "ilist_item_shadow.png";
24978                }
24979                fill.smooth: 0;
24980             }
24981             description {
24982                state: "default" 1.0;
24983                inherit: "default" 0.0;
24984                visible: 0;
24985             }
24986          }
24987          part {
24988             name: "base";
24989             mouse_events: 0;
24990             description {
24991                state: "default" 0.0;
24992                image {
24993                   normal: "ilist_1.png";
24994                   border: 2 2 2 2;
24995                }
24996                fill.smooth: 0;
24997             }
24998             description {
24999                state: "default" 1.0;
25000                inherit: "default" 0.0;
25001                image.normal: "ilist_2.png";
25002             }
25003          }
25004          part { name: "bg";
25005             clip_to: "disclip";
25006             mouse_events: 0;
25007             description { state: "default" 0.0;
25008                visible: 0;
25009                color: 255 255 255 0;
25010                rel1 {
25011                   relative: 0.0 0.0;
25012                   offset: -5 -5;
25013                }
25014                rel2 {
25015                   relative: 1.0 1.0;
25016                   offset: 4 4;
25017                }
25018                image {
25019                   normal: "bt_sm_base1.png";
25020                   border: 6 6 6 6;
25021                }
25022                image.middle: SOLID;
25023             }
25024             description { state: "default" 0.1;
25025                inherit: "default" 0.0;
25026             }
25027             description { state: "selected" 0.0;
25028                inherit: "default" 0.0;
25029                visible: 1;
25030                color: 255 255 255 255;
25031                rel1 {
25032                   relative: 0.0 0.0;
25033                   offset: -2 -2;
25034                }
25035                rel2 {
25036                   relative: 1.0 1.0;
25037                   offset: 1 1;
25038                }
25039             }
25040             description {
25041                state: "selected" 1.0;
25042                inherit: "selected" 0.0;
25043             }
25044          }
25045          part { name: "elm.text.mode";
25046             clip_to: "disclip";
25047             type: TEXT;
25048             scale: 1;
25049             description { state: "default" 0.0;
25050                rel2.relative: 0.5 1.0;
25051                color: 0 0 0 255;
25052                text {
25053                   font: "Sans";
25054                   size: 10;
25055                   min: 1 1;
25056                   align: -1.0 0.5;
25057                   text_class: "list_item";
25058                }
25059             }
25060          }
25061         part { name: "elm.swallow.mode";
25062             clip_to: "disclip";
25063             type: SWALLOW;
25064             description { state: "default" 0.0;
25065                rel1.relative: 0.5 0.0;
25066             }
25067          }
25068          part { name: "fg1";
25069             clip_to: "disclip";
25070             mouse_events: 0;
25071             description { state: "default" 0.0;
25072                visible: 0;
25073                color: 255 255 255 0;
25074                rel1.to: "bg";
25075                rel2.relative: 1.0 0.5;
25076                rel2.to: "bg";
25077                image {
25078                   normal: "bt_sm_hilight.png";
25079                   border: 6 6 6 0;
25080                }
25081             }
25082             description { state: "selected" 0.0;
25083                inherit: "default" 0.0;
25084                visible: 1;
25085                color: 255 255 255 255;
25086             }
25087             description {
25088                state: "selected" 1.0;
25089                inherit: "default" 0.0;
25090                visible: 1;
25091                color: 255 255 255 255;
25092             }
25093          }
25094          part { name: "fg2";
25095             clip_to: "disclip";
25096             mouse_events: 0;
25097             description { state: "default" 0.0;
25098                visible: 0;
25099                color: 255 255 255 0;
25100                rel1.to: "bg";
25101                rel2.to: "bg";
25102                image {
25103                   normal: "bt_sm_shine.png";
25104                   border: 6 6 6 0;
25105                }
25106             }
25107             description { state: "selected" 0.0;
25108                inherit: "default" 0.0;
25109                visible: 1;
25110                color: 255 255 255 255;
25111             }
25112             description {
25113                state: "selected" 1.0;
25114                inherit: "default" 0.0;
25115                visible: 1;
25116                color: 255 255 255 255;
25117             }
25118          }
25119          // Transparent part between base parts and slidable parts
25120          part { name: "event_block_layer";
25121             type: RECT;
25122             clip_to: "disclip";
25123             mouse_events: 1;
25124             description { state: "default" 0.0;
25125                rel1.to: "base";
25126                rel2.to: "base";
25127                color: 0 0 0 0;
25128             }
25129             description { state: "repeat_events" 0.0;
25130                inherit: "default" 0.0;
25131                visible: 0;
25132             }
25133          }
25134          part { name: "pers";
25135             clip_to: "disclip";
25136             type: RECT;
25137             description { state: "default" 0.0;
25138                rel1.relative: 0.0 1.0;
25139             }
25140          }
25141          part { name: "elm.swallow.origin";
25142             clip_to: "disclip";
25143             type: SWALLOW;
25144             description { state: "default" 0.0;
25145                fixed: 1 0;
25146                align: 0.0 0.5;
25147             }
25148             description { state: "slide" 0.0;
25149                inherit: "default" 0.0;
25150                rel1.relative: 1 0;
25151                rel2.relative: 2 1;
25152             }
25153             description { state: "rotate" 0.0;
25154                inherit: "default" 0.0;
25155                map {
25156                   perspective: "pers";
25157                   on: 1;
25158                   smooth: 1;
25159                   perspective_on: 1;
25160                   backface_cull: 1;
25161                   rotation {
25162                      center: "pers";
25163                      x: 0.0;
25164                      y: 0.0;
25165                      z: 0.0;
25166                   }
25167                }
25168             }
25169             description { state: "rotate" 1.0;
25170                inherit: "default" 0.0;
25171                map {
25172                   perspective: "pers";
25173                   on: 1;
25174                   smooth: 1;
25175                   perspective_on: 1;
25176                   backface_cull: 1;
25177                   rotation {
25178                      center: "pers";
25179                      x: 90.0;
25180                      y: 0.0;
25181                      z: 0.0;
25182                   }
25183                }
25184             }
25185          }
25186          part { name: "disclip";
25187             type: RECT;
25188             description { state: "default" 0.0;
25189                rel1.to: "bg";
25190                rel2.to: "bg";
25191             }
25192             description { state: "disabled" 0.0;
25193                inherit: "default" 0.0;
25194                color: 255 255 255 64;
25195             }
25196          }
25197       }
25198       programs {
25199          program {
25200             name:    "odd";
25201             signal:  "elm,state,odd";
25202             source:  "elm";
25203             action:  STATE_SET "default" 1.0;
25204             target:  "base_sh";
25205             target:  "base";
25206          }
25207          program {
25208             name:    "even";
25209             signal:  "elm,state,even";
25210             source:  "elm";
25211             action:  STATE_SET "default" 0.0;
25212             target:  "base_sh";
25213             target:  "base";
25214          }
25215          program {
25216             name:    "go_active";
25217             signal:  "elm,state,selected";
25218             source:  "elm";
25219             script {
25220                new st[31];
25221                new Float:vl;
25222                get_state(PART:"base", st, 30, vl);
25223                set_state(PART:"bg", "selected", vl);
25224                set_state(PART:"fg1", "selected", vl);
25225                set_state(PART:"fg2", "selected", vl);
25226             }
25227          }
25228          program {
25229             name:    "go_passive";
25230             signal:  "elm,state,unselected";
25231             source:  "elm";
25232             script {
25233                new st[31];
25234                new Float:vl;
25235                get_state(PART:"base", st, 30, vl);
25236                set_state(PART:"bg", "default", vl);
25237                set_state(PART:"fg1", "default", vl);
25238                set_state(PART:"fg2", "default", vl);
25239             }
25240          }
25241          program {
25242             name:    "go_disabled";
25243             signal:  "elm,state,disabled";
25244             source:  "elm";
25245             action:  STATE_SET "disabled" 0.0;
25246             target:  "disclip";
25247          }
25248          program {
25249             name:    "go_enabled";
25250             signal:  "elm,state,enabled";
25251             source:  "elm";
25252             action:  STATE_SET "default" 0.0;
25253             target:  "disclip";
25254          }
25255          program {
25256             name:    "slide_right";
25257             signal:  "elm,state,slide,active";
25258             source:  "elm";
25259             action:  STATE_SET "slide" 0.0;
25260             target:  "elm.swallow.origin";
25261             transition: ACCELERATE 0.5;
25262             after:   "unblock_event";
25263          }
25264          program {
25265             name:    "unblock_event";
25266             action:  STATE_SET "repeat_events" 0.0;
25267             target:  "event_block_layer";
25268          }
25269          program {
25270             name:    "slide_left";
25271             signal:  "elm,state,slide,passive";
25272             source:  "elm";
25273             action:  STATE_SET "default" 0.0;
25274             target:  "event_block_layer";
25275             after:   "slide_left2";
25276          }
25277          program {
25278             name:    "slide_left2";
25279             action:  STATE_SET "default" 0.0;
25280             target:  "elm.swallow.origin";
25281             transition: DECELERATE 0.5;
25282             after:   "slide_left_finished";
25283          }
25284          program {
25285             name:    "slide_left_finished";
25286             action:  SIGNAL_EMIT "elm,state,slide,passive,finished" "elm";
25287          }
25288          program {
25289             name:    "rotate_on";
25290             signal:  "elm,state,rotate,active";
25291             source:  "elm";
25292             action:  STATE_SET "rotate" 0.0;
25293             target:  "elm.swallow.origin";
25294             after:   "rotate_on2";
25295          }
25296          program {
25297             name:    "rotate_on2";
25298             action:  STATE_SET "rotate" 1.0;
25299             target:  "elm.swallow.origin";
25300             transition: LINEAR 0.5;
25301             after:   "unblock_event";
25302          }
25303          program {
25304             name:    "rotate_off";
25305             signal:  "elm,state,rotate,passive";
25306             source:  "elm";
25307             action:  STATE_SET "default" 0.0;
25308             target:  "event_block_layer";
25309             after:   "rotate_off2";
25310          }
25311          program {
25312             name:    "rotate_off2";
25313             action:  STATE_SET "rotate" 0.0;
25314             transition: LINEAR 0.5;
25315             target:  "elm.swallow.origin";
25316             after:   "rotate_off3";
25317          }
25318          program {
25319             name:    "rotate_off3";
25320             action:  STATE_SET "default" 0.0;
25321             target:  "elm.swallow.origin";
25322             after:   "rotate_off_finished";
25323          }
25324          program {
25325             name:    "rotate_off_finished";
25326             action:  SIGNAL_EMIT "elm,state,rotate,passive,finished" "elm";
25327          }
25328       }
25329    }
25330
25331    group { name: "elm/genlist/item_odd/mode/default";
25332       data.item: "stacking" "below";
25333       data.item: "selectraise" "on";
25334       data.item: "labels" "elm.text.mode";
25335       data.item: "icons" "elm.swallow.mode";
25336       data.item: "mode_part" "elm.swallow.origin";
25337       data.item: "treesize" "20";
25338       images {
25339          image: "bt_sm_base1.png" COMP;
25340          image: "bt_sm_shine.png" COMP;
25341          image: "bt_sm_hilight.png" COMP;
25342          image: "ilist_2.png" COMP;
25343       }
25344
25345       parts {
25346          part {
25347             name: "event";
25348             type: RECT;
25349             repeat_events: 1;
25350             description {
25351                state: "default" 0.0;
25352                color: 0 0 0 0;
25353             }
25354          }
25355          part {
25356             name: "base";
25357             mouse_events: 0;
25358             description {
25359                state: "default" 0.0;
25360                image {
25361                   normal: "ilist_2.png";
25362                   border: 2 2 2 2;
25363                }
25364                fill.smooth: 0;
25365             }
25366          }
25367          part { name: "bg";
25368             clip_to: "disclip";
25369             mouse_events: 0;
25370             description { state: "default" 0.0;
25371                visible: 0;
25372                color: 255 255 255 0;
25373                rel1 {
25374                   relative: 0.0 0.0;
25375                   offset: -5 -5;
25376                }
25377                rel2 {
25378                   relative: 1.0 1.0;
25379                   offset: 4 4;
25380                }
25381                image {
25382                   normal: "bt_sm_base1.png";
25383                   border: 6 6 6 6;
25384                }
25385                image.middle: SOLID;
25386             }
25387             description { state: "selected" 0.0;
25388                inherit: "default" 0.0;
25389                visible: 1;
25390                color: 255 255 255 255;
25391                rel1 {
25392                   relative: 0.0 0.0;
25393                   offset: -2 -2;
25394                }
25395                rel2 {
25396                   relative: 1.0 1.0;
25397                   offset: 1 1;
25398                }
25399             }
25400          }
25401          part { name: "elm.text.mode";
25402             clip_to: "disclip";
25403             type: TEXT;
25404             scale: 1;
25405             description { state: "default" 0.0;
25406                rel2.relative: 0.5 1.0;
25407                color: 0 0 0 255;
25408                text {
25409                   font: "Sans";
25410                   size: 10;
25411                   min: 1 1;
25412                   align: 0.5 0.5;
25413                   text_class: "list_item";
25414                }
25415             }
25416          }
25417         part { name: "elm.swallow.mode";
25418             clip_to: "disclip";
25419             type: SWALLOW;
25420             description { state: "default" 0.0;
25421                rel1.relative: 0.5 0.0;
25422             }
25423          }
25424          part { name: "fg1";
25425             clip_to: "disclip";
25426             mouse_events: 0;
25427             description { state: "default" 0.0;
25428                visible: 0;
25429                color: 255 255 255 0;
25430                rel1.to: "bg";
25431                rel2.relative: 1.0 0.5;
25432                rel2.to: "bg";
25433                image {
25434                   normal: "bt_sm_hilight.png";
25435                   border: 6 6 6 0;
25436                }
25437             }
25438             description { state: "selected" 0.0;
25439                inherit: "default" 0.0;
25440                visible: 1;
25441                color: 255 255 255 255;
25442             }
25443          }
25444          part { name: "fg2";
25445             clip_to: "disclip";
25446             mouse_events: 0;
25447             description { state: "default" 0.0;
25448                visible: 0;
25449                color: 255 255 255 0;
25450                rel1.to: "bg";
25451                rel2.to: "bg";
25452                image {
25453                   normal: "bt_sm_shine.png";
25454                   border: 6 6 6 0;
25455                }
25456             }
25457             description { state: "selected" 0.0;
25458                inherit: "default" 0.0;
25459                visible: 1;
25460                color: 255 255 255 255;
25461             }
25462          }
25463          // Transparent part between base parts and slidable parts
25464          part { name: "event_block_layer";
25465             type: RECT;
25466             clip_to: "disclip";
25467             mouse_events: 1;
25468             description { state: "default" 0.0;
25469                rel1.to: "base";
25470                rel2.to: "base";
25471                color: 0 0 0 0;
25472             }
25473             description { state: "repeat_events" 0.0;
25474                inherit: "default" 0.0;
25475                visible: 0;
25476             }
25477          }
25478          part { name: "pers";
25479             clip_to: "disclip";
25480             type: RECT;
25481             description { state: "default" 0.0;
25482                rel1.relative: 0.0 1.0;
25483             }
25484          }
25485          part { name: "elm.swallow.origin";
25486             clip_to: "disclip";
25487             type: SWALLOW;
25488             description { state: "default" 0.0;
25489                fixed: 1 0;
25490                align: 0.0 0.5;
25491             }
25492             description { state: "slide" 0.0;
25493                inherit: "default" 0.0;
25494                rel1.relative: 1 0;
25495                rel2.relative: 2 1;
25496             }
25497             description { state: "rotate" 0.0;
25498                inherit: "default" 0.0;
25499                map {
25500                   perspective: "pers";
25501                   on: 1;
25502                   smooth: 1;
25503                   perspective_on: 1;
25504                   backface_cull: 1;
25505                   rotation {
25506                      center: "pers";
25507                      x: 0.0;
25508                      y: 0.0;
25509                      z: 0.0;
25510                   }
25511                }
25512             }
25513             description { state: "rotate" 1.0;
25514                inherit: "default" 0.0;
25515                map {
25516                   perspective: "pers";
25517                   on: 1;
25518                   smooth: 1;
25519                   perspective_on: 1;
25520                   backface_cull: 1;
25521                   rotation {
25522                      center: "pers";
25523                      x: 90.0;
25524                      y: 0.0;
25525                      z: 0.0;
25526                   }
25527                }
25528             }
25529          }
25530          part { name: "disclip";
25531             type: RECT;
25532             description { state: "default" 0.0;
25533                rel1.to: "bg";
25534                rel2.to: "bg";
25535             }
25536             description { state: "disabled" 0.0;
25537                inherit: "default" 0.0;
25538                color: 255 255 255 64;
25539             }
25540          }
25541       }
25542       programs {
25543          program {
25544             name:    "go_active";
25545             signal:  "elm,state,selected";
25546             source:  "elm";
25547             action:  STATE_SET "selected" 0.0;
25548             target:  "bg";
25549             target:  "fg1";
25550             target:  "fg2";
25551          }
25552          program {
25553             name:    "go_passive";
25554             signal:  "elm,state,unselected";
25555             source:  "elm";
25556             action:  STATE_SET "default" 0.0;
25557             target:  "bg";
25558             target:  "fg1";
25559             target:  "fg2";
25560             transition: LINEAR 0.1;
25561          }
25562          program {
25563             name:    "go_disabled";
25564             signal:  "elm,state,disabled";
25565             source:  "elm";
25566             action:  STATE_SET "disabled" 0.0;
25567             target:  "disclip";
25568          }
25569          program {
25570             name:    "go_enabled";
25571             signal:  "elm,state,enabled";
25572             source:  "elm";
25573             action:  STATE_SET "default" 0.0;
25574             target:  "disclip";
25575          }
25576          program {
25577             name:    "slide_right";
25578             signal:  "elm,state,slide,active";
25579             source:  "elm";
25580             action:  STATE_SET "slide" 0.0;
25581             target:  "elm.swallow.origin";
25582             transition: ACCELERATE 0.5;
25583             after:   "unblock_event";
25584          }
25585          program {
25586             name:    "unblock_event";
25587             action:  STATE_SET "repeat_events" 0.0;
25588             target:  "event_block_layer";
25589          }
25590          program {
25591             name:    "slide_left";
25592             signal:  "elm,state,slide,passive";
25593             source:  "elm";
25594             action:  STATE_SET "default" 0.0;
25595             target:   "event_block_layer";
25596             after:   "slide_left2";
25597          }
25598          program {
25599             name:    "slide_left2";
25600             action:  STATE_SET "default" 0.0;
25601             target:  "elm.swallow.origin";
25602             transition: DECELERATE 0.5;
25603             after:   "slide_left_finished";
25604          }
25605          program {
25606             name:    "slide_left_finished";
25607             action:  SIGNAL_EMIT "elm,state,slide,passive,finished" "elm";
25608          }
25609          program {
25610             name:    "rotate_on";
25611             signal:  "elm,state,rotate,active";
25612             source:  "elm";
25613             action:  STATE_SET "rotate" 0.0;
25614             target:  "elm.swallow.origin";
25615             after:   "rotate_on2";
25616          }
25617          program {
25618             name:    "rotate_on2";
25619             action:  STATE_SET "rotate" 1.0;
25620             target:  "elm.swallow.origin";
25621             transition: LINEAR 0.5;
25622             after:   "unblock_event";
25623          }
25624          program {
25625             name:    "rotate_off";
25626             signal:  "elm,state,rotate,passive";
25627             source:  "elm";
25628             action:  STATE_SET "default" 0.0;
25629             target:  "event_block_layer";
25630             after:   "rotate_off2";
25631          }
25632          program {
25633             name:    "rotate_off2";
25634             action:  STATE_SET "rotate" 0.0;
25635             transition: LINEAR 0.5;
25636             target:  "elm.swallow.origin";
25637             after:   "rotate_off3";
25638          }
25639          program {
25640             name:    "rotate_off3";
25641             action:  STATE_SET "default" 0.0;
25642             target:  "elm.swallow.origin";
25643             after:   "rotate_off_finished";
25644          }
25645          program {
25646             name:    "rotate_off_finished";
25647             action:  SIGNAL_EMIT "elm,state,rotate,passive,finished" "elm";
25648          }
25649       }
25650    }
25651
25652 ///////////////////////////////////////////////////////////////////////////////
25653    group { name: "elm/pager/base/default";
25654       data.item: "onshow" "raise";
25655 // other options
25656 //      data.item: "onhide" "lower";
25657 //      data.item: "onshow" "lower";
25658       images {
25659          image: "frame_1.png" COMP;
25660          image: "frame_2.png" COMP;
25661          image: "dia_grad.png" COMP;
25662       }
25663       parts {
25664          part { name: "clip";
25665             type: RECT;
25666             mouse_events: 0;
25667             description { state: "default" 0.0;
25668                rel1 {
25669                   to: "base";
25670                   offset: -9999 -9999;
25671                }
25672                rel2 {
25673                   to: "base";
25674                   offset: 9999 9999;
25675                }
25676                color: 255 255 255 255;
25677             }
25678             description { state: "visible" 0.0;
25679                inherit: "default" 0.0;
25680             }
25681             description { state: "hidden" 0.0;
25682                inherit: "default" 0.0;
25683                color: 255 255 255 0;
25684                visible: 0;
25685             }
25686          }
25687          part { name: "base0";
25688             mouse_events:  0;
25689             clip_to: "clip";
25690             description { state: "default" 0.0;
25691                image.normal: "dia_grad.png";
25692                rel1.to: "over";
25693                rel2.to: "over";
25694                fill {
25695                   smooth: 0;
25696                   size {
25697                      relative: 0.0 1.0;
25698                      offset: 64 0;
25699                   }
25700                }
25701             }
25702          }
25703          part { name: "base";
25704             mouse_events:  0;
25705             clip_to: "clip";
25706             description { state: "default" 0.0;
25707                image {
25708                   normal: "frame_2.png";
25709                   border: 5 5 32 26;
25710                   middle: 0;
25711                }
25712                fill.smooth : 0;
25713             }
25714             description { state: "hidden" 0.0;
25715                inherit: "default" 0.0;
25716                rel1.relative: -1.0 0.0;
25717                rel2.relative: 0.0 1.0;
25718             }
25719             description { state: "visible" 0.0;
25720                inherit: "default" 0.0;
25721                rel1.relative: 0.0 0.0;
25722                rel2.relative: 1.0 1.0;
25723             }
25724          }
25725          part { name: "over";
25726             mouse_events:  0;
25727             clip_to: "clip";
25728             description { state:    "default" 0.0;
25729                rel1 {
25730                   to: "base";
25731                   offset: 4 4;
25732                }
25733                rel2 {
25734                   to: "base";
25735                   offset: -5 -5;
25736                }
25737                image {
25738                   normal: "frame_1.png";
25739                   border: 2 2 28 22;
25740                   middle: 0;
25741                }
25742                fill.smooth : 0;
25743             }
25744          }
25745          part { name: "elm.swallow.content";
25746             type: SWALLOW;
25747             clip_to: "clip";
25748             description { state: "default" 0.0;
25749                rel1 {
25750                   to: "base";
25751                   offset: 8 8;
25752                }
25753                rel2 {
25754                   to: "base";
25755                   offset: -9 -9;
25756                }
25757             }
25758          }
25759       }
25760       programs {
25761          program { name: "push_start";
25762             signal: "elm,action,push";
25763             source: "elm";
25764             action:  STATE_SET "hidden" 0.0;
25765             target: "base";
25766             target: "clip";
25767             after: "show_start2";
25768          }
25769          program { name: "show_start";
25770             signal: "elm,action,show";
25771             source: "elm";
25772             action:  STATE_SET "hidden" 0.0;
25773             target: "base";
25774             target: "clip";
25775             after: "show_start2";
25776          }
25777          program { name: "show_start2";
25778             action:  STATE_SET "visible" 0.0;
25779             transition: DECELERATE 0.5;
25780             target: "base";
25781             target: "clip";
25782             after: "show_end";
25783          }
25784          program { name: "show_end";
25785             action: SIGNAL_EMIT "elm,action,show,finished" "";
25786          }
25787          program { name: "pop_start";
25788             signal: "elm,action,pop";
25789             source: "elm";
25790             action:  STATE_SET "visible" 0.0;
25791             target: "base";
25792             target: "clip";
25793             after: "hide_start2";
25794          }
25795          program { name: "hide_start";
25796             signal: "elm,action,hide";
25797             source: "elm";
25798             action:  STATE_SET "visible" 0.0;
25799             target: "base";
25800             target: "clip";
25801             after: "hide_start2";
25802          }
25803          program { name: "hide_start2";
25804             action:  STATE_SET "hidden" 0.0;
25805             transition: DECELERATE 0.5;
25806             target: "base";
25807             target: "clip";
25808             after: "hide_end";
25809          }
25810          program { name: "hide_end";
25811             action: SIGNAL_EMIT "elm,action,hide,finished" "";
25812          }
25813          program { name: "reset";
25814             signal: "elm,action,reset";
25815             source: "elm";
25816             action:  STATE_SET "default" 0.0;
25817             target: "base";
25818             target: "clip";
25819          }
25820       }
25821    }
25822
25823    group { name: "elm/pager/base/slide";
25824       images {
25825          image: "frame_1.png" COMP;
25826          image: "frame_2.png" COMP;
25827          image: "dia_grad.png" COMP;
25828       }
25829       parts {
25830          part { name: "clip";
25831             type: RECT;
25832             mouse_events: 0;
25833             description { state: "default" 0.0;
25834                rel1 {
25835                   to: "base";
25836                   offset: -9999 -9999;
25837                }
25838                rel2 {
25839                   to: "base";
25840                   offset: 9999 9999;
25841                }
25842                color: 255 255 255 255;
25843             }
25844             description { state: "visible" 0.0;
25845                inherit: "default" 0.0;
25846             }
25847             description { state: "hidden" 0.0;
25848                inherit: "default" 0.0;
25849                color: 255 255 255 0;
25850                visible: 0;
25851             }
25852             description { state: "hidden2" 0.0;
25853                inherit: "default" 0.0;
25854                color: 255 255 255 0;
25855                visible: 0;
25856             }
25857          }
25858          part { name: "base0";
25859             mouse_events:  0;
25860             clip_to: "clip";
25861             description { state: "default" 0.0;
25862                image.normal: "dia_grad.png";
25863                rel1.to: "over";
25864                rel2.to: "over";
25865                fill {
25866                   smooth: 0;
25867                   size {
25868                      relative: 0.0 1.0;
25869                      offset: 64 0;
25870                   }
25871                }
25872             }
25873          }
25874          part { name: "base";
25875             mouse_events:  0;
25876             clip_to: "clip";
25877             description { state: "default" 0.0;
25878                image {
25879                   normal: "frame_2.png";
25880                   border: 5 5 32 26;
25881                   middle: 0;
25882                }
25883                fill.smooth : 0;
25884             }
25885             description { state: "hidden" 0.0;
25886                inherit: "default" 0.0;
25887                rel1.relative: -1.0 0.0;
25888                rel2.relative: 0.0 1.0;
25889             }
25890             description { state: "hidden2" 0.0;
25891                inherit: "default" 0.0;
25892                rel1.relative: 1.0 0.0;
25893                rel2.relative: 2.0 1.0;
25894             }
25895             description { state: "visible" 0.0;
25896                inherit: "default" 0.0;
25897                rel1.relative: 0.0 0.0;
25898                rel2.relative: 1.0 1.0;
25899             }
25900          }
25901          part { name: "over";
25902             mouse_events:  0;
25903             clip_to: "clip";
25904             description { state:    "default" 0.0;
25905                rel1 {
25906                   to: "base";
25907                   offset: 4 4;
25908                }
25909                rel2 {
25910                   to: "base";
25911                   offset: -5 -5;
25912                }
25913                image {
25914                   normal: "frame_1.png";
25915                   border: 2 2 28 22;
25916                   middle: 0;
25917                }
25918                fill.smooth : 0;
25919             }
25920          }
25921          part { name: "elm.swallow.content";
25922             type: SWALLOW;
25923             clip_to: "clip";
25924             description { state: "default" 0.0;
25925                rel1 {
25926                   to: "base";
25927                   offset: 8 8;
25928                }
25929                rel2 {
25930                   to: "base";
25931                   offset: -9 -9;
25932                }
25933             }
25934          }
25935       }
25936       programs {
25937          program { name: "push_start";
25938             signal: "elm,action,push";
25939             source: "elm";
25940             action:  STATE_SET "hidden2" 0.0;
25941             target: "base";
25942             target: "clip";
25943             after: "show_start2";
25944          }
25945          program { name: "show_start";
25946             signal: "elm,action,show";
25947             source: "elm";
25948             action:  STATE_SET "hidden" 0.0;
25949             target: "base";
25950             target: "clip";
25951             after: "show_start2";
25952          }
25953          program { name: "show_start2";
25954             action:  STATE_SET "visible" 0.0;
25955             transition: DECELERATE 0.5;
25956             target: "base";
25957             target: "clip";
25958             after: "show_end";
25959          }
25960          program { name: "show_end";
25961             action: SIGNAL_EMIT "elm,action,show,finished" "";
25962          }
25963          program { name: "pop_start";
25964             signal: "elm,action,pop";
25965             source: "elm";
25966             action:  STATE_SET "visible" 0.0;
25967             target: "base";
25968             target: "clip";
25969             after: "pop_start2";
25970          }
25971          program { name: "pop_start2";
25972             action:  STATE_SET "hidden2" 0.0;
25973             transition: DECELERATE 0.5;
25974             target: "base";
25975             target: "clip";
25976             after: "hide_end";
25977          }
25978          program { name: "hide_start";
25979             signal: "elm,action,hide";
25980             source: "elm";
25981             action:  STATE_SET "visible" 0.0;
25982             target: "base";
25983             target: "clip";
25984             after: "hide_start2";
25985          }
25986          program { name: "hide_start2";
25987             action:  STATE_SET "hidden" 0.0;
25988             transition: DECELERATE 0.5;
25989             target: "base";
25990             target: "clip";
25991             after: "hide_end";
25992          }
25993          program { name: "hide_end";
25994             action: SIGNAL_EMIT "elm,action,hide,finished" "";
25995          }
25996          program { name: "reset";
25997             signal: "elm,action,reset";
25998             source: "elm";
25999             action:  STATE_SET "default" 0.0;
26000             target: "base";
26001             target: "clip";
26002          }
26003       }
26004    }
26005    group { name: "elm/pager/base/slide_invisible";
26006       parts {
26007          part { name: "clip";
26008             type: RECT;
26009             mouse_events: 0;
26010             description { state: "default" 0.0;
26011                rel1 {
26012                   to: "base";
26013                   offset: -9999 -9999;
26014             }
26015                rel2 {
26016                   to: "base";
26017                   offset: 9999 9999;
26018                }
26019                color: 255 255 255 255;
26020             }
26021             description { state: "visible" 0.0;
26022                inherit: "default" 0.0;
26023             }
26024             description { state: "hidden" 0.0;
26025                inherit: "default" 0.0;
26026                color: 255 255 255 0;
26027                visible: 0;
26028             }
26029             description { state: "hidden2" 0.0;
26030                inherit: "default" 0.0;
26031                color: 255 255 255 0;
26032                visible: 0;
26033             }
26034          }
26035          part { name: "base";
26036             type: RECT;
26037             mouse_events:  0;
26038             clip_to: "clip";
26039             description { state: "default" 0.0;
26040                color: 0 0 0 0;
26041             }
26042             description { state: "hidden" 0.0;
26043                color: 0 0 0 0;
26044                rel1.relative: -1.0 0.0;
26045                rel2.relative: 0.0 1.0;
26046             }
26047             description { state: "hidden2" 0.0;
26048                color: 0 0 0 0;
26049                rel1.relative: 1.0 0.0;
26050                rel2.relative: 2.0 1.0;
26051             }
26052             description { state: "visible" 0.0;
26053                color: 0 0 0 0;
26054                rel1.relative: 0.0 0.0;
26055                rel2.relative: 1.0 1.0;
26056             }
26057          }
26058          part { name: "elm.swallow.content";
26059             type: SWALLOW;
26060             clip_to: "clip";
26061             description { state: "default" 0.0;
26062                rel1.to: "base";
26063                rel2.to: "base";
26064             }
26065          }
26066       }
26067       programs {
26068          program { name: "push_start";
26069             signal: "elm,action,push";
26070             source: "elm";
26071             action:  STATE_SET "hidden2" 0.0;
26072             target: "base";
26073             target: "clip";
26074             after: "show_start2";
26075          }
26076          program { name: "show_start";
26077             signal: "elm,action,show";
26078             source: "elm";
26079             action:  STATE_SET "hidden" 0.0;
26080             target: "base";
26081             target: "clip";
26082             after: "show_start2";
26083          }
26084          program { name: "show_start2";
26085             action:  STATE_SET "visible" 0.0;
26086             transition: DECELERATE 0.5;
26087             target: "base";
26088             target: "clip";
26089             after: "show_end";
26090          }
26091          program { name: "show_end";
26092             action: SIGNAL_EMIT "elm,action,show,finished" "";
26093          }
26094          program { name: "pop_start";
26095             signal: "elm,action,pop";
26096             source: "elm";
26097             action:  STATE_SET "visible" 0.0;
26098             target: "base";
26099             target: "clip";
26100             after: "pop_start2";
26101          }
26102          program { name: "pop_start2";
26103             action:  STATE_SET "hidden2" 0.0;
26104             transition: DECELERATE 0.5;
26105             target: "base";
26106             target: "clip";
26107             after: "hide_end";
26108          }
26109          program { name: "hide_start";
26110             signal: "elm,action,hide";
26111             source: "elm";
26112             action:  STATE_SET "visible" 0.0;
26113             target: "base";
26114             target: "clip";
26115             after: "hide_start2";
26116          }
26117          program { name: "hide_start2";
26118             action:  STATE_SET "hidden" 0.0;
26119             transition: DECELERATE 0.5;
26120             target: "base";
26121             target: "clip";
26122             after: "hide_end";
26123          }
26124          program { name: "hide_end";
26125             action: SIGNAL_EMIT "elm,action,hide,finished" "";
26126          }
26127          program { name: "reset";
26128             signal: "elm,action,reset";
26129             source: "elm";
26130             action:  STATE_SET "default" 0.0;
26131             target: "base";
26132             target: "clip";
26133          }
26134       }
26135    }
26136
26137    group { name: "elm/pager/base/fade";
26138        data.item: "onshow" "raise";
26139        // other options
26140        //      data.item: "onhide" "lower";
26141        //      data.item: "onshow" "lower";
26142        images {
26143            image: "frame_1.png" COMP;
26144            image: "frame_2.png" COMP;
26145            image: "dia_grad.png" COMP;
26146        }
26147        parts {
26148            part { name: "clip_base";
26149                type: RECT;
26150                mouse_events: 0;
26151                description { state: "default" 0.0;
26152                    rel1 {
26153                        to: "base";
26154                        offset: -9999 -9999;
26155                    }
26156                    rel2 {
26157                        to: "base";
26158                        offset: 9999 9999;
26159                    }
26160                    color: 255 255 255 120;
26161                }
26162                description { state: "visible" 0.0;
26163                    inherit: "default" 0.0;
26164                }
26165                description { state: "hidden" 0.0;
26166                    inherit: "default" 0.0;
26167                    color: 255 255 255 0;
26168                    visible: 0;
26169                }
26170            }
26171            part { name: "clip";
26172                type: RECT;
26173                mouse_events: 0;
26174                description { state: "default" 0.0;
26175                    rel1 {
26176                        to: "base";
26177                        offset: -9999 -9999;
26178                    }
26179                    rel2 {
26180                        to: "base";
26181                        offset: 9999 9999;
26182                    }
26183                    color: 255 255 255 255;
26184                }
26185                description { state: "visible" 0.0;
26186                    inherit: "default" 0.0;
26187                }
26188                description { state: "hidden" 0.0;
26189                    inherit: "default" 0.0;
26190                    color: 255 255 255 0;
26191                    visible: 0;
26192                }
26193            }
26194            part { name: "base0";
26195                mouse_events:  0;
26196                clip_to: "clip_base";
26197                description { state: "default" 0.0;
26198                    image.normal: "dia_grad.png";
26199                    rel1.to: "over";
26200                    rel2.to: "over";
26201                    fill {
26202                        smooth: 0;
26203                        size {
26204                            relative: 0.0 1.0;
26205                            offset: 64 0;
26206                        }
26207                    }
26208                }
26209            }
26210            part { name: "base";
26211                mouse_events:  0;
26212                clip_to: "clip_base";
26213                description { state: "default" 0.0;
26214                    image {
26215                        normal: "frame_2.png";
26216                        border: 5 5 32 26;
26217                        middle: 0;
26218                    }
26219                    fill.smooth : 0;
26220                }
26221            }
26222            part { name: "over";
26223                mouse_events:  0;
26224                clip_to: "clip";
26225                description { state:    "default" 0.0;
26226                    rel1 {
26227                        to: "base";
26228                        offset: 4 4;
26229                    }
26230                    rel2 {
26231                        to: "base";
26232                        offset: -5 -5;
26233                    }
26234                    image {
26235                        normal: "frame_1.png";
26236                        border: 2 2 28 22;
26237                        middle: 0;
26238                    }
26239                    fill.smooth : 0;
26240                }
26241            }
26242            part { name: "elm.swallow.content";
26243                type: SWALLOW;
26244                clip_to: "clip";
26245                description { state: "default" 0.0;
26246                    rel1 {
26247                        to: "base";
26248                        offset: 8 8;
26249                    }
26250                    rel2 {
26251                        to: "base";
26252                        offset: -9 -9;
26253                    }
26254                }
26255            }
26256        }
26257        programs {
26258            program { name: "push_start";
26259                signal: "elm,action,push";
26260                source: "elm";
26261                action:  STATE_SET "hidden" 0.0;
26262                target: "clip";
26263                target: "clip_base";
26264                after: "show_start2";
26265            }
26266            program { name: "show_start";
26267                signal: "elm,action,show";
26268                source: "elm";
26269                action:  STATE_SET "hidden" 0.0;
26270                target: "clip";
26271                target: "clip_base";
26272                after: "show_start2";
26273            }
26274            program { name: "show_start2";
26275                action:  STATE_SET "visible" 0.0;
26276                transition: DECELERATE 0.5;
26277                target: "clip";
26278                target: "clip_base";
26279                after: "show_end";
26280            }
26281            program { name: "show_end";
26282                action: SIGNAL_EMIT "elm,action,show,finished" "";
26283            }
26284            program { name: "pop_start";
26285                signal: "elm,action,pop";
26286                source: "elm";
26287                action:  STATE_SET "visible" 0.0;
26288                target: "clip";
26289                target: "clip_base";
26290                after: "hide_start2";
26291            }
26292            program { name: "hide_start";
26293                signal: "elm,action,hide";
26294                source: "elm";
26295                action:  STATE_SET "visible" 0.0;
26296                target: "clip";
26297                target: "clip_base";
26298                after: "hide_start2";
26299            }
26300            program { name: "hide_start2";
26301                action:  STATE_SET "hidden" 0.0;
26302                transition: DECELERATE 0.5;
26303                target: "clip";
26304                target: "clip_base";
26305                after: "hide_end";
26306            }
26307            program { name: "hide_end";
26308                action: SIGNAL_EMIT "elm,action,hide,finished" "";
26309            }
26310            program { name: "reset";
26311                signal: "elm,action,reset";
26312                source: "elm";
26313                action:  STATE_SET "default" 0.0;
26314                target: "clip_base";
26315                target: "clip";
26316            }
26317        }
26318    }
26319    group { name: "elm/pager/base/fade_translucide";
26320        data.item: "onshow" "raise";
26321        // other options
26322        //      data.item: "onhide" "lower";
26323        //      data.item: "onshow" "lower";
26324        images {
26325            image: "frame_1.png" COMP;
26326            image: "frame_2.png" COMP;
26327            image: "dia_grad.png" COMP;
26328        }
26329        parts {
26330            part { name: "clip_base";
26331                type: RECT;
26332                mouse_events: 0;
26333                description { state: "default" 0.0;
26334                    rel1 {
26335                        to: "base";
26336                        offset: -9999 -9999;
26337                    }
26338                    rel2 {
26339                        to: "base";
26340                        offset: 9999 9999;
26341                    }
26342                    color: 255 255 255 120;
26343                }
26344                description { state: "visible" 0.0;
26345                    inherit: "default" 0.0;
26346                }
26347                description { state: "hidden" 0.0;
26348                    inherit: "default" 0.0;
26349                    color: 255 255 255 0;
26350                    visible: 0;
26351                }
26352            }
26353            part { name: "clip";
26354                type: RECT;
26355                mouse_events: 0;
26356                description { state: "default" 0.0;
26357                    rel1 {
26358                        to: "base";
26359                        offset: -9999 -9999;
26360                    }
26361                    rel2 {
26362                        to: "base";
26363                        offset: 9999 9999;
26364                    }
26365                    color: 255 255 255 255;
26366                }
26367                description { state: "visible" 0.0;
26368                    inherit: "default" 0.0;
26369                }
26370                description { state: "hidden" 0.0;
26371                    inherit: "default" 0.0;
26372                    color: 255 255 255 0;
26373                    visible: 0;
26374                }
26375            }
26376            part { name: "base0";
26377                mouse_events:  0;
26378                clip_to: "clip_base";
26379                description { state: "default" 0.0;
26380                    image.normal: "dia_grad.png";
26381                    rel1.to: "over";
26382                    rel2.to: "over";
26383                    fill {
26384                        smooth: 0;
26385                        size {
26386                            relative: 0.0 1.0;
26387                            offset: 64 0;
26388                        }
26389                    }
26390                }
26391            }
26392            part { name: "base";
26393                mouse_events:  0;
26394                clip_to: "clip_base";
26395                description { state: "default" 0.0;
26396                    image {
26397                        normal: "frame_2.png";
26398                        border: 5 5 32 26;
26399                        middle: 0;
26400                    }
26401                    fill.smooth : 0;
26402                }
26403            }
26404            part { name: "over";
26405                mouse_events:  0;
26406                clip_to: "clip";
26407                description { state:    "default" 0.0;
26408                    rel1 {
26409                        to: "base";
26410                        offset: 4 4;
26411                    }
26412                    rel2 {
26413                        to: "base";
26414                        offset: -5 -5;
26415                    }
26416                    image {
26417                        normal: "frame_1.png";
26418                        border: 2 2 28 22;
26419                        middle: 0;
26420                    }
26421                    fill.smooth : 0;
26422                }
26423            }
26424            part { name: "elm.swallow.content";
26425                type: SWALLOW;
26426                clip_to: "clip";
26427                description { state: "default" 0.0;
26428                    rel1 {
26429                        to: "base";
26430                        offset: 8 8;
26431                    }
26432                    rel2 {
26433                        to: "base";
26434                        offset: -9 -9;
26435                    }
26436                }
26437            }
26438        }
26439        programs {
26440            program { name: "push_start";
26441                signal: "elm,action,push";
26442                source: "elm";
26443                action:  STATE_SET "hidden" 0.0;
26444                target: "clip";
26445                target: "clip_base";
26446                after: "show_start2";
26447            }
26448            program { name: "show_start";
26449                signal: "elm,action,show";
26450                source: "elm";
26451                action:  STATE_SET "hidden" 0.0;
26452                target: "clip";
26453                target: "clip_base";
26454                after: "show_start2";
26455            }
26456            program { name: "show_start2";
26457                action:  STATE_SET "visible" 0.0;
26458                transition: DECELERATE 0.5;
26459                target: "clip";
26460                target: "clip_base";
26461                after: "show_end";
26462            }
26463            program { name: "show_end";
26464                action: SIGNAL_EMIT "elm,action,show,finished" "";
26465            }
26466            program { name: "pop_start";
26467                signal: "elm,action,pop";
26468                source: "elm";
26469                action:  STATE_SET "visible" 0.0;
26470                target: "clip";
26471                target: "clip_base";
26472                after: "hide_start2";
26473            }
26474            program { name: "hide_start";
26475                signal: "elm,action,hide";
26476                source: "elm";
26477                action:  STATE_SET "visible" 0.0;
26478                target: "clip";
26479                target: "clip_base";
26480                after: "hide_start2";
26481            }
26482            program { name: "hide_start2";
26483                action:  STATE_SET "hidden" 0.0;
26484                transition: DECELERATE 0.5;
26485                target: "clip";
26486                target: "clip_base";
26487                after: "hide_end";
26488            }
26489            program { name: "hide_end";
26490                action: SIGNAL_EMIT "elm,action,hide,finished" "";
26491            }
26492            program { name: "reset";
26493                signal: "elm,action,reset";
26494                source: "elm";
26495                action:  STATE_SET "default" 0.0;
26496                target: "clip_base";
26497                target: "clip";
26498            }
26499        }
26500    }
26501    group { name: "elm/pager/base/fade_invisible";
26502        data.item: "onshow" "raise";
26503        // other options
26504        //      data.item: "onhide" "lower";
26505        //      data.item: "onshow" "lower";
26506        parts {
26507            part { name: "clip";
26508                type: RECT;
26509                mouse_events: 0;
26510                description { state: "default" 0.0;
26511                    rel1 {
26512                        offset: -9999 -9999;
26513                    }
26514                    rel2 {
26515                        offset: 9999 9999;
26516                    }
26517                    color: 255 255 255 255;
26518                }
26519                description { state: "visible" 0.0;
26520                    inherit: "default" 0.0;
26521                }
26522                description { state: "hidden" 0.0;
26523                    inherit: "default" 0.0;
26524                    color: 255 255 255 0;
26525                    visible: 0;
26526                }
26527            }
26528            part { name: "elm.swallow.content";
26529                type: SWALLOW;
26530                clip_to: "clip";
26531                description { state: "default" 0.0;
26532                    rel1 {
26533                        offset: 8 8;
26534                    }
26535                    rel2 {
26536                        offset: -9 -9;
26537                    }
26538                }
26539            }
26540        }
26541        programs {
26542            program { name: "push_start";
26543                signal: "elm,action,push";
26544                source: "elm";
26545                action:  STATE_SET "hidden" 0.0;
26546                target: "clip";
26547                after: "show_start2";
26548            }
26549            program { name: "show_start";
26550                signal: "elm,action,show";
26551                source: "elm";
26552                action:  STATE_SET "hidden" 0.0;
26553                target: "clip";
26554                after: "show_start2";
26555            }
26556            program { name: "show_start2";
26557                action:  STATE_SET "visible" 0.0;
26558                transition: DECELERATE 0.5;
26559                target: "clip";
26560                after: "show_end";
26561            }
26562            program { name: "show_end";
26563                action: SIGNAL_EMIT "elm,action,show,finished" "";
26564            }
26565            program { name: "pop_start";
26566                signal: "elm,action,pop";
26567                source: "elm";
26568                action:  STATE_SET "visible" 0.0;
26569                target: "clip";
26570                after: "hide_start2";
26571            }
26572            program { name: "hide_start";
26573                signal: "elm,action,hide";
26574                source: "elm";
26575                action:  STATE_SET "visible" 0.0;
26576                target: "clip";
26577                after: "hide_start2";
26578            }
26579            program { name: "hide_start2";
26580                action:  STATE_SET "hidden" 0.0;
26581                transition: DECELERATE 0.5;
26582                target: "clip";
26583                after: "hide_end";
26584            }
26585            program { name: "hide_end";
26586                action: SIGNAL_EMIT "elm,action,hide,finished" "";
26587            }
26588            program { name: "reset";
26589                signal: "elm,action,reset";
26590                source: "elm";
26591                action:  STATE_SET "default" 0.0;
26592                target: "clip";
26593            }
26594        }
26595    }
26596
26597    group { name: "elm/pager/base/flip";
26598       data.item: "onshow" "raise";
26599       images {
26600          image: "frame_1.png" COMP;
26601          image: "frame_2.png" COMP;
26602          image: "dia_grad.png" COMP;
26603       }
26604       parts {
26605          part { name: "elm.swallow.content";
26606             type: SWALLOW;
26607             description { state: "default" 0.0;
26608                map {
26609                   on: 1;
26610                   smooth: 1;
26611                   backface_cull: 1;
26612                   perspective_on: 1;
26613                }
26614                perspective {
26615                   zplane: 0;
26616                   focal: 1000;
26617                }
26618             }
26619             description { state: "hidden" 0.0;
26620                inherit: "default" 0.0;
26621                visible: 0;
26622                map.rotation.y: 90.0;
26623             }
26624             description { state: "before_hidden" 0.0;
26625                inherit: "default" 0.0;
26626                visible: 0;
26627                map.rotation.y: -90.0;
26628             }
26629          }
26630       }
26631       programs {
26632          program { name: "push_start";
26633             signal: "elm,action,push";
26634             source: "elm";
26635             after: "push1";
26636          }
26637          program { name: "push1";
26638             action:  STATE_SET "hidden" 0.0;
26639             target: "elm.swallow.content";
26640             after: "push2";
26641          }
26642          program { name: "push2";
26643             action:  STATE_SET "default" 0.0;
26644             in: 0.5 0.0;
26645             transition: LINEAR 0.5;
26646             target: "elm.swallow.content";
26647             after: "push3";
26648          }
26649          program { name: "push3";
26650             action: SIGNAL_EMIT "elm,action,show,finished" "";
26651          }
26652
26653          program { name: "show_start";
26654             signal: "elm,action,show";
26655             source: "elm";
26656             after: "show1";
26657          }
26658          program { name: "show1";
26659             action:  STATE_SET "before_hidden" 0.0;
26660             target: "elm.swallow.content";
26661             after: "show2";
26662          }
26663          program { name: "show2";
26664             action:  STATE_SET "default" 0.0;
26665             in: 0.5 0.0;
26666             transition: LINEAR 0.5;
26667             target: "elm.swallow.content";
26668             after: "show3";
26669          }
26670          program { name: "show3";
26671             action: SIGNAL_EMIT "elm,action,show,finished" "";
26672          }
26673
26674          program { name: "pop_start";
26675             signal: "elm,action,pop";
26676             source: "elm";
26677             after: "pop1";
26678          }
26679          program { name: "pop1";
26680             action:  STATE_SET "default" 0.0;
26681             target: "elm.swallow.content";
26682             after: "pop2";
26683          }
26684          program { name: "pop2";
26685             action:  STATE_SET "hidden" 0.0;
26686             transition: LINEAR 0.5;
26687             target: "elm.swallow.content";
26688             after: "pop3";
26689          }
26690          program { name: "pop3";
26691             action: SIGNAL_EMIT "elm,action,hide,finished" "";
26692          }
26693
26694          program { name: "hide_start";
26695             signal: "elm,action,hide";
26696             source: "elm";
26697             after: "hide1";
26698          }
26699          program { name: "hide1";
26700             action:  STATE_SET "default" 0.0;
26701             target: "elm.swallow.content";
26702             after: "hide2";
26703          }
26704          program { name: "hide2";
26705             action:  STATE_SET "before_hidden" 0.0;
26706             transition: LINEAR 0.5;
26707             target: "elm.swallow.content";
26708             after: "hide3";
26709          }
26710          program { name: "hide3";
26711             action: SIGNAL_EMIT "elm,action,hide,finished" "";
26712          }
26713
26714          program { name: "reset";
26715             signal: "elm,action,reset";
26716             source: "elm";
26717             action:  STATE_SET "default" 0.0;
26718             target: "elm.swallow.content";
26719          }
26720       }
26721    }
26722
26723
26724
26725 ///////////////////////////////////////////////////////////////////////////////
26726 // FIXME: this doesn't look too hot. need to fix it up
26727    group { name: "elm/progressbar/horizontal/default";
26728       images {
26729          image: "shelf_inset.png" COMP;
26730          image: "bt_sm_base2.png" COMP;
26731          image: "bt_sm_hilight.png" COMP;
26732          image: "bt_sm_shine.png" COMP;
26733       }
26734       parts {
26735          part { name: "elm.background.progressbar";
26736             type: RECT;
26737             mouse_events: 0;
26738             description {
26739                state: "default" 0.0;
26740                rel1 {
26741                   relative: 0.0 0.0;
26742                   offset: 0 0;
26743                }
26744                rel2 {
26745                   relative: 1.0 1.0;
26746                }
26747             }
26748          }
26749          part { name: "elm.swallow.bar";
26750             mouse_events: 0;
26751             type: SWALLOW;
26752             description {
26753                min: 48 28;
26754                max: 99999 28;
26755                state: "default" 0.0;
26756                rel1 {
26757                   to_x: "elm.text";
26758                   to_y: "elm.background.progressbar";
26759                   relative: 1.0 0.0;
26760                }
26761                rel2 {
26762                   to: "elm.background.progressbar";
26763                   relative: 1.0 1.0;
26764                }
26765             }
26766          }
26767          part { name: "elm.swallow.content";
26768             type: SWALLOW;
26769             description { state: "default" 0.0;
26770                visible: 0;
26771                align: 0.0 0.5;
26772                rel1 {
26773                   offset: 4 0;
26774                   to_y: "elm.background.progressbar";
26775                }
26776                rel2 {
26777                   offset: 3 -1;
26778                   relative: 0.0 1.0;
26779                   to_y: "elm.background.progressbar";
26780                }
26781             }
26782             description { state: "visible" 0.0;
26783                inherit: "default" 0.0;
26784                visible: 1;
26785                aspect: 1.0 1.0;
26786                aspect_preference: VERTICAL;
26787                rel2.offset: 4 -1;
26788             }
26789          }
26790          part { name: "elm.text";
26791             type: TEXT;
26792             mouse_events: 0;
26793             scale: 1;
26794             description { state: "default" 0.0;
26795                visible: 0;
26796                fixed: 1 1;
26797                align: 0.0 0.5;
26798                rel1.to_x: "elm.swallow.content";
26799                rel1.relative: 1.0 0.0;
26800                rel1.offset: -1 4;
26801                rel2.to_x: "elm.swallow.content";
26802                rel2.relative: 1.0 1.0;
26803                rel2.offset: -1 -5;
26804                color: 0 0 0 255;
26805                text {
26806                   font: "Sans,Edje-Vera";
26807                   size: 10;
26808                   min: 0 0;
26809                   align: 0.0 0.5;
26810                }
26811             }
26812             description { state: "visible" 0.0;
26813                inherit: "default" 0.0;
26814                visible: 1;
26815                text.min: 1 1;
26816                rel1.offset: 0 4;
26817                rel2.offset: 0 -5;
26818             }
26819          }
26820
26821          part { name: "background";
26822             mouse_events: 0;
26823             clip_to: "elm.background.progressbar";
26824             description {
26825                state: "default" 0.0;
26826                rel1 {
26827                   to: "elm.swallow.bar";
26828                   relative: 0.0 0.0;
26829                }
26830                rel2 {
26831                   to: "elm.swallow.bar";
26832                   relative: 1.0 1.0;
26833                   offset: -1 -1;
26834                }
26835                image {
26836                   normal: "shelf_inset.png";
26837                   border: 7 7 7 7;
26838                }
26839             }
26840          }
26841
26842          part { name: "elm.text.status";
26843             type: TEXT;
26844             mouse_events: 0;
26845             description { state: "default" 0.0;
26846                fixed: 1 1;
26847                visible: 1;
26848                rel1 {
26849                   to: "background";
26850                   relative: 0.5 0.5;
26851                }
26852                rel2 {
26853                   to: "background";
26854                   relative: 0.5 0.5;
26855                }
26856                text {
26857                   font: "Sans:style=Bold,Edje-Vera-Bold";
26858                   size: 10;
26859                   min: 1 1;
26860                   align: 0.5 0.0;
26861                }
26862                color: 0 0 0 255;
26863             }
26864             description { state: "hidden" 0.0;
26865                inherit: "default" 0.0;
26866                visible: 0;
26867                text.min: 0 0;
26868             }
26869          }
26870
26871          part { name: "elm.progress.progressbar";
26872             mouse_events: 0;
26873             clip_to: "elm.background.progressbar";
26874             description {
26875                state: "default" 0.0;
26876                min: 14 28;
26877                fixed: 1 1;
26878                rel1 {
26879                   to: "elm.swallow.bar";
26880                   relative: 0.0 0.0;
26881                }
26882                rel2 {
26883                   to_y: "elm.swallow.bar";
26884                   to_x: "elm.cur.progressbar";
26885                   offset: -1 -1;
26886                }
26887                image {
26888                   normal: "bt_sm_base2.png";
26889                   border: 6 6 6 6;
26890                }
26891             }
26892             description {
26893                state: "invert" 0.0;
26894                inherit: "default" 0.0;
26895                rel1 {
26896                   to_y: "elm.swallow.bar";
26897                   to_x: "elm.cur.progressbar";
26898                }
26899                rel2 {
26900                   to: "elm.swallow.bar";
26901                   relative: 1.0 1.0;
26902                }
26903             }
26904             description {
26905                state: "state_begin" 0.0;
26906                inherit: "default" 0.0;
26907                rel1 {
26908                   to: "elm.swallow.bar";
26909                   relative: 0.0 0.0;
26910                }
26911                rel2 {
26912                   to: "elm.swallow.bar";
26913                   relative: 0.1 1.0;
26914                }
26915             }
26916             description {
26917                state: "state_end" 0.0;
26918                inherit: "default" 0.0;
26919                rel1 {
26920                   to: "elm.swallow.bar";
26921                   relative: 0.9 0.0;
26922                }
26923                rel2 {
26924                   to: "elm.swallow.bar";
26925                   relative: 1.0 1.0;
26926                }
26927             }
26928          }
26929          part { name: "text-bar";
26930             type: TEXT;
26931             mouse_events: 0;
26932             clip_to: "progress-rect";
26933             effect: SOFT_SHADOW;
26934             scale: 1;
26935             description { state: "default" 0.0;
26936                align: 0.0 0.0;
26937                fixed: 1 1;
26938                visible: 1;
26939                rel1.to: "elm.text.status";
26940                rel1.offset: -1 -1;
26941                rel2.to: "elm.text.status";
26942                text {
26943                   text_source: "elm.text.status";
26944                   font: "Sans:style=Bold,Edje-Vera-Bold";
26945                   size: 10;
26946                   min: 1 1;
26947                   align: 0.0 0.0;
26948                }
26949                color: 224 224 224 255;
26950                color3: 0 0 0 64;
26951             }
26952             description { state: "hidden" 0.0;
26953                inherit: "default" 0.0;
26954                visible: 0;
26955                text.min: 0 0;
26956             }
26957          }
26958
26959          part { name: "over1";
26960             mouse_events: 0;
26961             description { state: "default" 0.0;
26962                rel1.to: "elm.progress.progressbar";
26963                rel2.to: "elm.progress.progressbar";
26964                rel2.relative: 1.0 0.5;
26965                image {
26966                   normal: "bt_sm_hilight.png";
26967                   border: 6 6 6 0;
26968                }
26969             }
26970          }
26971
26972          part { name: "over2";
26973             mouse_events: 1;
26974             repeat_events: 1;
26975             description { state: "default" 0.0;
26976                rel1.to: "elm.progress.progressbar";
26977                rel2.to: "elm.progress.progressbar";
26978                image {
26979                   normal: "bt_sm_shine.png";
26980                   border: 6 6 6 0;
26981                }
26982             }
26983          }
26984
26985          part { name: "elm.cur.progressbar";
26986             mouse_events: 0;
26987             dragable {
26988                confine: "background";
26989                x: 1 1 1;
26990                y: 0 0 0;
26991             }
26992             description { state: "default" 0.0;
26993                min: 14 28;
26994                fixed: 1 1;
26995                visible: 0;
26996                rel1 {
26997                   to: "background";
26998                   relative: 0 0;
26999                }
27000                rel2.to: "background";
27001            }
27002          }
27003          part { name: "progress-rect";
27004             type: RECT;
27005             mouse_events: 0;
27006             description {
27007                state: "default" 0.0;
27008                rel1.to: "elm.progress.progressbar";
27009                rel2.to: "elm.progress.progressbar";
27010             }
27011          }
27012       }
27013       programs {
27014          program { name: "label_show";
27015             signal: "elm,state,text,visible";
27016             source: "elm";
27017             action:  STATE_SET "visible" 0.0;
27018             target: "elm.text";
27019          }
27020          program { name: "label_hide";
27021             signal: "elm,state,text,hidden";
27022             source: "elm";
27023             action:  STATE_SET "default" 0.0;
27024             target: "elm.text";
27025          }
27026          program { name: "icon_show";
27027             signal: "elm,state,icon,visible";
27028             source: "elm";
27029             action:  STATE_SET "visible" 0.0;
27030             target: "elm.swallow.content";
27031          }
27032          program { name: "icon_hide";
27033             signal: "elm,state,icon,hidden";
27034             source: "elm";
27035             action:  STATE_SET "default" 0.0;
27036             target: "elm.swallow.content";
27037          }
27038          program { name: "units_show";
27039             signal: "elm,state,units,visible";
27040             source: "elm";
27041             action:  STATE_SET "default" 0.0;
27042             target: "text-bar";
27043             target: "elm.text.status";
27044          }
27045          program { name: "units_hide";
27046             signal: "elm,state,units,hidden";
27047             source: "elm";
27048             action:  STATE_SET "hidden" 0.0;
27049             target: "text-bar";
27050             target: "elm.text.status";
27051          }
27052          program { name: "slide_to_end";
27053             action:  STATE_SET "state_end" 0.0;
27054             transition: LINEAR 0.5;
27055             target: "elm.progress.progressbar";
27056             after: "slide_to_begin";
27057          }
27058          program { name: "slide_to_begin";
27059             signal: "elm,state,slide,begin";
27060             action: STATE_SET "state_begin" 0.0;
27061             target: "elm.progress.progressbar";
27062             transition: LINEAR 0.5;
27063             after: "slide_to_end";
27064          }
27065          program { name: "start_pulse";
27066             signal: "elm,state,pulse,start";
27067             source: "elm";
27068             after: "slide_to_end";
27069          }
27070          program { name: "stop_pulse";
27071             signal: "elm,state,pulse,stop";
27072             source: "elm";
27073             action: ACTION_STOP;
27074             target: "slide_to_begin";
27075             target: "slide_to_end";
27076             target: "start_pulse";
27077             after: "state_pulse";
27078          }
27079          program { name: "state_pulse";
27080             signal: "elm,state,pulse";
27081             source: "elm";
27082             action: STATE_SET "state_begin" 0.0;
27083             target: "elm.progress.progressbar";
27084             after: "units_hide";
27085          }
27086          program { name: "state_fraction";
27087             signal: "elm,state,fraction";
27088             source: "elm";
27089             action: ACTION_STOP;
27090             target: "slide_to_begin";
27091             target: "slide_to_end";
27092             target: "start_pulse";
27093             action: STATE_SET "default" 0.0;
27094             target: "elm.progress.progressbar";
27095          }
27096          program { name: "set_invert_on";
27097             signal: "elm,state,inverted,on";
27098             source: "elm";
27099             action:  STATE_SET "invert" 0.0;
27100             target: "elm.progress.progressbar";
27101          }
27102          program { name: "set_invert_off";
27103             signal: "elm,state,inverted,off";
27104             source: "elm";
27105             action:  STATE_SET "default" 0.0;
27106             target: "elm.progress.progressbar";
27107          }
27108       }
27109    }
27110
27111 ///////////////////////////////////////////////////////////////////////////////
27112    group { name: "elm/progressbar/vertical/default";
27113       images {
27114          image: "shelf_inset.png" COMP;
27115          image: "bt_sm_base2.png" COMP;
27116          image: "bt_sm_hilight.png" COMP;
27117          image: "bt_sm_shine.png" COMP;
27118       }
27119       parts {
27120          part { name: "elm.background.progressbar";
27121             type: RECT;
27122             mouse_events: 0;
27123             description {
27124                state: "default" 0.0;
27125                rel1 {
27126                   relative: 0.0 0.0;
27127                   offset: 0 0;
27128                }
27129                rel2 {
27130                   relative: 1.0 1.0;
27131                   offset: -1 -1;
27132                }
27133             }
27134          }
27135          part { name: "elm.swallow.bar";
27136             type: SWALLOW;
27137             scale: 1;
27138             description { state: "default" 0.0;
27139                min: 28 48;
27140                max: 28 9999;
27141                align: 0.5 1.0;
27142                rel1 {
27143                   to_y: "elm.text";
27144                   relative: 0.0 1.0;
27145                   offset: 0 2;
27146                }
27147                rel2 {
27148                   to_y: "elm.text.box";
27149                   relative: 1.0 0.0;
27150                   offset: -1 -3;
27151                }
27152             }
27153          }
27154          part { name: "elm.swallow.content";
27155             type: SWALLOW;
27156             description { state: "default" 0.0;
27157                visible: 0;
27158                align: 0.5 0.0;
27159                rel1 {
27160                   offset: 0 4;
27161                   to_x: "elm.swallow.bar";
27162                }
27163                rel2 {
27164                   offset: -1 3;
27165                   relative: 1.0 0.0;
27166                   to_x: "elm.swallow.bar";
27167                }
27168             }
27169             description { state: "visible" 0.0;
27170                inherit: "default" 0.0;
27171                visible: 1;
27172                aspect: 1.0 1.0;
27173                aspect_preference: HORIZONTAL;
27174                rel2.offset: -1 4;
27175             }
27176          }
27177          part { name: "elm.text";
27178             type: TEXT;
27179             mouse_events: 0;
27180             scale: 1;
27181             description { state: "default" 0.0;
27182                visible: 0;
27183                fixed: 1 1;
27184                align: 0.5 0.0;
27185                rel1.to_y: "elm.swallow.content";
27186                rel1.relative: 0.5 1.0;
27187                rel1.offset: 0 -1;
27188                rel2.to_y: "elm.swallow.content";
27189                rel2.relative: 0.5 1.0;
27190                rel2.offset: -1 -1;
27191                color: 0 0 0 255;
27192                text {
27193                   font: "Sans,Edje-Vera";
27194                   size: 10;
27195                   min: 0 0;
27196                   align: 0.5 0.0;
27197                }
27198             }
27199             description { state: "visible" 0.0;
27200                inherit: "default" 0.0;
27201                visible: 1;
27202                text.min: 1 1;
27203                rel1.offset: 4 0;
27204                rel2.offset: -5 0;
27205             }
27206          }
27207
27208          part { name: "background";
27209             mouse_events: 0;
27210             clip_to: "elm.background.progressbar";
27211             description {
27212                state: "default" 0.0;
27213                rel1 {
27214                   to: "elm.swallow.bar";
27215                   relative: 0.0 0.0;
27216                }
27217                rel2 {
27218                   to: "elm.swallow.bar";
27219                   relative: 1.0 1.0;
27220                   offset: -1 -1;
27221                }
27222                image {
27223                   normal: "shelf_inset.png";
27224                   border: 7 7 7 7;
27225                }
27226             }
27227          }
27228
27229          part { name: "elm.progress.progressbar";
27230             mouse_events: 0;
27231             clip_to: "elm.background.progressbar";
27232             description {
27233                state: "default" 0.0;
27234                min: 28 14;
27235                fixed: 1 1;
27236                rel1 {
27237                   to: "elm.swallow.bar";
27238                   relative: 0.0 0.0;
27239                }
27240                rel2 {
27241                   to_x: "elm.swallow.bar";
27242                   to_y: "elm.cur.progressbar";
27243                   offset: -1 -1;
27244                }
27245                image {
27246                   normal: "bt_sm_base2.png";
27247                   border: 6 6 6 6;
27248                }
27249             }
27250             description {
27251                state: "invert" 0.0;
27252                inherit: "default" 0.0;
27253                rel1 {
27254                   to_x: "elm.swallow.bar";
27255                   to_y: "elm.cur.progressbar";
27256                }
27257                rel2 {
27258                   to: "elm.swallow.bar";
27259                   relative: 1.0 1.0;
27260                }
27261             }
27262             description {
27263                state: "state_begin" 0.0;
27264                inherit: "default" 0.0;
27265                rel1 {
27266                   to: "elm.swallow.bar";
27267                   relative: 0.0 0.0;
27268                }
27269                rel2 {
27270                   to: "elm.swallow.bar";
27271                   relative: 1.0 0.1;
27272                }
27273             }
27274             description {
27275                state: "state_end" 0.0;
27276                inherit: "default" 0.0;
27277                rel1 {
27278                   to: "elm.swallow.bar";
27279                   relative: 0.0 0.9;
27280                }
27281                rel2 {
27282                   to: "elm.swallow.bar";
27283                   relative: 1.0 1.0;
27284                }
27285             }
27286          }
27287
27288          part { name: "over1";
27289             mouse_events: 0;
27290             description { state: "default" 0.0;
27291                rel1.to: "elm.progress.progressbar";
27292                rel2.to: "elm.progress.progressbar";
27293                rel2.relative: 1.0 0.5;
27294                image {
27295                   normal: "bt_sm_hilight.png";
27296                   border: 6 6 6 0;
27297                }
27298             }
27299          }
27300
27301          part { name: "over2";
27302             mouse_events: 1;
27303             repeat_events: 1;
27304             description { state: "default" 0.0;
27305                rel1.to: "elm.progress.progressbar";
27306                rel2.to: "elm.progress.progressbar";
27307                image {
27308                   normal: "bt_sm_shine.png";
27309                   border: 6 6 6 0;
27310                }
27311             }
27312          }
27313
27314          part { name: "elm.cur.progressbar";
27315             mouse_events: 0;
27316             dragable {
27317                confine: "background";
27318                x: 0 0 0;
27319                y: 1 1 1;
27320             }
27321             description { state: "default" 0.0;
27322                min: 28 14;
27323                fixed: 1 1;
27324                visible: 0;
27325                rel1 {
27326                   to: "background";
27327                   relative: 0 0;
27328                }
27329                rel2.to: "background";
27330            }
27331          }
27332
27333          part { name: "elm.text.box";
27334             mouse_events: 0;
27335             type: RECT;
27336             description { state: "default" 0.0;
27337                visible: 0;
27338                rel1 {
27339                   to: "elm.text.status";
27340                   offset: -2 -2;
27341                }
27342                rel2 {
27343                   to: "elm.text.status";
27344                   offset: 2 2;
27345                }
27346                color: 255 255 255 0;
27347             }
27348             description { state: "visible" 0.0;
27349                inherit: "default" 0.0;
27350                visible: 1;
27351             }
27352          }
27353          part { name: "elm.text.status";
27354             type: TEXT;
27355             mouse_events: 0;
27356             scale: 1;
27357             description { state: "default" 0.0;
27358                visible: 0;
27359                fixed: 1 1;
27360                align: 0.5 1.0;
27361                rel1.relative: 0.0 1.0;
27362                rel1.offset: 2 0;
27363                rel2.relative: 1.0 1.0;
27364                rel2.offset: -2 0;
27365                color: 0 0 0 255;
27366                text {
27367                   font: "Sans:style=Bold,Edje-Vera-Bold";
27368                   size: 10;
27369                   min: 0 0;
27370                   align: 0.5 0.0;
27371                }
27372             }
27373             description { state: "visible" 0.0;
27374                inherit: "default" 0.0;
27375                fixed: 1 1;
27376                visible: 1;
27377                text.min: 1 1;
27378                rel1.offset: 8 -9;
27379                rel2.offset: -9 -9;
27380             }
27381          }
27382       }
27383       programs {
27384          program { name: "label_show";
27385             signal: "elm,state,text,visible";
27386             source: "elm";
27387             action:  STATE_SET "visible" 0.0;
27388             target: "elm.text";
27389          }
27390          program { name: "label_hide";
27391             signal: "elm,state,text,hidden";
27392             source: "elm";
27393             action:  STATE_SET "default" 0.0;
27394             target: "elm.text";
27395          }
27396          program { name: "icon_show";
27397             signal: "elm,state,icon,visible";
27398             source: "elm";
27399             action:  STATE_SET "visible" 0.0;
27400             target: "elm.swallow.content";
27401          }
27402          program { name: "icon_hide";
27403             signal: "elm,state,icon,hidden";
27404             source: "elm";
27405             action:  STATE_SET "default" 0.0;
27406             target: "elm.swallow.content";
27407          }
27408          program { name: "units_show";
27409             signal: "elm,state,units,visible";
27410             source: "elm";
27411             action:  STATE_SET "visible" 0.0;
27412             target: "elm.text.status";
27413             target: "elm.text.box";
27414          }
27415          program { name: "units_hide";
27416             signal: "elm,state,units,hidden";
27417             source: "elm";
27418             action:  STATE_SET "default" 0.0;
27419             target: "elm.text.status";
27420             target: "elm.text.box";
27421          }
27422          program { name: "slide_to_end";
27423             action:  STATE_SET "state_end" 0.0;
27424             transition: LINEAR 0.5;
27425             target: "elm.progress.progressbar";
27426             after: "slide_to_begin";
27427          }
27428          program { name: "slide_to_begin";
27429             action:  STATE_SET "state_begin" 0.0;
27430             target: "elm.progress.progressbar";
27431             transition: LINEAR 0.5;
27432             after: "slide_to_end";
27433          }
27434          program { name: "start_pulse";
27435             signal: "elm,state,pulse,start";
27436             source: "elm";
27437             action: STATE_SET "state_begin" 0.0;
27438             target: "elm.progress.progressbar";
27439             after: "slide_to_end";
27440          }
27441          program { name: "stop_pulse";
27442             signal: "elm,state,pulse,stop";
27443             source: "elm";
27444             action: ACTION_STOP;
27445             target: "slide_to_begin";
27446             target: "slide_to_end";
27447             target: "start_pulse";
27448             after: "state_pulse";
27449          }
27450          program { name: "state_pulse";
27451             signal: "elm,state,pulse";
27452             source: "elm";
27453             action: STATE_SET "state_begin" 0.0;
27454             target: "elm.progress.progressbar";
27455             after: "units_hide";
27456          }
27457          program { name: "state_fraction";
27458             signal: "elm,state,fraction";
27459             source: "elm";
27460             action: ACTION_STOP;
27461             target: "slide_to_begin";
27462             target: "slide_to_end";
27463             target: "start_pulse";
27464             action: STATE_SET "default" 0.0;
27465             target: "elm.progress.progressbar";
27466          }
27467          program { name: "set_invert_on";
27468             signal: "elm,state,inverted,on";
27469             source: "elm";
27470             action:  STATE_SET "invert" 0.0;
27471             target: "elm.progress.progressbar";
27472             target: "elm.cur.progressbar";
27473          }
27474          program { name: "set_invert_off";
27475             signal: "elm,state,inverted,off";
27476             source: "elm";
27477             action:  STATE_SET "default" 0.0;
27478             target: "elm.progress.progressbar";
27479             target: "elm.cur.progressbar";
27480          }
27481       }
27482    }
27483
27484 ///////////////////////////////////////////////////////////////////////////////
27485    group { name: "elm/separator/horizontal/default";
27486        images {
27487            image: "separator_h.png" COMP;
27488        }
27489        parts {
27490            part { name: "separator"; // separator group
27491                description { state: "default" 0.0;
27492                    min: 2 2;
27493                    rel1.offset: 4 4;
27494                    rel2.offset: -5 -5;
27495                    image {
27496                        normal: "separator_h.png";
27497                    }
27498                    fill {
27499                        smooth: 0;
27500                    }
27501                }
27502            }
27503        }
27504    }
27505
27506    ///////////////////////////////////////////////////////////////////////////////
27507    group { name: "elm/separator/vertical/default";
27508        images {
27509            image: "separator_v.png" COMP;
27510        }
27511        parts {
27512            part { name: "separator"; // separator group
27513                description { state: "default" 0.0;
27514                    min: 2 2;
27515                    rel1.offset: 4 4;
27516                    rel2.offset: -5 -5;
27517                    image {
27518                        normal: "separator_v.png";
27519                    }
27520                    fill {
27521                        smooth: 0;
27522                    }
27523                }
27524            }
27525        }
27526    }
27527
27528    group { name: "elm/progressbar/horizontal/wheel";
27529        images {
27530            image: "busy-1.png" COMP;
27531            image: "busy-2.png" COMP;
27532            image: "busy-3.png" COMP;
27533            image: "busy-4.png" COMP;
27534            image: "busy-5.png" COMP;
27535            image: "busy-6.png" COMP;
27536            image: "busy-7.png" COMP;
27537            image: "busy-8.png" COMP;
27538            image: "busy-9.png" COMP;
27539        }
27540        parts {
27541            part { name: "elm.background.progressbar";
27542                mouse_events: 0;
27543                type: RECT;
27544                description {
27545                    state: "default" 0.0;
27546                }
27547            }
27548            part { name: "elm.swallow.bar";
27549                mouse_events: 0;
27550                type: SWALLOW;
27551                description { state: "default" 0.0;
27552                    min: 0 0;
27553                    max: 0 0;
27554                    visible: 0;
27555                }
27556            }
27557            part { name: "elm.swallow.content";
27558                type: SWALLOW;
27559                description { state: "default" 0.0;
27560                    min: 0 0;
27561                    max: 0 0;
27562                    visible: 0;
27563                }
27564            }
27565            part { name: "background";
27566                mouse_events: 0;
27567                clip_to: "elm.background.progressbar";
27568                description {
27569                    state: "default" 0.0;
27570                    min: 32 32;
27571                    max: 32 32;
27572                    visible: 1;
27573                    aspect: 1.0 1.0;
27574                    aspect_preference: BOTH;
27575                    image {
27576                        normal: "busy-9.png";
27577                        border: 7 7 7 7;
27578                    }
27579                }
27580                description {
27581                    state: "pulse" 0.0;
27582                    inherit: "default" 0.0;
27583                    image {
27584                        normal: "busy-9.png";
27585                        tween:  "busy-1.png";
27586                        tween:  "busy-2.png";
27587                        tween:  "busy-3.png";
27588                        tween:  "busy-4.png";
27589                        tween:  "busy-5.png";
27590                        tween:  "busy-6.png";
27591                        tween:  "busy-7.png";
27592                        tween:  "busy-8.png";
27593                        border: 7 7 7 7;
27594                    }
27595                }
27596            }
27597        }
27598        programs {
27599            program { name: "start_pulse";
27600                signal: "elm,state,pulse,start";
27601                source: "elm";
27602                action: STATE_SET "pulse" 0.0;
27603                target: "background";
27604                transition: LINEAR 0.5;
27605                after: "start_pulse";
27606            }
27607            program { name: "stop_pulse";
27608                signal: "elm,state,pulse,stop";
27609                source: "elm";
27610                action: STATE_SET "default" 0.0;
27611                target: "background";
27612            }
27613        }
27614    }
27615
27616
27617 ///////////////////////////////////////////////////////////////////////////////
27618    group { name: "elm/spinner/base/default";
27619        images {
27620            image: "shelf_inset.png" COMP;
27621            image: "bt_base1.png" COMP;
27622            image: "bt_hilight.png" COMP;
27623            image: "bt_shine.png" COMP;
27624            image: "bt_glow.png" COMP;
27625            image: "bt_dis_base.png" COMP;
27626            image: "bt_dis_hilight.png" COMP;
27627            image: "sp_bt_l.png" COMP;
27628            image: "sp_bt_r.png" COMP;
27629        }
27630        parts {
27631            part { name: "bg";
27632                type: RECT;
27633                description { state: "default" 0.0;
27634                    min: 0 30;
27635                    rel1.offset: 1 1;
27636                    rel2.offset: -2 -2;
27637                    color: 255 255 255 0;
27638                }
27639            }
27640            part { name: "conf_over";
27641                mouse_events:  0;
27642                description { state: "default" 0.0;
27643                    rel1.to: "bg";
27644                    rel2.to: "bg";
27645                    image {
27646                        normal: "shelf_inset.png";
27647                        border: 7 7 7 7;
27648                        middle: 0;
27649                    }
27650                    fill.smooth : 0;
27651                }
27652            }
27653            part { name: "left_bt";
27654                mouse_events:  1;
27655                description { state: "default" 0.0;
27656                    rel1 { to: "bg";
27657                        offset: 3 3;
27658                    }
27659                    rel2 { to: "bg";
27660                        offset: -4 -4;
27661                    }
27662                    align: 0.0 0.5;
27663                    min: 24 24;
27664                    aspect: 1.0 1.0;
27665                    aspect_preference: VERTICAL;
27666                    image {
27667                        normal: "bt_base1.png";
27668                        border: 6 6 6 6;
27669                    }
27670                    fill.smooth : 0;
27671                }
27672                description { state: "clicked" 0.0;
27673                    inherit: "default" 0.0;
27674                    image.normal: "bt_base1.png";
27675                    image.middle: SOLID;
27676                }
27677                description { state: "disabled" 0.0;
27678                    inherit:  "default" 0.0;
27679                    image {
27680                        normal: "bt_dis_base.png";
27681                        border: 4 4 4 4;
27682                    }
27683                }
27684            }
27685            part {          name: "left_over1";
27686                mouse_events: 0;
27687                description { state: "default" 0.0;
27688                    rel1.to: "left_bt";
27689                    rel2 { to: "left_bt";
27690                        relative: 1.0 0.5;
27691                    }
27692                    image {
27693                        normal: "bt_hilight.png";
27694                        border: 7 7 7 0;
27695                    }
27696                }
27697                description { state: "disabled" 0.0;
27698                    inherit:  "default" 0.0;
27699                    image {
27700                        normal: "bt_dis_hilight.png";
27701                        border: 4 4 4 0;
27702                    }
27703                }
27704            }
27705            part { name: "left_over2";
27706                mouse_events: 1;
27707                repeat_events: 1;
27708                ignore_flags: ON_HOLD;
27709                description { state: "default" 0.0;
27710                    rel1.to: "left_bt";
27711                    rel2.to: "left_bt";
27712                    image {
27713                        normal: "bt_shine.png";
27714                        border: 7 7 7 7;
27715                    }
27716                }
27717                description { state: "disabled" 0.0;
27718                    inherit:  "default" 0.0;
27719                    visible: 0;
27720                }
27721            }
27722            part { name: "left_over3";
27723                mouse_events: 1;
27724                repeat_events: 1;
27725                description { state: "default" 0.0;
27726                    color: 255 255 255 0;
27727                    rel1.to: "left_bt";
27728                    rel2.to: "left_bt";
27729                    image {
27730                        normal: "bt_glow.png";
27731                        border: 12 12 12 12;
27732                    }
27733                    fill.smooth : 0;
27734                }
27735                description { state: "clicked" 0.0;
27736                    inherit:  "default" 0.0;
27737                    visible: 1;
27738                    color: 255 255 255 255;
27739                }
27740            }
27741            part { name: "right_bt";
27742                mouse_events:  1;
27743                description { state: "default" 0.0;
27744                    rel1 { to: "bg";
27745                        offset: -26 3;
27746                    }
27747                    rel2 { to: "bg";
27748                        offset: -4 -4;
27749                    }
27750                    align: 1.0 0.5;
27751                    min: 24 24;
27752                    aspect: 1.0 1.0;
27753                    aspect_preference: VERTICAL;
27754                    image {
27755                        normal: "bt_base1.png";
27756                        border: 5 5 4 12;
27757                    }
27758                    fill.smooth : 0;
27759                }
27760                description { state: "clicked" 0.0;
27761                    inherit: "default" 0.0;
27762                    image.normal: "bt_base1.png";
27763                    image.middle: SOLID;
27764                }
27765                description { state: "disabled" 0.0;
27766                    inherit:  "default" 0.0;
27767                    image {
27768                        normal: "bt_dis_base.png";
27769                        border: 4 4 4 4;
27770                    }
27771                }
27772            }
27773            part { name: "right_over1";
27774                mouse_events: 0;
27775                description { state: "default" 0.0;
27776                    rel1.to: "right_bt";
27777                    rel2 { to: "right_bt";
27778                        relative: 1.0 0.5;
27779                    }
27780                    image {
27781                        normal: "bt_hilight.png";
27782                        border: 7 7 7 0;
27783                    }
27784                }
27785                description { state: "disabled" 0.0;
27786                    inherit:  "default" 0.0;
27787                    image {
27788                        normal: "bt_dis_hilight.png";
27789                        border: 4 4 4 0;
27790                    }
27791                }
27792            }
27793            part { name: "right_over2";
27794                mouse_events: 1;
27795                repeat_events: 1;
27796                ignore_flags: ON_HOLD;
27797                description { state: "default" 0.0;
27798                    rel1.to: "right_bt";
27799                    rel2.to: "right_bt";
27800                    image {
27801                        normal: "bt_shine.png";
27802                        border: 7 7 7 7;
27803                    }
27804                }
27805                description { state: "disabled" 0.0;
27806                    inherit:  "default" 0.0;
27807                    visible: 0;
27808                }
27809            }
27810            part { name: "right_over3";
27811                mouse_events: 1;
27812                repeat_events: 1;
27813                description { state: "default" 0.0;
27814                    color: 255 255 255 0;
27815                    rel1.to: "right_bt";
27816                    rel2.to: "right_bt";
27817                    image {
27818                        normal: "bt_glow.png";
27819                        border: 12 12 12 12;
27820                    }
27821                    fill.smooth : 0;
27822                }
27823                description { state: "clicked" 0.0;
27824                    inherit:  "default" 0.0;
27825                    visible: 1;
27826                    color: 255 255 255 255;
27827                }
27828            }
27829            part { name: "left_bt_icon";
27830                repeat_events: 1;
27831                description { state: "default" 0.0;
27832                    rel1.to: "left_bt";
27833                    rel1.offset: 4 4;
27834                    rel2.to: "left_bt";
27835                    rel2.offset: -5 -5;
27836                    align: 0.5 0.5;
27837                    min: 16 16;
27838                    aspect: 1.0 1.0;
27839                    aspect_preference: BOTH;
27840                    image.normal: "sp_bt_l.png";
27841                }
27842                description { state: "rtl" 0.0;
27843                    inherit: "default" 0.0;
27844                    image.normal: "sp_bt_r.png";
27845                }
27846            }
27847            part { name: "right_bt_icon";
27848                repeat_events: 1;
27849                description { state: "default" 0.0;
27850                    rel1.to: "right_bt";
27851                    rel1.offset: 4 4;
27852                    rel2.to: "right_bt";
27853                    rel2.offset: -5 -5;
27854                    align: 0.5 0.5;
27855                    min: 16 16;
27856                    aspect: 1.0 1.0;
27857                    aspect_preference: BOTH;
27858                    image.normal: "sp_bt_r.png";
27859                }
27860                description { state: "rtl" 0.0;
27861                    inherit: "default" 0.0;
27862                    image.normal: "sp_bt_l.png";
27863                }
27864            }
27865            part { name: "elm.text";
27866                type: TEXT;
27867                mouse_events: 0;
27868                scale: 1;
27869                description { state: "default" 0.0;
27870                    visible: 1;
27871                    align: 0.0 0.5;
27872                    rel1 { relative: 1.0 0.0;
27873                        offset: 3 2;
27874                        to_x: "left_bt";
27875                        to_y: "bg";
27876                    }
27877                    rel2 { relative: 0.0 1.0;
27878                        offset: -3 -2;
27879                        to_x: "right_bt";
27880                        to_y: "bg";
27881                    }
27882                    color: 0 0 0 255;
27883                    text {
27884                        font: "Sans,Edje-Vera";
27885                        size: 10;
27886                        min: 1 1;
27887                        align: 0.5 0.5;
27888                    }
27889                }
27890                description { state: "active" 0.0;
27891                    inherit: "default" 0.0;
27892                    visible: 0;
27893                }
27894                description { state: "disabled_active" 0.0;
27895                    inherit: "default" 0.0;
27896                    color: 0 0 0 128;
27897                    color3: 0 0 0 0;
27898                }
27899                description { state: "disabled" 0.0;
27900                    inherit: "default" 0.0;
27901                    color: 0 0 0 128;
27902                    color3: 0 0 0 0;
27903                }
27904            }
27905            part { name: "elm.dragable.slider";
27906                type: RECT;
27907                mouse_events: 0;
27908                scale: 1;
27909                dragable {
27910                    x: 1 1 0;
27911                    y: 0 0 0;
27912                }
27913                description { state: "default" 0.0;
27914                    rel1.to: "bg";
27915                    rel2.to: "bg";
27916                    fixed: 1 1;
27917                    color: 0 0 0 0;
27918                }
27919            }
27920            part { name: "button_events";
27921                type: RECT;
27922                dragable {
27923                    events: "elm.dragable.slider";
27924                }
27925                mouse_events: 1;
27926                description { state: "default" 0.0;
27927                    rel1.to: "elm.text";
27928                    rel2.to: "elm.text";
27929                    color: 0 0 0 0;
27930                }
27931            }
27932            part { name: "elm.swallow.entry";
27933                type: SWALLOW;
27934                description { state: "default" 0.0;
27935                    visible: 0;
27936                    align: 0.5 0.5;
27937                    rel1 { relative: 1.0 0.5;
27938                        offset: 3 2;
27939                        to_x: "left_bt";
27940                        to_y: "bg";
27941                    }
27942                    rel2 { relative: 0.0 0.5;
27943                        offset: -3 -2;
27944                        to_x: "right_bt";
27945                        to_y: "bg";
27946                    }
27947                    fixed: 1 1;
27948                    color: 0 0 0 0;
27949                }
27950                description { state: "active" 0.0;
27951                    inherit: "default" 0.0;
27952                    visible: 1;
27953                    color: 255 255 255 255;
27954                }
27955                description { state: "disabled_active" 0.0;
27956                    inherit: "default" 0.0;
27957                    visible: 0;
27958                }
27959                description { state: "disabled" 0.0;
27960                    inherit: "default" 0.0;
27961                    visible: 0;
27962                }
27963            }
27964            part { name: "disabler";
27965                type: RECT;
27966                description { state: "default" 0.0;
27967                    color: 0 0 0 0;
27968                    visible: 0;
27969                }
27970                description { state: "disabled" 0.0;
27971                    inherit: "default" 0.0;
27972                    visible: 1;
27973                }
27974            }
27975        }
27976        programs {
27977            program { name: "text_show";
27978                signal: "elm,state,text,visible";
27979                source: "elm";
27980                action:  STATE_SET "visible" 0.0;
27981                target: "elm.text";
27982            }
27983            program { name: "text_hide";
27984                signal: "elm,state,text,hidden";
27985                source: "elm";
27986                action:  STATE_SET "default" 0.0;
27987                target: "elm.text";
27988            }
27989            program { name: "dec";
27990                signal: "mouse,down,1";
27991                source: "left_bt";
27992                action: SIGNAL_EMIT "elm,action,decrement,start" "";
27993            }
27994            program { name: "dec2";
27995                signal: "mouse,up,1";
27996                source: "left_bt";
27997                action: SIGNAL_EMIT "elm,action,decrement,stop" "";
27998            }
27999            program { name: "inc";
28000                signal: "mouse,down,1";
28001                source: "right_bt";
28002                action: SIGNAL_EMIT "elm,action,increment,start" "";
28003            }
28004            program { name: "inc2";
28005                signal: "mouse,up,1";
28006                source: "right_bt";
28007                action: SIGNAL_EMIT "elm,action,increment,stop" "";
28008            }
28009            program {
28010                name:   "left_bt_click";
28011                signal: "mouse,down,1";
28012                source: "left_over2";
28013                action: STATE_SET "clicked" 0.0;
28014                target: "left_bt";
28015            }
28016            program {
28017                name:   "left_bt_unclick";
28018                signal: "mouse,up,1";
28019                source: "left_over2";
28020                action: STATE_SET "default" 0.0;
28021                target: "left_bt";
28022            }
28023            program {
28024                name:   "left_bt_click2";
28025                signal: "mouse,down,1";
28026                source: "left_over3";
28027                action: STATE_SET "clicked" 0.0;
28028                target: "left_over3";
28029            }
28030            program {
28031                name:   "left_bt_unclick2";
28032                signal: "mouse,up,1";
28033                source: "left_over3";
28034                action: STATE_SET "default" 0.0;
28035                transition: DECELERATE 0.5;
28036                target: "left_over3";
28037            }
28038            program {
28039                name:   "left_bt_unclick3";
28040                signal: "mouse,up,1";
28041                source: "left_over2";
28042                action: SIGNAL_EMIT "elm,action,click" "";
28043            }
28044            program {
28045                name:   "left_bt_pressed_anim";
28046                signal: "elm,left,anim,activate";
28047                source: "elm";
28048                action: STATE_SET "clicked" 0.0;
28049                target: "left_bt";
28050                target: "left_over3";
28051                after: "left_bt_unpressed_anim";
28052            }
28053            program {
28054                name:   "left_bt_unpressed_anim";
28055                action: STATE_SET "default" 0.0;
28056                transition: DECELERATE 0.5;
28057                target: "left_bt";
28058                target: "left_over3";
28059            }
28060
28061            program {
28062                name:   "right_bt_click";
28063                signal: "mouse,down,1";
28064                source: "right_over2";
28065                action: STATE_SET "clicked" 0.0;
28066                target: "right_bt";
28067            }
28068            program {
28069                name:   "right_bt_unclick";
28070                signal: "mouse,up,1";
28071                source: "right_over2";
28072                action: STATE_SET "default" 0.0;
28073                target: "right_bt";
28074            }
28075            program {
28076                name:   "right_bt_click2";
28077                signal: "mouse,down,1";
28078                source: "right_over3";
28079                action: STATE_SET "clicked" 0.0;
28080                target: "right_over3";
28081            }
28082            program {
28083                name:   "right_bt_unclick2";
28084                signal: "mouse,up,1";
28085                source: "right_over3";
28086                action: STATE_SET "default" 0.0;
28087                transition: DECELERATE 0.5;
28088                target: "right_over3";
28089            }
28090            program {
28091                name:   "right_bt_unclick3";
28092                signal: "mouse,up,1";
28093                source: "right_over2";
28094                action: SIGNAL_EMIT "elm,action,click" "";
28095            }
28096            program {
28097                name:   "right_bt_pressed_anim";
28098                signal: "elm,right,anim,activate";
28099                source: "elm";
28100                action: STATE_SET "clicked" 0.0;
28101                target: "right_bt";
28102                target: "right_over3";
28103                after: "right_bt_unpressed_anim";
28104            }
28105            program {
28106                name:   "right_bt_unpressed_anim";
28107                action: STATE_SET "default" 0.0;
28108                transition: DECELERATE 0.5;
28109                target: "right_bt";
28110                target: "right_over3";
28111            }
28112
28113            program { name: "disable";
28114                signal: "elm,state,disabled";
28115                source: "elm";
28116                action: STATE_SET "disabled" 0.0;
28117                target: "left_bt";
28118                target: "left_over1";
28119                target: "left_over2";
28120                target: "right_bt";
28121                target: "right_over1";
28122                target: "right_over2";
28123                target: "disabler";
28124                after: "disable_text";
28125            }
28126            program { name: "disable_text";
28127                script {
28128                    new st[31];
28129                    new Float:vl;
28130                    get_state(PART:"elm.text", st, 30, vl);
28131                    if (!strcmp(st, "active"))
28132                    set_state(PART:"elm.text", "disabled_active", 0.0);
28133                    else
28134                    set_state(PART:"elm.text", "disabled", 0.0);
28135
28136                    get_state(PART:"elm.swallow.entry", st, 30, vl);
28137                    if (!strcmp(st, "active"))
28138                    set_state(PART:"elm.swallow.entry", "disabled_active", 0.0);
28139                    else
28140                    set_state(PART:"elm.swallow.entry", "disabled", 0.0);
28141                }
28142            }
28143            program { name: "enable";
28144                signal: "elm,state,enabled";
28145                source: "elm";
28146                action: STATE_SET "default" 0.0;
28147                target: "left_bt";
28148                target: "left_over1";
28149                target: "left_over2";
28150                target: "right_bt";
28151                target: "right_over1";
28152                target: "right_over2";
28153                target: "disabler";
28154                after: "enable_text";
28155            }
28156            program { name: "enable_text";
28157                script {
28158                    new st[31];
28159                    new Float:vl;
28160                    get_state(PART:"elm.text", st, 30, vl);
28161                    if (!strcmp(st, "disabled_active"))
28162                    set_state(PART:"elm.text", "active", 0.0);
28163                    else
28164                    set_state(PART:"elm.text", "default", 0.0);
28165
28166                    get_state(PART:"elm.swallow.entry", st, 30, vl);
28167                    if (!strcmp(st, "disabled_active"))
28168                    set_state(PART:"elm.swallow.entry", "active", 0.0);
28169                    else
28170                    set_state(PART:"elm.swallow.entry", "default", 0.0);
28171                }
28172            }
28173            program { name: "active";
28174                signal: "elm,state,active";
28175                source: "elm";
28176                action: STATE_SET "active" 0.0;
28177                target: "elm.text";
28178                target: "elm.swallow.entry";
28179            }
28180            program { name: "inactive";
28181                signal: "elm,state,inactive";
28182                source: "elm";
28183                action: STATE_SET "default" 0.0;
28184                target: "elm.text";
28185                target: "elm.swallow.entry";
28186            }
28187            program { name: "toggle_text";
28188                signal: "mouse,up,1";
28189                source: "button_events";
28190                action: SIGNAL_EMIT "elm,action,entry,toggle" "";
28191            }
28192            program { name: "to_rtl";
28193                signal: "edje,state,rtl";
28194                source: "edje";
28195                action: STATE_SET "rtl" 0.0;
28196                target: "right_bt_icon";
28197                target: "left_bt_icon";
28198            }
28199            program { name: "to_ltr";
28200                signal: "edje,state,ltr";
28201                source: "edje";
28202                action: STATE_SET "default" 0.0;
28203                target: "right_bt_icon";
28204                target: "left_bt_icon";
28205            }
28206        }
28207    }
28208
28209 ///////////////////////////////////////////////////////////////////////////////
28210    group { name: "elm/spinner/base/vertical";
28211        images {
28212            image: "shelf_inset.png" COMP;
28213            image: "bt_hilight.png" COMP;
28214            image: "bt_shine.png" COMP;
28215            image: "bt_glow.png" COMP;
28216            image: "bt_dis_base.png" COMP;
28217            image: "bt_dis_hilight.png" COMP;
28218            image: "up.png" COMP;
28219            image: "down.png" COMP;
28220            image: "bt_spinner_up.png" COMP;
28221            image: "bt_spinner_down.png" COMP;
28222            image: "bt_spinner_hilight.png" COMP;
28223        }
28224        parts {
28225            part { name: "bg";
28226                type: RECT;
28227                description { state: "default" 0.0;
28228                    min: 0 30;
28229                    rel1.offset: 1 1;
28230                    rel2.offset: -2 -2;
28231                    color: 255 255 255 0;
28232                }
28233            }
28234            part { name: "conf_over";
28235                mouse_events:  0;
28236                description { state: "default" 0.0;
28237                    rel1 {
28238                      to: "bg";
28239                      relative: 0.0 0.0;
28240                    }
28241                    rel2 {
28242                       to: "bg";
28243                    }
28244                    image {
28245                        normal: "shelf_inset.png";
28246                        border: 7 7 7 7;
28247                        middle: 0;
28248                    }
28249                    fill.smooth : 0;
28250                }
28251            }
28252            part { name: "down_bt";
28253                mouse_events:  1;
28254                description { state: "default" 0.0;
28255                    fixed: 1 1;
28256                    rel1 {
28257                        to: "up_bt";
28258                        relative: 0 1;
28259                        offset: 0 1;
28260                    }
28261                    rel2 {
28262                        to_y: "bg";
28263                        to_x: "up_bt";
28264                        relative: 1 1;
28265                        offset: -1 -4;
28266                    }
28267                    align: 1.0 0.5;
28268                    min: 24 16;
28269                    image {
28270                        normal: "bt_spinner_down.png";
28271                        border: 6 6 6 6;
28272                    }
28273                    fill.smooth : 0;
28274                }
28275                description { state: "clicked" 0.0;
28276                    inherit: "default" 0.0;
28277                    image.normal: "bt_spinner_down.png";
28278                    image.middle: SOLID;
28279                }
28280                description { state: "disabled" 0.0;
28281                    inherit:  "default" 0.0;
28282                    image {
28283                        normal: "bt_dis_base.png";
28284                        border: 4 4 4 4;
28285                    }
28286                }
28287            }
28288            part { name: "down_over3";
28289                mouse_events: 1;
28290                repeat_events: 1;
28291                description { state: "default" 0.0;
28292                    color: 255 255 255 0;
28293                    rel1.to: "down_bt";
28294                    rel2.to: "down_bt";
28295                    image {
28296                        normal: "bt_glow.png";
28297                        border: 12 12 12 12;
28298                    }
28299                    fill.smooth : 0;
28300                }
28301                description { state: "clicked" 0.0;
28302                    inherit:  "default" 0.0;
28303                    visible: 1;
28304                    color: 255 255 255 255;
28305                }
28306            }
28307            part { name: "up_bt";
28308                mouse_events:  1;
28309                description { state: "default" 0.0;
28310                    fixed: 1 0;
28311                    rel1 { to: "bg";
28312                        relative: 0 0;
28313                        offset: 0 2;
28314                    }
28315                    rel2 { to: "bg";
28316                        relative: 1 0.5;
28317                        offset: -3 0;
28318                    }
28319                    align: 1.0 0.5;
28320                    min: 24 16;
28321                    aspect: 1.5 1.0;
28322                    aspect_preference: BOTH;
28323                    image {
28324                        normal: "bt_spinner_up.png";
28325                        border: 6 6 6 6;
28326                    }
28327                    fill.smooth : 0;
28328                }
28329                description { state: "clicked" 0.0;
28330                    inherit: "default" 0.0;
28331                    image.normal: "bt_spinner_up.png";
28332                    image.middle: SOLID;
28333                }
28334                description { state: "disabled" 0.0;
28335                    inherit:  "default" 0.0;
28336                    image {
28337                        normal: "bt_dis_base.png";
28338                        border: 4 4 4 4;
28339                    }
28340                }
28341            }
28342            part { name: "up_over1";
28343                mouse_events: 0;
28344                description { state: "default" 0.0;
28345                    rel1.to: "up_bt";
28346                    rel2 { to: "up_bt";
28347                        relative: 1.0 0.5;
28348                    }
28349                    image {
28350                        normal: "bt_spinner_hilight.png";
28351                        border: 7 7 7 0;
28352                    }
28353                }
28354                description { state: "disabled" 0.0;
28355                    inherit:  "default" 0.0;
28356                    image {
28357                        normal: "bt_dis_hilight.png";
28358                        border: 4 4 4 0;
28359                    }
28360                }
28361            }
28362            part { name: "up_over3";
28363                mouse_events: 1;
28364                repeat_events: 1;
28365                description { state: "default" 0.0;
28366                    color: 255 255 255 0;
28367                    rel1.to: "up_bt";
28368                    rel2.to: "up_bt";
28369                    image {
28370                        normal: "bt_glow.png";
28371                        border: 12 12 12 12;
28372                    }
28373                    fill.smooth : 0;
28374                }
28375                description { state: "clicked" 0.0;
28376                    inherit:  "default" 0.0;
28377                    visible: 1;
28378                    color: 255 255 255 255;
28379                }
28380            }
28381            part { name: "down_bt_icon";
28382                repeat_events: 1;
28383                description { state: "default" 0.0;
28384                    rel1.to: "down_bt";
28385                    rel1.offset: 5 3;
28386                    rel2.to: "down_bt";
28387                    rel2.offset: -6 -3;
28388                    align: 0.5 0.5;
28389                    image.normal: "down.png";
28390                }
28391            }
28392            part { name: "up_bt_icon";
28393                repeat_events: 1;
28394                description { state: "default" 0.0;
28395                    rel1.to: "up_bt";
28396                    rel1.offset: 5 3;
28397                    rel2.to: "up_bt";
28398                    rel2.offset: -6 -3;
28399                    align: 0.5 0.5;
28400                    image.normal: "up.png";
28401                }
28402            }
28403            part { name: "elm.text";
28404                type: TEXT;
28405                mouse_events: 0;
28406                scale: 1;
28407                description { state: "default" 0.0;
28408                    visible: 1;
28409                    align: 0.0 0.5;
28410                    rel1 { relative: 0.0 0.0;
28411                        offset: 3 2;
28412                        to_x: "bg";
28413                        to_y: "bg";
28414                    }
28415                    rel2 { relative: 0.0 1.0;
28416                        offset: -3 -2;
28417                        to_x: "down_bt";
28418                        to_y: "bg";
28419                    }
28420                    color: 0 0 0 255;
28421                    text {
28422                        font: "Sans,Edje-Vera";
28423                        size: 10;
28424                        min: 1 1;
28425                        align: 0.5 0.5;
28426                    }
28427                }
28428                description { state: "active" 0.0;
28429                    inherit: "default" 0.0;
28430                    visible: 0;
28431                }
28432                description { state: "disabled_active" 0.0;
28433                    inherit: "default" 0.0;
28434                    color: 0 0 0 128;
28435                    color3: 0 0 0 0;
28436                }
28437                description { state: "disabled" 0.0;
28438                    inherit: "default" 0.0;
28439                    color: 0 0 0 128;
28440                    color3: 0 0 0 0;
28441                }
28442            }
28443            part { name: "elm.dragable.slider";
28444                type: RECT;
28445                mouse_events: 0;
28446                scale: 1;
28447                dragable {
28448                    x: 1 1 0;
28449                    y: 0 0 0;
28450                }
28451                description { state: "default" 0.0;
28452                    rel1.to: "bg";
28453                    rel2.to: "bg";
28454                    fixed: 1 1;
28455                    color: 0 0 0 0;
28456                }
28457            }
28458            part { name: "button_events";
28459                type: RECT;
28460                dragable {
28461                    events: "elm.dragable.slider";
28462                }
28463                mouse_events: 1;
28464                description { state: "default" 0.0;
28465                    rel1.to: "elm.text";
28466                    rel2.to: "elm.text";
28467                    color: 0 0 0 0;
28468                }
28469            }
28470            part { name: "elm.swallow.entry";
28471                type: SWALLOW;
28472                description { state: "default" 0.0;
28473                    visible: 0;
28474                    align: 0.5 0.5;
28475                    rel1 { relative: 0.0 0.5;
28476                        offset: 3 2;
28477                        to: "bg";
28478                    }
28479                    rel2 { relative: 1.0 0.5;
28480                        offset: -3 -2;
28481                        to: "bg";
28482                    }
28483                    fixed: 1 1;
28484                    color: 0 0 0 0;
28485                }
28486                description { state: "active" 0.0;
28487                    inherit: "default" 0.0;
28488                    visible: 1;
28489                    color: 255 255 255 255;
28490                }
28491                description { state: "disabled_active" 0.0;
28492                    inherit: "default" 0.0;
28493                    visible: 0;
28494                }
28495                description { state: "disabled" 0.0;
28496                    inherit: "default" 0.0;
28497                    visible: 0;
28498                }
28499            }
28500            part { name: "disabler";
28501                type: RECT;
28502                description { state: "default" 0.0;
28503                    color: 0 0 0 0;
28504                    visible: 0;
28505                }
28506                description { state: "disabled" 0.0;
28507                    inherit: "default" 0.0;
28508                    visible: 1;
28509                }
28510            }
28511        }
28512        programs {
28513            program { name: "text_show";
28514                signal: "elm,state,text,visible";
28515                source: "elm";
28516                action:  STATE_SET "visible" 0.0;
28517                target: "elm.text";
28518            }
28519            program { name: "text_hide";
28520                signal: "elm,state,text,hidden";
28521                source: "elm";
28522                action:  STATE_SET "default" 0.0;
28523                target: "elm.text";
28524            }
28525            program { name: "dec";
28526                signal: "mouse,down,1";
28527                source: "down_bt";
28528                action: SIGNAL_EMIT "elm,action,decrement,start" "";
28529            }
28530            program { name: "dec2";
28531                signal: "mouse,up,1";
28532                source: "down_bt";
28533                action: SIGNAL_EMIT "elm,action,decrement,stop" "";
28534            }
28535            program { name: "inc";
28536                signal: "mouse,down,1";
28537                source: "up_bt";
28538                action: SIGNAL_EMIT "elm,action,increment,start" "";
28539            }
28540            program { name: "inc2";
28541                signal: "mouse,up,1";
28542                source: "up_bt";
28543                action: SIGNAL_EMIT "elm,action,increment,stop" "";
28544            }
28545            program {
28546                name:   "down_bt_click2";
28547                signal: "mouse,down,1";
28548                source: "down_over3";
28549                action: STATE_SET "clicked" 0.0;
28550                target: "down_over3";
28551            }
28552            program {
28553                name:   "down_bt_unclick2";
28554                signal: "mouse,up,1";
28555                source: "down_over3";
28556                action: STATE_SET "default" 0.0;
28557                transition: DECELERATE 0.5;
28558                target: "down_over3";
28559            }
28560            program {
28561                name:   "up_bt_click2";
28562                signal: "mouse,down,1";
28563                source: "up_over3";
28564                action: STATE_SET "clicked" 0.0;
28565                target: "up_over3";
28566            }
28567            program {
28568                name:   "up_bt_unclick2";
28569                signal: "mouse,up,1";
28570                source: "up_over3";
28571                action: STATE_SET "default" 0.0;
28572                transition: DECELERATE 0.5;
28573                target: "up_over3";
28574            }
28575            program { name: "disable";
28576                signal: "elm,state,disabled";
28577                source: "elm";
28578                action: STATE_SET "disabled" 0.0;
28579                target: "down_bt";
28580                target: "up_bt";
28581                target: "disabler";
28582                after: "disable_text";
28583            }
28584            program { name: "disable_text";
28585                script {
28586                    new st[31];
28587                    new Float:vl;
28588                    get_state(PART:"elm.text", st, 30, vl);
28589                    if (!strcmp(st, "active"))
28590                    set_state(PART:"elm.text", "disabled_active", 0.0);
28591                    else
28592                    set_state(PART:"elm.text", "disabled", 0.0);
28593
28594                    get_state(PART:"elm.swallow.entry", st, 30, vl);
28595                    if (!strcmp(st, "active"))
28596                    set_state(PART:"elm.swallow.entry", "disabled_active", 0.0);
28597                    else
28598                    set_state(PART:"elm.swallow.entry", "disabled", 0.0);
28599                }
28600            }
28601            program { name: "enable";
28602                signal: "elm,state,enabled";
28603                source: "elm";
28604                action: STATE_SET "default" 0.0;
28605                target: "down_bt";
28606                target: "up_bt";
28607                target: "disabler";
28608                after: "enable_text";
28609            }
28610            program { name: "enable_text";
28611                script {
28612                    new st[31];
28613                    new Float:vl;
28614                    get_state(PART:"elm.text", st, 30, vl);
28615                    if (!strcmp(st, "disabled_active"))
28616                    set_state(PART:"elm.text", "active", 0.0);
28617                    else
28618                    set_state(PART:"elm.text", "default", 0.0);
28619
28620                    get_state(PART:"elm.swallow.entry", st, 30, vl);
28621                    if (!strcmp(st, "disabled_active"))
28622                    set_state(PART:"elm.swallow.entry", "active", 0.0);
28623                    else
28624                    set_state(PART:"elm.swallow.entry", "default", 0.0);
28625                }
28626            }
28627            program { name: "active";
28628                signal: "elm,state,active";
28629                source: "elm";
28630                action: STATE_SET "active" 0.0;
28631                target: "elm.text";
28632                target: "elm.swallow.entry";
28633            }
28634            program { name: "inactive";
28635                signal: "elm,state,inactive";
28636                source: "elm";
28637                action: STATE_SET "default" 0.0;
28638                target: "elm.text";
28639                target: "elm.swallow.entry";
28640            }
28641            program { name: "toggle_text";
28642                signal: "mouse,up,1";
28643                source: "button_events";
28644                action: SIGNAL_EMIT "elm,action,entry,toggle" "";
28645            }
28646        }
28647    }
28648
28649
28650    ///////////////////////////////////////////////////////////////////////////////
28651    group { name: "elm/index/base/vertical/default";
28652        images {
28653            image: "bt_base1.png" COMP;
28654            image: "bt_base2.png" COMP;
28655            image: "bt_hilight.png" COMP;
28656            image: "bt_shine.png" COMP;
28657        }
28658        parts {
28659            part { name: "clip";
28660                type: RECT;
28661                mouse_events:  0;
28662                description { state: "default" 0.0;
28663                    visible:  0;
28664                    color: 255 255 255 0;
28665                }
28666                description { state: "active" 0.0;
28667                    visible:  1;
28668                    color: 255 255 255 255;
28669                }
28670            }
28671            part { name: "clip2";
28672                type: RECT;
28673                mouse_events:  0;
28674                clip_to: "clip";
28675                description { state: "default" 0.0;
28676                    visible: 0;
28677                    color: 255 255 255 0;
28678                }
28679                description { state: "active" 0.0;
28680                    visible:  1;
28681                    color: 255 255 255 255;
28682                }
28683            }
28684            part { name: "elm.swallow.index.0";
28685                type: SWALLOW;
28686                clip_to: "clip";
28687                description { state: "default" 0.0;
28688                    align: 1.0 0.5;
28689                    fixed: 1 1;
28690                    rel1 {
28691                        relative: 1.0 0.5;
28692                        offset: -1 5;
28693                    }
28694                    rel2 {
28695                        relative: 1.0 0.5;
28696                        offset: -1 -6;
28697                    }
28698                }
28699            }
28700            part { name: "button_image";
28701                mouse_events: 1;
28702                clip_to: "clip";
28703                description { state: "default" 0.0;
28704                    rel1 {
28705                        to: "elm.text.body";
28706                        offset: -5 -5;
28707                    }
28708                    rel2 {
28709                        to: "elm.text";
28710                        offset: 4 4;
28711                    }
28712                    image {
28713                        normal: "bt_base2.png";
28714                        border: 7 7 7 7;
28715                    }
28716                    image.middle: SOLID;
28717                }
28718            }
28719            part { name: "elm.text.body";
28720                type: TEXT;
28721                effect: SOFT_SHADOW;
28722                mouse_events: 0;
28723                scale: 1;
28724                clip_to: "clip";
28725                description { state: "default" 0.0;
28726                    align: 1.0 0.5;
28727                    fixed: 1 1;
28728                    rel1 {
28729                        to: "elm.text";
28730                        relative: 0.0 0.0;
28731                        offset: 5 0;
28732                    }
28733                    rel2 {
28734                        to: "elm.text";
28735                        relative: 0.0 1.0;
28736                        offset: 5 -1;
28737                    }
28738                    color: 224 224 224 255;
28739                    color3: 0 0 0 64;
28740                    text {
28741                        font:     "Sans,Edje-Vera";
28742                        size:     20;
28743                        min:      1 1;
28744                        align:    1.0 0.5;
28745                    }
28746                }
28747            }
28748            part { name: "elm.text";
28749                type: TEXT;
28750                effect: SOFT_SHADOW;
28751                mouse_events: 0;
28752                scale: 1;
28753                clip_to: "clip";
28754                description { state: "default" 0.0;
28755                    align: 1.0 0.5;
28756                    fixed: 1 1;
28757                    rel1 {
28758                        to_x: "elm.swallow.event.0";
28759                        to_y: "elm.dragable.pointer";
28760                        relative: 0.0 0.5;
28761                        offset: -16 0;
28762                    }
28763                    rel2 {
28764                        to_x: "elm.swallow.event.0";
28765                        to_y: "elm.dragable.pointer";
28766                        relative: 0.0 0.5;
28767                        offset: -16 -1;
28768                    }
28769                    color: 255 0 0 255;
28770                    color3: 0 0 0 64;
28771                    text {
28772                        font:     "Sans,Edje-Vera";
28773                        size:     20;
28774                        min:      1 1;
28775                        align:    1.0 0.5;
28776                    }
28777                }
28778            }
28779            part {        name: "over1";
28780                mouse_events: 0;
28781                clip_to: "clip";
28782                description { state: "default" 0.0;
28783                    rel1 {
28784                        to: "button_image";
28785                    }
28786                    rel2 {
28787                        to: "button_image";
28788                        relative: 1.0 0.5;
28789                    }
28790                    image {
28791                        normal: "bt_hilight.png";
28792                        border: 7 7 7 0;
28793                    }
28794                }
28795            }
28796            part { name: "over2";
28797                mouse_events: 1;
28798                repeat_events: 1;
28799                ignore_flags: ON_HOLD;
28800                clip_to: "clip";
28801                description { state: "default" 0.0;
28802                    rel1 {
28803                        to: "button_image";
28804                    }
28805                    rel2 {
28806                        to: "button_image";
28807                    }
28808                    image {
28809                        normal: "bt_shine.png";
28810                        border: 7 7 7 7;
28811                    }
28812                }
28813            }
28814            part { name: "elm.dragable.pointer";
28815                type: RECT;
28816                mouse_events: 0;
28817                dragable {
28818                    x: 1 1 0;
28819                    y: 1 1 0;
28820                }
28821                clip_to: "clip";
28822                description { state: "default" 0.0;
28823                    fixed: 1 1;
28824                    min: 8 8;
28825                    max: 8 8;
28826                    visible: 0;
28827                    rel1 {
28828                        relative: 0.0 0.0;
28829                        offset:   0 0;
28830                    }
28831                    rel2 {
28832                        relative: 0.0 0.0;
28833                        offset:   0 0;
28834                    }
28835                }
28836            }
28837            part { name: "elm.swallow.event.0";
28838                type: SWALLOW;
28839                description { state: "default" 0.0;
28840                    align: 1.0 0.5;
28841                    fixed: 1 1;
28842                    rel1 {
28843                        relative: 1.0 0.0;
28844                        offset: -1 0;
28845                    }
28846                    rel2 {
28847                        relative: 1.0 1.0;
28848                        offset: -1 -1;
28849                    }
28850                }
28851            }
28852        }
28853        programs {
28854            program { name: "active";
28855                signal: "elm,state,active";
28856                source: "elm";
28857                action: STATE_SET "active" 0.0;
28858                transition: DECELERATE 0.5;
28859                target: "clip";
28860            }
28861            program { name: "inactive";
28862                signal: "elm,state,inactive";
28863                source: "elm";
28864                action: STATE_SET "default" 0.0;
28865                transition: DECELERATE 0.5;
28866                target: "clip";
28867            }
28868        }
28869    }
28870
28871    group { name: "elm/index/item/vertical/default";
28872        data.item: "stacking" "above";
28873        data.item: "selectraise" "on";
28874        images {
28875            image: "ilist_1.png" COMP;
28876            image: "ilist_item_shadow.png" COMP;
28877        }
28878        parts {
28879            part {
28880                name: "base_sh";
28881                mouse_events: 0;
28882                description {
28883                    state: "default" 0.0;
28884                    align: 0.0 0.0;
28885                    min: 0 10;
28886                    fixed: 1 1;
28887                    rel1 {
28888                        to: "base";
28889                        relative: 0.0 1.0;
28890                        offset: 0 0;
28891                    }
28892                    rel2 {
28893                        to: "base";
28894                        relative: 1.0 1.0;
28895                        offset: -1 0;
28896                    }
28897                    image {
28898                        normal: "ilist_item_shadow.png";
28899                    }
28900                    fill.smooth: 0;
28901                }
28902            }
28903            part {
28904                name: "base";
28905                mouse_events: 0;
28906                description {
28907                    state: "default" 0.0;
28908                    image {
28909                        normal: "ilist_1.png";
28910                        border: 2 2 2 2;
28911                    }
28912                    fill.smooth: 0;
28913                }
28914                description { state: "active" 0.0;
28915                    inherit: "default" 0.0;
28916                    rel1 {
28917                        offset: -16 0;
28918                    }
28919                }
28920            }
28921            part { name: "elm.text";
28922                type:           TEXT;
28923                mouse_events:   0;
28924                scale: 1;
28925                description {
28926                    state: "default" 0.0;
28927                           //               min: 16 16;
28928                    rel1 {
28929                        to: "base";
28930                        relative: 0.0  0.0;
28931                        offset:   4 4;
28932                    }
28933                    rel2 {
28934                        to: "base";
28935                        relative: 0.5  1.0;
28936                        offset:   -1 -1;
28937                    }
28938                    color: 0 0 0 128;
28939                    text {
28940                        font: "Sans";
28941                        size: 10;
28942                        min: 1 1;
28943                             //                  min: 0 1;
28944                        align: 0.5 0.5;
28945                    }
28946                }
28947                description { state: "active" 0.0;
28948                    inherit: "default" 0.0;
28949                    color: 0 0 0 255;
28950                }
28951            }
28952        }
28953        programs {
28954            program { name: "active";
28955                signal: "elm,state,active";
28956                source: "elm";
28957                action: STATE_SET "active" 0.0;
28958                transition: DECELERATE 0.5;
28959                target: "elm.text";
28960                target: "base";
28961            }
28962            program { name: "inactive";
28963                signal: "elm,state,inactive";
28964                source: "elm";
28965                action: STATE_SET "default" 0.0;
28966                transition: DECELERATE 0.5;
28967                target: "elm.text";
28968                target: "base";
28969            }
28970        }
28971    }
28972
28973    group { name: "elm/index/item_odd/vertical/default";
28974        data.item: "stacking" "below";
28975        images {
28976            image: "ilist_2.png" COMP;
28977        }
28978        parts {
28979            part {
28980                name: "base";
28981                mouse_events: 0;
28982                description {
28983                    state: "default" 0.0;
28984                    image {
28985                        normal: "ilist_2.png";
28986                        border: 2 2 2 2;
28987                    }
28988                    fill.smooth: 0;
28989                }
28990                description { state: "active" 0.0;
28991                    inherit: "default" 0.0;
28992                    rel1 {
28993                        offset: -16 0;
28994                    }
28995                }
28996            }
28997            part { name: "elm.text";
28998                type:           TEXT;
28999                mouse_events:   0;
29000                scale: 1;
29001                description {
29002                    state: "default" 0.0;
29003                           //               min: 16 16;
29004                    rel1 {
29005                        to: "base";
29006                        relative: 0.0  0.0;
29007                        offset:   4 4;
29008                    }
29009                    rel2 {
29010                        to: "base";
29011                        relative: 0.5  1.0;
29012                        offset:   -1 -1;
29013                    }
29014                    color: 0 0 0 128;
29015                    text {
29016                        font: "Sans";
29017                        size: 10;
29018                        min: 1 1;
29019                             //                  min: 0 1;
29020                        align: 0.5 0.5;
29021                    }
29022                }
29023                description { state: "active" 0.0;
29024                    inherit: "default" 0.0;
29025                    color: 0 0 0 255;
29026                }
29027            }
29028        }
29029        programs {
29030            program { name: "active";
29031                signal: "elm,state,active";
29032                source: "elm";
29033                action: STATE_SET "active" 0.0;
29034                transition: DECELERATE 0.5;
29035                target: "elm.text";
29036                target: "base";
29037            }
29038            program { name: "inactive";
29039                signal: "elm,state,inactive";
29040                source: "elm";
29041                action: STATE_SET "default" 0.0;
29042                transition: DECELERATE 0.5;
29043                target: "elm.text";
29044                target: "base";
29045            }
29046        }
29047    }
29048
29049 ///////////////////////////////////////////////////////////////////////////////
29050    group { name: "elm/gengrid/item/default/default";
29051       data.item: "labels" "elm.text";
29052       data.item: "icons" "elm.swallow.icon elm.swallow.end";
29053       images {
29054          image: "bt_sm_base1.png" COMP;
29055          image: "bt_sm_shine.png" COMP;
29056          image: "bt_sm_hilight.png" COMP;
29057          image: "ilist_1.png" COMP;
29058          image: "ilist_item_shadow.png" COMP;
29059       }
29060       parts {
29061          part { name: "event";
29062             type: RECT;
29063             repeat_events: 1;
29064             description {
29065                state: "default" 0.0;
29066                color: 0 0 0 0;
29067             }
29068          }
29069          part { name: "reorder_bg";
29070             mouse_events: 0;
29071             description { state: "default" 0.0;
29072                visible: 0;
29073                color: 255 255 255 0;
29074                rel1 {
29075                   relative: 0.0 0.0;
29076                   offset: -10 -10;
29077                }
29078                rel2 {
29079                   relative: 1.0 1.0;
29080                   offset: 12 12;
29081                }
29082                image {
29083                   normal: "bt_bases.png";
29084                   border: 6 6 6 6;
29085                }
29086             }
29087             description { state: "enabled" 0.0;
29088                inherit: "default" 0.0;
29089                visible: 1;
29090                color: 255 255 255 255;
29091             }
29092          }
29093          part { name: "base_sh";
29094             mouse_events: 0;
29095             description { state: "default" 0.0;
29096                align: 0.0 0.0;
29097                min: 0 10;
29098                fixed: 1 1;
29099                rel1 {
29100                   to: "base";
29101                   relative: 0.0 1.0;
29102                   offset: 0 0;
29103                }
29104                rel2 {
29105                   to: "base";
29106                   relative: 1.0 1.0;
29107                   offset: -1 0;
29108                }
29109                image {
29110                   normal: "ilist_item_shadow.png";
29111                }
29112                fill.smooth: 0;
29113             }
29114          }
29115          part { name: "base";
29116             mouse_events: 0;
29117             description { state: "default" 0.0;
29118                image {
29119                   normal: "ilist_1.png";
29120                   border: 2 2 2 2;
29121                }
29122                fill.smooth: 0;
29123             }
29124          }
29125          part { name: "bg";
29126             clip_to: "disclip";
29127             mouse_events: 0;
29128             description { state: "default" 0.0;
29129                visible: 0;
29130                color: 255 255 255 0;
29131                rel1 {
29132                   relative: 0.0 0.0;
29133                   offset: -5 -5;
29134                }
29135                rel2 {
29136                   relative: 1.0 1.0;
29137                   offset: 4 4;
29138                }
29139                image {
29140                   normal: "bt_sm_base1.png";
29141                   border: 6 6 6 6;
29142                }
29143                image.middle: SOLID;
29144             }
29145             description { state: "selected" 0.0;
29146                inherit: "default" 0.0;
29147                visible: 1;
29148                color: 255 255 255 255;
29149                rel1 {
29150                   relative: 0.0 0.0;
29151                   offset: -2 -2;
29152                }
29153                rel2 {
29154                   relative: 1.0 1.0;
29155                   offset: 1 1;
29156                }
29157             }
29158          }
29159          part { name: "elm.swallow.pad";
29160             type: SWALLOW;
29161             description { state: "default" 0.0;
29162                fixed: 1 0;
29163                align: 0.0 0.5;
29164                rel1 {
29165                   relative: 0.0  1.0;
29166                   offset:   0    -10;
29167                }
29168                rel2 {
29169                   to_y: "elm.text";
29170                   relative: 0.0  0.0;
29171                   offset:   -1   -1;
29172                }
29173             }
29174          }
29175          part { name: "elm.swallow.icon";
29176             clip_to: "disclip";
29177             type: SWALLOW;
29178             description { state: "default" 0.0;
29179                fixed: 1 0;
29180                align: 0.5 0.5;
29181                rel1 {
29182                   relative: 0.0  0.0;
29183                   offset:   -1    4;
29184                }
29185                rel2 {
29186                   to_y: "elm.swallow.pad";
29187                   relative: 1.0  0.0;
29188                   offset:   -1   -5;
29189                }
29190             }
29191          }
29192          part { name: "elm.swallow.end";
29193             clip_to: "disclip";
29194             type: SWALLOW;
29195             description { state: "default" 0.0;
29196                fixed: 1 0;
29197                align: 1.0 0.0;
29198                aspect: 1.0 1.0;
29199                aspect_preference: HORIZONTAL;
29200                rel1 {
29201                   relative: 1.0 0.0;
29202                   offset: -5 -5;
29203                }
29204                rel2 {
29205                   relative: 1.0 1.0;
29206                   offset: 5 5;
29207                }
29208             }
29209          }
29210          part { name: "elm.text";
29211             clip_to: "disclip";
29212             type: TEXT;
29213             effect: SOFT_SHADOW;
29214             mouse_events: 0;
29215             scale: 1;
29216             description { state: "default" 0.0;
29217                rel1 {
29218                   relative: 0.0  1.0;
29219                   offset: 0 0;
29220                }
29221                rel2 {
29222                   relative: 1.0  1.0;
29223                   offset: -5 -5;
29224                }
29225                color: 0 0 0 255;
29226                color3: 0 0 0 0;
29227                text {
29228                   font: "Sans";
29229                   size: 10;
29230                   min: 0 1;
29231                   align: 0.5 0.0;
29232                   text_class: "grid_item";
29233                }
29234             }
29235             description { state: "selected" 0.0;
29236                inherit: "default" 0.0;
29237                color: 224 224 224 255;
29238                color3: 0 0 0 64;
29239             }
29240          }
29241          part { name: "fg1";
29242             clip_to: "disclip";
29243             mouse_events: 0;
29244             description { state: "default" 0.0;
29245                visible: 0;
29246                color: 255 255 255 0;
29247                rel1.to: "bg";
29248                rel2.relative: 1.0 0.5;
29249                rel2.to: "bg";
29250                image {
29251                   normal: "bt_sm_hilight.png";
29252                   border: 6 6 6 0;
29253                }
29254             }
29255             description { state: "selected" 0.0;
29256                inherit: "default" 0.0;
29257                visible: 1;
29258                color: 255 255 255 255;
29259             }
29260          }
29261          part { name: "fg2";
29262             clip_to: "disclip";
29263             mouse_events: 0;
29264             description { state: "default" 0.0;
29265                visible: 0;
29266                color: 255 255 255 0;
29267                rel1.to: "bg";
29268                rel2.to: "bg";
29269                image {
29270                   normal: "bt_sm_shine.png";
29271                   border: 6 6 6 0;
29272                }
29273             }
29274             description { state: "selected" 0.0;
29275                inherit: "default" 0.0;
29276                visible: 1;
29277                color: 255 255 255 255;
29278             }
29279          }
29280          part { name: "disclip";
29281             type: RECT;
29282             description { state: "default" 0.0;
29283                rel1.to: "bg";
29284                rel2.to: "bg";
29285             }
29286             description { state: "disabled" 0.0;
29287                inherit: "default" 0.0;
29288                color: 255 255 255 64;
29289             }
29290          }
29291       }
29292       programs {
29293          // signal: elm,state,%s,active
29294          //   a "check" item named %s went active
29295          // signal: elm,state,%s,passive
29296          //   a "check" item named %s went passive
29297          // default is passive
29298          program { name:    "go_active";
29299             signal:  "elm,state,selected";
29300             source:  "elm";
29301             action:  STATE_SET "selected" 0.0;
29302             target:  "bg";
29303             target:  "fg1";
29304             target:  "fg2";
29305             target:  "elm.text";
29306          }
29307          program { name:    "go_passive";
29308             signal:  "elm,state,unselected";
29309             source:  "elm";
29310             action:  STATE_SET "default" 0.0;
29311             target:  "bg";
29312             target:  "fg1";
29313             target:  "fg2";
29314             target:  "elm.text";
29315             transition: LINEAR 0.1;
29316          }
29317          program { name:    "go_disabled";
29318             signal:  "elm,state,disabled";
29319             source:  "elm";
29320             action:  STATE_SET "disabled" 0.0;
29321             target:  "disclip";
29322          }
29323          program { name:    "go_enabled";
29324             signal:  "elm,state,enabled";
29325             source:  "elm";
29326             action:  STATE_SET "default" 0.0;
29327             target:  "disclip";
29328          }
29329          program { name:    "go_reorder_disabled";
29330             signal:  "elm,state,reorder,disabled";
29331             source:  "elm";
29332             action:  STATE_SET "default" 0.0;
29333             target:  "reorder_bg";
29334             transition: DECELERATE 0.5;
29335          }
29336          program { name:    "go_reorder_enabled";
29337             signal:  "elm,state,reorder,enabled";
29338             source:  "elm";
29339             action:  STATE_SET "enabled" 0.0;
29340             target:  "reorder_bg";
29341             transition: DECELERATE 0.5;
29342          }
29343       }
29344    }
29345    group { name: "elm/gengrid/item/default_style/default";
29346        styles
29347        {
29348            style { name: "gengrid_style";
29349                base: "font=Sans font_size=10 align=left valign=0.5 color=#000 text_class=grid_item";
29350                tag:  "br" "\n";
29351                tag:  "ps" "ps";
29352                tag:  "hilight" "+ font=Sans:style=Bold";
29353                tag:  "b" "+ font=Sans:style=Bold";
29354                tag:  "tab" "\t";
29355            }
29356            style { name: "gengrid_selected_style";
29357                base: "font=Sans font_size=10 align=left valign=0.5 color=#fff text_class=grid_item";
29358                tag:  "br" "\n";
29359                tag:  "ps" "ps";
29360                tag:  "hilight" "+ font=Sans:style=Bold";
29361                tag:  "b" "+ font=Sans:style=Bold";
29362                tag:  "tab" "\t";
29363            }
29364        }
29365        data.item: "labels" "elm.text";
29366        data.item: "icons" "elm.swallow.icon elm.swallow.end";
29367        images {
29368            image: "bt_sm_base1.png" COMP;
29369            image: "bt_sm_shine.png" COMP;
29370            image: "bt_sm_hilight.png" COMP;
29371            image: "ilist_1.png" COMP;
29372            image: "ilist_item_shadow.png" COMP;
29373        }
29374        parts {
29375            part { name: "event";
29376                type: RECT;
29377                repeat_events: 1;
29378                description { state: "default" 0.0;
29379                    color: 0 0 0 0;
29380                }
29381            }
29382            part { name: "base_sh";
29383                mouse_events: 0;
29384                description { state: "default" 0.0;
29385                    align: 0.0 0.0;
29386                    min: 0 10;
29387                    fixed: 1 1;
29388                    rel1 {
29389                        to: "base";
29390                        relative: 0.0 1.0;
29391                        offset: 0 0;
29392                    }
29393                    rel2 {
29394                        to: "base";
29395                        relative: 1.0 1.0;
29396                        offset: -1 0;
29397                    }
29398                    image {
29399                        normal: "ilist_item_shadow.png";
29400                    }
29401                    fill.smooth: 0;
29402                }
29403            }
29404            part { name: "base";
29405                mouse_events: 0;
29406                description { state: "default" 0.0;
29407                    min: 16 28;
29408                    image {
29409                        normal: "ilist_1.png";
29410                        border: 2 2 2 2;
29411                    }
29412                    fill.smooth: 0;
29413                }
29414            }
29415            part { name: "bg";
29416                clip_to: "disclip";
29417                mouse_events: 0;
29418                description { state: "default" 0.0;
29419                    visible: 0;
29420                    color: 255 255 255 0;
29421                    rel1 {
29422                        relative: 0.0 0.0;
29423                        offset: -5 -5;
29424                    }
29425                    rel2 {
29426                        relative: 1.0 1.0;
29427                        offset: 4 4;
29428                    }
29429                    image {
29430                        normal: "bt_sm_base1.png";
29431                        border: 6 6 6 6;
29432                    }
29433                    image.middle: SOLID;
29434                }
29435                description { state: "selected" 0.0;
29436                    inherit: "default" 0.0;
29437                    visible: 1;
29438                    color: 255 255 255 255;
29439                    rel1 {
29440                        relative: 0.0 0.0;
29441                        offset: -2 -2;
29442                    }
29443                    rel2 {
29444                        relative: 1.0 1.0;
29445                        offset: 1 1;
29446                    }
29447                }
29448            }
29449            part { name: "elm.swallow.pad";
29450                type: SWALLOW;
29451                description { state: "default" 0.0;
29452                    fixed: 1 0;
29453                    align: 0.0 0.5;
29454                    rel1 {
29455                        relative: 0.0  0.0;
29456                        offset:   4    4;
29457                    }
29458                    rel2 {
29459                        relative: 0.0  1.0;
29460                        offset:   4   -5;
29461                    }
29462                }
29463            }
29464            part { name: "elm.swallow.icon";
29465                clip_to: "disclip";
29466                type: SWALLOW;
29467                description { state: "default" 0.0;
29468                    fixed: 1 0;
29469                    align: 0.0 0.5;
29470                    rel1 {
29471                        to_x: "elm.swallow.pad";
29472                        relative: 1.0  0.0;
29473                        offset:   -1    4;
29474                    }
29475                    rel2 {
29476                        to_x: "elm.swallow.pad";
29477                        relative: 1.0  1.0;
29478                        offset:   -1   -5;
29479                    }
29480                }
29481            }
29482            part { name: "elm.swallow.end";
29483                clip_to: "disclip";
29484                type: SWALLOW;
29485                description { state: "default" 0.0;
29486                    fixed: 1 0;
29487                    align: 1.0 0.5;
29488                    aspect: 1.0 1.0;
29489                    aspect_preference: VERTICAL;
29490                    rel1 {
29491                        relative: 1.0  0.0;
29492                        offset:   -5    4;
29493                    }
29494                    rel2 {
29495                        relative: 1.0  1.0;
29496                        offset:   -5   -5;
29497                    }
29498                }
29499            }
29500            part { name: "elm.text";
29501                clip_to: "disclip";
29502                type: TEXTBLOCK;
29503                mouse_events: 0;
29504                scale: 1;
29505                description {
29506                    state: "default" 0.0;
29507                    align: 0.0 0.5;
29508                    fixed: 0 1;
29509                    rel1 {
29510                        to_x: "elm.swallow.icon";
29511                        to_y: "base";
29512                        relative: 1.0  0.5;
29513                        offset:   0 4;
29514                    }
29515                    rel2 {
29516                        to_x: "elm.swallow.end";
29517                        to_y: "base";
29518                        relative: 0.0  0.5;
29519                        offset:   -1 -5;
29520                    }
29521                    text {
29522                        style: "gengrid_style";
29523                        min: 1 1;
29524                    }
29525                }
29526                description { state: "selected" 0.0;
29527                    inherit: "default" 0.0;
29528                    text {
29529                        style: "gengrid_selected_style";
29530                    }
29531                }
29532            }
29533            part { name: "fg1";
29534                clip_to: "disclip";
29535                mouse_events: 0;
29536                description { state: "default" 0.0;
29537                    visible: 0;
29538                    color: 255 255 255 0;
29539                    rel1.to: "bg";
29540                    rel2.relative: 1.0 0.5;
29541                    rel2.to: "bg";
29542                    image {
29543                        normal: "bt_sm_hilight.png";
29544                        border: 6 6 6 0;
29545                    }
29546                }
29547                description { state: "selected" 0.0;
29548                    inherit: "default" 0.0;
29549                    visible: 1;
29550                    color: 255 255 255 255;
29551                }
29552            }
29553            part { name: "fg2";
29554                clip_to: "disclip";
29555                mouse_events: 0;
29556                description { state: "default" 0.0;
29557                    visible: 0;
29558                    color: 255 255 255 0;
29559                    rel1.to: "bg";
29560                    rel2.to: "bg";
29561                    image {
29562                        normal: "bt_sm_shine.png";
29563                        border: 6 6 6 0;
29564                    }
29565                }
29566                description { state: "selected" 0.0;
29567                    inherit: "default" 0.0;
29568                    visible: 1;
29569                    color: 255 255 255 255;
29570                }
29571            }
29572            part { name: "disclip";
29573                type: RECT;
29574                description { state: "default" 0.0;
29575                    rel1.to: "bg";
29576                    rel2.to: "bg";
29577                }
29578                description { state: "disabled" 0.0;
29579                    inherit: "default" 0.0;
29580                    color: 255 255 255 64;
29581                }
29582            }
29583        }
29584        programs {
29585            // signal: elm,state,%s,active
29586            //   a "check" item named %s went active
29587            // signal: elm,state,%s,passive
29588            //   a "check" item named %s went passive
29589            // default is passive
29590            program { name:    "go_active";
29591                signal:  "elm,state,selected";
29592                source:  "elm";
29593                action:  STATE_SET "selected" 0.0;
29594                target:  "bg";
29595                target:  "fg1";
29596                target:  "fg2";
29597                target:  "elm.text";
29598            }
29599            program { name:    "go_passive";
29600                signal:  "elm,state,unselected";
29601                source:  "elm";
29602                action:  STATE_SET "default" 0.0;
29603                target:  "bg";
29604                target:  "fg1";
29605                target:  "fg2";
29606                target:  "elm.text";
29607                transition: LINEAR 0.1;
29608            }
29609            program { name:    "go_disabled";
29610                signal:  "elm,state,disabled";
29611                source:  "elm";
29612                action:  STATE_SET "disabled" 0.0;
29613                target:  "disclip";
29614            }
29615            program { name:    "go_enabled";
29616                signal:  "elm,state,enabled";
29617                source:  "elm";
29618                action:  STATE_SET "default" 0.0;
29619                target:  "disclip";
29620            }
29621        }
29622    }
29623
29624    group { name: "elm/gengrid/item/up/default";
29625       data.item: "labels" "elm.text";
29626       images {
29627           image: "bt_sm_base1.png" COMP;
29628           image: "bt_sm_shine.png" COMP;
29629           image: "bt_sm_hilight.png" COMP;
29630           image: "arrow_up.png" COMP;
29631       }
29632       parts {
29633          part { name: "event";
29634             type: RECT;
29635             repeat_events: 1;
29636             description { state: "default" 0.0;
29637                color: 0 0 0 0;
29638             }
29639          }
29640          part { name: "bg";
29641             clip_to: "disclip";
29642             mouse_events: 0;
29643             description { state: "default" 0.0;
29644                visible: 0;
29645                color: 255 255 255 0;
29646                rel1.offset: -3 -3;
29647                rel2.offset: 2 2;
29648                image { normal: "bt_sm_base1.png";
29649                   border: 6 6 6 6;
29650                   middle: SOLID;
29651                }
29652             }
29653             description { state: "selected" 0.0;
29654                inherit: "default" 0.0;
29655                visible: 1;
29656                color: 255 255 255 255;
29657             }
29658          }
29659          part { name: "image";
29660              type: IMAGE;
29661              mouse_events: 0;
29662              description { state: "default" 0.0;
29663                  aspect_preference: BOTH;
29664                  aspect: 1.0 1.0;
29665                  image.normal: "arrow_up.png";
29666                  rel2 {
29667                      to_y: "elm.text";
29668                      relative: 1.0 0.0;
29669                      offset: -1 -2;
29670                  }
29671              }
29672          }
29673          part { name: "elm.text";
29674             clip_to: "disclip";
29675             type: TEXT;
29676             effect: SOFT_SHADOW;
29677             mouse_events: 0;
29678             scale: 1;
29679             description { state: "default" 0.0;
29680                rel1 {
29681                   relative: 0.0  1.0;
29682                   offset: 20 -25;
29683                }
29684                rel2 {
29685                   relative: 1.0  1.0;
29686                   offset: -21 -3;
29687                }
29688                color: 0 0 0 255;
29689                color3: 0 0 0 0;
29690                text {
29691                   font: "Sans";
29692                   size: 10;
29693                   min: 0 1;
29694                   align: 0.5 0.0;
29695                   text_class: "grid_item";
29696                }
29697             }
29698             description { state: "selected" 0.0;
29699                inherit: "default" 0.0;
29700                color: 224 224 224 255;
29701                color3: 0 0 0 64;
29702             }
29703          }
29704          part { name: "fg1";
29705             clip_to: "disclip";
29706             mouse_events: 0;
29707             description { state: "default" 0.0;
29708                visible: 0;
29709                color: 255 255 255 0;
29710                rel1.offset: -3 -3;
29711                rel2 {
29712                    relative: 1.0 0.5;
29713                    offset: 2 -1;
29714                }
29715                image {
29716                   normal: "bt_sm_hilight.png";
29717                   border: 6 6 6 0;
29718                }
29719             }
29720             description { state: "selected" 0.0;
29721                inherit: "default" 0.0;
29722                visible: 1;
29723                color: 255 255 255 255;
29724             }
29725          }
29726          part { name: "fg2";
29727             clip_to: "disclip";
29728             mouse_events: 0;
29729             description { state: "default" 0.0;
29730                visible: 0;
29731                color: 255 255 255 0;
29732                rel1.offset: -3 -3;
29733                rel2.offset: 2 2;
29734                image {
29735                   normal: "bt_sm_shine.png";
29736                   border: 6 6 6 0;
29737                }
29738             }
29739             description { state: "selected" 0.0;
29740                inherit: "default" 0.0;
29741                visible: 1;
29742                color: 255 255 255 255;
29743             }
29744          }
29745          part { name: "disclip";
29746             type: RECT;
29747             description { state: "default" 0.0;
29748                rel1.to: "bg";
29749                rel2.to: "bg";
29750             }
29751             description { state: "disabled" 0.0;
29752                inherit: "default" 0.0;
29753                color: 255 255 255 64;
29754             }
29755          }
29756       }
29757       programs {
29758          program { name:    "go_active";
29759             signal:  "elm,state,selected";
29760             source:  "elm";
29761             action:  STATE_SET "selected" 0.0;
29762             target:  "bg";
29763             target:  "fg1";
29764             target:  "fg2";
29765             target:  "elm.text";
29766          }
29767          program { name:    "go_passive";
29768             signal:  "elm,state,unselected";
29769             source:  "elm";
29770             action:  STATE_SET "default" 0.0;
29771             target:  "bg";
29772             target:  "fg1";
29773             target:  "fg2";
29774             target:  "elm.text";
29775             transition: LINEAR 0.1;
29776          }
29777          program { name:    "go_disabled";
29778             signal:  "elm,state,disabled";
29779             source:  "elm";
29780             action:  STATE_SET "disabled" 0.0;
29781             target:  "disclip";
29782          }
29783          program { name:    "go_enabled";
29784             signal:  "elm,state,enabled";
29785             source:  "elm";
29786             action:  STATE_SET "default" 0.0;
29787             target:  "disclip";
29788          }
29789       }
29790    }
29791
29792    group { name: "elm/gengrid/item/album-preview/default";
29793       data.item: "labels" "elm.text";
29794       data.item: "icons" "elm.swallow.icon.1 elm.swallow.icon.2 elm.swallow.icon.3 elm.swallow.icon.4";
29795       data.item: "states" "have_files";
29796       images {
29797          image: "bt_sm_base1.png" COMP;
29798          image: "bt_sm_shine.png" COMP;
29799          image: "bt_sm_hilight.png" COMP;
29800          image: "icon_folder.png" COMP;
29801       }
29802       parts {
29803          part { name: "event";
29804             type: RECT;
29805             repeat_events: 1;
29806             description { state: "default" 0.0;
29807                color: 0 0 0 0;
29808             }
29809          }
29810          part { name: "bg";
29811             clip_to: "disclip";
29812             mouse_events: 0;
29813             description { state: "default" 0.0;
29814                visible: 0;
29815                color: 255 255 255 0;
29816                rel1.offset: -3 -3;
29817                rel2.offset: 2 2;
29818                image {
29819                   normal: "bt_sm_base1.png";
29820                   border: 6 6 6 6;
29821                   middle: SOLID;
29822                }
29823             }
29824             description { state: "selected" 0.0;
29825                inherit: "default" 0.0;
29826                visible: 1;
29827                color: 255 255 255 255;
29828             }
29829          }
29830          part { name: "image";
29831              type: IMAGE;
29832              mouse_events: 0;
29833              description { state: "default" 0.0;
29834                  aspect_preference: BOTH;
29835                  aspect: 1.0 1.0;
29836                  image.normal: "icon_folder.png";
29837                  rel2 {
29838                      to_y: "elm.text";
29839                      relative: 1.0 0.0;
29840                      offset: -1 -2;
29841                  }
29842              }
29843          }
29844          part { name: "have-files-clipper";
29845              type: RECT;
29846              description { state: "default" 0.0;
29847                  color: 255 255 255 0;
29848                  visible: 0;
29849              }
29850              description { state: "visible" 0.0;
29851                  inherit: "default" 0.0;
29852                  color: 255 255 255 255;
29853                  visible: 1;
29854              }
29855          }
29856          part { name: "icon_box_margin";
29857              type: RECT;
29858              mouse_events: 0;
29859              clip_to: "have-files-clipper";
29860              description { state: "default" 0.0;
29861                  color: 0 0 0 255;
29862                  rel1 {
29863                      to: "icon_box";
29864                      offset: -1 -1;
29865                  }
29866                  rel2 {
29867                      to: "icon_box";
29868                      offset: 0 0;
29869                  }
29870              }
29871          }
29872          part { name: "icon_box";
29873              type: RECT;
29874              mouse_events: 0;
29875              clip_to: "have-files-clipper";
29876              description { state: "default" 0.0;
29877                  color: 255 255 255 255;
29878                  align: 1.0 1.0;
29879                  min: 32 32;
29880                  rel1 {
29881                      relative: 0.25 0.25;
29882                      offset: 0 0;
29883                  }
29884                  rel2 {
29885                      relative: 1.0 0.0;
29886                      offset: -11 -4;
29887                      to_y: "elm.text";
29888                  }
29889              }
29890          }
29891          part { name: "elm.swallow.icon.1";
29892              type: SWALLOW;
29893              mouse_events: 0;
29894              clip_to: "have-files-clipper";
29895              description { state: "default" 0.0;
29896                rel1 {
29897                   relative: 0.0  0.0;
29898                   to: "icon_box";
29899                }
29900                rel2 {
29901                   relative: 0.5  0.5;
29902                   offset: -1 -1;
29903                   to: "icon_box";
29904                }
29905             }
29906          }
29907          part { name: "elm.swallow.icon.2";
29908              type: SWALLOW;
29909              mouse_events: 0;
29910              clip_to: "have-files-clipper";
29911              description { state: "default" 0.0;
29912                rel1 {
29913                   relative: 0.5  0.0;
29914                   to: "icon_box";
29915                }
29916                rel2 {
29917                   relative: 1.0  0.5;
29918                   offset: -1 -1;
29919                   to: "icon_box";
29920                }
29921             }
29922          }
29923          part { name: "elm.swallow.icon.3";
29924              type: SWALLOW;
29925              mouse_events: 0;
29926              clip_to: "have-files-clipper";
29927              description { state: "default" 0.0;
29928                rel1 {
29929                   relative: 0.0  0.5;
29930                   to: "icon_box";
29931                }
29932                rel2 {
29933                   relative: 0.5  1.0;
29934                   offset: -1 -1;
29935                   to: "icon_box";
29936                }
29937             }
29938          }
29939          part { name: "elm.swallow.icon.4";
29940              type: SWALLOW;
29941              mouse_events: 0;
29942              clip_to: "have-files-clipper";
29943              description { state: "default" 0.0;
29944                rel1 {
29945                   relative: 0.5  0.5;
29946                   to: "icon_box";
29947                }
29948                rel2 {
29949                   relative: 1.0  1.0;
29950                   offset: -1 -1;
29951                   to: "icon_box";
29952                }
29953             }
29954          }
29955          part { name: "elm.text";
29956             clip_to: "disclip";
29957             type: TEXT;
29958             effect: SOFT_SHADOW;
29959             mouse_events: 0;
29960             scale: 1;
29961             description { state: "default" 0.0;
29962                rel1 {
29963                   relative: 0.0  1.0;
29964                   offset: 20 -30;
29965                }
29966                rel2 {
29967                   relative: 1.0  1.0;
29968                   offset: -21 -15;
29969                }
29970                color: 0 0 0 255;
29971                color3: 0 0 0 0;
29972                text {
29973                   font: "Sans";
29974                   size: 10;
29975                   min: 0 1;
29976                   align: 0.5 0.0;
29977                   text_class: "grid_item";
29978                }
29979             }
29980             description { state: "selected" 0.0;
29981                 inherit: "default" 0.0;
29982                 color: 255 255 255 255;
29983             }
29984          }
29985          part { name: "fg1";
29986             clip_to: "disclip";
29987             mouse_events: 0;
29988             description { state: "default" 0.0;
29989                visible: 0;
29990                color: 255 255 255 0;
29991                rel1.offset: -3 -3;
29992                rel2 {
29993                    relative: 1.0 0.5;
29994                    offset: 2 -1;
29995                }
29996                image {
29997                   normal: "bt_sm_hilight.png";
29998                   border: 6 6 6 0;
29999                }
30000             }
30001             description { state: "selected" 0.0;
30002                inherit: "default" 0.0;
30003                visible: 1;
30004                color: 255 255 255 255;
30005             }
30006          }
30007          part { name: "fg2";
30008             clip_to: "disclip";
30009             mouse_events: 0;
30010             description { state: "default" 0.0;
30011                visible: 0;
30012                color: 255 255 255 0;
30013                rel1.offset: -3 -3;
30014                rel2.offset: 2 2;
30015                image {
30016                   normal: "bt_sm_shine.png";
30017                   border: 6 6 6 0;
30018                }
30019             }
30020             description { state: "selected" 0.0;
30021                inherit: "default" 0.0;
30022                visible: 1;
30023                color: 255 255 255 255;
30024             }
30025          }
30026          part { name: "disclip";
30027             type: RECT;
30028             description { state: "default" 0.0;
30029                rel1.to: "bg";
30030                rel2.to: "bg";
30031             }
30032             description { state: "disabled" 0.0;
30033                inherit: "default" 0.0;
30034                color: 255 255 255 64;
30035             }
30036          }
30037       }
30038       programs {
30039          program { name:    "go_active";
30040             signal:  "elm,state,selected";
30041             source:  "elm";
30042             action:  STATE_SET "selected" 0.0;
30043             target:  "bg";
30044             target:  "fg1";
30045             target:  "fg2";
30046             target:  "elm.text";
30047          }
30048          program { name:    "go_passive";
30049             signal:  "elm,state,unselected";
30050             source:  "elm";
30051             action:  STATE_SET "default" 0.0;
30052             target:  "bg";
30053             target:  "fg1";
30054             target:  "fg2";
30055             target:  "elm.text";
30056             transition: LINEAR 0.1;
30057          }
30058          program { name:    "go_disabled";
30059             signal:  "elm,state,disabled";
30060             source:  "elm";
30061             action:  STATE_SET "disabled" 0.0;
30062             target:  "disclip";
30063          }
30064          program { name:    "go_enabled";
30065             signal:  "elm,state,enabled";
30066             source:  "elm";
30067             action:  STATE_SET "default" 0.0;
30068             target:  "disclip";
30069          }
30070          program {
30071              signal: "elm,state,have_files,active";
30072              source: "elm";
30073              action: STATE_SET "visible" 0.0;
30074              target: "have-files-clipper";
30075          }
30076       }
30077    }
30078
30079    group { name: "elm/gengrid/item/thumb/default";
30080        data {
30081            item: "icons" "elm.swallow.icon";
30082            item: "labels" "elm.text";
30083        }
30084        images {
30085            image: "bt_sm_base1.png" COMP;
30086            image: "bt_sm_shine.png" COMP;
30087            image: "bt_sm_hilight.png" COMP;
30088            image: "thumb_shadow.png" COMP;
30089        }
30090        parts {
30091            part { name: "event";
30092                type: RECT;
30093                repeat_events: 1;
30094                description { state: "default" 0.0;
30095                    color: 0 0 0 0;
30096                }
30097            }
30098            part { name: "bg";
30099                mouse_events: 0;
30100                description { state: "default" 0.0;
30101                    visible: 0;
30102                    color: 255 255 255 0;
30103                    rel1.offset: -3 -3;
30104                    rel2.offset: 2 2;
30105                    image {
30106                        normal: "bt_sm_base1.png";
30107                        border: 6 6 6 6;
30108                        middle: SOLID;
30109                    }
30110                }
30111                description { state: "selected" 0.0;
30112                    inherit: "default" 0.0;
30113                    visible: 1;
30114                    color: 255 255 255 255;
30115                }
30116            }
30117            part { name: "border-shadow";
30118                type: IMAGE;
30119                mouse_events: 0;
30120                description { state: "default" 0.0;
30121                    rel1 {
30122                        to: "elm.swallow.icon";
30123                        offset: -18 -18;
30124                    }
30125                    rel2 {
30126                        to_x: "elm.swallow.icon";
30127                        to_y: "elm.text";
30128                        offset: 17 17;
30129                    }
30130                    image {
30131                        normal: "thumb_shadow.png";
30132                        border: 17 17 17 17;
30133                        middle: NONE;
30134                    }
30135                }
30136            }
30137            part { name: "border";
30138                type: RECT;
30139                mouse_events: 0;
30140                description { state: "default" 0.0;
30141                    rel1 {
30142                        to: "border-shadow";
30143                        offset: 16 16;
30144                    }
30145                    rel2 {
30146                        to: "border-shadow";
30147                        offset: -15 -15;
30148                    }
30149                }
30150            }
30151            part { name: "elm.swallow.icon";
30152                type: SWALLOW;
30153                mouse_events: 0;
30154                description { state: "default" 0.0;
30155                    aspect_preference: BOTH;
30156                    aspect: 1.0 1.0;
30157                    rel1.offset: 0 8;
30158                    rel2 {
30159                        to_y: "elm.text";
30160                        relative: 1.0 0.0;
30161                        offset: -1 -2;
30162                    }
30163                }
30164            }
30165            part { name: "elm.text";
30166                type: TEXT;
30167                effect: SOFT_SHADOW;
30168                mouse_events: 0;
30169                scale: 1;
30170                description { state: "default" 0.0;
30171                    color: 0 0 0 255;
30172                    color3: 0 0 0 0;
30173                    align: 0.5 1.0;
30174                    rel1 {
30175                        relative: 0.0 1.0;
30176                        offset: 20 -30;
30177                    }
30178                    rel2 {
30179                        relative: 1.0 1.0;
30180                        offset: -21 -15;
30181                    }
30182                    text {
30183                        font: "Sans";
30184                        size: 10;
30185                        min: 0 1;
30186                        align: 0.5 0.0;
30187                        text_class: "grid_item";
30188                    }
30189                }
30190            }
30191            part { name: "fg1";
30192                mouse_events: 0;
30193                description { state: "default" 0.0;
30194                    visible: 0;
30195                    color: 255 255 255 0;
30196                    rel1.offset: -3 -3;
30197                    rel2 {
30198                        relative: 1.0 0.5;
30199                        offset: 2 -1;
30200                    }
30201                    image {
30202                        normal: "bt_sm_hilight.png";
30203                        border: 6 6 6 0;
30204                    }
30205                }
30206                description { state: "selected" 0.0;
30207                    inherit: "default" 0.0;
30208                    visible: 1;
30209                    color: 255 255 255 255;
30210                }
30211            }
30212            part { name: "fg2";
30213                mouse_events: 0;
30214                description { state: "default" 0.0;
30215                    visible: 0;
30216                    color: 255 255 255 0;
30217                    rel1.offset: -3 -3;
30218                    rel2.offset: 2 2;
30219                    image {
30220                        image: "bt_sm_shine.png";
30221                        border: 6 6 6 0;
30222                    }
30223                }
30224                description { state: "selected" 0.0;
30225                    inherit: "default" 0.0;
30226                    visible: 1;
30227                    color: 255 255 255 255;
30228                }
30229            }
30230        }
30231        programs {
30232            program {
30233                signal: "elm,state,selected";
30234                source: "elm";
30235                action: STATE_SET "selected" 0.0;
30236                target: "bg";
30237                target: "fg1";
30238                target: "fg2";
30239            }
30240            program {
30241                signal: "elm,state,unselected";
30242                source: "elm";
30243                action:  STATE_SET "default" 0.0;
30244                target: "bg";
30245                target: "fg1";
30246                target: "fg2";
30247                transition: LINEAR 0.1;
30248            }
30249        }
30250    }
30251
30252 ///////////////////////////////////////////////////////////////////////////////
30253    group { name: "elm/photocam/base/default";
30254        script {
30255            public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
30256            public timer0(val) {
30257                new v;
30258                v = get_int(sbvis_v);
30259                if (v) {
30260                    v = get_int(sbalways_v);
30261                    if (!v) {
30262                        emit("do-hide-vbar", "");
30263                        set_int(sbvis_v, 0);
30264                    }
30265                }
30266                v = get_int(sbvis_h);
30267                if (v) {
30268                    v = get_int(sbalways_h);
30269                    if (!v) {
30270                        emit("do-hide-hbar", "");
30271                        set_int(sbvis_h, 0);
30272                    }
30273                }
30274                set_int(sbvis_timer, 0);
30275                return 0;
30276            }
30277        }
30278        images {
30279            image: "shelf_inset.png" COMP;
30280            image: "bt_sm_base2.png" COMP;
30281            image: "bt_sm_shine.png" COMP;
30282            image: "bt_sm_hilight.png" COMP;
30283            image: "busy-1.png" COMP;
30284            image: "busy-2.png" COMP;
30285            image: "busy-3.png" COMP;
30286            image: "busy-4.png" COMP;
30287            image: "busy-5.png" COMP;
30288            image: "busy-6.png" COMP;
30289            image: "busy-7.png" COMP;
30290            image: "busy-8.png" COMP;
30291            image: "busy-9.png" COMP;
30292        }
30293        parts {
30294            part { name: "bg";
30295                type: RECT;
30296                description { state: "default" 0.0;
30297                    rel1.offset: 1 1;
30298                    rel2.offset: -2 -2;
30299                    color: 255 255 255 0;
30300                }
30301            }
30302            part { name: "clipper";
30303                type: RECT;
30304                mouse_events: 0;
30305                description { state: "default" 0.0;
30306                    rel1.to: "bg";
30307                    rel2.to: "bg";
30308                }
30309            }
30310            part { name: "elm.swallow.content";
30311                clip_to: "clipper";
30312                type: SWALLOW;
30313                description { state: "default" 0.0;
30314                    rel1.offset: 1 1;
30315                    rel2.offset: -2 -2;
30316                }
30317            }
30318            part { name: "busy_clip";
30319                type: RECT;
30320                mouse_events: 0;
30321                description { state: "default" 0.0;
30322                    visible: 0;
30323                    color: 255 255 255 0;
30324                }
30325                description { state: "active" 0.0;
30326                    visible: 1;
30327                    color: 255 255 255 255;
30328                }
30329            }
30330            part { name: "busy";
30331                clip_to: "busy_clip";
30332                mouse_events: 0;
30333                description { state: "default" 0.0;
30334                    fixed: 1 1;
30335                    min: 32 32;
30336                    aspect: 1.0 1.0;
30337                    align: 1.0 1.0;
30338                    aspect_preference: BOTH;
30339                    rel1 {
30340                        relative: 0.9 0.9;
30341                        offset:   -9 -9;
30342                    }
30343                    rel2 {
30344                        relative: 0.9 0.9;
30345                        offset:   -9 -9;
30346                    }
30347                    image {
30348                        normal: "busy-9.png";
30349                        tween:  "busy-1.png";
30350                        tween:  "busy-2.png";
30351                        tween:  "busy-3.png";
30352                        tween:  "busy-4.png";
30353                        tween:  "busy-5.png";
30354                        tween:  "busy-6.png";
30355                        tween:  "busy-7.png";
30356                        tween:  "busy-8.png";
30357                    }
30358                }
30359            }
30360            part { name: "conf_over";
30361                mouse_events:  0;
30362                description { state: "default" 0.0;
30363                    rel1.offset: 0 0;
30364                    rel2.offset: -1 -1;
30365                    image {
30366                        normal: "shelf_inset.png";
30367                        border: 7 7 7 7;
30368                        middle: 0;
30369                    }
30370                    fill.smooth : 0;
30371                }
30372            }
30373            part { name: "sb_vbar_clip_master";
30374                type: RECT;
30375                mouse_events: 0;
30376                description { state: "default" 0.0;
30377                }
30378                description { state: "hidden" 0.0;
30379                    visible: 0;
30380                    color: 255 255 255 0;
30381                }
30382            }
30383            part { name: "sb_vbar_clip";
30384                clip_to: "sb_vbar_clip_master";
30385                type: RECT;
30386                mouse_events: 0;
30387                description { state: "default" 0.0;
30388                }
30389                description { state: "hidden" 0.0;
30390                    visible: 0;
30391                    color: 255 255 255 0;
30392                }
30393            }
30394            part { name: "sb_vbar";
30395                type: RECT;
30396                mouse_events: 0;
30397                description { state: "default" 0.0;
30398                    fixed: 1 1;
30399                    visible: 0;
30400                    min: 10 17;
30401                    align: 1.0 0.0;
30402                    rel1 {
30403                        relative: 1.0 0.0;
30404                        offset:   -2 0;
30405                    }
30406                    rel2 {
30407                        relative: 1.0 0.0;
30408                        offset:   -2 -1;
30409                        to_y:     "sb_hbar";
30410                    }
30411                }
30412            }
30413            part { name: "elm.dragable.vbar";
30414                clip_to: "sb_vbar_clip";
30415                mouse_events: 0;
30416                dragable {
30417                    x: 0 0 0;
30418                    y: 1 1 0;
30419                    confine: "sb_vbar";
30420                }
30421                description { state: "default" 0.0;
30422                    fixed: 1 1;
30423                    min: 10 17;
30424                    max: 10 99999;
30425                    rel1 {
30426                        relative: 0.5  0.5;
30427                        offset:   0    0;
30428                        to: "sb_vbar";
30429                    }
30430                    rel2 {
30431                        relative: 0.5  0.5;
30432                        offset:   0    0;
30433                        to: "sb_vbar";
30434                    }
30435                    image {
30436                        normal: "bt_sm_base2.png";
30437                        border: 6 6 6 6;
30438                        middle: SOLID;
30439                    }
30440                }
30441            }
30442            part { name: "sb_vbar_over1";
30443                clip_to: "sb_vbar_clip";
30444                mouse_events: 0;
30445                description { state: "default" 0.0;
30446                    rel1.to: "elm.dragable.vbar";
30447                    rel2.relative: 1.0 0.5;
30448                    rel2.to: "elm.dragable.vbar";
30449                    image {
30450                        normal: "bt_sm_hilight.png";
30451                        border: 6 6 6 0;
30452                    }
30453                }
30454            }
30455            part { name: "sb_vbar_over2";
30456                clip_to: "sb_vbar_clip";
30457                mouse_events: 0;
30458                description { state: "default" 0.0;
30459                    rel1.to: "elm.dragable.vbar";
30460                    rel2.to: "elm.dragable.vbar";
30461                    image {
30462                        normal: "bt_sm_shine.png";
30463                        border: 6 6 6 0;
30464                    }
30465                }
30466            }
30467
30468            part { name: "sb_hbar_clip_master";
30469                type: RECT;
30470                mouse_events: 0;
30471                description { state: "default" 0.0;
30472                }
30473                description { state: "hidden" 0.0;
30474                    visible: 0;
30475                    color: 255 255 255 0;
30476                }
30477            }
30478            part { name: "sb_hbar_clip";
30479                clip_to: "sb_hbar_clip_master";
30480                type: RECT;
30481                mouse_events: 0;
30482                description { state: "default" 0.0;
30483                }
30484                description { state: "hidden" 0.0;
30485                    visible: 0;
30486                    color: 255 255 255 0;
30487                }
30488            }
30489            part { name: "sb_hbar";
30490                type: RECT;
30491                mouse_events: 0;
30492                description { state: "default" 0.0;
30493                    fixed: 1 1;
30494                    visible: 0;
30495                    min: 17 10;
30496                    align: 0.0 1.0;
30497                    rel1 {
30498                        relative: 0.0 1.0;
30499                        offset:   0 -2;
30500                    }
30501                    rel2 {
30502                        relative: 0.0 1.0;
30503                        offset:   -1 -2;
30504                        to_x:     "sb_vbar";
30505                    }
30506                }
30507            }
30508            part { name: "elm.dragable.hbar";
30509                clip_to: "sb_hbar_clip";
30510                mouse_events: 0;
30511                dragable {
30512                    x: 1 1 0;
30513                    y: 0 0 0;
30514                    confine: "sb_hbar";
30515                }
30516                description { state: "default" 0.0;
30517                    fixed: 1 1;
30518                    min: 17 10;
30519                    max: 99999 10;
30520                    rel1 {
30521                        relative: 0.5  0.5;
30522                        offset:   0    0;
30523                        to: "sb_hbar";
30524                    }
30525                    rel2 {
30526                        relative: 0.5  0.5;
30527                        offset:   0    0;
30528                        to: "sb_hbar";
30529                    }
30530                    image {
30531                        normal: "bt_sm_base2.png";
30532                        border: 4 4 4 4;
30533                        middle: SOLID;
30534                    }
30535                }
30536            }
30537            part { name: "sb_hbar_over1";
30538                clip_to: "sb_hbar_clip";
30539                mouse_events: 0;
30540                description { state: "default" 0.0;
30541                    rel1.to: "elm.dragable.hbar";
30542                    rel2.relative: 1.0 0.5;
30543                    rel2.to: "elm.dragable.hbar";
30544                    image {
30545                        normal: "bt_sm_hilight.png";
30546                        border: 4 4 4 0;
30547                    }
30548                }
30549            }
30550            part { name: "sb_hbar_over2";
30551                clip_to: "sb_hbar_clip";
30552                mouse_events: 0;
30553                description { state: "default" 0.0;
30554                    rel1.to: "elm.dragable.hbar";
30555                    rel2.to: "elm.dragable.hbar";
30556                    image {
30557                        normal: "bt_sm_shine.png";
30558                        border: 4 4 4 0;
30559                    }
30560                }
30561            }
30562        }
30563        programs {
30564            program { name: "load";
30565                signal: "load";
30566                source: "";
30567                script {
30568                    set_state(PART:"sb_hbar_clip", "hidden", 0.0);
30569                    set_state(PART:"sb_vbar_clip", "hidden", 0.0);
30570                    set_int(sbvis_h, 0);
30571                    set_int(sbvis_v, 0);
30572                    set_int(sbalways_v, 0);
30573                    set_int(sbalways_h, 0);
30574                    set_int(sbvis_timer, 0);
30575                }
30576            }
30577
30578            program { name: "vbar_show";
30579                signal: "elm,action,show,vbar";
30580                source: "elm";
30581                action:  STATE_SET "default" 0.0;
30582                target: "sb_vbar_clip_master";
30583            }
30584            program { name: "vbar_hide";
30585                signal: "elm,action,hide,vbar";
30586                source: "elm";
30587                action:  STATE_SET "hidden" 0.0;
30588                target: "sb_vbar_clip_master";
30589            }
30590            program { name: "vbar_show_always";
30591                signal: "elm,action,show_always,vbar";
30592                source: "elm";
30593                script {
30594                    new v;
30595                    v = get_int(sbvis_v);
30596                    v |= get_int(sbalways_v);
30597                    if (!v) {
30598                        set_int(sbalways_v, 1);
30599                        emit("do-show-vbar", "");
30600                        set_int(sbvis_v, 1);
30601                    }
30602                }
30603            }
30604            program { name: "vbar_show_notalways";
30605                signal: "elm,action,show_notalways,vbar";
30606                source: "elm";
30607                script {
30608                    new v;
30609                    v = get_int(sbalways_v);
30610                    if (v) {
30611                        set_int(sbalways_v, 0);
30612                        v = get_int(sbvis_v);
30613                        if (!v) {
30614                            emit("do-hide-vbar", "");
30615                            set_int(sbvis_v, 0);
30616                        }
30617                    }
30618                }
30619            }
30620            program { name: "sb_vbar_show";
30621                signal: "do-show-vbar";
30622                source: "";
30623                action:  STATE_SET "default" 0.0;
30624                transition: LINEAR 0.5;
30625                target: "sb_vbar_clip";
30626            }
30627            program { name: "sb_vbar_hide";
30628                signal: "do-hide-vbar";
30629                source: "";
30630                action:  STATE_SET "hidden" 0.0;
30631                transition: LINEAR 0.5;
30632                target: "sb_vbar_clip";
30633            }
30634
30635            program { name: "hbar_show";
30636                signal: "elm,action,show,hbar";
30637                source: "elm";
30638                action:  STATE_SET "default" 0.0;
30639                target: "sb_hbar_clip_master";
30640            }
30641            program { name: "hbar_hide";
30642                signal: "elm,action,hide,hbar";
30643                source: "elm";
30644                action:  STATE_SET "hidden" 0.0;
30645                target: "sb_hbar_clip_master";
30646            }
30647            program { name: "hbar_show_always";
30648                signal: "elm,action,show_always,hbar";
30649                source: "elm";
30650                script {
30651                    new v;
30652                    v = get_int(sbvis_h);
30653                    v |= get_int(sbalways_h);
30654                    if (!v) {
30655                        set_int(sbalways_h, 1);
30656                        emit("do-show-hbar", "");
30657                        set_int(sbvis_h, 1);
30658                    }
30659                }
30660            }
30661            program { name: "hbar_show_notalways";
30662                signal: "elm,action,show_notalways,hbar";
30663                source: "elm";
30664                script {
30665                    new v;
30666                    v = get_int(sbalways_h);
30667                    if (v) {
30668                        set_int(sbalways_h, 0);
30669                        v = get_int(sbvis_h);
30670                        if (!v) {
30671                            emit("do-hide-hbar", "");
30672                            set_int(sbvis_h, 0);
30673                        }
30674                    }
30675                }
30676            }
30677            program { name: "sb_hbar_show";
30678                signal: "do-show-hbar";
30679                source: "";
30680                action:  STATE_SET "default" 0.0;
30681                transition: LINEAR 0.5;
30682                target: "sb_hbar_clip";
30683            }
30684            program { name: "sb_hbar_hide";
30685                signal: "do-hide-hbar";
30686                source: "";
30687                action:  STATE_SET "hidden" 0.0;
30688                transition: LINEAR 0.5;
30689                target: "sb_hbar_clip";
30690            }
30691
30692            program { name: "scroll";
30693                signal: "elm,action,scroll";
30694                source: "elm";
30695                script {
30696                    new v;
30697                    v = get_int(sbvis_v);
30698                    v |= get_int(sbalways_v);
30699                    if (!v) {
30700                        emit("do-show-vbar", "");
30701                        set_int(sbvis_v, 1);
30702                    }
30703                    v = get_int(sbvis_h);
30704                    v |= get_int(sbalways_h);
30705                    if (!v) {
30706                        emit("do-show-hbar", "");
30707                        set_int(sbvis_h, 1);
30708                    }
30709                    v = get_int(sbvis_timer);
30710                    if (v > 0) cancel_timer(v);
30711                    v = timer(1.0, "timer0", 0);
30712                    set_int(sbvis_timer, v);
30713                }
30714            }
30715            program { name: "go1";
30716                signal: "elm,state,busy,start";
30717                source: "elm";
30718                action: STATE_SET "active" 0.0;
30719                transition: SINUSOIDAL 1.0;
30720                target:  "busy_clip";
30721            }
30722            program { name: "go2";
30723                signal: "elm,state,busy,start";
30724                source: "elm";
30725                action: STATE_SET "default" 0.0;
30726                transition: LINEAR 0.5;
30727                target: "busy";
30728                after:  "go2";
30729            }
30730            program { name: "stop1";
30731                signal: "elm,state,busy,stop";
30732                source: "elm";
30733                action: STATE_SET "default" 0.0;
30734                transition: SINUSOIDAL 1.0;
30735                target: "busy_clip";
30736                after: "stop2";
30737            }
30738          program { name: "stop2";
30739             action: ACTION_STOP;
30740             target: "go2";
30741          }
30742       }
30743    }
30744
30745    ///////////////////////////////////////////////////////////////////////////////
30746    group { name: "elm/map/base/default";
30747        script {
30748            public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
30749            public timer0(val) {
30750                new v;
30751                v = get_int(sbvis_v);
30752                if (v) {
30753                    v = get_int(sbalways_v);
30754                    if (!v) {
30755                        emit("do-hide-vbar", "");
30756                        set_int(sbvis_v, 0);
30757                    }
30758                }
30759                v = get_int(sbvis_h);
30760                if (v) {
30761                    v = get_int(sbalways_h);
30762                    if (!v) {
30763                        emit("do-hide-hbar", "");
30764                        set_int(sbvis_h, 0);
30765                    }
30766                }
30767                set_int(sbvis_timer, 0);
30768                return 0;
30769            }
30770        }
30771        images {
30772            image: "shelf_inset.png" COMP;
30773            image: "bt_sm_base2.png" COMP;
30774            image: "bt_sm_shine.png" COMP;
30775            image: "bt_sm_hilight.png" COMP;
30776            image: "busy-1.png" COMP;
30777            image: "busy-2.png" COMP;
30778            image: "busy-3.png" COMP;
30779            image: "busy-4.png" COMP;
30780            image: "busy-5.png" COMP;
30781            image: "busy-6.png" COMP;
30782            image: "busy-7.png" COMP;
30783            image: "busy-8.png" COMP;
30784            image: "busy-9.png" COMP;
30785        }
30786        parts {
30787            part { name: "bg";
30788                type: RECT;
30789                description { state: "default" 0.0;
30790                    rel1.offset: 1 1;
30791                    rel2.offset: -2 -2;
30792                    color: 255 255 255 0;
30793                }
30794            }
30795            part { name: "clipper";
30796                type: RECT;
30797                mouse_events: 0;
30798                description { state: "default" 0.0;
30799                    rel1.to: "bg";
30800                    rel2.to: "bg";
30801                }
30802            }
30803            part { name: "elm.swallow.content";
30804                clip_to: "clipper";
30805                type: SWALLOW;
30806                description { state: "default" 0.0;
30807                    rel1.offset: 1 1;
30808                    rel2.offset: -2 -2;
30809                }
30810            }
30811            part { name: "busy_clip";
30812                type: RECT;
30813                mouse_events: 0;
30814                description { state: "default" 0.0;
30815                    visible: 0;
30816                    color: 255 255 255 0;
30817                }
30818                description { state: "active" 0.0;
30819                    visible: 1;
30820                    color: 255 255 255 255;
30821                }
30822            }
30823            part { name: "busy";
30824                clip_to: "busy_clip";
30825                mouse_events: 0;
30826                description { state: "default" 0.0;
30827                    fixed: 1 1;
30828                    min: 32 32;
30829                    aspect: 1.0 1.0;
30830                    align: 1.0 1.0;
30831                    aspect_preference: BOTH;
30832                    rel1 {
30833                        relative: 0.9 0.9;
30834                        offset:   -9 -9;
30835                    }
30836                    rel2 {
30837                        relative: 0.9 0.9;
30838                        offset:   -9 -9;
30839                    }
30840                    image {
30841                        normal: "busy-9.png";
30842                        tween:  "busy-1.png";
30843                        tween:  "busy-2.png";
30844                        tween:  "busy-3.png";
30845                        tween:  "busy-4.png";
30846                        tween:  "busy-5.png";
30847                        tween:  "busy-6.png";
30848                        tween:  "busy-7.png";
30849                        tween:  "busy-8.png";
30850                    }
30851                }
30852            }
30853            part { name: "conf_over";
30854                mouse_events:  0;
30855                description { state: "default" 0.0;
30856                    rel1.offset: 0 0;
30857                    rel2.offset: -1 -1;
30858                    image {
30859                        normal: "shelf_inset.png";
30860                        border: 7 7 7 7;
30861                        middle: 0;
30862                    }
30863                    fill.smooth : 0;
30864                }
30865            }
30866            part { name: "sb_vbar_clip_master";
30867                type: RECT;
30868                mouse_events: 0;
30869                description { state: "default" 0.0;
30870                }
30871                description { state: "hidden" 0.0;
30872                    visible: 0;
30873                    color: 255 255 255 0;
30874                }
30875            }
30876            part { name: "sb_vbar_clip";
30877                clip_to: "sb_vbar_clip_master";
30878                type: RECT;
30879                mouse_events: 0;
30880                description { state: "default" 0.0;
30881                }
30882                description { state: "hidden" 0.0;
30883                    visible: 0;
30884                    color: 255 255 255 0;
30885                }
30886            }
30887            part { name: "sb_vbar";
30888                type: RECT;
30889                mouse_events: 0;
30890                description { state: "default" 0.0;
30891                    fixed: 1 1;
30892                    visible: 0;
30893                    min: 10 17;
30894                    align: 1.0 0.0;
30895                    rel1 {
30896                        relative: 1.0 0.0;
30897                        offset:   -2 0;
30898                    }
30899                    rel2 {
30900                        relative: 1.0 0.0;
30901                        offset:   -2 -1;
30902                        to_y:     "sb_hbar";
30903                    }
30904                }
30905            }
30906            part { name: "elm.dragable.vbar";
30907                clip_to: "sb_vbar_clip";
30908                mouse_events: 0;
30909                dragable {
30910                    x: 0 0 0;
30911                    y: 1 1 0;
30912                    confine: "sb_vbar";
30913                }
30914                description { state: "default" 0.0;
30915                    fixed: 1 1;
30916                    min: 10 17;
30917                    max: 10 99999;
30918                    rel1 {
30919                        relative: 0.5  0.5;
30920                        offset:   0    0;
30921                        to: "sb_vbar";
30922                    }
30923                    rel2 {
30924                        relative: 0.5  0.5;
30925                        offset:   0    0;
30926                        to: "sb_vbar";
30927                    }
30928                    image {
30929                        normal: "bt_sm_base2.png";
30930                        border: 6 6 6 6;
30931                        middle: SOLID;
30932                    }
30933                }
30934            }
30935            part { name: "sb_vbar_over1";
30936                clip_to: "sb_vbar_clip";
30937                mouse_events: 0;
30938                description { state: "default" 0.0;
30939                    rel1.to: "elm.dragable.vbar";
30940                    rel2.relative: 1.0 0.5;
30941                    rel2.to: "elm.dragable.vbar";
30942                    image {
30943                        normal: "bt_sm_hilight.png";
30944                        border: 6 6 6 0;
30945                    }
30946                }
30947            }
30948            part { name: "sb_vbar_over2";
30949                clip_to: "sb_vbar_clip";
30950                mouse_events: 0;
30951                description { state: "default" 0.0;
30952                    rel1.to: "elm.dragable.vbar";
30953                    rel2.to: "elm.dragable.vbar";
30954                    image {
30955                        normal: "bt_sm_shine.png";
30956                        border: 6 6 6 0;
30957                    }
30958                }
30959            }
30960
30961            part { name: "sb_hbar_clip_master";
30962                type: RECT;
30963                mouse_events: 0;
30964                description { state: "default" 0.0;
30965                }
30966                description { state: "hidden" 0.0;
30967                    visible: 0;
30968                    color: 255 255 255 0;
30969                }
30970            }
30971            part { name: "sb_hbar_clip";
30972                clip_to: "sb_hbar_clip_master";
30973                type: RECT;
30974                mouse_events: 0;
30975                description { state: "default" 0.0;
30976                }
30977                description { state: "hidden" 0.0;
30978                    visible: 0;
30979                    color: 255 255 255 0;
30980                }
30981            }
30982            part { name: "sb_hbar";
30983                type: RECT;
30984                mouse_events: 0;
30985                description { state: "default" 0.0;
30986                    fixed: 1 1;
30987                    visible: 0;
30988                    min: 17 10;
30989                    align: 0.0 1.0;
30990                    rel1 {
30991                        relative: 0.0 1.0;
30992                        offset:   0 -2;
30993                    }
30994                    rel2 {
30995                        relative: 0.0 1.0;
30996                        offset:   -1 -2;
30997                        to_x:     "sb_vbar";
30998                    }
30999                }
31000            }
31001            part { name: "elm.dragable.hbar";
31002                clip_to: "sb_hbar_clip";
31003                mouse_events: 0;
31004                dragable {
31005                    x: 1 1 0;
31006                    y: 0 0 0;
31007                    confine: "sb_hbar";
31008                }
31009                description { state: "default" 0.0;
31010                    fixed: 1 1;
31011                    min: 17 10;
31012                    max: 99999 10;
31013                    rel1 {
31014                        relative: 0.5  0.5;
31015                        offset:   0    0;
31016                        to: "sb_hbar";
31017                    }
31018                    rel2 {
31019                        relative: 0.5  0.5;
31020                        offset:   0    0;
31021                        to: "sb_hbar";
31022                    }
31023                    image {
31024                        normal: "bt_sm_base2.png";
31025                        border: 4 4 4 4;
31026                        middle: SOLID;
31027                    }
31028                }
31029            }
31030            part { name: "sb_hbar_over1";
31031                clip_to: "sb_hbar_clip";
31032                mouse_events: 0;
31033                description { state: "default" 0.0;
31034                    rel1.to: "elm.dragable.hbar";
31035                    rel2.relative: 1.0 0.5;
31036                    rel2.to: "elm.dragable.hbar";
31037                    image {
31038                        normal: "bt_sm_hilight.png";
31039                        border: 4 4 4 0;
31040                    }
31041                }
31042            }
31043            part { name: "sb_hbar_over2";
31044                clip_to: "sb_hbar_clip";
31045                mouse_events: 0;
31046                description { state: "default" 0.0;
31047                    rel1.to: "elm.dragable.hbar";
31048                    rel2.to: "elm.dragable.hbar";
31049                    image {
31050                        normal: "bt_sm_shine.png";
31051                        border: 4 4 4 0;
31052                    }
31053                }
31054            }
31055        }
31056        programs {
31057            program { name: "load";
31058                signal: "load";
31059                source: "";
31060                script {
31061                    set_state(PART:"sb_hbar_clip", "hidden", 0.0);
31062                    set_state(PART:"sb_vbar_clip", "hidden", 0.0);
31063                    set_int(sbvis_h, 0);
31064                    set_int(sbvis_v, 0);
31065                    set_int(sbalways_v, 0);
31066                    set_int(sbalways_h, 0);
31067                    set_int(sbvis_timer, 0);
31068                }
31069            }
31070
31071            program { name: "vbar_show";
31072                signal: "elm,action,show,vbar";
31073                source: "elm";
31074                action:  STATE_SET "default" 0.0;
31075                target: "sb_vbar_clip_master";
31076            }
31077            program { name: "vbar_hide";
31078                signal: "elm,action,hide,vbar";
31079                source: "elm";
31080                action:  STATE_SET "hidden" 0.0;
31081                target: "sb_vbar_clip_master";
31082            }
31083            program { name: "vbar_show_always";
31084                signal: "elm,action,show_always,vbar";
31085                source: "elm";
31086                script {
31087                    new v;
31088                    v = get_int(sbvis_v);
31089                    v |= get_int(sbalways_v);
31090                    if (!v) {
31091                        set_int(sbalways_v, 1);
31092                        emit("do-show-vbar", "");
31093                        set_int(sbvis_v, 1);
31094                    }
31095                }
31096            }
31097            program { name: "vbar_show_notalways";
31098                signal: "elm,action,show_notalways,vbar";
31099                source: "elm";
31100                script {
31101                    new v;
31102                    v = get_int(sbalways_v);
31103                    if (v) {
31104                        set_int(sbalways_v, 0);
31105                        v = get_int(sbvis_v);
31106                        if (!v) {
31107                            emit("do-hide-vbar", "");
31108                            set_int(sbvis_v, 0);
31109                        }
31110                    }
31111                }
31112            }
31113            program { name: "sb_vbar_show";
31114                signal: "do-show-vbar";
31115                source: "";
31116                action:  STATE_SET "default" 0.0;
31117                transition: LINEAR 0.5;
31118                target: "sb_vbar_clip";
31119            }
31120            program { name: "sb_vbar_hide";
31121                signal: "do-hide-vbar";
31122                source: "";
31123                action:  STATE_SET "hidden" 0.0;
31124                transition: LINEAR 0.5;
31125                target: "sb_vbar_clip";
31126            }
31127
31128            program { name: "hbar_show";
31129                signal: "elm,action,show,hbar";
31130                source: "elm";
31131                action:  STATE_SET "default" 0.0;
31132                target: "sb_hbar_clip_master";
31133            }
31134            program { name: "hbar_hide";
31135                signal: "elm,action,hide,hbar";
31136                source: "elm";
31137                action:  STATE_SET "hidden" 0.0;
31138                target: "sb_hbar_clip_master";
31139            }
31140            program { name: "hbar_show_always";
31141                signal: "elm,action,show_always,hbar";
31142                source: "elm";
31143                script {
31144                    new v;
31145                    v = get_int(sbvis_h);
31146                    v |= get_int(sbalways_h);
31147                    if (!v) {
31148                        set_int(sbalways_h, 1);
31149                        emit("do-show-hbar", "");
31150                        set_int(sbvis_h, 1);
31151                    }
31152                }
31153            }
31154            program { name: "hbar_show_notalways";
31155                signal: "elm,action,show_notalways,hbar";
31156                source: "elm";
31157                script {
31158                    new v;
31159                    v = get_int(sbalways_h);
31160                    if (v) {
31161                        set_int(sbalways_h, 0);
31162                        v = get_int(sbvis_h);
31163                        if (!v) {
31164                            emit("do-hide-hbar", "");
31165                            set_int(sbvis_h, 0);
31166                        }
31167                    }
31168                }
31169            }
31170            program { name: "sb_hbar_show";
31171                signal: "do-show-hbar";
31172                source: "";
31173                action:  STATE_SET "default" 0.0;
31174                transition: LINEAR 0.5;
31175                target: "sb_hbar_clip";
31176            }
31177            program { name: "sb_hbar_hide";
31178                signal: "do-hide-hbar";
31179                source: "";
31180                action:  STATE_SET "hidden" 0.0;
31181                transition: LINEAR 0.5;
31182                target: "sb_hbar_clip";
31183            }
31184
31185            program { name: "scroll";
31186                signal: "elm,action,scroll";
31187                source: "elm";
31188                script {
31189                    new v;
31190                    v = get_int(sbvis_v);
31191                    v |= get_int(sbalways_v);
31192                    if (!v) {
31193                        emit("do-show-vbar", "");
31194                        set_int(sbvis_v, 1);
31195                    }
31196                    v = get_int(sbvis_h);
31197                    v |= get_int(sbalways_h);
31198                    if (!v) {
31199                        emit("do-show-hbar", "");
31200                        set_int(sbvis_h, 1);
31201                    }
31202                    v = get_int(sbvis_timer);
31203                    if (v > 0) cancel_timer(v);
31204                    v = timer(1.0, "timer0", 0);
31205                    set_int(sbvis_timer, v);
31206                }
31207            }
31208            program { name: "go1";
31209                signal: "elm,state,busy,start";
31210                source: "elm";
31211                action: STATE_SET "active" 0.0;
31212                transition: SINUSOIDAL 1.0;
31213                target:  "busy_clip";
31214            }
31215            program { name: "go2";
31216                signal: "elm,state,busy,start";
31217                source: "elm";
31218                action: STATE_SET "default" 0.0;
31219                transition: LINEAR 0.5;
31220                target: "busy";
31221                after:  "go2";
31222            }
31223            program { name: "stop1";
31224                signal: "elm,state,busy,stop";
31225                source: "elm";
31226                action: STATE_SET "default" 0.0;
31227                transition: SINUSOIDAL 1.0;
31228                target: "busy_clip";
31229                after: "stop2";
31230            }
31231          program { name: "stop2";
31232             action: ACTION_STOP;
31233             target: "go2";
31234          }
31235       }
31236    }
31237    group { name: "elm/map/marker/radio/default";
31238         data {
31239             item: size_w 24;
31240             item: size_h 24;
31241             item: size_max_w 58;
31242             item: size_max_h 58;
31243         }
31244         images {
31245                 image: "map_item.png" COMP;
31246         }
31247         parts {
31248             part { name: "whole";
31249                 description { state: "default" 0.0;
31250                 }
31251             }
31252             part { name: "base";
31253                 ignore_flags: ON_HOLD;
31254                 description { state: "default" 0.0;
31255                     image.normal: "map_item.png";
31256                 }
31257             }
31258             part { name: "elm.icon";
31259                 type: SWALLOW;
31260                 clip_to: "whole";
31261                 mouse_events:  0;
31262                 description { state: "default" 0.0;
31263                     rel1.relative: 0.27 0.27;
31264                     rel2.relative: 0.73 0.73;
31265                 }
31266             }
31267             part { name: "elm.text";
31268                 type:          TEXT;
31269                 effect:        SOFT_SHADOW;
31270                 mouse_events:  0;
31271                 scale: 1;
31272                 description { state: "default" 0.0;
31273                     align:    0.5 0.5;
31274                     color: 224 224 224 255;
31275                     color3: 0 0 0 64;
31276                     rel1.relative: 0.28 0.25;
31277                     rel2.relative: 0.75 0.75;
31278                     text {
31279                         font:     "Sans,Edje-Vera";
31280                         size:     10;
31281                         min:      0 0;
31282                         align:    0.5 0.5;
31283                     }
31284                 }
31285             }
31286        }
31287        programs {
31288             program { name: "open";
31289                 signal: "mouse,clicked,1";
31290                 source: "base";
31291                 action: SIGNAL_EMIT "open" "elm";
31292             }
31293             program { name: "bringin";
31294                 signal: "mouse,down,1,double";
31295                 source: "base";
31296                 action: SIGNAL_EMIT "bringin" "elm";
31297             }
31298        }
31299    }
31300    group { name: "elm/map/marker/radio2/default";
31301         data {
31302             item: size_w 24;
31303             item: size_h 24;
31304             item: size_max_w 58;
31305             item: size_max_h 58;
31306         }
31307         images {
31308                 image: "map_item_2.png" COMP;
31309         }
31310         parts {
31311             part { name: "base";
31312                 ignore_flags: ON_HOLD;
31313                 description { state: "default" 0.0;
31314                     image.normal: "map_item_2.png";
31315                 }
31316             }
31317             part { name: "elm.text";
31318                 type:          TEXT;
31319                 effect:        SOFT_SHADOW;
31320                 mouse_events:  0;
31321                 scale: 1;
31322                 description { state: "default" 0.0;
31323                     align:    0.5 0.5;
31324                     color: 224 224 224 255;
31325                     color3: 0 0 0 64;
31326                     rel1.relative: 0.28 0.25;
31327                     rel2.relative: 0.75 0.75;
31328                     text {
31329                         font:     "Sans,Edje-Vera";
31330                         size:     10;
31331                         min:      0 0;
31332                         align:    0.5 0.5;
31333                     }
31334                 }
31335             }
31336        }
31337        programs {
31338             program { name: "open";
31339                 signal: "mouse,clicked,1";
31340                 source: "base";
31341                 action: SIGNAL_EMIT "open" "elm";
31342             }
31343             program { name: "bringin";
31344                 signal: "mouse,down,1,double";
31345                 source: "base";
31346                 action: SIGNAL_EMIT "bringin" "elm";
31347             }
31348        }
31349    }
31350    group { name: "elm/map/marker/empty/default";
31351         data {
31352             item: size_w 22;
31353             item: size_h 22;
31354             item: size_max_w 64;
31355             item: size_max_h 64;
31356         }
31357         parts {
31358             part { name: "whole";
31359                 description { state: "default" 0.0;
31360                 }
31361             }
31362             part { name: "base";
31363                 ignore_flags: ON_HOLD;
31364                 description { state: "default" 0.0;
31365                 }
31366             }
31367             part { name: "elm.icon";
31368                 type: SWALLOW;
31369                 clip_to: "whole";
31370                 mouse_events:  0;
31371                 description { state: "default" 0.0;
31372                 }
31373             }
31374             part { name: "elm.text";
31375                 type:          TEXT;
31376                 effect:        SOFT_SHADOW;
31377                 mouse_events:  0;
31378                 scale: 1;
31379                 description { state: "default" 0.0;
31380                     align:    0.5 0.5;
31381                     color: 224 224 224 255;
31382                     color3: 0 0 0 64;
31383                     rel1.relative: 0.28 0.25;
31384                     rel2.relative: 0.75 0.75;
31385                     text {
31386                         font:     "Sans,Edje-Vera";
31387                         size:     10;
31388                         min:      0 0;
31389                         align:    0.5 0.5;
31390                     }
31391                 }
31392             }
31393        }
31394        programs {
31395             program { name: "open";
31396                 signal: "mouse,clicked,1";
31397                 source: "base";
31398                 action: SIGNAL_EMIT "open" "elm";
31399             }
31400             program { name: "bringin";
31401                 signal: "mouse,down,1,double";
31402                 source: "base";
31403                 action: SIGNAL_EMIT "bringin" "elm";
31404             }
31405        }
31406    }
31407    group { name: "elm/map/marker_bubble/default";
31408     images {
31409       image: "bubble.png" COMP;
31410       image: "bubble_shine.png" COMP;
31411     }
31412     data {
31413             item: size_w 400;
31414             item: size_h 100;
31415         }
31416     parts {
31417     part { name: "clipper";
31418         mouse_events:  1;
31419         description { state: "default" 0.0;
31420           color: 255 255 255 0;
31421         }
31422         description { state: "show" 0.0;
31423             inherit: "default" 0.0;
31424             color: 255 255 255 255;
31425         }
31426       }
31427      part { name: "base0";
31428         mouse_events:  0;
31429         clip_to: "clipper";
31430         description { state: "default" 0.0;
31431           image {
31432             normal: "bubble.png";
31433             border: 11 36 10 19;
31434           }
31435           image.middle: SOLID;
31436           fill.smooth: 0;
31437         }
31438         description { state: "rtl" 0.0;
31439            inherit: "default" 0.0;
31440            image {
31441               normal: "bubble_4.png";
31442               border: 11 36 18 9;
31443            }
31444         }
31445       }
31446       part { name: "elm.swallow.content";
31447         type: SWALLOW;
31448         clip_to: "clipper";
31449         description { state: "default" 0.0;
31450             align: 0.5 0.5;
31451           rel1 {
31452             offset: 9 8;
31453           }
31454           rel2 {
31455             offset: -10 -17;
31456           }
31457         }
31458       }
31459       part { name: "shine";
31460         mouse_events:  0;
31461         clip_to: "clipper";
31462         description { state:    "default" 0.0;
31463           rel1 {
31464             to: "base0";
31465           }
31466           rel2 {
31467             to: "base0";
31468             relative: 1.0 0.5;
31469           }
31470           image {
31471             normal: "bubble_shine.png";
31472             border: 5 5 5 0;
31473           }
31474           fill.smooth: 0;
31475         }
31476         }
31477     }
31478     programs {
31479         program { name: "show";
31480             signal: "show";
31481             action: STATE_SET "show" 0.0;
31482             target: "clipper";
31483             transition: ACCELERATE 0.5;
31484         }
31485     }
31486   }
31487
31488 /////////////////////////////////////////////////////////////////////////////
31489 // PANES
31490 /////////////////////////////////////////////////////////////////////////////
31491   group {
31492      name: "elm/panes/vertical/default";
31493       images {
31494          image: "bt_base1.png" COMP;
31495          image: "bt_base2.png" COMP;
31496          image: "bt_hilight.png" COMP;
31497          image: "bt_shine.png" COMP;
31498          image: "bt_glow.png" COMP;
31499          image: "bt_dis_base.png" COMP;
31500          image: "bt_dis_hilight.png" COMP;
31501          image: "arrow_right.png" COMP;
31502          image: "arrow_left.png" COMP;
31503       }
31504      parts
31505        {
31506           part
31507             {
31508                name: "whole";
31509                type: RECT;
31510                mouse_events: 0;
31511                description
31512                  {
31513                     state: "default" 0.0;
31514                     visible: 0;
31515                  }
31516             }
31517
31518          //2 contents
31519           part
31520             {
31521                name: "whole_left";
31522                type: RECT;
31523                mouse_events: 0;
31524                description
31525                  {
31526                     state: "default" 0.0;
31527                     rel2.to_x: "elm.bar";
31528                     rel2.relative: 0.0 1.0;
31529                     visible: 1;
31530                  }
31531             }
31532           part
31533             {
31534                name: "elm.swallow.left";
31535                type: SWALLOW;
31536                clip_to: "whole_left";
31537                description
31538                  {
31539                     state: "default" 0.0;
31540                     rel1.to: "whole_left";
31541                     rel2.to: "whole_left";
31542                  }
31543             }
31544
31545             part
31546             {
31547                name: "whole_right";
31548                type: RECT;
31549                mouse_events: 0;
31550                description
31551                  {
31552                     state: "default" 0.0;
31553                     rel1.to_x: "elm.bar";
31554                     rel1.relative: 1.0 0.0;
31555                     visible: 1;
31556                  }
31557             }
31558           part
31559             {
31560                name: "elm.swallow.right";
31561                type: SWALLOW;
31562                clip_to: "whole_right";
31563                description
31564                  {
31565                     state: "default" 0.0;
31566                     rel1.to: "whole_right";
31567                     rel2.to: "whole_right";
31568                  }
31569             }
31570          //BAR
31571          part { name: "elm.bar";
31572             mouse_events: 1;
31573             dragable {
31574                confine: "whole";
31575                x: 1 1 1;
31576                y: 0 0 0;
31577             }
31578             description { state: "default" 0.0;
31579                max: 15 9999;
31580                min: 15 100;
31581                rel1.relative: 0.0 0.5;
31582                rel2.relative: 1.0 0.5;
31583                image {
31584                   normal: "bt_base2.png";
31585                   border: 7 7 7 7;
31586                }
31587                image.middle: SOLID;
31588             }
31589             description { state: "clicked" 0.0;
31590                inherit: "default" 0.0;
31591                image.normal: "bt_base1.png";
31592                image.middle: SOLID;
31593             }
31594             description { state: "disabled" 0.0;
31595                inherit:  "default" 0.0;
31596                image {
31597                   normal: "bt_dis_base.png";
31598                   border: 4 4 4 4;
31599                }
31600             }
31601          }
31602          part {          name: "over1";
31603             mouse_events: 0;
31604             description { state: "default" 0.0;
31605             rel1.to: "elm.bar";
31606             rel2.to: "elm.bar";
31607                rel2.relative: 1.0 0.5;
31608                image {
31609                   normal: "bt_hilight.png";
31610                   border: 7 7 7 0;
31611                }
31612             }
31613             description { state: "disabled" 0.0;
31614                inherit:  "default" 0.0;
31615                image {
31616                   normal: "bt_dis_hilight.png";
31617                   border: 4 4 4 0;
31618                }
31619             }
31620          }
31621          part { name: "over2";
31622             mouse_events: 1;
31623             repeat_events: 1;
31624             ignore_flags: ON_HOLD;
31625             description { state: "default" 0.0;
31626             rel1.to: "elm.bar";
31627             rel2.to: "elm.bar";
31628                image {
31629                   normal: "bt_shine.png";
31630                   border: 7 7 7 7;
31631                }
31632             }
31633             description { state: "disabled" 0.0;
31634                inherit:  "default" 0.0;
31635                visible: 0;
31636             }
31637          }
31638          part { name: "over3";
31639             mouse_events: 1;
31640             repeat_events: 1;
31641             description { state: "default" 0.0;
31642                color: 255 255 255 0;
31643             rel1.to: "elm.bar";
31644             rel2.to: "elm.bar";
31645                image {
31646                   normal: "bt_glow.png";
31647                   border: 12 12 12 12;
31648                }
31649                fill.smooth : 0;
31650             }
31651             description { state: "clicked" 0.0;
31652                inherit:  "default" 0.0;
31653                visible: 1;
31654                color: 255 255 255 255;
31655             }
31656          }
31657
31658          //Arrow
31659          part {
31660             name: "arrow_right";
31661             repeat_events: 1;
31662             description { state: "default" 0.0;
31663                 min: 45 45;
31664                 max: 45 45;
31665                 color: 255 255 255 0;
31666
31667                 rel1.relative: 1.0 0.5;
31668                 rel1.to_x: "elm.bar";
31669                 rel1.offset: 45/2 -45/2;
31670
31671                 rel2.relative: 1.0 0.5;
31672                 rel2.to_x: "elm.bar";
31673                 rel2.offset: 45/2 45/2;
31674
31675                 image.normal: "arrow_right.png";
31676
31677                 fixed: 1 1;
31678             }
31679             description { state: "default" 0.1;
31680                 inherit: "default" 0.0;
31681                 image.normal: "arrow_left.png";
31682             }
31683             description { state: "anim_1" 0.0;
31684                 inherit: "default" 0.0;
31685                 color: 255 255 255 200;
31686                 rel1.offset: (45/2 + 10) -45/2;
31687                 rel2.offset: (45/2 +10) 45/2;
31688             }
31689             description { state: "anim_1" 0.1;
31690                 inherit: "default" 0.0;
31691                 image.normal: "arrow_left.png";
31692                 color: 255 255 255 200;
31693                 rel1.offset: (45/2 + 10) -45/2;
31694                 rel2.offset: (45/2 +10) 45/2;
31695             }
31696             description { state: "anim_2" 0.0;
31697                 inherit: "default" 0.0;
31698                 color: 255 255 255 0;
31699                 rel1.offset: (45/2 + 20) -45/2;
31700                 rel2.offset: (45/2 + 20) 45/2;
31701             }
31702             description { state: "anim_2" 0.1;
31703                 inherit: "default" 0.0;
31704                 image.normal: "arrow_left.png";
31705                 color: 255 255 255 0;
31706                 rel1.offset: (45/2 + 20) -45/2;
31707                 rel2.offset: (45/2 + 20) 45/2;
31708             }
31709          }
31710         part {
31711             name: "arrow_left";
31712             repeat_events: 1;
31713             description { state: "default" 0.0;
31714                 min: 45 45;
31715                 max: 45 45;
31716                 color: 255 255 255 0;
31717
31718                 rel1.relative: 0.0 0.5;
31719                 rel1.to_x: "elm.bar";
31720                 rel1.offset: -45/2 -45/2;
31721
31722                 rel2.relative: 0.0 0.5;
31723                 rel2.to_x: "elm.bar";
31724                 rel2.offset: -45/2 45/2;
31725
31726                 image.normal: "arrow_left.png";
31727
31728                 fixed: 1 1;
31729             }
31730             description { state: "default" 0.1;
31731                 inherit: "default" 0.0;
31732                 image.normal: "arrow_right.png";
31733             }
31734             description { state: "anim_1" 0.0;
31735                 inherit: "default" 0.0;
31736                 color: 255 255 255 200;
31737                 rel1.offset: (-45/2 - 10) -45/2;
31738                 rel2.offset: (-45/2 - 10) 45/2;
31739             }
31740             description { state: "anim_1" 0.1;
31741                 inherit: "default" 0.0;
31742                 image.normal: "arrow_right.png";
31743                 color: 255 255 255 200;
31744                 rel1.offset: (-45/2 - 10) -45/2;
31745                 rel2.offset: (-45/2 - 10) 45/2;
31746             }
31747             description { state: "anim_2" 0.0;
31748                 inherit: "default" 0.0;
31749                 color: 255 255 255 0;
31750                 rel1.offset: (-45/2 - 20) -45/2;
31751                 rel2.offset: (-45/2 - 20) 45/2;
31752             }
31753             description { state: "anim_2" 0.1;
31754                 inherit: "default" 0.0;
31755                 image.normal: "arrow_right.png";
31756                 color: 255 255 255 0;
31757                 rel1.offset: (-45/2 - 20) -45/2;
31758                 rel2.offset: (-45/2 - 20) 45/2;
31759             }
31760          }
31761
31762        }
31763         programs {
31764          program {
31765             name:   "button_click";
31766             signal: "mouse,down,1";
31767             source: "over2";
31768             action: SIGNAL_EMIT "elm,action,press" "";
31769             after: "button_click_anim";
31770             after: "arrow_anim_start";
31771          }
31772          program {
31773             name:   "button_click_anim";
31774             action: STATE_SET "clicked" 0.0;
31775             target: "elm.bar";
31776          }
31777          program {
31778             name:   "button_unclick";
31779             signal: "mouse,up,1";
31780             source: "over2";
31781             action: SIGNAL_EMIT "elm,action,unpress" "";
31782             after: "button_unclick_anim";
31783             after: "arrow_anim_stop";
31784          }
31785          program {
31786             name:   "button_unclick_anim";
31787             action: STATE_SET "default" 0.0;
31788             target: "elm.bar";
31789          }
31790          program {
31791             name:   "button_click2";
31792             signal: "mouse,down,1";
31793             source: "over3";
31794             action: STATE_SET "clicked" 0.0;
31795             target: "over3";
31796          }
31797          program {
31798             name:   "button_unclick2";
31799             signal: "mouse,up,1";
31800             source: "over3";
31801             action: STATE_SET "default" 0.0;
31802             transition: DECELERATE 0.5;
31803             target: "over3";
31804          }
31805          program {
31806             name:   "button_unclick3";
31807             signal: "mouse,up,1";
31808             source: "over2";
31809             action: SIGNAL_EMIT "elm,action,click" "";
31810          }
31811          program {
31812             name:   "button_down_double";
31813             signal: "mouse,down,1,double";
31814             source: "over3";
31815             action: SIGNAL_EMIT "elm,action,click,double" "";
31816          }
31817
31818          //arrows animation
31819          program {
31820             name: "arrow_anim_start";
31821             script {
31822                new st[31];
31823                new Float:vl;
31824                get_state(PART:"arrow_left", st, 30, vl);
31825                if (vl == 0.0) {
31826                   run_program(PROGRAM:"arrow_anim_start_ltr");
31827                }
31828                else {
31829                   run_program(PROGRAM:"arrow_anim_start_rtl");
31830                }
31831             }
31832          }
31833          program {
31834             name: "arrow_anim_stop";
31835             script {
31836                new st[31];
31837                new Float:vl;
31838                get_state(PART:"arrow_left", st, 30, vl);
31839                if (vl == 0.0) {
31840                   run_program(PROGRAM:"arrow_anim_stop_ltr");
31841                }
31842                else {
31843                   run_program(PROGRAM:"arrow_anim_stop_rtl");
31844                }
31845             }
31846          }
31847
31848          program {
31849             name: "arrow_anim_start_ltr";
31850             action: STATE_SET "anim_1" 0.0;
31851             target: "arrow_right";
31852             target: "arrow_left";
31853             transition: LINEAR 0.6;
31854             after: "arrow_anim_1_ltr";
31855          }
31856          program {
31857             name: "arrow_anim_1_ltr";
31858             action: STATE_SET "anim_2" 0.0;
31859             target: "arrow_right";
31860             target: "arrow_left";
31861             transition: LINEAR 0.6;
31862             after: "arrow_anim_2_ltr";
31863          }
31864          program {
31865             name: "arrow_anim_2_ltr";
31866             action: STATE_SET "default" 0.0;
31867             target: "arrow_right";
31868             target: "arrow_left";
31869             after: "arrow_anim_start_ltr";
31870          }
31871          program {
31872             name: "arrow_anim_stop_ltr";
31873             action: ACTION_STOP;
31874             target: "arrow_anim_start_ltr";
31875             target: "arrow_anim_1_ltr";
31876             target: "arrow_anim_2_ltr";
31877             after: "arrow_anim_stop_1_ltr";
31878          }
31879          program {
31880             name: "arrow_anim_stop_1_ltr";
31881             action: STATE_SET "default" 0.0;
31882             target: "arrow_right";
31883             target: "arrow_left";
31884             transition: DECELERATE 0.4;
31885         }
31886          program {
31887             name: "arrow_anim_start_rtl";
31888             action: STATE_SET "anim_1" 0.1;
31889             target: "arrow_right";
31890             target: "arrow_left";
31891             transition: LINEAR 0.6;
31892             after: "arrow_anim_1_rtl";
31893          }
31894          program {
31895             name: "arrow_anim_1_rtl";
31896             action: STATE_SET "anim_2" 0.1;
31897             target: "arrow_right";
31898             target: "arrow_left";
31899             transition: LINEAR 0.6;
31900             after: "arrow_anim_2_rtl";
31901          }
31902          program {
31903             name: "arrow_anim_2_rtl";
31904             action: STATE_SET "default" 0.1;
31905             target: "arrow_right";
31906             target: "arrow_left";
31907             after: "arrow_anim_start_rtl";
31908          }
31909          program {
31910             name: "arrow_anim_stop_rtl";
31911             action: ACTION_STOP;
31912             target: "arrow_anim_start_rtl";
31913             target: "arrow_anim_1_rtl";
31914             target: "arrow_anim_2_rtl";
31915             after: "arrow_anim_stop_1_rtl";
31916          }
31917          program {
31918             name: "arrow_anim_stop_1_rtl";
31919             action: STATE_SET "default" 0.1;
31920             target: "arrow_right";
31921             target: "arrow_left";
31922             transition: DECELERATE 0.4;
31923         }
31924          program { name: "to_rtl";
31925             signal: "edje,state,rtl";
31926             source: "edje";
31927             script {
31928                new st[31];
31929                new Float:vl;
31930                get_state(PART:"arrow_left", st, 30, vl);
31931                if (vl == 0.0) {
31932                   set_state(PART:"arrow_left", st, 0.1);
31933                }
31934                get_state(PART:"arrow_right", st, 30, vl);
31935                if (vl == 0.0) {
31936                   set_state(PART:"arrow_right", st, 0.1);
31937                }
31938             }
31939          }
31940          program { name: "to_ltr";
31941             signal: "edje,state,ltr";
31942             source: "edje";
31943             script {
31944                new st[31];
31945                new Float:vl;
31946                get_state(PART:"arrow_left", st, 30, vl);
31947                if (vl == 0.1) {
31948                   set_state(PART:"arrow_left", st, 0.0);
31949                }
31950                get_state(PART:"arrow_right", st, 30, vl);
31951                if (vl == 0.1) {
31952                   set_state(PART:"arrow_right", st, 0.0);
31953                }
31954             }
31955          }
31956       }
31957   }
31958
31959   group {
31960      name: "elm/panes/horizontal/default";
31961       images {
31962          image: "bt_base1.png" COMP;
31963          image: "bt_base2.png" COMP;
31964          image: "bt_hilight.png" COMP;
31965          image: "bt_shine.png" COMP;
31966          image: "bt_glow.png" COMP;
31967          image: "bt_dis_base.png" COMP;
31968          image: "bt_dis_hilight.png" COMP;
31969          image: "arrow_up.png" COMP;
31970          image: "arrow_down.png" COMP;
31971       }
31972      parts
31973        {
31974           part
31975             {
31976                name: "whole";
31977                type: RECT;
31978                mouse_events: 0;
31979                description
31980                  {
31981                     state: "default" 0.0;
31982                     visible: 0;
31983                  }
31984             }
31985
31986          //2 contents
31987           part
31988             {
31989                name: "whole_left";
31990                type: RECT;
31991                mouse_events: 0;
31992                description
31993                  {
31994                     state: "default" 0.0;
31995                     rel2.to_y: "elm.bar";
31996                     rel2.relative: 1.0 0.0;
31997                     visible: 1;
31998                  }
31999             }
32000           part
32001             {
32002                name: "elm.swallow.left";
32003                type: SWALLOW;
32004                clip_to: "whole_left";
32005                description
32006                  {
32007                     state: "default" 0.0;
32008                     rel1.to: "whole_left";
32009                     rel2.to: "whole_left";
32010                  }
32011             }
32012
32013             part
32014             {
32015                name: "whole_right";
32016                type: RECT;
32017                mouse_events: 0;
32018                description
32019                  {
32020                     state: "default" 0.0;
32021                     rel1.to_y: "elm.bar";
32022                     rel1.relative: 0.0 1.0;
32023                     visible: 1;
32024                  }
32025             }
32026           part
32027             {
32028                name: "elm.swallow.right";
32029                type: SWALLOW;
32030                clip_to: "whole_right";
32031                description
32032                  {
32033                     state: "default" 0.0;
32034                     rel1.to: "whole_right";
32035                     rel2.to: "whole_right";
32036                  }
32037             }
32038          //BAR
32039          part { name: "elm.bar";
32040             mouse_events: 1;
32041             dragable {
32042                confine: "whole";
32043                x: 0 0 0;
32044                y: 1 1 1;
32045             }
32046             description { state: "default" 0.0;
32047                max: 999 15;
32048                min: 100 15;
32049                rel1.relative: 0.5 0.0;
32050                rel2.relative: 0.5 1.0;
32051                image {
32052                   normal: "bt_base2.png";
32053                   border: 7 7 7 7;
32054                }
32055                image.middle: SOLID;
32056             }
32057             description { state: "clicked" 0.0;
32058                inherit: "default" 0.0;
32059                image.normal: "bt_base1.png";
32060                image.middle: SOLID;
32061             }
32062             description { state: "disabled" 0.0;
32063                inherit:  "default" 0.0;
32064                image {
32065                   normal: "bt_dis_base.png";
32066                   border: 4 4 4 4;
32067                }
32068             }
32069          }
32070          part {          name: "over1";
32071             mouse_events: 0;
32072             description { state: "default" 0.0;
32073             rel1.to: "elm.bar";
32074             rel2.to: "elm.bar";
32075                rel2.relative: 1.0 0.5;
32076                image {
32077                   normal: "bt_hilight.png";
32078                   border: 7 7 7 0;
32079                }
32080             }
32081             description { state: "disabled" 0.0;
32082                inherit:  "default" 0.0;
32083                image {
32084                   normal: "bt_dis_hilight.png";
32085                   border: 4 4 4 0;
32086                }
32087             }
32088          }
32089          part { name: "over2";
32090             mouse_events: 1;
32091             repeat_events: 1;
32092             ignore_flags: ON_HOLD;
32093             description { state: "default" 0.0;
32094             rel1.to: "elm.bar";
32095             rel2.to: "elm.bar";
32096                image {
32097                   normal: "bt_shine.png";
32098                   border: 7 7 7 7;
32099                }
32100             }
32101             description { state: "disabled" 0.0;
32102                inherit:  "default" 0.0;
32103                visible: 0;
32104             }
32105          }
32106          part { name: "over3";
32107             mouse_events: 1;
32108             repeat_events: 1;
32109             description { state: "default" 0.0;
32110                color: 255 255 255 0;
32111             rel1.to: "elm.bar";
32112             rel2.to: "elm.bar";
32113                image {
32114                   normal: "bt_glow.png";
32115                   border: 12 12 12 12;
32116                }
32117                fill.smooth : 0;
32118             }
32119             description { state: "clicked" 0.0;
32120                inherit:  "default" 0.0;
32121                visible: 1;
32122                color: 255 255 255 255;
32123             }
32124          }
32125
32126          //Arrow
32127          part {
32128             name: "arrow_right";
32129             repeat_events: 1;
32130             description { state: "default" 0.0;
32131                 min: 45 45;
32132                 max: 45 45;
32133                 color: 255 255 255 0;
32134
32135                 rel1.relative: 0.5 1.0;
32136                 rel1.to_y: "elm.bar";
32137                 rel1.offset: -45/2 45/2;
32138
32139                 rel2.relative: 0.5 1.0;
32140                 rel2.to_y: "elm.bar";
32141                 rel2.offset: 45/2 45/2;
32142
32143                 image.normal: "arrow_down.png";
32144
32145                 fixed: 1 1;
32146             }
32147             description { state: "anim_1" 0.0;
32148                 inherit: "default" 0.0;
32149                 color: 255 255 255 200;
32150                 rel1.offset: -45/2 (45/2 +10);
32151                 rel2.offset: 45/2 (45/2 +10);
32152             }
32153             description { state: "anim_2" 0.0;
32154                 inherit: "default" 0.0;
32155                 color: 255 255 255 0;
32156                 rel1.offset: -45/2 (45/2 + 20);
32157                 rel2.offset: 45/2 (45/2 + 20);
32158             }
32159          }
32160         part {
32161             name: "arrow_left";
32162             repeat_events: 1;
32163             description { state: "default" 0.0;
32164                 min: 45 45;
32165                 max: 45 45;
32166                 color: 255 255 255 0;
32167
32168                 rel1.relative: 0.5 0.0;
32169                 rel1.to_y: "elm.bar";
32170                 rel1.offset: -45/2 -45/2;
32171
32172                 rel2.relative: 0.5 0.0;
32173                 rel2.to_y: "elm.bar";
32174                 rel2.offset: 45/2 -45/2;
32175
32176                 image.normal: "arrow_up.png";
32177
32178                 fixed: 1 1;
32179             }
32180             description { state: "anim_1" 0.0;
32181                 inherit: "default" 0.0;
32182                 color: 255 255 255 200;
32183                 rel1.offset: -45/2 (-45/2 - 10);
32184                 rel2.offset: 45/2 (-45/2 - 10);
32185             }
32186             description { state: "anim_2" 0.0;
32187                 inherit: "default" 0.0;
32188                 color: 255 255 255 0;
32189                 rel1.offset: -45/2 (-45/2 - 20);
32190                 rel2.offset: 45/2 (-45/2 - 20);
32191             }
32192          }
32193
32194        }
32195         programs {
32196          program {
32197             name:   "button_click";
32198             signal: "mouse,down,1";
32199             source: "over2";
32200             action: SIGNAL_EMIT "elm,action,press" "";
32201             after: "button_click_anim";
32202             after: "arrow_anim_start";
32203          }
32204          program {
32205             name:   "button_click_anim";
32206             action: STATE_SET "clicked" 0.0;
32207             target: "elm.bar";
32208          }
32209          program {
32210             name:   "button_unclick";
32211             signal: "mouse,up,1";
32212             source: "over2";
32213             action: SIGNAL_EMIT "elm,action,unpress" "";
32214             after: "button_unclick_anim";
32215             after: "arrow_anim_stop";
32216          }
32217          program {
32218             name:   "button_unclick_anim";
32219             action: STATE_SET "default" 0.0;
32220             target: "elm.bar";
32221          }
32222          program {
32223             name:   "button_click2";
32224             signal: "mouse,down,1";
32225             source: "over3";
32226             action: STATE_SET "clicked" 0.0;
32227             target: "over3";
32228          }
32229          program {
32230             name:   "button_unclick2";
32231             signal: "mouse,up,1";
32232             source: "over3";
32233             action: STATE_SET "default" 0.0;
32234             transition: DECELERATE 0.5;
32235             target: "over3";
32236          }
32237          program {
32238             name:   "button_unclick3";
32239             signal: "mouse,up,1";
32240             source: "over2";
32241             action: SIGNAL_EMIT "elm,action,click" "";
32242          }
32243          program {
32244             name:   "button_down_double";
32245             signal: "mouse,down,1,double";
32246             source: "over3";
32247             action: SIGNAL_EMIT "elm,action,click,double" "";
32248          }
32249
32250          //arrows animation
32251          program {
32252             name: "arrow_anim_start";
32253             action: STATE_SET "anim_1" 0.0;
32254             target: "arrow_right";
32255             target: "arrow_left";
32256             transition: LINEAR 0.6;
32257             after: "arrow_anim_1";
32258          }
32259          program {
32260             name: "arrow_anim_1";
32261             action: STATE_SET "anim_2" 0.0;
32262             target: "arrow_right";
32263             target: "arrow_left";
32264             transition: LINEAR 0.6;
32265             after: "arrow_anim_2";
32266          }
32267          program {
32268             name: "arrow_anim_2";
32269             action: STATE_SET "default" 0.0;
32270             target: "arrow_right";
32271             target: "arrow_left";
32272             after: "arrow_anim_start";
32273          }
32274          program {
32275             name: "arrow_anim_stop";
32276             action: ACTION_STOP;
32277             target: "arrow_anim_start";
32278             target: "arrow_anim_1";
32279             target: "arrow_anim_2";
32280             after: "arrow_anim_stop_1";
32281          }
32282          program {
32283             name: "arrow_anim_stop_1";
32284             action: STATE_SET "default" 0.0;
32285             target: "arrow_right";
32286             target: "arrow_left";
32287             transition: DECELERATE 0.4;
32288         }
32289       }
32290   }
32291
32292
32293
32294 /////////////////////////////////////////////////////////////////////////////
32295 // PANEL
32296 /////////////////////////////////////////////////////////////////////////////
32297   group {
32298      name: "elm/panel/base/left";
32299      alias: "elm/panel/base/top";
32300      images
32301        {
32302           image: "bt_base1.png" COMP;
32303           image: "bt_hilight.png" COMP;
32304           image: "bt_shine.png" COMP;
32305           image: "bt_glow.png" COMP;
32306           image: "bt_dis_base.png" COMP;
32307           image: "icon_arrow_left.png" COMP;
32308           image: "icon_arrow_right.png" COMP;
32309        }
32310        data {
32311           item: "focus_highlight" "on";
32312        }
32313      parts
32314        {
32315             part { name: "focus_highlight";
32316                description { state: "default" 0.0;
32317                   visible: 0;
32318                   color: 255 255 255 0;
32319                   rel1 {
32320                      to: "btn";
32321                      offset: -8 -8;
32322                   }
32323                   rel2 {
32324                      to: "btn";
32325                      offset: 7 7;
32326                   }
32327                   image {
32328                      normal: "frame_2.png";
32329                      border: 5 5 32 26;
32330                      middle: 0;
32331                   }
32332                }
32333                description { state: "enabled" 0.0;
32334                   inherit: "default" 0.0;
32335                   visible: 1;
32336                   color: 255 255 255 255;
32337                }
32338             }
32339           part
32340             {
32341                name: "bg";
32342                type: RECT;
32343                mouse_events: 0;
32344                description
32345                  {
32346                     state: "default" 0.0;
32347                     color: 255 255 255 0;
32348                     rel1.relative: 0.0 0.0;
32349                     rel1.offset: 0 0;
32350                     rel2.relative: 1.0 1.0;
32351                     rel2.offset: -1 -1;
32352                  }
32353                description
32354                  {
32355                     state: "hidden" 0.0;
32356                     inherit: "default" 0.0;
32357                     rel1.relative: -1.0 0.0;
32358                     rel1.offset: 21 0;
32359                     rel2.relative: 0.0 1.0;
32360                     rel2.offset: 20 -1;
32361                  }
32362             }
32363           part
32364             {
32365                name: "base";
32366                type: IMAGE;
32367                mouse_events: 0;
32368                description
32369                  {
32370                     state: "default" 0.0;
32371                     rel1.to: "bg";
32372                     rel2.to: "bg";
32373                     rel2.offset: -20 -1;
32374                     image
32375                       {
32376                          normal: "bt_dis_base.png";
32377                          border: 4 4 4 4;
32378                       }
32379                  }
32380             }
32381           part
32382             {
32383                name: "clipper";
32384                type: RECT;
32385                mouse_events: 0;
32386                description
32387                  {
32388                     state: "default" 0.0;
32389                     rel1
32390                       {
32391                          offset: 4 4;
32392                          to: "base";
32393                       }
32394                     rel2
32395                       {
32396                          offset: -5 -5;
32397                          to: "base";
32398                       }
32399                  }
32400             }
32401           part
32402             {
32403                name: "elm.swallow.content";
32404                type: SWALLOW;
32405                clip_to: "clipper";
32406                description
32407                  {
32408                     state: "default" 0.0;
32409                     rel1.to: "clipper";
32410                     rel2.to: "clipper";
32411                  }
32412             }
32413           part
32414             {
32415                name: "btn";
32416                type: IMAGE;
32417                mouse_events: 1;
32418                description
32419                  {
32420                     state: "default" 0.0;
32421                     max: 32 48;
32422                     fixed: 1 1;
32423                     align: 0.0 0.5;
32424                     rel1
32425                       {
32426                          relative: 1.0 0.0;
32427                          offset: -3 0;
32428                          to_x: "base";
32429                       }
32430                     rel2.to_x: "bg";
32431                     image
32432                       {
32433                          normal: "bt_base1.png";
32434                          border: 0 5 4 12;
32435                       }
32436                     fill.smooth: 0;
32437                  }
32438                description
32439                  {
32440                     state: "clicked" 0.0;
32441                     inherit: "default" 0.0;
32442                  }
32443             }
32444           part
32445             {
32446                name: "btn_over";
32447                type: IMAGE;
32448                mouse_events: 0;
32449                description
32450                  {
32451                     state: "default" 0.0;
32452                     rel1.to: "btn";
32453                     rel2
32454                       {
32455                          relative: 1.0 0.5;
32456                          to: "btn";
32457                       }
32458                     image
32459                       {
32460                          normal: "bt_hilight.png";
32461                          border: 0 7 7 0;
32462                       }
32463                  }
32464             }
32465           part
32466             {
32467                name: "btn_over2";
32468                type: IMAGE;
32469                mouse_events: 1;
32470                repeat_events: 1;
32471                ignore_flags: ON_HOLD;
32472                description
32473                  {
32474                     state: "default" 0.0;
32475                     rel1.to: "btn";
32476                     rel2.to: "btn";
32477                     image
32478                       {
32479                          normal: "bt_shine.png";
32480                          border: 0 7 7 7;
32481                     }
32482                  }
32483             }
32484           part
32485             {
32486                name: "btn_over3";
32487                type: IMAGE;
32488                mouse_events: 1;
32489                repeat_events: 1;
32490                description
32491                  {
32492                     state: "default" 0.0;
32493                     color: 255 255 255 0;
32494                     rel1.to: "btn";
32495                     rel2.to: "btn";
32496                     image
32497                       {
32498                        normal: "bt_glow.png";
32499                        border: 12 12 12 12;
32500                     }
32501                   fill.smooth: 0;
32502                }
32503              description
32504                {
32505                   state: "clicked" 0.0;
32506                   inherit: "default" 0.0;
32507                   visible: 1;
32508                   color: 255 255 255 255;
32509                }
32510             }
32511           part
32512             {
32513                name: "btn_icon";
32514                type: IMAGE;
32515                repeat_events: 1;
32516                description
32517                  {
32518                     state: "default" 0.0;
32519                     rel1.to: "btn";
32520                     rel2.to: "btn";
32521                     align: 0.5 0.5;
32522                     min: 16 16;
32523                     max: 16 16;
32524                     image.normal: "icon_arrow_left.png";
32525                  }
32526                description
32527                  {
32528                     state: "hidden" 0.0;
32529                     inherit: "default" 0.0;
32530                     image.normal: "icon_arrow_right.png";
32531                  }
32532             }
32533        }
32534      programs
32535        {
32536           program
32537             {
32538                name: "show";
32539                signal: "elm,action,show";
32540                source: "elm";
32541                action: STATE_SET "default" 0.0;
32542                target: "bg";
32543                target: "btn_icon";
32544                transition: LINEAR 0.5;
32545             }
32546           program
32547             {
32548                name: "hide";
32549                signal: "elm,action,hide";
32550                source: "elm";
32551                action: STATE_SET "hidden" 0.0;
32552                target: "bg";
32553                target: "btn_icon";
32554                transition: LINEAR 0.5;
32555             }
32556           program
32557             {
32558                name: "btn_click";
32559                signal: "mouse,down,1";
32560                source: "btn_over2";
32561                action: STATE_SET "clicked" 0.0;
32562                target: "btn";
32563             }
32564           program
32565             {
32566                name: "btn_unclick";
32567                signal: "mouse,up,1";
32568                source: "btn_over2";
32569                action: STATE_SET "default" 0.0;
32570                target: "btn";
32571             }
32572           program
32573             {
32574                name: "btn_click2";
32575                signal: "mouse,down,1";
32576                source: "btn_over3";
32577                action: STATE_SET "clicked" 0.0;
32578                target: "btn_over3";
32579             }
32580           program
32581             {
32582                name: "btn_unclick2";
32583                signal: "mouse,up,1";
32584                source: "btn_over3";
32585                action: STATE_SET "default" 0.0;
32586                transition: DECELERATE 0.5;
32587                target: "btn_over3";
32588             }
32589           program
32590             {
32591                name: "btn_unclick3";
32592                signal: "mouse,clicked,1";
32593                source: "btn_over2";
32594                action: SIGNAL_EMIT "elm,action,panel,toggle" "";
32595             }
32596          program { name: "highlight_show";
32597             signal: "elm,action,focus_highlight,show";
32598             source: "elm";
32599             action: STATE_SET "enabled" 0.0;
32600             transition: ACCELERATE 0.3;
32601             target: "focus_highlight";
32602          }
32603          program { name: "highlight_hide";
32604             signal: "elm,action,focus_highlight,hide";
32605             source: "elm";
32606             action: STATE_SET "default" 0.0;
32607             transition: DECELERATE 0.3;
32608             target: "focus_highlight";
32609          }
32610        }
32611   }
32612
32613   group {
32614      name: "elm/panel/base/right";
32615      alias: "elm/panel/base/bottom";
32616      images
32617        {
32618           image: "bt_base1.png" COMP;
32619           image: "bt_hilight.png" COMP;
32620           image: "bt_shine.png" COMP;
32621           image: "bt_glow.png" COMP;
32622           image: "bt_dis_base.png" COMP;
32623           image: "icon_arrow_left.png" COMP;
32624           image: "icon_arrow_right.png" COMP;
32625        }
32626      parts
32627        {
32628             part { name: "focus_highlight";
32629                description { state: "default" 0.0;
32630                   visible: 0;
32631                   color: 255 255 255 0;
32632                   rel1 {
32633                      to: "btn";
32634                      offset: -8 -8;
32635                   }
32636                   rel2 {
32637                      to: "btn";
32638                      offset: 7 7;
32639                   }
32640                   image {
32641                      normal: "frame_2.png";
32642                      border: 5 5 32 26;
32643                      middle: 0;
32644                   }
32645                }
32646                description { state: "enabled" 0.0;
32647                   inherit: "default" 0.0;
32648                   visible: 1;
32649                   color: 255 255 255 255;
32650                }
32651             }
32652           part
32653             {
32654                name: "bg";
32655                type: RECT;
32656                mouse_events: 0;
32657                description
32658                  {
32659                     state: "default" 0.0;
32660                     color: 255 255 255 0;
32661                     rel1.relative: 0.0 0.0;
32662                     rel1.offset: 0 0;
32663                     rel2.relative: 1.0 1.0;
32664                     rel2.offset: -1 -1;
32665                  }
32666                description
32667                  {
32668                     state: "hidden" 0.0;
32669                     inherit: "default" 0.0;
32670                     rel1.relative: 1.0 0.0;
32671                     rel1.offset: -22 0;
32672                     rel2.relative: 2.0 1.0;
32673                     rel2.offset: -23 -1;
32674                  }
32675             }
32676           part
32677             {
32678                name: "base";
32679                type: IMAGE;
32680                mouse_events: 0;
32681                description
32682                  {
32683                     state: "default" 0.0;
32684                     rel1.to: "bg";
32685                     rel1.offset: 20 0;
32686                     rel2.to: "bg";
32687                     image
32688                       {
32689                          normal: "bt_dis_base.png";
32690                          border: 4 4 4 4;
32691                       }
32692                  }
32693             }
32694           part
32695             {
32696                name: "clipper";
32697                type: RECT;
32698                mouse_events: 0;
32699                description
32700                  {
32701                     state: "default" 0.0;
32702                     rel1
32703                       {
32704                          offset: 4 4;
32705                          to: "base";
32706                       }
32707                     rel2
32708                       {
32709                          offset: -5 -5;
32710                          to: "base";
32711                       }
32712                  }
32713             }
32714           part
32715             {
32716                name: "elm.swallow.content";
32717                type: SWALLOW;
32718                clip_to: "clipper";
32719                description
32720                  {
32721                     state: "default" 0.0;
32722                     rel1.to: "clipper";
32723                     rel2.to: "clipper";
32724                  }
32725             }
32726           part
32727             {
32728                name: "btn";
32729                type: IMAGE;
32730                mouse_events: 1;
32731                description
32732                  {
32733                     state: "default" 0.0;
32734                     max: 32 48;
32735                     fixed: 1 1;
32736                     align: 1 0.5;
32737                     rel1
32738                       {
32739                          to_x: "bg";
32740                       }
32741                     rel2
32742                       {
32743                          offset: 2 0;
32744                          relative: 0.0 1;
32745                          to_x: "base";
32746                       }
32747                     image
32748                       {
32749                          normal: "bt_base1.png";
32750                          border: 5 0 4 12;
32751                       }
32752                     fill.smooth: 0;
32753                  }
32754                description
32755                  {
32756                     state: "clicked" 0.0;
32757                     inherit: "default" 0.0;
32758                  }
32759             }
32760           part
32761             {
32762                name: "btn_over";
32763                type: IMAGE;
32764                mouse_events: 0;
32765                description
32766                  {
32767                     state: "default" 0.0;
32768                     rel1.to: "btn";
32769                     rel2
32770                       {
32771                          relative: 1.0 0.5;
32772                          to: "btn";
32773                       }
32774                     image
32775                       {
32776                          normal: "bt_hilight.png";
32777                          border: 7 0 7 0;
32778                       }
32779                  }
32780             }
32781           part
32782             {
32783                name: "btn_over2";
32784                type: IMAGE;
32785                mouse_events: 1;
32786                repeat_events: 1;
32787                ignore_flags: ON_HOLD;
32788                description
32789                  {
32790                     state: "default" 0.0;
32791                     rel1.to: "btn";
32792                     rel2.to: "btn";
32793                     image
32794                       {
32795                          normal: "bt_shine.png";
32796                          border: 7 0 7 7;
32797                     }
32798                  }
32799             }
32800           part
32801             {
32802                name: "btn_over3";
32803                type: IMAGE;
32804                mouse_events: 1;
32805                repeat_events: 1;
32806                description
32807                  {
32808                     state: "default" 0.0;
32809                     color: 255 255 255 0;
32810                     rel1.to: "btn";
32811                     rel2.to: "btn";
32812                     image
32813                       {
32814                        normal: "bt_glow.png";
32815                        border: 12 12 12 12;
32816                     }
32817                   fill.smooth: 0;
32818                }
32819              description
32820                {
32821                   state: "clicked" 0.0;
32822                   inherit: "default" 0.0;
32823                   visible: 1;
32824                   color: 255 255 255 255;
32825                }
32826             }
32827           part
32828             {
32829                name: "btn_icon";
32830                type: IMAGE;
32831                repeat_events: 1;
32832                description
32833                  {
32834                     state: "default" 0.0;
32835                     rel1.to: "btn";
32836                     rel2.to: "btn";
32837                     align: 0.5 0.5;
32838                     min: 16 16;
32839                     max: 16 16;
32840                     image.normal: "icon_arrow_right.png";
32841                  }
32842                description
32843                  {
32844                     state: "hidden" 0.0;
32845                     inherit: "default" 0.0;
32846                     image.normal: "icon_arrow_left.png";
32847                  }
32848             }
32849        }
32850      programs
32851        {
32852           program
32853             {
32854                name: "show";
32855                signal: "elm,action,show";
32856                source: "elm";
32857                action: STATE_SET "default" 0.0;
32858                target: "bg";
32859                target: "btn_icon";
32860                transition: LINEAR 0.5;
32861             }
32862           program
32863             {
32864                name: "hide";
32865                signal: "elm,action,hide";
32866                source: "elm";
32867                action: STATE_SET "hidden" 0.0;
32868                target: "bg";
32869                target: "btn_icon";
32870                transition: LINEAR 0.5;
32871             }
32872           program
32873             {
32874                name: "btn_click";
32875                signal: "mouse,down,1";
32876                source: "btn_over2";
32877                action: STATE_SET "clicked" 0.0;
32878                target: "btn";
32879             }
32880           program
32881             {
32882                name: "btn_unclick";
32883                signal: "mouse,up,1";
32884                source: "btn_over2";
32885                action: STATE_SET "default" 0.0;
32886                target: "btn";
32887             }
32888           program
32889             {
32890                name: "btn_click2";
32891                signal: "mouse,down,1";
32892                source: "btn_over3";
32893                action: STATE_SET "clicked" 0.0;
32894                target: "btn_over3";
32895             }
32896           program
32897             {
32898                name: "btn_unclick2";
32899                signal: "mouse,up,1";
32900                source: "btn_over3";
32901                action: STATE_SET "default" 0.0;
32902                transition: DECELERATE 0.5;
32903                target: "btn_over3";
32904             }
32905           program
32906             {
32907                name: "btn_unclick3";
32908                signal: "mouse,up,1";
32909                source: "btn_over2";
32910                action: SIGNAL_EMIT "elm,action,panel,toggle" "";
32911             }
32912          program { name: "highlight_show";
32913             signal: "elm,action,focus";
32914             source: "elm";
32915             action: STATE_SET "enabled" 0.0;
32916             transition: ACCELERATE 0.3;
32917             target: "focus_highlight";
32918          }
32919          program { name: "highlight_hide";
32920             signal: "elm,action,unfocus";
32921             source: "elm";
32922             action: STATE_SET "default" 0.0;
32923             transition: DECELERATE 0.3;
32924             target: "focus_highlight";
32925          }
32926        }
32927   }
32928
32929 ///////////////////////////////////////////////////////////////////////////////
32930   group { name: "elm/conformant/base/default";
32931      parts {
32932         part { name: "elm.swallow.shelf";
32933            type: SWALLOW;
32934            description { state: "default" 0.0;
32935               fixed: 0 1;
32936               align: 0.0 0.0;
32937               rel2.relative: 1.0 0.0;
32938            }
32939         }
32940         part { name: "elm.swallow.content";
32941            type: SWALLOW;
32942            description { state: "default" 0.0;
32943               fixed: 0 1;
32944               align: 0.5 0.5;
32945               rel1.relative: 0.0 1.0;
32946               rel1.to_y: "elm.swallow.shelf";
32947               rel2.relative: 1.0 0.0;
32948               rel2.to_y: "elm.swallow.virtualkeypad";
32949            }
32950         }
32951         part { name: "elm.swallow.virtualkeypad";
32952            type: SWALLOW;
32953            description { state: "default" 0.0;
32954               fixed: 0 1;
32955               align: 0.0 1.0;
32956               rel2.relative: 1.0 0.0;
32957               rel2.to_y: "elm.swallow.panel";
32958            }
32959         }
32960         part { name: "elm.swallow.panel";
32961            type: SWALLOW;
32962            description { state: "default" 0.0;
32963               fixed: 0 1;
32964               align: 0.0 1.0;
32965               rel1.relative: 0.0 1.0;
32966            }
32967         }
32968      }
32969   }
32970
32971 /////////////////////////////////////////////////////////////////////////////
32972 // CALENDAR
32973 /////////////////////////////////////////////////////////////////////////////
32974 #define CH(_pos) \
32975          part { name: "ch_"#_pos".base"; \
32976             type: RECT; \
32977             description { state: "default" 0.0; \
32978                rel1 { \
32979                   relative: (_pos % 7 * 7 / 8 / 6) 0; \
32980                   to: "header"; \
32981                } \
32982                rel2 { \
32983                   relative: (_pos % 7 * 7 / 8 / 6 + 1 / 8) 1; \
32984                   to: "header"; \
32985                } \
32986                color: 0 0 0 0; \
32987                visible: 0; \
32988             } \
32989          } \
32990          part { name: "ch_"#_pos".text"; \
32991             type: TEXT; \
32992             effect: SOFT_SHADOW; \
32993             mouse_events: 0; \
32994             scale: 1; \
32995             clip_to: "ch_"#_pos".clipper"; \
32996             description { \
32997                state: "default" 0.0; \
32998                rel1.to: "ch_"#_pos".base"; \
32999                rel2.to: "ch_"#_pos".base"; \
33000                color: 0 0 0 255; \
33001                color3: 0 0 0 0; \
33002                text { \
33003                   font: "Sans"; \
33004                   size: 10; \
33005                   min: 1 1; \
33006                   align: 0.5 0.5; \
33007                } \
33008             } \
33009          } \
33010          part { name: "ch_"#_pos".clipper"; \
33011             type: RECT; \
33012             description { state: "default" 0.0; \
33013                rel1.to: "ch_"#_pos".base"; \
33014                rel2.to: "ch_"#_pos".base"; \
33015             } \
33016          }
33017
33018 #define CIT(_pos) \
33019          part { name: "cit_"#_pos".rect"; \
33020             type: RECT; \
33021             description { state: "default" 0.0; \
33022                rel1 { \
33023                   relative: (_pos % 7 * 7 / 8 / 6) \
33024                             (_pos / 8 / 5 - _pos % 7 / 8 / 5); \
33025                   to: "base"; \
33026                } \
33027                rel2 { \
33028                   relative: (_pos % 7 * 7 / 8 / 6 + 1 / 8) \
33029                             (_pos / 8 / 5 - _pos % 7 / 8 / 5 + 1 / 8); \
33030                   to: "base"; \
33031                } \
33032                color: 0 0 0 0; \
33033                visible: 0; \
33034             } \
33035          } \
33036          part { \
33037             name: "cit_"#_pos".event"; \
33038             type: RECT; \
33039             repeat_events: 1; \
33040             description { \
33041                rel1.to: "cit_"#_pos".rect"; \
33042                rel2.to: "cit_"#_pos".rect"; \
33043                state: "default" 0.0; \
33044                color: 0 0 0 0; \
33045             } \
33046          } \
33047          part { name: "cit_"#_pos".shelf"; \
33048             type: RECT; \
33049             mouse_events: 0; \
33050             description { state: "default" 0.0; \
33051                rel1 { \
33052                   to: "cit_"#_pos".bg"; \
33053                   offset: -1 -1; \
33054                } \
33055                rel2 { \
33056                   to: "cit_"#_pos".bg"; \
33057                } \
33058                color: 200 200 200 255; \
33059             } \
33060          } \
33061          part { name: "cit_"#_pos".hd"; \
33062             type: RECT; \
33063             mouse_events: 0; \
33064             description { state: "default" 0.0; \
33065                rel1 { \
33066                   to: "cit_"#_pos".bg"; \
33067                   offset: -1 -1; \
33068                } \
33069                rel2 { \
33070                   to: "cit_"#_pos".bg"; \
33071                } \
33072                visible: 0; \
33073                color: 160 0 0 255; \
33074             } \
33075             description { state: "visible" 0.0; \
33076                inherit: "default" 0.0; \
33077                visible: 1; \
33078             } \
33079          } \
33080          part { \
33081             name: "cit_"#_pos".base_sh"; \
33082             mouse_events: 0; \
33083             description { \
33084                state: "default" 0.0; \
33085                align: 0.0 0.0; \
33086                min: 0 1; \
33087                rel1 { \
33088                   to: "cit_"#_pos".base"; \
33089                   relative: 0.0 1.0; \
33090                   offset: 0 0; \
33091                } \
33092                rel2 { \
33093                   to: "cit_"#_pos".base"; \
33094                   relative: 1.0 1.05; \
33095                   offset: -1 0; \
33096                } \
33097                image { \
33098                   normal: "ilist_item_shadow.png"; \
33099                } \
33100                fill.smooth: 0; \
33101             } \
33102          } \
33103          part { \
33104             name: "cit_"#_pos".base"; \
33105             mouse_events: 0; \
33106             description { \
33107                state: "default" 0.0; \
33108                rel1.to: "cit_"#_pos".rect"; \
33109                rel2.to: "cit_"#_pos".rect"; \
33110                rel2.offset: -1 -1; \
33111                image { \
33112                   normal: "ilist_1.png"; \
33113                   border: 2 2 2 2; \
33114                } \
33115                fill.smooth: 0; \
33116             } \
33117             description { \
33118                state: "today" 0.0; \
33119                inherit: "default" 0.0; \
33120                image.normal: "ilist_2.png"; \
33121                color: 240 240 240 255; \
33122             } \
33123          } \
33124          part { name: "cit_"#_pos".bg"; \
33125             mouse_events: 0; \
33126             description { state: "default" 0.0; \
33127                visible: 0; \
33128                color: 255 255 255 0; \
33129                rel1 { \
33130                   to: "cit_"#_pos".rect"; \
33131                   relative: 0.0 0.0; \
33132                } \
33133                rel2 { \
33134                   to: "cit_"#_pos".rect"; \
33135                   relative: 1.0 1.0; \
33136                   offset: -1 -1; \
33137                } \
33138                image { \
33139                   normal: "bt_sm_base1.png"; \
33140                   border: 6 6 6 6; \
33141                } \
33142                image.middle: SOLID; \
33143             } \
33144             description { state: "selected" 0.0; \
33145                inherit: "default" 0.0; \
33146                visible: 1; \
33147                color: 255 255 255 255; \
33148             } \
33149          } \
33150          part { name: "cit_"#_pos".text"; \
33151             type: TEXT; \
33152             effect: SOFT_SHADOW; \
33153             mouse_events: 0; \
33154             scale: 1; \
33155             description { \
33156                state: "default" 0.0; \
33157                rel1.to: "cit_"#_pos".bg"; \
33158                rel2.to: "cit_"#_pos".bg"; \
33159                color: 0 0 0 255; \
33160                color3: 0 0 0 0; \
33161                text { \
33162                   font: "Sans"; \
33163                   size: 10; \
33164                   min: 1 1; \
33165                   align: 0.5 0.5; \
33166                } \
33167             } \
33168             description { state: "selected" 0.0; \
33169                inherit: "default" 0.0; \
33170                color: 224 224 224 255; \
33171                color3: 0 0 0 64; \
33172             } \
33173          } \
33174          part { name: "cit_"#_pos".fg1"; \
33175             mouse_events: 0; \
33176             description { state: "default" 0.0; \
33177                visible: 0; \
33178                color: 255 255 255 0; \
33179                rel1.to: "cit_"#_pos".bg"; \
33180                rel2.relative: 1.0 0.5; \
33181                rel2.to: "cit_"#_pos".bg"; \
33182                image { \
33183                   normal: "bt_sm_hilight.png"; \
33184                   border: 6 6 6 0; \
33185                } \
33186             } \
33187             description { state: "selected" 0.0; \
33188                inherit: "default" 0.0; \
33189                visible: 1; \
33190                color: 255 255 255 255; \
33191             } \
33192          } \
33193          part { name: "cit_"#_pos".fg2"; \
33194             mouse_events: 0; \
33195             description { state: "default" 0.0; \
33196                visible: 0; \
33197                color: 255 255 255 0; \
33198                rel1.to: "cit_"#_pos".bg"; \
33199                rel2.to: "cit_"#_pos".bg"; \
33200                image { \
33201                   normal: "bt_sm_shine.png"; \
33202                   border: 6 6 6 0; \
33203                } \
33204             } \
33205             description { state: "selected" 0.0; \
33206                inherit: "default" 0.0; \
33207                visible: 1; \
33208                color: 255 255 255 255; \
33209             } \
33210          } \
33211          part { name: "cit_"#_pos".check"; \
33212             mouse_events: 0; \
33213             description { state: "default" 0.0; \
33214                rel1 { \
33215                   to: "cit_"#_pos".bg"; \
33216                   relative: 0.7 0.6; \
33217                   offset: 1 1; \
33218                } \
33219                rel2 { \
33220                   to: "cit_"#_pos".bg"; \
33221                   relative: 1.1 1.2; \
33222                   offset: -2 -2; \
33223                } \
33224                aspect: 1 1; \
33225                visible: 0; \
33226                color: 255 0 0 255; \
33227                image.normal: "check.png"; \
33228             } \
33229             description { state: "visible" 0.0; \
33230                inherit: "default" 0.0; \
33231                visible: 1; \
33232             } \
33233          } \
33234       programs { \
33235          program { \
33236             name:    "cit_"#_pos".go_active"; \
33237             signal:  "cit_"#_pos",selected"; \
33238             source:  "elm"; \
33239             action:  STATE_SET "selected" 0.0; \
33240             target:  "cit_"#_pos".bg"; \
33241             target:  "cit_"#_pos".fg1"; \
33242             target:  "cit_"#_pos".fg2"; \
33243             target:  "cit_"#_pos".text"; \
33244          } \
33245          program { \
33246             name:    "cit_"#_pos".go_passive"; \
33247             signal:  "cit_"#_pos",unselected"; \
33248             source:  "elm"; \
33249             action:  STATE_SET "default" 0.0; \
33250             target:  "cit_"#_pos".bg"; \
33251             target:  "cit_"#_pos".fg1"; \
33252             target:  "cit_"#_pos".fg2"; \
33253             target:  "cit_"#_pos".text"; \
33254          } \
33255          program { \
33256             name:    "cit_"#_pos".is_today"; \
33257             signal:  "cit_"#_pos",today"; \
33258             source:  "elm"; \
33259             action:  STATE_SET "today" 0.0; \
33260             target: "cit_"#_pos".base"; \
33261          } \
33262          program { \
33263             name:    "cit_"#_pos".not_today"; \
33264             signal:  "cit_"#_pos",not_today"; \
33265             source:  "elm"; \
33266             action:  STATE_SET "default" 0.0; \
33267             target: "cit_"#_pos".base"; \
33268          } \
33269          program { \
33270             source: "cit_"#_pos".clicked"; \
33271             signal: "mouse,clicked,1"; \
33272             source: "cit_"#_pos".event"; \
33273             action: SIGNAL_EMIT "elm,action,selected" #_pos; \
33274          } \
33275          program { \
33276             name:    "cit_"#_pos".clear"; \
33277             signal:  "cit_"#_pos",clear"; \
33278             source:  "elm"; \
33279             action:  STATE_SET "default" 0.0; \
33280             target: "cit_"#_pos".check"; \
33281             target: "cit_"#_pos".hd"; \
33282          } \
33283          program { \
33284             name:    "cit_"#_pos".checked"; \
33285             signal:  "cit_"#_pos",checked"; \
33286             source:  "elm"; \
33287             action:  STATE_SET "visible" 0.0; \
33288             target: "cit_"#_pos".check"; \
33289          } \
33290          program { \
33291             name:    "cit_"#_pos".holiday"; \
33292             signal:  "cit_"#_pos",holiday"; \
33293             source:  "elm"; \
33294             action:  STATE_SET "visible" 0.0; \
33295             target: "cit_"#_pos".hd"; \
33296          } \
33297       }
33298
33299    group { name: "elm/calendar/base/default";
33300        images {
33301            image: "shelf_inset.png" COMP;
33302            image: "bt_base1.png" COMP;
33303            image: "bt_hilight.png" COMP;
33304            image: "bt_shine.png" COMP;
33305            image: "bt_glow.png" COMP;
33306            image: "bt_dis_base.png" COMP;
33307            image: "bt_dis_hilight.png" COMP;
33308            image: "sp_bt_l.png" COMP;
33309            image: "sp_bt_r.png" COMP;
33310            image: "bt_sm_base1.png" COMP;
33311            image: "bt_sm_shine.png" COMP;
33312            image: "bt_sm_hilight.png" COMP;
33313            image: "ilist_1.png" COMP;
33314            image: "ilist_2.png" COMP;
33315            image: "ilist_item_shadow.png" COMP;
33316            image: "check.png" COMP;
33317        }
33318        parts {
33319            part { name: "bg";
33320                type: RECT;
33321                description { state: "default" 0.0;
33322                    min: 0 30;
33323                    rel1.offset: 1 1;
33324                    rel2.offset: -2 -2;
33325                    color: 255 255 255 0;
33326                    align: 0.0 0.5;
33327                }
33328            }
33329            part { name: "spinner-base";
33330                type: RECT;
33331                mouse_events: 0;
33332                description { state: "default" 0.0;
33333                    min: 24 24;
33334                    max: 999999 24;
33335                    rel1.to: "bg";
33336                    rel1.offset: 6 6;
33337                    rel2.to: "bg";
33338                    rel2.offset: -7 -7;
33339                    color: 255 255 255 0;
33340                    align: 0.0 0.0;
33341                }
33342            }
33343            part { name: "conf_over_spinner";
33344                mouse_events:  0;
33345                description { state: "default" 0.0;
33346                    rel1.to: "spinner-base";
33347                    rel1.offset: -3 -3;
33348                    rel2.to: "spinner-base";
33349                    rel2.offset: 2 2;
33350                    image {
33351                        normal: "shelf_inset.png";
33352                        border: 7 7 7 7;
33353                        middle: 0;
33354                    }
33355                    fill.smooth : 0;
33356                }
33357            }
33358            part { name: "table-base";
33359                type: RECT;
33360                mouse_events: 0;
33361                description { state: "default" 0.0;
33362                    min: 256 220;
33363                    rel1.to_x: "bg";
33364                    rel1.to_y: "spinner-base";
33365                    rel1.offset: 6 6;
33366                    rel1.relative: 0 1;
33367                    rel2.to: "bg";
33368                    rel2.offset: -7 -7;
33369                    color: 255 255 255 0;
33370                }
33371            }
33372            part { name: "conf_over_table";
33373                mouse_events:  0;
33374                description { state: "default" 0.0;
33375                    rel1.to: "table-base";
33376                    rel1.offset: -3 -3;
33377                    rel2.to: "table-base";
33378                    rel2.offset: 2 2;
33379                    image {
33380                        normal: "shelf_inset.png";
33381                        border: 7 7 7 7;
33382                        middle: 0;
33383                    }
33384                    fill.smooth : 0;
33385                }
33386            }
33387            part { name: "header";
33388                type: RECT;
33389                mouse_events: 0;
33390                description { state: "default" 0.0;
33391                    rel1.to: "table-base";
33392                    rel1.relative: 0 0;
33393                    rel2.to: "table-base";
33394                    rel2.relative: 1 0.1;
33395                    color: 255 255 255 0;
33396                }
33397            }
33398            part { name: "base";
33399                type: RECT;
33400                mouse_events: 0;
33401                description { state: "default" 0.0;
33402                    rel1.to_x: "table-base";
33403                    rel1.to_y: "header";
33404                    rel1.relative: 0 1;
33405                    rel1.offset: 3 0;
33406                    rel2.to: "table-base";
33407                    rel2.offset: -3 0;
33408                    color: 255 255 255 0;
33409                }
33410            }
33411            part { name: "left_bt";
33412                mouse_events:  1;
33413                description { state: "default" 0.0;
33414                    rel1 { to: "spinner-base";
33415                        offset: 2 2;
33416                    }
33417                    rel2 { to: "spinner-base";
33418                        offset: -3 -3;
33419                    }
33420                    align: 0.0 0.5;
33421                    min: 24 24;
33422                    max: 24 24;
33423                    fixed: 1 1;
33424                    image {
33425                        normal: "bt_base1.png";
33426                        border: 6 6 6 6;
33427                    }
33428                    fill.smooth : 0;
33429                }
33430                description { state: "clicked" 0.0;
33431                    inherit: "default" 0.0;
33432                    image.normal: "bt_base1.png";
33433                    image.middle: SOLID;
33434                }
33435            }
33436            part { name: "left_over1";
33437                mouse_events: 0;
33438                description { state: "default" 0.0;
33439                    rel1.to: "left_bt";
33440                    rel2 { to: "left_bt";
33441                        relative: 1.0 0.5;
33442                    }
33443                    image {
33444                        normal: "bt_hilight.png";
33445                        border: 7 7 7 0;
33446                    }
33447                }
33448            }
33449            part { name: "left_over2";
33450                mouse_events: 1;
33451                repeat_events: 1;
33452                description { state: "default" 0.0;
33453                    rel1.to: "left_bt";
33454                    rel2.to: "left_bt";
33455                    image {
33456                        normal: "bt_shine.png";
33457                        border: 7 7 7 7;
33458                    }
33459                }
33460            }
33461            part { name: "left_over3";
33462                mouse_events: 1;
33463                repeat_events: 1;
33464                description { state: "default" 0.0;
33465                    color: 255 255 255 0;
33466                    rel1.to: "left_bt";
33467                    rel2.to: "left_bt";
33468                    image {
33469                        normal: "bt_glow.png";
33470                        border: 12 12 12 12;
33471                    }
33472                    fill.smooth : 0;
33473                }
33474                description { state: "clicked" 0.0;
33475                    inherit:  "default" 0.0;
33476                    visible: 1;
33477                    color: 255 255 255 255;
33478                }
33479            }
33480            part { name: "right_bt";
33481                mouse_events:  1;
33482                description { state: "default" 0.0;
33483                    rel1 { to: "spinner-base";
33484                        offset: -27 3;
33485                    }
33486                    rel2 { to: "spinner-base";
33487                        offset: -3 -3;
33488                    }
33489                    align: 1.0 0.5;
33490                    min: 24 24;
33491                    max: 24 24;
33492                    fixed: 1 1;
33493                    image {
33494                        normal: "bt_base1.png";
33495                        border: 5 5 4 12;
33496                    }
33497                    fill.smooth : 0;
33498                }
33499                description { state: "clicked" 0.0;
33500                    inherit: "default" 0.0;
33501                    image.normal: "bt_base1.png";
33502                    image.middle: SOLID;
33503                }
33504            }
33505            part { name: "right_over1";
33506                mouse_events: 0;
33507                description { state: "default" 0.0;
33508                    rel1.to: "right_bt";
33509                    rel2 { to: "right_bt";
33510                        relative: 1.0 0.5;
33511                    }
33512                    image {
33513                        normal: "bt_hilight.png";
33514                        border: 7 7 7 0;
33515                    }
33516                }
33517            }
33518            part { name: "right_over2";
33519                mouse_events: 1;
33520                repeat_events: 1;
33521                description { state: "default" 0.0;
33522                    rel1.to: "right_bt";
33523                    rel2.to: "right_bt";
33524                    image {
33525                        normal: "bt_shine.png";
33526                        border: 7 7 7 7;
33527                    }
33528                }
33529            }
33530            part { name: "right_over3";
33531                mouse_events: 1;
33532                repeat_events: 1;
33533                description { state: "default" 0.0;
33534                    color: 255 255 255 0;
33535                    rel1.to: "right_bt";
33536                    rel2.to: "right_bt";
33537                    image {
33538                        normal: "bt_glow.png";
33539                        border: 12 12 12 12;
33540                    }
33541                    fill.smooth : 0;
33542                }
33543                description { state: "clicked" 0.0;
33544                    inherit:  "default" 0.0;
33545                    visible: 1;
33546                    color: 255 255 255 255;
33547                }
33548            }
33549            part { name: "left_bt_icon";
33550                repeat_events: 1;
33551                description { state: "default" 0.0;
33552                    rel1.to: "left_bt";
33553                    rel2.to: "left_bt";
33554                    align: 0.5 0.5;
33555                    min: 16 16;
33556                    max: 16 16;
33557                    image.normal: "sp_bt_l.png";
33558                }
33559                description { state: "rtl" 0.0;
33560                    inherit: "default" 0.0;
33561                    image.normal: "sp_bt_r.png";
33562                }
33563            }
33564            part { name: "right_bt_icon";
33565                repeat_events: 1;
33566                description { state: "default" 0.0;
33567                    rel1.to: "right_bt";
33568                    rel2.to: "right_bt";
33569                    align: 0.5 0.5;
33570                    min: 16 16;
33571                    max: 16 16;
33572                    image.normal: "sp_bt_r.png";
33573                }
33574                description { state: "rtl" 0.0;
33575                    inherit: "default" 0.0;
33576                    image.normal: "sp_bt_l.png";
33577                }
33578            }
33579            part { name: "month_text";
33580                type: TEXT;
33581                mouse_events: 0;
33582                scale: 1;
33583                description { state: "default" 0.0;
33584                    align: 0 0.5;
33585                    fixed: 1 1;
33586                    rel1 { relative: 1.0 0.0;
33587                        offset: 3 2;
33588                        to: "left_bt";
33589                        to_y: "spinner-base";
33590                    }
33591                    rel2 { relative: 0.0 1.0;
33592                        offset: -3 -2;
33593                        to_x: "right_bt";
33594                        to_y: "spinner-base";
33595                    }
33596                    color: 0 0 0 255;
33597                    text {
33598                        font: "Sans,Edje-Vera";
33599                        size: 12;
33600                        min: 1 1;
33601                        align: 0.5 0.5;
33602                    }
33603                }
33604            }
33605            CH(0)   CH(1)   CH(2)   CH(3)   CH(4)   CH(5)   CH(6)
33606            CIT(0)  CIT(1)  CIT(2)  CIT(3)  CIT(4)  CIT(5)  CIT(6)
33607            CIT(7)  CIT(8)  CIT(9)  CIT(10) CIT(11) CIT(12) CIT(13)
33608            CIT(14) CIT(15) CIT(16) CIT(17) CIT(18) CIT(19) CIT(20)
33609            CIT(21) CIT(22) CIT(23) CIT(24) CIT(25) CIT(26) CIT(27)
33610            CIT(28) CIT(29) CIT(30) CIT(31) CIT(32) CIT(33) CIT(34)
33611            CIT(35) CIT(36) CIT(37) CIT(38) CIT(39) CIT(40) CIT(41)
33612        }
33613        programs {
33614            program { name: "dec_start";
33615                signal: "mouse,down,1";
33616                source: "left_bt";
33617                action: SIGNAL_EMIT "elm,action,decrement,start" "";
33618            }
33619            program { name: "dec_stop";
33620                signal: "mouse,up,1";
33621                source: "left_bt";
33622                action: SIGNAL_EMIT "elm,action,stop" "";
33623            }
33624            program { name: "inc_start";
33625                signal: "mouse,down,1";
33626                source: "right_bt";
33627                action: SIGNAL_EMIT "elm,action,increment,start" "";
33628            }
33629            program { name: "inc_stop";
33630                signal: "mouse,up,1";
33631                source: "right_bt";
33632                action: SIGNAL_EMIT "elm,action,stop" "";
33633            }
33634            program {
33635                name:   "left_bt_click";
33636                signal: "mouse,down,1";
33637                source: "left_over2";
33638                action: STATE_SET "clicked" 0.0;
33639                target: "left_bt";
33640            }
33641            program {
33642                name:   "left_bt_unclick";
33643                signal: "mouse,up,1";
33644                source: "left_over2";
33645                action: STATE_SET "default" 0.0;
33646                target: "left_bt";
33647            }
33648            program {
33649                name:   "left_bt_click2";
33650                signal: "mouse,down,1";
33651                source: "left_over3";
33652                action: STATE_SET "clicked" 0.0;
33653                target: "left_over3";
33654            }
33655            program {
33656                name:   "left_bt_unclick2";
33657                signal: "mouse,up,1";
33658                source: "left_over3";
33659                action: STATE_SET "default" 0.0;
33660                transition: DECELERATE 0.5;
33661                target: "left_over3";
33662            }
33663            program {
33664                name:   "right_bt_click";
33665                signal: "mouse,down,1";
33666                source: "right_over2";
33667                action: STATE_SET "clicked" 0.0;
33668                target: "right_bt";
33669            }
33670            program {
33671                name:   "right_bt_unclick";
33672                signal: "mouse,up,1";
33673                source: "right_over2";
33674                action: STATE_SET "default" 0.0;
33675                target: "right_bt";
33676            }
33677            program {
33678                name:   "right_bt_click2";
33679                signal: "mouse,down,1";
33680                source: "right_over3";
33681                action: STATE_SET "clicked" 0.0;
33682                target: "right_over3";
33683            }
33684            program {
33685                name:   "right_bt_unclick2";
33686                signal: "mouse,up,1";
33687                source: "right_over3";
33688                action: STATE_SET "default" 0.0;
33689                transition: DECELERATE 0.5;
33690                target: "right_over3";
33691            }
33692            program { name: "to_rtl";
33693                signal: "edje,state,rtl";
33694                source: "edje";
33695                action: STATE_SET "rtl" 0.0;
33696                target: "right_bt_icon";
33697                target: "left_bt_icon";
33698            }
33699            program { name: "to_ltr";
33700                signal: "edje,state,ltr";
33701                source: "edje";
33702                action: STATE_SET "default" 0.0;
33703                target: "right_bt_icon";
33704                target: "left_bt_icon";
33705            }
33706        }
33707    }
33708
33709 #undef CIT
33710 #undef CH
33711
33712 ////////////////////////////////////////////////////////////////////////////////
33713 // colorselector
33714 ////////////////////////////////////////////////////////////////////////////////
33715    group { name: "elm/colorselector/bg/default";
33716       parts {
33717          part { name: "elm.colorbar_0";
33718             type: SWALLOW;
33719             mouse_events: 1;
33720             description { state: "default" 0.0;
33721                min: 120 30;
33722                rel1.relative: 0.0 0.00653594771;
33723                rel2.relative: 1.0 0.254901961;
33724             }
33725          }
33726          part { name: "elm.colorbar_1";
33727             type: SWALLOW;
33728             mouse_events: 1;
33729             description { state: "default" 0.0;
33730                min: 120 30;
33731                rel1.relative: 0.0 0.254901961;
33732                rel2.relative: 1.0 0.503267974;
33733             }
33734          }
33735          part { name: "elm.colorbar_2";
33736             type: SWALLOW;
33737             mouse_events: 1;
33738             description { state: "default" 0.0;
33739                min: 120 30;
33740                rel1.relative: 0.0 0.503267974;
33741                rel2.relative: 1.0 0.751633987;
33742             }
33743          }
33744          part { name: "elm.colorbar_3";
33745             type: SWALLOW;
33746             mouse_events: 1;
33747             description { state: "default" 0.0;
33748                min: 120 30;
33749                rel1.relative: 0.0 0.751633987;
33750                rel2.relative: 1.0 1.0;
33751             }
33752          }
33753       }
33754    }
33755
33756    group { name: "elm/colorselector/base/default";
33757       parts {
33758          part { name: "elm.bar_bg";
33759             type: SWALLOW;
33760             mouse_events: 0;
33761             description { state: "default" 0.0;
33762                min: 60 22;
33763                rel1 {
33764                   relative: 0.0 0.8;
33765                   to_x: "elm.arrow_bg";
33766                   to_y: "elm.arrow_icon";
33767                   offset: 0 0;
33768                }
33769                rel2 {
33770                   relative: 1.0 0.83;
33771                   to_x: "elm.arrow_bg";
33772                   offset: 0 0;
33773                }
33774             }
33775          }
33776          part { name: "elm.bar";
33777             type: SWALLOW;
33778             mouse_events: 0;
33779             description { state: "default" 0.0;
33780                rel1.to: "elm.bar_bg";
33781                rel2.to: "elm.bar_bg";
33782             }
33783          }
33784          part { name: "elm.arrow_bg";
33785             type: SWALLOW;
33786             mouse_events: 1;
33787             description { state: "default" 0.0;
33788                rel1 {
33789                   relative: 1.0 0.17;
33790                   offset: 3 0;
33791                   to_x: "elm.l_button";
33792                }
33793                rel2 {
33794                   relative: 0.0 0.83;
33795                      offset: -4 0;
33796                   to_x: "elm.r_button";
33797                }
33798             }
33799          }
33800          part { name: "elm.arrow";
33801             type: RECT;
33802             mouse_events: 1;
33803             scale: 1;
33804             description { state: "default" 0.0;
33805                min: 1 1;
33806                fixed: 1 1;
33807                align: 0 0;
33808                rel1 {
33809                   to_x: "elm.arrow_bg";
33810                }
33811                rel2 {
33812                   relative: 0.0 0.17;
33813                   to_x: "elm.arrow_bg";
33814                }
33815                color: 0 0 0 0;
33816                visible: 0;
33817             }
33818             dragable {
33819                confine: "elm.arrow_bg";
33820                x: 1 1 0;
33821                y: 0 0 0;
33822             }
33823          }
33824          part { name: "elm.arrow_icon";
33825             type: SWALLOW;
33826             mouse_events: 0;
33827             description { state: "default" 0.0;
33828                min: 25 15;
33829                max: 25 15;
33830                fixed: 1 1;
33831                align: 0.5 0;
33832                rel1 {
33833                   to_x: "elm.arrow";
33834                }
33835                rel2 {
33836                   relative: 1.0 0.0;
33837                   offset: 0 10;
33838                   to_x: "elm.arrow";
33839                }
33840             }
33841          }
33842          part { name: "event";
33843             type: RECT;
33844             mouse_events: 1;
33845             description { state: "default" 0.0;
33846                rel1 {
33847                   to: "elm.arrow_icon";
33848                }
33849                rel2 {
33850                   to_x: "elm.arrow_icon";
33851                   to_y: "elm.arrow_bg";
33852                   offset: 0 0;
33853                }
33854                color: 0 0 0 0;
33855             }
33856             dragable {
33857                events: "elm.arrow";
33858             }
33859          }
33860          part { name: "elm.l_button";
33861             type: SWALLOW;
33862             mouse_events: 1;
33863             scale: 1;
33864             description { state: "default" 0.0;
33865                min: 24 24;
33866                fixed: 1 1;
33867                rel1 {
33868                   relative: 0.0 0.0;
33869                   to_y: "elm.bar_bg";
33870                }
33871                rel2 {
33872                   relative: 0.0 1.0;
33873                   to_y: "elm.bar_bg";
33874                }
33875                align: 0.0 0.5;
33876             }
33877          }
33878          part { name: "elm.r_button";
33879             type: SWALLOW;
33880             mouse_events: 1;
33881             scale: 1;
33882             description {
33883                state: "default" 0.0;
33884                min: 24 24;
33885                fixed: 1 1;
33886                rel1 {
33887                   relative: 1.0 0.0;
33888                   to_y: "elm.bar_bg";
33889                }
33890                rel2 {
33891                   relative: 1.0 1.0;
33892                   to_y: "elm.bar_bg";
33893                }
33894                align: 1.0 0.5;
33895             }
33896          }
33897       }
33898    }
33899
33900    group{ name: "elm/colorselector/image/colorbar_0";
33901       images {
33902          image: "color_picker_color.png" COMP;
33903       }
33904       parts {
33905          part { name: "colorbar_0_image";
33906             type: IMAGE;
33907             mouse_events: 1;
33908             description { state: "default" 0.0;
33909                rel2.offset: -1 -1;
33910                image.normal: "color_picker_color.png";
33911             }
33912          }
33913       }
33914    }
33915
33916    group { name: "elm/colorselector/image/colorbar_1";
33917       images {
33918          image: "color_picker_opacity.png" COMP;
33919       }
33920       parts {
33921          part { name: "colorbar_1_image";
33922             type: IMAGE;
33923             mouse_events: 1;
33924             description { state: "default" 0.0;
33925                rel2.offset: -1 -1;
33926                image.normal: "color_picker_opacity.png";
33927             }
33928          }
33929       }
33930    }
33931
33932    group { name: "elm/colorselector/image/colorbar_2";
33933       images {
33934          image: "color_picker_brightness.png" COMP;
33935       }
33936       parts {
33937          part { name: "colorbar_2_image";
33938             type: IMAGE;
33939             mouse_events: 1;
33940             description { state: "default" 0.0;
33941                rel2.offset: -1 -1;
33942                image.normal: "color_picker_brightness.png";
33943             }
33944          }
33945       }
33946    }
33947
33948    group { name: "elm/colorselector/image/colorbar_3";
33949       images {
33950          image: "color_picker_alpha.png" COMP;
33951       }
33952       parts {
33953          part { name: "colorbar_3_image";
33954             type: IMAGE;
33955             mouse_events: 1;
33956             description { state: "default" 0.0;
33957                rel2.offset: -1 -1;
33958                image.normal: "color_picker_alpha.png";
33959             }
33960          }
33961       }
33962    }
33963
33964    group { name: "elm/colorselector/bg_image/colorbar_3";
33965       images {
33966          image: "color_picker_alpha_bg.png" COMP;
33967       }
33968       parts {
33969          part { name: "colorbar_3_image";
33970             type: IMAGE;
33971             mouse_events: 1;
33972             description { state: "default" 0.0;
33973                rel2.offset: -1 -1;
33974                image.normal: "color_picker_alpha_bg.png";
33975             }
33976          }
33977       }
33978    }
33979
33980    group { name: "elm/colorselector/image/updown";
33981       images {
33982          image: "icon_arrow_down.png" COMP;
33983       }
33984       parts {
33985          part { name: "bg";
33986             type: RECT;
33987             mouse_events: 1;
33988             description { state: "default" 0.0;
33989                color: 0 0 0 0;
33990             }
33991          }
33992          part { name: "arrow_image";
33993             type: IMAGE;
33994             mouse_events: 1;
33995             description { state: "default" 0.0;
33996                image.normal: "icon_arrow_down.png";
33997             }
33998          }
33999       }
34000    }
34001
34002    group { name: "elm/colorselector/button/left";
34003       images {
34004          image: "bt_base1.png" COMP;
34005          image: "bt_shine.png" COMP;
34006          image: "sp_bt_l.png" COMP;
34007       }
34008       parts {
34009          part { name: "button_image";
34010             mouse_events: 1;
34011             description { state: "default" 0.0;
34012                image.normal: "bt_base1.png";
34013                image.border: 6 6 6 6;
34014                image.middle: SOLID;
34015             }
34016
34017             description { state: "clicked" 0.0;
34018                inherit: "default" 0.0;
34019                image.normal: "bt_shine.png";
34020                image.border: 6 6 6 6;
34021                image.middle: SOLID;
34022             }
34023          }
34024          part { name: "btn_over";
34025             type: IMAGE;
34026             mouse_events: 0;
34027             description { state: "default" 0.0;
34028                rel1.to: "button_image";
34029                rel2 {
34030                   relative: 1.0 0.5;
34031                   to: "button_image";
34032                }
34033                image {
34034                   normal: "bt_hilight.png";
34035                   border: 7 7 7 0;
34036                }
34037             }
34038          }
34039          part { name: "btn_over2";
34040             type: IMAGE;
34041             mouse_events: 1;
34042             repeat_events: 1;
34043             ignore_flags: ON_HOLD;
34044             description { state: "default" 0.0;
34045                rel1.to: "button_image";
34046                rel2.to: "button_image";
34047                image {
34048                   normal: "bt_shine.png";
34049                   border: 7 7 7 7;
34050                }
34051             }
34052          }
34053          part { name: "focus_image";
34054             type: IMAGE;
34055             description { state: "default" 0.0;
34056                color: 255 255 255 0;
34057                rel1.to: "button_image";
34058                rel2.to: "button_image";
34059                image {
34060                   normal: "bt_glow.png";
34061                   border: 12 12 12 12;
34062                }
34063                fill.smooth: 0;
34064
34065             }
34066             description { state: "clicked" 0.0;
34067                inherit: "default" 0.0;
34068                visible: 1;
34069                color: 255 255 255 255;
34070             }
34071          }
34072          part { name: "left_arrow";
34073             mouse_events: 1;
34074             description { state: "default" 0.0;
34075                min: 16 16;
34076                max: 16 16;
34077                image.normal: "sp_bt_l.png";
34078             }
34079          }
34080       }
34081
34082       programs {
34083          program {
34084             name:   "button_down";
34085             signal: "elm,state,left,button,down";
34086             source: "left_button";
34087             action: STATE_SET "clicked" 0.0;
34088             target: "button_image";
34089             target: "focus_image";
34090          }
34091          program {
34092             name:   "button_up";
34093             signal: "elm,state,left,button,up";
34094             source: "left_button";
34095             action: STATE_SET "default" 0.0;
34096             target: "button_image";
34097             target: "focus_image";
34098          }
34099       }
34100    }
34101
34102    group { name: "elm/colorselector/button/right";
34103       images {
34104          image: "bt_base1.png" COMP;
34105          image: "bt_shine.png" COMP;
34106          image: "sp_bt_r.png" COMP;
34107       }
34108       parts {
34109          part { name: "button_image";
34110             mouse_events: 1;
34111             description { state: "default" 0.0;
34112                image.normal: "bt_base1.png";
34113                image.border: 6 6 6 6;
34114                image.middle: SOLID;
34115             }
34116
34117             description { state: "clicked" 0.0;
34118                inherit: "default" 0.0;
34119                image.normal: "bt_shine.png";
34120                image.border: 6 6 6 6;
34121                image.middle: SOLID;
34122             }
34123          }
34124          part { name: "btn_over";
34125             type: IMAGE;
34126             mouse_events: 0;
34127             description { state: "default" 0.0;
34128                rel1.to: "button_image";
34129                rel2 {
34130                   relative: 1.0 0.5;
34131                   to: "button_image";
34132                }
34133                image {
34134                   normal: "bt_hilight.png";
34135                   border: 7 7 7 0;
34136                }
34137             }
34138          }
34139          part { name: "btn_over2";
34140             type: IMAGE;
34141             mouse_events: 1;
34142             repeat_events: 1;
34143             ignore_flags: ON_HOLD;
34144             description { state: "default" 0.0;
34145                rel1.to: "button_image";
34146                rel2.to: "button_image";
34147                image {
34148                   normal: "bt_shine.png";
34149                   border: 7 7 7 7;
34150                }
34151             }
34152          }
34153          part { name: "focus_image";
34154             type: IMAGE;
34155             description { state: "default" 0.0;
34156                color: 255 255 255 0;
34157                rel1.to: "button_image";
34158                rel2.to: "button_image";
34159                image {
34160                   normal: "bt_glow.png";
34161                   border: 12 12 12 12;
34162                }
34163                fill.smooth: 0;
34164
34165             }
34166             description { state: "clicked" 0.0;
34167                inherit: "default" 0.0;
34168                visible: 1;
34169                color: 255 255 255 255;
34170             }
34171          }
34172          part { name: "right_arrow";
34173             mouse_events: 1;
34174             description { state: "default" 0.0;
34175                min: 16 16;
34176                max: 16 16;
34177                image.normal: "sp_bt_r.png";
34178             }
34179          }
34180       }
34181
34182       programs {
34183          program {
34184             name:   "button_down";
34185             signal: "elm,state,right,button,down";
34186             source: "right_button";
34187             action: STATE_SET "clicked" 0.0;
34188             target: "button_image";
34189             target: "focus_image";
34190          }
34191          program {
34192             name:   "button_up";
34193             signal: "elm,state,right,button,up";
34194             source: "right_button";
34195             action: STATE_SET "default" 0.0;
34196             target: "button_image";
34197             target: "focus_image";
34198          }
34199       }
34200    }
34201
34202 ///////////////////////////////////////////////////////////////////////////////
34203 #define FLIP_PICKER_MAX_LEN (50)
34204 #define FLIP_PICKER_MAX_LEN_STR "50"
34205
34206    group { name: "elm/flipselector/base/default";
34207       images {
34208          image: "flip_base.png" COMP;
34209          image: "flip_base_shad.png" COMP;
34210          image: "flip_shad.png" COMP;
34211          image: "arrow_up.png" COMP;
34212          image: "arrow_down.png" COMP;
34213          image: "flip_t.png" COMP;
34214          image: "flip_b.png" COMP;
34215       }
34216
34217       data {
34218          item: "max_len" FLIP_PICKER_MAX_LEN_STR;
34219       }
34220
34221       //FIXME: quick successive clicks on, say, up, lead to nastiness
34222       script {
34223          public cur, prev, next, lock;
34224
34225          public animator_bottom_down(val, Float:pos) {
34226             new tmp[FLIP_PICKER_MAX_LEN];
34227
34228             set_tween_state(PART:"bottom", pos, "shrink", 0.0, "default", 0.0);
34229             set_tween_state(PART:"bottom_sheet", pos, "shrink", 0.0, "default",
34230                             0.0);
34231             set_tween_state(PART:"shadow", pos, "half", 0.0, "full",
34232                             0.0);
34233
34234             if (pos >= 1.0) {
34235                set_state(PART:"shadow", "default", 0.0);
34236                set_int(lock, 0);
34237
34238                fetch_str(next, 0, tmp, FLIP_PICKER_MAX_LEN);
34239                if (strncmp(tmp, "", FLIP_PICKER_MAX_LEN) != 0) {
34240                   replace_str(next, 0, "");
34241                   message(MSG_STRING, 1, tmp);
34242                }
34243             }
34244          }
34245
34246          public animator_top_down(val, Float:pos) {
34247             set_tween_state(PART:"top", pos, "default", 0.0, "shrink", 0.0);
34248             set_tween_state(PART:"top_sheet", pos, "default", 0.0, "shrink",
34249                             0.0);
34250             set_tween_state(PART:"shadow", pos, "default", 0.0, "half",
34251                             0.0);
34252
34253             if (pos >= 1.0)
34254                anim(0.2, "animator_bottom_down", val);
34255          }
34256
34257          public animator_bottom_up(val, Float:pos) {
34258             set_tween_state(PART:"bottom", pos, "default", 0.0, "shrink", 0.0);
34259             set_tween_state(PART:"bottom_sheet", pos, "default", 0.0, "shrink",
34260                             0.0);
34261             set_tween_state(PART:"shadow", pos, "full", 0.0, "half",
34262                             0.0);
34263
34264             if (pos >= 1.0)
34265                anim(0.2, "animator_top_up", val);
34266          }
34267
34268          public animator_top_up(val, Float:pos) {
34269             new tmp[FLIP_PICKER_MAX_LEN];
34270
34271             set_tween_state(PART:"top", pos, "shrink", 0.0, "default", 0.0);
34272             set_tween_state(PART:"top_sheet", pos, "shrink", 0.0, "default",
34273                             0.0);
34274             set_tween_state(PART:"shadow", pos, "half", 0.0, "default",
34275                             0.0);
34276
34277             if (pos >= 1.0) {
34278                set_state(PART:"shadow", "default", 0.0);
34279                set_int(lock, 0);
34280
34281                fetch_str(next, 0, tmp, FLIP_PICKER_MAX_LEN);
34282                if (strncmp(tmp, "", FLIP_PICKER_MAX_LEN) != 0) {
34283                   replace_str(next, 0, "");
34284                   message(MSG_STRING, 2, tmp);
34285                }
34286             }
34287          }
34288
34289          public message(Msg_Type:type, id, ...) {
34290             /* flip down */
34291             if ((type == MSG_STRING) && (id == 1)) {
34292                new value[FLIP_PICKER_MAX_LEN], tmp[FLIP_PICKER_MAX_LEN];
34293
34294                snprintf(value, FLIP_PICKER_MAX_LEN, "%s", getarg(2));
34295
34296                if (get_int(lock) == 1) {
34297                   replace_str(next, 0, value);
34298                   return;
34299                }
34300
34301                fetch_str(cur, 0, tmp, FLIP_PICKER_MAX_LEN);
34302
34303                set_text(PART:"bottom_b", tmp);
34304
34305                set_state(PART:"top", "shrink", 0.0);
34306                set_text(PART:"top", tmp);
34307                set_state(PART:"top", "default", 0.0);
34308                set_text(PART:"top", tmp);
34309
34310                replace_str(prev, 0, tmp);
34311
34312                set_state(PART:"bottom", "default", 0.0);
34313                set_text(PART:"bottom", value);
34314                set_state(PART:"bottom", "shrink", 0.0);
34315                set_text(PART:"bottom", value);
34316
34317                set_text(PART:"top_b", value);
34318
34319                replace_str(cur, 0, value);
34320
34321                set_state(PART:"bottom_sheet", "shrink", 0.0);
34322                set_state(PART:"top_sheet", "default", 0.0);
34323
34324                set_int(lock, 1);
34325                set_state(PART:"shadow", "default", 0.0);
34326                anim(0.2, "animator_top_down", 1);
34327             }
34328
34329             /* flip up */
34330             if ((type == MSG_STRING) && (id == 2)) {
34331                new value[FLIP_PICKER_MAX_LEN], tmp[FLIP_PICKER_MAX_LEN];
34332
34333                snprintf(value, FLIP_PICKER_MAX_LEN, "%s", getarg(2));
34334
34335                if (get_int(lock) == 1) {
34336                   replace_str(next, 0, value);
34337                   return;
34338                }
34339
34340                fetch_str(cur, 0, tmp, FLIP_PICKER_MAX_LEN);
34341
34342                set_text(PART:"top_b", tmp);
34343
34344                set_state(PART:"bottom", "shrink", 0.0);
34345                set_text(PART:"bottom", tmp);
34346                set_state(PART:"bottom", "default", 0.0);
34347                set_text(PART:"bottom", tmp);
34348
34349                replace_str(prev, 0, tmp);
34350
34351                set_state(PART:"top", "default", 0.0);
34352                set_text(PART:"top", value);
34353                set_state(PART:"top", "shrink", 0.0);
34354                set_text(PART:"top", value);
34355
34356                set_text(PART:"bottom_b", value);
34357
34358                replace_str(cur, 0, value);
34359
34360                set_state(PART:"bottom_sheet", "default", 0.0);
34361                set_state(PART:"top_sheet", "shrink", 0.0);
34362
34363                set_int(lock, 1);
34364                set_state(PART:"shadow", "full", 0.0);
34365                anim(0.2, "animator_bottom_up", 1);
34366             }
34367          }
34368       }
34369
34370       parts {
34371          part { name: "shad";
34372             mouse_events: 0;
34373             description { state: "default" 0.0;
34374                rel1.offset: -4 -4;
34375                rel1.to: "base";
34376                rel2.offset: 3 3;
34377                rel2.to: "base";
34378                image {
34379                   normal: "flip_base_shad.png";
34380                   border: 8 8 8 8;
34381                }
34382             }
34383          }
34384
34385          part { name: "base";
34386             scale: 1;
34387             description { state: "default" 0.0;
34388                rel1.offset: 4 4;
34389                rel2.offset: -5 -5;
34390                min: 24 48;
34391                image.normal: "flip_base.png";
34392             }
34393          }
34394
34395          part { name: "b";
34396             type: RECT;
34397             mouse_events: 1;
34398             description { state: "default" 0.0;
34399                rel1.to: "base";
34400                rel1.relative: 0.0 0.5;
34401                rel2.to: "base";
34402                color: 0 0 0 0;
34403             }
34404             description { state: "hidden" 0.0;
34405                inherit: "default" 0.0;
34406                visible: 0;
34407             }
34408          }
34409
34410          part { name: "t";
34411             type: RECT;
34412             mouse_events: 1;
34413             description { state: "default" 0.0;
34414                rel1.to: "base";
34415                rel2.to: "base";
34416                rel2.relative: 1.0 0.5;
34417                color: 0 0 0 0;
34418             }
34419             description { state: "hidden" 0.0;
34420                inherit: "default" 0.0;
34421                visible: 0;
34422             }
34423          }
34424
34425          part { name: "bottom_sheet_static";
34426             mouse_events: 0;
34427             description { state: "default" 0.0;
34428                visible: 1;
34429                rel1.to: "b";
34430                rel2.to: "b";
34431                image.normal: "flip_b.png";
34432             }
34433          }
34434
34435          part { name: "bottom_b";
34436             mouse_events: 0;
34437             clip_to: "bottom_clipper";
34438             type: TEXT;
34439             scale: 1;
34440             description { state: "default" 0.0;
34441                rel1.to: "base";
34442                rel2.to: "base";
34443                color: 0 0 0 255;
34444                color2: 0 0 0 255;
34445                text {
34446                   font: "Sans:style=Bold,Edje-Vera-Bold";
34447                   size: 30;
34448                   min: 1 1;
34449                   align: 0.5 0.5;
34450                }
34451             }
34452          }
34453
34454          part { name: "shadow";
34455             mouse_events: 0;
34456             description { state: "default" 0.0;
34457                rel1.to: "b";
34458                rel2.to: "b";
34459                rel2.relative: 1.0 0.0;
34460                image.normal: "flip_shad.png";
34461             }
34462             description { state: "half" 0.0;
34463                inherit: "default" 0.0;
34464                rel2.relative: 1.0 0.5;
34465             }
34466             description { state: "full" 0.0;
34467                inherit: "default" 0.0;
34468                rel2.relative: 1.0 1.0;
34469             }
34470          }
34471
34472          part { name: "bottom_sheet";
34473             mouse_events: 0;
34474             description { state: "default" 0.0;
34475                visible: 1;
34476                rel1.to: "b";
34477                rel2.to: "b";
34478                image.normal: "flip_b.png";
34479             }
34480             description { state: "shrink" 0.0;
34481                inherit: "default" 0.0;
34482                visible: 0;
34483                rel2.relative: 1.0 0.0;
34484             }
34485          }
34486
34487          part { name: "bottom";
34488             mouse_events: 0;
34489             clip_to: "bottom_clipper";
34490             type: TEXT;
34491             scale: 1;
34492             description { state: "default" 0.0;
34493                rel1.to: "base";
34494                rel2.to: "base";
34495                color: 0 0 0 255;
34496                color2: 0 0 0 255;
34497                text {
34498                   font: "Sans:style=Bold,Edje-Vera-Bold";
34499                   size: 30;
34500                   min: 1 1;
34501                   align: 0.5 0.5;
34502                }
34503             }
34504             description { state: "shrink" 0.0;
34505                inherit: "default" 0.0;
34506                color: 128 128 128 255;
34507                visible: 0;
34508                rel2.relative: 1.0 0.5; /* FIXME: same visual effect? --> MAP! */
34509             }
34510          }
34511
34512          part { name: "top_sheet_static";
34513             mouse_events: 0;
34514             description { state: "default" 0.0;
34515                visible: 1;
34516                rel1.to: "t";
34517                rel2.to: "t";
34518                image.normal: "flip_t.png";
34519             }
34520          }
34521
34522          part { name: "top_b";
34523             mouse_events: 0;
34524             clip_to: "top_clipper";
34525             type: TEXT;
34526             scale: 1;
34527             description { state: "default" 0.0;
34528                rel1.to: "base";
34529                rel2.to: "base";
34530                color: 0 0 0 255;
34531                color2: 0 0 0 255;
34532                text {
34533                   font: "Sans:style=Bold,Edje-Vera-Bold";
34534                   size: 30;
34535                   min: 1 1;
34536                   align: 0.5 0.5;
34537                   source: "top";
34538                }
34539             }
34540          }
34541
34542          part { name: "top_sheet";
34543             mouse_events: 0;
34544             description { state: "default" 0.0;
34545                visible: 1;
34546                rel1.to: "t";
34547                rel2.to: "t";
34548                image.normal: "flip_t.png";
34549             }
34550             description { state: "shrink" 0.0;
34551                inherit: "default" 0.0;
34552                color: 128 128 128 255;
34553                visible: 0;
34554                rel1.relative: 0.0 1.0;
34555             }
34556          }
34557
34558          part { name: "top";
34559             mouse_events: 0;
34560             clip_to: "top_clipper";
34561             type: TEXT;
34562             scale: 1;
34563             description { state: "default" 0.0;
34564                rel1.to: "base";
34565                rel2.to: "base";
34566                color: 0 0 0 255;
34567                color2: 0 0 0 255;
34568                text {
34569                   font: "Sans:style=Bold,Edje-Vera-Bold";
34570                   size: 30;
34571                   min: 1 1;
34572                   align: 0.5 0.5;
34573                }
34574             }
34575             description { state: "shrink" 0.0;
34576                inherit: "default" 0.0;
34577                visible: 0;
34578                rel1.relative: 0.0 0.5;
34579             }
34580          }
34581
34582          part { name: "arrow_top";
34583             mouse_events: 0;
34584             scale: 1;
34585             description { state: "default" 0.0;
34586                min: 15 15;
34587                max: 15 15;
34588                align: 0.5 0.0;
34589                rel1.to: "t";
34590                rel2.to: "t";
34591                image.normal: "arrow_up.png";
34592             }
34593             description { state: "hidden" 0.0;
34594                inherit: "default" 0.0;
34595                visible: 0;
34596             }
34597          }
34598          part { name: "arrow_bottom";
34599             mouse_events: 0;
34600             scale: 1;
34601             description { state: "default" 0.0;
34602                min: 15 15;
34603                max: 15 15;
34604                align: 0.5 1.0;
34605                rel1.to: "b";
34606                rel2.to: "b";
34607                image.normal: "arrow_down.png";
34608             }
34609             description { state: "hidden" 0.0;
34610                inherit: "default" 0.0;
34611                visible: 0;
34612             }
34613          }
34614
34615          part {
34616             type: RECT;
34617             mouse_events: 0;
34618             name: "top_clipper";
34619             description {
34620                state: "default" 0.0;
34621                rel1.to: "t";
34622                rel2.to: "t";
34623                visible: 1;
34624             }
34625          }
34626
34627          part {
34628             type: RECT;
34629             mouse_events: 0;
34630             name: "bottom_clipper";
34631             description {
34632                state: "default" 0.0;
34633                rel1.to: "b";
34634                rel2.to: "b";
34635                visible: 1;
34636             }
34637          }
34638       }
34639
34640       programs {
34641          program { name: "load";
34642             signal: "load";
34643             source: "";
34644             script {
34645                append_str(cur, "");
34646                append_str(prev, "");
34647                append_str(next, "");
34648                set_int(lock, 0);
34649             }
34650          }
34651
34652          program { name: "hide_arrows";
34653             signal: "elm,state,button,hidden";
34654             source: "elm";
34655             action: STATE_SET "hidden" 0.0;
34656             target: "arrow_top";
34657             target: "arrow_bottom";
34658             target: "t";
34659             target: "b";
34660          }
34661
34662          program { name: "show_arrows";
34663             signal: "elm,state,button,visible";
34664             source: "elm";
34665             action: STATE_SET "default" 0.0;
34666             target: "arrow_top";
34667             target: "arrow_bottom";
34668             target: "t";
34669             target: "b";
34670          }
34671
34672          program { name: "up";
34673             signal: "mouse,down,1";
34674             source: "t";
34675             action: SIGNAL_EMIT "elm,action,up,start" "";
34676          }
34677          program { name: "up,stop";
34678             signal: "mouse,up,1";
34679             source: "t";
34680             action: SIGNAL_EMIT "elm,action,up,stop" "";
34681          }
34682          program { name: "down";
34683             signal: "mouse,down,1";
34684             source: "b";
34685             action: SIGNAL_EMIT "elm,action,down,start" "";
34686          }
34687          program { name: "down,stop";
34688             signal: "mouse,up,1";
34689             source: "b";
34690             action: SIGNAL_EMIT "elm,action,down,stop" "";
34691          }
34692       }
34693    }
34694
34695 ////////////////////////////////////////////////////////////////////////////////
34696 // diskselector
34697 ////////////////////////////////////////////////////////////////////////////////
34698    group { name: "elm/diskselector/base/default";
34699       images {
34700          image: "bar_shine.png" COMP;
34701       }
34702
34703       parts {
34704          part { name: "bg";
34705             type: RECT;
34706             mouse_events: 0;
34707             description { state: "default" 0.0;
34708                color: 0 0 0 255;
34709             }
34710          }
34711          part { name: "shine_left";
34712             mouse_events:  0;
34713             description { state: "default" 0.0;
34714                rel1.to: "bg";
34715                rel1.relative: -0.1 0;
34716                rel2.to: "bg";
34717                rel2.relative: 0.1 1;
34718                image.normal: "bar_shine.png";
34719                color: 255 255 255 120;
34720             }
34721          }
34722          part { name: "shine_center";
34723             mouse_events:  0;
34724             description { state: "default" 0.0;
34725                rel1.to: "bg";
34726                rel1.relative: 0.2 0;
34727                rel2.to: "bg";
34728                rel2.relative: 0.8 1;
34729                image.normal: "bar_shine.png";
34730                color: 255 255 255 180;
34731             }
34732          }
34733          part { name: "shine_right";
34734             mouse_events:  0;
34735             description { state: "default" 0.0;
34736                rel1.to: "bg";
34737                rel1.relative: 0.9 0;
34738                rel2.to: "bg";
34739                rel2.relative: 1.1 1;
34740                image.normal: "bar_shine.png";
34741                color: 255 255 255 120;
34742             }
34743          }
34744          part { name: "clipper";
34745             type: RECT;
34746             mouse_events: 0;
34747             description { state: "default" 0.0;
34748                rel1.to: "bg";
34749                rel2.to: "bg";
34750                rel1.offset: 2 2;
34751                rel2.offset: -3 -3;
34752             }
34753          }
34754          part { name: "elm.swallow.content";
34755             clip_to: "clipper";
34756             type: SWALLOW;
34757             description { state: "default" 0.0;
34758                rel1.to: "bg";
34759                rel2.to: "bg";
34760             }
34761          }
34762       }
34763    }
34764
34765    group { name: "elm/diskselector/item/default";
34766
34767       data {
34768          item: "len_threshold" "14";
34769          item: "display_item_num" "3";
34770          item: "min_height" "-1";
34771          item: "min_width" "-1";
34772       }
34773
34774       parts {
34775          part { name: "elm.swallow.icon";
34776             type: SWALLOW;
34777             description { state: "default" 0.0;
34778                fixed: 1 0;
34779                align: 0.0 0.5;
34780                rel1 {
34781                   relative: 0 0;
34782                   offset: 4 4;
34783                }
34784                rel2 {
34785                   relative: 0 1;
34786                   offset: 4 -5;
34787                }
34788             }
34789             description { state: "show" 0.0;
34790                inherit: "default" 0.0;
34791             }
34792             description { state: "default_small" 0.0;
34793                inherit: "default" 0.0;
34794                rel1.relative: 0 0.2;
34795                rel2.relative: 0 0.8;
34796             }
34797             description { state: "left_side" 0.0;
34798                inherit: "default" 0.0;
34799                rel1.relative: 0 0.2;
34800                rel2.relative: 0 0.8;
34801                color: 255 255 255 160;
34802             }
34803             description { state: "right_side" 0.0;
34804                inherit: "left_side" 0.0;
34805                rel1.relative: 0.4 0.2;
34806                rel2.relative: 0.4 0.8;
34807                color: 255 255 255 160;
34808             }
34809          }
34810          part { name: "elm.text";
34811             type: TEXT;
34812             mouse_events: 0;
34813             scale: 1;
34814             description { state: "default" 0.0;
34815                rel1.relative: 1 0.0;
34816                rel1.to_x: "elm.swallow.icon";
34817                rel2.relative: 1.0 1.0;
34818                color: 255 255 255 255;
34819                visible: 0;
34820                text {
34821                   font: "Sans,Edje-Vera";
34822                   size: 13;
34823                   align: 0.5 0.5;
34824                   min: 0 1;
34825                }
34826             }
34827             description { state: "show" 0.0;
34828                inherit: "default" 0.0;
34829                visible: 1;
34830             }
34831             description { state: "default_small" 0.0;
34832                inherit: "default" 0.0;
34833                visible: 1;
34834                text.size: 10;
34835             }
34836             description { state: "left_side" 0.0;
34837                inherit: "default" 0.0;
34838                color: 172 172 172 255;
34839                text.size: 10;
34840                visible: 1;
34841                text.align: 0.2 0.5;
34842             }
34843             description { state: "right_side" 0.0;
34844                inherit: "default" 0.0;
34845                color: 172 172 172 255;
34846                visible: 1;
34847                text.size: 10;
34848                text.align: 0.8 0.5;
34849             }
34850          }
34851       }
34852
34853       programs {
34854          program { name: "center_text";
34855             signal: "elm,state,center";
34856             source: "elm";
34857             action: STATE_SET "show" 0.0;
34858             target: "elm.text";
34859             target: "elm.swallow.icon";
34860          }
34861          program { name: "center_small_text";
34862             signal: "elm,state,center_small";
34863             source: "elm";
34864             action: STATE_SET "default_small" 0.0;
34865             target: "elm.text";
34866             target: "elm.swallow.icon";
34867          }
34868          program { name: "l_side_text";
34869             signal: "elm,state,left_side";
34870             source: "elm";
34871             action: STATE_SET "left_side" 0.0;
34872             target: "elm.text";
34873             target: "elm.swallow.icon";
34874          }
34875          program { name: "r_side_text";
34876             signal: "elm,state,right_side";
34877             source: "elm";
34878             action: STATE_SET "right_side" 0.0;
34879             target: "elm.text";
34880             target: "elm.swallow.icon";
34881          }
34882       }
34883    }
34884
34885    group { name: "elm/entry/path/separator/default";
34886       images.image: "arrow_right.png" COMP;
34887       parts {
34888          part { name: "icon";
34889             mouse_events: 0;
34890             description { state: "default" 0.0;
34891                image.normal: "arrow_right.png";
34892                max: 64 64;
34893                aspect: 1.0 1.0;
34894             }
34895          }
34896       }
34897    }
34898
34899    group { name: "elm/fileselector/base/default";
34900       data {
34901          item: "path_separator" "<item relsize=16x16 vsize=full href=path/separator></item>";
34902       }
34903       parts {
34904          part { name: "elm.swallow.up";
34905             type: SWALLOW;
34906             description { state: "default" 0.0;
34907                align: 0.0 0.0;
34908                min: 10 10;
34909                fixed: 1 1;
34910                rel2 {
34911                   relative: 0.0 0.0;
34912                   offset: 0 0;
34913                }
34914             }
34915          }
34916          part { name: "elm.swallow.home";
34917             type: SWALLOW;
34918             description { state: "default" 0.0;
34919                align: 0.0 0.0;
34920                min: 10 10;
34921                fixed: 1 1;
34922                rel1 {
34923                   to: "elm.swallow.up";
34924                   relative: 1.0 0.0;
34925                   offset: 5 0;
34926                }
34927                rel2 {
34928                   to: "elm.swallow.up";
34929                   relative: 1.0 1.0;
34930                   offset: 20 -1;
34931                }
34932             }
34933          }
34934          part { name: "elm.swallow.files";
34935             type: SWALLOW;
34936             description { state: "default" 0.0;
34937                align: 1.0 0.0;
34938                min: 10 10;
34939                fixed: 1 1;
34940                rel1 {
34941                   to_y: "elm.swallow.home";
34942                   relative: 0.0 1.0;
34943                   offset: 0 0;
34944                }
34945                rel2 {
34946                   to_y: "elm.swallow.path";
34947                   relative: 1.0 0.0;
34948                   offset: -1 -1;
34949                }
34950             }
34951          }
34952          part { name: "elm.swallow.path";
34953             type: SWALLOW;
34954             description { state: "default" 0.0;
34955                align: 0.5 1.0;
34956                fixed: 1 1;
34957                rel1 {
34958                   to_y: "elm.swallow.filename";
34959                   relative: 0.0 0.0;
34960                   offset: 0 -1;
34961                }
34962                rel2 {
34963                   to_y: "elm.swallow.filename";
34964                   relative: 1.0 0.0;
34965                   offset: -1 -1;
34966                }
34967             }
34968          }
34969          part { name: "elm.swallow.filename";
34970             type: SWALLOW;
34971             description { state: "default" 0.0;
34972                align: 0.5 1.0;
34973                fixed: 1 1;
34974                rel1 {
34975                   to_y: "elm.swallow.ok";
34976                   relative: 0.0 0.0;
34977                   offset: 0 -1;
34978                }
34979                rel2 {
34980                   to_y: "elm.swallow.ok";
34981                   relative: 1.0 0.0;
34982                   offset: -1 -1;
34983                }
34984             }
34985          }
34986          part { name: "elm.swallow.cancel";
34987             type: SWALLOW;
34988             description { state: "default" 0.0;
34989                align: 1.0 1.0;
34990                fixed: 1 1;
34991                rel1 {
34992                   to: "elm.swallow.ok";
34993                   relative: 0.0 0.0;
34994                   offset: -3 0;
34995                }
34996                rel2 {
34997                   to: "elm.swallow.ok";
34998                   relative: 0.0 1.0;
34999                   offset: -3 -1;
35000                }
35001             }
35002          }
35003          part { name: "elm.swallow.ok";
35004             type: SWALLOW;
35005             description { state: "default" 0.0;
35006                align: 1.0 1.0;
35007                fixed: 1 1;
35008                rel1 {
35009                   relative: 1.0 1.0;
35010                   offset: -1 -1;
35011                }
35012             }
35013          }
35014       }
35015    }
35016
35017    group { name: "elm/fileselector_entry/base/default";
35018       parts {
35019          part { name: "elm.swallow.entry";
35020             type: SWALLOW;
35021             description { state: "default" 0.0;
35022                align: 0.0 0.0;
35023                min: 50 10;
35024                rel2 { to_x: "elm.swallow.button";
35025                   relative: 0.0 1.0;
35026                   offset: -1 -1;
35027                }
35028             }
35029          }
35030          part { name: "elm.swallow.button";
35031             type: SWALLOW;
35032             description { state: "default" 0.0;
35033                align: 1.0 0.0;
35034                min: 10 10;
35035                fixed: 1 1;
35036                rel1 {
35037                   relative: 1.0 0.0;
35038                   offset: -21 0;
35039                }
35040             }
35041          }
35042       }
35043    }
35044
35045 ////////////////////////////////////////////////////////////////////////
35046 // Standard layouts to be used                                        //
35047 ////////////////////////////////////////////////////////////////////////
35048    /* application with toolbar and main content area */
35049    group { name: "elm/layout/application/toolbar-content";
35050       parts {
35051          part { name: "elm.swallow.content";
35052             type: SWALLOW;
35053             description { state: "default" 0.0;
35054                rel1 { to_y: "elm.external.toolbar";
35055                   relative: 0.0 1.0;
35056                   offset: -1 1;
35057                }
35058             }
35059          }
35060
35061          part { name: "elm.external.toolbar";
35062             type: EXTERNAL;
35063             source: "elm/toolbar";
35064             description { state: "default" 0.0;
35065                align: 0.5 0.0;
35066                fixed: 0 1;
35067                rel2 {
35068                   relative: 1.0 0.0;
35069                   offset: -1 47;
35070                }
35071             }
35072          }
35073       }
35074    }
35075
35076    /* application with toolbar and main content area with a back button and title area */
35077    group { name: "elm/layout/application/toolbar-content-back";
35078       parts {
35079          part { name: "elm.swallow.content";
35080             type: SWALLOW;
35081             description { state: "default" 0.0;
35082                rel1 { to_y: "title_clipper";
35083                   relative: 0.0 1.0;
35084                   offset: -1 1;
35085                }
35086             }
35087          }
35088
35089          part { name: "elm.external.toolbar";
35090             type: EXTERNAL;
35091             source: "elm/toolbar";
35092             description { state: "default" 0.0;
35093                fixed: 0 1;
35094                align: 0.5 0.0;
35095                rel2 {
35096                   relative: 1.0 0.0;
35097                   offset: -1 47;
35098                }
35099             }
35100          }
35101          part { name: "title_clipper";
35102             type: RECT;
35103             description { state: "default" 0.0;
35104                visible: 1;
35105                rel1 {
35106                   to_y: "back";
35107                }
35108                rel2 {
35109                   to_y: "back";
35110                }
35111             }
35112             description { state: "hidden" 0.0;
35113                inherit: "default" 0.0;
35114                visible: 0;
35115                rel2 {
35116                   relative: 1.0 0.0;
35117                }
35118             }
35119          }
35120          part { name: "back_clipper";
35121             type: RECT;
35122             clip_to: "title_clipper";
35123             description { state: "default" 0.0;
35124                visible: 1;
35125             }
35126             description { state: "hidden" 0.0;
35127                visible: 0;
35128             }
35129          }
35130          part { name: "back";
35131             type: EXTERNAL;
35132             source: "elm/button";
35133             clip_to: "back_clipper";
35134             description { state: "default" 0.0;
35135                align: 0.0 0.0;
35136                fixed: 1 1;
35137                rel1 { to_y: "elm.external.toolbar";
35138                   relative: 0.0 1.0;
35139                   offset: 0 1;
35140                }
35141                rel2 { to_y: "elm.external.toolbar";
35142                   relative: 0.0 1.0;
35143                   offset: 50 32;
35144                }
35145                params.string: "label" "Back";
35146             }
35147          }
35148          programs {
35149             program {
35150                signal: "clicked";
35151                source: "back";
35152                action: SIGNAL_EMIT "elm,action,back" "";
35153             }
35154             program {
35155                signal: "elm,back,hide";
35156                source: "elm";
35157                action: STATE_SET "hidden" 0.0;
35158                target: "back_clipper";
35159             }
35160             program {
35161                signal: "elm,back,show";
35162                source: "elm";
35163                action: STATE_SET "default" 0.0;
35164                target: "back_clipper";
35165             }
35166             program {
35167                signal: "elm,title,hide";
35168                source: "elm";
35169                action: STATE_SET "hidden" 0.0;
35170                transition: LINEAR 0.1;
35171                target: "title_clipper";
35172             }
35173             program {
35174                signal: "elm,title,show";
35175                source: "elm";
35176                action: STATE_SET "default" 0.0;
35177                target: "title_clipper";
35178             }
35179          }
35180
35181          part { name: "elm.swallow.end";
35182             type: SWALLOW;
35183             description { state: "default" 0.0;
35184                align: 1.0 0.0;
35185                fixed: 1 1;
35186                rel1 { to_y: "elm.external.toolbar";
35187                   relative: 1.0 1.0;
35188                   offset: -2 1;
35189                }
35190                rel2 { to_y: "elm.external.toolbar";
35191                   relative: 1.0 1.0;
35192                   offset: -1 32;
35193                }
35194             }
35195          }
35196
35197          part { name: "elm.text.title";
35198             type: TEXT;
35199             effect: SOFT_SHADOW;
35200             scale: 1;
35201             description { state: "default" 0.0;
35202                rel1 { to_y: "elm.external.toolbar";
35203                   to_x: "back";
35204                   relative: 1.0 1.0;
35205                   offset: 2 1;
35206                }
35207                rel2 { to_y: "back";
35208                   to_x: "elm.swallow.end";
35209                   relative: 0.0 1.0;
35210                   offset: -3 -1;
35211                }
35212                text {
35213                   font: "Sans:style=Bold";
35214                   size: 12;
35215                }
35216             }
35217          }
35218       }
35219    }
35220
35221    /* application with toolbar and main content area with a back and next buttons and title area */
35222    group { name: "elm/layout/application/toolbar-content-back-next";
35223       parts {
35224          part { name: "elm.swallow.content";
35225             type: SWALLOW;
35226             description { state: "default" 0.0;
35227                rel1 { to_y: "title_clipper";
35228                   relative: 0.0 1.0;
35229                   offset: -1 1;
35230                }
35231             }
35232          }
35233
35234          part { name: "elm.external.toolbar";
35235             type: EXTERNAL;
35236             source: "elm/toolbar";
35237             description { state: "default" 0.0;
35238                fixed: 0 1;
35239                align: 0.5 0.0;
35240                rel2 {
35241                   relative: 1.0 0.0;
35242                   offset: -1 47;
35243                }
35244             }
35245          }
35246          part { name: "title_clipper";
35247             type: RECT;
35248             description { state: "default" 0.0;
35249                visible: 1;
35250                rel1 {
35251                   to_y: "back";
35252                }
35253                rel2 {
35254                   to_y: "back";
35255                }
35256             }
35257             description { state: "hidden" 0.0;
35258                inherit: "default" 0.0;
35259                visible: 0;
35260                rel2 {
35261                   relative: 1.0 0.0;
35262                }
35263             }
35264          }
35265          part { name: "back";
35266             type: EXTERNAL;
35267             source: "elm/button";
35268             clip_to: "back_clipper";
35269             description { state: "default" 0.0;
35270                align: 0.0 0.0;
35271                fixed: 1 1;
35272                rel1 { to_y: "elm.external.toolbar";
35273                   relative: 0.0 1.0;
35274                   offset: 0 1;
35275                }
35276                rel2 { to_y: "elm.external.toolbar";
35277                   relative: 0.0 1.0;
35278                   offset: 50 32;
35279                }
35280                params.string: "label" "Back";
35281             }
35282          }
35283          part { name: "back_clipper";
35284             type: RECT;
35285             clip_to: "title_clipper";
35286             description { state: "default" 0.0;
35287                visible: 1;
35288             }
35289             description { state: "hidden" 0.0;
35290                visible: 0;
35291             }
35292          }
35293          part { name: "next";
35294             type: EXTERNAL;
35295             source: "elm/button";
35296             clip_to: "next_clipper";
35297             description { state: "default" 0.0;
35298                align: 1.0 0.0;
35299                fixed: 1 1;
35300                rel1 { to_y: "elm.external.toolbar";
35301                   relative: 1.0 1.0;
35302                   offset: -2 1;
35303                }
35304                rel2 { to_y: "elm.external.toolbar";
35305                   relative: 1.0 1.0;
35306                   offset: -1 32;
35307                }
35308                params.string: "label" "Next";
35309            }
35310          }
35311          part { name: "next_clipper";
35312             type: RECT;
35313             clip_to: "title_clipper";
35314             description { state: "default" 0.0;
35315                visible: 1;
35316             }
35317             description { state: "hidden" 0.0;
35318                visible: 0;
35319             }
35320          }
35321          programs {
35322             program {
35323                signal: "clicked";
35324                source: "back";
35325                action: SIGNAL_EMIT "elm,action,back" "";
35326             }
35327             program {
35328                signal: "elm,title,hide";
35329                source: "elm";
35330                action: STATE_SET "hidden" 0.0;
35331                transition: LINEAR 0.1;
35332                target: "title_clipper";
35333             }
35334             program {
35335                signal: "elm,title,show";
35336                source: "elm";
35337                action: STATE_SET "default" 0.0;
35338                target: "title_clipper";
35339             }
35340             program {
35341                signal: "elm,back,hide";
35342                source: "elm";
35343                action: STATE_SET "hidden" 0.0;
35344                target: "back_clipper";
35345             }
35346             program {
35347                signal: "elm,back,show";
35348                source: "elm";
35349                action: STATE_SET "default" 0.0;
35350                target: "back_clipper";
35351             }
35352             program {
35353                signal: "clicked";
35354                source: "next";
35355                action: SIGNAL_EMIT "elm,action,next" "";
35356             }
35357             program {
35358                signal: "elm,next,hide";
35359                source: "elm";
35360                action: STATE_SET "hidden" 0.0;
35361                target: "next_clipper";
35362             }
35363             program {
35364                signal: "elm,next,show";
35365                source: "elm";
35366                action: STATE_SET "default" 0.0;
35367                target: "next_clipper";
35368             }
35369          }
35370          part { name: "elm.text.title";
35371             type: TEXT;
35372             effect: SOFT_SHADOW;
35373             scale: 1;
35374             clip_to: "title_clipper";
35375             description { state: "default" 0.0;
35376                rel1 { to_y: "elm.external.toolbar";
35377                   to_x: "back";
35378                   relative: 1.0 1.0;
35379                   offset: 2 1;
35380                }
35381                rel2 { to_y: "back";
35382                   to_x: "next";
35383                   relative: 0.0 1.0;
35384                   offset: -3 -1;
35385                }
35386                text {
35387                   font: "Sans:style=Bold";
35388                   size: 12;
35389                }
35390             }
35391          }
35392       }
35393    }
35394    /* application with a main content area with a back button and title area */
35395    group { name: "elm/layout/application/content-back";
35396       parts {
35397          part { name: "elm.swallow.content";
35398             type: SWALLOW;
35399             description { state: "default" 0.0;
35400                rel1 { to_y: "title_clipper";
35401                   relative: 0.0 1.0;
35402                   offset: -1 1;
35403                }
35404             }
35405          }
35406          part { name: "title_clipper";
35407             type: RECT;
35408             description { state: "default" 0.0;
35409                visible: 1;
35410                rel1 {
35411                   to_y: "back";
35412                }
35413                rel2 {
35414                   to_y: "back";
35415                }
35416             }
35417             description { state: "hidden" 0.0;
35418                inherit: "default" 0.0;
35419                visible: 0;
35420                rel2 {
35421                   relative: 1.0 0.0;
35422                }
35423             }
35424          }
35425          part { name: "back_clipper";
35426             type: RECT;
35427             clip_to: "title_clipper";
35428             description { state: "default" 0.0;
35429                visible: 1;
35430             }
35431             description { state: "hidden" 0.0;
35432                visible: 0;
35433             }
35434          }
35435          part { name: "back";
35436             type: EXTERNAL;
35437             source: "elm/button";
35438             clip_to: "back_clipper";
35439             description { state: "default" 0.0;
35440                align: 0.0 0.0;
35441                fixed: 1 1;
35442                rel1 {
35443                   relative: 0.0 0.0;
35444                   offset: 0 1;
35445                }
35446                rel2 {
35447                   relative: 0.0 0.0;
35448                   offset: 50 32;
35449                }
35450                params.string: "label" "Back";
35451             }
35452          }
35453          programs {
35454             program {
35455                signal: "clicked";
35456                source: "back";
35457                action: SIGNAL_EMIT "elm,action,back" "";
35458             }
35459             program {
35460                signal: "elm,back,hide";
35461                source: "elm";
35462                action: STATE_SET "hidden" 0.0;
35463                target: "back_clipper";
35464             }
35465             program {
35466                signal: "elm,back,show";
35467                source: "elm";
35468                action: STATE_SET "default" 0.0;
35469                target: "back_clipper";
35470             }
35471             program {
35472                signal: "elm,title,hide";
35473                source: "elm";
35474                action: STATE_SET "hidden" 0.0;
35475                transition: LINEAR 0.1;
35476                target: "title_clipper";
35477             }
35478             program {
35479                signal: "elm,title,show";
35480                source: "elm";
35481                action: STATE_SET "default" 0.0;
35482                target: "title_clipper";
35483             }
35484          }
35485
35486          part { name: "elm.swallow.end";
35487             type: SWALLOW;
35488             description { state: "default" 0.0;
35489                align: 1.0 0.0;
35490                fixed: 1 1;
35491                rel1 {
35492                   relative: 1.0 0.0;
35493                   offset: -2 1;
35494                }
35495                rel2 {
35496                   relative: 1.0 1.0;
35497                   offset: -1 32;
35498                }
35499             }
35500          }
35501
35502          part { name: "elm.text.title";
35503             type: TEXT;
35504             effect: SOFT_SHADOW;
35505             scale: 1; 
35506             description { state: "default" 0.0;
35507                rel1 {
35508                   to_x: "back";
35509                   relative: 1.0 0.0;
35510                   offset: 2 1;
35511                }
35512                rel2 { to_y: "back";
35513                   to_x: "elm.swallow.end";
35514                   relative: 0.0 1.0;
35515                   offset: -3 -1;
35516                }
35517                text {
35518                   font: "Sans:style=Bold";
35519                   size: 12;
35520                }
35521             }
35522          }
35523       }
35524    }
35525
35526    /* application with a main content area with a back and next buttons and title area */
35527    group { name: "elm/layout/application/content-back-next";
35528       parts {
35529          part { name: "elm.swallow.content";
35530             type: SWALLOW;
35531             description { state: "default" 0.0;
35532                rel1 { to_y: "title_clipper";
35533                   relative: 0.0 1.0;
35534                   offset: -1 1;
35535                }
35536             }
35537          }
35538
35539          part { name: "title_clipper";
35540             type: RECT;
35541             description { state: "default" 0.0;
35542                visible: 1;
35543                rel1 {
35544                   to_y: "back";
35545                }
35546                rel2 {
35547                   to_y: "back";
35548                }
35549             }
35550             description { state: "hidden" 0.0;
35551                inherit: "default" 0.0;
35552                visible: 0;
35553                rel2 {
35554                   relative: 1.0 0.0;
35555                }
35556             }
35557          }
35558          part { name: "back";
35559             type: EXTERNAL;
35560             source: "elm/button";
35561             clip_to: "back_clipper";
35562             description { state: "default" 0.0;
35563                align: 0.0 0.0;
35564                fixed: 1 1;
35565                rel1 {
35566                   relative: 0.0 0.0;
35567                   offset: 0 1;
35568                }
35569                rel2 {
35570                   relative: 0.0 0.0;
35571                   offset: 50 32;
35572                }
35573                params.string: "label" "Back";
35574             }
35575          }
35576          part { name: "back_clipper";
35577             type: RECT;
35578             clip_to: "title_clipper";
35579             description { state: "default" 0.0;
35580                visible: 1;
35581             }
35582             description { state: "hidden" 0.0;
35583                visible: 0;
35584             }
35585          }
35586          part { name: "next";
35587             type: EXTERNAL;
35588             source: "elm/button";
35589             clip_to: "next_clipper";
35590             description { state: "default" 0.0;
35591                align: 1.0 0.0;
35592                fixed: 1 1;
35593                rel1 {
35594                   relative: 1.0 0.0;
35595                   offset: -2 1;
35596                }
35597                rel2 {
35598                   relative: 1.0 0.0;
35599                   offset: -1 32;
35600                }
35601                params.string: "label" "Next";
35602            }
35603          }
35604          part { name: "next_clipper";
35605             type: RECT;
35606             clip_to: "title_clipper";
35607             description { state: "default" 0.0;
35608                visible: 1;
35609             }
35610             description { state: "hidden" 0.0;
35611                visible: 0;
35612             }
35613          }
35614          programs {
35615             program {
35616                signal: "clicked";
35617                source: "back";
35618                action: SIGNAL_EMIT "elm,action,back" "";
35619             }
35620             program {
35621                signal: "elm,title,hide";
35622                source: "elm";
35623                action: STATE_SET "hidden" 0.0;
35624                transition: LINEAR 0.1;
35625                target: "title_clipper";
35626             }
35627             program {
35628                signal: "elm,title,show";
35629                source: "elm";
35630                action: STATE_SET "default" 0.0;
35631                target: "title_clipper";
35632             }
35633             program {
35634                signal: "elm,back,hide";
35635                source: "elm";
35636                action: STATE_SET "hidden" 0.0;
35637                target: "back_clipper";
35638             }
35639             program {
35640                signal: "elm,back,show";
35641                source: "elm";
35642                action: STATE_SET "default" 0.0;
35643                target: "back_clipper";
35644             }
35645             program {
35646                signal: "clicked";
35647                source: "next";
35648                action: SIGNAL_EMIT "elm,action,next" "";
35649             }
35650             program {
35651                signal: "elm,next,hide";
35652                source: "elm";
35653                action: STATE_SET "hidden" 0.0;
35654                target: "next_clipper";
35655             }
35656             program {
35657                signal: "elm,next,show";
35658                source: "elm";
35659                action: STATE_SET "default" 0.0;
35660                target: "next_clipper";
35661             }
35662          }
35663          part { name: "elm.text.title";
35664             type: TEXT;
35665             effect: SOFT_SHADOW;
35666             scale: 1;
35667             clip_to: "title_clipper";
35668             description { state: "default" 0.0;
35669                rel1 {
35670                   to_x: "back";
35671                   relative: 1.0 0.0;
35672                   offset: 2 1;
35673                }
35674                rel2 { to_y: "back";
35675                   to_x: "next";
35676                   relative: 0.0 1.0;
35677                   offset: -3 -1;
35678                }
35679                text {
35680                   font: "Sans:style=Bold";
35681                   size: 12;
35682                }
35683             }
35684          }
35685       }
35686    }
35687
35688    /* application with toolbar and main content area as a vertical box */
35689    group { name: "elm/layout/application/toolbar-vbox";
35690       parts {
35691          part { name: "elm.box.content";
35692             type: BOX;
35693             description { state: "default" 0.0;
35694                rel1 { to_y: "elm.external.toolbar";
35695                   relative: 0.0 1.0;
35696                   offset: -1 1;
35697                }
35698                box.layout: "vertical";
35699             }
35700          }
35701
35702          part { name: "elm.external.toolbar";
35703             type: EXTERNAL;
35704             source: "elm/toolbar";
35705             description { state: "default" 0.0;
35706                align: 0.5 0.0;
35707                fixed: 0 1;
35708                rel2 {
35709                   relative: 1.0 0.0;
35710                   offset: -1 47;
35711                }
35712             }
35713          }
35714       }
35715    }
35716
35717    /* application with toolbar and main content area as a table */
35718    group { name: "elm/layout/application/toolbar-table";
35719       parts {
35720          part { name: "elm.table.content";
35721             type: TABLE;
35722             description { state: "default" 0.0;
35723                rel1 { to_y: "elm.external.toolbar";
35724                   relative: 0.0 1.0;
35725                   offset: -1 1;
35726                }
35727             }
35728          }
35729
35730          part { name: "elm.external.toolbar";
35731             type: EXTERNAL;
35732             source: "elm/toolbar";
35733             description { state: "default" 0.0;
35734                align: 0.5 0.0;
35735                fixed: 0 1;
35736                rel2 {
35737                   relative: 1.0 0.0;
35738                   offset: -1 47;
35739                }
35740             }
35741          }
35742       }
35743    }
35744
35745 ///////////////////////////////////////////////////////////////////////////////
35746    group { name: "elm/segment_control/base/default";
35747 #define SEGMENT_TYPE_SINGLE 1
35748 #define SEGMENT_TYPE_LEFT 2
35749 #define SEGMENT_TYPE_MIDDLE 3
35750 #define SEGMENT_TYPE_RIGHT 4
35751 #define SEGMENT_STATE_NORMAL 1
35752 #define SEGMENT_STATE_PRESSED 2
35753 #define SEGMENT_STATE_SELECTED 3
35754 #define SEGMENT_STATUS_ENABLED 0
35755 #define SEGMENT_STATUS_DISABLED 1
35756       parts {
35757          part { name: "bg";
35758             type: RECT;
35759             mouse_events: 0;
35760             scale: 1;
35761             description {
35762                state: "default" 0.0;
35763                color: 0 0 0 0;
35764                min: 100 40;
35765             }
35766          }
35767       }
35768    }
35769    group { name: "elm/segment_control/item/default";
35770       data.item: "label.wrap.part" "label.bg";
35771       styles {
35772          style { name: "seg_text_style_normal";
35773             base: "font=Sans font_size=16 style=shadow \
35774             shadow_color=#2924224d \
35775             align=center \
35776             color=#ffffffff wrap=char text_class=label";
35777             tag:  "br" "\n";
35778             tag:  "hilight" "+ font=Sans:style=Bold";
35779             tag:  "tab" "\t";
35780          }
35781          style { name: "seg_text_style_selected";
35782             base: "font=Sans:style=Bold font_size=16 style=shadow \
35783             shadow_color=#aaaaaa4d \
35784             align=center \
35785             color=#111111ff wrap=char text_class=label";
35786             tag:  "br" "\n";
35787             tag:  "hilight" "+ font=Sans:style=Bold";
35788             tag:  "b" "+ font=Sans:style=Bold";
35789             tag:  "tab" "\t";
35790          }
35791          style { name: "seg_text_style_disabled";
35792             base: "font=Sans:style=Medium font_size=16 style=shadow \
35793             shadow_color=#2924224d \
35794             align=center color=#2924224d \
35795             wrap=char text_class=label";
35796             tag:  "br" "\n";
35797             tag:  "hilight" "+ font=Sans:style=Bold";
35798             tag:  "b" "+ font=Sans:style=Bold";
35799             tag:  "tab" "\t";
35800          }
35801       }
35802       images {
35803          image: "seg_single_pressed.png" COMP;
35804          image: "seg_single_selected.png" COMP;
35805          image: "seg_single_normal.png" COMP;
35806
35807          image: "seg_left_pressed.png" COMP;
35808          image: "seg_left_selected.png" COMP;
35809          image: "seg_left_normal.png" COMP;
35810
35811          image: "seg_middle_pressed.png" COMP;
35812          image: "seg_middle_selected.png" COMP;
35813          image: "seg_middle_normal.png" COMP;
35814
35815          image: "seg_right_pressed.png" COMP;
35816          image: "seg_right_selected.png" COMP;
35817          image: "seg_right_normal.png" COMP;
35818       }
35819       parts {
35820          part { name: "segment";
35821             mouse_events: 1;
35822             scale: 1;
35823             description { state: "default" 0.0;
35824                min: 1 1;
35825                visible: 0;
35826                image {
35827                   normal: "seg_single_normal.png";
35828                   border: 7 7 7 7;
35829                   border_scale: 1;
35830                   middle: 1;
35831                }
35832             }
35833             description { state: "default_single" 0.0;
35834                inherit: "default" 0.0;
35835                visible: 1;
35836                image {
35837                   normal: "seg_single_normal.png";
35838                   border: 7 7 7 7;
35839                }
35840             }
35841             description { state: "default_left" 0.0;
35842                inherit: "default" 0.0;
35843                visible: 1;
35844                image {
35845                normal: "seg_left_normal.png";
35846                   border:  6 1 7 7;
35847                }
35848             }
35849             description { state: "default_right" 0.0;
35850                inherit: "default" 0.0;
35851                visible: 1;
35852                image {
35853                   normal: "seg_right_normal.png";
35854                   border: 1 6 7 7;
35855                }
35856             }
35857             description { state: "default_middle" 0.0;
35858                inherit: "default" 0.0;
35859                visible: 1;
35860                image {
35861                   normal: "seg_middle_normal.png";
35862                   border: 2 2 2 2;
35863                }
35864             }
35865             description { state: "pressed_single" 0.0;
35866                inherit: "default" 0.0;
35867                visible: 1;
35868                image {
35869                   normal: "seg_single_pressed.png";
35870                   border: 7 7 7 7;
35871                }
35872             }
35873             description { state: "pressed_left" 0.0;
35874                inherit: "default" 0.0;
35875                visible: 1;
35876                image {
35877                   normal: "seg_left_pressed.png";
35878                   border:  6 1 7 7;
35879                }
35880             }
35881             description { state: "pressed_right" 0.0;
35882                inherit: "default" 0.0;
35883                visible: 1;
35884                image {
35885                   normal: "seg_right_pressed.png";
35886                   border: 1 6 7 7;
35887                }
35888             }
35889             description { state: "pressed_middle" 0.0;
35890                inherit: "default" 0.0;
35891                visible: 1;
35892                image {
35893                   normal: "seg_middle_pressed.png";
35894                   border: 1 1 2 2;
35895                }
35896             }
35897             description { state: "selected_single" 0.0;
35898                inherit: "default" 0.0;
35899                visible: 1;
35900                image {
35901                   normal: "seg_single_selected.png";
35902                   border: 7 7 7 7;
35903                }
35904             }
35905             description { state: "selected_left" 0.0;
35906                inherit: "default" 0.0;
35907                visible: 1;
35908                image {
35909                   normal: "seg_left_selected.png";
35910                   border:  6 3 7 7;
35911                }
35912             }
35913             description { state: "selected_right" 0.0;
35914                inherit: "default" 0.0;
35915                visible: 1;
35916                image {
35917                   normal: "seg_right_selected.png";
35918                   border: 3 6 7 7;
35919                }
35920             }
35921             description { state: "selected_middle" 0.0;
35922                inherit: "default" 0.0;
35923                visible: 1;
35924                image {
35925                   normal: "seg_middle_selected.png";
35926                   border: 3 3 3 3;
35927                }
35928             }
35929          }
35930          part { name: "padding_left";
35931             type: RECT;
35932             scale: 1;
35933             mouse_events: 0;
35934             description { state: "default" 0.0;
35935                align: 0.0 0.0;
35936                rel1.relative: 0.0 0.0;
35937                rel2.relative: 0.0 1.0;
35938                min: 2 2;
35939                max: 2 2;
35940                fixed: 1 0;
35941                color: 0 0 0 0;
35942             }
35943          }
35944          part { name: "padding_right";
35945             type: RECT;
35946             scale: 1;
35947             mouse_events: 0;
35948             description { state: "default" 0.0;
35949                align: 1.0 0.0;
35950                rel1.relative: 1.0 0.0;
35951                rel2.relative: 1.0 1.0;
35952                min: 2 2;
35953                max: 2 2;
35954                fixed: 1 0;
35955                color: 0 0 0 0;
35956             }
35957          }
35958          part { name: "padding_top";
35959             type: RECT;
35960             scale: 1;
35961             mouse_events: 0;
35962             description { state: "default" 0.0;
35963                align: 0.0 0.0;
35964                rel1.relative: 0.0 0.0;
35965                rel2.relative: 1.0 0.0;
35966                min: 2 2;
35967                max: 2 2;
35968                fixed: 0 1;
35969                color: 0 0 0 0;
35970             }
35971          }
35972          part { name: "padding_bottom";
35973             type: RECT;
35974             scale: 1;
35975             mouse_events: 0;
35976             description { state: "default" 0.0;
35977                align: 1.0 1.0;
35978                rel1.relative: 0.0 1.0;
35979                rel2.relative: 1.0 1.0;
35980                min: 2 2;
35981                max: 2 2;
35982                fixed: 0 1;
35983                color: 0 0 0 0;
35984             }
35985          }
35986          part { name: "icon.bg";
35987             type: RECT;
35988             scale: 1;
35989             mouse_events: 0;
35990             description { state: "default" 0.0;
35991                visible: 1;
35992                fixed: 1 0;
35993                rel1 {
35994                   to_x: "padding_left";
35995                   to_y: "padding_top";
35996                   relative: 1.0 1.0;
35997                }
35998                rel2 {
35999                   to: "elm.swallow.icon";
36000                   relative: 1.0 1.0;
36001                }
36002                align: 0.0 0.5;
36003                color: 0 0 0 0;
36004             }
36005          }
36006          part { name: "padding_icon_text";
36007             type: RECT;
36008             scale: 1;
36009             mouse_events: 0;
36010             description { state: "default" 0.0; //when only icon or no icon is there
36011                align: 0.0 0.0;
36012                rel1 {
36013                   to: "icon.bg";
36014                   relative: 1.0 0.0;
36015                }
36016                rel2 {
36017                   to: "icon.bg";
36018                   relative: 1.0 1.0;
36019                }
36020                fixed: 1 0;
36021                min: 0 0;
36022                color: 0 0 0 0;
36023             }
36024             description { state: "icononly" 0.0;
36025                inherit: "default" 0.0;
36026             }
36027             description { state: "visible" 0.0; //when icon is visible
36028                inherit: "default" 0.0;
36029                min: 2 0;
36030             }
36031          }
36032          part { name: "elm.swallow.icon";
36033             type: SWALLOW;
36034             scale: 1;
36035             description { state: "default" 0.0;
36036                visible: 0;
36037                align: 0.0 0.5;
36038                rel1 {
36039                   to_x: "padding_left";
36040                   to_y: "padding_top";
36041                   relative: 1.0 1.0;
36042                }
36043                rel2 {
36044                   to_y: "padding_bottom";
36045                   relative: 0.0 0.0;
36046                }
36047                fixed: 1 0;
36048                aspect: 1.0 1.0;
36049                aspect_preference: BOTH;
36050             }
36051             description { state: "visible" 0.0;
36052                inherit: "default" 0.0;
36053                visible: 1;
36054                rel2 {
36055                   to_y: "padding_bottom";
36056                   relative: 0.3 0.0;
36057                }
36058             }
36059             description { state: "icononly" 0.0;
36060                inherit: "default" 0.0;
36061                visible: 1;
36062                rel2 {
36063                   to_x: "padding_right";
36064                   to_y: "padding_bottom";
36065                   relative: 0.0 0.0;
36066                }
36067                align: 0.5 0.5;
36068             }
36069          }
36070          part { name: "elm.text";
36071             type: TEXT;
36072             mouse_events: 0;
36073             scale: 1;
36074             description {
36075                state: "default" 0.0;
36076                visible: 0;
36077                fixed: 1 1;
36078                min: 1 1;
36079                rel1 {
36080                   to_x: "padding_icon_text";
36081                   relative: 1.0 1.0;
36082                }
36083                rel2 {
36084                   to_x: "padding_right";
36085                   relative: 0.0 0.0;
36086                }
36087                color: 224 224 224 255;
36088                color3: 0 0 0 64;
36089                text {
36090                   font: "Sans";
36091                   ellipsis: 0.0;
36092                   fit: 1 1;
36093                   size: 24;
36094                   size_range: 8 36;
36095                   min: 0 1;
36096                }
36097             }
36098             description { state: "normal" 0.0;
36099                inherit: "default" 0.0;
36100                visible: 1;
36101             }
36102             description { state: "pressed" 0.0;
36103                inherit: "default" 0.0;
36104                visible: 1;
36105                color: 0 0 0 255;
36106             }
36107             description { state: "selected" 0.0;
36108                inherit: "default" 0.0;
36109                visible: 1;
36110                color: 50 50 50 255;
36111             }
36112             description { state: "disabled" 0.0;
36113                inherit: "default" 0.0;
36114                visible: 1;
36115                color: 200 200 200 255;
36116             }
36117          }
36118          part { name: "disabler";
36119             repeat_events: 0;
36120             scale: 1;
36121             description { state: "default" 0.0;
36122                visible: 0;
36123                fixed: 1 1;
36124                min: 1 1;
36125                align: 0.0 0.5;
36126                rel1 { relative: 0.0 0.0; to: "segment";}
36127                rel2 { relative: 1.0 1.0; to: "segment";}
36128                color: 255 255 255 150;
36129             }
36130             description { state: "disabled_single" 0.0;
36131                inherit: "default" 0.0;
36132                visible: 1;
36133                image {
36134                   normal: "seg_single_normal.png";
36135                   border: 7 7 7 7;
36136                }
36137             }
36138             description { state: "disabled_left" 0.0;
36139                inherit: "default" 0.0;
36140                visible: 1;
36141                image {
36142                   normal: "seg_left_normal.png";
36143                   border:  6 1 7 7;
36144                }
36145             }
36146             description { state: "disabled_right" 0.0;
36147                inherit: "default" 0.0;
36148                visible: 1;
36149                image {
36150                   normal: "seg_right_normal.png";
36151                   border: 1 6 7 7;
36152                }
36153             }
36154             description { state: "disabled_middle" 0.0;
36155                inherit: "default" 0.0;
36156                visible: 1;
36157                image {
36158                   normal: "seg_middle_normal.png";
36159                   border: 2 2 2 2;
36160                }
36161             }
36162          }
36163       }
36164       programs {
36165          script {
36166             public seg_type; // Single, Left, Middle, Right.
36167             public seg_state; // Normal/Default, Pressed, Selected.
36168             public seg_status;// Enabled/Default, Disabled
36169
36170             public update_state() {
36171                new type, state, disabled;
36172                type = get_int(seg_type);
36173                state = get_int(seg_state);
36174                disabled = get_int(seg_status);
36175
36176                if(state == SEGMENT_STATE_NORMAL)
36177                  {
36178                     if(type == SEGMENT_TYPE_SINGLE)
36179                       set_state(PART:"segment", "default_single", 0.0);
36180                     else if(type == SEGMENT_TYPE_LEFT)
36181                       set_state(PART:"segment", "default_left", 0.0);
36182                     else if(type == SEGMENT_TYPE_MIDDLE)
36183                       set_state(PART:"segment", "default_middle", 0.0);
36184                     else if(type == SEGMENT_TYPE_RIGHT)
36185                       set_state(PART:"segment", "default_right", 0.0);
36186                     set_state(PART:"elm.text", "normal", 0.0);
36187                  }
36188                else if(state == SEGMENT_STATE_PRESSED)
36189                  {
36190                     if(type == SEGMENT_TYPE_SINGLE)
36191                       set_state(PART:"segment", "pressed_single", 0.0);
36192                     else if(type == SEGMENT_TYPE_LEFT)
36193                       set_state(PART:"segment", "pressed_left", 0.0);
36194                     else if(type == SEGMENT_TYPE_MIDDLE)
36195                       set_state(PART:"segment", "pressed_middle", 0.0);
36196                     else if(type == SEGMENT_TYPE_RIGHT)
36197                       set_state(PART:"segment", "pressed_right", 0.0);
36198                     set_state(PART:"elm.text", "pressed", 0.0);
36199                  }
36200                else if(state == SEGMENT_STATE_SELECTED)
36201                  {
36202                     if(type == SEGMENT_TYPE_SINGLE)
36203                       set_state(PART:"segment", "selected_single", 0.0);
36204                     else if(type == SEGMENT_TYPE_LEFT)
36205                       set_state(PART:"segment", "selected_left", 0.0);
36206                     else if(type == SEGMENT_TYPE_MIDDLE)
36207                       set_state(PART:"segment", "selected_middle", 0.0);
36208                     else if(type == SEGMENT_TYPE_RIGHT)
36209                       set_state(PART:"segment", "selected_right", 0.0);
36210                     set_state(PART:"elm.text", "selected", 0.0);
36211                  }
36212                if(disabled == SEGMENT_STATUS_DISABLED)
36213                  {
36214                     if(type == SEGMENT_TYPE_SINGLE)
36215                       set_state(PART:"disabler", "disabled_single", 0.0);
36216                     else if(type == SEGMENT_TYPE_LEFT)
36217                       set_state(PART:"disabler", "disabled_left", 0.0);
36218                     else if(type == SEGMENT_TYPE_MIDDLE)
36219                       set_state(PART:"disabler", "disabled_middle", 0.0);
36220                     else if(type == SEGMENT_TYPE_RIGHT)
36221                       set_state(PART:"disabler", "disabled_right", 0.0);
36222                     set_state(PART:"elm.text", "disabled", 0.0);
36223                  }
36224             }
36225          }
36226          program {
36227             name: "segment_type_s";
36228             signal: "elm,type,segment,single";
36229             source: "elm";
36230             script {
36231                set_int(seg_type, SEGMENT_TYPE_SINGLE);
36232                update_state();
36233             }
36234          }
36235          program {
36236             name: "segment_type_l";
36237             signal: "elm,type,segment,left";
36238             source: "elm";
36239             script {
36240                set_int(seg_type, SEGMENT_TYPE_LEFT);
36241                update_state();
36242             }
36243          }
36244          program {
36245             name: "segment_type_m";
36246             signal: "elm,type,segment,middle";
36247             source: "elm";
36248             script {
36249                set_int(seg_type, SEGMENT_TYPE_MIDDLE);
36250                update_state();
36251             }
36252          }
36253          program {
36254             name: "segment_type_r";
36255             signal: "elm,type,segment,right";
36256             source: "elm";
36257             script {
36258                set_int(seg_type, SEGMENT_TYPE_RIGHT);
36259                update_state();
36260             }
36261          }
36262          program {
36263             name: "normal_segment";
36264             signal: "elm,state,segment,normal";
36265             source: "elm";
36266             script {
36267                set_int(seg_state, SEGMENT_STATE_NORMAL);
36268                update_state();
36269             }
36270          }
36271          program {
36272             name: "pressed_segment";
36273             signal: "elm,state,segment,pressed";
36274             source: "elm";
36275             script {
36276                set_int(seg_state, SEGMENT_STATE_PRESSED);
36277                update_state();
36278             }
36279          }
36280          program {
36281             name: "selected_segment";
36282             signal: "elm,state,segment,selected";
36283             source: "elm";
36284             script {
36285                set_int(seg_state, SEGMENT_STATE_SELECTED);
36286                update_state();
36287             }
36288          }
36289          program { name: "disable_segment";
36290             signal: "elm,state,disabled";
36291             source: "elm";
36292             script {
36293                set_int(seg_status, SEGMENT_STATUS_DISABLED);
36294                update_state();
36295             }
36296          }
36297          program { name: "enable_segment";
36298             signal: "elm,state,enabled";
36299             source: "elm";
36300             script {
36301                set_int(seg_status, SEGMENT_STATUS_ENABLED);
36302                update_state();
36303             }
36304          }
36305          program { name: "text_show";
36306             signal: "elm,state,text,visible";
36307             source: "elm";
36308             script {
36309                new st[31];
36310                new Float:vl;
36311                get_state(PART:"elm.swallow.icon", st, 30, vl);
36312                if (!strcmp(st, "icononly"))
36313                  {
36314                     set_state(PART:"elm.swallow.icon", "visible", 0.0);
36315                     set_state(PART:"padding_icon_text", "visible", 0.0);
36316                  }
36317                get_state(PART:"elm.text", st, 30, vl);
36318                if (!strcmp(st, "selected"))
36319                   set_state(PART:"elm.text", "selected", 0.0);
36320                else
36321                   set_state(PART:"elm.text", "normal", 0.0);
36322             }
36323          }
36324          program { name: "text_hide";
36325             signal: "elm,state,text,hidden";
36326             source: "elm";
36327             script {
36328                new st[31];
36329                new Float:vl;
36330                get_state(PART:"elm.swallow.icon", st, 30, vl);
36331                if (!strcmp(st, "visible"))
36332                  {
36333                     set_state(PART:"elm.swallow.icon", "icononly", 0.0);
36334                     set_state(PART:"padding_icon_text", "icononly", 0.0);
36335                  }
36336                set_state(PART:"elm.text", "default", 0.0);
36337             }
36338          }
36339          program { name: "icon_show";
36340             signal: "elm,state,icon,visible";
36341             source: "elm";
36342             script {
36343                new st[31];
36344                new Float:vl;
36345                get_state(PART:"elm.text", st, 30, vl);
36346                if ((!strcmp(st, "normal")) || (!strcmp(st, "selected")))
36347                  {
36348                     set_state(PART:"elm.swallow.icon", "visible", 0.0);
36349                     set_state(PART:"padding_icon_text", "visible", 0.0);
36350                  }
36351                else
36352                  {
36353                     set_state(PART:"elm.swallow.icon", "icononly", 0.0);
36354                     set_state(PART:"padding_icon_text", "icononly", 0.0);
36355                  }
36356             }
36357          }
36358          program { name: "icon_hide";
36359             signal: "elm,state,icon,hidden";
36360             source: "elm";
36361             action:  STATE_SET "default" 0.0;
36362             target: "elm.swallow.icon";
36363          }
36364       }
36365 #undef SEGMENT_TYPE_SINGLE
36366 #undef SEGMENT_TYPE_LEFT
36367 #undef SEGMENT_TYPE_MIDDLE
36368 #undef SEGMENT_TYPE_RIGHT
36369 #undef SEGMENT_STATE_NORMAL
36370 #undef SEGMENT_STATE_PRESSED
36371 #undef SEGMENT_STATE_SELECTED
36372 #undef SEGMENT_STATUS_ENABLED
36373 #undef SEGMENT_STATUS_DISABLED
36374    }
36375
36376    /* a simple title layout, with a label and two icons */
36377    group { name: "elm/layout/application/titlebar";
36378       images {
36379          image: "toolbar_sel.png" COMP;
36380       }
36381       parts {
36382          part { name: "base";
36383             mouse_events: 0;
36384             scale: 1;
36385             description { state: "default" 0.0;
36386                min: 0 33;
36387                max: 99999 33;
36388                align: 0.5 0.0;
36389                rel1.offset: -1 0;
36390                rel2.offset: 1 0;
36391                image {
36392                   normal: "toolbar_sel.png";
36393                   border: 3 3 0 0;
36394                }
36395             }
36396          }
36397          part { name: "elm.swallow.content";
36398             type: SWALLOW;
36399             description { state: "default" 0.0;
36400                visible: 1;
36401                rel1 {
36402                   to: "base";
36403                   relative: 0.0 1.0;
36404                }
36405             }
36406          }
36407          part { name: "elm.swallow.icon";
36408             type: SWALLOW;
36409             scale: 1;
36410             description { state: "default" 0.0;
36411                visible: 0;
36412                fixed: 1 1;
36413                align: 0.0 0.0;
36414                rel1 {
36415                   to: "base";
36416                   relative: 0.0 0.0;
36417                   offset: 4 0;
36418                }
36419                rel2 {
36420                   to: "base";
36421                   relative: 0.0 1.0;
36422                }
36423             }
36424             description { state: "visible" 0.0;
36425                inherit: "default" 0.0;
36426                visible: 1;
36427             }
36428          }
36429          part { name: "elm.swallow.end";
36430             type: SWALLOW;
36431             scale: 1;
36432             description { state: "default" 0.0;
36433                visible: 0;
36434                fixed: 1 1;
36435                align: 1.0 0.0;
36436                rel1 {
36437                   to: "base";
36438                   relative: 1.0 0.0;
36439                   offset: 0 0;
36440                }
36441                rel2 {
36442                   to: "base";
36443                   relative: 1.0 1.0;
36444                   offset: -5 -1;
36445                }
36446             }
36447             description { state: "visible" 0.0;
36448                inherit: "default" 0.0;
36449                visible: 1;
36450             }
36451          }
36452          part { name: "elm.text";
36453             type: TEXT;
36454             effect: SOFT_SHADOW;
36455             mouse_events: 0;
36456             scale: 1;
36457             description { state: "default" 0.0;
36458                fixed: 1 1;
36459                rel1 {
36460                   to_x: "elm.swallow.icon";
36461                   to_y: "base";
36462                   relative: 1.0 0.0;
36463                }
36464                rel2 {
36465                   to_x: "elm.swallow.end";
36466                   to_y: "base";
36467                   relative: 0.0 1.0;
36468                }
36469                text {
36470                   font: "Sans";
36471                   size: 12;
36472                   min: 0 0;
36473                   align: 0.5 0.5;
36474                   text_class: "title_bar";
36475                }
36476             }
36477          }
36478       }
36479       programs {
36480          program { name: "show_icon";
36481             signal: "elm,state,icon,visible";
36482             source: "elm";
36483             action: STATE_SET "visible" 0.0;
36484             target: "elm.swallow.icon";
36485          }
36486          program { name: "hide_icon";
36487             signal: "elm,state,icon,hidden";
36488             source: "elm";
36489             action: STATE_SET "default" 0.0;
36490             target: "elm.swallow.icon";
36491          }
36492          program { name: "show_end";
36493             signal: "elm,state,end,visible";
36494             source: "elm";
36495             action: STATE_SET "visible" 0.0;
36496             target: "elm.swallow.end";
36497          }
36498          program { name: "hide_end";
36499             signal: "elm,state,end,hidden";
36500             source: "elm";
36501             action: STATE_SET "default" 0.0;
36502             target: "elm.swallow.end";
36503          }
36504       }
36505    }
36506 }