From: cnook <kimcinoo@gmail.com>
[framework/uifw/elementary.git] / data / themes / default.edc
1 // LICENSE NOTE:
2 // This file (and only this one) is licenses under public-domain. The reason
3 // is that this is meant to serve as a template for making your own themes and
4 // Elementary's LGPL license is not intended to follow. The images used do come
5 // under LGPL, but this file specifically for the structure of your theme is
6 // public-domain. This means you can take, use, re-license and otherwise
7 // have zero restrictions on using this file as a base for your theme.
8
9 externals.external: "elm";
10
11 collections {
12
13 ///////////////////////////////////////////////////////////////////////////////
14    group { name: "elm/focus_highlight/top/default";
15       images {
16          image: "emo-unhappy.png" COMP;
17       }
18
19       data {
20          item: "animate" "on";
21       }
22
23       script {
24          public s_x, s_y, s_w, s_h; /* source */
25          public difx, dify, difw, difh;
26          public rot_dir;
27
28          public animator1(val, Float:pos) {
29             new x, y, w, h, dx, dy, dw, dh, Float:rot;
30
31             dx = round(float_mul(float(get_int(difx)), pos));
32             x = get_int(s_x) + dx;
33             dy = round(float_mul(float(get_int(dify)), pos));
34             y = get_int(s_y) + dy;
35             dw = round(float_mul(float(get_int(difw)), pos));
36             w = get_int(s_w) + dw;
37             dy = round(float_mul(float(get_int(difh)), pos));
38             h = get_int(s_h) + dh;
39
40             update_offset(x, y, w, h);
41
42             rot = 360.0 * pos * float(get_int(rot_dir));
43             set_state_val(PART:"shine", STATE_MAP_ROT_Z, rot);
44
45             if (pos >= 1.0) {
46                emit("elm,action,focus,anim,end", "");
47                set_state(PART:"shine", "default", 0.0);
48             }
49          }
50
51          public update_offset(x, y, w, h) {
52             new x1, y1, x2, y2;
53             x1 = x + w - 15;
54             y1 = y - 15;
55             x2 = x + w + 14;
56             y2 = y + 14;
57             set_state_val(PART:"shine", STATE_REL1_OFFSET, x1, y1);
58             set_state_val(PART:"shine", STATE_REL2_OFFSET, x2, y2);
59          }
60
61          public message(Msg_Type:type, id, ...) {
62             if ((type == MSG_INT_SET) && (id == 1)) {
63                new x1, y1, w1, h1;
64                new x2, y2, w2, h2;
65                new px1, px2, py1, py2;
66                new rd;
67
68                x1 = getarg(2);
69                y1 = getarg(3);
70                w1 = getarg(4);
71                h1 = getarg(5);
72                x2 = getarg(6);
73                y2 = getarg(7);
74                w2 = getarg(8);
75                h2 = getarg(9);
76
77                set_int(s_x, x1);
78                set_int(s_y, y1);
79                set_int(s_w, w1);
80                set_int(s_h, h1);
81                set_int(difx, x2 - x1);
82                set_int(dify, y2 - y1);
83                set_int(difw, w2 - w1);
84                set_int(difh, h2 - h1);
85
86                px1 = x1 + w1;
87                px2 = x2 + w2;
88                py1 = y1 + h1;
89                py2 = y2 + h2;
90                if (px2 > px1) {
91                   rd = 1;
92                } else if (px1 > px2) {
93                   rd = -1;
94                } else {
95                   if (py2 > py1) {
96                      rd = 1;
97                   } else {
98                      rd = -1;
99                   }
100                }
101                set_int(rot_dir, rd);
102
103                custom_state(PART:"shine", "default", 0.0);
104                set_state_val(PART:"shine", STATE_REL1, 0.0, 0.0);
105                set_state_val(PART:"shine", STATE_REL2, 0.0, 0.0);
106                set_state_val(PART:"shine", STATE_MAP_ON, 1);
107                set_state_val(PART:"shine", STATE_MAP_ROT_Z, 0.0);
108                update_offset(x1, y1, w1, h1);
109                set_state(PART:"shine", "custom", 0.0);
110
111                anim(0.2, "animator1", 1);
112             }
113          }
114       }
115
116       parts {
117          part { name: "base";
118             type: RECT;
119             repeat_events: 1;
120             description { state: "default" 0.0;
121                rel1.relative: 0.0 0.0;
122                rel2.relative: 1.0 1.0;
123                visible: 0;
124             }
125          }
126          part { name: "shine";
127             type: IMAGE;
128             mouse_events: 1;
129             repeat_events: 1;
130             ignore_flags: ON_HOLD;
131             description { state: "default" 0.0;
132                image {
133                   normal: "emo-unhappy.png";
134                }
135                rel1.to: "base";
136                rel1.relative: 1.0 0.0;
137                rel1.offset: -15 -15;
138                rel2.to: "base";
139                rel2.relative: 1.0 0.0;
140                rel2.offset: 14 14;
141             }
142             description { state: "disabled" 0.0;
143                inherit:  "default" 0.0;
144                color: 0 0 0 0;
145             }
146          }
147
148          program { name: "show";
149             signal: "elm,action,focus,show";
150             source: "elm";
151             action: ACTION_STOP;
152             target: "hide";
153             target: "hide_start";
154             target: "hide_end";
155             after: "show_start";
156          }
157          program { name: "show_start";
158             action:  STATE_SET "default" 0.0;
159             transition: LINEAR 0.2;
160             target: "shine";
161             after: "show_end";
162          }
163          program { name: "show_end";
164             action: SIGNAL_EMIT "elm,action,focus,show,end" "";
165          }
166          program { name: "hide";
167             signal: "elm,action,focus,hide";
168             source: "elm";
169             action: ACTION_STOP;
170             target: "show";
171             target: "show_start";
172             target: "show_end";
173             after: "hide_start";
174          }
175          program { name: "hide_start";
176             action:  STATE_SET "disabled" 0.0;
177             transition: LINEAR 0.2;
178             target: "shine";
179             after: "hide_end";
180          }
181          program { name: "hide_end";
182             action: SIGNAL_EMIT "elm,action,focus,hide,end" "";
183          }
184       }
185    }
186
187 ///////////////////////////////////////////////////////////////////////////////
188    group { name: "elm/focus_highlight/bottom/default";
189       parts {
190          part { name: "shine";
191             type: RECT;
192             mouse_events: 1;
193             repeat_events: 1;
194             ignore_flags: ON_HOLD;
195             description { state: "default" 0.0;
196                color: 0 255 0 50;
197                rel1.offset: 0 0;
198                rel2.offset: 0 0;
199             }
200             description { state: "disabled" 0.0;
201                inherit:  "default" 0.0;
202                color: 0 0 0 0;
203             }
204          }
205
206          program { name: "show";
207             signal: "elm,action,focus,show";
208             source: "elm";
209             action: ACTION_STOP;
210             target: "hide";
211             target: "hide_start";
212             target: "hide_end";
213             after: "show_start";
214          }
215          program { name: "show_start";
216             action:  STATE_SET "default" 0.0;
217             transition: LINEAR 0.2;
218             target: "shine";
219             after: "show_end";
220          }
221          program { name: "show_end";
222             action: SIGNAL_EMIT "elm,action,focus,show,end" "";
223          }
224          program { name: "hide";
225             signal: "elm,action,focus,hide";
226             source: "elm";
227             action: ACTION_STOP;
228             target: "show";
229             target: "show_start";
230             target: "show_end";
231             after: "hide_start";
232          }
233          program { name: "hide_start";
234             action:  STATE_SET "disabled" 0.0;
235             transition: LINEAR 0.2;
236             target: "shine";
237             after: "hide_end";
238          }
239          program { name: "hide_end";
240             action: SIGNAL_EMIT "elm,action,focus,hide,end" "";
241          }
242       }
243    }
244
245 ///////////////////////////////////////////////////////////////////////////////
246    group { name: "elm/bg/base/default";
247       images {
248          image: "dia_grad.png" COMP;
249          image: "dia_topshad.png" COMP;
250          image: "dia_botshad.png" COMP;
251       }
252       parts {
253          part { name: "base";
254             mouse_events:  0;
255             description { state: "default" 0.0;
256                image.normal: "dia_grad.png";
257                fill {
258                   smooth: 0;
259                   size {
260                      relative: 0.0 1.0;
261                      offset: 64 0;
262                   }
263                }
264             }
265          }
266          part { name: "elm.swallow.rectangle";
267             type: SWALLOW;
268             description { state: "default" 0.0;
269             }
270          }
271          part { name: "elm.swallow.background";
272             type: SWALLOW;
273             description { state: "default" 0.0;
274             }
275          }
276          part { name: "shadow";
277             mouse_events:  0;
278             description { state: "default" 0.0;
279                rel2.relative: 1.0 0.0;
280                rel2.offset: -1 31;
281                image.normal: "dia_topshad.png";
282                fill {
283                   smooth: 0;
284                   size {
285                      relative: 0.0 1.0;
286                      offset: 64 0;
287                   }
288                }
289             }
290          }
291          part { name: "shadow2";
292             mouse_events:  0;
293             description { state: "default" 0.0;
294                rel1.relative: 0.0 1.0;
295                rel1.offset: 0 -9;
296                image.normal: "dia_botshad.png";
297                fill {
298                   smooth: 0;
299                   size {
300                      relative: 0.0 1.0;
301                      offset: 64 0;
302                   }
303                }
304             }
305          }
306          part { name: "elm.swallow.content";
307             type: SWALLOW;
308             description { state: "default" 0.0;
309             }
310          }
311       }
312    }
313
314 ///////////////////////////////////////////////////////////////////////////////
315    group { name: "elm/scroller/base/default";
316
317       alias: "elm/list/base/default";
318       alias: "elm/genlist/base/default";
319       alias: "elm/carousel/base/default";
320       alias: "elm/gengrid/base/default";
321       alias: "elm/scroller/base/map_bubble";
322
323       data {
324          item: "focus_highlight" "on";
325       }
326
327       script {
328          public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
329          public timer0(val) {
330             new v;
331             v = get_int(sbvis_v);
332             if (v) {
333                v = get_int(sbalways_v);
334                if (!v) {
335                   emit("do-hide-vbar", "");
336                   set_int(sbvis_v, 0);
337                }
338             }
339             v = get_int(sbvis_h);
340             if (v) {
341                v = get_int(sbalways_h);
342                if (!v) {
343                   emit("do-hide-hbar", "");
344                   set_int(sbvis_h, 0);
345                }
346             }
347             set_int(sbvis_timer, 0);
348             return 0;
349          }
350       }
351       images {
352          image: "shelf_inset.png" COMP;
353          image: "bt_sm_base2.png" COMP;
354          image: "bt_sm_shine.png" COMP;
355          image: "bt_sm_hilight.png" COMP;
356          image: "sl_bt2_2.png" COMP;
357       }
358       parts {
359          part { name: "bg";
360             type: RECT;
361             description { state: "default" 0.0;
362                rel1.offset: 2 2;
363                rel2.offset: -3 -3;
364                color: 255 255 255 0;
365             }
366          }
367          part { name: "clipper";
368             type: RECT;
369             mouse_events: 0;
370             description { state: "default" 0.0;
371                rel1.to: "bg";
372                rel2.to: "bg";
373                rel1.offset: 2 2;
374                rel2.offset: -3 -3;
375             }
376          }
377          part { name: "elm.swallow.content";
378             clip_to: "clipper";
379             type: SWALLOW;
380             description { state: "default" 0.0;
381                rel1.to: "bg";
382                rel2.to: "bg";
383                rel1.offset: 2 2;
384                rel2.offset: -3 -3;
385             }
386          }
387          part { name: "conf_over";
388             mouse_events:  0;
389             description { state: "default" 0.0;
390                rel1.to: "bg";
391                rel2.to: "bg";
392                image {
393                   normal: "shelf_inset.png";
394                   border: 7 7 7 7;
395                   middle: 0;
396                }
397                fill.smooth : 0;
398             }
399             description { state: "enabled" 0.0;
400                inherit: "default" 0.0;
401                color: 200 155 0 255;
402             }
403          }
404          part { name: "focus_highlight";
405             mouse_events: 0;
406             description { state: "default" 0.0;
407                rel1.offset: -1 -1;
408                rel2.offset: 0 0;
409                image {
410                   normal: "sl_bt2_2.png";
411                   border: 7 7 7 7;
412                   middle: 0;
413                }
414                fill.smooth : 0;
415                color: 200 155 0 0;
416             }
417             description { state: "enabled" 0.0;
418                inherit: "default" 0.0;
419                color: 200 155 0 255;
420             }
421          }
422          part { name: "sb_vbar_clip_master";
423             type: RECT;
424             mouse_events: 0;
425             description { state: "default" 0.0;
426             }
427             description { state: "hidden" 0.0;
428                visible: 0;
429                color: 255 255 255 0;
430             }
431          }
432          part { name: "sb_vbar_clip";
433             clip_to: "sb_vbar_clip_master";
434             type: RECT;
435             mouse_events: 0;
436             description { state: "default" 0.0;
437             }
438             description { state: "hidden" 0.0;
439                visible: 0;
440                color: 255 255 255 0;
441             }
442          }
443          part { name: "sb_vbar";
444             type: RECT;
445             mouse_events: 0;
446             description { state: "default" 0.0;
447                fixed: 1 1;
448                visible: 0;
449                min: 10 17;
450                align: 1.0 0.0;
451                rel1 {
452                   relative: 1.0 0.0;
453                   offset:   0 2;
454                   to_y:     "elm.swallow.content";
455                   to_x:     "elm.swallow.content";
456                }
457                rel2 {
458                   relative: 1.0 0.0;
459                   offset:   -1 -1;
460                   to_y:     "sb_hbar";
461                   to_x:     "elm.swallow.content";
462                }
463             }
464          }
465          part { name: "elm.dragable.vbar";
466             clip_to: "sb_vbar_clip";
467             mouse_events: 0;
468             dragable {
469                x: 0 0 0;
470                y: 1 1 0;
471                confine: "sb_vbar";
472             }
473             description { state: "default" 0.0;
474                fixed: 1 1;
475                min: 10 17;
476                max: 10 99999;
477                rel1 {
478                   relative: 0.5  0.5;
479                   offset:   0    0;
480                   to: "sb_vbar";
481                }
482                rel2 {
483                   relative: 0.5  0.5;
484                   offset:   0    0;
485                   to: "sb_vbar";
486                }
487                image {
488                   normal: "bt_sm_base2.png";
489                   border: 6 6 6 6;
490                   middle: SOLID;
491                }
492             }
493          }
494          part { name: "sb_vbar_over1";
495             clip_to: "sb_vbar_clip";
496             mouse_events: 0;
497             description { state: "default" 0.0;
498                rel1.to: "elm.dragable.vbar";
499                rel2.relative: 1.0 0.5;
500                rel2.to: "elm.dragable.vbar";
501                image {
502                   normal: "bt_sm_hilight.png";
503                   border: 6 6 6 0;
504                }
505             }
506          }
507          part { name: "sb_vbar_over2";
508             clip_to: "sb_vbar_clip";
509             mouse_events: 0;
510             description { state: "default" 0.0;
511                rel1.to: "elm.dragable.vbar";
512                rel2.to: "elm.dragable.vbar";
513                image {
514                   normal: "bt_sm_shine.png";
515                   border: 6 6 6 0;
516                }
517             }
518          }
519
520          part { name: "sb_hbar_clip_master";
521             type: RECT;
522             mouse_events: 0;
523             description { state: "default" 0.0;
524             }
525             description { state: "hidden" 0.0;
526                visible: 0;
527                color: 255 255 255 0;
528             }
529          }
530          part { name: "sb_hbar_clip";
531             clip_to: "sb_hbar_clip_master";
532             type: RECT;
533             mouse_events: 0;
534             description { state: "default" 0.0;
535             }
536             description { state: "hidden" 0.0;
537                visible: 0;
538                color: 255 255 255 0;
539             }
540          }
541          part { name: "sb_hbar";
542             type: RECT;
543             mouse_events: 0;
544             description { state: "default" 0.0;
545                fixed: 1 1;
546                visible: 0;
547                min: 17 10;
548                align: 0.0 1.0;
549                rel1 {
550                   relative: 0.0 1.0;
551                   offset:   2 0;
552                   to_x:     "elm.swallow.content";
553                   to_y:     "elm.swallow.content";
554                }
555                rel2 {
556                   relative: 0.0 1.0;
557                   offset:   -1 -1;
558                   to_x:     "sb_vbar";
559                   to_y:     "elm.swallow.content";
560                }
561             }
562          }
563          part { name: "elm.dragable.hbar";
564             clip_to: "sb_hbar_clip";
565             mouse_events: 0;
566             dragable {
567                x: 1 1 0;
568                y: 0 0 0;
569                confine: "sb_hbar";
570             }
571             description { state: "default" 0.0;
572                fixed: 1 1;
573                min: 17 10;
574                max: 99999 10;
575                rel1 {
576                   relative: 0.5  0.5;
577                   offset:   0    0;
578                   to: "sb_hbar";
579                }
580                rel2 {
581                   relative: 0.5  0.5;
582                   offset:   0    0;
583                   to: "sb_hbar";
584                }
585                image {
586                   normal: "bt_sm_base2.png";
587                   border: 4 4 4 4;
588                   middle: SOLID;
589                }
590             }
591          }
592          part { name: "sb_hbar_over1";
593             clip_to: "sb_hbar_clip";
594             mouse_events: 0;
595             description { state: "default" 0.0;
596                rel1.to: "elm.dragable.hbar";
597                rel2.relative: 1.0 0.5;
598                rel2.to: "elm.dragable.hbar";
599                image {
600                   normal: "bt_sm_hilight.png";
601                   border: 4 4 4 0;
602                }
603             }
604          }
605          part { name: "sb_hbar_over2";
606             clip_to: "sb_hbar_clip";
607             mouse_events: 0;
608             description { state: "default" 0.0;
609                rel1.to: "elm.dragable.hbar";
610                rel2.to: "elm.dragable.hbar";
611                image {
612                   normal: "bt_sm_shine.png";
613                   border: 4 4 4 0;
614                }
615             }
616          }
617           part { name: "disabler";
618             type: RECT;
619             description { state: "default" 0.0;
620                rel1.to: "clipper";
621                rel2.to: "clipper";
622                color: 0 0 0 0;
623                visible: 0;
624             }
625             description { state: "disabled" 0.0;
626                inherit: "default" 0.0;
627                visible: 1;
628                color: 128 128 128 128;
629             }
630          }
631       }
632       programs {
633          program { name: "load";
634             signal: "load";
635             source: "";
636             script {
637                set_state(PART:"sb_hbar_clip", "hidden", 0.0);
638                set_state(PART:"sb_vbar_clip", "hidden", 0.0);
639                set_int(sbvis_h, 0);
640                set_int(sbvis_v, 0);
641                set_int(sbalways_v, 0);
642                set_int(sbalways_h, 0);
643                set_int(sbvis_timer, 0);
644             }
645          }
646
647          program { name: "vbar_show";
648             signal: "elm,action,show,vbar";
649             source: "elm";
650             action:  STATE_SET "default" 0.0;
651             target: "sb_vbar_clip_master";
652          }
653          program { name: "vbar_hide";
654             signal: "elm,action,hide,vbar";
655             source: "elm";
656             action:  STATE_SET "hidden" 0.0;
657             target: "sb_vbar_clip_master";
658          }
659          program { name: "vbar_show_always";
660             signal: "elm,action,show_always,vbar";
661             source: "elm";
662             script {
663                new v;
664                v = get_int(sbvis_v);
665                v |= get_int(sbalways_v);
666                if (!v) {
667                   set_int(sbalways_v, 1);
668                   emit("do-show-vbar", "");
669                   set_int(sbvis_v, 1);
670                }
671             }
672          }
673          program { name: "vbar_show_notalways";
674             signal: "elm,action,show_notalways,vbar";
675             source: "elm";
676             script {
677                new v;
678                v = get_int(sbalways_v);
679                if (v) {
680                   set_int(sbalways_v, 0);
681                   v = get_int(sbvis_v);
682                   if (!v) {
683                      emit("do-hide-vbar", "");
684                      set_int(sbvis_v, 0);
685                   }
686                }
687             }
688          }
689          program { name: "sb_vbar_show";
690             signal: "do-show-vbar";
691             source: "";
692             action:  STATE_SET "default" 0.0;
693             transition: LINEAR 0.5;
694             target: "sb_vbar_clip";
695          }
696          program { name: "sb_vbar_hide";
697             signal: "do-hide-vbar";
698             source: "";
699             action:  STATE_SET "hidden" 0.0;
700             transition: LINEAR 0.5;
701             target: "sb_vbar_clip";
702          }
703
704          program { name: "hbar_show";
705             signal: "elm,action,show,hbar";
706             source: "elm";
707             action:  STATE_SET "default" 0.0;
708             target: "sb_hbar_clip_master";
709          }
710          program { name: "hbar_hide";
711             signal: "elm,action,hide,hbar";
712             source: "elm";
713             action:  STATE_SET "hidden" 0.0;
714             target: "sb_hbar_clip_master";
715          }
716          program { name: "hbar_show_always";
717             signal: "elm,action,show_always,hbar";
718             source: "elm";
719             script {
720                new v;
721                v = get_int(sbvis_h);
722                v |= get_int(sbalways_h);
723                if (!v) {
724                   set_int(sbalways_h, 1);
725                   emit("do-show-hbar", "");
726                   set_int(sbvis_h, 1);
727                }
728             }
729          }
730          program { name: "hbar_show_notalways";
731             signal: "elm,action,show_notalways,hbar";
732             source: "elm";
733             script {
734                new v;
735                v = get_int(sbalways_h);
736                if (v) {
737                   set_int(sbalways_h, 0);
738                   v = get_int(sbvis_h);
739                   if (!v) {
740                      emit("do-hide-hbar", "");
741                      set_int(sbvis_h, 0);
742                   }
743                }
744             }
745          }
746          program { name: "sb_hbar_show";
747             signal: "do-show-hbar";
748             source: "";
749             action:  STATE_SET "default" 0.0;
750             transition: LINEAR 0.5;
751             target: "sb_hbar_clip";
752          }
753          program { name: "sb_hbar_hide";
754             signal: "do-hide-hbar";
755             source: "";
756             action:  STATE_SET "hidden" 0.0;
757             transition: LINEAR 0.5;
758             target: "sb_hbar_clip";
759          }
760
761          program { name: "scroll";
762             signal: "elm,action,scroll";
763             source: "elm";
764             script {
765                new v;
766                v = get_int(sbvis_v);
767                v |= get_int(sbalways_v);
768                if (!v) {
769                   emit("do-show-vbar", "");
770                   set_int(sbvis_v, 1);
771                }
772                v = get_int(sbvis_h);
773                v |= get_int(sbalways_h);
774                if (!v) {
775                   emit("do-show-hbar", "");
776                   set_int(sbvis_h, 1);
777                }
778                v = get_int(sbvis_timer);
779                if (v > 0) cancel_timer(v);
780                v = timer(1.0, "timer0", 0);
781                set_int(sbvis_timer, v);
782             }
783          }
784
785          program { name: "highlight_show";
786             signal: "elm,action,focus_highlight,show";
787             source: "elm";
788             action: STATE_SET "enabled" 0.0;
789             transition: ACCELERATE 0.3;
790             target: "focus_highlight";
791             target: "conf_over";
792          }
793          program { name: "highlight_hide";
794             signal: "elm,action,focus_highlight,hide";
795             source: "elm";
796             action: STATE_SET "default" 0.0;
797             transition: DECELERATE 0.3;
798             target: "focus_highlight";
799             target: "conf_over";
800          }
801          program { name: "disable";
802             signal: "elm,state,disabled";
803             source: "elm";
804             action: STATE_SET "disabled" 0.0;
805             target: "disabler";
806          }
807          program { name: "enable";
808             signal: "elm,state,enabled";
809             source: "elm";
810             action: STATE_SET "default" 0.0;
811             target: "disabler";
812          }
813       }
814    }
815
816 ///////////////////////////////////////////////////////////////////////////////
817    group { name: "elm/scroller/entry/default";
818
819       data {
820          item: "focus_highlight" "on";
821       }
822
823       script {
824          public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
825          public timer0(val) {
826             new v;
827             v = get_int(sbvis_v);
828             if (v) {
829                v = get_int(sbalways_v);
830                if (!v) {
831                   emit("do-hide-vbar", "");
832                   set_int(sbvis_v, 0);
833                }
834             }
835             v = get_int(sbvis_h);
836             if (v) {
837                v = get_int(sbalways_h);
838                if (!v) {
839                   emit("do-hide-hbar", "");
840                   set_int(sbvis_h, 0);
841                }
842             }
843             set_int(sbvis_timer, 0);
844             return 0;
845          }
846       }
847       images {
848          image: "shelf_inset.png" COMP;
849          image: "bt_sm_base2.png" COMP;
850          image: "bt_sm_shine.png" COMP;
851          image: "bt_sm_hilight.png" COMP;
852          image: "sl_bt2_2.png" COMP;
853       }
854       parts {
855          part { name: "bg";
856             type: RECT;
857             description { state: "default" 0.0;
858                rel1.offset: 2 2;
859                rel2.offset: -3 -3;
860             }
861          }
862          part { name: "clipper";
863             type: RECT;
864             mouse_events: 0;
865             description { state: "default" 0.0;
866                rel1.to: "bg";
867                rel2.to: "bg";
868                rel1.offset: 2 2;
869                rel2.offset: -3 -3;
870             }
871          }
872          part { name: "contentclipper";
873             type: RECT;
874             mouse_events: 0;
875             clip_to: "clipper";
876             description { state: "default" 0.0;
877                rel1.to: "elm.swallow.icon";
878                rel1.relative: 1.0 0.0;
879                rel2.to: "elm.swallow.end";
880                rel2.relative: 0.0 1.0;
881             }
882          }
883          part { name: "elm.swallow.icon";
884             type: SWALLOW;
885             clip_to: "clipper";
886             description { state: "default" 0.0;
887                fixed: 1 1;
888                rel1 {
889                   to: "bg";
890                   relative: 0.0 0.0;
891                   offset: 0 0;
892                }
893                rel2 {
894                   to: "bg";
895                   relative: 0.0 1.0;
896                   offset: -1 -1;
897                }
898                visible: 0;
899             }
900             description { state: "visible" 0.0;
901                fixed: 1 1;
902                align: 0.0 1.0;
903                rel1 {
904                          to: "bg";
905                          relative: 0.0 0.0;
906                          offset: 0 0;
907                }
908                rel2 {
909                   to: "bg";
910                   relative: 0.0 1.0;
911                   offset: -1 -1;
912                }
913                visible: 1;
914             }
915          }
916          part { name: "elm.swallow.end";
917             type: SWALLOW;
918             clip_to: "clipper";
919             description { state: "default" 0.0;
920                fixed: 1 1;
921                rel1 {
922                   to: "bg";
923                   relative: 1.0 0.0;
924                   offset: 0 0;
925                }
926                rel2 {
927                   to: "bg";
928                   relative: 1.0 1.0;
929                   offset: -1 -1;
930                }
931                visible: 0;
932             }
933             description { state: "visible" 0.0;
934                fixed: 1 1;
935                align: 1.0 1.0;
936                rel1 {
937                   to: "bg";
938                   relative: 1.0 0.0;
939                   offset: 0 0;
940                }
941                rel2 {
942                   to: "bg";
943                   relative: 1.0 1.0;
944                   offset: -1 -1;
945                }
946                visible: 1;
947             }
948          }
949          part { name: "elm.swallow.content";
950             clip_to: "contentclipper";
951             type: SWALLOW;
952             description { state: "default" 0.0;
953                rel1 {
954                        to: "elm.swallow.icon";
955                        relative: 1.0 0.0;
956                        offset: 4 4;
957                }
958                rel2 {
959                 to: "elm.swallow.end";
960                 relative: 0.0 1.0;
961                 offset: -5 -5;
962                }
963             }
964          }
965          part { name: "conf_over";
966             mouse_events:  0;
967             description { state: "default" 0.0;
968                rel1.to: "bg";
969                rel2.to: "bg";
970                image {
971                   normal: "shelf_inset.png";
972                   border: 7 7 7 7;
973                   middle: 0;
974                }
975                fill.smooth : 0;
976             }
977             description { state: "enabled" 0.0;
978                inherit: "default" 0.0;
979                color: 200 155 0 255;
980             }
981          }
982          part { name: "focus_highlight";
983             mouse_events: 0;
984             description { state: "default" 0.0;
985                rel1.offset: -1 -1;
986                rel2.offset: 0 0;
987                image {
988                   normal: "sl_bt2_2.png";
989                   border: 7 7 7 7;
990                   middle: 0;
991                }
992                fill.smooth : 0;
993                color: 200 155 0 0;
994             }
995             description { state: "enabled" 0.0;
996                inherit: "default" 0.0;
997                color: 200 155 0 255;
998             }
999          }
1000          part { name: "sb_vbar_clip_master";
1001             type: RECT;
1002             mouse_events: 0;
1003             description { state: "default" 0.0;
1004             }
1005             description { state: "hidden" 0.0;
1006                visible: 0;
1007                color: 255 255 255 0;
1008             }
1009          }
1010          part { name: "sb_vbar_clip";
1011             clip_to: "sb_vbar_clip_master";
1012             type: RECT;
1013             mouse_events: 0;
1014             description { state: "default" 0.0;
1015             }
1016             description { state: "hidden" 0.0;
1017                visible: 0;
1018                color: 255 255 255 0;
1019             }
1020          }
1021          part { name: "sb_vbar";
1022             type: RECT;
1023             mouse_events: 0;
1024             description { state: "default" 0.0;
1025                fixed: 1 1;
1026                visible: 0;
1027                min: 10 17;
1028                align: 1.0 0.0;
1029                rel1 {
1030                   relative: 0.0 0.0;
1031                   offset:   -2 2;
1032                   to_y:     "elm.swallow.content";
1033                   to_x:     "elm.swallow.end";
1034                }
1035                rel2 {
1036                   relative: 0.0 0.0;
1037                   offset:   -2 -1;
1038                   to_y:     "sb_hbar";
1039                   to_x:     "elm.swallow.end";
1040                }
1041             }
1042          }
1043          part { name: "elm.dragable.vbar";
1044             clip_to: "sb_vbar_clip";
1045             mouse_events: 0;
1046             dragable {
1047                x: 0 0 0;
1048                y: 1 1 0;
1049                confine: "sb_vbar";
1050             }
1051             description { state: "default" 0.0;
1052                fixed: 1 1;
1053                min: 10 17;
1054                max: 10 99999;
1055                rel1 {
1056                   relative: 0.5  0.5;
1057                   offset:   0    0;
1058                   to: "sb_vbar";
1059                }
1060                rel2 {
1061                   relative: 0.5  0.5;
1062                   offset:   0    0;
1063                   to: "sb_vbar";
1064                }
1065                image {
1066                   normal: "bt_sm_base2.png";
1067                   border: 6 6 6 6;
1068                   middle: SOLID;
1069                }
1070             }
1071          }
1072          part { name: "sb_vbar_over1";
1073             clip_to: "sb_vbar_clip";
1074             mouse_events: 0;
1075             description { state: "default" 0.0;
1076                rel1.to: "elm.dragable.vbar";
1077                rel2.relative: 1.0 0.5;
1078                rel2.to: "elm.dragable.vbar";
1079                image {
1080                   normal: "bt_sm_hilight.png";
1081                   border: 6 6 6 0;
1082                }
1083             }
1084          }
1085          part { name: "sb_vbar_over2";
1086             clip_to: "sb_vbar_clip";
1087             mouse_events: 0;
1088             description { state: "default" 0.0;
1089                rel1.to: "elm.dragable.vbar";
1090                rel2.to: "elm.dragable.vbar";
1091                image {
1092                   normal: "bt_sm_shine.png";
1093                   border: 6 6 6 0;
1094                }
1095             }
1096          }
1097
1098          part { name: "sb_hbar_clip_master";
1099             type: RECT;
1100             mouse_events: 0;
1101             description { state: "default" 0.0;
1102             }
1103             description { state: "hidden" 0.0;
1104                visible: 0;
1105                color: 255 255 255 0;
1106             }
1107          }
1108          part { name: "sb_hbar_clip";
1109             clip_to: "sb_hbar_clip_master";
1110             type: RECT;
1111             mouse_events: 0;
1112             description { state: "default" 0.0;
1113             }
1114             description { state: "hidden" 0.0;
1115                visible: 0;
1116                color: 255 255 255 0;
1117             }
1118          }
1119          part { name: "sb_hbar";
1120             type: RECT;
1121             mouse_events: 0;
1122             description { state: "default" 0.0;
1123                fixed: 1 1;
1124                visible: 0;
1125                min: 17 10;
1126                align: 0.0 1.0;
1127                rel1 {
1128                   relative: 0.0 1.0;
1129                   offset:   2 0;
1130                   to_x:     "elm.swallow.content";
1131                   to_y:     "elm.swallow.content";
1132                }
1133                rel2 {
1134                   relative: 0.0 1.0;
1135                   offset:   -1 -1;
1136                   to_x:     "sb_vbar";
1137                   to_y:     "elm.swallow.content";
1138                }
1139             }
1140          }
1141          part { name: "elm.dragable.hbar";
1142             clip_to: "sb_hbar_clip";
1143             mouse_events: 0;
1144             dragable {
1145                x: 1 1 0;
1146                y: 0 0 0;
1147                confine: "sb_hbar";
1148             }
1149             description { state: "default" 0.0;
1150                fixed: 1 1;
1151                min: 17 10;
1152                max: 99999 10;
1153                rel1 {
1154                   relative: 0.5  0.5;
1155                   offset:   0    0;
1156                   to: "sb_hbar";
1157                }
1158                rel2 {
1159                   relative: 0.5  0.5;
1160                   offset:   0    0;
1161                   to: "sb_hbar";
1162                }
1163                image {
1164                   normal: "bt_sm_base2.png";
1165                   border: 4 4 4 4;
1166                   middle: SOLID;
1167                }
1168             }
1169          }
1170          part { name: "sb_hbar_over1";
1171             clip_to: "sb_hbar_clip";
1172             mouse_events: 0;
1173             description { state: "default" 0.0;
1174                rel1.to: "elm.dragable.hbar";
1175                rel2.relative: 1.0 0.5;
1176                rel2.to: "elm.dragable.hbar";
1177                image {
1178                   normal: "bt_sm_hilight.png";
1179                   border: 4 4 4 0;
1180                }
1181             }
1182          }
1183          part { name: "sb_hbar_over2";
1184             clip_to: "sb_hbar_clip";
1185             mouse_events: 0;
1186             description { state: "default" 0.0;
1187                rel1.to: "elm.dragable.hbar";
1188                rel2.to: "elm.dragable.hbar";
1189                image {
1190                   normal: "bt_sm_shine.png";
1191                   border: 4 4 4 0;
1192                }
1193             }
1194          }
1195       }
1196       programs {
1197          program { name: "load";
1198             signal: "load";
1199             source: "";
1200             script {
1201                set_state(PART:"sb_hbar_clip", "hidden", 0.0);
1202                set_state(PART:"sb_vbar_clip", "hidden", 0.0);
1203                set_int(sbvis_h, 0);
1204                set_int(sbvis_v, 0);
1205                set_int(sbalways_v, 0);
1206                set_int(sbalways_h, 0);
1207                set_int(sbvis_timer, 0);
1208             }
1209          }
1210          program { name: "icon_show";
1211             signal: "elm,action,show,icon";
1212             source: "elm";
1213             action: STATE_SET "visible" 0.0;
1214             target: "elm.swallow.icon";
1215          }
1216          program { name: "icon_hide";
1217             signal: "elm,action,hide,icon";
1218             source: "elm";
1219             action: STATE_SET "default" 0.0;
1220             target: "elm.swallow.icon";
1221          }
1222          program { name: "end_show";
1223             signal: "elm,action,show,end";
1224             source: "elm";
1225             action: STATE_SET "visible" 0.0;
1226             target: "elm.swallow.end";
1227          }
1228          program { name: "end_hide";
1229             signal: "elm,action,hide,end";
1230             source: "elm";
1231             action: STATE_SET "default" 0.0;
1232             target: "elm.swallow.end";
1233          }
1234          program { name: "vbar_show";
1235             signal: "elm,action,show,vbar";
1236             source: "elm";
1237             action:  STATE_SET "default" 0.0;
1238             target: "sb_vbar_clip_master";
1239          }
1240          program { name: "vbar_hide";
1241             signal: "elm,action,hide,vbar";
1242             source: "elm";
1243             action:  STATE_SET "hidden" 0.0;
1244             target: "sb_vbar_clip_master";
1245          }
1246          program { name: "vbar_show_always";
1247             signal: "elm,action,show_always,vbar";
1248             source: "elm";
1249             script {
1250                new v;
1251                v = get_int(sbvis_v);
1252                v |= get_int(sbalways_v);
1253                if (!v) {
1254                   set_int(sbalways_v, 1);
1255                   emit("do-show-vbar", "");
1256                   set_int(sbvis_v, 1);
1257                }
1258             }
1259          }
1260          program { name: "vbar_show_notalways";
1261             signal: "elm,action,show_notalways,vbar";
1262             source: "elm";
1263             script {
1264                new v;
1265                v = get_int(sbalways_v);
1266                if (v) {
1267                   set_int(sbalways_v, 0);
1268                   v = get_int(sbvis_v);
1269                   if (!v) {
1270                      emit("do-hide-vbar", "");
1271                      set_int(sbvis_v, 0);
1272                   }
1273                }
1274             }
1275          }
1276          program { name: "sb_vbar_show";
1277             signal: "do-show-vbar";
1278             source: "";
1279             action:  STATE_SET "default" 0.0;
1280             transition: LINEAR 0.5;
1281             target: "sb_vbar_clip";
1282          }
1283          program { name: "sb_vbar_hide";
1284             signal: "do-hide-vbar";
1285             source: "";
1286             action:  STATE_SET "hidden" 0.0;
1287             transition: LINEAR 0.5;
1288             target: "sb_vbar_clip";
1289          }
1290
1291          program { name: "hbar_show";
1292             signal: "elm,action,show,hbar";
1293             source: "elm";
1294             action:  STATE_SET "default" 0.0;
1295             target: "sb_hbar_clip_master";
1296          }
1297          program { name: "hbar_hide";
1298             signal: "elm,action,hide,hbar";
1299             source: "elm";
1300             action:  STATE_SET "hidden" 0.0;
1301             target: "sb_hbar_clip_master";
1302          }
1303          program { name: "hbar_show_always";
1304             signal: "elm,action,show_always,hbar";
1305             source: "elm";
1306             script {
1307                new v;
1308                v = get_int(sbvis_h);
1309                v |= get_int(sbalways_h);
1310                if (!v) {
1311                   set_int(sbalways_h, 1);
1312                   emit("do-show-hbar", "");
1313                   set_int(sbvis_h, 1);
1314                }
1315             }
1316          }
1317          program { name: "hbar_show_notalways";
1318             signal: "elm,action,show_notalways,hbar";
1319             source: "elm";
1320             script {
1321                new v;
1322                v = get_int(sbalways_h);
1323                if (v) {
1324                   set_int(sbalways_h, 0);
1325                   v = get_int(sbvis_h);
1326                   if (!v) {
1327                      emit("do-hide-hbar", "");
1328                      set_int(sbvis_h, 0);
1329                   }
1330                }
1331             }
1332          }
1333          program { name: "sb_hbar_show";
1334             signal: "do-show-hbar";
1335             source: "";
1336             action:  STATE_SET "default" 0.0;
1337             transition: LINEAR 0.5;
1338             target: "sb_hbar_clip";
1339          }
1340          program { name: "sb_hbar_hide";
1341             signal: "do-hide-hbar";
1342             source: "";
1343             action:  STATE_SET "hidden" 0.0;
1344             transition: LINEAR 0.5;
1345             target: "sb_hbar_clip";
1346          }
1347
1348          program { name: "scroll";
1349             signal: "elm,action,scroll";
1350             source: "elm";
1351             script {
1352                new v;
1353                v = get_int(sbvis_v);
1354                v |= get_int(sbalways_v);
1355                if (!v) {
1356                   emit("do-show-vbar", "");
1357                   set_int(sbvis_v, 1);
1358                }
1359                v = get_int(sbvis_h);
1360                v |= get_int(sbalways_h);
1361                if (!v) {
1362                   emit("do-show-hbar", "");
1363                   set_int(sbvis_h, 1);
1364                }
1365                v = get_int(sbvis_timer);
1366                if (v > 0) cancel_timer(v);
1367                v = timer(1.0, "timer0", 0);
1368                set_int(sbvis_timer, v);
1369             }
1370          }
1371
1372          program { name: "highlight_show";
1373             signal: "elm,action,focus_highlight,show";
1374             source: "elm";
1375             action: STATE_SET "enabled" 0.0;
1376             transition: ACCELERATE 0.3;
1377             target: "focus_highlight";
1378             target: "conf_over";
1379          }
1380          program { name: "highlight_hide";
1381             signal: "elm,action,focus_highlight,hide";
1382             source: "elm";
1383             action: STATE_SET "default" 0.0;
1384             transition: DECELERATE 0.3;
1385             target: "focus_highlight";
1386             target: "conf_over";
1387          }
1388       }
1389    }
1390
1391 ///////////////////////////////////////////////////////////////////////////////
1392 #define TEXT_SLIDE_DURATION     10
1393
1394    group { name: "elm/label/base/default";
1395       data.item: "default_font_size" "10";
1396       data.item: "min_font_size" "6";
1397       data.item: "max_font_size" "60";
1398       styles {
1399          style { name: "textblock_style";
1400             base: "font=Sans font_size=10 color=#000 wrap=word text_class=label";
1401             tag:  "br" "\n";
1402             tag:  "ps" "ps";
1403             tag:  "hilight" "+ font=Sans:style=Bold";
1404             tag:  "b" "+ font=Sans:style=Bold";
1405             tag:  "tab" "\t";
1406            }
1407         }
1408       parts {
1409          part { name: "label.swallow.background";
1410             type: SWALLOW;
1411             description { state: "default" 0.0;
1412                visible: 1;
1413             }
1414          }
1415          part { name: "label.text.clip";
1416             type: RECT;
1417             description { state: "default" 0.0;
1418                rel1 { relative: 0 0; to: "label.swallow.background"; }
1419                rel2 { relative: 1 1; to: "label.swallow.background"; }
1420             }
1421          }
1422          part { name: "elm.text";
1423             type: TEXTBLOCK;
1424             mouse_events: 0;
1425             scale: 1;
1426             clip_to: "label.text.clip";
1427             description { state: "default" 0.0;
1428                rel1.relative: 0.0 0.0;
1429                rel2.relative: 1.0 1.0;
1430                text {
1431                   style: "textblock_style";
1432                   min: 1 1;
1433                }
1434             }
1435          }
1436       }
1437    }
1438
1439    group { name: "elm/label/base_wrap/default";
1440       data.item: "default_font_size" "10";
1441       data.item: "min_font_size" "6";
1442       data.item: "max_font_size" "60";
1443       parts {
1444          part { name: "label.swallow.background";
1445             type: SWALLOW;
1446             description { state: "default" 0.0;
1447                visible: 1;
1448                rel1 { relative: 0 0; to: "elm.text"; }
1449                rel2 { relative: 1 1; to: "elm.text"; }
1450             }
1451          }
1452          part { name: "elm.text";
1453             type: TEXTBLOCK;
1454             mouse_events: 0;
1455             scale: 1;
1456             description { state: "default" 0.0;
1457                text {
1458                   style: "textblock_style";
1459                   min: 0 1;
1460                }
1461             }
1462          }
1463       }
1464    }
1465
1466    group { name: "elm/label/base_wrap_ellipsis/default";
1467       data.item: "default_font_size" "10";
1468       data.item: "min_font_size" "6";
1469       data.item: "max_font_size" "60";
1470       parts {
1471          part { name: "label.swallow.background";
1472             type: SWALLOW;
1473             description { state: "default" 0.0;
1474                visible: 1;
1475                rel1 { relative: 0 0; to: "elm.text"; }
1476                rel2 { relative: 1 1; to: "elm.text"; }
1477             }
1478          }
1479          part { name: "elm.text";
1480             type: TEXTBLOCK;
1481             mouse_events: 0;
1482             scale: 1;
1483             multiline: 1;
1484             description { state: "default" 0.0;
1485                fixed: 0 1;
1486                text {
1487                   style: "textblock_style";
1488                   min: 0 1;
1489                }
1490             }
1491          }
1492       }
1493    }
1494
1495    group { name: "elm/label/base/marker";
1496       data.item: "default_font_size" "10";
1497       data.item: "min_font_size" "6";
1498       data.item: "max_font_size" "60";
1499       styles {
1500          style { name: "textblock_style2";
1501            base: "font=Sans:style=Bold font_size=10 align=center color=#fff wrap=word text_class=label";
1502            tag:  "br" "\n";
1503            tag:  "ps" "ps";
1504            tag:  "hilight" "+ color=#ffff";
1505            tag:  "b" "+ color=#ffff";
1506            tag:  "tab" "\t";
1507          }
1508       }
1509       parts {
1510          part { name: "label.swallow.background";
1511             type: SWALLOW;
1512             description { state: "default" 0.0;
1513                visible: 1;
1514                rel1 { relative: 0 0; to: "elm.text"; }
1515                rel2 { relative: 1 1; to: "elm.text"; }
1516             }
1517          }
1518          part { name: "elm.text";
1519             type: TEXTBLOCK;
1520             mouse_events: 0;
1521             scale: 1;
1522             description { state: "default" 0.0;
1523                text {
1524                   style: "textblock_style2";
1525                   min: 1 1;
1526                }
1527             }
1528          }
1529       }
1530    }
1531
1532    group { name: "elm/label/base_wrap/marker";
1533       data.item: "default_font_size" "10";
1534       data.item: "min_font_size" "6";
1535       data.item: "max_font_size" "60";
1536       parts {
1537          part { name: "label.swallow.background";
1538             type: SWALLOW;
1539             description { state: "default" 0.0;
1540                visible: 1;
1541                rel1 { relative: 0 0; to: "elm.text"; }
1542                rel2 { relative: 1 1; to: "elm.text"; }
1543             }
1544          }
1545          part { name: "elm.text";
1546             type: TEXTBLOCK;
1547             mouse_events: 0;
1548             scale: 1;
1549             description { state: "default" 0.0;
1550                text {
1551                   style: "textblock_style2";
1552                   min: 0 1;
1553                }
1554             }
1555          }
1556       }
1557    }
1558
1559    group { name: "elm/label/base/slide_long";
1560       data.item: "default_font_size" "10";
1561       data.item: "min_font_size" "6";
1562       data.item: "max_font_size" "60";
1563
1564       script {
1565         public g_duration, g_stopslide, g_timer_id, g_anim_id;
1566
1567         public message(Msg_Type:type, id, ...) {
1568            if ((type == MSG_FLOAT_SET) && (id == 0)) {
1569               new Float:duration;
1570               duration = getarg(2);
1571               set_float(g_duration, duration);
1572            }
1573         }
1574         public slide_to_end_anim(val, Float:pos) {
1575            new stopflag;
1576            new id;
1577            stopflag = get_int(g_stopslide);
1578            if (stopflag == 1) return;
1579            set_tween_state(PART:"elm.text", pos, "slide_begin", 0.0, "slide_end", 0.0);
1580            if (pos >= 1.0) {
1581               id = timer(0.5, "slide_to_begin", 1);
1582               set_int(g_timer_id, id);
1583            }
1584         }
1585         public slide_to_end() {
1586            new stopflag;
1587            new id;
1588            new Float:duration;
1589            stopflag = get_int(g_stopslide);
1590            if (stopflag == 1) return;
1591            duration = get_float(g_duration);
1592            id = anim(duration, "slide_to_end_anim", 1);
1593            set_int(g_anim_id, id);
1594         }
1595         public slide_to_begin() {
1596            new stopflag;
1597            new id;
1598            stopflag = get_int(g_stopslide);
1599            if (stopflag == 1) return;
1600            set_state(PART:"elm.text", "slide_begin", 0.0);
1601            id = timer(0.5, "slide_to_end", 1);
1602            set_int(g_timer_id, id);
1603         }
1604         public start_slide() {
1605            set_int(g_stopslide, 0);
1606            set_state(PART:"elm.text", "slide_begin", 0.0);
1607            slide_to_end();
1608         }
1609         public stop_slide() {
1610            new id;
1611            set_int(g_stopslide, 1);
1612            id = get_int(g_anim_id);
1613            cancel_anim(id);
1614            id = get_int(g_timer_id);
1615            cancel_timer(id);
1616            set_state(PART:"elm.text", "default", 0.0);
1617         }
1618       }
1619
1620       parts {
1621          part { name: "label.swallow.background";
1622             type: SWALLOW;
1623             description { state: "default" 0.0;
1624                visible: 1;
1625             }
1626          }
1627          part { name: "label.text.clip";
1628             type: RECT;
1629             description { state: "default" 0.0;
1630                visible: 1;
1631                color: 255 255 255 255;
1632                rel1 { relative: 0 0; to: "label.swallow.background"; }
1633                rel2 { relative: 1 1; to: "label.swallow.background"; }
1634             }
1635          }
1636          part { name: "elm.text";
1637             type: TEXTBLOCK;
1638             mouse_events: 0;
1639             scale: 1;
1640             clip_to: "label.text.clip";
1641             description { state: "default" 0.0;
1642                rel1.relative: 0.0 0.0;
1643                rel2.relative: 1.0 1.0;
1644                align: 0.0 0.0;
1645                text {
1646                   style: "textblock_style";
1647                   min: 1 1;
1648                }
1649             }
1650             description { state: "slide_end" 0.0;
1651                inherit: "default" 0.0;
1652                rel1.relative: 0.0 0.0;
1653                rel2.relative: 0.0 1.0;
1654                align: 1.0 0.0;
1655             }
1656             description { state: "slide_begin" 0.0;
1657                inherit: "default" 0.0;
1658                rel1.relative: 1.0 0.0;
1659                rel2.relative: 1.0 1.0;
1660                align: 0.0 0.0;
1661             }
1662          }
1663        }
1664        programs {
1665           program { name: "start_slide";
1666              source: "elm";
1667              signal: "elm,state,slide,start";
1668              script
1669                {
1670                   start_slide();
1671                }
1672           }
1673           program { name: "stop_slide";
1674              source: "elm";
1675              signal: "elm,state,slide,stop";
1676              script
1677                {
1678                   stop_slide();
1679                }
1680           }
1681        }
1682    }
1683
1684
1685    group { name: "elm/label/base/slide_short";
1686       data.item: "default_font_size" "10";
1687       data.item: "min_font_size" "6";
1688       data.item: "max_font_size" "60";
1689
1690       script {
1691          public g_duration, g_stopslide, g_timer_id, g_anim_id;
1692
1693          public message(Msg_Type:type, id, ...) {
1694             if ((type == MSG_FLOAT_SET) && (id == 0)) {
1695                new Float:duration;
1696                duration = getarg(2);
1697                set_float(g_duration, duration);
1698             }
1699          }
1700          public slide_to_end_anim(val, Float:pos) {
1701             new stopflag;
1702             new id;
1703             stopflag = get_int(g_stopslide);
1704             if (stopflag == 1) return;
1705             set_tween_state(PART:"elm.text", pos, "slide_begin", 0.0, "slide_end", 0.0);
1706             if (pos >= 1.0) {
1707                id = timer(0.5, "slide_to_begin", 1);
1708                set_int(g_timer_id, id);
1709             }
1710          }
1711          public slide_to_end() {
1712             new stopflag;
1713             new id;
1714             new Float:duration;
1715             stopflag = get_int(g_stopslide);
1716             if (stopflag == 1) return;
1717             duration = get_float(g_duration);
1718             id = anim(duration, "slide_to_end_anim", 1);
1719             set_int(g_anim_id, id);
1720          }
1721          public slide_to_begin() {
1722             new stopflag;
1723             new id;
1724             stopflag = get_int(g_stopslide);
1725             if (stopflag == 1) return;
1726             set_state(PART:"elm.text", "slide_begin", 0.0);
1727             id = timer(0.5, "slide_to_end", 1);
1728             set_int(g_timer_id, id);
1729          }
1730          public start_slide() {
1731             set_int(g_stopslide, 0);
1732             set_state(PART:"elm.text", "slide_begin", 0.0);
1733             slide_to_end();
1734          }
1735          public stop_slide() {
1736             new id;
1737             set_int(g_stopslide, 1);
1738             id = get_int(g_anim_id);
1739             cancel_anim(id);
1740             id = get_int(g_timer_id);
1741             cancel_timer(id);
1742             set_state(PART:"elm.text", "default", 0.0);
1743          }
1744       }
1745
1746       parts {
1747          part { name: "label.swallow.background";
1748             type: SWALLOW;
1749             description { state: "default" 0.0;
1750                visible: 1;
1751             }
1752          }
1753          part { name: "label.text.clip";
1754             type: RECT;
1755             description { state: "default" 0.0;
1756                visible: 1;
1757                color: 255 255 255 255;
1758                rel1 { relative: 0 0; to: "label.swallow.background"; }
1759                rel2 { relative: 1 1; to: "label.swallow.background"; }
1760             }
1761          }
1762          part { name: "elm.text";
1763             type: TEXTBLOCK;
1764             mouse_events: 0;
1765             scale: 1;
1766             clip_to: "label.text.clip";
1767             description { state: "default" 0.0;
1768                rel1.relative: 0.0 0.0;
1769                rel2.relative: 1.0 1.0;
1770                align: 0.0 0.0;
1771                text {
1772                   style: "textblock_style";
1773                   min: 1 1;
1774                }
1775             }
1776             description { state: "slide_end" 0.0;
1777                inherit: "default" 0.0;
1778                rel1.relative: 1.0 0.0;
1779                rel2.relative: 1.0 1.0;
1780                align: 1.0 0.0;
1781             }
1782             description { state: "slide_begin" 0.0;
1783                inherit: "default" 0.0;
1784                rel1.relative: 0.0 0.0;
1785                rel2.relative: 0.0 1.0;
1786                align: 0.0 0.0;
1787             }
1788          }
1789       }
1790       programs {
1791          program { name: "start_slide";
1792             source: "elm";
1793             signal: "elm,state,slide,start";
1794             script
1795               {
1796                  start_slide();
1797               }
1798          }
1799          program { name: "stop_slide";
1800             source: "elm";
1801             signal: "elm,state,slide,stop";
1802             script
1803               {
1804                  stop_slide();
1805               }
1806          }
1807       }
1808    }
1809
1810    group { name: "elm/label/base/slide_bounce";
1811       data.item: "default_font_size" "10";
1812       data.item: "min_font_size" "6";
1813       data.item: "max_font_size" "60";
1814
1815       script {
1816          public g_duration, g_stopslide, g_timer_id, g_anim_id;
1817
1818          public message(Msg_Type:type, id, ...) {
1819             if ((type == MSG_FLOAT_SET) && (id == 0)) {
1820                new Float:duration;
1821                duration = getarg(2);
1822                set_float(g_duration, duration);
1823             }
1824          }
1825          public slide_to_end_anim(val, Float:pos) {
1826             new stopflag;
1827             new id;
1828             stopflag = get_int(g_stopslide);
1829             if (stopflag == 1) return;
1830             set_tween_state(PART:"elm.text", pos, "slide_begin", 0.0, "slide_end", 0.0);
1831             if (pos >= 1.0) {
1832                id = timer(0.5, "slide_to_begin", 1);
1833                set_int(g_timer_id, id);
1834             }
1835          }
1836          public slide_to_end() {
1837             new stopflag;
1838             new id;
1839             new Float:duration;
1840             stopflag = get_int(g_stopslide);
1841             if (stopflag == 1) return;
1842             duration = get_float(g_duration);
1843             id = anim(duration, "slide_to_end_anim", 1);
1844             set_int(g_anim_id, id);
1845          }
1846          public slide_to_begin_anim(val, Float:pos) {
1847             new stopflag;
1848             new id;
1849             stopflag = get_int(g_stopslide);
1850             if (stopflag == 1) return;
1851             set_tween_state(PART:"elm.text", pos, "slide_end", 0.0, "slide_begin", 0.0);
1852             if (pos >= 1.0) {
1853                id = timer(0.5, "slide_to_end", 1);
1854                set_int(g_timer_id, id);
1855             }
1856          }
1857          public slide_to_begin() {
1858             new stopflag;
1859             new id;
1860             new Float:duration;
1861             stopflag = get_int(g_stopslide);
1862             if (stopflag == 1) return;
1863             duration = get_float(g_duration);
1864             id = anim(duration, "slide_to_begin_anim", 1);
1865             set_int(g_anim_id, id);
1866          }
1867          public start_slide() {
1868             set_int(g_stopslide, 0);
1869             set_state(PART:"elm.text", "slide_begin", 0.0);
1870             slide_to_end();
1871          }
1872          public stop_slide() {
1873             new id;
1874             set_int(g_stopslide, 1);
1875             id = get_int(g_anim_id);
1876             cancel_anim(id);
1877             id = get_int(g_timer_id);
1878             cancel_timer(id);
1879             set_state(PART:"elm.text", "default", 0.0);
1880          }
1881       }
1882
1883       parts {
1884          part { name: "label.swallow.background";
1885             type: SWALLOW;
1886             description { state: "default" 0.0;
1887                visible: 1;
1888             }
1889          }
1890          part { name: "label.text.clip";
1891             type: RECT;
1892             description { state: "default" 0.0;
1893                visible: 1;
1894                color: 255 255 255 255;
1895                rel1 { relative: 0 0; to: "label.swallow.background"; }
1896                rel2 { relative: 1 1; to: "label.swallow.background"; }
1897             }
1898          }
1899          part { name: "elm.text";
1900             type: TEXTBLOCK;
1901             mouse_events: 0;
1902             scale: 1;
1903             clip_to: "label.text.clip";
1904             description { state: "default" 0.0;
1905                rel1.relative: 0.0 0.0;
1906                rel2.relative: 1.0 1.0;
1907                align: 0.0 0.0;
1908                text {
1909                   style: "textblock_style";
1910                   min: 1 1;
1911                }
1912             }
1913             description { state: "slide_end" 0.0;
1914                inherit: "default" 0.0;
1915                rel1.relative: 1.0 0.0;
1916                rel2.relative: 1.0 1.0;
1917                align: 1.0 0.0;
1918             }
1919             description { state: "slide_begin" 0.0;
1920                inherit: "default" 0.0;
1921                rel1.relative: 0.0 0.0;
1922                rel2.relative: 0.0 1.0;
1923                align: 0.0 0.0;
1924             }
1925          }
1926       }
1927       programs {
1928          program { name: "start_slide";
1929             source: "elm";
1930             signal: "elm,state,slide,start";
1931             script
1932               {
1933                  start_slide();
1934               }
1935          }
1936          program { name: "stop_slide";
1937             source: "elm";
1938             signal: "elm,state,slide,stop";
1939             script
1940               {
1941                  stop_slide();
1942               }
1943          }
1944       }
1945    }
1946
1947
1948 ///////////////////////////////////////////////////////////////////////////////
1949
1950    group { name: "elm/button/base/default";
1951       images {
1952          image: "bt_base1.png" COMP;
1953          image: "bt_base2.png" COMP;
1954          image: "bt_hilight.png" COMP;
1955          image: "bt_shine.png" COMP;
1956          image: "bt_glow.png" COMP;
1957          image: "bt_dis_base.png" COMP;
1958          image: "bt_dis_hilight.png" COMP;
1959       }
1960       parts {
1961          part { name: "button_image";
1962             mouse_events: 1;
1963             description { state: "default" 0.0;
1964                min: 15 15;
1965                image {
1966                   normal: "bt_base2.png";
1967                   border: 7 7 7 7;
1968                }
1969                image.middle: SOLID;
1970             }
1971             description { state: "clicked" 0.0;
1972                inherit: "default" 0.0;
1973                image.normal: "bt_base1.png";
1974             }
1975             description { state: "disabled" 0.0;
1976                inherit:  "default" 0.0;
1977                image {
1978                   normal: "bt_dis_base.png";
1979                   border: 4 4 4 4;
1980                }
1981             }
1982          }
1983          part { name: "elm.swallow.content";
1984             type: SWALLOW;
1985             description { state: "default" 0.0;
1986                fixed: 1 0;
1987                visible: 0;
1988                align: 0.0 0.5;
1989                rel1.offset: 4 4;
1990                rel2.offset: 3 -5;
1991                rel2.relative: 0.0 1.0;
1992             }
1993             description { state: "visible" 0.0;
1994                inherit: "default" 0.0;
1995                fixed: 1 0;
1996                visible: 1;
1997                aspect: 1.0 1.0;
1998 //               aspect_preference: VERTICAL;
1999                rel2.offset: 4 -5;
2000             }
2001             description { state: "icononly" 0.0;
2002                inherit: "default" 0.0;
2003                fixed: 0 0;
2004                visible: 1;
2005                align: 0.5 0.5;
2006 //               aspect: 1.0 1.0;
2007                rel2.offset: -5 -5;
2008                rel2.relative: 1.0 1.0;
2009 //               aspect_preference: VERTICAL;
2010             }
2011          }
2012          part {
2013             name:          "elm.text";
2014             type:          TEXT;
2015             effect:        SOFT_SHADOW;
2016             mouse_events:  0;
2017             scale: 1;
2018             description { state: "default" 0.0;
2019                visible: 0;
2020                rel1.to_x: "elm.swallow.content";
2021                rel1.relative: 1.0 0.0;
2022                rel1.offset: 0 4;
2023                rel2.offset: -5 -5;
2024                color: 224 224 224 255;
2025                color3: 0 0 0 64;
2026                text {
2027                   font:     "Sans,Edje-Vera";
2028                   size:     10;
2029                   min:      0 0;
2030                   align:    0.5 0.5;
2031                   text_class: "button";
2032                }
2033             }
2034             description { state: "visible" 0.0;
2035                inherit: "default" 0.0;
2036                visible: 1;
2037                text.min: 1 1;
2038             }
2039             description { state: "disabled" 0.0;
2040                inherit: "default" 0.0;
2041                color: 0 0 0 128;
2042                color3: 0 0 0 0;
2043             }
2044             description { state: "disabled_visible" 0.0;
2045                inherit: "default" 0.0;
2046                color: 0 0 0 128;
2047                color3: 0 0 0 0;
2048                visible: 1;
2049                text.min: 1 1;
2050             }
2051          }
2052          part {          name: "over1";
2053             mouse_events: 0;
2054             description { state: "default" 0.0;
2055                rel2.relative: 1.0 0.5;
2056                image {
2057                   normal: "bt_hilight.png";
2058                   border: 7 7 7 0;
2059                }
2060             }
2061             description { state: "disabled" 0.0;
2062                inherit:  "default" 0.0;
2063                image {
2064                   normal: "bt_dis_hilight.png";
2065                   border: 4 4 4 0;
2066                }
2067             }
2068          }
2069          part { name: "over2";
2070             mouse_events: 1;
2071             repeat_events: 1;
2072             ignore_flags: ON_HOLD;
2073             description { state: "default" 0.0;
2074                image {
2075                   normal: "bt_shine.png";
2076                   border: 7 7 7 7;
2077                }
2078             }
2079             description { state: "disabled" 0.0;
2080                inherit:  "default" 0.0;
2081                visible: 0;
2082             }
2083          }
2084          part { name: "over3";
2085             mouse_events: 1;
2086             repeat_events: 1;
2087             description { state: "default" 0.0;
2088                color: 255 255 255 0;
2089                image {
2090                   normal: "bt_glow.png";
2091                   border: 12 12 12 12;
2092                }
2093                fill.smooth : 0;
2094             }
2095             description { state: "clicked" 0.0;
2096                inherit:  "default" 0.0;
2097                color: 255 255 255 255;
2098             }
2099          }
2100           part { name: "disabler";
2101             type: RECT;
2102             description { state: "default" 0.0;
2103                color: 0 0 0 0;
2104                visible: 0;
2105             }
2106             description { state: "disabled" 0.0;
2107                inherit: "default" 0.0;
2108                visible: 1;
2109             }
2110          }
2111       }
2112       programs {
2113          program {
2114             name:   "button_click";
2115             signal: "mouse,down,1";
2116             source: "over2";
2117             action: SIGNAL_EMIT "elm,action,press" "";
2118             after: "button_click_anim";
2119          }
2120          program {
2121             name:   "button_click_anim";
2122             action: STATE_SET "clicked" 0.0;
2123             target: "button_image";
2124          }
2125          program {
2126             name:   "button_unclick";
2127             signal: "mouse,up,1";
2128             source: "over3";
2129             action: SIGNAL_EMIT "elm,action,unpress" "";
2130             after: "button_unclick_anim";
2131          }
2132          program {
2133             name:   "button_pressed_anim";
2134             signal: "elm,anim,activate";
2135             source: "elm";
2136             action: STATE_SET "clicked" 0.0;
2137             target: "button_image";
2138             target: "over3";
2139             after: "button_unpressed_anim";
2140          }
2141          program {
2142             name:   "button_unpressed_anim";
2143             action: STATE_SET "default" 0.0;
2144             transition: DECELERATE 0.5;
2145             target: "button_image";
2146             target: "over3";
2147          }
2148          program {
2149             name:   "button_unclick_anim";
2150             action: STATE_SET "default" 0.0;
2151             target: "button_image";
2152          }
2153          program {
2154             name:   "button_click2";
2155             signal: "mouse,down,1";
2156             source: "over3";
2157             action: STATE_SET "clicked" 0.0;
2158             target: "over3";
2159          }
2160          program {
2161             name:   "button_unclick2";
2162             signal: "mouse,up,1";
2163             source: "over3";
2164             action: STATE_SET "default" 0.0;
2165             transition: DECELERATE 0.5;
2166             target: "over3";
2167          }
2168          program {
2169             name:   "button_unclick3";
2170             signal: "mouse,clicked,1";
2171             source: "over2";
2172             action: SIGNAL_EMIT "elm,action,click" "";
2173          }
2174          program { name: "text_show";
2175             signal: "elm,state,text,visible";
2176             source: "elm";
2177             script {
2178                new st[31];
2179                new Float:vl;
2180                get_state(PART:"elm.swallow.content", st, 30, vl);
2181                if (!strcmp(st, "icononly"))
2182                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2183                set_state(PART:"elm.text", "visible", 0.0);
2184             }
2185          }
2186          program { name: "text_hide";
2187             signal: "elm,state,text,hidden";
2188             source: "elm";
2189             script {
2190                new st[31];
2191                new Float:vl;
2192                get_state(PART:"elm.swallow.content", st, 30, vl);
2193                if (!strcmp(st, "visible"))
2194                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2195                set_state(PART:"elm.text", "default", 0.0);
2196             }
2197          }
2198          program { name: "icon_show";
2199             signal: "elm,state,icon,visible";
2200             source: "elm";
2201             script {
2202                new st[31];
2203                new Float:vl;
2204                get_state(PART:"elm.text", st, 30, vl);
2205                if (!strcmp(st, "visible"))
2206                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2207                else
2208                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2209             }
2210          }
2211          program { name: "icon_hide";
2212             signal: "elm,state,icon,hidden";
2213             source: "elm";
2214             action:  STATE_SET "default" 0.0;
2215             target: "elm.swallow.content";
2216          }
2217          program { name: "disable";
2218             signal: "elm,state,disabled";
2219             source: "elm";
2220             action: STATE_SET "disabled" 0.0;
2221             target: "button_image";
2222             target: "over1";
2223             target: "over2";
2224             target: "disabler";
2225             after: "disable_text";
2226          }
2227          program { name: "disable_text";
2228             script {
2229                new st[31];
2230                new Float:vl;
2231                get_state(PART:"elm.text", st, 30, vl);
2232                if (!strcmp(st, "visible"))
2233                  set_state(PART:"elm.text", "disabled_visible", 0.0);
2234                else
2235                  set_state(PART:"elm.text", "disabled", 0.0);
2236             }
2237          }
2238          program { name: "enable";
2239             signal: "elm,state,enabled";
2240             source: "elm";
2241             action: STATE_SET "default" 0.0;
2242             target: "button_image";
2243             target: "over1";
2244             target: "over2";
2245             target: "disabler";
2246             after: "enable_text";
2247          }
2248          program { name: "enable_text";
2249             script {
2250                new st[31];
2251                new Float:vl;
2252                get_state(PART:"elm.text", st, 30, vl);
2253                if (!strcmp(st, "disabled_visible"))
2254                  set_state(PART:"elm.text", "visible", 0.0);
2255                else
2256                  set_state(PART:"elm.text", "default", 0.0);
2257             }
2258          }
2259       }
2260    }
2261
2262    group { name: "elm/button/base/hoversel_vertical/default";
2263       alias: "elm/button/base/hoversel_vertical/entry";
2264       alias: "elm/button/base/hoversel_horizontal/default";
2265       alias: "elm/button/base/hoversel_horizontal/entry";
2266       images {
2267          image: "bt_base1.png" COMP;
2268          image: "bt_base2.png" COMP;
2269          image: "bt_hilight.png" COMP;
2270          image: "bt_shine.png" COMP;
2271          image: "bt_glow.png" COMP;
2272          image: "updown.png" COMP;
2273          image: "bt_dis_base.png" COMP;
2274          image: "bt_dis_hilight.png" COMP;
2275       }
2276       parts {
2277          part { name: "button_image";
2278             mouse_events: 1;
2279             description { state: "default" 0.0;
2280                image {
2281                   normal: "bt_base2.png";
2282                   border: 7 7 7 7;
2283                }
2284                image.middle: SOLID;
2285             }
2286             description { state: "clicked" 0.0;
2287                inherit: "default" 0.0;
2288                image.normal: "bt_base1.png";
2289                image.middle: SOLID;
2290             }
2291             description { state: "disabled" 0.0;
2292                inherit:  "default" 0.0;
2293                image {
2294                   normal: "bt_dis_base.png";
2295                   border: 4 4 4 4;
2296                }
2297             }
2298          }
2299          part { name: "arrow";
2300             mouse_events: 0;
2301             description { state: "default" 0.0;
2302                image.normal: "updown.png";
2303                aspect: 0.6666666666 0.6666666666;
2304                aspect_preference: VERTICAL;
2305                rel1.offset: 6 7;
2306                rel2.offset: 6 -7;
2307                rel2.relative: 0.0 1.0;
2308                align: 0.0 0.5;
2309             }
2310          }
2311          part { name: "elm.swallow.content";
2312             type: SWALLOW;
2313             description { state: "default" 0.0;
2314                fixed: 1 0;
2315                visible: 0;
2316                align: 0.0 0.5;
2317                rel1 {
2318                   to_x: "arrow";
2319                   offset: 2 4;
2320                   relative: 1.0 0.0;
2321                }
2322                rel2 {
2323                   to_x: "arrow";
2324                   offset: 1 -5;
2325                   relative: 1.0 1.0;
2326                }
2327             }
2328             description { state: "visible" 0.0;
2329                inherit: "default" 0.0;
2330                fixed: 0 0;
2331                visible: 1;
2332                aspect: 1.0 1.0;
2333                aspect_preference: VERTICAL;
2334                rel2.offset: 2 -5;
2335             }
2336             description { state: "icononly" 0.0;
2337                inherit: "default" 0.0;
2338                fixed: 0 0;
2339                visible: 1;
2340                align: 0.5 0.5;
2341                aspect: 1.0 1.0;
2342                rel1 {
2343                   to_x: "button_image";
2344                   offset: -5 -5;
2345                   relative: 1.0 1.0;
2346                }
2347                aspect_preference: VERTICAL;
2348             }
2349          }
2350          part {
2351             name:          "elm.text";
2352             type:          TEXT;
2353             effect:        SOFT_SHADOW;
2354             mouse_events:  0;
2355             scale: 1;
2356             description { state: "default" 0.0;
2357                visible: 0;
2358                rel1.to_x: "elm.swallow.content";
2359                rel1.relative: 1.0 0.0;
2360                rel1.offset: 0 4;
2361                rel2.offset: -5 -5;
2362                color: 224 224 224 255;
2363                color3: 0 0 0 64;
2364                text {
2365                   font:     "Sans,Edje-Vera";
2366                   size:     10;
2367                   min:      0 0;
2368                   align:    0.5 0.5;
2369                   text_class: "button";
2370                }
2371             }
2372             description { state: "visible" 0.0;
2373                inherit: "default" 0.0;
2374                visible: 1;
2375                text.min: 1 1;
2376             }
2377             description { state: "disabled" 0.0;
2378                inherit: "default" 0.0;
2379                color: 0 0 0 128;
2380                color3: 0 0 0 0;
2381             }
2382             description { state: "disabled_visible" 0.0;
2383                inherit: "default" 0.0;
2384                color: 0 0 0 128;
2385                color3: 0 0 0 0;
2386                visible: 1;
2387                text.min: 1 1;
2388             }
2389          }
2390          part {          name: "over1";
2391             mouse_events: 0;
2392             description { state: "default" 0.0;
2393                rel2.relative: 1.0 0.5;
2394                image {
2395                   normal: "bt_hilight.png";
2396                   border: 7 7 7 0;
2397                }
2398             }
2399             description { state: "disabled" 0.0;
2400                inherit:  "default" 0.0;
2401                image {
2402                   normal: "bt_dis_hilight.png";
2403                   border: 4 4 4 0;
2404                }
2405             }
2406          }
2407          part { name: "over2";
2408             mouse_events: 1;
2409             repeat_events: 1;
2410             ignore_flags: ON_HOLD;
2411             description { state: "default" 0.0;
2412                image {
2413                   normal: "bt_shine.png";
2414                   border: 7 7 7 7;
2415                }
2416             }
2417             description { state: "disabled" 0.0;
2418                inherit:  "default" 0.0;
2419                visible: 0;
2420             }
2421          }
2422          part { name: "over3";
2423             mouse_events: 1;
2424             repeat_events: 1;
2425             description { state: "default" 0.0;
2426                color: 255 255 255 0;
2427                image {
2428                   normal: "bt_glow.png";
2429                   border: 12 12 12 12;
2430                }
2431                fill.smooth : 0;
2432             }
2433             description { state: "clicked" 0.0;
2434                inherit:  "default" 0.0;
2435                visible: 1;
2436                color: 255 255 255 255;
2437             }
2438          }
2439           part { name: "disabler";
2440             type: RECT;
2441             description { state: "default" 0.0;
2442                color: 0 0 0 0;
2443                visible: 0;
2444             }
2445             description { state: "disabled" 0.0;
2446                inherit: "default" 0.0;
2447                visible: 1;
2448             }
2449          }
2450       }
2451       programs {
2452          program {
2453             name:   "button_click";
2454             signal: "mouse,down,1";
2455             source: "over2";
2456             action: STATE_SET "clicked" 0.0;
2457             target: "button_image";
2458          }
2459          program {
2460             name:   "button_unclick";
2461             signal: "mouse,up,1";
2462             source: "over2";
2463             action: STATE_SET "default" 0.0;
2464             target: "button_image";
2465          }
2466          program {
2467             name:   "button_click2";
2468             signal: "mouse,down,1";
2469             source: "over3";
2470             action: STATE_SET "clicked" 0.0;
2471             target: "over3";
2472          }
2473          program {
2474             name:   "button_unclick2";
2475             signal: "mouse,up,1";
2476             source: "over3";
2477             action: STATE_SET "default" 0.0;
2478             transition: DECELERATE 0.5;
2479             target: "over3";
2480          }
2481          program {
2482             name:   "button_unclick3";
2483             signal: "mouse,up,1";
2484             source: "over2";
2485             action: SIGNAL_EMIT "elm,action,click" "";
2486          }
2487          program { name: "text_show";
2488             signal: "elm,state,text,visible";
2489             source: "elm";
2490             script {
2491                new st[31];
2492                new Float:vl;
2493                get_state(PART:"elm.swallow.content", st, 30, vl);
2494                if (!strcmp(st, "icononly"))
2495                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2496                set_state(PART:"elm.text", "visible", 0.0);
2497             }
2498          }
2499          program { name: "text_hide";
2500             signal: "elm,state,text,hidden";
2501             source: "elm";
2502             script {
2503                new st[31];
2504                new Float:vl;
2505                get_state(PART:"elm.swallow.content", st, 30, vl);
2506                if (!strcmp(st, "visible"))
2507                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2508                set_state(PART:"elm.text", "default", 0.0);
2509             }
2510          }
2511          program { name: "icon_show";
2512             signal: "elm,state,icon,visible";
2513             source: "elm";
2514             script {
2515                new st[31];
2516                new Float:vl;
2517                get_state(PART:"elm.text", st, 30, vl);
2518                if (!strcmp(st, "visible"))
2519                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2520                else
2521                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2522             }
2523          }
2524          program { name: "icon_hide";
2525             signal: "elm,state,icon,hidden";
2526             source: "elm";
2527             action:  STATE_SET "default" 0.0;
2528             target: "elm.swallow.content";
2529          }
2530          program { name: "disable";
2531             signal: "elm,state,disabled";
2532             source: "elm";
2533             action: STATE_SET "disabled" 0.0;
2534             target: "button_image";
2535             target: "over1";
2536             target: "over2";
2537             target: "disabler";
2538             after: "disable_text";
2539          }
2540          program { name: "disable_text";
2541             script {
2542                new st[31];
2543                new Float:vl;
2544                get_state(PART:"elm.text", st, 30, vl);
2545                if (!strcmp(st, "visible"))
2546                  set_state(PART:"elm.text", "disabled_visible", 0.0);
2547                else
2548                  set_state(PART:"elm.text", "disabled", 0.0);
2549             }
2550          }
2551          program { name: "enable";
2552             signal: "elm,state,enabled";
2553             source: "elm";
2554             action: STATE_SET "default" 0.0;
2555             target: "button_image";
2556             target: "over1";
2557             target: "over2";
2558             target: "disabler";
2559             after: "enable_text";
2560          }
2561          program { name: "enable_text";
2562             script {
2563                new st[31];
2564                new Float:vl;
2565                get_state(PART:"elm.text", st, 30, vl);
2566                if (!strcmp(st, "disabled_visible"))
2567                  set_state(PART:"elm.text", "visible", 0.0);
2568                else
2569                  set_state(PART:"elm.text", "default", 0.0);
2570             }
2571          }
2572       }
2573    }
2574
2575    group { name: "elm/button/base/hoversel_vertical_entry/default";
2576       alias: "elm/button/base/hoversel_vertical_entry/entry";
2577       alias: "elm/button/base/hoversel_horizontal_entry/default";
2578       alias: "elm/button/base/hoversel_horizontal_entry/entry";
2579       images {
2580          image: "hoversel_entry_bg.png" COMP;
2581       }
2582       parts {
2583          part { name: "button_image";
2584             mouse_events: 1;
2585             description { state: "default" 0.0;
2586                color: 255 255 255 0;
2587                image.normal: "hoversel_entry_bg.png";
2588                image.border: 0 0 2 2;
2589                fill.smooth: 0;
2590             }
2591             description { state: "clicked" 0.0;
2592                inherit: "default" 0.0;
2593                color: 255 255 255 255;
2594             }
2595          }
2596          part { name: "elm.swallow.content";
2597             type: SWALLOW;
2598             description { state: "default" 0.0;
2599                visible: 0;
2600                align: 0.0 0.5;
2601                rel1.offset: 4 4;
2602                rel2.offset: 3 -5;
2603                rel2.relative: 0.0 1.0;
2604             }
2605             description { state: "visible" 0.0;
2606                inherit: "default" 0.0;
2607                visible: 1;
2608                aspect: 1.0 1.0;
2609                aspect_preference: VERTICAL;
2610                rel2.offset: 4 -5;
2611             }
2612             description { state: "icononly" 0.0;
2613                inherit: "default" 0.0;
2614                visible: 1;
2615                align: 0.5 0.5;
2616                aspect: 1.0 1.0;
2617                rel2.offset: -5 -5;
2618                rel2.relative: 1.0 1.0;
2619                aspect_preference: VERTICAL;
2620             }
2621          }
2622          part { name: "textvis";
2623             type: RECT;
2624             mouse_events: 0;
2625             description { state: "default" 0.0;
2626                visible: 0;
2627             }
2628             description { state: "visible" 0.0;
2629                visible: 1;
2630             }
2631          }
2632          part {
2633             name:          "elm.text";
2634             type:          TEXT;
2635             effect:        SOFT_SHADOW;
2636             mouse_events:  0;
2637             scale: 1;
2638             clip_to:       "textvis";
2639             description { state: "default" 0.0;
2640                rel1.to_x: "elm.swallow.content";
2641                rel1.relative: 1.0 0.0;
2642                rel1.offset: 0 4;
2643                rel2.offset: -5 -5;
2644                color: 224 224 224 255;
2645                color3: 0 0 0 64;
2646                text {
2647                   font:     "Sans,Edje-Vera";
2648                   size:     10;
2649                   min:      0 0;
2650                   align:    0.5 0.5;
2651                   text_class: "button";
2652                }
2653             }
2654             description { state: "visible" 0.0;
2655                inherit: "default" 0.0;
2656                text.min: 1 1;
2657             }
2658             description { state: "clicked" 0.0;
2659                inherit: "default" 0.0;
2660                text.min: 1 1;
2661                color: 0 0 0 255;
2662                color3: 0 0 0 0;
2663             }
2664          }
2665          part { name: "over2";
2666             type: RECT;
2667             mouse_events: 1;
2668             description { state: "default" 0.0;
2669                color: 0 0 0 0;
2670             }
2671          }
2672       }
2673       programs {
2674          program {
2675             name:   "button_click";
2676             signal: "mouse,down,1";
2677             source: "over2";
2678             action: STATE_SET "clicked" 0.0;
2679             target: "button_image";
2680             target: "elm.text";
2681          }
2682          program {
2683             name:   "button_unclick";
2684             signal: "mouse,up,1";
2685             source: "over2";
2686             action: STATE_SET "default" 0.0;
2687             target: "button_image";
2688             target: "elm.text";
2689          }
2690          program {
2691             name:   "button_unclick3";
2692             signal: "mouse,up,1";
2693             source: "over2";
2694             action: SIGNAL_EMIT "elm,action,click" "";
2695          }
2696          program { name: "text_show";
2697             signal: "elm,state,text,visible";
2698             source: "elm";
2699             script {
2700                new st[31];
2701                new Float:vl;
2702                get_state(PART:"elm.swallow.content", st, 30, vl);
2703                if (!strcmp(st, "icononly"))
2704                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2705                set_state(PART:"textvis", "visible", 0.0);
2706                set_state(PART:"elm.text", "visible", 0.0);
2707             }
2708          }
2709          program { name: "text_hide";
2710             signal: "elm,state,text,hidden";
2711             source: "elm";
2712             script {
2713                new st[31];
2714                new Float:vl;
2715                get_state(PART:"elm.swallow.content", st, 30, vl);
2716                if (!strcmp(st, "visible"))
2717                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2718                set_state(PART:"textvis", "default", 0.0);
2719                set_state(PART:"elm.text", "default", 0.0);
2720             }
2721          }
2722          program { name: "icon_show";
2723             signal: "elm,state,icon,visible";
2724             source: "elm";
2725             script {
2726                new st[31];
2727                new Float:vl;
2728                get_state(PART:"textvis", st, 30, vl);
2729                if (!strcmp(st, "visible"))
2730                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2731                else
2732                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2733             }
2734          }
2735          program { name: "icon_hide";
2736             signal: "elm,state,icon,hidden";
2737             source: "elm";
2738             action:  STATE_SET "default" 0.0;
2739             target: "elm.swallow.content";
2740          }
2741       }
2742    }
2743
2744    group { name: "elm/button/base/anchor";
2745       images {
2746          image: "bt_base1.png" COMP;
2747          image: "bt_base2.png" COMP;
2748          image: "bt_hilight.png" COMP;
2749          image: "bt_shine.png" COMP;
2750          image: "bt_glow.png" COMP;
2751          image: "bt_dis_base.png" COMP;
2752          image: "bt_dis_hilight.png" COMP;
2753       }
2754       parts {
2755          part { name: "button_image";
2756             mouse_events: 1;
2757             description { state: "default" 0.0;
2758           min: 15 15;
2759            color: 255 255 255 0;
2760                image {
2761                   normal: "bt_base2.png";
2762                   border: 7 7 7 7;
2763                }
2764                image.middle: SOLID;
2765             }
2766        description { state: "visible" 0.0;
2767                inherit: "default" 0.0;
2768           color: 255 255 255 255;
2769             }
2770             description { state: "clicked" 0.0;
2771                inherit: "default" 0.0;
2772           inherit: "visible" 0.0;
2773                image.normal: "bt_base1.png";
2774                image.middle: SOLID;
2775             }
2776             description { state: "disabled" 0.0;
2777                inherit:  "default" 0.0;
2778           inherit: "visible" 0.0;
2779                image {
2780                   normal: "bt_dis_base.png";
2781                   border: 4 4 4 4;
2782                }
2783             }
2784          }
2785          part { name: "elm.swallow.content";
2786             type: SWALLOW;
2787             description { state: "default" 0.0;
2788                fixed: 1 0;
2789                visible: 0;
2790                align: 0.0 0.5;
2791                rel1.offset: 4 4;
2792                rel2.offset: 3 -5;
2793                rel2.relative: 0.0 1.0;
2794             }
2795             description { state: "visible" 0.0;
2796                inherit: "default" 0.0;
2797                fixed: 1 0;
2798                visible: 1;
2799                aspect: 1.0 1.0;
2800                aspect_preference: VERTICAL;
2801                rel2.offset: 4 -5;
2802             }
2803             description { state: "icononly" 0.0;
2804                inherit: "default" 0.0;
2805                fixed: 0 0;
2806                visible: 1;
2807                align: 0.5 0.5;
2808                aspect: 1.0 1.0;
2809                rel2.offset: -5 -5;
2810                rel2.relative: 1.0 1.0;
2811                aspect_preference: VERTICAL;
2812             }
2813          }
2814          part {
2815             name:          "elm.text";
2816             type:          TEXT;
2817             effect:        SOFT_SHADOW;
2818             mouse_events:  0;
2819             scale: 1;
2820             description { state: "default" 0.0;
2821                visible: 0;
2822                rel1.to_x: "elm.swallow.content";
2823                rel1.relative: 1.0 0.0;
2824                rel1.offset: 0 4;
2825                rel2.offset: -5 -5;
2826                color: 224 224 224 255;
2827                color3: 0 0 0 64;
2828                text {
2829                   font:     "Sans,Edje-Vera";
2830                   size:     10;
2831                   min:      0 0;
2832                   align:    0.5 0.5;
2833                   text_class: "button";
2834                }
2835             }
2836             description { state: "visible" 0.0;
2837                inherit: "default" 0.0;
2838                visible: 1;
2839                text.min: 1 1;
2840             }
2841             description { state: "disabled" 0.0;
2842                inherit: "default" 0.0;
2843                color: 0 0 0 128;
2844                color3: 0 0 0 0;
2845             }
2846             description { state: "disabled_visible" 0.0;
2847                inherit: "default" 0.0;
2848                color: 0 0 0 128;
2849                color3: 0 0 0 0;
2850                visible: 1;
2851                text.min: 1 1;
2852             }
2853          }
2854          part {          name: "over1";
2855             mouse_events: 0;
2856             description { state: "default" 0.0;
2857            color: 255 255 255 0;
2858                rel2.relative: 1.0 0.5;
2859                image {
2860                   normal: "bt_hilight.png";
2861                   border: 7 7 7 0;
2862                }
2863             }
2864        description { state: "visible" 0.0;
2865                inherit:  "default" 0.0;
2866           color: 255 255 255 255;
2867             }
2868             description { state: "disabled" 0.0;
2869                inherit:  "default" 0.0;
2870           inherit:  "visible" 0.0;
2871                image {
2872                   normal: "bt_dis_hilight.png";
2873                   border: 4 4 4 0;
2874                }
2875             }
2876          }
2877          part { name: "over2";
2878             mouse_events: 1;
2879             repeat_events: 1;
2880             ignore_flags: ON_HOLD;
2881             description { state: "default" 0.0;
2882                image {
2883                   normal: "bt_shine.png";
2884                   border: 7 7 7 7;
2885                }
2886             }
2887             description { state: "disabled" 0.0;
2888                inherit:  "default" 0.0;
2889                visible: 0;
2890             }
2891          }
2892          part { name: "over3";
2893             mouse_events: 1;
2894             repeat_events: 1;
2895             description { state: "default" 0.0;
2896                color: 255 255 255 0;
2897                image {
2898                   normal: "bt_glow.png";
2899                   border: 12 12 12 12;
2900                }
2901                fill.smooth : 0;
2902             }
2903             description { state: "clicked" 0.0;
2904                inherit:  "default" 0.0;
2905                visible: 1;
2906                color: 255 255 255 255;
2907             }
2908          }
2909           part { name: "disabler";
2910             type: RECT;
2911             description { state: "default" 0.0;
2912                color: 0 0 0 0;
2913                visible: 0;
2914             }
2915             description { state: "disabled" 0.0;
2916                inherit: "default" 0.0;
2917                visible: 1;
2918             }
2919          }
2920       }
2921       programs {
2922     program {
2923             name:   "button_mouse_in";
2924             signal: "mouse,in";
2925             source: "over2";
2926             action: STATE_SET "visible" 0.0;
2927             target: "button_image";
2928        target: "over1";
2929        transition: DECELERATE 0.5;
2930          }
2931          program {
2932             name:   "button_mouse_out";
2933             signal: "mouse,out";
2934             source: "over2";
2935             action: STATE_SET "default" 0.0;
2936             target: "button_image";
2937        target: "over1";
2938        transition: DECELERATE 0.5;
2939          }
2940          program {
2941             name:   "button_unclick";
2942             signal: "mouse,up,1";
2943             source: "over2";
2944             action: STATE_SET "visible" 0.0;
2945             target: "button_image";
2946          }
2947          program {
2948             name:   "button_click2";
2949             signal: "mouse,down,1";
2950             source: "over3";
2951             action: STATE_SET "clicked" 0.0;
2952             target: "over3";
2953          }
2954          program {
2955             name:   "button_unclick2";
2956             signal: "mouse,up,1";
2957             source: "over3";
2958             action: STATE_SET "default" 0.0;
2959             transition: DECELERATE 0.5;
2960             target: "over3";
2961          }
2962          program {
2963             name:   "button_unclick3";
2964             signal: "mouse,up,1";
2965             source: "over2";
2966             action: SIGNAL_EMIT "elm,action,click" "";
2967          }
2968          program { name: "text_show";
2969             signal: "elm,state,text,visible";
2970             source: "elm";
2971             script {
2972                new st[31];
2973                new Float:vl;
2974                get_state(PART:"elm.swallow.content", st, 30, vl);
2975                if (!strcmp(st, "icononly"))
2976                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2977                set_state(PART:"elm.text", "visible", 0.0);
2978             }
2979          }
2980          program { name: "text_hide";
2981             signal: "elm,state,text,hidden";
2982             source: "elm";
2983             script {
2984                new st[31];
2985                new Float:vl;
2986                get_state(PART:"elm.swallow.content", st, 30, vl);
2987                if (!strcmp(st, "visible"))
2988                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2989                set_state(PART:"elm.text", "default", 0.0);
2990             }
2991          }
2992          program { name: "icon_show";
2993             signal: "elm,state,icon,visible";
2994             source: "elm";
2995             script {
2996                new st[31];
2997                new Float:vl;
2998                get_state(PART:"elm.text", st, 30, vl);
2999                if (!strcmp(st, "visible"))
3000                  set_state(PART:"elm.swallow.content", "visible", 0.0);
3001                else
3002                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
3003             }
3004          }
3005          program { name: "icon_hide";
3006             signal: "elm,state,icon,hidden";
3007             source: "elm";
3008             action:  STATE_SET "default" 0.0;
3009             target: "elm.swallow.content";
3010          }
3011          program { name: "disable";
3012             signal: "elm,state,disabled";
3013             source: "elm";
3014             action: STATE_SET "disabled" 0.0;
3015             target: "button_image";
3016             target: "over1";
3017             target: "over2";
3018             target: "disabler";
3019             after: "disable_text";
3020          }
3021          program { name: "disable_text";
3022             script {
3023                new st[31];
3024                new Float:vl;
3025                get_state(PART:"elm.text", st, 30, vl);
3026                if (!strcmp(st, "visible"))
3027                  set_state(PART:"elm.text", "disabled_visible", 0.0);
3028                else
3029                  set_state(PART:"elm.text", "disabled", 0.0);
3030             }
3031          }
3032          program { name: "enable";
3033             signal: "elm,state,enabled";
3034             source: "elm";
3035             action: STATE_SET "default" 0.0;
3036             target: "button_image";
3037             target: "over1";
3038             target: "over2";
3039             target: "disabler";
3040             after: "enable_text";
3041          }
3042          program { name: "enable_text";
3043             script {
3044                new st[31];
3045                new Float:vl;
3046                get_state(PART:"elm.text", st, 30, vl);
3047                if (!strcmp(st, "disabled_visible"))
3048                  set_state(PART:"elm.text", "visible", 0.0);
3049                else
3050                  set_state(PART:"elm.text", "default", 0.0);
3051             }
3052          }
3053       }
3054    }
3055
3056 ///////////////////////////////////////////////////////////////////////////////
3057    group { name: "elm/toggle/base/default";
3058       images {
3059          image: "shelf_inset.png" COMP;
3060          image: "bt_basew.png" COMP;
3061          image: "bt_bases.png" COMP;
3062          image: "bt_hilightw.png" COMP;
3063          image: "tog_base_on.png" COMP;
3064          image: "tog_base_off.png" COMP;
3065          image: "tog_dis_base_on.png" COMP;
3066          image: "tog_dis_base_off.png" COMP;
3067       }
3068       script {
3069          public is_rtl;
3070       }
3071       parts {
3072          part { name: "bg";
3073             type: RECT;
3074             mouse_events: 0;
3075             scale: 1;
3076             description { state: "default" 0.0;
3077                rel1.relative: 1.0 0.0;
3078                rel1.offset: -4 3;
3079                rel2.offset: -4 -4;
3080                align: 1.0 0.5;
3081                min: 96 16;
3082                max: 96 16;
3083                aspect: 4.0 4.0;
3084                aspect_preference: VERTICAL;
3085                color: 255 255 255 255;
3086             }
3087          }
3088          part { name: "clipper";
3089             type: RECT;
3090             mouse_events: 0;
3091             description { state: "default" 0.0;
3092                rel1.to: "bg";
3093                rel2.to: "bg";
3094                color: 255 255 255 255;
3095             }
3096          }
3097          part { name: "button";
3098             type: RECT;
3099             scale: 1;
3100             clip_to: "clipper";
3101             mouse_events: 1;
3102              dragable {
3103                x: 1 1 0;
3104                y: 0 0 0;
3105                confine: "bg";
3106             }
3107             description { state: "default" 0.0;
3108                fixed: 1 1;
3109                rel1.to: "bg";
3110                rel2.to: "bg";
3111                min: 16 16;
3112                max: 16 16;
3113                aspect: 1.0 1.0;
3114                aspect_preference: VERTICAL;
3115                color: 0 0 0 0;
3116             }
3117          }
3118          part { name: "button_events";
3119             type: RECT;
3120              dragable {
3121                events: "button";
3122             }
3123             description { state: "default" 0.0;
3124                rel1.to_x: "bg";
3125                rel1.offset: 0 0;
3126                rel1.relative: 0.0 0.0;
3127                rel2.to_x: "bg";
3128                rel2.offset: -1 -1;
3129                rel2.relative: 1.0 1.0;
3130                color: 0 0 0 0;
3131             }
3132          }
3133          part { name: "onrect";
3134             type: IMAGE;
3135             scale: 1;
3136             clip_to: "clipper";
3137             mouse_events: 0;
3138             description { state: "default" 0.0;
3139                rel1.to: "button";
3140                rel1.relative: -5.0 0.0;
3141                rel2.to: "button";
3142                rel2.relative: 0.5 1.0;
3143                image.normal: "tog_base_on.png";
3144             }
3145             description { state: "disabled" 0.0;
3146                inherit: "default" 0.0;
3147                image.normal: "tog_dis_base_on.png";
3148             }
3149          }
3150          part { name: "offrect";
3151             type: IMAGE;
3152             scale: 1;
3153             clip_to: "clipper";
3154             mouse_events: 0;
3155             description { state: "default" 0.0;
3156                rel1.to: "button";
3157                rel1.relative: 0.5 0.0;
3158                rel2.to: "button";
3159                rel2.relative: 6.0 1.0;
3160                image.normal: "tog_base_off.png";
3161             }
3162             description { state: "disabled" 0.0;
3163                inherit: "default" 0.0;
3164                image.normal: "tog_dis_base_off.png";
3165             }
3166          }
3167          part { name: "elm.offtext";
3168             type: TEXT;
3169             mouse_events:  0;
3170             scale: 1;
3171             clip_to: "clipper";
3172             description { state: "default" 0.0;
3173                fixed: 1 1;
3174                rel1.to_x: "button";
3175                rel1.relative: 1.0 0.0;
3176                rel2.to_x: "offrect";
3177                color: 0 0 0 255;
3178                text {
3179                   font:     "Sans,Edje-Vera";
3180                   size:     10;
3181                   min:      0 1;
3182                   align:    0.5 0.5;
3183                   text:     "OFF";
3184                }
3185             }
3186             description { state: "disabled" 0.0;
3187                inherit: "default" 0.0;
3188                color: 128 128 128 128;
3189             }
3190          }
3191          part { name: "elm.ontext";
3192             type: TEXT;
3193             effect: SOFT_SHADOW;
3194             mouse_events:  0;
3195             scale: 1;
3196             clip_to: "clipper";
3197             description { state: "default" 0.0;
3198                fixed: 1 1;
3199                rel1.to_x: "onrect";
3200                rel1.offset: 1 1;
3201                rel2.to_x: "button";
3202                rel2.offset: 0 0;
3203                rel2.relative: 0.0 1.0;
3204                color: 224 224 224 255;
3205                color3: 0 0 0 64;
3206                text {
3207                   font:     "Sans,Edje-Vera";
3208                   size:     10;
3209                   min:      0 1;
3210                   align:    0.5 0.5;
3211                   text:     "ON";
3212                }
3213             }
3214             description { state: "disabled" 0.0;
3215                inherit: "default" 0.0;
3216                color: 128 128 128 128;
3217                color3: 0 0 0 24;
3218             }
3219          }
3220          part { name: "conf_over";
3221             mouse_events:  0;
3222             description { state: "default" 0.0;
3223                rel1.offset: -1 -1;
3224                rel1.to: "bg";
3225                rel2.offset: 0 0;
3226                rel2.to: "bg";
3227                image {
3228                   normal: "shelf_inset.png";
3229                   border: 7 7 7 7;
3230                   middle: 0;
3231                }
3232                fill.smooth : 0;
3233             }
3234          }
3235          part { name: "button0";
3236             mouse_events:  0;
3237             clip_to: "clipper";
3238             description { state: "default" 0.0;
3239                rel1.to: "button2";
3240                rel1.offset: -4 -4;
3241                rel2.to: "button2";
3242                rel2.offset: 3 3;
3243                image {
3244                   normal: "bt_bases.png";
3245                   border: 11 11 11 11;
3246                }
3247                image.middle: SOLID;
3248                color: 255 255 255 128;
3249             }
3250          }
3251          part { name: "button2";
3252             mouse_events:  0;
3253             clip_to: "clipper";
3254             description { state: "default" 0.0;
3255                rel1.to: "button";
3256                rel1.offset: -2 -2;
3257                rel2.to: "button";
3258                rel2.offset: 1 1;
3259                image {
3260                   normal: "bt_basew.png";
3261                   border: 7 7 7 7;
3262                }
3263                image.middle: SOLID;
3264             }
3265          }
3266          part { name: "button3";
3267             mouse_events:  0;
3268             clip_to: "clipper";
3269             description { state: "default" 0.0;
3270                rel1.to: "button2";
3271                rel2.to: "button2";
3272                rel2.relative: 1.0 0.5;
3273                image {
3274                   normal: "bt_hilightw.png";
3275                   border: 4 4 4 0;
3276                }
3277             }
3278          }
3279          part { name: "elm.swallow.content";
3280             type: SWALLOW;
3281             description { state: "default" 0.0;
3282                fixed: 1 0;
3283                visible: 0;
3284                align: 0.0 0.5;
3285                rel1.offset: 4 4;
3286                rel2.relative: 0.0 1.0;
3287                rel2.offset: 3 -5;
3288             }
3289             description { state: "visible" 0.0;
3290                inherit: "default" 0.0;
3291                visible: 1;
3292                aspect: 1.0 1.0;
3293                rel2.offset: 4 -5;
3294             }
3295             description { state: "disabled" 0.0;
3296                inherit: "default" 0.0;
3297                color: 128 128 128 128;
3298             }
3299             description { state: "disabled_visible" 0.0;
3300                inherit: "default" 0.0;
3301                color: 128 128 128 128;
3302                visible: 1;
3303                aspect: 1.0 1.0;
3304             }
3305          }
3306          part { name: "elm.text";
3307             type: TEXT;
3308             mouse_events: 0;
3309             scale: 1;
3310             description { state: "default" 0.0;
3311                visible: 0;
3312                rel1.to_x: "elm.swallow.content";
3313                rel1.relative: 1.0 0.0;
3314                rel1.offset: 0 4;
3315                rel2.to_x: "bg";
3316                rel2.relative: 0.0 1.0;
3317                rel2.offset: -5 -5;
3318                color: 0 0 0 255;
3319                text {
3320                   font: "Sans,Edje-Vera";
3321                   size: 10;
3322                   min: 0 0;
3323                   align: 0.0 0.5;
3324                }
3325             }
3326             description { state: "visible" 0.0;
3327                inherit: "default" 0.0;
3328                visible: 1;
3329                text.min: 1 1;
3330             }
3331             description { state: "disabled" 0.0;
3332                inherit: "default" 0.0;
3333                color: 128 128 128 128;
3334             }
3335             description { state: "disabled_visible" 0.0;
3336                inherit: "default" 0.0;
3337                color: 128 128 128 128;
3338                visible: 1;
3339                text.min: 1 1;
3340             }
3341          }
3342           part { name: "disabler";
3343             type: RECT;
3344             description { state: "default" 0.0;
3345                color: 0 0 0 0;
3346                visible: 0;
3347             }
3348             description { state: "disabled" 0.0;
3349                inherit: "default" 0.0;
3350                visible: 1;
3351             }
3352          }
3353       }
3354       programs {
3355          program { name:   "drag_end";
3356             signal: "mouse,up,1";
3357             source: "button";
3358             script {
3359                new Float:dx, Float:dy;
3360                get_drag(PART:"button", dx, dy);
3361                if (dx > 0.5)
3362                  {
3363                     set_drag(PART:"button", 1.0, 0.0);
3364                  }
3365                else
3366                  {
3367                     set_drag(PART:"button", 0.0, 0.0);
3368                  }
3369                if (((get_int(is_rtl) == 1) && (dx <= 0.5)) ||
3370                    (get_int(is_rtl) == 0) && (dx > 0.5)) {
3371                   emit("elm,action,toggle,on", "");
3372                }
3373                else {
3374                   emit("elm,action,toggle,off", "");
3375                }
3376
3377             }
3378          }
3379          program { name: "toggle_on";
3380             signal: "elm,state,toggle,on";
3381             source: "elm";
3382             script {
3383                new Float:drag;
3384                if (get_int(is_rtl) == 0) {
3385                   drag = 100.0;
3386                }
3387                else {
3388                   drag = 0.0;
3389                }
3390                set_drag(PART:"button", drag, 0.0);
3391             }
3392          }
3393          program { name: "toggle_off";
3394             signal: "elm,state,toggle,off";
3395             source: "elm";
3396             script {
3397                new Float:drag;
3398                if (get_int(is_rtl) == 0) {
3399                   drag = 0.0;
3400                }
3401                else {
3402                   drag = 100.0;
3403                }
3404                set_drag(PART:"button", drag, 0.0);
3405             }
3406          }
3407          program { name: "text_show";
3408             signal: "elm,state,text,visible";
3409             source: "elm";
3410             action:  STATE_SET "visible" 0.0;
3411             target: "elm.text";
3412          }
3413          program { name: "text_hide";
3414             signal: "elm,state,text,hidden";
3415             source: "elm";
3416             action:  STATE_SET "default" 0.0;
3417             target: "elm.text";
3418          }
3419          program { name: "icon_show";
3420             signal: "elm,state,icon,visible";
3421             source: "elm";
3422             action:  STATE_SET "visible" 0.0;
3423             target: "elm.swallow.content";
3424          }
3425          program { name: "icon_hide";
3426             signal: "elm,state,icon,hidden";
3427             source: "elm";
3428             action:  STATE_SET "default" 0.0;
3429             target: "elm.swallow.content";
3430          }
3431          program { name: "disable";
3432             signal: "elm,state,disabled";
3433             source: "elm";
3434             action: STATE_SET "disabled" 0.0;
3435             target: "elm.offtext";
3436             target: "elm.ontext";
3437             target: "onrect";
3438             target: "offrect";
3439             target: "disabler";
3440             after: "disable_text";
3441          }
3442          program { name: "disable_text";
3443             script {
3444                new st[31];
3445                new Float:vl;
3446                get_state(PART:"elm.text", st, 30, vl);
3447                if (!strcmp(st, "visible"))
3448                  set_state(PART:"elm.text", "disabled_visible", 0.0);
3449                else
3450                  set_state(PART:"elm.text", "disabled", 0.0);
3451
3452                get_state(PART:"elm.swallow.content", st, 30, vl);
3453                if (!strcmp(st, "visible"))
3454                  set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
3455                else
3456                  set_state(PART:"elm.swallow.content", "disabled", 0.0);
3457             }
3458          }
3459          program { name: "enable";
3460             signal: "elm,state,enabled";
3461             source: "elm";
3462             action: STATE_SET "default" 0.0;
3463             target: "disabler";
3464             target: "onrect";
3465             target: "offrect";
3466             after: "enable_text";
3467          }
3468          program { name: "enable_text";
3469             script {
3470                new st[31];
3471                new Float:vl;
3472                get_state(PART:"elm.text", st, 30, vl);
3473                if (!strcmp(st, "disabled_visible"))
3474                  set_state(PART:"elm.text", "visible", 0.0);
3475                else
3476                  set_state(PART:"elm.text", "default", 0.0);
3477
3478                get_state(PART:"elm.swallow.content", st, 30, vl);
3479                if (!strcmp(st, "visible"))
3480                  set_state(PART:"elm.swallow.content", "visible", 0.0);
3481                else
3482                  set_state(PART:"elm.swallow.content", "default", 0.0);
3483             }
3484          }
3485          program { name: "to_rtl";
3486             signal: "edje,state,rtl";
3487             source: "edje";
3488             script {
3489                set_int(is_rtl, 1);
3490             }
3491          }
3492          program { name: "to_ltr";
3493             signal: "edje,state,ltr";
3494             source: "edje";
3495             script {
3496                set_int(is_rtl, 0);
3497             }
3498          }
3499       }
3500    }
3501
3502 ///////////////////////////////////////////////////////////////////////////////
3503    group { name: "elm/clock/flipdigit/default";
3504       images {
3505          image: "flip_base.png" COMP;
3506          image: "flip_base_shad.png" COMP;
3507          image: "flip_shad.png" COMP;
3508          image: "flip_0t.png" COMP;
3509          image: "flip_0b.png" COMP;
3510          image: "flip_1t.png" COMP;
3511          image: "flip_1b.png" COMP;
3512          image: "flip_2t.png" COMP;
3513          image: "flip_2b.png" COMP;
3514          image: "flip_3t.png" COMP;
3515          image: "flip_3b.png" COMP;
3516          image: "flip_4t.png" COMP;
3517          image: "flip_4b.png" COMP;
3518          image: "flip_5t.png" COMP;
3519          image: "flip_5b.png" COMP;
3520          image: "flip_6t.png" COMP;
3521          image: "flip_6b.png" COMP;
3522          image: "flip_7t.png" COMP;
3523          image: "flip_7b.png" COMP;
3524          image: "flip_8t.png" COMP;
3525          image: "flip_8b.png" COMP;
3526          image: "flip_9t.png" COMP;
3527          image: "flip_9b.png" COMP;
3528          image: "arrow_up.png" COMP;
3529          image: "arrow_down.png" COMP;
3530       }
3531       script {
3532          public v0_cur, v0_pre, v0_lock, v0_next;
3533
3534        public animator2(val, Float:pos) {
3535           new st1[11], st2[11], v;
3536
3537           v = get_int(v0_cur);
3538           snprintf(st1, 10, "%ih", v);
3539           snprintf(st2, 10, "%i", v);
3540           set_tween_state(PART:"bot", pos, st1, 0.0, st2, 0.0);
3541           set_tween_state(PART:"sh", pos, "half", 0.0, "full", 0.0);
3542           if (pos >= 1.0) {
3543              set_state(PART:"sh", "default", 0.0);
3544              set_int(v0_lock, 0);
3545              v = get_int(v0_next);
3546              if (v >= 0) {
3547                 set_int(v0_next, -1);
3548                 message(MSG_INT, 1, v);
3549              }
3550           }
3551        }
3552        public animator1(val, Float:pos) {
3553           new st1[11], st2[11], v;
3554
3555           v = get_int(v0_pre);
3556           snprintf(st1, 10, "%i", v);
3557           snprintf(st2, 10, "%ih", v);
3558           set_tween_state(PART:"top", pos, st1, 0.0, st2, 0.0);
3559           set_tween_state(PART:"sh", pos, "default", 0.0, "half", 0.0);
3560           if (pos >= 1.0) anim(0.2, "animator2", val);
3561        }
3562        public message(Msg_Type:type, id, ...) {
3563           if ((type == MSG_INT) && (id == 1)) {
3564              new value, v, buf[11];
3565
3566              value = getarg(2);
3567              if (get_int(v0_lock) == 1) {
3568                 set_int(v0_next, value);
3569                 return;
3570              }
3571              v = get_int(v0_cur);
3572              set_int(v0_pre, v);
3573              set_int(v0_cur, value);
3574              set_int(v0_lock, 1);
3575              snprintf(buf, 10, "%i", get_int(v0_pre));
3576              set_state(PART:"bot0", buf, 0.0);
3577              snprintf(buf, 10, "%ih", get_int(v0_cur));
3578              set_state(PART:"bot", buf, 0.0);
3579              snprintf(buf, 10, "%i", get_int(v0_cur));
3580              set_state(PART:"top0", buf, 0.0);
3581              snprintf(buf, 10, "%i", get_int(v0_pre));
3582              set_state(PART:"top", buf, 0.0);
3583              set_state(PART:"sh", "default", 0.0);
3584              anim(0.2, "animator1", 1);
3585           }
3586        }
3587       }
3588       parts {
3589          part { name: "shad";
3590             mouse_events: 0;
3591             description { state: "default" 0.0;
3592                rel1.offset: -4 -4;
3593                rel1.to: "base";
3594                rel2.offset: 3 3;
3595                rel2.to: "base";
3596                image {
3597                   normal: "flip_base_shad.png";
3598                   border: 8 8 8 8;
3599                }
3600             }
3601          }
3602          part { name: "base";
3603             scale: 1;
3604             description { state: "default" 0.0;
3605                rel1.offset: 4 4;
3606                rel2.offset: -5 -5;
3607                // FIXME 48x96 should be the native pixel design, right now
3608                // its 80x160. fix int he artwork later
3609                min: 24 48;
3610                aspect: 0.5 0.5;
3611 //               max: 24 48;
3612                image.normal: "flip_base.png";
3613             }
3614          }
3615          part { name: "b";
3616             type: RECT;
3617             mouse_events: 1;
3618             description { state: "default" 0.0;
3619                visible: 0;
3620                rel1.to: "base";
3621                rel1.relative: 0.0 0.5;
3622                rel2.to: "base";
3623                color: 0 0 0 0;
3624             }
3625             description { state: "visible" 0.0;
3626                inherit: "default" 0.0;
3627                visible: 1;
3628             }
3629          }
3630          part { name: "t";
3631             type: RECT;
3632             mouse_events: 1;
3633             description { state: "default" 0.0;
3634                visible: 0;
3635                rel1.to: "base";
3636                rel2.to: "base";
3637                rel2.relative: 1.0 0.5;
3638                color: 0 0 0 0;
3639             }
3640             description { state: "visible" 0.0;
3641                inherit: "default" 0.0;
3642                visible: 1;
3643             }
3644          }
3645          part { name: "bot0";
3646             mouse_events: 0;
3647             description { state: "default" 0.0;
3648                rel1.to: "b";
3649                rel2.to: "b";
3650                image.normal: "flip_0b.png";
3651             }
3652             description { state: "0" 0.0;
3653                inherit: "default" 0.0;
3654                image.normal: "flip_0b.png";
3655             }
3656             description { state: "1" 0.0;
3657                inherit: "default" 0.0;
3658                image.normal: "flip_1b.png";
3659             }
3660             description { state: "2" 0.0;
3661                inherit: "default" 0.0;
3662                image.normal: "flip_2b.png";
3663             }
3664             description { state: "3" 0.0;
3665                inherit: "default" 0.0;
3666                image.normal: "flip_3b.png";
3667             }
3668             description { state: "4" 0.0;
3669                inherit: "default" 0.0;
3670                image.normal: "flip_4b.png";
3671             }
3672             description { state: "5" 0.0;
3673                inherit: "default" 0.0;
3674                image.normal: "flip_5b.png";
3675             }
3676             description { state: "6" 0.0;
3677                inherit: "default" 0.0;
3678                image.normal: "flip_6b.png";
3679             }
3680             description { state: "7" 0.0;
3681                inherit: "default" 0.0;
3682                image.normal: "flip_7b.png";
3683             }
3684             description { state: "8" 0.0;
3685                inherit: "default" 0.0;
3686                image.normal: "flip_8b.png";
3687             }
3688             description { state: "9" 0.0;
3689                inherit: "default" 0.0;
3690                image.normal: "flip_9b.png";
3691             }
3692          }
3693          part { name: "sh";
3694             mouse_events: 0;
3695             description { state: "default" 0.0;
3696                rel1.to: "b";
3697                rel2.to: "b";
3698                rel2.relative: 1.0 0.0;
3699                image.normal: "flip_shad.png";
3700             }
3701             description { state: "half" 0.0;
3702                inherit: "default" 0.0;
3703                rel2.relative: 1.0 0.5;
3704             }
3705             description { state: "full" 0.0;
3706                inherit: "default" 0.0;
3707                rel2.relative: 1.0 1.0;
3708             }
3709          }
3710          part { name: "bot";
3711             mouse_events: 0;
3712             description { state: "default" 0.0;
3713                visible: 1;
3714                rel1.to: "b";
3715                rel2.to: "b";
3716                image.normal: "flip_0b.png";
3717             }
3718             description { state: "0" 0.0;
3719                inherit: "default" 0.0;
3720                visible: 1;
3721                rel2.relative: 1.0 1.0;
3722                image.normal: "flip_0b.png";
3723             }
3724             description { state: "0h" 0.0;
3725                inherit: "default" 0.0;
3726                visible: 0;
3727                rel2.relative: 1.0 0.0;
3728                image.normal: "flip_0b.png";
3729             }
3730             description { state: "1" 0.0;
3731                inherit: "default" 0.0;
3732                visible: 1;
3733                rel2.relative: 1.0 1.0;
3734                image.normal: "flip_1b.png";
3735             }
3736             description { state: "1h" 0.0;
3737                inherit: "default" 0.0;
3738                visible: 0;
3739                rel2.relative: 1.0 0.0;
3740                image.normal: "flip_1b.png";
3741             }
3742             description { state: "2" 0.0;
3743                inherit: "default" 0.0;
3744                visible: 1;
3745                rel2.relative: 1.0 1.0;
3746                image.normal: "flip_2b.png";
3747             }
3748             description { state: "2h" 0.0;
3749                inherit: "default" 0.0;
3750                visible: 0;
3751                rel2.relative: 1.0 0.0;
3752                image.normal: "flip_2b.png";
3753             }
3754             description { state: "3" 0.0;
3755                inherit: "default" 0.0;
3756                visible: 1;
3757                rel2.relative: 1.0 1.0;
3758                image.normal: "flip_3b.png";
3759             }
3760             description { state: "3h" 0.0;
3761                inherit: "default" 0.0;
3762                visible: 0;
3763                rel2.relative: 1.0 0.0;
3764                image.normal: "flip_3b.png";
3765             }
3766             description { state: "4" 0.0;
3767                inherit: "default" 0.0;
3768                visible: 1;
3769                rel2.relative: 1.0 1.0;
3770                image.normal: "flip_4b.png";
3771             }
3772             description { state: "4h" 0.0;
3773                inherit: "default" 0.0;
3774                visible: 0;
3775                rel2.relative: 1.0 0.0;
3776                image.normal: "flip_4b.png";
3777             }
3778             description { state: "5" 0.0;
3779                inherit: "default" 0.0;
3780                visible: 1;
3781                rel2.relative: 1.0 1.0;
3782                image.normal: "flip_5b.png";
3783             }
3784             description { state: "5h" 0.0;
3785                inherit: "default" 0.0;
3786                visible: 0;
3787                rel2.relative: 1.0 0.0;
3788                image.normal: "flip_5b.png";
3789             }
3790             description { state: "6" 0.0;
3791                inherit: "default" 0.0;
3792                visible: 1;
3793                rel2.relative: 1.0 1.0;
3794                image.normal: "flip_6b.png";
3795             }
3796             description { state: "6h" 0.0;
3797                inherit: "default" 0.0;
3798                visible: 0;
3799                rel2.relative: 1.0 0.0;
3800                image.normal: "flip_6b.png";
3801             }
3802             description { state: "7" 0.0;
3803                inherit: "default" 0.0;
3804                visible: 1;
3805                rel2.relative: 1.0 1.0;
3806                image.normal: "flip_7b.png";
3807             }
3808             description { state: "7h" 0.0;
3809                inherit: "default" 0.0;
3810                visible: 0;
3811                rel2.relative: 1.0 0.0;
3812                image.normal: "flip_7b.png";
3813             }
3814             description { state: "8" 0.0;
3815                inherit: "default" 0.0;
3816                visible: 1;
3817                rel2.relative: 1.0 1.0;
3818                image.normal: "flip_8b.png";
3819             }
3820             description { state: "8h" 0.0;
3821                inherit: "default" 0.0;
3822                visible: 0;
3823                rel2.relative: 1.0 0.0;
3824                image.normal: "flip_8b.png";
3825             }
3826             description { state: "9" 0.0;
3827                inherit: "default" 0.0;
3828                visible: 1;
3829                rel2.relative: 1.0 1.0;
3830                image.normal: "flip_9b.png";
3831             }
3832             description { state: "9h" 0.0;
3833                inherit: "default" 0.0;
3834                visible: 0;
3835                rel2.relative: 1.0 0.0;
3836                image.normal: "flip_9b.png";
3837             }
3838          }
3839          part { name: "top0";
3840             mouse_events: 0;
3841             description { state: "default" 0.0;
3842                rel1.to: "t";
3843                rel2.to: "t";
3844                image.normal: "flip_0t.png";
3845             }
3846             description { state: "0" 0.0;
3847                inherit: "default" 0.0;
3848                image.normal: "flip_0t.png";
3849             }
3850             description { state: "1" 0.0;
3851                inherit: "default" 0.0;
3852                image.normal: "flip_1t.png";
3853             }
3854             description { state: "2" 0.0;
3855                inherit: "default" 0.0;
3856                image.normal: "flip_2t.png";
3857             }
3858             description { state: "3" 0.0;
3859                inherit: "default" 0.0;
3860                image.normal: "flip_3t.png";
3861             }
3862             description { state: "4" 0.0;
3863                inherit: "default" 0.0;
3864                image.normal: "flip_4t.png";
3865             }
3866             description { state: "5" 0.0;
3867                inherit: "default" 0.0;
3868                image.normal: "flip_5t.png";
3869             }
3870             description { state: "6" 0.0;
3871                inherit: "default" 0.0;
3872                image.normal: "flip_6t.png";
3873             }
3874             description { state: "7" 0.0;
3875                inherit: "default" 0.0;
3876                image.normal: "flip_7t.png";
3877             }
3878             description { state: "8" 0.0;
3879                inherit: "default" 0.0;
3880                image.normal: "flip_8t.png";
3881             }
3882             description { state: "9" 0.0;
3883                inherit: "default" 0.0;
3884                image.normal: "flip_9t.png";
3885             }
3886          }
3887          part { name: "top";
3888             mouse_events: 0;
3889             description { state: "default" 0.0;
3890                visible: 1;
3891                rel1.to: "t";
3892                rel2.to: "t";
3893                image.normal: "flip_0t.png";
3894             }
3895             description { state: "0" 0.0;
3896                inherit: "default" 0.0;
3897                visible: 1;
3898                rel1.relative: 0.0 0.0;
3899                image.normal: "flip_0t.png";
3900             }
3901             description { state: "0h" 0.0;
3902                inherit: "default" 0.0;
3903                color: 128 128 128 255;
3904                visible: 0;
3905                rel1.relative: 0.0 1.0;
3906                image.normal: "flip_0t.png";
3907             }
3908             description { state: "1" 0.0;
3909                inherit: "default" 0.0;
3910                visible: 1;
3911                rel1.relative: 0.0 0.0;
3912                image.normal: "flip_1t.png";
3913             }
3914             description { state: "1h" 0.0;
3915                inherit: "default" 0.0;
3916                color: 128 128 128 255;
3917                visible: 0;
3918                rel1.relative: 0.0 1.0;
3919                image.normal: "flip_1t.png";
3920             }
3921             description { state: "2" 0.0;
3922                inherit: "default" 0.0;
3923                visible: 1;
3924                rel1.relative: 0.0 0.0;
3925                image.normal: "flip_2t.png";
3926             }
3927             description { state: "2h" 0.0;
3928                inherit: "default" 0.0;
3929                color: 128 128 128 255;
3930                visible: 0;
3931                rel1.relative: 0.0 1.0;
3932                image.normal: "flip_2t.png";
3933             }
3934             description { state: "3" 0.0;
3935                inherit: "default" 0.0;
3936                visible: 1;
3937                rel1.relative: 0.0 0.0;
3938                image.normal: "flip_3t.png";
3939             }
3940             description { state: "3h" 0.0;
3941                inherit: "default" 0.0;
3942                color: 128 128 128 255;
3943                visible: 0;
3944                rel1.relative: 0.0 1.0;
3945                image.normal: "flip_3t.png";
3946             }
3947             description { state: "4" 0.0;
3948                inherit: "default" 0.0;
3949                visible: 1;
3950                rel1.relative: 0.0 0.0;
3951                image.normal: "flip_4t.png";
3952             }
3953             description { state: "4h" 0.0;
3954                inherit: "default" 0.0;
3955                color: 128 128 128 255;
3956                visible: 0;
3957                rel1.relative: 0.0 1.0;
3958                image.normal: "flip_4t.png";
3959             }
3960             description { state: "5" 0.0;
3961                inherit: "default" 0.0;
3962                visible: 1;
3963                rel1.relative: 0.0 0.0;
3964                image.normal: "flip_5t.png";
3965             }
3966             description { state: "5h" 0.0;
3967                inherit: "default" 0.0;
3968                color: 128 128 128 255;
3969                visible: 0;
3970                rel1.relative: 0.0 1.0;
3971                image.normal: "flip_5t.png";
3972             }
3973             description { state: "6" 0.0;
3974                inherit: "default" 0.0;
3975                visible: 1;
3976                rel1.relative: 0.0 0.0;
3977                image.normal: "flip_6t.png";
3978             }
3979             description { state: "6h" 0.0;
3980                inherit: "default" 0.0;
3981                color: 128 128 128 255;
3982                visible: 0;
3983                rel1.relative: 0.0 1.0;
3984                image.normal: "flip_6t.png";
3985             }
3986             description { state: "7" 0.0;
3987                inherit: "default" 0.0;
3988                visible: 1;
3989                rel1.relative: 0.0 0.0;
3990                image.normal: "flip_7t.png";
3991             }
3992             description { state: "7h" 0.0;
3993                inherit: "default" 0.0;
3994                color: 128 128 128 255;
3995                visible: 0;
3996                rel1.relative: 0.0 1.0;
3997                image.normal: "flip_7t.png";
3998             }
3999             description { state: "8" 0.0;
4000                inherit: "default" 0.0;
4001                visible: 1;
4002                rel1.relative: 0.0 0.0;
4003                image.normal: "flip_8t.png";
4004             }
4005             description { state: "8h" 0.0;
4006                inherit: "default" 0.0;
4007                color: 128 128 128 255;
4008                visible: 0;
4009                rel1.relative: 0.0 1.0;
4010                image.normal: "flip_8t.png";
4011             }
4012             description { state: "9" 0.0;
4013                inherit: "default" 0.0;
4014                visible: 1;
4015                rel1.relative: 0.0 0.0;
4016                image.normal: "flip_9t.png";
4017             }
4018             description { state: "9h" 0.0;
4019                inherit: "default" 0.0;
4020                color: 128 128 128 255;
4021                visible: 0;
4022                rel1.relative: 0.0 1.0;
4023                image.normal: "flip_9t.png";
4024             }
4025          }
4026          part { name: "atop";
4027             mouse_events: 0;
4028             scale: 1;
4029             description { state: "default" 0.0;
4030                visible: 0;
4031                min: 15 15;
4032                max: 15 15;
4033                align: 0.5 0.0;
4034                rel1.to: "t";
4035                rel2.to: "t";
4036                image.normal: "arrow_up.png";
4037             }
4038             description { state: "visible" 0.0;
4039                inherit: "default" 0.0;
4040                visible: 1;
4041             }
4042          }
4043          part { name: "abot";
4044             mouse_events: 0;
4045             scale: 1;
4046             description { state: "default" 0.0;
4047                visible: 0;
4048                min: 15 15;
4049                max: 15 15;
4050                align: 0.5 1.0;
4051                rel1.to: "b";
4052                rel2.to: "b";
4053                image.normal: "arrow_down.png";
4054             }
4055             description { state: "visible" 0.0;
4056                inherit: "default" 0.0;
4057                visible: 1;
4058             }
4059          }
4060       }
4061       programs {
4062          program { name: "load";
4063             signal: "load";
4064             source: "";
4065             script {
4066                set_int(v0_cur, 0);
4067                set_int(v0_pre, 0);
4068                set_int(v0_lock, 0);
4069                set_int(v0_next, -1);
4070             }
4071          }
4072          program { name: "edit_on";
4073             signal: "elm,state,edit,on";
4074             source: "elm";
4075             action: STATE_SET "visible" 0.0;
4076             target: "atop";
4077             target: "abot";
4078             target: "t";
4079             target: "b";
4080          }
4081          program { name: "edit_off";
4082             signal: "elm,state,edit,off";
4083             source: "elm";
4084             action: STATE_SET "default" 0.0;
4085             target: "atop";
4086             target: "abot";
4087             target: "t";
4088             target: "b";
4089          }
4090          program { name: "up";
4091             signal: "mouse,down,1";
4092             source: "t";
4093             action: SIGNAL_EMIT "elm,action,up,start" "";
4094          }
4095          program { name: "up,stop";
4096             signal: "mouse,up,1";
4097             source: "t";
4098             action: SIGNAL_EMIT "elm,action,up,stop" "";
4099          }
4100          program { name: "down";
4101             signal: "mouse,down,1";
4102             source: "b";
4103             action: SIGNAL_EMIT "elm,action,down,start" "";
4104          }
4105          program { name: "down,stop";
4106             signal: "mouse,up,1";
4107             source: "b";
4108             action: SIGNAL_EMIT "elm,action,down,stop" "";
4109          }
4110       }
4111    }
4112
4113 ///////////////////////////////////////////////////////////////////////////////
4114    group { name: "elm/clock/flipampm/default";
4115       images {
4116          image: "flip_base.png" COMP;
4117          image: "flip_base_shad.png" COMP;
4118          image: "flip_shad.png" COMP;
4119          image: "flip_amt.png" COMP;
4120          image: "flip_amb.png" COMP;
4121          image: "flip_pmt.png" COMP;
4122          image: "flip_pmb.png" COMP;
4123          image: "arrow_up.png" COMP;
4124          image: "arrow_down.png" COMP;
4125       }
4126       script {
4127          public v0_cur, v0_pre, v0_lock, v0_next;
4128
4129        public animator2(val, Float:pos) {
4130           new st1[11], st2[11], v;
4131
4132           v = get_int(v0_cur);
4133           snprintf(st1, 10, "%ih", v);
4134           snprintf(st2, 10, "%i", v);
4135           set_tween_state(PART:"bot", pos, st1, 0.0, st2, 0.0);
4136           set_tween_state(PART:"sh", pos, "half", 0.0, "full", 0.0);
4137           if (pos >= 1.0) {
4138              set_state(PART:"sh", "default", 0.0);
4139              set_int(v0_lock, 0);
4140              v = get_int(v0_next);
4141              if (v >= 0) {
4142                 set_int(v0_next, -1);
4143                 message(MSG_INT, 1, v);
4144              }
4145           }
4146        }
4147        public animator1(val, Float:pos) {
4148           new st1[11], st2[11], v;
4149
4150           v = get_int(v0_pre);
4151           snprintf(st1, 10, "%i", v);
4152           snprintf(st2, 10, "%ih", v);
4153           set_tween_state(PART:"top", pos, st1, 0.0, st2, 0.0);
4154           set_tween_state(PART:"sh", pos, "default", 0.0, "half", 0.0);
4155           if (pos >= 1.0) anim(0.2, "animator2", val);
4156        }
4157        public message(Msg_Type:type, id, ...) {
4158           if ((type == MSG_INT) && (id == 1)) {
4159              new value, v, buf[11];
4160
4161              value = getarg(2);
4162              if (get_int(v0_lock) == 1) {
4163                 set_int(v0_next, value);
4164                 return;
4165              }
4166              v = get_int(v0_cur);
4167              set_int(v0_pre, v);
4168              set_int(v0_cur, value);
4169              set_int(v0_lock, 1);
4170              snprintf(buf, 10, "%i", get_int(v0_pre));
4171              set_state(PART:"bot0", buf, 0.0);
4172              snprintf(buf, 10, "%ih", get_int(v0_cur));
4173              set_state(PART:"bot", buf, 0.0);
4174              snprintf(buf, 10, "%i", get_int(v0_cur));
4175              set_state(PART:"top0", buf, 0.0);
4176              snprintf(buf, 10, "%i", get_int(v0_pre));
4177              set_state(PART:"top", buf, 0.0);
4178              set_state(PART:"sh", "default", 0.0);
4179              anim(0.2, "animator1", 1);
4180           }
4181        }
4182       }
4183       parts {
4184          part { name: "shad";
4185             mouse_events: 0;
4186             description { state: "default" 0.0;
4187                rel1.offset: -4 -4;
4188                rel1.to: "base";
4189                rel2.offset: 3 3;
4190                rel2.to: "base";
4191                image {
4192                   normal: "flip_base_shad.png";
4193                   border: 8 8 8 8;
4194                }
4195             }
4196          }
4197          part { name: "base";
4198             mouse_events: 0;
4199             scale: 1;
4200             description { state: "default" 0.0;
4201                rel1.offset: 4 4;
4202                rel2.offset: -5 -5;
4203                // FIXME 48x96 should be the native pixel design, right now
4204                // its 80x160. fix int he artwork later
4205                aspect: 0.5 0.5;
4206                min: 24 48;
4207 //               max: 24 48;
4208                image.normal: "flip_base.png";
4209             }
4210          }
4211          part { name: "b";
4212             type: RECT;
4213             mouse_events: 1;
4214             description { state: "default" 0.0;
4215                rel1.to: "base";
4216                rel1.relative: 0.0 0.5;
4217                rel2.to: "base";
4218                color: 0 0 0 0;
4219             }
4220          }
4221          part { name: "t";
4222             type: RECT;
4223             mouse_events: 1;
4224             description { state: "default" 0.0;
4225                rel1.to: "base";
4226                rel2.to: "base";
4227                rel2.relative: 1.0 0.5;
4228                color: 0 0 0 0;
4229             }
4230          }
4231          part { name: "bot0";
4232             mouse_events: 0;
4233             description { state: "default" 0.0;
4234                rel1.to: "b";
4235                rel2.to: "b";
4236                image.normal: "flip_amb.png";
4237             }
4238             description { state: "0" 0.0;
4239                inherit: "default" 0.0;
4240                image.normal: "flip_amb.png";
4241             }
4242             description { state: "1" 0.0;
4243                inherit: "default" 0.0;
4244                image.normal: "flip_pmb.png";
4245             }
4246          }
4247          part { name: "sh";
4248             mouse_events: 0;
4249             description { state: "default" 0.0;
4250                rel1.to: "b";
4251                rel2.to: "b";
4252                rel2.relative: 1.0 0.0;
4253                image.normal: "flip_shad.png";
4254             }
4255             description { state: "half" 0.0;
4256                inherit: "default" 0.0;
4257                rel2.relative: 1.0 0.5;
4258             }
4259             description { state: "full" 0.0;
4260                inherit: "default" 0.0;
4261                rel2.relative: 1.0 1.0;
4262             }
4263          }
4264          part { name: "bot";
4265             mouse_events: 0;
4266             description { state: "default" 0.0;
4267                visible: 1;
4268                rel1.to: "b";
4269                rel2.to: "b";
4270                image.normal: "flip_amb.png";
4271             }
4272             description { state: "0" 0.0;
4273                inherit: "default" 0.0;
4274                visible: 1;
4275                rel2.relative: 1.0 1.0;
4276                image.normal: "flip_amb.png";
4277             }
4278             description { state: "0h" 0.0;
4279                inherit: "default" 0.0;
4280                visible: 0;
4281                rel2.relative: 1.0 0.0;
4282                image.normal: "flip_amb.png";
4283             }
4284             description { state: "1" 0.0;
4285                inherit: "default" 0.0;
4286                visible: 1;
4287                rel2.relative: 1.0 1.0;
4288                image.normal: "flip_pmb.png";
4289             }
4290             description { state: "1h" 0.0;
4291                inherit: "default" 0.0;
4292                visible: 0;
4293                rel2.relative: 1.0 0.0;
4294                image.normal: "flip_pmb.png";
4295             }
4296          }
4297          part { name: "top0";
4298             mouse_events: 0;
4299             description { state: "default" 0.0;
4300                rel1.to: "t";
4301                rel2.to: "t";
4302                image.normal: "flip_amt.png";
4303             }
4304             description { state: "0" 0.0;
4305                inherit: "default" 0.0;
4306                image.normal: "flip_amt.png";
4307             }
4308             description { state: "1" 0.0;
4309                inherit: "default" 0.0;
4310                image.normal: "flip_pmt.png";
4311             }
4312          }
4313          part { name: "top";
4314             mouse_events: 0;
4315             description { state: "default" 0.0;
4316                visible: 1;
4317                rel1.to: "t";
4318                rel2.to: "t";
4319                image.normal: "flip_amt.png";
4320             }
4321             description { state: "0" 0.0;
4322                inherit: "default" 0.0;
4323                visible: 1;
4324                rel1.relative: 0.0 0.0;
4325                image.normal: "flip_amt.png";
4326             }
4327             description { state: "0h" 0.0;
4328                inherit: "default" 0.0;
4329                color: 128 128 128 255;
4330                visible: 0;
4331                rel1.relative: 0.0 1.0;
4332                image.normal: "flip_amt.png";
4333             }
4334             description { state: "1" 0.0;
4335                inherit: "default" 0.0;
4336                visible: 1;
4337                rel1.relative: 0.0 0.0;
4338                image.normal: "flip_pmt.png";
4339             }
4340             description { state: "1h" 0.0;
4341                inherit: "default" 0.0;
4342                color: 128 128 128 255;
4343                visible: 0;
4344                rel1.relative: 0.0 1.0;
4345                image.normal: "flip_pmt.png";
4346             }
4347          }
4348          part { name: "atop";
4349             mouse_events: 0;
4350             scale: 1;
4351             description { state: "default" 0.0;
4352                visible: 0;
4353                min: 15 15;
4354                max: 15 15;
4355                align: 0.5 0.0;
4356                rel1.to: "t";
4357                rel2.to: "t";
4358                image.normal: "arrow_up.png";
4359             }
4360             description { state: "visible" 0.0;
4361                inherit: "default" 0.0;
4362                visible: 1;
4363             }
4364          }
4365          part { name: "abot";
4366             mouse_events: 0;
4367             scale: 1;
4368             description { state: "default" 0.0;
4369                visible: 0;
4370                min: 15 15;
4371                max: 15 15;
4372                align: 0.5 1.0;
4373                rel1.to: "b";
4374                rel2.to: "b";
4375                image.normal: "arrow_down.png";
4376             }
4377             description { state: "visible" 0.0;
4378                inherit: "default" 0.0;
4379                visible: 1;
4380             }
4381          }
4382       }
4383       programs {
4384          program { name: "load";
4385             signal: "load";
4386             source: "";
4387             script {
4388                set_int(v0_cur, 0);
4389                set_int(v0_pre, 0);
4390                set_int(v0_lock, 0);
4391                set_int(v0_next, -1);
4392             }
4393          }
4394          program { name: "edit_on";
4395             signal: "elm,state,edit,on";
4396             source: "elm";
4397             action: STATE_SET "visible" 0.0;
4398             target: "atop";
4399             target: "abot";
4400          }
4401 /*
4402          program { name: "edit_off";
4403             signal: "elm,state,edit,off";
4404             source: "elm";
4405             action: STATE_SET "default" 0.0;
4406             target: "atop";
4407             target: "abot";
4408          }
4409  */
4410          program { name: "up";
4411             signal: "mouse,down,1";
4412             source: "t";
4413             action: SIGNAL_EMIT "elm,action,up,start" "";
4414          }
4415          program { name: "up,stop";
4416             signal: "mouse,up,1";
4417             source: "t";
4418             action: SIGNAL_EMIT "elm,action,up,stop" "";
4419          }
4420          program { name: "down";
4421             signal: "mouse,down,1";
4422             source: "b";
4423             action: SIGNAL_EMIT "elm,action,down,start" "";
4424          }
4425          program { name: "down,stop";
4426             signal: "mouse,up,1";
4427             source: "b";
4428             action: SIGNAL_EMIT "elm,action,down,stop" "";
4429          }
4430       }
4431    }
4432
4433    ///////////////////////////////////////////////////////////////////////////////
4434    group { name: "elm/menu/item/default";
4435        images {
4436            image: "bt_base1.png" COMP;
4437            image: "bt_base2.png" COMP;
4438            image: "bt_hilight.png" COMP;
4439            image: "bt_shine.png" COMP;
4440            image: "bt_glow.png" COMP;
4441            image: "bt_dis_base.png" COMP;
4442            image: "bt_dis_hilight.png" COMP;
4443        }
4444        script {
4445             public menu_text_visible; //0:hide (default), 1:visible
4446             public menu_disable; //0:enable, 1:disable
4447        }
4448        parts {
4449            part { name: "item_image";
4450                mouse_events: 1;
4451                description { state: "default" 0.0;
4452                    color: 255 255 255 0;
4453                    image {
4454                        normal: "bt_base2.png";
4455                        border: 7 7 7 7;
4456                    }
4457                    image.middle: SOLID;
4458                }
4459                description { state: "visible" 0.0;
4460                    inherit: "default" 0.0;
4461                    color: 255 255 255 255;
4462                }
4463                description { state: "clicked" 0.0;
4464                    inherit: "default" 0.0;
4465                    inherit: "visible" 0.0;
4466                    image.normal: "bt_base1.png";
4467                    image.middle: SOLID;
4468                }
4469                description { state: "disabled" 0.0;
4470                    inherit:  "default" 0.0;
4471                }
4472            }
4473            part { name: "item_image_disabled";
4474                mouse_events: 1;
4475                description { state: "default" 0.0;
4476                    color: 255 255 255 0;
4477                    image {
4478                        normal: "bt_dis_base.png";
4479                        border: 4 4 4 4;
4480                    }
4481                    image.middle: SOLID;
4482                }
4483                description { state: "disabled" 0.0;
4484                    inherit:  "default" 0.0;
4485                    color: 255 255 255 255;
4486                }
4487            }
4488            part { name: "elm.swallow.content";
4489                type: SWALLOW;
4490                description { state: "default" 0.0;
4491                    fixed: 1 0;
4492                    visible: 1;
4493                    align: 0.0 0.5;
4494                    rel1.offset: 4 4;
4495                    rel2.offset: 3 -5;
4496                    rel2.relative: 0.0 1.0;
4497                    aspect: 1.0 1.0;
4498                    aspect_preference: VERTICAL;
4499                    rel2.offset: 4 -5;
4500                }
4501            }
4502            part {
4503                name:          "elm.text";
4504                type:          TEXT;
4505                mouse_events:  0;
4506                scale: 1;
4507                description { state: "default" 0.0;
4508                    visible: 0;
4509                    rel1.to_x: "elm.swallow.content";
4510                    rel1.relative: 1.0 0.0;
4511                    rel1.offset: 5 7;
4512                    rel2.offset: -10 -8;
4513                    color: 0 0 0 255;
4514                    text {
4515                        font:     "Sans,Edje-Vera";
4516                        size:     10;
4517                        min:      1 1;
4518                        align:    0.0 0.5;
4519                        text_class: "menu_item";
4520                    }
4521                }
4522                description { state: "visible" 0.0;
4523                    inherit: "default" 0.0;
4524                    visible: 1;
4525                    text.min: 1 1;
4526                }
4527                description { state: "selected" 0.0;
4528                    inherit: "default" 0.0;
4529                    inherit: "visible" 0.0;
4530                    color: 254 254 254 255;
4531                }
4532                description { state: "disabled" 0.0;
4533                    inherit: "default" 0.0;
4534                    color: 0 0 0 128;
4535                }
4536                description { state: "disabled_visible" 0.0;
4537                    inherit: "default" 0.0;
4538                    inherit: "visible" 0.0;
4539                    color: 0 0 0 128;
4540                }
4541            }
4542            part {          name: "over1";
4543                mouse_events: 0;
4544                description { state: "default" 0.0;
4545                    color: 255 255 255 0;
4546                    rel2.relative: 1.0 0.5;
4547                    image {
4548                        normal: "bt_hilight.png";
4549                        border: 7 7 7 0;
4550                    }
4551                }
4552                description { state: "visible" 0.0;
4553                    inherit:  "default" 0.0;
4554                    color: 255 255 255 255;
4555                }
4556                description { state: "disabled" 0.0;
4557                    inherit:  "default" 0.0;
4558                }
4559            }
4560            part {          name: "over_disabled";
4561                mouse_events: 0;
4562                description { state: "default" 0.0;
4563                    color: 255 255 255 0;
4564                    rel2.relative: 1.0 0.5;
4565                    image {
4566                        normal: "bt_dis_hilight.png";
4567                        border: 4 4 4 0;
4568                    }
4569                }
4570                description { state: "disabled" 0.0;
4571                    inherit:  "default" 0.0;
4572                    color: 255 255 255 255;
4573                }
4574            }
4575            part { name: "over2";
4576                mouse_events: 1;
4577                repeat_events: 1;
4578                ignore_flags: ON_HOLD;
4579                description { state: "default" 0.0;
4580                    image {
4581                        normal: "bt_shine.png";
4582                        border: 7 7 7 7;
4583                    }
4584                }
4585                description { state: "disabled" 0.0;
4586                    inherit:  "default" 0.0;
4587                    visible: 0;
4588                }
4589            }
4590            part { name: "over3";
4591                mouse_events: 1;
4592                repeat_events: 1;
4593                description { state: "default" 0.0;
4594                    color: 255 255 255 0;
4595                    image {
4596                        normal: "bt_glow.png";
4597                        border: 12 12 12 12;
4598                    }
4599                    fill.smooth : 0;
4600                }
4601                description { state: "clicked" 0.0;
4602                    inherit:  "default" 0.0;
4603                    visible: 1;
4604                    color: 255 255 255 255;
4605                }
4606            }
4607            part { name: "disabler";
4608                type: RECT;
4609                description { state: "default" 0.0;
4610                    color: 0 0 0 0;
4611                    visible: 0;
4612                }
4613                description { state: "disabled" 0.0;
4614                    inherit: "default" 0.0;
4615                    visible: 1;
4616                }
4617            }
4618        }
4619        programs {
4620           //
4621            program {
4622                name:   "item_mouse_in";
4623                signal: "mouse,in";
4624                source: "over2";
4625                action: SIGNAL_EMIT "elm,action,activate" "";
4626                after: "item_mouse_in_2";
4627                after: "item_mouse_in_3";
4628            }
4629            program {
4630                name:   "item_mouse_in_2";
4631                transition: DECELERATE 0.5;
4632                script {
4633                    new v, d;
4634                    v = get_int(menu_text_visible);
4635                    d = get_int(menu_disable);
4636
4637                    if (v==1 && d==0)
4638                         run_program(PROGRAM:"selected_text");
4639                }
4640            }
4641            program {
4642                name:   "item_mouse_in_3";
4643                action : STATE_SET "visible" 0.0;
4644                target: "item_image";
4645                target: "over1";
4646                transition: DECELERATE 0.5;
4647            }
4648            program {
4649                name:   "selected_text";
4650                action: STATE_SET "selected" 0.0;
4651                target: "elm.text";
4652                transition: DECELERATE 0.5;
4653            }
4654            //
4655
4656            //
4657            program {
4658                name:   "item_mouse_out";
4659                signal: "mouse,out";
4660                source: "over2";
4661                action: SIGNAL_EMIT "elm,action,inactivate" "";
4662                after: "item_mouse_out_2";
4663                after: "item_mouse_out_3";
4664            }
4665            program {
4666                name:   "item_mouse_out_2";
4667                transition: DECELERATE 0.5;
4668                script {
4669                    new v, d;
4670                    v = get_int(menu_text_visible);
4671                    d = get_int(menu_disable);
4672
4673                    if (v==1 && d==0)
4674                         run_program(PROGRAM:"visible_text");
4675                }
4676            }
4677            program {
4678                name:   "item_mouse_out_3";
4679                action: STATE_SET "default" 0.0;
4680                target: "item_image";
4681                target: "over1";
4682                transition: DECELERATE 0.5;
4683            }
4684            program {
4685                name:   "visible_text";
4686                action: STATE_SET "visible" 0.0;
4687                target: "elm.text";
4688                transition: DECELERATE 0.5;
4689            }
4690            //
4691
4692            program {
4693                name:   "item_unclick";
4694                signal: "mouse,up,1";
4695                source: "over2";
4696                action: STATE_SET "visible" 0.0;
4697                target: "item_image";
4698            }
4699            program {
4700                name:   "item_click2";
4701                signal: "mouse,down,1";
4702                source: "over3";
4703                action: STATE_SET "clicked" 0.0;
4704                target: "over3";
4705            }
4706            program {
4707                name:   "item_unclick2";
4708                signal: "mouse,up,1";
4709                source: "over3";
4710                action: STATE_SET "default" 0.0;
4711                transition: DECELERATE 0.5;
4712                target: "over3";
4713            }
4714            program {
4715                name:   "item_unclick3";
4716                signal: "mouse,up,1";
4717                source: "over2";
4718                action: SIGNAL_EMIT "elm,action,click" "";
4719            }
4720            program { name: "text_show";
4721                signal: "elm,state,text,visible";
4722                source: "elm";
4723                script {
4724                    set_int(menu_text_visible, 1);
4725                    set_state(PART:"elm.text", "visible", 0.0);
4726                }
4727            }
4728            program { name: "text_hide";
4729                signal: "elm,state,text,hidden";
4730                source: "elm";
4731                script {
4732                    set_int(menu_text_visible, 0);
4733                    set_state(PART:"elm.text", "default", 0.0);
4734                }
4735            }
4736            program { name: "disable";
4737                signal: "elm,state,disabled";
4738                source: "elm";
4739                action: STATE_SET "disabled" 0.0;
4740                target: "item_image";
4741                target: "item_image_disabled";
4742                target: "over1";
4743                target: "over2";
4744                target: "over_disabled";
4745                target: "disabler";
4746                after: "disable_text";
4747            }
4748            program { name: "disable_text";
4749                script {
4750                    new v;
4751                    v = get_int(menu_text_visible);
4752                    if (v==1)
4753                     set_state(PART:"elm.text", "disabled_visible", 0.0);
4754                    else if (v==0)
4755                     set_state(PART:"elm.text", "disabled", 0.0);
4756                    set_int(menu_disable, 1);
4757                }
4758            }
4759            program { name: "item_select";
4760                signal: "elm,state,selected";
4761                source: "elm";
4762                after: "item_mouse_in_2";
4763                after: "item_mouse_in_3";
4764            }
4765            program { name: "item_unselect";
4766                signal: "elm,state,unselected";
4767                source: "elm";
4768                after: "item_mouse_out_2";
4769                after: "item_mouse_out_3";
4770            }
4771            program { name: "enable";
4772                signal: "elm,state,enabled";
4773                source: "elm";
4774                action: STATE_SET "default" 0.0;
4775                target: "item_image";
4776                target: "item_image_disabled";
4777                target: "over1";
4778                target: "over2";
4779                target: "over_disabled";
4780                target: "disabler";
4781                after: "enable_text";
4782            }
4783            program { name: "enable_text";
4784                script {
4785                    new v;
4786                    v = get_int(menu_text_visible);
4787                    if (v==1)
4788                     set_state(PART:"elm.text", "visible", 0.0);
4789                    else  if (v==0)
4790                     set_state(PART:"elm.text", "default", 0.0);
4791                    set_int(menu_disable, 0);
4792                }
4793            }
4794        }
4795    }
4796
4797    group { name: "elm/menu/item_with_submenu/default";
4798        images {
4799            image: "bt_base1.png" COMP;
4800            image: "bt_base2.png" COMP;
4801            image: "bt_hilight.png" COMP;
4802            image: "bt_shine.png" COMP;
4803            image: "bt_glow.png" COMP;
4804            image: "bt_dis_base.png" COMP;
4805            image: "bt_dis_hilight.png" COMP;
4806            image: "arrow_right.png" COMP;
4807            image: "arrow_left.png" COMP;
4808        }
4809        script {
4810             public menu_text_visible; //0:hide (default), 1:visible
4811             public menu_disable; //0:enable, 1:disable
4812        }
4813        parts {
4814            part { name: "item_image";
4815                mouse_events: 1;
4816                description { state: "default" 0.0;
4817                    color: 255 255 255 0;
4818                    image {
4819                        normal: "bt_base2.png";
4820                        border: 7 7 7 7;
4821                    }
4822                    image.middle: SOLID;
4823                }
4824                description { state: "visible" 0.0;
4825                    inherit: "default" 0.0;
4826                    color: 255 255 255 255;
4827                }
4828                description { state: "clicked" 0.0;
4829                    inherit: "default" 0.0;
4830                    inherit: "visible" 0.0;
4831                    image.normal: "bt_base1.png";
4832                    image.middle: SOLID;
4833                }
4834                description { state: "disabled" 0.0;
4835                    inherit:  "default" 0.0;
4836                }
4837            }
4838            part { name: "item_image_disabled";
4839                mouse_events: 1;
4840                description { state: "default" 0.0;
4841                    color: 255 255 255 0;
4842                    image {
4843                        normal: "bt_dis_base.png";
4844                        border: 4 4 4 4;
4845                    }
4846                    image.middle: SOLID;
4847                }
4848                description { state: "disabled" 0.0;
4849                    inherit:  "default" 0.0;
4850                    color: 255 255 255 255;
4851                }
4852            }
4853            part { name: "arrow";
4854                mouse_events: 1;
4855                description { state: "default" 0.0;
4856                    color: 255 255 255 255;
4857                    align: 1.0 0.5;
4858                    aspect: 1 1;
4859                    aspect_preference: BOTH;
4860                    image {
4861                        normal: "arrow_right.png";
4862                    }
4863                }
4864                description { state: "rtl" 0.0;
4865                   inherit: "default" 0.0;
4866                   image.normal: "arrow_left.png";
4867                }
4868            }
4869            part { name: "elm.swallow.content";
4870                type: SWALLOW;
4871                description { state: "default" 0.0;
4872                    fixed: 1 0;
4873                    visible: 1;
4874                    align: 0.0 0.5;
4875                    rel1.offset: 4 4;
4876                    rel2.offset: 3 -5;
4877                    rel2.relative: 0.0 1.0;
4878                    aspect: 1.0 1.0;
4879                    aspect_preference: VERTICAL;
4880                    rel2.offset: 4 -5;
4881                }
4882            }
4883            part {
4884                name:          "elm.text";
4885                type:          TEXT;
4886                mouse_events:  0;
4887                scale: 1;
4888                description { state: "default" 0.0;
4889                    visible: 0;
4890                    rel1.to_x: "elm.swallow.content";
4891                    rel1.relative: 1.0 0.0;
4892                    rel1.offset: 5 7;
4893                    rel2.offset: -10 -8;
4894                    color: 0 0 0 255;
4895                    text {
4896                        font:     "Sans,Edje-Vera";
4897                        size:     10;
4898                        min:      1 1;
4899                        align:    0.0 0.5;
4900                        text_class: "menu_item";
4901                    }
4902                }
4903                description { state: "visible" 0.0;
4904                    inherit: "default" 0.0;
4905                    visible: 1;
4906                    text.min: 1 1;
4907                }
4908                description { state: "selected" 0.0;
4909                    inherit: "default" 0.0;
4910                    inherit: "visible" 0.0;
4911                    color: 254 254 254 255;
4912                }
4913                description { state: "disabled" 0.0;
4914                    inherit: "default" 0.0;
4915                    color: 0 0 0 128;
4916                }
4917                description { state: "disabled_visible" 0.0;
4918                    inherit: "default" 0.0;
4919                    inherit: "visible" 0.0;
4920                    color: 0 0 0 128;
4921                }
4922            }
4923            part {          name: "over1";
4924                mouse_events: 0;
4925                description { state: "default" 0.0;
4926                    color: 255 255 255 0;
4927                    rel2.relative: 1.0 0.5;
4928                    image {
4929                        normal: "bt_hilight.png";
4930                        border: 7 7 7 0;
4931                    }
4932                }
4933                description { state: "visible" 0.0;
4934                    inherit:  "default" 0.0;
4935                    color: 255 255 255 255;
4936                }
4937                description { state: "disabled" 0.0;
4938                    inherit:  "default" 0.0;
4939                }
4940            }
4941            part { name: "over_disabled";
4942                mouse_events: 0;
4943                description { state: "default" 0.0;
4944                    color: 255 255 255 0;
4945                    rel2.relative: 1.0 0.5;
4946                    image {
4947                        normal: "bt_dis_hilight.png";
4948                        border: 4 4 4 0;
4949                    }
4950                }
4951                description { state: "disabled" 0.0;
4952                    inherit:  "default" 0.0;
4953                    color: 255 255 255 255;
4954                }
4955            }
4956            part { name: "over2";
4957                mouse_events: 1;
4958                repeat_events: 1;
4959                ignore_flags: ON_HOLD;
4960                description { state: "default" 0.0;
4961                    image {
4962                        normal: "bt_shine.png";
4963                        border: 7 7 7 7;
4964                    }
4965                }
4966                description { state: "disabled" 0.0;
4967                    inherit:  "default" 0.0;
4968                    visible: 0;
4969                }
4970            }
4971            part { name: "over3";
4972                mouse_events: 1;
4973                repeat_events: 1;
4974                description { state: "default" 0.0;
4975                    color: 255 255 255 0;
4976                    image {
4977                        normal: "bt_glow.png";
4978                        border: 12 12 12 12;
4979                    }
4980                    fill.smooth : 0;
4981                }
4982                description { state: "clicked" 0.0;
4983                    inherit:  "default" 0.0;
4984                    visible: 1;
4985                    color: 255 255 255 255;
4986                }
4987            }
4988            part { name: "disabler";
4989                type: RECT;
4990                description { state: "default" 0.0;
4991                    color: 0 0 0 0;
4992                    visible: 0;
4993                }
4994                description { state: "disabled" 0.0;
4995                    inherit: "default" 0.0;
4996                    visible: 1;
4997                }
4998            }
4999        }
5000        programs {
5001            //
5002            program {
5003                name:   "item_mouse_in";
5004                signal: "mouse,in";
5005                source: "over2";
5006                action: SIGNAL_EMIT "elm,action,activate" "";
5007                after: "item_mouse_in_2";
5008                after: "item_mouse_in_3";
5009            }
5010            program {
5011                name:   "item_mouse_in_2";
5012                transition: DECELERATE 0.5;
5013                script {
5014                    new v, d;
5015                    v = get_int(menu_text_visible);
5016                    d = get_int(menu_disable);
5017
5018                    if (v==1 && d==0)
5019                         run_program(PROGRAM:"selected_text");
5020                }
5021            }
5022            program {
5023                name:   "item_mouse_in_3";
5024                action : STATE_SET "visible" 0.0;
5025                target: "item_image";
5026                target: "over1";
5027                transition: DECELERATE 0.5;
5028            }
5029            program {
5030                name:   "selected_text";
5031                action: STATE_SET "selected" 0.0;
5032                target: "elm.text";
5033                transition: DECELERATE 0.5;
5034            }
5035            //
5036
5037            //
5038            program {
5039                name:   "item_mouse_out";
5040                signal: "mouse,out";
5041                source: "over2";
5042                after: "item_mouse_out_2";
5043                after: "item_mouse_out_3";
5044            }
5045            program {
5046                name:   "item_mouse_out_2";
5047                transition: DECELERATE 0.5;
5048                script {
5049                    new v, d;
5050                    v = get_int(menu_text_visible);
5051                    d = get_int(menu_disable);
5052
5053                    if (v==1 && d==0)
5054                         run_program(PROGRAM:"visible_text");
5055                }
5056            }
5057            program {
5058                name:   "item_mouse_out_3";
5059                action: STATE_SET "default" 0.0;
5060                target: "item_image";
5061                target: "over1";
5062                transition: DECELERATE 0.5;
5063            }
5064            program {
5065                name:   "visible_text";
5066                action: STATE_SET "visible" 0.0;
5067                target: "elm.text";
5068                transition: DECELERATE 0.5;
5069            }
5070            //
5071
5072            program {
5073                name:   "item_unclick";
5074                signal: "mouse,up,1";
5075                source: "over2";
5076                action: STATE_SET "visible" 0.0;
5077                target: "item_image";
5078            }
5079            program {
5080                name:   "item_click2";
5081                signal: "mouse,down,1";
5082                source: "over3";
5083                action: STATE_SET "clicked" 0.0;
5084                target: "over3";
5085            }
5086            program {
5087                name:   "item_unclick2";
5088                signal: "mouse,up,1";
5089                source: "over3";
5090                action: STATE_SET "default" 0.0;
5091                transition: DECELERATE 0.5;
5092                target: "over3";
5093            }
5094            program {
5095                name:   "item_unclick3";
5096                signal: "mouse,up,1";
5097                source: "over2";
5098                action: SIGNAL_EMIT "elm,action,click" "";
5099            }
5100            program {
5101                name:   "menu_open";
5102                signal: "mouse,in";
5103                source: "over2";
5104                action: SIGNAL_EMIT "elm,action,open" "";
5105            }
5106             program { name: "text_show";
5107                signal: "elm,state,text,visible";
5108                source: "elm";
5109                script {
5110                    set_int(menu_text_visible, 1);
5111                    set_state(PART:"elm.text", "visible", 0.0);
5112                }
5113            }
5114            program { name: "text_hide";
5115                signal: "elm,state,text,hidden";
5116                source: "elm";
5117                script {
5118                    set_int(menu_text_visible, 0);
5119                    set_state(PART:"elm.text", "default", 0.0);
5120                }
5121            }
5122            program { name: "disable";
5123                signal: "elm,state,disabled";
5124                source: "elm";
5125                action: STATE_SET "disabled" 0.0;
5126                target: "item_image";
5127                target: "item_image_disabled";
5128                target: "over1";
5129                target: "over2";
5130                target: "over_disabled";
5131                target: "disabler";
5132                after: "disable_text";
5133            }
5134            program { name: "disable_text";
5135                script {
5136                    new st[31];
5137                    new Float:vl;
5138                    get_state(PART:"elm.text", st, 30, vl);
5139                    if (!strcmp(st, "visible"))
5140                    set_state(PART:"elm.text", "disabled_visible", 0.0);
5141                    else if (!strcmp(st, "default"))
5142                    set_state(PART:"elm.text", "disabled", 0.0);
5143                }
5144            }
5145            program { name: "enable";
5146                signal: "elm,state,enabled";
5147                source: "elm";
5148                action: STATE_SET "default" 0.0;
5149                target: "item_image";
5150                target: "item_image_disabled";
5151                target: "over1";
5152                target: "over2";
5153                target: "over_disabled";
5154                target: "disabler";
5155                after: "enable_text";
5156            }
5157            program { name: "enable_text";
5158                script {
5159                    new v;
5160                    v = get_int(menu_text_visible);
5161                    if (v==1)
5162                     set_state(PART:"elm.text", "visible", 0.0);
5163                    else  if (v==0)
5164                     set_state(PART:"elm.text", "default", 0.0);
5165                    set_int(menu_disable, 0);
5166                }
5167            }
5168            program { name: "to_rtl";
5169                signal: "edje,state,rtl";
5170                source: "edje";
5171                action: STATE_SET "rtl" 0.0;
5172                target: "arrow";
5173            }
5174            program { name: "to_ltr";
5175                signal: "edje,state,ltr";
5176                source: "edje";
5177                action: STATE_SET "default" 0.0;
5178                target: "arrow";
5179            }
5180        }
5181    }
5182
5183    group { name: "elm/menu/separator/default";
5184        images {
5185            image: "separator_h.png" COMP;
5186        }
5187        parts {
5188            part { name: "separator"; // separator group
5189                description { state: "default" 0.0;
5190                    min: 2 2;
5191                    rel1.offset: 4 4;
5192                    rel2.offset: -5 -5;
5193                    image {
5194                        normal: "separator_h.png";
5195                    }
5196                    fill {
5197                        smooth: 0;
5198                    }
5199                }
5200            }
5201        }
5202    }
5203 ///////////////////////////////////////////////////////////////////////////////
5204    group { name: "elm/clock/base-all/default";
5205       parts {
5206          part { name: "d0";
5207             type: SWALLOW;
5208             description { state: "default" 0.0;
5209                rel1.relative: 0.0000000 0.0;
5210                rel2.relative: 0.1250000 1.0;
5211             }
5212          }
5213          part { name: "d1";
5214             type: SWALLOW;
5215             description { state: "default" 0.0;
5216                rel1.relative: 0.1250000 0.0;
5217                rel2.relative: 0.2500000 1.0;
5218             }
5219          }
5220          part { name: "c0";
5221             type: SWALLOW;
5222             type: TEXT;
5223             mouse_events:  0;
5224             scale: 1;
5225             description { state: "default" 0.0;
5226                rel1.relative: 0.2500000 0.0;
5227                rel2.relative: 0.3125000 1.0;
5228                color: 0 0 0 255;
5229                text {
5230                   font:     "Sans,Edje-Vera";
5231                   text:     ":";
5232                   size:     10;
5233                   min:      1 1;
5234                   align:    0.5 0.5;
5235                }
5236             }
5237          }
5238          part { name: "d2";
5239             type: SWALLOW;
5240             description { state: "default" 0.0;
5241                rel1.relative: 0.3125000 0.0;
5242                rel2.relative: 0.4375000 1.0;
5243             }
5244          }
5245          part { name: "d3";
5246             type: SWALLOW;
5247             description { state: "default" 0.0;
5248                rel1.relative: 0.4375000 0.0;
5249                rel2.relative: 0.5625000 1.0;
5250             }
5251          }
5252          // (if seconds)
5253          part { name: "c1";
5254             type: SWALLOW;
5255             type: TEXT;
5256             mouse_events:  0;
5257             scale: 1;
5258             description { state: "default" 0.0;
5259                rel1.relative: 0.5625000 0.0;
5260                rel2.relative: 0.6250000 1.0;
5261                color: 0 0 0 255;
5262                text {
5263                   font:     "Sans,Edje-Vera";
5264                   text:     ":";
5265                   size:     10;
5266                   min:      1 1;
5267                   align:    0.5 0.5;
5268                }
5269             }
5270          }
5271          // (if seconds)
5272          part { name: "d4";
5273             type: SWALLOW;
5274             description { state: "default" 0.0;
5275                rel1.relative: 0.6250000 0.0;
5276                rel2.relative: 0.7500000 1.0;
5277             }
5278          }
5279          // (if seconds)
5280          part { name: "d5";
5281             type: SWALLOW;
5282             description { state: "default" 0.0;
5283                rel1.relative: 0.7500000 0.0;
5284                rel2.relative: 0.8750000 1.0;
5285             }
5286          }
5287          // (if am_pm)
5288          part { name: "ampm";
5289             type: SWALLOW;
5290             description { state: "default" 0.0;
5291                rel1.relative: 0.8750000 0.0;
5292                rel2.relative: 1.0 1.0;
5293             }
5294          }
5295       }
5296    }
5297
5298 ///////////////////////////////////////////////////////////////////////////////
5299    group { name: "elm/clock/base-seconds/default";
5300       parts {
5301          part { name: "d0";
5302             type: SWALLOW;
5303             description { state: "default" 0.0;
5304                rel1.relative: 0.000000000 0.0;
5305                rel2.relative: 0.142857143 1.0;
5306             }
5307          }
5308          part { name: "d1";
5309             type: SWALLOW;
5310             description { state: "default" 0.0;
5311                rel1.relative: 0.142857143 0.0;
5312                rel2.relative: 0.285714286 1.0;
5313             }
5314          }
5315          part { name: "c0";
5316             type: SWALLOW;
5317             type: TEXT;
5318             mouse_events:  0;
5319             scale: 1;
5320             description { state: "default" 0.0;
5321                rel1.relative: 0.285714286 0.0;
5322                rel2.relative: 0.357142857 1.0;
5323                color: 0 0 0 255;
5324                text {
5325                   font:     "Sans,Edje-Vera";
5326                   text:     ":";
5327                   size:     10;
5328                   min:      1 1;
5329                   align:    0.5 0.5;
5330                }
5331             }
5332          }
5333          part { name: "d2";
5334             type: SWALLOW;
5335             description { state: "default" 0.0;
5336                rel1.relative: 0.357142857 0.0;
5337                rel2.relative: 0.500000000 1.0;
5338             }
5339          }
5340          part { name: "d3";
5341             type: SWALLOW;
5342             description { state: "default" 0.0;
5343                rel1.relative: 0.500000000 0.0;
5344                rel2.relative: 0.642857143 1.0;
5345             }
5346          }
5347          // (if seconds)
5348          part { name: "c1";
5349             type: SWALLOW;
5350             type: TEXT;
5351             mouse_events:  0;
5352             scale: 1;
5353             description { state: "default" 0.0;
5354                rel1.relative: 0.642857143 0.0;
5355                rel2.relative: 0.714285714 1.0;
5356                color: 0 0 0 255;
5357                text {
5358                   font:     "Sans,Edje-Vera";
5359                   text:     ":";
5360                   size:     10;
5361                   min:      1 1;
5362                   align:    0.5 0.5;
5363                }
5364             }
5365          }
5366          // (if seconds)
5367          part { name: "d4";
5368             type: SWALLOW;
5369             description { state: "default" 0.0;
5370                rel1.relative: 0.714285714 0.0;
5371                rel2.relative: 0.857142857 1.0;
5372             }
5373          }
5374          // (if seconds)
5375          part { name: "d5";
5376             type: SWALLOW;
5377             description { state: "default" 0.0;
5378                rel1.relative: 0.857142857 0.0;
5379                rel2.relative: 1.000000000 1.0;
5380             }
5381          }
5382       }
5383    }
5384
5385 ///////////////////////////////////////////////////////////////////////////////
5386    group { name: "elm/clock/base-am_pm/default";
5387       parts {
5388          part { name: "d0";
5389             type: SWALLOW;
5390             description { state: "default" 0.0;
5391                rel1.relative: 0.000000000 0.0;
5392                rel2.relative: 0.181818182 1.0;
5393             }
5394          }
5395          part { name: "d1";
5396             type: SWALLOW;
5397             description { state: "default" 0.0;
5398                rel1.relative: 0.181818182 0.0;
5399                rel2.relative: 0.363636364 1.0;
5400             }
5401          }
5402          part { name: "c0";
5403             type: SWALLOW;
5404             type: TEXT;
5405             mouse_events:  0;
5406             scale: 1;
5407             description { state: "default" 0.0;
5408                rel1.relative: 0.363636364 0.0;
5409                rel2.relative: 0.454545455 1.0;
5410                color: 0 0 0 255;
5411                text {
5412                   font:     "Sans,Edje-Vera";
5413                   text:     ":";
5414                   size:     10;
5415                   min:      1 1;
5416                   align:    0.5 0.5;
5417                }
5418             }
5419          }
5420          part { name: "d2";
5421             type: SWALLOW;
5422             description { state: "default" 0.0;
5423                rel1.relative: 0.454545455 0.0;
5424                rel2.relative: 0.636363636 1.0;
5425             }
5426          }
5427          part { name: "d3";
5428             type: SWALLOW;
5429             description { state: "default" 0.0;
5430                rel1.relative: 0.636363636 0.0;
5431                rel2.relative: 0.818181818 1.0;
5432             }
5433          }
5434          // (if am_pm)
5435          part { name: "ampm";
5436             type: SWALLOW;
5437             description { state: "default" 0.0;
5438                rel1.relative: 0.818181818 0.0;
5439                rel2.relative: 1.0 1.0;
5440             }
5441          }
5442       }
5443    }
5444
5445 ///////////////////////////////////////////////////////////////////////////////
5446    group { name: "elm/clock/base/default";
5447       parts {
5448          part { name: "d0";
5449             type: SWALLOW;
5450             description { state: "default" 0.0;
5451                rel1.relative: 0.000000000 0.0;
5452                rel2.relative: 0.222222222 1.0;
5453             }
5454          }
5455          part { name: "d1";
5456             type: SWALLOW;
5457             description { state: "default" 0.0;
5458                rel1.relative: 0.222222222 0.0;
5459                rel2.relative: 0.444444444 1.0;
5460             }
5461          }
5462          part { name: "c0";
5463             type: SWALLOW;
5464             type: TEXT;
5465             mouse_events:  0;
5466             scale: 1;
5467             description { state: "default" 0.0;
5468                rel1.relative: 0.444444444 0.0;
5469                rel2.relative: 0.555555556 1.0;
5470                color: 0 0 0 255;
5471                text {
5472                   font:     "Sans,Edje-Vera";
5473                   text:     ":";
5474                   size:     10;
5475                   min:      1 1;
5476                   align:    0.5 0.5;
5477                }
5478             }
5479          }
5480          part { name: "d2";
5481             type: SWALLOW;
5482             description { state: "default" 0.0;
5483                rel1.relative: 0.555555556 0.0;
5484                rel2.relative: 0.777777778 1.0;
5485             }
5486          }
5487          part { name: "d3";
5488             type: SWALLOW;
5489             description { state: "default" 0.0;
5490                rel1.relative: 0.777777778 0.0;
5491                rel2.relative: 1.000000000 1.0;
5492             }
5493          }
5494       }
5495    }
5496
5497 ///////////////////////////////////////////////////////////////////////////////
5498    group { name: "elm/frame/base/default";
5499        images {
5500            image: "frame_1.png" COMP;
5501            image: "frame_2.png" COMP;
5502            image: "dia_grad.png" COMP;
5503        }
5504        parts {
5505            part { name: "base0";
5506                mouse_events:  0;
5507                description { state: "default" 0.0;
5508                    image.normal: "dia_grad.png";
5509                    rel1.to: "over";
5510                    rel2.to: "over";
5511                    fill {
5512                        smooth: 0;
5513                        size {
5514                            relative: 0.0 1.0;
5515                            offset: 64 0;
5516                        }
5517                    }
5518                }
5519            }
5520            part { name: "base";
5521                mouse_events:  0;
5522                description { state:    "default" 0.0;
5523                    rel2.to: "elm.swallow.content";
5524                    rel2.offset: 9 9;
5525                    image {
5526                        normal: "frame_2.png";
5527                        border: 5 5 32 26;
5528                        middle: 0;
5529                    }
5530                    fill.smooth : 0;
5531                }
5532            }
5533            part { name: "elm.text";
5534                type: TEXT;
5535                mouse_events:   0;
5536                scale: 1;
5537                description { state: "default" 0.0;
5538                    align: 0.0 0.0;
5539                    fixed: 0 1;
5540                    rel1 {
5541                        relative: 0.0 0.0;
5542                        offset: 6 6;
5543                    }
5544                    rel2 {
5545                        relative: 1.0 0.0;
5546                        offset: -7 6;
5547                    }
5548                    color: 0 0 0 64;
5549                    text {
5550                        font: "Sans:style=Bold,Edje-Vera-Bold";
5551                        size: 10;
5552                        min: 1 1;
5553                        max: 1 1;
5554                        align: 0.0 0.0;
5555                    }
5556                }
5557            }
5558            part { name: "over";
5559                mouse_events:  0;
5560                description { state:    "default" 0.0;
5561                    rel1.offset: 4 4;
5562                    rel2.to: "elm.swallow.content";
5563                    rel2.offset: 5 5;
5564                    image {
5565                        normal: "frame_1.png";
5566                        border: 2 2 28 22;
5567                        middle: 0;
5568                    }
5569                    fill.smooth : 0;
5570                }
5571            }
5572            part { name: "elm.swallow.content";
5573                type: SWALLOW;
5574                description { state: "default" 0.0;
5575                    align: 0.0 0.0;
5576                    rel1 {
5577                        to_y: "elm.text";
5578                        relative: 0.0 1.0;
5579                        offset: 8 2;
5580                    }
5581                    rel2.offset: -9 -9;
5582                }
5583            }
5584        }
5585    }
5586
5587    group { name: "elm/frame/base/pad_small";
5588        parts {
5589            part { name: "b0";
5590                mouse_events:  0;
5591                type: RECT;
5592                scale: 1;
5593                description { state: "default" 0.0;
5594                    visible: 0;
5595                    min: 4 4;
5596                    max: 4 4;
5597                    align: 0.0 0.0;
5598                }
5599            }
5600            part { name: "b1";
5601                mouse_events:  0;
5602                type: RECT;
5603                scale: 1;
5604                description { state: "default" 0.0;
5605                    visible: 0;
5606                    min: 4 4;
5607                    max: 4 4;
5608                    align: 1.0 1.0;
5609                }
5610            }
5611            part { name: "elm.swallow.content";
5612                type: SWALLOW;
5613                description { state: "default" 0.0;
5614                    rel1 {
5615                        to: "b0";
5616                        relative: 1.0 1.0;
5617                        offset: 0 0;
5618                    }
5619                    rel2 {
5620                        to: "b1";
5621                        relative: 0.0 0.0;
5622                        offset: -1 -1;
5623                    }
5624                }
5625            }
5626        }
5627    }
5628
5629    group { name: "elm/frame/base/pad_medium";
5630        parts {
5631            part { name: "b0";
5632                mouse_events:  0;
5633                type: RECT;
5634                scale: 1;
5635                description { state: "default" 0.0;
5636                    visible: 0;
5637                    min: 8 8;
5638                    max: 8 8;
5639                    align: 0.0 0.0;
5640                }
5641            }
5642            part { name: "b1";
5643                mouse_events:  0;
5644                type: RECT;
5645                scale: 1;
5646                description { state: "default" 0.0;
5647                    visible: 0;
5648                    min: 8 8;
5649                    max: 8 8;
5650                    align: 1.0 1.0;
5651                }
5652            }
5653            part { name: "elm.swallow.content";
5654                type: SWALLOW;
5655                description { state: "default" 0.0;
5656                    rel1 {
5657                        to: "b0";
5658                        relative: 1.0 1.0;
5659                        offset: 0 0;
5660                    }
5661                    rel2 {
5662                        to: "b1";
5663                        relative: 0.0 0.0;
5664                        offset: -1 -1;
5665                    }
5666                }
5667            }
5668        }
5669    }
5670
5671    group { name: "elm/frame/base/pad_large";
5672        parts {
5673            part { name: "b0";
5674                mouse_events:  0;
5675                type: RECT;
5676                scale: 1;
5677                description { state: "default" 0.0;
5678                    visible: 0;
5679                    min: 16 16;
5680                    max: 16 16;
5681                    align: 0.0 0.0;
5682                }
5683            }
5684            part { name: "b1";
5685                mouse_events:  0;
5686                type: RECT;
5687                scale: 1;
5688                description { state: "default" 0.0;
5689                    visible: 0;
5690                    min: 16 16;
5691                    max: 16 16;
5692                    align: 1.0 1.0;
5693                }
5694            }
5695            part { name: "elm.swallow.content";
5696                type: SWALLOW;
5697                description { state: "default" 0.0;
5698                    rel1 {
5699                        to: "b0";
5700                        relative: 1.0 1.0;
5701                        offset: 0 0;
5702                    }
5703                    rel2 {
5704                        to: "b1";
5705                        relative: 0.0 0.0;
5706                        offset: -1 -1;
5707                    }
5708                }
5709            }
5710        }
5711    }
5712
5713    group { name: "elm/frame/base/pad_huge";
5714        parts {
5715            part { name: "b0";
5716                mouse_events:  0;
5717                type: RECT;
5718                scale: 1;
5719                description { state: "default" 0.0;
5720                    visible: 0;
5721                    min: 32 32;
5722                    max: 32 32;
5723                    align: 0.0 0.0;
5724                }
5725            }
5726            part { name: "b1";
5727                mouse_events:  0;
5728                type: RECT;
5729                scale: 1;
5730                description { state: "default" 0.0;
5731                    visible: 0;
5732                    min: 32 32;
5733                    max: 32 32;
5734                    align: 1.0 1.0;
5735                }
5736            }
5737            part { name: "elm.swallow.content";
5738                type: SWALLOW;
5739                description { state: "default" 0.0;
5740                    rel1 {
5741                        to: "b0";
5742                        relative: 1.0 1.0;
5743                        offset: 0 0;
5744                    }
5745                    rel2 {
5746                        to: "b1";
5747                        relative: 0.0 0.0;
5748                        offset: -1 -1;
5749                    }
5750                }
5751            }
5752        }
5753    }
5754
5755    group { name: "elm/frame/base/outdent_top";
5756        images {
5757            image: "outdent-top.png" COMP;
5758        }
5759        parts {
5760            part { name: "base0";
5761                mouse_events:  0;
5762                description { state: "default" 0.0;
5763                    image.normal: "outdent-top.png";
5764                    image.border: 0 0 0 13;
5765                    fill.smooth: 0;
5766                }
5767            }
5768            part { name: "elm.swallow.content";
5769                type: SWALLOW;
5770                description { state: "default" 0.0;
5771                    rel1.offset: 2 2;
5772                    rel2.offset: -3 -13;
5773                }
5774            }
5775        }
5776    }
5777
5778    group { name: "elm/frame/base/outdent_bottom";
5779        images {
5780            image: "outdent-bottom.png" COMP;
5781        }
5782        parts {
5783            part { name: "base0";
5784                mouse_events:  0;
5785                description { state: "default" 0.0;
5786                    image.normal: "outdent-bottom.png";
5787                    image.border: 0 0 13 0;
5788                    fill.smooth: 0;
5789                }
5790            }
5791            part { name: "elm.swallow.content";
5792                type: SWALLOW;
5793                description { state: "default" 0.0;
5794                    rel1.offset: 2 12;
5795                    rel2.offset: -3 -3;
5796                }
5797            }
5798        }
5799    }
5800
5801 ///////////////////////////////////////////////////////////////////////////////
5802    group { name: "elm/label/base/tooltip";
5803       styles {
5804          style { name: "tooltip_style";
5805             base: "font=Sans font_size=8 color=#666 wrap=word";
5806             tag:  "br" "\n";
5807             tag:  "hilight" "+ font=Sans:style=Bold";
5808             tag:  "b" "+ font=Sans:style=Bold";
5809             tag:  "tab" "\t";
5810          }
5811       }
5812       parts {
5813          part { name: "elm.text";
5814             type: TEXTBLOCK;
5815             mouse_events: 0;
5816             scale: 1;
5817             description { state: "default" 0.0;
5818                text {
5819                   style: "tooltip_style";
5820                   min: 1 1;
5821                }
5822             }
5823          }
5824       }
5825    }
5826
5827    group { name: "elm/tooltip/base/default";
5828        min: 30 30;
5829        data {
5830            item: "pad_x" "20";
5831            item: "pad_y" "20";
5832            item: "pad_border_x" "10";
5833            item: "pad_border_y" "10";
5834            item: "hide_timeout" "0.35"; /**< tooltip is hidden after this amount, keep in sync with hide animations */
5835        }
5836        images {
5837            image: "tooltip-base.png" COMP;
5838            image: "tooltip-corner-top-left-tip.png" COMP;
5839            image: "tooltip-corner-top-right-tip.png" COMP;
5840            image: "tooltip-corner-bottom-left-tip.png" COMP;
5841            image: "tooltip-corner-bottom-right-tip.png" COMP;
5842            image: "tooltip-edge-left-tip.png" COMP;
5843            image: "tooltip-edge-right-tip.png" COMP;
5844            image: "tooltip-edge-bottom-tip.png" COMP;
5845            image: "tooltip-edge-top-tip.png" COMP;
5846        }
5847        script {
5848           hide_corners() {
5849              set_state(PART:"corner-top-left", "default", 0.0);
5850              set_state(PART:"corner-top-right", "default", 0.0);
5851              set_state(PART:"corner-bottom-left", "default", 0.0);
5852              set_state(PART:"corner-bottom-right", "default", 0.0);
5853           }
5854           hide_edges() {
5855              set_state(PART:"clipper-edge-left", "default", 0.0);
5856              set_state(PART:"clipper-edge-right", "default", 0.0);
5857              set_state(PART:"clipper-edge-top", "default", 0.0);
5858              set_state(PART:"clipper-edge-bottom", "default", 0.0);
5859           }
5860
5861           show_corner_top_left() {
5862              set_state(PART:"corner-top-left", "visible", 0.0);
5863
5864              set_state(PART:"corner-top-right", "default", 0.0);
5865              set_state(PART:"corner-bottom-left", "default", 0.0);
5866              set_state(PART:"corner-bottom-right", "default", 0.0);
5867              hide_edges();
5868           }
5869           show_corner_top_right() {
5870              set_state(PART:"corner-top-right", "visible", 0.0);
5871
5872              set_state(PART:"corner-top-left", "default", 0.0);
5873              set_state(PART:"corner-bottom-left", "default", 0.0);
5874              set_state(PART:"corner-bottom-right", "default", 0.0);
5875              hide_edges();
5876           }
5877
5878           show_corner_bottom_left() {
5879              set_state(PART:"corner-bottom-left", "visible", 0.0);
5880
5881              set_state(PART:"corner-bottom-right", "default", 0.0);
5882              set_state(PART:"corner-top-left", "default", 0.0);
5883              set_state(PART:"corner-top-right", "default", 0.0);
5884              hide_edges();
5885           }
5886           show_corner_bottom_right() {
5887              set_state(PART:"corner-bottom-right", "visible", 0.0);
5888
5889              set_state(PART:"corner-bottom-left", "default", 0.0);
5890              set_state(PART:"corner-top-left", "default", 0.0);
5891              set_state(PART:"corner-top-right", "default", 0.0);
5892              hide_edges();
5893           }
5894
5895           show_edge_left(Float:val) {
5896              set_state(PART:"clipper-edge-left", "visible", 0.0);
5897              set_drag(PART:"edge-drag-left", 0.0, val);
5898
5899              set_state(PART:"clipper-edge-right", "default", 0.0);
5900              set_state(PART:"clipper-edge-top", "default", 0.0);
5901              set_state(PART:"clipper-edge-bottom", "default", 0.0);
5902              hide_corners();
5903           }
5904           show_edge_right(Float:val) {
5905              set_state(PART:"clipper-edge-right", "visible", 0.0);
5906              set_drag(PART:"edge-drag-right", 0.0, val);
5907
5908              set_state(PART:"clipper-edge-left", "default", 0.0);
5909              set_state(PART:"clipper-edge-top", "default", 0.0);
5910              set_state(PART:"clipper-edge-bottom", "default", 0.0);
5911              hide_corners();
5912           }
5913
5914           show_edge_top(Float:val) {
5915              set_state(PART:"clipper-edge-top", "visible", 0.0);
5916              set_drag(PART:"edge-drag-top", val, 0.0);
5917
5918              set_state(PART:"clipper-edge-bottom", "default", 0.0);
5919              set_state(PART:"clipper-edge-left", "default", 0.0);
5920              set_state(PART:"clipper-edge-right", "default", 0.0);
5921              hide_corners();
5922           }
5923           show_edge_bottom(Float:val) {
5924              set_state(PART:"clipper-edge-bottom", "visible", 0.0);
5925              set_drag(PART:"edge-drag-bottom", val, 0.0);
5926
5927              set_state(PART:"clipper-edge-top", "default", 0.0);
5928              set_state(PART:"clipper-edge-left", "default", 0.0);
5929              set_state(PART:"clipper-edge-right", "default", 0.0);
5930              hide_corners();
5931           }
5932
5933           public message(Msg_Type:type, id, ...) {
5934              if ((type == MSG_FLOAT_SET) && (id == 1)) {
5935                 new Float:x, Float:y;
5936
5937                 x = getfarg(2);
5938                 y = getfarg(3);
5939
5940                 if (x < 0.0)
5941                   {
5942                      if (y < 0.0)      show_corner_top_left();
5943                      else if (y > 1.0) show_corner_bottom_left();
5944                      else              show_edge_left(y);
5945                   }
5946                 else if (x > 1.0)
5947                   {
5948                      if (y < 0.0)      show_corner_top_right();
5949                      else if (y > 1.0) show_corner_bottom_right();
5950                      else              show_edge_right(y);
5951                   }
5952                 else
5953                   {
5954                      if (y < 0.0)      show_edge_top(x);
5955                      else if (y > 1.0) show_edge_bottom(x);
5956                      else
5957                        {
5958                           hide_corners();
5959                           hide_edges();
5960                        }
5961                   }
5962              }
5963           }
5964        }
5965        parts {
5966            part { name: "clipper";
5967                type: RECT;
5968                description { state: "default" 0.0;
5969                    color: 255 255 255 0;
5970                    rel1.to: "elm.swallow.content";
5971                    rel1.offset: -64 -64;
5972                    rel2.to: "elm.swallow.content";
5973                    rel2.offset: 63 63;
5974                }
5975                description { state: "visible" 0.0;
5976                    inherit: "default" 0.0;
5977                    color: 255 255 255 255;
5978                }
5979            }
5980            part { name: "pop";
5981                mouse_events: 0;
5982                clip_to: "clipper";
5983                description { state: "default" 0.0;
5984                    min: 30 30;
5985                    rel1 {
5986                        to: "elm.swallow.content";
5987                        offset: -15 -15;
5988                    }
5989                    rel2 {
5990                        to: "elm.swallow.content";
5991                        offset: 14 14;
5992                    }
5993                    image {
5994                        normal: "tooltip-base.png";
5995                        border: 14 14 14 14;
5996                    }
5997                    image.middle: SOLID;
5998                }
5999            }
6000
6001 #define TT_CORNER(name_, rx, ry, ax, ay, ox, oy)                        \
6002            part { name: "corner-"name_;                                 \
6003               type: IMAGE;                                              \
6004               mouse_events: 0;                                          \
6005               clip_to: "clipper";                                       \
6006               description { state: "default" 0.0;                       \
6007                  color: 255 255 255 0;                                  \
6008                  visible: 0;                                            \
6009                  min: 14 14;                                            \
6010                  max: 14 14;                                            \
6011                  align: ax ay;                                          \
6012                  fixed: 1 1;                                            \
6013                  rel1 {                                                 \
6014                     relative: rx ry;                                    \
6015                     offset: ox oy;                                      \
6016                     to: "elm.swallow.content";                          \
6017                  }                                                      \
6018                  rel2 {                                                 \
6019                     relative: rx ry;                                    \
6020                     offset: ox oy;                                      \
6021                     to: "elm.swallow.content";                          \
6022                  }                                                      \
6023                  image.normal: "tooltip-corner-"name_"-tip.png";        \
6024               }                                                         \
6025               description { state: "visible" 0.0;                       \
6026                  inherit: "default" 0.0;                                \
6027                  color: 255 255 255 255;                                \
6028                  visible: 1;                                            \
6029               }                                                         \
6030            }
6031            TT_CORNER("top-left", 0, 0, 1, 1, 4, 4);
6032            TT_CORNER("top-right", 1, 0, 0, 1, -5, 4);
6033            TT_CORNER("bottom-left", 0, 1, 1, 0, 4, -5);
6034            TT_CORNER("bottom-right", 1, 1, 0, 0, -5, -5);
6035 #undef TT_CORNER
6036
6037 #define TT_EDGE_VERT(name_, rx, ax, ox)                                 \
6038            part { name: "clipper-edge-"name_;                           \
6039               type: RECT;                                               \
6040               clip_to: "clipper";                                       \
6041               description { state: "default" 0.0;                       \
6042                  color: 255 255 255 0;                                  \
6043                  visible: 0;                                            \
6044                  min: 14 14;                                            \
6045                  align: ax 0.5;                                         \
6046                  fixed: 1 1;                                            \
6047                  rel1 {                                                 \
6048                     relative: rx 0.0;                                   \
6049                     offset: ox 0;                                       \
6050                     to: "elm.swallow.content";                          \
6051                  }                                                      \
6052                  rel2 {                                                 \
6053                     relative: rx 1.0;                                   \
6054                     offset: ox 0;                                       \
6055                     to: "elm.swallow.content";                          \
6056                  }                                                      \
6057               }                                                         \
6058               description { state: "visible" 0.0;                       \
6059                  inherit: "default" 0.0;                                \
6060                  color: 255 255 255 255;                                \
6061                  visible: 1;                                            \
6062               }                                                         \
6063            }                                                            \
6064            part { name: "edge-area-"name_;                              \
6065               type: RECT;                                               \
6066               mouse_events: 0;                                          \
6067               clip_to: "clipper-edge-"name_;                            \
6068               description { state: "default" 0.0;                       \
6069                  color: 0 0 0 0;                                        \
6070                  min: 14 14;                                            \
6071                  align: ax 0.5;                                         \
6072                  fixed: 1 1;                                            \
6073                  rel1 {                                                 \
6074                     relative: rx 0.0;                                   \
6075                     offset: ox 0;                                       \
6076                     to: "elm.swallow.content";                          \
6077                  }                                                      \
6078                  rel2 {                                                 \
6079                     relative: rx 1.0;                                   \
6080                     offset: ox 0;                                       \
6081                     to: "elm.swallow.content";                          \
6082                  }                                                      \
6083               }                                                         \
6084            }                                                            \
6085            part { name: "edge-drag-"name_;                              \
6086               type: RECT;                                               \
6087               mouse_events: 0;                                          \
6088               clip_to: "clipper-edge-"name_;                            \
6089               dragable {                                                \
6090                   x: 0 0 0;                                             \
6091                   y: 1 1 0;                                             \
6092                   confine: "edge-area-"name_;                           \
6093               }                                                         \
6094               description { state: "default" 0.0;                       \
6095                  color: 0 0 0 0;                                        \
6096                  min: 14 14;                                            \
6097                  rel1.to: "edge-area-"name_;                            \
6098                  rel2.to: "edge-area-"name_;                            \
6099               }                                                         \
6100            }                                                            \
6101            part { name: "edge-img-"name_;                               \
6102               type: IMAGE;                                              \
6103               mouse_events: 0;                                          \
6104               clip_to: "clipper-edge-"name_;                            \
6105               description { state: "default" 0.0;                       \
6106                  min: 14 14;                                            \
6107                  max: 14 14;                                            \
6108                  align: ax 0.5;                                         \
6109                  fixed: 1 1;                                            \
6110                  rel1.to: "edge-drag-"name_;                            \
6111                  rel2.to: "edge-drag-"name_;                            \
6112                  image.normal: "tooltip-edge-"name_"-tip.png";          \
6113               }                                                         \
6114            }
6115            TT_EDGE_VERT("left", 0, 1, -2);
6116            TT_EDGE_VERT("right", 1, 0, 1);
6117 #undef TT_EDGE_VERT
6118
6119 #define TT_EDGE_HORIZ(name_, ry, ay, oy)                                \
6120            part { name: "clipper-edge-"name_;                           \
6121               type: RECT;                                               \
6122               clip_to: "clipper";                                       \
6123               description { state: "default" 0.0;                       \
6124                  color: 255 255 255 0;                                  \
6125                  visible: 0;                                            \
6126                  min: 14 14;                                            \
6127                  align: 0.5 ay;                                         \
6128                  fixed: 1 1;                                            \
6129                  rel1 {                                                 \
6130                     relative: 0.0 ry;                                   \
6131                     offset: 0 oy;                                       \
6132                     to: "elm.swallow.content";                          \
6133                  }                                                      \
6134                  rel2 {                                                 \
6135                     relative: 1.0 ry;                                   \
6136                     offset: 0 oy;                                       \
6137                     to: "elm.swallow.content";                          \
6138                  }                                                      \
6139               }                                                         \
6140               description { state: "visible" 0.0;                       \
6141                  inherit: "default" 0.0;                                \
6142                  color: 255 255 255 255;                                \
6143                  visible: 1;                                            \
6144               }                                                         \
6145            }                                                            \
6146            part { name: "edge-area-"name_;                              \
6147               type: RECT;                                               \
6148               mouse_events: 0;                                          \
6149               clip_to: "clipper-edge-"name_;                            \
6150               description { state: "default" 0.0;                       \
6151                  color: 0 0 0 0;                                        \
6152                  min: 14 14;                                            \
6153                  align: 0.5 ay;                                         \
6154                  fixed: 1 1;                                            \
6155                  rel1 {                                                 \
6156                     relative: 0.0 ry;                                   \
6157                     offset: 0 oy;                                       \
6158                     to: "elm.swallow.content";                          \
6159                  }                                                      \
6160                  rel2 {                                                 \
6161                     relative: 1.0 ry;                                   \
6162                     offset: 0 oy;                                       \
6163                     to: "elm.swallow.content";                          \
6164                  }                                                      \
6165               }                                                         \
6166            }                                                            \
6167            part { name: "edge-drag-"name_;                              \
6168               type: RECT;                                               \
6169               mouse_events: 0;                                          \
6170               clip_to: "clipper-edge-"name_;                            \
6171               dragable {                                                \
6172                   x: 1 1 0;                                             \
6173                   y: 0 0 0;                                             \
6174                   confine: "edge-area-"name_;                           \
6175               }                                                         \
6176               description { state: "default" 0.0;                       \
6177                  color: 0 0 0 0;                                        \
6178                  min: 14 14;                                            \
6179                  rel1.to: "edge-area-"name_;                            \
6180                  rel2.to: "edge-area-"name_;                            \
6181               }                                                         \
6182            }                                                            \
6183            part { name: "edge-img-"name_;                               \
6184               type: IMAGE;                                              \
6185               mouse_events: 0;                                          \
6186               clip_to: "clipper-edge-"name_;                            \
6187               description { state: "default" 0.0;                       \
6188                  min: 14 14;                                            \
6189                  max: 14 14;                                            \
6190                  align: 0.5 ay;                                         \
6191                  fixed: 1 1;                                            \
6192                  rel1.to: "edge-drag-"name_;                            \
6193                  rel2.to: "edge-drag-"name_;                            \
6194                  image.normal: "tooltip-edge-"name_"-tip.png";          \
6195               }                                                         \
6196            }
6197            TT_EDGE_HORIZ("top", 0, 1, -2);
6198            TT_EDGE_HORIZ("bottom", 1, 0, 1);
6199 #undef TT_EDGE_HORIZ
6200
6201            part { name: "clipper_content";
6202                type: RECT;
6203                description { state: "default" 0.0;
6204                    color: 255 255 255 0;
6205                    rel1.to: "elm.swallow.content";
6206                    rel1.offset: -64 -64;
6207                    rel2.to: "elm.swallow.content";
6208                    rel2.offset: 63 63;
6209                }
6210                description { state: "visible" 0.0;
6211                    inherit: "default" 0.0;
6212                    color: 255 255 255 255;
6213                }
6214            }
6215            part { name: "elm.swallow.content";
6216                type: SWALLOW;
6217                clip_to: "clipper_content";
6218                description { state: "default" 0.0; }
6219            }
6220            programs {
6221                program {
6222                    name: "show0";
6223                    signal: "elm,action,show";
6224                    source: "elm";
6225                    action: ACTION_STOP;
6226                    target: "hide0";
6227                    target: "hide1";
6228                    target: "hide2";
6229                    target: "hide3";
6230                    after: "show1";
6231                    after: "show2";
6232                }
6233                program {
6234                    name: "show1";
6235                    action: STATE_SET "visible" 0.0;
6236                    transition: LINEAR 0.15;
6237                    target: "clipper";
6238                }
6239                program {
6240                    name: "show2";
6241                    in: 0.1 0.0;
6242                    action: STATE_SET "visible" 0.0;
6243                    transition: LINEAR 0.15;
6244                    target: "clipper_content";
6245                }
6246
6247                program {
6248                    name: "hide0";
6249                    signal: "elm,action,hide";
6250                    source: "elm";
6251                    action: ACTION_STOP;
6252                    target: "show0";
6253                    target: "show1";
6254                    target: "show2";
6255                    after: "hide1";
6256                    after: "hide2";
6257                    after: "hide3";
6258                }
6259                program {
6260                    name: "hide1";
6261                    script {
6262                       hide_corners();
6263                       hide_edges();
6264                    }
6265                }
6266                program {
6267                    name: "hide2";
6268                    action: STATE_SET "default" 0.0;
6269                    transition: LINEAR 0.1;
6270                    target: "clipper_content";
6271                }
6272                program {
6273                    name: "hide3";
6274                    in: 0.1 0.0;
6275                    action: STATE_SET "default" 0.0;
6276                    transition: LINEAR 0.1;
6277                    target: "clipper";
6278                }
6279            }
6280        }
6281    }
6282    group { name: "elm/tooltip/base/transparent";
6283       parts {
6284          part { name: "elm.swallow.content";
6285             type: SWALLOW;
6286             mouse_events:   0;
6287             scale: 1;
6288             description { state: "default" 0.0; }
6289          }
6290       }
6291    }
6292
6293 ///////////////////////////////////////////////////////////////////////////////
6294
6295    /* TODO: replicate diagonal swallow slots to the other hover styles */
6296    group { name: "elm/hover/base/default";
6297       images {
6298          image: "shad_circ.png" COMP;
6299       }
6300       parts {
6301          part { name: "elm.swallow.offset";
6302             type: SWALLOW;
6303             description { state: "default" 0.0;
6304                align: 0.0 0.0;
6305                rel1.relative: 0.0 0.0;
6306                rel2.relative: 0.0 0.0;
6307             }
6308          }
6309          part { name: "elm.swallow.size";
6310             type: SWALLOW;
6311             description { state: "default" 0.0;
6312                align: 0.0 0.0;
6313                rel1.to: "elm.swallow.offset";
6314                rel1.relative: 1.0 1.0;
6315                rel2.to: "elm.swallow.offset";
6316                rel2.relative: 1.0 1.0;
6317             }
6318          }
6319          part { name: "base";
6320             type: RECT;
6321             mouse_events: 1;
6322             description { state: "default" 0.0;
6323                color: 0 0 0 64;
6324             }
6325          }
6326          part { name: "shad";
6327             mouse_events:  0;
6328             description { state: "default" 0.0;
6329                image.normal: "shad_circ.png";
6330                rel1.to: "elm.swallow.size";
6331                rel1.offset: -32 -32;
6332                rel2.to: "elm.swallow.size";
6333                rel2.offset: 31 31;
6334                fill.smooth: 0;
6335             }
6336          }
6337          part { name: "box";
6338             type: RECT;
6339             mouse_events: 0;
6340             description { state: "default" 0.0;
6341                color: 0 0 0 0;
6342                rel1.to: "elm.swallow.size";
6343                rel1.offset: -2 -2;
6344                rel2.to: "elm.swallow.size";
6345                rel2.offset: 1 1;
6346             }
6347          }
6348          part { name: "elm.swallow.slot.left";
6349             type: SWALLOW;
6350             description { state: "default" 0.0;
6351                align: 1.0 0.5;
6352                rel1.to: "elm.swallow.slot.middle";
6353                rel1.relative: 0.0 0.0;
6354                rel1.offset: -1 0;
6355                rel2.to: "elm.swallow.slot.middle";
6356                rel2.relative: 0.0 1.0;
6357                rel2.offset: -1 -1;
6358             }
6359          }
6360          part { name: "elm.swallow.slot.top-left";
6361             type: SWALLOW;
6362             description { state: "default" 0.0;
6363                align: 1.0 1.0;
6364                rel1.to: "elm.swallow.slot.middle";
6365                rel1.relative: 0.0 0.0;
6366                rel1.offset: 0 0;
6367                rel2.to: "elm.swallow.slot.middle";
6368                rel2.relative: 0.0 0.0;
6369                rel2.offset: -1 -1;
6370             }
6371          }
6372          part { name: "elm.swallow.slot.top";
6373             type: SWALLOW;
6374             description { state: "default" 0.0;
6375                align: 0.5 1.0;
6376                rel1.to: "elm.swallow.slot.middle";
6377                rel1.relative: 0.0 0.0;
6378                rel1.offset: 0 -1;
6379                rel2.to: "elm.swallow.slot.middle";
6380                rel2.relative: 1.0 0.0;
6381                rel2.offset: -1 -1;
6382             }
6383          }
6384          part { name: "elm.swallow.slot.top-right";
6385             type: SWALLOW;
6386             description { state: "default" 0.0;
6387                align: 0.0 1.0;
6388                rel1.to: "elm.swallow.slot.middle";
6389                rel1.relative: 1.0 0.0;
6390                rel1.offset: 0 0;
6391                rel2.to: "elm.swallow.slot.middle";
6392                rel2.relative: 1.0 0.0;
6393                rel2.offset: -1 -1;
6394             }
6395          }
6396          part { name: "elm.swallow.slot.right";
6397             type: SWALLOW;
6398             description { state: "default" 0.0;
6399                align: 0.0 0.5;
6400                rel1.to: "elm.swallow.slot.middle";
6401                rel1.relative: 1.0 0.0;
6402                rel1.offset: 0 0;
6403                rel2.to: "elm.swallow.slot.middle";
6404                rel2.relative: 1.0 1.0;
6405                rel2.offset: 0 -1;
6406             }
6407          }
6408          part { name: "elm.swallow.slot.bottom-right";
6409             type: SWALLOW;
6410             description { state: "default" 0.0;
6411                align: 0.0 0.0;
6412                rel1.to: "elm.swallow.slot.middle";
6413                rel1.relative: 1.0 1.0;
6414                rel1.offset: 0 0;
6415                rel2.to: "elm.swallow.slot.middle";
6416                rel2.relative: 1.0 1.0;
6417                rel2.offset: -1 -1;
6418             }
6419          }
6420          part { name: "elm.swallow.slot.bottom";
6421             type: SWALLOW;
6422             description { state: "default" 0.0;
6423                align: 0.5 0.0;
6424                rel1.to: "elm.swallow.slot.middle";
6425                rel1.relative: 0.0 1.0;
6426                rel1.offset: 0 0;
6427                rel2.to: "elm.swallow.slot.middle";
6428                rel2.relative: 1.0 1.0;
6429                rel2.offset: -1 0;
6430             }
6431          }
6432          part { name: "elm.swallow.slot.bottom-left";
6433             type: SWALLOW;
6434             description { state: "default" 0.0;
6435                align: 1.0 0.0;
6436                rel1.to: "elm.swallow.slot.middle";
6437                rel1.relative: 0.0 1.0;
6438                rel1.offset: 0 0;
6439                rel2.to: "elm.swallow.slot.middle";
6440                rel2.relative: 0.0 1.0;
6441                rel2.offset: -1 0;
6442             }
6443          }
6444          part { name: "elm.swallow.slot.middle";
6445             type: SWALLOW;
6446             description { state: "default" 0.0;
6447                rel1.to: "elm.swallow.size";
6448                rel2.to: "elm.swallow.size";
6449             }
6450          }
6451       }
6452       programs {
6453          program { name: "end";
6454             signal: "mouse,up,1";
6455             source: "base";
6456             action: SIGNAL_EMIT "elm,action,dismiss" "";
6457          }
6458       }
6459    }
6460
6461    group { name: "elm/hover/base/popout";
6462       images {
6463          image: "shad_circ.png" COMP;
6464          image: "bt_dis_base.png" COMP;
6465          image: "bt_dis_hilight.png" COMP;
6466       }
6467       parts {
6468          part { name: "elm.swallow.offset";
6469             type: SWALLOW;
6470             description { state: "default" 0.0;
6471                align: 0.0 0.0;
6472                rel1.relative: 0.0 0.0;
6473                rel2.relative: 0.0 0.0;
6474             }
6475          }
6476          part { name: "elm.swallow.size";
6477             type: SWALLOW;
6478             description { state: "default" 0.0;
6479                align: 0.0 0.0;
6480                rel1.to: "elm.swallow.offset";
6481                rel1.relative: 1.0 1.0;
6482                rel2.to: "elm.swallow.offset";
6483                rel2.relative: 1.0 1.0;
6484             }
6485          }
6486          part { name: "base";
6487             type: RECT;
6488             mouse_events: 1;
6489             description { state: "default" 0.0;
6490                color: 0 0 0 0;
6491             }
6492             description { state: "visible" 0.0;
6493                inherit: "default" 1.0;
6494                color: 0 0 0 64;
6495             }
6496          }
6497          part { name: "leftclip";
6498             type: RECT;
6499             description { state: "default" 0.0;
6500                rel2.to_x: "pop";
6501                rel2.relative: 0.0 1.0;
6502                rel2.offset: 1 -1;
6503             }
6504          }
6505          part { name: "left";
6506             clip_to: "leftclip";
6507             description { state: "default" 0.0;
6508                visible: 0;
6509                rel1.to: "elm.swallow.slot.left";
6510                rel1.offset: -5 -5;
6511                rel2.to: "elm.swallow.slot.left";
6512                rel2.offset: 4 4;
6513                image {
6514                   normal: "bt_dis_base.png";
6515                   border: 4 4 4 4;
6516                }
6517                image.middle: SOLID;
6518             }
6519             description { state: "visible" 0.0;
6520                inherit: "default" 0.0;
6521                visible: 1;
6522             }
6523          }
6524          part { name: "elm.swallow.slot.left";
6525             type: SWALLOW;
6526             clip_to: "leftclip";
6527             description { state: "default" 0.0;
6528                align: 0.0 0.5;
6529                rel1.to: "elm.swallow.slot.middle";
6530                rel1.relative: 0.0 0.0;
6531                rel1.offset: -1 0;
6532                rel2.to: "elm.swallow.slot.middle";
6533                rel2.relative: 0.0 1.0;
6534                rel2.offset: -1 -1;
6535             }
6536             description { state: "visible" 0.0;
6537                inherit: "default" 0.0;
6538                rel1.offset: -7 0;
6539                rel2.offset: -7 -1;
6540                align: 1.0 0.5;
6541             }
6542          }
6543          part { name: "leftover";
6544             clip_to: "leftclip";
6545             mouse_events: 0;
6546             description { state: "default" 0.0;
6547                rel1.to: "left";
6548                rel2.to: "left";
6549                rel2.relative: 1.0 0.5;
6550                image {
6551                   normal: "bt_dis_hilight.png";
6552                   border: 4 4 4 0;
6553                }
6554             }
6555          }
6556          part { name: "rightclip";
6557             type: RECT;
6558             description { state: "default" 0.0;
6559                rel1.to_x: "pop";
6560                rel1.relative: 1.0 0.0;
6561                rel1.offset: -2 0;
6562             }
6563          }
6564          part { name: "right";
6565             clip_to: "rightclip";
6566             description { state: "default" 0.0;
6567                visible: 0;
6568                rel1.to: "elm.swallow.slot.right";
6569                rel1.offset: -5 -5;
6570                rel2.to: "elm.swallow.slot.right";
6571                rel2.offset: 4 4;
6572                image {
6573                   normal: "bt_dis_base.png";
6574                   border: 4 4 4 4;
6575                }
6576                image.middle: SOLID;
6577             }
6578             description { state: "visible" 0.0;
6579                inherit: "default" 0.0;
6580                visible: 1;
6581             }
6582          }
6583          part { name: "elm.swallow.slot.right";
6584             type: SWALLOW;
6585             clip_to: "rightclip";
6586             description { state: "default" 0.0;
6587                align: 1.0 0.5;
6588                rel1.to: "elm.swallow.slot.middle";
6589                rel1.relative: 1.0 0.0;
6590                rel1.offset: 0 0;
6591                rel2.to: "elm.swallow.slot.middle";
6592                rel2.relative: 1.0 1.0;
6593                rel2.offset: 0 -1;
6594             }
6595             description { state: "visible" 0.0;
6596                inherit: "default" 0.0;
6597                rel1.offset: 6 0;
6598                rel2.offset: 6 -1;
6599                align: 0.0 0.5;
6600             }
6601          }
6602          part { name: "rightover";
6603             clip_to: "rightclip";
6604             mouse_events: 0;
6605             description { state: "default" 0.0;
6606                rel1.to: "right";
6607                rel2.to: "right";
6608                rel2.relative: 1.0 0.5;
6609                image {
6610                   normal: "bt_dis_hilight.png";
6611                   border: 4 4 4 0;
6612                }
6613             }
6614          }
6615          part { name: "topclip";
6616             type: RECT;
6617             description { state: "default" 0.0;
6618                rel2.to_y: "pop";
6619                rel2.relative: 1.0 0.0;
6620                rel2.offset: -1 1;
6621             }
6622          }
6623          part { name: "top";
6624             clip_to: "topclip";
6625             description { state: "default" 0.0;
6626                visible: 0;
6627                rel1.to: "elm.swallow.slot.top";
6628                rel1.offset: -5 -5;
6629                rel2.to: "elm.swallow.slot.top";
6630                rel2.offset: 4 4;
6631                image {
6632                   normal: "bt_dis_base.png";
6633                   border: 4 4 4 4;
6634                }
6635                image.middle: SOLID;
6636             }
6637             description { state: "visible" 0.0;
6638                inherit: "default" 0.0;
6639                visible: 1;
6640             }
6641          }
6642          part { name: "elm.swallow.slot.top";
6643             type: SWALLOW;
6644             clip_to: "topclip";
6645             description { state: "default" 0.0;
6646                visible: 1;
6647                align: 0.5 0.0;
6648                rel1.to: "elm.swallow.slot.middle";
6649                rel1.relative: 0.0 0.0;
6650                rel1.offset: 0 -1;
6651                rel2.to: "elm.swallow.slot.middle";
6652                rel2.relative: 1.0 0.0;
6653                rel2.offset: -1 -1;
6654             }
6655             description { state: "visible" 0.0;
6656                inherit: "default" 0.0;
6657                rel1.offset: 0 -7;
6658                rel2.offset: -1 -7;
6659                align: 0.5 1.0;
6660             }
6661          }
6662          part { name: "topover";
6663             clip_to: "topclip";
6664             mouse_events: 0;
6665             description { state: "default" 0.0;
6666                rel1.to: "top";
6667                rel2.to: "top";
6668                rel2.relative: 1.0 0.5;
6669                image {
6670                   normal: "bt_dis_hilight.png";
6671                   border: 4 4 4 0;
6672                }
6673             }
6674          }
6675          part { name: "bottomclip";
6676             type: RECT;
6677             description { state: "default" 0.0;
6678                rel1.to_y: "pop";
6679                rel1.relative: 0.0 1.0;
6680                rel1.offset: -1 -2;
6681             }
6682          }
6683          part { name: "bottom";
6684             clip_to: "bottomclip";
6685             description { state: "default" 0.0;
6686                visible: 0;
6687                rel1.to: "elm.swallow.slot.bottom";
6688                rel1.offset: -5 -5;
6689                rel2.to: "elm.swallow.slot.bottom";
6690                rel2.offset: 4 4;
6691                image {
6692                   normal: "bt_dis_base.png";
6693                   border: 4 4 4 4;
6694                }
6695                image.middle: SOLID;
6696             }
6697             description { state: "visible" 0.0;
6698                inherit: "default" 0.0;
6699                visible: 1;
6700             }
6701          }
6702          part { name: "elm.swallow.slot.bottom";
6703             type: SWALLOW;
6704             clip_to: "bottomclip";
6705             description { state: "default" 0.0;
6706                align: 0.5 1.0;
6707                rel1.to: "elm.swallow.slot.middle";
6708                rel1.relative: 0.0 1.0;
6709                rel1.offset: 0 0;
6710                rel2.to: "elm.swallow.slot.middle";
6711                rel2.relative: 1.0 1.0;
6712                rel2.offset: -1 0;
6713             }
6714             description { state: "visible" 0.0;
6715                inherit: "default" 0.0;
6716                rel1.offset: 0 6;
6717                rel2.offset: -1 6;
6718                align: 0.5 0.0;
6719             }
6720          }
6721          part { name: "bottomover";
6722             clip_to: "bottomclip";
6723             mouse_events: 0;
6724             description { state: "default" 0.0;
6725                rel1.to: "bottom";
6726                rel2.to: "bottom";
6727                rel2.relative: 1.0 0.5;
6728                image {
6729                   normal: "bt_dis_hilight.png";
6730                   border: 4 4 4 0;
6731                }
6732             }
6733          }
6734          part { name: "shad";
6735             mouse_events:  0;
6736             description { state: "default" 0.0;
6737                image.normal: "shad_circ.png";
6738                rel1.to: "elm.swallow.size";
6739                rel1.offset: -64 -64;
6740                rel2.to: "elm.swallow.size";
6741                rel2.offset: 63 63;
6742                fill.smooth: 0;
6743             }
6744          }
6745          part { name: "pop";
6746             mouse_events: 1;
6747             description { state: "default" 0.0;
6748                rel1.to: "elm.swallow.slot.middle";
6749                rel1.offset: -5 -5;
6750                rel2.to: "elm.swallow.slot.middle";
6751                rel2.offset: 4 4;
6752                image {
6753                   normal: "bt_dis_base.png";
6754                   border: 4 4 4 4;
6755                }
6756                image.middle: SOLID;
6757             }
6758          }
6759          part { name: "elm.swallow.slot.middle";
6760             type: SWALLOW;
6761             description { state: "default" 0.0;
6762                rel1.to: "elm.swallow.size";
6763                rel2.to: "elm.swallow.size";
6764             }
6765          }
6766          part { name: "popover";
6767             mouse_events: 0;
6768             description { state: "default" 0.0;
6769                rel1.to: "pop";
6770                rel2.to: "pop";
6771                rel2.relative: 1.0 0.5;
6772                image {
6773                   normal: "bt_dis_hilight.png";
6774                   border: 4 4 4 0;
6775                }
6776             }
6777          }
6778       }
6779       programs {
6780          program { name: "end";
6781             signal: "mouse,up,1";
6782             source: "base";
6783             action: SIGNAL_EMIT "elm,action,dismiss" "";
6784          }
6785
6786          program { name: "show";
6787             signal: "elm,action,show";
6788             source: "elm";
6789             action: STATE_SET "visible" 0.0;
6790 //            transition: DECELERATE 0.5;
6791             target: "base";
6792          }
6793          program { name: "hide";
6794             signal: "elm,action,hide";
6795             source: "elm";
6796             action: STATE_SET "default" 0.0;
6797 //            transition: DECELERATE 0.5;
6798             target: "base";
6799          }
6800
6801          program { name: "leftshow";
6802             signal: "elm,action,slot,left,show";
6803             source: "elm";
6804             action: STATE_SET "visible" 0.0;
6805             transition: DECELERATE 0.5;
6806             target: "left";
6807             target: "elm.swallow.slot.left";
6808          }
6809          program { name: "lefthide";
6810             signal: "elm,action,slot,left,hide";
6811             source: "elm";
6812             action: STATE_SET "default" 0.0;
6813             transition: DECELERATE 0.5;
6814             target: "left";
6815             target: "elm.swallow.slot.left";
6816          }
6817          program { name: "rightshow";
6818             signal: "elm,action,slot,right,show";
6819             source: "elm";
6820             action: STATE_SET "visible" 0.0;
6821             transition: DECELERATE 0.5;
6822             target: "right";
6823             target: "elm.swallow.slot.right";
6824          }
6825          program { name: "righthide";
6826             signal: "elm,action,slot,right,hide";
6827             source: "elm";
6828             action: STATE_SET "default" 0.0;
6829             transition: DECELERATE 0.5;
6830             target: "right";
6831             target: "elm.swallow.slot.right";
6832          }
6833          program { name: "topshow";
6834             signal: "elm,action,slot,top,show";
6835             source: "elm";
6836             action: STATE_SET "visible" 0.0;
6837             transition: DECELERATE 0.5;
6838             target: "top";
6839             target: "elm.swallow.slot.top";
6840          }
6841          program { name: "tophide";
6842             signal: "elm,action,slot,top,hide";
6843             source: "elm";
6844             action: STATE_SET "default" 0.0;
6845             transition: DECELERATE 0.5;
6846             target: "top";
6847             target: "elm.swallow.slot.top";
6848          }
6849          program { name: "bottomshow";
6850             signal: "elm,action,slot,bottom,show";
6851             source: "elm";
6852             action: STATE_SET "visible" 0.0;
6853             transition: DECELERATE 0.5;
6854             target: "bottom";
6855             target: "elm.swallow.slot.bottom";
6856          }
6857          program { name: "bottomhide";
6858             signal: "elm,action,slot,bottom,hide";
6859             source: "elm";
6860             action: STATE_SET "default" 0.0;
6861             transition: DECELERATE 0.5;
6862             target: "bottom";
6863             target: "elm.swallow.slot.bottom";
6864          }
6865       }
6866    }
6867
6868    //In the hover used by the menu only the bottom part is used.
6869    group { name: "elm/hover/base/menu";
6870        images {
6871            image: "shad_circ.png" COMP;
6872            image: "bt_dis_base.png" COMP;
6873        }
6874        parts {
6875            part { name: "elm.swallow.offset";
6876                type: SWALLOW;
6877                description { state: "default" 0.0;
6878                    align: 0.0 0.0;
6879                    rel1.relative: 0.0 0.0;
6880                    rel2.relative: 0.0 0.0;
6881                }
6882            }
6883            part { name: "elm.swallow.size";
6884                type: SWALLOW;
6885                description { state: "default" 0.0;
6886                    align: 0.0 0.0;
6887                    rel1.to: "elm.swallow.offset";
6888                    rel1.relative: 1.0 1.0;
6889                    rel2.to: "elm.swallow.offset";
6890                    rel2.relative: 1.0 1.0;
6891                }
6892            }
6893            part { name: "base";
6894                type: RECT;
6895                mouse_events: 1;
6896                description { state: "default" 0.0;
6897                    color: 0 0 0 0;
6898                }
6899                description { state: "visible" 0.0;
6900                    inherit: "default" 1.0;
6901                    color: 0 0 0 64;
6902                }
6903            }
6904            part { name: "elm.swallow.slot.left";
6905                type: SWALLOW;
6906                description { state: "default" 0.0;
6907                }
6908            }
6909            part { name: "elm.swallow.slot.right";
6910                type: SWALLOW;
6911                description { state: "default" 0.0;
6912                }
6913            }
6914            part { name: "elm.swallow.slot.top";
6915                type: SWALLOW;
6916                description { state: "default" 0.0;
6917                }
6918                description { state: "visible" 0.0;
6919                    inherit: "default" 0.0;
6920                }
6921            }
6922            part { name: "bottomclip";
6923                type: RECT;
6924                description { state: "default" 0.0;
6925                    rel1.to_y: "pop";
6926                    rel1.relative: 0.0 1.0;
6927                    rel1.offset: -1 -2;
6928                }
6929            }
6930            part { name: "bottom";
6931                clip_to: "bottomclip";
6932                description { state: "default" 0.0;
6933                    visible: 0;
6934                    rel1.to: "elm.swallow.slot.bottom";
6935                    rel1.offset: -5 -5;
6936                    rel2.to: "elm.swallow.slot.bottom";
6937                    rel2.offset: 4 4;
6938                    image {
6939                        normal: "bt_dis_base.png";
6940                        border: 4 4 4 4;
6941                    }
6942                    image.middle: SOLID;
6943                }
6944                description { state: "visible" 0.0;
6945                    inherit: "default" 0.0;
6946                    visible: 1;
6947                }
6948            }
6949            part { name: "elm.swallow.slot.bottom";
6950                type: SWALLOW;
6951                clip_to: "bottomclip";
6952                description { state: "default" 0.0;
6953                    align: 0.5 1.0;
6954                    rel1.to: "elm.swallow.slot.middle";
6955                    rel1.relative: 0.0 1.0;
6956                    rel1.offset: 0 0;
6957                    rel2.to: "elm.swallow.slot.middle";
6958                    rel2.relative: 1.0 1.0;
6959                    rel2.offset: -1 0;
6960                }
6961                description { state: "visible" 0.0;
6962                    inherit: "default" 0.0;
6963                    rel1.offset: 0 6;
6964                    rel2.offset: -1 6;
6965                    align: 0.5 0.0;
6966                }
6967            }
6968            part { name: "pop";
6969                mouse_events: 1;
6970                repeat_events:1;
6971                description { state: "default" 0.0;
6972                    rel1.to: "elm.swallow.slot.middle";
6973                    rel1.offset: -5 -5;
6974                    rel2.to: "elm.swallow.slot.middle";
6975                    rel2.offset: 4 4;
6976                }
6977            }
6978            part { name: "elm.swallow.slot.middle";
6979                type: SWALLOW;
6980                repeat_events:1;
6981                description { state: "default" 0.0;
6982                    rel1.to: "elm.swallow.size";
6983                    rel2.to: "elm.swallow.size";
6984                }
6985            }
6986        }
6987        programs {
6988            program { name: "end";
6989                signal: "mouse,up,1";
6990                source: "base";
6991                action: SIGNAL_EMIT "elm,action,dismiss" "";
6992            }
6993            program { name: "show";
6994                signal: "elm,action,show";
6995                source: "elm";
6996                action: STATE_SET "visible" 0.0;
6997                        //            transition: DECELERATE 0.5;
6998                target: "base";
6999            }
7000            program { name: "hide";
7001                signal: "elm,action,hide";
7002                source: "elm";
7003                action: STATE_SET "default" 0.0;
7004                        //            transition: DECELERATE 0.5;
7005                target: "base";
7006            }
7007            program { name: "bottomshow";
7008                signal: "elm,action,slot,bottom,show";
7009                source: "elm";
7010                action: STATE_SET "visible" 0.0;
7011                transition: DECELERATE 0.3;
7012                target: "bottom";
7013                target: "elm.swallow.slot.bottom";
7014            }
7015            program { name: "bottomhide";
7016                signal: "elm,action,slot,bottom,hide";
7017                source: "elm";
7018                action: STATE_SET "default" 0.0;
7019                transition: DECELERATE 0.5;
7020                target: "bottom";
7021                target: "elm.swallow.slot.bottom";
7022            }
7023        }
7024    }
7025
7026    //In the hover used by the submenu only the bottom part is used
7027    //and no part should interact except the bottom area
7028    group { name: "elm/hover/base/submenu";
7029        images {
7030            image: "shad_circ.png" COMP;
7031            image: "bt_dis_base.png" COMP;
7032        }
7033        parts {
7034            part { name: "elm.swallow.offset";
7035                type: SWALLOW;
7036                repeat_events:1;
7037                description { state: "default" 0.0;
7038                    align: 0.0 0.0;
7039                    rel1.relative: 0.0 0.0;
7040                    rel2.relative: 0.0 0.0;
7041                }
7042            }
7043            part { name: "elm.swallow.size";
7044                type: SWALLOW;
7045                description { state: "default" 0.0;
7046                    align: 0.0 0.0;
7047                    rel1.to: "elm.swallow.offset";
7048                    rel1.relative: 1.0 1.0;
7049                    rel2.to: "elm.swallow.offset";
7050                    rel2.relative: 1.0 1.0;
7051                }
7052            }
7053            //here we do non catch events like the hover hover does
7054            part { name: "base";
7055                type: RECT;
7056                mouse_events: 1;
7057                description { state: "default" 0.0;
7058                    color: 0 0 0 0;
7059                    visible: 0;
7060                }
7061            }
7062            part { name: "elm.swallow.slot.left";
7063                type: SWALLOW;
7064                description { state: "default" 0.0;
7065                }
7066            }
7067            part { name: "elm.swallow.slot.right";
7068                type: SWALLOW;
7069                description { state: "default" 0.0;
7070                }
7071            }
7072            part { name: "elm.swallow.slot.top";
7073                type: SWALLOW;
7074                description { state: "default" 0.0;
7075                }
7076            }
7077            part { name: "bottomclip";
7078                type: RECT;
7079                description { state: "default" 0.0;
7080                    rel1.to_y: "pop";
7081                    rel1.relative: 0.0 1.0;
7082                    rel1.offset: -1 -2;
7083                }
7084            }
7085            part { name: "bottom";
7086                clip_to: "bottomclip";
7087                description { state: "default" 0.0;
7088                    visible: 0;
7089                    rel1.to: "elm.swallow.slot.bottom";
7090                    rel1.offset: -5 -5;
7091                    rel2.to: "elm.swallow.slot.bottom";
7092                    rel2.offset: 4 4;
7093                    image {
7094                        normal: "bt_dis_base.png";
7095                        border: 4 4 4 4;
7096                    }
7097                    image.middle: SOLID;
7098                }
7099                description { state: "visible" 0.0;
7100                    inherit: "default" 0.0;
7101                    visible: 1;
7102                }
7103            }
7104            part { name: "elm.swallow.slot.bottom";
7105                type: SWALLOW;
7106                clip_to: "bottomclip";
7107                description { state: "default" 0.0;
7108                    align: 0.5 1.0;
7109                    rel1.to: "elm.swallow.slot.middle";
7110                    rel1.relative: 0.0 1.0;
7111                    rel1.offset: 0 0;
7112                    rel2.to: "elm.swallow.slot.middle";
7113                    rel2.relative: 1.0 1.0;
7114                    rel2.offset: -1 0;
7115                }
7116                description { state: "visible" 0.0;
7117                    inherit: "default" 0.0;
7118                    rel1.offset: 0 6;
7119                    rel2.offset: -1 6;
7120                    align: 0.5 0.0;
7121                }
7122            }
7123            part { name: "pop";
7124                mouse_events: 1;
7125                repeat_events:1;
7126                description { state: "default" 0.0;
7127                    rel1.to: "elm.swallow.slot.middle";
7128                    rel1.offset: -5 -5;
7129                    rel2.to: "elm.swallow.slot.middle";
7130                    rel2.offset: 4 4;
7131                }
7132            }
7133            part { name: "elm.swallow.slot.middle";
7134                type: SWALLOW;
7135                repeat_events:1;
7136                description { state: "default" 0.0;
7137                    rel1.to: "elm.swallow.size";
7138                    rel2.to: "elm.swallow.size";
7139                }
7140            }
7141        }
7142        programs {
7143            program { name: "end";
7144                signal: "mouse,up,1";
7145                source: "base";
7146                action: SIGNAL_EMIT "elm,action,dismiss" "";
7147            }
7148            program { name: "show";
7149                signal: "elm,action,show";
7150                source: "elm";
7151                action: STATE_SET "visible" 0.0;
7152                        //            transition: DECELERATE 0.5;
7153                target: "base";
7154            }
7155            program { name: "hide";
7156                signal: "elm,action,hide";
7157                source: "elm";
7158                action: STATE_SET "default" 0.0;
7159                        //            transition: DECELERATE 0.5;
7160                target: "base";
7161            }
7162            program { name: "bottomshow";
7163                signal: "elm,action,slot,bottom,show";
7164                source: "elm";
7165                action: STATE_SET "visible" 0.0;
7166                transition: DECELERATE 0.3;
7167                target: "bottom";
7168                target: "elm.swallow.slot.bottom";
7169            }
7170            program { name: "bottomhide";
7171                signal: "elm,action,slot,bottom,hide";
7172                source: "elm";
7173                action: STATE_SET "default" 0.0;
7174                transition: DECELERATE 0.5;
7175                target: "bottom";
7176                target: "elm.swallow.slot.bottom";
7177            }
7178        }
7179    }
7180
7181    group { name: "elm/hover/base/hoversel_vertical/default";
7182       alias: "elm/hover/base/hoversel_vertical/entry";
7183       images {
7184 //         image: "shad_circ.png" COMP;
7185          image: "bt_base2.png" COMP;
7186          image: "bt_hilight.png" COMP;
7187          image: "bt_shine.png" COMP;
7188          image: "outdent-top.png" COMP;
7189          image: "outdent-bottom.png" COMP;
7190       }
7191       parts {
7192          part { name: "elm.swallow.offset";
7193             type: SWALLOW;
7194             description { state: "default" 0.0;
7195                align: 0.0 0.0;
7196                rel1.relative: 0.0 0.0;
7197                rel2.relative: 0.0 0.0;
7198             }
7199          }
7200          part { name: "elm.swallow.size";
7201             type: SWALLOW;
7202             description { state: "default" 0.0;
7203                align: 0.0 0.0;
7204                rel1.to: "elm.swallow.offset";
7205                rel1.relative: 1.0 1.0;
7206                rel2.to: "elm.swallow.offset";
7207                rel2.relative: 1.0 1.0;
7208             }
7209          }
7210 /*
7211         part { name: "shad";
7212             mouse_events:  0;
7213             description { state: "default" 0.0;
7214                image.normal: "shad_circ.png";
7215                rel1.to: "button_image";
7216                rel1.offset: -64 -64;
7217                rel2.to: "button_image";
7218                rel2.offset: 63 63;
7219                fill.smooth: 0;
7220             }
7221          }
7222  */
7223          part { name: "button_image";
7224             mouse_events: 1;
7225             description { state: "default" 0.0;
7226                rel1.to_x: "elm.swallow.slot.top";
7227                rel1.to_y: "elm.swallow.slot.top";
7228                rel1.offset: -2 -6;
7229                rel2.to_x: "elm.swallow.slot.top";
7230                rel2.to_y: "elm.swallow.slot.bottom";
7231                rel2.offset: 1 5;
7232                image {
7233                   normal: "bt_base2.png";
7234                   border: 7 7 7 7;
7235                }
7236                image.middle: SOLID;
7237             }
7238             description { state: "bottom" 0.0;
7239                rel1.to_x: "elm.swallow.slot.bottom";
7240                rel1.to_y: "elm.swallow.slot.top";
7241                rel1.offset: -2 -6;
7242                rel2.to_x: "elm.swallow.slot.bottom";
7243                rel2.to_y: "elm.swallow.slot.bottom";
7244                rel2.offset: 1 5;
7245                image {
7246                   normal: "bt_base2.png";
7247                   border: 7 7 7 7;
7248                }
7249                image.middle: SOLID;
7250             }
7251          }
7252
7253          part { name: "base";
7254             type: RECT;
7255             mouse_events: 1;
7256             description { state: "default" 0.0;
7257                color: 0 0 0 0;
7258             }
7259             description { state: "visible" 0.0;
7260                inherit: "default" 1.0;
7261                color: 0 0 0 64;
7262             }
7263          }
7264
7265          part { name: "topclip";
7266             type: RECT;
7267             description { state: "default" 0.0;
7268                rel2.to_y: "edge_top";
7269                rel2.relative: 1.0 0.0;
7270                rel2.offset: -1 7;
7271             }
7272          }
7273          part { name: "elm.swallow.slot.top";
7274             type: SWALLOW;
7275             clip_to: "topclip";
7276             description { state: "default" 0.0;
7277                visible: 1;
7278                align: 0.5 0.0;
7279                rel1.to: "elm.swallow.slot.middle";
7280                rel1.relative: 0.0 0.0;
7281                rel1.offset: 0 -1;
7282                rel2.to: "elm.swallow.slot.middle";
7283                rel2.relative: 1.0 0.0;
7284                rel2.offset: -1 -1;
7285             }
7286             description { state: "visible" 0.0;
7287                inherit: "default" 0.0;
7288                rel1.offset: 0 -7;
7289                rel2.offset: -1 -7;
7290                align: 0.5 1.0;
7291             }
7292          }
7293
7294          part { name: "bottomclip";
7295             type: RECT;
7296             description { state: "default" 0.0;
7297                rel1.to_y: "edge_bottom";
7298                rel1.relative: 0.0 1.0;
7299                rel1.offset: -1 -8;
7300             }
7301          }
7302          part { name: "elm.swallow.slot.bottom";
7303             type: SWALLOW;
7304             clip_to: "bottomclip";
7305             description { state: "default" 0.0;
7306                align: 0.5 1.0;
7307                rel1.to: "elm.swallow.slot.middle";
7308                rel1.relative: 0.0 1.0;
7309                rel1.offset: 0 0;
7310                rel2.to: "elm.swallow.slot.middle";
7311                rel2.relative: 1.0 1.0;
7312                rel2.offset: -1 0;
7313             }
7314             description { state: "visible" 0.0;
7315                inherit: "default" 0.0;
7316                rel1.offset: 0 6;
7317                rel2.offset: -1 6;
7318                align: 0.5 0.0;
7319             }
7320          }
7321
7322          part {          name: "over1";
7323             mouse_events: 0;
7324             description { state: "default" 0.0;
7325                rel1.to: "button_image";
7326                rel2.to: "button_image";
7327                rel2.relative: 1.0 0.5;
7328                image {
7329                   normal: "bt_hilight.png";
7330                   border: 7 7 7 0;
7331                }
7332             }
7333          }
7334          part { name: "over2";
7335             mouse_events: 1;
7336             repeat_events: 1;
7337             ignore_flags: ON_HOLD;
7338             description { state: "default" 0.0;
7339                rel1.to: "button_image";
7340                rel2.to: "button_image";
7341                image {
7342                   normal: "bt_shine.png";
7343                   border: 7 7 7 7;
7344                }
7345             }
7346          }
7347          part { name: "edge_top";
7348             mouse_events:  0;
7349             description { state: "default" 0.0;
7350                visible: 0;
7351                rel1 {
7352                   to: "elm.swallow.size";
7353                   offset: 0 -10;
7354                }
7355                rel2 {
7356                   to: "elm.swallow.size";
7357                }
7358                image.normal: "outdent-bottom.png";
7359                image.border: 0 0 13 0;
7360                fill.smooth: 0;
7361             }
7362             description { state: "visible" 0.0;
7363                inherit: "default" 0.0;
7364                visible: 1;
7365             }
7366          }
7367          part { name: "edge_bottom";
7368             mouse_events:  0;
7369             description { state: "default" 0.0;
7370                visible: 0;
7371                rel1 {
7372                   to: "elm.swallow.size";
7373                }
7374                rel2 {
7375                   to: "elm.swallow.size";
7376                   offset: -1 9;
7377                }
7378                image.normal: "outdent-top.png";
7379                image.border: 0 0 0 13;
7380                fill.smooth: 0;
7381             }
7382             description { state: "visible" 0.0;
7383                inherit: "default" 0.0;
7384                visible: 1;
7385             }
7386          }
7387          part { name: "elm.swallow.slot.middle";
7388             type: SWALLOW;
7389             description { state: "default" 0.0;
7390                rel1.to: "elm.swallow.size";
7391                rel2.to: "elm.swallow.size";
7392             }
7393          }
7394       }
7395       programs {
7396          program { name: "end";
7397             signal: "mouse,up,1";
7398             source: "base";
7399             action: SIGNAL_EMIT "elm,action,dismiss" "";
7400          }
7401
7402          program { name: "show";
7403             signal: "elm,action,show";
7404             source: "elm";
7405             action: STATE_SET "visible" 0.0;
7406 //            transition: DECELERATE 0.5;
7407             target: "base";
7408          }
7409          program { name: "hide";
7410             signal: "elm,action,hide";
7411             source: "elm";
7412             action: STATE_SET "default" 0.0;
7413 //            transition: DECELERATE 0.5;
7414             target: "base";
7415          }
7416          program { name: "topshow";
7417             signal: "elm,action,slot,top,show";
7418             source: "elm";
7419             action: STATE_SET "visible" 0.0;
7420             target: "edge_top";
7421             after: "topshow2";
7422          }
7423          program { name: "topshow2";
7424             action: STATE_SET "visible" 0.0;
7425             transition: DECELERATE 0.5;
7426             target: "elm.swallow.slot.top";
7427          }
7428          program { name: "topshow3";
7429             signal: "elm,action,slot,top,show";
7430             source: "elm";
7431             action: STATE_SET "default" 0.0;
7432             target: "button_image";
7433          }
7434          program { name: "tophide";
7435             signal: "elm,action,slot,top,hide";
7436             source: "elm";
7437             action: STATE_SET "default" 0.0;
7438             transition: DECELERATE 0.5;
7439             target: "elm.swallow.slot.top";
7440             after: "tophide2";
7441          }
7442          program { name: "tophide2";
7443             action: STATE_SET "default" 0.0;
7444             target: "edge_top";
7445          }
7446          program { name: "bottomshow";
7447             signal: "elm,action,slot,bottom,show";
7448             source: "elm";
7449             action: STATE_SET "visible" 0.0;
7450             target: "edge_bottom";
7451             after: "bottomshow2";
7452          }
7453          program { name: "bottomshow2";
7454             action: STATE_SET "visible" 0.0;
7455             transition: DECELERATE 0.5;
7456             target: "elm.swallow.slot.bottom";
7457          }
7458          program { name: "bottomshow3";
7459             signal: "elm,action,slot,bottom,show";
7460             source: "elm";
7461             action: STATE_SET "bottom" 0.0;
7462             target: "button_image";
7463          }
7464          program { name: "bottomhide";
7465             signal: "elm,action,slot,bottom,hide";
7466             source: "elm";
7467             action: STATE_SET "default" 0.0;
7468             transition: DECELERATE 0.5;
7469             target: "elm.swallow.slot.bottom";
7470             after: "bottomhide2";
7471          }
7472          program { name: "bottomhide2";
7473             action: STATE_SET "default" 0.0;
7474             target: "edge_bottom";
7475          }
7476       }
7477    }
7478 ///////////////////////////////////////////////////////////////////////////////
7479    group { name: "elm/scroller/base/ctxpopup";
7480       data {
7481          item: "focus_highlight" "on";
7482       }
7483       script {
7484          public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
7485          public timer0(val) {
7486             new v;
7487             v = get_int(sbvis_v);
7488             if (v) {
7489                v = get_int(sbalways_v);
7490                if(!v) {
7491                   emit("do-hide-vbar", "");
7492                   set_int(sbvis_v, 0);
7493                }
7494             }
7495             v = get_int(sbvis_h);
7496             if (v) {
7497                v = get_int(sbalways_h);
7498                if(!v) {
7499                   emit("do-hide-hbar", "");
7500                   set_int(sbvis_h, 0);
7501                }
7502             }
7503             set_int(sbvis_timer, 0);
7504             return 0;
7505          }
7506       }
7507       images {
7508          image: "bt_sm_base2.png" COMP;
7509          image: "bt_sm_shine.png" COMP;
7510          image: "bt_sm_hilight.png" COMP;
7511          image: "sl_bt2_2.png" COMP;
7512       }
7513       parts {
7514          part { name: "clipper";
7515             type: RECT;
7516             mouse_events: 0;
7517             scale: 1;
7518             description { state: "default" 0.0;
7519             }
7520          }
7521          part { name: "elm.swallow.content";
7522             clip_to: "clipper";
7523             type: SWALLOW;
7524             scale: 1;
7525             description { state: "default" 0.0;
7526                align: 0.5 0.5;
7527             }
7528          }
7529          part { name: "focus_highlight";
7530             mouse_events: 0;
7531             description { state: "default" 0.0;
7532                rel1.offset: -1 -1;
7533                rel2.offset: 0 0;
7534                image { normal: "sl_bt2_2.png";
7535                   border: 7 7 7 7;
7536                   middle: 0;
7537                }
7538                fill.smooth : 0;
7539                color: 200 155 0 0;
7540             }
7541             description { state: "enabled" 0.0;
7542                inherit: "default" 0.0;
7543                color: 200 155 0 255;
7544             }
7545          }
7546          part { name: "sb_vbar_clip_master";
7547             type: RECT;
7548             mouse_events: 0;
7549             description { state: "default" 0.0;
7550             }
7551             description { state: "hidden" 0.0;
7552                visible: 0;
7553                color: 255 255 255 0;
7554             }
7555          }
7556          part { name: "sb_vbar_clip";
7557             clip_to:"sb_vbar_clip_master";
7558             type: RECT;
7559             mouse_events: 0;
7560             scale: 1;
7561             description { state: "default" 0.0;
7562                align: 0.0 0.0;
7563                rel2{ to:"clipper"; relative: 1.0 1.0;}
7564             }
7565             description { state: "hidden" 0.0;
7566                visible: 0;
7567                color: 255 255 255 0;
7568             }
7569          }
7570          part { name: "sb_vbar";
7571             type: RECT;
7572             mouse_events: 0;
7573             scale: 1;
7574             description { state: "default" 0.0;
7575                fixed: 1 1;
7576                visible: 0;
7577                align: 1.0 0.0;
7578                rel1{ to:"clipper"; relative: 1.0 0.0; }
7579                rel2{ to:"clipper"; relative: 1.0 1.0; }
7580             }
7581          }
7582          part { name: "elm.dragable.vbar";
7583             clip_to: "sb_vbar_clip";
7584             mouse_events: 0;
7585             scale: 1;
7586             dragable {
7587                x: 0 0 0;
7588                y: 1 1 0;
7589                confine: "sb_vbar";
7590             }
7591             description { state: "default" 0.0;
7592                fixed: 1 1;
7593                min: 10 17;
7594                max: 10 99999;
7595                rel1 { relative: 0.5 0.5; to: "sb_vbar"; }
7596                rel2 { relative: 0.5  0.5; to: "sb_vbar"; }
7597                image { normal: "bt_sm_base2.png";
7598                   border: 6 6 6 6;
7599                   middle: SOLID;
7600                }
7601             }
7602          }
7603          part { name: "sb_vbar_over1";
7604             clip_to: "sb_vbar_clip";
7605             mouse_events: 0;
7606             description { state: "default" 0.0;
7607                rel1.to: "elm.dragable.vbar";
7608                rel2.relative: 1.0 0.5;
7609                rel2.to: "elm.dragable.vbar";
7610                image { normal: "bt_sm_hilight.png";
7611                   border: 6 6 6 0;
7612                }
7613             }
7614          }
7615          part { name: "sb_vbar_over2";
7616             clip_to: "sb_vbar_clip";
7617             mouse_events: 0;
7618             description { state: "default" 0.0;
7619                rel1.to: "elm.dragable.vbar";
7620                rel2.to: "elm.dragable.vbar";
7621                image { normal: "bt_sm_shine.png";
7622                   border: 6 6 6 0;
7623                }
7624             }
7625          }
7626          part { name: "sb_hbar_clip_master";
7627             type: RECT;
7628             mouse_events: 0;
7629             description { state: "default" 0.0;
7630             }
7631             description { state: "hidden" 0.0;
7632                visible: 0;
7633                color: 255 255 255 0;
7634             }
7635          }
7636          part { name: "sb_hbar_clip";
7637             clip_to: "sb_hbar_clip_master";
7638             type: RECT;
7639             mouse_events: 0;
7640             scale: 1;
7641             description { state: "default" 0.0;
7642                align: 0.0 0.0;
7643                rel2{ to:"clipper"; relative: 1.0 1.0;}
7644             }
7645             description { state: "hidden" 0.0;
7646                visible: 0;
7647                color: 255 255 255 0;
7648             }
7649          }
7650          part { name: "sb_hbar";
7651             type: RECT;
7652             mouse_events: 0;
7653             scale: 1;
7654             description { state: "default" 0.0;
7655                fixed: 1 1;
7656                visible: 0;
7657                align: 0.0 1.0;
7658                rel1 { to:"clipper"; relative: 0.0 1.0; }
7659                rel2 { to:"clipper"; relative: 1.0 1.0; }
7660             }
7661          }
7662          part { name: "elm.dragable.hbar";
7663             clip_to: "sb_hbar_clip";
7664             mouse_events: 0;
7665             scale: 1;
7666             dragable {
7667                x: 1 1 0;
7668                y: 0 0 0;
7669                confine: "sb_hbar";
7670             }
7671             description { state: "default" 0.0;
7672                min: 17 10;
7673                max: 99999 10;
7674                fixed: 1 1;
7675                rel1 { relative: 0.5  0.5; to: "sb_hbar"; }
7676                rel2 { relative: 0.5  0.5; to: "sb_hbar"; }
7677                image { normal: "bt_sm_base2.png";
7678                   border: 4 4 4 4;
7679                   middle: SOLID;
7680                }
7681             }
7682          }
7683          part { name: "sb_hbar_over1";
7684             clip_to: "sb_hbar_clip";
7685             mouse_events: 0;
7686             description { state: "default" 0.0;
7687                rel1.to: "elm.dragable.hbar";
7688                rel2.relative: 1.0 0.5;
7689                rel2.to: "elm.dragable.hbar";
7690                image { normal: "bt_sm_hilight.png";
7691                   border: 6 6 6 0;
7692                }
7693             }
7694          }
7695          part { name: "sb_hbar_over2";
7696             clip_to: "sb_hbar_clip";
7697             mouse_events: 0;
7698             description { state: "default" 0.0;
7699                rel1.to: "elm.dragable.hbar";
7700                rel2.to: "elm.dragable.hbar";
7701                image { normal: "bt_sm_shine.png";
7702                   border: 6 6 6 0;
7703                }
7704             }
7705          }
7706       }
7707       programs {
7708          program { name: "load";
7709             signal: "load";
7710             source: "";
7711             script {
7712                set_state(PART:"sb_vbar_clip", "hidden", 0.0);
7713                set_state(PART:"sb_hbar_clip", "hidden", 0.0);
7714                set_int(sbvis_v, 0);
7715                set_int(sbvis_h, 0);
7716                set_int(sbalways_v, 0);
7717                                    set_int(sbalways_h, 0);
7718                set_int(sbvis_timer, 0);
7719             }
7720          }
7721          program { name: "vbar_show";
7722             signal: "elm,action,show,vbar";
7723             source: "elm";
7724             action: STATE_SET "default" 0.0;
7725             target: "sb_vbar_clip_master";
7726          }
7727          program { name: "vbar_hide";
7728             signal: "elm,action,hide,vbar";
7729             source: "elm";
7730             action:  STATE_SET "hidden" 0.0;
7731             target: "sb_vbar_clip_master";
7732          }
7733          program { name: "vbar_show_always";
7734             signal: "elm,action,show_always,vbar";
7735             source: "elm";
7736             script {
7737                new v;
7738                v = get_int(sbvis_v);
7739                v |= get_int(sbalways_v);
7740                if (!v) {
7741                   set_int(sbalways_v, 1);
7742                   emit("do-show-vbar", "");
7743                   set_int(sbvis_v, 1);
7744                }
7745             }
7746          }
7747          program { name: "vbar_show_notalways";
7748             signal: "elm,action,show_notalways,vbar";
7749             source: "elm";
7750             script {
7751                new v;
7752                v = get_int(sbalways_v);
7753                if (v) {
7754                   set_int(sbalways_v, 0);
7755                   v = get_int(sbvis_v);
7756                   if (!v) {
7757                      emit("do-hide-vbar", "");
7758                      set_int(sbvis_v, 0);
7759                   }
7760                }
7761             }
7762          }
7763          program { name: "sb_vbar_show";
7764             signal: "do-show-vbar";
7765             source: "";
7766             action:  STATE_SET "default" 0.0;
7767             transition: LINEAR 1.0;
7768             target: "sb_vbar_clip";
7769          }
7770          program { name: "sb_vbar_hide";
7771             signal: "do-hide-vbar";
7772             source: "";
7773             action:  STATE_SET "hidden" 0.0;
7774             transition: LINEAR 1.0;
7775             target: "sb_vbar_clip";
7776          }
7777          program { name: "hbar_show";
7778             signal: "elm,action,show,hbar";
7779             source: "elm";
7780             action:  STATE_SET "default" 0.0;
7781             target: "sb_hbar_clip_master";
7782          }
7783          program { name: "hbar_hide";
7784             signal: "elm,action,hide,hbar";
7785             source: "elm";
7786             action:  STATE_SET "hidden" 0.0;
7787             target: "sb_hbar_clip_master";
7788          }
7789          program { name: "hbar_show_always";
7790             signal: "elm,action,show_always,hbar";
7791             source: "elm";
7792             script {
7793                new v;
7794                v = get_int(sbvis_h);
7795                v |= get_int(sbalways_h);
7796                if (!v) {
7797                   set_int(sbalways_h, 1);
7798                   emit("do-show-hbar", "");
7799                   set_int(sbvis_h, 1);
7800                }
7801             }
7802          }
7803          program { name: "hbar_show_notalways";
7804             signal: "elm,action,show_notalways,hbar";
7805             source: "elm";
7806             script {
7807                new v;
7808                v = get_int(sbalways_h);
7809                if (v) {
7810                   set_int(sbalways_h, 0);
7811                   v = get_int(sbvis_h);
7812                   if (!v) {
7813                      emit("do-hide-hbar", "");
7814                      set_int(sbvis_h, 0);
7815                   }
7816                }
7817             }
7818          }
7819          program { name: "sb_hbar_show";
7820             signal: "do-show-hbar";
7821             source: "";
7822             action:  STATE_SET "default" 0.0;
7823             transition: LINEAR 1.0;
7824             target: "sb_hbar_clip";
7825          }
7826          program { name: "sb_hbar_hide";
7827             signal: "do-hide-hbar";
7828             source: "";
7829             action:  STATE_SET "hidden" 0.0;
7830             transition: LINEAR 1.0;
7831             target: "sb_hbar_clip";
7832          }
7833          program { name: "scroll";
7834             signal: "elm,action,scroll";
7835             source: "elm";
7836             script {
7837                new v;
7838                v = get_int(sbvis_v);
7839                v |= get_int(sbalways_v);
7840                if (!v) {
7841                   emit("do-show-vbar", "")
7842                   set_int(sbvis_v, 1);
7843                }
7844                v = get_int(sbvis_h);
7845                v |= get_int(sbalways_h);
7846                if (!v) {
7847                   emit("do-show-hbar", "");
7848                   set_int(sbvis_h, 1);
7849                }
7850                v = get_int(sbvis_timer);
7851                if (v > 0) cancel_timer(v);
7852                v = timer(1.0, "timer0", 0);
7853                set_int(sbvis_timer, v);
7854             }
7855          }
7856          program { name: "highlight_show";
7857             signal: "elm,action,focus_highlight,show";
7858             source: "elm";
7859             action: STATE_SET "enabled" 0.0;
7860             transition: ACCELERATE 0.3;
7861             target: "focus_highlight";
7862           }
7863          program { name: "highlight_hide";
7864             signal: "elm,action,focus_highlight,hide";
7865             source: "elm";
7866             action: STATE_SET "default" 0.0;
7867             transition: DECELERATE 0.3;
7868             target: "focus_highlight";
7869          }
7870       }
7871    }
7872 ///////////////////////////////////////////////////////////////////////////////
7873    group { name: "elm/ctxpopup/bg/default";
7874       parts {
7875          part { name: "ctxpopup_bg";
7876             type: RECT;
7877             mouse_events: 1;
7878             description { state: "default" 0.0;
7879                color: 0 0 0 0;
7880             }
7881             description { state: "visible" 0.0;
7882                inherit: "default" 0.0;
7883                color: 0 0 0 64;
7884             }
7885          }
7886       }
7887       programs {
7888          program { name: "clicked_event";
7889             signal: "mouse,clicked,1";
7890             source: "ctxpopup_bg";
7891             action: SIGNAL_EMIT "elm,action,click" "";
7892          }
7893          program { name: "show";
7894             signal: "elm,state,show";
7895             source: "elm";
7896             action: STATE_SET "visible" 0.0;
7897             target: "ctxpopup_bg";
7898          }
7899          program { name: "hide";
7900             signal: "elm,state,hide";
7901             source: "elm";
7902             action: STATE_SET "default" 0.0;
7903             target: "ctxpopup_bg";
7904          }
7905       }
7906    }
7907 ///////////////////////////////////////////////////////////////////////////////
7908    group { name: "elm/ctxpopup/base/default";
7909       images {
7910          image: "bt_base2.png" COMP;
7911          image: "bt_hilight.png" COMP;
7912          image: "bt_shine.png" COMP;
7913       }
7914       parts {
7915                   part { name: "arrow_area_left";
7916             type: RECT;
7917             mouse_events: 0;
7918             description { state: "default" 0.0;
7919                visible: 0;
7920                min: 40 0;
7921                fixed: 1 1;
7922                align: 1 0.5;
7923                rel1 {
7924                   to_y: "base";
7925                }
7926                rel2 {
7927                   relative:0 1;
7928                   to:"base";
7929                }
7930             }
7931          }
7932          part { name: "arrow_area_right";
7933             type: RECT;
7934             mouse_events: 0;
7935             description { state: "default" 0.0;
7936                visible: 0;
7937                min: 40 0;
7938                fixed: 1 1;
7939                align: 0 0.5;
7940                rel1 {
7941                   relative: 1 0;
7942                   to:"base";
7943                }
7944                rel2 {
7945                   to_y: "base";
7946                }
7947             }
7948          }
7949          part { name: "arrow_area_up";
7950             type: RECT;
7951             mouse_events: 0;
7952             description { state: "default" 0.0;
7953                visible: 0;
7954                min: 0 40;
7955                fixed: 1 1;
7956                align: 0.5 1;
7957                rel1 {
7958                   to_x: "base";
7959                }
7960                rel2 {
7961                   relative: 1 0;
7962                   to:"base";
7963                }
7964             }
7965          }
7966          part { name: "arrow_area_down";
7967             type: RECT;
7968             mouse_events: 0;
7969             description { state: "default" 0.0;
7970                visible: 0;
7971                min: 0 40;
7972                fixed: 1 1;
7973                align: 0.5 0;
7974                rel1 {
7975                   relative: 0 1;
7976                   to:"base";
7977                }
7978                rel2 {
7979                   to_x: "base";
7980                }
7981             }
7982          }
7983          part { name: "elm.swallow.arrow_up";
7984             type: SWALLOW;
7985             mouse_events: 0;
7986             scale: 1;
7987             dragable {
7988                x: 1 1 0;
7989                y: 1 1 0;
7990                confine: "arrow_area_up";
7991             }
7992             description {
7993                state: "default" 0.0;
7994                min: 40 40;
7995                fixed: 1 1;
7996                visible: 1;
7997             }
7998          }
7999          part { name: "elm.swallow.arrow_down";
8000             type: SWALLOW;
8001             mouse_events: 0;
8002             scale: 1;
8003             dragable {
8004                x: 1 1 0;
8005                y: 1 1 0;
8006                confine: "arrow_area_down";
8007             }
8008             description {
8009                state: "default" 0.0;
8010                min: 40 40;
8011                fixed: 1 1;
8012                visible: 1;
8013             }
8014          }
8015          part { name: "elm.swallow.arrow_left";
8016             type: SWALLOW;
8017             mouse_events: 0;
8018             scale: 1;
8019             dragable {
8020                x: 1 1 0;
8021                y: 1 1 0;
8022                confine: "arrow_area_left";
8023             }
8024             description {
8025                state: "default" 0.0;
8026                min: 40 40;
8027                fixed: 1 1;
8028                visible: 1;
8029             }
8030          }
8031          part { name: "elm.swallow.arrow_right";
8032             type: SWALLOW;
8033             mouse_events: 0;
8034             scale: 1;
8035             dragable {
8036                x: 1 1 0;
8037                y: 1 1 0;
8038                confine: "arrow_area_right";
8039             }
8040             description {
8041                state: "default" 0.0;
8042                min: 40 40;
8043                fixed: 1 1;
8044                visible: 1;
8045             }
8046          }
8047          part { name: "base";
8048             scale: 1;
8049             description { state: "default" 0.0;
8050                rel1.offset: -3 -3;
8051                rel2.offset: 3 3;
8052                image { normal: "bt_base2.png";
8053                   border: 7 7 7 7;
8054                }
8055             }
8056          }
8057          part { name: "over1";
8058             scale: 1;
8059             description { state: "default" 0.0;
8060                rel1.to: "base";
8061                rel2.to: "base";
8062                rel2.relative: 1.0 0.5;
8063                image { normal: "bt_hilight.png";
8064                   border: 7 7 7 0;
8065                }
8066             }
8067          }
8068          part { name: "over2";
8069             scale: 1;
8070             description { state: "default" 0.0;
8071                rel1.to: "base";
8072                rel2.to: "base";
8073                image { normal: "bt_shine.png";
8074                   border: 7 7 7 7;
8075                }
8076             }
8077          }
8078          part { name: "elm.swallow.content";
8079             type: SWALLOW;
8080             description { state: "default" 0.0;
8081                rel1 { to:"base"; offset: 4 4; };
8082                rel2 { to:"base"; offset: -5 -5; };
8083             }
8084          }
8085       }
8086    }
8087 ///////////////////////////////////////////////////////////////////////////////
8088    group { name: "elm/ctxpopup/arrow/default";
8089       images {
8090          image: "icon_arrow_left.png" COMP;
8091          image: "icon_arrow_right.png" COMP;
8092          image: "icon_arrow_up.png" COMP;
8093          image: "icon_arrow_down.png" COMP;
8094       }
8095       parts {
8096          part { name: "ctxpopup_arrow";
8097             type: IMAGE;
8098             scale: 1;
8099             description {
8100                state: "default" 0.0;
8101                min: 40 40;
8102                fixed: 1 1;
8103                visible: 0;
8104                align: 0.5 0.5;
8105             }
8106             description {
8107                state: "left" 0.0;
8108                min: 40 40;
8109                fixed: 1 1;
8110                align: 0.0 0.5;
8111                rel1 { offset: 7 0; }
8112                rel2 { offset: 6 -1; }
8113                image { normal: "icon_arrow_left.png"; }
8114             }
8115             description { state: "right" 0.0;
8116                min: 40 40;
8117                fixed: 1 1;
8118                align: 1.0 0.5;
8119                rel1 { offset: -7 0; }
8120                rel2 { offset: -8 -1; }
8121                image { normal: "icon_arrow_right.png"; }
8122             }
8123             description { state: "top" 0.0;
8124                min: 40 40;
8125                fixed: 1 1;
8126                align: 0.5 0.0;
8127                rel1 { offset: 0 7; }
8128                rel2 { offset: -1 6; }
8129                image { normal: "icon_arrow_up.png"; }
8130             }
8131             description { state: "bottom" 0.0;
8132                min: 40 40;
8133                fixed: 1 1;
8134                align: 0.5 1.0;
8135                rel1 { offset: 0 -7; }
8136                rel2 { offset: -1 -8; }
8137                image { normal: "icon_arrow_down.png"; }
8138             }
8139          }
8140       }
8141       programs {
8142          program { name: "enable_left_arrow";
8143             signal: "elm,state,left";
8144             source: "elm";
8145             action: STATE_SET "left" 0.0;
8146             target: "ctxpopup_arrow";
8147          }
8148          program { name: "enable_right_arrow";
8149             signal: "elm,state,right";
8150             source: "elm";
8151             action: STATE_SET "right" 0.0;
8152             target: "ctxpopup_arrow";
8153          }
8154          program { name: "enable_top_arrow";
8155             signal: "elm,state,top";
8156             source: "elm";
8157             action: STATE_SET "top" 0.0;
8158             target: "ctxpopup_arrow";
8159          }
8160          program { name: "enable_bottom_arrow";
8161             signal: "elm,state,bottom";
8162             source: "elm";
8163             action: STATE_SET "bottom" 0.0;
8164             target: "ctxpopup_arrow";
8165          }
8166       }
8167    }
8168 ///////////////////////////////////////////////////////////////////////////////
8169    group {
8170       name: "elm/ctxpopup/icon_text_style_item/default";
8171            alias: "elm/ctxpopup/text_style_item/default";
8172            alias: "elm/ctxpopup/icon_style_item/default";
8173       images {
8174          image: "hoversel_entry_bg.png" COMP;
8175       }
8176       parts {
8177          part { name: "event";
8178             mouse_events: 1;
8179             description { state: "default" 0.0;
8180             }
8181          }
8182          part { name: "bg";
8183             mouse_events: 0;
8184             description { state: "default" 0.0;
8185                rel1.offset: 2 2;
8186                rel2.offset: -3 -3;
8187                image { normal:"hoversel_entry_bg.png";
8188                   border: 0 0 2 2;
8189                }
8190                fill.smooth: 0;
8191                color: 255 255 255 0;
8192             }
8193             description { state: "clicked" 0.0;
8194                inherit: "default" 0.0;
8195                color: 255 255 255 255;
8196             }
8197          }
8198          part { name: "elm.swallow.icon";
8199             type: SWALLOW;
8200             clip_to: "disclip";
8201             scale: 1;
8202             description { state: "default" 0.0;
8203                min: 25 25;
8204                max: 25 25;
8205                align: 0 0.5;
8206                aspect: 1.0 1.0;
8207                rel1 { offset: 10 10; }
8208                                         rel2 { offset: 0 -10; }
8209             }
8210          }
8211          part { name: "elm.text";
8212             type: TEXT;
8213             mouse_events: 0;
8214             clip_to: "disclip";
8215             scale: 1;
8216             description { state: "default" 0.0;
8217                min: 1 40;
8218                fixed: 0 1;
8219                align: 0.5 0.5;
8220                rel1 { relative: 1.0 0.0; to: "elm.swallow.icon"; offset: 10 0; }
8221                rel2 { relative: 1.0 1.0; offset: -11 -1; }
8222                color: 255 255 255 255;
8223                text {
8224                   font: "Sans";
8225                   size: 10;
8226                   align: 0.0 0.5;
8227                   min: 1 1;
8228                }
8229             }
8230             description { state: "clicked" 0.0;
8231                inherit: "default" 0.0;
8232                color: 0 0 0 255;
8233             }
8234          }
8235          part { name: "over1";
8236             mouse_events: 1;
8237             repeat_events: 1;
8238             ignore_flags: ON_HOLD;
8239             description { state: "default" 0.0;
8240                color: 255 255 255 0;
8241             }
8242             description { state: "clicked" 0.0;
8243                inherit: "default" 0.0;
8244                color: 255 255 255 255;
8245             }
8246          }
8247          part { name: "over2";
8248             mouse_events: 1;
8249             repeat_events: 1;
8250             description { state: "default" 0.0;
8251                color: 255 255 255 0;
8252             }
8253             description { state: "clicked" 0.0;
8254                inherit: "default" 0.0;
8255                color: 255 255 255 255;
8256             }
8257          }
8258          part { name: "disclip";
8259             type: RECT;
8260             description { state: "default" 0.0;
8261                color: 255 255 255 255;
8262             }
8263             description { state: "enabled" 0.0;
8264                color: 127 127 127 127;
8265             }
8266          }
8267          part { name: "blocker";
8268             description { state: "default" 0.0;
8269                visible: 0;
8270             }
8271             description { state: "enabled" 0.0;
8272                visible: 1;
8273                color: 0 0 0 0;
8274             }
8275          }
8276       }
8277       programs {
8278          program {
8279             name: "item_unclick";
8280             signal: "mouse,up,1";
8281             source: "over1";
8282             action: SIGNAL_EMIT "elm,action,click" "";
8283          }
8284          program { name: "disable";
8285             signal: "elm,state,disabled";
8286             source: "elm";
8287             action: STATE_SET "enabled" 0.0;
8288             target: "disclip";
8289             target: "blocker";
8290          }
8291          program { name: "enable";
8292             signal: "elm,state,enabled";
8293             source: "elm";
8294             action: STATE_SET "default" 0.0;
8295             target: "disclip";
8296             target: "blocker";
8297          }
8298          program { name: "item_click2";
8299             signal: "mouse,down,1";
8300             source: "over2";
8301             script {
8302                set_state(PART:"elm.text", "clicked", 0.0);
8303                set_state(PART:"bg", "clicked", 0.0);
8304             }
8305          }
8306          program { name: "item_unclick2";
8307             signal: "mouse,up,1";
8308             source: "over2";
8309             script {
8310                                         set_state(PART:"elm.text", "default", 0.0);
8311                set_state(PART:"bg", "default", 0.0);
8312             }
8313          }
8314       }
8315    }
8316 ///////////////////////////////////////////////////////////////////////////////
8317 // emoticon images from:
8318 // Tanya - Latvia
8319 // http://lazycrazy.deviantart.com/
8320 // http://lazycrazy.deviantart.com/art/Very-Emotional-Emoticons-144461621
8321   group { name: "elm/entry/emoticon/angry/default"; images.image:
8322      "emo-angry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8323         "emo-angry.png"; } } } }
8324   group { name: "elm/entry/emoticon/angry-shout/default"; images.image:
8325      "emo-angry-shout.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8326         "emo-angry-shout.png"; } } } }
8327   group { name: "elm/entry/emoticon/crazy-laugh/default"; images.image:
8328      "emo-crazy-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8329         "emo-crazy-laugh.png"; } } } }
8330   group { name: "elm/entry/emoticon/evil-laugh/default"; images.image:
8331      "emo-evil-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8332         "emo-evil-laugh.png"; } } } }
8333   group { name: "elm/entry/emoticon/evil/default"; images.image:
8334      "emo-evil.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8335         "emo-evil.png"; } } } }
8336   group { name: "elm/entry/emoticon/goggle-smile/default"; images.image:
8337      "emo-goggle-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8338         "emo-goggle-smile.png"; } } } }
8339   group { name: "elm/entry/emoticon/grumpy/default"; images.image:
8340      "emo-grumpy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8341         "emo-grumpy.png"; } } } }
8342   group { name: "elm/entry/emoticon/grumpy-smile/default"; images.image:
8343      "emo-grumpy-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8344         "emo-grumpy-smile.png"; } } } }
8345   group { name: "elm/entry/emoticon/guilty/default"; images.image:
8346      "emo-guilty.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8347         "emo-guilty.png"; } } } }
8348   group { name: "elm/entry/emoticon/guilty-smile/default"; images.image:
8349      "emo-guilty-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8350         "emo-guilty-smile.png"; } } } }
8351   group { name: "elm/entry/emoticon/haha/default"; images.image:
8352      "emo-haha.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8353         "emo-haha.png"; } } } }
8354   group { name: "elm/entry/emoticon/half-smile/default"; images.image:
8355      "emo-half-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8356         "emo-half-smile.png"; } } } }
8357   group { name: "elm/entry/emoticon/happy-panting/default"; images.image:
8358      "emo-happy-panting.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8359         "emo-happy-panting.png"; } } } }
8360   group { name: "elm/entry/emoticon/happy/default"; images.image:
8361      "emo-happy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8362         "emo-happy.png"; } } } }
8363   group { name: "elm/entry/emoticon/indifferent/default"; images.image:
8364      "emo-indifferent.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8365         "emo-indifferent.png"; } } } }
8366   group { name: "elm/entry/emoticon/kiss/default"; images.image:
8367      "emo-kiss.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8368         "emo-kiss.png"; } } } }
8369   group { name: "elm/entry/emoticon/knowing-grin/default"; images.image:
8370      "emo-knowing-grin.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8371         "emo-knowing-grin.png"; } } } }
8372   group { name: "elm/entry/emoticon/laugh/default"; images.image:
8373      "emo-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8374         "emo-laugh.png"; } } } }
8375   group { name: "elm/entry/emoticon/little-bit-sorry/default"; images.image:
8376      "emo-little-bit-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8377         "emo-little-bit-sorry.png"; } } } }
8378   group { name: "elm/entry/emoticon/love-lots/default"; images.image:
8379      "emo-love-lots.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8380         "emo-love-lots.png"; } } } }
8381   group { name: "elm/entry/emoticon/love/default"; images.image:
8382      "emo-love.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8383         "emo-love.png"; } } } }
8384   group { name: "elm/entry/emoticon/minimal-smile/default"; images.image:
8385      "emo-minimal-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8386         "emo-minimal-smile.png"; } } } }
8387   group { name: "elm/entry/emoticon/not-happy/default"; images.image:
8388      "emo-not-happy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8389         "emo-not-happy.png"; } } } }
8390   group { name: "elm/entry/emoticon/not-impressed/default"; images.image:
8391      "emo-not-impressed.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8392         "emo-not-impressed.png"; } } } }
8393   group { name: "elm/entry/emoticon/omg/default"; images.image:
8394      "emo-omg.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8395         "emo-omg.png"; } } } }
8396   group { name: "elm/entry/emoticon/opensmile/default"; images.image:
8397      "emo-opensmile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8398         "emo-opensmile.png"; } } } }
8399   group { name: "elm/entry/emoticon/smile/default"; images.image:
8400      "emo-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8401         "emo-smile.png"; } } } }
8402   group { name: "elm/entry/emoticon/sorry/default"; images.image:
8403      "emo-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8404         "emo-sorry.png"; } } } }
8405   group { name: "elm/entry/emoticon/squint-laugh/default"; images.image:
8406      "emo-squint-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8407         "emo-squint-laugh.png"; } } } }
8408   group { name: "elm/entry/emoticon/surprised/default"; images.image:
8409      "emo-surprised.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8410         "emo-surprised.png"; } } } }
8411   group { name: "elm/entry/emoticon/suspicious/default"; images.image:
8412      "emo-suspicious.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8413         "emo-suspicious.png"; } } } }
8414   group { name: "elm/entry/emoticon/tongue-dangling/default"; images.image:
8415      "emo-tongue-dangling.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8416         "emo-tongue-dangling.png"; } } } }
8417   group { name: "elm/entry/emoticon/tongue-poke/default"; images.image:
8418      "emo-tongue-poke.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8419         "emo-tongue-poke.png"; } } } }
8420   group { name: "elm/entry/emoticon/uh/default"; images.image:
8421      "emo-uh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8422         "emo-uh.png"; } } } }
8423   group { name: "elm/entry/emoticon/unhappy/default"; images.image:
8424      "emo-unhappy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8425         "emo-unhappy.png"; } } } }
8426   group { name: "elm/entry/emoticon/very-sorry/default"; images.image:
8427      "emo-very-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8428         "emo-very-sorry.png"; } } } }
8429   group { name: "elm/entry/emoticon/what/default"; images.image:
8430      "emo-what.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8431         "emo-what.png"; } } } }
8432   group { name: "elm/entry/emoticon/wink/default"; images.image:
8433      "emo-wink.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8434         "emo-wink.png"; } } } }
8435   group { name: "elm/entry/emoticon/worried/default"; images.image:
8436      "emo-worried.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8437         "emo-worried.png"; } } } }
8438   group { name: "elm/entry/emoticon/wtf/default"; images.image:
8439      "emo-wtf.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8440         "emo-wtf.png"; } } } }
8441 //------------------------------------------------------------
8442    group { name: "elm/entry/base/default";
8443       styles
8444       {
8445          style { name: "entry_textblock_style";
8446             base: "font=Sans font_size=10 color=#000 wrap=word text_class=entry";
8447             tag:  "br" "\n";
8448             tag:  "ps" "ps";
8449             tag:  "tab" "\t";
8450             tag:  "em" "+ font=Sans:style=Oblique";
8451             tag:  "b" "+ font=Sans:style=Bold";
8452             tag:  "link" "+ color=#800 underline=on underline_color=#8008";
8453             tag:  "hilight" "+ font=Sans:style=Bold";
8454          }
8455          style { name: "entry_textblock_disabled_style";
8456             base: "font=Sans font_size=10 color=#00000080 wrap=word text_class=entry";
8457             tag:  "br" "\n";
8458             tag:  "ps" "ps";
8459             tag:  "tab" "\t";
8460             tag:  "em" "+ font=Sans:style=Oblique";
8461             tag:  "b" "+ font=Sans:style=Bold";
8462             tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
8463             tag:  "hilight" "+ font=Sans:style=Bold";
8464          }
8465       }
8466       data {
8467 //         item: context_menu_orientation "horizontal";
8468       }
8469       parts {
8470          part { name: "elm.text";
8471             type: TEXTBLOCK;
8472             mouse_events: 1;
8473             scale: 1;
8474             entry_mode: EDITABLE;
8475             select_mode: EXPLICIT;
8476             multiline: 1;
8477             source: "elm/entry/selection/default"; // selection under
8478    //       source2: "X"; // selection over
8479    //       source3: "X"; // cursor under
8480             source4: "elm/entry/cursor/default"; // cursorover
8481             source5: "elm/entry/anchor/default"; // anchor under
8482    //       source6: "X"; // anchor over
8483             description { state: "default" 0.0;
8484                /* we gotta use 0 0 here, because of scrolled entries */
8485                fixed: 0 0;
8486                text {
8487                   style: "entry_textblock_style";
8488                   min: 0 1;
8489                   align: 0.0 0.0;
8490                }
8491             }
8492             description { state: "disabled" 0.0;
8493                inherit: "default" 0.0;
8494                text {
8495                   style: "entry_textblock_disabled_style";
8496                   min: 0 1;
8497                }
8498             }
8499          }
8500       }
8501       programs {
8502          program { name: "focus";
8503             signal: "load";
8504             source: "";
8505             action: FOCUS_SET;
8506             target: "elm.text";
8507          }
8508          program { name: "disable";
8509             signal: "elm,state,disabled";
8510             source: "elm";
8511             action: STATE_SET "disabled" 0.0;
8512             target: "elm.text";
8513          }
8514          program { name: "enable";
8515             signal: "elm,state,enabled";
8516             source: "elm";
8517             action: STATE_SET "default" 0.0;
8518             target: "elm.text";
8519          }
8520       }
8521    }
8522
8523    group { name: "elm/entry/base-mixedwrap/default";
8524       styles
8525       {
8526          style { name: "entry_textblock_style_mixedwrap";
8527             base: "font=Sans font_size=10 color=#000 wrap=mixed text_class=entry";
8528             tag:  "br" "\n";
8529             tag:  "ps" "ps";
8530             tag:  "tab" "\t";
8531             tag:  "em" "+ font=Sans:style=Oblique";
8532             tag:  "b" "+ font=Sans:style=Bold";
8533             tag:  "link" "+ color=#800 underline=on underline_color=#8008";
8534             tag:  "hilight" "+ font=Sans:style=Bold";
8535          }
8536          style { name: "entry_textblock_disabled_style_mixedwrap";
8537             base: "font=Sans font_size=10 color=#00000080 wrap=char text_class=entry";
8538             tag:  "br" "\n";
8539             tag:  "ps" "ps";
8540             tag:  "tab" "\t";
8541             tag:  "em" "+ font=Sans:style=Oblique";
8542             tag:  "b" "+ font=Sans:style=Bold";
8543             tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
8544             tag:  "hilight" "+ font=Sans:style=Bold";
8545          }
8546       }
8547       parts {
8548          part { name: "elm.text";
8549             type: TEXTBLOCK;
8550             mouse_events: 1;
8551             scale: 1;
8552             entry_mode: EDITABLE;
8553             select_mode: EXPLICIT;
8554             multiline: 1;
8555             source: "elm/entry/selection/default"; // selection under
8556 //          source2: "X"; // selection over
8557 //          source3: "X"; // cursor under
8558             source4: "elm/entry/cursor/default"; // cursorover
8559             source5: "elm/entry/anchor/default"; // anchor under
8560 //          source6: "X"; // anchor over
8561             description { state: "default" 0.0;
8562                fixed: 1 0;
8563                text {
8564                   style: "entry_textblock_style_mixedwrap";
8565                   min: 0 1;
8566                   align: 0.0 0.0;
8567                }
8568             }
8569             description { state: "disabled" 0.0;
8570                inherit: "default" 0.0;
8571                text {
8572                   style: "entry_textblock_disabled_style_mixedwrap";
8573                   min: 0 1;
8574                }
8575             }
8576          }
8577       }
8578       programs {
8579          program { name: "focus";
8580             signal: "load";
8581             source: "";
8582             action: FOCUS_SET;
8583             target: "elm.text";
8584          }
8585          program { name: "disable";
8586             signal: "elm,state,disabled";
8587             source: "elm";
8588             action: STATE_SET "disabled" 0.0;
8589             target: "elm.text";
8590          }
8591          program { name: "enable";
8592             signal: "elm,state,enabled";
8593             source: "elm";
8594             action: STATE_SET "default" 0.0;
8595             target: "elm.text";
8596          }
8597       }
8598    }
8599
8600    group { name: "elm/entry/base-charwrap/default";
8601       styles
8602       {
8603          style { name: "entry_textblock_style_charwrap";
8604             base: "font=Sans font_size=10 color=#000 wrap=char text_class=entry";
8605             tag:  "br" "\n";
8606             tag:  "ps" "ps";
8607             tag:  "tab" "\t";
8608             tag:  "em" "+ font=Sans:style=Oblique";
8609             tag:  "b" "+ font=Sans:style=Bold";
8610             tag:  "link" "+ color=#800 underline=on underline_color=#8008";
8611             tag:  "hilight" "+ font=Sans:style=Bold";
8612          }
8613          style { name: "entry_textblock_disabled_style_charwrap";
8614             base: "font=Sans font_size=10 color=#00000080 wrap=char text_class=entry";
8615             tag:  "br" "\n";
8616             tag:  "ps" "ps";
8617             tag:  "tab" "\t";
8618             tag:  "em" "+ font=Sans:style=Oblique";
8619             tag:  "b" "+ font=Sans:style=Bold";
8620             tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
8621             tag:  "hilight" "+ font=Sans:style=Bold";
8622          }
8623       }
8624       parts {
8625          part { name: "elm.text";
8626             type: TEXTBLOCK;
8627             mouse_events: 1;
8628             scale: 1;
8629             entry_mode: EDITABLE;
8630             select_mode: EXPLICIT;
8631             multiline: 1;
8632             source: "elm/entry/selection/default"; // selection under
8633 //          source2: "X"; // selection over
8634 //          source3: "X"; // cursor under
8635             source4: "elm/entry/cursor/default"; // cursorover
8636             source5: "elm/entry/anchor/default"; // anchor under
8637 //          source6: "X"; // anchor over
8638             description { state: "default" 0.0;
8639                fixed: 1 0;
8640                text {
8641                   style: "entry_textblock_style_charwrap";
8642                   min: 0 1;
8643                   align: 0.0 0.0;
8644                }
8645             }
8646             description { state: "disabled" 0.0;
8647                inherit: "default" 0.0;
8648                text {
8649                   style: "entry_textblock_disabled_style_charwrap";
8650                   min: 0 1;
8651                }
8652             }
8653          }
8654       }
8655       programs {
8656          program { name: "focus";
8657             signal: "load";
8658             source: "";
8659             action: FOCUS_SET;
8660             target: "elm.text";
8661          }
8662          program { name: "disable";
8663             signal: "elm,state,disabled";
8664             source: "elm";
8665             action: STATE_SET "disabled" 0.0;
8666             target: "elm.text";
8667          }
8668          program { name: "enable";
8669             signal: "elm,state,enabled";
8670             source: "elm";
8671             action: STATE_SET "default" 0.0;
8672             target: "elm.text";
8673          }
8674       }
8675    }
8676
8677    group { name: "elm/entry/base-nowrap/default";
8678       parts {
8679          part { name: "elm.text";
8680             type: TEXTBLOCK;
8681             mouse_events: 1;
8682             scale: 1;
8683             entry_mode: EDITABLE;
8684             select_mode: EXPLICIT;
8685             multiline: 1;
8686             source: "elm/entry/selection/default"; // selection under
8687             source4: "elm/entry/cursor/default"; // cursorover
8688             source5: "elm/entry/anchor/default"; // anchor under
8689             description { state: "default" 0.0;
8690                text {
8691                   style: "entry_textblock_style";
8692                   min: 1 1;
8693                   align: 0.0 0.0;
8694                }
8695             }
8696             description { state: "disabled" 0.0;
8697                inherit: "default" 0.0;
8698                text {
8699                   style: "entry_textblock_disabled_style";
8700                   min: 0 1;
8701                }
8702             }
8703          }
8704 /*
8705          part { name: "sel";
8706             type: RECT;
8707             mouse_events: 0;
8708             description { state: "default" 0.0;
8709                align: 1.0 1.0;
8710                max: 16 16;
8711                aspect: 1.0 1.0;
8712                color: 255 0 0 0;
8713             }
8714             description { state: "visible" 0.0;
8715                inherit: "default" 0.0;
8716                color: 255 0 0 50;
8717             }
8718          }
8719  */
8720       }
8721       programs {
8722          program { name: "focus";
8723             signal: "load";
8724             source: "";
8725             action: FOCUS_SET;
8726             target: "elm.text";
8727          }
8728          program { name: "disable";
8729             signal: "elm,state,disabled";
8730             source: "elm";
8731             action: STATE_SET "disabled" 0.0;
8732             target: "elm.text";
8733          }
8734          program { name: "enable";
8735             signal: "elm,state,enabled";
8736             source: "elm";
8737             action: STATE_SET "default" 0.0;
8738             target: "elm.text";
8739          }
8740 /*
8741          program { name: "selmode0";
8742             signal: "elm,state,select,on";
8743             source: "elm";
8744             action: STATE_SET "visible" 0.0;
8745             target: "sel";
8746          }
8747          program { name: "selmode1";
8748             signal: "elm,state,select,off";
8749             source: "elm";
8750             action: STATE_SET "default" 0.0;
8751             target: "sel";
8752          }
8753  */
8754       }
8755    }
8756
8757    group { name: "elm/entry/base-single/default";
8758       styles
8759       {
8760          style { name: "entry_single_textblock_style";
8761             base: "font=Sans font_size=10 color=#000 wrap=none text_class=entry";
8762             tag:  "br" "\n";
8763             tag:  "ps" "ps";
8764             tag:  "tab" "\t";
8765             tag:  "em" "+ font=Sans:style=Oblique";
8766             tag:  "b" "+ font=Sans:style=Bold";
8767             tag:  "link" "+ color=#800 underline=on underline_color=#8008";
8768             tag:  "hilight" "+ font=Sans:style=Bold";
8769          }
8770          style { name: "entry_single_textblock_disabled_style";
8771             base: "font=Sans font_size=10 color=#00000080 wrap=none text_class=entry";
8772             tag:  "br" "\n";
8773             tag:  "ps" "ps";
8774             tag:  "tab" "\t";
8775             tag:  "em" "+ font=Sans:style=Oblique";
8776             tag:  "b" "+ font=Sans:style=Bold";
8777             tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
8778             tag:  "hilight" "+ font=Sans:style=Bold";
8779          }
8780       }
8781       parts {
8782          part { name: "elm.text";
8783             type: TEXTBLOCK;
8784             mouse_events: 1;
8785             scale: 1;
8786             entry_mode: EDITABLE;
8787             select_mode: EXPLICIT;
8788             multiline: 0;
8789             source: "elm/entry/selection/default"; // selection under
8790             source4: "elm/entry/cursor/default"; // cursorover
8791             source5: "elm/entry/anchor/default"; // anchor under
8792             description { state: "default" 0.0;
8793                text {
8794                   style: "entry_single_textblock_style";
8795                   min: 1 1;
8796                   max: 0 0;
8797                   align: 0.0 0.5;
8798                }
8799             }
8800             description { state: "disabled" 0.0;
8801                inherit: "default" 0.0;
8802                text {
8803                   style: "entry_single_textblock_disabled_style";
8804                }
8805             }
8806          }
8807       }
8808       programs {
8809          program { name: "focus";
8810             signal: "load";
8811             source: "";
8812             action: FOCUS_SET;
8813             target: "elm.text";
8814          }
8815          program { name: "disable";
8816             signal: "elm,state,disabled";
8817             source: "elm";
8818             action: STATE_SET "disabled" 0.0;
8819             target: "elm.text";
8820          }
8821          program { name: "enable";
8822             signal: "elm,state,enabled";
8823             source: "elm";
8824             action: STATE_SET "default" 0.0;
8825             target: "elm.text";
8826          }
8827       }
8828    }
8829
8830    group { name: "elm/entry/base-single-noedit/default";
8831       parts {
8832          part { name: "elm.text";
8833             type: TEXTBLOCK;
8834             mouse_events: 1;
8835             scale: 1;
8836             entry_mode: PLAIN;
8837             select_mode: EXPLICIT;
8838             multiline: 0;
8839             source: "elm/entry/selection/default"; // selection under
8840             source5: "elm/entry/anchor/default"; // anchor under
8841             description { state: "default" 0.0;
8842                text {
8843                   style: "entry_single_textblock_style";
8844                   min: 1 1;
8845                   max: 0 0;
8846                   align: 0.0 0.5;
8847                }
8848             }
8849             description { state: "disabled" 0.0;
8850                inherit: "default" 0.0;
8851                text {
8852                style: "entry_single_textblock_disabled_style";
8853                }
8854             }
8855          }
8856       }
8857       programs {
8858          program { name: "focus";
8859             signal: "load";
8860             source: "";
8861             action: FOCUS_SET;
8862             target: "elm.text";
8863          }
8864          program { name: "disable";
8865             signal: "elm,state,disabled";
8866             source: "elm";
8867             action: STATE_SET "disabled" 0.0;
8868             target: "elm.text";
8869          }
8870          program { name: "enable";
8871             signal: "elm,state,enabled";
8872             source: "elm";
8873             action: STATE_SET "default" 0.0;
8874             target: "elm.text";
8875          }
8876       }
8877    }
8878
8879    group { name: "elm/entry/base-noedit/default";
8880       parts {
8881          part { name: "elm.text";
8882             type: TEXTBLOCK;
8883             mouse_events: 1;
8884             scale: 1;
8885             entry_mode: PLAIN;
8886             select_mode: EXPLICIT;
8887             multiline: 1;
8888             source: "elm/entry/selection/default"; // selection under
8889             source5: "elm/entry/anchor/default"; // anchor under
8890             description { state: "default" 0.0;
8891                fixed: 1 0;
8892                text {
8893                   style: "entry_textblock_style";
8894                   min: 0 1;
8895                   align: 0.0 0.0;
8896                }
8897             }
8898             description { state: "disabled" 0.0;
8899                inherit: "default" 0.0;
8900                text {
8901                   style: "entry_textblock_disabled_style";
8902                }
8903             }
8904          }
8905       }
8906       programs {
8907          program { name: "focus";
8908             signal: "load";
8909             source: "";
8910             action: FOCUS_SET;
8911             target: "elm.text";
8912          }
8913          program { name: "disable";
8914             signal: "elm,state,disabled";
8915             source: "elm";
8916             action: STATE_SET "disabled" 0.0;
8917             target: "elm.text";
8918          }
8919          program { name: "enable";
8920             signal: "elm,state,enabled";
8921             source: "elm";
8922             action: STATE_SET "default" 0.0;
8923             target: "elm.text";
8924          }
8925       }
8926    }
8927
8928    group { name: "elm/entry/base-noedit-mixedwrap/default";
8929       parts {
8930          part { name: "elm.text";
8931             type: TEXTBLOCK;
8932             mouse_events: 1;
8933             scale: 1;
8934             entry_mode: PLAIN;
8935             select_mode: EXPLICIT;
8936             multiline: 1;
8937             source: "elm/entry/selection/default"; // selection under
8938             source5: "elm/entry/anchor/default"; // anchor under
8939             description { state: "default" 0.0;
8940                fixed: 1 0;
8941                text {
8942                   style: "entry_textblock_style_mixedwrap";
8943                   min: 0 1;
8944                   align: 0.0 0.0;
8945                }
8946             }
8947             description { state: "disabled" 0.0;
8948                inherit: "default" 0.0;
8949                text {
8950                   style: "entry_textblock_disabled_style_mixedwrap";
8951                }
8952             }
8953          }
8954       }
8955       programs {
8956          program { name: "focus";
8957             signal: "load";
8958             source: "";
8959             action: FOCUS_SET;
8960             target: "elm.text";
8961          }
8962          program { name: "disable";
8963             signal: "elm,state,disabled";
8964             source: "elm";
8965             action: STATE_SET "disabled" 0.0;
8966             target: "elm.text";
8967          }
8968          program { name: "enable";
8969             signal: "elm,state,enabled";
8970             source: "elm";
8971             action: STATE_SET "default" 0.0;
8972             target: "elm.text";
8973          }
8974       }
8975    }
8976
8977    group { name: "elm/entry/base-noedit-charwrap/default";
8978       parts {
8979          part { name: "elm.text";
8980             type: TEXTBLOCK;
8981             mouse_events: 1;
8982             scale: 1;
8983             entry_mode: PLAIN;
8984             select_mode: EXPLICIT;
8985             multiline: 1;
8986             source: "elm/entry/selection/default"; // selection under
8987             source5: "elm/entry/anchor/default"; // anchor under
8988             description { state: "default" 0.0;
8989                fixed: 1 0;
8990                text {
8991                   style: "entry_textblock_style_charwrap";
8992                   min: 0 1;
8993                   align: 0.0 0.0;
8994                }
8995             }
8996             description { state: "disabled" 0.0;
8997                inherit: "default" 0.0;
8998                text {
8999                   style: "entry_textblock_disabled_style_charwrap";
9000                }
9001             }
9002          }
9003       }
9004       programs {
9005          program { name: "focus";
9006             signal: "load";
9007             source: "";
9008             action: FOCUS_SET;
9009             target: "elm.text";
9010          }
9011          program { name: "disable";
9012             signal: "elm,state,disabled";
9013             source: "elm";
9014             action: STATE_SET "disabled" 0.0;
9015             target: "elm.text";
9016          }
9017          program { name: "enable";
9018             signal: "elm,state,enabled";
9019             source: "elm";
9020             action: STATE_SET "default" 0.0;
9021             target: "elm.text";
9022          }
9023       }
9024    }
9025
9026    group { name: "elm/entry/base-nowrap-noedit/default";
9027       parts {
9028          part { name: "elm.text";
9029             type: TEXTBLOCK;
9030             mouse_events: 1;
9031             scale: 1;
9032             entry_mode: PLAIN;
9033             select_mode: EXPLICIT;
9034             multiline: 1;
9035             source: "elm/entry/selection/default"; // selection under
9036             source5: "elm/entry/anchor/default"; // anchor under
9037             description { state: "default" 0.0;
9038                text {
9039                   style: "entry_textblock_style";
9040                   min: 1 1;
9041                   align: 0.0 0.0;
9042                }
9043             }
9044             description { state: "disabled" 0.0;
9045                inherit: "default" 0.0;
9046                text {
9047                   style: "entry_textblock_disabled_style";
9048                }
9049             }
9050          }
9051       }
9052       programs {
9053          program { name: "focus";
9054             signal: "load";
9055             source: "";
9056             action: FOCUS_SET;
9057             target: "elm.text";
9058          }
9059          program { name: "disable";
9060             signal: "elm,state,disabled";
9061             source: "elm";
9062             action: STATE_SET "disabled" 0.0;
9063             target: "elm.text";
9064          }
9065          program { name: "enable";
9066             signal: "elm,state,enabled";
9067             source: "elm";
9068             action: STATE_SET "default" 0.0;
9069             target: "elm.text";
9070          }
9071       }
9072    }
9073
9074    group { name: "elm/entry/base-password/default";
9075       parts {
9076          part { name: "elm.text";
9077             type: TEXTBLOCK;
9078             mouse_events: 1;
9079             scale: 1;
9080             entry_mode: PASSWORD;
9081             select_mode: EXPLICIT;
9082             multiline: 0;
9083             source: "elm/entry/selection/default"; // selection under
9084             source4: "elm/entry/cursor/default"; // cursorover
9085             source5: "elm/entry/anchor/default"; // anchor under
9086             description { state: "default" 0.0;
9087                text {
9088                   style: "entry_single_textblock_style";
9089                   repch: "*";
9090                   min: 1 1;
9091                   max: 0 0;
9092                   align: 0.0 0.5;
9093                }
9094             }
9095             description { state: "disabled" 0.0;
9096                inherit: "default" 0.0;
9097                text {
9098                   style: "entry_single_textblock_disabled_style";
9099                }
9100             }
9101          }
9102       }
9103       programs {
9104          program { name: "focus";
9105             signal: "load";
9106             source: "";
9107             action: FOCUS_SET;
9108             target: "elm.text";
9109          }
9110          program { name: "disable";
9111             signal: "elm,state,disabled";
9112             source: "elm";
9113             action: STATE_SET "disabled" 0.0;
9114             target: "elm.text";
9115          }
9116          program { name: "enable";
9117             signal: "elm,state,enabled";
9118             source: "elm";
9119             action: STATE_SET "default" 0.0;
9120             target: "elm.text";
9121          }
9122       }
9123    }
9124
9125    group { name: "elm/entry/cursor/default";
9126       images {
9127          image: "cur_box.png" COMP;
9128          image: "cur_hi.png" COMP;
9129          image: "cur_shad.png" COMP;
9130          image: "cur_shine.png" COMP;
9131          image: "cur_glow.png" COMP;
9132       }
9133       parts {
9134          part { name: "clip2";
9135             type: RECT;
9136             mouse_events: 0;
9137             description { state: "default" 0.0;
9138                rel1.to: "clip";
9139                rel2.to: "clip";
9140                visible: 0;
9141             }
9142             description { state: "focused" 0.0;
9143                inherit: "default" 0.0;
9144                visible: 1;
9145             }
9146          }
9147          part { name: "clip";
9148             type: RECT;
9149             mouse_events: 0;
9150             clip_to: "clip2";
9151             description { state: "default" 0.0;
9152                rel1.offset: -10 0;
9153                rel2.offset: 9 9;
9154             }
9155             description { state: "hidden" 0.0;
9156                inherit: "default" 0.0;
9157                visible: 0;
9158             }
9159          }
9160          part { name: "bg";
9161             mouse_events: 0;
9162             clip_to: "clip";
9163             description { state: "default" 0.0;
9164                rel1.to: "base";
9165                rel1.offset: -2 0;
9166                rel2.to: "base";
9167                rel2.offset: 1 1;
9168                image.border: 2 2 2 2;
9169                image.normal: "cur_shad.png";
9170             }
9171          }
9172          part { name: "base";
9173             mouse_events: 0;
9174             scale: 1;
9175             clip_to: "clip";
9176             description { state: "default" 0.0;
9177                min: 2 2;
9178                align: 0.5 1.0;
9179                rel1.relative: 0.0 1.0;
9180                rel1.offset: 0 -1;
9181                rel2.relative: 1.0 1.0;
9182                rel2.offset: -1 -1;
9183                image.normal: "cur_box.png";
9184             }
9185          }
9186          part { name: "hi";
9187             mouse_events: 0;
9188             clip_to: "clip";
9189             description { state: "default" 0.0;
9190                rel1.to: "base";
9191                rel2.to: "base";
9192                rel2.relative: 1.0 0.5;
9193                image.normal: "cur_hi.png";
9194             }
9195          }
9196          part { name: "shine";
9197             mouse_events: 0;
9198             clip_to: "clip";
9199             clip_to: "clip2";
9200             description { state: "default" 0.0;
9201                rel1.to: "base";
9202                rel2.to: "base";
9203                rel2.relative: 1.0 0.75;
9204                image.border: 2 2 1 0;
9205                image.normal: "cur_shine.png";
9206                fill.smooth: 0;
9207             }
9208          }
9209          part { name: "glow";
9210             mouse_events: 0;
9211             clip_to: "clip2";
9212             description { state: "default" 0.0;
9213                rel1.to: "base";
9214                rel1.relative: 0.0 -2.0;
9215                rel1.offset: -2 0;
9216                rel2.to: "base";
9217                rel2.relative: 1.0 0.0;
9218                rel2.offset: 1 1;
9219                image.border: 2 2 0 4;
9220                image.normal: "cur_glow.png";
9221                fill.smooth: 0;
9222             }
9223             description { state: "hidden" 0.0;
9224                inherit: "default" 0.0;
9225                color: 255 255 255 0;
9226             }
9227          }
9228       }
9229       programs {
9230          program { name: "show";
9231             signal: "show";
9232             source: "";
9233             action: STATE_SET "hidden" 0.0;
9234             in: 1.0 0.0;
9235             transition: DECELERATE 2.0;
9236             target: "glow";
9237             after: "show2";
9238          }
9239          program { name: "show2";
9240             action: STATE_SET "hidden" 0.0;
9241             in: 0.2 0.0;
9242             target: "clip";
9243             after: "show3";
9244          }
9245          program { name: "show3";
9246             action: STATE_SET "default" 0.0;
9247             in: 0.5 0.0;
9248             target: "clip";
9249             after: "show4";
9250          }
9251          program { name: "show4";
9252             action: STATE_SET "default" 0.0;
9253             in: 0.5 0.0;
9254             transition: DECELERATE 0.5;
9255             target: "glow";
9256             after: "show";
9257          }
9258          program { name: "focused";
9259             signal: "elm,action,focus";
9260             source: "elm";
9261             action: STATE_SET "focused" 0.0;
9262             target: "clip2";
9263          }
9264          program { name: "unfocused";
9265             signal: "elm,action,unfocus";
9266             source: "elm";
9267             action: STATE_SET "default" 0.0;
9268             target: "clip2";
9269          }
9270       }
9271    }
9272
9273    group { name: "elm/entry/selection/default";
9274       parts {
9275          part { name: "bg";
9276             type: RECT;
9277             mouse_events: 0;
9278             description { state: "default" 0.0;
9279                color: 128 128 128 128;
9280             }
9281          }
9282       }
9283    }
9284
9285    group { name: "elm/entry/anchor/default";
9286       parts {
9287          part { name: "bg";
9288             type: RECT;
9289             mouse_events: 0;
9290             description { state: "default" 0.0;
9291                color: 128 0 0 64;
9292             }
9293          }
9294       }
9295    }
9296
9297 ///////////////////////////////////////////////////////////////////////////////
9298   group { name: "elm/bubble/top_left/default";
9299     alias: "elm/bubble/base/default";
9300     images {
9301       image: "bubble_3.png" COMP;
9302       image: "bubble_4.png" COMP;
9303       image: "bubble_shine3.png" COMP;
9304       image: "bubble_shine4.png" COMP;
9305     }
9306     parts {
9307       part { name: "event";
9308          type: RECT;
9309          description {
9310             state: "default" 0.0;
9311             color: 0 0 0 0;
9312          }
9313       }
9314       part { name: "elm.swallow.icon";
9315         type: SWALLOW;
9316         description { state: "default" 0.0;
9317           fixed: 1 1;
9318           visible: 0;
9319           align: 0.0 0.0;
9320           aspect: 1.0 1.0;
9321           aspect_preference: VERTICAL;
9322           rel1 {
9323             relative: 0.0 0.0;
9324             offset: 4 4;
9325           }
9326           rel2 {
9327             to_y: "elm.text";
9328             relative: 0.0 1.0;
9329             offset: 4 -1;
9330           }
9331         }
9332         description { state: "visible" 0.0;
9333           inherit: "default" 0.0;
9334           visible: 1;
9335         }
9336       }
9337       part { name: "elm.text";
9338         type: TEXT;
9339         mouse_events:   0;
9340         scale: 1;
9341         description { state: "default" 0.0;
9342           align: 0.0 0.0;
9343           fixed: 0 1;
9344           rel1 {
9345             to_x: "elm.swallow.icon";
9346             relative: 1.0 0.0;
9347             offset: 4 4;
9348           }
9349           rel2 {
9350             to_x: "elm.info";
9351             relative: 0.0 0.0;
9352             offset: -5 4;
9353           }
9354           color: 0 0 0 255;
9355           text {
9356             font: "Sans:style=Bold,Edje-Vera-Bold";
9357             size: 10;
9358             min: 0 1;
9359             max: 0 1;
9360             align: 0.0 0.0;
9361           }
9362         }
9363       }
9364       part { name: "elm.info";
9365         type: TEXT;
9366         mouse_events:   0;
9367         scale: 1;
9368         description { state: "default" 0.0;
9369           align: 1.0 0.0;
9370           fixed: 1 1;
9371           rel1 {
9372             relative: 1.0 0.0;
9373             offset: -5 4;
9374           }
9375           rel2 {
9376             relative: 1.0 0.0;
9377             offset: -5 4;
9378           }
9379           color: 0 0 0 64;
9380           text {
9381             font: "Sans:style=Bold,Edje-Vera-Bold";
9382             size: 10;
9383             min: 1 1;
9384             max: 1 1;
9385             align: 1.0 0.0;
9386           }
9387         }
9388       }
9389       part { name: "base0";
9390         mouse_events:  0;
9391         description { state: "default" 0.0;
9392           rel1 {
9393             to_y: "elm.swallow.icon";
9394             relative: 0.0 1.0;
9395             offset: 0 0;
9396           }
9397           image {
9398             normal: "bubble_3.png";
9399             border: 36 11 18 9;
9400           }
9401           image.middle: SOLID;
9402           fill.smooth: 0;
9403         }
9404         description { state: "rtl" 0.0;
9405            inherit: "default" 0.0;
9406            image {
9407               normal: "bubble_4.png";
9408               border: 11 36 18 9;
9409            }
9410         }
9411       }
9412       part { name: "elm.swallow.content";
9413         type: SWALLOW;
9414         description { state: "default" 0.0;
9415           rel1 {
9416             to: "base0";
9417             offset: 9 16;
9418           }
9419           rel2 {
9420             to: "base0";
9421             offset: -10 -9;
9422           }
9423         }
9424       }
9425       part { name: "shine";
9426         mouse_events:  0;
9427         description { state:    "default" 0.0;
9428           rel1 {
9429             to: "base0";
9430             offset: 5 4;
9431           }
9432           rel2 {
9433             to: "base0";
9434             relative: 1.0 0.5;
9435             offset: -6 7;
9436           }
9437           image {
9438             normal: "bubble_shine3.png";
9439             border: 36 5 14 0;
9440           }
9441           fill.smooth: 0;
9442         }
9443         description { state: "rtl" 0.0;
9444            inherit: "default" 0.0;
9445            image {
9446               normal: "bubble_shine4.png";
9447               border: 5 36 14 0;
9448            }
9449         }
9450       }
9451     }
9452     programs {
9453       program {
9454         name: "icon_show";
9455         signal: "elm,state,icon,visible";
9456         source: "elm";
9457         action: STATE_SET "visible" 0.0;
9458         target: "elm.swallow.icon";
9459       }
9460       program {
9461         name: "icon_hide";
9462         signal: "elm,state,icon,hidden";
9463         source: "elm";
9464         action: STATE_SET "default" 0.0;
9465         target: "elm.swallow.icon";
9466       }
9467       program { name: "to_rtl";
9468          signal: "edje,state,rtl";
9469          source: "edje";
9470          action: STATE_SET "rtl" 0.0;
9471          target: "base0";
9472          target: "shine";
9473       }
9474       program { name: "to_ltr";
9475          signal: "edje,state,ltr";
9476          source: "edje";
9477          action: STATE_SET "default" 0.0;
9478          target: "base0";
9479          target: "shine";
9480       }
9481     }
9482   }
9483
9484   group { name: "elm/bubble/top_right/default";
9485     images {
9486       image: "bubble_3.png" COMP;
9487       image: "bubble_4.png" COMP;
9488       image: "bubble_shine3.png" COMP;
9489       image: "bubble_shine4.png" COMP;
9490     }
9491     parts {
9492       part { name: "event";
9493          type: RECT;
9494          description {
9495             state: "default" 0.0;
9496             color: 0 0 0 0;
9497          }
9498       }
9499       part { name: "elm.swallow.icon";
9500         type: SWALLOW;
9501         description { state: "default" 0.0;
9502           fixed: 1 1;
9503           visible: 0;
9504           align: 1.0 0.0;
9505           aspect: 1.0 1.0;
9506           aspect_preference: VERTICAL;
9507           rel1 {
9508             relative: 1.0 0.0;
9509             offset: -5 4;
9510           }
9511           rel2 {
9512             to_y: "elm.text";
9513             relative: 1.0 1.0;
9514             offset: -5 -1;
9515           }
9516         }
9517         description { state: "visible" 0.0;
9518           inherit: "default" 0.0;
9519           visible: 1;
9520         }
9521       }
9522       part { name: "elm.text";
9523         type: TEXT;
9524         mouse_events:   0;
9525         scale: 1;
9526         description { state: "default" 0.0;
9527           align: 0.0 0.0;
9528           fixed: 0 1;
9529           rel1 {
9530             relative: 0.0 0.0;
9531             offset: 4 4;
9532           }
9533           rel2 {
9534             to_x: "elm.info";
9535             relative: 0.0 0.0;
9536             offset: -5 4;
9537           }
9538           color: 0 0 0 255;
9539           text {
9540             font: "Sans:style=Bold,Edje-Vera-Bold";
9541             size: 10;
9542             min: 0 1;
9543             max: 0 1;
9544             align: 0.0 0.0;
9545           }
9546         }
9547       }
9548       part { name: "elm.info";
9549         type: TEXT;
9550         mouse_events:   0;
9551         scale: 1;
9552         description { state: "default" 0.0;
9553           align: 1.0 0.0;
9554           fixed: 1 1;
9555           rel1 {
9556             relative: 1.0 0.0;
9557             offset: -5 4;
9558           }
9559           rel2 {
9560             to_x: "elm.swallow.icon";
9561             relative: 0.0 0.0;
9562             offset: -5 4;
9563           }
9564           color: 0 0 0 64;
9565           text {
9566             font: "Sans:style=Bold,Edje-Vera-Bold";
9567             size: 10;
9568             min: 1 1;
9569             max: 1 1;
9570             align: 1.0 0.0;
9571           }
9572         }
9573       }
9574       part { name: "base0";
9575         mouse_events:  0;
9576         description { state: "default" 0.0;
9577           rel1 {
9578             to_y: "elm.swallow.icon";
9579             relative: 0.0 1.0;
9580             offset: 0 0;
9581           }
9582           image {
9583             normal: "bubble_4.png";
9584             border: 11 36 18 9;
9585           }
9586           image.middle: SOLID;
9587           fill.smooth: 0;
9588         }
9589         description { state: "rtl" 0.0;
9590            inherit: "default" 0.0;
9591            image {
9592               normal: "bubble_3.png";
9593               border: 36 11 18 9;
9594            }
9595         }
9596       }
9597       part { name: "elm.swallow.content";
9598         type: SWALLOW;
9599         description { state: "default" 0.0;
9600           rel1 {
9601             to: "base0";
9602             offset: 9 16;
9603           }
9604           rel2 {
9605             to: "base0";
9606             offset: -10 -9;
9607           }
9608         }
9609       }
9610       part { name: "shine";
9611         mouse_events:  0;
9612         description { state:    "default" 0.0;
9613           rel1 {
9614             to: "base0";
9615             offset: 5 4;
9616           }
9617           rel2 {
9618             to: "base0";
9619             relative: 1.0 0.5;
9620             offset: -6 7;
9621           }
9622           image {
9623             normal: "bubble_shine4.png";
9624             border: 5 36 14 0;
9625           }
9626           fill.smooth: 0;
9627         }
9628         description { state: "rtl" 0.0;
9629            inherit: "default" 0.0;
9630            image {
9631               normal: "bubble_shine3.png";
9632               border: 36 5 14 0;
9633            }
9634         }
9635       }
9636     }
9637     programs {
9638       program {
9639         name: "icon_show";
9640         signal: "elm,state,icon,visible";
9641         source: "elm";
9642         action: STATE_SET "visible" 0.0;
9643         target: "elm.swallow.icon";
9644       }
9645       program {
9646         name: "icon_hide";
9647         signal: "elm,state,icon,hidden";
9648         source: "elm";
9649         action: STATE_SET "default" 0.0;
9650         target: "elm.swallow.icon";
9651       }
9652       program { name: "to_rtl";
9653          signal: "edje,state,rtl";
9654          source: "edje";
9655          action: STATE_SET "rtl" 0.0;
9656          target: "base0";
9657          target: "shine";
9658       }
9659       program { name: "to_ltr";
9660          signal: "edje,state,ltr";
9661          source: "edje";
9662          action: STATE_SET "default" 0.0;
9663          target: "base0";
9664          target: "shine";
9665       }
9666     }
9667   }
9668
9669   group { name: "elm/bubble/bottom_left/default";
9670     images {
9671       image: "bubble_1.png" COMP;
9672       image: "bubble_2.png" COMP;
9673       image: "bubble_shine.png" COMP;
9674     }
9675     parts {
9676       part { name: "event";
9677          type: RECT;
9678          description {
9679             state: "default" 0.0;
9680             color: 0 0 0 0;
9681          }
9682       }
9683       part { name: "elm.swallow.icon";
9684         type: SWALLOW;
9685         description { state: "default" 0.0;
9686           fixed: 1 1;
9687           visible: 0;
9688           align: 0.0 1.0;
9689           aspect: 1.0 1.0;
9690           aspect_preference: VERTICAL;
9691           rel1 {
9692             to_y: "elm.text";
9693             relative: 0.0 0.0;
9694             offset: 4 0;
9695           }
9696           rel2 {
9697             relative: 0.0 1.0;
9698             offset: 4 -5;
9699           }
9700         }
9701         description { state: "visible" 0.0;
9702           inherit: "default" 0.0;
9703           visible: 1;
9704         }
9705       }
9706       part { name: "elm.text";
9707         type: TEXT;
9708         mouse_events:   0;
9709         scale: 1;
9710         description { state: "default" 0.0;
9711           align: 0.0 1.0;
9712           fixed: 0 1;
9713           rel1 {
9714             to_x: "elm.swallow.icon";
9715             relative: 1.0 1.0;
9716             offset: 4 -5;
9717           }
9718           rel2 {
9719             to_x: "elm.info";
9720             relative: 0.0 1.0;
9721             offset: -5 -5;
9722           }
9723           color: 0 0 0 255;
9724           text {
9725             font: "Sans:style=Bold,Edje-Vera-Bold";
9726             size: 10;
9727             min: 0 1;
9728             max: 0 1;
9729             align: 0.0 1.0;
9730           }
9731         }
9732       }
9733       part { name: "elm.info";
9734         type: TEXT;
9735         mouse_events:   0;
9736         scale: 1;
9737         description { state: "default" 0.0;
9738           align: 1.0 1.0;
9739           fixed: 1 1;
9740           rel1 {
9741             relative: 1.0 1.0;
9742             offset: -5 -5;
9743           }
9744           rel2 {
9745             relative: 1.0 1.0;
9746             offset: -5 -5;
9747           }
9748           color: 0 0 0 64;
9749           text {
9750             font: "Sans:style=Bold,Edje-Vera-Bold";
9751             size: 10;
9752             min: 1 1;
9753             max: 1 1;
9754             align: 1.0 1.0;
9755           }
9756         }
9757       }
9758       part { name: "base0";
9759         mouse_events:  0;
9760         description { state: "default" 0.0;
9761           rel2 {
9762             to_y: "elm.swallow.icon";
9763             relative: 1.0 0.0;
9764             offset: -1 -1;
9765           }
9766           image {
9767             normal: "bubble_1.png";
9768             border: 36 11 10 19;
9769           }
9770           image.middle: SOLID;
9771           fill.smooth: 0;
9772         }
9773         description { state: "rtl" 0.0;
9774            inherit: "default" 0.0;
9775            image {
9776               normal: "bubble_2.png";
9777               border: 11 36 10 19;
9778            }
9779         }
9780       }
9781       part { name: "elm.swallow.content";
9782         type: SWALLOW;
9783         description { state: "default" 0.0;
9784           rel1 {
9785             to: "base0";
9786             offset: 9 8;
9787           }
9788           rel2 {
9789             to: "base0";
9790             offset: -10 -17;
9791           }
9792         }
9793       }
9794       part { name: "shine";
9795         mouse_events:  0;
9796         description { state:    "default" 0.0;
9797           rel1 {
9798             to: "base0";
9799             offset: 5 4;
9800           }
9801           rel2 {
9802             to: "base0";
9803             relative: 1.0 0.5;
9804             offset: -6 -16;
9805           }
9806           image {
9807             normal: "bubble_shine.png";
9808             border: 5 5 5 0;
9809           }
9810           fill.smooth: 0;
9811         }
9812         description { state: "rtl" 0.0;
9813            inherit: "default" 0.0;
9814            image {
9815               normal: "bubble_shine4.png";
9816               border: 5 36 14 0;
9817            }
9818         }
9819       }
9820     }
9821     programs {
9822       program {
9823         name: "icon_show";
9824         signal: "elm,state,icon,visible";
9825         source: "elm";
9826         action: STATE_SET "visible" 0.0;
9827         target: "elm.swallow.icon";
9828       }
9829       program {
9830         name: "icon_hide";
9831         signal: "elm,state,icon,hidden";
9832         source: "elm";
9833         action: STATE_SET "default" 0.0;
9834         target: "elm.swallow.icon";
9835       }
9836       program { name: "to_rtl";
9837          signal: "edje,state,rtl";
9838          source: "edje";
9839          action: STATE_SET "rtl" 0.0;
9840          target: "base0";
9841       }
9842       program { name: "to_ltr";
9843          signal: "edje,state,ltr";
9844          source: "edje";
9845          action: STATE_SET "default" 0.0;
9846          target: "base0";
9847       }
9848     }
9849   }
9850
9851   group { name: "elm/bubble/bottom_right/default";
9852     images {
9853       image: "bubble_1.png" COMP;
9854       image: "bubble_2.png" COMP;
9855       image: "bubble_shine.png" COMP;
9856     }
9857     parts {
9858       part { name: "event";
9859          type: RECT;
9860          description {
9861             state: "default" 0.0;
9862             color: 0 0 0 0;
9863          }
9864       }
9865       part { name: "elm.swallow.icon";
9866         type: SWALLOW;
9867         description { state: "default" 0.0;
9868           fixed: 1 1;
9869           visible: 0.0;
9870           align: 1.0 1.0;
9871           aspect: 1.0 1.0;
9872           aspect_preference: VERTICAL;
9873           rel1 {
9874             to_y: "elm.text";
9875             relative: 1.0 0.0;
9876             offset: -5 0;
9877           }
9878           rel2 {
9879             relative: 1.0 1.0;
9880             offset: -5 -5;
9881           }
9882         }
9883         description { state: "visible" 0.0;
9884           inherit: "default" 0.0;
9885           visible: 1;
9886         }
9887       }
9888       part { name: "elm.text";
9889         type: TEXT;
9890         mouse_events:   0;
9891         scale: 1;
9892         description { state: "default" 0.0;
9893           align: 0.0 1.0;
9894           fixed: 0 1;
9895           rel1 {
9896             relative: 0.0 1.0;
9897             offset: 4 -5;
9898           }
9899           rel2 {
9900             to_x: "elm.info";
9901             relative: 0.0 1.0;
9902             offset: -5 -5;
9903           }
9904           color: 0 0 0 255;
9905           text {
9906             font: "Sans:style=Bold,Edje-Vera-Bold";
9907             size: 10;
9908             min: 0 1;
9909             max: 0 1;
9910             align: 0.0 1.0;
9911           }
9912         }
9913       }
9914       part { name: "elm.info";
9915         type: TEXT;
9916         mouse_events:   0;
9917         scale: 1;
9918         description { state: "default" 0.0;
9919           align: 1.0 1.0;
9920           fixed: 1 1;
9921           rel1 {
9922             relative: 1.0 1.0;
9923             offset: -5 -5;
9924           }
9925           rel2 {
9926             to_x: "elm.swallow.icon";
9927             relative: 0.0 1.0;
9928             offset: -5 -5;
9929           }
9930           color: 0 0 0 64;
9931           text {
9932             font: "Sans:style=Bold,Edje-Vera-Bold";
9933             size: 10;
9934             min: 1 1;
9935             max: 1 1;
9936             align: 1.0 1.0;
9937           }
9938         }
9939       }
9940       part { name: "base0";
9941         mouse_events:  0;
9942         description { state: "default" 0.0;
9943           rel2 {
9944             to_y: "elm.swallow.icon";
9945             relative: 1.0 0.0;
9946             offset: -1 -1;
9947           }
9948           image {
9949             normal: "bubble_2.png";
9950             border: 11 36 10 19;
9951           }
9952           image.middle: SOLID;
9953           fill.smooth: 0;
9954         }
9955         description { state: "rtl" 0.0;
9956            inherit: "default" 0.0;
9957            image {
9958               normal: "bubble_1.png";
9959               border: 36 11 10 19;
9960            }
9961         }
9962       }
9963       part { name: "elm.swallow.content";
9964         type: SWALLOW;
9965         description { state: "default" 0.0;
9966           rel1 {
9967             to: "base0";
9968             offset: 9 8;
9969           }
9970           rel2 {
9971             to: "base0";
9972             offset: -10 -17;
9973           }
9974         }
9975       }
9976       part { name: "shine";
9977         mouse_events:  0;
9978         description { state:    "default" 0.0;
9979           rel1 {
9980             to: "base0";
9981             offset: 5 4;
9982           }
9983           rel2 {
9984             to: "base0";
9985             relative: 1.0 0.5;
9986             offset: -6 -16;
9987           }
9988           image {
9989             normal: "bubble_shine.png";
9990             border: 5 5 5 0;
9991           }
9992           fill.smooth: 0;
9993         }
9994         description { state: "rtl" 0.0;
9995            inherit: "default" 0.0;
9996            image {
9997               normal: "bubble_shine3.png";
9998               border: 36 5 14 0;
9999            }
10000         }
10001       }
10002     }
10003     programs {
10004       program {
10005         name: "icon_show";
10006         signal: "elm,state,icon,visible";
10007         source: "elm";
10008         action: STATE_SET "visible" 0.0;
10009         target: "elm.swallow.icon";
10010       }
10011       program {
10012         name: "icon_hide";
10013         signal: "elm,state,icon,hidden";
10014         source: "elm";
10015         action: STATE_SET "default" 0.0;
10016         target: "elm.swallow.icon";
10017       }
10018       program { name: "to_rtl";
10019          signal: "edje,state,rtl";
10020          source: "edje";
10021          action: STATE_SET "rtl" 0.0;
10022          target: "base0";
10023       }
10024       program { name: "to_ltr";
10025          signal: "edje,state,ltr";
10026          source: "edje";
10027          action: STATE_SET "default" 0.0;
10028          target: "base0";
10029       }
10030     }
10031   }
10032
10033 ///////////////////////////////////////////////////////////////////////////////
10034    group { name: "elm/photo/base/default";
10035       images {
10036          image: "frame_1.png" COMP;
10037          image: "frame_2.png" COMP;
10038          image: "dia_grad.png" COMP;
10039          image: "head.png" COMP;
10040       }
10041       parts {
10042          part { name: "base0";
10043             mouse_events:  0;
10044             description { state: "default" 0.0;
10045                image.normal: "dia_grad.png";
10046                rel1.to: "over";
10047                rel2.to: "over";
10048                fill {
10049                   smooth: 0;
10050                   size {
10051                      relative: 0.0 1.0;
10052                      offset: 64 0;
10053                   }
10054                }
10055             }
10056          }
10057          part { name: "base";
10058             mouse_events:  0;
10059             description { state:    "default" 0.0;
10060                image {
10061                   normal: "frame_2.png";
10062                   border: 5 5 32 26;
10063                   middle: 0;
10064                }
10065                fill.smooth : 0;
10066             }
10067          }
10068          part { name: "head";
10069             mouse_events:  0;
10070             description { state:    "default" 0.0;
10071                rel1.offset: 4 4;
10072                rel2.offset: -5 -5;
10073                aspect: 1.0 1.0;
10074                aspect_preference: BOTH;
10075                image.normal: "head.png";
10076             }
10077          }
10078          part { name: "clip";
10079             mouse_events:  0;
10080             type: RECT;
10081             description { state:    "default" 0.0;
10082                rel1.offset: 4 4;
10083                rel2.offset: -5 -5;
10084                color: 255 255 255 255;
10085             }
10086          }
10087          part { name: "elm.swallow.content";
10088             type: SWALLOW;
10089             clip_to: "clip";
10090             description { state: "default" 0.0;
10091                rel1.offset: 4 4;
10092                rel2.offset: -5 -5;
10093             }
10094          }
10095          part { name: "over";
10096             mouse_events:  0;
10097             description { state:    "default" 0.0;
10098                rel1.offset: 4 4;
10099                rel2.offset: -5 -5;
10100                image {
10101                   normal: "frame_1.png";
10102                   border: 2 2 28 22;
10103                   middle: 0;
10104                }
10105                fill.smooth: 0;
10106             }
10107          }
10108      }
10109    }
10110
10111    group { name: "elm/photo/base/shadow";
10112               images {
10113                         image: "shadow.png" COMP;
10114                         image: "black.png" COMP;
10115               }
10116               script {
10117               public message(Msg_Type:type, id, ...) {
10118                 if( (type==MSG_INT_SET) && (id==0) )
10119                 {
10120                     new w;
10121                     new h;
10122
10123                     custom_state(PART:"size", "default", 0.0);
10124
10125                     w = getarg(2);
10126                     h = getarg(3);
10127                     set_state_val(PART:"size", STATE_REL1_OFFSET, - w/2, - h/2);
10128                     set_state_val(PART:"size", STATE_REL2_OFFSET, w/2 + 1, h/2 + 1);
10129                     set_state(PART:"size", "custom", 0.0);
10130                 }
10131             }
10132             }
10133               parts {
10134               part { name: "size";
10135                     type: SWALLOW;
10136                     description { state: "default" 0.0;
10137                             rel1.relative: 0.5 0.5;
10138                             rel2.relative: 0.5 0.5;
10139                     }
10140                  }
10141               part {
10142                 name: "shadow";
10143                 type: IMAGE;
10144                 repeat_events: 1;
10145                 description {
10146                     state: "default" 0.0;
10147                     rel1.to: "size";
10148                     rel2.to: "size";
10149                     rel1.relative: -0.06 -0.06;
10150                     rel2.relative: 1.07 1.07;
10151                     image.normal: "shadow.png";
10152                 }
10153             }
10154
10155
10156                  part { name: "elm.swallow.content";
10157                     type: SWALLOW;
10158                     description { state: "default" 0.0;
10159                     rel1.offset: 3 3;
10160                     rel2.offset: -3 -3;
10161                             fixed: 1 1;
10162                     }
10163                  }
10164
10165                  part {
10166                 name: "border";
10167                 type: IMAGE;
10168                 repeat_events: 1;
10169                 description {
10170                     state: "default" 0.0;
10171                     visible: 1;
10172                     color: 0 0 0 255;
10173                     rel1.to: "size";
10174                     rel2.to: "size";
10175                     image.normal: "black.png";
10176                     image.border: 1 1 1 1;
10177                     image.middle: 0;
10178                 }
10179             }
10180                  }
10181    }
10182
10183 ///////////////////////////////////////////////////////////////////////////////
10184    group { name: "elm/thumb/base/default";
10185       images {
10186          image: "frame_1.png" COMP;
10187          image: "frame_2.png" COMP;
10188          image: "dia_grad.png" COMP;
10189          image: "busy-1.png" COMP;
10190          image: "busy-2.png" COMP;
10191          image: "busy-3.png" COMP;
10192          image: "busy-4.png" COMP;
10193          image: "busy-5.png" COMP;
10194          image: "busy-6.png" COMP;
10195          image: "busy-7.png" COMP;
10196          image: "busy-8.png" COMP;
10197          image: "busy-9.png" COMP;
10198       }
10199       parts {
10200          part { name: "base0";
10201             mouse_events:  0;
10202             description { state:        "default" 0.0;
10203                image.normal: "dia_grad.png";
10204                rel1.to: "over";
10205                rel2.to: "over";
10206                fill {
10207                   smooth: 0;
10208                   size {
10209                      relative: 0.0 1.0;
10210                      offset: 64 0;
10211                   }
10212                }
10213             }
10214          }
10215          part { name: "base";
10216             mouse_events:  0;
10217             description { state:        "default" 0.0;
10218                image {
10219                   normal: "frame_2.png";
10220                   border: 5 5 32 26;
10221                   middle: 0;
10222                }
10223                fill.smooth : 0;
10224             }
10225          }
10226          part { name: "clip";
10227             mouse_events:  0;
10228             type: RECT;
10229             description { state:        "default" 0.0;
10230                rel1.offset: 4 4;
10231                rel2.offset: -5 -5;
10232                color: 255 255 255 255;
10233             }
10234          }
10235          part { name: "elm.swallow.content";
10236             type: SWALLOW;
10237             clip_to: "clip";
10238             description { state:        "default" 0.0;
10239                rel1.offset: 4 4;
10240                rel2.offset: -5 -5;
10241             }
10242          }
10243          part { name: "progress";
10244             mouse_events: 0;
10245
10246             clip_to: "clip";
10247             description { state:        "default" 0.0;
10248                min: 32 32;
10249                max: 32 32;
10250                visible: 0;
10251                aspect: 1.0 1.0;
10252                aspect_preference: BOTH;
10253             }
10254             description { state:        "pulse" 0.0;
10255                inherit: "default" 0.0;
10256                visible: 1;
10257                image {
10258                   normal: "busy-9.png";
10259                   tween:  "busy-1.png";
10260                   tween:  "busy-2.png";
10261                   tween:  "busy-3.png";
10262                   tween:  "busy-4.png";
10263                   tween:  "busy-5.png";
10264                   tween:  "busy-6.png";
10265                   tween:  "busy-7.png";
10266                   tween:  "busy-8.png";
10267                   border: 7 7 7 7;
10268                }
10269             }
10270          }
10271          part { name: "over";
10272             mouse_events:  0;
10273             description { state:        "default" 0.0;
10274                rel1.offset: 4 4;
10275                rel2.offset: -5 -5;
10276                image {
10277                   normal: "frame_1.png";
10278                   border: 2 2 28 22;
10279                   middle: 0;
10280                }
10281                fill.smooth: 0;
10282             }
10283          }
10284          programs {
10285             program { name: "start_pulse";
10286                signal: "elm,state,pulse,start";
10287                source: "elm";
10288                action: STATE_SET "pulse" 0.0;
10289                target: "progress";
10290                transition: LINEAR 0.5;
10291                after: "start_pulse";
10292             }
10293             program { name: "stop_pulse";
10294                signal: "elm,state,pulse,stop";
10295                source: "elm";
10296                action: STATE_SET "default" 0.0;
10297                target: "progress";
10298             }
10299          }
10300       }
10301    }
10302
10303    group { name: "elm/thumb/base/noframe";
10304       images {
10305          image: "busy-1.png" COMP;
10306          image: "busy-2.png" COMP;
10307          image: "busy-3.png" COMP;
10308          image: "busy-4.png" COMP;
10309          image: "busy-5.png" COMP;
10310          image: "busy-6.png" COMP;
10311          image: "busy-7.png" COMP;
10312          image: "busy-8.png" COMP;
10313          image: "busy-9.png" COMP;
10314       }
10315       parts {
10316          part { name: "elm.swallow.content";
10317             type: SWALLOW;
10318             description { state: "default" 0.0;
10319                rel1.offset: 4 4;
10320                rel2.offset: -5 -5;
10321             }
10322          }
10323          part { name: "progress";
10324             mouse_events: 0;
10325             description { state:        "default" 0.0;
10326                min: 32 32;
10327                max: 32 32;
10328                visible: 0;
10329                aspect: 1.0 1.0;
10330                aspect_preference: BOTH;
10331             }
10332             description { state:        "pulse" 0.0;
10333                inherit: "default" 0.0;
10334                visible: 1;
10335                image {
10336                   normal: "busy-9.png";
10337                   tween:  "busy-1.png";
10338                   tween:  "busy-2.png";
10339                   tween:  "busy-3.png";
10340                   tween:  "busy-4.png";
10341                   tween:  "busy-5.png";
10342                   tween:  "busy-6.png";
10343                   tween:  "busy-7.png";
10344                   tween:  "busy-8.png";
10345                   border: 7 7 7 7;
10346                }
10347             }
10348          }
10349          programs {
10350             program { name: "start_pulse";
10351                signal: "elm,state,pulse,start";
10352                source: "elm";
10353                action: STATE_SET "pulse" 0.0;
10354                target: "progress";
10355                transition: LINEAR 0.5;
10356                after: "start_pulse";
10357             }
10358             program { name: "stop_pulse";
10359                signal: "elm,state,pulse,stop";
10360                source: "elm";
10361                action: STATE_SET "default" 0.0;
10362                target: "progress";
10363             }
10364          }
10365       }
10366    }
10367
10368
10369 ///////////////////////////////////////////////////////////////////////////////
10370    group { name: "elm/icon/home/default"; alias: "elm/icon/toolbar/home/default"; min: 32 32;
10371       images.image: "icon_home.png" COMP; parts { part { name: "base";
10372          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10373             image.normal: "icon_home.png"; } } } }
10374    group { name: "elm/icon/close/default"; alias: "elm/icon/toolbar/close/default"; min: 32 32;
10375       images.image: "icon_close.png" COMP; parts { part { name: "base";
10376          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10377             image.normal: "icon_close.png"; } } } }
10378    group { name: "elm/icon/apps/default"; alias: "elm/icon/toolbar/apps/default"; min: 32 32;
10379       images.image: "icon_apps.png" COMP; parts { part { name: "base";
10380          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10381             image.normal: "icon_apps.png"; } } } }
10382    group { name: "elm/icon/arrow_up/default"; alias: "elm/icon/toolbar/arrow_up/default"; min: 32 32;
10383       images.image: "icon_arrow_up.png" COMP; parts { part { name: "base";
10384          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10385             image.normal: "icon_arrow_up.png"; } } } }
10386    group { name: "elm/icon/arrow_down/default";
10387            alias: "elm/icon/toolbar/arrow_down/default";
10388            alias: "elm/icon/toolbar/more_menu/default"; min: 32 32;
10389       images.image: "icon_arrow_down.png" COMP; parts { part { name: "base";
10390          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10391             image.normal: "icon_arrow_down.png"; } } } }
10392    group { name: "elm/icon/arrow_left/default"; alias: "elm/icon/toolbar/arrow_left/default"; min: 32 32;
10393       images.image: "icon_arrow_left.png" COMP; parts { part { name: "base";
10394          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10395             image.normal: "icon_arrow_left.png"; } } } }
10396    group { name: "elm/icon/arrow_right/default"; alias: "elm/icon/toolbar/arrow_right/default"; min: 32 32;
10397       images.image: "icon_arrow_right.png" COMP; parts { part { name: "base";
10398          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10399             image.normal: "icon_arrow_right.png"; } } } }
10400    group { name: "elm/icon/chat/default"; alias: "elm/icon/toolbar/chat/default"; min: 32 32;
10401       images.image: "icon_chat.png" COMP; parts { part { name: "base";
10402          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10403             image.normal: "icon_chat.png"; } } } }
10404    group { name: "elm/icon/clock/default"; alias: "elm/icon/toolbar/clock/default"; min: 32 32;
10405       images.image: "icon_clock.png" COMP; parts { part { name: "base";
10406          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10407             image.normal: "icon_clock.png"; } } } }
10408    group { name: "elm/icon/delete/default"; alias: "elm/icon/toolbar/delete/default"; min: 32 32;
10409       images.image: "icon_delete.png" COMP; parts { part { name: "base";
10410          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10411             image.normal: "icon_delete.png"; } } } }
10412    group { name: "elm/icon/edit/default"; alias: "elm/icon/toolbar/edit/default"; min: 32 32;
10413       images.image: "icon_edit.png" COMP; parts { part { name: "base";
10414          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10415             image.normal: "icon_edit.png"; } } } }
10416    group { name: "elm/icon/refresh/default"; alias: "elm/icon/toolbar/refresh/default"; min: 32 32;
10417       images.image: "icon_refresh.png" COMP; parts { part { name: "base";
10418          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10419             image.normal: "icon_refresh.png"; } } } }
10420    group { name: "elm/icon/folder/default"; alias: "elm/icon/toolbar/folder/default"; min: 32 32;
10421       images.image: "icon_folder.png" COMP; parts { part { name: "base";
10422          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10423             image.normal: "icon_folder.png"; } } } }
10424    group { name: "elm/icon/file/default"; alias: "elm/icon/toolbar/file/default"; min: 32 32;
10425       images.image: "icon_file.png" COMP; parts { part { name: "base";
10426          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10427             image.normal: "icon_file.png"; } } } }
10428 ///////////////////////////////////////////////////////////////////////////////
10429    group { name: "elm/icon/menu/home/default"; min: 24 24; max: 24 24;
10430       images.image: "icon_home.png" COMP; parts { part { name: "base";
10431          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10432             image.normal: "icon_home.png"; } } } }
10433    group { name: "elm/icon/menu/close/default"; min: 24 24; max: 24 24;
10434       images.image: "icon_close.png" COMP; parts { part { name: "base";
10435          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10436             image.normal: "icon_close.png"; } } } }
10437    group { name: "elm/icon/menu/apps/default"; min: 24 24; max: 24 24;
10438       images.image: "icon_apps.png" COMP; parts { part { name: "base";
10439          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10440             image.normal: "icon_apps.png"; } } } }
10441    group { name: "elm/icon/menu/arrow_up/default"; min: 24 24; max: 24 24;
10442       images.image: "icon_arrow_up.png" COMP; parts { part { name: "base";
10443          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10444             image.normal: "icon_arrow_up.png"; } } } }
10445    group { name: "elm/icon/menu/arrow_down/default"; min: 24 24; max: 24 24;
10446       images.image: "icon_arrow_down.png" COMP; parts { part { name: "base";
10447          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10448             image.normal: "icon_arrow_down.png"; } } } }
10449    group { name: "elm/icon/menu/arrow_left/default"; min: 24 24; max: 24 24;
10450       images.image: "icon_arrow_left.png" COMP; parts { part { name: "base";
10451          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10452             image.normal: "icon_arrow_left.png"; } } } }
10453    group { name: "elm/icon/menu/arrow_right/default"; min: 24 24; max: 24 24;
10454       images.image: "icon_arrow_right.png" COMP; parts { part { name: "base";
10455          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10456             image.normal: "icon_arrow_right.png"; } } } }
10457    group { name: "elm/icon/menu/chat/default"; min: 24 24; max: 24 24;
10458       images.image: "icon_chat.png" COMP; parts { part { name: "base";
10459          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10460             image.normal: "icon_chat.png"; } } } }
10461    group { name: "elm/icon/menu/clock/default"; min: 24 24; max: 24 24;
10462       images.image: "icon_clock.png" COMP; parts { part { name: "base";
10463          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10464             image.normal: "icon_clock.png"; } } } }
10465    group { name: "elm/icon/menu/delete/default"; min: 24 24; max: 24 24;
10466       images.image: "icon_delete.png" COMP; parts { part { name: "base";
10467          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10468             image.normal: "icon_delete.png"; } } } }
10469    group { name: "elm/icon/menu/edit/default"; min: 24 24; max: 24 24;
10470       images.image: "icon_edit.png" COMP; parts { part { name: "base";
10471          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10472             image.normal: "icon_edit.png"; } } } }
10473    group { name: "elm/icon/menu/refresh/default"; min: 24 24; max: 24 24;
10474       images.image: "icon_refresh.png" COMP; parts { part { name: "base";
10475          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10476             image.normal: "icon_refresh.png"; } } } }
10477    group { name: "elm/icon/menu/folder/default"; min: 24 24; max: 24 24;
10478       images.image: "icon_folder.png" COMP; parts { part { name: "base";
10479          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10480             image.normal: "icon_folder.png"; } } } }
10481    group { name: "elm/icon/menu/file/default"; min: 24 24; max: 24 24;
10482       images.image: "icon_file.png" COMP; parts { part { name: "base";
10483          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10484             image.normal: "icon_file.png"; } } } }
10485
10486 ///////////////////////////////////////////////////////////////////////////////
10487    group { name: "elm/toolbar/base/default";
10488       images {
10489          image: "bt_dis_base.png" COMP;
10490          image: "bt_dis_hilight.png" COMP;
10491          image: "bt_dis_shine.png" COMP;
10492          image: "icon_left_arrow.png" COMP;
10493          image: "icon_right_arrow.png" COMP;
10494       }
10495       parts {
10496          part { name: "base";
10497             mouse_events: 1;
10498             description { state: "default" 0.0;
10499                rel1 {
10500                   relative: 0.0 0.0;
10501                   offset: 2 2;
10502                }
10503                rel2.offset: -3 -3;
10504                image {
10505                   normal: "bt_dis_base.png";
10506                   border: 4 4 4 4;
10507                }
10508                image.middle: SOLID;
10509             }
10510          }
10511          part { name: "clipper";
10512             type: RECT;
10513             mouse_events: 0;
10514             description {
10515                state: "default" 0.0;
10516                rel1 {
10517                   to: "base";
10518                   offset: 2 2;
10519                }
10520                rel2 {
10521                   to: "base";
10522                   offset: -3 -3;
10523                }
10524             }
10525          }
10526          part { name: "elm.swallow.content";
10527             clip_to: "clipper";
10528             type: SWALLOW;
10529             description {
10530                state: "default" 0.0;
10531                rel1.to: "clipper";
10532                rel2.to: "clipper";
10533             }
10534          }
10535          part { name: "over2";
10536             mouse_events: 0;
10537             description { state: "default" 0.0;
10538                rel1.to: "base";
10539                rel2.to: "base";
10540                image {
10541                   normal: "bt_dis_shine.png";
10542                   border: 4 4 4 4;
10543                }
10544             }
10545          }
10546          part { name: "over1";
10547             mouse_events: 0;
10548             description { state: "default" 0.0;
10549                rel1.to: "base";
10550                rel2.to: "base";
10551                rel2.relative: 1.0 0.5;
10552                image {
10553                   normal: "bt_dis_hilight.png";
10554                   border: 4 4 4 0;
10555                }
10556                color: 255 255 255 128;
10557             }
10558          }
10559          part { name: "left_arrow";
10560             mouse_events: 0;
10561             description { state: "default" 0.0;
10562                image.normal: "icon_left_arrow.png";
10563                aspect: 1.0 1.0;
10564                aspect_preference: VERTICAL;
10565                align: 0.0 0.5;
10566                min: 32 32;
10567                max: 32 32;
10568             }
10569             description { state: "hidden" 0.0;
10570                inherit: "default" 0.0;
10571                visible: 0;
10572                color: 255 255 255 0;
10573             }
10574          }
10575          part { name: "right_arrow";
10576             mouse_events: 0;
10577             description { state: "default" 0.0;
10578                image.normal: "icon_right_arrow.png";
10579                aspect: 1.0 1.0;
10580                aspect_preference: VERTICAL;
10581                align: 1.0 0.5;
10582                min: 32 32;
10583                max: 32 32;
10584             }
10585             description { state: "hidden" 0.0;
10586                inherit: "default" 0.0;
10587                visible: 0;
10588                color: 255 255 255 0;
10589             }
10590          }
10591          part { name: "event";
10592             type: RECT;
10593             mouse_events: 1;
10594             repeat_events: 1;
10595             description { state: "default" 0.0;
10596                color: 0 0 0 0;
10597             }
10598          }
10599       }
10600       programs {
10601          program { name: "sb_hbar_show";
10602             signal: "elm,action,show,hbar";
10603             source: "elm";
10604             action:  STATE_SET "default" 0.0;
10605             transition: LINEAR 0.5;
10606             target: "left_arrow";
10607             target: "right_arrow";
10608          }
10609          program { name: "sb_hbar_hide";
10610             signal: "elm,action,hide,hbar";
10611             source: "elm";
10612             action:  STATE_SET "hidden" 0.0;
10613             target: "left_arrow";
10614             target: "right_arrow";
10615             transition: LINEAR 0.5;
10616          }
10617       }
10618    }
10619
10620    group { name: "elm/toolbar/item/default";
10621        images {
10622            image: "toolbar_sel.png" COMP;
10623        }
10624        data.item: "transition_animation_on" "1";
10625        parts {
10626            part { name: "label2";
10627                type: TEXT;
10628                mouse_events:  0;
10629                scale: 1;
10630                clip_to: "elm.text.clipper";
10631                description { state: "default" 0.0;
10632                    align: 0.5 1.0;
10633                    fixed: 0 1;
10634                    rel1.to: "elm.text";
10635                    rel2.to: "elm.text";
10636                    color: 0 0 0 255;
10637                    text {
10638                        font: "Sans";
10639                        text_source: "elm.text";
10640                        size: 10;
10641                        min: 1 1;
10642                        align: 0.5 0.5;
10643                        text_class: "toolbar_item";
10644                    }
10645                }
10646                description { state: "selected" 0.0;
10647                    inherit: "default" 0.0;
10648                    visible: 0;
10649                }
10650                description { state: "disabled" 0.0;
10651                    inherit: "default" 0.0;
10652                    color: 0 0 0 128;
10653                    color3: 0 0 0 0;
10654                }
10655                description { state: "disabled_visible" 0.0;
10656                    inherit: "default" 0.0;
10657                    color: 0 0 0 128;
10658                    color3: 0 0 0 0;
10659                    visible: 1;
10660                    text.min: 1 1;
10661                }
10662            }
10663            part { name: "label2_new";
10664                type: TEXT;
10665                mouse_events:  0;
10666                scale: 1;
10667                clip_to: "elm.text_new.clipper";
10668                description { state: "default" 0.0;
10669                    align: 0.5 1.0;
10670                    fixed: 0 1;
10671                    rel1.to: "elm.text_new";
10672                    rel2.to: "elm.text_new";
10673                    color: 0 0 0 255;
10674                    text {
10675                        font: "Sans";
10676                        text_source: "elm.text_new";
10677                        size: 10;
10678                        min: 1 1;
10679                        align: 0.5 0.5;
10680                        text_class: "toolbar_item";
10681                    }
10682                }
10683                description { state: "selected" 0.0;
10684                    inherit: "default" 0.0;
10685                    visible: 0;
10686                }
10687                description { state: "disabled" 0.0;
10688                    inherit: "default" 0.0;
10689                    color: 0 0 0 128;
10690                    color3: 0 0 0 0;
10691                }
10692                description { state: "disabled_visible" 0.0;
10693                    inherit: "default" 0.0;
10694                    color: 0 0 0 128;
10695                    color3: 0 0 0 0;
10696                    visible: 1;
10697                    text.min: 1 1;
10698                }
10699            }
10700            part { name: "bg";
10701                mouse_events: 0;
10702                description { state: "default" 0.0;
10703                    visible: 0;
10704                    color: 255 255 255 0;
10705                    image {
10706                        normal: "toolbar_sel.png";
10707                        border: 3 3 0 0;
10708                    }
10709                    image.middle: SOLID;
10710                    fill.smooth: 0;
10711                }
10712                description { state: "selected" 0.0;
10713                    inherit: "default" 0.0;
10714                    visible: 1;
10715                    color: 255 255 255 255;
10716                }
10717                description { state: "disabled" 0.0;
10718                    inherit: "default" 0.0;
10719                    visible: 0;
10720                    color: 255 255 255 0;
10721                }
10722            }
10723            part { name: "elm.swallow.icon";
10724                type: SWALLOW;
10725                clip_to: "elm.icon.clipper";
10726                description { state: "default" 0.0;
10727                    align: 0.5 0.5;
10728                    fixed: 0 0;
10729                    rel1 {
10730                        relative: 0.0 0.0;
10731                        offset: 2 2;
10732                    }
10733                    rel2 {
10734                        to_y: "elm.text";
10735                        relative: 1.0 0.0;
10736                        offset: -3 -1;
10737                    }
10738                    color: 0 0 0 0;
10739                }
10740            }
10741            part { name: "elm.swallow.icon_new";
10742                type: SWALLOW;
10743                clip_to: "elm.icon_new.clipper";
10744                description { state: "default" 0.0;
10745                    align: 0.5 0.5;
10746                    fixed: 0 0;
10747                    rel1 {
10748                        relative: 0.0 0.0;
10749                        offset: 2 2;
10750                    }
10751                    rel2 {
10752                        to_y: "elm.text_new";
10753                        relative: 1.0 0.0;
10754                        offset: -3 -1;
10755                    }
10756                    color: 0 0 0 0;
10757                }
10758            }
10759            part { name: "elm.text";
10760                type: TEXT;
10761                effect: SOFT_SHADOW;
10762                mouse_events:  0;
10763                scale: 1;
10764                clip_to: "elm.text.clipper";
10765                description { state: "default" 0.0;
10766                    align: 0.5 1.0;
10767                    fixed: 0 1;
10768                    rel1 {
10769                        relative: 0.0 1.0;
10770                        offset:   0 -1;
10771                    }
10772                    rel2 {
10773                        relative: 1.0 1.0;
10774                        offset:   -1 -1;
10775                    }
10776                    visible: 0;
10777                    color: 224 224 224 255;
10778                    color3: 0 0 0 32;
10779                    text {
10780                        font: "Sans:style=Bold";
10781                        size: 10;
10782                        min: 1 1;
10783                        align: 0.5 0.5;
10784                        text_class: "toolbar_item";
10785                    }
10786                }
10787                description { state: "selected" 0.0;
10788                    inherit: "default" 0.0;
10789                    visible: 1;
10790                }
10791                description { state: "visible" 0.0;
10792                    inherit: "default" 0.0;
10793                    visible: 1;
10794                    text.min: 1 1;
10795                }
10796                description { state: "disabled" 0.0;
10797                    inherit: "default" 0.0;
10798                    color: 0 0 0 128;
10799                    color3: 0 0 0 0;
10800                }
10801                description { state: "disabled_visible" 0.0;
10802                    inherit: "default" 0.0;
10803                    color: 0 0 0 128;
10804                    color3: 0 0 0 0;
10805                    visible: 1;
10806                    text.min: 1 1;
10807                }
10808            }
10809            part { name: "elm.text_new";
10810                type: TEXT;
10811                effect: SOFT_SHADOW;
10812                mouse_events:  0;
10813                clip_to: "elm.text_new.clipper";
10814                scale: 1;
10815                description { state: "default" 0.0;
10816                    align: 0.5 1.0;
10817                    fixed: 0 1;
10818                    rel1 {
10819                        relative: 0.0 1.0;
10820                        offset:   0 -1;
10821                    }
10822                    rel2 {
10823                        relative: 1.0 1.0;
10824                        offset:   -1 -1;
10825                    }
10826                    visible: 0;
10827                    color: 224 224 224 255;
10828                    color3: 0 0 0 32;
10829                    text {
10830                        font: "Sans:style=Bold";
10831                        size: 10;
10832                        min: 1 1;
10833                        align: 0.5 0.5;
10834                        text_class: "toolbar_item";
10835                    }
10836                }
10837                description { state: "selected" 0.0;
10838                    inherit: "default" 0.0;
10839                    visible: 1;
10840                }
10841                description { state: "visible" 0.0;
10842                    inherit: "default" 0.0;
10843                    visible: 1;
10844                    text.min: 1 1;
10845                }
10846                description { state: "disabled" 0.0;
10847                    inherit: "default" 0.0;
10848                    color: 0 0 0 128;
10849                    color3: 0 0 0 0;
10850                }
10851                description { state: "disabled_visible" 0.0;
10852                    inherit: "default" 0.0;
10853                    color: 0 0 0 128;
10854                    color3: 0 0 0 0;
10855                    visible: 1;
10856                    text.min: 1 1;
10857                }
10858            }
10859            part { name: "elm.text.clipper";
10860                type: RECT;
10861                description { state: "default" 0.0;
10862                    color: 255 255 255 255;
10863                }
10864                description { state: "animation" 0.0;
10865                    color: 255 255 255 0;
10866                }
10867            }
10868            part { name: "elm.text_new.clipper";
10869                type: RECT;
10870                description { state: "default" 0.0;
10871                    color: 255 255 255 0;
10872                }
10873                description { state: "animation" 0.0;
10874                    color: 255 255 255 255;
10875                }
10876            }
10877            part { name: "elm.icon.clipper";
10878                type: RECT;
10879                description { state: "default" 0.0;
10880                    color: 255 255 255 255;
10881                }
10882                description { state: "animation" 0.0;
10883                    color: 255 255 255 0;
10884                }
10885            }
10886            part { name: "elm.icon_new.clipper";
10887                type: RECT;
10888                description { state: "default" 0.0;
10889                    color: 255 255 255 0;
10890                }
10891                description { state: "animation" 0.0;
10892                    color: 255 255 255 255;
10893                }
10894            }
10895            part { name: "event";
10896                type: RECT;
10897                mouse_events: 1;
10898                ignore_flags: ON_HOLD;
10899                description { state: "default" 0.0;
10900                    color: 0 0 0 0;
10901                }
10902            }
10903        }
10904        programs {
10905            program { name: "go_active";
10906                signal:  "elm,state,selected";
10907                source:  "elm";
10908                action:  STATE_SET "selected" 0.0;
10909                target:  "bg";
10910                target:  "elm.text";
10911                target:  "label2";
10912                target:  "elm.text_new";
10913                target:  "label2_new";
10914                transition: LINEAR 0.2;
10915            }
10916            program { name: "go_passive";
10917                signal:  "elm,state,unselected";
10918                source:  "elm";
10919                action:  STATE_SET "default" 0.0;
10920                target:  "bg";
10921                target:  "elm.text";
10922                target:  "label2";
10923                target:  "elm.text_new";
10924                target:  "label2_new";
10925                transition: LINEAR 0.1;
10926            }
10927            program { name: "go";
10928                signal:  "mouse,up,1";
10929                source:  "event";
10930                action:  SIGNAL_EMIT "elm,action,click" "elm";
10931            }
10932            program { name: "mouse,in";
10933               signal:  "mouse,in";
10934               source:  "event";
10935               action:  SIGNAL_EMIT "elm,mouse,in" "elm";
10936            }
10937            program { name: "mouse,out";
10938               signal:  "mouse,out";
10939               source:  "event";
10940               action:  SIGNAL_EMIT "elm,mouse,out" "elm";
10941            }
10942            program { name: "disable";
10943                signal: "elm,state,disabled";
10944                source: "elm";
10945                action: STATE_SET "disabled" 0.0;
10946                target: "label2";
10947                target: "label2_new";
10948                target: "bg";
10949                after: "disable_text";
10950            }
10951            program { name: "disable_text";
10952                script {
10953                    new st[31];
10954                    new Float:vl;
10955                    get_state(PART:"elm.text", st, 30, vl);
10956                    if (!strcmp(st, "visible"))
10957                    {
10958                       set_state(PART:"elm.text", "disabled_visible", 0.0);
10959                       set_state(PART:"elm.text_new", "disabled_visible", 0.0);
10960                    }
10961                    else
10962                    {
10963                       set_state(PART:"elm.text", "disabled", 0.0);
10964                       set_state(PART:"elm.text_new", "disabled", 0.0);
10965                    }
10966                }
10967            }
10968            program { name: "enable";
10969                signal: "elm,state,enabled";
10970                source: "elm";
10971                action: STATE_SET "default" 0.0;
10972                target: "label2";
10973                target: "label2_new";
10974                target: "bg";
10975                after: "enable_text";
10976            }
10977            program { name: "enable_text";
10978                script {
10979                    new st[31];
10980                    new Float:vl;
10981                    get_state(PART:"elm.text", st, 30, vl);
10982                    if (!strcmp(st, "disabled_visible"))
10983                    {
10984                       set_state(PART:"elm.text", "visible", 0.0);
10985                       set_state(PART:"elm.text_new", "visible", 0.0);
10986                    }
10987                    else
10988                    {
10989                       set_state(PART:"elm.text", "default", 0.0);
10990                       set_state(PART:"elm.text_new", "default", 0.0);
10991                    }
10992                }
10993            }
10994            program { name: "label_set,animation,forward";
10995               signal: "elm,state,label_set,forward";
10996               source: "elm";
10997               after: "label_set,animation";
10998            }
10999            program { name: "label_set,animation,backward";
11000               signal: "elm,state,label_set,backward";
11001               source: "elm";
11002               after: "label_set,animation";
11003            }
11004            program { name: "label_set,animation";
11005               signal: "elm,state,label_set";
11006               source: "elm";
11007               action: STATE_SET "animation" 0.0;
11008               target: "elm.text.clipper";
11009               target: "elm.text_new.clipper";
11010               transition: LINEAR 0.2;
11011               after: "label_set,animation,done";
11012            }
11013            program { name: "label_set,animation,done";
11014               action: SIGNAL_EMIT "elm,state,label_set,done" "elm";
11015            }
11016            program { name: "label,reset";
11017               signal: "elm,state,label,reset";
11018               source: "elm";
11019               action: STATE_SET "default" 0.0;
11020               target: "elm.text.clipper";
11021               target: "elm.text_new.clipper";
11022            }
11023            program { name: "icon_set,animation,forward";
11024               signal: "elm,state,icon_set,forward";
11025               source: "elm";
11026               after: "icon_set,animation";
11027            }
11028            program { name: "icon_set,animation,backward";
11029               signal: "elm,state,icon_set,backward";
11030               source: "elm";
11031               after: "icon_set,animation";
11032            }
11033            program { name: "icon_set,animation";
11034               signal: "elm,state,icon_set";
11035               source: "elm";
11036               action: STATE_SET "animation" 0.0;
11037               target: "elm.icon.clipper";
11038               target: "elm.icon_new.clipper";
11039               transition: LINEAR 0.2;
11040               after: "icon_set,animation,done";
11041            }
11042            program { name: "icon_set,animation,done";
11043               action: SIGNAL_EMIT "elm,state,icon_set,done" "elm";
11044            }
11045            program { name: "icon,reset";
11046               signal: "elm,state,icon,reset";
11047               source: "elm";
11048               action: STATE_SET "default" 0.0;
11049               target: "elm.icon.clipper";
11050               target: "elm.icon_new.clipper";
11051            }
11052        }
11053    }
11054
11055    group { name: "elm/toolbar/separator/default";
11056       images {
11057          image: "toolbar_separator_v.png" COMP;
11058       }
11059       parts {
11060          part { name: "separator"; // separator group
11061             description { state: "default" 0.0;
11062                min: 2 2;
11063                max: 2 9999;
11064                rel1.offset: 4 4;
11065                rel2.offset: -5 -5;
11066                image {
11067                   normal: "toolbar_separator_v.png";
11068                }
11069                fill {
11070                   smooth: 0;
11071                }
11072             }
11073          }
11074       }
11075    }
11076
11077    ///////////////////////////////////////////////////////////////////////////////
11078    group { name: "elm/notify/block_events/default";
11079        parts {
11080            part { name: "block_events";
11081                type: RECT;
11082                description { state: "default" 0.0;
11083                    color: 0 0 0 64;
11084                    visible: 1;
11085                }
11086            }
11087        }
11088            programs {
11089                    program {
11090                                 name: "block_clicked";
11091                                 signal: "mouse,clicked,1";
11092                                 source: "block_events";
11093                                 action: SIGNAL_EMIT "elm,action,clicked" "elm";
11094                    }
11095            }
11096    }
11097    group { name: "elm/notify/top/default";
11098        //this group is a design similar to the inwin group
11099        images {
11100            image: "shad_circ.png" COMP;
11101            image: "bt_dis_base.png" COMP;
11102            image: "bt_dis_hilight.png" COMP;
11103        }
11104        parts {
11105            part { name: "base";
11106                type: RECT;
11107                mouse_events: 0;
11108                repeat_events: 1;
11109                description { state: "default" 0.0;
11110                    color: 0 0 0 0;
11111                    rel1.offset: 10 10;
11112                    rel2.offset: -10 -10;
11113                    rel1.relative: 0.0 -1.0;
11114                    rel2.relative: 1.0 0.0;
11115                }
11116                description { state: "visible" 0.0;
11117                    inherit: "default" 0.0;
11118                    color: 0 0 0 64;
11119                    rel1.relative: 0.0 0.0;
11120                    rel2.relative: 1.0 1.0;
11121                }
11122            }
11123            part { name: "shad";
11124                mouse_events:  0;
11125                description { state: "default" 0.0;
11126                    image.normal: "shad_circ.png";
11127                    rel1.to: "elm.swallow.content";
11128                    rel1.offset: -64 -64;
11129                    rel2.to: "elm.swallow.content";
11130                    rel2.offset: 63 63;
11131                    fill.smooth: 0;
11132                }
11133            }
11134            part { name: "pop";
11135                mouse_events: 1;
11136                description { state: "default" 0.0;
11137                    rel1.to: "elm.swallow.content";
11138                    rel1.offset: -5 -5;
11139                    rel2.to: "elm.swallow.content";
11140                    rel2.offset: 4 4;
11141                    image {
11142                        normal: "bt_dis_base.png";
11143                        border: 4 4 4 4;
11144                    }
11145                    image.middle: SOLID;
11146                }
11147            }
11148            part { name: "popover";
11149                mouse_events: 0;
11150                description { state: "default" 0.0;
11151                    rel1.to: "pop";
11152                    rel2.to: "pop";
11153                    rel2.relative: 1.0 0.5;
11154                    image {
11155                        normal: "bt_dis_hilight.png";
11156                        border: 4 4 4 0;
11157                    }
11158                }
11159            }
11160            part { name: "elm.swallow.content";
11161                type: SWALLOW;
11162                description { state: "default" 0.0;
11163                    rel1.to: "base";
11164                    rel2.to: "base";
11165                }
11166            }
11167        }
11168        programs {
11169            program { name: "show";
11170                signal: "elm,action,show";
11171                source: "elm";
11172                action: STATE_SET "visible" 0.0;
11173                target: "base";
11174            }
11175            program { name: "show_2";
11176                 signal: "show";
11177                 action: STATE_SET "default" 0.0;
11178                 target: "base";
11179                 after: "show_3";
11180            }
11181            program { name: "show_3";
11182                 signal: "show";
11183                 action: STATE_SET "visible" 0.0;
11184                 target: "base";
11185                 transition: LINEAR 0.5;
11186            }
11187            program { name: "hide";
11188                signal: "elm,action,hide";
11189                source: "elm";
11190                action: STATE_SET "default" 0.0;
11191                target: "base";
11192            }
11193        }
11194    }
11195    group { name: "elm/notify/center/default";
11196        //this group is a design similar to the inwin group
11197        images {
11198            image: "bt_dis_base.png" COMP;
11199        }
11200        parts {
11201            part { name: "base";
11202                type: RECT;
11203                mouse_events: 0;
11204                repeat_events: 1;
11205                description { state: "default" 0.0;
11206                    color: 0 0 0 0;
11207                    rel1.relative: 0.0 0.0;
11208                    rel2.relative: 1.0 1.0;
11209                }
11210            }
11211            part { name: "pop";
11212                mouse_events: 1;
11213                description { state: "default" 0.0;
11214                    rel1.to: "elm.swallow.content";
11215                    rel1.offset: -5 -5;
11216                    rel2.to: "elm.swallow.content";
11217                    rel2.offset: 4 4;
11218                    image {
11219                        normal: "bt_dis_base.png";
11220                        border: 4 4 4 4;
11221                    }
11222                }
11223            }
11224            part { name: "elm.swallow.content";
11225                type: SWALLOW;
11226                description { state: "default" 0.0;
11227                    rel1.to: "base";
11228                    rel2.to: "base";
11229                }
11230            }
11231        }
11232        programs {
11233            program { name: "show";
11234                signal: "elm,action,show";
11235                source: "elm";
11236                action: STATE_SET "default" 0.0;
11237                target: "base";
11238            }
11239            program { name: "show_2";
11240                 signal: "show";
11241                 action: STATE_SET "default" 0.0;
11242                 target: "base";
11243            }
11244            program { name: "hide";
11245                signal: "elm,action,hide";
11246                source: "elm";
11247                action: STATE_SET "default" 0.0;
11248                target: "base";
11249            }
11250        }
11251    }
11252    group { name: "elm/notify/bottom/default";
11253        //this group is a design similar to the inwin group
11254        images {
11255            image: "shad_circ.png" COMP;
11256            image: "bt_dis_base.png" COMP;
11257            image: "bt_dis_hilight.png" COMP;
11258        }
11259        parts {
11260            part { name: "base";
11261                type: RECT;
11262                mouse_events: 0;
11263                repeat_events: 1;
11264                description { state: "default" 0.0;
11265                    color: 0 0 0 0;
11266                    rel1.offset: 10 10;
11267                    rel2.offset: -10 -10;
11268                    rel1.relative: 0.0 1.0;
11269                    rel2.relative: 1.0 2.0;
11270                }
11271                description { state: "visible" 0.0;
11272                    inherit: "default" 0.0;
11273                    color: 0 0 0 64;
11274                    rel1.relative: 0.0 0.0;
11275                    rel2.relative: 1.0 1.0;
11276                }
11277            }
11278            part { name: "shad";
11279                mouse_events:  0;
11280                description { state: "default" 0.0;
11281                    image.normal: "shad_circ.png";
11282                    rel1.to: "elm.swallow.content";
11283                    rel1.offset: -64 -64;
11284                    rel2.to: "elm.swallow.content";
11285                    rel2.offset: 63 63;
11286                    fill.smooth: 0;
11287                }
11288            }
11289            part { name: "pop";
11290                mouse_events: 1;
11291                description { state: "default" 0.0;
11292                    rel1.to: "elm.swallow.content";
11293                    rel1.offset: -5 -5;
11294                    rel2.to: "elm.swallow.content";
11295                    rel2.offset: 4 4;
11296                    image {
11297                        normal: "bt_dis_base.png";
11298                        border: 4 4 4 4;
11299                    }
11300                    image.middle: SOLID;
11301                }
11302            }
11303            part { name: "popover";
11304                mouse_events: 0;
11305                description { state: "default" 0.0;
11306                    rel1.to: "pop";
11307                    rel2.to: "pop";
11308                    rel2.relative: 1.0 0.5;
11309                    image {
11310                        normal: "bt_dis_hilight.png";
11311                        border: 4 4 4 0;
11312                    }
11313                }
11314            }
11315            part { name: "elm.swallow.content";
11316                type: SWALLOW;
11317                description { state: "default" 0.0;
11318                    rel1.to: "base";
11319                    rel2.to: "base";
11320                }
11321            }
11322        }
11323        programs {
11324            program { name: "show";
11325                signal: "elm,action,show";
11326                source: "elm";
11327                action: STATE_SET "visible" 0.0;
11328                target: "base";
11329            }
11330            program { name: "show_2";
11331                 signal: "show";
11332                 action: STATE_SET "default" 0.0;
11333                 target: "base";
11334                 after: "show_3";
11335            }
11336            program { name: "show_3";
11337                 signal: "show";
11338                 action: STATE_SET "visible" 0.0;
11339                 target: "base";
11340                 transition: LINEAR 0.5;
11341            }
11342            program { name: "hide";
11343                signal: "elm,action,hide";
11344                source: "elm";
11345                action: STATE_SET "default" 0.0;
11346                target: "base";
11347            }
11348        }
11349    }
11350    group { name: "elm/notify/left/default";
11351        //this group is a design similar to the inwin group
11352        images {
11353            image: "shad_circ.png" COMP;
11354            image: "bt_dis_base.png" COMP;
11355            image: "bt_dis_hilight.png" COMP;
11356        }
11357        parts {
11358            part { name: "base";
11359                type: RECT;
11360                mouse_events: 0;
11361                repeat_events: 1;
11362                description { state: "default" 0.0;
11363                    color: 0 0 0 0;
11364                    rel1.offset: 10 10;
11365                    rel2.offset: -10 -10;
11366                    rel1.relative: -1.0 0.0;
11367                    rel2.relative: 0.0 1.0;
11368                }
11369                description { state: "visible" 0.0;
11370                    inherit: "default" 0.0;
11371                    color: 0 0 0 64;
11372                    rel1.relative: 0.0 0.0;
11373                    rel2.relative: 1.0 1.0;
11374                }
11375            }
11376            part { name: "shad";
11377                mouse_events:  0;
11378                description { state: "default" 0.0;
11379                    image.normal: "shad_circ.png";
11380                    rel1.to: "elm.swallow.content";
11381                    rel1.offset: -64 -64;
11382                    rel2.to: "elm.swallow.content";
11383                    rel2.offset: 63 63;
11384                    fill.smooth: 0;
11385                }
11386            }
11387            part { name: "pop";
11388                mouse_events: 1;
11389                description { state: "default" 0.0;
11390                    rel1.to: "elm.swallow.content";
11391                    rel1.offset: -5 -5;
11392                    rel2.to: "elm.swallow.content";
11393                    rel2.offset: 4 4;
11394                    image {
11395                        normal: "bt_dis_base.png";
11396                        border: 4 4 4 4;
11397                    }
11398                    image.middle: SOLID;
11399                }
11400            }
11401            part { name: "popover";
11402                mouse_events: 0;
11403                description { state: "default" 0.0;
11404                    rel1.to: "pop";
11405                    rel2.to: "pop";
11406                    rel2.relative: 1.0 0.5;
11407                    image {
11408                        normal: "bt_dis_hilight.png";
11409                        border: 4 4 4 0;
11410                    }
11411                }
11412            }
11413            part { name: "elm.swallow.content";
11414                type: SWALLOW;
11415                description { state: "default" 0.0;
11416                    rel1.to: "base";
11417                    rel2.to: "base";
11418                }
11419            }
11420        }
11421        programs {
11422            program { name: "show";
11423                signal: "elm,action,show";
11424                source: "elm";
11425                action: STATE_SET "visible" 0.0;
11426                target: "base";
11427            }
11428            program { name: "show_2";
11429                signal: "show";
11430                action: STATE_SET "default" 0.0;
11431                target: "base";
11432                after: "show_3";
11433            }
11434            program { name: "show_3";
11435                signal: "show";
11436                action: STATE_SET "visible" 0.0;
11437                target: "base";
11438                transition: LINEAR 0.5;
11439            }
11440            program { name: "hide";
11441                signal: "elm,action,hide";
11442                source: "elm";
11443                action: STATE_SET "default" 0.0;
11444                target: "base";
11445            }
11446        }
11447    }
11448    group { name: "elm/notify/right/default";
11449        //this group is a design similar to the inwin group
11450        images {
11451            image: "shad_circ.png" COMP;
11452            image: "bt_dis_base.png" COMP;
11453            image: "bt_dis_hilight.png" COMP;
11454        }
11455        parts {
11456            part { name: "base";
11457                type: RECT;
11458                mouse_events: 0;
11459                repeat_events: 1;
11460                 description { state: "default" 0.0;
11461                    color: 0 0 0 0;
11462                    rel1.offset: 10 10;
11463                    rel2.offset: -10 -10;
11464                    rel1.relative: 1.0 0.0;
11465                    rel2.relative: 2.0 1.0;
11466                }
11467                description { state: "visible" 0.0;
11468                    inherit: "default" 0.0;
11469                    color: 0 0 0 64;
11470                    rel1.relative: 0.0 0.0;
11471                    rel2.relative: 1.0 1.0;
11472                }
11473            }
11474            part { name: "shad";
11475                mouse_events:  0;
11476                description { state: "default" 0.0;
11477                    image.normal: "shad_circ.png";
11478                    rel1.to: "elm.swallow.content";
11479                    rel1.offset: -64 -64;
11480                    rel2.to: "elm.swallow.content";
11481                    rel2.offset: 63 63;
11482                    fill.smooth: 0;
11483                }
11484            }
11485            part { name: "pop";
11486                mouse_events: 1;
11487                description { state: "default" 0.0;
11488                    rel1.to: "elm.swallow.content";
11489                    rel1.offset: -5 -5;
11490                    rel2.to: "elm.swallow.content";
11491                    rel2.offset: 4 4;
11492                    image {
11493                        normal: "bt_dis_base.png";
11494                        border: 4 4 4 4;
11495                    }
11496                    image.middle: SOLID;
11497                }
11498            }
11499            part { name: "popover";
11500                mouse_events: 0;
11501                description { state: "default" 0.0;
11502                    rel1.to: "pop";
11503                    rel2.to: "pop";
11504                    rel2.relative: 1.0 0.5;
11505                    image {
11506                        normal: "bt_dis_hilight.png";
11507                        border: 4 4 4 0;
11508                    }
11509                }
11510            }
11511            part { name: "elm.swallow.content";
11512                type: SWALLOW;
11513                description { state: "default" 0.0;
11514                    rel1.to: "base";
11515                    rel2.to: "base";
11516                }
11517            }
11518        }
11519        programs {
11520            program { name: "show";
11521                signal: "elm,action,show";
11522                source: "elm";
11523                action: STATE_SET "visible" 0.0;
11524                target: "base";
11525            }
11526            program { name: "show_2";
11527                signal: "show";
11528                action: STATE_SET "default" 0.0;
11529                target: "base";
11530                after: "show_3";
11531            }
11532            program { name: "show_3";
11533                signal: "show";
11534                action: STATE_SET "visible" 0.0;
11535                target: "base";
11536                transition: LINEAR 0.5;
11537            }
11538            program { name: "hide";
11539                signal: "elm,action,hide";
11540                source: "elm";
11541                action: STATE_SET "default" 0.0;
11542                target: "base";
11543            }
11544        }
11545    }
11546    group { name: "elm/notify/top_left/default";
11547        //this group is a design similar to the inwin group
11548        images {
11549            image: "shad_circ.png" COMP;
11550            image: "bt_dis_base.png" COMP;
11551            image: "bt_dis_hilight.png" COMP;
11552        }
11553        parts {
11554            part { name: "base";
11555                type: RECT;
11556                mouse_events: 0;
11557                repeat_events: 1;
11558                 description { state: "default" 0.0;
11559                    color: 0 0 0 0;
11560                    rel1.offset: 10 10;
11561                    rel2.offset: -10 -10;
11562                    rel1.relative: 0.0 -1.0;
11563                    rel2.relative: 1.0 0.0;
11564                }
11565                description { state: "visible" 0.0;
11566                    inherit: "default" 0.0;
11567                    color: 0 0 0 64;
11568                    rel1.relative: 0.0 0.0;
11569                    rel2.relative: 1.0 1.0;
11570                }
11571            }
11572            part { name: "shad";
11573                mouse_events:  0;
11574                description { state: "default" 0.0;
11575                    image.normal: "shad_circ.png";
11576                    rel1.to: "elm.swallow.content";
11577                    rel1.offset: -64 -64;
11578                    rel2.to: "elm.swallow.content";
11579                    rel2.offset: 63 63;
11580                    fill.smooth: 0;
11581                }
11582            }
11583            part { name: "pop";
11584                mouse_events: 1;
11585                description { state: "default" 0.0;
11586                    rel1.to: "elm.swallow.content";
11587                    rel1.offset: -5 -5;
11588                    rel2.to: "elm.swallow.content";
11589                    rel2.offset: 4 4;
11590                    image {
11591                        normal: "bt_dis_base.png";
11592                        border: 4 4 4 4;
11593                    }
11594                    image.middle: SOLID;
11595                }
11596            }
11597            part { name: "popover";
11598                mouse_events: 0;
11599                description { state: "default" 0.0;
11600                    rel1.to: "pop";
11601                    rel2.to: "pop";
11602                    rel2.relative: 1.0 0.5;
11603                    image {
11604                        normal: "bt_dis_hilight.png";
11605                        border: 4 4 4 0;
11606                    }
11607                }
11608            }
11609            part { name: "elm.swallow.content";
11610                type: SWALLOW;
11611                description { state: "default" 0.0;
11612                    rel1.to: "base";
11613                    rel2.to: "base";
11614                }
11615            }
11616        }
11617        programs {
11618            program { name: "show";
11619                signal: "elm,action,show";
11620                source: "elm";
11621                action: STATE_SET "visible" 0.0;
11622                target: "base";
11623            }
11624            program { name: "show_2";
11625                signal: "show";
11626                action: STATE_SET "default" 0.0;
11627                target: "base";
11628                after: "show_3";
11629            }
11630            program { name: "show_3";
11631                signal: "show";
11632                action: STATE_SET "visible" 0.0;
11633                target: "base";
11634                transition: LINEAR 0.5;
11635            }
11636            program { name: "hide";
11637                signal: "elm,action,hide";
11638                source: "elm";
11639                action: STATE_SET "default" 0.0;
11640                target: "base";
11641            }
11642        }
11643    }
11644    group { name: "elm/notify/top_right/default";
11645        //this group is a design similar to the inwin group
11646        images {
11647            image: "shad_circ.png" COMP;
11648            image: "bt_dis_base.png" COMP;
11649            image: "bt_dis_hilight.png" COMP;
11650        }
11651        parts {
11652            part { name: "base";
11653                type: RECT;
11654                mouse_events: 0;
11655                repeat_events: 1;
11656                description { state: "default" 0.0;
11657                    color: 0 0 0 0;
11658                    rel1.offset: 10 10;
11659                    rel2.offset: -10 -10;
11660                    rel1.relative: 0.0 -1.0;
11661                    rel2.relative: 1.0 0.0;
11662                }
11663                description { state: "visible" 0.0;
11664                    inherit: "default" 0.0;
11665                    color: 0 0 0 64;
11666                    rel1.relative: 0.0 0.0;
11667                    rel2.relative: 1.0 1.0;
11668                }
11669            }
11670            part { name: "shad";
11671                mouse_events:  0;
11672                description { state: "default" 0.0;
11673                    image.normal: "shad_circ.png";
11674                    rel1.to: "elm.swallow.content";
11675                    rel1.offset: -64 -64;
11676                    rel2.to: "elm.swallow.content";
11677                    rel2.offset: 63 63;
11678                    fill.smooth: 0;
11679                }
11680            }
11681            part { name: "pop";
11682                mouse_events: 1;
11683                description { state: "default" 0.0;
11684                    rel1.to: "elm.swallow.content";
11685                    rel1.offset: -5 -5;
11686                    rel2.to: "elm.swallow.content";
11687                    rel2.offset: 4 4;
11688                    image {
11689                        normal: "bt_dis_base.png";
11690                        border: 4 4 4 4;
11691                    }
11692                    image.middle: SOLID;
11693                }
11694            }
11695            part { name: "popover";
11696                mouse_events: 0;
11697                description { state: "default" 0.0;
11698                    rel1.to: "pop";
11699                    rel2.to: "pop";
11700                    rel2.relative: 1.0 0.5;
11701                    image {
11702                        normal: "bt_dis_hilight.png";
11703                        border: 4 4 4 0;
11704                    }
11705                }
11706            }
11707            part { name: "elm.swallow.content";
11708                type: SWALLOW;
11709                description { state: "default" 0.0;
11710                    rel1.to: "base";
11711                    rel2.to: "base";
11712                }
11713            }
11714        }
11715        programs {
11716            program { name: "show";
11717                signal: "elm,action,show";
11718                source: "elm";
11719                action: STATE_SET "visible" 0.0;
11720                target: "base";
11721            }
11722            program { name: "show_2";
11723                signal: "show";
11724                action: STATE_SET "default" 0.0;
11725                target: "base";
11726                after: "show_3";
11727            }
11728            program { name: "show_3";
11729                signal: "show";
11730                action: STATE_SET "visible" 0.0;
11731                target: "base";
11732                transition: LINEAR 0.5;
11733            }
11734            program { name: "hide";
11735                signal: "elm,action,hide";
11736                source: "elm";
11737                action: STATE_SET "default" 0.0;
11738                target: "base";
11739            }
11740        }
11741    }
11742    group { name: "elm/notify/bottom_left/default";
11743        //this group is a design similar to the inwin group
11744        images {
11745            image: "shad_circ.png" COMP;
11746            image: "bt_dis_base.png" COMP;
11747            image: "bt_dis_hilight.png" COMP;
11748        }
11749        parts {
11750            part { name: "base";
11751                type: RECT;
11752                mouse_events: 0;
11753                repeat_events: 1;
11754                description { state: "default" 0.0;
11755                    color: 0 0 0 0;
11756                    rel1.offset: 10 10;
11757                    rel2.offset: -10 -10;
11758                    rel1.relative: 0.0 1.0;
11759                    rel2.relative: 1.0 2.0;
11760                }
11761                description { state: "visible" 0.0;
11762                    inherit: "default" 0.0;
11763                    color: 0 0 0 64;
11764                    rel1.relative: 0.0 0.0;
11765                    rel2.relative: 1.0 1.0;
11766                }
11767            }
11768            part { name: "shad";
11769                mouse_events:  0;
11770                description { state: "default" 0.0;
11771                    image.normal: "shad_circ.png";
11772                    rel1.to: "elm.swallow.content";
11773                    rel1.offset: -64 -64;
11774                    rel2.to: "elm.swallow.content";
11775                    rel2.offset: 63 63;
11776                    fill.smooth: 0;
11777                }
11778            }
11779            part { name: "pop";
11780                mouse_events: 1;
11781                description { state: "default" 0.0;
11782                    rel1.to: "elm.swallow.content";
11783                    rel1.offset: -5 -5;
11784                    rel2.to: "elm.swallow.content";
11785                    rel2.offset: 4 4;
11786                    image {
11787                        normal: "bt_dis_base.png";
11788                        border: 4 4 4 4;
11789                    }
11790                    image.middle: SOLID;
11791                }
11792            }
11793            part { name: "popover";
11794                mouse_events: 0;
11795                description { state: "default" 0.0;
11796                    rel1.to: "pop";
11797                    rel2.to: "pop";
11798                    rel2.relative: 1.0 0.5;
11799                    image {
11800                        normal: "bt_dis_hilight.png";
11801                        border: 4 4 4 0;
11802                    }
11803                }
11804            }
11805            part { name: "elm.swallow.content";
11806                type: SWALLOW;
11807                description { state: "default" 0.0;
11808                    rel1.to: "base";
11809                    rel2.to: "base";
11810                }
11811            }
11812        }
11813        programs {
11814            program { name: "show";
11815                signal: "elm,action,show";
11816                source: "elm";
11817                action: STATE_SET "visible" 0.0;
11818                target: "base";
11819            }
11820            program { name: "show_2";
11821                signal: "show";
11822                action: STATE_SET "default" 0.0;
11823                target: "base";
11824                after: "show_3";
11825            }
11826            program { name: "show_3";
11827                signal: "show";
11828                action: STATE_SET "visible" 0.0;
11829                target: "base";
11830                transition: LINEAR 0.5;
11831            }
11832            program { name: "hide";
11833                signal: "elm,action,hide";
11834                source: "elm";
11835                action: STATE_SET "default" 0.0;
11836                target: "base";
11837            }
11838        }
11839    }
11840    group { name: "elm/notify/bottom_right/default";
11841        //this group is a design similar to the inwin group
11842        images {
11843            image: "shad_circ.png" COMP;
11844            image: "bt_dis_base.png" COMP;
11845            image: "bt_dis_hilight.png" COMP;
11846        }
11847        parts {
11848            part { name: "base";
11849                type: RECT;
11850                mouse_events: 0;
11851                repeat_events: 1;
11852               description { state: "default" 0.0;
11853                    color: 0 0 0 0;
11854                    rel1.offset: 10 10;
11855                    rel2.offset: -10 -10;
11856                    rel1.relative: 0.0 1.0;
11857                    rel2.relative: 1.0 2.0;
11858                }
11859                description { state: "visible" 0.0;
11860                    inherit: "default" 0.0;
11861                    color: 0 0 0 64;
11862                    rel1.relative: 0.0 0.0;
11863                    rel2.relative: 1.0 1.0;
11864                }
11865            }
11866            part { name: "shad";
11867                mouse_events:  0;
11868                description { state: "default" 0.0;
11869                    image.normal: "shad_circ.png";
11870                    rel1.to: "elm.swallow.content";
11871                    rel1.offset: -64 -64;
11872                    rel2.to: "elm.swallow.content";
11873                    rel2.offset: 63 63;
11874                    fill.smooth: 0;
11875                }
11876            }
11877            part { name: "pop";
11878                mouse_events: 1;
11879                description { state: "default" 0.0;
11880                    rel1.to: "elm.swallow.content";
11881                    rel1.offset: -5 -5;
11882                    rel2.to: "elm.swallow.content";
11883                    rel2.offset: 4 4;
11884                    image {
11885                        normal: "bt_dis_base.png";
11886                        border: 4 4 4 4;
11887                    }
11888                    image.middle: SOLID;
11889                }
11890            }
11891            part { name: "popover";
11892                mouse_events: 0;
11893                description { state: "default" 0.0;
11894                    rel1.to: "pop";
11895                    rel2.to: "pop";
11896                    rel2.relative: 1.0 0.5;
11897                    image {
11898                        normal: "bt_dis_hilight.png";
11899                        border: 4 4 4 0;
11900                    }
11901                }
11902            }
11903            part { name: "elm.swallow.content";
11904                type: SWALLOW;
11905                description { state: "default" 0.0;
11906                    rel1.to: "base";
11907                    rel2.to: "base";
11908                }
11909            }
11910        }
11911        programs {
11912            program { name: "show";
11913                signal: "elm,action,show";
11914                source: "elm";
11915                action: STATE_SET "visible" 0.0;
11916                target: "base";
11917            }
11918            program { name: "show_2";
11919                signal: "show";
11920                action: STATE_SET "default" 0.0;
11921                target: "base";
11922                after: "show_3";
11923            }
11924            program { name: "show_3";
11925                signal: "show";
11926                action: STATE_SET "visible" 0.0;
11927                target: "base";
11928                transition: LINEAR 0.5;
11929            }
11930            program { name: "hide";
11931                signal: "elm,action,hide";
11932                source: "elm";
11933                action: STATE_SET "default" 0.0;
11934                target: "base";
11935            }
11936        }
11937    }
11938
11939 ///////////////////////////////////////////////////////////////////////////////
11940    group { name: "elm/slideshow/base/default";
11941       data {
11942          item: transitions "fade black_fade horizontal vertical square";
11943          item: layouts "fullscreen not_fullscreen";
11944       }
11945       parts {
11946          part { name: "whole";
11947                  type: RECT;
11948             description {
11949                state: "default" 0.0;
11950                visible: 1;
11951                color: 20 20 20 255;
11952             }
11953          }
11954          part { name: "image_1_whole";
11955             description {
11956                state: "default" 0.0;
11957                color: 255 255 255 255;
11958             }
11959             description {
11960                state: "fade_prev_next" 0.0;
11961                inherit: "default" 0.0;
11962                color: 255 255 255 0;
11963             }
11964             description {
11965                state: "black_fade_prev_next_init" 0.0;
11966                inherit: "default" 0.0;
11967                color: 255 255 255 255;
11968             }
11969             description {
11970                state: "black_fade_prev_next" 0.0;
11971                inherit: "default" 0.0;
11972                color: 0 0 0 255;
11973             }
11974             description {
11975                state: "horizontal_next_init" 0.0;
11976                inherit: "default" 0.0;
11977             }
11978             description {
11979                state: "horizontal_next" 0.0;
11980                inherit: "default" 0.0;
11981                rel1.relative: -1.0 0.0;
11982                rel2.relative: 0.0 1.0;
11983             }
11984             description {
11985                state: "horizontal_prev_init" 0.0;
11986                inherit: "default" 0.0;
11987             }
11988             description {
11989                state: "horizontal_prev" 0.0;
11990                inherit: "default" 0.0;
11991                rel1.relative: 1.0 0.0;
11992                rel2.relative: 2.0 1.0;
11993             }
11994             description {
11995                state: "vertical_next_init" 0.0;
11996                inherit: "default" 0.0;
11997             }
11998             description {
11999                state: "vertical_next" 0.0;
12000                inherit: "default" 0.0;
12001                rel1.relative: 0.0 -1.0;
12002                rel2.relative: 1.0 0.0;
12003             }
12004             description {
12005                state: "vertical_prev_init" 0.0;
12006                inherit: "default" 0.0;
12007             }
12008             description {
12009                state: "vertical_prev" 0.0;
12010                inherit: "default" 0.0;
12011                rel1.relative: 0.0 1.0;
12012                rel2.relative: 1.0 2.0;
12013             }
12014             description {
12015                state: "square_prev_next" 0.0;
12016                inherit: "default" 0.0;
12017                color: 255 255 255 0;
12018             }
12019          }
12020          part { name: "image_2_whole";
12021             description {
12022                state: "default" 0.0;
12023                visible: 1;
12024                color: 255 255 255 0;
12025             }
12026             description {
12027                state: "fade_prev_next" 0.0;
12028                inherit: "default" 0.0;
12029                color: 255 255 255 255;
12030             }
12031             description {
12032                state: "black_fade_prev_next_init" 0.0;
12033                inherit: "default" 0.0;
12034                color: 0 0 0 0;
12035             }
12036             description {
12037                state: "black_fade_prev_next" 0.0;
12038                inherit: "default" 0.0;
12039                color: 255 255 255 255;
12040             }
12041             description {
12042                state: "horizontal_next_init" 0.0;
12043                inherit: "default" 0.0;
12044                rel1.relative: 1.0 0.0;
12045                rel2.relative: 2.0 1.0;
12046                color: 255 255 255 255;
12047             }
12048             description {
12049                state: "horizontal_next" 0.0;
12050                inherit: "default" 0.0;
12051                color: 255 255 255 255;
12052             }
12053             description {
12054                state: "horizontal_prev_init" 0.0;
12055                inherit: "default" 0.0;
12056                rel1.relative: -1.0 0.0;
12057                rel2.relative: 0.0 1.0;
12058                color: 255 255 255 255;
12059             }
12060             description {
12061                state: "horizontal_prev" 0.0;
12062                inherit: "default" 0.0;
12063                color: 255 255 255 255;
12064             }
12065             description {
12066                state: "vertical_next_init" 0.0;
12067                inherit: "default" 0.0;
12068                rel1.relative: 0.0 1.0;
12069                rel2.relative: 1.0 2.0;
12070                color: 255 255 255 255;
12071             }
12072             description {
12073                state: "vertical_next" 0.0;
12074                inherit: "default" 0.0;
12075                color: 255 255 255 255;
12076             }
12077             description {
12078                state: "vertical_prev_init" 0.0;
12079                inherit: "default" 0.0;
12080                rel1.relative: 0.0 -1.0;
12081                rel2.relative: 1.0 0.0;
12082                color: 255 255 255 255;
12083             }
12084             description {
12085                state: "vertical_prev" 0.0;
12086                inherit: "default" 0.0;
12087                color: 255 255 255 255;
12088             }
12089             description {
12090                state: "square_prev_next_init" 0.0;
12091                inherit: "default" 0.0;
12092                rel1.relative: 0.5 0.5;
12093                rel2.relative: 0.5 0.5;
12094                color: 255 255 255 255;
12095             }
12096             description {
12097                state: "square_prev_next" 0.0;
12098                inherit: "default" 0.0;
12099                rel1.relative: 0.0 0.0;
12100                rel2.relative: 1.0 1.0;
12101                color: 255 255 255 255;
12102             }
12103          }
12104          part { name: "elm.swallow.1";
12105             type: SWALLOW;
12106             clip_to: "image_1_whole";
12107             description {
12108                state: "default" 0.0;
12109                rel1.to: "image_1_whole";
12110                rel2.to: "image_1_whole";
12111                color: 255 255 255 255;
12112             }
12113             description {
12114                state: "not_fullscreen" 0.0;
12115                rel1.relative: 0.1 0.1;
12116                rel1.to: "image_1_whole";
12117                rel2.relative: 0.9 0.9;
12118                rel2.to: "image_1_whole";
12119                color: 255 255 255 255;
12120             }
12121          }
12122          part { name: "elm.swallow.2";
12123             type: SWALLOW;
12124             clip_to: "image_2_whole";
12125             description {
12126                state: "default" 0.0;
12127                color: 255 255 255 255;
12128                rel1.to: "image_2_whole";
12129                rel2.to: "image_2_whole";
12130             }
12131             description {
12132                state: "not_fullscreen" 0.0;
12133                color: 255 255 255 255;
12134                rel1.relative: 0.1 0.1;
12135                rel1.to: "image_2_whole";
12136                rel2.relative: 0.9 0.9;
12137                rel2.to: "image_2_whole";
12138             }
12139          }
12140          part { name: "events_catcher";
12141             type: RECT;
12142             repeat_events: 1;
12143             description {
12144                state: "default" 0.0;
12145                visible: 1;
12146                color: 0 0 0 0;
12147             }
12148          }
12149       }
12150       programs {
12151               //Substyle
12152               program { name: "layout_fullscreen";
12153             signal: "layout,fullscreen";
12154             source: "slideshow";
12155             action: STATE_SET "default" 0.0;
12156             target: "elm.swallow.1";
12157             target: "elm.swallow.2";
12158             transition: SINUSOIDAL 1.0;
12159         }
12160         program { name: "layout_not_fullscreen";
12161             signal: "layout,not_fullscreen";
12162             source: "slideshow";
12163             action: STATE_SET "not_fullscreen" 0.0;
12164             target: "elm.swallow.1";
12165             target: "elm.swallow.2";
12166             transition: SINUSOIDAL 1.0;
12167          }
12168                //
12169          program { name: "fade_next";
12170             signal: "fade,next";
12171             source: "slideshow";
12172             action: STATE_SET "default" 0.0;
12173             target: "image_1_whole";
12174             target: "image_2_whole";
12175             after: "fade_next_2";
12176          }
12177          program { name: "fade_next_2";
12178             action: STATE_SET "fade_prev_next" 0.0;
12179             target: "image_1_whole";
12180             target: "image_2_whole";
12181             transition: SINUSOIDAL 1.5;
12182             after: "end";
12183          }
12184          program { name: "fade_previous";
12185             signal: "fade,previous";
12186             source: "slideshow";
12187             action: STATE_SET "default" 0.0;
12188             target: "image_1_whole";
12189             target: "image_2_whole";
12190             after: "fade_previous_2";
12191          }
12192          program { name: "fade_previous_2";
12193             action: STATE_SET "fade_prev_next" 0.0;
12194             target: "image_1_whole";
12195             target: "image_2_whole";
12196             transition: SINUSOIDAL 1.5;
12197             after: "end";
12198          }
12199          program { name: "black_fade_next";
12200             signal: "black_fade,next";
12201             source: "slideshow";
12202             action: STATE_SET "black_fade_prev_next_init" 0.0;
12203             target: "image_1_whole";
12204             target: "image_2_whole";
12205             after: "black_fade_next_2";
12206          }
12207          program { name: "black_fade_next_2";
12208             action: STATE_SET "black_fade_prev_next" 0.0;
12209             target: "image_1_whole";
12210             transition: SINUSOIDAL 0.75;
12211             after: "black_fade_next_3";
12212          }
12213          program { name: "black_fade_next_3";
12214             action: STATE_SET "black_fade_prev_next" 0.0;
12215             target: "image_2_whole";
12216             transition: SINUSOIDAL 0.75;
12217             after: "end";
12218          }
12219          program { name: "black_fade_previous";
12220             signal: "black_fade,previous";
12221             source: "slideshow";
12222             action: STATE_SET "black_fade_prev_next_init" 0.0;
12223             target: "image_1_whole";
12224             target: "image_2_whole";
12225             after: "black_fade_previous_2";
12226          }
12227          program { name: "black_fade_previous_2";
12228             action: STATE_SET "black_fade_prev_next" 0.0;
12229             target: "image_1_whole";
12230             transition: SINUSOIDAL 0.75;
12231             after: "black_fade_previous_3";
12232          }
12233          program { name: "black_fade_previous_3";
12234             action: STATE_SET "black_fade_prev_next" 0.0;
12235             target: "image_2_whole";
12236             transition: SINUSOIDAL 0.75;
12237             after: "end";
12238          }
12239          program { name: "horizontal_next";
12240             signal: "horizontal,next";
12241             source: "slideshow";
12242             action: STATE_SET "horizontal_next_init" 0.0;
12243             target: "image_1_whole";
12244             target: "image_2_whole";
12245             after: "horizontal_next_2";
12246          }
12247          program { name: "horizontal_next_2";
12248             action: STATE_SET "horizontal_next" 0.0;
12249             target: "image_1_whole";
12250             target: "image_2_whole";
12251             transition: SINUSOIDAL 1.5;
12252             after: "end";
12253          }
12254          program { name: "horizontal_previous";
12255             signal: "horizontal,previous";
12256             source: "slideshow";
12257             action: STATE_SET "horizontal_prev_init" 0.0;
12258             target: "image_1_whole";
12259             target: "image_2_whole";
12260             after: "horizontal_previous_2";
12261          }
12262          program { name: "horizontal_previous_2";
12263             action: STATE_SET "horizontal_prev" 0.0;
12264             target: "image_1_whole";
12265             target: "image_2_whole";
12266             transition: SINUSOIDAL 1.5;
12267             after: "end";
12268          }
12269          program { name: "vertical_next";
12270             signal: "vertical,next";
12271             source: "slideshow";
12272             action: STATE_SET "vertical_next_init" 0.0;
12273             target: "image_1_whole";
12274             target: "image_2_whole";
12275             after: "vertical_next_2";
12276          }
12277          program { name: "vertical_next_2";
12278             action: STATE_SET "vertical_next" 0.0;
12279             target: "image_1_whole";
12280             target: "image_2_whole";
12281             transition: SINUSOIDAL 1.5;
12282             after: "end";
12283          }
12284          program { name: "vertical_previous";
12285             signal: "vertical,previous";
12286             source: "slideshow";
12287             action: STATE_SET "vertical_prev_init" 0.0;
12288             target: "image_1_whole";
12289             target: "image_2_whole";
12290             after: "vertical_previous_2";
12291          }
12292          program { name: "vertical_previous_2";
12293             action: STATE_SET "vertical_prev" 0.0;
12294             target: "image_1_whole";
12295             target: "image_2_whole";
12296             transition: SINUSOIDAL 1.5;
12297             after: "end";
12298          }
12299          program { name: "square_next";
12300             signal: "square,next";
12301             source: "slideshow";
12302             action: STATE_SET "square_prev_next_init" 0.0;
12303             target: "image_2_whole";
12304             after: "square_next_2";
12305          }
12306          program { name: "square_next_2";
12307             action: STATE_SET "square_prev_next" 0.0;
12308             target: "image_2_whole";
12309             target: "image_1_whole";
12310             transition: SINUSOIDAL 1.5;
12311             after: "end";
12312          }
12313          program { name: "square_previous";
12314             signal: "square,previous";
12315             source: "slideshow";
12316             action: STATE_SET "square_prev_next_init" 0.0;
12317             target: "image_2_whole";
12318             after: "square_next_2";
12319          }
12320          program { name: "end";
12321             action: SIGNAL_EMIT "end" "slideshow";
12322          }
12323          program { name: "end_signal";
12324             signal: "anim,end";
12325             source: "slideshow";
12326             action: STATE_SET "default" 0.0;
12327             target: "image_1_whole";
12328             target: "image_2_whole";
12329          }
12330       }
12331    }
12332
12333 ///////////////////////////////////////////////////////////////////////////////
12334    group { name: "elm/win/inwin/default";
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                rel1.relative: 0.1 0.1;
12393                rel2.relative: 0.9 0.9;
12394             }
12395          }
12396       }
12397       programs {
12398          program { name: "show";
12399             signal: "elm,action,show";
12400             source: "elm";
12401             action: STATE_SET "visible" 0.0;
12402 //            transition: DECELERATE 0.5;
12403             target: "base";
12404          }
12405          program { name: "hide";
12406             signal: "elm,action,hide";
12407             source: "elm";
12408             action: STATE_SET "default" 0.0;
12409 //            transition: DECELERATE 0.5;
12410             target: "base";
12411          }
12412       }
12413    }
12414
12415    group { name: "elm/win/inwin/minimal";
12416       images {
12417          image: "shad_circ.png" COMP;
12418          image: "bt_dis_base.png" COMP;
12419          image: "bt_dis_hilight.png" COMP;
12420       }
12421       parts {
12422          part { name: "base";
12423             type: RECT;
12424             mouse_events: 1;
12425             description { state: "default" 0.0;
12426                color: 0 0 0 0;
12427             }
12428             description { state: "visible" 0.0;
12429                inherit: "default" 1.0;
12430                color: 0 0 0 64;
12431             }
12432          }
12433          part { name: "shad";
12434             mouse_events:  0;
12435             description { state: "default" 0.0;
12436                image.normal: "shad_circ.png";
12437                rel1.to: "elm.swallow.content";
12438                rel1.offset: -64 -64;
12439                rel2.to: "elm.swallow.content";
12440                rel2.offset: 63 63;
12441                fill.smooth: 0;
12442             }
12443          }
12444          part { name: "pop";
12445             mouse_events: 1;
12446             description { state: "default" 0.0;
12447                rel1.to: "elm.swallow.content";
12448                rel1.offset: -5 -5;
12449                rel2.to: "elm.swallow.content";
12450                rel2.offset: 4 4;
12451                image {
12452                   normal: "bt_dis_base.png";
12453                   border: 4 4 4 4;
12454                }
12455                image.middle: SOLID;
12456             }
12457          }
12458          part { name: "popover";
12459             mouse_events: 0;
12460             description { state: "default" 0.0;
12461                rel1.to: "pop";
12462                rel2.to: "pop";
12463                rel2.relative: 1.0 0.5;
12464                image {
12465                   normal: "bt_dis_hilight.png";
12466                   border: 4 4 4 0;
12467                }
12468             }
12469          }
12470          part { name: "elm.swallow.content";
12471             type: SWALLOW;
12472             description { state: "default" 0.0;
12473                fixed: 1 1;
12474                rel1.relative: 0.5 0.5;
12475                rel2.relative: 0.5 0.5;
12476             }
12477          }
12478       }
12479       programs {
12480          program { name: "show";
12481             signal: "elm,action,show";
12482             source: "elm";
12483             action: STATE_SET "visible" 0.0;
12484 //            transition: DECELERATE 0.5;
12485             target: "base";
12486          }
12487          program { name: "hide";
12488             signal: "elm,action,hide";
12489             source: "elm";
12490             action: STATE_SET "default" 0.0;
12491 //            transition: DECELERATE 0.5;
12492             target: "base";
12493          }
12494       }
12495    }
12496
12497    group { name: "elm/win/inwin/minimal_vertical";
12498       images {
12499          image: "shad_circ.png" COMP;
12500          image: "bt_dis_base.png" COMP;
12501          image: "bt_dis_hilight.png" COMP;
12502       }
12503       parts {
12504          part { name: "base";
12505             type: RECT;
12506             mouse_events: 1;
12507             description { state: "default" 0.0;
12508                color: 0 0 0 0;
12509             }
12510             description { state: "visible" 0.0;
12511                inherit: "default" 1.0;
12512                color: 0 0 0 64;
12513             }
12514          }
12515          part { name: "shad";
12516             mouse_events:  0;
12517             description { state: "default" 0.0;
12518                image.normal: "shad_circ.png";
12519                rel1.to: "elm.swallow.content";
12520                rel1.offset: -64 -64;
12521                rel2.to: "elm.swallow.content";
12522                rel2.offset: 63 63;
12523                fill.smooth: 0;
12524             }
12525          }
12526          part { name: "pop";
12527             mouse_events: 1;
12528             description { state: "default" 0.0;
12529                rel1.to: "elm.swallow.content";
12530                rel1.offset: -5 -5;
12531                rel2.to: "elm.swallow.content";
12532                rel2.offset: 4 4;
12533                image {
12534                   normal: "bt_dis_base.png";
12535                   border: 4 4 4 4;
12536                }
12537                image.middle: SOLID;
12538             }
12539          }
12540          part { name: "popover";
12541             mouse_events: 0;
12542             description { state: "default" 0.0;
12543                rel1.to: "pop";
12544                rel2.to: "pop";
12545                rel2.relative: 1.0 0.5;
12546                image {
12547                   normal: "bt_dis_hilight.png";
12548                   border: 4 4 4 0;
12549                }
12550             }
12551          }
12552          part { name: "elm.swallow.content";
12553             type: SWALLOW;
12554             description { state: "default" 0.0;
12555                fixed: 1 1;
12556                rel1.relative: 0.1 0.5;
12557                rel2.relative: 0.9 0.5;
12558             }
12559          }
12560       }
12561       programs {
12562          program { name: "show";
12563             signal: "elm,action,show";
12564             source: "elm";
12565             action: STATE_SET "visible" 0.0;
12566 //            transition: DECELERATE 0.5;
12567             target: "base";
12568          }
12569          program { name: "hide";
12570             signal: "elm,action,hide";
12571             source: "elm";
12572             action: STATE_SET "default" 0.0;
12573 //            transition: DECELERATE 0.5;
12574             target: "base";
12575          }
12576       }
12577    }
12578
12579 ///////////////////////////////////////////////////////////////////////////////
12580
12581 ///////////////////////////////////////////////////////////////////////////////
12582    group { name: "elm/list/item/default";
12583       data.item: "stacking" "above";
12584       images {
12585          image: "bt_sm_base1.png" COMP;
12586          image: "bt_sm_shine.png" COMP;
12587          image: "bt_sm_hilight.png" COMP;
12588          image: "ilist_1.png" COMP;
12589          image: "ilist_item_shadow.png" COMP;
12590       }
12591       parts {
12592          part {
12593             name:           "event";
12594             type:           RECT;
12595             repeat_events: 1;
12596             description {
12597                state: "default" 0.0;
12598                color: 0 0 0 0;
12599             }
12600          }
12601          part {
12602             name: "base_sh";
12603             mouse_events: 0;
12604             description {
12605                state: "default" 0.0;
12606                align: 0.0 0.0;
12607                min: 0 10;
12608                fixed: 1 1;
12609                rel1 {
12610                   to: "base";
12611                   relative: 0.0 1.0;
12612                   offset: 0 0;
12613                }
12614                rel2 {
12615                   to: "base";
12616                   relative: 1.0 1.0;
12617                   offset: -1 0;
12618                }
12619                image {
12620                   normal: "ilist_item_shadow.png";
12621                }
12622                fill.smooth: 0;
12623             }
12624          }
12625          part {
12626             name: "base";
12627             mouse_events: 0;
12628             description {
12629                state: "default" 0.0;
12630                image {
12631                   normal: "ilist_1.png";
12632                   border: 2 2 2 2;
12633                }
12634                fill.smooth: 0;
12635             }
12636          }
12637          part { name: "bg";
12638             mouse_events: 0;
12639             description { state: "default" 0.0;
12640                visible: 0;
12641                color: 255 255 255 0;
12642                rel1 {
12643                   relative: 0.0 0.0;
12644                   offset: -5 -5;
12645                }
12646                rel2 {
12647                   relative: 1.0 1.0;
12648                   offset: 4 4;
12649                }
12650                image {
12651                   normal: "bt_sm_base1.png";
12652                   border: 6 6 6 6;
12653                }
12654                image.middle: SOLID;
12655             }
12656             description { state: "selected" 0.0;
12657                inherit: "default" 0.0;
12658                visible: 1;
12659                color: 255 255 255 255;
12660                rel1 {
12661                   relative: 0.0 0.0;
12662                   offset: -2 -2;
12663                }
12664                rel2 {
12665                   relative: 1.0 1.0;
12666                   offset: 1 1;
12667                }
12668             }
12669          }
12670          part { name: "elm.swallow.icon";
12671             type: SWALLOW;
12672             description { state: "default" 0.0;
12673                fixed: 1 0;
12674                align: 0.0 0.5;
12675                rel1 {
12676                   relative: 0.0  0.0;
12677                   offset:   4    4;
12678                }
12679                rel2 {
12680                   relative: 0.0  1.0;
12681                   offset:   4   -5;
12682                }
12683             }
12684          }
12685          part { name: "elm.swallow.end";
12686             type: SWALLOW;
12687             description { state: "default" 0.0;
12688                fixed: 1 0;
12689                align: 1.0 0.5;
12690                rel1 {
12691                   relative: 1.0  0.0;
12692                   offset:   -5    4;
12693                }
12694                rel2 {
12695                   relative: 1.0  1.0;
12696                   offset:   -5   -5;
12697                }
12698             }
12699          }
12700          part { name: "elm.text";
12701             type:           TEXT;
12702             effect:         SOFT_SHADOW;
12703             mouse_events:   0;
12704             scale: 1;
12705             description {
12706                state: "default" 0.0;
12707 //               min: 16 16;
12708                rel1 {
12709                   to_x:     "elm.swallow.icon";
12710                   relative: 1.0  0.0;
12711                   offset:   4 4;
12712                }
12713                rel2 {
12714                   to_x:     "elm.swallow.end";
12715                   relative: 0.0  1.0;
12716                   offset:   -1 -5;
12717                }
12718                color: 0 0 0 255;
12719                color3: 0 0 0 0;
12720                text {
12721                   font: "Sans";
12722                   size: 10;
12723                   min: 1 1;
12724 //                  min: 0 1;
12725                   align: -1.0 0.5;
12726                   text_class: "list_item";
12727                }
12728             }
12729             description { state: "selected" 0.0;
12730                inherit: "default" 0.0;
12731                color: 224 224 224 255;
12732                color3: 0 0 0 64;
12733             }
12734          }
12735          part { name: "fg1";
12736             mouse_events: 0;
12737             description { state: "default" 0.0;
12738                visible: 0;
12739                color: 255 255 255 0;
12740                rel1.to: "bg";
12741                rel2.relative: 1.0 0.5;
12742                rel2.to: "bg";
12743                image {
12744                   normal: "bt_sm_hilight.png";
12745                   border: 6 6 6 0;
12746                }
12747             }
12748             description { state: "selected" 0.0;
12749                inherit: "default" 0.0;
12750                visible: 1;
12751                color: 255 255 255 255;
12752             }
12753          }
12754          part { name: "fg2";
12755             mouse_events: 0;
12756             description { state: "default" 0.0;
12757                visible: 0;
12758                color: 255 255 255 0;
12759                rel1.to: "bg";
12760                rel2.to: "bg";
12761                image {
12762                   normal: "bt_sm_shine.png";
12763                   border: 6 6 6 0;
12764                }
12765             }
12766             description { state: "selected" 0.0;
12767                inherit: "default" 0.0;
12768                visible: 1;
12769                color: 255 255 255 255;
12770             }
12771          }
12772       }
12773       programs {
12774          program {
12775             name:    "go_active";
12776             signal:  "elm,state,selected";
12777             source:  "elm";
12778             action:  STATE_SET "selected" 0.0;
12779             target:  "bg";
12780             target:  "fg1";
12781             target:  "fg2";
12782             target:  "elm.text";
12783          }
12784          program {
12785             name:    "go_passive";
12786             signal:  "elm,state,unselected";
12787             source:  "elm";
12788             action:  STATE_SET "default" 0.0;
12789             target:  "bg";
12790             target:  "fg1";
12791             target:  "fg2";
12792             target:  "elm.text";
12793             transition: LINEAR 0.1;
12794          }
12795       }
12796    }
12797    group { name: "elm/list/item_odd/default";
12798       data.item: "stacking" "below";
12799       data.item: "selectraise" "on";
12800       images {
12801          image: "bt_sm_base1.png" COMP;
12802          image: "bt_sm_shine.png" COMP;
12803          image: "bt_sm_hilight.png" COMP;
12804          image: "ilist_2.png" COMP;
12805       }
12806       parts {
12807          part {
12808             name:           "event";
12809             type:           RECT;
12810             repeat_events: 1;
12811             description {
12812                state: "default" 0.0;
12813                color: 0 0 0 0;
12814             }
12815          }
12816          part {
12817             name: "base";
12818             mouse_events: 0;
12819             description {
12820                state: "default" 0.0;
12821                image {
12822                   normal: "ilist_2.png";
12823                   border: 2 2 2 2;
12824                }
12825                fill.smooth: 0;
12826             }
12827          }
12828          part { name: "bg";
12829             mouse_events: 0;
12830             description { state: "default" 0.0;
12831                visible: 0;
12832                color: 255 255 255 0;
12833                rel1 {
12834                   relative: 0.0 0.0;
12835                   offset: -5 -5;
12836                }
12837                rel2 {
12838                   relative: 1.0 1.0;
12839                   offset: 4 4;
12840                }
12841                image {
12842                   normal: "bt_sm_base1.png";
12843                   border: 6 6 6 6;
12844                }
12845                image.middle: SOLID;
12846             }
12847             description { state: "selected" 0.0;
12848                inherit: "default" 0.0;
12849                visible: 1;
12850                color: 255 255 255 255;
12851                rel1 {
12852                   relative: 0.0 0.0;
12853                   offset: -2 -2;
12854                }
12855                rel2 {
12856                   relative: 1.0 1.0;
12857                   offset: 1 1;
12858                }
12859             }
12860          }
12861          part {
12862             name:          "elm.swallow.icon";
12863             type:          SWALLOW;
12864             description { state:    "default" 0.0;
12865                fixed: 1 0;
12866                align:    0.0 0.5;
12867                rel1 {
12868                   relative: 0.0  0.0;
12869                   offset:   4    4;
12870                }
12871                rel2 {
12872                   relative: 0.0  1.0;
12873                   offset:   4   -5;
12874                }
12875             }
12876          }
12877          part {
12878             name:          "elm.swallow.end";
12879             type:          SWALLOW;
12880             description { state:    "default" 0.0;
12881                fixed: 1 0;
12882                align: 1.0 0.5;
12883                rel1 {
12884                   relative: 1.0  0.0;
12885                   offset:   -5    4;
12886                }
12887                rel2 {
12888                   relative: 1.0  1.0;
12889                   offset:   -5   -5;
12890                }
12891             }
12892          }
12893          part {
12894             name:           "elm.text";
12895             type:           TEXT;
12896             effect:         SOFT_SHADOW;
12897             mouse_events:   0;
12898             scale: 1;
12899             description {
12900                state: "default" 0.0;
12901 //               min:      16 16;
12902                rel1 {
12903                   to_x:     "elm.swallow.icon";
12904                   relative: 1.0  0.0;
12905                   offset:   4 4;
12906                }
12907                rel2 {
12908                   to_x:     "elm.swallow.end";
12909                   relative: 0.0  1.0;
12910                   offset:   -1 -5;
12911                }
12912                color: 0 0 0 255;
12913                color3: 0 0 0 0;
12914                text {
12915                   font: "Sans";
12916                   size: 10;
12917                   min: 1 1;
12918 //                  min: 0 1;
12919                   align: -1.0 0.5;
12920                   text_class: "list_item";
12921                }
12922             }
12923             description { state: "selected" 0.0;
12924                inherit: "default" 0.0;
12925                color: 224 224 224 255;
12926                color3: 0 0 0 64;
12927             }
12928          }
12929          part { name: "fg1";
12930             mouse_events: 0;
12931             description { state: "default" 0.0;
12932                visible: 0;
12933                color: 255 255 255 0;
12934                rel1.to: "bg";
12935                rel2.relative: 1.0 0.5;
12936                rel2.to: "bg";
12937                image {
12938                   normal: "bt_sm_hilight.png";
12939                   border: 6 6 6 0;
12940                }
12941             }
12942             description { state: "selected" 0.0;
12943                inherit: "default" 0.0;
12944                visible: 1;
12945                color: 255 255 255 255;
12946             }
12947          }
12948          part { name: "fg2";
12949             mouse_events: 0;
12950             description { state: "default" 0.0;
12951                visible: 0;
12952                color: 255 255 255 0;
12953                rel1.to: "bg";
12954                rel2.to: "bg";
12955                image {
12956                   normal: "bt_sm_shine.png";
12957                   border: 6 6 6 0;
12958                }
12959             }
12960             description { state: "selected" 0.0;
12961                inherit: "default" 0.0;
12962                visible: 1;
12963                color: 255 255 255 255;
12964             }
12965          }
12966       }
12967       programs {
12968          program {
12969             name:    "go_active";
12970             signal:  "elm,state,selected";
12971             source:  "elm";
12972             action:  STATE_SET "selected" 0.0;
12973             target:  "bg";
12974             target:  "fg1";
12975             target:  "fg2";
12976             target:  "elm.text";
12977          }
12978          program {
12979             name:    "go_passive";
12980             signal:  "elm,state,unselected";
12981             source:  "elm";
12982             action:  STATE_SET "default" 0.0;
12983             target:  "bg";
12984             target:  "fg1";
12985             target:  "fg2";
12986             target:  "elm.text";
12987             transition: LINEAR 0.1;
12988          }
12989       }
12990    }
12991    group { name: "elm/list/item_compress/default";
12992       data.item: "stacking" "above";
12993       data.item: "selectraise" "on";
12994       images {
12995          image: "bt_sm_base1.png" COMP;
12996          image: "bt_sm_shine.png" COMP;
12997          image: "bt_sm_hilight.png" COMP;
12998          image: "ilist_1.png" COMP;
12999          image: "ilist_item_shadow.png" COMP;
13000       }
13001       parts {
13002          part {
13003             name:           "event";
13004             type:           RECT;
13005             repeat_events: 1;
13006             description {
13007                state: "default" 0.0;
13008                color: 0 0 0 0;
13009             }
13010          }
13011          part {
13012             name: "base_sh";
13013             mouse_events: 0;
13014             description { state: "default" 0.0;
13015                fixed: 1 1;
13016                align: 0.0 0.0;
13017                min: 0 10;
13018                rel1 {
13019                   to: "base";
13020                   relative: 0.0 1.0;
13021                   offset: 0 0;
13022                }
13023                rel2 {
13024                   to: "base";
13025                   relative: 1.0 1.0;
13026                   offset: -1 0;
13027                }
13028                image {
13029                   normal: "ilist_item_shadow.png";
13030                }
13031                fill.smooth: 0;
13032             }
13033          }
13034          part {
13035             name: "base";
13036             mouse_events: 0;
13037             description {
13038                state: "default" 0.0;
13039                image {
13040                   normal: "ilist_1.png";
13041                   border: 2 2 2 2;
13042                }
13043                fill.smooth: 0;
13044             }
13045          }
13046          part { name: "bg";
13047             mouse_events: 0;
13048             description { state: "default" 0.0;
13049                visible: 0;
13050                color: 255 255 255 0;
13051                rel1 {
13052                   relative: 0.0 0.0;
13053                   offset: -5 -5;
13054                }
13055                rel2 {
13056                   relative: 1.0 1.0;
13057                   offset: 4 4;
13058                }
13059                image {
13060                   normal: "bt_sm_base1.png";
13061                   border: 6 6 6 6;
13062                }
13063                image.middle: SOLID;
13064             }
13065             description { state: "selected" 0.0;
13066                inherit: "default" 0.0;
13067                visible: 1;
13068                color: 255 255 255 255;
13069                rel1 {
13070                   relative: 0.0 0.0;
13071                   offset: -2 -2;
13072                }
13073                rel2 {
13074                   relative: 1.0 1.0;
13075                   offset: 1 1;
13076                }
13077             }
13078          }
13079          part { name:          "elm.swallow.icon";
13080             type:          SWALLOW;
13081             description { state:    "default" 0.0;
13082                fixed: 1 0;
13083                align:    0.0 0.5;
13084                rel1 {
13085                   relative: 0.0  0.0;
13086                   offset:   4    4;
13087                }
13088                rel2 {
13089                   relative: 0.0  1.0;
13090                   offset:   4   -5;
13091                }
13092             }
13093          }
13094          part { name:          "elm.swallow.end";
13095             type:          SWALLOW;
13096             description { state:    "default" 0.0;
13097                fixed: 1 0;
13098                align:    1.0 0.5;
13099                rel1 {
13100                   relative: 1.0  0.0;
13101                   offset:   -5    4;
13102                }
13103                rel2 {
13104                   relative: 1.0  1.0;
13105                   offset:   -5   -5;
13106                }
13107             }
13108          }
13109          part {
13110             name:           "elm.text";
13111             type:           TEXT;
13112             effect:         SOFT_SHADOW;
13113             mouse_events:   0;
13114             scale: 1;
13115             description { state: "default" 0.0;
13116 //               min:      16 16;
13117                rel1 {
13118                   to_x:     "elm.swallow.icon";
13119                   relative: 1.0  0.0;
13120                   offset:   4 4;
13121                }
13122                rel2 {
13123                   to_x:     "elm.swallow.end";
13124                   relative: 0.0  1.0;
13125                   offset:   -1 -5;
13126                }
13127                color: 0 0 0 255;
13128                color3: 0 0 0 0;
13129                text {
13130                   font: "Sans";
13131                   size: 10;
13132 //                  min: 1 1;
13133                   min: 0 1;
13134                   align: 0.0 0.5;
13135                   text_class: "list_item";
13136                }
13137             }
13138             description { state: "selected" 0.0;
13139                inherit: "default" 0.0;
13140                color: 224 224 224 255;
13141                color3: 0 0 0 64;
13142             }
13143          }
13144          part { name: "fg1";
13145             mouse_events: 0;
13146             description { state: "default" 0.0;
13147                visible: 0;
13148                color: 255 255 255 0;
13149                rel1.to: "bg";
13150                rel2.relative: 1.0 0.5;
13151                rel2.to: "bg";
13152                image {
13153                   normal: "bt_sm_hilight.png";
13154                   border: 6 6 6 0;
13155                }
13156             }
13157             description { state: "selected" 0.0;
13158                inherit: "default" 0.0;
13159                visible: 1;
13160                color: 255 255 255 255;
13161             }
13162          }
13163          part { name: "fg2";
13164             mouse_events: 0;
13165             description { state: "default" 0.0;
13166                visible: 0;
13167                color: 255 255 255 0;
13168                rel1.to: "bg";
13169                rel2.to: "bg";
13170                image {
13171                   normal: "bt_sm_shine.png";
13172                   border: 6 6 6 0;
13173                }
13174             }
13175             description { state: "selected" 0.0;
13176                inherit: "default" 0.0;
13177                visible: 1;
13178                color: 255 255 255 255;
13179             }
13180          }
13181       }
13182       programs {
13183          program {
13184             name:    "go_active";
13185             signal:  "elm,state,selected";
13186             source:  "elm";
13187             action:  STATE_SET "selected" 0.0;
13188             target:  "bg";
13189             target:  "fg1";
13190             target:  "fg2";
13191             target:  "elm.text";
13192          }
13193          program {
13194             name:    "go_passive";
13195             signal:  "elm,state,unselected";
13196             source:  "elm";
13197             action:  STATE_SET "default" 0.0;
13198             target:  "bg";
13199             target:  "fg1";
13200             target:  "fg2";
13201             target:  "elm.text";
13202             transition: LINEAR 0.1;
13203          }
13204       }
13205    }
13206    group { name: "elm/list/item_compress_odd/default";
13207       data.item: "stacking" "below";
13208       data.item: "selectraise" "on";
13209       images {
13210          image: "bt_sm_base1.png" COMP;
13211          image: "bt_sm_shine.png" COMP;
13212          image: "bt_sm_hilight.png" COMP;
13213          image: "ilist_2.png" COMP;
13214       }
13215       parts {
13216          part {
13217             name:           "event";
13218             type:           RECT;
13219             repeat_events: 1;
13220             description {
13221                state: "default" 0.0;
13222                color: 0 0 0 0;
13223             }
13224          }
13225          part {
13226             name: "base";
13227             mouse_events: 0;
13228             description {
13229                state: "default" 0.0;
13230                image {
13231                   normal: "ilist_2.png";
13232                   border: 2 2 2 2;
13233                }
13234                fill.smooth: 0;
13235             }
13236          }
13237          part { name: "bg";
13238             mouse_events: 0;
13239             description { state: "default" 0.0;
13240                visible: 0;
13241                color: 255 255 255 0;
13242                rel1 {
13243                   relative: 0.0 0.0;
13244                   offset: -5 -5;
13245                }
13246                rel2 {
13247                   relative: 1.0 1.0;
13248                   offset: 4 4;
13249                }
13250                image {
13251                   normal: "bt_sm_base1.png";
13252                   border: 6 6 6 6;
13253                }
13254                image.middle: SOLID;
13255             }
13256             description { state: "selected" 0.0;
13257                inherit: "default" 0.0;
13258                visible: 1;
13259                color: 255 255 255 255;
13260                rel1 {
13261                   relative: 0.0 0.0;
13262                   offset: -2 -2;
13263                }
13264                rel2 {
13265                   relative: 1.0 1.0;
13266                   offset: 1 1;
13267                }
13268             }
13269          }
13270          part { name:          "elm.swallow.icon";
13271             type:          SWALLOW;
13272             description { state:    "default" 0.0;
13273                fixed: 1 0;
13274                align:    0.0 0.5;
13275                rel1 {
13276                   relative: 0.0  0.0;
13277                   offset:   4    4;
13278                }
13279                rel2 {
13280                   relative: 0.0  1.0;
13281                   offset:   4   -5;
13282                }
13283             }
13284          }
13285          part { name:          "elm.swallow.end";
13286             type:          SWALLOW;
13287             description { state:    "default" 0.0;
13288                fixed: 1 0;
13289                align:    1.0 0.5;
13290                rel1 {
13291                   relative: 1.0  0.0;
13292                   offset:   -5    4;
13293                }
13294                rel2 {
13295                   relative: 1.0  1.0;
13296                   offset:   -5   -5;
13297                }
13298             }
13299          }
13300          part {
13301             name:           "elm.text";
13302             type:           TEXT;
13303             effect:         SOFT_SHADOW;
13304             mouse_events:   0;
13305             scale: 1;
13306             description {
13307                state: "default" 0.0;
13308 //               min:      16 16;
13309                rel1 {
13310                   to_x:     "elm.swallow.icon";
13311                   relative: 1.0  0.0;
13312                   offset:   4 4;
13313                }
13314                rel2 {
13315                   to_x:     "elm.swallow.end";
13316                   relative: 0.0  1.0;
13317                   offset:   -1 -5;
13318                }
13319                color: 0 0 0 255;
13320                color3: 0 0 0 0;
13321                text {
13322                   font: "Sans";
13323                   size: 10;
13324 //                  min: 1 1;
13325                   min: 0 1;
13326                   align: 0.0 0.5;
13327                   text_class: "list_item";
13328                }
13329             }
13330             description { state: "selected" 0.0;
13331                inherit: "default" 0.0;
13332                color: 224 224 224 255;
13333                color3: 0 0 0 64;
13334             }
13335          }
13336          part { name: "fg1";
13337             mouse_events: 0;
13338             description { state: "default" 0.0;
13339                visible: 0;
13340                color: 255 255 255 0;
13341                rel1.to: "bg";
13342                rel2.relative: 1.0 0.5;
13343                rel2.to: "bg";
13344                image {
13345                   normal: "bt_sm_hilight.png";
13346                   border: 6 6 6 0;
13347                }
13348             }
13349             description { state: "selected" 0.0;
13350                inherit: "default" 0.0;
13351                visible: 1;
13352                color: 255 255 255 255;
13353             }
13354          }
13355          part { name: "fg2";
13356             mouse_events: 0;
13357             description { state: "default" 0.0;
13358                visible: 0;
13359                color: 255 255 255 0;
13360                rel1.to: "bg";
13361                rel2.to: "bg";
13362                image {
13363                   normal: "bt_sm_shine.png";
13364                   border: 6 6 6 0;
13365                }
13366             }
13367             description { state: "selected" 0.0;
13368                inherit: "default" 0.0;
13369                visible: 1;
13370                color: 255 255 255 255;
13371             }
13372          }
13373       }
13374       programs {
13375          program {
13376             name:    "go_active";
13377             signal:  "elm,state,selected";
13378             source:  "elm";
13379             action:  STATE_SET "selected" 0.0;
13380             target:  "bg";
13381             target:  "fg1";
13382             target:  "fg2";
13383             target:  "elm.text";
13384          }
13385          program {
13386             name:    "go_passive";
13387             signal:  "elm,state,unselected";
13388             source:  "elm";
13389             action:  STATE_SET "default" 0.0;
13390             target:  "bg";
13391             target:  "fg1";
13392             target:  "fg2";
13393             target:  "elm.text";
13394             transition: LINEAR 0.1;
13395          }
13396       }
13397    }
13398
13399 ///////////////////////////////////////////////////////////////////////////////
13400    group { name: "elm/list/h_item/default";
13401       data.item: "stacking" "above";
13402       images {
13403          image: "bt_sm_base1.png" COMP;
13404          image: "bt_sm_shine.png" COMP;
13405          image: "bt_sm_hilight.png" COMP;
13406          image: "ilist_1_h.png" COMP;
13407          image: "ilist_item_shadow_h.png" COMP;
13408       }
13409       parts {
13410          part {
13411             name: "event";
13412             type: RECT;
13413             repeat_events: 1;
13414             description {
13415                state: "default" 0.0;
13416                color: 0 0 0 0;
13417             }
13418          }
13419          part {
13420             name: "base_sh";
13421             mouse_events: 0;
13422             description {
13423                state: "default" 0.0;
13424                align: 0.0 0.0;
13425                min: 10 0;
13426                fixed: 1 1;
13427                rel1 {
13428                   to: "base";
13429                   relative: 1.0 0.0;
13430                   offset: 0 0;
13431                }
13432                rel2 {
13433                   to: "base";
13434                   relative: 1.0 1.0;
13435                   offset: 0 -1;
13436                }
13437                image {
13438                   normal: "ilist_item_shadow_h.png";
13439                }
13440                fill.smooth: 0;
13441             }
13442          }
13443          part {
13444             name: "base";
13445             mouse_events: 0;
13446             description {
13447                state: "default" 0.0;
13448                image {
13449                   normal: "ilist_1_h.png";
13450                   border: 2 2 2 2;
13451                }
13452                fill.smooth: 0;
13453             }
13454          }
13455          part { name: "bg";
13456             mouse_events: 0;
13457             description { state: "default" 0.0;
13458                visible: 0;
13459                color: 255 255 255 0;
13460                rel1 {
13461                   relative: 0.0 0.0;
13462                   offset: -5 -5;
13463                }
13464                rel2 {
13465                   relative: 1.0 1.0;
13466                   offset: 4 4;
13467                }
13468                image {
13469                   normal: "bt_sm_base1.png";
13470                   border: 6 6 6 6;
13471                }
13472                image.middle: SOLID;
13473             }
13474             description { state: "selected" 0.0;
13475                inherit: "default" 0.0;
13476                visible: 1;
13477                color: 255 255 255 255;
13478                rel1 {
13479                   relative: 0.0 0.0;
13480                   offset: -2 -2;
13481                }
13482                rel2 {
13483                   relative: 1.0 1.0;
13484                   offset: 1 1;
13485                }
13486             }
13487          }
13488          part { name: "elm.swallow.icon";
13489             type: SWALLOW;
13490             description { state: "default" 0.0;
13491                fixed: 0 1;
13492                align: 0.5 0.0;
13493                rel1 {
13494                   relative: 0.0 0.0;
13495                   offset: 4 4;
13496                }
13497                rel2 {
13498                   relative: 1.0 0.0;
13499                   offset: -5 4;
13500                }
13501             }
13502          }
13503          part { name: "elm.swallow.end";
13504             type: SWALLOW;
13505             description { state: "default" 0.0;
13506                fixed: 0 1;
13507                align: 0.5 1.0;
13508                rel1 {
13509                   relative: 0.0 1.0;
13510                   offset: 4 -5;
13511                }
13512                rel2 {
13513                   relative: 1.0 1.0;
13514                   offset: -5 -5;
13515                }
13516             }
13517          }
13518          part { name: "elm.text";
13519             type: TEXT;
13520             effect: SOFT_SHADOW;
13521             mouse_events: 0;
13522             scale: 1;
13523             description {
13524                state: "default" 0.0;
13525                fixed: 0 1;
13526                rel1 {
13527                   to_x: "elm.swallow.icon";
13528                   relative: 0.0 1.0;
13529                   offset: 4 4;
13530                }
13531                rel2 {
13532                   to_x: "elm.swallow.end";
13533                   relative: 1.0 0.0;
13534                   offset: -5 -1;
13535                }
13536                color: 0 0 0 255;
13537                color3: 0 0 0 0;
13538                text {
13539                   font: "Sans";
13540                   size: 10;
13541                   min: 1 1;
13542                   align: 0.5 0.5;
13543                   text_class: "list_item";
13544                }
13545             }
13546             description { state: "selected" 0.0;
13547                inherit: "default" 0.0;
13548                color: 224 224 224 255;
13549                color3: 0 0 0 64;
13550             }
13551          }
13552          part { name: "fg1";
13553             mouse_events: 0;
13554             description { state: "default" 0.0;
13555                visible: 0;
13556                color: 255 255 255 0;
13557                rel1.to: "bg";
13558                rel2.relative: 1.0 0.5;
13559                rel2.to: "bg";
13560                image {
13561                   normal: "bt_sm_hilight.png";
13562                   border: 6 6 6 0;
13563                }
13564             }
13565             description { state: "selected" 0.0;
13566                inherit: "default" 0.0;
13567                visible: 1;
13568                color: 255 255 255 255;
13569             }
13570          }
13571          part { name: "fg2";
13572             mouse_events: 0;
13573             description { state: "default" 0.0;
13574                visible: 0;
13575                color: 255 255 255 0;
13576                rel1.to: "bg";
13577                rel2.to: "bg";
13578                image {
13579                   normal: "bt_sm_shine.png";
13580                   border: 6 6 6 0;
13581                }
13582             }
13583             description { state: "selected" 0.0;
13584                inherit: "default" 0.0;
13585                visible: 1;
13586                color: 255 255 255 255;
13587             }
13588          }
13589       }
13590       programs {
13591          program {
13592             name: "go_active";
13593             signal: "elm,state,selected";
13594             source: "elm";
13595             action: STATE_SET "selected" 0.0;
13596             target: "bg";
13597             target: "fg1";
13598             target: "fg2";
13599             target: "elm.text";
13600          }
13601          program {
13602             name: "go_passive";
13603             signal: "elm,state,unselected";
13604             source: "elm";
13605             action: STATE_SET "default" 0.0;
13606             target: "bg";
13607             target: "fg1";
13608             target: "fg2";
13609             target: "elm.text";
13610             transition: LINEAR 0.1;
13611          }
13612       }
13613    }
13614    group { name: "elm/list/h_item_odd/default";
13615       data.item: "stacking" "below";
13616       data.item: "selectraise" "on";
13617       images {
13618          image: "bt_sm_base1.png" COMP;
13619          image: "bt_sm_shine.png" COMP;
13620          image: "bt_sm_hilight.png" COMP;
13621          image: "ilist_2_h.png" COMP;
13622       }
13623       parts {
13624          part {
13625             name: "event";
13626             type: RECT;
13627             repeat_events: 1;
13628             description {
13629                state: "default" 0.0;
13630                color: 0 0 0 0;
13631             }
13632          }
13633          part {
13634             name: "base";
13635             mouse_events: 0;
13636             description {
13637                state: "default" 0.0;
13638                image {
13639                   normal: "ilist_2_h.png";
13640                   border: 2 2 2 2;
13641                }
13642                fill.smooth: 0;
13643             }
13644          }
13645          part { name: "bg";
13646             mouse_events: 0;
13647             description { state: "default" 0.0;
13648                visible: 0;
13649                color: 255 255 255 0;
13650                rel1 {
13651                   relative: 0.0 0.0;
13652                   offset: -5 -5;
13653                }
13654                rel2 {
13655                   relative: 1.0 1.0;
13656                   offset: 4 4;
13657                }
13658                image {
13659                   normal: "bt_sm_base1.png";
13660                   border: 6 6 6 6;
13661                }
13662                image.middle: SOLID;
13663             }
13664             description { state: "selected" 0.0;
13665                inherit: "default" 0.0;
13666                visible: 1;
13667                color: 255 255 255 255;
13668                rel1 {
13669                   relative: 0.0 0.0;
13670                   offset: -2 -2;
13671                }
13672                rel2 {
13673                   relative: 1.0 1.0;
13674                   offset: 1 1;
13675                }
13676             }
13677          }
13678          part {
13679             name: "elm.swallow.icon";
13680             type: SWALLOW;
13681             description { state: "default" 0.0;
13682                fixed: 0 1;
13683                align: 0.5 0.0;
13684                rel1 {
13685                   relative: 0.0 0.0;
13686                   offset: 4 4;
13687                }
13688                rel2 {
13689                   relative: 1.0 0.0;
13690                   offset: -5 4;
13691                }
13692             }
13693          }
13694          part {
13695             name: "elm.swallow.end";
13696             type: SWALLOW;
13697             description { state: "default" 0.0;
13698                fixed: 0 1;
13699                align: 0.5 1.0;
13700                rel1 {
13701                   relative: 0.0 1.0;
13702                   offset: 4 -5;
13703                }
13704                rel2 {
13705                   relative: 1.0 1.0;
13706                   offset: -5 -5;
13707                }
13708             }
13709          }
13710          part { name: "elm.text";
13711             type: TEXT;
13712             effect: SOFT_SHADOW;
13713             mouse_events: 0;
13714             scale: 1;
13715             description {
13716                state: "default" 0.0;
13717                fixed: 1 1;
13718                rel1 {
13719                   to_x: "elm.swallow.icon";
13720                   relative: 0.0 1.0;
13721                   offset: 4 4;
13722                }
13723                rel2 {
13724                   to_x: "elm.swallow.end";
13725                   relative: 1.0 0.0;
13726                   offset: -5 -1;
13727                }
13728                color: 0 0 0 255;
13729                color3: 0 0 0 0;
13730                text {
13731                   font: "Sans";
13732                   size: 10;
13733                   min: 1 1;
13734                   align: 0.5 0.5;
13735                   text_class: "list_item";
13736                }
13737             }
13738             description { state: "selected" 0.0;
13739                inherit: "default" 0.0;
13740                color: 224 224 224 255;
13741                color3: 0 0 0 64;
13742             }
13743          }
13744          part { name: "fg1";
13745             mouse_events: 0;
13746             description { state: "default" 0.0;
13747                visible: 0;
13748                color: 255 255 255 0;
13749                rel1.to: "bg";
13750                rel2.relative: 1.0 0.5;
13751                rel2.to: "bg";
13752                image {
13753                   normal: "bt_sm_hilight.png";
13754                   border: 6 6 6 0;
13755                }
13756             }
13757             description { state: "selected" 0.0;
13758                inherit: "default" 0.0;
13759                visible: 1;
13760                color: 255 255 255 255;
13761             }
13762          }
13763          part { name: "fg2";
13764             mouse_events: 0;
13765             description { state: "default" 0.0;
13766                visible: 0;
13767                color: 255 255 255 0;
13768                rel1.to: "bg";
13769                rel2.to: "bg";
13770                image {
13771                   normal: "bt_sm_shine.png";
13772                   border: 6 6 6 0;
13773                }
13774             }
13775             description { state: "selected" 0.0;
13776                inherit: "default" 0.0;
13777                visible: 1;
13778                color: 255 255 255 255;
13779             }
13780          }
13781       }
13782       programs {
13783          program {
13784             name: "go_active";
13785             signal: "elm,state,selected";
13786             source: "elm";
13787             action: STATE_SET "selected" 0.0;
13788             target: "bg";
13789             target: "fg1";
13790             target: "fg2";
13791             target: "elm.text";
13792          }
13793          program {
13794             name: "go_passive";
13795             signal: "elm,state,unselected";
13796             source: "elm";
13797             action: STATE_SET "default" 0.0;
13798             target: "bg";
13799             target: "fg1";
13800             target: "fg2";
13801             target: "elm.text";
13802             transition: LINEAR 0.1;
13803          }
13804       }
13805    }
13806    group { name: "elm/list/h_item_compress/default";
13807       data.item: "stacking" "above";
13808       data.item: "selectraise" "on";
13809       images {
13810          image: "bt_sm_base1.png" COMP;
13811          image: "bt_sm_shine.png" COMP;
13812          image: "bt_sm_hilight.png" COMP;
13813          image: "ilist_1_h.png" COMP;
13814          image: "ilist_item_shadow_h.png" COMP;
13815       }
13816       parts {
13817          part {
13818             name: "event";
13819             type: RECT;
13820             repeat_events: 1;
13821             description {
13822                state: "default" 0.0;
13823                color: 0 0 0 0;
13824             }
13825          }
13826          part {
13827             name: "base_sh";
13828             mouse_events: 0;
13829             description { state: "default" 0.0;
13830                fixed: 1 1;
13831                align: 0.0 0.0;
13832                min: 10 0;
13833                rel1 {
13834                   to: "base";
13835                   relative: 1.0 0.0;
13836                   offset: 0 0;
13837                }
13838                rel2 {
13839                   to: "base";
13840                   relative: 1.0 1.0;
13841                   offset: 0 -1;
13842                }
13843                image {
13844                   normal: "ilist_item_shadow_h.png";
13845                }
13846                fill.smooth: 0;
13847             }
13848          }
13849          part {
13850             name: "base";
13851             mouse_events: 0;
13852             description {
13853                state: "default" 0.0;
13854                image {
13855                   normal: "ilist_1_h.png";
13856                   border: 2 2 2 2;
13857                }
13858                fill.smooth: 0;
13859             }
13860          }
13861          part { name: "bg";
13862             mouse_events: 0;
13863             description { state: "default" 0.0;
13864                visible: 0;
13865                color: 255 255 255 0;
13866                rel1 {
13867                   relative: 0.0 0.0;
13868                   offset: -5 -5;
13869                }
13870                rel2 {
13871                   relative: 1.0 1.0;
13872                   offset: 4 4;
13873                }
13874                image {
13875                   normal: "bt_sm_base1.png";
13876                   border: 6 6 6 6;
13877                }
13878                image.middle: SOLID;
13879             }
13880             description { state: "selected" 0.0;
13881                inherit: "default" 0.0;
13882                visible: 1;
13883                color: 255 255 255 255;
13884                rel1 {
13885                   relative: 0.0 0.0;
13886                   offset: -2 -2;
13887                }
13888                rel2 {
13889                   relative: 1.0 1.0;
13890                   offset: 1 1;
13891                }
13892             }
13893          }
13894          part { name: "elm.swallow.icon";
13895             type: SWALLOW;
13896             description { state: "default" 0.0;
13897                fixed: 0 1;
13898                align: 0.5 0.0;
13899                rel1 {
13900                   relative: 0.0 0.0;
13901                   offset: 4 4;
13902                }
13903                rel2 {
13904                   relative: 1.0 0.0;
13905                   offset: -5 4;
13906                }
13907             }
13908          }
13909          part { name: "elm.swallow.end";
13910             type: SWALLOW;
13911             description { state: "default" 0.0;
13912                fixed: 0 1;
13913                align: 0.5 1.0;
13914                rel1 {
13915                   relative: 0.0 1.0;
13916                   offset: 4 -5;
13917                }
13918                rel2 {
13919                   relative: 1.0 1.0;
13920                   offset: -5 -5;
13921                }
13922             }
13923          }
13924          part {
13925             name: "elm.text";
13926             type: TEXT;
13927             effect: SOFT_SHADOW;
13928             mouse_events: 0;
13929             scale: 1;
13930             description { state: "default" 0.0;
13931                fixed: 1 1;
13932                rel1 {
13933                   to_x: "elm.swallow.icon";
13934                   relative: 0.0 1.0;
13935                   offset: 4 4;
13936                }
13937                rel2 {
13938                   to_x: "elm.swallow.end";
13939                   relative: 1.0 0.0;
13940                   offset: -5 -1;
13941                }
13942                color: 0 0 0 255;
13943                color3: 0 0 0 0;
13944                text {
13945                   font: "Sans";
13946                   size: 10;
13947                   min: 1 1;
13948                   align: 0.5 0.5;
13949                   text_class: "list_item";
13950                }
13951             }
13952             description { state: "selected" 0.0;
13953                inherit: "default" 0.0;
13954                color: 224 224 224 255;
13955                color3: 0 0 0 64;
13956             }
13957          }
13958          part { name: "fg1";
13959             mouse_events: 0;
13960             description { state: "default" 0.0;
13961                visible: 0;
13962                color: 255 255 255 0;
13963                rel1.to: "bg";
13964                rel2.relative: 1.0 0.5;
13965                rel2.to: "bg";
13966                image {
13967                   normal: "bt_sm_hilight.png";
13968                   border: 6 6 6 0;
13969                }
13970             }
13971             description { state: "selected" 0.0;
13972                inherit: "default" 0.0;
13973                visible: 1;
13974                color: 255 255 255 255;
13975             }
13976          }
13977          part { name: "fg2";
13978             mouse_events: 0;
13979             description { state: "default" 0.0;
13980                visible: 0;
13981                color: 255 255 255 0;
13982                rel1.to: "bg";
13983                rel2.to: "bg";
13984                image {
13985                   normal: "bt_sm_shine.png";
13986                   border: 6 6 6 0;
13987                }
13988             }
13989             description { state: "selected" 0.0;
13990                inherit: "default" 0.0;
13991                visible: 1;
13992                color: 255 255 255 255;
13993             }
13994          }
13995       }
13996       programs {
13997          program {
13998             name: "go_active";
13999             signal: "elm,state,selected";
14000             source: "elm";
14001             action: STATE_SET "selected" 0.0;
14002             target: "bg";
14003             target: "fg1";
14004             target: "fg2";
14005             target: "elm.text";
14006          }
14007          program {
14008             name: "go_passive";
14009             signal: "elm,state,unselected";
14010             source: "elm";
14011             action: STATE_SET "default" 0.0;
14012             target: "bg";
14013             target: "fg1";
14014             target: "fg2";
14015             target: "elm.text";
14016             transition: LINEAR 0.1;
14017          }
14018       }
14019    }
14020    group { name: "elm/list/h_item_compress_odd/default";
14021       data.item: "stacking" "below";
14022       data.item: "selectraise" "on";
14023       images {
14024          image: "bt_sm_base1.png" COMP;
14025          image: "bt_sm_shine.png" COMP;
14026          image: "bt_sm_hilight.png" COMP;
14027          image: "ilist_2_h.png" COMP;
14028       }
14029       parts {
14030          part {
14031             name: "event";
14032             type: RECT;
14033             repeat_events: 1;
14034             description {
14035                state: "default" 0.0;
14036                color: 0 0 0 0;
14037             }
14038          }
14039          part {
14040             name: "base";
14041             mouse_events: 0;
14042             description {
14043                state: "default" 0.0;
14044                image {
14045                   normal: "ilist_2_h.png";
14046                   border: 2 2 2 2;
14047                }
14048                fill.smooth: 0;
14049             }
14050          }
14051          part { name: "bg";
14052             mouse_events: 0;
14053             description { state: "default" 0.0;
14054                visible: 0;
14055                color: 255 255 255 0;
14056                rel1 {
14057                   relative: 0.0 0.0;
14058                   offset: -5 -5;
14059                }
14060                rel2 {
14061                   relative: 1.0 1.0;
14062                   offset: 4 4;
14063                }
14064                image {
14065                   normal: "bt_sm_base1.png";
14066                   border: 6 6 6 6;
14067                }
14068                image.middle: SOLID;
14069             }
14070             description { state: "selected" 0.0;
14071                inherit: "default" 0.0;
14072                visible: 1;
14073                color: 255 255 255 255;
14074                rel1 {
14075                   relative: 0.0 0.0;
14076                   offset: -2 -2;
14077                }
14078                rel2 {
14079                   relative: 1.0 1.0;
14080                   offset: 1 1;
14081                }
14082             }
14083          }
14084          part { name: "elm.swallow.icon";
14085             type: SWALLOW;
14086             description { state: "default" 0.0;
14087                fixed: 0 1;
14088                align: 0.5 0.0;
14089                rel1 {
14090                   relative: 0.0 0.0;
14091                   offset: 4 4;
14092                }
14093                rel2 {
14094                   relative: 1.0 0.0;
14095                   offset: -5 4;
14096                }
14097             }
14098          }
14099          part { name: "elm.swallow.end";
14100             type: SWALLOW;
14101             description { state: "default" 0.0;
14102                fixed: 0 1;
14103                align: 0.5 1.0;
14104                rel1 {
14105                   relative: 0.0 1.0;
14106                   offset: 4 -5;
14107                }
14108                rel2 {
14109                   relative: 1.0 1.0;
14110                   offset: -5 -5;
14111                }
14112             }
14113          }
14114          part { name: "elm.text";
14115             type: TEXT;
14116             effect: SOFT_SHADOW;
14117             mouse_events: 0;
14118             scale: 1;
14119             description {
14120                state: "default" 0.0;
14121                fixed: 1 1;
14122                rel1 {
14123                   to_x: "elm.swallow.icon";
14124                   relative: 0.0 1.0;
14125                   offset: 4 4;
14126                }
14127                rel2 {
14128                   to_x: "elm.swallow.end";
14129                   relative: 1.0 0.0;
14130                   offset: -5 -1;
14131                }
14132                color: 0 0 0 255;
14133                color3: 0 0 0 0;
14134                text {
14135                   font: "Sans";
14136                   size: 10;
14137                   min: 1 1;
14138                   align: 0.5 0.5;
14139                   text_class: "list_item";
14140                }
14141             }
14142             description { state: "selected" 0.0;
14143                inherit: "default" 0.0;
14144                color: 224 224 224 255;
14145                color3: 0 0 0 64;
14146             }
14147          }
14148          part { name: "fg1";
14149             mouse_events: 0;
14150             description { state: "default" 0.0;
14151                visible: 0;
14152                color: 255 255 255 0;
14153                rel1.to: "bg";
14154                rel2.relative: 1.0 0.5;
14155                rel2.to: "bg";
14156                image {
14157                   normal: "bt_sm_hilight.png";
14158                   border: 6 6 6 0;
14159                }
14160             }
14161             description { state: "selected" 0.0;
14162                inherit: "default" 0.0;
14163                visible: 1;
14164                color: 255 255 255 255;
14165             }
14166          }
14167          part { name: "fg2";
14168             mouse_events: 0;
14169             description { state: "default" 0.0;
14170                visible: 0;
14171                color: 255 255 255 0;
14172                rel1.to: "bg";
14173                rel2.to: "bg";
14174                image {
14175                   normal: "bt_sm_shine.png";
14176                   border: 6 6 6 0;
14177                }
14178             }
14179             description { state: "selected" 0.0;
14180                inherit: "default" 0.0;
14181                visible: 1;
14182                color: 255 255 255 255;
14183             }
14184          }
14185       }
14186       programs {
14187          program {
14188             name: "go_active";
14189             signal: "elm,state,selected";
14190             source: "elm";
14191             action: STATE_SET "selected" 0.0;
14192             target: "bg";
14193             target: "fg1";
14194             target: "fg2";
14195             target: "elm.text";
14196          }
14197          program {
14198             name: "go_passive";
14199             signal: "elm,state,unselected";
14200             source: "elm";
14201             action: STATE_SET "default" 0.0;
14202             target: "bg";
14203             target: "fg1";
14204             target: "fg2";
14205             target: "elm.text";
14206             transition: LINEAR 0.1;
14207          }
14208       }
14209    }
14210
14211 ///////////////////////////////////////////////////////////////////////////////
14212    group { name: "elm/slider/horizontal/default";
14213            alias: "elm/slider/horizontal/disabled";
14214       images {
14215          image: "sl_bg.png" COMP;
14216          image: "sl_bg_over.png" COMP;
14217
14218          image: "sl_units.png" COMP;
14219       }
14220       parts {
14221          part { name: "base";
14222             mouse_events: 0;
14223             description { state: "default" 0.0;
14224                max: 99999 6;
14225                min: 0 6;
14226                rel1 { to: "bg";
14227                   offset: 1 0;
14228                }
14229                rel2 { to: "bg";
14230                   offset: -2 -1;
14231                }
14232                image.normal: "sl_bg.png";
14233                fill.smooth: 0;
14234             }
14235          }
14236          part { name: "level";
14237             type: RECT;
14238             mouse_events: 0;
14239             description { state: "default" 0.0;
14240                fixed: 1 1;
14241                rel1.to: "base";
14242                rel2 {
14243                   to_y: "base";
14244                   to_x: "elm.dragable.slider";
14245                   relative: 0.5 1.0;
14246                }
14247                color: 255 0 0 200;
14248             }
14249             description { state: "inverted" 0.0;
14250                inherit: "default" 0.0;
14251                visible: 0;
14252             }
14253             description { state: "disabled" 0.0;
14254                inherit: "default" 0.0;
14255                color: 255 0 0 100;
14256             }
14257             description { state: "disabled_inverted" 0.0;
14258                inherit: "default" 0.0;
14259                visible: 0;
14260             }
14261          }
14262          part { name: "level2";
14263             type: RECT;
14264             mouse_events: 0;
14265             description { state: "default" 0.0;
14266                fixed: 1 1;
14267                visible: 0;
14268                rel1 {
14269                   to_y: "base";
14270                   to_x: "elm.dragable.slider";
14271                   relative: 0.5 0.0;
14272                }
14273                rel2.to: "base";
14274                color: 255 0 0 200;
14275             }
14276             description { state: "inverted" 0.0;
14277                inherit: "default" 0.0;
14278                visible: 1;
14279             }
14280             description { state: "disabled" 0.0;
14281                inherit: "default" 0.0;
14282             }
14283             description { state: "disabled_inverted" 0.0;
14284                inherit: "default" 0.0;
14285                color: 255 0 0 100;
14286                visible: 1;
14287             }
14288          }
14289          part {
14290             name: "base_over";
14291             mouse_events: 0;
14292             description { state: "default" 0.0;
14293                rel1.to: "base";
14294                rel1.offset: -1 -1;
14295                rel2.to: "base";
14296                rel2.offset: 0 0;
14297                image {
14298                   normal: "sl_bg_over.png";
14299                   border: 3 3 3 3;
14300                }
14301                fill.smooth: 0;
14302             }
14303          }
14304          part { name: "bg";
14305             type: RECT;
14306             mouse_events: 0;
14307             scale: 1;
14308             description { state: "default" 0.0;
14309                visible: 0;
14310                rel1.to: "elm.swallow.bar";
14311                rel2.to: "elm.swallow.bar";
14312                color: 0 0 0 0;
14313             }
14314          }
14315          part { name: "elm.swallow.bar";
14316             type: SWALLOW;
14317             scale: 1;
14318             description { state: "default" 0.0;
14319                min: 48 24;
14320                max: 99999 24;
14321                align: 1.0 0.5;
14322                rel1 {
14323                   to_x: "elm.text";
14324                   relative: 1.0 0.0;
14325                   offset: 8 0;
14326                }
14327                rel2 {
14328                   to_x: "elm.units";
14329                   relative: 0.0 1.0;
14330                   offset: -10 -1;
14331                }
14332             }
14333          }
14334          part { name: "elm.swallow.icon";
14335             type: SWALLOW;
14336             description { state: "default" 0.0;
14337                visible: 0;
14338                align: 0.0 0.5;
14339                rel1 {
14340                   offset: 4 0;
14341                   to_y: "elm.swallow.bar";
14342                }
14343                rel2 {
14344                   offset: 3 -1;
14345                   relative: 0.0 1.0;
14346                   to_y: "elm.swallow.bar";
14347                }
14348             }
14349             description { state: "visible" 0.0;
14350                inherit: "default" 0.0;
14351                visible: 1;
14352                aspect: 1.0 1.0;
14353                aspect_preference: VERTICAL;
14354                rel2.offset: 4 -1;
14355             }
14356          }
14357          part { name: "elm.text";
14358             type: TEXT;
14359             mouse_events: 0;
14360             scale: 1;
14361             description { state: "default" 0.0;
14362                visible: 0;
14363                fixed: 1 1;
14364                align: 0.0 0.5;
14365                rel1.to_x: "elm.swallow.icon";
14366                rel1.relative: 1.0 0.0;
14367                rel1.offset: -1 4;
14368                rel2.to_x: "elm.swallow.icon";
14369                rel2.relative: 1.0 1.0;
14370                rel2.offset: -1 -5;
14371                color: 0 0 0 255;
14372                text {
14373                   font: "Sans,Edje-Vera";
14374                   size: 10;
14375                   min: 0 0;
14376                   align: 0.0 0.5;
14377                }
14378             }
14379             description { state: "visible" 0.0;
14380                inherit: "default" 0.0;
14381                visible: 1;
14382                text.min: 1 1;
14383                rel1.offset: 0 4;
14384                rel2.offset: 0 -5;
14385             }
14386             description { state: "disabled" 0.0;
14387                inherit: "default" 0.0;
14388                color: 255 128 128 128;
14389                visible: 0;
14390             }
14391             description { state: "disabled_visible" 0.0;
14392                inherit: "default" 0.0;
14393                color: 0 0 0 128;
14394                color3: 0 0 0 0;
14395                visible: 1;
14396                text.min: 1 1;
14397             }
14398          }
14399          part {
14400             name: "elm.swallow.end";
14401             type: SWALLOW;
14402             description {
14403                state: "default" 0.0;
14404                visible: 0;
14405                align: 1.0 0.5;
14406                rel1 {
14407                   offset: -4 0;
14408                   relative: 1.0 0.0;
14409                   to_y: "elm.swallow.bar";
14410                }
14411                rel2 {
14412                   offset: -3 -1;
14413                   to_y: "elm.swallow.bar";
14414                }
14415             }
14416             description { state: "visible" 0.0;
14417                inherit: "default" 0.0;
14418                visible: 1;
14419                aspect: 1.0 1.0;
14420                aspect_preference: VERTICAL;
14421                rel2.offset: -4 -1;
14422             }
14423          }
14424          part { name: "units";
14425             mouse_events: 0;
14426             description { state: "default" 0.0;
14427                visible: 0;
14428                rel1 {
14429                   to_x: "elm.units";
14430                   offset: 0 5;
14431                }
14432                rel2 {
14433                   to_x: "elm.units";
14434                   offset: 5 -3;
14435                }
14436                image {
14437                   normal: "sl_units.png";
14438                   border: 0 5 3 8;
14439                }
14440                fill.smooth: 0;
14441             }
14442             description { state: "visible" 0.0;
14443                inherit: "default" 0.0;
14444                visible: 1;
14445             }
14446          }
14447          part { name: "elm.units";
14448             type: TEXT;
14449             mouse_events: 0;
14450             scale: 1;
14451             description { state: "default" 0.0;
14452                visible: 0;
14453                fixed: 1 1;
14454                align: 1.0 0.5;
14455                rel1.to_x: "elm.swallow.end";
14456                rel1.relative: 0.0 0.0;
14457                rel1.offset: 0 8;
14458                rel2.to_x: "elm.swallow.end";
14459                rel2.relative: 0.0 1.0;
14460                rel2.offset: 0 -9;
14461                color: 0 0 0 255;
14462                text {
14463                   font: "Sans,Edje-Vera";
14464                   size: 10;
14465                   min: 0 0;
14466                   align: 0.0 0.5;
14467                }
14468             }
14469             description { state: "visible" 0.0;
14470                inherit: "default" 0.0;
14471                fixed: 1 1;
14472                visible: 1;
14473                text.min: 1 1;
14474                rel1.offset: -5 0;
14475                rel2.offset: -5 -1;
14476             }
14477             description { state: "disabled" 0.0;
14478                inherit: "default" 0.0;
14479                color: 255 128 128 128;
14480                visible: 0;
14481             }
14482             description { state: "disabled_visible" 0.0;
14483                inherit: "default" 0.0;
14484                color: 0 0 0 128;
14485                color3: 0 0 0 0;
14486                visible: 1;
14487                text.min: 1 1;
14488             }
14489          }
14490          part { name: "elm.dragable.slider";
14491             type: GROUP;
14492             source: "elm/slider/horizontal/indicator/default";
14493             mouse_events: 1;
14494             repeat_events: 1;
14495             scale: 1;
14496             dragable {
14497                x: 1 1 0;
14498                y: 0 0 0;
14499                confine: "bg";
14500             }
14501             description { state: "default" 0.0;
14502                min: 0 24;
14503                max: 0 24;
14504                fixed: 1 1;
14505                rel1 {
14506                   relative: 0.5 0.0;
14507                   to_x: "bg";
14508                }
14509                rel2 {
14510                   relative: 0.5 1.0;
14511                   to_x: "bg";
14512                }
14513                color: 255 0 0 100;
14514             }
14515          }
14516           part { name: "disabler";
14517             type: RECT;
14518             description { state: "default" 0.0;
14519                color: 0 0 0 0;
14520                visible: 0;
14521             }
14522             description { state: "disabled" 0.0;
14523                inherit: "default" 0.0;
14524                visible: 1;
14525             }
14526          }
14527       }
14528       programs {
14529          program { name: "text_show";
14530             signal: "elm,state,text,visible";
14531             source: "elm";
14532             action:  STATE_SET "visible" 0.0;
14533             target: "elm.text";
14534          }
14535          program { name: "text_hide";
14536             signal: "elm,state,text,hidden";
14537             source: "elm";
14538             action:  STATE_SET "default" 0.0;
14539             target: "elm.text";
14540          }
14541          program { name: "icon_show";
14542             signal: "elm,state,icon,visible";
14543             source: "elm";
14544             action:  STATE_SET "visible" 0.0;
14545             target: "elm.swallow.icon";
14546          }
14547          program { name: "icon_hide";
14548             signal: "elm,state,icon,hidden";
14549             source: "elm";
14550             action:  STATE_SET "default" 0.0;
14551             target: "elm.swallow.icon";
14552          }
14553           program { name: "end_show";
14554             signal: "elm,state,end,visible";
14555             source: "elm";
14556             action:  STATE_SET "visible" 0.0;
14557             target: "elm.swallow.end";
14558          }
14559          program { name: "end_hide";
14560             signal: "elm,state,end,hidden";
14561             source: "elm";
14562             action:  STATE_SET "default" 0.0;
14563             target: "elm.swallow.end";
14564          }
14565          program { name: "units_show";
14566             signal: "elm,state,units,visible";
14567             source: "elm";
14568             action:  STATE_SET "visible" 0.0;
14569             target: "elm.units";
14570             target: "units";
14571          }
14572          program { name: "units_hide";
14573             signal: "elm,state,units,hidden";
14574             source: "elm";
14575             action:  STATE_SET "default" 0.0;
14576             target: "elm.units";
14577             target: "units";
14578          }
14579          program { name: "invert_on";
14580             signal: "elm,state,inverted,on";
14581             source: "elm";
14582             action:  STATE_SET "inverted" 0.0;
14583             target: "level";
14584             target: "level2";
14585          }
14586          program { name: "invert_off";
14587             signal: "elm,state,inverted,off";
14588             source: "elm";
14589             action:  STATE_SET "default" 0.0;
14590             target: "level";
14591             target: "level2";
14592          }
14593          program {
14594             name:    "go_disabled";
14595             signal:  "elm,state,disabled";
14596             source:  "elm";
14597             action:  STATE_SET "disabled" 0.0;
14598 //            target: "button0";
14599             target: "disabler";
14600             after: "disable_text";
14601             after: "disable_ind";
14602          }
14603
14604          program { name: "disable_ind";
14605             action: SIGNAL_EMIT "elm.dragable.slider:elm,state,disabled" "elm";
14606          }
14607          program { name: "disable_text";
14608             script {
14609                new st[31];
14610                new Float:vl;
14611                get_state(PART:"elm.text", st, 30, vl);
14612                if (!strcmp(st, "visible"))
14613                   set_state(PART:"elm.text", "disabled_visible", 0.0);
14614                else
14615                   set_state(PART:"elm.text", "disabled", 0.0);
14616
14617                get_state(PART:"elm.units", st, 30, vl);
14618                if (!strcmp(st, "visible"))
14619                   set_state(PART:"elm.units", "disabled_visible", 0.0);
14620                else
14621                   set_state(PART:"elm.units", "disabled", 0.0);
14622
14623                get_state(PART:"level2", st, 30, vl);
14624                if (!strcmp(st, "inverted"))
14625                {
14626                   set_state(PART:"level", "disabled_inverted", 0.0);
14627                   set_state(PART:"level2", "disabled_inverted", 0.0);
14628                }
14629                else
14630                {
14631                   set_state(PART:"level", "disabled", 0.0);
14632                   set_state(PART:"level2", "disabled", 0.0);
14633                }
14634             }
14635          }
14636          program { name: "enable";
14637             signal: "elm,state,enabled";
14638             source: "elm";
14639             action: STATE_SET "default" 0.0;
14640 //            target: "button0";
14641             target: "disabler";
14642             after: "enable_text";
14643             after: "enable_ind";
14644          }
14645
14646          program { name: "enable_ind";
14647             action: SIGNAL_EMIT "elm.dragable.slider:elm,state,enabled" "elm";
14648          }
14649
14650          program { name: "enable_text";
14651             script {
14652                new st[31];
14653                new Float:vl;
14654                get_state(PART:"elm.text", st, 30, vl);
14655                if (!strcmp(st, "disabled_visible"))
14656                   set_state(PART:"elm.text", "visible", 0.0);
14657                else
14658                   set_state(PART:"elm.text", "default", 0.0);
14659
14660                get_state(PART:"elm.units", st, 30, vl);
14661                if (!strcmp(st, "disabled_visible"))
14662                   set_state(PART:"elm.units", "visible", 0.0);
14663                else
14664                   set_state(PART:"elm.units", "default", 0.0);
14665
14666                get_state(PART:"level2", st, 30, vl);
14667                if (!strcmp(st, "disabled_inverted"))
14668                {
14669                   set_state(PART:"level", "inverted", 0.0);
14670                   set_state(PART:"level2", "inverted", 0.0);
14671                }
14672                else
14673                {
14674                   set_state(PART:"level", "default", 0.0);
14675                   set_state(PART:"level2", "default", 0.0);
14676                }
14677             }
14678          }
14679       }
14680    }
14681
14682    group { name: "elm/slider/vertical/default";
14683       images {
14684          image: "slv_bg.png" COMP;
14685          image: "slv_bg_over.png" COMP;
14686
14687          image: "slv_units.png" COMP;
14688       }
14689       parts {
14690          part { name: "base";
14691             mouse_events: 0;
14692             description { state: "default" 0.0;
14693                max: 6 99999;
14694                min: 6 0;
14695                rel1 { to: "bg";
14696                   offset: 1 0;
14697                }
14698                rel2 { to: "bg";
14699                   offset: -2 -1;
14700                }
14701                image.normal: "slv_bg.png";
14702                fill.smooth: 0;
14703             }
14704          }
14705          part { name: "level";
14706             type: RECT;
14707             mouse_events: 0;
14708             description { state: "default" 0.0;
14709                fixed: 1 1;
14710                rel1.to: "base";
14711                rel2 {
14712                   to_x: "base";
14713                   to_y: "elm.dragable.slider";
14714                   relative: 1.0 0.5;
14715                }
14716                color: 255 0 0 200;
14717             }
14718             description { state: "inverted" 0.0;
14719                inherit: "default" 0.0;
14720                visible: 0;
14721             }
14722             description { state: "disabled" 0.0;
14723                inherit: "default" 0.0;
14724                color: 255 0 0 100;
14725             }
14726             description { state: "disabled_inverted" 0.0;
14727                inherit: "default" 0.0;
14728                visible: 0;
14729             }
14730          }
14731          part { name: "level2";
14732             type: RECT;
14733             mouse_events: 0;
14734             description { state: "default" 0.0;
14735                fixed: 1 1;
14736                visible: 0;
14737                rel1 {
14738                   to_x: "base";
14739                   to_y: "elm.dragable.slider";
14740                   relative: 0.0 0.5;
14741                }
14742                rel2.to: "base";
14743                color: 255 0 0 200;
14744             }
14745             description { state: "inverted" 0.0;
14746                inherit: "default" 0.0;
14747                visible: 1;
14748             }
14749             description { state: "disabled" 0.0;
14750                inherit: "default" 0.0;
14751                color: 255 0 0 100;
14752             }
14753             description { state: "disabled_inverted" 0.0;
14754                inherit: "default" 0.0;
14755                color: 255 0 0 100;
14756                visible: 1;
14757             }
14758          }
14759          part {
14760             name: "base_over";
14761             mouse_events: 0;
14762             description { state: "default" 0.0;
14763                rel1.to: "base";
14764                rel1.offset: -1 -1;
14765                rel2.to: "base";
14766                rel2.offset: 0 0;
14767                image {
14768                   normal: "slv_bg_over.png";
14769                   border: 3 3 3 3;
14770                }
14771                fill.smooth: 0;
14772             }
14773          }
14774          part { name: "bg";
14775             type: RECT;
14776             mouse_events: 0;
14777             scale: 1;
14778             description { state: "default" 0.0;
14779                visible: 0;
14780                rel1.to: "elm.swallow.bar";
14781                rel2.to: "elm.swallow.bar";
14782                color: 0 0 0 0;
14783             }
14784          }
14785          part { name: "elm.swallow.bar";
14786             type: SWALLOW;
14787             scale: 1;
14788             description { state: "default" 0.0;
14789                min: 24 48;
14790                max: 24 9999;
14791                align: 0.5 1.0;
14792                rel1 {
14793                   to_y: "elm.text";
14794                   relative: 0.0 1.0;
14795                   offset: 0 10;
14796                }
14797                rel2 {
14798                   to_y: "elm.units";
14799                   relative: 1.0 0.0;
14800                   offset: -1 -8;
14801                }
14802             }
14803          }
14804          part { name: "elm.swallow.icon";
14805             type: SWALLOW;
14806             description { state: "default" 0.0;
14807                visible: 0;
14808                align: 0.5 0.0;
14809                rel1 {
14810                   offset: 0 4;
14811                   to_x: "elm.swallow.bar";
14812                }
14813                rel2 {
14814                   offset: -1 3;
14815                   relative: 1.0 0.0;
14816                   to_x: "elm.swallow.bar";
14817                }
14818             }
14819             description { state: "visible" 0.0;
14820                inherit: "default" 0.0;
14821                visible: 1;
14822                aspect: 1.0 1.0;
14823                aspect_preference: HORIZONTAL;
14824                rel2.offset: -1 4;
14825             }
14826          }
14827          part { name: "elm.text";
14828             type: TEXT;
14829             mouse_events: 0;
14830             scale: 1;
14831             description { state: "default" 0.0;
14832                visible: 0;
14833                fixed: 0 1;
14834                align: 0.5 0.0;
14835                rel1.to_y: "elm.swallow.icon";
14836                rel1.relative: 0.0 1.0;
14837                rel1.offset: 0 -1;
14838                rel2.to_y: "elm.swallow.icon";
14839                rel2.relative: 1.0 1.0;
14840                rel2.offset: -1 -1;
14841                color: 0 0 0 255;
14842                text {
14843                   font: "Sans,Edje-Vera";
14844                   size: 10;
14845                   min: 0 0;
14846                   align: 0.5 0.0;
14847                }
14848             }
14849             description { state: "visible" 0.0;
14850                inherit: "default" 0.0;
14851                visible: 1;
14852                text.min: 1 1;
14853                rel1.offset: 4 0;
14854                rel2.offset: -5 0;
14855             }
14856             description { state: "disabled" 0.0;
14857                inherit: "default" 0.0;
14858                color: 255 128 128 128;
14859                visible: 0;
14860             }
14861             description { state: "disabled_visible" 0.0;
14862                inherit: "default" 0.0;
14863                color: 0 0 0 128;
14864                color3: 0 0 0 0;
14865                visible: 1;
14866                text.min: 1 1;
14867             }
14868          }
14869          part {
14870             name: "elm.swallow.end";
14871             type: SWALLOW;
14872             description {
14873                state: "default" 0.0;
14874                visible: 0;
14875                align: 0.5 1.0;
14876                rel1 {
14877                   offset: 0 -4;
14878                   relative: 0.0 1.0;
14879                   to_x: "elm.swallow.bar";
14880                }
14881                rel2 {
14882                   offset: -1 -3;
14883                   to_x: "elm.swallow.bar";
14884                }
14885             }
14886             description { state: "visible" 0.0;
14887                inherit: "default" 0.0;
14888                visible: 1;
14889                aspect: 1.0 1.0;
14890                aspect_preference: HORIZONTAL;
14891                rel2.offset: -1 -4;
14892             }
14893          }
14894          part { name: "units";
14895             mouse_events: 0;
14896             description { state: "default" 0.0;
14897                visible: 0;
14898                rel1 {
14899                   to: "elm.units";
14900                   offset: -8 0;
14901                }
14902                rel2 {
14903                   to: "elm.units";
14904                   offset: 7 8;
14905                }
14906                image {
14907                   normal: "slv_units.png";
14908                   border: 8 8 0 9;
14909                }
14910                fill.smooth: 0;
14911             }
14912             description { state: "visible" 0.0;
14913                inherit: "default" 0.0;
14914                visible: 1;
14915             }
14916          }
14917          part { name: "elm.units";
14918             type: TEXT;
14919             mouse_events: 0;
14920             scale: 1;
14921             description { state: "default" 0.0;
14922                visible: 0;
14923                fixed: 1 1;
14924                align: 0.5 1.0;
14925                rel1.relative: 0.0 0.0;
14926                rel1.to_y: "elm.swallow.end";
14927                rel1.offset: 8 0;
14928                rel2.relative: 1.0 0.0;
14929                rel2.to_y: "elm.swallow.end";
14930                rel2.offset: -9 0;
14931                color: 0 0 0 255;
14932                text {
14933                   font: "Sans,Edje-Vera";
14934                   size: 10;
14935                   min: 0 0;
14936                   align: 0.5 0.0;
14937                }
14938             }
14939             description { state: "visible" 0.0;
14940                inherit: "default" 0.0;
14941                fixed: 1 1;
14942                visible: 1;
14943                text.min: 1 1;
14944                rel1.offset: 8 -9;
14945                rel2.offset: -9 -9;
14946             }
14947             description { state: "disabled" 0.0;
14948                inherit: "default" 0.0;
14949                color:  0 0 0 128;
14950                color3: 0 0 0 0;
14951                visible: 0;
14952             }
14953             description { state: "disabled_visible" 0.0;
14954                inherit: "default" 0.0;
14955                fixed: 1 1;
14956                visible: 1;
14957                text.min: 1 1;
14958                rel1.offset: 8 -9;
14959                rel2.offset: -9 -9;
14960                color: 0 0 0 128;
14961                color3: 0 0 0 0;
14962             }
14963          }
14964          part { name: "elm.dragable.slider";
14965             type: GROUP;
14966             source: "elm/slider/vertical/indicator/default";
14967             mouse_events: 1;
14968             repeat_events: 1;
14969             scale: 1;
14970             dragable {
14971                x: 0 0 0;
14972                y: 1 1 0;
14973                confine: "bg";
14974             }
14975             description { state: "default" 0.0;
14976                min: 24 0;
14977                max: 24 0;
14978                fixed: 1 1;
14979                rel1 {
14980                   relative: 0.5  0.0;
14981                   to_y: "bg";
14982                }
14983                rel2 {
14984                   relative: 0.5  1.0;
14985                   to_y: "bg";
14986                }
14987                color: 0 0 0 0;
14988             }
14989          }
14990               part { name: "disabler";
14991                 type: RECT;
14992                 description { state: "default" 0.0;
14993                    color: 0 0 0 0;
14994                    visible: 0;
14995                 }
14996                 description { state: "disabled" 0.0;
14997                    inherit: "default" 0.0;
14998                    visible: 1;
14999                 }
15000              }
15001           }
15002
15003       programs {
15004          program { name: "text_show";
15005             signal: "elm,state,text,visible";
15006             source: "elm";
15007             action:  STATE_SET "visible" 0.0;
15008             target: "elm.text";
15009          }
15010          program { name: "text_hide";
15011             signal: "elm,state,text,hidden";
15012             source: "elm";
15013             action:  STATE_SET "default" 0.0;
15014             target: "elm.text";
15015          }
15016          program { name: "icon_show";
15017             signal: "elm,state,icon,visible";
15018             source: "elm";
15019             action:  STATE_SET "visible" 0.0;
15020             target: "elm.swallow.icon";
15021          }
15022          program { name: "icon_hide";
15023             signal: "elm,state,icon,hidden";
15024             source: "elm";
15025             action:  STATE_SET "default" 0.0;
15026             target: "elm.swallow.icon";
15027          }
15028          program { name: "end_show";
15029             signal: "elm,state,end,visible";
15030             source: "elm";
15031             action:  STATE_SET "visible" 0.0;
15032             target: "elm.swallow.end";
15033          }
15034          program { name: "end_hide";
15035             signal: "elm,state,end,hidden";
15036             source: "elm";
15037             action:  STATE_SET "default" 0.0;
15038             target: "elm.swallow.end";
15039          }
15040          program { name: "units_show";
15041             signal: "elm,state,units,visible";
15042             source: "elm";
15043             action:  STATE_SET "visible" 0.0;
15044             target: "elm.units";
15045             target: "units";
15046          }
15047          program { name: "units_hide";
15048             signal: "elm,state,units,hidden";
15049             source: "elm";
15050             action:  STATE_SET "default" 0.0;
15051             target: "elm.units";
15052             target: "units";
15053          }
15054          program { name: "invert_on";
15055             signal: "elm,state,inverted,on";
15056             source: "elm";
15057             action:  STATE_SET "inverted" 0.0;
15058             target: "level";
15059             target: "level2";
15060          }
15061          program { name: "invert_off";
15062             signal: "elm,state,inverted,off";
15063             source: "elm";
15064             action:  STATE_SET "default" 0.0;
15065             target: "level";
15066             target: "level2";
15067          }
15068          program {
15069             name:   "go_disabled";
15070             signal: "elm,state,disabled";
15071             source: "elm";
15072             action: STATE_SET "disabled" 0.0;
15073 //            target: "button0";
15074             target: "disabler";
15075             after: "disable_text";
15076             after: "disable_ind";
15077          }
15078
15079          program { name: "disable_ind";
15080             action: SIGNAL_EMIT "elm.dragable.slider:elm,state,disabled" "elm";
15081          }
15082
15083          program { name: "disable_text";
15084             script {
15085             new st[31];
15086             new Float:vl;
15087                get_state(PART:"elm.text", st, 30, vl);
15088                if (!strcmp(st, "visible"))
15089                   set_state(PART:"elm.text", "disabled_visible", 0.0);
15090                else
15091                   set_state(PART:"elm.text", "disabled", 0.0);
15092
15093                get_state(PART:"elm.units", st, 30, vl);
15094                if (!strcmp(st, "visible"))
15095                   set_state(PART:"elm.units", "disabled_visible", 0.0);
15096                else
15097                   set_state(PART:"elm.units", "disabled", 0.0);
15098
15099                get_state(PART:"level2", st, 30, vl);
15100                if (!strcmp(st, "inverted"))
15101                {
15102                   set_state(PART:"level", "disabled_inverted", 0.0);
15103                   set_state(PART:"level2", "disabled_inverted", 0.0);
15104                }
15105                else
15106                {
15107                   set_state(PART:"level", "disabled", 0.0);
15108                   set_state(PART:"level2", "disabled", 0.0);
15109                }
15110             }
15111          }
15112
15113          program { name: "enable";
15114             signal: "elm,state,enabled";
15115             source: "elm";
15116             action: STATE_SET "default" 0.0;
15117 //            target: "button0";
15118             target: "disabler";
15119             after: "enable_text";
15120             after: "enable_ind";
15121          }
15122
15123          program { name: "enable_ind";
15124             action: SIGNAL_EMIT "elm.dragable.slider:elm,state,enabled" "elm";
15125          }
15126          program { name: "enable_text";
15127             script {
15128                new st[31];
15129                new Float:vl;
15130                get_state(PART:"elm.text", st, 30, vl);
15131                if (!strcmp(st, "disabled_visible"))
15132                   set_state(PART:"elm.text", "visible", 0.0);
15133                else
15134                   set_state(PART:"elm.text", "default", 0.0);
15135
15136                get_state(PART:"elm.units", st, 30, vl);
15137                if (!strcmp(st, "disabled_visible"))
15138                   set_state(PART:"elm.units", "visible", 0.0);
15139                else
15140                   set_state(PART:"elm.units", "default", 0.0);
15141
15142                get_state(PART:"level2", st, 30, vl);
15143                if (!strcmp(st, "disabled_inverted"))
15144                {
15145                   set_state(PART:"level", "inverted", 0.0);
15146                   set_state(PART:"level2", "inverted", 0.0);
15147                }
15148                else
15149                {
15150                   set_state(PART:"level", "default", 0.0);
15151                   set_state(PART:"level2", "default", 0.0);
15152                }
15153             }
15154          }
15155       }
15156    }
15157    group { name: "elm/slider/horizontal/indicator/default";
15158            alias: "elm/slider/horizontal/indicator/disabled";
15159            alias: "elm/slider/vertical/indicator/default";
15160            alias: "elm/slider/vertical/indicator/disabled";
15161       images {
15162          image: "sl_bt_0.png" COMP;
15163          image: "sl_bt_1.png" COMP;
15164          image: "sl_bt_2.png" COMP;
15165          image: "sl_bt_3.png" COMP;
15166          image: "sl_bt2_0_0.png" COMP;
15167          image: "sl_bt2_0_1.png" COMP;
15168          image: "sl_bt2_0_2.png" COMP;
15169          image: "sl_bt2_1.png" COMP;
15170          image: "sl_bt2_2.png" COMP;
15171       }
15172       script {
15173          public value_hide = 0;
15174          public set_value_show() {
15175             set_int(value_hide, 0);
15176          }
15177          public set_value_hide() {
15178             set_int(value_hide, 1);
15179          }
15180          public thumb_down() {
15181             if (get_int(value_hide) == 1) {
15182                set_state(PART:"elm.indicator", "default", 0.0);
15183                set_state(PART:"button3", "default", 0.0);
15184                set_state(PART:"button4", "default", 0.0);
15185                set_state(PART:"button5", "default", 0.0);
15186                set_state(PART:"button6", "default", 0.0);
15187                set_state(PART:"button7", "default", 0.0);
15188             } else {
15189                set_state(PART:"elm.indicator", "visible", 0.0);
15190                set_state(PART:"button3", "visible", 0.0);
15191                set_state(PART:"button4", "visible", 0.0);
15192                set_state(PART:"button5", "visible", 0.0);
15193                set_state(PART:"button6", "visible", 0.0);
15194                set_state(PART:"button7", "visible", 0.0);
15195             }
15196          }
15197          public thumb_up() {
15198             set_state(PART:"elm.indicator", "default", 0.0);
15199             set_state(PART:"button3", "default", 0.0);
15200             set_state(PART:"button4", "default", 0.0);
15201             set_state(PART:"button5", "default", 0.0);
15202             set_state(PART:"button6", "default", 0.0);
15203             set_state(PART:"button7", "default", 0.0);
15204          }
15205       }
15206       parts {
15207          part { name: "button_events";
15208             type: RECT;
15209             mouse_events: 1;
15210             description { state: "default" 0.0;
15211                fixed: 1 1;
15212                min: 16 16;
15213                aspect: 1.0 1.0;
15214                aspect_preference: VERTICAL;
15215                color: 0 0 0 0;
15216             }
15217          }
15218          part { name: "button0";
15219             mouse_events: 0;
15220             description { state: "default" 0.0;
15221                fixed: 1 1;
15222                max: 17 999;
15223                min: 17 24;
15224                image {
15225                   normal: "sl_bt_0.png";
15226                   border: 5 5 5 10;
15227                }
15228                fill.smooth: 0;
15229             }
15230             description { state: "disabled" 0.0;
15231                inherit: "default" 0.0;
15232                image {
15233                   normal: "sl_bt_3.png";
15234                   border: 5 5 5 10;
15235                }
15236             }
15237          }
15238          part { name: "button1";
15239             mouse_events: 0;
15240             description { state: "default" 0.0;
15241                rel1.to: "button0";
15242                rel2 {
15243                   to: "button0";
15244                   relative: 1.0 0.5;
15245                   offset: -1 -5;
15246                }
15247                image {
15248                   normal: "sl_bt_1.png";
15249                   border: 5 5 5 0;
15250                }
15251             }
15252          }
15253          part { name: "button2";
15254             mouse_events: 0;
15255             description { state: "default" 0.0;
15256                rel1.to: "button0";
15257                rel2.to: "button0";
15258                image {
15259                   normal: "sl_bt_2.png";
15260                   border: 5 5 5 10;
15261                }
15262                fill.smooth: 0;
15263             }
15264          }
15265          part { name: "button3";
15266             mouse_events: 0;
15267             description { state: "default" 0.0;
15268                fixed: 1 1;
15269                visible: 0;
15270                min: 8 32;
15271                align: 1.0 0.5;
15272                rel1 {
15273                   to_x: "elm.indicator";
15274                   to_y: "button4";
15275                   relative: 0.0 0.0;
15276                   offset: -7 0;
15277                }
15278                rel2 {
15279                   to: "button4";
15280                   relative: 0.0 1.0;
15281                   offset: -1 -1;
15282                }
15283                image {
15284                   normal: "sl_bt2_0_0.png";
15285                   border: 6 0 6 12;
15286                }
15287                fill.smooth: 0;
15288             }
15289             description { state: "visible" 0.0;
15290                inherit: "default" 0.0;
15291                visible: 1;
15292             }
15293          }
15294          part { name: "button4";
15295             mouse_events: 0;
15296             description { state: "default" 0.0;
15297                visible: 0;
15298                max: 15 999;
15299                min: 15 32;
15300                rel1 {
15301                   to_x: "button0";
15302                   to_y: "elm.indicator";
15303                   offset: 0 0;
15304                }
15305                rel2.to: "button0";
15306                image {
15307                   normal: "sl_bt2_0_1.png";
15308                   border: 0 0 6 12;
15309                }
15310                fill.smooth: 0;
15311             }
15312             description { state: "visible" 0.0;
15313                inherit: "default" 0.0;
15314                visible: 1;
15315             }
15316          }
15317          part { name: "button5";
15318             mouse_events: 0;
15319             description { state: "default" 0.0;
15320                fixed: 1 1;
15321                visible: 0;
15322                min: 8 32;
15323                align: 0.0 0.5;
15324                rel1 {
15325                   to: "button4";
15326                   relative: 1.0 0.0;
15327                   offset: 0 0;
15328                }
15329                rel2 {
15330                   to_x: "elm.indicator";
15331                   to_y: "button4";
15332                   relative: 1.0 1.0;
15333                   offset: 6 -1;
15334                }
15335                image {
15336                   normal: "sl_bt2_0_2.png";
15337                   border: 0 6 6 12;
15338                }
15339                fill.smooth: 0;
15340             }
15341             description { state: "visible" 0.0;
15342                inherit: "default" 0.0;
15343                visible: 1;
15344             }
15345          }
15346          part { name: "elm.indicator";
15347             type: TEXT;
15348             mouse_events: 0;
15349             effect: SOFT_SHADOW;
15350             scale: 1;
15351             description { state: "default" 0.0;
15352                visible: 0;
15353                fixed: 1 1;
15354                align: 0.5 1.0;
15355                rel1 {
15356                   to: "button0";
15357                   relative: 0.0 -0.25;
15358                   offset: 0 0;
15359                }
15360                rel2 {
15361                   to_x: "button0";
15362                   relative: 1.0 -0.25;
15363                   offset: -1 0;
15364                }
15365                color: 224 224 224 255;
15366                color3: 0 0 0 64;
15367                text {
15368                   font:     "Sans,Edje-Vera";
15369                   size:     10;
15370                   min:      0 0;
15371                   align:    0.5 0.5;
15372                }
15373             }
15374             description { state: "visible" 0.0;
15375                inherit: "default" 0.0;
15376                visible: 1;
15377                text.min: 1 1;
15378                rel1.offset: 0 -1;
15379                rel2.offset: -1 -1;
15380             }
15381          }
15382          part { name: "button6";
15383             mouse_events: 0;
15384             description { state: "default" 0.0;
15385                visible: 0;
15386                rel1.to: "button3";
15387                rel2 {
15388                   to: "button5";
15389                   relative: 1.0 0.3;
15390                   offset: -1 -1;
15391                }
15392                image {
15393                   normal: "sl_bt2_1.png";
15394                   border: 5 5 5 0;
15395                }
15396                fill.smooth: 0;
15397             }
15398             description { state: "visible" 0.0;
15399                inherit: "default" 0.0;
15400                visible: 1;
15401             }
15402          }
15403          part { name: "button7";
15404             mouse_events: 0;
15405             description { state: "default" 0.0;
15406                visible: 0;
15407                rel1.to: "button3";
15408                rel2.to: "button5";
15409                image {
15410                   normal: "sl_bt2_2.png";
15411                   border: 5 5 5 0;
15412                   middle: 0;
15413                }
15414                fill.smooth: 0;
15415             }
15416             description { state: "visible" 0.0;
15417                inherit: "default" 0.0;
15418                visible: 1;
15419             }
15420          }
15421       }
15422       programs {
15423          program { name: "set_val_show";
15424             signal: "elm,state,val,show";
15425             source: "elm";
15426             script {
15427                set_value_show();
15428             }
15429          }
15430          program { name: "set_val_hide";
15431             signal: "elm,state,val,hide";
15432             source: "elm";
15433             script {
15434                set_value_hide();
15435             }
15436          }
15437          program { name: "val_show";
15438             signal: "mouse,down,*";
15439             source: "button_events";
15440             script {
15441                thumb_down();
15442             }
15443
15444          }
15445          program { name: "val_hide";
15446             signal: "mouse,up,*";
15447             source: "button_events";
15448             script {
15449                thumb_up();
15450             }
15451          }
15452          program {
15453             name:    "go_disabled";
15454             signal:  "elm,state,disabled";
15455             source:  "elm";
15456             action:  STATE_SET "disabled" 0.0;
15457             target:  "button0";
15458          }
15459          program {
15460             name:    "go_enabled";
15461             signal:  "elm,state,enabled";
15462             source:  "elm";
15463             action:  STATE_SET "default" 0.0;
15464             target:  "button0";
15465          }
15466       }
15467    }
15468
15469
15470 ////////////////////////////////////////////////////////////////////////////////
15471 // actionslider
15472 ////////////////////////////////////////////////////////////////////////////////
15473    group { name: "elm/actionslider/base/default";
15474
15475       images {
15476          image: "shelf_inset.png" COMP;
15477          image: "ilist_1.png" COMP;
15478          image: "bt_bases.png" COMP;
15479          image: "bt_basew.png" COMP;
15480          image: "bt_hilightw.png" COMP;
15481       }
15482
15483       parts {
15484          part {
15485             name: "base";
15486             mouse_events: 0;
15487             description {
15488                state: "default" 0.0;
15489                min: 75 25;
15490                rel1.offset: 1 1;
15491                rel2.offset: -2 -2;
15492                image {
15493                   normal: "ilist_1.png";
15494                   border: 2 2 2 2;
15495                }
15496                fill.smooth: 0;
15497             }
15498          }
15499          part { name: "conf_over";
15500             mouse_events:  0;
15501             description { state: "default" 0.0;
15502                rel1.to: "base";
15503                rel2.to: "base";
15504                image {
15505                   normal: "shelf_inset.png";
15506                   border: 7 7 7 7;
15507                   middle: 0;
15508                }
15509                fill.smooth : 0;
15510             }
15511          }
15512          part { name: "icon.dragable.area";
15513            type: RECT;
15514             mouse_events: 0;
15515             description { state: "default" 0.0;
15516                visible: 0;
15517                rel1.to: "base";
15518                rel2.to: "base";
15519             }
15520          }
15521          part { name: "elm.text.left";
15522             type: TEXT;
15523             mouse_events: 0;
15524             scale: 1;
15525             description { state: "default" 0.0;
15526                color: 0 0 0 255;
15527                text {
15528                   font: "Sans,Edje-Vera";
15529                   size: 10;
15530                   align: 0.05 0.5;
15531                   min: 1 1;
15532                }
15533             }
15534          }
15535          part { name: "elm.text.center";
15536             type: TEXT;
15537             mouse_events: 0;
15538             scale: 1;
15539             description { state: "default" 0.0;
15540                color: 0 0 0 255;
15541                text {
15542                   font: "Sans,Edje-Vera";
15543                   size: 10;
15544                   align: 0.5 0.5;
15545                   min: 1 1;
15546                }
15547             }
15548          }
15549          part { name: "elm.text.right";
15550             type: TEXT;
15551             mouse_events: 0;
15552             scale: 1;
15553             description { state: "default" 0.0;
15554                color: 0 0 0 255;
15555                text {
15556                   font: "Sans,Edje-Vera";
15557                   size: 10;
15558                   align: 0.95 0.5;
15559                   min: 1 1;
15560                }
15561             }
15562          }
15563          part { name: "elm.drag_button_base";
15564             type: SWALLOW;
15565             mouse_events: 0;
15566             scale: 1;
15567             description { state: "default" 0.0;
15568                fixed: 1 1;
15569                min: 50 25;
15570                align: 0.5 0.5;
15571                rel1.to: "icon.dragable.area";
15572                rel2 {
15573                   relative: 0.0 1.0;
15574                   to: "icon.dragable.area";
15575                }
15576             }
15577             dragable {
15578                confine: "icon.dragable.area";
15579                x: 1 1 0;
15580                y: 0 0 0;
15581             }
15582          }
15583          part { name: "elm.drag_button";
15584             type: RECT;
15585             mouse_events: 1;
15586             description { state: "default" 0.0;
15587                min: 50 25;
15588                color: 255 255 255 0;
15589                rel1.to_x: "elm.drag_button_base";
15590                rel1.to_y: "icon.dragable.area";
15591                rel2.to_x: "elm.drag_button_base";
15592                rel2.to_y: "icon.dragable.area";
15593             }
15594             dragable {
15595                events: "elm.drag_button_base";
15596             }
15597          }
15598          part { name: "button0";
15599             mouse_events: 0;
15600             description { state: "default" 0.0;
15601                rel1.to: "button2";
15602                rel1.offset: -4 -4;
15603                rel2.to: "button2";
15604                rel2.offset: 3 3;
15605                image {
15606                   normal: "bt_bases.png";
15607                   border: 11 11 11 11;
15608                   middle: SOLID;
15609                }
15610                color: 255 255 255 128;
15611             }
15612          }
15613          part { name: "button2";
15614             mouse_events: 0;
15615             description { state: "default" 0.0;
15616                rel1.to: "elm.drag_button";
15617                rel2.to: "elm.drag_button";
15618                image {
15619                   normal: "bt_basew.png";
15620                   border: 7 7 7 7;
15621                   middle: SOLID;
15622                }
15623                color: 255 255 255 210;
15624             }
15625          }
15626          part { name: "button3";
15627             mouse_events: 0;
15628             description { state: "default" 0.0;
15629                rel1.to: "button2";
15630                rel2.to: "button2";
15631                rel2.relative: 1.0 0.5;
15632                image {
15633                   normal: "bt_hilightw.png";
15634                   border: 4 4 4 0;
15635                }
15636                color: 255 255 255 190;
15637             }
15638          }
15639          part { name: "elm.text.indicator";
15640             type: TEXT;
15641             scale: 1;
15642             mouse_events: 0;
15643             description { state: "default" 0.0;
15644                rel1 {
15645                   to: "elm.drag_button";
15646                   offset: 5 0;
15647                }
15648                rel2 {
15649                   to: "elm.drag_button";
15650                   offset: -5 0;
15651                }
15652                color: 0 0 0 255;
15653                text {
15654                   font: "Sans,Edje-Vera";
15655                   size: 10;
15656                   align: 0.5 0.5;
15657                   min: 0 1;
15658                }
15659             }
15660          }
15661       }
15662       programs {
15663          program { name: "elm.drag_button,mouse,up";
15664             signal: "mouse,up,1";
15665             source: "elm.drag_button";
15666             action: SIGNAL_EMIT "elm.drag_button,mouse,up" "";
15667          }
15668          program { name: "elm.drag_button,mouse,down";
15669             signal: "mouse,down,1";
15670             source: "elm.drag_button";
15671             action: SIGNAL_EMIT "elm.drag_button,mouse,down" "";
15672          }
15673          program { name: "elm.drag_button,mouse,move";
15674             signal: "mouse,move";
15675             source: "elm.drag_button_base";
15676             action: SIGNAL_EMIT "elm.drag_button,mouse,move" "";
15677          }
15678       }
15679    }
15680
15681    group { name: "elm/actionslider/base/bar";
15682
15683       images {
15684          image: "shelf_inset.png" COMP;
15685          image: "ilist_1.png" COMP;
15686          image: "bt_bases.png" COMP;
15687          image: "bt_basew.png" COMP;
15688          image: "bt_hilightw.png" COMP;
15689       }
15690
15691       parts {
15692          part {
15693             name: "base";
15694             mouse_events: 0;
15695             description {
15696                state: "default" 0.0;
15697                min: 150 30;
15698                rel1.offset: 1 1;
15699                rel2.offset: -2 -2;
15700                image {
15701                   normal: "ilist_1.png";
15702                   border: 2 2 2 2;
15703                }
15704                fill.smooth: 0;
15705             }
15706          }
15707          part { name: "conf_over";
15708             mouse_events:  0;
15709             description { state: "default" 0.0;
15710                rel1.to: "base";
15711                rel2.to: "base";
15712                image {
15713                   normal: "shelf_inset.png";
15714                   border: 7 7 7 7;
15715                   middle: 0;
15716                }
15717                fill.smooth : 0;
15718             }
15719          }
15720          part { name: "icon.dragable.area";
15721            type: RECT;
15722             mouse_events: 0;
15723             description { state: "default" 0.0;
15724                visible: 0;
15725                rel1.to: "base";
15726                rel2.to: "base";
15727             }
15728          }
15729          part { name: "elm.text.left";
15730             type: TEXT;
15731             mouse_events: 0;
15732             scale: 1;
15733             description { state: "default" 0.0;
15734                color: 0 0 0 255;
15735                text {
15736                   font: "Sans,Edje-Vera";
15737                   size: 10;
15738                   align: 0.05 0.5;
15739                   min: 1 1;
15740                }
15741             }
15742          }
15743          part { name: "elm.text.center";
15744             type: TEXT;
15745             mouse_events: 0;
15746             scale: 1;
15747             description { state: "default" 0.0;
15748                color: 0 0 0 255;
15749                text {
15750                   font: "Sans,Edje-Vera";
15751                   size: 10;
15752                   align: 0.5 0.5;
15753                   min: 1 1;
15754                }
15755             }
15756          }
15757          part { name: "elm.text.right";
15758             type: TEXT;
15759             mouse_events: 0;
15760             scale: 1;
15761             description { state: "default" 0.0;
15762                color: 0 0 0 255;
15763                text {
15764                   font: "Sans,Edje-Vera";
15765                   size: 10;
15766                   align: 0.95 0.5;
15767                   min: 1 1;
15768                }
15769             }
15770          }
15771          part { name: "bar";
15772             type: RECT;
15773             mouse_events: 0;
15774             description { state: "default" 0.0;
15775                rel1.to: "base";
15776                rel1.offset: 0 2;
15777                rel2 {
15778                   relative: 0 1;
15779                   offset: 3 -3;
15780                   to_x: "elm.drag_button_base";
15781                   to_y: "base";
15782                }
15783                color: 0 0 0 180;
15784             }
15785          }
15786          part { name: "elm.drag_button_base";
15787             type: SWALLOW;
15788             mouse_events: 1;
15789             scale: 1;
15790             description { state: "default" 0.0;
15791                fixed: 1 1;
15792                min: 50 25;
15793                align: 0.5 0.5;
15794                rel1.to: "icon.dragable.area";
15795                rel2 {
15796                   relative: 0.0 1.0;
15797                   to: "icon.dragable.area";
15798                }
15799             }
15800             dragable {
15801                confine: "icon.dragable.area";
15802                x: 1 1 0;
15803                y: 0 0 0;
15804             }
15805          }
15806          part { name: "elm.drag_button";
15807             type: RECT;
15808             mouse_events: 1;
15809             description { state: "default" 0.0;
15810                min: 50 25;
15811                color: 255 255 255 0;
15812                rel1.to_x: "elm.drag_button_base";
15813                rel1.to_y: "icon.dragable.area";
15814                rel2.to_x: "elm.drag_button_base";
15815                rel2.to_y: "icon.dragable.area";
15816             }
15817             dragable {
15818                events: "elm.drag_button_base";
15819             }
15820          }
15821          part { name: "button0";
15822             mouse_events: 0;
15823             description { state: "default" 0.0;
15824                rel1.to: "button2";
15825                rel1.offset: -4 -4;
15826                rel2.to: "button2";
15827                rel2.offset: 3 3;
15828                image {
15829                   normal: "bt_bases.png";
15830                   border: 11 11 11 11;
15831                   middle: SOLID;
15832                }
15833                color: 255 255 255 128;
15834             }
15835          }
15836          part { name: "button2";
15837             mouse_events: 0;
15838             description { state: "default" 0.0;
15839                rel1.to: "elm.drag_button";
15840                rel2.to: "elm.drag_button";
15841                image {
15842                   normal: "bt_basew.png";
15843                   border: 7 7 7 7;
15844                   middle: SOLID;
15845                }
15846                color: 255 255 255 210;
15847             }
15848          }
15849          part { name: "button3";
15850             mouse_events: 0;
15851             description { state: "default" 0.0;
15852                rel1.to: "button2";
15853                rel2.to: "button2";
15854                rel2.relative: 1.0 0.5;
15855                image {
15856                   normal: "bt_hilightw.png";
15857                   border: 4 4 4 0;
15858                }
15859                color: 255 255 255 190;
15860             }
15861          }
15862          part { name: "elm.text.indicator";
15863             type: TEXT;
15864             scale: 1;
15865             mouse_events: 0;
15866             description { state: "default" 0.0;
15867                rel1 {
15868                   to: "elm.drag_button";
15869                   offset: 5 0;
15870                }
15871                rel2 {
15872                   to: "elm.drag_button";
15873                   offset: -5 0;
15874                }
15875                color: 0 0 0 255;
15876                text {
15877                   font: "Sans,Edje-Vera";
15878                   size: 10;
15879                   align: 0.5 0.5;
15880                   min: 0 1;
15881                }
15882             }
15883          }
15884       }
15885       programs {
15886          program { name: "elm.drag_button,mouse,up";
15887             signal: "mouse,up,1";
15888             source: "elm.drag_button";
15889             action: SIGNAL_EMIT "elm.drag_button,mouse,up" "";
15890          }
15891          program { name: "elm.drag_button,mouse,down";
15892             signal: "mouse,down,1";
15893             source: "elm.drag_button";
15894             action: SIGNAL_EMIT "elm.drag_button,mouse,down" "";
15895          }
15896          program { name: "elm.drag_button,mouse,move";
15897             signal: "mouse,move";
15898             source: "elm.drag_button_base";
15899             action: SIGNAL_EMIT "elm.drag_button,mouse,move" "";
15900          }
15901       }
15902    }
15903
15904 ///////////////////////////////////////////////////////////////////////////////
15905    group { name: "elm/genlist/item/default/default";
15906       data.item: "selectraise" "on";
15907       data.item: "labels" "elm.text";
15908       data.item: "icons" "elm.swallow.icon elm.swallow.end";
15909       data.item: "treesize" "20";
15910 //      data.item: "states" "";
15911       images {
15912          image: "bt_sm_base1.png" COMP;
15913          image: "bt_sm_shine.png" COMP;
15914          image: "bt_sm_hilight.png" COMP;
15915          image: "ilist_1.png" COMP;
15916          image: "ilist_2.png" COMP;
15917          image: "ilist_item_shadow.png" COMP;
15918       }
15919       parts {
15920          part {
15921             name:           "event";
15922             type:           RECT;
15923             repeat_events: 1;
15924             description {
15925                state: "default" 0.0;
15926                color: 0 0 0 0;
15927             }
15928          }
15929          part {
15930             name: "base_sh";
15931             mouse_events: 0;
15932             description {
15933                state: "default" 0.0;
15934                align: 0.0 0.0;
15935                min: 0 10;
15936                fixed: 1 1;
15937                rel1 {
15938                   to: "base";
15939                   relative: 0.0 1.0;
15940                   offset: 0 0;
15941                }
15942                rel2 {
15943                   to: "base";
15944                   relative: 1.0 1.0;
15945                   offset: -1 0;
15946                }
15947                image {
15948                   normal: "ilist_item_shadow.png";
15949                }
15950                fill.smooth: 0;
15951             }
15952             description {
15953                state: "default" 1.0;
15954                inherit: "default" 0.0;
15955                visible: 0;
15956             }
15957          }
15958          part {
15959             name: "base";
15960             mouse_events: 0;
15961             description {
15962                state: "default" 0.0;
15963                image {
15964                   normal: "ilist_1.png";
15965                   border: 2 2 2 2;
15966                }
15967                fill.smooth: 0;
15968             }
15969             description {
15970                state: "default" 1.0;
15971                inherit: "default" 0.0;
15972                image.normal: "ilist_2.png";
15973             }
15974          }
15975          part { name: "bg";
15976             clip_to: "disclip";
15977             mouse_events: 0;
15978             description { state: "default" 0.0;
15979                visible: 0;
15980                color: 255 255 255 0;
15981                rel1 {
15982                   relative: 0.0 0.0;
15983                   offset: -5 -5;
15984                }
15985                rel2 {
15986                   relative: 1.0 1.0;
15987                   offset: 4 4;
15988                }
15989                image {
15990                   normal: "bt_sm_base1.png";
15991                   border: 6 6 6 6;
15992                }
15993                image.middle: SOLID;
15994             }
15995             description { state: "default" 0.1;
15996                inherit: "default" 0.0;
15997             }
15998             description { state: "selected" 0.0;
15999                inherit: "default" 0.0;
16000                visible: 1;
16001                color: 255 255 255 255;
16002                rel1 {
16003                   relative: 0.0 0.0;
16004                   offset: -2 -2;
16005                }
16006                rel2 {
16007                   relative: 1.0 1.0;
16008                   offset: 1 1;
16009                }
16010             }
16011             description {
16012                state: "selected" 1.0;
16013                inherit: "selected" 0.0;
16014             }
16015          }
16016          part { name: "elm.swallow.pad";
16017             type: SWALLOW;
16018             description { state: "default" 0.0;
16019                fixed: 1 0;
16020                align: 0.0 0.5;
16021                rel1 {
16022                   relative: 0.0  0.0;
16023                   offset:   4    4;
16024                }
16025                rel2 {
16026                   relative: 0.0  1.0;
16027                   offset:   4   -5;
16028                }
16029             }
16030          }
16031          part { name: "elm.swallow.icon";
16032             clip_to: "disclip";
16033             type: SWALLOW;
16034             description { state: "default" 0.0;
16035                fixed: 1 0;
16036                align: 0.0 0.5;
16037                rel1 {
16038                   to_x: "elm.swallow.pad";
16039                   relative: 1.0  0.0;
16040                   offset:   -1    4;
16041                }
16042                rel2 {
16043                   to_x: "elm.swallow.pad";
16044                   relative: 1.0  1.0;
16045                   offset:   -1   -5;
16046                }
16047             }
16048          }
16049          part { name: "elm.swallow.end";
16050             clip_to: "disclip";
16051             type: SWALLOW;
16052             description { state: "default" 0.0;
16053                fixed: 1 0;
16054                align: 1.0 0.5;
16055                aspect: 1.0 1.0;
16056                aspect_preference: VERTICAL;
16057                rel1 {
16058                   relative: 1.0  0.0;
16059                   offset:   -5    4;
16060                }
16061                rel2 {
16062                   relative: 1.0  1.0;
16063                   offset:   -5   -5;
16064                }
16065             }
16066          }
16067          part { name: "elm.text";
16068             clip_to: "disclip";
16069             type:           TEXT;
16070             effect:         SOFT_SHADOW;
16071             mouse_events:   0;
16072             scale: 1;
16073             description {
16074                state: "default" 0.0;
16075 //               min: 16 16;
16076                rel1 {
16077                   to_x:     "elm.swallow.icon";
16078                   relative: 1.0  0.0;
16079                   offset:   0 4;
16080                }
16081                rel2 {
16082                   to_x:     "elm.swallow.end";
16083                   relative: 0.0  1.0;
16084                   offset:   -1 -5;
16085                }
16086                color: 0 0 0 255;
16087                color3: 0 0 0 0;
16088                text {
16089                   font: "Sans";
16090                   size: 10;
16091                   min: 1 1;
16092 //                  min: 0 1;
16093                   align: -1.0 0.5;
16094                   text_class: "list_item";
16095                }
16096             }
16097             description { state: "selected" 0.0;
16098                inherit: "default" 0.0;
16099                color: 224 224 224 255;
16100                color3: 0 0 0 64;
16101             }
16102          }
16103          part { name: "fg1";
16104             clip_to: "disclip";
16105             mouse_events: 0;
16106             description { state: "default" 0.0;
16107                visible: 0;
16108                color: 255 255 255 0;
16109                rel1.to: "bg";
16110                rel2.relative: 1.0 0.5;
16111                rel2.to: "bg";
16112                image {
16113                   normal: "bt_sm_hilight.png";
16114                   border: 6 6 6 0;
16115                }
16116             }
16117             description { state: "selected" 0.0;
16118                inherit: "default" 0.0;
16119                visible: 1;
16120                color: 255 255 255 255;
16121             }
16122             description {
16123                state: "selected" 1.0;
16124                inherit: "default" 0.0;
16125                visible: 1;
16126                color: 255 255 255 255;
16127             }
16128          }
16129          part { name: "fg2";
16130             clip_to: "disclip";
16131             mouse_events: 0;
16132             description { state: "default" 0.0;
16133                visible: 0;
16134                color: 255 255 255 0;
16135                rel1.to: "bg";
16136                rel2.to: "bg";
16137                image {
16138                   normal: "bt_sm_shine.png";
16139                   border: 6 6 6 0;
16140                }
16141             }
16142             description { state: "selected" 0.0;
16143                inherit: "default" 0.0;
16144                visible: 1;
16145                color: 255 255 255 255;
16146             }
16147             description {
16148                state: "selected" 1.0;
16149                inherit: "default" 0.0;
16150                visible: 1;
16151                color: 255 255 255 255;
16152             }
16153          }
16154          part { name: "disclip";
16155             type: RECT;
16156             description { state: "default" 0.0;
16157                rel1.to: "bg";
16158                rel2.to: "bg";
16159             }
16160             description { state: "disabled" 0.0;
16161                inherit: "default" 0.0;
16162                color: 255 255 255 64;
16163             }
16164          }
16165       }
16166       programs {
16167          // signal: elm,state,%s,active
16168          //   a "check" item named %s went active
16169          // signal: elm,state,%s,passive
16170          //   a "check" item named %s went passive
16171          // default is passive
16172          program {
16173             name:    "odd";
16174             signal:  "elm,state,odd";
16175             source:  "elm";
16176             action:  STATE_SET "default" 1.0;
16177             target:  "base_sh";
16178             target:  "base";
16179          }
16180          program {
16181             name:    "even";
16182             signal:  "elm,state,even";
16183             source:  "elm";
16184             action:  STATE_SET "default" 0.0;
16185             target:  "base_sh";
16186             target:  "base";
16187          }
16188          program {
16189             name:    "go_active";
16190             signal:  "elm,state,selected";
16191             source:  "elm";
16192             script {
16193                new st[31];
16194                new Float:vl;
16195                get_state(PART:"base", st, 30, vl);
16196                set_state(PART:"bg", "selected", vl);
16197                set_state(PART:"fg1", "selected", vl);
16198                set_state(PART:"fg2", "selected", vl);
16199                set_state(PART:"elm.text", "selected", vl);
16200             }
16201          }
16202          program {
16203             name:    "go_passive";
16204             signal:  "elm,state,unselected";
16205             source:  "elm";
16206             script {
16207                new st[31];
16208                new Float:vl;
16209                get_state(PART:"base", st, 30, vl);
16210                set_state(PART:"bg", "default", vl);
16211                set_state(PART:"fg1", "default", vl);
16212                set_state(PART:"fg2", "default", vl);
16213                set_state(PART:"elm.text", "default", vl);
16214             }
16215          }
16216          program {
16217             name:    "go_disabled";
16218             signal:  "elm,state,disabled";
16219             source:  "elm";
16220             action:  STATE_SET "disabled" 0.0;
16221             target:  "disclip";
16222          }
16223          program {
16224             name:    "go_enabled";
16225             signal:  "elm,state,enabled";
16226             source:  "elm";
16227             action:  STATE_SET "default" 0.0;
16228             target:  "disclip";
16229          }
16230       }
16231    }
16232    group { name: "elm/genlist/item/group_index/default";
16233       alias: "elm/genlist/item_compress/group_index/default";
16234       data.item: "selectraise" "on";
16235       data.item: "labels" "elm.text";
16236       data.item: "icons" "elm.swallow.icon elm.swallow.end";
16237       data.item: "treesize" "20";
16238 //      data.item: "states" "";
16239       images {
16240          image: "bt_sm_base1.png" COMP;
16241          image: "bt_sm_shine.png" COMP;
16242          image: "bt_sm_hilight.png" COMP;
16243          image: "ilist_item_shadow.png" COMP;
16244          image: "group_index.png" COMP;
16245       }
16246       parts {
16247          part {
16248             name: "event";
16249             type: RECT;
16250             repeat_events: 0;
16251             description {
16252                state: "default" 0.0;
16253                color: 0 0 0 0;
16254             }
16255          }
16256          part {
16257             name: "base_sh";
16258             mouse_events: 0;
16259             description {
16260                state: "default" 0.0;
16261                align: 0.0 0.0;
16262                min: 0 10;
16263                fixed: 1 1;
16264                rel1 {
16265                   to: "base";
16266                   relative: 0.0 1.0;
16267                   offset: 0 0;
16268                }
16269                rel2 {
16270                   to: "base";
16271                   relative: 1.0 1.0;
16272                   offset: -1 0;
16273                }
16274                image {
16275                   normal: "ilist_item_shadow.png";
16276                }
16277                fill.smooth: 0;
16278             }
16279          }
16280          part {
16281             name: "base";
16282             mouse_events: 0;
16283             description {
16284                state: "default" 0.0;
16285                image {
16286                   normal: "group_index.png";
16287                   border: 2 2 2 2;
16288                }
16289                fill.smooth: 0;
16290             }
16291          }
16292          part { name: "bg";
16293             clip_to: "disclip";
16294             mouse_events: 0;
16295             description { state: "default" 0.0;
16296                visible: 0;
16297                color: 255 255 255 0;
16298                rel1 {
16299                   relative: 0.0 0.0;
16300                   offset: -5 -5;
16301                }
16302                rel2 {
16303                   relative: 1.0 1.0;
16304                   offset: 4 4;
16305                }
16306                image {
16307                   normal: "bt_sm_base1.png";
16308                   border: 6 6 6 6;
16309                }
16310                image.middle: SOLID;
16311             }
16312             description { state: "selected" 0.0;
16313                inherit: "default" 0.0;
16314                visible: 1;
16315                color: 255 255 255 255;
16316                rel1 {
16317                   relative: 0.0 0.0;
16318                   offset: -2 -2;
16319                }
16320                rel2 {
16321                   relative: 1.0 1.0;
16322                   offset: 1 1;
16323                }
16324             }
16325          }
16326          part { name: "elm.swallow.pad";
16327             type: SWALLOW;
16328             description { state: "default" 0.0;
16329                fixed: 1 0;
16330                align: 0.0 0.5;
16331                rel1 {
16332                   relative: 0.0  0.0;
16333                   offset: 4 4;
16334                }
16335                rel2 {
16336                   relative: 0.0  1.0;
16337                   offset: 4 -5;
16338                }
16339             }
16340          }
16341          part { name: "elm.swallow.icon";
16342             clip_to: "disclip";
16343             type: SWALLOW;
16344             description { state: "default" 0.0;
16345                fixed: 1 0;
16346                align: 0.0 0.5;
16347                rel1 {
16348                   to_x: "elm.swallow.pad";
16349                   relative: 1.0 0.0;
16350                   offset: -1 4;
16351                }
16352                rel2 {
16353                   to_x: "elm.swallow.pad";
16354                   relative: 1.0 1.0;
16355                   offset: -1 -5;
16356                }
16357             }
16358          }
16359          part { name: "elm.swallow.end";
16360             clip_to: "disclip";
16361             type: SWALLOW;
16362             description { state: "default" 0.0;
16363                fixed: 1 0;
16364                align: 1.0 0.5;
16365                aspect: 1.0 1.0;
16366                aspect_preference: VERTICAL;
16367                rel1 {
16368                   relative: 1.0 0.0;
16369                   offset: -5 4;
16370                }
16371                rel2 {
16372                   relative: 1.0 1.0;
16373                   offset: -5 -5;
16374                }
16375             }
16376          }
16377          part { name: "elm.text";
16378             clip_to: "disclip";
16379             type: TEXT;
16380             effect: SOFT_SHADOW;
16381             mouse_events: 0;
16382             scale: 1;
16383             description {
16384                state: "default" 0.0;
16385 //               min: 16 16;
16386                rel1 {
16387                   to_x: "elm.swallow.icon";
16388                   relative: 1.0  0.0;
16389                   offset: 0 4;
16390                }
16391                rel2 {
16392                   to_x: "elm.swallow.end";
16393                   relative: 0.0  1.0;
16394                   offset: -1 -5;
16395                }
16396                color: 0 0 0 255;
16397                color3: 0 0 0 0;
16398                text {
16399                   font: "Sans";
16400                   size: 10;
16401                   min: 1 1;
16402 //                  min: 0 1;
16403                   align: -1.0 0.5;
16404                   text_class: "list_item";
16405                }
16406             }
16407             description { state: "selected" 0.0;
16408                inherit: "default" 0.0;
16409                color: 224 224 224 255;
16410                color3: 0 0 0 64;
16411             }
16412          }
16413          part { name: "fg1";
16414             clip_to: "disclip";
16415             mouse_events: 0;
16416             description { state: "default" 0.0;
16417                visible: 0;
16418                color: 255 255 255 0;
16419                rel1.to: "bg";
16420                rel2.relative: 1.0 0.5;
16421                rel2.to: "bg";
16422                image {
16423                   normal: "bt_sm_hilight.png";
16424                   border: 6 6 6 0;
16425                }
16426             }
16427             description { state: "selected" 0.0;
16428                inherit: "default" 0.0;
16429                visible: 1;
16430                color: 255 255 255 255;
16431             }
16432          }
16433          part { name: "fg2";
16434             clip_to: "disclip";
16435             mouse_events: 0;
16436             description { state: "default" 0.0;
16437                visible: 0;
16438                color: 255 255 255 0;
16439                rel1.to: "bg";
16440                rel2.to: "bg";
16441                image {
16442                   normal: "bt_sm_shine.png";
16443                   border: 6 6 6 0;
16444                }
16445             }
16446             description { state: "selected" 0.0;
16447                inherit: "default" 0.0;
16448                visible: 1;
16449                color: 255 255 255 255;
16450             }
16451          }
16452          part { name: "disclip";
16453             type: RECT;
16454             description { state: "default" 0.0;
16455                rel1.to: "bg";
16456                rel2.to: "bg";
16457             }
16458             description { state: "disabled" 0.0;
16459                inherit: "default" 0.0;
16460                color: 255 255 255 64;
16461             }
16462          }
16463       }
16464       programs {
16465          // signal: elm,state,%s,active
16466          //   a "check" item named %s went active
16467          // signal: elm,state,%s,passive
16468          //   a "check" item named %s went passive
16469          // default is passive
16470          program {
16471             name:    "go_active";
16472             signal:  "elm,state,selected";
16473             source:  "elm";
16474             action:  STATE_SET "selected" 0.0;
16475             target:  "bg";
16476             target:  "fg1";
16477             target:  "fg2";
16478             target:  "elm.text";
16479          }
16480          program {
16481             name:    "go_passive";
16482             signal:  "elm,state,unselected";
16483             source:  "elm";
16484             action:  STATE_SET "default" 0.0;
16485             target:  "bg";
16486             target:  "fg1";
16487             target:  "fg2";
16488             target:  "elm.text";
16489             transition: LINEAR 0.1;
16490          }
16491          program {
16492             name:    "go_disabled";
16493             signal:  "elm,state,disabled";
16494             source:  "elm";
16495             action:  STATE_SET "disabled" 0.0;
16496             target:  "disclip";
16497          }
16498          program {
16499             name:    "go_enabled";
16500             signal:  "elm,state,enabled";
16501             source:  "elm";
16502             action:  STATE_SET "default" 0.0;
16503             target:  "disclip";
16504          }
16505       }
16506    }
16507    group { name: "elm/genlist/item_compress/message/default";
16508       data.item: "selectraise" "on";
16509       data.item: "labels" "elm.title.1 elm.title.2 elm.text";
16510 //      data.item: "icons" "elm.swallow.icon elm.swallow.end";
16511       data.item: "treesize" "20";
16512 //      data.item: "states" "";
16513       images {
16514          image: "bt_sm_base1.png" COMP;
16515          image: "bt_sm_shine.png" COMP;
16516          image: "bt_sm_hilight.png" COMP;
16517          image: "ilist_1.png" COMP;
16518          image: "ilist_2.png" COMP;
16519          image: "ilist_item_shadow.png" COMP;
16520       }
16521       styles {
16522         style { name: "genlist_textblock_style";
16523           base: "font=Sans font_size=10 color=#000 wrap=char text_class=list_item";
16524           tag:  "br" "\n";
16525           tag:  "ps" "ps";
16526           tag:  "tab" "\t";
16527         }
16528         style { name: "genlist_textblock_style2";
16529           base: "font=Sans font_size=10 color=#fff wrap=char text_class=list_item";
16530           tag:  "br" "\n";
16531           tag:  "ps" "ps";
16532           tag:  "tab" "\t";
16533         }
16534       }
16535      parts {
16536          part {
16537             name:           "event";
16538             type:           RECT;
16539             repeat_events: 1;
16540             description {
16541                state: "default" 0.0;
16542                color: 0 0 0 0;
16543             }
16544          }
16545          part {
16546             name: "base_sh";
16547             mouse_events: 0;
16548             description {
16549                state: "default" 0.0;
16550                align: 0.0 0.0;
16551                min: 0 10;
16552                fixed: 1 1;
16553                rel1 {
16554                   to: "base";
16555                   relative: 0.0 1.0;
16556                   offset: 0 0;
16557                }
16558                rel2 {
16559                   to: "base";
16560                   relative: 1.0 1.0;
16561                   offset: -1 0;
16562                }
16563                image {
16564                   normal: "ilist_item_shadow.png";
16565                }
16566                fill.smooth: 0;
16567             }
16568             description {
16569                state: "default" 1.0;
16570                inherit: "default" 0.0;
16571                visible: 0;
16572             }
16573          }
16574          part {
16575             name: "base";
16576             mouse_events: 0;
16577             description {
16578                state: "default" 0.0;
16579                image {
16580                   normal: "ilist_1.png";
16581                   border: 2 2 2 2;
16582                }
16583                fill.smooth: 0;
16584             }
16585             description {
16586                state: "default" 1.0;
16587                inherit: "default" 0.0;
16588                image.normal: "ilist_2.png";
16589             }
16590          }
16591          part { name: "bg";
16592             clip_to: "disclip";
16593             mouse_events: 0;
16594             description { state: "default" 0.0;
16595                visible: 0;
16596                color: 255 255 255 0;
16597                rel1 {
16598                   relative: 0.0 0.0;
16599                   offset: -5 -5;
16600                }
16601                rel2 {
16602                   relative: 1.0 1.0;
16603                   offset: 4 4;
16604                }
16605                image {
16606                   normal: "bt_sm_base1.png";
16607                   border: 6 6 6 6;
16608                }
16609                image.middle: SOLID;
16610             }
16611             description { state: "selected" 0.0;
16612                inherit: "default" 0.0;
16613                visible: 1;
16614                color: 255 255 255 255;
16615                rel1 {
16616                   relative: 0.0 0.0;
16617                   offset: -2 -2;
16618                }
16619                rel2 {
16620                   relative: 1.0 1.0;
16621                   offset: 1 1;
16622                }
16623             }
16624          }
16625          part { name: "elm.title.1";
16626             clip_to: "disclip";
16627             type:           TEXT;
16628             effect:         SOFT_SHADOW;
16629             mouse_events:   0;
16630             scale: 1;
16631             description {
16632                state: "default" 0.0;
16633                fixed: 0 1;
16634 //               min: 16 16;
16635                rel1 {
16636                   relative: 0.0  0.0;
16637                   offset:   4 4;
16638                }
16639                rel2 {
16640                   relative: 1.0  0.0;
16641                   offset:   -5 4;
16642                }
16643                color: 0 0 0 255;
16644                color3: 0 0 0 0;
16645                align: 0.0 0.0;
16646                text {
16647                   font: "Sans";
16648                   size: 10;
16649                   min: 0 1;
16650 //                  min: 1 1;
16651                   align: 0.0 0.0;
16652                   text_class: "list_item";
16653                }
16654             }
16655             description { state: "selected" 0.0;
16656                inherit: "default" 0.0;
16657                color: 224 224 224 255;
16658                color3: 0 0 0 64;
16659             }
16660          }
16661          part { name: "elm.title.2";
16662             clip_to: "disclip";
16663             type:           TEXT;
16664             effect:         SOFT_SHADOW;
16665             mouse_events:   0;
16666             scale: 1;
16667             description {
16668                state: "default" 0.0;
16669                fixed: 0 1;
16670 //               min: 16 16;
16671                rel1 {
16672                   to_y:     "elm.title.1";
16673                   relative: 0.0  1.0;
16674                   offset:   4 0;
16675                }
16676                rel2 {
16677                   to_y:     "elm.title.1";
16678                   relative: 1.0  1.0;
16679                   offset:   -5 0;
16680                }
16681                color: 0 0 0 255;
16682                color3: 0 0 0 0;
16683                align: 0.0 0.0;
16684                text {
16685                   font: "Sans";
16686                   size: 10;
16687                   min: 0 1;
16688 //                  min: 1 1;
16689                   align: 0.0 0.0;
16690                   text_class: "list_item";
16691                }
16692             }
16693             description { state: "selected" 0.0;
16694                inherit: "default" 0.0;
16695                color: 224 224 224 255;
16696                color3: 0 0 0 64;
16697             }
16698          }
16699          part { name: "elm.text";
16700             clip_to: "disclip";
16701             type:           TEXTBLOCK;
16702             mouse_events:   0;
16703             scale: 1;
16704             description {
16705                state: "default" 0.0;
16706 //               fixed: 0 1;
16707 //               min: 16 16;
16708                rel1 {
16709                   to_y:     "elm.title.2";
16710                   relative: 0.0  1.0;
16711                   offset:   4 0;
16712                }
16713                rel2 {
16714                   relative: 1.0  1.0;
16715                   offset:   -5 -5;
16716                }
16717                align: 0.0 0.0;
16718                text {
16719                   style: "genlist_textblock_style";
16720                   min: 0 1;
16721 //                  min: 1 1;
16722                   align: 0.0 0.0;
16723                }
16724             }
16725             description { state: "selected" 0.0;
16726                inherit: "default" 0.0;
16727                text {
16728                   style: "genlist_textblock_style2";
16729                }
16730             }
16731          }
16732          part { name: "fg1";
16733             clip_to: "disclip";
16734             mouse_events: 0;
16735             description { state: "default" 0.0;
16736                visible: 0;
16737                color: 255 255 255 0;
16738                rel1.to: "bg";
16739                rel2.relative: 1.0 0.5;
16740                rel2.to: "bg";
16741                image {
16742                   normal: "bt_sm_hilight.png";
16743                   border: 6 6 6 0;
16744                }
16745             }
16746             description { state: "selected" 0.0;
16747                inherit: "default" 0.0;
16748                visible: 1;
16749                color: 255 255 255 255;
16750             }
16751          }
16752          part { name: "fg2";
16753             clip_to: "disclip";
16754             mouse_events: 0;
16755             description { state: "default" 0.0;
16756                visible: 0;
16757                color: 255 255 255 0;
16758                rel1.to: "bg";
16759                rel2.to: "bg";
16760                image {
16761                   normal: "bt_sm_shine.png";
16762                   border: 6 6 6 0;
16763                }
16764             }
16765             description { state: "selected" 0.0;
16766                inherit: "default" 0.0;
16767                visible: 1;
16768                color: 255 255 255 255;
16769             }
16770          }
16771          part { name: "disclip";
16772             type: RECT;
16773             description { state: "default" 0.0;
16774                rel1.to: "bg";
16775                rel2.to: "bg";
16776             }
16777             description { state: "disabled" 0.0;
16778                inherit: "default" 0.0;
16779                color: 255 255 255 64;
16780             }
16781          }
16782       }
16783       programs {
16784          // signal: elm,state,%s,active
16785          //   a "check" item named %s went active
16786          // signal: elm,state,%s,passive
16787          //   a "check" item named %s went passive
16788          // default is passive
16789          program {
16790             name:    "odd";
16791             signal:  "elm,state,odd";
16792             source:  "elm";
16793             action:  STATE_SET "default" 1.0;
16794             target:  "base_sh";
16795             target:  "base";
16796          }
16797          program {
16798             name:    "even";
16799             signal:  "elm,state,even";
16800             source:  "elm";
16801             action:  STATE_SET "default" 0.0;
16802             target:  "base_sh";
16803             target:  "base";
16804          }
16805          program {
16806             name:    "go_active";
16807             signal:  "elm,state,selected";
16808             source:  "elm";
16809             action:  STATE_SET "selected" 0.0;
16810             target:  "bg";
16811             target:  "fg1";
16812             target:  "fg2";
16813             target:  "elm.title.1";
16814             target:  "elm.title.2";
16815             target:  "elm.text";
16816          }
16817          program {
16818             name:    "go_passive";
16819             signal:  "elm,state,unselected";
16820             source:  "elm";
16821             action:  STATE_SET "default" 0.0;
16822             target:  "bg";
16823             target:  "fg1";
16824             target:  "fg2";
16825             target:  "elm.title.1";
16826             target:  "elm.title.2";
16827             target:  "elm.text";
16828             transition: LINEAR 0.1;
16829          }
16830          program {
16831             name:    "go_disabled";
16832             signal:  "elm,state,disabled";
16833             source:  "elm";
16834             action:  STATE_SET "disabled" 0.0;
16835             target:  "disclip";
16836          }
16837          program {
16838             name:    "go_enabled";
16839             signal:  "elm,state,enabled";
16840             source:  "elm";
16841             action:  STATE_SET "default" 0.0;
16842             target:  "disclip";
16843          }
16844       }
16845    }
16846
16847    group { name: "elm/genlist/item_compress/default/default";
16848       data.item: "selectraise" "on";
16849       data.item: "labels" "elm.text";
16850       data.item: "icons" "elm.swallow.icon elm.swallow.end";
16851       data.item: "treesize" "20";
16852 //      data.item: "states" "";
16853       images {
16854          image: "bt_sm_base1.png" COMP;
16855          image: "bt_sm_shine.png" COMP;
16856          image: "bt_sm_hilight.png" COMP;
16857          image: "ilist_1.png" COMP;
16858          image: "ilist_2.png" COMP;
16859          image: "ilist_item_shadow.png" COMP;
16860       }
16861       parts {
16862          part {
16863             name:           "event";
16864             type:           RECT;
16865             repeat_events: 1;
16866             description {
16867                state: "default" 0.0;
16868                color: 0 0 0 0;
16869             }
16870          }
16871          part {
16872             name: "base_sh";
16873             mouse_events: 0;
16874             description {
16875                state: "default" 0.0;
16876                align: 0.0 0.0;
16877                min: 0 10;
16878                fixed: 1 1;
16879                rel1 {
16880                   to: "base";
16881                   relative: 0.0 1.0;
16882                   offset: 0 0;
16883                }
16884                rel2 {
16885                   to: "base";
16886                   relative: 1.0 1.0;
16887                   offset: -1 0;
16888                }
16889                image {
16890                   normal: "ilist_item_shadow.png";
16891                }
16892                fill.smooth: 0;
16893             }
16894             description {
16895                state: "default" 1.0;
16896                inherit: "default" 0.0;
16897                visible: 0;
16898             }
16899          }
16900          part {
16901             name: "base";
16902             mouse_events: 0;
16903             description {
16904                state: "default" 0.0;
16905                image {
16906                   normal: "ilist_1.png";
16907                   border: 2 2 2 2;
16908                }
16909                fill.smooth: 0;
16910             }
16911             description {
16912                state: "default" 1.0;
16913                inherit: "default" 0.0;
16914                image.normal: "ilist_2.png";
16915             }
16916          }
16917          part { name: "bg";
16918             clip_to: "disclip";
16919             mouse_events: 0;
16920             description { state: "default" 0.0;
16921                visible: 0;
16922                color: 255 255 255 0;
16923                rel1 {
16924                   relative: 0.0 0.0;
16925                   offset: -5 -5;
16926                }
16927                rel2 {
16928                   relative: 1.0 1.0;
16929                   offset: 4 4;
16930                }
16931                image {
16932                   normal: "bt_sm_base1.png";
16933                   border: 6 6 6 6;
16934                }
16935                image.middle: SOLID;
16936             }
16937             description { state: "selected" 0.0;
16938                inherit: "default" 0.0;
16939                visible: 1;
16940                color: 255 255 255 255;
16941                rel1 {
16942                   relative: 0.0 0.0;
16943                   offset: -2 -2;
16944                }
16945                rel2 {
16946                   relative: 1.0 1.0;
16947                   offset: 1 1;
16948                }
16949             }
16950          }
16951          part { name: "elm.swallow.pad";
16952             type: SWALLOW;
16953             description { state: "default" 0.0;
16954                fixed: 1 0;
16955                align: 0.0 0.5;
16956                rel1 {
16957                   relative: 0.0  0.0;
16958                   offset:   4    4;
16959                }
16960                rel2 {
16961                   relative: 0.0  1.0;
16962                   offset:   4   -5;
16963                }
16964             }
16965          }
16966          part { name: "elm.swallow.icon";
16967             clip_to: "disclip";
16968             type: SWALLOW;
16969             description { state: "default" 0.0;
16970                fixed: 1 0;
16971                align: 0.0 0.5;
16972                rel1 {
16973                   to_x: "elm.swallow.pad";
16974                   relative: 1.0  0.0;
16975                   offset:   -1    4;
16976                }
16977                rel2 {
16978                   to_x: "elm.swallow.pad";
16979                   relative: 1.0  1.0;
16980                   offset:   -1   -5;
16981                }
16982             }
16983          }
16984          part { name: "elm.swallow.end";
16985             clip_to: "disclip";
16986             type: SWALLOW;
16987             description { state: "default" 0.0;
16988                fixed: 1 0;
16989                align: 1.0 0.5;
16990                aspect: 1.0 1.0;
16991                aspect_preference: VERTICAL;
16992                rel1 {
16993                   relative: 1.0  0.0;
16994                   offset:   -5    4;
16995                }
16996                rel2 {
16997                   relative: 1.0  1.0;
16998                   offset:   -5   -5;
16999                }
17000             }
17001          }
17002          part { name: "elm.text";
17003             clip_to: "disclip";
17004             type:           TEXT;
17005             effect:         SOFT_SHADOW;
17006             mouse_events:   0;
17007             scale: 1;
17008             description {
17009                state: "default" 0.0;
17010 //               min: 16 16;
17011                rel1 {
17012                   to_x:     "elm.swallow.icon";
17013                   relative: 1.0  0.0;
17014                   offset:   0 4;
17015                }
17016                rel2 {
17017                   to_x:     "elm.swallow.end";
17018                   relative: 0.0  1.0;
17019                   offset:   -1 -5;
17020                }
17021                color: 0 0 0 255;
17022                color3: 0 0 0 0;
17023                text {
17024                   font: "Sans";
17025                   size: 10;
17026                   min: 0 1;
17027 //                  min: 1 1;
17028                   align: 0.0 0.5;
17029                   text_class: "list_item";
17030                }
17031             }
17032             description { state: "selected" 0.0;
17033                inherit: "default" 0.0;
17034                color: 224 224 224 255;
17035                color3: 0 0 0 64;
17036             }
17037          }
17038          part { name: "fg1";
17039             clip_to: "disclip";
17040             mouse_events: 0;
17041             description { state: "default" 0.0;
17042                visible: 0;
17043                color: 255 255 255 0;
17044                rel1.to: "bg";
17045                rel2.relative: 1.0 0.5;
17046                rel2.to: "bg";
17047                image {
17048                   normal: "bt_sm_hilight.png";
17049                   border: 6 6 6 0;
17050                }
17051             }
17052             description { state: "selected" 0.0;
17053                inherit: "default" 0.0;
17054                visible: 1;
17055                color: 255 255 255 255;
17056             }
17057          }
17058          part { name: "fg2";
17059             clip_to: "disclip";
17060             mouse_events: 0;
17061             description { state: "default" 0.0;
17062                visible: 0;
17063                color: 255 255 255 0;
17064                rel1.to: "bg";
17065                rel2.to: "bg";
17066                image {
17067                   normal: "bt_sm_shine.png";
17068                   border: 6 6 6 0;
17069                }
17070             }
17071             description { state: "selected" 0.0;
17072                inherit: "default" 0.0;
17073                visible: 1;
17074                color: 255 255 255 255;
17075             }
17076          }
17077          part { name: "disclip";
17078             type: RECT;
17079             description { state: "default" 0.0;
17080                rel1.to: "bg";
17081                rel2.to: "bg";
17082             }
17083             description { state: "disabled" 0.0;
17084                inherit: "default" 0.0;
17085                color: 255 255 255 64;
17086             }
17087          }
17088       }
17089       programs {
17090          // signal: elm,state,%s,active
17091          //   a "check" item named %s went active
17092          // signal: elm,state,%s,passive
17093          //   a "check" item named %s went passive
17094          // default is passive
17095          program {
17096             name:    "odd";
17097             signal:  "elm,state,odd";
17098             source:  "elm";
17099             action:  STATE_SET "default" 1.0;
17100             target:  "base_sh";
17101             target:  "base";
17102          }
17103          program {
17104             name:    "even";
17105             signal:  "elm,state,even";
17106             source:  "elm";
17107             action:  STATE_SET "default" 0.0;
17108             target:  "base_sh";
17109             target:  "base";
17110          }
17111          program {
17112             name:    "go_active";
17113             signal:  "elm,state,selected";
17114             source:  "elm";
17115             action:  STATE_SET "selected" 0.0;
17116             target:  "bg";
17117             target:  "fg1";
17118             target:  "fg2";
17119             target:  "elm.text";
17120          }
17121          program {
17122             name:    "go_passive";
17123             signal:  "elm,state,unselected";
17124             source:  "elm";
17125             action:  STATE_SET "default" 0.0;
17126             target:  "bg";
17127             target:  "fg1";
17128             target:  "fg2";
17129             target:  "elm.text";
17130             transition: LINEAR 0.1;
17131          }
17132          program {
17133             name:    "go_disabled";
17134             signal:  "elm,state,disabled";
17135             source:  "elm";
17136             action:  STATE_SET "disabled" 0.0;
17137             target:  "disclip";
17138          }
17139          program {
17140             name:    "go_enabled";
17141             signal:  "elm,state,enabled";
17142             source:  "elm";
17143             action:  STATE_SET "default" 0.0;
17144             target:  "disclip";
17145          }
17146       }
17147    }
17148
17149    group { name: "elm/genlist/tree/default/default";
17150       data.item: "selectraise" "on";
17151       data.item: "labels" "elm.text";
17152       data.item: "icons" "elm.swallow.icon elm.swallow.end";
17153       data.item: "treesize" "20";
17154 //      data.item: "states" "";
17155       images {
17156          image: "bt_sm_base1.png" COMP;
17157          image: "bt_sm_shine.png" COMP;
17158          image: "bt_sm_hilight.png" COMP;
17159          image: "ilist_1.png" COMP;
17160          image: "ilist_2.png" COMP;
17161          image: "ilist_item_shadow.png" COMP;
17162          image: "icon_arrow_left.png" COMP;
17163          image: "icon_arrow_right.png" COMP;
17164          image: "icon_arrow_down.png" COMP;
17165       }
17166       parts {
17167          part {
17168             name:           "event";
17169             type:           RECT;
17170             repeat_events: 1;
17171             description {
17172                state: "default" 0.0;
17173                color: 0 0 0 0;
17174             }
17175          }
17176          part {
17177             name: "base_sh";
17178             mouse_events: 0;
17179             description {
17180                state: "default" 0.0;
17181                align: 0.0 0.0;
17182                min: 0 10;
17183                fixed: 1 1;
17184                rel1 {
17185                   to: "base";
17186                   relative: 0.0 1.0;
17187                   offset: 0 0;
17188                }
17189                rel2 {
17190                   to: "base";
17191                   relative: 1.0 1.0;
17192                   offset: -1 0;
17193                }
17194                image {
17195                   normal: "ilist_item_shadow.png";
17196                }
17197                fill.smooth: 0;
17198             }
17199             description {
17200                state: "default" 1.0;
17201                inherit: "default" 0.0;
17202                visible: 0;
17203             }
17204          }
17205          part {
17206             name: "base";
17207             mouse_events: 0;
17208             description {
17209                state: "default" 0.0;
17210                image {
17211                   normal: "ilist_1.png";
17212                   border: 2 2 2 2;
17213                }
17214                fill.smooth: 0;
17215             }
17216             description {
17217                state: "default" 1.0;
17218                inherit: "default" 0.0;
17219                image.normal: "ilist_2.png";
17220             }
17221          }
17222          part { name: "bg";
17223             clip_to: "disclip";
17224             mouse_events: 0;
17225             description { state: "default" 0.0;
17226                visible: 0;
17227                color: 255 255 255 0;
17228                rel1 {
17229                   relative: 0.0 0.0;
17230                   offset: -5 -5;
17231                }
17232                rel2 {
17233                   relative: 1.0 1.0;
17234                   offset: 4 4;
17235                }
17236                image {
17237                   normal: "bt_sm_base1.png";
17238                   border: 6 6 6 6;
17239                }
17240                image.middle: SOLID;
17241             }
17242             description { state: "selected" 0.0;
17243                inherit: "default" 0.0;
17244                visible: 1;
17245                color: 255 255 255 255;
17246                rel1 {
17247                   relative: 0.0 0.0;
17248                   offset: -2 -2;
17249                }
17250                rel2 {
17251                   relative: 1.0 1.0;
17252                   offset: 1 1;
17253                }
17254             }
17255          }
17256          part { name: "elm.swallow.pad";
17257             type: SWALLOW;
17258             description { state: "default" 0.0;
17259                fixed: 1 0;
17260                align: 0.0 0.5;
17261                rel1 {
17262                   relative: 0.0  0.0;
17263                   offset:   4    4;
17264                }
17265                rel2 {
17266                   relative: 0.0  1.0;
17267                   offset:   4   -5;
17268                }
17269             }
17270          }
17271          part { name: "arrow";
17272             clip_to: "disclip";
17273             ignore_flags: ON_HOLD;
17274             description { state: "default" 0.0;
17275                fixed: 1 0;
17276                align: 0.0 0.5;
17277                aspect: 1.0 1.0;
17278                rel1 {
17279                   to_x: "elm.swallow.pad";
17280                   relative: 1.0  0.0;
17281                   offset:   -1    4;
17282                }
17283                rel2 {
17284                   to_x: "elm.swallow.pad";
17285                   relative: 1.0  1.0;
17286                   offset:   -1   -5;
17287                }
17288                image.normal: "icon_arrow_right.png";
17289             }
17290             description { state: "default" 0.1;
17291                inherit: "default" 0.0;
17292                image.normal: "icon_arrow_left.png";
17293             }
17294             description { state: "active" 0.0;
17295                inherit: "default" 0.0;
17296                image.normal: "icon_arrow_down.png";
17297             }
17298             description { state: "active" 0.1;
17299                inherit: "default" 0.0;
17300                image.normal: "icon_arrow_down.png";
17301             }
17302          }
17303          part { name: "elm.swallow.icon";
17304             clip_to: "disclip";
17305             type: SWALLOW;
17306             description { state: "default" 0.0;
17307                fixed: 1 0;
17308                align: 0.0 0.5;
17309                rel1 {
17310                   to_x: "arrow";
17311                   relative: 1.0  0.0;
17312                   offset:   4    4;
17313                }
17314                rel2 {
17315                   to_x: "arrow";
17316                   relative: 1.0  1.0;
17317                   offset:   4   -5;
17318                }
17319             }
17320          }
17321          part { name: "elm.swallow.end";
17322             clip_to: "disclip";
17323             type: SWALLOW;
17324             description { state: "default" 0.0;
17325                fixed: 1 0;
17326                align: 1.0 0.5;
17327                aspect: 1.0 1.0;
17328                aspect_preference: VERTICAL;
17329                rel1 {
17330                   relative: 1.0  0.0;
17331                   offset:   -5    4;
17332                }
17333                rel2 {
17334                   relative: 1.0  1.0;
17335                   offset:   -5   -5;
17336                }
17337             }
17338          }
17339          part { name: "elm.text";
17340             clip_to: "disclip";
17341             type:           TEXT;
17342             effect:         SOFT_SHADOW;
17343             mouse_events:   0;
17344             scale: 1;
17345             description {
17346                state: "default" 0.0;
17347 //               min: 16 16;
17348                rel1 {
17349                   to_x:     "elm.swallow.icon";
17350                   relative: 1.0  0.0;
17351                   offset:   0 4;
17352                }
17353                rel2 {
17354                   to_x:     "elm.swallow.end";
17355                   relative: 0.0  1.0;
17356                   offset:   -1 -5;
17357                }
17358                color: 0 0 0 255;
17359                color3: 0 0 0 0;
17360                text {
17361                   font: "Sans";
17362                   size: 10;
17363                   min: 1 1;
17364 //                  min: 0 1;
17365                   align: -1.0 0.5;
17366                   text_class: "list_item";
17367                }
17368             }
17369             description { state: "selected" 0.0;
17370                inherit: "default" 0.0;
17371                color: 224 224 224 255;
17372                color3: 0 0 0 64;
17373             }
17374          }
17375          part { name: "fg1";
17376             clip_to: "disclip";
17377             mouse_events: 0;
17378             description { state: "default" 0.0;
17379                visible: 0;
17380                color: 255 255 255 0;
17381                rel1.to: "bg";
17382                rel2.relative: 1.0 0.5;
17383                rel2.to: "bg";
17384                image {
17385                   normal: "bt_sm_hilight.png";
17386                   border: 6 6 6 0;
17387                }
17388             }
17389             description { state: "selected" 0.0;
17390                inherit: "default" 0.0;
17391                visible: 1;
17392                color: 255 255 255 255;
17393             }
17394          }
17395          part { name: "fg2";
17396             clip_to: "disclip";
17397             mouse_events: 0;
17398             description { state: "default" 0.0;
17399                visible: 0;
17400                color: 255 255 255 0;
17401                rel1.to: "bg";
17402                rel2.to: "bg";
17403                image {
17404                   normal: "bt_sm_shine.png";
17405                   border: 6 6 6 0;
17406                }
17407             }
17408             description { state: "selected" 0.0;
17409                inherit: "default" 0.0;
17410                visible: 1;
17411                color: 255 255 255 255;
17412             }
17413          }
17414          part { name: "disclip";
17415             type: RECT;
17416             description { state: "default" 0.0;
17417                rel1.to: "bg";
17418                rel2.to: "bg";
17419             }
17420             description { state: "disabled" 0.0;
17421                inherit: "default" 0.0;
17422                color: 255 255 255 64;
17423             }
17424          }
17425       }
17426       programs {
17427          // signal: elm,state,%s,active
17428          //   a "check" item named %s went active
17429          // signal: elm,state,%s,passive
17430          //   a "check" item named %s went passive
17431          // default is passive
17432          program {
17433             name:    "odd";
17434             signal:  "elm,state,odd";
17435             source:  "elm";
17436             action:  STATE_SET "default" 1.0;
17437             target:  "base_sh";
17438             target:  "base";
17439          }
17440          program {
17441             name:    "even";
17442             signal:  "elm,state,even";
17443             source:  "elm";
17444             action:  STATE_SET "default" 0.0;
17445             target:  "base_sh";
17446             target:  "base";
17447          }
17448          program {
17449             name:    "go_active";
17450             signal:  "elm,state,selected";
17451             source:  "elm";
17452             action:  STATE_SET "selected" 0.0;
17453             target:  "bg";
17454             target:  "fg1";
17455             target:  "fg2";
17456             target:  "elm.text";
17457          }
17458          program {
17459             name:    "go_passive";
17460             signal:  "elm,state,unselected";
17461             source:  "elm";
17462             action:  STATE_SET "default" 0.0;
17463             target:  "bg";
17464             target:  "fg1";
17465             target:  "fg2";
17466             target:  "elm.text";
17467             transition: LINEAR 0.1;
17468          }
17469          program {
17470             name:    "go_disabled";
17471             signal:  "elm,state,disabled";
17472             source:  "elm";
17473             action:  STATE_SET "disabled" 0.0;
17474             target:  "disclip";
17475          }
17476          program {
17477             name:    "go_enabled";
17478             signal:  "elm,state,enabled";
17479             source:  "elm";
17480             action:  STATE_SET "default" 0.0;
17481             target:  "disclip";
17482          }
17483          program {
17484             name:    "expand";
17485             signal:  "mouse,up,1";
17486             source:  "arrow";
17487             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
17488          }
17489          program {
17490             name:    "go_expanded";
17491             signal:  "elm,state,expanded";
17492             source:  "elm";
17493             script {
17494                new st[31];
17495                new Float:vl;
17496                get_state(PART:"arrow", st, 30, vl);
17497                set_state(PART:"arrow", "active", vl);
17498             }
17499          }
17500          program {
17501             name:    "go_contracted";
17502             signal:  "elm,state,contracted";
17503             source:  "elm";
17504             script {
17505                new st[31];
17506                new Float:vl;
17507                get_state(PART:"arrow", st, 30, vl);
17508                set_state(PART:"arrow", "default", vl);
17509             }
17510          }
17511          program { name: "to_rtl";
17512             signal: "edje,state,rtl";
17513             source: "edje";
17514             script {
17515                new st[31];
17516                new Float:vl;
17517                get_state(PART:"arrow", st, 30, vl);
17518                if (vl == 0.0) {
17519                   set_state(PART:"arrow", st, 0.1);
17520                }
17521             }
17522          }
17523          program { name: "to_ltr";
17524             signal: "edje,state,ltr";
17525             source: "edje";
17526             script {
17527                new st[31];
17528                new Float:vl;
17529                get_state(PART:"arrow", st, 30, vl);
17530                if (vl == 0.1) {
17531                   set_state(PART:"arrow", st, 0.0);
17532                }
17533             }
17534          }
17535       }
17536    }
17537    group { name: "elm/genlist/tree_compress/default/default";
17538       data.item: "stacking" "above";
17539       data.item: "selectraise" "on";
17540       data.item: "labels" "elm.text";
17541       data.item: "icons" "elm.swallow.icon elm.swallow.end";
17542       data.item: "treesize" "20";
17543 //      data.item: "states" "";
17544       images {
17545          image: "bt_sm_base1.png" COMP;
17546          image: "bt_sm_shine.png" COMP;
17547          image: "bt_sm_hilight.png" COMP;
17548          image: "ilist_1.png" COMP;
17549          image: "ilist_item_shadow.png" COMP;
17550          image: "icon_arrow_left.png" COMP;
17551          image: "icon_arrow_right.png" COMP;
17552          image: "icon_arrow_down.png" COMP;
17553       }
17554       parts {
17555          part {
17556             name:           "event";
17557             type:           RECT;
17558             repeat_events: 1;
17559             description {
17560                state: "default" 0.0;
17561                color: 0 0 0 0;
17562             }
17563          }
17564          part {
17565             name: "base_sh";
17566             mouse_events: 0;
17567             description {
17568                state: "default" 0.0;
17569                align: 0.0 0.0;
17570                min: 0 10;
17571                fixed: 1 1;
17572                rel1 {
17573                   to: "base";
17574                   relative: 0.0 1.0;
17575                   offset: 0 0;
17576                }
17577                rel2 {
17578                   to: "base";
17579                   relative: 1.0 1.0;
17580                   offset: -1 0;
17581                }
17582                image {
17583                   normal: "ilist_item_shadow.png";
17584                }
17585                fill.smooth: 0;
17586             }
17587             description {
17588                state: "default" 1.0;
17589                inherit: "default" 0.0;
17590                visible: 0;
17591             }
17592          }
17593          part {
17594             name: "base";
17595             mouse_events: 0;
17596             description {
17597                state: "default" 0.0;
17598                image {
17599                   normal: "ilist_1.png";
17600                   border: 2 2 2 2;
17601                }
17602                fill.smooth: 0;
17603             }
17604             description {
17605                state: "default" 1.0;
17606                inherit: "default" 0.0;
17607                image.normal: "ilist_2.png";
17608             }
17609          }
17610          part { name: "bg";
17611             clip_to: "disclip";
17612             mouse_events: 0;
17613             description { state: "default" 0.0;
17614                visible: 0;
17615                color: 255 255 255 0;
17616                rel1 {
17617                   relative: 0.0 0.0;
17618                   offset: -5 -5;
17619                }
17620                rel2 {
17621                   relative: 1.0 1.0;
17622                   offset: 4 4;
17623                }
17624                image {
17625                   normal: "bt_sm_base1.png";
17626                   border: 6 6 6 6;
17627                }
17628                image.middle: SOLID;
17629             }
17630             description { state: "selected" 0.0;
17631                inherit: "default" 0.0;
17632                visible: 1;
17633                color: 255 255 255 255;
17634                rel1 {
17635                   relative: 0.0 0.0;
17636                   offset: -2 -2;
17637                }
17638                rel2 {
17639                   relative: 1.0 1.0;
17640                   offset: 1 1;
17641                }
17642             }
17643          }
17644          part { name: "elm.swallow.pad";
17645             type: SWALLOW;
17646             description { state: "default" 0.0;
17647                fixed: 1 0;
17648                align: 0.0 0.5;
17649                rel1 {
17650                   relative: 0.0  0.0;
17651                   offset:   4    4;
17652                }
17653                rel2 {
17654                   relative: 0.0  1.0;
17655                   offset:   4   -5;
17656                }
17657             }
17658          }
17659          part { name: "arrow";
17660             clip_to: "disclip";
17661             ignore_flags: ON_HOLD;
17662             description { state: "default" 0.0;
17663                fixed: 1 0;
17664                align: 0.0 0.5;
17665                aspect: 1.0 1.0;
17666                rel1 {
17667                   to_x: "elm.swallow.pad";
17668                   relative: 1.0  0.0;
17669                   offset:   -1    4;
17670                }
17671                rel2 {
17672                   to_x: "elm.swallow.pad";
17673                   relative: 1.0  1.0;
17674                   offset:   -1   -5;
17675                }
17676                image.normal: "icon_arrow_right.png";
17677             }
17678             description { state: "default" 0.1;
17679                inherit: "default" 0.0;
17680                image.normal: "icon_arrow_left.png";
17681             }
17682             description { state: "active" 0.0;
17683                inherit: "default" 0.0;
17684                image.normal: "icon_arrow_down.png";
17685             }
17686             description { state: "active" 0.1;
17687                inherit: "default" 0.0;
17688                image.normal: "icon_arrow_down.png";
17689             }
17690          }
17691          part { name: "elm.swallow.icon";
17692             clip_to: "disclip";
17693             type: SWALLOW;
17694             description { state: "default" 0.0;
17695                fixed: 1 0;
17696                align: 0.0 0.5;
17697                rel1 {
17698                   to_x: "arrow";
17699                   relative: 1.0  0.0;
17700                   offset:   4    4;
17701                }
17702                rel2 {
17703                   to_x: "arrow";
17704                   relative: 1.0  1.0;
17705                   offset:   4   -5;
17706                }
17707             }
17708          }
17709          part { name: "elm.swallow.end";
17710             clip_to: "disclip";
17711             type: SWALLOW;
17712             description { state: "default" 0.0;
17713                fixed: 1 0;
17714                align: 1.0 0.5;
17715                aspect: 1.0 1.0;
17716                aspect_preference: VERTICAL;
17717                rel1 {
17718                   relative: 1.0  0.0;
17719                   offset:   -5    4;
17720                }
17721                rel2 {
17722                   relative: 1.0  1.0;
17723                   offset:   -5   -5;
17724                }
17725             }
17726          }
17727          part { name: "elm.text";
17728             clip_to: "disclip";
17729             type:           TEXT;
17730             effect:         SOFT_SHADOW;
17731             mouse_events:   0;
17732             scale: 1;
17733             description {
17734                state: "default" 0.0;
17735 //               min: 16 16;
17736                rel1 {
17737                   to_x:     "elm.swallow.icon";
17738                   relative: 1.0  0.0;
17739                   offset:   0 4;
17740                }
17741                rel2 {
17742                   to_x:     "elm.swallow.end";
17743                   relative: 0.0  1.0;
17744                   offset:   -1 -5;
17745                }
17746                color: 0 0 0 255;
17747                color3: 0 0 0 0;
17748                text {
17749                   font: "Sans";
17750                   size: 10;
17751 //                  min: 1 1;
17752                   min: 0 1;
17753                   align: 0.0 0.5;
17754                   text_class: "list_item";
17755                }
17756             }
17757             description { state: "selected" 0.0;
17758                inherit: "default" 0.0;
17759                color: 224 224 224 255;
17760                color3: 0 0 0 64;
17761             }
17762          }
17763          part { name: "fg1";
17764             clip_to: "disclip";
17765             mouse_events: 0;
17766             description { state: "default" 0.0;
17767                visible: 0;
17768                color: 255 255 255 0;
17769                rel1.to: "bg";
17770                rel2.relative: 1.0 0.5;
17771                rel2.to: "bg";
17772                image {
17773                   normal: "bt_sm_hilight.png";
17774                   border: 6 6 6 0;
17775                }
17776             }
17777             description { state: "selected" 0.0;
17778                inherit: "default" 0.0;
17779                visible: 1;
17780                color: 255 255 255 255;
17781             }
17782          }
17783          part { name: "fg2";
17784             clip_to: "disclip";
17785             mouse_events: 0;
17786             description { state: "default" 0.0;
17787                visible: 0;
17788                color: 255 255 255 0;
17789                rel1.to: "bg";
17790                rel2.to: "bg";
17791                image {
17792                   normal: "bt_sm_shine.png";
17793                   border: 6 6 6 0;
17794                }
17795             }
17796             description { state: "selected" 0.0;
17797                inherit: "default" 0.0;
17798                visible: 1;
17799                color: 255 255 255 255;
17800             }
17801          }
17802          part { name: "disclip";
17803             type: RECT;
17804             description { state: "default" 0.0;
17805                rel1.to: "bg";
17806                rel2.to: "bg";
17807             }
17808             description { state: "disabled" 0.0;
17809                inherit: "default" 0.0;
17810                color: 255 255 255 64;
17811             }
17812          }
17813       }
17814       programs {
17815          // signal: elm,state,%s,active
17816          //   a "check" item named %s went active
17817          // signal: elm,state,%s,passive
17818          //   a "check" item named %s went passive
17819          // default is passive
17820          program {
17821             name:    "odd";
17822             signal:  "elm,state,odd";
17823             source:  "elm";
17824             action:  STATE_SET "default" 1.0;
17825             target:  "base_sh";
17826             target:  "base";
17827          }
17828          program {
17829             name:    "even";
17830             signal:  "elm,state,even";
17831             source:  "elm";
17832             action:  STATE_SET "default" 0.0;
17833             target:  "base_sh";
17834             target:  "base";
17835          }
17836          program {
17837             name:    "go_active";
17838             signal:  "elm,state,selected";
17839             source:  "elm";
17840             action:  STATE_SET "selected" 0.0;
17841             target:  "bg";
17842             target:  "fg1";
17843             target:  "fg2";
17844             target:  "elm.text";
17845          }
17846          program {
17847             name:    "go_passive";
17848             signal:  "elm,state,unselected";
17849             source:  "elm";
17850             action:  STATE_SET "default" 0.0;
17851             target:  "bg";
17852             target:  "fg1";
17853             target:  "fg2";
17854             target:  "elm.text";
17855             transition: LINEAR 0.1;
17856          }
17857          program {
17858             name:    "go_disabled";
17859             signal:  "elm,state,disabled";
17860             source:  "elm";
17861             action:  STATE_SET "disabled" 0.0;
17862             target:  "disclip";
17863          }
17864          program {
17865             name:    "go_enabled";
17866             signal:  "elm,state,enabled";
17867             source:  "elm";
17868             action:  STATE_SET "default" 0.0;
17869             target:  "disclip";
17870          }
17871          program {
17872             name:    "expand";
17873             signal:  "mouse,up,1";
17874             source:  "arrow";
17875             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
17876          }
17877          program {
17878             name:    "go_expanded";
17879             signal:  "elm,state,expanded";
17880             source:  "elm";
17881             script {
17882                new st[31];
17883                new Float:vl;
17884                get_state(PART:"arrow", st, 30, vl);
17885                set_state(PART:"arrow", "active", vl);
17886             }
17887          }
17888          program {
17889             name:    "go_contracted";
17890             signal:  "elm,state,contracted";
17891             source:  "elm";
17892             script {
17893                new st[31];
17894                new Float:vl;
17895                get_state(PART:"arrow", st, 30, vl);
17896                set_state(PART:"arrow", "default", vl);
17897             }
17898          }
17899          program { name: "to_rtl";
17900             signal: "edje,state,rtl";
17901             source: "edje";
17902             script {
17903                new st[31];
17904                new Float:vl;
17905                get_state(PART:"arrow", st, 30, vl);
17906                if (vl == 0.0) {
17907                   set_state(PART:"arrow", st, 0.1);
17908                }
17909             }
17910          }
17911          program { name: "to_ltr";
17912             signal: "edje,state,ltr";
17913             source: "edje";
17914             script {
17915                new st[31];
17916                new Float:vl;
17917                get_state(PART:"arrow", st, 30, vl);
17918                if (vl == 0.1) {
17919                   set_state(PART:"arrow", st, 0.0);
17920                }
17921             }
17922          }
17923       }
17924    }
17925    group { name: "elm/genlist/item/default_style/default";
17926        styles
17927        {
17928            style { name: "genlist_style";
17929                base: "font=Sans font_size=10 align=left valign=0.5 color=#000 text_class=list_item";
17930                tag:  "br" "\n";
17931                tag:  "ps" "ps";
17932                tag:  "hilight" "+ font=Sans:style=Bold";
17933                tag:  "b" "+ font=Sans:style=Bold";
17934                tag:  "tab" "\t";
17935            }
17936            style { name: "genlist_selected_style";
17937                base: "font=Sans font_size=10 align=left valign=0.5 color=#fff text_class=list_item";
17938                tag:  "br" "\n";
17939                tag:  "ps" "ps";
17940                tag:  "hilight" "+ font=Sans:style=Bold";
17941                tag:  "b" "+ font=Sans:style=Bold";
17942                tag:  "tab" "\t";
17943            }
17944        }
17945        data.item: "stacking" "above";
17946        data.item: "selectraise" "on";
17947        data.item: "labels" "elm.text";
17948        data.item: "icons" "elm.swallow.icon elm.swallow.end";
17949        data.item: "treesize" "20";
17950        images {
17951            image: "bt_sm_base1.png" COMP;
17952            image: "bt_sm_shine.png" COMP;
17953            image: "bt_sm_hilight.png" COMP;
17954            image: "ilist_1.png" COMP;
17955            image: "ilist_item_shadow.png" COMP;
17956        }
17957        parts {
17958            part {
17959                name:           "event";
17960                type:           RECT;
17961                repeat_events: 1;
17962                description {
17963                    state: "default" 0.0;
17964                    color: 0 0 0 0;
17965                }
17966            }
17967            part {
17968                name: "base_sh";
17969                mouse_events: 0;
17970                description {
17971                    state: "default" 0.0;
17972                    align: 0.0 0.0;
17973                    min: 0 10;
17974                    fixed: 1 1;
17975                    rel1 {
17976                        to: "base";
17977                        relative: 0.0 1.0;
17978                        offset: 0 0;
17979                    }
17980                    rel2 {
17981                        to: "base";
17982                        relative: 1.0 1.0;
17983                        offset: -1 0;
17984                    }
17985                    image {
17986                        normal: "ilist_item_shadow.png";
17987                    }
17988                    fill.smooth: 0;
17989                }
17990            }
17991            part {
17992                name: "base";
17993                mouse_events: 0;
17994                description {
17995                    state: "default" 0.0;
17996                    min: 16 28;
17997                    image {
17998                        normal: "ilist_1.png";
17999                        border: 2 2 2 2;
18000                    }
18001                    fill.smooth: 0;
18002                }
18003            }
18004            part { name: "bg";
18005                clip_to: "disclip";
18006                mouse_events: 0;
18007                description { state: "default" 0.0;
18008                    visible: 0;
18009                    color: 255 255 255 0;
18010                    rel1 {
18011                        relative: 0.0 0.0;
18012                        offset: -5 -5;
18013                    }
18014                    rel2 {
18015                        relative: 1.0 1.0;
18016                        offset: 4 4;
18017                    }
18018                    image {
18019                        normal: "bt_sm_base1.png";
18020                        border: 6 6 6 6;
18021                    }
18022                    image.middle: SOLID;
18023                }
18024                description { state: "selected" 0.0;
18025                    inherit: "default" 0.0;
18026                    visible: 1;
18027                    color: 255 255 255 255;
18028                    rel1 {
18029                        relative: 0.0 0.0;
18030                        offset: -2 -2;
18031                    }
18032                    rel2 {
18033                        relative: 1.0 1.0;
18034                        offset: 1 1;
18035                    }
18036                }
18037            }
18038            part { name: "elm.swallow.pad";
18039                type: SWALLOW;
18040                description { state: "default" 0.0;
18041                    fixed: 1 0;
18042                    align: 0.0 0.5;
18043                    rel1 {
18044                        relative: 0.0  0.0;
18045                        offset:   4    4;
18046                    }
18047                    rel2 {
18048                        relative: 0.0  1.0;
18049                        offset:   4   -5;
18050                    }
18051                }
18052            }
18053            part { name: "elm.swallow.icon";
18054                clip_to: "disclip";
18055                type: SWALLOW;
18056                description { state: "default" 0.0;
18057                    fixed: 1 0;
18058                    align: 0.0 0.5;
18059                    rel1 {
18060                        to_x: "elm.swallow.pad";
18061                        relative: 1.0  0.0;
18062                        offset:   -1    4;
18063                    }
18064                    rel2 {
18065                        to_x: "elm.swallow.pad";
18066                        relative: 1.0  1.0;
18067                        offset:   -1   -5;
18068                    }
18069                }
18070            }
18071            part { name: "elm.swallow.end";
18072                clip_to: "disclip";
18073                type: SWALLOW;
18074                description { state: "default" 0.0;
18075                    fixed: 1 0;
18076                    align: 1.0 0.5;
18077                    aspect: 1.0 1.0;
18078                    aspect_preference: VERTICAL;
18079                    rel1 {
18080                        relative: 1.0  0.0;
18081                        offset:   -5    4;
18082                    }
18083                    rel2 {
18084                        relative: 1.0  1.0;
18085                        offset:   -5   -5;
18086                    }
18087                }
18088            }
18089            part { name: "elm.text";
18090                clip_to: "disclip";
18091                type: TEXTBLOCK;
18092                mouse_events: 0;
18093                scale: 1;
18094                description {
18095                    state: "default" 0.0;
18096                    align: 0.0 0.5;
18097                    fixed: 0 1;
18098                    rel1 {
18099                        to_x: "elm.swallow.icon";
18100                        to_y: "base";
18101                        relative: 1.0  0.5;
18102                        offset:   0 4;
18103                    }
18104                    rel2 {
18105                        to_x: "elm.swallow.end";
18106                        to_y: "base";
18107                        relative: 0.0  0.5;
18108                        offset:   -1 -5;
18109                    }
18110                    text {
18111                        style: "genlist_style";
18112                        min: 1 1;
18113                    }
18114                }
18115                description { state: "selected" 0.0;
18116                    inherit: "default" 0.0;
18117                    text {
18118                        style: "genlist_selected_style";
18119                    }
18120                }
18121            }
18122            part { name: "fg1";
18123                clip_to: "disclip";
18124                mouse_events: 0;
18125                description { state: "default" 0.0;
18126                    visible: 0;
18127                    color: 255 255 255 0;
18128                    rel1.to: "bg";
18129                    rel2.relative: 1.0 0.5;
18130                    rel2.to: "bg";
18131                    image {
18132                        normal: "bt_sm_hilight.png";
18133                        border: 6 6 6 0;
18134                    }
18135                }
18136                description { state: "selected" 0.0;
18137                    inherit: "default" 0.0;
18138                    visible: 1;
18139                    color: 255 255 255 255;
18140                }
18141            }
18142            part { name: "fg2";
18143                clip_to: "disclip";
18144                mouse_events: 0;
18145                description { state: "default" 0.0;
18146                    visible: 0;
18147                    color: 255 255 255 0;
18148                    rel1.to: "bg";
18149                    rel2.to: "bg";
18150                    image {
18151                        normal: "bt_sm_shine.png";
18152                        border: 6 6 6 0;
18153                    }
18154                }
18155                description { state: "selected" 0.0;
18156                    inherit: "default" 0.0;
18157                    visible: 1;
18158                    color: 255 255 255 255;
18159                }
18160            }
18161            part { name: "disclip";
18162                type: RECT;
18163                description { state: "default" 0.0;
18164                    rel1.to: "bg";
18165                    rel2.to: "bg";
18166                }
18167                description { state: "disabled" 0.0;
18168                    inherit: "default" 0.0;
18169                    color: 255 255 255 64;
18170                }
18171            }
18172        }
18173        programs {
18174            // signal: elm,state,%s,active
18175            //   a "check" item named %s went active
18176            // signal: elm,state,%s,passive
18177            //   a "check" item named %s went passive
18178            // default is passive
18179            program {
18180                name:    "go_active";
18181                signal:  "elm,state,selected";
18182                source:  "elm";
18183                action:  STATE_SET "selected" 0.0;
18184                target:  "bg";
18185                target:  "fg1";
18186                target:  "fg2";
18187                target:  "elm.text";
18188            }
18189            program {
18190                name:    "go_passive";
18191                signal:  "elm,state,unselected";
18192                source:  "elm";
18193                action:  STATE_SET "default" 0.0;
18194                target:  "bg";
18195                target:  "fg1";
18196                target:  "fg2";
18197                target:  "elm.text";
18198                transition: LINEAR 0.1;
18199            }
18200            program {
18201                name:    "go_disabled";
18202                signal:  "elm,state,disabled";
18203                source:  "elm";
18204                action:  STATE_SET "disabled" 0.0;
18205                target:  "disclip";
18206            }
18207            program {
18208                name:    "go_enabled";
18209                signal:  "elm,state,enabled";
18210                source:  "elm";
18211                action:  STATE_SET "default" 0.0;
18212                target:  "disclip";
18213            }
18214        }
18215    }
18216    group { name: "elm/genlist/item_odd/default_style/default";
18217        data.item: "stacking" "below";
18218        data.item: "selectraise" "on";
18219        data.item: "labels" "elm.text";
18220        data.item: "icons" "elm.swallow.icon elm.swallow.end";
18221        data.item: "treesize" "20";
18222        images {
18223            image: "bt_sm_base1.png" COMP;
18224            image: "bt_sm_shine.png" COMP;
18225            image: "bt_sm_hilight.png" COMP;
18226            image: "ilist_2.png" COMP;
18227        }
18228        parts {
18229            part { name: "event";
18230                type: RECT;
18231                repeat_events: 1;
18232                description {
18233                    state: "default" 0.0;
18234                    color: 0 0 0 0;
18235                }
18236            }
18237            part {
18238                name: "base";
18239                mouse_events: 0;
18240                description {
18241                    state: "default" 0.0;
18242                    min: 16 28;
18243                    image {
18244                        normal: "ilist_2.png";
18245                        border: 2 2 2 2;
18246                    }
18247                    fill.smooth: 0;
18248                }
18249            }
18250            part { name: "bg";
18251                clip_to: "disclip";
18252                mouse_events: 0;
18253                description { state: "default" 0.0;
18254                    visible: 0;
18255                    color: 255 255 255 0;
18256                    rel1 {
18257                        relative: 0.0 0.0;
18258                        offset: -5 -5;
18259                    }
18260                    rel2 {
18261                        relative: 1.0 1.0;
18262                        offset: 4 4;
18263                    }
18264                    image {
18265                        normal: "bt_sm_base1.png";
18266                        border: 6 6 6 6;
18267                    }
18268                    image.middle: SOLID;
18269                }
18270                description { state: "selected" 0.0;
18271                    inherit: "default" 0.0;
18272                    visible: 1;
18273                    color: 255 255 255 255;
18274                    rel1 {
18275                        relative: 0.0 0.0;
18276                        offset: -2 -2;
18277                    }
18278                    rel2 {
18279                        relative: 1.0 1.0;
18280                        offset: 1 1;
18281                    }
18282                }
18283            }
18284            part { name: "elm.swallow.pad";
18285                type: SWALLOW;
18286                description { state: "default" 0.0;
18287                    fixed: 1 0;
18288                    align: 0.0 0.5;
18289                    rel1 {
18290                        relative: 0.0  0.0;
18291                        offset:   4    4;
18292                    }
18293                    rel2 {
18294                        relative: 0.0  1.0;
18295                        offset:   4   -5;
18296                    }
18297                }
18298            }
18299            part { name: "elm.swallow.icon";
18300                clip_to: "disclip";
18301                type: SWALLOW;
18302                description { state: "default" 0.0;
18303                    fixed: 1 0;
18304                    align: 0.0 0.5;
18305                    rel1 {
18306                        to_x: "elm.swallow.pad";
18307                        relative: 1.0  0.0;
18308                        offset:   -1    4;
18309                    }
18310                    rel2 {
18311                        to_x: "elm.swallow.pad";
18312                        relative: 1.0  1.0;
18313                        offset:   -1   -5;
18314                    }
18315                }
18316            }
18317            part { name: "elm.swallow.end";
18318                clip_to: "disclip";
18319                type:          SWALLOW;
18320                description { state:    "default" 0.0;
18321                    fixed: 1 0;
18322                    align:    1.0 0.5;
18323                    aspect: 1.0 1.0;
18324                    aspect_preference: VERTICAL;
18325                    rel1 {
18326                        relative: 1.0  0.0;
18327                        offset:   -5    4;
18328                    }
18329                    rel2 {
18330                        relative: 1.0  1.0;
18331                        offset:   -5   -5;
18332                    }
18333                }
18334            }
18335            part { name: "elm.text";
18336                clip_to: "disclip";
18337                type:           TEXTBLOCK;
18338                mouse_events:   0;
18339                scale: 1;
18340                description {
18341                    state: "default" 0.0;
18342                    align: 0.0 0.5;
18343                    fixed: 0 1;
18344                    rel1 {
18345                        to_x: "elm.swallow.icon";
18346                        to_y: "base";
18347                        relative: 1.0  0.5;
18348                        offset:   0 4;
18349                    }
18350                    rel2 {
18351                        to_x: "elm.swallow.end";
18352                        to_y: "base";
18353                        relative: 0.0  0.5;
18354                        offset:   -1 -5;
18355                    }
18356                    text {
18357                        style: "genlist_style";
18358                        min: 1 1;
18359                    }
18360                }
18361                description { state: "selected" 0.0;
18362                    inherit: "default" 0.0;
18363                    text {
18364                        style: "genlist_selected_style";
18365                    }
18366                }
18367            }
18368            part { name: "fg1";
18369                clip_to: "disclip";
18370                mouse_events: 0;
18371                description { state: "default" 0.0;
18372                    visible: 0;
18373                    color: 255 255 255 0;
18374                    rel1.to: "bg";
18375                    rel2.relative: 1.0 0.5;
18376                    rel2.to: "bg";
18377                    image {
18378                        normal: "bt_sm_hilight.png";
18379                        border: 6 6 6 0;
18380                    }
18381                }
18382                description { state: "selected" 0.0;
18383                    inherit: "default" 0.0;
18384                    visible: 1;
18385                    color: 255 255 255 255;
18386                }
18387            }
18388            part { name: "fg2";
18389                clip_to: "disclip";
18390                mouse_events: 0;
18391                description { state: "default" 0.0;
18392                    visible: 0;
18393                    color: 255 255 255 0;
18394                    rel1.to: "bg";
18395                    rel2.to: "bg";
18396                    image {
18397                        normal: "bt_sm_shine.png";
18398                        border: 6 6 6 0;
18399                    }
18400                }
18401                description { state: "selected" 0.0;
18402                    inherit: "default" 0.0;
18403                    visible: 1;
18404                    color: 255 255 255 255;
18405                }
18406            }
18407            part { name: "disclip";
18408                type: RECT;
18409                description { state: "default" 0.0;
18410                    rel1.to: "bg";
18411                    rel2.to: "bg";
18412                }
18413                description { state: "disabled" 0.0;
18414                    inherit: "default" 0.0;
18415                    color: 255 255 255 64;
18416                }
18417            }
18418        }
18419        programs {
18420            // signal: elm,state,%s,active
18421            //   a "check" item named %s went active
18422            // signal: elm,state,%s,passive
18423            //   a "check" item named %s went passive
18424            // default is passive
18425            program {
18426                name:    "go_active";
18427                signal:  "elm,state,selected";
18428                source:  "elm";
18429                action:  STATE_SET "selected" 0.0;
18430                target:  "bg";
18431                target:  "fg1";
18432                target:  "fg2";
18433                target:  "elm.text";
18434            }
18435            program {
18436                name:    "go_passive";
18437                signal:  "elm,state,unselected";
18438                source:  "elm";
18439                action:  STATE_SET "default" 0.0;
18440                target:  "bg";
18441                target:  "fg1";
18442                target:  "fg2";
18443                target:  "elm.text";
18444                transition: LINEAR 0.1;
18445            }
18446            program {
18447                name:    "go_disabled";
18448                signal:  "elm,state,disabled";
18449                source:  "elm";
18450                action:  STATE_SET "disabled" 0.0;
18451                target:  "disclip";
18452            }
18453            program {
18454                name:    "go_enabled";
18455                signal:  "elm,state,enabled";
18456                source:  "elm";
18457                action:  STATE_SET "default" 0.0;
18458                target:  "disclip";
18459            }
18460        }
18461    }
18462
18463    group { name: "elm/genlist/tree/default_style/default";
18464        data.item: "stacking" "above";
18465        data.item: "selectraise" "on";
18466        data.item: "labels" "elm.text";
18467        data.item: "icons" "elm.swallow.icon elm.swallow.end";
18468        data.item: "treesize" "20";
18469        images {
18470            image: "bt_sm_base1.png" COMP;
18471            image: "bt_sm_shine.png" COMP;
18472            image: "bt_sm_hilight.png" COMP;
18473            image: "ilist_1.png" COMP;
18474            image: "ilist_item_shadow.png" COMP;
18475            image: "icon_arrow_right.png" COMP;
18476            image: "icon_arrow_down.png" COMP;
18477        }
18478        parts {
18479            part {
18480                name:           "event";
18481                type:           RECT;
18482                repeat_events: 1;
18483                description {
18484                    state: "default" 0.0;
18485                    color: 0 0 0 0;
18486                }
18487            }
18488            part {
18489                name: "base_sh";
18490                mouse_events: 0;
18491                description {
18492                    state: "default" 0.0;
18493                    align: 0.0 0.0;
18494                    min: 0 10;
18495                    fixed: 1 1;
18496                    rel1 {
18497                        to: "base";
18498                        relative: 0.0 1.0;
18499                        offset: 0 0;
18500                    }
18501                    rel2 {
18502                        to: "base";
18503                        relative: 1.0 1.0;
18504                        offset: -1 0;
18505                    }
18506                    image {
18507                        normal: "ilist_item_shadow.png";
18508                    }
18509                    fill.smooth: 0;
18510                }
18511            }
18512            part {
18513                name: "base";
18514                mouse_events: 0;
18515                description {
18516                    state: "default" 0.0;
18517                    min: 16 28;
18518                    image {
18519                        normal: "ilist_1.png";
18520                        border: 2 2 2 2;
18521                    }
18522                    fill.smooth: 0;
18523                }
18524            }
18525            part { name: "bg";
18526                clip_to: "disclip";
18527                mouse_events: 0;
18528                description { state: "default" 0.0;
18529                    visible: 0;
18530                    color: 255 255 255 0;
18531                    rel1 {
18532                        relative: 0.0 0.0;
18533                        offset: -5 -5;
18534                    }
18535                    rel2 {
18536                        relative: 1.0 1.0;
18537                        offset: 4 4;
18538                    }
18539                    image {
18540                        normal: "bt_sm_base1.png";
18541                        border: 6 6 6 6;
18542                    }
18543                    image.middle: SOLID;
18544                }
18545                description { state: "selected" 0.0;
18546                    inherit: "default" 0.0;
18547                    visible: 1;
18548                    color: 255 255 255 255;
18549                    rel1 {
18550                        relative: 0.0 0.0;
18551                        offset: -2 -2;
18552                    }
18553                    rel2 {
18554                        relative: 1.0 1.0;
18555                        offset: 1 1;
18556                    }
18557                }
18558            }
18559            part { name: "elm.swallow.pad";
18560                type: SWALLOW;
18561                description { state: "default" 0.0;
18562                    fixed: 1 0;
18563                    align: 0.0 0.5;
18564                    rel1 {
18565                        relative: 0.0  0.0;
18566                        offset:   4    4;
18567                    }
18568                    rel2 {
18569                        relative: 0.0  1.0;
18570                        offset:   4   -5;
18571                    }
18572                }
18573            }
18574            part { name: "arrow";
18575                clip_to: "disclip";
18576                ignore_flags: ON_HOLD;
18577                description { state: "default" 0.0;
18578                    fixed: 1 0;
18579                    align: 0.0 0.5;
18580                    aspect: 1.0 1.0;
18581                    rel1 {
18582                        to_x: "elm.swallow.pad";
18583                        relative: 1.0  0.0;
18584                        offset:   -1    4;
18585                    }
18586                    rel2 {
18587                        to_x: "elm.swallow.pad";
18588                        relative: 1.0  1.0;
18589                        offset:   -1   -5;
18590                    }
18591                    image.normal: "icon_arrow_right.png";
18592                }
18593                description { state: "active" 0.0;
18594                    inherit: "default" 0.0;
18595                    image.normal: "icon_arrow_down.png";
18596                }
18597            }
18598            part { name: "elm.swallow.icon";
18599                clip_to: "disclip";
18600                type: SWALLOW;
18601                description { state: "default" 0.0;
18602                    fixed: 1 0;
18603                    align: 0.0 0.5;
18604                    rel1 {
18605                        to_x: "arrow";
18606                        relative: 1.0  0.0;
18607                        offset:   4    4;
18608                    }
18609                    rel2 {
18610                        to_x: "arrow";
18611                        relative: 1.0  1.0;
18612                        offset:   4   -5;
18613                    }
18614                }
18615            }
18616            part { name: "elm.swallow.end";
18617                clip_to: "disclip";
18618                type: SWALLOW;
18619                description { state: "default" 0.0;
18620                    fixed: 1 0;
18621                    align: 1.0 0.5;
18622                    aspect: 1.0 1.0;
18623                    aspect_preference: VERTICAL;
18624                    rel1 {
18625                        relative: 1.0  0.0;
18626                        offset:   -5    4;
18627                    }
18628                    rel2 {
18629                        relative: 1.0  1.0;
18630                        offset:   -5   -5;
18631                    }
18632                }
18633            }
18634            part { name: "elm.text";
18635                clip_to: "disclip";
18636                type:           TEXTBLOCK;
18637                effect:         SOFT_SHADOW;
18638                mouse_events:   0;
18639                scale: 1;
18640                description {
18641                    state: "default" 0.0;
18642                    align: 0.0 0.5;
18643                    fixed: 0 1;
18644                    rel1 {
18645                        to_x:     "elm.swallow.icon";
18646                        to_y: "base";
18647                        relative: 1.0  0.5;
18648                        offset:   0 4;
18649                    }
18650                    rel2 {
18651                        to_x:     "elm.swallow.end";
18652                        to_y: "base";
18653                        relative: 0.0  0.5;
18654                        offset:   -1 -5;
18655                    }
18656                    text {
18657                        style: "genlist_style";
18658                        min: 1 1;
18659                    }
18660                }
18661                description { state: "selected" 0.0;
18662                    inherit: "default" 0.0;
18663                    text {
18664                        style: "genlist_selected_style";
18665                    }
18666                }
18667            }
18668            part { name: "fg1";
18669                clip_to: "disclip";
18670                mouse_events: 0;
18671                description { state: "default" 0.0;
18672                    visible: 0;
18673                    color: 255 255 255 0;
18674                    rel1.to: "bg";
18675                    rel2.relative: 1.0 0.5;
18676                    rel2.to: "bg";
18677                    image {
18678                        normal: "bt_sm_hilight.png";
18679                        border: 6 6 6 0;
18680                    }
18681                }
18682                description { state: "selected" 0.0;
18683                    inherit: "default" 0.0;
18684                    visible: 1;
18685                    color: 255 255 255 255;
18686                }
18687            }
18688            part { name: "fg2";
18689                clip_to: "disclip";
18690                mouse_events: 0;
18691                description { state: "default" 0.0;
18692                    visible: 0;
18693                    color: 255 255 255 0;
18694                    rel1.to: "bg";
18695                    rel2.to: "bg";
18696                    image {
18697                        normal: "bt_sm_shine.png";
18698                        border: 6 6 6 0;
18699                    }
18700                }
18701                description { state: "selected" 0.0;
18702                    inherit: "default" 0.0;
18703                    visible: 1;
18704                    color: 255 255 255 255;
18705                }
18706            }
18707            part { name: "disclip";
18708                type: RECT;
18709                description { state: "default" 0.0;
18710                    rel1.to: "bg";
18711                    rel2.to: "bg";
18712                }
18713                description { state: "disabled" 0.0;
18714                    inherit: "default" 0.0;
18715                    color: 255 255 255 64;
18716                }
18717            }
18718        }
18719        programs {
18720            // signal: elm,state,%s,active
18721            //   a "check" item named %s went active
18722            // signal: elm,state,%s,passive
18723            //   a "check" item named %s went passive
18724            // default is passive
18725            program {
18726                name:    "go_active";
18727                signal:  "elm,state,selected";
18728                source:  "elm";
18729                action:  STATE_SET "selected" 0.0;
18730                target:  "bg";
18731                target:  "fg1";
18732                target:  "fg2";
18733                target:  "elm.text";
18734            }
18735            program {
18736                name:    "go_passive";
18737                signal:  "elm,state,unselected";
18738                source:  "elm";
18739                action:  STATE_SET "default" 0.0;
18740                target:  "bg";
18741                target:  "fg1";
18742                target:  "fg2";
18743                target:  "elm.text";
18744                transition: LINEAR 0.1;
18745            }
18746            program {
18747                name:    "go_disabled";
18748                signal:  "elm,state,disabled";
18749                source:  "elm";
18750                action:  STATE_SET "disabled" 0.0;
18751                target:  "disclip";
18752            }
18753            program {
18754                name:    "go_enabled";
18755                signal:  "elm,state,enabled";
18756                source:  "elm";
18757                action:  STATE_SET "default" 0.0;
18758                target:  "disclip";
18759            }
18760            program {
18761                name:    "expand";
18762                signal:  "mouse,up,1";
18763                source:  "arrow";
18764                action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
18765            }
18766            program {
18767                name:    "go_expanded";
18768                signal:  "elm,state,expanded";
18769                source:  "elm";
18770                action:  STATE_SET "active" 0.0;
18771                target:  "arrow";
18772            }
18773            program {
18774                name:    "go_contracted";
18775                signal:  "elm,state,contracted";
18776                source:  "elm";
18777                action:  STATE_SET "default" 0.0;
18778                target:  "arrow";
18779            }
18780        }
18781    }
18782    group { name: "elm/genlist/tree_odd/default_style/default";
18783        data.item: "stacking" "below";
18784        data.item: "selectraise" "on";
18785        data.item: "labels" "elm.text";
18786        data.item: "icons" "elm.swallow.icon elm.swallow.end";
18787        data.item: "treesize" "20";
18788        images {
18789            image: "bt_sm_base1.png" COMP;
18790            image: "bt_sm_shine.png" COMP;
18791            image: "bt_sm_hilight.png" COMP;
18792            image: "ilist_2.png" COMP;
18793            image: "icon_arrow_right.png" COMP;
18794            image: "icon_arrow_down.png" COMP;
18795        }
18796        parts {
18797            part {
18798                name:           "event";
18799                type:           RECT;
18800                repeat_events: 1;
18801                description {
18802                    state: "default" 0.0;
18803                    color: 0 0 0 0;
18804                }
18805            }
18806            part {
18807                name: "base";
18808                mouse_events: 0;
18809                description {
18810                    state: "default" 0.0;
18811                    min: 16 28;
18812                    image {
18813                        normal: "ilist_2.png";
18814                        border: 2 2 2 2;
18815                    }
18816                    fill.smooth: 0;
18817                }
18818            }
18819            part { name: "bg";
18820                clip_to: "disclip";
18821                mouse_events: 0;
18822                description { state: "default" 0.0;
18823                    visible: 0;
18824                    color: 255 255 255 0;
18825                    rel1 {
18826                        relative: 0.0 0.0;
18827                        offset: -5 -5;
18828                    }
18829                    rel2 {
18830                        relative: 1.0 1.0;
18831                        offset: 4 4;
18832                    }
18833                    image {
18834                        normal: "bt_sm_base1.png";
18835                        border: 6 6 6 6;
18836                    }
18837                    image.middle: SOLID;
18838                }
18839                description { state: "selected" 0.0;
18840                    inherit: "default" 0.0;
18841                    visible: 1;
18842                    color: 255 255 255 255;
18843                    rel1 {
18844                        relative: 0.0 0.0;
18845                        offset: -2 -2;
18846                    }
18847                    rel2 {
18848                        relative: 1.0 1.0;
18849                        offset: 1 1;
18850                    }
18851                }
18852            }
18853            part { name: "elm.swallow.pad";
18854                type: SWALLOW;
18855                description { state: "default" 0.0;
18856                    fixed: 1 0;
18857                    align: 0.0 0.5;
18858                    rel1 {
18859                        relative: 0.0  0.0;
18860                        offset:   4    4;
18861                    }
18862                    rel2 {
18863                        relative: 0.0  1.0;
18864                        offset:   4   -5;
18865                    }
18866                }
18867            }
18868            part { name: "arrow";
18869                clip_to: "disclip";
18870                ignore_flags: ON_HOLD;
18871                description { state: "default" 0.0;
18872                    fixed: 1 0;
18873                    align: 0.0 0.5;
18874                    aspect: 1.0 1.0;
18875                    rel1 {
18876                        to_x: "elm.swallow.pad";
18877                        relative: 1.0  0.0;
18878                        offset:   -1    4;
18879                    }
18880                    rel2 {
18881                        to_x: "elm.swallow.pad";
18882                        relative: 1.0  1.0;
18883                        offset:   -1   -5;
18884                    }
18885                    image.normal: "icon_arrow_right.png";
18886                }
18887                description { state: "active" 0.0;
18888                    inherit: "default" 0.0;
18889                    image.normal: "icon_arrow_down.png";
18890                }
18891            }
18892            part { name: "elm.swallow.icon";
18893                clip_to: "disclip";
18894                type: SWALLOW;
18895                description { state: "default" 0.0;
18896                    fixed: 1 0;
18897                    align: 0.0 0.5;
18898                    rel1 {
18899                        to_x: "arrow";
18900                        relative: 1.0  0.0;
18901                        offset:   4    4;
18902                    }
18903                    rel2 {
18904                        to_x: "arrow";
18905                        relative: 1.0  1.0;
18906                        offset:   4   -5;
18907                    }
18908                }
18909            }
18910            part { name: "elm.swallow.end";
18911                clip_to: "disclip";
18912                type: SWALLOW;
18913                description { state: "default" 0.0;
18914                    fixed: 1 0;
18915                    align: 1.0 0.5;
18916                    aspect: 1.0 1.0;
18917                    aspect_preference: VERTICAL;
18918                    rel1 {
18919                        relative: 1.0  0.0;
18920                        offset:   -5    4;
18921                    }
18922                    rel2 {
18923                        relative: 1.0  1.0;
18924                        offset:   -5   -5;
18925                    }
18926                }
18927            }
18928            part { name: "elm.text";
18929                clip_to: "disclip";
18930                type:           TEXTBLOCK;
18931                effect:         SOFT_SHADOW;
18932                mouse_events:   0;
18933                scale: 1;
18934                description {
18935                    state: "default" 0.0;
18936                    align: 0.0 0.5;
18937                    fixed: 0 1;
18938                    rel1 {
18939                        to_x:     "elm.swallow.icon";
18940                        to_y: "base";
18941                        relative: 1.0  0.5;
18942                        offset:   0 4;
18943                    }
18944                    rel2 {
18945                        to_x:     "elm.swallow.end";
18946                        to_y: "base";
18947                        relative: 0.0  0.5;
18948                        offset:   -1 -5;
18949                    }
18950                    text {
18951                        style: "genlist_style";
18952                        min: 1 1;
18953                    }
18954                }
18955                description { state: "selected" 0.0;
18956                    inherit: "default" 0.0;
18957                    text {
18958                        style: "genlist_selected_style";
18959                    }
18960                }
18961            }
18962            part { name: "fg1";
18963                clip_to: "disclip";
18964                mouse_events: 0;
18965                description { state: "default" 0.0;
18966                    visible: 0;
18967                    color: 255 255 255 0;
18968                    rel1.to: "bg";
18969                    rel2.relative: 1.0 0.5;
18970                    rel2.to: "bg";
18971                    image {
18972                        normal: "bt_sm_hilight.png";
18973                        border: 6 6 6 0;
18974                    }
18975                }
18976                description { state: "selected" 0.0;
18977                    inherit: "default" 0.0;
18978                    visible: 1;
18979                    color: 255 255 255 255;
18980                }
18981            }
18982            part { name: "fg2";
18983                clip_to: "disclip";
18984                mouse_events: 0;
18985                description { state: "default" 0.0;
18986                    visible: 0;
18987                    color: 255 255 255 0;
18988                    rel1.to: "bg";
18989                    rel2.to: "bg";
18990                    image {
18991                        normal: "bt_sm_shine.png";
18992                        border: 6 6 6 0;
18993                    }
18994                }
18995                description { state: "selected" 0.0;
18996                    inherit: "default" 0.0;
18997                    visible: 1;
18998                    color: 255 255 255 255;
18999                }
19000            }
19001            part { name: "disclip";
19002                type: RECT;
19003                description { state: "default" 0.0;
19004                    rel1.to: "bg";
19005                    rel2.to: "bg";
19006                }
19007                description { state: "disabled" 0.0;
19008                    inherit: "default" 0.0;
19009                    color: 255 255 255 64;
19010                }
19011            }
19012        }
19013        programs {
19014            // signal: elm,state,%s,active
19015            //   a "check" item named %s went active
19016            // signal: elm,state,%s,passive
19017            //   a "check" item named %s went passive
19018            // default is passive
19019            program {
19020                name:    "go_active";
19021                signal:  "elm,state,selected";
19022                source:  "elm";
19023                action:  STATE_SET "selected" 0.0;
19024                target:  "bg";
19025                target:  "fg1";
19026                target:  "fg2";
19027                target:  "elm.text";
19028            }
19029            program {
19030                name:    "go_passive";
19031                signal:  "elm,state,unselected";
19032                source:  "elm";
19033                action:  STATE_SET "default" 0.0;
19034                target:  "bg";
19035                target:  "fg1";
19036                target:  "fg2";
19037                target:  "elm.text";
19038                transition: LINEAR 0.1;
19039            }
19040            program {
19041                name:    "go_disabled";
19042                signal:  "elm,state,disabled";
19043                source:  "elm";
19044                action:  STATE_SET "disabled" 0.0;
19045                target:  "disclip";
19046            }
19047            program {
19048                name:    "go_enabled";
19049                signal:  "elm,state,enabled";
19050                source:  "elm";
19051                action:  STATE_SET "default" 0.0;
19052                target:  "disclip";
19053            }
19054            program {
19055                name:    "expand";
19056                signal:  "mouse,up,1";
19057                source:  "arrow";
19058                action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
19059            }
19060            program {
19061                name:    "go_expanded";
19062                signal:  "elm,state,expanded";
19063                source:  "elm";
19064                action:  STATE_SET "active" 0.0;
19065                target:  "arrow";
19066            }
19067            program {
19068                name:    "go_contracted";
19069                signal:  "elm,state,contracted";
19070                source:  "elm";
19071                action:  STATE_SET "default" 0.0;
19072                target:  "arrow";
19073            }
19074        }
19075    }
19076
19077
19078    group { name: "elm/genlist/item/double_label/default";
19079       data.item: "stacking" "above";
19080       data.item: "selectraise" "on";
19081       data.item: "labels" "elm.text elm.text.sub";
19082       data.item: "icons" "elm.swallow.icon elm.swallow.end";
19083       data.item: "treesize" "20";
19084 //      data.item: "states" "";
19085       images {
19086          image: "bt_sm_base1.png" COMP;
19087          image: "bt_sm_shine.png" COMP;
19088          image: "bt_sm_hilight.png" COMP;
19089          image: "ilist_1.png" COMP;
19090          image: "ilist_item_shadow.png" COMP;
19091       }
19092       parts {
19093          part {
19094             name:           "event";
19095             type:           RECT;
19096             repeat_events: 1;
19097             description {
19098                state: "default" 0.0;
19099                color: 0 0 0 0;
19100             }
19101          }
19102          part {
19103             name: "base_sh";
19104             mouse_events: 0;
19105             description {
19106                state: "default" 0.0;
19107                align: 0.0 0.0;
19108                min: 0 10;
19109                fixed: 1 1;
19110                rel1 {
19111                   to: "base";
19112                   relative: 0.0 1.0;
19113                   offset: 0 0;
19114                }
19115                rel2 {
19116                   to: "base";
19117                   relative: 1.0 1.0;
19118                   offset: -1 0;
19119                }
19120                image {
19121                   normal: "ilist_item_shadow.png";
19122                }
19123                fill.smooth: 0;
19124             }
19125          }
19126          part {
19127             name: "base";
19128             mouse_events: 0;
19129             description {
19130                state: "default" 0.0;
19131                image {
19132                   normal: "ilist_1.png";
19133                   border: 2 2 2 2;
19134                }
19135                fill.smooth: 0;
19136             }
19137          }
19138          part { name: "bg";
19139             clip_to: "disclip";
19140             mouse_events: 0;
19141             description { state: "default" 0.0;
19142                visible: 0;
19143                color: 255 255 255 0;
19144                rel1 {
19145                   relative: 0.0 0.0;
19146                   offset: -5 -5;
19147                }
19148                rel2 {
19149                   relative: 1.0 1.0;
19150                   offset: 4 4;
19151                }
19152                image {
19153                   normal: "bt_sm_base1.png";
19154                   border: 6 6 6 6;
19155                }
19156                image.middle: SOLID;
19157             }
19158             description { state: "selected" 0.0;
19159                inherit: "default" 0.0;
19160                visible: 1;
19161                color: 255 255 255 255;
19162                rel1 {
19163                   relative: 0.0 0.0;
19164                   offset: -2 -2;
19165                }
19166                rel2 {
19167                   relative: 1.0 1.0;
19168                   offset: 1 1;
19169                }
19170             }
19171          }
19172          part { name: "elm.swallow.pad";
19173             type: SWALLOW;
19174             description { state: "default" 0.0;
19175                fixed: 1 0;
19176                align: 0.0 0.5;
19177                rel1 {
19178                   relative: 0.0  0.0;
19179                   offset:   4    4;
19180                }
19181                rel2 {
19182                   relative: 0.0  1.0;
19183                   offset:   4   -5;
19184                }
19185             }
19186          }
19187          part { name: "elm.swallow.icon";
19188             clip_to: "disclip";
19189             type: SWALLOW;
19190             description { state: "default" 0.0;
19191                fixed: 1 0;
19192                align: 0.0 0.5;
19193                rel1 {
19194                   to_x: "elm.swallow.pad";
19195                   relative: 1.0  0.0;
19196                   offset:   -1    4;
19197                }
19198                rel2 {
19199                   to_x: "elm.swallow.pad";
19200                   relative: 1.0  1.0;
19201                   offset:   -1   -5;
19202                }
19203             }
19204          }
19205          part { name: "elm.swallow.end";
19206             clip_to: "disclip";
19207             type: SWALLOW;
19208             description { state: "default" 0.0;
19209                fixed: 1 0;
19210                align: 1.0 0.5;
19211                aspect: 1.0 1.0;
19212                aspect_preference: VERTICAL;
19213                rel1 {
19214                   relative: 1.0  0.0;
19215                   offset:   -5    4;
19216                }
19217                rel2 {
19218                   relative: 1.0  1.0;
19219                   offset:   -5   -5;
19220                }
19221             }
19222          }
19223          part { name: "elm.text";
19224             clip_to: "disclip";
19225             type:           TEXT;
19226             effect:         SOFT_SHADOW;
19227             mouse_events:   0;
19228             scale: 1;
19229             description {
19230                state: "default" 0.0;
19231 //               min: 16 16;
19232                rel1 {
19233                   to_x:     "elm.swallow.icon";
19234                   relative: 1.0  0.0;
19235                   offset:   0 4;
19236                }
19237                rel2 {
19238                   to_x:     "elm.swallow.end";
19239                   relative: 0.0  0.5;
19240                   offset:   -1 -5;
19241                }
19242                color: 0 0 0 255;
19243                color3: 0 0 0 0;
19244                text {
19245                   font: "Sans";
19246                   size: 10;
19247                   min: 1 1;
19248 //                  min: 0 1;
19249                   align: 0.0 0.5;
19250                   text_class: "list_item";
19251                }
19252             }
19253             description { state: "selected" 0.0;
19254                inherit: "default" 0.0;
19255                color: 224 224 224 255;
19256                color3: 0 0 0 64;
19257             }
19258          }
19259          part { name: "elm.text.sub";
19260             clip_to: "disclip";
19261             type:           TEXT;
19262             mouse_events:   0;
19263             scale: 1;
19264             description {
19265                state: "default" 0.0;
19266 //               min: 16 16;
19267                rel1 {
19268                   to_x:     "elm.swallow.icon";
19269                   relative: 1.0  0.5;
19270                   offset:   0 4;
19271                }
19272                rel2 {
19273                   to_x:     "elm.swallow.end";
19274                   relative: 0.0  1.0;
19275                   offset:   -1 -5;
19276                }
19277                color: 0 0 0 128;
19278                color3: 0 0 0 0;
19279                text {
19280                   font: "Sans";
19281                   size: 8;
19282                   min: 1 1;
19283 //                  min: 0 1;
19284                   align: 0.0 0.5;
19285                   text_class: "list_item";
19286                }
19287             }
19288             description { state: "selected" 0.0;
19289                inherit: "default" 0.0;
19290                color: 128 128 128 255;
19291                color3: 0 0 0 32;
19292             }
19293          }
19294          part { name: "fg1";
19295             clip_to: "disclip";
19296             mouse_events: 0;
19297             description { state: "default" 0.0;
19298                visible: 0;
19299                color: 255 255 255 0;
19300                rel1.to: "bg";
19301                rel2.relative: 1.0 0.5;
19302                rel2.to: "bg";
19303                image {
19304                   normal: "bt_sm_hilight.png";
19305                   border: 6 6 6 0;
19306                }
19307             }
19308             description { state: "selected" 0.0;
19309                inherit: "default" 0.0;
19310                visible: 1;
19311                color: 255 255 255 255;
19312             }
19313          }
19314          part { name: "fg2";
19315             clip_to: "disclip";
19316             mouse_events: 0;
19317             description { state: "default" 0.0;
19318                visible: 0;
19319                color: 255 255 255 0;
19320                rel1.to: "bg";
19321                rel2.to: "bg";
19322                image {
19323                   normal: "bt_sm_shine.png";
19324                   border: 6 6 6 0;
19325                }
19326             }
19327             description { state: "selected" 0.0;
19328                inherit: "default" 0.0;
19329                visible: 1;
19330                color: 255 255 255 255;
19331             }
19332          }
19333          part { name: "disclip";
19334             type: RECT;
19335             description { state: "default" 0.0;
19336                rel1.to: "bg";
19337                rel2.to: "bg";
19338             }
19339             description { state: "disabled" 0.0;
19340                inherit: "default" 0.0;
19341                color: 255 255 255 64;
19342             }
19343          }
19344       }
19345       programs {
19346          // signal: elm,state,%s,active
19347          //   a "check" item named %s went active
19348          // signal: elm,state,%s,passive
19349          //   a "check" item named %s went passive
19350          // default is passive
19351          program {
19352             name:    "go_active";
19353             signal:  "elm,state,selected";
19354             source:  "elm";
19355             action:  STATE_SET "selected" 0.0;
19356             target:  "bg";
19357             target:  "fg1";
19358             target:  "fg2";
19359             target:  "elm.text";
19360             target:  "elm.text.sub";
19361          }
19362          program {
19363             name:    "go_passive";
19364             signal:  "elm,state,unselected";
19365             source:  "elm";
19366             action:  STATE_SET "default" 0.0;
19367             target:  "bg";
19368             target:  "fg1";
19369             target:  "fg2";
19370             target:  "elm.text";
19371             target:  "elm.text.sub";
19372             transition: LINEAR 0.1;
19373          }
19374          program {
19375             name:    "go_disabled";
19376             signal:  "elm,state,disabled";
19377             source:  "elm";
19378             action:  STATE_SET "disabled" 0.0;
19379             target:  "disclip";
19380          }
19381          program {
19382             name:    "go_enabled";
19383             signal:  "elm,state,enabled";
19384             source:  "elm";
19385             action:  STATE_SET "default" 0.0;
19386             target:  "disclip";
19387          }
19388       }
19389    }
19390    group { name: "elm/genlist/item_compress/double_label/default";
19391       data.item: "stacking" "above";
19392       data.item: "selectraise" "on";
19393       data.item: "labels" "elm.text elm.text.sub";
19394       data.item: "icons" "elm.swallow.icon elm.swallow.end";
19395       data.item: "treesize" "20";
19396 //      data.item: "states" "";
19397       images {
19398          image: "bt_sm_base1.png" COMP;
19399          image: "bt_sm_shine.png" COMP;
19400          image: "bt_sm_hilight.png" COMP;
19401          image: "ilist_1.png" COMP;
19402          image: "ilist_item_shadow.png" COMP;
19403       }
19404       parts {
19405          part {
19406             name:           "event";
19407             type:           RECT;
19408             repeat_events: 1;
19409             description {
19410                state: "default" 0.0;
19411                color: 0 0 0 0;
19412             }
19413          }
19414          part {
19415             name: "base_sh";
19416             mouse_events: 0;
19417             description {
19418                state: "default" 0.0;
19419                align: 0.0 0.0;
19420                min: 0 10;
19421                fixed: 1 1;
19422                rel1 {
19423                   to: "base";
19424                   relative: 0.0 1.0;
19425                   offset: 0 0;
19426                }
19427                rel2 {
19428                   to: "base";
19429                   relative: 1.0 1.0;
19430                   offset: -1 0;
19431                }
19432                image {
19433                   normal: "ilist_item_shadow.png";
19434                }
19435                fill.smooth: 0;
19436             }
19437          }
19438          part {
19439             name: "base";
19440             mouse_events: 0;
19441             description {
19442                state: "default" 0.0;
19443                image {
19444                   normal: "ilist_1.png";
19445                   border: 2 2 2 2;
19446                }
19447                fill.smooth: 0;
19448             }
19449          }
19450          part { name: "bg";
19451             clip_to: "disclip";
19452             mouse_events: 0;
19453             description { state: "default" 0.0;
19454                visible: 0;
19455                color: 255 255 255 0;
19456                rel1 {
19457                   relative: 0.0 0.0;
19458                   offset: -5 -5;
19459                }
19460                rel2 {
19461                   relative: 1.0 1.0;
19462                   offset: 4 4;
19463                }
19464                image {
19465                   normal: "bt_sm_base1.png";
19466                   border: 6 6 6 6;
19467                }
19468                image.middle: SOLID;
19469             }
19470             description { state: "selected" 0.0;
19471                inherit: "default" 0.0;
19472                visible: 1;
19473                color: 255 255 255 255;
19474                rel1 {
19475                   relative: 0.0 0.0;
19476                   offset: -2 -2;
19477                }
19478                rel2 {
19479                   relative: 1.0 1.0;
19480                   offset: 1 1;
19481                }
19482             }
19483          }
19484          part { name: "elm.swallow.pad";
19485             type: SWALLOW;
19486             description { state: "default" 0.0;
19487                fixed: 1 0;
19488                align: 0.0 0.5;
19489                rel1 {
19490                   relative: 0.0  0.0;
19491                   offset:   4    4;
19492                }
19493                rel2 {
19494                   relative: 0.0  1.0;
19495                   offset:   4   -5;
19496                }
19497             }
19498          }
19499          part { name: "elm.swallow.icon";
19500             clip_to: "disclip";
19501             type: SWALLOW;
19502             description { state: "default" 0.0;
19503                fixed: 1 0;
19504                align: 0.0 0.5;
19505                rel1 {
19506                   to_x: "elm.swallow.pad";
19507                   relative: 1.0  0.0;
19508                   offset:   -1    4;
19509                }
19510                rel2 {
19511                   to_x: "elm.swallow.pad";
19512                   relative: 1.0  1.0;
19513                   offset:   -1   -5;
19514                }
19515             }
19516          }
19517          part { name: "elm.swallow.end";
19518             clip_to: "disclip";
19519             type: SWALLOW;
19520             description { state: "default" 0.0;
19521                fixed: 1 0;
19522                align: 1.0 0.5;
19523                aspect: 1.0 1.0;
19524                aspect_preference: VERTICAL;
19525                rel1 {
19526                   relative: 1.0  0.0;
19527                   offset:   -5    4;
19528                }
19529                rel2 {
19530                   relative: 1.0  1.0;
19531                   offset:   -5   -5;
19532                }
19533             }
19534          }
19535          part { name: "elm.text";
19536             clip_to: "disclip";
19537             type:           TEXT;
19538             effect:         SOFT_SHADOW;
19539             mouse_events:   0;
19540             scale: 1;
19541             description {
19542                state: "default" 0.0;
19543 //               min: 16 16;
19544                rel1 {
19545                   to_x:     "elm.swallow.icon";
19546                   relative: 1.0  0.0;
19547                   offset:   0 4;
19548                }
19549                rel2 {
19550                   to_x:     "elm.swallow.end";
19551                   relative: 0.0  0.5;
19552                   offset:   -1 -5;
19553                }
19554                color: 0 0 0 255;
19555                color3: 0 0 0 0;
19556                text {
19557                   font: "Sans";
19558                   size: 10;
19559 //                  min: 1 1;
19560                   min: 0 1;
19561                   align: 0.0 0.5;
19562                   text_class: "list_item";
19563                }
19564             }
19565             description { state: "selected" 0.0;
19566                inherit: "default" 0.0;
19567                color: 224 224 224 255;
19568                color3: 0 0 0 64;
19569             }
19570          }
19571          part { name: "elm.text.sub";
19572             clip_to: "disclip";
19573             type:           TEXT;
19574             mouse_events:   0;
19575             scale: 1;
19576             description {
19577                state: "default" 0.0;
19578 //               min: 16 16;
19579                rel1 {
19580                   to_x:     "elm.swallow.icon";
19581                   relative: 1.0  0.5;
19582                   offset:   0 4;
19583                }
19584                rel2 {
19585                   to_x:     "elm.swallow.end";
19586                   relative: 0.0  1.0;
19587                   offset:   -1 -5;
19588                }
19589                color: 0 0 0 128;
19590                color3: 0 0 0 0;
19591                text {
19592                   font: "Sans";
19593                   size: 8;
19594 //                  min: 1 1;
19595                   min: 0 1;
19596                   align: 0.0 0.5;
19597                   text_class: "list_item";
19598                }
19599             }
19600             description { state: "selected" 0.0;
19601                inherit: "default" 0.0;
19602                color: 128 128 128 255;
19603                color3: 0 0 0 32;
19604             }
19605          }
19606          part { name: "fg1";
19607             clip_to: "disclip";
19608             mouse_events: 0;
19609             description { state: "default" 0.0;
19610                visible: 0;
19611                color: 255 255 255 0;
19612                rel1.to: "bg";
19613                rel2.relative: 1.0 0.5;
19614                rel2.to: "bg";
19615                image {
19616                   normal: "bt_sm_hilight.png";
19617                   border: 6 6 6 0;
19618                }
19619             }
19620             description { state: "selected" 0.0;
19621                inherit: "default" 0.0;
19622                visible: 1;
19623                color: 255 255 255 255;
19624             }
19625          }
19626          part { name: "fg2";
19627             clip_to: "disclip";
19628             mouse_events: 0;
19629             description { state: "default" 0.0;
19630                visible: 0;
19631                color: 255 255 255 0;
19632                rel1.to: "bg";
19633                rel2.to: "bg";
19634                image {
19635                   normal: "bt_sm_shine.png";
19636                   border: 6 6 6 0;
19637                }
19638             }
19639             description { state: "selected" 0.0;
19640                inherit: "default" 0.0;
19641                visible: 1;
19642                color: 255 255 255 255;
19643             }
19644          }
19645          part { name: "disclip";
19646             type: RECT;
19647             description { state: "default" 0.0;
19648                rel1.to: "bg";
19649                rel2.to: "bg";
19650             }
19651             description { state: "disabled" 0.0;
19652                inherit: "default" 0.0;
19653                color: 255 255 255 64;
19654             }
19655          }
19656       }
19657       programs {
19658          // signal: elm,state,%s,active
19659          //   a "check" item named %s went active
19660          // signal: elm,state,%s,passive
19661          //   a "check" item named %s went passive
19662          // default is passive
19663          program {
19664             name:    "go_active";
19665             signal:  "elm,state,selected";
19666             source:  "elm";
19667             action:  STATE_SET "selected" 0.0;
19668             target:  "bg";
19669             target:  "fg1";
19670             target:  "fg2";
19671             target:  "elm.text";
19672             target:  "elm.text.sub";
19673          }
19674          program {
19675             name:    "go_passive";
19676             signal:  "elm,state,unselected";
19677             source:  "elm";
19678             action:  STATE_SET "default" 0.0;
19679             target:  "bg";
19680             target:  "fg1";
19681             target:  "fg2";
19682             target:  "elm.text";
19683             target:  "elm.text.sub";
19684             transition: LINEAR 0.1;
19685          }
19686          program {
19687             name:    "go_disabled";
19688             signal:  "elm,state,disabled";
19689             source:  "elm";
19690             action:  STATE_SET "disabled" 0.0;
19691             target:  "disclip";
19692          }
19693          program {
19694             name:    "go_enabled";
19695             signal:  "elm,state,enabled";
19696             source:  "elm";
19697             action:  STATE_SET "default" 0.0;
19698             target:  "disclip";
19699          }
19700       }
19701    }
19702    group { name: "elm/genlist/item_odd/double_label/default";
19703       data.item: "stacking" "below";
19704       data.item: "selectraise" "on";
19705       data.item: "labels" "elm.text elm.text.sub";
19706       data.item: "icons" "elm.swallow.icon elm.swallow.end";
19707       data.item: "treesize" "20";
19708 //      data.item: "states" "";
19709       images {
19710          image: "bt_sm_base1.png" COMP;
19711          image: "bt_sm_shine.png" COMP;
19712          image: "bt_sm_hilight.png" COMP;
19713          image: "ilist_2.png" COMP;
19714       }
19715       parts {
19716          part { name: "event";
19717             type: RECT;
19718             repeat_events: 1;
19719             description {
19720                state: "default" 0.0;
19721                color: 0 0 0 0;
19722             }
19723          }
19724          part {
19725             name: "base";
19726             mouse_events: 0;
19727             description {
19728                state: "default" 0.0;
19729                image {
19730                   normal: "ilist_2.png";
19731                   border: 2 2 2 2;
19732                }
19733                fill.smooth: 0;
19734             }
19735          }
19736          part { name: "bg";
19737             clip_to: "disclip";
19738             mouse_events: 0;
19739             description { state: "default" 0.0;
19740                visible: 0;
19741                color: 255 255 255 0;
19742                rel1 {
19743                   relative: 0.0 0.0;
19744                   offset: -5 -5;
19745                }
19746                rel2 {
19747                   relative: 1.0 1.0;
19748                   offset: 4 4;
19749                }
19750                image {
19751                   normal: "bt_sm_base1.png";
19752                   border: 6 6 6 6;
19753                }
19754                image.middle: SOLID;
19755             }
19756             description { state: "selected" 0.0;
19757                inherit: "default" 0.0;
19758                visible: 1;
19759                color: 255 255 255 255;
19760                rel1 {
19761                   relative: 0.0 0.0;
19762                   offset: -2 -2;
19763                }
19764                rel2 {
19765                   relative: 1.0 1.0;
19766                   offset: 1 1;
19767                }
19768             }
19769          }
19770          part { name: "elm.swallow.pad";
19771             type: SWALLOW;
19772             description { state: "default" 0.0;
19773                fixed: 1 0;
19774                align: 0.0 0.5;
19775                rel1 {
19776                   relative: 0.0  0.0;
19777                   offset:   4    4;
19778                }
19779                rel2 {
19780                   relative: 0.0  1.0;
19781                   offset:   4   -5;
19782                }
19783             }
19784          }
19785          part { name: "elm.swallow.icon";
19786             clip_to: "disclip";
19787             type: SWALLOW;
19788             description { state: "default" 0.0;
19789                fixed: 1 0;
19790                align: 0.0 0.5;
19791                rel1 {
19792                   to_x: "elm.swallow.pad";
19793                   relative: 1.0  0.0;
19794                   offset:   -1    4;
19795                }
19796                rel2 {
19797                   to_x: "elm.swallow.pad";
19798                   relative: 1.0  1.0;
19799                   offset:   -1   -5;
19800                }
19801             }
19802          }
19803          part { name: "elm.swallow.end";
19804             clip_to: "disclip";
19805             type:          SWALLOW;
19806             description { state:    "default" 0.0;
19807                fixed: 1 0;
19808                align:    1.0 0.5;
19809                aspect: 1.0 1.0;
19810                aspect_preference: VERTICAL;
19811                rel1 {
19812                   relative: 1.0  0.0;
19813                   offset:   -5    4;
19814                }
19815                rel2 {
19816                   relative: 1.0  1.0;
19817                   offset:   -5   -5;
19818                }
19819             }
19820          }
19821          part { name: "elm.text";
19822             clip_to: "disclip";
19823             type:           TEXT;
19824             effect:         SOFT_SHADOW;
19825             mouse_events:   0;
19826             scale: 1;
19827             description {
19828                state: "default" 0.0;
19829 //               min: 16 16;
19830                rel1 {
19831                   to_x:     "elm.swallow.icon";
19832                   relative: 1.0  0.0;
19833                   offset:   0 4;
19834                }
19835                rel2 {
19836                   to_x:     "elm.swallow.end";
19837                   relative: 0.0  0.5;
19838                   offset:   -1 -5;
19839                }
19840                color: 0 0 0 255;
19841                color3: 0 0 0 0;
19842                text {
19843                   font: "Sans";
19844                   size: 10;
19845                   min: 1 1;
19846 //                  min: 0 1;
19847                   align: 0.0 0.5;
19848                   text_class: "list_item";
19849                }
19850             }
19851             description { state: "selected" 0.0;
19852                inherit: "default" 0.0;
19853                color: 224 224 224 255;
19854                color3: 0 0 0 64;
19855             }
19856          }
19857          part { name: "elm.text.sub";
19858             clip_to: "disclip";
19859             type:           TEXT;
19860             mouse_events:   0;
19861             scale: 1;
19862             description {
19863                state: "default" 0.0;
19864 //               min: 16 16;
19865                rel1 {
19866                   to_x:     "elm.swallow.icon";
19867                   relative: 1.0  0.5;
19868                   offset:   0 4;
19869                }
19870                rel2 {
19871                   to_x:     "elm.swallow.end";
19872                   relative: 0.0  1.0;
19873                   offset:   -1 -5;
19874                }
19875                color: 0 0 0 128;
19876                color3: 0 0 0 0;
19877                text {
19878                   font: "Sans";
19879                   size: 8;
19880                   min: 1 1;
19881 //                  min: 0 1;
19882                   align: 0.0 0.5;
19883                   text_class: "list_item";
19884                }
19885             }
19886             description { state: "selected" 0.0;
19887                inherit: "default" 0.0;
19888                color: 128 128 128 255;
19889                color3: 0 0 0 32;
19890             }
19891          }
19892          part { name: "fg1";
19893             clip_to: "disclip";
19894             mouse_events: 0;
19895             description { state: "default" 0.0;
19896                visible: 0;
19897                color: 255 255 255 0;
19898                rel1.to: "bg";
19899                rel2.relative: 1.0 0.5;
19900                rel2.to: "bg";
19901                image {
19902                   normal: "bt_sm_hilight.png";
19903                   border: 6 6 6 0;
19904                }
19905             }
19906             description { state: "selected" 0.0;
19907                inherit: "default" 0.0;
19908                visible: 1;
19909                color: 255 255 255 255;
19910             }
19911          }
19912          part { name: "fg2";
19913             clip_to: "disclip";
19914             mouse_events: 0;
19915             description { state: "default" 0.0;
19916                visible: 0;
19917                color: 255 255 255 0;
19918                rel1.to: "bg";
19919                rel2.to: "bg";
19920                image {
19921                   normal: "bt_sm_shine.png";
19922                   border: 6 6 6 0;
19923                }
19924             }
19925             description { state: "selected" 0.0;
19926                inherit: "default" 0.0;
19927                visible: 1;
19928                color: 255 255 255 255;
19929             }
19930          }
19931          part { name: "disclip";
19932             type: RECT;
19933             description { state: "default" 0.0;
19934                rel1.to: "bg";
19935                rel2.to: "bg";
19936             }
19937             description { state: "disabled" 0.0;
19938                inherit: "default" 0.0;
19939                color: 255 255 255 64;
19940             }
19941          }
19942       }
19943       programs {
19944          // signal: elm,state,%s,active
19945          //   a "check" item named %s went active
19946          // signal: elm,state,%s,passive
19947          //   a "check" item named %s went passive
19948          // default is passive
19949          program {
19950             name:    "go_active";
19951             signal:  "elm,state,selected";
19952             source:  "elm";
19953             action:  STATE_SET "selected" 0.0;
19954             target:  "bg";
19955             target:  "fg1";
19956             target:  "fg2";
19957             target:  "elm.text";
19958             target:  "elm.text.sub";
19959          }
19960          program {
19961             name:    "go_passive";
19962             signal:  "elm,state,unselected";
19963             source:  "elm";
19964             action:  STATE_SET "default" 0.0;
19965             target:  "bg";
19966             target:  "fg1";
19967             target:  "fg2";
19968             target:  "elm.text";
19969             target:  "elm.text.sub";
19970             transition: LINEAR 0.1;
19971          }
19972          program {
19973             name:    "go_disabled";
19974             signal:  "elm,state,disabled";
19975             source:  "elm";
19976             action:  STATE_SET "disabled" 0.0;
19977             target:  "disclip";
19978          }
19979          program {
19980             name:    "go_enabled";
19981             signal:  "elm,state,enabled";
19982             source:  "elm";
19983             action:  STATE_SET "default" 0.0;
19984             target:  "disclip";
19985          }
19986       }
19987    }
19988    group { name: "elm/genlist/item_compress_odd/double_label/default";
19989       data.item: "stacking" "below";
19990       data.item: "selectraise" "on";
19991       data.item: "labels" "elm.text elm.text.sub";
19992       data.item: "icons" "elm.swallow.icon elm.swallow.end";
19993       data.item: "treesize" "20";
19994 //      data.item: "states" "";
19995       images {
19996          image: "bt_sm_base1.png" COMP;
19997          image: "bt_sm_shine.png" COMP;
19998          image: "bt_sm_hilight.png" COMP;
19999          image: "ilist_2.png" COMP;
20000       }
20001       parts {
20002          part { name: "event";
20003             type: RECT;
20004             repeat_events: 1;
20005             description {
20006                state: "default" 0.0;
20007                color: 0 0 0 0;
20008             }
20009          }
20010          part {
20011             name: "base";
20012             mouse_events: 0;
20013             description {
20014                state: "default" 0.0;
20015                image {
20016                   normal: "ilist_2.png";
20017                   border: 2 2 2 2;
20018                }
20019                fill.smooth: 0;
20020             }
20021          }
20022          part { name: "bg";
20023             clip_to: "disclip";
20024             mouse_events: 0;
20025             description { state: "default" 0.0;
20026                visible: 0;
20027                color: 255 255 255 0;
20028                rel1 {
20029                   relative: 0.0 0.0;
20030                   offset: -5 -5;
20031                }
20032                rel2 {
20033                   relative: 1.0 1.0;
20034                   offset: 4 4;
20035                }
20036                image {
20037                   normal: "bt_sm_base1.png";
20038                   border: 6 6 6 6;
20039                }
20040                image.middle: SOLID;
20041             }
20042             description { state: "selected" 0.0;
20043                inherit: "default" 0.0;
20044                visible: 1;
20045                color: 255 255 255 255;
20046                rel1 {
20047                   relative: 0.0 0.0;
20048                   offset: -2 -2;
20049                }
20050                rel2 {
20051                   relative: 1.0 1.0;
20052                   offset: 1 1;
20053                }
20054             }
20055          }
20056          part { name: "elm.swallow.pad";
20057             type: SWALLOW;
20058             description { state: "default" 0.0;
20059                fixed: 1 0;
20060                align: 0.0 0.5;
20061                rel1 {
20062                   relative: 0.0  0.0;
20063                   offset:   4    4;
20064                }
20065                rel2 {
20066                   relative: 0.0  1.0;
20067                   offset:   4   -5;
20068                }
20069             }
20070          }
20071          part { name: "elm.swallow.icon";
20072             clip_to: "disclip";
20073             type: SWALLOW;
20074             description { state: "default" 0.0;
20075                fixed: 1 0;
20076                align: 0.0 0.5;
20077                rel1 {
20078                   to_x: "elm.swallow.pad";
20079                   relative: 1.0  0.0;
20080                   offset:   -1    4;
20081                }
20082                rel2 {
20083                   to_x: "elm.swallow.pad";
20084                   relative: 1.0  1.0;
20085                   offset:   -1   -5;
20086                }
20087             }
20088          }
20089          part { name: "elm.swallow.end";
20090             clip_to: "disclip";
20091             type:          SWALLOW;
20092             description { state:    "default" 0.0;
20093                fixed: 1 0;
20094                align:    1.0 0.5;
20095                aspect: 1.0 1.0;
20096                aspect_preference: VERTICAL;
20097                rel1 {
20098                   relative: 1.0  0.0;
20099                   offset:   -5    4;
20100                }
20101                rel2 {
20102                   relative: 1.0  1.0;
20103                   offset:   -5   -5;
20104                }
20105             }
20106          }
20107          part { name: "elm.text";
20108             clip_to: "disclip";
20109             type:           TEXT;
20110             effect:         SOFT_SHADOW;
20111             mouse_events:   0;
20112             scale: 1;
20113             description {
20114                state: "default" 0.0;
20115 //               min: 16 16;
20116                rel1 {
20117                   to_x:     "elm.swallow.icon";
20118                   relative: 1.0  0.0;
20119                   offset:   0 4;
20120                }
20121                rel2 {
20122                   to_x:     "elm.swallow.end";
20123                   relative: 0.0  0.5;
20124                   offset:   -1 -5;
20125                }
20126                color: 0 0 0 255;
20127                color3: 0 0 0 0;
20128                text {
20129                   font: "Sans";
20130                   size: 10;
20131 //                  min: 1 1;
20132                   min: 0 1;
20133                   align: 0.0 0.5;
20134                   text_class: "list_item";
20135                }
20136             }
20137             description { state: "selected" 0.0;
20138                inherit: "default" 0.0;
20139                color: 224 224 224 255;
20140                color3: 0 0 0 64;
20141             }
20142          }
20143          part { name: "elm.text.sub";
20144             clip_to: "disclip";
20145             type:           TEXT;
20146             mouse_events:   0;
20147             scale: 1;
20148             description {
20149                state: "default" 0.0;
20150 //               min: 16 16;
20151                rel1 {
20152                   to_x:     "elm.swallow.icon";
20153                   relative: 1.0  0.5;
20154                   offset:   0 4;
20155                }
20156                rel2 {
20157                   to_x:     "elm.swallow.end";
20158                   relative: 0.0  1.0;
20159                   offset:   -1 -5;
20160                }
20161                color: 0 0 0 128;
20162                color3: 0 0 0 0;
20163                text {
20164                   font: "Sans";
20165                   size: 8;
20166 //                  min: 1 1;
20167                   min: 0 1;
20168                   align: 0.0 0.5;
20169                   text_class: "list_item";
20170                }
20171             }
20172             description { state: "selected" 0.0;
20173                inherit: "default" 0.0;
20174                color: 128 128 128 255;
20175                color3: 0 0 0 32;
20176             }
20177          }
20178          part { name: "fg1";
20179             clip_to: "disclip";
20180             mouse_events: 0;
20181             description { state: "default" 0.0;
20182                visible: 0;
20183                color: 255 255 255 0;
20184                rel1.to: "bg";
20185                rel2.relative: 1.0 0.5;
20186                rel2.to: "bg";
20187                image {
20188                   normal: "bt_sm_hilight.png";
20189                   border: 6 6 6 0;
20190                }
20191             }
20192             description { state: "selected" 0.0;
20193                inherit: "default" 0.0;
20194                visible: 1;
20195                color: 255 255 255 255;
20196             }
20197          }
20198          part { name: "fg2";
20199             clip_to: "disclip";
20200             mouse_events: 0;
20201             description { state: "default" 0.0;
20202                visible: 0;
20203                color: 255 255 255 0;
20204                rel1.to: "bg";
20205                rel2.to: "bg";
20206                image {
20207                   normal: "bt_sm_shine.png";
20208                   border: 6 6 6 0;
20209                }
20210             }
20211             description { state: "selected" 0.0;
20212                inherit: "default" 0.0;
20213                visible: 1;
20214                color: 255 255 255 255;
20215             }
20216          }
20217          part { name: "disclip";
20218             type: RECT;
20219             description { state: "default" 0.0;
20220                rel1.to: "bg";
20221                rel2.to: "bg";
20222             }
20223             description { state: "disabled" 0.0;
20224                inherit: "default" 0.0;
20225                color: 255 255 255 64;
20226             }
20227          }
20228       }
20229       programs {
20230          // signal: elm,state,%s,active
20231          //   a "check" item named %s went active
20232          // signal: elm,state,%s,passive
20233          //   a "check" item named %s went passive
20234          // default is passive
20235          program {
20236             name:    "go_active";
20237             signal:  "elm,state,selected";
20238             source:  "elm";
20239             action:  STATE_SET "selected" 0.0;
20240             target:  "bg";
20241             target:  "fg1";
20242             target:  "fg2";
20243             target:  "elm.text";
20244             target:  "elm.text.sub";
20245          }
20246          program {
20247             name:    "go_passive";
20248             signal:  "elm,state,unselected";
20249             source:  "elm";
20250             action:  STATE_SET "default" 0.0;
20251             target:  "bg";
20252             target:  "fg1";
20253             target:  "fg2";
20254             target:  "elm.text";
20255             target:  "elm.text.sub";
20256             transition: LINEAR 0.1;
20257          }
20258          program {
20259             name:    "go_disabled";
20260             signal:  "elm,state,disabled";
20261             source:  "elm";
20262             action:  STATE_SET "disabled" 0.0;
20263             target:  "disclip";
20264          }
20265          program {
20266             name:    "go_enabled";
20267             signal:  "elm,state,enabled";
20268             source:  "elm";
20269             action:  STATE_SET "default" 0.0;
20270             target:  "disclip";
20271          }
20272       }
20273    }
20274
20275    group { name: "elm/genlist/tree/double_label/default";
20276       data.item: "stacking" "above";
20277       data.item: "selectraise" "on";
20278       data.item: "labels" "elm.text elm.text.sub";
20279       data.item: "icons" "elm.swallow.icon elm.swallow.end";
20280       data.item: "treesize" "20";
20281 //      data.item: "states" "";
20282       images {
20283          image: "bt_sm_base1.png" COMP;
20284          image: "bt_sm_shine.png" COMP;
20285          image: "bt_sm_hilight.png" COMP;
20286          image: "ilist_1.png" COMP;
20287          image: "ilist_item_shadow.png" COMP;
20288          image: "icon_arrow_right.png" COMP;
20289          image: "icon_arrow_down.png" COMP;
20290       }
20291       parts {
20292          part {
20293             name:           "event";
20294             type:           RECT;
20295             repeat_events: 1;
20296             description {
20297                state: "default" 0.0;
20298                color: 0 0 0 0;
20299             }
20300          }
20301          part {
20302             name: "base_sh";
20303             mouse_events: 0;
20304             description {
20305                state: "default" 0.0;
20306                align: 0.0 0.0;
20307                min: 0 10;
20308                fixed: 1 1;
20309                rel1 {
20310                   to: "base";
20311                   relative: 0.0 1.0;
20312                   offset: 0 0;
20313                }
20314                rel2 {
20315                   to: "base";
20316                   relative: 1.0 1.0;
20317                   offset: -1 0;
20318                }
20319                image {
20320                   normal: "ilist_item_shadow.png";
20321                }
20322                fill.smooth: 0;
20323             }
20324          }
20325          part {
20326             name: "base";
20327             mouse_events: 0;
20328             description {
20329                state: "default" 0.0;
20330                image {
20331                   normal: "ilist_1.png";
20332                   border: 2 2 2 2;
20333                }
20334                fill.smooth: 0;
20335             }
20336          }
20337          part { name: "bg";
20338             clip_to: "disclip";
20339             mouse_events: 0;
20340             description { state: "default" 0.0;
20341                visible: 0;
20342                color: 255 255 255 0;
20343                rel1 {
20344                   relative: 0.0 0.0;
20345                   offset: -5 -5;
20346                }
20347                rel2 {
20348                   relative: 1.0 1.0;
20349                   offset: 4 4;
20350                }
20351                image {
20352                   normal: "bt_sm_base1.png";
20353                   border: 6 6 6 6;
20354                }
20355                image.middle: SOLID;
20356             }
20357             description { state: "selected" 0.0;
20358                inherit: "default" 0.0;
20359                visible: 1;
20360                color: 255 255 255 255;
20361                rel1 {
20362                   relative: 0.0 0.0;
20363                   offset: -2 -2;
20364                }
20365                rel2 {
20366                   relative: 1.0 1.0;
20367                   offset: 1 1;
20368                }
20369             }
20370          }
20371          part { name: "elm.swallow.pad";
20372             type: SWALLOW;
20373             description { state: "default" 0.0;
20374                fixed: 1 0;
20375                align: 0.0 0.5;
20376                rel1 {
20377                   relative: 0.0  0.0;
20378                   offset:   4    4;
20379                }
20380                rel2 {
20381                   relative: 0.0  1.0;
20382                   offset:   4   -5;
20383                }
20384             }
20385          }
20386          part { name: "arrow";
20387             clip_to: "disclip";
20388             ignore_flags: ON_HOLD;
20389             description { state: "default" 0.0;
20390                fixed: 1 0;
20391                align: 0.0 0.5;
20392                aspect: 1.0 1.0;
20393                rel1 {
20394                   to_x: "elm.swallow.pad";
20395                   relative: 1.0  0.0;
20396                   offset:   -1    4;
20397                }
20398                rel2 {
20399                   to_x: "elm.swallow.pad";
20400                   relative: 1.0  1.0;
20401                   offset:   -1   -5;
20402                }
20403                image.normal: "icon_arrow_right.png";
20404             }
20405             description { state: "active" 0.0;
20406                inherit: "default" 0.0;
20407                image.normal: "icon_arrow_down.png";
20408             }
20409          }
20410          part { name: "elm.swallow.icon";
20411             clip_to: "disclip";
20412             type: SWALLOW;
20413             description { state: "default" 0.0;
20414                fixed: 1 0;
20415                align: 0.0 0.5;
20416                rel1 {
20417                   to_x: "arrow";
20418                   relative: 1.0  0.0;
20419                   offset:   4    4;
20420                }
20421                rel2 {
20422                   to_x: "arrow";
20423                   relative: 1.0  1.0;
20424                   offset:   4   -5;
20425                }
20426             }
20427          }
20428          part { name: "elm.swallow.end";
20429             clip_to: "disclip";
20430             type: SWALLOW;
20431             description { state: "default" 0.0;
20432                fixed: 1 0;
20433                align: 1.0 0.5;
20434                aspect: 1.0 1.0;
20435                aspect_preference: VERTICAL;
20436                rel1 {
20437                   relative: 1.0  0.0;
20438                   offset:   -5    4;
20439                }
20440                rel2 {
20441                   relative: 1.0  1.0;
20442                   offset:   -5   -5;
20443                }
20444             }
20445          }
20446          part { name: "elm.text";
20447             clip_to: "disclip";
20448             type:           TEXT;
20449             effect:         SOFT_SHADOW;
20450             mouse_events:   0;
20451             scale: 1;
20452             description {
20453                state: "default" 0.0;
20454 //               min: 16 16;
20455                rel1 {
20456                   to_x:     "elm.swallow.icon";
20457                   relative: 1.0  0.0;
20458                   offset:   0 4;
20459                }
20460                rel2 {
20461                   to_x:     "elm.swallow.end";
20462                   relative: 0.0  0.5;
20463                   offset:   -1 -5;
20464                }
20465                color: 0 0 0 255;
20466                color3: 0 0 0 0;
20467                text {
20468                   font: "Sans";
20469                   size: 10;
20470                   min: 1 1;
20471 //                  min: 0 1;
20472                   align: 0.0 0.5;
20473                   text_class: "list_item";
20474                }
20475             }
20476             description { state: "selected" 0.0;
20477                inherit: "default" 0.0;
20478                color: 224 224 224 255;
20479                color3: 0 0 0 64;
20480             }
20481          }
20482          part { name: "elm.text.sub";
20483             clip_to: "disclip";
20484             type:           TEXT;
20485             mouse_events:   0;
20486             scale: 1;
20487             description {
20488                state: "default" 0.0;
20489 //               min: 16 16;
20490                rel1 {
20491                   to_x:     "elm.swallow.icon";
20492                   relative: 1.0  0.5;
20493                   offset:   0 4;
20494                }
20495                rel2 {
20496                   to_x:     "elm.swallow.end";
20497                   relative: 0.0  1.0;
20498                   offset:   -1 -5;
20499                }
20500                color: 0 0 0 128;
20501                color3: 0 0 0 0;
20502                text {
20503                   font: "Sans";
20504                   size: 8;
20505                   min: 1 1;
20506 //                  min: 0 1;
20507                   align: 0.0 0.5;
20508                   text_class: "list_item";
20509                }
20510             }
20511             description { state: "selected" 0.0;
20512                inherit: "default" 0.0;
20513                color: 128 128 128 255;
20514                color3: 0 0 0 32;
20515             }
20516          }
20517          part { name: "fg1";
20518             clip_to: "disclip";
20519             mouse_events: 0;
20520             description { state: "default" 0.0;
20521                visible: 0;
20522                color: 255 255 255 0;
20523                rel1.to: "bg";
20524                rel2.relative: 1.0 0.5;
20525                rel2.to: "bg";
20526                image {
20527                   normal: "bt_sm_hilight.png";
20528                   border: 6 6 6 0;
20529                }
20530             }
20531             description { state: "selected" 0.0;
20532                inherit: "default" 0.0;
20533                visible: 1;
20534                color: 255 255 255 255;
20535             }
20536          }
20537          part { name: "fg2";
20538             clip_to: "disclip";
20539             mouse_events: 0;
20540             description { state: "default" 0.0;
20541                visible: 0;
20542                color: 255 255 255 0;
20543                rel1.to: "bg";
20544                rel2.to: "bg";
20545                image {
20546                   normal: "bt_sm_shine.png";
20547                   border: 6 6 6 0;
20548                }
20549             }
20550             description { state: "selected" 0.0;
20551                inherit: "default" 0.0;
20552                visible: 1;
20553                color: 255 255 255 255;
20554             }
20555          }
20556          part { name: "disclip";
20557             type: RECT;
20558             description { state: "default" 0.0;
20559                rel1.to: "bg";
20560                rel2.to: "bg";
20561             }
20562             description { state: "disabled" 0.0;
20563                inherit: "default" 0.0;
20564                color: 255 255 255 64;
20565             }
20566          }
20567       }
20568       programs {
20569          // signal: elm,state,%s,active
20570          //   a "check" item named %s went active
20571          // signal: elm,state,%s,passive
20572          //   a "check" item named %s went passive
20573          // default is passive
20574          program {
20575             name:    "go_active";
20576             signal:  "elm,state,selected";
20577             source:  "elm";
20578             action:  STATE_SET "selected" 0.0;
20579             target:  "bg";
20580             target:  "fg1";
20581             target:  "fg2";
20582             target:  "elm.text";
20583             target:  "elm.text.sub";
20584          }
20585          program {
20586             name:    "go_passive";
20587             signal:  "elm,state,unselected";
20588             source:  "elm";
20589             action:  STATE_SET "default" 0.0;
20590             target:  "bg";
20591             target:  "fg1";
20592             target:  "fg2";
20593             target:  "elm.text";
20594             target:  "elm.text.sub";
20595             transition: LINEAR 0.1;
20596          }
20597          program {
20598             name:    "go_disabled";
20599             signal:  "elm,state,disabled";
20600             source:  "elm";
20601             action:  STATE_SET "disabled" 0.0;
20602             target:  "disclip";
20603          }
20604          program {
20605             name:    "go_enabled";
20606             signal:  "elm,state,enabled";
20607             source:  "elm";
20608             action:  STATE_SET "default" 0.0;
20609             target:  "disclip";
20610          }
20611          program {
20612             name:    "expand";
20613             signal:  "mouse,up,1";
20614             source:  "arrow";
20615             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
20616          }
20617          program {
20618             name:    "go_expanded";
20619             signal:  "elm,state,expanded";
20620             source:  "elm";
20621             action:  STATE_SET "active" 0.0;
20622             target:  "arrow";
20623          }
20624          program {
20625             name:    "go_contracted";
20626             signal:  "elm,state,contracted";
20627             source:  "elm";
20628             action:  STATE_SET "default" 0.0;
20629             target:  "arrow";
20630          }
20631       }
20632    }
20633    group { name: "elm/genlist/tree_compress/double_label/default";
20634       data.item: "stacking" "above";
20635       data.item: "selectraise" "on";
20636       data.item: "labels" "elm.text elm.text.sub";
20637       data.item: "icons" "elm.swallow.icon elm.swallow.end";
20638       data.item: "treesize" "20";
20639 //      data.item: "states" "";
20640       images {
20641          image: "bt_sm_base1.png" COMP;
20642          image: "bt_sm_shine.png" COMP;
20643          image: "bt_sm_hilight.png" COMP;
20644          image: "ilist_1.png" COMP;
20645          image: "ilist_item_shadow.png" COMP;
20646          image: "icon_arrow_right.png" COMP;
20647          image: "icon_arrow_down.png" COMP;
20648       }
20649       parts {
20650          part {
20651             name:           "event";
20652             type:           RECT;
20653             repeat_events: 1;
20654             description {
20655                state: "default" 0.0;
20656                color: 0 0 0 0;
20657             }
20658          }
20659          part {
20660             name: "base_sh";
20661             mouse_events: 0;
20662             description {
20663                state: "default" 0.0;
20664                align: 0.0 0.0;
20665                min: 0 10;
20666                fixed: 1 1;
20667                rel1 {
20668                   to: "base";
20669                   relative: 0.0 1.0;
20670                   offset: 0 0;
20671                }
20672                rel2 {
20673                   to: "base";
20674                   relative: 1.0 1.0;
20675                   offset: -1 0;
20676                }
20677                image {
20678                   normal: "ilist_item_shadow.png";
20679                }
20680                fill.smooth: 0;
20681             }
20682          }
20683          part {
20684             name: "base";
20685             mouse_events: 0;
20686             description {
20687                state: "default" 0.0;
20688                image {
20689                   normal: "ilist_1.png";
20690                   border: 2 2 2 2;
20691                }
20692                fill.smooth: 0;
20693             }
20694          }
20695          part { name: "bg";
20696             clip_to: "disclip";
20697             mouse_events: 0;
20698             description { state: "default" 0.0;
20699                visible: 0;
20700                color: 255 255 255 0;
20701                rel1 {
20702                   relative: 0.0 0.0;
20703                   offset: -5 -5;
20704                }
20705                rel2 {
20706                   relative: 1.0 1.0;
20707                   offset: 4 4;
20708                }
20709                image {
20710                   normal: "bt_sm_base1.png";
20711                   border: 6 6 6 6;
20712                }
20713                image.middle: SOLID;
20714             }
20715             description { state: "selected" 0.0;
20716                inherit: "default" 0.0;
20717                visible: 1;
20718                color: 255 255 255 255;
20719                rel1 {
20720                   relative: 0.0 0.0;
20721                   offset: -2 -2;
20722                }
20723                rel2 {
20724                   relative: 1.0 1.0;
20725                   offset: 1 1;
20726                }
20727             }
20728          }
20729          part { name: "elm.swallow.pad";
20730             type: SWALLOW;
20731             description { state: "default" 0.0;
20732                fixed: 1 0;
20733                align: 0.0 0.5;
20734                rel1 {
20735                   relative: 0.0  0.0;
20736                   offset:   4    4;
20737                }
20738                rel2 {
20739                   relative: 0.0  1.0;
20740                   offset:   4   -5;
20741                }
20742             }
20743          }
20744          part { name: "arrow";
20745             clip_to: "disclip";
20746             ignore_flags: ON_HOLD;
20747             description { state: "default" 0.0;
20748                fixed: 1 0;
20749                align: 0.0 0.5;
20750                aspect: 1.0 1.0;
20751                rel1 {
20752                   to_x: "elm.swallow.pad";
20753                   relative: 1.0  0.0;
20754                   offset:   -1    4;
20755                }
20756                rel2 {
20757                   to_x: "elm.swallow.pad";
20758                   relative: 1.0  1.0;
20759                   offset:   -1   -5;
20760                }
20761                image.normal: "icon_arrow_right.png";
20762             }
20763             description { state: "active" 0.0;
20764                inherit: "default" 0.0;
20765                image.normal: "icon_arrow_down.png";
20766             }
20767          }
20768          part { name: "elm.swallow.icon";
20769             clip_to: "disclip";
20770             type: SWALLOW;
20771             description { state: "default" 0.0;
20772                fixed: 1 0;
20773                align: 0.0 0.5;
20774                rel1 {
20775                   to_x: "arrow";
20776                   relative: 1.0  0.0;
20777                   offset:   4    4;
20778                }
20779                rel2 {
20780                   to_x: "arrow";
20781                   relative: 1.0  1.0;
20782                   offset:   4   -5;
20783                }
20784             }
20785          }
20786          part { name: "elm.swallow.end";
20787             clip_to: "disclip";
20788             type: SWALLOW;
20789             description { state: "default" 0.0;
20790                fixed: 1 0;
20791                align: 1.0 0.5;
20792                aspect: 1.0 1.0;
20793                aspect_preference: VERTICAL;
20794                rel1 {
20795                   relative: 1.0  0.0;
20796                   offset:   -5    4;
20797                }
20798                rel2 {
20799                   relative: 1.0  1.0;
20800                   offset:   -5   -5;
20801                }
20802             }
20803          }
20804          part { name: "elm.text";
20805             clip_to: "disclip";
20806             type:           TEXT;
20807             effect:         SOFT_SHADOW;
20808             mouse_events:   0;
20809             scale: 1;
20810             description {
20811                state: "default" 0.0;
20812 //               min: 16 16;
20813                rel1 {
20814                   to_x:     "elm.swallow.icon";
20815                   relative: 1.0  0.0;
20816                   offset:   0 4;
20817                }
20818                rel2 {
20819                   to_x:     "elm.swallow.end";
20820                   relative: 0.0  0.5;
20821                   offset:   -1 -5;
20822                }
20823                color: 0 0 0 255;
20824                color3: 0 0 0 0;
20825                text {
20826                   font: "Sans";
20827                   size: 10;
20828 //                  min: 1 1;
20829                   min: 0 1;
20830                   align: 0.0 0.5;
20831                   text_class: "list_item";
20832                }
20833             }
20834             description { state: "selected" 0.0;
20835                inherit: "default" 0.0;
20836                color: 224 224 224 255;
20837                color3: 0 0 0 64;
20838             }
20839          }
20840          part { name: "elm.text.sub";
20841             clip_to: "disclip";
20842             type:           TEXT;
20843             mouse_events:   0;
20844             scale: 1;
20845             description {
20846                state: "default" 0.0;
20847 //               min: 16 16;
20848                rel1 {
20849                   to_x:     "elm.swallow.icon";
20850                   relative: 1.0  0.5;
20851                   offset:   0 4;
20852                }
20853                rel2 {
20854                   to_x:     "elm.swallow.end";
20855                   relative: 0.0  1.0;
20856                   offset:   -1 -5;
20857                }
20858                color: 0 0 0 128;
20859                color3: 0 0 0 0;
20860                text {
20861                   font: "Sans";
20862                   size: 8;
20863 //                  min: 1 1;
20864                   min: 0 1;
20865                   align: 0.0 0.5;
20866                   text_class: "list_item";
20867                }
20868             }
20869             description { state: "selected" 0.0;
20870                inherit: "default" 0.0;
20871                color: 128 128 128 255;
20872                color3: 0 0 0 32;
20873             }
20874          }
20875          part { name: "fg1";
20876             clip_to: "disclip";
20877             mouse_events: 0;
20878             description { state: "default" 0.0;
20879                visible: 0;
20880                color: 255 255 255 0;
20881                rel1.to: "bg";
20882                rel2.relative: 1.0 0.5;
20883                rel2.to: "bg";
20884                image {
20885                   normal: "bt_sm_hilight.png";
20886                   border: 6 6 6 0;
20887                }
20888             }
20889             description { state: "selected" 0.0;
20890                inherit: "default" 0.0;
20891                visible: 1;
20892                color: 255 255 255 255;
20893             }
20894          }
20895          part { name: "fg2";
20896             clip_to: "disclip";
20897             mouse_events: 0;
20898             description { state: "default" 0.0;
20899                visible: 0;
20900                color: 255 255 255 0;
20901                rel1.to: "bg";
20902                rel2.to: "bg";
20903                image {
20904                   normal: "bt_sm_shine.png";
20905                   border: 6 6 6 0;
20906                }
20907             }
20908             description { state: "selected" 0.0;
20909                inherit: "default" 0.0;
20910                visible: 1;
20911                color: 255 255 255 255;
20912             }
20913          }
20914          part { name: "disclip";
20915             type: RECT;
20916             description { state: "default" 0.0;
20917                rel1.to: "bg";
20918                rel2.to: "bg";
20919             }
20920             description { state: "disabled" 0.0;
20921                inherit: "default" 0.0;
20922                color: 255 255 255 64;
20923             }
20924          }
20925       }
20926       programs {
20927          // signal: elm,state,%s,active
20928          //   a "check" item named %s went active
20929          // signal: elm,state,%s,passive
20930          //   a "check" item named %s went passive
20931          // default is passive
20932          program {
20933             name:    "go_active";
20934             signal:  "elm,state,selected";
20935             source:  "elm";
20936             action:  STATE_SET "selected" 0.0;
20937             target:  "bg";
20938             target:  "fg1";
20939             target:  "fg2";
20940             target:  "elm.text";
20941             target:  "elm.text.sub";
20942          }
20943          program {
20944             name:    "go_passive";
20945             signal:  "elm,state,unselected";
20946             source:  "elm";
20947             action:  STATE_SET "default" 0.0;
20948             target:  "bg";
20949             target:  "fg1";
20950             target:  "fg2";
20951             target:  "elm.text";
20952             target:  "elm.text.sub";
20953             transition: LINEAR 0.1;
20954          }
20955          program {
20956             name:    "go_disabled";
20957             signal:  "elm,state,disabled";
20958             source:  "elm";
20959             action:  STATE_SET "disabled" 0.0;
20960             target:  "disclip";
20961          }
20962          program {
20963             name:    "go_enabled";
20964             signal:  "elm,state,enabled";
20965             source:  "elm";
20966             action:  STATE_SET "default" 0.0;
20967             target:  "disclip";
20968          }
20969          program {
20970             name:    "expand";
20971             signal:  "mouse,up,1";
20972             source:  "arrow";
20973             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
20974          }
20975          program {
20976             name:    "go_expanded";
20977             signal:  "elm,state,expanded";
20978             source:  "elm";
20979             action:  STATE_SET "active" 0.0;
20980             target:  "arrow";
20981          }
20982          program {
20983             name:    "go_contracted";
20984             signal:  "elm,state,contracted";
20985             source:  "elm";
20986             action:  STATE_SET "default" 0.0;
20987             target:  "arrow";
20988          }
20989       }
20990    }
20991    group { name: "elm/genlist/tree_odd/double_label/default";
20992       data.item: "stacking" "below";
20993       data.item: "selectraise" "on";
20994       data.item: "labels" "elm.text elm.text.sub";
20995       data.item: "icons" "elm.swallow.icon elm.swallow.end";
20996       data.item: "treesize" "20";
20997 //      data.item: "states" "";
20998       images {
20999          image: "bt_sm_base1.png" COMP;
21000          image: "bt_sm_shine.png" COMP;
21001          image: "bt_sm_hilight.png" COMP;
21002          image: "ilist_2.png" COMP;
21003          image: "icon_arrow_right.png" COMP;
21004          image: "icon_arrow_down.png" COMP;
21005       }
21006       parts {
21007          part {
21008             name:           "event";
21009             type:           RECT;
21010             repeat_events: 1;
21011             description {
21012                state: "default" 0.0;
21013                color: 0 0 0 0;
21014             }
21015          }
21016          part {
21017             name: "base";
21018             mouse_events: 0;
21019             description {
21020                state: "default" 0.0;
21021                image {
21022                   normal: "ilist_2.png";
21023                   border: 2 2 2 2;
21024                }
21025                fill.smooth: 0;
21026             }
21027          }
21028          part { name: "bg";
21029             clip_to: "disclip";
21030             mouse_events: 0;
21031             description { state: "default" 0.0;
21032                visible: 0;
21033                color: 255 255 255 0;
21034                rel1 {
21035                   relative: 0.0 0.0;
21036                   offset: -5 -5;
21037                }
21038                rel2 {
21039                   relative: 1.0 1.0;
21040                   offset: 4 4;
21041                }
21042                image {
21043                   normal: "bt_sm_base1.png";
21044                   border: 6 6 6 6;
21045                }
21046                image.middle: SOLID;
21047             }
21048             description { state: "selected" 0.0;
21049                inherit: "default" 0.0;
21050                visible: 1;
21051                color: 255 255 255 255;
21052                rel1 {
21053                   relative: 0.0 0.0;
21054                   offset: -2 -2;
21055                }
21056                rel2 {
21057                   relative: 1.0 1.0;
21058                   offset: 1 1;
21059                }
21060             }
21061          }
21062          part { name: "elm.swallow.pad";
21063             type: SWALLOW;
21064             description { state: "default" 0.0;
21065                fixed: 1 0;
21066                align: 0.0 0.5;
21067                rel1 {
21068                   relative: 0.0  0.0;
21069                   offset:   4    4;
21070                }
21071                rel2 {
21072                   relative: 0.0  1.0;
21073                   offset:   4   -5;
21074                }
21075             }
21076          }
21077          part { name: "arrow";
21078             clip_to: "disclip";
21079             ignore_flags: ON_HOLD;
21080             description { state: "default" 0.0;
21081                fixed: 1 0;
21082                align: 0.0 0.5;
21083                aspect: 1.0 1.0;
21084                rel1 {
21085                   to_x: "elm.swallow.pad";
21086                   relative: 1.0  0.0;
21087                   offset:   -1    4;
21088                }
21089                rel2 {
21090                   to_x: "elm.swallow.pad";
21091                   relative: 1.0  1.0;
21092                   offset:   -1   -5;
21093                }
21094                image.normal: "icon_arrow_right.png";
21095             }
21096             description { state: "active" 0.0;
21097                inherit: "default" 0.0;
21098                image.normal: "icon_arrow_down.png";
21099             }
21100          }
21101          part { name: "elm.swallow.icon";
21102             clip_to: "disclip";
21103             type: SWALLOW;
21104             description { state: "default" 0.0;
21105                fixed: 1 0;
21106                align: 0.0 0.5;
21107                rel1 {
21108                   to_x: "arrow";
21109                   relative: 1.0  0.0;
21110                   offset:   4    4;
21111                }
21112                rel2 {
21113                   to_x: "arrow";
21114                   relative: 1.0  1.0;
21115                   offset:   4   -5;
21116                }
21117             }
21118          }
21119          part { name: "elm.swallow.end";
21120             clip_to: "disclip";
21121             type: SWALLOW;
21122             description { state: "default" 0.0;
21123                fixed: 1 0;
21124                align: 1.0 0.5;
21125                aspect: 1.0 1.0;
21126                aspect_preference: VERTICAL;
21127                rel1 {
21128                   relative: 1.0  0.0;
21129                   offset:   -5    4;
21130                }
21131                rel2 {
21132                   relative: 1.0  1.0;
21133                   offset:   -5   -5;
21134                }
21135             }
21136          }
21137          part { name: "elm.text";
21138             clip_to: "disclip";
21139             type:           TEXT;
21140             effect:         SOFT_SHADOW;
21141             mouse_events:   0;
21142             scale: 1;
21143             description {
21144                state: "default" 0.0;
21145 //               min: 16 16;
21146                rel1 {
21147                   to_x:     "elm.swallow.icon";
21148                   relative: 1.0  0.0;
21149                   offset:   0 4;
21150                }
21151                rel2 {
21152                   to_x:     "elm.swallow.end";
21153                   relative: 0.0  0.5;
21154                   offset:   -1 -5;
21155                }
21156                color: 0 0 0 255;
21157                color3: 0 0 0 0;
21158                text {
21159                   font: "Sans";
21160                   size: 10;
21161                   min: 1 1;
21162 //                  min: 0 1;
21163                   align: 0.0 0.5;
21164                   text_class: "list_item";
21165                }
21166             }
21167             description { state: "selected" 0.0;
21168                inherit: "default" 0.0;
21169                color: 224 224 224 255;
21170                color3: 0 0 0 64;
21171             }
21172          }
21173          part { name: "elm.text.sub";
21174             clip_to: "disclip";
21175             type:           TEXT;
21176             mouse_events:   0;
21177             scale: 1;
21178             description {
21179                state: "default" 0.0;
21180 //               min: 16 16;
21181                rel1 {
21182                   to_x:     "elm.swallow.icon";
21183                   relative: 1.0  0.5;
21184                   offset:   0 4;
21185                }
21186                rel2 {
21187                   to_x:     "elm.swallow.end";
21188                   relative: 0.0  1.0;
21189                   offset:   -1 -5;
21190                }
21191                color: 0 0 0 128;
21192                color3: 0 0 0 0;
21193                text {
21194                   font: "Sans";
21195                   size: 8;
21196                   min: 1 1;
21197 //                  min: 0 1;
21198                   align: 0.0 0.5;
21199                   text_class: "list_item";
21200                }
21201             }
21202             description { state: "selected" 0.0;
21203                inherit: "default" 0.0;
21204                color: 128 128 128 255;
21205                color3: 0 0 0 32;
21206             }
21207          }
21208          part { name: "fg1";
21209             clip_to: "disclip";
21210             mouse_events: 0;
21211             description { state: "default" 0.0;
21212                visible: 0;
21213                color: 255 255 255 0;
21214                rel1.to: "bg";
21215                rel2.relative: 1.0 0.5;
21216                rel2.to: "bg";
21217                image {
21218                   normal: "bt_sm_hilight.png";
21219                   border: 6 6 6 0;
21220                }
21221             }
21222             description { state: "selected" 0.0;
21223                inherit: "default" 0.0;
21224                visible: 1;
21225                color: 255 255 255 255;
21226             }
21227          }
21228          part { name: "fg2";
21229             clip_to: "disclip";
21230             mouse_events: 0;
21231             description { state: "default" 0.0;
21232                visible: 0;
21233                color: 255 255 255 0;
21234                rel1.to: "bg";
21235                rel2.to: "bg";
21236                image {
21237                   normal: "bt_sm_shine.png";
21238                   border: 6 6 6 0;
21239                }
21240             }
21241             description { state: "selected" 0.0;
21242                inherit: "default" 0.0;
21243                visible: 1;
21244                color: 255 255 255 255;
21245             }
21246          }
21247          part { name: "disclip";
21248             type: RECT;
21249             description { state: "default" 0.0;
21250                rel1.to: "bg";
21251                rel2.to: "bg";
21252             }
21253             description { state: "disabled" 0.0;
21254                inherit: "default" 0.0;
21255                color: 255 255 255 64;
21256             }
21257          }
21258       }
21259       programs {
21260          // signal: elm,state,%s,active
21261          //   a "check" item named %s went active
21262          // signal: elm,state,%s,passive
21263          //   a "check" item named %s went passive
21264          // default is passive
21265          program {
21266             name:    "go_active";
21267             signal:  "elm,state,selected";
21268             source:  "elm";
21269             action:  STATE_SET "selected" 0.0;
21270             target:  "bg";
21271             target:  "fg1";
21272             target:  "fg2";
21273             target:  "elm.text";
21274             target:  "elm.text.sub";
21275          }
21276          program {
21277             name:    "go_passive";
21278             signal:  "elm,state,unselected";
21279             source:  "elm";
21280             action:  STATE_SET "default" 0.0;
21281             target:  "bg";
21282             target:  "fg1";
21283             target:  "fg2";
21284             target:  "elm.text";
21285             target:  "elm.text.sub";
21286             transition: LINEAR 0.1;
21287          }
21288          program {
21289             name:    "go_disabled";
21290             signal:  "elm,state,disabled";
21291             source:  "elm";
21292             action:  STATE_SET "disabled" 0.0;
21293             target:  "disclip";
21294          }
21295          program {
21296             name:    "go_enabled";
21297             signal:  "elm,state,enabled";
21298             source:  "elm";
21299             action:  STATE_SET "default" 0.0;
21300             target:  "disclip";
21301          }
21302          program {
21303             name:    "expand";
21304             signal:  "mouse,up,1";
21305             source:  "arrow";
21306             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
21307          }
21308          program {
21309             name:    "go_expanded";
21310             signal:  "elm,state,expanded";
21311             source:  "elm";
21312             action:  STATE_SET "active" 0.0;
21313             target:  "arrow";
21314          }
21315          program {
21316             name:    "go_contracted";
21317             signal:  "elm,state,contracted";
21318             source:  "elm";
21319             action:  STATE_SET "default" 0.0;
21320             target:  "arrow";
21321          }
21322       }
21323    }
21324
21325    group { name: "elm/genlist/item/icon_top_text_bottom/default";
21326       data.item: "stacking" "above";
21327       data.item: "selectraise" "on";
21328       data.item: "labels" "elm.text";
21329       data.item: "icons" "elm.swallow.icon";
21330       data.item: "treesize" "20";
21331 //      data.item: "states" "";
21332       images {
21333          image: "bt_sm_base1.png" COMP;
21334          image: "bt_sm_shine.png" COMP;
21335          image: "bt_sm_hilight.png" COMP;
21336          image: "ilist_1.png" COMP;
21337          image: "ilist_item_shadow.png" COMP;
21338       }
21339       parts {
21340          part {
21341             name:           "event";
21342             type:           RECT;
21343             repeat_events: 1;
21344             description {
21345                state: "default" 0.0;
21346                color: 0 0 0 0;
21347             }
21348          }
21349          part {
21350             name: "base_sh";
21351             mouse_events: 0;
21352             description {
21353                state: "default" 0.0;
21354                align: 0.0 0.0;
21355                min: 0 10;
21356                fixed: 1 1;
21357                rel1 {
21358                   to: "base";
21359                   relative: 0.0 1.0;
21360                   offset: 0 0;
21361                }
21362                rel2 {
21363                   to: "base";
21364                   relative: 1.0 1.0;
21365                   offset: -1 0;
21366                }
21367                image {
21368                   normal: "ilist_item_shadow.png";
21369                }
21370                fill.smooth: 0;
21371             }
21372          }
21373          part {
21374             name: "base";
21375             mouse_events: 0;
21376             description {
21377                state: "default" 0.0;
21378                image {
21379                   normal: "ilist_1.png";
21380                   border: 2 2 2 2;
21381                }
21382                fill.smooth: 0;
21383             }
21384          }
21385          part { name: "bg";
21386             clip_to: "disclip";
21387             mouse_events: 0;
21388             description { state: "default" 0.0;
21389                visible: 0;
21390                color: 255 255 255 0;
21391                rel1 {
21392                   relative: 0.0 0.0;
21393                   offset: -5 -5;
21394                }
21395                rel2 {
21396                   relative: 1.0 1.0;
21397                   offset: 4 4;
21398                }
21399                image {
21400                   normal: "bt_sm_base1.png";
21401                   border: 6 6 6 6;
21402                }
21403                image.middle: SOLID;
21404             }
21405             description { state: "selected" 0.0;
21406                inherit: "default" 0.0;
21407                visible: 1;
21408                color: 255 255 255 255;
21409                rel1 {
21410                   relative: 0.0 0.0;
21411                   offset: -2 -2;
21412                }
21413                rel2 {
21414                   relative: 1.0 1.0;
21415                   offset: 1 1;
21416                }
21417             }
21418          }
21419          part { name: "elm.swallow.pad";
21420             type: SWALLOW;
21421             description { state: "default" 0.0;
21422                fixed: 1 0;
21423                align: 0.0 0.5;
21424                rel1 {
21425                   relative: 0.0  0.0;
21426                   offset:   4    4;
21427                }
21428                rel2 {
21429                   relative: 1.0  1.0;
21430                   offset:   -4   -5;
21431                }
21432             }
21433          }
21434          part { name: "elm.swallow.icon";
21435             clip_to: "disclip";
21436             type: SWALLOW;
21437             description { state: "default" 0.0;
21438                fixed: 1 0;
21439                align: 0.5 0.5;
21440                rel1 {
21441                   to_x: "elm.swallow.pad";
21442                   relative: 0.0  0.0;
21443                   offset:   -1    4;
21444                }
21445                rel2 {
21446                   to_x: "elm.swallow.pad";
21447                   relative: 1.0  1.0;
21448                   offset:   -1   -5;
21449                }
21450             }
21451          }
21452          part { name: "elm.text";
21453             clip_to: "disclip";
21454             type:           TEXT;
21455             effect:         SOFT_SHADOW;
21456             mouse_events:   0;
21457             scale: 1;
21458             description {
21459                state: "default" 0.0;
21460 //               min: 16 16;
21461                rel1 {
21462                   to_y:     "elm.swallow.icon";
21463                   relative: 0.0  1.0;
21464                   offset:   0 4;
21465                }
21466                rel2 {
21467                   relative: 1.0  1.0;
21468                   offset:   -5 -5;
21469                }
21470                color: 0 0 0 255;
21471                color3: 0 0 0 0;
21472                text {
21473                   font: "Sans";
21474                   size: 10;
21475                   min: 1 1;
21476 //                  min: 0 1;
21477                   align: 0.5 0.5;
21478                   text_class: "list_item";
21479                }
21480             }
21481             description { state: "selected" 0.0;
21482                inherit: "default" 0.0;
21483                color: 224 224 224 255;
21484                color3: 0 0 0 64;
21485             }
21486          }
21487          part { name: "fg1";
21488             clip_to: "disclip";
21489             mouse_events: 0;
21490             description { state: "default" 0.0;
21491                visible: 0;
21492                color: 255 255 255 0;
21493                rel1.to: "bg";
21494                rel2.relative: 1.0 0.5;
21495                rel2.to: "bg";
21496                image {
21497                   normal: "bt_sm_hilight.png";
21498                   border: 6 6 6 0;
21499                }
21500             }
21501             description { state: "selected" 0.0;
21502                inherit: "default" 0.0;
21503                visible: 1;
21504                color: 255 255 255 255;
21505             }
21506          }
21507          part { name: "fg2";
21508             clip_to: "disclip";
21509             mouse_events: 0;
21510             description { state: "default" 0.0;
21511                visible: 0;
21512                color: 255 255 255 0;
21513                rel1.to: "bg";
21514                rel2.to: "bg";
21515                image {
21516                   normal: "bt_sm_shine.png";
21517                   border: 6 6 6 0;
21518                }
21519             }
21520             description { state: "selected" 0.0;
21521                inherit: "default" 0.0;
21522                visible: 1;
21523                color: 255 255 255 255;
21524             }
21525          }
21526          part { name: "disclip";
21527             type: RECT;
21528             description { state: "default" 0.0;
21529                rel1.to: "bg";
21530                rel2.to: "bg";
21531             }
21532             description { state: "disabled" 0.0;
21533                inherit: "default" 0.0;
21534                color: 255 255 255 64;
21535             }
21536          }
21537       }
21538       programs {
21539          // signal: elm,state,%s,active
21540          //   a "check" item named %s went active
21541          // signal: elm,state,%s,passive
21542          //   a "check" item named %s went passive
21543          // default is passive
21544          program {
21545             name:    "go_active";
21546             signal:  "elm,state,selected";
21547             source:  "elm";
21548             action:  STATE_SET "selected" 0.0;
21549             target:  "bg";
21550             target:  "fg1";
21551             target:  "fg2";
21552             target:  "elm.text";
21553          }
21554          program {
21555             name:    "go_passive";
21556             signal:  "elm,state,unselected";
21557             source:  "elm";
21558             action:  STATE_SET "default" 0.0;
21559             target:  "bg";
21560             target:  "fg1";
21561             target:  "fg2";
21562             target:  "elm.text";
21563             transition: LINEAR 0.1;
21564          }
21565          program {
21566             name:    "go_disabled";
21567             signal:  "elm,state,disabled";
21568             source:  "elm";
21569             action:  STATE_SET "disabled" 0.0;
21570             target:  "disclip";
21571          }
21572          program {
21573             name:    "go_enabled";
21574             signal:  "elm,state,enabled";
21575             source:  "elm";
21576             action:  STATE_SET "default" 0.0;
21577             target:  "disclip";
21578          }
21579       }
21580    }
21581    group { name: "elm/genlist/item_odd/icon_top_text_bottom/default";
21582       data.item: "stacking" "below";
21583       data.item: "selectraise" "on";
21584       data.item: "labels" "elm.text";
21585       data.item: "icons" "elm.swallow.icon";
21586       data.item: "treesize" "20";
21587 //      data.item: "states" "";
21588       images {
21589          image: "bt_sm_base1.png" COMP;
21590          image: "bt_sm_shine.png" COMP;
21591          image: "bt_sm_hilight.png" COMP;
21592          image: "ilist_2.png" COMP;
21593       }
21594       parts {
21595          part { name: "event";
21596             type: RECT;
21597             repeat_events: 1;
21598             description {
21599                state: "default" 0.0;
21600                color: 0 0 0 0;
21601             }
21602          }
21603          part {
21604             name: "base";
21605             mouse_events: 0;
21606             description {
21607                state: "default" 0.0;
21608                image {
21609                   normal: "ilist_2.png";
21610                   border: 2 2 2 2;
21611                }
21612                fill.smooth: 0;
21613             }
21614          }
21615          part { name: "bg";
21616             clip_to: "disclip";
21617             mouse_events: 0;
21618             description { state: "default" 0.0;
21619                visible: 0;
21620                color: 255 255 255 0;
21621                rel1 {
21622                   relative: 0.0 0.0;
21623                   offset: -5 -5;
21624                }
21625                rel2 {
21626                   relative: 1.0 1.0;
21627                   offset: 4 4;
21628                }
21629                image {
21630                   normal: "bt_sm_base1.png";
21631                   border: 6 6 6 6;
21632                }
21633                image.middle: SOLID;
21634             }
21635             description { state: "selected" 0.0;
21636                inherit: "default" 0.0;
21637                visible: 1;
21638                color: 255 255 255 255;
21639                rel1 {
21640                   relative: 0.0 0.0;
21641                   offset: -2 -2;
21642                }
21643                rel2 {
21644                   relative: 1.0 1.0;
21645                   offset: 1 1;
21646                }
21647             }
21648          }
21649          part { name: "elm.swallow.pad";
21650             type: SWALLOW;
21651             description { state: "default" 0.0;
21652                fixed: 1 0;
21653                align: 0.0 0.5;
21654                rel1 {
21655                   relative: 0.0  0.0;
21656                   offset:   4    4;
21657                }
21658                rel2 {
21659                   relative: 1.0  1.0;
21660                   offset:   -4   -5;
21661                }
21662             }
21663          }
21664          part { name: "elm.swallow.icon";
21665             clip_to: "disclip";
21666             type: SWALLOW;
21667             description { state: "default" 0.0;
21668                fixed: 1 0;
21669                align: 0.5 0.5;
21670                rel1 {
21671                   to_x: "elm.swallow.pad";
21672                   relative: 0.0  0.0;
21673                   offset:   -1    4;
21674                }
21675                rel2 {
21676                   to_x: "elm.swallow.pad";
21677                   relative: 1.0  1.0;
21678                   offset:   -1   -5;
21679                }
21680             }
21681          }
21682          part { name: "elm.text";
21683             clip_to: "disclip";
21684             type:           TEXT;
21685             effect:         SOFT_SHADOW;
21686             mouse_events:   0;
21687             scale: 1;
21688             description {
21689                state: "default" 0.0;
21690 //               min:      16 16;
21691                rel1 {
21692                   to_y:     "elm.swallow.icon";
21693                   relative: 0.0  1.0;
21694                   offset:   0 4;
21695                }
21696                rel2 {
21697                   relative: 1.0  1.0;
21698                   offset:   -5 -5;
21699                }
21700                color: 0 0 0 255;
21701                color3: 0 0 0 0;
21702                text {
21703                   font: "Sans";
21704                   size: 10;
21705                   min: 1 1;
21706 //                  min: 0 1;
21707                   align: 0.5 0.5;
21708                   text_class: "list_item";
21709                }
21710             }
21711             description { state: "selected" 0.0;
21712                inherit: "default" 0.0;
21713                color: 224 224 224 255;
21714                color3: 0 0 0 64;
21715             }
21716          }
21717          part { name: "fg1";
21718             clip_to: "disclip";
21719             mouse_events: 0;
21720             description { state: "default" 0.0;
21721                visible: 0;
21722                color: 255 255 255 0;
21723                rel1.to: "bg";
21724                rel2.relative: 1.0 0.5;
21725                rel2.to: "bg";
21726                image {
21727                   normal: "bt_sm_hilight.png";
21728                   border: 6 6 6 0;
21729                }
21730             }
21731             description { state: "selected" 0.0;
21732                inherit: "default" 0.0;
21733                visible: 1;
21734                color: 255 255 255 255;
21735             }
21736          }
21737          part { name: "fg2";
21738             clip_to: "disclip";
21739             mouse_events: 0;
21740             description { state: "default" 0.0;
21741                visible: 0;
21742                color: 255 255 255 0;
21743                rel1.to: "bg";
21744                rel2.to: "bg";
21745                image {
21746                   normal: "bt_sm_shine.png";
21747                   border: 6 6 6 0;
21748                }
21749             }
21750             description { state: "selected" 0.0;
21751                inherit: "default" 0.0;
21752                visible: 1;
21753                color: 255 255 255 255;
21754             }
21755          }
21756          part { name: "disclip";
21757             type: RECT;
21758             description { state: "default" 0.0;
21759                rel1.to: "bg";
21760                rel2.to: "bg";
21761             }
21762             description { state: "disabled" 0.0;
21763                inherit: "default" 0.0;
21764                color: 255 255 255 64;
21765             }
21766          }
21767       }
21768       programs {
21769          // signal: elm,state,%s,active
21770          //   a "check" item named %s went active
21771          // signal: elm,state,%s,passive
21772          //   a "check" item named %s went passive
21773          // default is passive
21774          program {
21775             name:    "go_active";
21776             signal:  "elm,state,selected";
21777             source:  "elm";
21778             action:  STATE_SET "selected" 0.0;
21779             target:  "bg";
21780             target:  "fg1";
21781             target:  "fg2";
21782             target:  "elm.text";
21783          }
21784          program {
21785             name:    "go_passive";
21786             signal:  "elm,state,unselected";
21787             source:  "elm";
21788             action:  STATE_SET "default" 0.0;
21789             target:  "bg";
21790             target:  "fg1";
21791             target:  "fg2";
21792             target:  "elm.text";
21793             transition: LINEAR 0.1;
21794          }
21795          program {
21796             name:    "go_disabled";
21797             signal:  "elm,state,disabled";
21798             source:  "elm";
21799             action:  STATE_SET "disabled" 0.0;
21800             target:  "disclip";
21801          }
21802          program {
21803             name:    "go_enabled";
21804             signal:  "elm,state,enabled";
21805             source:  "elm";
21806             action:  STATE_SET "default" 0.0;
21807             target:  "disclip";
21808          }
21809       }
21810    }
21811
21812    group { name: "elm/genlist/tree/icon_top_text_bottom/default";
21813       data.item: "stacking" "above";
21814       data.item: "selectraise" "on";
21815       data.item: "labels" "elm.text";
21816       data.item: "icons" "elm.swallow.icon";
21817       data.item: "treesize" "20";
21818 //      data.item: "states" "";
21819       images {
21820          image: "bt_sm_base1.png" COMP;
21821          image: "bt_sm_shine.png" COMP;
21822          image: "bt_sm_hilight.png" COMP;
21823          image: "ilist_1.png" COMP;
21824          image: "ilist_item_shadow.png" COMP;
21825          image: "icon_arrow_right.png" COMP;
21826          image: "icon_arrow_down.png" COMP;
21827       }
21828       parts {
21829          part {
21830             name:           "event";
21831             type:           RECT;
21832             repeat_events: 1;
21833             description {
21834                state: "default" 0.0;
21835                color: 0 0 0 0;
21836             }
21837          }
21838          part {
21839             name: "base_sh";
21840             mouse_events: 0;
21841             description {
21842                state: "default" 0.0;
21843                align: 0.0 0.0;
21844                min: 0 10;
21845                fixed: 1 1;
21846                rel1 {
21847                   to: "base";
21848                   relative: 0.0 1.0;
21849                   offset: 0 0;
21850                }
21851                rel2 {
21852                   to: "base";
21853                   relative: 1.0 1.0;
21854                   offset: -1 0;
21855                }
21856                image {
21857                   normal: "ilist_item_shadow.png";
21858                }
21859                fill.smooth: 0;
21860             }
21861          }
21862          part {
21863             name: "base";
21864             mouse_events: 0;
21865             description {
21866                state: "default" 0.0;
21867                image {
21868                   normal: "ilist_1.png";
21869                   border: 2 2 2 2;
21870                }
21871                fill.smooth: 0;
21872             }
21873          }
21874          part { name: "bg";
21875             clip_to: "disclip";
21876             mouse_events: 0;
21877             description { state: "default" 0.0;
21878                visible: 0;
21879                color: 255 255 255 0;
21880                rel1 {
21881                   relative: 0.0 0.0;
21882                   offset: -5 -5;
21883                }
21884                rel2 {
21885                   relative: 1.0 1.0;
21886                   offset: 4 4;
21887                }
21888                image {
21889                   normal: "bt_sm_base1.png";
21890                   border: 6 6 6 6;
21891                }
21892                image.middle: SOLID;
21893             }
21894             description { state: "selected" 0.0;
21895                inherit: "default" 0.0;
21896                visible: 1;
21897                color: 255 255 255 255;
21898                rel1 {
21899                   relative: 0.0 0.0;
21900                   offset: -2 -2;
21901                }
21902                rel2 {
21903                   relative: 1.0 1.0;
21904                   offset: 1 1;
21905                }
21906             }
21907          }
21908          part { name: "elm.swallow.pad";
21909             type: SWALLOW;
21910             description { state: "default" 0.0;
21911                fixed: 1 0;
21912                align: 0.0 0.5;
21913                rel1 {
21914                   relative: 0.0  0.0;
21915                   offset:   4    4;
21916                }
21917                rel2 {
21918                   relative: 0.0  1.0;
21919                   offset:   4   -5;
21920                }
21921             }
21922          }
21923          part { name: "arrow";
21924             clip_to: "disclip";
21925             ignore_flags: ON_HOLD;
21926             description { state: "default" 0.0;
21927                fixed: 1 0;
21928                align: 0.0 0.5;
21929                aspect: 1.0 1.0;
21930                rel1 {
21931                   to_x: "elm.swallow.pad";
21932                   relative: 1.0  0.0;
21933                   offset:   -1    4;
21934                }
21935                rel2 {
21936                   to_x: "elm.swallow.pad";
21937                   relative: 1.0  1.0;
21938                   offset:   -1   -5;
21939                }
21940                image.normal: "icon_arrow_right.png";
21941             }
21942             description { state: "active" 0.0;
21943                inherit: "default" 0.0;
21944                image.normal: "icon_arrow_down.png";
21945             }
21946          }
21947          part { name: "elm.swallow.icon";
21948             clip_to: "disclip";
21949             type: SWALLOW;
21950             description { state: "default" 0.0;
21951                fixed: 1 0;
21952                align: 0.5 0.5;
21953                rel1 {
21954                   to_x: "arrow";
21955                   relative: 1.0  0.0;
21956                   offset:   4    4;
21957                }
21958                rel2 {
21959                   relative: 1.0  1.0;
21960                   offset:   -4   -5;
21961                }
21962             }
21963          }
21964          part { name: "elm.text";
21965             clip_to: "disclip";
21966             type:           TEXT;
21967             effect:         SOFT_SHADOW;
21968             mouse_events:   0;
21969             scale: 1;
21970             description {
21971                state: "default" 0.0;
21972 //               min: 16 16;
21973                rel1 {
21974                   to_y:     "elm.swallow.icon";
21975                   relative: 0.0  1.0;
21976                   offset:   0 4;
21977                }
21978                rel2 {
21979                   relative: 1.0  1.0;
21980                   offset:   -5 -5;
21981                }
21982                color: 0 0 0 255;
21983                color3: 0 0 0 0;
21984                text {
21985                   font: "Sans";
21986                   size: 10;
21987                   min: 1 1;
21988 //                  min: 0 1;
21989                   align: 0.5 0.5;
21990                   text_class: "list_item";
21991                }
21992             }
21993             description { state: "selected" 0.0;
21994                inherit: "default" 0.0;
21995                color: 224 224 224 255;
21996                color3: 0 0 0 64;
21997             }
21998          }
21999          part { name: "fg1";
22000             clip_to: "disclip";
22001             mouse_events: 0;
22002             description { state: "default" 0.0;
22003                visible: 0;
22004                color: 255 255 255 0;
22005                rel1.to: "bg";
22006                rel2.relative: 1.0 0.5;
22007                rel2.to: "bg";
22008                image {
22009                   normal: "bt_sm_hilight.png";
22010                   border: 6 6 6 0;
22011                }
22012             }
22013             description { state: "selected" 0.0;
22014                inherit: "default" 0.0;
22015                visible: 1;
22016                color: 255 255 255 255;
22017             }
22018          }
22019          part { name: "fg2";
22020             clip_to: "disclip";
22021             mouse_events: 0;
22022             description { state: "default" 0.0;
22023                visible: 0;
22024                color: 255 255 255 0;
22025                rel1.to: "bg";
22026                rel2.to: "bg";
22027                image {
22028                   normal: "bt_sm_shine.png";
22029                   border: 6 6 6 0;
22030                }
22031             }
22032             description { state: "selected" 0.0;
22033                inherit: "default" 0.0;
22034                visible: 1;
22035                color: 255 255 255 255;
22036             }
22037          }
22038          part { name: "disclip";
22039             type: RECT;
22040             description { state: "default" 0.0;
22041                rel1.to: "bg";
22042                rel2.to: "bg";
22043             }
22044             description { state: "disabled" 0.0;
22045                inherit: "default" 0.0;
22046                color: 255 255 255 64;
22047             }
22048          }
22049       }
22050       programs {
22051          // signal: elm,state,%s,active
22052          //   a "check" item named %s went active
22053          // signal: elm,state,%s,passive
22054          //   a "check" item named %s went passive
22055          // default is passive
22056          program {
22057             name:    "go_active";
22058             signal:  "elm,state,selected";
22059             source:  "elm";
22060             action:  STATE_SET "selected" 0.0;
22061             target:  "bg";
22062             target:  "fg1";
22063             target:  "fg2";
22064             target:  "elm.text";
22065          }
22066          program {
22067             name:    "go_passive";
22068             signal:  "elm,state,unselected";
22069             source:  "elm";
22070             action:  STATE_SET "default" 0.0;
22071             target:  "bg";
22072             target:  "fg1";
22073             target:  "fg2";
22074             target:  "elm.text";
22075             transition: LINEAR 0.1;
22076          }
22077          program {
22078             name:    "go_disabled";
22079             signal:  "elm,state,disabled";
22080             source:  "elm";
22081             action:  STATE_SET "disabled" 0.0;
22082             target:  "disclip";
22083          }
22084          program {
22085             name:    "go_enabled";
22086             signal:  "elm,state,enabled";
22087             source:  "elm";
22088             action:  STATE_SET "default" 0.0;
22089             target:  "disclip";
22090          }
22091          program {
22092             name:    "expand";
22093             signal:  "mouse,up,1";
22094             source:  "arrow";
22095             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
22096          }
22097          program {
22098             name:    "go_expanded";
22099             signal:  "elm,state,expanded";
22100             source:  "elm";
22101             action:  STATE_SET "active" 0.0;
22102             target:  "arrow";
22103          }
22104          program {
22105             name:    "go_contracted";
22106             signal:  "elm,state,contracted";
22107             source:  "elm";
22108             action:  STATE_SET "default" 0.0;
22109             target:  "arrow";
22110          }
22111       }
22112    }
22113    group { name: "elm/genlist/tree_odd/icon_top_text_bottom/default";
22114       data.item: "stacking" "below";
22115       data.item: "selectraise" "on";
22116       data.item: "labels" "elm.text";
22117       data.item: "icons" "elm.swallow.icon";
22118       data.item: "treesize" "20";
22119 //      data.item: "states" "";
22120       images {
22121          image: "bt_sm_base1.png" COMP;
22122          image: "bt_sm_shine.png" COMP;
22123          image: "bt_sm_hilight.png" COMP;
22124          image: "ilist_2.png" COMP;
22125          image: "icon_arrow_right.png" COMP;
22126          image: "icon_arrow_down.png" COMP;
22127       }
22128       parts {
22129          part {
22130             name:           "event";
22131             type:           RECT;
22132             repeat_events: 1;
22133             description {
22134                state: "default" 0.0;
22135                color: 0 0 0 0;
22136             }
22137          }
22138          part {
22139             name: "base";
22140             mouse_events: 0;
22141             description {
22142                state: "default" 0.0;
22143                image {
22144                   normal: "ilist_2.png";
22145                   border: 2 2 2 2;
22146                }
22147                fill.smooth: 0;
22148             }
22149          }
22150          part { name: "bg";
22151             clip_to: "disclip";
22152             mouse_events: 0;
22153             description { state: "default" 0.0;
22154                visible: 0;
22155                color: 255 255 255 0;
22156                rel1 {
22157                   relative: 0.0 0.0;
22158                   offset: -5 -5;
22159                }
22160                rel2 {
22161                   relative: 1.0 1.0;
22162                   offset: 4 4;
22163                }
22164                image {
22165                   normal: "bt_sm_base1.png";
22166                   border: 6 6 6 6;
22167                }
22168                image.middle: SOLID;
22169             }
22170             description { state: "selected" 0.0;
22171                inherit: "default" 0.0;
22172                visible: 1;
22173                color: 255 255 255 255;
22174                rel1 {
22175                   relative: 0.0 0.0;
22176                   offset: -2 -2;
22177                }
22178                rel2 {
22179                   relative: 1.0 1.0;
22180                   offset: 1 1;
22181                }
22182             }
22183          }
22184          part { name: "elm.swallow.pad";
22185             type: SWALLOW;
22186             description { state: "default" 0.0;
22187                fixed: 1 0;
22188                align: 0.0 0.5;
22189                rel1 {
22190                   relative: 0.0  0.0;
22191                   offset:   4    4;
22192                }
22193                rel2 {
22194                   relative: 0.0  1.0;
22195                   offset:   4   -5;
22196                }
22197             }
22198          }
22199          part { name: "arrow";
22200             clip_to: "disclip";
22201             ignore_flags: ON_HOLD;
22202             description { state: "default" 0.0;
22203                fixed: 1 0;
22204                align: 0.0 0.5;
22205                aspect: 1.0 1.0;
22206                rel1 {
22207                   to_x: "elm.swallow.pad";
22208                   relative: 1.0  0.0;
22209                   offset:   -1    4;
22210                }
22211                rel2 {
22212                   to_x: "elm.swallow.pad";
22213                   relative: 1.0  1.0;
22214                   offset:   -1   -5;
22215                }
22216                image.normal: "icon_arrow_right.png";
22217             }
22218             description { state: "active" 0.0;
22219                inherit: "default" 0.0;
22220                image.normal: "icon_arrow_down.png";
22221             }
22222          }
22223          part { name: "elm.swallow.icon";
22224             clip_to: "disclip";
22225             type: SWALLOW;
22226             description { state: "default" 0.0;
22227                fixed: 1 0;
22228                align: 0.5 0.5;
22229                rel1 {
22230                   to_x: "arrow";
22231                   relative: 1.0  0.0;
22232                   offset:   4    4;
22233                }
22234                rel2 {
22235                   relative: 1.0  1.0;
22236                   offset:   -4   -5;
22237                }
22238             }
22239          }
22240          part { name: "elm.text";
22241             clip_to: "disclip";
22242             type:           TEXT;
22243             effect:         SOFT_SHADOW;
22244             mouse_events:   0;
22245             scale: 1;
22246             description {
22247                state: "default" 0.0;
22248 //               min: 16 16;
22249                rel1 {
22250                   to_y:     "elm.swallow.icon";
22251                   relative: 0.0  1.0;
22252                   offset:   0 4;
22253                }
22254                rel2 {
22255                   relative: 1.0  1.0;
22256                   offset:   -5 -5;
22257                }
22258                color: 0 0 0 255;
22259                color3: 0 0 0 0;
22260                text {
22261                   font: "Sans";
22262                   size: 10;
22263                   min: 1 1;
22264 //                  min: 0 1;
22265                   align: 0.5 0.5;
22266                   text_class: "list_item";
22267                }
22268             }
22269             description { state: "selected" 0.0;
22270                inherit: "default" 0.0;
22271                color: 224 224 224 255;
22272                color3: 0 0 0 64;
22273             }
22274          }
22275          part { name: "fg1";
22276             clip_to: "disclip";
22277             mouse_events: 0;
22278             description { state: "default" 0.0;
22279                visible: 0;
22280                color: 255 255 255 0;
22281                rel1.to: "bg";
22282                rel2.relative: 1.0 0.5;
22283                rel2.to: "bg";
22284                image {
22285                   normal: "bt_sm_hilight.png";
22286                   border: 6 6 6 0;
22287                }
22288             }
22289             description { state: "selected" 0.0;
22290                inherit: "default" 0.0;
22291                visible: 1;
22292                color: 255 255 255 255;
22293             }
22294          }
22295          part { name: "fg2";
22296             clip_to: "disclip";
22297             mouse_events: 0;
22298             description { state: "default" 0.0;
22299                visible: 0;
22300                color: 255 255 255 0;
22301                rel1.to: "bg";
22302                rel2.to: "bg";
22303                image {
22304                   normal: "bt_sm_shine.png";
22305                   border: 6 6 6 0;
22306                }
22307             }
22308             description { state: "selected" 0.0;
22309                inherit: "default" 0.0;
22310                visible: 1;
22311                color: 255 255 255 255;
22312             }
22313          }
22314          part { name: "disclip";
22315             type: RECT;
22316             description { state: "default" 0.0;
22317                rel1.to: "bg";
22318                rel2.to: "bg";
22319             }
22320             description { state: "disabled" 0.0;
22321                inherit: "default" 0.0;
22322                color: 255 255 255 64;
22323             }
22324          }
22325       }
22326       programs {
22327          // signal: elm,state,%s,active
22328          //   a "check" item named %s went active
22329          // signal: elm,state,%s,passive
22330          //   a "check" item named %s went passive
22331          // default is passive
22332          program {
22333             name:    "go_active";
22334             signal:  "elm,state,selected";
22335             source:  "elm";
22336             action:  STATE_SET "selected" 0.0;
22337             target:  "bg";
22338             target:  "fg1";
22339             target:  "fg2";
22340             target:  "elm.text";
22341          }
22342          program {
22343             name:    "go_passive";
22344             signal:  "elm,state,unselected";
22345             source:  "elm";
22346             action:  STATE_SET "default" 0.0;
22347             target:  "bg";
22348             target:  "fg1";
22349             target:  "fg2";
22350             target:  "elm.text";
22351             transition: LINEAR 0.1;
22352          }
22353          program {
22354             name:    "go_disabled";
22355             signal:  "elm,state,disabled";
22356             source:  "elm";
22357             action:  STATE_SET "disabled" 0.0;
22358             target:  "disclip";
22359          }
22360          program {
22361             name:    "go_enabled";
22362             signal:  "elm,state,enabled";
22363             source:  "elm";
22364             action:  STATE_SET "default" 0.0;
22365             target:  "disclip";
22366          }
22367          program {
22368             name:    "expand";
22369             signal:  "mouse,up,1";
22370             source:  "arrow";
22371             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
22372          }
22373          program {
22374             name:    "go_expanded";
22375             signal:  "elm,state,expanded";
22376             source:  "elm";
22377             action:  STATE_SET "active" 0.0;
22378             target:  "arrow";
22379          }
22380          program {
22381             name:    "go_contracted";
22382             signal:  "elm,state,contracted";
22383             source:  "elm";
22384             action:  STATE_SET "default" 0.0;
22385             target:  "arrow";
22386          }
22387       }
22388    }
22389
22390
22391 ///////////////////////////////////////////////////////////////////////////////
22392    group { name: "elm/check/base/default";
22393       images {
22394          image: "check_base.png" COMP;
22395          image: "check.png" COMP;
22396          image: "check2.png" COMP;
22397       }
22398       parts {
22399          part { name: "bg";
22400             mouse_events: 0;
22401             scale: 1;
22402             description { state: "default" 0.0;
22403                rel1.offset: 1 1;
22404                rel2.relative: 0.0 1.0;
22405                rel2.offset: 1 -2;
22406                align: 0.0 0.5;
22407                min: 16 16;
22408                max: 16 16;
22409                aspect: 1.0 1.0;
22410                aspect_preference: VERTICAL;
22411                image {
22412                   normal: "check_base.png";
22413                   border: 5 5 5 5;
22414                   middle: 0;
22415                }
22416                fill.smooth : 0;
22417             }
22418          }
22419          part { name: "check";
22420             mouse_events: 0;
22421             scale: 1;
22422             description { state: "default" 0.0;
22423                rel1 {
22424                   to: "bg";
22425                   offset: 1 1;
22426                }
22427                rel2 {
22428                   to: "bg";
22429                   offset: -2 -2;
22430                }
22431                visible: 0;
22432                color: 255 255 255 255;
22433                image.normal: "check.png";
22434             }
22435             description { state: "visible" 0.0;
22436                inherit: "default" 0.0;
22437                visible: 1;
22438             }
22439             description { state: "disabled" 0.0;
22440                inherit: "default" 0.0;
22441                visible: 0;
22442                color: 128 128 128 128;
22443             }
22444             description { state: "disabled_visible" 0.0;
22445                inherit: "default" 0.0;
22446                color: 128 128 128 128;
22447                visible: 1;
22448             }
22449          }
22450          part { name: "elm.swallow.content";
22451             type: SWALLOW;
22452             description { state: "default" 0.0;
22453                fixed: 1 0;
22454                visible: 0;
22455                align: 0.0 0.5;
22456           rel1.to_x: "bg";
22457                rel1.relative: 1.0 0.0;
22458                rel1.offset: 1 1;
22459           rel2.to_x: "bg";
22460                rel2.offset: 1 -2;
22461                rel2.relative: 1.0 1.0;
22462             }
22463             description { state: "visible" 0.0;
22464                inherit: "default" 0.0;
22465           fixed: 1 0;
22466                visible: 1;
22467                aspect: 1.0 1.0;
22468             }
22469             description { state: "disabled" 0.0;
22470                inherit: "default" 0.0;
22471                color: 128 128 128 128;
22472             }
22473             description { state: "disabled_visible" 0.0;
22474                inherit: "default" 0.0;
22475                color: 128 128 128 128;
22476           fixed: 1 0;
22477                visible: 1;
22478                aspect: 1.0 1.0;
22479             }
22480          }
22481          part { name: "elm.text";
22482             type: TEXT;
22483             mouse_events: 0;
22484             scale: 1;
22485             description { state: "default" 0.0;
22486                visible: 0;
22487                rel1.to_x: "elm.swallow.content";
22488                rel1.relative: 1.0 0.0;
22489                rel1.offset: 1 1;
22490                rel2.relative: 1.0 1.0;
22491                rel2.offset: -2 -2;
22492                color: 0 0 0 255;
22493                text {
22494                   font: "Sans,Edje-Vera";
22495                   size: 10;
22496                   min: 0 1;
22497                   align: 0.0 0.5;
22498                }
22499             }
22500             description { state: "visible" 0.0;
22501                inherit: "default" 0.0;
22502                visible: 1;
22503                text.min: 1 1;
22504             }
22505             description { state: "disabled" 0.0;
22506                inherit: "default" 0.0;
22507                color: 0 0 0 128;
22508                color3: 0 0 0 0;
22509             }
22510             description { state: "disabled_visible" 0.0;
22511                inherit: "default" 0.0;
22512                color: 0 0 0 128;
22513                color3: 0 0 0 0;
22514                visible: 1;
22515                text.min: 1 1;
22516             }
22517          }
22518          part { name: "events";
22519             type: RECT;
22520             ignore_flags: ON_HOLD;
22521             description { state: "default" 0.0;
22522                color: 0 0 0 0;
22523             }
22524          }
22525           part { name: "disabler";
22526             type: RECT;
22527             description { state: "default" 0.0;
22528                color: 0 0 0 0;
22529                visible: 0;
22530             }
22531             description { state: "disabled" 0.0;
22532                inherit: "default" 0.0;
22533                visible: 1;
22534             }
22535          }
22536       }
22537       programs {
22538          program { name: "click";
22539             signal: "mouse,up,1";
22540             source: "events";
22541             action: SIGNAL_EMIT "elm,action,check,toggle" "";
22542          }
22543          program { name: "check_on";
22544             signal: "elm,state,check,on";
22545             source: "elm";
22546             action:  STATE_SET "visible" 0.0;
22547             target: "check";
22548          }
22549          program { name: "check_off";
22550             signal: "elm,state,check,off";
22551             source: "elm";
22552             action:  STATE_SET "default" 0.0;
22553             target: "check";
22554          }
22555          program { name: "text_show";
22556             signal: "elm,state,text,visible";
22557             source: "elm";
22558             action:  STATE_SET "visible" 0.0;
22559             target: "elm.text";
22560          }
22561          program { name: "text_hide";
22562             signal: "elm,state,text,hidden";
22563             source: "elm";
22564             action:  STATE_SET "default" 0.0;
22565             target: "elm.text";
22566          }
22567          program { name: "icon_show";
22568             signal: "elm,state,icon,visible";
22569             source: "elm";
22570             action:  STATE_SET "visible" 0.0;
22571             target: "elm.swallow.content";
22572          }
22573          program { name: "icon_hide";
22574             signal: "elm,state,icon,hidden";
22575             source: "elm";
22576             action:  STATE_SET "default" 0.0;
22577             target: "elm.swallow.content";
22578          }
22579          program { name: "disable";
22580             signal: "elm,state,disabled";
22581             source: "elm";
22582             action: STATE_SET "disabled" 0.0;
22583             target: "disabler";
22584             after: "disable_text";
22585          }
22586          program { name: "disable_text";
22587             script {
22588                new st[31];
22589                new Float:vl;
22590                get_state(PART:"elm.text", st, 30, vl);
22591                if (!strcmp(st, "visible"))
22592                  set_state(PART:"elm.text", "disabled_visible", 0.0);
22593                else
22594                  set_state(PART:"elm.text", "disabled", 0.0);
22595
22596                get_state(PART:"elm.swallow.content", st, 30, vl);
22597                if (!strcmp(st, "visible"))
22598                  set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
22599                else
22600                  set_state(PART:"elm.swallow.content", "disabled", 0.0);
22601
22602                get_state(PART:"check", st, 30, vl);
22603                if (!strcmp(st, "visible"))
22604                  set_state(PART:"check", "disabled_visible", 0.0);
22605                else
22606                  set_state(PART:"check", "disabled", 0.0);
22607             }
22608          }
22609          program { name: "enable";
22610             signal: "elm,state,enabled";
22611             source: "elm";
22612             action: STATE_SET "default" 0.0;
22613             target: "disabler";
22614             after: "enable_text";
22615          }
22616          program { name: "enable_text";
22617             script {
22618                new st[31];
22619                new Float:vl;
22620                get_state(PART:"elm.text", st, 30, vl);
22621                if (!strcmp(st, "disabled_visible"))
22622                  set_state(PART:"elm.text", "visible", 0.0);
22623                else
22624                  set_state(PART:"elm.text", "default", 0.0);
22625
22626                get_state(PART:"elm.swallow.content", st, 30, vl);
22627                if (!strcmp(st, "visible"))
22628                  set_state(PART:"elm.swallow.content", "visible", 0.0);
22629                else
22630                  set_state(PART:"elm.swallow.content", "default", 0.0);
22631
22632                get_state(PART:"check", st, 30, vl);
22633                if (!strcmp(st, "visible"))
22634                  set_state(PART:"check", "visible", 0.0);
22635                else
22636                  set_state(PART:"check", "default", 0.0);
22637             }
22638          }
22639       }
22640    }
22641 ///////////////////////////////////////////////////////////////////////////////
22642    group { name: "elm/radio/base/default";
22643       images {
22644          image: "radio_base.png" COMP;
22645          image: "radio.png" COMP;
22646          image: "radio2.png" COMP;
22647       }
22648       parts {
22649          part { name: "bg";
22650             mouse_events: 0;
22651             scale: 1;
22652             description { state: "default" 0.0;
22653                rel1.offset: 1 1;
22654                rel2.relative: 0.0 1.0;
22655                rel2.offset: 1 -2;
22656                align: 0.0 0.5;
22657                min: 16 16;
22658                max: 16 16;
22659                aspect: 1.0 1.0;
22660                aspect_preference: VERTICAL;
22661                image.normal: "radio_base.png";
22662             }
22663          }
22664          part { name: "radio";
22665             mouse_events: 0;
22666             scale: 1;
22667             description { state: "default" 0.0;
22668                rel1.to: "bg";
22669                rel2.to: "bg";
22670                visible: 0;
22671                image.normal: "radio.png";
22672             }
22673             description { state: "visible" 0.0;
22674                inherit: "default" 0.0;
22675                visible: 1;
22676             }
22677          }
22678          part { name: "elm.swallow.content";
22679             type: SWALLOW;
22680             description { state: "default" 0.0;
22681                fixed: 1 0;
22682                visible: 0;
22683                align: 0.0 0.5;
22684                color: 0 0 0 0;
22685                rel1.to_x: "bg";
22686                rel1.relative: 1.0 0.0;
22687                rel1.offset: 1 1;
22688                rel2.to_x: "bg";
22689                rel2.relative: 1.0 1.0;
22690                rel2.offset: 2 -2;
22691             }
22692             description { state: "visible" 0.0;
22693                inherit: "default" 0.0;
22694                visible: 1;
22695                color: 255 255 255 255;
22696                aspect: 1.0 1.0;
22697             }
22698             description { state: "disabled" 0.0;
22699                inherit: "default" 0.0;
22700                color: 128 128 128 128;
22701             }
22702             description { state: "disabled_visible" 0.0;
22703                inherit: "default" 0.0;
22704                color: 128 128 128 128;
22705                visible: 1;
22706                aspect: 1.0 1.0;
22707             }
22708          }
22709          part { name: "elm.text";
22710             type: TEXT;
22711             mouse_events: 0;
22712             scale: 1;
22713             description { state: "default" 0.0;
22714                visible: 0;
22715                rel1.to_x: "elm.swallow.content";
22716                rel1.relative: 1.0 0.0;
22717                rel1.offset: 1 1;
22718                rel2.relative: 1.0 1.0;
22719                rel2.offset: -2 -2;
22720                color: 0 0 0 255;
22721                text {
22722                   font: "Sans,Edje-Vera";
22723                   size: 10;
22724                   min: 0 0;
22725                   align: 0.0 0.5;
22726                }
22727             }
22728             description { state: "visible" 0.0;
22729                inherit: "default" 0.0;
22730                visible: 1;
22731                text.min: 1 1;
22732             }
22733             description { state: "disabled" 0.0;
22734                inherit: "default" 0.0;
22735                color: 0 0 0 128;
22736                color3: 0 0 0 0;
22737             }
22738             description { state: "disabled_visible" 0.0;
22739                inherit: "default" 0.0;
22740                color: 0 0 0 128;
22741                color3: 0 0 0 0;
22742                visible: 1;
22743                text.min: 1 1;
22744             }
22745          }
22746          part { name: "events";
22747             type: RECT;
22748             ignore_flags: ON_HOLD;
22749             description { state: "default" 0.0;
22750                color: 0 0 0 0;
22751             }
22752          }
22753           part { name: "disabler";
22754             type: RECT;
22755             description { state: "default" 0.0;
22756                color: 0 0 0 0;
22757                visible: 0;
22758             }
22759             description { state: "disabled" 0.0;
22760                inherit: "default" 0.0;
22761                visible: 1;
22762             }
22763          }
22764       }
22765       programs {
22766          program { name: "click";
22767             signal: "mouse,up,1";
22768             source: "events";
22769             action: SIGNAL_EMIT "elm,action,radio,toggle" "";
22770          }
22771          program { name: "radio_on";
22772             signal: "elm,state,radio,on";
22773             source: "elm";
22774             action:  STATE_SET "visible" 0.0;
22775             target: "radio";
22776          }
22777          program { name: "radio_off";
22778             signal: "elm,state,radio,off";
22779             source: "elm";
22780             action:  STATE_SET "default" 0.0;
22781             target: "radio";
22782          }
22783          program { name: "text_show";
22784             signal: "elm,state,text,visible";
22785             source: "elm";
22786             action:  STATE_SET "visible" 0.0;
22787             target: "elm.text";
22788          }
22789          program { name: "text_hide";
22790             signal: "elm,state,text,hidden";
22791             source: "elm";
22792             action:  STATE_SET "default" 0.0;
22793             target: "elm.text";
22794          }
22795          program { name: "icon_show";
22796             signal: "elm,state,icon,visible";
22797             source: "elm";
22798             action:  STATE_SET "visible" 0.0;
22799             target: "elm.swallow.content";
22800          }
22801          program { name: "icon_hide";
22802             signal: "elm,state,icon,hidden";
22803             source: "elm";
22804             action:  STATE_SET "default" 0.0;
22805             target: "elm.swallow.content";
22806          }
22807          program { name: "disable";
22808             signal: "elm,state,disabled";
22809             source: "elm";
22810             action: STATE_SET "disabled" 0.0;
22811             target: "disabler";
22812             after: "disable_text";
22813          }
22814          program { name: "disable_text";
22815             script {
22816                new st[31];
22817                new Float:vl;
22818                get_state(PART:"elm.text", st, 30, vl);
22819                if (!strcmp(st, "visible"))
22820                  set_state(PART:"elm.text", "disabled_visible", 0.0);
22821                else
22822                  set_state(PART:"elm.text", "disabled", 0.0);
22823
22824                get_state(PART:"elm.swallow.content", st, 30, vl);
22825                if (!strcmp(st, "visible"))
22826                  set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
22827                else
22828                  set_state(PART:"elm.swallow.content", "disabled", 0.0);
22829             }
22830          }
22831          program { name: "enable";
22832             signal: "elm,state,enabled";
22833             source: "elm";
22834             action: STATE_SET "default" 0.0;
22835             target: "disabler";
22836             after: "enable_text";
22837          }
22838          program { name: "enable_text";
22839             script {
22840                new st[31];
22841                new Float:vl;
22842                get_state(PART:"elm.text", st, 30, vl);
22843                if (!strcmp(st, "disabled_visible"))
22844                  set_state(PART:"elm.text", "visible", 0.0);
22845                else
22846                  set_state(PART:"elm.text", "default", 0.0);
22847
22848                get_state(PART:"elm.swallow.content", st, 30, vl);
22849                if (!strcmp(st, "visible"))
22850                  set_state(PART:"elm.swallow.content", "visible", 0.0);
22851                else
22852                  set_state(PART:"elm.swallow.content", "default", 0.0);
22853             }
22854          }
22855       }
22856    }
22857    group { name: "elm/genlist/tree_compress_odd/double_label/default";
22858       data.item: "stacking" "below";
22859       data.item: "selectraise" "on";
22860       data.item: "labels" "elm.text elm.text.sub";
22861       data.item: "icons" "elm.swallow.icon elm.swallow.end";
22862       data.item: "treesize" "20";
22863 //      data.item: "states" "";
22864       images {
22865          image: "bt_sm_base1.png" COMP;
22866          image: "bt_sm_shine.png" COMP;
22867          image: "bt_sm_hilight.png" COMP;
22868          image: "ilist_2.png" COMP;
22869          image: "icon_arrow_right.png" COMP;
22870          image: "icon_arrow_down.png" COMP;
22871       }
22872       parts {
22873          part {
22874             name:           "event";
22875             type:           RECT;
22876             repeat_events: 1;
22877             description {
22878                state: "default" 0.0;
22879                color: 0 0 0 0;
22880             }
22881          }
22882          part {
22883             name: "base";
22884             mouse_events: 0;
22885             description {
22886                state: "default" 0.0;
22887                image {
22888                   normal: "ilist_2.png";
22889                   border: 2 2 2 2;
22890                }
22891                fill.smooth: 0;
22892             }
22893          }
22894          part { name: "bg";
22895             clip_to: "disclip";
22896             mouse_events: 0;
22897             description { state: "default" 0.0;
22898                visible: 0;
22899                color: 255 255 255 0;
22900                rel1 {
22901                   relative: 0.0 0.0;
22902                   offset: -5 -5;
22903                }
22904                rel2 {
22905                   relative: 1.0 1.0;
22906                   offset: 4 4;
22907                }
22908                image {
22909                   normal: "bt_sm_base1.png";
22910                   border: 6 6 6 6;
22911                }
22912                image.middle: SOLID;
22913             }
22914             description { state: "selected" 0.0;
22915                inherit: "default" 0.0;
22916                visible: 1;
22917                color: 255 255 255 255;
22918                rel1 {
22919                   relative: 0.0 0.0;
22920                   offset: -2 -2;
22921                }
22922                rel2 {
22923                   relative: 1.0 1.0;
22924                   offset: 1 1;
22925                }
22926             }
22927          }
22928          part { name: "elm.swallow.pad";
22929             type: SWALLOW;
22930             description { state: "default" 0.0;
22931                fixed: 1 0;
22932                align: 0.0 0.5;
22933                rel1 {
22934                   relative: 0.0  0.0;
22935                   offset:   4    4;
22936                }
22937                rel2 {
22938                   relative: 0.0  1.0;
22939                   offset:   4   -5;
22940                }
22941             }
22942          }
22943          part { name: "arrow";
22944             clip_to: "disclip";
22945             ignore_flags: ON_HOLD;
22946             description { state: "default" 0.0;
22947                fixed: 1 0;
22948                align: 0.0 0.5;
22949                aspect: 1.0 1.0;
22950                rel1 {
22951                   to_x: "elm.swallow.pad";
22952                   relative: 1.0  0.0;
22953                   offset:   -1    4;
22954                }
22955                rel2 {
22956                   to_x: "elm.swallow.pad";
22957                   relative: 1.0  1.0;
22958                   offset:   -1   -5;
22959                }
22960                image.normal: "icon_arrow_right.png";
22961             }
22962             description { state: "active" 0.0;
22963                inherit: "default" 0.0;
22964                image.normal: "icon_arrow_down.png";
22965             }
22966          }
22967          part { name: "elm.swallow.icon";
22968             clip_to: "disclip";
22969             type: SWALLOW;
22970             description { state: "default" 0.0;
22971                fixed: 1 0;
22972                align: 0.0 0.5;
22973                rel1 {
22974                   to_x: "arrow";
22975                   relative: 1.0  0.0;
22976                   offset:   4    4;
22977                }
22978                rel2 {
22979                   to_x: "arrow";
22980                   relative: 1.0  1.0;
22981                   offset:   4   -5;
22982                }
22983             }
22984          }
22985          part { name: "elm.swallow.end";
22986             clip_to: "disclip";
22987             type: SWALLOW;
22988             description { state: "default" 0.0;
22989                fixed: 1 0;
22990                align: 1.0 0.5;
22991                aspect: 1.0 1.0;
22992                aspect_preference: VERTICAL;
22993                rel1 {
22994                   relative: 1.0  0.0;
22995                   offset:   -5    4;
22996                }
22997                rel2 {
22998                   relative: 1.0  1.0;
22999                   offset:   -5   -5;
23000                }
23001             }
23002          }
23003          part { name: "elm.text";
23004             clip_to: "disclip";
23005             type:           TEXT;
23006             effect:         SOFT_SHADOW;
23007             mouse_events:   0;
23008             scale: 1;
23009             description {
23010                state: "default" 0.0;
23011 //               min: 16 16;
23012                rel1 {
23013                   to_x:     "elm.swallow.icon";
23014                   relative: 1.0  0.0;
23015                   offset:   0 4;
23016                }
23017                rel2 {
23018                   to_x:     "elm.swallow.end";
23019                   relative: 0.0  0.5;
23020                   offset:   -1 -5;
23021                }
23022                color: 0 0 0 255;
23023                color3: 0 0 0 0;
23024                text {
23025                   font: "Sans";
23026                   size: 10;
23027 //                  min: 1 1;
23028                   min: 0 1;
23029                   align: 0.0 0.5;
23030                   text_class: "list_item";
23031                }
23032             }
23033             description { state: "selected" 0.0;
23034                inherit: "default" 0.0;
23035                color: 224 224 224 255;
23036                color3: 0 0 0 64;
23037             }
23038          }
23039          part { name: "elm.text.sub";
23040             clip_to: "disclip";
23041             type:           TEXT;
23042             mouse_events:   0;
23043             scale: 1;
23044             description {
23045                state: "default" 0.0;
23046 //               min: 16 16;
23047                rel1 {
23048                   to_x:     "elm.swallow.icon";
23049                   relative: 1.0  0.5;
23050                   offset:   0 4;
23051                }
23052                rel2 {
23053                   to_x:     "elm.swallow.end";
23054                   relative: 0.0  1.0;
23055                   offset:   -1 -5;
23056                }
23057                color: 0 0 0 128;
23058                color3: 0 0 0 0;
23059                text {
23060                   font: "Sans";
23061                   size: 8;
23062 //                  min: 1 1;
23063                   min: 0 1;
23064                   align: 0.0 0.5;
23065                   text_class: "list_item";
23066                }
23067             }
23068             description { state: "selected" 0.0;
23069                inherit: "default" 0.0;
23070                color: 128 128 128 255;
23071                color3: 0 0 0 32;
23072             }
23073          }
23074          part { name: "fg1";
23075             clip_to: "disclip";
23076             mouse_events: 0;
23077             description { state: "default" 0.0;
23078                visible: 0;
23079                color: 255 255 255 0;
23080                rel1.to: "bg";
23081                rel2.relative: 1.0 0.5;
23082                rel2.to: "bg";
23083                image {
23084                   normal: "bt_sm_hilight.png";
23085                   border: 6 6 6 0;
23086                }
23087             }
23088             description { state: "selected" 0.0;
23089                inherit: "default" 0.0;
23090                visible: 1;
23091                color: 255 255 255 255;
23092             }
23093          }
23094          part { name: "fg2";
23095             clip_to: "disclip";
23096             mouse_events: 0;
23097             description { state: "default" 0.0;
23098                visible: 0;
23099                color: 255 255 255 0;
23100                rel1.to: "bg";
23101                rel2.to: "bg";
23102                image {
23103                   normal: "bt_sm_shine.png";
23104                   border: 6 6 6 0;
23105                }
23106             }
23107             description { state: "selected" 0.0;
23108                inherit: "default" 0.0;
23109                visible: 1;
23110                color: 255 255 255 255;
23111             }
23112          }
23113          part { name: "disclip";
23114             type: RECT;
23115             description { state: "default" 0.0;
23116                rel1.to: "bg";
23117                rel2.to: "bg";
23118             }
23119             description { state: "disabled" 0.0;
23120                inherit: "default" 0.0;
23121                color: 255 255 255 64;
23122             }
23123          }
23124       }
23125       programs {
23126          // signal: elm,state,%s,active
23127          //   a "check" item named %s went active
23128          // signal: elm,state,%s,passive
23129          //   a "check" item named %s went passive
23130          // default is passive
23131          program {
23132             name:    "go_active";
23133             signal:  "elm,state,selected";
23134             source:  "elm";
23135             action:  STATE_SET "selected" 0.0;
23136             target:  "bg";
23137             target:  "fg1";
23138             target:  "fg2";
23139             target:  "elm.text";
23140             target:  "elm.text.sub";
23141          }
23142          program {
23143             name:    "go_passive";
23144             signal:  "elm,state,unselected";
23145             source:  "elm";
23146             action:  STATE_SET "default" 0.0;
23147             target:  "bg";
23148             target:  "fg1";
23149             target:  "fg2";
23150             target:  "elm.text";
23151             target:  "elm.text.sub";
23152             transition: LINEAR 0.1;
23153          }
23154          program {
23155             name:    "go_disabled";
23156             signal:  "elm,state,disabled";
23157             source:  "elm";
23158             action:  STATE_SET "disabled" 0.0;
23159             target:  "disclip";
23160          }
23161          program {
23162             name:    "go_enabled";
23163             signal:  "elm,state,enabled";
23164             source:  "elm";
23165             action:  STATE_SET "default" 0.0;
23166             target:  "disclip";
23167          }
23168          program {
23169             name:    "expand";
23170             signal:  "mouse,up,1";
23171             source:  "arrow";
23172             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
23173          }
23174          program {
23175             name:    "go_expanded";
23176             signal:  "elm,state,expanded";
23177             source:  "elm";
23178             action:  STATE_SET "active" 0.0;
23179             target:  "arrow";
23180          }
23181          program {
23182             name:    "go_contracted";
23183             signal:  "elm,state,contracted";
23184             source:  "elm";
23185             action:  STATE_SET "default" 0.0;
23186             target:  "arrow";
23187          }
23188       }
23189    }
23190
23191    group { name: "elm/genlist/item_compress/media/default";
23192       data.item: "stacking" "above";
23193       data.item: "selectraise" "on";
23194       data.item: "labels" "elm.text.title elm.text.album-artist";
23195       data.item: "treesize" "20";
23196       images {
23197          image: "bt_sm_base1.png" COMP;
23198          image: "bt_sm_shine.png" COMP;
23199          image: "bt_sm_hilight.png" COMP;
23200          image: "ilist_1.png" COMP;
23201          image: "ilist_item_shadow.png" COMP;
23202       }
23203       parts {
23204          part {
23205             name:           "event";
23206             type:           RECT;
23207             repeat_events: 1;
23208             description {
23209                state: "default" 0.0;
23210                color: 0 0 0 0;
23211             }
23212          }
23213          part {
23214             name: "base_sh";
23215             mouse_events: 0;
23216             description {
23217                state: "default" 0.0;
23218                align: 0.0 0.0;
23219                min: 0 10;
23220                fixed: 1 1;
23221                rel1 {
23222                   to: "base";
23223                   relative: 0.0 1.0;
23224                   offset: 0 0;
23225                }
23226                rel2 {
23227                   to: "base";
23228                   relative: 1.0 1.0;
23229                   offset: -1 0;
23230                }
23231                image {
23232                   normal: "ilist_item_shadow.png";
23233                }
23234                fill.smooth: 0;
23235             }
23236          }
23237          part {
23238             name: "base";
23239             mouse_events: 0;
23240             description {
23241                state: "default" 0.0;
23242                image {
23243                   normal: "ilist_1.png";
23244                   border: 2 2 2 2;
23245                }
23246                fill.smooth: 0;
23247             }
23248          }
23249          part { name: "bg";
23250             clip_to: "disclip";
23251             mouse_events: 0;
23252             description { state: "default" 0.0;
23253                visible: 0;
23254                color: 255 255 255 0;
23255                rel1 {
23256                   relative: 0.0 0.0;
23257                   offset: -5 -5;
23258                }
23259                rel2 {
23260                   relative: 1.0 1.0;
23261                   offset: 4 4;
23262                }
23263                image {
23264                   normal: "bt_sm_base1.png";
23265                   border: 6 6 6 6;
23266                }
23267                image.middle: SOLID;
23268             }
23269             description { state: "selected" 0.0;
23270                inherit: "default" 0.0;
23271                visible: 1;
23272                color: 255 255 255 255;
23273                rel1 {
23274                   relative: 0.0 0.0;
23275                   offset: -2 -2;
23276                }
23277                rel2 {
23278                   relative: 1.0 1.0;
23279                   offset: 1 1;
23280                }
23281             }
23282          }
23283          part { name: "elm.swallow.pad";
23284             type: SWALLOW;
23285             description { state: "default" 0.0;
23286                fixed: 1 0;
23287                align: 0.0 0.5;
23288                rel1 {
23289                   relative: 0.0  0.0;
23290                   offset:   4    4;
23291                }
23292                rel2 {
23293                   relative: 0.0  1.0;
23294                   offset:   4   -5;
23295                }
23296             }
23297          }
23298          part { name: "elm.text.title";
23299             clip_to: "disclip";
23300             type:           TEXT;
23301             effect:         SOFT_SHADOW;
23302             mouse_events:   0;
23303             scale: 1;
23304             description {
23305                state: "default" 0.0;
23306                rel1 {
23307                   relative: 0.0  0.0;
23308                   offset:   4 4;
23309                }
23310                rel2 {
23311                   relative: 1.0  0.5;
23312                   offset:   -1 -5;
23313                }
23314                color: 0 0 0 255;
23315                color3: 0 0 0 0;
23316                text {
23317                   font: "Sans";
23318                   size: 10;
23319                   min: 0 1;
23320                   align: 0.0 0.5;
23321                }
23322             }
23323             description { state: "selected" 0.0;
23324                inherit: "default" 0.0;
23325                color: 224 224 224 255;
23326                color3: 0 0 0 64;
23327             }
23328          }
23329          part { name: "elm.text.album-artist";
23330             clip_to: "disclip";
23331             type:           TEXT;
23332             mouse_events:   0;
23333             scale: 1;
23334             description {
23335                state: "default" 0.0;
23336                rel1 {
23337                   relative: 0.0  0.5;
23338                   offset:   4 4;
23339                }
23340                rel2 {
23341                   relative: 1.0  1.0;
23342                   offset:   -1 -5;
23343                }
23344                color: 0 0 0 128;
23345                color3: 0 0 0 0;
23346                text {
23347                   font: "Sans";
23348                   size: 8;
23349                   min: 0 1;
23350                   align: 0.0 0.5;
23351                }
23352             }
23353             description { state: "selected" 0.0;
23354                inherit: "default" 0.0;
23355                color: 128 128 128 255;
23356                color3: 0 0 0 32;
23357             }
23358          }
23359          part { name: "fg1";
23360             clip_to: "disclip";
23361             mouse_events: 0;
23362             description { state: "default" 0.0;
23363                visible: 0;
23364                color: 255 255 255 0;
23365                rel1.to: "bg";
23366                rel2.relative: 1.0 0.5;
23367                rel2.to: "bg";
23368                image {
23369                   normal: "bt_sm_hilight.png";
23370                   border: 6 6 6 0;
23371                }
23372             }
23373             description { state: "selected" 0.0;
23374                inherit: "default" 0.0;
23375                visible: 1;
23376                color: 255 255 255 255;
23377             }
23378          }
23379          part { name: "fg2";
23380             clip_to: "disclip";
23381             mouse_events: 0;
23382             description { state: "default" 0.0;
23383                visible: 0;
23384                color: 255 255 255 0;
23385                rel1.to: "bg";
23386                rel2.to: "bg";
23387                image {
23388                   normal: "bt_sm_shine.png";
23389                   border: 6 6 6 0;
23390                }
23391             }
23392             description { state: "selected" 0.0;
23393                inherit: "default" 0.0;
23394                visible: 1;
23395                color: 255 255 255 255;
23396             }
23397          }
23398          part { name: "disclip";
23399             type: RECT;
23400             description { state: "default" 0.0;
23401                rel1.to: "bg";
23402                rel2.to: "bg";
23403             }
23404             description { state: "disabled" 0.0;
23405                inherit: "default" 0.0;
23406                color: 255 255 255 64;
23407             }
23408          }
23409       }
23410       programs {
23411          // signal: elm,state,%s,active
23412          //   a "check" item named %s went active
23413          // signal: elm,state,%s,passive
23414          //   a "check" item named %s went passive
23415          // default is passive
23416          program {
23417             name:    "go_active";
23418             signal:  "elm,state,selected";
23419             source:  "elm";
23420             action:  STATE_SET "selected" 0.0;
23421             target:  "bg";
23422             target:  "fg1";
23423             target:  "fg2";
23424             target:  "elm.text.title";
23425             target:  "elm.text.album-artist";
23426          }
23427          program {
23428             name:    "go_passive";
23429             signal:  "elm,state,unselected";
23430             source:  "elm";
23431             action:  STATE_SET "default" 0.0;
23432             target:  "bg";
23433             target:  "fg1";
23434             target:  "fg2";
23435             target:  "elm.text.title";
23436             target:  "elm.text.album-artist";
23437             transition: LINEAR 0.1;
23438          }
23439          program {
23440             name:    "go_disabled";
23441             signal:  "elm,state,disabled";
23442             source:  "elm";
23443             action:  STATE_SET "disabled" 0.0;
23444             target:  "disclip";
23445          }
23446          program {
23447             name:    "go_enabled";
23448             signal:  "elm,state,enabled";
23449             source:  "elm";
23450             action:  STATE_SET "default" 0.0;
23451             target:  "disclip";
23452          }
23453       }
23454    }
23455    group { name: "elm/genlist/item_compress_odd/media/default";
23456       data.item: "stacking" "below";
23457       data.item: "selectraise" "on";
23458       data.item: "labels" "elm.text.title elm.text.album-artist";
23459       data.item: "treesize" "20";
23460       images {
23461          image: "bt_sm_base1.png" COMP;
23462          image: "bt_sm_shine.png" COMP;
23463          image: "bt_sm_hilight.png" COMP;
23464          image: "ilist_2.png" COMP;
23465       }
23466       parts {
23467          part { name: "event";
23468             type: RECT;
23469             repeat_events: 1;
23470             description {
23471                state: "default" 0.0;
23472                color: 0 0 0 0;
23473             }
23474          }
23475          part {
23476             name: "base";
23477             mouse_events: 0;
23478             description {
23479                state: "default" 0.0;
23480                image {
23481                   normal: "ilist_2.png";
23482                   border: 2 2 2 2;
23483                }
23484                fill.smooth: 0;
23485             }
23486          }
23487          part { name: "bg";
23488             clip_to: "disclip";
23489             mouse_events: 0;
23490             description { state: "default" 0.0;
23491                visible: 0;
23492                color: 255 255 255 0;
23493                rel1 {
23494                   relative: 0.0 0.0;
23495                   offset: -5 -5;
23496                }
23497                rel2 {
23498                   relative: 1.0 1.0;
23499                   offset: 4 4;
23500                }
23501                image {
23502                   normal: "bt_sm_base1.png";
23503                   border: 6 6 6 6;
23504                }
23505                image.middle: SOLID;
23506             }
23507             description { state: "selected" 0.0;
23508                inherit: "default" 0.0;
23509                visible: 1;
23510                color: 255 255 255 255;
23511                rel1 {
23512                   relative: 0.0 0.0;
23513                   offset: -2 -2;
23514                }
23515                rel2 {
23516                   relative: 1.0 1.0;
23517                   offset: 1 1;
23518                }
23519             }
23520          }
23521          part { name: "elm.swallow.pad";
23522             type: SWALLOW;
23523             description { state: "default" 0.0;
23524                fixed: 1 0;
23525                align: 0.0 0.5;
23526                rel1 {
23527                   relative: 0.0  0.0;
23528                   offset:   4    4;
23529                }
23530                rel2 {
23531                   relative: 0.0  1.0;
23532                   offset:   4   -5;
23533                }
23534             }
23535          }
23536          part { name: "elm.text.title";
23537             clip_to: "disclip";
23538             type:           TEXT;
23539             effect:         SOFT_SHADOW;
23540             mouse_events:   0;
23541             scale: 1;
23542             description {
23543                state: "default" 0.0;
23544                rel1 {
23545                   relative: 0.0  0.0;
23546                   offset:   4 4;
23547                }
23548                rel2 {
23549                   relative: 1.0  0.5;
23550                   offset:   -1 -5;
23551                }
23552                color: 0 0 0 255;
23553                color3: 0 0 0 0;
23554                text {
23555                   font: "Sans";
23556                   size: 10;
23557                   min: 0 1;
23558                   align: 0.0 0.5;
23559                }
23560             }
23561             description { state: "selected" 0.0;
23562                inherit: "default" 0.0;
23563                color: 224 224 224 255;
23564                color3: 0 0 0 64;
23565             }
23566          }
23567          part { name: "elm.text.album-artist";
23568             clip_to: "disclip";
23569             type:           TEXT;
23570             mouse_events:   0;
23571             scale: 1;
23572             description {
23573                state: "default" 0.0;
23574                rel1 {
23575                   relative: 0.0  0.5;
23576                   offset:   4 4;
23577                }
23578                rel2 {
23579                   relative: 1.0  1.0;
23580                   offset:   -1 -5;
23581                }
23582                color: 0 0 0 128;
23583                color3: 0 0 0 0;
23584                text {
23585                   font: "Sans";
23586                   size: 8;
23587                   min: 0 1;
23588                   align: 0.0 0.5;
23589                }
23590             }
23591             description { state: "selected" 0.0;
23592                inherit: "default" 0.0;
23593                color: 128 128 128 255;
23594                color3: 0 0 0 32;
23595             }
23596          }
23597          part { name: "fg1";
23598             clip_to: "disclip";
23599             mouse_events: 0;
23600             description { state: "default" 0.0;
23601                visible: 0;
23602                color: 255 255 255 0;
23603                rel1.to: "bg";
23604                rel2.relative: 1.0 0.5;
23605                rel2.to: "bg";
23606                image {
23607                   normal: "bt_sm_hilight.png";
23608                   border: 6 6 6 0;
23609                }
23610             }
23611             description { state: "selected" 0.0;
23612                inherit: "default" 0.0;
23613                visible: 1;
23614                color: 255 255 255 255;
23615             }
23616          }
23617          part { name: "fg2";
23618             clip_to: "disclip";
23619             mouse_events: 0;
23620             description { state: "default" 0.0;
23621                visible: 0;
23622                color: 255 255 255 0;
23623                rel1.to: "bg";
23624                rel2.to: "bg";
23625                image {
23626                   normal: "bt_sm_shine.png";
23627                   border: 6 6 6 0;
23628                }
23629             }
23630             description { state: "selected" 0.0;
23631                inherit: "default" 0.0;
23632                visible: 1;
23633                color: 255 255 255 255;
23634             }
23635          }
23636          part { name: "disclip";
23637             type: RECT;
23638             description { state: "default" 0.0;
23639                rel1.to: "bg";
23640                rel2.to: "bg";
23641             }
23642             description { state: "disabled" 0.0;
23643                inherit: "default" 0.0;
23644                color: 255 255 255 64;
23645             }
23646          }
23647       }
23648       programs {
23649          // signal: elm,state,%s,active
23650          //   a "check" item named %s went active
23651          // signal: elm,state,%s,passive
23652          //   a "check" item named %s went passive
23653          // default is passive
23654          program {
23655             name:    "go_active";
23656             signal:  "elm,state,selected";
23657             source:  "elm";
23658             action:  STATE_SET "selected" 0.0;
23659             target:  "bg";
23660             target:  "fg1";
23661             target:  "fg2";
23662             target:  "elm.text.title";
23663             target:  "elm.text.album-artist";
23664          }
23665          program {
23666             name:    "go_passive";
23667             signal:  "elm,state,unselected";
23668             source:  "elm";
23669             action:  STATE_SET "default" 0.0;
23670             target:  "bg";
23671             target:  "fg1";
23672             target:  "fg2";
23673             target:  "elm.text.title";
23674             target:  "elm.text.album-artist";
23675             transition: LINEAR 0.1;
23676          }
23677          program {
23678             name:    "go_disabled";
23679             signal:  "elm,state,disabled";
23680             source:  "elm";
23681             action:  STATE_SET "disabled" 0.0;
23682             target:  "disclip";
23683          }
23684          program {
23685             name:    "go_enabled";
23686             signal:  "elm,state,enabled";
23687             source:  "elm";
23688             action:  STATE_SET "default" 0.0;
23689             target:  "disclip";
23690          }
23691       }
23692    }
23693
23694    group { name: "elm/genlist/item_compress/media-album/default";
23695       data.item: "stacking" "above";
23696       data.item: "selectraise" "on";
23697       data.item: "labels" "elm.text.title elm.text.trackno elm.text.length";
23698       data.item: "states" "elm.state.trackno";
23699       data.item: "treesize" "20";
23700       images {
23701          image: "bt_sm_base1.png" COMP;
23702          image: "bt_sm_shine.png" COMP;
23703          image: "bt_sm_hilight.png" COMP;
23704          image: "ilist_1.png" COMP;
23705          image: "ilist_item_shadow.png" COMP;
23706       }
23707       script {
23708          public dot_visible;
23709       }
23710       parts {
23711          part {
23712             name: "event";
23713             type: RECT;
23714             repeat_events: 1;
23715             description {
23716                state: "default" 0.0;
23717                color: 0 0 0 0;
23718             }
23719          }
23720          part {
23721             name: "base_sh";
23722             mouse_events: 0;
23723             description {
23724                state: "default" 0.0;
23725                align: 0.0 0.0;
23726                min: 0 10;
23727                fixed: 1 1;
23728                rel1 {
23729                   to: "base";
23730                   relative: 0.0 1.0;
23731                   offset: 0 0;
23732                }
23733                rel2 {
23734                   to: "base";
23735                   relative: 1.0 1.0;
23736                   offset: -1 0;
23737                }
23738                image {
23739                   normal: "ilist_item_shadow.png";
23740                }
23741                fill.smooth: 0;
23742             }
23743          }
23744          part {
23745             name: "base";
23746             mouse_events: 0;
23747             description {
23748                state: "default" 0.0;
23749                image {
23750                   normal: "ilist_1.png";
23751                   border: 2 2 2 2;
23752                }
23753                fill.smooth: 0;
23754             }
23755          }
23756          part { name: "bg";
23757             clip_to: "disclip";
23758             mouse_events: 0;
23759             description { state: "default" 0.0;
23760                visible: 0;
23761                color: 255 255 255 0;
23762                rel1 {
23763                   relative: 0.0 0.0;
23764                   offset: -5 -5;
23765                }
23766                rel2 {
23767                   relative: 1.0 1.0;
23768                   offset: 4 4;
23769                }
23770                image {
23771                   normal: "bt_sm_base1.png";
23772                   border: 6 6 6 6;
23773                }
23774                image.middle: SOLID;
23775             }
23776             description { state: "selected" 0.0;
23777                inherit: "default" 0.0;
23778                visible: 1;
23779                color: 255 255 255 255;
23780                rel1 {
23781                   relative: 0.0 0.0;
23782                   offset: -2 -2;
23783                }
23784                rel2 {
23785                   relative: 1.0 1.0;
23786                   offset: 1 1;
23787                }
23788             }
23789          }
23790          part { name: "elm.swallow.pad";
23791             type: SWALLOW;
23792             description { state: "default" 0.0;
23793                fixed: 1 0;
23794                align: 0.0 0.5;
23795                rel1 {
23796                   relative: 0.0  0.0;
23797                   offset:   4    4;
23798                }
23799                rel2 {
23800                   relative: 0.0  1.0;
23801                   offset:   4   -5;
23802                }
23803             }
23804          }
23805          part {
23806             name: "elm.text.trackno";
23807             type: TEXT;
23808             scale: 1;
23809             mouse_events: 0;
23810             description {
23811                state: "default" 0.0;
23812                color: 255 255 255 255;
23813                align: 0.0 0.0;
23814                fixed: 1 0;
23815                rel1 {
23816                   to_y: "elm.text.title";
23817                   relative: 0.0 0.0;
23818                   offset: 5 0;
23819                }
23820                rel2 {
23821                   to_y: "elm.text.title";
23822                   relative: 0.0 1.0;
23823                   offset: 20 0;
23824                }
23825                color: 0 0 0 255;
23826                color3: 0 0 0 0;
23827                text {
23828                   font: "Sans";
23829                   size: 10;
23830                   min: 1 1;
23831                   align: 1.0 0.5;
23832                }
23833             }
23834             description { state: "selected" 0.0;
23835                inherit: "default" 0.0;
23836                color: 224 224 224 255;
23837                color3: 0 0 0 64;
23838             }
23839          }
23840          part {
23841             name: "dot";
23842             type: TEXT;
23843             scale: 1;
23844             mouse_events: 0;
23845             description {
23846                state: "default" 0.0;
23847                color: 255 255 255 255;
23848                visible: 0;
23849                fixed: 1 1;
23850                align: 0.0 0.0;
23851                rel1 {
23852                   to_x: "elm.text.trackno";
23853                   to_y: "elm.text.title";
23854                   relative: 1.0 0.0;
23855                   offset: 1 0;
23856                }
23857                rel2 {
23858                   to_x: "elm.text.trackno";
23859                   to_y: "elm.text.title";
23860                   relative: 1.0 1.0;
23861                   offset: 1 0;
23862
23863                }
23864                color: 0 0 0 255;
23865                color3: 0 0 0 0;
23866                text {
23867                   font: "Sans";
23868                   size: 10;
23869                   min: 1 1;
23870                   align: 0.0 0.5;
23871                   text: ".";
23872                }
23873             }
23874             description {
23875                state: "visible" 0.0;
23876                inherit: "default" 0.0;
23877                visible: 1;
23878             }
23879             description { state: "selected" 0.0;
23880                inherit: "default" 0.0;
23881                color: 224 224 224 255;
23882                color3: 0 0 0 64;
23883                visible: 1;
23884             }
23885          }
23886          programs {
23887             program {
23888                signal: "elm,state,elm.state.trackno,active";
23889                source: "elm";
23890                script {
23891                   set_state(PART:"dot", "visible", 0.0);
23892                   set_int(dot_visible, 1);
23893                }
23894             }
23895          }
23896          part { name: "elm.text.title";
23897             clip_to: "disclip";
23898             type:           TEXT;
23899             effect:         SOFT_SHADOW;
23900             mouse_events:   0;
23901             scale: 1;
23902             description {
23903                state: "default" 0.0;
23904                rel1 {
23905                   to_x: "dot";
23906                   relative: 0.0  0.0;
23907                   offset:   4 4;
23908                }
23909                rel2 {
23910                   relative: 1.0  0.5;
23911                   offset:   -1 -5;
23912                }
23913                color: 0 0 0 255;
23914                color3: 0 0 0 0;
23915                text {
23916                   font: "Sans";
23917                   size: 10;
23918                   min: 0 1;
23919                   align: 0.0 0.5;
23920                }
23921             }
23922             description { state: "selected" 0.0;
23923                inherit: "default" 0.0;
23924                color: 224 224 224 255;
23925                color3: 0 0 0 64;
23926             }
23927          }
23928          part { name: "elm.text.length";
23929             clip_to: "disclip";
23930             type:           TEXT;
23931             mouse_events:   0;
23932             scale: 1;
23933             description {
23934                state: "default" 0.0;
23935                rel1 {
23936                   relative: 0.0  0.5;
23937                   offset:   4 4;
23938                }
23939                rel2 {
23940                   relative: 1.0  1.0;
23941                   offset:   -1 -5;
23942                }
23943                color: 0 0 0 128;
23944                color3: 0 0 0 0;
23945                text {
23946                   font: "Sans";
23947                   size: 8;
23948                   min: 0 1;
23949                   align: 0.0 0.5;
23950                }
23951             }
23952             description { state: "selected" 0.0;
23953                inherit: "default" 0.0;
23954                color: 128 128 128 255;
23955                color3: 0 0 0 32;
23956             }
23957          }
23958          part { name: "fg1";
23959             clip_to: "disclip";
23960             mouse_events: 0;
23961             description { state: "default" 0.0;
23962                visible: 0;
23963                color: 255 255 255 0;
23964                rel1.to: "bg";
23965                rel2.relative: 1.0 0.5;
23966                rel2.to: "bg";
23967                image {
23968                   normal: "bt_sm_hilight.png";
23969                   border: 6 6 6 0;
23970                }
23971             }
23972             description { state: "selected" 0.0;
23973                inherit: "default" 0.0;
23974                visible: 1;
23975                color: 255 255 255 255;
23976             }
23977          }
23978          part { name: "fg2";
23979             clip_to: "disclip";
23980             mouse_events: 0;
23981             description { state: "default" 0.0;
23982                visible: 0;
23983                color: 255 255 255 0;
23984                rel1.to: "bg";
23985                rel2.to: "bg";
23986                image {
23987                   normal: "bt_sm_shine.png";
23988                   border: 6 6 6 0;
23989                }
23990             }
23991             description { state: "selected" 0.0;
23992                inherit: "default" 0.0;
23993                visible: 1;
23994                color: 255 255 255 255;
23995             }
23996          }
23997          part { name: "disclip";
23998             type: RECT;
23999             description { state: "default" 0.0;
24000                rel1.to: "bg";
24001                rel2.to: "bg";
24002             }
24003             description { state: "disabled" 0.0;
24004                inherit: "default" 0.0;
24005                color: 255 255 255 64;
24006             }
24007          }
24008       }
24009       programs {
24010          // signal: elm,state,%s,active
24011          //   a "check" item named %s went active
24012          // signal: elm,state,%s,passive
24013          //   a "check" item named %s went passive
24014          // default is passive
24015          program {
24016             name:    "go_active";
24017             signal:  "elm,state,selected";
24018             source:  "elm";
24019             action:  STATE_SET "selected" 0.0;
24020             target:  "bg";
24021             target:  "fg1";
24022             target:  "fg2";
24023             target:  "elm.text.title";
24024             target:  "elm.text.trackno";
24025             target:  "elm.text.length";
24026             after:   "dot_active";
24027          }
24028          program {
24029             name: "dot_active";
24030             script {
24031                if (get_int(dot_visible) == 1)
24032                   set_state(PART:"dot", "selected", 0.0);
24033             }
24034          }
24035          program {
24036             name:    "go_passive";
24037             signal:  "elm,state,unselected";
24038             source:  "elm";
24039             action:  STATE_SET "default" 0.0;
24040             target:  "bg";
24041             target:  "fg1";
24042             target:  "fg2";
24043             target:  "elm.text.title";
24044             target:  "elm.text.length";
24045             target:  "elm.text.trackno";
24046             transition: LINEAR 0.1;
24047             after:   "dot_passive";
24048          }
24049          program {
24050             name: "dot_passive";
24051             script {
24052                if (get_int(dot_visible) == 1)
24053                   set_state(PART:"dot", "visible", 0.0);
24054             }
24055          }
24056          program {
24057             name:    "go_disabled";
24058             signal:  "elm,state,disabled";
24059             source:  "elm";
24060             action:  STATE_SET "disabled" 0.0;
24061             target:  "disclip";
24062          }
24063          program {
24064             name:    "go_enabled";
24065             signal:  "elm,state,enabled";
24066             source:  "elm";
24067             action:  STATE_SET "default" 0.0;
24068             target:  "disclip";
24069          }
24070       }
24071    }
24072    group { name: "elm/genlist/item_compress_odd/media-album/default";
24073       data.item: "stacking" "below";
24074       data.item: "selectraise" "on";
24075       data.item: "labels" "elm.text.title elm.text.trackno elm.text.length";
24076       data.item: "states" "elm.state.trackno";
24077       data.item: "treesize" "20";
24078       images {
24079          image: "bt_sm_base1.png" COMP;
24080          image: "bt_sm_shine.png" COMP;
24081          image: "bt_sm_hilight.png" COMP;
24082          image: "ilist_2.png" COMP;
24083       }
24084       script {
24085          public dot_visible;
24086       }
24087       parts {
24088          part { name: "event";
24089             type: RECT;
24090             repeat_events: 1;
24091             description {
24092                state: "default" 0.0;
24093                color: 0 0 0 0;
24094             }
24095          }
24096          part {
24097             name: "base";
24098             mouse_events: 0;
24099             description {
24100                state: "default" 0.0;
24101                image {
24102                   normal: "ilist_2.png";
24103                   border: 2 2 2 2;
24104                }
24105                fill.smooth: 0;
24106             }
24107          }
24108          part { name: "bg";
24109             clip_to: "disclip";
24110             mouse_events: 0;
24111             description { state: "default" 0.0;
24112                visible: 0;
24113                color: 255 255 255 0;
24114                rel1 {
24115                   relative: 0.0 0.0;
24116                   offset: -5 -5;
24117                }
24118                rel2 {
24119                   relative: 1.0 1.0;
24120                   offset: 4 4;
24121                }
24122                image {
24123                   normal: "bt_sm_base1.png";
24124                   border: 6 6 6 6;
24125                }
24126                image.middle: SOLID;
24127             }
24128             description { state: "selected" 0.0;
24129                inherit: "default" 0.0;
24130                visible: 1;
24131                color: 255 255 255 255;
24132                rel1 {
24133                   relative: 0.0 0.0;
24134                   offset: -2 -2;
24135                }
24136                rel2 {
24137                   relative: 1.0 1.0;
24138                   offset: 1 1;
24139                }
24140             }
24141          }
24142          part { name: "elm.swallow.pad";
24143             type: SWALLOW;
24144             description { state: "default" 0.0;
24145                fixed: 1 0;
24146                align: 0.0 0.5;
24147                rel1 {
24148                   relative: 0.0  0.0;
24149                   offset:   4    4;
24150                }
24151                rel2 {
24152                   relative: 0.0  1.0;
24153                   offset:   4   -5;
24154                }
24155             }
24156          }
24157          part {
24158             name: "elm.text.trackno";
24159             type: TEXT;
24160             scale: 1;
24161             mouse_events: 0;
24162             description {
24163                state: "default" 0.0;
24164                color: 255 255 255 255;
24165                align: 0.0 0.0;
24166                fixed: 1 0;
24167                rel1 {
24168                   to_y: "elm.text.title";
24169                   relative: 0.0 0.0;
24170                   offset: 5 0;
24171                }
24172                rel2 {
24173                   to_y: "elm.text.title";
24174                   relative: 0.0 1.0;
24175                   offset: 20 0;
24176                }
24177                color: 0 0 0 255;
24178                color3: 0 0 0 0;
24179                text {
24180                   font: "Sans";
24181                   size: 10;
24182                   min: 1 1;
24183                   align: 1.0 0.5;
24184                }
24185             }
24186             description { state: "selected" 0.0;
24187                inherit: "default" 0.0;
24188                color: 224 224 224 255;
24189                color3: 0 0 0 64;
24190             }
24191          }
24192          part {
24193             name: "dot";
24194             type: TEXT;
24195             scale: 1;
24196             mouse_events: 0;
24197             description {
24198                state: "default" 0.0;
24199                color: 255 255 255 255;
24200                visible: 0;
24201                fixed: 1 1;
24202                align: 0.0 0.0;
24203                rel1 {
24204                   to_x: "elm.text.trackno";
24205                   to_y: "elm.text.title";
24206                   relative: 1.0 0.0;
24207                   offset: 1 0;
24208                }
24209                rel2 {
24210                   to_x: "elm.text.trackno";
24211                   to_y: "elm.text.title";
24212                   relative: 1.0 1.0;
24213                   offset: 1 0;
24214
24215                }
24216                color: 0 0 0 255;
24217                color3: 0 0 0 0;
24218                text {
24219                   font: "Sans";
24220                   size: 10;
24221                   min: 1 1;
24222                   align: 0.0 0.5;
24223                   text: ".";
24224                }
24225             }
24226             description {
24227                state: "visible" 0.0;
24228                inherit: "default" 0.0;
24229                visible: 1;
24230             }
24231             description { state: "selected" 0.0;
24232                inherit: "default" 0.0;
24233                color: 224 224 224 255;
24234                color3: 0 0 0 64;
24235                visible: 1;
24236             }
24237          }
24238          programs {
24239             program {
24240                signal: "elm,state,elm.state.trackno,active";
24241                source: "elm";
24242                script {
24243                   set_state(PART:"dot", "visible", 0.0);
24244                   set_int(dot_visible, 1);
24245                }
24246             }
24247          }
24248          part { name: "elm.text.title";
24249             clip_to: "disclip";
24250             type:           TEXT;
24251             effect:         SOFT_SHADOW;
24252             mouse_events:   0;
24253             scale: 1;
24254             description {
24255                state: "default" 0.0;
24256                rel1 {
24257                   to_x: "dot";
24258                   relative: 1.0  0.0;
24259                   offset:   4 4;
24260                }
24261                rel2 {
24262                   relative: 1.0  0.5;
24263                   offset:   -1 -5;
24264                }
24265                color: 0 0 0 255;
24266                color3: 0 0 0 0;
24267                text {
24268                   font: "Sans";
24269                   size: 10;
24270                   min: 0 1;
24271                   align: 0.0 0.5;
24272                }
24273             }
24274             description { state: "selected" 0.0;
24275                inherit: "default" 0.0;
24276                color: 224 224 224 255;
24277                color3: 0 0 0 64;
24278             }
24279          }
24280          part { name: "elm.text.length";
24281             clip_to: "disclip";
24282             type:           TEXT;
24283             mouse_events:   0;
24284             scale: 1;
24285             description {
24286                state: "default" 0.0;
24287                rel1 {
24288                   relative: 0.0  0.5;
24289                   offset:   4 4;
24290                }
24291                rel2 {
24292                   relative: 1.0  1.0;
24293                   offset:   -1 -5;
24294                }
24295                color: 0 0 0 128;
24296                color3: 0 0 0 0;
24297                text {
24298                   font: "Sans";
24299                   size: 8;
24300                   min: 0 1;
24301                   align: 0.0 0.5;
24302                }
24303             }
24304             description { state: "selected" 0.0;
24305                inherit: "default" 0.0;
24306                color: 128 128 128 255;
24307                color3: 0 0 0 32;
24308             }
24309          }
24310          part { name: "fg1";
24311             clip_to: "disclip";
24312             mouse_events: 0;
24313             description { state: "default" 0.0;
24314                visible: 0;
24315                color: 255 255 255 0;
24316                rel1.to: "bg";
24317                rel2.relative: 1.0 0.5;
24318                rel2.to: "bg";
24319                image {
24320                   normal: "bt_sm_hilight.png";
24321                   border: 6 6 6 0;
24322                }
24323             }
24324             description { state: "selected" 0.0;
24325                inherit: "default" 0.0;
24326                visible: 1;
24327                color: 255 255 255 255;
24328             }
24329          }
24330          part { name: "fg2";
24331             clip_to: "disclip";
24332             mouse_events: 0;
24333             description { state: "default" 0.0;
24334                visible: 0;
24335                color: 255 255 255 0;
24336                rel1.to: "bg";
24337                rel2.to: "bg";
24338                image {
24339                   normal: "bt_sm_shine.png";
24340                   border: 6 6 6 0;
24341                }
24342             }
24343             description { state: "selected" 0.0;
24344                inherit: "default" 0.0;
24345                visible: 1;
24346                color: 255 255 255 255;
24347             }
24348          }
24349          part { name: "disclip";
24350             type: RECT;
24351             description { state: "default" 0.0;
24352                rel1.to: "bg";
24353                rel2.to: "bg";
24354             }
24355             description { state: "disabled" 0.0;
24356                inherit: "default" 0.0;
24357                color: 255 255 255 64;
24358             }
24359          }
24360       }
24361       programs {
24362          // signal: elm,state,%s,active
24363          //   a "check" item named %s went active
24364          // signal: elm,state,%s,passive
24365          //   a "check" item named %s went passive
24366          // default is passive
24367          program {
24368             name:    "go_active";
24369             signal:  "elm,state,selected";
24370             source:  "elm";
24371             action:  STATE_SET "selected" 0.0;
24372             target:  "bg";
24373             target:  "fg1";
24374             target:  "fg2";
24375             target:  "elm.text.title";
24376             target:  "elm.text.length";
24377             target:  "elm.text.trackno";
24378             after:   "dot_active";
24379          }
24380          program {
24381             name: "dot_active";
24382             script {
24383                if (get_int(dot_visible) == 1)
24384                   set_state(PART:"dot", "selected", 0.0);
24385             }
24386          }
24387          program {
24388             name:    "go_passive";
24389             signal:  "elm,state,unselected";
24390             source:  "elm";
24391             action:  STATE_SET "default" 0.0;
24392             target:  "bg";
24393             target:  "fg1";
24394             target:  "fg2";
24395             target:  "elm.text.title";
24396             target:  "elm.text.length";
24397             target:  "elm.text.trackno";
24398             transition: LINEAR 0.1;
24399             after:   "dot_passive";
24400          }
24401          program {
24402             name: "dot_passive";
24403             script {
24404                if (get_int(dot_visible) == 1)
24405                   set_state(PART:"dot", "visible", 0.0);
24406             }
24407          }
24408          program {
24409             name:    "go_disabled";
24410             signal:  "elm,state,disabled";
24411             source:  "elm";
24412             action:  STATE_SET "disabled" 0.0;
24413             target:  "disclip";
24414          }
24415          program {
24416             name:    "go_enabled";
24417             signal:  "elm,state,enabled";
24418             source:  "elm";
24419             action:  STATE_SET "default" 0.0;
24420             target:  "disclip";
24421          }
24422       }
24423    }
24424
24425    group { name: "elm/genlist/item_compress/media-preview/default";
24426       data.item: "stacking" "above";
24427       data.item: "selectraise" "on";
24428       data.item: "labels" "elm.text.title elm.text.artist";
24429       data.item: "icons" "elm.swallow.preview";
24430       data.item: "treesize" "20";
24431       images {
24432          image: "bt_sm_base1.png" COMP;
24433          image: "bt_sm_shine.png" COMP;
24434          image: "bt_sm_hilight.png" COMP;
24435          image: "ilist_1.png" COMP;
24436          image: "ilist_item_shadow.png" COMP;
24437       }
24438       parts {
24439          part {
24440             name: "event";
24441             type: RECT;
24442             repeat_events: 1;
24443             description {
24444                state: "default" 0.0;
24445                color: 0 0 0 0;
24446             }
24447          }
24448          part {
24449             name: "base_sh";
24450             mouse_events: 0;
24451             description {
24452                state: "default" 0.0;
24453                align: 0.0 0.0;
24454                min: 0 10;
24455                fixed: 1 1;
24456                rel1 {
24457                   to: "base";
24458                   relative: 0.0 1.0;
24459                   offset: 0 0;
24460                }
24461                rel2 {
24462                   to: "base";
24463                   relative: 1.0 1.0;
24464                   offset: -1 0;
24465                }
24466                image {
24467                   normal: "ilist_item_shadow.png";
24468                }
24469                fill.smooth: 0;
24470             }
24471          }
24472          part {
24473             name: "base";
24474             mouse_events: 0;
24475             description {
24476                state: "default" 0.0;
24477                image {
24478                   normal: "ilist_1.png";
24479                   border: 2 2 2 2;
24480                }
24481                fill.smooth: 0;
24482             }
24483          }
24484          part { name: "bg";
24485             clip_to: "disclip";
24486             mouse_events: 0;
24487             description { state: "default" 0.0;
24488                visible: 0;
24489                color: 255 255 255 0;
24490                rel1 {
24491                   relative: 0.0 0.0;
24492                   offset: -5 -5;
24493                }
24494                rel2 {
24495                   relative: 1.0 1.0;
24496                   offset: 4 4;
24497                }
24498                image {
24499                   normal: "bt_sm_base1.png";
24500                   border: 6 6 6 6;
24501                }
24502                image.middle: SOLID;
24503             }
24504             description { state: "selected" 0.0;
24505                inherit: "default" 0.0;
24506                visible: 1;
24507                color: 255 255 255 255;
24508                rel1 {
24509                   relative: 0.0 0.0;
24510                   offset: -2 -2;
24511                }
24512                rel2 {
24513                   relative: 1.0 1.0;
24514                   offset: 1 1;
24515                }
24516             }
24517          }
24518          part { name: "elm.swallow.pad";
24519             type: SWALLOW;
24520             description { state: "default" 0.0;
24521                fixed: 1 0;
24522                align: 0.0 0.5;
24523                rel1 {
24524                   relative: 0.0  0.0;
24525                   offset:   4    4;
24526                }
24527                rel2 {
24528                   relative: 0.0  1.0;
24529                   offset:   4   -5;
24530                }
24531             }
24532          }
24533          part { name: "elm.swallow.preview";
24534             clip_to: "disclip";
24535             type: SWALLOW;
24536             description { state: "default" 0.0;
24537                fixed: 1 0;
24538                align: 0.0 0.5;
24539                min: 68 68;
24540                max: 68 68;
24541                rel1 {
24542                   to_x: "elm.swallow.pad";
24543                   relative: 1.0  0.0;
24544                   offset:   -1    4;
24545                }
24546                rel2 {
24547                   to_x: "elm.swallow.pad";
24548                   relative: 1.0  1.0;
24549                   offset:   -1   -5;
24550                }
24551             }
24552          }
24553          part { name: "elm.text.title";
24554             clip_to: "disclip";
24555             type:           TEXT;
24556             effect:         SOFT_SHADOW;
24557             mouse_events:   0;
24558             scale: 1;
24559             description {
24560                state: "default" 0.0;
24561                rel1 {
24562                   to_x:     "elm.swallow.preview";
24563                   relative: 1.0  0.0;
24564                   offset:   4 4;
24565                }
24566                rel2 {
24567                   relative: 1.0  0.5;
24568                   offset:   -1 -5;
24569                }
24570                color: 0 0 0 255;
24571                color3: 0 0 0 0;
24572                text {
24573                   font: "Sans";
24574                   size: 10;
24575                   min: 0 1;
24576                   align: 0.0 0.5;
24577                }
24578             }
24579             description { state: "selected" 0.0;
24580                inherit: "default" 0.0;
24581                color: 224 224 224 255;
24582                color3: 0 0 0 64;
24583             }
24584          }
24585          part { name: "elm.text.artist";
24586             clip_to: "disclip";
24587             type:           TEXT;
24588             mouse_events:   0;
24589             scale: 1;
24590             description {
24591                state: "default" 0.0;
24592                rel1 {
24593                   to_x:     "elm.swallow.preview";
24594                   relative: 1.0  0.5;
24595                   offset:   4 4;
24596                }
24597                rel2 {
24598                   relative: 1.0  1.0;
24599                   offset:   -1 -5;
24600                }
24601                color: 0 0 0 128;
24602                color3: 0 0 0 0;
24603                text {
24604                   font: "Sans";
24605                   size: 8;
24606                   min: 0 1;
24607                   align: 0.0 0.5;
24608                }
24609             }
24610             description { state: "selected" 0.0;
24611                inherit: "default" 0.0;
24612                color: 128 128 128 255;
24613                color3: 0 0 0 32;
24614             }
24615          }
24616          part { name: "fg1";
24617             clip_to: "disclip";
24618             mouse_events: 0;
24619             description { state: "default" 0.0;
24620                visible: 0;
24621                color: 255 255 255 0;
24622                rel1.to: "bg";
24623                rel2.relative: 1.0 0.5;
24624                rel2.to: "bg";
24625                image {
24626                   normal: "bt_sm_hilight.png";
24627                   border: 6 6 6 0;
24628                }
24629             }
24630             description { state: "selected" 0.0;
24631                inherit: "default" 0.0;
24632                visible: 1;
24633                color: 255 255 255 255;
24634             }
24635          }
24636          part { name: "fg2";
24637             clip_to: "disclip";
24638             mouse_events: 0;
24639             description { state: "default" 0.0;
24640                visible: 0;
24641                color: 255 255 255 0;
24642                rel1.to: "bg";
24643                rel2.to: "bg";
24644                image {
24645                   normal: "bt_sm_shine.png";
24646                   border: 6 6 6 0;
24647                }
24648             }
24649             description { state: "selected" 0.0;
24650                inherit: "default" 0.0;
24651                visible: 1;
24652                color: 255 255 255 255;
24653             }
24654          }
24655          part { name: "disclip";
24656             type: RECT;
24657             description { state: "default" 0.0;
24658                rel1.to: "bg";
24659                rel2.to: "bg";
24660             }
24661             description { state: "disabled" 0.0;
24662                inherit: "default" 0.0;
24663                color: 255 255 255 64;
24664             }
24665          }
24666       }
24667       programs {
24668          // signal: elm,state,%s,active
24669          //   a "check" item named %s went active
24670          // signal: elm,state,%s,passive
24671          //   a "check" item named %s went passive
24672          // default is passive
24673          program {
24674             name:    "go_active";
24675             signal:  "elm,state,selected";
24676             source:  "elm";
24677             action:  STATE_SET "selected" 0.0;
24678             target:  "bg";
24679             target:  "fg1";
24680             target:  "fg2";
24681             target:  "elm.text.title";
24682             target:  "elm.text.artist";
24683          }
24684          program {
24685             name:    "go_passive";
24686             signal:  "elm,state,unselected";
24687             source:  "elm";
24688             action:  STATE_SET "default" 0.0;
24689             target:  "bg";
24690             target:  "fg1";
24691             target:  "fg2";
24692             target:  "elm.text.title";
24693             target:  "elm.text.artist";
24694             transition: LINEAR 0.1;
24695          }
24696          program {
24697             name:    "go_disabled";
24698             signal:  "elm,state,disabled";
24699             source:  "elm";
24700             action:  STATE_SET "disabled" 0.0;
24701             target:  "disclip";
24702          }
24703          program {
24704             name:    "go_enabled";
24705             signal:  "elm,state,enabled";
24706             source:  "elm";
24707             action:  STATE_SET "default" 0.0;
24708             target:  "disclip";
24709          }
24710       }
24711    }
24712    group { name: "elm/genlist/item_compress_odd/media-preview/default";
24713       data.item: "stacking" "below";
24714       data.item: "selectraise" "on";
24715       data.item: "labels" "elm.text.title elm.text.artist";
24716       data.item: "icons" "elm.swallow.preview";
24717       data.item: "treesize" "20";
24718       images {
24719          image: "bt_sm_base1.png" COMP;
24720          image: "bt_sm_shine.png" COMP;
24721          image: "bt_sm_hilight.png" COMP;
24722          image: "ilist_2.png" COMP;
24723       }
24724       parts {
24725          part { name: "event";
24726             type: RECT;
24727             repeat_events: 1;
24728             description {
24729                state: "default" 0.0;
24730                color: 0 0 0 0;
24731             }
24732          }
24733          part {
24734             name: "base";
24735             mouse_events: 0;
24736             description {
24737                state: "default" 0.0;
24738                image {
24739                   normal: "ilist_2.png";
24740                   border: 2 2 2 2;
24741                }
24742                fill.smooth: 0;
24743             }
24744          }
24745          part { name: "bg";
24746             clip_to: "disclip";
24747             mouse_events: 0;
24748             description { state: "default" 0.0;
24749                visible: 0;
24750                color: 255 255 255 0;
24751                rel1 {
24752                   relative: 0.0 0.0;
24753                   offset: -5 -5;
24754                }
24755                rel2 {
24756                   relative: 1.0 1.0;
24757                   offset: 4 4;
24758                }
24759                image {
24760                   normal: "bt_sm_base1.png";
24761                   border: 6 6 6 6;
24762                }
24763                image.middle: SOLID;
24764             }
24765             description { state: "selected" 0.0;
24766                inherit: "default" 0.0;
24767                visible: 1;
24768                color: 255 255 255 255;
24769                rel1 {
24770                   relative: 0.0 0.0;
24771                   offset: -2 -2;
24772                }
24773                rel2 {
24774                   relative: 1.0 1.0;
24775                   offset: 1 1;
24776                }
24777             }
24778          }
24779          part { name: "elm.swallow.pad";
24780             type: SWALLOW;
24781             description { state: "default" 0.0;
24782                fixed: 1 0;
24783                align: 0.0 0.5;
24784                rel1 {
24785                   relative: 0.0  0.0;
24786                   offset:   4    4;
24787                }
24788                rel2 {
24789                   relative: 0.0  1.0;
24790                   offset:   4   -5;
24791                }
24792             }
24793          }
24794          part { name: "elm.swallow.preview";
24795             clip_to: "disclip";
24796             type: SWALLOW;
24797             description { state: "default" 0.0;
24798                fixed: 1 0;
24799                align: 0.0 0.5;
24800                min: 68 68;
24801                max: 68 68;
24802                rel1 {
24803                   to_x: "elm.swallow.pad";
24804                   relative: 1.0  0.0;
24805                   offset:   -1    4;
24806                }
24807                rel2 {
24808                   to_x: "elm.swallow.pad";
24809                   relative: 1.0  1.0;
24810                   offset:   -1   -5;
24811                }
24812             }
24813          }
24814          part { name: "elm.text.title";
24815             clip_to: "disclip";
24816             type:           TEXT;
24817             effect:         SOFT_SHADOW;
24818             mouse_events:   0;
24819             scale: 1;
24820             description {
24821                state: "default" 0.0;
24822                rel1 {
24823                   to_x:     "elm.swallow.preview";
24824                   relative: 1.0  0.0;
24825                   offset:   4 4;
24826                }
24827                rel2 {
24828                   relative: 1.0  0.5;
24829                   offset:   -1 -5;
24830                }
24831                color: 0 0 0 255;
24832                color3: 0 0 0 0;
24833                text {
24834                   font: "Sans";
24835                   size: 10;
24836                   min: 0 1;
24837                   align: 0.0 0.5;
24838                }
24839             }
24840             description { state: "selected" 0.0;
24841                inherit: "default" 0.0;
24842                color: 224 224 224 255;
24843                color3: 0 0 0 64;
24844             }
24845          }
24846          part { name: "elm.text.artist";
24847             clip_to: "disclip";
24848             type:           TEXT;
24849             mouse_events:   0;
24850             scale: 1;
24851             description {
24852                state: "default" 0.0;
24853                rel1 {
24854                   to_x:     "elm.swallow.preview";
24855                   relative: 1.0  0.5;
24856                   offset:   4 4;
24857                }
24858                rel2 {
24859                   relative: 1.0  1.0;
24860                   offset:   -1 -5;
24861                }
24862                color: 0 0 0 128;
24863                color3: 0 0 0 0;
24864                text {
24865                   font: "Sans";
24866                   size: 8;
24867                   min: 0 1;
24868                   align: 0.0 0.5;
24869                }
24870             }
24871             description { state: "selected" 0.0;
24872                inherit: "default" 0.0;
24873                color: 128 128 128 255;
24874                color3: 0 0 0 32;
24875             }
24876          }
24877          part { name: "fg1";
24878             clip_to: "disclip";
24879             mouse_events: 0;
24880             description { state: "default" 0.0;
24881                visible: 0;
24882                color: 255 255 255 0;
24883                rel1.to: "bg";
24884                rel2.relative: 1.0 0.5;
24885                rel2.to: "bg";
24886                image {
24887                   normal: "bt_sm_hilight.png";
24888                   border: 6 6 6 0;
24889                }
24890             }
24891             description { state: "selected" 0.0;
24892                inherit: "default" 0.0;
24893                visible: 1;
24894                color: 255 255 255 255;
24895             }
24896          }
24897          part { name: "fg2";
24898             clip_to: "disclip";
24899             mouse_events: 0;
24900             description { state: "default" 0.0;
24901                visible: 0;
24902                color: 255 255 255 0;
24903                rel1.to: "bg";
24904                rel2.to: "bg";
24905                image {
24906                   normal: "bt_sm_shine.png";
24907                   border: 6 6 6 0;
24908                }
24909             }
24910             description { state: "selected" 0.0;
24911                inherit: "default" 0.0;
24912                visible: 1;
24913                color: 255 255 255 255;
24914             }
24915          }
24916          part { name: "disclip";
24917             type: RECT;
24918             description { state: "default" 0.0;
24919                rel1.to: "bg";
24920                rel2.to: "bg";
24921             }
24922             description { state: "disabled" 0.0;
24923                inherit: "default" 0.0;
24924                color: 255 255 255 64;
24925             }
24926          }
24927       }
24928       programs {
24929          // signal: elm,state,%s,active
24930          //   a "check" item named %s went active
24931          // signal: elm,state,%s,passive
24932          //   a "check" item named %s went passive
24933          // default is passive
24934          program {
24935             name:    "go_active";
24936             signal:  "elm,state,selected";
24937             source:  "elm";
24938             action:  STATE_SET "selected" 0.0;
24939             target:  "bg";
24940             target:  "fg1";
24941             target:  "fg2";
24942             target:  "elm.text.title";
24943             target:  "elm.text.artist";
24944          }
24945          program {
24946             name:    "go_passive";
24947             signal:  "elm,state,unselected";
24948             source:  "elm";
24949             action:  STATE_SET "default" 0.0;
24950             target:  "bg";
24951             target:  "fg1";
24952             target:  "fg2";
24953             target:  "elm.text.title";
24954             target:  "elm.text.artist";
24955             transition: LINEAR 0.1;
24956          }
24957          program {
24958             name:    "go_disabled";
24959             signal:  "elm,state,disabled";
24960             source:  "elm";
24961             action:  STATE_SET "disabled" 0.0;
24962             target:  "disclip";
24963          }
24964          program {
24965             name:    "go_enabled";
24966             signal:  "elm,state,enabled";
24967             source:  "elm";
24968             action:  STATE_SET "default" 0.0;
24969             target:  "disclip";
24970          }
24971       }
24972    }
24973
24974    group { name: "elm/genlist/item/mode/default";
24975       data.item: "selectraise" "on";
24976       data.item: "labels" "elm.text.mode";
24977       data.item: "icons" "elm.swallow.mode";
24978       data.item: "mode_part" "elm.swallow.origin";
24979       data.item: "treesize" "20";
24980       images {
24981          image: "bt_sm_base1.png" COMP;
24982          image: "bt_sm_shine.png" COMP;
24983          image: "bt_sm_hilight.png" COMP;
24984          image: "ilist_1.png" COMP;
24985          image: "ilist_2.png" COMP;
24986          image: "ilist_item_shadow.png" COMP;
24987       }
24988
24989       parts {
24990          part {
24991             name: "event";
24992             type: RECT;
24993             repeat_events: 1;
24994             description {
24995                state: "default" 0.0;
24996                color: 0 0 0 0;
24997             }
24998          }
24999          part {
25000             name: "base_sh";
25001             mouse_events: 0;
25002             description {
25003                state: "default" 0.0;
25004                align: 0.0 0.0;
25005                min: 0 10;
25006                fixed: 1 1;
25007                rel1 {
25008                   to: "base";
25009                   relative: 0.0 1.0;
25010                   offset: 0 0;
25011                }
25012                rel2 {
25013                   to: "base";
25014                   relative: 1.0 1.0;
25015                   offset: -1 0;
25016                }
25017                image {
25018                   normal: "ilist_item_shadow.png";
25019                }
25020                fill.smooth: 0;
25021             }
25022             description {
25023                state: "default" 1.0;
25024                inherit: "default" 0.0;
25025                visible: 0;
25026             }
25027          }
25028          part {
25029             name: "base";
25030             mouse_events: 0;
25031             description {
25032                state: "default" 0.0;
25033                image {
25034                   normal: "ilist_1.png";
25035                   border: 2 2 2 2;
25036                }
25037                fill.smooth: 0;
25038             }
25039             description {
25040                state: "default" 1.0;
25041                inherit: "default" 0.0;
25042                image.normal: "ilist_2.png";
25043             }
25044          }
25045          part { name: "bg";
25046             clip_to: "disclip";
25047             mouse_events: 0;
25048             description { state: "default" 0.0;
25049                visible: 0;
25050                color: 255 255 255 0;
25051                rel1 {
25052                   relative: 0.0 0.0;
25053                   offset: -5 -5;
25054                }
25055                rel2 {
25056                   relative: 1.0 1.0;
25057                   offset: 4 4;
25058                }
25059                image {
25060                   normal: "bt_sm_base1.png";
25061                   border: 6 6 6 6;
25062                }
25063                image.middle: SOLID;
25064             }
25065             description { state: "default" 0.1;
25066                inherit: "default" 0.0;
25067             }
25068             description { state: "selected" 0.0;
25069                inherit: "default" 0.0;
25070                visible: 1;
25071                color: 255 255 255 255;
25072                rel1 {
25073                   relative: 0.0 0.0;
25074                   offset: -2 -2;
25075                }
25076                rel2 {
25077                   relative: 1.0 1.0;
25078                   offset: 1 1;
25079                }
25080             }
25081             description {
25082                state: "selected" 1.0;
25083                inherit: "selected" 0.0;
25084             }
25085          }
25086          part { name: "elm.text.mode";
25087             clip_to: "disclip";
25088             type: TEXT;
25089             scale: 1;
25090             description { state: "default" 0.0;
25091                rel2.relative: 0.5 1.0;
25092                color: 0 0 0 255;
25093                text {
25094                   font: "Sans";
25095                   size: 10;
25096                   min: 1 1;
25097                   align: -1.0 0.5;
25098                   text_class: "list_item";
25099                }
25100             }
25101          }
25102         part { name: "elm.swallow.mode";
25103             clip_to: "disclip";
25104             type: SWALLOW;
25105             description { state: "default" 0.0;
25106                rel1.relative: 0.5 0.0;
25107             }
25108          }
25109          part { name: "fg1";
25110             clip_to: "disclip";
25111             mouse_events: 0;
25112             description { state: "default" 0.0;
25113                visible: 0;
25114                color: 255 255 255 0;
25115                rel1.to: "bg";
25116                rel2.relative: 1.0 0.5;
25117                rel2.to: "bg";
25118                image {
25119                   normal: "bt_sm_hilight.png";
25120                   border: 6 6 6 0;
25121                }
25122             }
25123             description { state: "selected" 0.0;
25124                inherit: "default" 0.0;
25125                visible: 1;
25126                color: 255 255 255 255;
25127             }
25128             description {
25129                state: "selected" 1.0;
25130                inherit: "default" 0.0;
25131                visible: 1;
25132                color: 255 255 255 255;
25133             }
25134          }
25135          part { name: "fg2";
25136             clip_to: "disclip";
25137             mouse_events: 0;
25138             description { state: "default" 0.0;
25139                visible: 0;
25140                color: 255 255 255 0;
25141                rel1.to: "bg";
25142                rel2.to: "bg";
25143                image {
25144                   normal: "bt_sm_shine.png";
25145                   border: 6 6 6 0;
25146                }
25147             }
25148             description { state: "selected" 0.0;
25149                inherit: "default" 0.0;
25150                visible: 1;
25151                color: 255 255 255 255;
25152             }
25153             description {
25154                state: "selected" 1.0;
25155                inherit: "default" 0.0;
25156                visible: 1;
25157                color: 255 255 255 255;
25158             }
25159          }
25160          // Transparent part between base parts and slidable parts
25161          part { name: "event_block_layer";
25162             type: RECT;
25163             clip_to: "disclip";
25164             mouse_events: 1;
25165             description { state: "default" 0.0;
25166                rel1.to: "base";
25167                rel2.to: "base";
25168                color: 0 0 0 0;
25169             }
25170             description { state: "repeat_events" 0.0;
25171                inherit: "default" 0.0;
25172                visible: 0;
25173             }
25174          }
25175          part { name: "pers";
25176             clip_to: "disclip";
25177             type: RECT;
25178             description { state: "default" 0.0;
25179                rel1.relative: 0.0 1.0;
25180             }
25181          }
25182          part { name: "elm.swallow.origin";
25183             clip_to: "disclip";
25184             type: SWALLOW;
25185             description { state: "default" 0.0;
25186                fixed: 1 0;
25187                align: 0.0 0.5;
25188             }
25189             description { state: "slide" 0.0;
25190                inherit: "default" 0.0;
25191                rel1.relative: 1 0;
25192                rel2.relative: 2 1;
25193             }
25194             description { state: "rotate" 0.0;
25195                inherit: "default" 0.0;
25196                map {
25197                   perspective: "pers";
25198                   on: 1;
25199                   smooth: 1;
25200                   perspective_on: 1;
25201                   backface_cull: 1;
25202                   rotation {
25203                      center: "pers";
25204                      x: 0.0;
25205                      y: 0.0;
25206                      z: 0.0;
25207                   }
25208                }
25209             }
25210             description { state: "rotate" 1.0;
25211                inherit: "default" 0.0;
25212                map {
25213                   perspective: "pers";
25214                   on: 1;
25215                   smooth: 1;
25216                   perspective_on: 1;
25217                   backface_cull: 1;
25218                   rotation {
25219                      center: "pers";
25220                      x: 90.0;
25221                      y: 0.0;
25222                      z: 0.0;
25223                   }
25224                }
25225             }
25226          }
25227          part { name: "disclip";
25228             type: RECT;
25229             description { state: "default" 0.0;
25230                rel1.to: "bg";
25231                rel2.to: "bg";
25232             }
25233             description { state: "disabled" 0.0;
25234                inherit: "default" 0.0;
25235                color: 255 255 255 64;
25236             }
25237          }
25238       }
25239       programs {
25240          program {
25241             name:    "odd";
25242             signal:  "elm,state,odd";
25243             source:  "elm";
25244             action:  STATE_SET "default" 1.0;
25245             target:  "base_sh";
25246             target:  "base";
25247          }
25248          program {
25249             name:    "even";
25250             signal:  "elm,state,even";
25251             source:  "elm";
25252             action:  STATE_SET "default" 0.0;
25253             target:  "base_sh";
25254             target:  "base";
25255          }
25256          program {
25257             name:    "go_active";
25258             signal:  "elm,state,selected";
25259             source:  "elm";
25260             script {
25261                new st[31];
25262                new Float:vl;
25263                get_state(PART:"base", st, 30, vl);
25264                set_state(PART:"bg", "selected", vl);
25265                set_state(PART:"fg1", "selected", vl);
25266                set_state(PART:"fg2", "selected", vl);
25267             }
25268          }
25269          program {
25270             name:    "go_passive";
25271             signal:  "elm,state,unselected";
25272             source:  "elm";
25273             script {
25274                new st[31];
25275                new Float:vl;
25276                get_state(PART:"base", st, 30, vl);
25277                set_state(PART:"bg", "default", vl);
25278                set_state(PART:"fg1", "default", vl);
25279                set_state(PART:"fg2", "default", vl);
25280             }
25281          }
25282          program {
25283             name:    "go_disabled";
25284             signal:  "elm,state,disabled";
25285             source:  "elm";
25286             action:  STATE_SET "disabled" 0.0;
25287             target:  "disclip";
25288          }
25289          program {
25290             name:    "go_enabled";
25291             signal:  "elm,state,enabled";
25292             source:  "elm";
25293             action:  STATE_SET "default" 0.0;
25294             target:  "disclip";
25295          }
25296          program {
25297             name:    "slide_right";
25298             signal:  "elm,state,slide,active";
25299             source:  "elm";
25300             action:  STATE_SET "slide" 0.0;
25301             target:  "elm.swallow.origin";
25302             transition: ACCELERATE 0.5;
25303             after:   "unblock_event";
25304          }
25305          program {
25306             name:    "unblock_event";
25307             action:  STATE_SET "repeat_events" 0.0;
25308             target:  "event_block_layer";
25309          }
25310          program {
25311             name:    "slide_left";
25312             signal:  "elm,state,slide,passive";
25313             source:  "elm";
25314             action:  STATE_SET "default" 0.0;
25315             target:  "event_block_layer";
25316             after:   "slide_left2";
25317          }
25318          program {
25319             name:    "slide_left2";
25320             action:  STATE_SET "default" 0.0;
25321             target:  "elm.swallow.origin";
25322             transition: DECELERATE 0.5;
25323             after:   "slide_left_finished";
25324          }
25325          program {
25326             name:    "slide_left_finished";
25327             action:  SIGNAL_EMIT "elm,state,slide,passive,finished" "elm";
25328          }
25329          program {
25330             name:    "rotate_on";
25331             signal:  "elm,state,rotate,active";
25332             source:  "elm";
25333             action:  STATE_SET "rotate" 0.0;
25334             target:  "elm.swallow.origin";
25335             after:   "rotate_on2";
25336          }
25337          program {
25338             name:    "rotate_on2";
25339             action:  STATE_SET "rotate" 1.0;
25340             target:  "elm.swallow.origin";
25341             transition: LINEAR 0.5;
25342             after:   "unblock_event";
25343          }
25344          program {
25345             name:    "rotate_off";
25346             signal:  "elm,state,rotate,passive";
25347             source:  "elm";
25348             action:  STATE_SET "default" 0.0;
25349             target:  "event_block_layer";
25350             after:   "rotate_off2";
25351          }
25352          program {
25353             name:    "rotate_off2";
25354             action:  STATE_SET "rotate" 0.0;
25355             transition: LINEAR 0.5;
25356             target:  "elm.swallow.origin";
25357             after:   "rotate_off3";
25358          }
25359          program {
25360             name:    "rotate_off3";
25361             action:  STATE_SET "default" 0.0;
25362             target:  "elm.swallow.origin";
25363             after:   "rotate_off_finished";
25364          }
25365          program {
25366             name:    "rotate_off_finished";
25367             action:  SIGNAL_EMIT "elm,state,rotate,passive,finished" "elm";
25368          }
25369       }
25370    }
25371
25372    group { name: "elm/genlist/item_odd/mode/default";
25373       data.item: "stacking" "below";
25374       data.item: "selectraise" "on";
25375       data.item: "labels" "elm.text.mode";
25376       data.item: "icons" "elm.swallow.mode";
25377       data.item: "mode_part" "elm.swallow.origin";
25378       data.item: "treesize" "20";
25379       images {
25380          image: "bt_sm_base1.png" COMP;
25381          image: "bt_sm_shine.png" COMP;
25382          image: "bt_sm_hilight.png" COMP;
25383          image: "ilist_2.png" COMP;
25384       }
25385
25386       parts {
25387          part {
25388             name: "event";
25389             type: RECT;
25390             repeat_events: 1;
25391             description {
25392                state: "default" 0.0;
25393                color: 0 0 0 0;
25394             }
25395          }
25396          part {
25397             name: "base";
25398             mouse_events: 0;
25399             description {
25400                state: "default" 0.0;
25401                image {
25402                   normal: "ilist_2.png";
25403                   border: 2 2 2 2;
25404                }
25405                fill.smooth: 0;
25406             }
25407          }
25408          part { name: "bg";
25409             clip_to: "disclip";
25410             mouse_events: 0;
25411             description { state: "default" 0.0;
25412                visible: 0;
25413                color: 255 255 255 0;
25414                rel1 {
25415                   relative: 0.0 0.0;
25416                   offset: -5 -5;
25417                }
25418                rel2 {
25419                   relative: 1.0 1.0;
25420                   offset: 4 4;
25421                }
25422                image {
25423                   normal: "bt_sm_base1.png";
25424                   border: 6 6 6 6;
25425                }
25426                image.middle: SOLID;
25427             }
25428             description { state: "selected" 0.0;
25429                inherit: "default" 0.0;
25430                visible: 1;
25431                color: 255 255 255 255;
25432                rel1 {
25433                   relative: 0.0 0.0;
25434                   offset: -2 -2;
25435                }
25436                rel2 {
25437                   relative: 1.0 1.0;
25438                   offset: 1 1;
25439                }
25440             }
25441          }
25442          part { name: "elm.text.mode";
25443             clip_to: "disclip";
25444             type: TEXT;
25445             scale: 1;
25446             description { state: "default" 0.0;
25447                rel2.relative: 0.5 1.0;
25448                color: 0 0 0 255;
25449                text {
25450                   font: "Sans";
25451                   size: 10;
25452                   min: 1 1;
25453                   align: 0.5 0.5;
25454                   text_class: "list_item";
25455                }
25456             }
25457          }
25458         part { name: "elm.swallow.mode";
25459             clip_to: "disclip";
25460             type: SWALLOW;
25461             description { state: "default" 0.0;
25462                rel1.relative: 0.5 0.0;
25463             }
25464          }
25465          part { name: "fg1";
25466             clip_to: "disclip";
25467             mouse_events: 0;
25468             description { state: "default" 0.0;
25469                visible: 0;
25470                color: 255 255 255 0;
25471                rel1.to: "bg";
25472                rel2.relative: 1.0 0.5;
25473                rel2.to: "bg";
25474                image {
25475                   normal: "bt_sm_hilight.png";
25476                   border: 6 6 6 0;
25477                }
25478             }
25479             description { state: "selected" 0.0;
25480                inherit: "default" 0.0;
25481                visible: 1;
25482                color: 255 255 255 255;
25483             }
25484          }
25485          part { name: "fg2";
25486             clip_to: "disclip";
25487             mouse_events: 0;
25488             description { state: "default" 0.0;
25489                visible: 0;
25490                color: 255 255 255 0;
25491                rel1.to: "bg";
25492                rel2.to: "bg";
25493                image {
25494                   normal: "bt_sm_shine.png";
25495                   border: 6 6 6 0;
25496                }
25497             }
25498             description { state: "selected" 0.0;
25499                inherit: "default" 0.0;
25500                visible: 1;
25501                color: 255 255 255 255;
25502             }
25503          }
25504          // Transparent part between base parts and slidable parts
25505          part { name: "event_block_layer";
25506             type: RECT;
25507             clip_to: "disclip";
25508             mouse_events: 1;
25509             description { state: "default" 0.0;
25510                rel1.to: "base";
25511                rel2.to: "base";
25512                color: 0 0 0 0;
25513             }
25514             description { state: "repeat_events" 0.0;
25515                inherit: "default" 0.0;
25516                visible: 0;
25517             }
25518          }
25519          part { name: "pers";
25520             clip_to: "disclip";
25521             type: RECT;
25522             description { state: "default" 0.0;
25523                rel1.relative: 0.0 1.0;
25524             }
25525          }
25526          part { name: "elm.swallow.origin";
25527             clip_to: "disclip";
25528             type: SWALLOW;
25529             description { state: "default" 0.0;
25530                fixed: 1 0;
25531                align: 0.0 0.5;
25532             }
25533             description { state: "slide" 0.0;
25534                inherit: "default" 0.0;
25535                rel1.relative: 1 0;
25536                rel2.relative: 2 1;
25537             }
25538             description { state: "rotate" 0.0;
25539                inherit: "default" 0.0;
25540                map {
25541                   perspective: "pers";
25542                   on: 1;
25543                   smooth: 1;
25544                   perspective_on: 1;
25545                   backface_cull: 1;
25546                   rotation {
25547                      center: "pers";
25548                      x: 0.0;
25549                      y: 0.0;
25550                      z: 0.0;
25551                   }
25552                }
25553             }
25554             description { state: "rotate" 1.0;
25555                inherit: "default" 0.0;
25556                map {
25557                   perspective: "pers";
25558                   on: 1;
25559                   smooth: 1;
25560                   perspective_on: 1;
25561                   backface_cull: 1;
25562                   rotation {
25563                      center: "pers";
25564                      x: 90.0;
25565                      y: 0.0;
25566                      z: 0.0;
25567                   }
25568                }
25569             }
25570          }
25571          part { name: "disclip";
25572             type: RECT;
25573             description { state: "default" 0.0;
25574                rel1.to: "bg";
25575                rel2.to: "bg";
25576             }
25577             description { state: "disabled" 0.0;
25578                inherit: "default" 0.0;
25579                color: 255 255 255 64;
25580             }
25581          }
25582       }
25583       programs {
25584          program {
25585             name:    "go_active";
25586             signal:  "elm,state,selected";
25587             source:  "elm";
25588             action:  STATE_SET "selected" 0.0;
25589             target:  "bg";
25590             target:  "fg1";
25591             target:  "fg2";
25592          }
25593          program {
25594             name:    "go_passive";
25595             signal:  "elm,state,unselected";
25596             source:  "elm";
25597             action:  STATE_SET "default" 0.0;
25598             target:  "bg";
25599             target:  "fg1";
25600             target:  "fg2";
25601             transition: LINEAR 0.1;
25602          }
25603          program {
25604             name:    "go_disabled";
25605             signal:  "elm,state,disabled";
25606             source:  "elm";
25607             action:  STATE_SET "disabled" 0.0;
25608             target:  "disclip";
25609          }
25610          program {
25611             name:    "go_enabled";
25612             signal:  "elm,state,enabled";
25613             source:  "elm";
25614             action:  STATE_SET "default" 0.0;
25615             target:  "disclip";
25616          }
25617          program {
25618             name:    "slide_right";
25619             signal:  "elm,state,slide,active";
25620             source:  "elm";
25621             action:  STATE_SET "slide" 0.0;
25622             target:  "elm.swallow.origin";
25623             transition: ACCELERATE 0.5;
25624             after:   "unblock_event";
25625          }
25626          program {
25627             name:    "unblock_event";
25628             action:  STATE_SET "repeat_events" 0.0;
25629             target:  "event_block_layer";
25630          }
25631          program {
25632             name:    "slide_left";
25633             signal:  "elm,state,slide,passive";
25634             source:  "elm";
25635             action:  STATE_SET "default" 0.0;
25636             target:   "event_block_layer";
25637             after:   "slide_left2";
25638          }
25639          program {
25640             name:    "slide_left2";
25641             action:  STATE_SET "default" 0.0;
25642             target:  "elm.swallow.origin";
25643             transition: DECELERATE 0.5;
25644             after:   "slide_left_finished";
25645          }
25646          program {
25647             name:    "slide_left_finished";
25648             action:  SIGNAL_EMIT "elm,state,slide,passive,finished" "elm";
25649          }
25650          program {
25651             name:    "rotate_on";
25652             signal:  "elm,state,rotate,active";
25653             source:  "elm";
25654             action:  STATE_SET "rotate" 0.0;
25655             target:  "elm.swallow.origin";
25656             after:   "rotate_on2";
25657          }
25658          program {
25659             name:    "rotate_on2";
25660             action:  STATE_SET "rotate" 1.0;
25661             target:  "elm.swallow.origin";
25662             transition: LINEAR 0.5;
25663             after:   "unblock_event";
25664          }
25665          program {
25666             name:    "rotate_off";
25667             signal:  "elm,state,rotate,passive";
25668             source:  "elm";
25669             action:  STATE_SET "default" 0.0;
25670             target:  "event_block_layer";
25671             after:   "rotate_off2";
25672          }
25673          program {
25674             name:    "rotate_off2";
25675             action:  STATE_SET "rotate" 0.0;
25676             transition: LINEAR 0.5;
25677             target:  "elm.swallow.origin";
25678             after:   "rotate_off3";
25679          }
25680          program {
25681             name:    "rotate_off3";
25682             action:  STATE_SET "default" 0.0;
25683             target:  "elm.swallow.origin";
25684             after:   "rotate_off_finished";
25685          }
25686          program {
25687             name:    "rotate_off_finished";
25688             action:  SIGNAL_EMIT "elm,state,rotate,passive,finished" "elm";
25689          }
25690       }
25691    }
25692
25693 ///////////////////////////////////////////////////////////////////////////////
25694    group { name: "elm/pager/base/default";
25695       data.item: "onshow" "raise";
25696 // other options
25697 //      data.item: "onhide" "lower";
25698 //      data.item: "onshow" "lower";
25699       images {
25700          image: "frame_1.png" COMP;
25701          image: "frame_2.png" COMP;
25702          image: "dia_grad.png" COMP;
25703       }
25704       parts {
25705          part { name: "clip";
25706             type: RECT;
25707             mouse_events: 0;
25708             description { state: "default" 0.0;
25709                rel1 {
25710                   to: "base";
25711                   offset: -9999 -9999;
25712                }
25713                rel2 {
25714                   to: "base";
25715                   offset: 9999 9999;
25716                }
25717                color: 255 255 255 255;
25718             }
25719             description { state: "visible" 0.0;
25720                inherit: "default" 0.0;
25721             }
25722             description { state: "hidden" 0.0;
25723                inherit: "default" 0.0;
25724                color: 255 255 255 0;
25725                visible: 0;
25726             }
25727          }
25728          part { name: "base0";
25729             mouse_events:  0;
25730             clip_to: "clip";
25731             description { state: "default" 0.0;
25732                image.normal: "dia_grad.png";
25733                rel1.to: "over";
25734                rel2.to: "over";
25735                fill {
25736                   smooth: 0;
25737                   size {
25738                      relative: 0.0 1.0;
25739                      offset: 64 0;
25740                   }
25741                }
25742             }
25743          }
25744          part { name: "base";
25745             mouse_events:  0;
25746             clip_to: "clip";
25747             description { state: "default" 0.0;
25748                image {
25749                   normal: "frame_2.png";
25750                   border: 5 5 32 26;
25751                   middle: 0;
25752                }
25753                fill.smooth : 0;
25754             }
25755             description { state: "hidden" 0.0;
25756                inherit: "default" 0.0;
25757                rel1.relative: -1.0 0.0;
25758                rel2.relative: 0.0 1.0;
25759             }
25760             description { state: "visible" 0.0;
25761                inherit: "default" 0.0;
25762                rel1.relative: 0.0 0.0;
25763                rel2.relative: 1.0 1.0;
25764             }
25765          }
25766          part { name: "over";
25767             mouse_events:  0;
25768             clip_to: "clip";
25769             description { state:    "default" 0.0;
25770                rel1 {
25771                   to: "base";
25772                   offset: 4 4;
25773                }
25774                rel2 {
25775                   to: "base";
25776                   offset: -5 -5;
25777                }
25778                image {
25779                   normal: "frame_1.png";
25780                   border: 2 2 28 22;
25781                   middle: 0;
25782                }
25783                fill.smooth : 0;
25784             }
25785          }
25786          part { name: "elm.swallow.content";
25787             type: SWALLOW;
25788             clip_to: "clip";
25789             description { state: "default" 0.0;
25790                rel1 {
25791                   to: "base";
25792                   offset: 8 8;
25793                }
25794                rel2 {
25795                   to: "base";
25796                   offset: -9 -9;
25797                }
25798             }
25799          }
25800       }
25801       programs {
25802          program { name: "push_start";
25803             signal: "elm,action,push";
25804             source: "elm";
25805             action:  STATE_SET "hidden" 0.0;
25806             target: "base";
25807             target: "clip";
25808             after: "show_start2";
25809          }
25810          program { name: "show_start";
25811             signal: "elm,action,show";
25812             source: "elm";
25813             action:  STATE_SET "hidden" 0.0;
25814             target: "base";
25815             target: "clip";
25816             after: "show_start2";
25817          }
25818          program { name: "show_start2";
25819             action:  STATE_SET "visible" 0.0;
25820             transition: DECELERATE 0.5;
25821             target: "base";
25822             target: "clip";
25823             after: "show_end";
25824          }
25825          program { name: "show_end";
25826             action: SIGNAL_EMIT "elm,action,show,finished" "";
25827          }
25828          program { name: "pop_start";
25829             signal: "elm,action,pop";
25830             source: "elm";
25831             action:  STATE_SET "visible" 0.0;
25832             target: "base";
25833             target: "clip";
25834             after: "hide_start2";
25835          }
25836          program { name: "hide_start";
25837             signal: "elm,action,hide";
25838             source: "elm";
25839             action:  STATE_SET "visible" 0.0;
25840             target: "base";
25841             target: "clip";
25842             after: "hide_start2";
25843          }
25844          program { name: "hide_start2";
25845             action:  STATE_SET "hidden" 0.0;
25846             transition: DECELERATE 0.5;
25847             target: "base";
25848             target: "clip";
25849             after: "hide_end";
25850          }
25851          program { name: "hide_end";
25852             action: SIGNAL_EMIT "elm,action,hide,finished" "";
25853          }
25854          program { name: "reset";
25855             signal: "elm,action,reset";
25856             source: "elm";
25857             action:  STATE_SET "default" 0.0;
25858             target: "base";
25859             target: "clip";
25860          }
25861       }
25862    }
25863
25864    group { name: "elm/pager/base/slide";
25865       images {
25866          image: "frame_1.png" COMP;
25867          image: "frame_2.png" COMP;
25868          image: "dia_grad.png" COMP;
25869       }
25870       parts {
25871          part { name: "clip";
25872             type: RECT;
25873             mouse_events: 0;
25874             description { state: "default" 0.0;
25875                rel1 {
25876                   to: "base";
25877                   offset: -9999 -9999;
25878                }
25879                rel2 {
25880                   to: "base";
25881                   offset: 9999 9999;
25882                }
25883                color: 255 255 255 255;
25884             }
25885             description { state: "visible" 0.0;
25886                inherit: "default" 0.0;
25887             }
25888             description { state: "hidden" 0.0;
25889                inherit: "default" 0.0;
25890                color: 255 255 255 0;
25891                visible: 0;
25892             }
25893             description { state: "hidden2" 0.0;
25894                inherit: "default" 0.0;
25895                color: 255 255 255 0;
25896                visible: 0;
25897             }
25898          }
25899          part { name: "base0";
25900             mouse_events:  0;
25901             clip_to: "clip";
25902             description { state: "default" 0.0;
25903                image.normal: "dia_grad.png";
25904                rel1.to: "over";
25905                rel2.to: "over";
25906                fill {
25907                   smooth: 0;
25908                   size {
25909                      relative: 0.0 1.0;
25910                      offset: 64 0;
25911                   }
25912                }
25913             }
25914          }
25915          part { name: "base";
25916             mouse_events:  0;
25917             clip_to: "clip";
25918             description { state: "default" 0.0;
25919                image {
25920                   normal: "frame_2.png";
25921                   border: 5 5 32 26;
25922                   middle: 0;
25923                }
25924                fill.smooth : 0;
25925             }
25926             description { state: "hidden" 0.0;
25927                inherit: "default" 0.0;
25928                rel1.relative: -1.0 0.0;
25929                rel2.relative: 0.0 1.0;
25930             }
25931             description { state: "hidden2" 0.0;
25932                inherit: "default" 0.0;
25933                rel1.relative: 1.0 0.0;
25934                rel2.relative: 2.0 1.0;
25935             }
25936             description { state: "visible" 0.0;
25937                inherit: "default" 0.0;
25938                rel1.relative: 0.0 0.0;
25939                rel2.relative: 1.0 1.0;
25940             }
25941          }
25942          part { name: "over";
25943             mouse_events:  0;
25944             clip_to: "clip";
25945             description { state:    "default" 0.0;
25946                rel1 {
25947                   to: "base";
25948                   offset: 4 4;
25949                }
25950                rel2 {
25951                   to: "base";
25952                   offset: -5 -5;
25953                }
25954                image {
25955                   normal: "frame_1.png";
25956                   border: 2 2 28 22;
25957                   middle: 0;
25958                }
25959                fill.smooth : 0;
25960             }
25961          }
25962          part { name: "elm.swallow.content";
25963             type: SWALLOW;
25964             clip_to: "clip";
25965             description { state: "default" 0.0;
25966                rel1 {
25967                   to: "base";
25968                   offset: 8 8;
25969                }
25970                rel2 {
25971                   to: "base";
25972                   offset: -9 -9;
25973                }
25974             }
25975          }
25976       }
25977       programs {
25978          program { name: "push_start";
25979             signal: "elm,action,push";
25980             source: "elm";
25981             action:  STATE_SET "hidden2" 0.0;
25982             target: "base";
25983             target: "clip";
25984             after: "show_start2";
25985          }
25986          program { name: "show_start";
25987             signal: "elm,action,show";
25988             source: "elm";
25989             action:  STATE_SET "hidden" 0.0;
25990             target: "base";
25991             target: "clip";
25992             after: "show_start2";
25993          }
25994          program { name: "show_start2";
25995             action:  STATE_SET "visible" 0.0;
25996             transition: DECELERATE 0.5;
25997             target: "base";
25998             target: "clip";
25999             after: "show_end";
26000          }
26001          program { name: "show_end";
26002             action: SIGNAL_EMIT "elm,action,show,finished" "";
26003          }
26004          program { name: "pop_start";
26005             signal: "elm,action,pop";
26006             source: "elm";
26007             action:  STATE_SET "visible" 0.0;
26008             target: "base";
26009             target: "clip";
26010             after: "pop_start2";
26011          }
26012          program { name: "pop_start2";
26013             action:  STATE_SET "hidden2" 0.0;
26014             transition: DECELERATE 0.5;
26015             target: "base";
26016             target: "clip";
26017             after: "hide_end";
26018          }
26019          program { name: "hide_start";
26020             signal: "elm,action,hide";
26021             source: "elm";
26022             action:  STATE_SET "visible" 0.0;
26023             target: "base";
26024             target: "clip";
26025             after: "hide_start2";
26026          }
26027          program { name: "hide_start2";
26028             action:  STATE_SET "hidden" 0.0;
26029             transition: DECELERATE 0.5;
26030             target: "base";
26031             target: "clip";
26032             after: "hide_end";
26033          }
26034          program { name: "hide_end";
26035             action: SIGNAL_EMIT "elm,action,hide,finished" "";
26036          }
26037          program { name: "reset";
26038             signal: "elm,action,reset";
26039             source: "elm";
26040             action:  STATE_SET "default" 0.0;
26041             target: "base";
26042             target: "clip";
26043          }
26044       }
26045    }
26046    group { name: "elm/pager/base/slide_invisible";
26047       parts {
26048          part { name: "clip";
26049             type: RECT;
26050             mouse_events: 0;
26051             description { state: "default" 0.0;
26052                rel1 {
26053                   to: "base";
26054                   offset: -9999 -9999;
26055             }
26056                rel2 {
26057                   to: "base";
26058                   offset: 9999 9999;
26059                }
26060                color: 255 255 255 255;
26061             }
26062             description { state: "visible" 0.0;
26063                inherit: "default" 0.0;
26064             }
26065             description { state: "hidden" 0.0;
26066                inherit: "default" 0.0;
26067                color: 255 255 255 0;
26068                visible: 0;
26069             }
26070             description { state: "hidden2" 0.0;
26071                inherit: "default" 0.0;
26072                color: 255 255 255 0;
26073                visible: 0;
26074             }
26075          }
26076          part { name: "base";
26077             type: RECT;
26078             mouse_events:  0;
26079             clip_to: "clip";
26080             description { state: "default" 0.0;
26081                color: 0 0 0 0;
26082             }
26083             description { state: "hidden" 0.0;
26084                color: 0 0 0 0;
26085                rel1.relative: -1.0 0.0;
26086                rel2.relative: 0.0 1.0;
26087             }
26088             description { state: "hidden2" 0.0;
26089                color: 0 0 0 0;
26090                rel1.relative: 1.0 0.0;
26091                rel2.relative: 2.0 1.0;
26092             }
26093             description { state: "visible" 0.0;
26094                color: 0 0 0 0;
26095                rel1.relative: 0.0 0.0;
26096                rel2.relative: 1.0 1.0;
26097             }
26098          }
26099          part { name: "elm.swallow.content";
26100             type: SWALLOW;
26101             clip_to: "clip";
26102             description { state: "default" 0.0;
26103                rel1.to: "base";
26104                rel2.to: "base";
26105             }
26106          }
26107       }
26108       programs {
26109          program { name: "push_start";
26110             signal: "elm,action,push";
26111             source: "elm";
26112             action:  STATE_SET "hidden2" 0.0;
26113             target: "base";
26114             target: "clip";
26115             after: "show_start2";
26116          }
26117          program { name: "show_start";
26118             signal: "elm,action,show";
26119             source: "elm";
26120             action:  STATE_SET "hidden" 0.0;
26121             target: "base";
26122             target: "clip";
26123             after: "show_start2";
26124          }
26125          program { name: "show_start2";
26126             action:  STATE_SET "visible" 0.0;
26127             transition: DECELERATE 0.5;
26128             target: "base";
26129             target: "clip";
26130             after: "show_end";
26131          }
26132          program { name: "show_end";
26133             action: SIGNAL_EMIT "elm,action,show,finished" "";
26134          }
26135          program { name: "pop_start";
26136             signal: "elm,action,pop";
26137             source: "elm";
26138             action:  STATE_SET "visible" 0.0;
26139             target: "base";
26140             target: "clip";
26141             after: "pop_start2";
26142          }
26143          program { name: "pop_start2";
26144             action:  STATE_SET "hidden2" 0.0;
26145             transition: DECELERATE 0.5;
26146             target: "base";
26147             target: "clip";
26148             after: "hide_end";
26149          }
26150          program { name: "hide_start";
26151             signal: "elm,action,hide";
26152             source: "elm";
26153             action:  STATE_SET "visible" 0.0;
26154             target: "base";
26155             target: "clip";
26156             after: "hide_start2";
26157          }
26158          program { name: "hide_start2";
26159             action:  STATE_SET "hidden" 0.0;
26160             transition: DECELERATE 0.5;
26161             target: "base";
26162             target: "clip";
26163             after: "hide_end";
26164          }
26165          program { name: "hide_end";
26166             action: SIGNAL_EMIT "elm,action,hide,finished" "";
26167          }
26168          program { name: "reset";
26169             signal: "elm,action,reset";
26170             source: "elm";
26171             action:  STATE_SET "default" 0.0;
26172             target: "base";
26173             target: "clip";
26174          }
26175       }
26176    }
26177
26178    group { name: "elm/pager/base/fade";
26179        data.item: "onshow" "raise";
26180        // other options
26181        //      data.item: "onhide" "lower";
26182        //      data.item: "onshow" "lower";
26183        images {
26184            image: "frame_1.png" COMP;
26185            image: "frame_2.png" COMP;
26186            image: "dia_grad.png" COMP;
26187        }
26188        parts {
26189            part { name: "clip_base";
26190                type: RECT;
26191                mouse_events: 0;
26192                description { state: "default" 0.0;
26193                    rel1 {
26194                        to: "base";
26195                        offset: -9999 -9999;
26196                    }
26197                    rel2 {
26198                        to: "base";
26199                        offset: 9999 9999;
26200                    }
26201                    color: 255 255 255 120;
26202                }
26203                description { state: "visible" 0.0;
26204                    inherit: "default" 0.0;
26205                }
26206                description { state: "hidden" 0.0;
26207                    inherit: "default" 0.0;
26208                    color: 255 255 255 0;
26209                    visible: 0;
26210                }
26211            }
26212            part { name: "clip";
26213                type: RECT;
26214                mouse_events: 0;
26215                description { state: "default" 0.0;
26216                    rel1 {
26217                        to: "base";
26218                        offset: -9999 -9999;
26219                    }
26220                    rel2 {
26221                        to: "base";
26222                        offset: 9999 9999;
26223                    }
26224                    color: 255 255 255 255;
26225                }
26226                description { state: "visible" 0.0;
26227                    inherit: "default" 0.0;
26228                }
26229                description { state: "hidden" 0.0;
26230                    inherit: "default" 0.0;
26231                    color: 255 255 255 0;
26232                    visible: 0;
26233                }
26234            }
26235            part { name: "base0";
26236                mouse_events:  0;
26237                clip_to: "clip_base";
26238                description { state: "default" 0.0;
26239                    image.normal: "dia_grad.png";
26240                    rel1.to: "over";
26241                    rel2.to: "over";
26242                    fill {
26243                        smooth: 0;
26244                        size {
26245                            relative: 0.0 1.0;
26246                            offset: 64 0;
26247                        }
26248                    }
26249                }
26250            }
26251            part { name: "base";
26252                mouse_events:  0;
26253                clip_to: "clip_base";
26254                description { state: "default" 0.0;
26255                    image {
26256                        normal: "frame_2.png";
26257                        border: 5 5 32 26;
26258                        middle: 0;
26259                    }
26260                    fill.smooth : 0;
26261                }
26262            }
26263            part { name: "over";
26264                mouse_events:  0;
26265                clip_to: "clip";
26266                description { state:    "default" 0.0;
26267                    rel1 {
26268                        to: "base";
26269                        offset: 4 4;
26270                    }
26271                    rel2 {
26272                        to: "base";
26273                        offset: -5 -5;
26274                    }
26275                    image {
26276                        normal: "frame_1.png";
26277                        border: 2 2 28 22;
26278                        middle: 0;
26279                    }
26280                    fill.smooth : 0;
26281                }
26282            }
26283            part { name: "elm.swallow.content";
26284                type: SWALLOW;
26285                clip_to: "clip";
26286                description { state: "default" 0.0;
26287                    rel1 {
26288                        to: "base";
26289                        offset: 8 8;
26290                    }
26291                    rel2 {
26292                        to: "base";
26293                        offset: -9 -9;
26294                    }
26295                }
26296            }
26297        }
26298        programs {
26299            program { name: "push_start";
26300                signal: "elm,action,push";
26301                source: "elm";
26302                action:  STATE_SET "hidden" 0.0;
26303                target: "clip";
26304                target: "clip_base";
26305                after: "show_start2";
26306            }
26307            program { name: "show_start";
26308                signal: "elm,action,show";
26309                source: "elm";
26310                action:  STATE_SET "hidden" 0.0;
26311                target: "clip";
26312                target: "clip_base";
26313                after: "show_start2";
26314            }
26315            program { name: "show_start2";
26316                action:  STATE_SET "visible" 0.0;
26317                transition: DECELERATE 0.5;
26318                target: "clip";
26319                target: "clip_base";
26320                after: "show_end";
26321            }
26322            program { name: "show_end";
26323                action: SIGNAL_EMIT "elm,action,show,finished" "";
26324            }
26325            program { name: "pop_start";
26326                signal: "elm,action,pop";
26327                source: "elm";
26328                action:  STATE_SET "visible" 0.0;
26329                target: "clip";
26330                target: "clip_base";
26331                after: "hide_start2";
26332            }
26333            program { name: "hide_start";
26334                signal: "elm,action,hide";
26335                source: "elm";
26336                action:  STATE_SET "visible" 0.0;
26337                target: "clip";
26338                target: "clip_base";
26339                after: "hide_start2";
26340            }
26341            program { name: "hide_start2";
26342                action:  STATE_SET "hidden" 0.0;
26343                transition: DECELERATE 0.5;
26344                target: "clip";
26345                target: "clip_base";
26346                after: "hide_end";
26347            }
26348            program { name: "hide_end";
26349                action: SIGNAL_EMIT "elm,action,hide,finished" "";
26350            }
26351            program { name: "reset";
26352                signal: "elm,action,reset";
26353                source: "elm";
26354                action:  STATE_SET "default" 0.0;
26355                target: "clip_base";
26356                target: "clip";
26357            }
26358        }
26359    }
26360    group { name: "elm/pager/base/fade_translucide";
26361        data.item: "onshow" "raise";
26362        // other options
26363        //      data.item: "onhide" "lower";
26364        //      data.item: "onshow" "lower";
26365        images {
26366            image: "frame_1.png" COMP;
26367            image: "frame_2.png" COMP;
26368            image: "dia_grad.png" COMP;
26369        }
26370        parts {
26371            part { name: "clip_base";
26372                type: RECT;
26373                mouse_events: 0;
26374                description { state: "default" 0.0;
26375                    rel1 {
26376                        to: "base";
26377                        offset: -9999 -9999;
26378                    }
26379                    rel2 {
26380                        to: "base";
26381                        offset: 9999 9999;
26382                    }
26383                    color: 255 255 255 120;
26384                }
26385                description { state: "visible" 0.0;
26386                    inherit: "default" 0.0;
26387                }
26388                description { state: "hidden" 0.0;
26389                    inherit: "default" 0.0;
26390                    color: 255 255 255 0;
26391                    visible: 0;
26392                }
26393            }
26394            part { name: "clip";
26395                type: RECT;
26396                mouse_events: 0;
26397                description { state: "default" 0.0;
26398                    rel1 {
26399                        to: "base";
26400                        offset: -9999 -9999;
26401                    }
26402                    rel2 {
26403                        to: "base";
26404                        offset: 9999 9999;
26405                    }
26406                    color: 255 255 255 255;
26407                }
26408                description { state: "visible" 0.0;
26409                    inherit: "default" 0.0;
26410                }
26411                description { state: "hidden" 0.0;
26412                    inherit: "default" 0.0;
26413                    color: 255 255 255 0;
26414                    visible: 0;
26415                }
26416            }
26417            part { name: "base0";
26418                mouse_events:  0;
26419                clip_to: "clip_base";
26420                description { state: "default" 0.0;
26421                    image.normal: "dia_grad.png";
26422                    rel1.to: "over";
26423                    rel2.to: "over";
26424                    fill {
26425                        smooth: 0;
26426                        size {
26427                            relative: 0.0 1.0;
26428                            offset: 64 0;
26429                        }
26430                    }
26431                }
26432            }
26433            part { name: "base";
26434                mouse_events:  0;
26435                clip_to: "clip_base";
26436                description { state: "default" 0.0;
26437                    image {
26438                        normal: "frame_2.png";
26439                        border: 5 5 32 26;
26440                        middle: 0;
26441                    }
26442                    fill.smooth : 0;
26443                }
26444            }
26445            part { name: "over";
26446                mouse_events:  0;
26447                clip_to: "clip";
26448                description { state:    "default" 0.0;
26449                    rel1 {
26450                        to: "base";
26451                        offset: 4 4;
26452                    }
26453                    rel2 {
26454                        to: "base";
26455                        offset: -5 -5;
26456                    }
26457                    image {
26458                        normal: "frame_1.png";
26459                        border: 2 2 28 22;
26460                        middle: 0;
26461                    }
26462                    fill.smooth : 0;
26463                }
26464            }
26465            part { name: "elm.swallow.content";
26466                type: SWALLOW;
26467                clip_to: "clip";
26468                description { state: "default" 0.0;
26469                    rel1 {
26470                        to: "base";
26471                        offset: 8 8;
26472                    }
26473                    rel2 {
26474                        to: "base";
26475                        offset: -9 -9;
26476                    }
26477                }
26478            }
26479        }
26480        programs {
26481            program { name: "push_start";
26482                signal: "elm,action,push";
26483                source: "elm";
26484                action:  STATE_SET "hidden" 0.0;
26485                target: "clip";
26486                target: "clip_base";
26487                after: "show_start2";
26488            }
26489            program { name: "show_start";
26490                signal: "elm,action,show";
26491                source: "elm";
26492                action:  STATE_SET "hidden" 0.0;
26493                target: "clip";
26494                target: "clip_base";
26495                after: "show_start2";
26496            }
26497            program { name: "show_start2";
26498                action:  STATE_SET "visible" 0.0;
26499                transition: DECELERATE 0.5;
26500                target: "clip";
26501                target: "clip_base";
26502                after: "show_end";
26503            }
26504            program { name: "show_end";
26505                action: SIGNAL_EMIT "elm,action,show,finished" "";
26506            }
26507            program { name: "pop_start";
26508                signal: "elm,action,pop";
26509                source: "elm";
26510                action:  STATE_SET "visible" 0.0;
26511                target: "clip";
26512                target: "clip_base";
26513                after: "hide_start2";
26514            }
26515            program { name: "hide_start";
26516                signal: "elm,action,hide";
26517                source: "elm";
26518                action:  STATE_SET "visible" 0.0;
26519                target: "clip";
26520                target: "clip_base";
26521                after: "hide_start2";
26522            }
26523            program { name: "hide_start2";
26524                action:  STATE_SET "hidden" 0.0;
26525                transition: DECELERATE 0.5;
26526                target: "clip";
26527                target: "clip_base";
26528                after: "hide_end";
26529            }
26530            program { name: "hide_end";
26531                action: SIGNAL_EMIT "elm,action,hide,finished" "";
26532            }
26533            program { name: "reset";
26534                signal: "elm,action,reset";
26535                source: "elm";
26536                action:  STATE_SET "default" 0.0;
26537                target: "clip_base";
26538                target: "clip";
26539            }
26540        }
26541    }
26542    group { name: "elm/pager/base/fade_invisible";
26543        data.item: "onshow" "raise";
26544        // other options
26545        //      data.item: "onhide" "lower";
26546        //      data.item: "onshow" "lower";
26547        parts {
26548            part { name: "clip";
26549                type: RECT;
26550                mouse_events: 0;
26551                description { state: "default" 0.0;
26552                    rel1 {
26553                        offset: -9999 -9999;
26554                    }
26555                    rel2 {
26556                        offset: 9999 9999;
26557                    }
26558                    color: 255 255 255 255;
26559                }
26560                description { state: "visible" 0.0;
26561                    inherit: "default" 0.0;
26562                }
26563                description { state: "hidden" 0.0;
26564                    inherit: "default" 0.0;
26565                    color: 255 255 255 0;
26566                    visible: 0;
26567                }
26568            }
26569            part { name: "elm.swallow.content";
26570                type: SWALLOW;
26571                clip_to: "clip";
26572                description { state: "default" 0.0;
26573                    rel1 {
26574                        offset: 8 8;
26575                    }
26576                    rel2 {
26577                        offset: -9 -9;
26578                    }
26579                }
26580            }
26581        }
26582        programs {
26583            program { name: "push_start";
26584                signal: "elm,action,push";
26585                source: "elm";
26586                action:  STATE_SET "hidden" 0.0;
26587                target: "clip";
26588                after: "show_start2";
26589            }
26590            program { name: "show_start";
26591                signal: "elm,action,show";
26592                source: "elm";
26593                action:  STATE_SET "hidden" 0.0;
26594                target: "clip";
26595                after: "show_start2";
26596            }
26597            program { name: "show_start2";
26598                action:  STATE_SET "visible" 0.0;
26599                transition: DECELERATE 0.5;
26600                target: "clip";
26601                after: "show_end";
26602            }
26603            program { name: "show_end";
26604                action: SIGNAL_EMIT "elm,action,show,finished" "";
26605            }
26606            program { name: "pop_start";
26607                signal: "elm,action,pop";
26608                source: "elm";
26609                action:  STATE_SET "visible" 0.0;
26610                target: "clip";
26611                after: "hide_start2";
26612            }
26613            program { name: "hide_start";
26614                signal: "elm,action,hide";
26615                source: "elm";
26616                action:  STATE_SET "visible" 0.0;
26617                target: "clip";
26618                after: "hide_start2";
26619            }
26620            program { name: "hide_start2";
26621                action:  STATE_SET "hidden" 0.0;
26622                transition: DECELERATE 0.5;
26623                target: "clip";
26624                after: "hide_end";
26625            }
26626            program { name: "hide_end";
26627                action: SIGNAL_EMIT "elm,action,hide,finished" "";
26628            }
26629            program { name: "reset";
26630                signal: "elm,action,reset";
26631                source: "elm";
26632                action:  STATE_SET "default" 0.0;
26633                target: "clip";
26634            }
26635        }
26636    }
26637
26638    group { name: "elm/pager/base/flip";
26639       data.item: "onshow" "raise";
26640       images {
26641          image: "frame_1.png" COMP;
26642          image: "frame_2.png" COMP;
26643          image: "dia_grad.png" COMP;
26644       }
26645       parts {
26646          part { name: "elm.swallow.content";
26647             type: SWALLOW;
26648             description { state: "default" 0.0;
26649                map {
26650                   on: 1;
26651                   smooth: 1;
26652                   backface_cull: 1;
26653                   perspective_on: 1;
26654                }
26655                perspective {
26656                   zplane: 0;
26657                   focal: 1000;
26658                }
26659             }
26660             description { state: "hidden" 0.0;
26661                inherit: "default" 0.0;
26662                visible: 0;
26663                map.rotation.y: 90.0;
26664             }
26665             description { state: "before_hidden" 0.0;
26666                inherit: "default" 0.0;
26667                visible: 0;
26668                map.rotation.y: -90.0;
26669             }
26670          }
26671       }
26672       programs {
26673          program { name: "push_start";
26674             signal: "elm,action,push";
26675             source: "elm";
26676             after: "push1";
26677          }
26678          program { name: "push1";
26679             action:  STATE_SET "hidden" 0.0;
26680             target: "elm.swallow.content";
26681             after: "push2";
26682          }
26683          program { name: "push2";
26684             action:  STATE_SET "default" 0.0;
26685             in: 0.5 0.0;
26686             transition: LINEAR 0.5;
26687             target: "elm.swallow.content";
26688             after: "push3";
26689          }
26690          program { name: "push3";
26691             action: SIGNAL_EMIT "elm,action,show,finished" "";
26692          }
26693
26694          program { name: "show_start";
26695             signal: "elm,action,show";
26696             source: "elm";
26697             after: "show1";
26698          }
26699          program { name: "show1";
26700             action:  STATE_SET "before_hidden" 0.0;
26701             target: "elm.swallow.content";
26702             after: "show2";
26703          }
26704          program { name: "show2";
26705             action:  STATE_SET "default" 0.0;
26706             in: 0.5 0.0;
26707             transition: LINEAR 0.5;
26708             target: "elm.swallow.content";
26709             after: "show3";
26710          }
26711          program { name: "show3";
26712             action: SIGNAL_EMIT "elm,action,show,finished" "";
26713          }
26714
26715          program { name: "pop_start";
26716             signal: "elm,action,pop";
26717             source: "elm";
26718             after: "pop1";
26719          }
26720          program { name: "pop1";
26721             action:  STATE_SET "default" 0.0;
26722             target: "elm.swallow.content";
26723             after: "pop2";
26724          }
26725          program { name: "pop2";
26726             action:  STATE_SET "hidden" 0.0;
26727             transition: LINEAR 0.5;
26728             target: "elm.swallow.content";
26729             after: "pop3";
26730          }
26731          program { name: "pop3";
26732             action: SIGNAL_EMIT "elm,action,hide,finished" "";
26733          }
26734
26735          program { name: "hide_start";
26736             signal: "elm,action,hide";
26737             source: "elm";
26738             after: "hide1";
26739          }
26740          program { name: "hide1";
26741             action:  STATE_SET "default" 0.0;
26742             target: "elm.swallow.content";
26743             after: "hide2";
26744          }
26745          program { name: "hide2";
26746             action:  STATE_SET "before_hidden" 0.0;
26747             transition: LINEAR 0.5;
26748             target: "elm.swallow.content";
26749             after: "hide3";
26750          }
26751          program { name: "hide3";
26752             action: SIGNAL_EMIT "elm,action,hide,finished" "";
26753          }
26754
26755          program { name: "reset";
26756             signal: "elm,action,reset";
26757             source: "elm";
26758             action:  STATE_SET "default" 0.0;
26759             target: "elm.swallow.content";
26760          }
26761       }
26762    }
26763
26764
26765
26766 ///////////////////////////////////////////////////////////////////////////////
26767 // FIXME: this doesn't look too hot. need to fix it up
26768    group { name: "elm/progressbar/horizontal/default";
26769       images {
26770          image: "shelf_inset.png" COMP;
26771          image: "bt_sm_base2.png" COMP;
26772          image: "bt_sm_hilight.png" COMP;
26773          image: "bt_sm_shine.png" COMP;
26774       }
26775       parts {
26776          part { name: "elm.background.progressbar";
26777             mouse_events: 0;
26778             description {
26779                state: "default" 0.0;
26780                rel1 {
26781                   relative: 0.0 0.0;
26782                   offset: 0 0;
26783                }
26784                rel2 {
26785                   relative: 1.0 1.0;
26786                }
26787             }
26788          }
26789          part { name: "elm.swallow.bar";
26790             mouse_events: 0;
26791             type: SWALLOW;
26792             description {
26793                min: 48 28;
26794                max: 99999 28;
26795                state: "default" 0.0;
26796                rel1 {
26797                   to_x: "elm.text";
26798                   to_y: "elm.background.progressbar";
26799                   relative: 1.0 0.0;
26800                }
26801                rel2 {
26802                   to: "elm.background.progressbar";
26803                   relative: 1.0 1.0;
26804                }
26805             }
26806          }
26807          part { name: "elm.swallow.content";
26808             type: SWALLOW;
26809             description { state: "default" 0.0;
26810                visible: 0;
26811                align: 0.0 0.5;
26812                rel1 {
26813                   offset: 4 0;
26814                   to_y: "elm.background.progressbar";
26815                }
26816                rel2 {
26817                   offset: 3 -1;
26818                   relative: 0.0 1.0;
26819                   to_y: "elm.background.progressbar";
26820                }
26821             }
26822             description { state: "visible" 0.0;
26823                inherit: "default" 0.0;
26824                visible: 1;
26825                aspect: 1.0 1.0;
26826                aspect_preference: VERTICAL;
26827                rel2.offset: 4 -1;
26828             }
26829          }
26830          part { name: "elm.text";
26831             type: TEXT;
26832             mouse_events: 0;
26833             scale: 1;
26834             description { state: "default" 0.0;
26835                visible: 0;
26836                fixed: 1 1;
26837                align: 0.0 0.5;
26838                rel1.to_x: "elm.swallow.content";
26839                rel1.relative: 1.0 0.0;
26840                rel1.offset: -1 4;
26841                rel2.to_x: "elm.swallow.content";
26842                rel2.relative: 1.0 1.0;
26843                rel2.offset: -1 -5;
26844                color: 0 0 0 255;
26845                text {
26846                   font: "Sans,Edje-Vera";
26847                   size: 10;
26848                   min: 0 0;
26849                   align: 0.0 0.5;
26850                }
26851             }
26852             description { state: "visible" 0.0;
26853                inherit: "default" 0.0;
26854                visible: 1;
26855                text.min: 1 1;
26856                rel1.offset: 0 4;
26857                rel2.offset: 0 -5;
26858             }
26859          }
26860
26861          part { name: "background";
26862             mouse_events: 0;
26863             clip_to: "elm.background.progressbar";
26864             description {
26865                state: "default" 0.0;
26866                rel1 {
26867                   to: "elm.swallow.bar";
26868                   relative: 0.0 0.0;
26869                }
26870                rel2 {
26871                   to: "elm.swallow.bar";
26872                   relative: 1.0 1.0;
26873                   offset: -1 -1;
26874                }
26875                image {
26876                   normal: "shelf_inset.png";
26877                   border: 7 7 7 7;
26878                }
26879             }
26880          }
26881
26882          part { name: "elm.text.status";
26883             type: TEXT;
26884             mouse_events: 0;
26885             description { state: "default" 0.0;
26886                fixed: 1 1;
26887                visible: 1;
26888                rel1 {
26889                   to: "background";
26890                   relative: 0.5 0.5;
26891                }
26892                rel2 {
26893                   to: "background";
26894                   relative: 0.5 0.5;
26895                }
26896                text {
26897                   font: "Sans:style=Bold,Edje-Vera-Bold";
26898                   size: 10;
26899                   min: 1 1;
26900                   align: 0.5 0.0;
26901                }
26902                color: 0 0 0 255;
26903             }
26904             description { state: "hidden" 0.0;
26905                inherit: "default" 0.0;
26906                visible: 0;
26907                text.min: 0 0;
26908             }
26909          }
26910
26911          part { name: "elm.progress.progressbar";
26912             mouse_events: 0;
26913             clip_to: "elm.background.progressbar";
26914             description {
26915                state: "default" 0.0;
26916                min: 14 28;
26917                fixed: 1 1;
26918                rel1 {
26919                   to: "elm.swallow.bar";
26920                   relative: 0.0 0.0;
26921                }
26922                rel2 {
26923                   to_y: "elm.swallow.bar";
26924                   to_x: "elm.cur.progressbar";
26925                   offset: -1 -1;
26926                }
26927                image {
26928                   normal: "bt_sm_base2.png";
26929                   border: 6 6 6 6;
26930                }
26931             }
26932             description {
26933                state: "invert" 0.0;
26934                inherit: "default" 0.0;
26935                rel1 {
26936                   to_y: "elm.swallow.bar";
26937                   to_x: "elm.cur.progressbar";
26938                }
26939                rel2 {
26940                   to: "elm.swallow.bar";
26941                   relative: 1.0 1.0;
26942                }
26943             }
26944             description {
26945                state: "state_begin" 0.0;
26946                inherit: "default" 0.0;
26947                rel1 {
26948                   to: "elm.swallow.bar";
26949                   relative: 0.0 0.0;
26950                }
26951                rel2 {
26952                   to: "elm.swallow.bar";
26953                   relative: 0.1 1.0;
26954                }
26955             }
26956             description {
26957                state: "state_end" 0.0;
26958                inherit: "default" 0.0;
26959                rel1 {
26960                   to: "elm.swallow.bar";
26961                   relative: 0.9 0.0;
26962                }
26963                rel2 {
26964                   to: "elm.swallow.bar";
26965                   relative: 1.0 1.0;
26966                }
26967             }
26968          }
26969          part { name: "text-bar";
26970             type: TEXT;
26971             mouse_events: 0;
26972             clip_to: "progress-rect";
26973             effect: SOFT_SHADOW;
26974             scale: 1;
26975             description { state: "default" 0.0;
26976                align: 0.0 0.0;
26977                fixed: 1 1;
26978                visible: 1;
26979                rel1.to: "elm.text.status";
26980                rel1.offset: -1 -1;
26981                rel2.to: "elm.text.status";
26982                text {
26983                   text_source: "elm.text.status";
26984                   font: "Sans:style=Bold,Edje-Vera-Bold";
26985                   size: 10;
26986                   min: 1 1;
26987                   align: 0.0 0.0;
26988                }
26989                color: 224 224 224 255;
26990                color3: 0 0 0 64;
26991             }
26992             description { state: "hidden" 0.0;
26993                inherit: "default" 0.0;
26994                visible: 0;
26995                text.min: 0 0;
26996             }
26997          }
26998
26999          part { name: "over1";
27000             mouse_events: 0;
27001             description { state: "default" 0.0;
27002                rel1.to: "elm.progress.progressbar";
27003                rel2.to: "elm.progress.progressbar";
27004                rel2.relative: 1.0 0.5;
27005                image {
27006                   normal: "bt_sm_hilight.png";
27007                   border: 6 6 6 0;
27008                }
27009             }
27010          }
27011
27012          part { name: "over2";
27013             mouse_events: 1;
27014             repeat_events: 1;
27015             description { state: "default" 0.0;
27016                rel1.to: "elm.progress.progressbar";
27017                rel2.to: "elm.progress.progressbar";
27018                image {
27019                   normal: "bt_sm_shine.png";
27020                   border: 6 6 6 0;
27021                }
27022             }
27023          }
27024
27025          part { name: "elm.cur.progressbar";
27026             mouse_events: 0;
27027             dragable {
27028                confine: "background";
27029                x: 1 1 1;
27030                y: 0 0 0;
27031             }
27032             description { state: "default" 0.0;
27033                min: 14 28;
27034                fixed: 1 1;
27035                visible: 0;
27036                rel1 {
27037                   to: "background";
27038                   relative: 0 0;
27039                }
27040                rel2.to: "background";
27041            }
27042          }
27043          part { name: "progress-rect";
27044             mouse_events: 0;
27045             description {
27046                state: "default" 0.0;
27047                rel1.to: "elm.progress.progressbar";
27048                rel2.to: "elm.progress.progressbar";
27049             }
27050          }
27051       }
27052       programs {
27053          program { name: "label_show";
27054             signal: "elm,state,text,visible";
27055             source: "elm";
27056             action:  STATE_SET "visible" 0.0;
27057             target: "elm.text";
27058          }
27059          program { name: "label_hide";
27060             signal: "elm,state,text,hidden";
27061             source: "elm";
27062             action:  STATE_SET "default" 0.0;
27063             target: "elm.text";
27064          }
27065          program { name: "icon_show";
27066             signal: "elm,state,icon,visible";
27067             source: "elm";
27068             action:  STATE_SET "visible" 0.0;
27069             target: "elm.swallow.content";
27070          }
27071          program { name: "icon_hide";
27072             signal: "elm,state,icon,hidden";
27073             source: "elm";
27074             action:  STATE_SET "default" 0.0;
27075             target: "elm.swallow.content";
27076          }
27077          program { name: "units_show";
27078             signal: "elm,state,units,visible";
27079             source: "elm";
27080             action:  STATE_SET "default" 0.0;
27081             target: "text-bar";
27082             target: "elm.text.status";
27083          }
27084          program { name: "units_hide";
27085             signal: "elm,state,units,hidden";
27086             source: "elm";
27087             action:  STATE_SET "hidden" 0.0;
27088             target: "text-bar";
27089             target: "elm.text.status";
27090          }
27091          program { name: "slide_to_end";
27092             action:  STATE_SET "state_end" 0.0;
27093             transition: LINEAR 0.5;
27094             target: "elm.progress.progressbar";
27095             after: "slide_to_begin";
27096          }
27097          program { name: "slide_to_begin";
27098             signal: "elm,state,slide,begin";
27099             action: STATE_SET "state_begin" 0.0;
27100             target: "elm.progress.progressbar";
27101             transition: LINEAR 0.5;
27102             after: "slide_to_end";
27103          }
27104          program { name: "start_pulse";
27105             signal: "elm,state,pulse,start";
27106             source: "elm";
27107             after: "slide_to_end";
27108          }
27109          program { name: "stop_pulse";
27110             signal: "elm,state,pulse,stop";
27111             source: "elm";
27112             action: ACTION_STOP;
27113             target: "slide_to_begin";
27114             target: "slide_to_end";
27115             target: "start_pulse";
27116             after: "state_pulse";
27117          }
27118          program { name: "state_pulse";
27119             signal: "elm,state,pulse";
27120             source: "elm";
27121             action: STATE_SET "state_begin" 0.0;
27122             target: "elm.progress.progressbar";
27123             after: "units_hide";
27124          }
27125          program { name: "state_fraction";
27126             signal: "elm,state,fraction";
27127             source: "elm";
27128             action: ACTION_STOP;
27129             target: "slide_to_begin";
27130             target: "slide_to_end";
27131             target: "start_pulse";
27132             action: STATE_SET "default" 0.0;
27133             target: "elm.progress.progressbar";
27134          }
27135          program { name: "set_invert_on";
27136             signal: "elm,state,inverted,on";
27137             source: "elm";
27138             action:  STATE_SET "invert" 0.0;
27139             target: "elm.progress.progressbar";
27140          }
27141          program { name: "set_invert_off";
27142             signal: "elm,state,inverted,off";
27143             source: "elm";
27144             action:  STATE_SET "default" 0.0;
27145             target: "elm.progress.progressbar";
27146          }
27147       }
27148    }
27149
27150 ///////////////////////////////////////////////////////////////////////////////
27151    group { name: "elm/progressbar/vertical/default";
27152       images {
27153          image: "shelf_inset.png" COMP;
27154          image: "bt_sm_base2.png" COMP;
27155          image: "bt_sm_hilight.png" COMP;
27156          image: "bt_sm_shine.png" COMP;
27157       }
27158       parts {
27159          part { name: "elm.background.progressbar";
27160             type: RECT;
27161             mouse_events: 0;
27162             description {
27163                state: "default" 0.0;
27164                rel1 {
27165                   relative: 0.0 0.0;
27166                   offset: 0 0;
27167                }
27168                rel2 {
27169                   relative: 1.0 1.0;
27170                   offset: -1 -1;
27171                }
27172             }
27173          }
27174          part { name: "elm.swallow.bar";
27175             type: SWALLOW;
27176             scale: 1;
27177             description { state: "default" 0.0;
27178                min: 28 48;
27179                max: 28 9999;
27180                align: 0.5 1.0;
27181                rel1 {
27182                   to_y: "elm.text";
27183                   relative: 0.0 1.0;
27184                   offset: 0 2;
27185                }
27186                rel2 {
27187                   to_y: "elm.text.box";
27188                   relative: 1.0 0.0;
27189                   offset: -1 -3;
27190                }
27191             }
27192          }
27193          part { name: "elm.swallow.content";
27194             type: SWALLOW;
27195             description { state: "default" 0.0;
27196                visible: 0;
27197                align: 0.5 0.0;
27198                rel1 {
27199                   offset: 0 4;
27200                   to_x: "elm.swallow.bar";
27201                }
27202                rel2 {
27203                   offset: -1 3;
27204                   relative: 1.0 0.0;
27205                   to_x: "elm.swallow.bar";
27206                }
27207             }
27208             description { state: "visible" 0.0;
27209                inherit: "default" 0.0;
27210                visible: 1;
27211                aspect: 1.0 1.0;
27212                aspect_preference: HORIZONTAL;
27213                rel2.offset: -1 4;
27214             }
27215          }
27216          part { name: "elm.text";
27217             type: TEXT;
27218             mouse_events: 0;
27219             scale: 1;
27220             description { state: "default" 0.0;
27221                visible: 0;
27222                fixed: 1 1;
27223                align: 0.5 0.0;
27224                rel1.to_y: "elm.swallow.content";
27225                rel1.relative: 0.5 1.0;
27226                rel1.offset: 0 -1;
27227                rel2.to_y: "elm.swallow.content";
27228                rel2.relative: 0.5 1.0;
27229                rel2.offset: -1 -1;
27230                color: 0 0 0 255;
27231                text {
27232                   font: "Sans,Edje-Vera";
27233                   size: 10;
27234                   min: 0 0;
27235                   align: 0.5 0.0;
27236                }
27237             }
27238             description { state: "visible" 0.0;
27239                inherit: "default" 0.0;
27240                visible: 1;
27241                text.min: 1 1;
27242                rel1.offset: 4 0;
27243                rel2.offset: -5 0;
27244             }
27245          }
27246
27247          part { name: "background";
27248             mouse_events: 0;
27249             clip_to: "elm.background.progressbar";
27250             description {
27251                state: "default" 0.0;
27252                rel1 {
27253                   to: "elm.swallow.bar";
27254                   relative: 0.0 0.0;
27255                }
27256                rel2 {
27257                   to: "elm.swallow.bar";
27258                   relative: 1.0 1.0;
27259                   offset: -1 -1;
27260                }
27261                image {
27262                   normal: "shelf_inset.png";
27263                   border: 7 7 7 7;
27264                }
27265             }
27266          }
27267
27268          part { name: "elm.progress.progressbar";
27269             mouse_events: 0;
27270             clip_to: "elm.background.progressbar";
27271             description {
27272                state: "default" 0.0;
27273                min: 28 14;
27274                fixed: 1 1;
27275                rel1 {
27276                   to: "elm.swallow.bar";
27277                   relative: 0.0 0.0;
27278                }
27279                rel2 {
27280                   to_x: "elm.swallow.bar";
27281                   to_y: "elm.cur.progressbar";
27282                   offset: -1 -1;
27283                }
27284                image {
27285                   normal: "bt_sm_base2.png";
27286                   border: 6 6 6 6;
27287                }
27288             }
27289             description {
27290                state: "invert" 0.0;
27291                inherit: "default" 0.0;
27292                rel1 {
27293                   to_x: "elm.swallow.bar";
27294                   to_y: "elm.cur.progressbar";
27295                }
27296                rel2 {
27297                   to: "elm.swallow.bar";
27298                   relative: 1.0 1.0;
27299                }
27300             }
27301             description {
27302                state: "state_begin" 0.0;
27303                inherit: "default" 0.0;
27304                rel1 {
27305                   to: "elm.swallow.bar";
27306                   relative: 0.0 0.0;
27307                }
27308                rel2 {
27309                   to: "elm.swallow.bar";
27310                   relative: 1.0 0.1;
27311                }
27312             }
27313             description {
27314                state: "state_end" 0.0;
27315                inherit: "default" 0.0;
27316                rel1 {
27317                   to: "elm.swallow.bar";
27318                   relative: 0.0 0.9;
27319                }
27320                rel2 {
27321                   to: "elm.swallow.bar";
27322                   relative: 1.0 1.0;
27323                }
27324             }
27325          }
27326
27327          part { name: "over1";
27328             mouse_events: 0;
27329             description { state: "default" 0.0;
27330                rel1.to: "elm.progress.progressbar";
27331                rel2.to: "elm.progress.progressbar";
27332                rel2.relative: 1.0 0.5;
27333                image {
27334                   normal: "bt_sm_hilight.png";
27335                   border: 6 6 6 0;
27336                }
27337             }
27338          }
27339
27340          part { name: "over2";
27341             mouse_events: 1;
27342             repeat_events: 1;
27343             description { state: "default" 0.0;
27344                rel1.to: "elm.progress.progressbar";
27345                rel2.to: "elm.progress.progressbar";
27346                image {
27347                   normal: "bt_sm_shine.png";
27348                   border: 6 6 6 0;
27349                }
27350             }
27351          }
27352
27353          part { name: "elm.cur.progressbar";
27354             mouse_events: 0;
27355             dragable {
27356                confine: "background";
27357                x: 0 0 0;
27358                y: 1 1 1;
27359             }
27360             description { state: "default" 0.0;
27361                min: 28 14;
27362                fixed: 1 1;
27363                visible: 0;
27364                rel1 {
27365                   to: "background";
27366                   relative: 0 0;
27367                }
27368                rel2.to: "background";
27369            }
27370          }
27371
27372          part { name: "elm.text.box";
27373             mouse_events: 0;
27374             type: RECT;
27375             description { state: "default" 0.0;
27376                visible: 0;
27377                rel1 {
27378                   to: "elm.text.status";
27379                   offset: -2 -2;
27380                }
27381                rel2 {
27382                   to: "elm.text.status";
27383                   offset: 2 2;
27384                }
27385                color: 255 255 255 0;
27386             }
27387             description { state: "visible" 0.0;
27388                inherit: "default" 0.0;
27389                visible: 1;
27390             }
27391          }
27392          part { name: "elm.text.status";
27393             type: TEXT;
27394             mouse_events: 0;
27395             scale: 1;
27396             description { state: "default" 0.0;
27397                visible: 0;
27398                fixed: 1 1;
27399                align: 0.5 1.0;
27400                rel1.relative: 0.0 1.0;
27401                rel1.offset: 2 0;
27402                rel2.relative: 1.0 1.0;
27403                rel2.offset: -2 0;
27404                color: 0 0 0 255;
27405                text {
27406                   font: "Sans:style=Bold,Edje-Vera-Bold";
27407                   size: 10;
27408                   min: 0 0;
27409                   align: 0.5 0.0;
27410                }
27411             }
27412             description { state: "visible" 0.0;
27413                inherit: "default" 0.0;
27414                fixed: 1 1;
27415                visible: 1;
27416                text.min: 1 1;
27417                rel1.offset: 8 -9;
27418                rel2.offset: -9 -9;
27419             }
27420          }
27421       }
27422       programs {
27423          program { name: "label_show";
27424             signal: "elm,state,text,visible";
27425             source: "elm";
27426             action:  STATE_SET "visible" 0.0;
27427             target: "elm.text";
27428          }
27429          program { name: "label_hide";
27430             signal: "elm,state,text,hidden";
27431             source: "elm";
27432             action:  STATE_SET "default" 0.0;
27433             target: "elm.text";
27434          }
27435          program { name: "icon_show";
27436             signal: "elm,state,icon,visible";
27437             source: "elm";
27438             action:  STATE_SET "visible" 0.0;
27439             target: "elm.swallow.content";
27440          }
27441          program { name: "icon_hide";
27442             signal: "elm,state,icon,hidden";
27443             source: "elm";
27444             action:  STATE_SET "default" 0.0;
27445             target: "elm.swallow.content";
27446          }
27447          program { name: "units_show";
27448             signal: "elm,state,units,visible";
27449             source: "elm";
27450             action:  STATE_SET "visible" 0.0;
27451             target: "elm.text.status";
27452             target: "elm.text.box";
27453          }
27454          program { name: "units_hide";
27455             signal: "elm,state,units,hidden";
27456             source: "elm";
27457             action:  STATE_SET "default" 0.0;
27458             target: "elm.text.status";
27459             target: "elm.text.box";
27460          }
27461          program { name: "slide_to_end";
27462             action:  STATE_SET "state_end" 0.0;
27463             transition: LINEAR 0.5;
27464             target: "elm.progress.progressbar";
27465             after: "slide_to_begin";
27466          }
27467          program { name: "slide_to_begin";
27468             action:  STATE_SET "state_begin" 0.0;
27469             target: "elm.progress.progressbar";
27470             transition: LINEAR 0.5;
27471             after: "slide_to_end";
27472          }
27473          program { name: "start_pulse";
27474             signal: "elm,state,pulse,start";
27475             source: "elm";
27476             action: STATE_SET "state_begin" 0.0;
27477             target: "elm.progress.progressbar";
27478             after: "slide_to_end";
27479          }
27480          program { name: "stop_pulse";
27481             signal: "elm,state,pulse,stop";
27482             source: "elm";
27483             action: ACTION_STOP;
27484             target: "slide_to_begin";
27485             target: "slide_to_end";
27486             target: "start_pulse";
27487             after: "state_pulse";
27488          }
27489          program { name: "state_pulse";
27490             signal: "elm,state,pulse";
27491             source: "elm";
27492             action: STATE_SET "state_begin" 0.0;
27493             target: "elm.progress.progressbar";
27494             after: "units_hide";
27495          }
27496          program { name: "state_fraction";
27497             signal: "elm,state,fraction";
27498             source: "elm";
27499             action: ACTION_STOP;
27500             target: "slide_to_begin";
27501             target: "slide_to_end";
27502             target: "start_pulse";
27503             action: STATE_SET "default" 0.0;
27504             target: "elm.progress.progressbar";
27505          }
27506          program { name: "set_invert_on";
27507             signal: "elm,state,inverted,on";
27508             source: "elm";
27509             action:  STATE_SET "invert" 0.0;
27510             target: "elm.progress.progressbar";
27511             target: "elm.cur.progressbar";
27512          }
27513          program { name: "set_invert_off";
27514             signal: "elm,state,inverted,off";
27515             source: "elm";
27516             action:  STATE_SET "default" 0.0;
27517             target: "elm.progress.progressbar";
27518             target: "elm.cur.progressbar";
27519          }
27520       }
27521    }
27522
27523 ///////////////////////////////////////////////////////////////////////////////
27524    group { name: "elm/separator/horizontal/default";
27525        images {
27526            image: "separator_h.png" COMP;
27527        }
27528        parts {
27529            part { name: "separator"; // separator group
27530                description { state: "default" 0.0;
27531                    min: 2 2;
27532                    rel1.offset: 4 4;
27533                    rel2.offset: -5 -5;
27534                    image {
27535                        normal: "separator_h.png";
27536                    }
27537                    fill {
27538                        smooth: 0;
27539                    }
27540                }
27541            }
27542        }
27543    }
27544
27545    ///////////////////////////////////////////////////////////////////////////////
27546    group { name: "elm/separator/vertical/default";
27547        images {
27548            image: "separator_v.png" COMP;
27549        }
27550        parts {
27551            part { name: "separator"; // separator group
27552                description { state: "default" 0.0;
27553                    min: 2 2;
27554                    rel1.offset: 4 4;
27555                    rel2.offset: -5 -5;
27556                    image {
27557                        normal: "separator_v.png";
27558                    }
27559                    fill {
27560                        smooth: 0;
27561                    }
27562                }
27563            }
27564        }
27565    }
27566
27567    group { name: "elm/progressbar/horizontal/wheel";
27568        images {
27569            image: "busy-1.png" COMP;
27570            image: "busy-2.png" COMP;
27571            image: "busy-3.png" COMP;
27572            image: "busy-4.png" COMP;
27573            image: "busy-5.png" COMP;
27574            image: "busy-6.png" COMP;
27575            image: "busy-7.png" COMP;
27576            image: "busy-8.png" COMP;
27577            image: "busy-9.png" COMP;
27578        }
27579        parts {
27580            part { name: "elm.background.progressbar";
27581                mouse_events: 0;
27582                type: RECT;
27583                description {
27584                    state: "default" 0.0;
27585                }
27586            }
27587            part { name: "elm.swallow.bar";
27588                mouse_events: 0;
27589                type: SWALLOW;
27590                description { state: "default" 0.0;
27591                    min: 0 0;
27592                    max: 0 0;
27593                    visible: 0;
27594                }
27595            }
27596            part { name: "elm.swallow.content";
27597                type: SWALLOW;
27598                description { state: "default" 0.0;
27599                    min: 0 0;
27600                    max: 0 0;
27601                    visible: 0;
27602                }
27603            }
27604            part { name: "background";
27605                mouse_events: 0;
27606                clip_to: "elm.background.progressbar";
27607                description {
27608                    state: "default" 0.0;
27609                    min: 32 32;
27610                    max: 32 32;
27611                    visible: 1;
27612                    aspect: 1.0 1.0;
27613                    aspect_preference: BOTH;
27614                    image {
27615                        normal: "busy-9.png";
27616                        border: 7 7 7 7;
27617                    }
27618                }
27619                description {
27620                    state: "pulse" 0.0;
27621                    inherit: "default" 0.0;
27622                    image {
27623                        normal: "busy-9.png";
27624                        tween:  "busy-1.png";
27625                        tween:  "busy-2.png";
27626                        tween:  "busy-3.png";
27627                        tween:  "busy-4.png";
27628                        tween:  "busy-5.png";
27629                        tween:  "busy-6.png";
27630                        tween:  "busy-7.png";
27631                        tween:  "busy-8.png";
27632                        border: 7 7 7 7;
27633                    }
27634                }
27635            }
27636        }
27637        programs {
27638            program { name: "start_pulse";
27639                signal: "elm,state,pulse,start";
27640                source: "elm";
27641                action: STATE_SET "pulse" 0.0;
27642                target: "background";
27643                transition: LINEAR 0.5;
27644                after: "start_pulse";
27645            }
27646            program { name: "stop_pulse";
27647                signal: "elm,state,pulse,stop";
27648                source: "elm";
27649                action: STATE_SET "default" 0.0;
27650                target: "background";
27651            }
27652        }
27653    }
27654
27655
27656 ///////////////////////////////////////////////////////////////////////////////
27657    group { name: "elm/spinner/base/default";
27658        images {
27659            image: "shelf_inset.png" COMP;
27660            image: "bt_base1.png" COMP;
27661            image: "bt_hilight.png" COMP;
27662            image: "bt_shine.png" COMP;
27663            image: "bt_glow.png" COMP;
27664            image: "bt_dis_base.png" COMP;
27665            image: "bt_dis_hilight.png" COMP;
27666            image: "sp_bt_l.png" COMP;
27667            image: "sp_bt_r.png" COMP;
27668        }
27669        parts {
27670            part { name: "bg";
27671                type: RECT;
27672                description { state: "default" 0.0;
27673                    min: 0 30;
27674                    rel1.offset: 1 1;
27675                    rel2.offset: -2 -2;
27676                    color: 255 255 255 0;
27677                }
27678            }
27679            part { name: "conf_over";
27680                mouse_events:  0;
27681                description { state: "default" 0.0;
27682                    rel1.to: "bg";
27683                    rel2.to: "bg";
27684                    image {
27685                        normal: "shelf_inset.png";
27686                        border: 7 7 7 7;
27687                        middle: 0;
27688                    }
27689                    fill.smooth : 0;
27690                }
27691            }
27692            part { name: "left_bt";
27693                mouse_events:  1;
27694                description { state: "default" 0.0;
27695                    rel1 { to: "bg";
27696                        offset: 3 3;
27697                    }
27698                    rel2 { to: "bg";
27699                        offset: -4 -4;
27700                    }
27701                    align: 0.0 0.5;
27702                    min: 24 24;
27703                    aspect: 1.0 1.0;
27704                    aspect_preference: VERTICAL;
27705                    image {
27706                        normal: "bt_base1.png";
27707                        border: 6 6 6 6;
27708                    }
27709                    fill.smooth : 0;
27710                }
27711                description { state: "clicked" 0.0;
27712                    inherit: "default" 0.0;
27713                    image.normal: "bt_base1.png";
27714                    image.middle: SOLID;
27715                }
27716                description { state: "disabled" 0.0;
27717                    inherit:  "default" 0.0;
27718                    image {
27719                        normal: "bt_dis_base.png";
27720                        border: 4 4 4 4;
27721                    }
27722                }
27723            }
27724            part {          name: "left_over1";
27725                mouse_events: 0;
27726                description { state: "default" 0.0;
27727                    rel1.to: "left_bt";
27728                    rel2 { to: "left_bt";
27729                        relative: 1.0 0.5;
27730                    }
27731                    image {
27732                        normal: "bt_hilight.png";
27733                        border: 7 7 7 0;
27734                    }
27735                }
27736                description { state: "disabled" 0.0;
27737                    inherit:  "default" 0.0;
27738                    image {
27739                        normal: "bt_dis_hilight.png";
27740                        border: 4 4 4 0;
27741                    }
27742                }
27743            }
27744            part { name: "left_over2";
27745                mouse_events: 1;
27746                repeat_events: 1;
27747                ignore_flags: ON_HOLD;
27748                description { state: "default" 0.0;
27749                    rel1.to: "left_bt";
27750                    rel2.to: "left_bt";
27751                    image {
27752                        normal: "bt_shine.png";
27753                        border: 7 7 7 7;
27754                    }
27755                }
27756                description { state: "disabled" 0.0;
27757                    inherit:  "default" 0.0;
27758                    visible: 0;
27759                }
27760            }
27761            part { name: "left_over3";
27762                mouse_events: 1;
27763                repeat_events: 1;
27764                description { state: "default" 0.0;
27765                    color: 255 255 255 0;
27766                    rel1.to: "left_bt";
27767                    rel2.to: "left_bt";
27768                    image {
27769                        normal: "bt_glow.png";
27770                        border: 12 12 12 12;
27771                    }
27772                    fill.smooth : 0;
27773                }
27774                description { state: "clicked" 0.0;
27775                    inherit:  "default" 0.0;
27776                    visible: 1;
27777                    color: 255 255 255 255;
27778                }
27779            }
27780            part { name: "right_bt";
27781                mouse_events:  1;
27782                description { state: "default" 0.0;
27783                    rel1 { to: "bg";
27784                        offset: -26 3;
27785                    }
27786                    rel2 { to: "bg";
27787                        offset: -4 -4;
27788                    }
27789                    align: 1.0 0.5;
27790                    min: 24 24;
27791                    aspect: 1.0 1.0;
27792                    aspect_preference: VERTICAL;
27793                    image {
27794                        normal: "bt_base1.png";
27795                        border: 5 5 4 12;
27796                    }
27797                    fill.smooth : 0;
27798                }
27799                description { state: "clicked" 0.0;
27800                    inherit: "default" 0.0;
27801                    image.normal: "bt_base1.png";
27802                    image.middle: SOLID;
27803                }
27804                description { state: "disabled" 0.0;
27805                    inherit:  "default" 0.0;
27806                    image {
27807                        normal: "bt_dis_base.png";
27808                        border: 4 4 4 4;
27809                    }
27810                }
27811            }
27812            part { name: "right_over1";
27813                mouse_events: 0;
27814                description { state: "default" 0.0;
27815                    rel1.to: "right_bt";
27816                    rel2 { to: "right_bt";
27817                        relative: 1.0 0.5;
27818                    }
27819                    image {
27820                        normal: "bt_hilight.png";
27821                        border: 7 7 7 0;
27822                    }
27823                }
27824                description { state: "disabled" 0.0;
27825                    inherit:  "default" 0.0;
27826                    image {
27827                        normal: "bt_dis_hilight.png";
27828                        border: 4 4 4 0;
27829                    }
27830                }
27831            }
27832            part { name: "right_over2";
27833                mouse_events: 1;
27834                repeat_events: 1;
27835                ignore_flags: ON_HOLD;
27836                description { state: "default" 0.0;
27837                    rel1.to: "right_bt";
27838                    rel2.to: "right_bt";
27839                    image {
27840                        normal: "bt_shine.png";
27841                        border: 7 7 7 7;
27842                    }
27843                }
27844                description { state: "disabled" 0.0;
27845                    inherit:  "default" 0.0;
27846                    visible: 0;
27847                }
27848            }
27849            part { name: "right_over3";
27850                mouse_events: 1;
27851                repeat_events: 1;
27852                description { state: "default" 0.0;
27853                    color: 255 255 255 0;
27854                    rel1.to: "right_bt";
27855                    rel2.to: "right_bt";
27856                    image {
27857                        normal: "bt_glow.png";
27858                        border: 12 12 12 12;
27859                    }
27860                    fill.smooth : 0;
27861                }
27862                description { state: "clicked" 0.0;
27863                    inherit:  "default" 0.0;
27864                    visible: 1;
27865                    color: 255 255 255 255;
27866                }
27867            }
27868            part { name: "left_bt_icon";
27869                repeat_events: 1;
27870                description { state: "default" 0.0;
27871                    rel1.to: "left_bt";
27872                    rel1.offset: 4 4;
27873                    rel2.to: "left_bt";
27874                    rel2.offset: -5 -5;
27875                    align: 0.5 0.5;
27876                    min: 16 16;
27877                    aspect: 1.0 1.0;
27878                    aspect_preference: BOTH;
27879                    image.normal: "sp_bt_l.png";
27880                }
27881                description { state: "rtl" 0.0;
27882                    inherit: "default" 0.0;
27883                    image.normal: "sp_bt_r.png";
27884                }
27885            }
27886            part { name: "right_bt_icon";
27887                repeat_events: 1;
27888                description { state: "default" 0.0;
27889                    rel1.to: "right_bt";
27890                    rel1.offset: 4 4;
27891                    rel2.to: "right_bt";
27892                    rel2.offset: -5 -5;
27893                    align: 0.5 0.5;
27894                    min: 16 16;
27895                    aspect: 1.0 1.0;
27896                    aspect_preference: BOTH;
27897                    image.normal: "sp_bt_r.png";
27898                }
27899                description { state: "rtl" 0.0;
27900                    inherit: "default" 0.0;
27901                    image.normal: "sp_bt_l.png";
27902                }
27903            }
27904            part { name: "elm.text";
27905                type: TEXT;
27906                mouse_events: 0;
27907                scale: 1;
27908                description { state: "default" 0.0;
27909                    visible: 1;
27910                    align: 0.0 0.5;
27911                    rel1 { relative: 1.0 0.0;
27912                        offset: 3 2;
27913                        to_x: "left_bt";
27914                        to_y: "bg";
27915                    }
27916                    rel2 { relative: 0.0 1.0;
27917                        offset: -3 -2;
27918                        to_x: "right_bt";
27919                        to_y: "bg";
27920                    }
27921                    color: 0 0 0 255;
27922                    text {
27923                        font: "Sans,Edje-Vera";
27924                        size: 10;
27925                        min: 1 1;
27926                        align: 0.5 0.5;
27927                    }
27928                }
27929                description { state: "active" 0.0;
27930                    inherit: "default" 0.0;
27931                    visible: 0;
27932                }
27933                description { state: "disabled_active" 0.0;
27934                    inherit: "default" 0.0;
27935                    color: 0 0 0 128;
27936                    color3: 0 0 0 0;
27937                }
27938                description { state: "disabled" 0.0;
27939                    inherit: "default" 0.0;
27940                    color: 0 0 0 128;
27941                    color3: 0 0 0 0;
27942                }
27943            }
27944            part { name: "elm.dragable.slider";
27945                type: RECT;
27946                mouse_events: 0;
27947                scale: 1;
27948                dragable {
27949                    x: 1 1 0;
27950                    y: 0 0 0;
27951                }
27952                description { state: "default" 0.0;
27953                    rel1.to: "bg";
27954                    rel2.to: "bg";
27955                    fixed: 1 1;
27956                    color: 0 0 0 0;
27957                }
27958            }
27959            part { name: "button_events";
27960                type: RECT;
27961                dragable {
27962                    events: "elm.dragable.slider";
27963                }
27964                mouse_events: 1;
27965                description { state: "default" 0.0;
27966                    rel1.to: "elm.text";
27967                    rel2.to: "elm.text";
27968                    color: 0 0 0 0;
27969                }
27970            }
27971            part { name: "elm.swallow.entry";
27972                type: SWALLOW;
27973                description { state: "default" 0.0;
27974                    visible: 0;
27975                    align: 0.5 0.5;
27976                    rel1 { relative: 1.0 0.5;
27977                        offset: 3 2;
27978                        to_x: "left_bt";
27979                        to_y: "bg";
27980                    }
27981                    rel2 { relative: 0.0 0.5;
27982                        offset: -3 -2;
27983                        to_x: "right_bt";
27984                        to_y: "bg";
27985                    }
27986                    fixed: 1 1;
27987                    color: 0 0 0 0;
27988                }
27989                description { state: "active" 0.0;
27990                    inherit: "default" 0.0;
27991                    visible: 1;
27992                    color: 255 255 255 255;
27993                }
27994                description { state: "disabled_active" 0.0;
27995                    inherit: "default" 0.0;
27996                    visible: 0;
27997                }
27998                description { state: "disabled" 0.0;
27999                    inherit: "default" 0.0;
28000                    visible: 0;
28001                }
28002            }
28003            part { name: "disabler";
28004                type: RECT;
28005                description { state: "default" 0.0;
28006                    color: 0 0 0 0;
28007                    visible: 0;
28008                }
28009                description { state: "disabled" 0.0;
28010                    inherit: "default" 0.0;
28011                    visible: 1;
28012                }
28013            }
28014        }
28015        programs {
28016            program { name: "text_show";
28017                signal: "elm,state,text,visible";
28018                source: "elm";
28019                action:  STATE_SET "visible" 0.0;
28020                target: "elm.text";
28021            }
28022            program { name: "text_hide";
28023                signal: "elm,state,text,hidden";
28024                source: "elm";
28025                action:  STATE_SET "default" 0.0;
28026                target: "elm.text";
28027            }
28028            program { name: "dec";
28029                signal: "mouse,down,1";
28030                source: "left_bt";
28031                action: SIGNAL_EMIT "elm,action,decrement,start" "";
28032            }
28033            program { name: "dec2";
28034                signal: "mouse,up,1";
28035                source: "left_bt";
28036                action: SIGNAL_EMIT "elm,action,decrement,stop" "";
28037            }
28038            program { name: "inc";
28039                signal: "mouse,down,1";
28040                source: "right_bt";
28041                action: SIGNAL_EMIT "elm,action,increment,start" "";
28042            }
28043            program { name: "inc2";
28044                signal: "mouse,up,1";
28045                source: "right_bt";
28046                action: SIGNAL_EMIT "elm,action,increment,stop" "";
28047            }
28048            program {
28049                name:   "left_bt_click";
28050                signal: "mouse,down,1";
28051                source: "left_over2";
28052                action: STATE_SET "clicked" 0.0;
28053                target: "left_bt";
28054            }
28055            program {
28056                name:   "left_bt_unclick";
28057                signal: "mouse,up,1";
28058                source: "left_over2";
28059                action: STATE_SET "default" 0.0;
28060                target: "left_bt";
28061            }
28062            program {
28063                name:   "left_bt_click2";
28064                signal: "mouse,down,1";
28065                source: "left_over3";
28066                action: STATE_SET "clicked" 0.0;
28067                target: "left_over3";
28068            }
28069            program {
28070                name:   "left_bt_unclick2";
28071                signal: "mouse,up,1";
28072                source: "left_over3";
28073                action: STATE_SET "default" 0.0;
28074                transition: DECELERATE 0.5;
28075                target: "left_over3";
28076            }
28077            program {
28078                name:   "left_bt_unclick3";
28079                signal: "mouse,up,1";
28080                source: "left_over2";
28081                action: SIGNAL_EMIT "elm,action,click" "";
28082            }
28083            program {
28084                name:   "left_bt_pressed_anim";
28085                signal: "elm,left,anim,activate";
28086                source: "elm";
28087                action: STATE_SET "clicked" 0.0;
28088                target: "left_bt";
28089                target: "left_over3";
28090                after: "left_bt_unpressed_anim";
28091            }
28092            program {
28093                name:   "left_bt_unpressed_anim";
28094                action: STATE_SET "default" 0.0;
28095                transition: DECELERATE 0.5;
28096                target: "left_bt";
28097                target: "left_over3";
28098            }
28099
28100            program {
28101                name:   "right_bt_click";
28102                signal: "mouse,down,1";
28103                source: "right_over2";
28104                action: STATE_SET "clicked" 0.0;
28105                target: "right_bt";
28106            }
28107            program {
28108                name:   "right_bt_unclick";
28109                signal: "mouse,up,1";
28110                source: "right_over2";
28111                action: STATE_SET "default" 0.0;
28112                target: "right_bt";
28113            }
28114            program {
28115                name:   "right_bt_click2";
28116                signal: "mouse,down,1";
28117                source: "right_over3";
28118                action: STATE_SET "clicked" 0.0;
28119                target: "right_over3";
28120            }
28121            program {
28122                name:   "right_bt_unclick2";
28123                signal: "mouse,up,1";
28124                source: "right_over3";
28125                action: STATE_SET "default" 0.0;
28126                transition: DECELERATE 0.5;
28127                target: "right_over3";
28128            }
28129            program {
28130                name:   "right_bt_unclick3";
28131                signal: "mouse,up,1";
28132                source: "right_over2";
28133                action: SIGNAL_EMIT "elm,action,click" "";
28134            }
28135            program {
28136                name:   "right_bt_pressed_anim";
28137                signal: "elm,right,anim,activate";
28138                source: "elm";
28139                action: STATE_SET "clicked" 0.0;
28140                target: "right_bt";
28141                target: "right_over3";
28142                after: "right_bt_unpressed_anim";
28143            }
28144            program {
28145                name:   "right_bt_unpressed_anim";
28146                action: STATE_SET "default" 0.0;
28147                transition: DECELERATE 0.5;
28148                target: "right_bt";
28149                target: "right_over3";
28150            }
28151
28152            program { name: "disable";
28153                signal: "elm,state,disabled";
28154                source: "elm";
28155                action: STATE_SET "disabled" 0.0;
28156                target: "left_bt";
28157                target: "left_over1";
28158                target: "left_over2";
28159                target: "right_bt";
28160                target: "right_over1";
28161                target: "right_over2";
28162                target: "disabler";
28163                after: "disable_text";
28164            }
28165            program { name: "disable_text";
28166                script {
28167                    new st[31];
28168                    new Float:vl;
28169                    get_state(PART:"elm.text", st, 30, vl);
28170                    if (!strcmp(st, "active"))
28171                    set_state(PART:"elm.text", "disabled_active", 0.0);
28172                    else
28173                    set_state(PART:"elm.text", "disabled", 0.0);
28174
28175                    get_state(PART:"elm.swallow.entry", st, 30, vl);
28176                    if (!strcmp(st, "active"))
28177                    set_state(PART:"elm.swallow.entry", "disabled_active", 0.0);
28178                    else
28179                    set_state(PART:"elm.swallow.entry", "disabled", 0.0);
28180                }
28181            }
28182            program { name: "enable";
28183                signal: "elm,state,enabled";
28184                source: "elm";
28185                action: STATE_SET "default" 0.0;
28186                target: "left_bt";
28187                target: "left_over1";
28188                target: "left_over2";
28189                target: "right_bt";
28190                target: "right_over1";
28191                target: "right_over2";
28192                target: "disabler";
28193                after: "enable_text";
28194            }
28195            program { name: "enable_text";
28196                script {
28197                    new st[31];
28198                    new Float:vl;
28199                    get_state(PART:"elm.text", st, 30, vl);
28200                    if (!strcmp(st, "disabled_active"))
28201                    set_state(PART:"elm.text", "active", 0.0);
28202                    else
28203                    set_state(PART:"elm.text", "default", 0.0);
28204
28205                    get_state(PART:"elm.swallow.entry", st, 30, vl);
28206                    if (!strcmp(st, "disabled_active"))
28207                    set_state(PART:"elm.swallow.entry", "active", 0.0);
28208                    else
28209                    set_state(PART:"elm.swallow.entry", "default", 0.0);
28210                }
28211            }
28212            program { name: "active";
28213                signal: "elm,state,active";
28214                source: "elm";
28215                action: STATE_SET "active" 0.0;
28216                target: "elm.text";
28217                target: "elm.swallow.entry";
28218            }
28219            program { name: "inactive";
28220                signal: "elm,state,inactive";
28221                source: "elm";
28222                action: STATE_SET "default" 0.0;
28223                target: "elm.text";
28224                target: "elm.swallow.entry";
28225            }
28226            program { name: "toggle_text";
28227                signal: "mouse,up,1";
28228                source: "button_events";
28229                action: SIGNAL_EMIT "elm,action,entry,toggle" "";
28230            }
28231            program { name: "to_rtl";
28232                signal: "edje,state,rtl";
28233                source: "edje";
28234                action: STATE_SET "rtl" 0.0;
28235                target: "right_bt_icon";
28236                target: "left_bt_icon";
28237            }
28238            program { name: "to_ltr";
28239                signal: "edje,state,ltr";
28240                source: "edje";
28241                action: STATE_SET "default" 0.0;
28242                target: "right_bt_icon";
28243                target: "left_bt_icon";
28244            }
28245        }
28246    }
28247
28248 ///////////////////////////////////////////////////////////////////////////////
28249    group { name: "elm/spinner/base/vertical";
28250        images {
28251            image: "shelf_inset.png" COMP;
28252            image: "bt_hilight.png" COMP;
28253            image: "bt_shine.png" COMP;
28254            image: "bt_glow.png" COMP;
28255            image: "bt_dis_base.png" COMP;
28256            image: "bt_dis_hilight.png" COMP;
28257            image: "up.png" COMP;
28258            image: "down.png" COMP;
28259            image: "bt_spinner_up.png" COMP;
28260            image: "bt_spinner_down.png" COMP;
28261            image: "bt_spinner_hilight.png" COMP;
28262        }
28263        parts {
28264            part { name: "bg";
28265                type: RECT;
28266                description { state: "default" 0.0;
28267                    min: 0 30;
28268                    rel1.offset: 1 1;
28269                    rel2.offset: -2 -2;
28270                    color: 255 255 255 0;
28271                }
28272            }
28273            part { name: "conf_over";
28274                mouse_events:  0;
28275                description { state: "default" 0.0;
28276                    rel1 {
28277                      to: "bg";
28278                      relative: 0.0 0.0;
28279                    }
28280                    rel2 {
28281                       to: "bg";
28282                    }
28283                    image {
28284                        normal: "shelf_inset.png";
28285                        border: 7 7 7 7;
28286                        middle: 0;
28287                    }
28288                    fill.smooth : 0;
28289                }
28290            }
28291            part { name: "down_bt";
28292                mouse_events:  1;
28293                description { state: "default" 0.0;
28294                    fixed: 1 1;
28295                    rel1 {
28296                        to: "up_bt";
28297                        relative: 0 1;
28298                        offset: 0 1;
28299                    }
28300                    rel2 {
28301                        to_y: "bg";
28302                        to_x: "up_bt";
28303                        relative: 1 1;
28304                        offset: -1 -4;
28305                    }
28306                    align: 1.0 0.5;
28307                    min: 24 16;
28308                    image {
28309                        normal: "bt_spinner_down.png";
28310                        border: 6 6 6 6;
28311                    }
28312                    fill.smooth : 0;
28313                }
28314                description { state: "clicked" 0.0;
28315                    inherit: "default" 0.0;
28316                    image.normal: "bt_spinner_down.png";
28317                    image.middle: SOLID;
28318                }
28319                description { state: "disabled" 0.0;
28320                    inherit:  "default" 0.0;
28321                    image {
28322                        normal: "bt_dis_base.png";
28323                        border: 4 4 4 4;
28324                    }
28325                }
28326            }
28327            part { name: "down_over3";
28328                mouse_events: 1;
28329                repeat_events: 1;
28330                description { state: "default" 0.0;
28331                    color: 255 255 255 0;
28332                    rel1.to: "down_bt";
28333                    rel2.to: "down_bt";
28334                    image {
28335                        normal: "bt_glow.png";
28336                        border: 12 12 12 12;
28337                    }
28338                    fill.smooth : 0;
28339                }
28340                description { state: "clicked" 0.0;
28341                    inherit:  "default" 0.0;
28342                    visible: 1;
28343                    color: 255 255 255 255;
28344                }
28345            }
28346            part { name: "up_bt";
28347                mouse_events:  1;
28348                description { state: "default" 0.0;
28349                    fixed: 1 0;
28350                    rel1 { to: "bg";
28351                        relative: 0 0;
28352                        offset: 0 2;
28353                    }
28354                    rel2 { to: "bg";
28355                        relative: 1 0.5;
28356                        offset: -3 0;
28357                    }
28358                    align: 1.0 0.5;
28359                    min: 24 16;
28360                    aspect: 1.5 1.0;
28361                    aspect_preference: BOTH;
28362                    image {
28363                        normal: "bt_spinner_up.png";
28364                        border: 6 6 6 6;
28365                    }
28366                    fill.smooth : 0;
28367                }
28368                description { state: "clicked" 0.0;
28369                    inherit: "default" 0.0;
28370                    image.normal: "bt_spinner_up.png";
28371                    image.middle: SOLID;
28372                }
28373                description { state: "disabled" 0.0;
28374                    inherit:  "default" 0.0;
28375                    image {
28376                        normal: "bt_dis_base.png";
28377                        border: 4 4 4 4;
28378                    }
28379                }
28380            }
28381            part { name: "up_over1";
28382                mouse_events: 0;
28383                description { state: "default" 0.0;
28384                    rel1.to: "up_bt";
28385                    rel2 { to: "up_bt";
28386                        relative: 1.0 0.5;
28387                    }
28388                    image {
28389                        normal: "bt_spinner_hilight.png";
28390                        border: 7 7 7 0;
28391                    }
28392                }
28393                description { state: "disabled" 0.0;
28394                    inherit:  "default" 0.0;
28395                    image {
28396                        normal: "bt_dis_hilight.png";
28397                        border: 4 4 4 0;
28398                    }
28399                }
28400            }
28401            part { name: "up_over3";
28402                mouse_events: 1;
28403                repeat_events: 1;
28404                description { state: "default" 0.0;
28405                    color: 255 255 255 0;
28406                    rel1.to: "up_bt";
28407                    rel2.to: "up_bt";
28408                    image {
28409                        normal: "bt_glow.png";
28410                        border: 12 12 12 12;
28411                    }
28412                    fill.smooth : 0;
28413                }
28414                description { state: "clicked" 0.0;
28415                    inherit:  "default" 0.0;
28416                    visible: 1;
28417                    color: 255 255 255 255;
28418                }
28419            }
28420            part { name: "down_bt_icon";
28421                repeat_events: 1;
28422                description { state: "default" 0.0;
28423                    rel1.to: "down_bt";
28424                    rel1.offset: 5 3;
28425                    rel2.to: "down_bt";
28426                    rel2.offset: -6 -3;
28427                    align: 0.5 0.5;
28428                    image.normal: "down.png";
28429                }
28430            }
28431            part { name: "up_bt_icon";
28432                repeat_events: 1;
28433                description { state: "default" 0.0;
28434                    rel1.to: "up_bt";
28435                    rel1.offset: 5 3;
28436                    rel2.to: "up_bt";
28437                    rel2.offset: -6 -3;
28438                    align: 0.5 0.5;
28439                    image.normal: "up.png";
28440                }
28441            }
28442            part { name: "elm.text";
28443                type: TEXT;
28444                mouse_events: 0;
28445                scale: 1;
28446                description { state: "default" 0.0;
28447                    visible: 1;
28448                    align: 0.0 0.5;
28449                    rel1 { relative: 0.0 0.0;
28450                        offset: 3 2;
28451                        to_x: "bg";
28452                        to_y: "bg";
28453                    }
28454                    rel2 { relative: 0.0 1.0;
28455                        offset: -3 -2;
28456                        to_x: "down_bt";
28457                        to_y: "bg";
28458                    }
28459                    color: 0 0 0 255;
28460                    text {
28461                        font: "Sans,Edje-Vera";
28462                        size: 10;
28463                        min: 1 1;
28464                        align: 0.5 0.5;
28465                    }
28466                }
28467                description { state: "active" 0.0;
28468                    inherit: "default" 0.0;
28469                    visible: 0;
28470                }
28471                description { state: "disabled_active" 0.0;
28472                    inherit: "default" 0.0;
28473                    color: 0 0 0 128;
28474                    color3: 0 0 0 0;
28475                }
28476                description { state: "disabled" 0.0;
28477                    inherit: "default" 0.0;
28478                    color: 0 0 0 128;
28479                    color3: 0 0 0 0;
28480                }
28481            }
28482            part { name: "elm.dragable.slider";
28483                type: RECT;
28484                mouse_events: 0;
28485                scale: 1;
28486                dragable {
28487                    x: 1 1 0;
28488                    y: 0 0 0;
28489                }
28490                description { state: "default" 0.0;
28491                    rel1.to: "bg";
28492                    rel2.to: "bg";
28493                    fixed: 1 1;
28494                    color: 0 0 0 0;
28495                }
28496            }
28497            part { name: "button_events";
28498                type: RECT;
28499                dragable {
28500                    events: "elm.dragable.slider";
28501                }
28502                mouse_events: 1;
28503                description { state: "default" 0.0;
28504                    rel1.to: "elm.text";
28505                    rel2.to: "elm.text";
28506                    color: 0 0 0 0;
28507                }
28508            }
28509            part { name: "elm.swallow.entry";
28510                type: SWALLOW;
28511                description { state: "default" 0.0;
28512                    visible: 0;
28513                    align: 0.5 0.5;
28514                    rel1 { relative: 0.0 0.5;
28515                        offset: 3 2;
28516                        to: "bg";
28517                    }
28518                    rel2 { relative: 1.0 0.5;
28519                        offset: -3 -2;
28520                        to: "bg";
28521                    }
28522                    fixed: 1 1;
28523                    color: 0 0 0 0;
28524                }
28525                description { state: "active" 0.0;
28526                    inherit: "default" 0.0;
28527                    visible: 1;
28528                    color: 255 255 255 255;
28529                }
28530                description { state: "disabled_active" 0.0;
28531                    inherit: "default" 0.0;
28532                    visible: 0;
28533                }
28534                description { state: "disabled" 0.0;
28535                    inherit: "default" 0.0;
28536                    visible: 0;
28537                }
28538            }
28539            part { name: "disabler";
28540                type: RECT;
28541                description { state: "default" 0.0;
28542                    color: 0 0 0 0;
28543                    visible: 0;
28544                }
28545                description { state: "disabled" 0.0;
28546                    inherit: "default" 0.0;
28547                    visible: 1;
28548                }
28549            }
28550        }
28551        programs {
28552            program { name: "text_show";
28553                signal: "elm,state,text,visible";
28554                source: "elm";
28555                action:  STATE_SET "visible" 0.0;
28556                target: "elm.text";
28557            }
28558            program { name: "text_hide";
28559                signal: "elm,state,text,hidden";
28560                source: "elm";
28561                action:  STATE_SET "default" 0.0;
28562                target: "elm.text";
28563            }
28564            program { name: "dec";
28565                signal: "mouse,down,1";
28566                source: "down_bt";
28567                action: SIGNAL_EMIT "elm,action,decrement,start" "";
28568            }
28569            program { name: "dec2";
28570                signal: "mouse,up,1";
28571                source: "down_bt";
28572                action: SIGNAL_EMIT "elm,action,decrement,stop" "";
28573            }
28574            program { name: "inc";
28575                signal: "mouse,down,1";
28576                source: "up_bt";
28577                action: SIGNAL_EMIT "elm,action,increment,start" "";
28578            }
28579            program { name: "inc2";
28580                signal: "mouse,up,1";
28581                source: "up_bt";
28582                action: SIGNAL_EMIT "elm,action,increment,stop" "";
28583            }
28584            program {
28585                name:   "down_bt_click2";
28586                signal: "mouse,down,1";
28587                source: "down_over3";
28588                action: STATE_SET "clicked" 0.0;
28589                target: "down_over3";
28590            }
28591            program {
28592                name:   "down_bt_unclick2";
28593                signal: "mouse,up,1";
28594                source: "down_over3";
28595                action: STATE_SET "default" 0.0;
28596                transition: DECELERATE 0.5;
28597                target: "down_over3";
28598            }
28599            program {
28600                name:   "up_bt_click2";
28601                signal: "mouse,down,1";
28602                source: "up_over3";
28603                action: STATE_SET "clicked" 0.0;
28604                target: "up_over3";
28605            }
28606            program {
28607                name:   "up_bt_unclick2";
28608                signal: "mouse,up,1";
28609                source: "up_over3";
28610                action: STATE_SET "default" 0.0;
28611                transition: DECELERATE 0.5;
28612                target: "up_over3";
28613            }
28614            program { name: "disable";
28615                signal: "elm,state,disabled";
28616                source: "elm";
28617                action: STATE_SET "disabled" 0.0;
28618                target: "down_bt";
28619                target: "up_bt";
28620                target: "disabler";
28621                after: "disable_text";
28622            }
28623            program { name: "disable_text";
28624                script {
28625                    new st[31];
28626                    new Float:vl;
28627                    get_state(PART:"elm.text", st, 30, vl);
28628                    if (!strcmp(st, "active"))
28629                    set_state(PART:"elm.text", "disabled_active", 0.0);
28630                    else
28631                    set_state(PART:"elm.text", "disabled", 0.0);
28632
28633                    get_state(PART:"elm.swallow.entry", st, 30, vl);
28634                    if (!strcmp(st, "active"))
28635                    set_state(PART:"elm.swallow.entry", "disabled_active", 0.0);
28636                    else
28637                    set_state(PART:"elm.swallow.entry", "disabled", 0.0);
28638                }
28639            }
28640            program { name: "enable";
28641                signal: "elm,state,enabled";
28642                source: "elm";
28643                action: STATE_SET "default" 0.0;
28644                target: "down_bt";
28645                target: "up_bt";
28646                target: "disabler";
28647                after: "enable_text";
28648            }
28649            program { name: "enable_text";
28650                script {
28651                    new st[31];
28652                    new Float:vl;
28653                    get_state(PART:"elm.text", st, 30, vl);
28654                    if (!strcmp(st, "disabled_active"))
28655                    set_state(PART:"elm.text", "active", 0.0);
28656                    else
28657                    set_state(PART:"elm.text", "default", 0.0);
28658
28659                    get_state(PART:"elm.swallow.entry", st, 30, vl);
28660                    if (!strcmp(st, "disabled_active"))
28661                    set_state(PART:"elm.swallow.entry", "active", 0.0);
28662                    else
28663                    set_state(PART:"elm.swallow.entry", "default", 0.0);
28664                }
28665            }
28666            program { name: "active";
28667                signal: "elm,state,active";
28668                source: "elm";
28669                action: STATE_SET "active" 0.0;
28670                target: "elm.text";
28671                target: "elm.swallow.entry";
28672            }
28673            program { name: "inactive";
28674                signal: "elm,state,inactive";
28675                source: "elm";
28676                action: STATE_SET "default" 0.0;
28677                target: "elm.text";
28678                target: "elm.swallow.entry";
28679            }
28680            program { name: "toggle_text";
28681                signal: "mouse,up,1";
28682                source: "button_events";
28683                action: SIGNAL_EMIT "elm,action,entry,toggle" "";
28684            }
28685        }
28686    }
28687
28688
28689    ///////////////////////////////////////////////////////////////////////////////
28690    group { name: "elm/index/base/vertical/default";
28691        images {
28692            image: "bt_base1.png" COMP;
28693            image: "bt_base2.png" COMP;
28694            image: "bt_hilight.png" COMP;
28695            image: "bt_shine.png" COMP;
28696        }
28697        parts {
28698            part { name: "clip";
28699                type: RECT;
28700                mouse_events:  0;
28701                description { state: "default" 0.0;
28702                    visible:  0;
28703                    color: 255 255 255 0;
28704                }
28705                description { state: "active" 0.0;
28706                    visible:  1;
28707                    color: 255 255 255 255;
28708                }
28709            }
28710            part { name: "clip2";
28711                type: RECT;
28712                mouse_events:  0;
28713                clip_to: "clip";
28714                description { state: "default" 0.0;
28715                    visible: 0;
28716                    color: 255 255 255 0;
28717                }
28718                description { state: "active" 0.0;
28719                    visible:  1;
28720                    color: 255 255 255 255;
28721                }
28722            }
28723            part { name: "elm.swallow.index.0";
28724                type: SWALLOW;
28725                clip_to: "clip";
28726                description { state: "default" 0.0;
28727                    align: 1.0 0.5;
28728                    fixed: 1 1;
28729                    rel1 {
28730                        relative: 1.0 0.5;
28731                        offset: -1 5;
28732                    }
28733                    rel2 {
28734                        relative: 1.0 0.5;
28735                        offset: -1 -6;
28736                    }
28737                }
28738            }
28739            part { name: "button_image";
28740                mouse_events: 1;
28741                clip_to: "clip";
28742                description { state: "default" 0.0;
28743                    rel1 {
28744                        to: "elm.text.body";
28745                        offset: -5 -5;
28746                    }
28747                    rel2 {
28748                        to: "elm.text";
28749                        offset: 4 4;
28750                    }
28751                    image {
28752                        normal: "bt_base2.png";
28753                        border: 7 7 7 7;
28754                    }
28755                    image.middle: SOLID;
28756                }
28757            }
28758            part { name: "elm.text.body";
28759                type: TEXT;
28760                effect: SOFT_SHADOW;
28761                mouse_events: 0;
28762                scale: 1;
28763                clip_to: "clip";
28764                description { state: "default" 0.0;
28765                    align: 1.0 0.5;
28766                    fixed: 1 1;
28767                    rel1 {
28768                        to: "elm.text";
28769                        relative: 0.0 0.0;
28770                        offset: 5 0;
28771                    }
28772                    rel2 {
28773                        to: "elm.text";
28774                        relative: 0.0 1.0;
28775                        offset: 5 -1;
28776                    }
28777                    color: 224 224 224 255;
28778                    color3: 0 0 0 64;
28779                    text {
28780                        font:     "Sans,Edje-Vera";
28781                        size:     20;
28782                        min:      1 1;
28783                        align:    1.0 0.5;
28784                    }
28785                }
28786            }
28787            part { name: "elm.text";
28788                type: TEXT;
28789                effect: SOFT_SHADOW;
28790                mouse_events: 0;
28791                scale: 1;
28792                clip_to: "clip";
28793                description { state: "default" 0.0;
28794                    align: 1.0 0.5;
28795                    fixed: 1 1;
28796                    rel1 {
28797                        to_x: "elm.swallow.event.0";
28798                        to_y: "elm.dragable.pointer";
28799                        relative: 0.0 0.5;
28800                        offset: -16 0;
28801                    }
28802                    rel2 {
28803                        to_x: "elm.swallow.event.0";
28804                        to_y: "elm.dragable.pointer";
28805                        relative: 0.0 0.5;
28806                        offset: -16 -1;
28807                    }
28808                    color: 255 0 0 255;
28809                    color3: 0 0 0 64;
28810                    text {
28811                        font:     "Sans,Edje-Vera";
28812                        size:     20;
28813                        min:      1 1;
28814                        align:    1.0 0.5;
28815                    }
28816                }
28817            }
28818            part {        name: "over1";
28819                mouse_events: 0;
28820                clip_to: "clip";
28821                description { state: "default" 0.0;
28822                    rel1 {
28823                        to: "button_image";
28824                    }
28825                    rel2 {
28826                        to: "button_image";
28827                        relative: 1.0 0.5;
28828                    }
28829                    image {
28830                        normal: "bt_hilight.png";
28831                        border: 7 7 7 0;
28832                    }
28833                }
28834            }
28835            part { name: "over2";
28836                mouse_events: 1;
28837                repeat_events: 1;
28838                ignore_flags: ON_HOLD;
28839                clip_to: "clip";
28840                description { state: "default" 0.0;
28841                    rel1 {
28842                        to: "button_image";
28843                    }
28844                    rel2 {
28845                        to: "button_image";
28846                    }
28847                    image {
28848                        normal: "bt_shine.png";
28849                        border: 7 7 7 7;
28850                    }
28851                }
28852            }
28853            part { name: "elm.dragable.pointer";
28854                type: RECT;
28855                mouse_events: 0;
28856                dragable {
28857                    x: 1 1 0;
28858                    y: 1 1 0;
28859                }
28860                clip_to: "clip";
28861                description { state: "default" 0.0;
28862                    fixed: 1 1;
28863                    min: 8 8;
28864                    max: 8 8;
28865                    visible: 0;
28866                    rel1 {
28867                        relative: 0.0 0.0;
28868                        offset:   0 0;
28869                    }
28870                    rel2 {
28871                        relative: 0.0 0.0;
28872                        offset:   0 0;
28873                    }
28874                }
28875            }
28876            part { name: "elm.swallow.event.0";
28877                type: SWALLOW;
28878                description { state: "default" 0.0;
28879                    align: 1.0 0.5;
28880                    fixed: 1 1;
28881                    rel1 {
28882                        relative: 1.0 0.0;
28883                        offset: -1 0;
28884                    }
28885                    rel2 {
28886                        relative: 1.0 1.0;
28887                        offset: -1 -1;
28888                    }
28889                }
28890            }
28891        }
28892        programs {
28893            program { name: "active";
28894                signal: "elm,state,active";
28895                source: "elm";
28896                action: STATE_SET "active" 0.0;
28897                transition: DECELERATE 0.5;
28898                target: "clip";
28899            }
28900            program { name: "inactive";
28901                signal: "elm,state,inactive";
28902                source: "elm";
28903                action: STATE_SET "default" 0.0;
28904                transition: DECELERATE 0.5;
28905                target: "clip";
28906            }
28907        }
28908    }
28909
28910    group { name: "elm/index/item/vertical/default";
28911        data.item: "stacking" "above";
28912        data.item: "selectraise" "on";
28913        images {
28914            image: "ilist_1.png" COMP;
28915            image: "ilist_item_shadow.png" COMP;
28916        }
28917        parts {
28918            part {
28919                name: "base_sh";
28920                mouse_events: 0;
28921                description {
28922                    state: "default" 0.0;
28923                    align: 0.0 0.0;
28924                    min: 0 10;
28925                    fixed: 1 1;
28926                    rel1 {
28927                        to: "base";
28928                        relative: 0.0 1.0;
28929                        offset: 0 0;
28930                    }
28931                    rel2 {
28932                        to: "base";
28933                        relative: 1.0 1.0;
28934                        offset: -1 0;
28935                    }
28936                    image {
28937                        normal: "ilist_item_shadow.png";
28938                    }
28939                    fill.smooth: 0;
28940                }
28941            }
28942            part {
28943                name: "base";
28944                mouse_events: 0;
28945                description {
28946                    state: "default" 0.0;
28947                    image {
28948                        normal: "ilist_1.png";
28949                        border: 2 2 2 2;
28950                    }
28951                    fill.smooth: 0;
28952                }
28953                description { state: "active" 0.0;
28954                    inherit: "default" 0.0;
28955                    rel1 {
28956                        offset: -16 0;
28957                    }
28958                }
28959            }
28960            part { name: "elm.text";
28961                type:           TEXT;
28962                mouse_events:   0;
28963                scale: 1;
28964                description {
28965                    state: "default" 0.0;
28966                           //               min: 16 16;
28967                    rel1 {
28968                        to: "base";
28969                        relative: 0.0  0.0;
28970                        offset:   4 4;
28971                    }
28972                    rel2 {
28973                        to: "base";
28974                        relative: 0.5  1.0;
28975                        offset:   -1 -1;
28976                    }
28977                    color: 0 0 0 128;
28978                    text {
28979                        font: "Sans";
28980                        size: 10;
28981                        min: 1 1;
28982                             //                  min: 0 1;
28983                        align: 0.5 0.5;
28984                    }
28985                }
28986                description { state: "active" 0.0;
28987                    inherit: "default" 0.0;
28988                    color: 0 0 0 255;
28989                }
28990            }
28991        }
28992        programs {
28993            program { name: "active";
28994                signal: "elm,state,active";
28995                source: "elm";
28996                action: STATE_SET "active" 0.0;
28997                transition: DECELERATE 0.5;
28998                target: "elm.text";
28999                target: "base";
29000            }
29001            program { name: "inactive";
29002                signal: "elm,state,inactive";
29003                source: "elm";
29004                action: STATE_SET "default" 0.0;
29005                transition: DECELERATE 0.5;
29006                target: "elm.text";
29007                target: "base";
29008            }
29009        }
29010    }
29011
29012    group { name: "elm/index/item_odd/vertical/default";
29013        data.item: "stacking" "below";
29014        images {
29015            image: "ilist_2.png" COMP;
29016        }
29017        parts {
29018            part {
29019                name: "base";
29020                mouse_events: 0;
29021                description {
29022                    state: "default" 0.0;
29023                    image {
29024                        normal: "ilist_2.png";
29025                        border: 2 2 2 2;
29026                    }
29027                    fill.smooth: 0;
29028                }
29029                description { state: "active" 0.0;
29030                    inherit: "default" 0.0;
29031                    rel1 {
29032                        offset: -16 0;
29033                    }
29034                }
29035            }
29036            part { name: "elm.text";
29037                type:           TEXT;
29038                mouse_events:   0;
29039                scale: 1;
29040                description {
29041                    state: "default" 0.0;
29042                           //               min: 16 16;
29043                    rel1 {
29044                        to: "base";
29045                        relative: 0.0  0.0;
29046                        offset:   4 4;
29047                    }
29048                    rel2 {
29049                        to: "base";
29050                        relative: 0.5  1.0;
29051                        offset:   -1 -1;
29052                    }
29053                    color: 0 0 0 128;
29054                    text {
29055                        font: "Sans";
29056                        size: 10;
29057                        min: 1 1;
29058                             //                  min: 0 1;
29059                        align: 0.5 0.5;
29060                    }
29061                }
29062                description { state: "active" 0.0;
29063                    inherit: "default" 0.0;
29064                    color: 0 0 0 255;
29065                }
29066            }
29067        }
29068        programs {
29069            program { name: "active";
29070                signal: "elm,state,active";
29071                source: "elm";
29072                action: STATE_SET "active" 0.0;
29073                transition: DECELERATE 0.5;
29074                target: "elm.text";
29075                target: "base";
29076            }
29077            program { name: "inactive";
29078                signal: "elm,state,inactive";
29079                source: "elm";
29080                action: STATE_SET "default" 0.0;
29081                transition: DECELERATE 0.5;
29082                target: "elm.text";
29083                target: "base";
29084            }
29085        }
29086    }
29087
29088 ///////////////////////////////////////////////////////////////////////////////
29089    group { name: "elm/gengrid/item/default/default";
29090       data.item: "labels" "elm.text";
29091       data.item: "icons" "elm.swallow.icon elm.swallow.end";
29092       images {
29093          image: "bt_sm_base1.png" COMP;
29094          image: "bt_sm_shine.png" COMP;
29095          image: "bt_sm_hilight.png" COMP;
29096          image: "ilist_1.png" COMP;
29097          image: "ilist_item_shadow.png" COMP;
29098       }
29099       parts {
29100          part { name: "event";
29101             type: RECT;
29102             repeat_events: 1;
29103             description {
29104                state: "default" 0.0;
29105                color: 0 0 0 0;
29106             }
29107          }
29108          part { name: "reorder_bg";
29109             mouse_events: 0;
29110             description { state: "default" 0.0;
29111                visible: 0;
29112                color: 255 255 255 0;
29113                rel1 {
29114                   relative: 0.0 0.0;
29115                   offset: -10 -10;
29116                }
29117                rel2 {
29118                   relative: 1.0 1.0;
29119                   offset: 12 12;
29120                }
29121                image {
29122                   normal: "bt_bases.png";
29123                   border: 6 6 6 6;
29124                }
29125             }
29126             description { state: "enabled" 0.0;
29127                inherit: "default" 0.0;
29128                visible: 1;
29129                color: 255 255 255 255;
29130             }
29131          }
29132          part { name: "base_sh";
29133             mouse_events: 0;
29134             description { state: "default" 0.0;
29135                align: 0.0 0.0;
29136                min: 0 10;
29137                fixed: 1 1;
29138                rel1 {
29139                   to: "base";
29140                   relative: 0.0 1.0;
29141                   offset: 0 0;
29142                }
29143                rel2 {
29144                   to: "base";
29145                   relative: 1.0 1.0;
29146                   offset: -1 0;
29147                }
29148                image {
29149                   normal: "ilist_item_shadow.png";
29150                }
29151                fill.smooth: 0;
29152             }
29153          }
29154          part { name: "base";
29155             mouse_events: 0;
29156             description { state: "default" 0.0;
29157                image {
29158                   normal: "ilist_1.png";
29159                   border: 2 2 2 2;
29160                }
29161                fill.smooth: 0;
29162             }
29163          }
29164          part { name: "bg";
29165             clip_to: "disclip";
29166             mouse_events: 0;
29167             description { state: "default" 0.0;
29168                visible: 0;
29169                color: 255 255 255 0;
29170                rel1 {
29171                   relative: 0.0 0.0;
29172                   offset: -5 -5;
29173                }
29174                rel2 {
29175                   relative: 1.0 1.0;
29176                   offset: 4 4;
29177                }
29178                image {
29179                   normal: "bt_sm_base1.png";
29180                   border: 6 6 6 6;
29181                }
29182                image.middle: SOLID;
29183             }
29184             description { state: "selected" 0.0;
29185                inherit: "default" 0.0;
29186                visible: 1;
29187                color: 255 255 255 255;
29188                rel1 {
29189                   relative: 0.0 0.0;
29190                   offset: -2 -2;
29191                }
29192                rel2 {
29193                   relative: 1.0 1.0;
29194                   offset: 1 1;
29195                }
29196             }
29197          }
29198          part { name: "elm.swallow.pad";
29199             type: SWALLOW;
29200             description { state: "default" 0.0;
29201                fixed: 1 0;
29202                align: 0.0 0.5;
29203                rel1 {
29204                   relative: 0.0  1.0;
29205                   offset:   0    -10;
29206                }
29207                rel2 {
29208                   to_y: "elm.text";
29209                   relative: 0.0  0.0;
29210                   offset:   -1   -1;
29211                }
29212             }
29213          }
29214          part { name: "elm.swallow.icon";
29215             clip_to: "disclip";
29216             type: SWALLOW;
29217             description { state: "default" 0.0;
29218                fixed: 1 0;
29219                align: 0.5 0.5;
29220                rel1 {
29221                   relative: 0.0  0.0;
29222                   offset:   -1    4;
29223                }
29224                rel2 {
29225                   to_y: "elm.swallow.pad";
29226                   relative: 1.0  0.0;
29227                   offset:   -1   -5;
29228                }
29229             }
29230          }
29231          part { name: "elm.swallow.end";
29232             clip_to: "disclip";
29233             type: SWALLOW;
29234             description { state: "default" 0.0;
29235                fixed: 1 0;
29236                align: 1.0 0.0;
29237                aspect: 1.0 1.0;
29238                aspect_preference: HORIZONTAL;
29239                rel1 {
29240                   relative: 1.0 0.0;
29241                   offset: -5 -5;
29242                }
29243                rel2 {
29244                   relative: 1.0 1.0;
29245                   offset: 5 5;
29246                }
29247             }
29248          }
29249          part { name: "elm.text";
29250             clip_to: "disclip";
29251             type: TEXT;
29252             effect: SOFT_SHADOW;
29253             mouse_events: 0;
29254             scale: 1;
29255             description { state: "default" 0.0;
29256                rel1 {
29257                   relative: 0.0  1.0;
29258                   offset: 0 0;
29259                }
29260                rel2 {
29261                   relative: 1.0  1.0;
29262                   offset: -5 -5;
29263                }
29264                color: 0 0 0 255;
29265                color3: 0 0 0 0;
29266                text {
29267                   font: "Sans";
29268                   size: 10;
29269                   min: 0 1;
29270                   align: 0.5 0.0;
29271                   text_class: "grid_item";
29272                }
29273             }
29274             description { state: "selected" 0.0;
29275                inherit: "default" 0.0;
29276                color: 224 224 224 255;
29277                color3: 0 0 0 64;
29278             }
29279          }
29280          part { name: "fg1";
29281             clip_to: "disclip";
29282             mouse_events: 0;
29283             description { state: "default" 0.0;
29284                visible: 0;
29285                color: 255 255 255 0;
29286                rel1.to: "bg";
29287                rel2.relative: 1.0 0.5;
29288                rel2.to: "bg";
29289                image {
29290                   normal: "bt_sm_hilight.png";
29291                   border: 6 6 6 0;
29292                }
29293             }
29294             description { state: "selected" 0.0;
29295                inherit: "default" 0.0;
29296                visible: 1;
29297                color: 255 255 255 255;
29298             }
29299          }
29300          part { name: "fg2";
29301             clip_to: "disclip";
29302             mouse_events: 0;
29303             description { state: "default" 0.0;
29304                visible: 0;
29305                color: 255 255 255 0;
29306                rel1.to: "bg";
29307                rel2.to: "bg";
29308                image {
29309                   normal: "bt_sm_shine.png";
29310                   border: 6 6 6 0;
29311                }
29312             }
29313             description { state: "selected" 0.0;
29314                inherit: "default" 0.0;
29315                visible: 1;
29316                color: 255 255 255 255;
29317             }
29318          }
29319          part { name: "disclip";
29320             type: RECT;
29321             description { state: "default" 0.0;
29322                rel1.to: "bg";
29323                rel2.to: "bg";
29324             }
29325             description { state: "disabled" 0.0;
29326                inherit: "default" 0.0;
29327                color: 255 255 255 64;
29328             }
29329          }
29330       }
29331       programs {
29332          // signal: elm,state,%s,active
29333          //   a "check" item named %s went active
29334          // signal: elm,state,%s,passive
29335          //   a "check" item named %s went passive
29336          // default is passive
29337          program { name:    "go_active";
29338             signal:  "elm,state,selected";
29339             source:  "elm";
29340             action:  STATE_SET "selected" 0.0;
29341             target:  "bg";
29342             target:  "fg1";
29343             target:  "fg2";
29344             target:  "elm.text";
29345          }
29346          program { name:    "go_passive";
29347             signal:  "elm,state,unselected";
29348             source:  "elm";
29349             action:  STATE_SET "default" 0.0;
29350             target:  "bg";
29351             target:  "fg1";
29352             target:  "fg2";
29353             target:  "elm.text";
29354             transition: LINEAR 0.1;
29355          }
29356          program { name:    "go_disabled";
29357             signal:  "elm,state,disabled";
29358             source:  "elm";
29359             action:  STATE_SET "disabled" 0.0;
29360             target:  "disclip";
29361          }
29362          program { name:    "go_enabled";
29363             signal:  "elm,state,enabled";
29364             source:  "elm";
29365             action:  STATE_SET "default" 0.0;
29366             target:  "disclip";
29367          }
29368          program { name:    "go_reorder_disabled";
29369             signal:  "elm,state,reorder_disabled";
29370             source:  "elm";
29371             action:  STATE_SET "default" 0.0;
29372             target:  "reorder_bg";
29373             transition: DECELERATE 0.5;
29374          }
29375          program { name:    "go_reorder_enabled";
29376             signal:  "elm,state,reorder_enabled";
29377             source:  "elm";
29378             action:  STATE_SET "enabled" 0.0;
29379             target:  "reorder_bg";
29380             transition: DECELERATE 0.5;
29381          }
29382       }
29383    }
29384    group { name: "elm/gengrid/item/default_style/default";
29385        styles
29386        {
29387            style { name: "gengrid_style";
29388                base: "font=Sans font_size=10 align=left valign=0.5 color=#000 text_class=grid_item";
29389                tag:  "br" "\n";
29390                tag:  "ps" "ps";
29391                tag:  "hilight" "+ font=Sans:style=Bold";
29392                tag:  "b" "+ font=Sans:style=Bold";
29393                tag:  "tab" "\t";
29394            }
29395            style { name: "gengrid_selected_style";
29396                base: "font=Sans font_size=10 align=left valign=0.5 color=#fff text_class=grid_item";
29397                tag:  "br" "\n";
29398                tag:  "ps" "ps";
29399                tag:  "hilight" "+ font=Sans:style=Bold";
29400                tag:  "b" "+ font=Sans:style=Bold";
29401                tag:  "tab" "\t";
29402            }
29403        }
29404        data.item: "labels" "elm.text";
29405        data.item: "icons" "elm.swallow.icon elm.swallow.end";
29406        images {
29407            image: "bt_sm_base1.png" COMP;
29408            image: "bt_sm_shine.png" COMP;
29409            image: "bt_sm_hilight.png" COMP;
29410            image: "ilist_1.png" COMP;
29411            image: "ilist_item_shadow.png" COMP;
29412        }
29413        parts {
29414            part { name: "event";
29415                type: RECT;
29416                repeat_events: 1;
29417                description { state: "default" 0.0;
29418                    color: 0 0 0 0;
29419                }
29420            }
29421            part { name: "base_sh";
29422                mouse_events: 0;
29423                description { state: "default" 0.0;
29424                    align: 0.0 0.0;
29425                    min: 0 10;
29426                    fixed: 1 1;
29427                    rel1 {
29428                        to: "base";
29429                        relative: 0.0 1.0;
29430                        offset: 0 0;
29431                    }
29432                    rel2 {
29433                        to: "base";
29434                        relative: 1.0 1.0;
29435                        offset: -1 0;
29436                    }
29437                    image {
29438                        normal: "ilist_item_shadow.png";
29439                    }
29440                    fill.smooth: 0;
29441                }
29442            }
29443            part { name: "base";
29444                mouse_events: 0;
29445                description { state: "default" 0.0;
29446                    min: 16 28;
29447                    image {
29448                        normal: "ilist_1.png";
29449                        border: 2 2 2 2;
29450                    }
29451                    fill.smooth: 0;
29452                }
29453            }
29454            part { name: "bg";
29455                clip_to: "disclip";
29456                mouse_events: 0;
29457                description { state: "default" 0.0;
29458                    visible: 0;
29459                    color: 255 255 255 0;
29460                    rel1 {
29461                        relative: 0.0 0.0;
29462                        offset: -5 -5;
29463                    }
29464                    rel2 {
29465                        relative: 1.0 1.0;
29466                        offset: 4 4;
29467                    }
29468                    image {
29469                        normal: "bt_sm_base1.png";
29470                        border: 6 6 6 6;
29471                    }
29472                    image.middle: SOLID;
29473                }
29474                description { state: "selected" 0.0;
29475                    inherit: "default" 0.0;
29476                    visible: 1;
29477                    color: 255 255 255 255;
29478                    rel1 {
29479                        relative: 0.0 0.0;
29480                        offset: -2 -2;
29481                    }
29482                    rel2 {
29483                        relative: 1.0 1.0;
29484                        offset: 1 1;
29485                    }
29486                }
29487            }
29488            part { name: "elm.swallow.pad";
29489                type: SWALLOW;
29490                description { state: "default" 0.0;
29491                    fixed: 1 0;
29492                    align: 0.0 0.5;
29493                    rel1 {
29494                        relative: 0.0  0.0;
29495                        offset:   4    4;
29496                    }
29497                    rel2 {
29498                        relative: 0.0  1.0;
29499                        offset:   4   -5;
29500                    }
29501                }
29502            }
29503            part { name: "elm.swallow.icon";
29504                clip_to: "disclip";
29505                type: SWALLOW;
29506                description { state: "default" 0.0;
29507                    fixed: 1 0;
29508                    align: 0.0 0.5;
29509                    rel1 {
29510                        to_x: "elm.swallow.pad";
29511                        relative: 1.0  0.0;
29512                        offset:   -1    4;
29513                    }
29514                    rel2 {
29515                        to_x: "elm.swallow.pad";
29516                        relative: 1.0  1.0;
29517                        offset:   -1   -5;
29518                    }
29519                }
29520            }
29521            part { name: "elm.swallow.end";
29522                clip_to: "disclip";
29523                type: SWALLOW;
29524                description { state: "default" 0.0;
29525                    fixed: 1 0;
29526                    align: 1.0 0.5;
29527                    aspect: 1.0 1.0;
29528                    aspect_preference: VERTICAL;
29529                    rel1 {
29530                        relative: 1.0  0.0;
29531                        offset:   -5    4;
29532                    }
29533                    rel2 {
29534                        relative: 1.0  1.0;
29535                        offset:   -5   -5;
29536                    }
29537                }
29538            }
29539            part { name: "elm.text";
29540                clip_to: "disclip";
29541                type: TEXTBLOCK;
29542                mouse_events: 0;
29543                scale: 1;
29544                description {
29545                    state: "default" 0.0;
29546                    align: 0.0 0.5;
29547                    fixed: 0 1;
29548                    rel1 {
29549                        to_x: "elm.swallow.icon";
29550                        to_y: "base";
29551                        relative: 1.0  0.5;
29552                        offset:   0 4;
29553                    }
29554                    rel2 {
29555                        to_x: "elm.swallow.end";
29556                        to_y: "base";
29557                        relative: 0.0  0.5;
29558                        offset:   -1 -5;
29559                    }
29560                    text {
29561                        style: "gengrid_style";
29562                        min: 1 1;
29563                    }
29564                }
29565                description { state: "selected" 0.0;
29566                    inherit: "default" 0.0;
29567                    text {
29568                        style: "gengrid_selected_style";
29569                    }
29570                }
29571            }
29572            part { name: "fg1";
29573                clip_to: "disclip";
29574                mouse_events: 0;
29575                description { state: "default" 0.0;
29576                    visible: 0;
29577                    color: 255 255 255 0;
29578                    rel1.to: "bg";
29579                    rel2.relative: 1.0 0.5;
29580                    rel2.to: "bg";
29581                    image {
29582                        normal: "bt_sm_hilight.png";
29583                        border: 6 6 6 0;
29584                    }
29585                }
29586                description { state: "selected" 0.0;
29587                    inherit: "default" 0.0;
29588                    visible: 1;
29589                    color: 255 255 255 255;
29590                }
29591            }
29592            part { name: "fg2";
29593                clip_to: "disclip";
29594                mouse_events: 0;
29595                description { state: "default" 0.0;
29596                    visible: 0;
29597                    color: 255 255 255 0;
29598                    rel1.to: "bg";
29599                    rel2.to: "bg";
29600                    image {
29601                        normal: "bt_sm_shine.png";
29602                        border: 6 6 6 0;
29603                    }
29604                }
29605                description { state: "selected" 0.0;
29606                    inherit: "default" 0.0;
29607                    visible: 1;
29608                    color: 255 255 255 255;
29609                }
29610            }
29611            part { name: "disclip";
29612                type: RECT;
29613                description { state: "default" 0.0;
29614                    rel1.to: "bg";
29615                    rel2.to: "bg";
29616                }
29617                description { state: "disabled" 0.0;
29618                    inherit: "default" 0.0;
29619                    color: 255 255 255 64;
29620                }
29621            }
29622        }
29623        programs {
29624            // signal: elm,state,%s,active
29625            //   a "check" item named %s went active
29626            // signal: elm,state,%s,passive
29627            //   a "check" item named %s went passive
29628            // default is passive
29629            program { name:    "go_active";
29630                signal:  "elm,state,selected";
29631                source:  "elm";
29632                action:  STATE_SET "selected" 0.0;
29633                target:  "bg";
29634                target:  "fg1";
29635                target:  "fg2";
29636                target:  "elm.text";
29637            }
29638            program { name:    "go_passive";
29639                signal:  "elm,state,unselected";
29640                source:  "elm";
29641                action:  STATE_SET "default" 0.0;
29642                target:  "bg";
29643                target:  "fg1";
29644                target:  "fg2";
29645                target:  "elm.text";
29646                transition: LINEAR 0.1;
29647            }
29648            program { name:    "go_disabled";
29649                signal:  "elm,state,disabled";
29650                source:  "elm";
29651                action:  STATE_SET "disabled" 0.0;
29652                target:  "disclip";
29653            }
29654            program { name:    "go_enabled";
29655                signal:  "elm,state,enabled";
29656                source:  "elm";
29657                action:  STATE_SET "default" 0.0;
29658                target:  "disclip";
29659            }
29660        }
29661    }
29662
29663    group { name: "elm/gengrid/item/up/default";
29664       data.item: "labels" "elm.text";
29665       images {
29666           image: "bt_sm_base1.png" COMP;
29667           image: "bt_sm_shine.png" COMP;
29668           image: "bt_sm_hilight.png" COMP;
29669           image: "arrow_up.png" COMP;
29670       }
29671       parts {
29672          part { name: "event";
29673             type: RECT;
29674             repeat_events: 1;
29675             description { state: "default" 0.0;
29676                color: 0 0 0 0;
29677             }
29678          }
29679          part { name: "bg";
29680             clip_to: "disclip";
29681             mouse_events: 0;
29682             description { state: "default" 0.0;
29683                visible: 0;
29684                color: 255 255 255 0;
29685                rel1.offset: -3 -3;
29686                rel2.offset: 2 2;
29687                image { normal: "bt_sm_base1.png";
29688                   border: 6 6 6 6;
29689                   middle: SOLID;
29690                }
29691             }
29692             description { state: "selected" 0.0;
29693                inherit: "default" 0.0;
29694                visible: 1;
29695                color: 255 255 255 255;
29696             }
29697          }
29698          part { name: "image";
29699              type: IMAGE;
29700              mouse_events: 0;
29701              description { state: "default" 0.0;
29702                  aspect_preference: BOTH;
29703                  aspect: 1.0 1.0;
29704                  image.normal: "arrow_up.png";
29705                  rel2 {
29706                      to_y: "elm.text";
29707                      relative: 1.0 0.0;
29708                      offset: -1 -2;
29709                  }
29710              }
29711          }
29712          part { name: "elm.text";
29713             clip_to: "disclip";
29714             type: TEXT;
29715             effect: SOFT_SHADOW;
29716             mouse_events: 0;
29717             scale: 1;
29718             description { state: "default" 0.0;
29719                rel1 {
29720                   relative: 0.0  1.0;
29721                   offset: 20 -25;
29722                }
29723                rel2 {
29724                   relative: 1.0  1.0;
29725                   offset: -21 -3;
29726                }
29727                color: 0 0 0 255;
29728                color3: 0 0 0 0;
29729                text {
29730                   font: "Sans";
29731                   size: 10;
29732                   min: 0 1;
29733                   align: 0.5 0.0;
29734                   text_class: "grid_item";
29735                }
29736             }
29737             description { state: "selected" 0.0;
29738                inherit: "default" 0.0;
29739                color: 224 224 224 255;
29740                color3: 0 0 0 64;
29741             }
29742          }
29743          part { name: "fg1";
29744             clip_to: "disclip";
29745             mouse_events: 0;
29746             description { state: "default" 0.0;
29747                visible: 0;
29748                color: 255 255 255 0;
29749                rel1.offset: -3 -3;
29750                rel2 {
29751                    relative: 1.0 0.5;
29752                    offset: 2 -1;
29753                }
29754                image {
29755                   normal: "bt_sm_hilight.png";
29756                   border: 6 6 6 0;
29757                }
29758             }
29759             description { state: "selected" 0.0;
29760                inherit: "default" 0.0;
29761                visible: 1;
29762                color: 255 255 255 255;
29763             }
29764          }
29765          part { name: "fg2";
29766             clip_to: "disclip";
29767             mouse_events: 0;
29768             description { state: "default" 0.0;
29769                visible: 0;
29770                color: 255 255 255 0;
29771                rel1.offset: -3 -3;
29772                rel2.offset: 2 2;
29773                image {
29774                   normal: "bt_sm_shine.png";
29775                   border: 6 6 6 0;
29776                }
29777             }
29778             description { state: "selected" 0.0;
29779                inherit: "default" 0.0;
29780                visible: 1;
29781                color: 255 255 255 255;
29782             }
29783          }
29784          part { name: "disclip";
29785             type: RECT;
29786             description { state: "default" 0.0;
29787                rel1.to: "bg";
29788                rel2.to: "bg";
29789             }
29790             description { state: "disabled" 0.0;
29791                inherit: "default" 0.0;
29792                color: 255 255 255 64;
29793             }
29794          }
29795       }
29796       programs {
29797          program { name:    "go_active";
29798             signal:  "elm,state,selected";
29799             source:  "elm";
29800             action:  STATE_SET "selected" 0.0;
29801             target:  "bg";
29802             target:  "fg1";
29803             target:  "fg2";
29804             target:  "elm.text";
29805          }
29806          program { name:    "go_passive";
29807             signal:  "elm,state,unselected";
29808             source:  "elm";
29809             action:  STATE_SET "default" 0.0;
29810             target:  "bg";
29811             target:  "fg1";
29812             target:  "fg2";
29813             target:  "elm.text";
29814             transition: LINEAR 0.1;
29815          }
29816          program { name:    "go_disabled";
29817             signal:  "elm,state,disabled";
29818             source:  "elm";
29819             action:  STATE_SET "disabled" 0.0;
29820             target:  "disclip";
29821          }
29822          program { name:    "go_enabled";
29823             signal:  "elm,state,enabled";
29824             source:  "elm";
29825             action:  STATE_SET "default" 0.0;
29826             target:  "disclip";
29827          }
29828       }
29829    }
29830
29831    group { name: "elm/gengrid/item/album-preview/default";
29832       data.item: "labels" "elm.text";
29833       data.item: "icons" "elm.swallow.icon.1 elm.swallow.icon.2 elm.swallow.icon.3 elm.swallow.icon.4";
29834       data.item: "states" "have_files";
29835       images {
29836          image: "bt_sm_base1.png" COMP;
29837          image: "bt_sm_shine.png" COMP;
29838          image: "bt_sm_hilight.png" COMP;
29839          image: "icon_folder.png" COMP;
29840       }
29841       parts {
29842          part { name: "event";
29843             type: RECT;
29844             repeat_events: 1;
29845             description { state: "default" 0.0;
29846                color: 0 0 0 0;
29847             }
29848          }
29849          part { name: "bg";
29850             clip_to: "disclip";
29851             mouse_events: 0;
29852             description { state: "default" 0.0;
29853                visible: 0;
29854                color: 255 255 255 0;
29855                rel1.offset: -3 -3;
29856                rel2.offset: 2 2;
29857                image {
29858                   normal: "bt_sm_base1.png";
29859                   border: 6 6 6 6;
29860                   middle: SOLID;
29861                }
29862             }
29863             description { state: "selected" 0.0;
29864                inherit: "default" 0.0;
29865                visible: 1;
29866                color: 255 255 255 255;
29867             }
29868          }
29869          part { name: "image";
29870              type: IMAGE;
29871              mouse_events: 0;
29872              description { state: "default" 0.0;
29873                  aspect_preference: BOTH;
29874                  aspect: 1.0 1.0;
29875                  image.normal: "icon_folder.png";
29876                  rel2 {
29877                      to_y: "elm.text";
29878                      relative: 1.0 0.0;
29879                      offset: -1 -2;
29880                  }
29881              }
29882          }
29883          part { name: "have-files-clipper";
29884              type: RECT;
29885              description { state: "default" 0.0;
29886                  color: 255 255 255 0;
29887                  visible: 0;
29888              }
29889              description { state: "visible" 0.0;
29890                  inherit: "default" 0.0;
29891                  color: 255 255 255 255;
29892                  visible: 1;
29893              }
29894          }
29895          part { name: "icon_box_margin";
29896              type: RECT;
29897              mouse_events: 0;
29898              clip_to: "have-files-clipper";
29899              description { state: "default" 0.0;
29900                  color: 0 0 0 255;
29901                  rel1 {
29902                      to: "icon_box";
29903                      offset: -1 -1;
29904                  }
29905                  rel2 {
29906                      to: "icon_box";
29907                      offset: 0 0;
29908                  }
29909              }
29910          }
29911          part { name: "icon_box";
29912              type: RECT;
29913              mouse_events: 0;
29914              clip_to: "have-files-clipper";
29915              description { state: "default" 0.0;
29916                  color: 255 255 255 255;
29917                  align: 1.0 1.0;
29918                  min: 32 32;
29919                  rel1 {
29920                      relative: 0.25 0.25;
29921                      offset: 0 0;
29922                  }
29923                  rel2 {
29924                      relative: 1.0 0.0;
29925                      offset: -11 -4;
29926                      to_y: "elm.text";
29927                  }
29928              }
29929          }
29930          part { name: "elm.swallow.icon.1";
29931              type: SWALLOW;
29932              mouse_events: 0;
29933              clip_to: "have-files-clipper";
29934              description { state: "default" 0.0;
29935                rel1 {
29936                   relative: 0.0  0.0;
29937                   to: "icon_box";
29938                }
29939                rel2 {
29940                   relative: 0.5  0.5;
29941                   offset: -1 -1;
29942                   to: "icon_box";
29943                }
29944             }
29945          }
29946          part { name: "elm.swallow.icon.2";
29947              type: SWALLOW;
29948              mouse_events: 0;
29949              clip_to: "have-files-clipper";
29950              description { state: "default" 0.0;
29951                rel1 {
29952                   relative: 0.5  0.0;
29953                   to: "icon_box";
29954                }
29955                rel2 {
29956                   relative: 1.0  0.5;
29957                   offset: -1 -1;
29958                   to: "icon_box";
29959                }
29960             }
29961          }
29962          part { name: "elm.swallow.icon.3";
29963              type: SWALLOW;
29964              mouse_events: 0;
29965              clip_to: "have-files-clipper";
29966              description { state: "default" 0.0;
29967                rel1 {
29968                   relative: 0.0  0.5;
29969                   to: "icon_box";
29970                }
29971                rel2 {
29972                   relative: 0.5  1.0;
29973                   offset: -1 -1;
29974                   to: "icon_box";
29975                }
29976             }
29977          }
29978          part { name: "elm.swallow.icon.4";
29979              type: SWALLOW;
29980              mouse_events: 0;
29981              clip_to: "have-files-clipper";
29982              description { state: "default" 0.0;
29983                rel1 {
29984                   relative: 0.5  0.5;
29985                   to: "icon_box";
29986                }
29987                rel2 {
29988                   relative: 1.0  1.0;
29989                   offset: -1 -1;
29990                   to: "icon_box";
29991                }
29992             }
29993          }
29994          part { name: "elm.text";
29995             clip_to: "disclip";
29996             type: TEXT;
29997             effect: SOFT_SHADOW;
29998             mouse_events: 0;
29999             scale: 1;
30000             description { state: "default" 0.0;
30001                rel1 {
30002                   relative: 0.0  1.0;
30003                   offset: 20 -30;
30004                }
30005                rel2 {
30006                   relative: 1.0  1.0;
30007                   offset: -21 -15;
30008                }
30009                color: 0 0 0 255;
30010                color3: 0 0 0 0;
30011                text {
30012                   font: "Sans";
30013                   size: 10;
30014                   min: 0 1;
30015                   align: 0.5 0.0;
30016                   text_class: "grid_item";
30017                }
30018             }
30019             description { state: "selected" 0.0;
30020                 inherit: "default" 0.0;
30021                 color: 255 255 255 255;
30022             }
30023          }
30024          part { name: "fg1";
30025             clip_to: "disclip";
30026             mouse_events: 0;
30027             description { state: "default" 0.0;
30028                visible: 0;
30029                color: 255 255 255 0;
30030                rel1.offset: -3 -3;
30031                rel2 {
30032                    relative: 1.0 0.5;
30033                    offset: 2 -1;
30034                }
30035                image {
30036                   normal: "bt_sm_hilight.png";
30037                   border: 6 6 6 0;
30038                }
30039             }
30040             description { state: "selected" 0.0;
30041                inherit: "default" 0.0;
30042                visible: 1;
30043                color: 255 255 255 255;
30044             }
30045          }
30046          part { name: "fg2";
30047             clip_to: "disclip";
30048             mouse_events: 0;
30049             description { state: "default" 0.0;
30050                visible: 0;
30051                color: 255 255 255 0;
30052                rel1.offset: -3 -3;
30053                rel2.offset: 2 2;
30054                image {
30055                   normal: "bt_sm_shine.png";
30056                   border: 6 6 6 0;
30057                }
30058             }
30059             description { state: "selected" 0.0;
30060                inherit: "default" 0.0;
30061                visible: 1;
30062                color: 255 255 255 255;
30063             }
30064          }
30065          part { name: "disclip";
30066             type: RECT;
30067             description { state: "default" 0.0;
30068                rel1.to: "bg";
30069                rel2.to: "bg";
30070             }
30071             description { state: "disabled" 0.0;
30072                inherit: "default" 0.0;
30073                color: 255 255 255 64;
30074             }
30075          }
30076       }
30077       programs {
30078          program { name:    "go_active";
30079             signal:  "elm,state,selected";
30080             source:  "elm";
30081             action:  STATE_SET "selected" 0.0;
30082             target:  "bg";
30083             target:  "fg1";
30084             target:  "fg2";
30085             target:  "elm.text";
30086          }
30087          program { name:    "go_passive";
30088             signal:  "elm,state,unselected";
30089             source:  "elm";
30090             action:  STATE_SET "default" 0.0;
30091             target:  "bg";
30092             target:  "fg1";
30093             target:  "fg2";
30094             target:  "elm.text";
30095             transition: LINEAR 0.1;
30096          }
30097          program { name:    "go_disabled";
30098             signal:  "elm,state,disabled";
30099             source:  "elm";
30100             action:  STATE_SET "disabled" 0.0;
30101             target:  "disclip";
30102          }
30103          program { name:    "go_enabled";
30104             signal:  "elm,state,enabled";
30105             source:  "elm";
30106             action:  STATE_SET "default" 0.0;
30107             target:  "disclip";
30108          }
30109          program {
30110              signal: "elm,state,have_files,active";
30111              source: "elm";
30112              action: STATE_SET "visible" 0.0;
30113              target: "have-files-clipper";
30114          }
30115       }
30116    }
30117
30118    group { name: "elm/gengrid/item/thumb/default";
30119        data {
30120            item: "icons" "elm.swallow.icon";
30121            item: "labels" "elm.text";
30122        }
30123        images {
30124            image: "bt_sm_base1.png" COMP;
30125            image: "bt_sm_shine.png" COMP;
30126            image: "bt_sm_hilight.png" COMP;
30127            image: "thumb_shadow.png" COMP;
30128        }
30129        parts {
30130            part { name: "event";
30131                type: RECT;
30132                repeat_events: 1;
30133                description { state: "default" 0.0;
30134                    color: 0 0 0 0;
30135                }
30136            }
30137            part { name: "bg";
30138                mouse_events: 0;
30139                description { state: "default" 0.0;
30140                    visible: 0;
30141                    color: 255 255 255 0;
30142                    rel1.offset: -3 -3;
30143                    rel2.offset: 2 2;
30144                    image {
30145                        normal: "bt_sm_base1.png";
30146                        border: 6 6 6 6;
30147                        middle: SOLID;
30148                    }
30149                }
30150                description { state: "selected" 0.0;
30151                    inherit: "default" 0.0;
30152                    visible: 1;
30153                    color: 255 255 255 255;
30154                }
30155            }
30156            part { name: "border-shadow";
30157                type: IMAGE;
30158                mouse_events: 0;
30159                description { state: "default" 0.0;
30160                    rel1 {
30161                        to: "elm.swallow.icon";
30162                        offset: -18 -18;
30163                    }
30164                    rel2 {
30165                        to_x: "elm.swallow.icon";
30166                        to_y: "elm.text";
30167                        offset: 17 17;
30168                    }
30169                    image {
30170                        normal: "thumb_shadow.png";
30171                        border: 17 17 17 17;
30172                        middle: NONE;
30173                    }
30174                }
30175            }
30176            part { name: "border";
30177                type: RECT;
30178                mouse_events: 0;
30179                description { state: "default" 0.0;
30180                    rel1 {
30181                        to: "border-shadow";
30182                        offset: 16 16;
30183                    }
30184                    rel2 {
30185                        to: "border-shadow";
30186                        offset: -15 -15;
30187                    }
30188                }
30189            }
30190            part { name: "elm.swallow.icon";
30191                type: SWALLOW;
30192                mouse_events: 0;
30193                description { state: "default" 0.0;
30194                    aspect_preference: BOTH;
30195                    aspect: 1.0 1.0;
30196                    rel1.offset: 0 8;
30197                    rel2 {
30198                        to_y: "elm.text";
30199                        relative: 1.0 0.0;
30200                        offset: -1 -2;
30201                    }
30202                }
30203            }
30204            part { name: "elm.text";
30205                type: TEXT;
30206                effect: SOFT_SHADOW;
30207                mouse_events: 0;
30208                scale: 1;
30209                description { state: "default" 0.0;
30210                    color: 0 0 0 255;
30211                    color3: 0 0 0 0;
30212                    align: 0.5 1.0;
30213                    rel1 {
30214                        relative: 0.0 1.0;
30215                        offset: 20 -30;
30216                    }
30217                    rel2 {
30218                        relative: 1.0 1.0;
30219                        offset: -21 -15;
30220                    }
30221                    text {
30222                        font: "Sans";
30223                        size: 10;
30224                        min: 0 1;
30225                        align: 0.5 0.0;
30226                        text_class: "grid_item";
30227                    }
30228                }
30229            }
30230            part { name: "fg1";
30231                mouse_events: 0;
30232                description { state: "default" 0.0;
30233                    visible: 0;
30234                    color: 255 255 255 0;
30235                    rel1.offset: -3 -3;
30236                    rel2 {
30237                        relative: 1.0 0.5;
30238                        offset: 2 -1;
30239                    }
30240                    image {
30241                        normal: "bt_sm_hilight.png";
30242                        border: 6 6 6 0;
30243                    }
30244                }
30245                description { state: "selected" 0.0;
30246                    inherit: "default" 0.0;
30247                    visible: 1;
30248                    color: 255 255 255 255;
30249                }
30250            }
30251            part { name: "fg2";
30252                mouse_events: 0;
30253                description { state: "default" 0.0;
30254                    visible: 0;
30255                    color: 255 255 255 0;
30256                    rel1.offset: -3 -3;
30257                    rel2.offset: 2 2;
30258                    image {
30259                        image: "bt_sm_shine.png";
30260                        border: 6 6 6 0;
30261                    }
30262                }
30263                description { state: "selected" 0.0;
30264                    inherit: "default" 0.0;
30265                    visible: 1;
30266                    color: 255 255 255 255;
30267                }
30268            }
30269        }
30270        programs {
30271            program {
30272                signal: "elm,state,selected";
30273                source: "elm";
30274                action: STATE_SET "selected" 0.0;
30275                target: "bg";
30276                target: "fg1";
30277                target: "fg2";
30278            }
30279            program {
30280                signal: "elm,state,unselected";
30281                source: "elm";
30282                action:  STATE_SET "default" 0.0;
30283                target: "bg";
30284                target: "fg1";
30285                target: "fg2";
30286                transition: LINEAR 0.1;
30287            }
30288        }
30289    }
30290
30291 ///////////////////////////////////////////////////////////////////////////////
30292    group { name: "elm/photocam/base/default";
30293        script {
30294            public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
30295            public timer0(val) {
30296                new v;
30297                v = get_int(sbvis_v);
30298                if (v) {
30299                    v = get_int(sbalways_v);
30300                    if (!v) {
30301                        emit("do-hide-vbar", "");
30302                        set_int(sbvis_v, 0);
30303                    }
30304                }
30305                v = get_int(sbvis_h);
30306                if (v) {
30307                    v = get_int(sbalways_h);
30308                    if (!v) {
30309                        emit("do-hide-hbar", "");
30310                        set_int(sbvis_h, 0);
30311                    }
30312                }
30313                set_int(sbvis_timer, 0);
30314                return 0;
30315            }
30316        }
30317        images {
30318            image: "shelf_inset.png" COMP;
30319            image: "bt_sm_base2.png" COMP;
30320            image: "bt_sm_shine.png" COMP;
30321            image: "bt_sm_hilight.png" COMP;
30322            image: "busy-1.png" COMP;
30323            image: "busy-2.png" COMP;
30324            image: "busy-3.png" COMP;
30325            image: "busy-4.png" COMP;
30326            image: "busy-5.png" COMP;
30327            image: "busy-6.png" COMP;
30328            image: "busy-7.png" COMP;
30329            image: "busy-8.png" COMP;
30330            image: "busy-9.png" COMP;
30331        }
30332        parts {
30333            part { name: "bg";
30334                type: RECT;
30335                description { state: "default" 0.0;
30336                    rel1.offset: 1 1;
30337                    rel2.offset: -2 -2;
30338                    color: 255 255 255 0;
30339                }
30340            }
30341            part { name: "clipper";
30342                type: RECT;
30343                mouse_events: 0;
30344                description { state: "default" 0.0;
30345                    rel1.to: "bg";
30346                    rel2.to: "bg";
30347                }
30348            }
30349            part { name: "elm.swallow.content";
30350                clip_to: "clipper";
30351                type: SWALLOW;
30352                description { state: "default" 0.0;
30353                    rel1.offset: 1 1;
30354                    rel2.offset: -2 -2;
30355                }
30356            }
30357            part { name: "busy_clip";
30358                type: RECT;
30359                mouse_events: 0;
30360                description { state: "default" 0.0;
30361                    visible: 0;
30362                    color: 255 255 255 0;
30363                }
30364                description { state: "active" 0.0;
30365                    visible: 1;
30366                    color: 255 255 255 255;
30367                }
30368            }
30369            part { name: "busy";
30370                clip_to: "busy_clip";
30371                mouse_events: 0;
30372                description { state: "default" 0.0;
30373                    fixed: 1 1;
30374                    min: 32 32;
30375                    aspect: 1.0 1.0;
30376                    align: 1.0 1.0;
30377                    aspect_preference: BOTH;
30378                    rel1 {
30379                        relative: 0.9 0.9;
30380                        offset:   -9 -9;
30381                    }
30382                    rel2 {
30383                        relative: 0.9 0.9;
30384                        offset:   -9 -9;
30385                    }
30386                    image {
30387                        normal: "busy-9.png";
30388                        tween:  "busy-1.png";
30389                        tween:  "busy-2.png";
30390                        tween:  "busy-3.png";
30391                        tween:  "busy-4.png";
30392                        tween:  "busy-5.png";
30393                        tween:  "busy-6.png";
30394                        tween:  "busy-7.png";
30395                        tween:  "busy-8.png";
30396                    }
30397                }
30398            }
30399            part { name: "conf_over";
30400                mouse_events:  0;
30401                description { state: "default" 0.0;
30402                    rel1.offset: 0 0;
30403                    rel2.offset: -1 -1;
30404                    image {
30405                        normal: "shelf_inset.png";
30406                        border: 7 7 7 7;
30407                        middle: 0;
30408                    }
30409                    fill.smooth : 0;
30410                }
30411            }
30412            part { name: "sb_vbar_clip_master";
30413                type: RECT;
30414                mouse_events: 0;
30415                description { state: "default" 0.0;
30416                }
30417                description { state: "hidden" 0.0;
30418                    visible: 0;
30419                    color: 255 255 255 0;
30420                }
30421            }
30422            part { name: "sb_vbar_clip";
30423                clip_to: "sb_vbar_clip_master";
30424                type: RECT;
30425                mouse_events: 0;
30426                description { state: "default" 0.0;
30427                }
30428                description { state: "hidden" 0.0;
30429                    visible: 0;
30430                    color: 255 255 255 0;
30431                }
30432            }
30433            part { name: "sb_vbar";
30434                type: RECT;
30435                mouse_events: 0;
30436                description { state: "default" 0.0;
30437                    fixed: 1 1;
30438                    visible: 0;
30439                    min: 10 17;
30440                    align: 1.0 0.0;
30441                    rel1 {
30442                        relative: 1.0 0.0;
30443                        offset:   -2 0;
30444                    }
30445                    rel2 {
30446                        relative: 1.0 0.0;
30447                        offset:   -2 -1;
30448                        to_y:     "sb_hbar";
30449                    }
30450                }
30451            }
30452            part { name: "elm.dragable.vbar";
30453                clip_to: "sb_vbar_clip";
30454                mouse_events: 0;
30455                dragable {
30456                    x: 0 0 0;
30457                    y: 1 1 0;
30458                    confine: "sb_vbar";
30459                }
30460                description { state: "default" 0.0;
30461                    fixed: 1 1;
30462                    min: 10 17;
30463                    max: 10 99999;
30464                    rel1 {
30465                        relative: 0.5  0.5;
30466                        offset:   0    0;
30467                        to: "sb_vbar";
30468                    }
30469                    rel2 {
30470                        relative: 0.5  0.5;
30471                        offset:   0    0;
30472                        to: "sb_vbar";
30473                    }
30474                    image {
30475                        normal: "bt_sm_base2.png";
30476                        border: 6 6 6 6;
30477                        middle: SOLID;
30478                    }
30479                }
30480            }
30481            part { name: "sb_vbar_over1";
30482                clip_to: "sb_vbar_clip";
30483                mouse_events: 0;
30484                description { state: "default" 0.0;
30485                    rel1.to: "elm.dragable.vbar";
30486                    rel2.relative: 1.0 0.5;
30487                    rel2.to: "elm.dragable.vbar";
30488                    image {
30489                        normal: "bt_sm_hilight.png";
30490                        border: 6 6 6 0;
30491                    }
30492                }
30493            }
30494            part { name: "sb_vbar_over2";
30495                clip_to: "sb_vbar_clip";
30496                mouse_events: 0;
30497                description { state: "default" 0.0;
30498                    rel1.to: "elm.dragable.vbar";
30499                    rel2.to: "elm.dragable.vbar";
30500                    image {
30501                        normal: "bt_sm_shine.png";
30502                        border: 6 6 6 0;
30503                    }
30504                }
30505            }
30506
30507            part { name: "sb_hbar_clip_master";
30508                type: RECT;
30509                mouse_events: 0;
30510                description { state: "default" 0.0;
30511                }
30512                description { state: "hidden" 0.0;
30513                    visible: 0;
30514                    color: 255 255 255 0;
30515                }
30516            }
30517            part { name: "sb_hbar_clip";
30518                clip_to: "sb_hbar_clip_master";
30519                type: RECT;
30520                mouse_events: 0;
30521                description { state: "default" 0.0;
30522                }
30523                description { state: "hidden" 0.0;
30524                    visible: 0;
30525                    color: 255 255 255 0;
30526                }
30527            }
30528            part { name: "sb_hbar";
30529                type: RECT;
30530                mouse_events: 0;
30531                description { state: "default" 0.0;
30532                    fixed: 1 1;
30533                    visible: 0;
30534                    min: 17 10;
30535                    align: 0.0 1.0;
30536                    rel1 {
30537                        relative: 0.0 1.0;
30538                        offset:   0 -2;
30539                    }
30540                    rel2 {
30541                        relative: 0.0 1.0;
30542                        offset:   -1 -2;
30543                        to_x:     "sb_vbar";
30544                    }
30545                }
30546            }
30547            part { name: "elm.dragable.hbar";
30548                clip_to: "sb_hbar_clip";
30549                mouse_events: 0;
30550                dragable {
30551                    x: 1 1 0;
30552                    y: 0 0 0;
30553                    confine: "sb_hbar";
30554                }
30555                description { state: "default" 0.0;
30556                    fixed: 1 1;
30557                    min: 17 10;
30558                    max: 99999 10;
30559                    rel1 {
30560                        relative: 0.5  0.5;
30561                        offset:   0    0;
30562                        to: "sb_hbar";
30563                    }
30564                    rel2 {
30565                        relative: 0.5  0.5;
30566                        offset:   0    0;
30567                        to: "sb_hbar";
30568                    }
30569                    image {
30570                        normal: "bt_sm_base2.png";
30571                        border: 4 4 4 4;
30572                        middle: SOLID;
30573                    }
30574                }
30575            }
30576            part { name: "sb_hbar_over1";
30577                clip_to: "sb_hbar_clip";
30578                mouse_events: 0;
30579                description { state: "default" 0.0;
30580                    rel1.to: "elm.dragable.hbar";
30581                    rel2.relative: 1.0 0.5;
30582                    rel2.to: "elm.dragable.hbar";
30583                    image {
30584                        normal: "bt_sm_hilight.png";
30585                        border: 4 4 4 0;
30586                    }
30587                }
30588            }
30589            part { name: "sb_hbar_over2";
30590                clip_to: "sb_hbar_clip";
30591                mouse_events: 0;
30592                description { state: "default" 0.0;
30593                    rel1.to: "elm.dragable.hbar";
30594                    rel2.to: "elm.dragable.hbar";
30595                    image {
30596                        normal: "bt_sm_shine.png";
30597                        border: 4 4 4 0;
30598                    }
30599                }
30600            }
30601        }
30602        programs {
30603            program { name: "load";
30604                signal: "load";
30605                source: "";
30606                script {
30607                    set_state(PART:"sb_hbar_clip", "hidden", 0.0);
30608                    set_state(PART:"sb_vbar_clip", "hidden", 0.0);
30609                    set_int(sbvis_h, 0);
30610                    set_int(sbvis_v, 0);
30611                    set_int(sbalways_v, 0);
30612                    set_int(sbalways_h, 0);
30613                    set_int(sbvis_timer, 0);
30614                }
30615            }
30616
30617            program { name: "vbar_show";
30618                signal: "elm,action,show,vbar";
30619                source: "elm";
30620                action:  STATE_SET "default" 0.0;
30621                target: "sb_vbar_clip_master";
30622            }
30623            program { name: "vbar_hide";
30624                signal: "elm,action,hide,vbar";
30625                source: "elm";
30626                action:  STATE_SET "hidden" 0.0;
30627                target: "sb_vbar_clip_master";
30628            }
30629            program { name: "vbar_show_always";
30630                signal: "elm,action,show_always,vbar";
30631                source: "elm";
30632                script {
30633                    new v;
30634                    v = get_int(sbvis_v);
30635                    v |= get_int(sbalways_v);
30636                    if (!v) {
30637                        set_int(sbalways_v, 1);
30638                        emit("do-show-vbar", "");
30639                        set_int(sbvis_v, 1);
30640                    }
30641                }
30642            }
30643            program { name: "vbar_show_notalways";
30644                signal: "elm,action,show_notalways,vbar";
30645                source: "elm";
30646                script {
30647                    new v;
30648                    v = get_int(sbalways_v);
30649                    if (v) {
30650                        set_int(sbalways_v, 0);
30651                        v = get_int(sbvis_v);
30652                        if (!v) {
30653                            emit("do-hide-vbar", "");
30654                            set_int(sbvis_v, 0);
30655                        }
30656                    }
30657                }
30658            }
30659            program { name: "sb_vbar_show";
30660                signal: "do-show-vbar";
30661                source: "";
30662                action:  STATE_SET "default" 0.0;
30663                transition: LINEAR 0.5;
30664                target: "sb_vbar_clip";
30665            }
30666            program { name: "sb_vbar_hide";
30667                signal: "do-hide-vbar";
30668                source: "";
30669                action:  STATE_SET "hidden" 0.0;
30670                transition: LINEAR 0.5;
30671                target: "sb_vbar_clip";
30672            }
30673
30674            program { name: "hbar_show";
30675                signal: "elm,action,show,hbar";
30676                source: "elm";
30677                action:  STATE_SET "default" 0.0;
30678                target: "sb_hbar_clip_master";
30679            }
30680            program { name: "hbar_hide";
30681                signal: "elm,action,hide,hbar";
30682                source: "elm";
30683                action:  STATE_SET "hidden" 0.0;
30684                target: "sb_hbar_clip_master";
30685            }
30686            program { name: "hbar_show_always";
30687                signal: "elm,action,show_always,hbar";
30688                source: "elm";
30689                script {
30690                    new v;
30691                    v = get_int(sbvis_h);
30692                    v |= get_int(sbalways_h);
30693                    if (!v) {
30694                        set_int(sbalways_h, 1);
30695                        emit("do-show-hbar", "");
30696                        set_int(sbvis_h, 1);
30697                    }
30698                }
30699            }
30700            program { name: "hbar_show_notalways";
30701                signal: "elm,action,show_notalways,hbar";
30702                source: "elm";
30703                script {
30704                    new v;
30705                    v = get_int(sbalways_h);
30706                    if (v) {
30707                        set_int(sbalways_h, 0);
30708                        v = get_int(sbvis_h);
30709                        if (!v) {
30710                            emit("do-hide-hbar", "");
30711                            set_int(sbvis_h, 0);
30712                        }
30713                    }
30714                }
30715            }
30716            program { name: "sb_hbar_show";
30717                signal: "do-show-hbar";
30718                source: "";
30719                action:  STATE_SET "default" 0.0;
30720                transition: LINEAR 0.5;
30721                target: "sb_hbar_clip";
30722            }
30723            program { name: "sb_hbar_hide";
30724                signal: "do-hide-hbar";
30725                source: "";
30726                action:  STATE_SET "hidden" 0.0;
30727                transition: LINEAR 0.5;
30728                target: "sb_hbar_clip";
30729            }
30730
30731            program { name: "scroll";
30732                signal: "elm,action,scroll";
30733                source: "elm";
30734                script {
30735                    new v;
30736                    v = get_int(sbvis_v);
30737                    v |= get_int(sbalways_v);
30738                    if (!v) {
30739                        emit("do-show-vbar", "");
30740                        set_int(sbvis_v, 1);
30741                    }
30742                    v = get_int(sbvis_h);
30743                    v |= get_int(sbalways_h);
30744                    if (!v) {
30745                        emit("do-show-hbar", "");
30746                        set_int(sbvis_h, 1);
30747                    }
30748                    v = get_int(sbvis_timer);
30749                    if (v > 0) cancel_timer(v);
30750                    v = timer(1.0, "timer0", 0);
30751                    set_int(sbvis_timer, v);
30752                }
30753            }
30754            program { name: "go1";
30755                signal: "elm,state,busy,start";
30756                source: "elm";
30757                action: STATE_SET "active" 0.0;
30758                transition: SINUSOIDAL 1.0;
30759                target:  "busy_clip";
30760            }
30761            program { name: "go2";
30762                signal: "elm,state,busy,start";
30763                source: "elm";
30764                action: STATE_SET "default" 0.0;
30765                transition: LINEAR 0.5;
30766                target: "busy";
30767                after:  "go2";
30768            }
30769            program { name: "stop1";
30770                signal: "elm,state,busy,stop";
30771                source: "elm";
30772                action: STATE_SET "default" 0.0;
30773                transition: SINUSOIDAL 1.0;
30774                target: "busy_clip";
30775                after: "stop2";
30776            }
30777          program { name: "stop2";
30778             action: ACTION_STOP;
30779             target: "go2";
30780          }
30781       }
30782    }
30783
30784    ///////////////////////////////////////////////////////////////////////////////
30785    group { name: "elm/map/base/default";
30786        script {
30787            public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
30788            public timer0(val) {
30789                new v;
30790                v = get_int(sbvis_v);
30791                if (v) {
30792                    v = get_int(sbalways_v);
30793                    if (!v) {
30794                        emit("do-hide-vbar", "");
30795                        set_int(sbvis_v, 0);
30796                    }
30797                }
30798                v = get_int(sbvis_h);
30799                if (v) {
30800                    v = get_int(sbalways_h);
30801                    if (!v) {
30802                        emit("do-hide-hbar", "");
30803                        set_int(sbvis_h, 0);
30804                    }
30805                }
30806                set_int(sbvis_timer, 0);
30807                return 0;
30808            }
30809        }
30810        images {
30811            image: "shelf_inset.png" COMP;
30812            image: "bt_sm_base2.png" COMP;
30813            image: "bt_sm_shine.png" COMP;
30814            image: "bt_sm_hilight.png" COMP;
30815            image: "busy-1.png" COMP;
30816            image: "busy-2.png" COMP;
30817            image: "busy-3.png" COMP;
30818            image: "busy-4.png" COMP;
30819            image: "busy-5.png" COMP;
30820            image: "busy-6.png" COMP;
30821            image: "busy-7.png" COMP;
30822            image: "busy-8.png" COMP;
30823            image: "busy-9.png" COMP;
30824        }
30825        parts {
30826            part { name: "bg";
30827                type: RECT;
30828                description { state: "default" 0.0;
30829                    rel1.offset: 1 1;
30830                    rel2.offset: -2 -2;
30831                    color: 255 255 255 0;
30832                }
30833            }
30834            part { name: "clipper";
30835                type: RECT;
30836                mouse_events: 0;
30837                description { state: "default" 0.0;
30838                    rel1.to: "bg";
30839                    rel2.to: "bg";
30840                }
30841            }
30842            part { name: "elm.swallow.content";
30843                clip_to: "clipper";
30844                type: SWALLOW;
30845                description { state: "default" 0.0;
30846                    rel1.offset: 1 1;
30847                    rel2.offset: -2 -2;
30848                }
30849            }
30850            part { name: "busy_clip";
30851                type: RECT;
30852                mouse_events: 0;
30853                description { state: "default" 0.0;
30854                    visible: 0;
30855                    color: 255 255 255 0;
30856                }
30857                description { state: "active" 0.0;
30858                    visible: 1;
30859                    color: 255 255 255 255;
30860                }
30861            }
30862            part { name: "busy";
30863                clip_to: "busy_clip";
30864                mouse_events: 0;
30865                description { state: "default" 0.0;
30866                    fixed: 1 1;
30867                    min: 32 32;
30868                    aspect: 1.0 1.0;
30869                    align: 1.0 1.0;
30870                    aspect_preference: BOTH;
30871                    rel1 {
30872                        relative: 0.9 0.9;
30873                        offset:   -9 -9;
30874                    }
30875                    rel2 {
30876                        relative: 0.9 0.9;
30877                        offset:   -9 -9;
30878                    }
30879                    image {
30880                        normal: "busy-9.png";
30881                        tween:  "busy-1.png";
30882                        tween:  "busy-2.png";
30883                        tween:  "busy-3.png";
30884                        tween:  "busy-4.png";
30885                        tween:  "busy-5.png";
30886                        tween:  "busy-6.png";
30887                        tween:  "busy-7.png";
30888                        tween:  "busy-8.png";
30889                    }
30890                }
30891            }
30892            part { name: "conf_over";
30893                mouse_events:  0;
30894                description { state: "default" 0.0;
30895                    rel1.offset: 0 0;
30896                    rel2.offset: -1 -1;
30897                    image {
30898                        normal: "shelf_inset.png";
30899                        border: 7 7 7 7;
30900                        middle: 0;
30901                    }
30902                    fill.smooth : 0;
30903                }
30904            }
30905            part { name: "sb_vbar_clip_master";
30906                type: RECT;
30907                mouse_events: 0;
30908                description { state: "default" 0.0;
30909                }
30910                description { state: "hidden" 0.0;
30911                    visible: 0;
30912                    color: 255 255 255 0;
30913                }
30914            }
30915            part { name: "sb_vbar_clip";
30916                clip_to: "sb_vbar_clip_master";
30917                type: RECT;
30918                mouse_events: 0;
30919                description { state: "default" 0.0;
30920                }
30921                description { state: "hidden" 0.0;
30922                    visible: 0;
30923                    color: 255 255 255 0;
30924                }
30925            }
30926            part { name: "sb_vbar";
30927                type: RECT;
30928                mouse_events: 0;
30929                description { state: "default" 0.0;
30930                    fixed: 1 1;
30931                    visible: 0;
30932                    min: 10 17;
30933                    align: 1.0 0.0;
30934                    rel1 {
30935                        relative: 1.0 0.0;
30936                        offset:   -2 0;
30937                    }
30938                    rel2 {
30939                        relative: 1.0 0.0;
30940                        offset:   -2 -1;
30941                        to_y:     "sb_hbar";
30942                    }
30943                }
30944            }
30945            part { name: "elm.dragable.vbar";
30946                clip_to: "sb_vbar_clip";
30947                mouse_events: 0;
30948                dragable {
30949                    x: 0 0 0;
30950                    y: 1 1 0;
30951                    confine: "sb_vbar";
30952                }
30953                description { state: "default" 0.0;
30954                    fixed: 1 1;
30955                    min: 10 17;
30956                    max: 10 99999;
30957                    rel1 {
30958                        relative: 0.5  0.5;
30959                        offset:   0    0;
30960                        to: "sb_vbar";
30961                    }
30962                    rel2 {
30963                        relative: 0.5  0.5;
30964                        offset:   0    0;
30965                        to: "sb_vbar";
30966                    }
30967                    image {
30968                        normal: "bt_sm_base2.png";
30969                        border: 6 6 6 6;
30970                        middle: SOLID;
30971                    }
30972                }
30973            }
30974            part { name: "sb_vbar_over1";
30975                clip_to: "sb_vbar_clip";
30976                mouse_events: 0;
30977                description { state: "default" 0.0;
30978                    rel1.to: "elm.dragable.vbar";
30979                    rel2.relative: 1.0 0.5;
30980                    rel2.to: "elm.dragable.vbar";
30981                    image {
30982                        normal: "bt_sm_hilight.png";
30983                        border: 6 6 6 0;
30984                    }
30985                }
30986            }
30987            part { name: "sb_vbar_over2";
30988                clip_to: "sb_vbar_clip";
30989                mouse_events: 0;
30990                description { state: "default" 0.0;
30991                    rel1.to: "elm.dragable.vbar";
30992                    rel2.to: "elm.dragable.vbar";
30993                    image {
30994                        normal: "bt_sm_shine.png";
30995                        border: 6 6 6 0;
30996                    }
30997                }
30998            }
30999
31000            part { name: "sb_hbar_clip_master";
31001                type: RECT;
31002                mouse_events: 0;
31003                description { state: "default" 0.0;
31004                }
31005                description { state: "hidden" 0.0;
31006                    visible: 0;
31007                    color: 255 255 255 0;
31008                }
31009            }
31010            part { name: "sb_hbar_clip";
31011                clip_to: "sb_hbar_clip_master";
31012                type: RECT;
31013                mouse_events: 0;
31014                description { state: "default" 0.0;
31015                }
31016                description { state: "hidden" 0.0;
31017                    visible: 0;
31018                    color: 255 255 255 0;
31019                }
31020            }
31021            part { name: "sb_hbar";
31022                type: RECT;
31023                mouse_events: 0;
31024                description { state: "default" 0.0;
31025                    fixed: 1 1;
31026                    visible: 0;
31027                    min: 17 10;
31028                    align: 0.0 1.0;
31029                    rel1 {
31030                        relative: 0.0 1.0;
31031                        offset:   0 -2;
31032                    }
31033                    rel2 {
31034                        relative: 0.0 1.0;
31035                        offset:   -1 -2;
31036                        to_x:     "sb_vbar";
31037                    }
31038                }
31039            }
31040            part { name: "elm.dragable.hbar";
31041                clip_to: "sb_hbar_clip";
31042                mouse_events: 0;
31043                dragable {
31044                    x: 1 1 0;
31045                    y: 0 0 0;
31046                    confine: "sb_hbar";
31047                }
31048                description { state: "default" 0.0;
31049                    fixed: 1 1;
31050                    min: 17 10;
31051                    max: 99999 10;
31052                    rel1 {
31053                        relative: 0.5  0.5;
31054                        offset:   0    0;
31055                        to: "sb_hbar";
31056                    }
31057                    rel2 {
31058                        relative: 0.5  0.5;
31059                        offset:   0    0;
31060                        to: "sb_hbar";
31061                    }
31062                    image {
31063                        normal: "bt_sm_base2.png";
31064                        border: 4 4 4 4;
31065                        middle: SOLID;
31066                    }
31067                }
31068            }
31069            part { name: "sb_hbar_over1";
31070                clip_to: "sb_hbar_clip";
31071                mouse_events: 0;
31072                description { state: "default" 0.0;
31073                    rel1.to: "elm.dragable.hbar";
31074                    rel2.relative: 1.0 0.5;
31075                    rel2.to: "elm.dragable.hbar";
31076                    image {
31077                        normal: "bt_sm_hilight.png";
31078                        border: 4 4 4 0;
31079                    }
31080                }
31081            }
31082            part { name: "sb_hbar_over2";
31083                clip_to: "sb_hbar_clip";
31084                mouse_events: 0;
31085                description { state: "default" 0.0;
31086                    rel1.to: "elm.dragable.hbar";
31087                    rel2.to: "elm.dragable.hbar";
31088                    image {
31089                        normal: "bt_sm_shine.png";
31090                        border: 4 4 4 0;
31091                    }
31092                }
31093            }
31094        }
31095        programs {
31096            program { name: "load";
31097                signal: "load";
31098                source: "";
31099                script {
31100                    set_state(PART:"sb_hbar_clip", "hidden", 0.0);
31101                    set_state(PART:"sb_vbar_clip", "hidden", 0.0);
31102                    set_int(sbvis_h, 0);
31103                    set_int(sbvis_v, 0);
31104                    set_int(sbalways_v, 0);
31105                    set_int(sbalways_h, 0);
31106                    set_int(sbvis_timer, 0);
31107                }
31108            }
31109
31110            program { name: "vbar_show";
31111                signal: "elm,action,show,vbar";
31112                source: "elm";
31113                action:  STATE_SET "default" 0.0;
31114                target: "sb_vbar_clip_master";
31115            }
31116            program { name: "vbar_hide";
31117                signal: "elm,action,hide,vbar";
31118                source: "elm";
31119                action:  STATE_SET "hidden" 0.0;
31120                target: "sb_vbar_clip_master";
31121            }
31122            program { name: "vbar_show_always";
31123                signal: "elm,action,show_always,vbar";
31124                source: "elm";
31125                script {
31126                    new v;
31127                    v = get_int(sbvis_v);
31128                    v |= get_int(sbalways_v);
31129                    if (!v) {
31130                        set_int(sbalways_v, 1);
31131                        emit("do-show-vbar", "");
31132                        set_int(sbvis_v, 1);
31133                    }
31134                }
31135            }
31136            program { name: "vbar_show_notalways";
31137                signal: "elm,action,show_notalways,vbar";
31138                source: "elm";
31139                script {
31140                    new v;
31141                    v = get_int(sbalways_v);
31142                    if (v) {
31143                        set_int(sbalways_v, 0);
31144                        v = get_int(sbvis_v);
31145                        if (!v) {
31146                            emit("do-hide-vbar", "");
31147                            set_int(sbvis_v, 0);
31148                        }
31149                    }
31150                }
31151            }
31152            program { name: "sb_vbar_show";
31153                signal: "do-show-vbar";
31154                source: "";
31155                action:  STATE_SET "default" 0.0;
31156                transition: LINEAR 0.5;
31157                target: "sb_vbar_clip";
31158            }
31159            program { name: "sb_vbar_hide";
31160                signal: "do-hide-vbar";
31161                source: "";
31162                action:  STATE_SET "hidden" 0.0;
31163                transition: LINEAR 0.5;
31164                target: "sb_vbar_clip";
31165            }
31166
31167            program { name: "hbar_show";
31168                signal: "elm,action,show,hbar";
31169                source: "elm";
31170                action:  STATE_SET "default" 0.0;
31171                target: "sb_hbar_clip_master";
31172            }
31173            program { name: "hbar_hide";
31174                signal: "elm,action,hide,hbar";
31175                source: "elm";
31176                action:  STATE_SET "hidden" 0.0;
31177                target: "sb_hbar_clip_master";
31178            }
31179            program { name: "hbar_show_always";
31180                signal: "elm,action,show_always,hbar";
31181                source: "elm";
31182                script {
31183                    new v;
31184                    v = get_int(sbvis_h);
31185                    v |= get_int(sbalways_h);
31186                    if (!v) {
31187                        set_int(sbalways_h, 1);
31188                        emit("do-show-hbar", "");
31189                        set_int(sbvis_h, 1);
31190                    }
31191                }
31192            }
31193            program { name: "hbar_show_notalways";
31194                signal: "elm,action,show_notalways,hbar";
31195                source: "elm";
31196                script {
31197                    new v;
31198                    v = get_int(sbalways_h);
31199                    if (v) {
31200                        set_int(sbalways_h, 0);
31201                        v = get_int(sbvis_h);
31202                        if (!v) {
31203                            emit("do-hide-hbar", "");
31204                            set_int(sbvis_h, 0);
31205                        }
31206                    }
31207                }
31208            }
31209            program { name: "sb_hbar_show";
31210                signal: "do-show-hbar";
31211                source: "";
31212                action:  STATE_SET "default" 0.0;
31213                transition: LINEAR 0.5;
31214                target: "sb_hbar_clip";
31215            }
31216            program { name: "sb_hbar_hide";
31217                signal: "do-hide-hbar";
31218                source: "";
31219                action:  STATE_SET "hidden" 0.0;
31220                transition: LINEAR 0.5;
31221                target: "sb_hbar_clip";
31222            }
31223
31224            program { name: "scroll";
31225                signal: "elm,action,scroll";
31226                source: "elm";
31227                script {
31228                    new v;
31229                    v = get_int(sbvis_v);
31230                    v |= get_int(sbalways_v);
31231                    if (!v) {
31232                        emit("do-show-vbar", "");
31233                        set_int(sbvis_v, 1);
31234                    }
31235                    v = get_int(sbvis_h);
31236                    v |= get_int(sbalways_h);
31237                    if (!v) {
31238                        emit("do-show-hbar", "");
31239                        set_int(sbvis_h, 1);
31240                    }
31241                    v = get_int(sbvis_timer);
31242                    if (v > 0) cancel_timer(v);
31243                    v = timer(1.0, "timer0", 0);
31244                    set_int(sbvis_timer, v);
31245                }
31246            }
31247            program { name: "go1";
31248                signal: "elm,state,busy,start";
31249                source: "elm";
31250                action: STATE_SET "active" 0.0;
31251                transition: SINUSOIDAL 1.0;
31252                target:  "busy_clip";
31253            }
31254            program { name: "go2";
31255                signal: "elm,state,busy,start";
31256                source: "elm";
31257                action: STATE_SET "default" 0.0;
31258                transition: LINEAR 0.5;
31259                target: "busy";
31260                after:  "go2";
31261            }
31262            program { name: "stop1";
31263                signal: "elm,state,busy,stop";
31264                source: "elm";
31265                action: STATE_SET "default" 0.0;
31266                transition: SINUSOIDAL 1.0;
31267                target: "busy_clip";
31268                after: "stop2";
31269            }
31270          program { name: "stop2";
31271             action: ACTION_STOP;
31272             target: "go2";
31273          }
31274       }
31275    }
31276    group { name: "elm/map/marker/radio/default";
31277         data {
31278             item: size_w 24;
31279             item: size_h 24;
31280             item: size_max_w 58;
31281             item: size_max_h 58;
31282         }
31283         images {
31284                 image: "map_item.png" COMP;
31285         }
31286         parts {
31287             part { name: "whole";
31288                 description { state: "default" 0.0;
31289                 }
31290             }
31291             part { name: "base";
31292                 ignore_flags: ON_HOLD;
31293                 description { state: "default" 0.0;
31294                     image.normal: "map_item.png";
31295                 }
31296             }
31297             part { name: "elm.icon";
31298                 type: SWALLOW;
31299                 clip_to: "whole";
31300                 mouse_events:  0;
31301                 description { state: "default" 0.0;
31302                     rel1.relative: 0.27 0.27;
31303                     rel2.relative: 0.73 0.73;
31304                 }
31305             }
31306             part { name: "elm.text";
31307                 type:          TEXT;
31308                 effect:        SOFT_SHADOW;
31309                 mouse_events:  0;
31310                 scale: 1;
31311                 description { state: "default" 0.0;
31312                     align:    0.5 0.5;
31313                     color: 224 224 224 255;
31314                     color3: 0 0 0 64;
31315                     rel1.relative: 0.28 0.25;
31316                     rel2.relative: 0.75 0.75;
31317                     text {
31318                         font:     "Sans,Edje-Vera";
31319                         size:     10;
31320                         min:      0 0;
31321                         align:    0.5 0.5;
31322                     }
31323                 }
31324             }
31325        }
31326        programs {
31327             program { name: "open";
31328                 signal: "mouse,clicked,1";
31329                 source: "base";
31330                 action: SIGNAL_EMIT "open" "elm";
31331             }
31332             program { name: "bringin";
31333                 signal: "mouse,down,1,double";
31334                 source: "base";
31335                 action: SIGNAL_EMIT "bringin" "elm";
31336             }
31337        }
31338    }
31339    group { name: "elm/map/marker/radio2/default";
31340         data {
31341             item: size_w 24;
31342             item: size_h 24;
31343             item: size_max_w 58;
31344             item: size_max_h 58;
31345         }
31346         images {
31347                 image: "map_item_2.png" COMP;
31348         }
31349         parts {
31350             part { name: "base";
31351                 ignore_flags: ON_HOLD;
31352                 description { state: "default" 0.0;
31353                     image.normal: "map_item_2.png";
31354                 }
31355             }
31356             part { name: "elm.text";
31357                 type:          TEXT;
31358                 effect:        SOFT_SHADOW;
31359                 mouse_events:  0;
31360                 scale: 1;
31361                 description { state: "default" 0.0;
31362                     align:    0.5 0.5;
31363                     color: 224 224 224 255;
31364                     color3: 0 0 0 64;
31365                     rel1.relative: 0.28 0.25;
31366                     rel2.relative: 0.75 0.75;
31367                     text {
31368                         font:     "Sans,Edje-Vera";
31369                         size:     10;
31370                         min:      0 0;
31371                         align:    0.5 0.5;
31372                     }
31373                 }
31374             }
31375        }
31376        programs {
31377             program { name: "open";
31378                 signal: "mouse,clicked,1";
31379                 source: "base";
31380                 action: SIGNAL_EMIT "open" "elm";
31381             }
31382             program { name: "bringin";
31383                 signal: "mouse,down,1,double";
31384                 source: "base";
31385                 action: SIGNAL_EMIT "bringin" "elm";
31386             }
31387        }
31388    }
31389    group { name: "elm/map/marker/empty/default";
31390         data {
31391             item: size_w 22;
31392             item: size_h 22;
31393             item: size_max_w 64;
31394             item: size_max_h 64;
31395         }
31396         parts {
31397             part { name: "whole";
31398                 description { state: "default" 0.0;
31399                 }
31400             }
31401             part { name: "base";
31402                 ignore_flags: ON_HOLD;
31403                 description { state: "default" 0.0;
31404                 }
31405             }
31406             part { name: "elm.icon";
31407                 type: SWALLOW;
31408                 clip_to: "whole";
31409                 mouse_events:  0;
31410                 description { state: "default" 0.0;
31411                 }
31412             }
31413             part { name: "elm.text";
31414                 type:          TEXT;
31415                 effect:        SOFT_SHADOW;
31416                 mouse_events:  0;
31417                 scale: 1;
31418                 description { state: "default" 0.0;
31419                     align:    0.5 0.5;
31420                     color: 224 224 224 255;
31421                     color3: 0 0 0 64;
31422                     rel1.relative: 0.28 0.25;
31423                     rel2.relative: 0.75 0.75;
31424                     text {
31425                         font:     "Sans,Edje-Vera";
31426                         size:     10;
31427                         min:      0 0;
31428                         align:    0.5 0.5;
31429                     }
31430                 }
31431             }
31432        }
31433        programs {
31434             program { name: "open";
31435                 signal: "mouse,clicked,1";
31436                 source: "base";
31437                 action: SIGNAL_EMIT "open" "elm";
31438             }
31439             program { name: "bringin";
31440                 signal: "mouse,down,1,double";
31441                 source: "base";
31442                 action: SIGNAL_EMIT "bringin" "elm";
31443             }
31444        }
31445    }
31446    group { name: "elm/map/marker_bubble/default";
31447     images {
31448       image: "bubble.png" COMP;
31449       image: "bubble_shine.png" COMP;
31450     }
31451     data {
31452             item: size_w 400;
31453             item: size_h 100;
31454         }
31455     parts {
31456     part { name: "clipper";
31457         mouse_events:  1;
31458         description { state: "default" 0.0;
31459           color: 255 255 255 0;
31460         }
31461         description { state: "show" 0.0;
31462             inherit: "default" 0.0;
31463             color: 255 255 255 255;
31464         }
31465       }
31466      part { name: "base0";
31467         mouse_events:  0;
31468         clip_to: "clipper";
31469         description { state: "default" 0.0;
31470           image {
31471             normal: "bubble.png";
31472             border: 11 36 10 19;
31473           }
31474           image.middle: SOLID;
31475           fill.smooth: 0;
31476         }
31477         description { state: "rtl" 0.0;
31478            inherit: "default" 0.0;
31479            image {
31480               normal: "bubble_4.png";
31481               border: 11 36 18 9;
31482            }
31483         }
31484       }
31485       part { name: "elm.swallow.content";
31486         type: SWALLOW;
31487         clip_to: "clipper";
31488         description { state: "default" 0.0;
31489             align: 0.5 0.5;
31490           rel1 {
31491             offset: 9 8;
31492           }
31493           rel2 {
31494             offset: -10 -17;
31495           }
31496         }
31497       }
31498       part { name: "shine";
31499         mouse_events:  0;
31500         clip_to: "clipper";
31501         description { state:    "default" 0.0;
31502           rel1 {
31503             to: "base0";
31504           }
31505           rel2 {
31506             to: "base0";
31507             relative: 1.0 0.5;
31508           }
31509           image {
31510             normal: "bubble_shine.png";
31511             border: 5 5 5 0;
31512           }
31513           fill.smooth: 0;
31514         }
31515         }
31516     }
31517     programs {
31518         program { name: "show";
31519             signal: "show";
31520             action: STATE_SET "show" 0.0;
31521             target: "clipper";
31522             transition: ACCELERATE 0.5;
31523         }
31524     }
31525   }
31526
31527 /////////////////////////////////////////////////////////////////////////////
31528 // PANES
31529 /////////////////////////////////////////////////////////////////////////////
31530   group {
31531      name: "elm/panes/vertical/default";
31532       images {
31533          image: "bt_base1.png" COMP;
31534          image: "bt_base2.png" COMP;
31535          image: "bt_hilight.png" COMP;
31536          image: "bt_shine.png" COMP;
31537          image: "bt_glow.png" COMP;
31538          image: "bt_dis_base.png" COMP;
31539          image: "bt_dis_hilight.png" COMP;
31540          image: "arrow_right.png" COMP;
31541          image: "arrow_left.png" COMP;
31542       }
31543      parts
31544        {
31545           part
31546             {
31547                name: "whole";
31548                type: RECT;
31549                mouse_events: 0;
31550                description
31551                  {
31552                     state: "default" 0.0;
31553                     visible: 0;
31554                  }
31555             }
31556
31557          //2 contents
31558           part
31559             {
31560                name: "whole_left";
31561                type: RECT;
31562                mouse_events: 0;
31563                description
31564                  {
31565                     state: "default" 0.0;
31566                     rel2.to_x: "elm.bar";
31567                     rel2.relative: 0.0 1.0;
31568                     visible: 1;
31569                  }
31570             }
31571           part
31572             {
31573                name: "elm.swallow.left";
31574                type: SWALLOW;
31575                clip_to: "whole_left";
31576                description
31577                  {
31578                     state: "default" 0.0;
31579                     rel1.to: "whole_left";
31580                     rel2.to: "whole_left";
31581                  }
31582             }
31583
31584             part
31585             {
31586                name: "whole_right";
31587                type: RECT;
31588                mouse_events: 0;
31589                description
31590                  {
31591                     state: "default" 0.0;
31592                     rel1.to_x: "elm.bar";
31593                     rel1.relative: 1.0 0.0;
31594                     visible: 1;
31595                  }
31596             }
31597           part
31598             {
31599                name: "elm.swallow.right";
31600                type: SWALLOW;
31601                clip_to: "whole_right";
31602                description
31603                  {
31604                     state: "default" 0.0;
31605                     rel1.to: "whole_right";
31606                     rel2.to: "whole_right";
31607                  }
31608             }
31609          //BAR
31610          part { name: "elm.bar";
31611             mouse_events: 1;
31612             dragable {
31613                confine: "whole";
31614                x: 1 1 1;
31615                y: 0 0 0;
31616             }
31617             description { state: "default" 0.0;
31618                max: 15 9999;
31619                min: 15 100;
31620                rel1.relative: 0.0 0.5;
31621                rel2.relative: 1.0 0.5;
31622                image {
31623                   normal: "bt_base2.png";
31624                   border: 7 7 7 7;
31625                }
31626                image.middle: SOLID;
31627             }
31628             description { state: "clicked" 0.0;
31629                inherit: "default" 0.0;
31630                image.normal: "bt_base1.png";
31631                image.middle: SOLID;
31632             }
31633             description { state: "disabled" 0.0;
31634                inherit:  "default" 0.0;
31635                image {
31636                   normal: "bt_dis_base.png";
31637                   border: 4 4 4 4;
31638                }
31639             }
31640          }
31641          part {          name: "over1";
31642             mouse_events: 0;
31643             description { state: "default" 0.0;
31644             rel1.to: "elm.bar";
31645             rel2.to: "elm.bar";
31646                rel2.relative: 1.0 0.5;
31647                image {
31648                   normal: "bt_hilight.png";
31649                   border: 7 7 7 0;
31650                }
31651             }
31652             description { state: "disabled" 0.0;
31653                inherit:  "default" 0.0;
31654                image {
31655                   normal: "bt_dis_hilight.png";
31656                   border: 4 4 4 0;
31657                }
31658             }
31659          }
31660          part { name: "over2";
31661             mouse_events: 1;
31662             repeat_events: 1;
31663             ignore_flags: ON_HOLD;
31664             description { state: "default" 0.0;
31665             rel1.to: "elm.bar";
31666             rel2.to: "elm.bar";
31667                image {
31668                   normal: "bt_shine.png";
31669                   border: 7 7 7 7;
31670                }
31671             }
31672             description { state: "disabled" 0.0;
31673                inherit:  "default" 0.0;
31674                visible: 0;
31675             }
31676          }
31677          part { name: "over3";
31678             mouse_events: 1;
31679             repeat_events: 1;
31680             description { state: "default" 0.0;
31681                color: 255 255 255 0;
31682             rel1.to: "elm.bar";
31683             rel2.to: "elm.bar";
31684                image {
31685                   normal: "bt_glow.png";
31686                   border: 12 12 12 12;
31687                }
31688                fill.smooth : 0;
31689             }
31690             description { state: "clicked" 0.0;
31691                inherit:  "default" 0.0;
31692                visible: 1;
31693                color: 255 255 255 255;
31694             }
31695          }
31696
31697          //Arrow
31698          part {
31699             name: "arrow_right";
31700             repeat_events: 1;
31701             description { state: "default" 0.0;
31702                 min: 45 45;
31703                 max: 45 45;
31704                 color: 255 255 255 0;
31705
31706                 rel1.relative: 1.0 0.5;
31707                 rel1.to_x: "elm.bar";
31708                 rel1.offset: 45/2 -45/2;
31709
31710                 rel2.relative: 1.0 0.5;
31711                 rel2.to_x: "elm.bar";
31712                 rel2.offset: 45/2 45/2;
31713
31714                 image.normal: "arrow_right.png";
31715
31716                 fixed: 1 1;
31717             }
31718             description { state: "default" 0.1;
31719                 inherit: "default" 0.0;
31720                 image.normal: "arrow_left.png";
31721             }
31722             description { state: "anim_1" 0.0;
31723                 inherit: "default" 0.0;
31724                 color: 255 255 255 200;
31725                 rel1.offset: (45/2 + 10) -45/2;
31726                 rel2.offset: (45/2 +10) 45/2;
31727             }
31728             description { state: "anim_1" 0.1;
31729                 inherit: "default" 0.0;
31730                 image.normal: "arrow_left.png";
31731                 color: 255 255 255 200;
31732                 rel1.offset: (45/2 + 10) -45/2;
31733                 rel2.offset: (45/2 +10) 45/2;
31734             }
31735             description { state: "anim_2" 0.0;
31736                 inherit: "default" 0.0;
31737                 color: 255 255 255 0;
31738                 rel1.offset: (45/2 + 20) -45/2;
31739                 rel2.offset: (45/2 + 20) 45/2;
31740             }
31741             description { state: "anim_2" 0.1;
31742                 inherit: "default" 0.0;
31743                 image.normal: "arrow_left.png";
31744                 color: 255 255 255 0;
31745                 rel1.offset: (45/2 + 20) -45/2;
31746                 rel2.offset: (45/2 + 20) 45/2;
31747             }
31748          }
31749         part {
31750             name: "arrow_left";
31751             repeat_events: 1;
31752             description { state: "default" 0.0;
31753                 min: 45 45;
31754                 max: 45 45;
31755                 color: 255 255 255 0;
31756
31757                 rel1.relative: 0.0 0.5;
31758                 rel1.to_x: "elm.bar";
31759                 rel1.offset: -45/2 -45/2;
31760
31761                 rel2.relative: 0.0 0.5;
31762                 rel2.to_x: "elm.bar";
31763                 rel2.offset: -45/2 45/2;
31764
31765                 image.normal: "arrow_left.png";
31766
31767                 fixed: 1 1;
31768             }
31769             description { state: "default" 0.1;
31770                 inherit: "default" 0.0;
31771                 image.normal: "arrow_right.png";
31772             }
31773             description { state: "anim_1" 0.0;
31774                 inherit: "default" 0.0;
31775                 color: 255 255 255 200;
31776                 rel1.offset: (-45/2 - 10) -45/2;
31777                 rel2.offset: (-45/2 - 10) 45/2;
31778             }
31779             description { state: "anim_1" 0.1;
31780                 inherit: "default" 0.0;
31781                 image.normal: "arrow_right.png";
31782                 color: 255 255 255 200;
31783                 rel1.offset: (-45/2 - 10) -45/2;
31784                 rel2.offset: (-45/2 - 10) 45/2;
31785             }
31786             description { state: "anim_2" 0.0;
31787                 inherit: "default" 0.0;
31788                 color: 255 255 255 0;
31789                 rel1.offset: (-45/2 - 20) -45/2;
31790                 rel2.offset: (-45/2 - 20) 45/2;
31791             }
31792             description { state: "anim_2" 0.1;
31793                 inherit: "default" 0.0;
31794                 image.normal: "arrow_right.png";
31795                 color: 255 255 255 0;
31796                 rel1.offset: (-45/2 - 20) -45/2;
31797                 rel2.offset: (-45/2 - 20) 45/2;
31798             }
31799          }
31800
31801        }
31802         programs {
31803          program {
31804             name:   "button_click";
31805             signal: "mouse,down,1";
31806             source: "over2";
31807             action: SIGNAL_EMIT "elm,action,press" "";
31808             after: "button_click_anim";
31809             after: "arrow_anim_start";
31810          }
31811          program {
31812             name:   "button_click_anim";
31813             action: STATE_SET "clicked" 0.0;
31814             target: "elm.bar";
31815          }
31816          program {
31817             name:   "button_unclick";
31818             signal: "mouse,up,1";
31819             source: "over2";
31820             action: SIGNAL_EMIT "elm,action,unpress" "";
31821             after: "button_unclick_anim";
31822             after: "arrow_anim_stop";
31823          }
31824          program {
31825             name:   "button_unclick_anim";
31826             action: STATE_SET "default" 0.0;
31827             target: "elm.bar";
31828          }
31829          program {
31830             name:   "button_click2";
31831             signal: "mouse,down,1";
31832             source: "over3";
31833             action: STATE_SET "clicked" 0.0;
31834             target: "over3";
31835          }
31836          program {
31837             name:   "button_unclick2";
31838             signal: "mouse,up,1";
31839             source: "over3";
31840             action: STATE_SET "default" 0.0;
31841             transition: DECELERATE 0.5;
31842             target: "over3";
31843          }
31844          program {
31845             name:   "button_unclick3";
31846             signal: "mouse,up,1";
31847             source: "over2";
31848             action: SIGNAL_EMIT "elm,action,click" "";
31849          }
31850          program {
31851             name:   "button_down_double";
31852             signal: "mouse,down,1,double";
31853             source: "over3";
31854             action: SIGNAL_EMIT "elm,action,click,double" "";
31855          }
31856
31857          //arrows animation
31858          program {
31859             name: "arrow_anim_start";
31860             script {
31861                new st[31];
31862                new Float:vl;
31863                get_state(PART:"arrow_left", st, 30, vl);
31864                if (vl == 0.0) {
31865                   run_program(PROGRAM:"arrow_anim_start_ltr");
31866                }
31867                else {
31868                   run_program(PROGRAM:"arrow_anim_start_rtl");
31869                }
31870             }
31871          }
31872          program {
31873             name: "arrow_anim_stop";
31874             script {
31875                new st[31];
31876                new Float:vl;
31877                get_state(PART:"arrow_left", st, 30, vl);
31878                if (vl == 0.0) {
31879                   run_program(PROGRAM:"arrow_anim_stop_ltr");
31880                }
31881                else {
31882                   run_program(PROGRAM:"arrow_anim_stop_rtl");
31883                }
31884             }
31885          }
31886
31887          program {
31888             name: "arrow_anim_start_ltr";
31889             action: STATE_SET "anim_1" 0.0;
31890             target: "arrow_right";
31891             target: "arrow_left";
31892             transition: LINEAR 0.6;
31893             after: "arrow_anim_1_ltr";
31894          }
31895          program {
31896             name: "arrow_anim_1_ltr";
31897             action: STATE_SET "anim_2" 0.0;
31898             target: "arrow_right";
31899             target: "arrow_left";
31900             transition: LINEAR 0.6;
31901             after: "arrow_anim_2_ltr";
31902          }
31903          program {
31904             name: "arrow_anim_2_ltr";
31905             action: STATE_SET "default" 0.0;
31906             target: "arrow_right";
31907             target: "arrow_left";
31908             after: "arrow_anim_start_ltr";
31909          }
31910          program {
31911             name: "arrow_anim_stop_ltr";
31912             action: ACTION_STOP;
31913             target: "arrow_anim_start_ltr";
31914             target: "arrow_anim_1_ltr";
31915             target: "arrow_anim_2_ltr";
31916             after: "arrow_anim_stop_1_ltr";
31917          }
31918          program {
31919             name: "arrow_anim_stop_1_ltr";
31920             action: STATE_SET "default" 0.0;
31921             target: "arrow_right";
31922             target: "arrow_left";
31923             transition: DECELERATE 0.4;
31924         }
31925          program {
31926             name: "arrow_anim_start_rtl";
31927             action: STATE_SET "anim_1" 0.1;
31928             target: "arrow_right";
31929             target: "arrow_left";
31930             transition: LINEAR 0.6;
31931             after: "arrow_anim_1_rtl";
31932          }
31933          program {
31934             name: "arrow_anim_1_rtl";
31935             action: STATE_SET "anim_2" 0.1;
31936             target: "arrow_right";
31937             target: "arrow_left";
31938             transition: LINEAR 0.6;
31939             after: "arrow_anim_2_rtl";
31940          }
31941          program {
31942             name: "arrow_anim_2_rtl";
31943             action: STATE_SET "default" 0.1;
31944             target: "arrow_right";
31945             target: "arrow_left";
31946             after: "arrow_anim_start_rtl";
31947          }
31948          program {
31949             name: "arrow_anim_stop_rtl";
31950             action: ACTION_STOP;
31951             target: "arrow_anim_start_rtl";
31952             target: "arrow_anim_1_rtl";
31953             target: "arrow_anim_2_rtl";
31954             after: "arrow_anim_stop_1_rtl";
31955          }
31956          program {
31957             name: "arrow_anim_stop_1_rtl";
31958             action: STATE_SET "default" 0.1;
31959             target: "arrow_right";
31960             target: "arrow_left";
31961             transition: DECELERATE 0.4;
31962         }
31963          program { name: "to_rtl";
31964             signal: "edje,state,rtl";
31965             source: "edje";
31966             script {
31967                new st[31];
31968                new Float:vl;
31969                get_state(PART:"arrow_left", st, 30, vl);
31970                if (vl == 0.0) {
31971                   set_state(PART:"arrow_left", st, 0.1);
31972                }
31973                get_state(PART:"arrow_right", st, 30, vl);
31974                if (vl == 0.0) {
31975                   set_state(PART:"arrow_right", st, 0.1);
31976                }
31977             }
31978          }
31979          program { name: "to_ltr";
31980             signal: "edje,state,ltr";
31981             source: "edje";
31982             script {
31983                new st[31];
31984                new Float:vl;
31985                get_state(PART:"arrow_left", st, 30, vl);
31986                if (vl == 0.1) {
31987                   set_state(PART:"arrow_left", st, 0.0);
31988                }
31989                get_state(PART:"arrow_right", st, 30, vl);
31990                if (vl == 0.1) {
31991                   set_state(PART:"arrow_right", st, 0.0);
31992                }
31993             }
31994          }
31995       }
31996   }
31997
31998   group {
31999      name: "elm/panes/horizontal/default";
32000       images {
32001          image: "bt_base1.png" COMP;
32002          image: "bt_base2.png" COMP;
32003          image: "bt_hilight.png" COMP;
32004          image: "bt_shine.png" COMP;
32005          image: "bt_glow.png" COMP;
32006          image: "bt_dis_base.png" COMP;
32007          image: "bt_dis_hilight.png" COMP;
32008          image: "arrow_up.png" COMP;
32009          image: "arrow_down.png" COMP;
32010       }
32011      parts
32012        {
32013           part
32014             {
32015                name: "whole";
32016                type: RECT;
32017                mouse_events: 0;
32018                description
32019                  {
32020                     state: "default" 0.0;
32021                     visible: 0;
32022                  }
32023             }
32024
32025          //2 contents
32026           part
32027             {
32028                name: "whole_left";
32029                type: RECT;
32030                mouse_events: 0;
32031                description
32032                  {
32033                     state: "default" 0.0;
32034                     rel2.to_y: "elm.bar";
32035                     rel2.relative: 1.0 0.0;
32036                     visible: 1;
32037                  }
32038             }
32039           part
32040             {
32041                name: "elm.swallow.left";
32042                type: SWALLOW;
32043                clip_to: "whole_left";
32044                description
32045                  {
32046                     state: "default" 0.0;
32047                     rel1.to: "whole_left";
32048                     rel2.to: "whole_left";
32049                  }
32050             }
32051
32052             part
32053             {
32054                name: "whole_right";
32055                type: RECT;
32056                mouse_events: 0;
32057                description
32058                  {
32059                     state: "default" 0.0;
32060                     rel1.to_y: "elm.bar";
32061                     rel1.relative: 0.0 1.0;
32062                     visible: 1;
32063                  }
32064             }
32065           part
32066             {
32067                name: "elm.swallow.right";
32068                type: SWALLOW;
32069                clip_to: "whole_right";
32070                description
32071                  {
32072                     state: "default" 0.0;
32073                     rel1.to: "whole_right";
32074                     rel2.to: "whole_right";
32075                  }
32076             }
32077          //BAR
32078          part { name: "elm.bar";
32079             mouse_events: 1;
32080             dragable {
32081                confine: "whole";
32082                x: 0 0 0;
32083                y: 1 1 1;
32084             }
32085             description { state: "default" 0.0;
32086                max: 999 15;
32087                min: 100 15;
32088                rel1.relative: 0.5 0.0;
32089                rel2.relative: 0.5 1.0;
32090                image {
32091                   normal: "bt_base2.png";
32092                   border: 7 7 7 7;
32093                }
32094                image.middle: SOLID;
32095             }
32096             description { state: "clicked" 0.0;
32097                inherit: "default" 0.0;
32098                image.normal: "bt_base1.png";
32099                image.middle: SOLID;
32100             }
32101             description { state: "disabled" 0.0;
32102                inherit:  "default" 0.0;
32103                image {
32104                   normal: "bt_dis_base.png";
32105                   border: 4 4 4 4;
32106                }
32107             }
32108          }
32109          part {          name: "over1";
32110             mouse_events: 0;
32111             description { state: "default" 0.0;
32112             rel1.to: "elm.bar";
32113             rel2.to: "elm.bar";
32114                rel2.relative: 1.0 0.5;
32115                image {
32116                   normal: "bt_hilight.png";
32117                   border: 7 7 7 0;
32118                }
32119             }
32120             description { state: "disabled" 0.0;
32121                inherit:  "default" 0.0;
32122                image {
32123                   normal: "bt_dis_hilight.png";
32124                   border: 4 4 4 0;
32125                }
32126             }
32127          }
32128          part { name: "over2";
32129             mouse_events: 1;
32130             repeat_events: 1;
32131             ignore_flags: ON_HOLD;
32132             description { state: "default" 0.0;
32133             rel1.to: "elm.bar";
32134             rel2.to: "elm.bar";
32135                image {
32136                   normal: "bt_shine.png";
32137                   border: 7 7 7 7;
32138                }
32139             }
32140             description { state: "disabled" 0.0;
32141                inherit:  "default" 0.0;
32142                visible: 0;
32143             }
32144          }
32145          part { name: "over3";
32146             mouse_events: 1;
32147             repeat_events: 1;
32148             description { state: "default" 0.0;
32149                color: 255 255 255 0;
32150             rel1.to: "elm.bar";
32151             rel2.to: "elm.bar";
32152                image {
32153                   normal: "bt_glow.png";
32154                   border: 12 12 12 12;
32155                }
32156                fill.smooth : 0;
32157             }
32158             description { state: "clicked" 0.0;
32159                inherit:  "default" 0.0;
32160                visible: 1;
32161                color: 255 255 255 255;
32162             }
32163          }
32164
32165          //Arrow
32166          part {
32167             name: "arrow_right";
32168             repeat_events: 1;
32169             description { state: "default" 0.0;
32170                 min: 45 45;
32171                 max: 45 45;
32172                 color: 255 255 255 0;
32173
32174                 rel1.relative: 0.5 1.0;
32175                 rel1.to_y: "elm.bar";
32176                 rel1.offset: -45/2 45/2;
32177
32178                 rel2.relative: 0.5 1.0;
32179                 rel2.to_y: "elm.bar";
32180                 rel2.offset: 45/2 45/2;
32181
32182                 image.normal: "arrow_down.png";
32183
32184                 fixed: 1 1;
32185             }
32186             description { state: "anim_1" 0.0;
32187                 inherit: "default" 0.0;
32188                 color: 255 255 255 200;
32189                 rel1.offset: -45/2 (45/2 +10);
32190                 rel2.offset: 45/2 (45/2 +10);
32191             }
32192             description { state: "anim_2" 0.0;
32193                 inherit: "default" 0.0;
32194                 color: 255 255 255 0;
32195                 rel1.offset: -45/2 (45/2 + 20);
32196                 rel2.offset: 45/2 (45/2 + 20);
32197             }
32198          }
32199         part {
32200             name: "arrow_left";
32201             repeat_events: 1;
32202             description { state: "default" 0.0;
32203                 min: 45 45;
32204                 max: 45 45;
32205                 color: 255 255 255 0;
32206
32207                 rel1.relative: 0.5 0.0;
32208                 rel1.to_y: "elm.bar";
32209                 rel1.offset: -45/2 -45/2;
32210
32211                 rel2.relative: 0.5 0.0;
32212                 rel2.to_y: "elm.bar";
32213                 rel2.offset: 45/2 -45/2;
32214
32215                 image.normal: "arrow_up.png";
32216
32217                 fixed: 1 1;
32218             }
32219             description { state: "anim_1" 0.0;
32220                 inherit: "default" 0.0;
32221                 color: 255 255 255 200;
32222                 rel1.offset: -45/2 (-45/2 - 10);
32223                 rel2.offset: 45/2 (-45/2 - 10);
32224             }
32225             description { state: "anim_2" 0.0;
32226                 inherit: "default" 0.0;
32227                 color: 255 255 255 0;
32228                 rel1.offset: -45/2 (-45/2 - 20);
32229                 rel2.offset: 45/2 (-45/2 - 20);
32230             }
32231          }
32232
32233        }
32234         programs {
32235          program {
32236             name:   "button_click";
32237             signal: "mouse,down,1";
32238             source: "over2";
32239             action: SIGNAL_EMIT "elm,action,press" "";
32240             after: "button_click_anim";
32241             after: "arrow_anim_start";
32242          }
32243          program {
32244             name:   "button_click_anim";
32245             action: STATE_SET "clicked" 0.0;
32246             target: "elm.bar";
32247          }
32248          program {
32249             name:   "button_unclick";
32250             signal: "mouse,up,1";
32251             source: "over2";
32252             action: SIGNAL_EMIT "elm,action,unpress" "";
32253             after: "button_unclick_anim";
32254             after: "arrow_anim_stop";
32255          }
32256          program {
32257             name:   "button_unclick_anim";
32258             action: STATE_SET "default" 0.0;
32259             target: "elm.bar";
32260          }
32261          program {
32262             name:   "button_click2";
32263             signal: "mouse,down,1";
32264             source: "over3";
32265             action: STATE_SET "clicked" 0.0;
32266             target: "over3";
32267          }
32268          program {
32269             name:   "button_unclick2";
32270             signal: "mouse,up,1";
32271             source: "over3";
32272             action: STATE_SET "default" 0.0;
32273             transition: DECELERATE 0.5;
32274             target: "over3";
32275          }
32276          program {
32277             name:   "button_unclick3";
32278             signal: "mouse,up,1";
32279             source: "over2";
32280             action: SIGNAL_EMIT "elm,action,click" "";
32281          }
32282          program {
32283             name:   "button_down_double";
32284             signal: "mouse,down,1,double";
32285             source: "over3";
32286             action: SIGNAL_EMIT "elm,action,click,double" "";
32287          }
32288
32289          //arrows animation
32290          program {
32291             name: "arrow_anim_start";
32292             action: STATE_SET "anim_1" 0.0;
32293             target: "arrow_right";
32294             target: "arrow_left";
32295             transition: LINEAR 0.6;
32296             after: "arrow_anim_1";
32297          }
32298          program {
32299             name: "arrow_anim_1";
32300             action: STATE_SET "anim_2" 0.0;
32301             target: "arrow_right";
32302             target: "arrow_left";
32303             transition: LINEAR 0.6;
32304             after: "arrow_anim_2";
32305          }
32306          program {
32307             name: "arrow_anim_2";
32308             action: STATE_SET "default" 0.0;
32309             target: "arrow_right";
32310             target: "arrow_left";
32311             after: "arrow_anim_start";
32312          }
32313          program {
32314             name: "arrow_anim_stop";
32315             action: ACTION_STOP;
32316             target: "arrow_anim_start";
32317             target: "arrow_anim_1";
32318             target: "arrow_anim_2";
32319             after: "arrow_anim_stop_1";
32320          }
32321          program {
32322             name: "arrow_anim_stop_1";
32323             action: STATE_SET "default" 0.0;
32324             target: "arrow_right";
32325             target: "arrow_left";
32326             transition: DECELERATE 0.4;
32327         }
32328       }
32329   }
32330
32331
32332
32333 /////////////////////////////////////////////////////////////////////////////
32334 // PANEL
32335 /////////////////////////////////////////////////////////////////////////////
32336   group {
32337      name: "elm/panel/base/left";
32338      alias: "elm/panel/base/top";
32339      images
32340        {
32341           image: "bt_base1.png" COMP;
32342           image: "bt_hilight.png" COMP;
32343           image: "bt_shine.png" COMP;
32344           image: "bt_glow.png" COMP;
32345           image: "bt_dis_base.png" COMP;
32346           image: "icon_arrow_left.png" COMP;
32347           image: "icon_arrow_right.png" COMP;
32348        }
32349        data {
32350           item: "focus_highlight" "on";
32351        }
32352      parts
32353        {
32354             part { name: "focus_highlight";
32355                description { state: "default" 0.0;
32356                   visible: 0;
32357                   color: 255 255 255 0;
32358                   rel1 {
32359                      to: "btn";
32360                      offset: -8 -8;
32361                   }
32362                   rel2 {
32363                      to: "btn";
32364                      offset: 7 7;
32365                   }
32366                   image {
32367                      normal: "frame_2.png";
32368                      border: 5 5 32 26;
32369                      middle: 0;
32370                   }
32371                }
32372                description { state: "enabled" 0.0;
32373                   inherit: "default" 0.0;
32374                   visible: 1;
32375                   color: 255 255 255 255;
32376                }
32377             }
32378           part
32379             {
32380                name: "bg";
32381                type: RECT;
32382                mouse_events: 0;
32383                description
32384                  {
32385                     state: "default" 0.0;
32386                     color: 255 255 255 0;
32387                     rel1.relative: 0.0 0.0;
32388                     rel1.offset: 0 0;
32389                     rel2.relative: 1.0 1.0;
32390                     rel2.offset: -1 -1;
32391                  }
32392                description
32393                  {
32394                     state: "hidden" 0.0;
32395                     inherit: "default" 0.0;
32396                     rel1.relative: -1.0 0.0;
32397                     rel1.offset: 21 0;
32398                     rel2.relative: 0.0 1.0;
32399                     rel2.offset: 20 -1;
32400                  }
32401             }
32402           part
32403             {
32404                name: "base";
32405                type: IMAGE;
32406                mouse_events: 0;
32407                description
32408                  {
32409                     state: "default" 0.0;
32410                     rel1.to: "bg";
32411                     rel2.to: "bg";
32412                     rel2.offset: -20 -1;
32413                     image
32414                       {
32415                          normal: "bt_dis_base.png";
32416                          border: 4 4 4 4;
32417                       }
32418                  }
32419             }
32420           part
32421             {
32422                name: "clipper";
32423                type: RECT;
32424                mouse_events: 0;
32425                description
32426                  {
32427                     state: "default" 0.0;
32428                     rel1
32429                       {
32430                          offset: 4 4;
32431                          to: "base";
32432                       }
32433                     rel2
32434                       {
32435                          offset: -5 -5;
32436                          to: "base";
32437                       }
32438                  }
32439             }
32440           part
32441             {
32442                name: "elm.swallow.content";
32443                type: SWALLOW;
32444                clip_to: "clipper";
32445                description
32446                  {
32447                     state: "default" 0.0;
32448                     rel1.to: "clipper";
32449                     rel2.to: "clipper";
32450                  }
32451             }
32452           part
32453             {
32454                name: "btn";
32455                type: IMAGE;
32456                mouse_events: 1;
32457                description
32458                  {
32459                     state: "default" 0.0;
32460                     max: 32 48;
32461                     fixed: 1 1;
32462                     align: 0.0 0.5;
32463                     rel1
32464                       {
32465                          relative: 1.0 0.0;
32466                          offset: -3 0;
32467                          to_x: "base";
32468                       }
32469                     rel2.to_x: "bg";
32470                     image
32471                       {
32472                          normal: "bt_base1.png";
32473                          border: 0 5 4 12;
32474                       }
32475                     fill.smooth: 0;
32476                  }
32477                description
32478                  {
32479                     state: "clicked" 0.0;
32480                     inherit: "default" 0.0;
32481                  }
32482             }
32483           part
32484             {
32485                name: "btn_over";
32486                type: IMAGE;
32487                mouse_events: 0;
32488                description
32489                  {
32490                     state: "default" 0.0;
32491                     rel1.to: "btn";
32492                     rel2
32493                       {
32494                          relative: 1.0 0.5;
32495                          to: "btn";
32496                       }
32497                     image
32498                       {
32499                          normal: "bt_hilight.png";
32500                          border: 0 7 7 0;
32501                       }
32502                  }
32503             }
32504           part
32505             {
32506                name: "btn_over2";
32507                type: IMAGE;
32508                mouse_events: 1;
32509                repeat_events: 1;
32510                ignore_flags: ON_HOLD;
32511                description
32512                  {
32513                     state: "default" 0.0;
32514                     rel1.to: "btn";
32515                     rel2.to: "btn";
32516                     image
32517                       {
32518                          normal: "bt_shine.png";
32519                          border: 0 7 7 7;
32520                     }
32521                  }
32522             }
32523           part
32524             {
32525                name: "btn_over3";
32526                type: IMAGE;
32527                mouse_events: 1;
32528                repeat_events: 1;
32529                description
32530                  {
32531                     state: "default" 0.0;
32532                     color: 255 255 255 0;
32533                     rel1.to: "btn";
32534                     rel2.to: "btn";
32535                     image
32536                       {
32537                        normal: "bt_glow.png";
32538                        border: 12 12 12 12;
32539                     }
32540                   fill.smooth: 0;
32541                }
32542              description
32543                {
32544                   state: "clicked" 0.0;
32545                   inherit: "default" 0.0;
32546                   visible: 1;
32547                   color: 255 255 255 255;
32548                }
32549             }
32550           part
32551             {
32552                name: "btn_icon";
32553                type: IMAGE;
32554                repeat_events: 1;
32555                description
32556                  {
32557                     state: "default" 0.0;
32558                     rel1.to: "btn";
32559                     rel2.to: "btn";
32560                     align: 0.5 0.5;
32561                     min: 16 16;
32562                     max: 16 16;
32563                     image.normal: "icon_arrow_left.png";
32564                  }
32565                description
32566                  {
32567                     state: "hidden" 0.0;
32568                     inherit: "default" 0.0;
32569                     image.normal: "icon_arrow_right.png";
32570                  }
32571             }
32572        }
32573      programs
32574        {
32575           program
32576             {
32577                name: "show";
32578                signal: "elm,action,show";
32579                source: "elm";
32580                action: STATE_SET "default" 0.0;
32581                target: "bg";
32582                target: "btn_icon";
32583                transition: LINEAR 0.5;
32584             }
32585           program
32586             {
32587                name: "hide";
32588                signal: "elm,action,hide";
32589                source: "elm";
32590                action: STATE_SET "hidden" 0.0;
32591                target: "bg";
32592                target: "btn_icon";
32593                transition: LINEAR 0.5;
32594             }
32595           program
32596             {
32597                name: "btn_click";
32598                signal: "mouse,down,1";
32599                source: "btn_over2";
32600                action: STATE_SET "clicked" 0.0;
32601                target: "btn";
32602             }
32603           program
32604             {
32605                name: "btn_unclick";
32606                signal: "mouse,up,1";
32607                source: "btn_over2";
32608                action: STATE_SET "default" 0.0;
32609                target: "btn";
32610             }
32611           program
32612             {
32613                name: "btn_click2";
32614                signal: "mouse,down,1";
32615                source: "btn_over3";
32616                action: STATE_SET "clicked" 0.0;
32617                target: "btn_over3";
32618             }
32619           program
32620             {
32621                name: "btn_unclick2";
32622                signal: "mouse,up,1";
32623                source: "btn_over3";
32624                action: STATE_SET "default" 0.0;
32625                transition: DECELERATE 0.5;
32626                target: "btn_over3";
32627             }
32628           program
32629             {
32630                name: "btn_unclick3";
32631                signal: "mouse,clicked,1";
32632                source: "btn_over2";
32633                action: SIGNAL_EMIT "elm,action,panel,toggle" "";
32634             }
32635          program { name: "highlight_show";
32636             signal: "elm,action,focus_highlight,show";
32637             source: "elm";
32638             action: STATE_SET "enabled" 0.0;
32639             transition: ACCELERATE 0.3;
32640             target: "focus_highlight";
32641          }
32642          program { name: "highlight_hide";
32643             signal: "elm,action,focus_highlight,hide";
32644             source: "elm";
32645             action: STATE_SET "default" 0.0;
32646             transition: DECELERATE 0.3;
32647             target: "focus_highlight";
32648          }
32649        }
32650   }
32651
32652   group {
32653      name: "elm/panel/base/right";
32654      alias: "elm/panel/base/bottom";
32655      images
32656        {
32657           image: "bt_base1.png" COMP;
32658           image: "bt_hilight.png" COMP;
32659           image: "bt_shine.png" COMP;
32660           image: "bt_glow.png" COMP;
32661           image: "bt_dis_base.png" COMP;
32662           image: "icon_arrow_left.png" COMP;
32663           image: "icon_arrow_right.png" COMP;
32664        }
32665      parts
32666        {
32667             part { name: "focus_highlight";
32668                description { state: "default" 0.0;
32669                   visible: 0;
32670                   color: 255 255 255 0;
32671                   rel1 {
32672                      to: "btn";
32673                      offset: -8 -8;
32674                   }
32675                   rel2 {
32676                      to: "btn";
32677                      offset: 7 7;
32678                   }
32679                   image {
32680                      normal: "frame_2.png";
32681                      border: 5 5 32 26;
32682                      middle: 0;
32683                   }
32684                }
32685                description { state: "enabled" 0.0;
32686                   inherit: "default" 0.0;
32687                   visible: 1;
32688                   color: 255 255 255 255;
32689                }
32690             }
32691           part
32692             {
32693                name: "bg";
32694                type: RECT;
32695                mouse_events: 0;
32696                description
32697                  {
32698                     state: "default" 0.0;
32699                     color: 255 255 255 0;
32700                     rel1.relative: 0.0 0.0;
32701                     rel1.offset: 0 0;
32702                     rel2.relative: 1.0 1.0;
32703                     rel2.offset: -1 -1;
32704                  }
32705                description
32706                  {
32707                     state: "hidden" 0.0;
32708                     inherit: "default" 0.0;
32709                     rel1.relative: 1.0 0.0;
32710                     rel1.offset: -22 0;
32711                     rel2.relative: 2.0 1.0;
32712                     rel2.offset: -23 -1;
32713                  }
32714             }
32715           part
32716             {
32717                name: "base";
32718                type: IMAGE;
32719                mouse_events: 0;
32720                description
32721                  {
32722                     state: "default" 0.0;
32723                     rel1.to: "bg";
32724                     rel1.offset: 20 0;
32725                     rel2.to: "bg";
32726                     image
32727                       {
32728                          normal: "bt_dis_base.png";
32729                          border: 4 4 4 4;
32730                       }
32731                  }
32732             }
32733           part
32734             {
32735                name: "clipper";
32736                type: RECT;
32737                mouse_events: 0;
32738                description
32739                  {
32740                     state: "default" 0.0;
32741                     rel1
32742                       {
32743                          offset: 4 4;
32744                          to: "base";
32745                       }
32746                     rel2
32747                       {
32748                          offset: -5 -5;
32749                          to: "base";
32750                       }
32751                  }
32752             }
32753           part
32754             {
32755                name: "elm.swallow.content";
32756                type: SWALLOW;
32757                clip_to: "clipper";
32758                description
32759                  {
32760                     state: "default" 0.0;
32761                     rel1.to: "clipper";
32762                     rel2.to: "clipper";
32763                  }
32764             }
32765           part
32766             {
32767                name: "btn";
32768                type: IMAGE;
32769                mouse_events: 1;
32770                description
32771                  {
32772                     state: "default" 0.0;
32773                     max: 32 48;
32774                     fixed: 1 1;
32775                     align: 1 0.5;
32776                     rel1
32777                       {
32778                          to_x: "bg";
32779                       }
32780                     rel2
32781                       {
32782                          offset: 2 0;
32783                          relative: 0.0 1;
32784                          to_x: "base";
32785                       }
32786                     image
32787                       {
32788                          normal: "bt_base1.png";
32789                          border: 5 0 4 12;
32790                       }
32791                     fill.smooth: 0;
32792                  }
32793                description
32794                  {
32795                     state: "clicked" 0.0;
32796                     inherit: "default" 0.0;
32797                  }
32798             }
32799           part
32800             {
32801                name: "btn_over";
32802                type: IMAGE;
32803                mouse_events: 0;
32804                description
32805                  {
32806                     state: "default" 0.0;
32807                     rel1.to: "btn";
32808                     rel2
32809                       {
32810                          relative: 1.0 0.5;
32811                          to: "btn";
32812                       }
32813                     image
32814                       {
32815                          normal: "bt_hilight.png";
32816                          border: 7 0 7 0;
32817                       }
32818                  }
32819             }
32820           part
32821             {
32822                name: "btn_over2";
32823                type: IMAGE;
32824                mouse_events: 1;
32825                repeat_events: 1;
32826                ignore_flags: ON_HOLD;
32827                description
32828                  {
32829                     state: "default" 0.0;
32830                     rel1.to: "btn";
32831                     rel2.to: "btn";
32832                     image
32833                       {
32834                          normal: "bt_shine.png";
32835                          border: 7 0 7 7;
32836                     }
32837                  }
32838             }
32839           part
32840             {
32841                name: "btn_over3";
32842                type: IMAGE;
32843                mouse_events: 1;
32844                repeat_events: 1;
32845                description
32846                  {
32847                     state: "default" 0.0;
32848                     color: 255 255 255 0;
32849                     rel1.to: "btn";
32850                     rel2.to: "btn";
32851                     image
32852                       {
32853                        normal: "bt_glow.png";
32854                        border: 12 12 12 12;
32855                     }
32856                   fill.smooth: 0;
32857                }
32858              description
32859                {
32860                   state: "clicked" 0.0;
32861                   inherit: "default" 0.0;
32862                   visible: 1;
32863                   color: 255 255 255 255;
32864                }
32865             }
32866           part
32867             {
32868                name: "btn_icon";
32869                type: IMAGE;
32870                repeat_events: 1;
32871                description
32872                  {
32873                     state: "default" 0.0;
32874                     rel1.to: "btn";
32875                     rel2.to: "btn";
32876                     align: 0.5 0.5;
32877                     min: 16 16;
32878                     max: 16 16;
32879                     image.normal: "icon_arrow_right.png";
32880                  }
32881                description
32882                  {
32883                     state: "hidden" 0.0;
32884                     inherit: "default" 0.0;
32885                     image.normal: "icon_arrow_left.png";
32886                  }
32887             }
32888        }
32889      programs
32890        {
32891           program
32892             {
32893                name: "show";
32894                signal: "elm,action,show";
32895                source: "elm";
32896                action: STATE_SET "default" 0.0;
32897                target: "bg";
32898                target: "btn_icon";
32899                transition: LINEAR 0.5;
32900             }
32901           program
32902             {
32903                name: "hide";
32904                signal: "elm,action,hide";
32905                source: "elm";
32906                action: STATE_SET "hidden" 0.0;
32907                target: "bg";
32908                target: "btn_icon";
32909                transition: LINEAR 0.5;
32910             }
32911           program
32912             {
32913                name: "btn_click";
32914                signal: "mouse,down,1";
32915                source: "btn_over2";
32916                action: STATE_SET "clicked" 0.0;
32917                target: "btn";
32918             }
32919           program
32920             {
32921                name: "btn_unclick";
32922                signal: "mouse,up,1";
32923                source: "btn_over2";
32924                action: STATE_SET "default" 0.0;
32925                target: "btn";
32926             }
32927           program
32928             {
32929                name: "btn_click2";
32930                signal: "mouse,down,1";
32931                source: "btn_over3";
32932                action: STATE_SET "clicked" 0.0;
32933                target: "btn_over3";
32934             }
32935           program
32936             {
32937                name: "btn_unclick2";
32938                signal: "mouse,up,1";
32939                source: "btn_over3";
32940                action: STATE_SET "default" 0.0;
32941                transition: DECELERATE 0.5;
32942                target: "btn_over3";
32943             }
32944           program
32945             {
32946                name: "btn_unclick3";
32947                signal: "mouse,up,1";
32948                source: "btn_over2";
32949                action: SIGNAL_EMIT "elm,action,panel,toggle" "";
32950             }
32951          program { name: "highlight_show";
32952             signal: "elm,action,focus";
32953             source: "elm";
32954             action: STATE_SET "enabled" 0.0;
32955             transition: ACCELERATE 0.3;
32956             target: "focus_highlight";
32957          }
32958          program { name: "highlight_hide";
32959             signal: "elm,action,unfocus";
32960             source: "elm";
32961             action: STATE_SET "default" 0.0;
32962             transition: DECELERATE 0.3;
32963             target: "focus_highlight";
32964          }
32965        }
32966   }
32967
32968 ///////////////////////////////////////////////////////////////////////////////
32969   group { name: "elm/conformant/base/default";
32970      parts {
32971         part { name: "elm.swallow.shelf";
32972            type: SWALLOW;
32973            description { state: "default" 0.0;
32974               fixed: 0 1;
32975               align: 0.0 0.0;
32976               rel2.relative: 1.0 0.0;
32977            }
32978         }
32979         part { name: "elm.swallow.content";
32980            type: SWALLOW;
32981            description { state: "default" 0.0;
32982               fixed: 0 1;
32983               align: 0.5 0.5;
32984               rel1.relative: 0.0 1.0;
32985               rel1.to_y: "elm.swallow.shelf";
32986               rel2.relative: 1.0 0.0;
32987               rel2.to_y: "elm.swallow.virtualkeypad";
32988            }
32989         }
32990         part { name: "elm.swallow.virtualkeypad";
32991            type: SWALLOW;
32992            description { state: "default" 0.0;
32993               fixed: 0 1;
32994               align: 0.0 1.0;
32995               rel2.relative: 1.0 0.0;
32996               rel2.to_y: "elm.swallow.panel";
32997            }
32998         }
32999         part { name: "elm.swallow.panel";
33000            type: SWALLOW;
33001            description { state: "default" 0.0;
33002               fixed: 0 1;
33003               align: 0.0 1.0;
33004               rel1.relative: 0.0 1.0;
33005            }
33006         }
33007      }
33008   }
33009
33010 /////////////////////////////////////////////////////////////////////////////
33011 // CALENDAR
33012 /////////////////////////////////////////////////////////////////////////////
33013 #define CH(_pos) \
33014          part { name: "ch_"#_pos".base"; \
33015             type: RECT; \
33016             description { state: "default" 0.0; \
33017                rel1 { \
33018                   relative: (_pos % 7 * 7 / 8 / 6) 0; \
33019                   to: "header"; \
33020                } \
33021                rel2 { \
33022                   relative: (_pos % 7 * 7 / 8 / 6 + 1 / 8) 1; \
33023                   to: "header"; \
33024                } \
33025                color: 0 0 0 0; \
33026                visible: 0; \
33027             } \
33028          } \
33029          part { name: "ch_"#_pos".text"; \
33030             type: TEXT; \
33031             effect: SOFT_SHADOW; \
33032             mouse_events: 0; \
33033             scale: 1; \
33034             clip_to: "ch_"#_pos".clipper"; \
33035             description { \
33036                state: "default" 0.0; \
33037                rel1.to: "ch_"#_pos".base"; \
33038                rel2.to: "ch_"#_pos".base"; \
33039                color: 0 0 0 255; \
33040                color3: 0 0 0 0; \
33041                text { \
33042                   font: "Sans"; \
33043                   size: 10; \
33044                   min: 1 1; \
33045                   align: 0.5 0.5; \
33046                } \
33047             } \
33048          } \
33049          part { name: "ch_"#_pos".clipper"; \
33050             type: RECT; \
33051             description { state: "default" 0.0; \
33052                rel1.to: "ch_"#_pos".base"; \
33053                rel2.to: "ch_"#_pos".base"; \
33054             } \
33055          }
33056
33057 #define CIT(_pos) \
33058          part { name: "cit_"#_pos".rect"; \
33059             type: RECT; \
33060             description { state: "default" 0.0; \
33061                rel1 { \
33062                   relative: (_pos % 7 * 7 / 8 / 6) \
33063                             (_pos / 8 / 5 - _pos % 7 / 8 / 5); \
33064                   to: "base"; \
33065                } \
33066                rel2 { \
33067                   relative: (_pos % 7 * 7 / 8 / 6 + 1 / 8) \
33068                             (_pos / 8 / 5 - _pos % 7 / 8 / 5 + 1 / 8); \
33069                   to: "base"; \
33070                } \
33071                color: 0 0 0 0; \
33072                visible: 0; \
33073             } \
33074          } \
33075          part { \
33076             name: "cit_"#_pos".event"; \
33077             type: RECT; \
33078             repeat_events: 1; \
33079             description { \
33080                rel1.to: "cit_"#_pos".rect"; \
33081                rel2.to: "cit_"#_pos".rect"; \
33082                state: "default" 0.0; \
33083                color: 0 0 0 0; \
33084             } \
33085          } \
33086          part { name: "cit_"#_pos".shelf"; \
33087             type: RECT; \
33088             mouse_events: 0; \
33089             description { state: "default" 0.0; \
33090                rel1 { \
33091                   to: "cit_"#_pos".bg"; \
33092                   offset: -1 -1; \
33093                } \
33094                rel2 { \
33095                   to: "cit_"#_pos".bg"; \
33096                } \
33097                color: 200 200 200 255; \
33098             } \
33099          } \
33100          part { name: "cit_"#_pos".hd"; \
33101             type: RECT; \
33102             mouse_events: 0; \
33103             description { state: "default" 0.0; \
33104                rel1 { \
33105                   to: "cit_"#_pos".bg"; \
33106                   offset: -1 -1; \
33107                } \
33108                rel2 { \
33109                   to: "cit_"#_pos".bg"; \
33110                } \
33111                visible: 0; \
33112                color: 160 0 0 255; \
33113             } \
33114             description { state: "visible" 0.0; \
33115                inherit: "default" 0.0; \
33116                visible: 1; \
33117             } \
33118          } \
33119          part { \
33120             name: "cit_"#_pos".base_sh"; \
33121             mouse_events: 0; \
33122             description { \
33123                state: "default" 0.0; \
33124                align: 0.0 0.0; \
33125                min: 0 1; \
33126                rel1 { \
33127                   to: "cit_"#_pos".base"; \
33128                   relative: 0.0 1.0; \
33129                   offset: 0 0; \
33130                } \
33131                rel2 { \
33132                   to: "cit_"#_pos".base"; \
33133                   relative: 1.0 1.05; \
33134                   offset: -1 0; \
33135                } \
33136                image { \
33137                   normal: "ilist_item_shadow.png"; \
33138                } \
33139                fill.smooth: 0; \
33140             } \
33141          } \
33142          part { \
33143             name: "cit_"#_pos".base"; \
33144             mouse_events: 0; \
33145             description { \
33146                state: "default" 0.0; \
33147                rel1.to: "cit_"#_pos".rect"; \
33148                rel2.to: "cit_"#_pos".rect"; \
33149                rel2.offset: -1 -1; \
33150                image { \
33151                   normal: "ilist_1.png"; \
33152                   border: 2 2 2 2; \
33153                } \
33154                fill.smooth: 0; \
33155             } \
33156             description { \
33157                state: "today" 0.0; \
33158                inherit: "default" 0.0; \
33159                image.normal: "ilist_2.png"; \
33160                color: 240 240 240 255; \
33161             } \
33162          } \
33163          part { name: "cit_"#_pos".bg"; \
33164             mouse_events: 0; \
33165             description { state: "default" 0.0; \
33166                visible: 0; \
33167                color: 255 255 255 0; \
33168                rel1 { \
33169                   to: "cit_"#_pos".rect"; \
33170                   relative: 0.0 0.0; \
33171                } \
33172                rel2 { \
33173                   to: "cit_"#_pos".rect"; \
33174                   relative: 1.0 1.0; \
33175                   offset: -1 -1; \
33176                } \
33177                image { \
33178                   normal: "bt_sm_base1.png"; \
33179                   border: 6 6 6 6; \
33180                } \
33181                image.middle: SOLID; \
33182             } \
33183             description { state: "selected" 0.0; \
33184                inherit: "default" 0.0; \
33185                visible: 1; \
33186                color: 255 255 255 255; \
33187             } \
33188          } \
33189          part { name: "cit_"#_pos".text"; \
33190             type: TEXT; \
33191             effect: SOFT_SHADOW; \
33192             mouse_events: 0; \
33193             scale: 1; \
33194             description { \
33195                state: "default" 0.0; \
33196                rel1.to: "cit_"#_pos".bg"; \
33197                rel2.to: "cit_"#_pos".bg"; \
33198                color: 0 0 0 255; \
33199                color3: 0 0 0 0; \
33200                text { \
33201                   font: "Sans"; \
33202                   size: 10; \
33203                   min: 1 1; \
33204                   align: 0.5 0.5; \
33205                } \
33206             } \
33207             description { state: "selected" 0.0; \
33208                inherit: "default" 0.0; \
33209                color: 224 224 224 255; \
33210                color3: 0 0 0 64; \
33211             } \
33212          } \
33213          part { name: "cit_"#_pos".fg1"; \
33214             mouse_events: 0; \
33215             description { state: "default" 0.0; \
33216                visible: 0; \
33217                color: 255 255 255 0; \
33218                rel1.to: "cit_"#_pos".bg"; \
33219                rel2.relative: 1.0 0.5; \
33220                rel2.to: "cit_"#_pos".bg"; \
33221                image { \
33222                   normal: "bt_sm_hilight.png"; \
33223                   border: 6 6 6 0; \
33224                } \
33225             } \
33226             description { state: "selected" 0.0; \
33227                inherit: "default" 0.0; \
33228                visible: 1; \
33229                color: 255 255 255 255; \
33230             } \
33231          } \
33232          part { name: "cit_"#_pos".fg2"; \
33233             mouse_events: 0; \
33234             description { state: "default" 0.0; \
33235                visible: 0; \
33236                color: 255 255 255 0; \
33237                rel1.to: "cit_"#_pos".bg"; \
33238                rel2.to: "cit_"#_pos".bg"; \
33239                image { \
33240                   normal: "bt_sm_shine.png"; \
33241                   border: 6 6 6 0; \
33242                } \
33243             } \
33244             description { state: "selected" 0.0; \
33245                inherit: "default" 0.0; \
33246                visible: 1; \
33247                color: 255 255 255 255; \
33248             } \
33249          } \
33250          part { name: "cit_"#_pos".check"; \
33251             mouse_events: 0; \
33252             description { state: "default" 0.0; \
33253                rel1 { \
33254                   to: "cit_"#_pos".bg"; \
33255                   relative: 0.7 0.6; \
33256                   offset: 1 1; \
33257                } \
33258                rel2 { \
33259                   to: "cit_"#_pos".bg"; \
33260                   relative: 1.1 1.2; \
33261                   offset: -2 -2; \
33262                } \
33263                aspect: 1 1; \
33264                visible: 0; \
33265                color: 255 0 0 255; \
33266                image.normal: "check.png"; \
33267             } \
33268             description { state: "visible" 0.0; \
33269                inherit: "default" 0.0; \
33270                visible: 1; \
33271             } \
33272          } \
33273       programs { \
33274          program { \
33275             name:    "cit_"#_pos".go_active"; \
33276             signal:  "cit_"#_pos",selected"; \
33277             source:  "elm"; \
33278             action:  STATE_SET "selected" 0.0; \
33279             target:  "cit_"#_pos".bg"; \
33280             target:  "cit_"#_pos".fg1"; \
33281             target:  "cit_"#_pos".fg2"; \
33282             target:  "cit_"#_pos".text"; \
33283          } \
33284          program { \
33285             name:    "cit_"#_pos".go_passive"; \
33286             signal:  "cit_"#_pos",unselected"; \
33287             source:  "elm"; \
33288             action:  STATE_SET "default" 0.0; \
33289             target:  "cit_"#_pos".bg"; \
33290             target:  "cit_"#_pos".fg1"; \
33291             target:  "cit_"#_pos".fg2"; \
33292             target:  "cit_"#_pos".text"; \
33293          } \
33294          program { \
33295             name:    "cit_"#_pos".is_today"; \
33296             signal:  "cit_"#_pos",today"; \
33297             source:  "elm"; \
33298             action:  STATE_SET "today" 0.0; \
33299             target: "cit_"#_pos".base"; \
33300          } \
33301          program { \
33302             name:    "cit_"#_pos".not_today"; \
33303             signal:  "cit_"#_pos",not_today"; \
33304             source:  "elm"; \
33305             action:  STATE_SET "default" 0.0; \
33306             target: "cit_"#_pos".base"; \
33307          } \
33308          program { \
33309             source: "cit_"#_pos".clicked"; \
33310             signal: "mouse,clicked,1"; \
33311             source: "cit_"#_pos".event"; \
33312             action: SIGNAL_EMIT "elm,action,selected" #_pos; \
33313          } \
33314          program { \
33315             name:    "cit_"#_pos".clear"; \
33316             signal:  "cit_"#_pos",clear"; \
33317             source:  "elm"; \
33318             action:  STATE_SET "default" 0.0; \
33319             target: "cit_"#_pos".check"; \
33320             target: "cit_"#_pos".hd"; \
33321          } \
33322          program { \
33323             name:    "cit_"#_pos".checked"; \
33324             signal:  "cit_"#_pos",checked"; \
33325             source:  "elm"; \
33326             action:  STATE_SET "visible" 0.0; \
33327             target: "cit_"#_pos".check"; \
33328          } \
33329          program { \
33330             name:    "cit_"#_pos".holiday"; \
33331             signal:  "cit_"#_pos",holiday"; \
33332             source:  "elm"; \
33333             action:  STATE_SET "visible" 0.0; \
33334             target: "cit_"#_pos".hd"; \
33335          } \
33336       }
33337
33338    group { name: "elm/calendar/base/default";
33339        images {
33340            image: "shelf_inset.png" COMP;
33341            image: "bt_base1.png" COMP;
33342            image: "bt_hilight.png" COMP;
33343            image: "bt_shine.png" COMP;
33344            image: "bt_glow.png" COMP;
33345            image: "bt_dis_base.png" COMP;
33346            image: "bt_dis_hilight.png" COMP;
33347            image: "sp_bt_l.png" COMP;
33348            image: "sp_bt_r.png" COMP;
33349            image: "bt_sm_base1.png" COMP;
33350            image: "bt_sm_shine.png" COMP;
33351            image: "bt_sm_hilight.png" COMP;
33352            image: "ilist_1.png" COMP;
33353            image: "ilist_2.png" COMP;
33354            image: "ilist_item_shadow.png" COMP;
33355            image: "check.png" COMP;
33356        }
33357        parts {
33358            part { name: "bg";
33359                type: RECT;
33360                description { state: "default" 0.0;
33361                    min: 0 30;
33362                    rel1.offset: 1 1;
33363                    rel2.offset: -2 -2;
33364                    color: 255 255 255 0;
33365                    align: 0.0 0.5;
33366                }
33367            }
33368            part { name: "spinner-base";
33369                type: RECT;
33370                mouse_events: 0;
33371                description { state: "default" 0.0;
33372                    min: 24 24;
33373                    max: 999999 24;
33374                    rel1.to: "bg";
33375                    rel1.offset: 6 6;
33376                    rel2.to: "bg";
33377                    rel2.offset: -7 -7;
33378                    color: 255 255 255 0;
33379                    align: 0.0 0.0;
33380                }
33381            }
33382            part { name: "conf_over_spinner";
33383                mouse_events:  0;
33384                description { state: "default" 0.0;
33385                    rel1.to: "spinner-base";
33386                    rel1.offset: -3 -3;
33387                    rel2.to: "spinner-base";
33388                    rel2.offset: 2 2;
33389                    image {
33390                        normal: "shelf_inset.png";
33391                        border: 7 7 7 7;
33392                        middle: 0;
33393                    }
33394                    fill.smooth : 0;
33395                }
33396            }
33397            part { name: "table-base";
33398                type: RECT;
33399                mouse_events: 0;
33400                description { state: "default" 0.0;
33401                    min: 256 220;
33402                    rel1.to_x: "bg";
33403                    rel1.to_y: "spinner-base";
33404                    rel1.offset: 6 6;
33405                    rel1.relative: 0 1;
33406                    rel2.to: "bg";
33407                    rel2.offset: -7 -7;
33408                    color: 255 255 255 0;
33409                }
33410            }
33411            part { name: "conf_over_table";
33412                mouse_events:  0;
33413                description { state: "default" 0.0;
33414                    rel1.to: "table-base";
33415                    rel1.offset: -3 -3;
33416                    rel2.to: "table-base";
33417                    rel2.offset: 2 2;
33418                    image {
33419                        normal: "shelf_inset.png";
33420                        border: 7 7 7 7;
33421                        middle: 0;
33422                    }
33423                    fill.smooth : 0;
33424                }
33425            }
33426            part { name: "header";
33427                type: RECT;
33428                mouse_events: 0;
33429                description { state: "default" 0.0;
33430                    rel1.to: "table-base";
33431                    rel1.relative: 0 0;
33432                    rel2.to: "table-base";
33433                    rel2.relative: 1 0.1;
33434                    color: 255 255 255 0;
33435                }
33436            }
33437            part { name: "base";
33438                type: RECT;
33439                mouse_events: 0;
33440                description { state: "default" 0.0;
33441                    rel1.to_x: "table-base";
33442                    rel1.to_y: "header";
33443                    rel1.relative: 0 1;
33444                    rel1.offset: 3 0;
33445                    rel2.to: "table-base";
33446                    rel2.offset: -3 0;
33447                    color: 255 255 255 0;
33448                }
33449            }
33450            part { name: "left_bt";
33451                mouse_events:  1;
33452                description { state: "default" 0.0;
33453                    rel1 { to: "spinner-base";
33454                        offset: 2 2;
33455                    }
33456                    rel2 { to: "spinner-base";
33457                        offset: -3 -3;
33458                    }
33459                    align: 0.0 0.5;
33460                    min: 24 24;
33461                    max: 24 24;
33462                    fixed: 1 1;
33463                    image {
33464                        normal: "bt_base1.png";
33465                        border: 6 6 6 6;
33466                    }
33467                    fill.smooth : 0;
33468                }
33469                description { state: "clicked" 0.0;
33470                    inherit: "default" 0.0;
33471                    image.normal: "bt_base1.png";
33472                    image.middle: SOLID;
33473                }
33474            }
33475            part { name: "left_over1";
33476                mouse_events: 0;
33477                description { state: "default" 0.0;
33478                    rel1.to: "left_bt";
33479                    rel2 { to: "left_bt";
33480                        relative: 1.0 0.5;
33481                    }
33482                    image {
33483                        normal: "bt_hilight.png";
33484                        border: 7 7 7 0;
33485                    }
33486                }
33487            }
33488            part { name: "left_over2";
33489                mouse_events: 1;
33490                repeat_events: 1;
33491                description { state: "default" 0.0;
33492                    rel1.to: "left_bt";
33493                    rel2.to: "left_bt";
33494                    image {
33495                        normal: "bt_shine.png";
33496                        border: 7 7 7 7;
33497                    }
33498                }
33499            }
33500            part { name: "left_over3";
33501                mouse_events: 1;
33502                repeat_events: 1;
33503                description { state: "default" 0.0;
33504                    color: 255 255 255 0;
33505                    rel1.to: "left_bt";
33506                    rel2.to: "left_bt";
33507                    image {
33508                        normal: "bt_glow.png";
33509                        border: 12 12 12 12;
33510                    }
33511                    fill.smooth : 0;
33512                }
33513                description { state: "clicked" 0.0;
33514                    inherit:  "default" 0.0;
33515                    visible: 1;
33516                    color: 255 255 255 255;
33517                }
33518            }
33519            part { name: "right_bt";
33520                mouse_events:  1;
33521                description { state: "default" 0.0;
33522                    rel1 { to: "spinner-base";
33523                        offset: -27 3;
33524                    }
33525                    rel2 { to: "spinner-base";
33526                        offset: -3 -3;
33527                    }
33528                    align: 1.0 0.5;
33529                    min: 24 24;
33530                    max: 24 24;
33531                    fixed: 1 1;
33532                    image {
33533                        normal: "bt_base1.png";
33534                        border: 5 5 4 12;
33535                    }
33536                    fill.smooth : 0;
33537                }
33538                description { state: "clicked" 0.0;
33539                    inherit: "default" 0.0;
33540                    image.normal: "bt_base1.png";
33541                    image.middle: SOLID;
33542                }
33543            }
33544            part { name: "right_over1";
33545                mouse_events: 0;
33546                description { state: "default" 0.0;
33547                    rel1.to: "right_bt";
33548                    rel2 { to: "right_bt";
33549                        relative: 1.0 0.5;
33550                    }
33551                    image {
33552                        normal: "bt_hilight.png";
33553                        border: 7 7 7 0;
33554                    }
33555                }
33556            }
33557            part { name: "right_over2";
33558                mouse_events: 1;
33559                repeat_events: 1;
33560                description { state: "default" 0.0;
33561                    rel1.to: "right_bt";
33562                    rel2.to: "right_bt";
33563                    image {
33564                        normal: "bt_shine.png";
33565                        border: 7 7 7 7;
33566                    }
33567                }
33568            }
33569            part { name: "right_over3";
33570                mouse_events: 1;
33571                repeat_events: 1;
33572                description { state: "default" 0.0;
33573                    color: 255 255 255 0;
33574                    rel1.to: "right_bt";
33575                    rel2.to: "right_bt";
33576                    image {
33577                        normal: "bt_glow.png";
33578                        border: 12 12 12 12;
33579                    }
33580                    fill.smooth : 0;
33581                }
33582                description { state: "clicked" 0.0;
33583                    inherit:  "default" 0.0;
33584                    visible: 1;
33585                    color: 255 255 255 255;
33586                }
33587            }
33588            part { name: "left_bt_icon";
33589                repeat_events: 1;
33590                description { state: "default" 0.0;
33591                    rel1.to: "left_bt";
33592                    rel2.to: "left_bt";
33593                    align: 0.5 0.5;
33594                    min: 16 16;
33595                    max: 16 16;
33596                    image.normal: "sp_bt_l.png";
33597                }
33598                description { state: "rtl" 0.0;
33599                    inherit: "default" 0.0;
33600                    image.normal: "sp_bt_r.png";
33601                }
33602            }
33603            part { name: "right_bt_icon";
33604                repeat_events: 1;
33605                description { state: "default" 0.0;
33606                    rel1.to: "right_bt";
33607                    rel2.to: "right_bt";
33608                    align: 0.5 0.5;
33609                    min: 16 16;
33610                    max: 16 16;
33611                    image.normal: "sp_bt_r.png";
33612                }
33613                description { state: "rtl" 0.0;
33614                    inherit: "default" 0.0;
33615                    image.normal: "sp_bt_l.png";
33616                }
33617            }
33618            part { name: "month_text";
33619                type: TEXT;
33620                mouse_events: 0;
33621                scale: 1;
33622                description { state: "default" 0.0;
33623                    align: 0 0.5;
33624                    fixed: 1 1;
33625                    rel1 { relative: 1.0 0.0;
33626                        offset: 3 2;
33627                        to: "left_bt";
33628                        to_y: "spinner-base";
33629                    }
33630                    rel2 { relative: 0.0 1.0;
33631                        offset: -3 -2;
33632                        to_x: "right_bt";
33633                        to_y: "spinner-base";
33634                    }
33635                    color: 0 0 0 255;
33636                    text {
33637                        font: "Sans,Edje-Vera";
33638                        size: 12;
33639                        min: 1 1;
33640                        align: 0.5 0.5;
33641                    }
33642                }
33643            }
33644            CH(0)   CH(1)   CH(2)   CH(3)   CH(4)   CH(5)   CH(6)
33645            CIT(0)  CIT(1)  CIT(2)  CIT(3)  CIT(4)  CIT(5)  CIT(6)
33646            CIT(7)  CIT(8)  CIT(9)  CIT(10) CIT(11) CIT(12) CIT(13)
33647            CIT(14) CIT(15) CIT(16) CIT(17) CIT(18) CIT(19) CIT(20)
33648            CIT(21) CIT(22) CIT(23) CIT(24) CIT(25) CIT(26) CIT(27)
33649            CIT(28) CIT(29) CIT(30) CIT(31) CIT(32) CIT(33) CIT(34)
33650            CIT(35) CIT(36) CIT(37) CIT(38) CIT(39) CIT(40) CIT(41)
33651        }
33652        programs {
33653            program { name: "dec_start";
33654                signal: "mouse,down,1";
33655                source: "left_bt";
33656                action: SIGNAL_EMIT "elm,action,decrement,start" "";
33657            }
33658            program { name: "dec_stop";
33659                signal: "mouse,up,1";
33660                source: "left_bt";
33661                action: SIGNAL_EMIT "elm,action,stop" "";
33662            }
33663            program { name: "inc_start";
33664                signal: "mouse,down,1";
33665                source: "right_bt";
33666                action: SIGNAL_EMIT "elm,action,increment,start" "";
33667            }
33668            program { name: "inc_stop";
33669                signal: "mouse,up,1";
33670                source: "right_bt";
33671                action: SIGNAL_EMIT "elm,action,stop" "";
33672            }
33673            program {
33674                name:   "left_bt_click";
33675                signal: "mouse,down,1";
33676                source: "left_over2";
33677                action: STATE_SET "clicked" 0.0;
33678                target: "left_bt";
33679            }
33680            program {
33681                name:   "left_bt_unclick";
33682                signal: "mouse,up,1";
33683                source: "left_over2";
33684                action: STATE_SET "default" 0.0;
33685                target: "left_bt";
33686            }
33687            program {
33688                name:   "left_bt_click2";
33689                signal: "mouse,down,1";
33690                source: "left_over3";
33691                action: STATE_SET "clicked" 0.0;
33692                target: "left_over3";
33693            }
33694            program {
33695                name:   "left_bt_unclick2";
33696                signal: "mouse,up,1";
33697                source: "left_over3";
33698                action: STATE_SET "default" 0.0;
33699                transition: DECELERATE 0.5;
33700                target: "left_over3";
33701            }
33702            program {
33703                name:   "right_bt_click";
33704                signal: "mouse,down,1";
33705                source: "right_over2";
33706                action: STATE_SET "clicked" 0.0;
33707                target: "right_bt";
33708            }
33709            program {
33710                name:   "right_bt_unclick";
33711                signal: "mouse,up,1";
33712                source: "right_over2";
33713                action: STATE_SET "default" 0.0;
33714                target: "right_bt";
33715            }
33716            program {
33717                name:   "right_bt_click2";
33718                signal: "mouse,down,1";
33719                source: "right_over3";
33720                action: STATE_SET "clicked" 0.0;
33721                target: "right_over3";
33722            }
33723            program {
33724                name:   "right_bt_unclick2";
33725                signal: "mouse,up,1";
33726                source: "right_over3";
33727                action: STATE_SET "default" 0.0;
33728                transition: DECELERATE 0.5;
33729                target: "right_over3";
33730            }
33731            program { name: "to_rtl";
33732                signal: "edje,state,rtl";
33733                source: "edje";
33734                action: STATE_SET "rtl" 0.0;
33735                target: "right_bt_icon";
33736                target: "left_bt_icon";
33737            }
33738            program { name: "to_ltr";
33739                signal: "edje,state,ltr";
33740                source: "edje";
33741                action: STATE_SET "default" 0.0;
33742                target: "right_bt_icon";
33743                target: "left_bt_icon";
33744            }
33745        }
33746    }
33747
33748 #undef CIT
33749 #undef CH
33750
33751 ////////////////////////////////////////////////////////////////////////////////
33752 // colorselector
33753 ////////////////////////////////////////////////////////////////////////////////
33754    group { name: "elm/colorselector/bg/default";
33755       parts {
33756          part { name: "elm.colorbar_0";
33757             type: SWALLOW;
33758             mouse_events: 1;
33759             description { state: "default" 0.0;
33760                min: 120 30;
33761                rel1.relative: 0.0 0.00653594771;
33762                rel2.relative: 1.0 0.254901961;
33763             }
33764          }
33765          part { name: "elm.colorbar_1";
33766             type: SWALLOW;
33767             mouse_events: 1;
33768             description { state: "default" 0.0;
33769                min: 120 30;
33770                rel1.relative: 0.0 0.254901961;
33771                rel2.relative: 1.0 0.503267974;
33772             }
33773          }
33774          part { name: "elm.colorbar_2";
33775             type: SWALLOW;
33776             mouse_events: 1;
33777             description { state: "default" 0.0;
33778                min: 120 30;
33779                rel1.relative: 0.0 0.503267974;
33780                rel2.relative: 1.0 0.751633987;
33781             }
33782          }
33783          part { name: "elm.colorbar_3";
33784             type: SWALLOW;
33785             mouse_events: 1;
33786             description { state: "default" 0.0;
33787                min: 120 30;
33788                rel1.relative: 0.0 0.751633987;
33789                rel2.relative: 1.0 1.0;
33790             }
33791          }
33792       }
33793    }
33794
33795    group { name: "elm/colorselector/base/default";
33796       parts {
33797          part { name: "elm.bar_bg";
33798             type: SWALLOW;
33799             mouse_events: 0;
33800             description { state: "default" 0.0;
33801                min: 60 22;
33802                rel1 {
33803                   relative: 0.0 0.8;
33804                   to_x: "elm.arrow_bg";
33805                   to_y: "elm.arrow_icon";
33806                   offset: 0 0;
33807                }
33808                rel2 {
33809                   relative: 1.0 0.83;
33810                   to_x: "elm.arrow_bg";
33811                   offset: 0 0;
33812                }
33813             }
33814          }
33815          part { name: "elm.bar";
33816             type: SWALLOW;
33817             mouse_events: 0;
33818             description { state: "default" 0.0;
33819                rel1.to: "elm.bar_bg";
33820                rel2.to: "elm.bar_bg";
33821             }
33822          }
33823          part { name: "elm.arrow_bg";
33824             type: SWALLOW;
33825             mouse_events: 1;
33826             description { state: "default" 0.0;
33827                rel1 {
33828                   relative: 1.0 0.17;
33829                   offset: 3 0;
33830                   to_x: "elm.l_button";
33831                }
33832                rel2 {
33833                   relative: 0.0 0.83;
33834                      offset: -4 0;
33835                   to_x: "elm.r_button";
33836                }
33837             }
33838          }
33839          part { name: "elm.arrow";
33840             type: RECT;
33841             mouse_events: 1;
33842             scale: 1;
33843             description { state: "default" 0.0;
33844                min: 1 1;
33845                fixed: 1 1;
33846                align: 0 0;
33847                rel1 {
33848                   to_x: "elm.arrow_bg";
33849                }
33850                rel2 {
33851                   relative: 0.0 0.17;
33852                   to_x: "elm.arrow_bg";
33853                }
33854                color: 0 0 0 0;
33855                visible: 0;
33856             }
33857             dragable {
33858                confine: "elm.arrow_bg";
33859                x: 1 1 0;
33860                y: 0 0 0;
33861             }
33862          }
33863          part { name: "elm.arrow_icon";
33864             type: SWALLOW;
33865             mouse_events: 0;
33866             description { state: "default" 0.0;
33867                min: 25 15;
33868                max: 25 15;
33869                fixed: 1 1;
33870                align: 0.5 0;
33871                rel1 {
33872                   to_x: "elm.arrow";
33873                }
33874                rel2 {
33875                   relative: 1.0 0.0;
33876                   offset: 0 10;
33877                   to_x: "elm.arrow";
33878                }
33879             }
33880          }
33881          part { name: "event";
33882             type: RECT;
33883             mouse_events: 1;
33884             description { state: "default" 0.0;
33885                rel1 {
33886                   to: "elm.arrow_icon";
33887                }
33888                rel2 {
33889                   to_x: "elm.arrow_icon";
33890                   to_y: "elm.arrow_bg";
33891                   offset: 0 0;
33892                }
33893                color: 0 0 0 0;
33894             }
33895             dragable {
33896                events: "elm.arrow";
33897             }
33898          }
33899          part { name: "elm.l_button";
33900             type: SWALLOW;
33901             mouse_events: 1;
33902             scale: 1;
33903             description { state: "default" 0.0;
33904                min: 24 24;
33905                fixed: 1 1;
33906                rel1 {
33907                   relative: 0.0 0.0;
33908                   to_y: "elm.bar_bg";
33909                }
33910                rel2 {
33911                   relative: 0.0 1.0;
33912                   to_y: "elm.bar_bg";
33913                }
33914                align: 0.0 0.5;
33915             }
33916          }
33917          part { name: "elm.r_button";
33918             type: SWALLOW;
33919             mouse_events: 1;
33920             scale: 1;
33921             description {
33922                state: "default" 0.0;
33923                min: 24 24;
33924                fixed: 1 1;
33925                rel1 {
33926                   relative: 1.0 0.0;
33927                   to_y: "elm.bar_bg";
33928                }
33929                rel2 {
33930                   relative: 1.0 1.0;
33931                   to_y: "elm.bar_bg";
33932                }
33933                align: 1.0 0.5;
33934             }
33935          }
33936       }
33937    }
33938
33939    group{ name: "elm/colorselector/image/colorbar_0";
33940       images {
33941          image: "color_picker_color.png" COMP;
33942       }
33943       parts {
33944          part { name: "colorbar_0_image";
33945             type: IMAGE;
33946             mouse_events: 1;
33947             description { state: "default" 0.0;
33948                rel2.offset: -1 -1;
33949                image.normal: "color_picker_color.png";
33950             }
33951          }
33952       }
33953    }
33954
33955    group { name: "elm/colorselector/image/colorbar_1";
33956       images {
33957          image: "color_picker_opacity.png" COMP;
33958       }
33959       parts {
33960          part { name: "colorbar_1_image";
33961             type: IMAGE;
33962             mouse_events: 1;
33963             description { state: "default" 0.0;
33964                rel2.offset: -1 -1;
33965                image.normal: "color_picker_opacity.png";
33966             }
33967          }
33968       }
33969    }
33970
33971    group { name: "elm/colorselector/image/colorbar_2";
33972       images {
33973          image: "color_picker_brightness.png" COMP;
33974       }
33975       parts {
33976          part { name: "colorbar_2_image";
33977             type: IMAGE;
33978             mouse_events: 1;
33979             description { state: "default" 0.0;
33980                rel2.offset: -1 -1;
33981                image.normal: "color_picker_brightness.png";
33982             }
33983          }
33984       }
33985    }
33986
33987    group { name: "elm/colorselector/image/colorbar_3";
33988       images {
33989          image: "color_picker_alpha.png" COMP;
33990       }
33991       parts {
33992          part { name: "colorbar_3_image";
33993             type: IMAGE;
33994             mouse_events: 1;
33995             description { state: "default" 0.0;
33996                rel2.offset: -1 -1;
33997                image.normal: "color_picker_alpha.png";
33998             }
33999          }
34000       }
34001    }
34002
34003    group { name: "elm/colorselector/bg_image/colorbar_3";
34004       images {
34005          image: "color_picker_alpha_bg.png" COMP;
34006       }
34007       parts {
34008          part { name: "colorbar_3_image";
34009             type: IMAGE;
34010             mouse_events: 1;
34011             description { state: "default" 0.0;
34012                rel2.offset: -1 -1;
34013                image.normal: "color_picker_alpha_bg.png";
34014             }
34015          }
34016       }
34017    }
34018
34019    group { name: "elm/colorselector/image/updown";
34020       images {
34021          image: "icon_arrow_down.png" COMP;
34022       }
34023       parts {
34024          part { name: "bg";
34025             type: RECT;
34026             mouse_events: 1;
34027             description { state: "default" 0.0;
34028                color: 0 0 0 0;
34029             }
34030          }
34031          part { name: "arrow_image";
34032             type: IMAGE;
34033             mouse_events: 1;
34034             description { state: "default" 0.0;
34035                image.normal: "icon_arrow_down.png";
34036             }
34037          }
34038       }
34039    }
34040
34041    group { name: "elm/colorselector/button/left";
34042       images {
34043          image: "bt_base1.png" COMP;
34044          image: "bt_shine.png" COMP;
34045          image: "sp_bt_l.png" COMP;
34046       }
34047       parts {
34048          part { name: "button_image";
34049             mouse_events: 1;
34050             description { state: "default" 0.0;
34051                image.normal: "bt_base1.png";
34052                image.border: 6 6 6 6;
34053                image.middle: SOLID;
34054             }
34055
34056             description { state: "clicked" 0.0;
34057                inherit: "default" 0.0;
34058                image.normal: "bt_shine.png";
34059                image.border: 6 6 6 6;
34060                image.middle: SOLID;
34061             }
34062          }
34063          part { name: "btn_over";
34064             type: IMAGE;
34065             mouse_events: 0;
34066             description { state: "default" 0.0;
34067                rel1.to: "button_image";
34068                rel2 {
34069                   relative: 1.0 0.5;
34070                   to: "button_image";
34071                }
34072                image {
34073                   normal: "bt_hilight.png";
34074                   border: 7 7 7 0;
34075                }
34076             }
34077          }
34078          part { name: "btn_over2";
34079             type: IMAGE;
34080             mouse_events: 1;
34081             repeat_events: 1;
34082             ignore_flags: ON_HOLD;
34083             description { state: "default" 0.0;
34084                rel1.to: "button_image";
34085                rel2.to: "button_image";
34086                image {
34087                   normal: "bt_shine.png";
34088                   border: 7 7 7 7;
34089                }
34090             }
34091          }
34092          part { name: "focus_image";
34093             type: IMAGE;
34094             description { state: "default" 0.0;
34095                color: 255 255 255 0;
34096                rel1.to: "button_image";
34097                rel2.to: "button_image";
34098                image {
34099                   normal: "bt_glow.png";
34100                   border: 12 12 12 12;
34101                }
34102                fill.smooth: 0;
34103
34104             }
34105             description { state: "clicked" 0.0;
34106                inherit: "default" 0.0;
34107                visible: 1;
34108                color: 255 255 255 255;
34109             }
34110          }
34111          part { name: "left_arrow";
34112             mouse_events: 1;
34113             description { state: "default" 0.0;
34114                min: 16 16;
34115                max: 16 16;
34116                image.normal: "sp_bt_l.png";
34117             }
34118          }
34119       }
34120
34121       programs {
34122          program {
34123             name:   "button_down";
34124             signal: "elm,state,left,button,down";
34125             source: "left_button";
34126             action: STATE_SET "clicked" 0.0;
34127             target: "button_image";
34128             target: "focus_image";
34129          }
34130          program {
34131             name:   "button_up";
34132             signal: "elm,state,left,button,up";
34133             source: "left_button";
34134             action: STATE_SET "default" 0.0;
34135             target: "button_image";
34136             target: "focus_image";
34137          }
34138       }
34139    }
34140
34141    group { name: "elm/colorselector/button/right";
34142       images {
34143          image: "bt_base1.png" COMP;
34144          image: "bt_shine.png" COMP;
34145          image: "sp_bt_r.png" COMP;
34146       }
34147       parts {
34148          part { name: "button_image";
34149             mouse_events: 1;
34150             description { state: "default" 0.0;
34151                image.normal: "bt_base1.png";
34152                image.border: 6 6 6 6;
34153                image.middle: SOLID;
34154             }
34155
34156             description { state: "clicked" 0.0;
34157                inherit: "default" 0.0;
34158                image.normal: "bt_shine.png";
34159                image.border: 6 6 6 6;
34160                image.middle: SOLID;
34161             }
34162          }
34163          part { name: "btn_over";
34164             type: IMAGE;
34165             mouse_events: 0;
34166             description { state: "default" 0.0;
34167                rel1.to: "button_image";
34168                rel2 {
34169                   relative: 1.0 0.5;
34170                   to: "button_image";
34171                }
34172                image {
34173                   normal: "bt_hilight.png";
34174                   border: 7 7 7 0;
34175                }
34176             }
34177          }
34178          part { name: "btn_over2";
34179             type: IMAGE;
34180             mouse_events: 1;
34181             repeat_events: 1;
34182             ignore_flags: ON_HOLD;
34183             description { state: "default" 0.0;
34184                rel1.to: "button_image";
34185                rel2.to: "button_image";
34186                image {
34187                   normal: "bt_shine.png";
34188                   border: 7 7 7 7;
34189                }
34190             }
34191          }
34192          part { name: "focus_image";
34193             type: IMAGE;
34194             description { state: "default" 0.0;
34195                color: 255 255 255 0;
34196                rel1.to: "button_image";
34197                rel2.to: "button_image";
34198                image {
34199                   normal: "bt_glow.png";
34200                   border: 12 12 12 12;
34201                }
34202                fill.smooth: 0;
34203
34204             }
34205             description { state: "clicked" 0.0;
34206                inherit: "default" 0.0;
34207                visible: 1;
34208                color: 255 255 255 255;
34209             }
34210          }
34211          part { name: "right_arrow";
34212             mouse_events: 1;
34213             description { state: "default" 0.0;
34214                min: 16 16;
34215                max: 16 16;
34216                image.normal: "sp_bt_r.png";
34217             }
34218          }
34219       }
34220
34221       programs {
34222          program {
34223             name:   "button_down";
34224             signal: "elm,state,right,button,down";
34225             source: "right_button";
34226             action: STATE_SET "clicked" 0.0;
34227             target: "button_image";
34228             target: "focus_image";
34229          }
34230          program {
34231             name:   "button_up";
34232             signal: "elm,state,right,button,up";
34233             source: "right_button";
34234             action: STATE_SET "default" 0.0;
34235             target: "button_image";
34236             target: "focus_image";
34237          }
34238       }
34239    }
34240
34241 ///////////////////////////////////////////////////////////////////////////////
34242 #define FLIP_PICKER_MAX_LEN (50)
34243 #define FLIP_PICKER_MAX_LEN_STR "50"
34244
34245    group { name: "elm/flipselector/base/default";
34246       images {
34247          image: "flip_base.png" COMP;
34248          image: "flip_base_shad.png" COMP;
34249          image: "flip_shad.png" COMP;
34250          image: "arrow_up.png" COMP;
34251          image: "arrow_down.png" COMP;
34252          image: "flip_t.png" COMP;
34253          image: "flip_b.png" COMP;
34254       }
34255
34256       data {
34257          item: "max_len" FLIP_PICKER_MAX_LEN_STR;
34258       }
34259
34260       //FIXME: quick successive clicks on, say, up, lead to nastiness
34261       script {
34262          public cur, prev, next, lock;
34263
34264          public animator_bottom_down(val, Float:pos) {
34265             new tmp[FLIP_PICKER_MAX_LEN];
34266
34267             set_tween_state(PART:"bottom", pos, "shrink", 0.0, "default", 0.0);
34268             set_tween_state(PART:"bottom_sheet", pos, "shrink", 0.0, "default",
34269                             0.0);
34270             set_tween_state(PART:"shadow", pos, "half", 0.0, "full",
34271                             0.0);
34272
34273             if (pos >= 1.0) {
34274                set_state(PART:"shadow", "default", 0.0);
34275                set_int(lock, 0);
34276
34277                fetch_str(next, 0, tmp, FLIP_PICKER_MAX_LEN);
34278                if (strncmp(tmp, "", FLIP_PICKER_MAX_LEN) != 0) {
34279                   replace_str(next, 0, "");
34280                   message(MSG_STRING, 1, tmp);
34281                }
34282             }
34283          }
34284
34285          public animator_top_down(val, Float:pos) {
34286             set_tween_state(PART:"top", pos, "default", 0.0, "shrink", 0.0);
34287             set_tween_state(PART:"top_sheet", pos, "default", 0.0, "shrink",
34288                             0.0);
34289             set_tween_state(PART:"shadow", pos, "default", 0.0, "half",
34290                             0.0);
34291
34292             if (pos >= 1.0)
34293                anim(0.2, "animator_bottom_down", val);
34294          }
34295
34296          public animator_bottom_up(val, Float:pos) {
34297             set_tween_state(PART:"bottom", pos, "default", 0.0, "shrink", 0.0);
34298             set_tween_state(PART:"bottom_sheet", pos, "default", 0.0, "shrink",
34299                             0.0);
34300             set_tween_state(PART:"shadow", pos, "full", 0.0, "half",
34301                             0.0);
34302
34303             if (pos >= 1.0)
34304                anim(0.2, "animator_top_up", val);
34305          }
34306
34307          public animator_top_up(val, Float:pos) {
34308             new tmp[FLIP_PICKER_MAX_LEN];
34309
34310             set_tween_state(PART:"top", pos, "shrink", 0.0, "default", 0.0);
34311             set_tween_state(PART:"top_sheet", pos, "shrink", 0.0, "default",
34312                             0.0);
34313             set_tween_state(PART:"shadow", pos, "half", 0.0, "default",
34314                             0.0);
34315
34316             if (pos >= 1.0) {
34317                set_state(PART:"shadow", "default", 0.0);
34318                set_int(lock, 0);
34319
34320                fetch_str(next, 0, tmp, FLIP_PICKER_MAX_LEN);
34321                if (strncmp(tmp, "", FLIP_PICKER_MAX_LEN) != 0) {
34322                   replace_str(next, 0, "");
34323                   message(MSG_STRING, 2, tmp);
34324                }
34325             }
34326          }
34327
34328          public message(Msg_Type:type, id, ...) {
34329             /* flip down */
34330             if ((type == MSG_STRING) && (id == 1)) {
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:"bottom_b", tmp);
34343
34344                set_state(PART:"top", "shrink", 0.0);
34345                set_text(PART:"top", tmp);
34346                set_state(PART:"top", "default", 0.0);
34347                set_text(PART:"top", tmp);
34348
34349                replace_str(prev, 0, tmp);
34350
34351                set_state(PART:"bottom", "default", 0.0);
34352                set_text(PART:"bottom", value);
34353                set_state(PART:"bottom", "shrink", 0.0);
34354                set_text(PART:"bottom", value);
34355
34356                set_text(PART:"top_b", value);
34357
34358                replace_str(cur, 0, value);
34359
34360                set_state(PART:"bottom_sheet", "shrink", 0.0);
34361                set_state(PART:"top_sheet", "default", 0.0);
34362
34363                set_int(lock, 1);
34364                set_state(PART:"shadow", "default", 0.0);
34365                anim(0.2, "animator_top_down", 1);
34366             }
34367
34368             /* flip up */
34369             if ((type == MSG_STRING) && (id == 2)) {
34370                new value[FLIP_PICKER_MAX_LEN], tmp[FLIP_PICKER_MAX_LEN];
34371
34372                snprintf(value, FLIP_PICKER_MAX_LEN, "%s", getarg(2));
34373
34374                if (get_int(lock) == 1) {
34375                   replace_str(next, 0, value);
34376                   return;
34377                }
34378
34379                fetch_str(cur, 0, tmp, FLIP_PICKER_MAX_LEN);
34380
34381                set_text(PART:"top_b", tmp);
34382
34383                set_state(PART:"bottom", "shrink", 0.0);
34384                set_text(PART:"bottom", tmp);
34385                set_state(PART:"bottom", "default", 0.0);
34386                set_text(PART:"bottom", tmp);
34387
34388                replace_str(prev, 0, tmp);
34389
34390                set_state(PART:"top", "default", 0.0);
34391                set_text(PART:"top", value);
34392                set_state(PART:"top", "shrink", 0.0);
34393                set_text(PART:"top", value);
34394
34395                set_text(PART:"bottom_b", value);
34396
34397                replace_str(cur, 0, value);
34398
34399                set_state(PART:"bottom_sheet", "default", 0.0);
34400                set_state(PART:"top_sheet", "shrink", 0.0);
34401
34402                set_int(lock, 1);
34403                set_state(PART:"shadow", "full", 0.0);
34404                anim(0.2, "animator_bottom_up", 1);
34405             }
34406          }
34407       }
34408
34409       parts {
34410          part { name: "shad";
34411             mouse_events: 0;
34412             description { state: "default" 0.0;
34413                rel1.offset: -4 -4;
34414                rel1.to: "base";
34415                rel2.offset: 3 3;
34416                rel2.to: "base";
34417                image {
34418                   normal: "flip_base_shad.png";
34419                   border: 8 8 8 8;
34420                }
34421             }
34422          }
34423
34424          part { name: "base";
34425             scale: 1;
34426             description { state: "default" 0.0;
34427                rel1.offset: 4 4;
34428                rel2.offset: -5 -5;
34429                min: 24 48;
34430                image.normal: "flip_base.png";
34431             }
34432          }
34433
34434          part { name: "b";
34435             type: RECT;
34436             mouse_events: 1;
34437             description { state: "default" 0.0;
34438                rel1.to: "base";
34439                rel1.relative: 0.0 0.5;
34440                rel2.to: "base";
34441                color: 0 0 0 0;
34442             }
34443             description { state: "hidden" 0.0;
34444                inherit: "default" 0.0;
34445                visible: 0;
34446             }
34447          }
34448
34449          part { name: "t";
34450             type: RECT;
34451             mouse_events: 1;
34452             description { state: "default" 0.0;
34453                rel1.to: "base";
34454                rel2.to: "base";
34455                rel2.relative: 1.0 0.5;
34456                color: 0 0 0 0;
34457             }
34458             description { state: "hidden" 0.0;
34459                inherit: "default" 0.0;
34460                visible: 0;
34461             }
34462          }
34463
34464          part { name: "bottom_sheet_static";
34465             mouse_events: 0;
34466             description { state: "default" 0.0;
34467                visible: 1;
34468                rel1.to: "b";
34469                rel2.to: "b";
34470                image.normal: "flip_b.png";
34471             }
34472          }
34473
34474          part { name: "bottom_b";
34475             mouse_events: 0;
34476             clip_to: "bottom_clipper";
34477             type: TEXT;
34478             scale: 1;
34479             description { state: "default" 0.0;
34480                rel1.to: "base";
34481                rel2.to: "base";
34482                color: 0 0 0 255;
34483                color2: 0 0 0 255;
34484                text {
34485                   font: "Sans:style=Bold,Edje-Vera-Bold";
34486                   size: 30;
34487                   min: 1 1;
34488                   align: 0.5 0.5;
34489                }
34490             }
34491          }
34492
34493          part { name: "shadow";
34494             mouse_events: 0;
34495             description { state: "default" 0.0;
34496                rel1.to: "b";
34497                rel2.to: "b";
34498                rel2.relative: 1.0 0.0;
34499                image.normal: "flip_shad.png";
34500             }
34501             description { state: "half" 0.0;
34502                inherit: "default" 0.0;
34503                rel2.relative: 1.0 0.5;
34504             }
34505             description { state: "full" 0.0;
34506                inherit: "default" 0.0;
34507                rel2.relative: 1.0 1.0;
34508             }
34509          }
34510
34511          part { name: "bottom_sheet";
34512             mouse_events: 0;
34513             description { state: "default" 0.0;
34514                visible: 1;
34515                rel1.to: "b";
34516                rel2.to: "b";
34517                image.normal: "flip_b.png";
34518             }
34519             description { state: "shrink" 0.0;
34520                inherit: "default" 0.0;
34521                visible: 0;
34522                rel2.relative: 1.0 0.0;
34523             }
34524          }
34525
34526          part { name: "bottom";
34527             mouse_events: 0;
34528             clip_to: "bottom_clipper";
34529             type: TEXT;
34530             scale: 1;
34531             description { state: "default" 0.0;
34532                rel1.to: "base";
34533                rel2.to: "base";
34534                color: 0 0 0 255;
34535                color2: 0 0 0 255;
34536                text {
34537                   font: "Sans:style=Bold,Edje-Vera-Bold";
34538                   size: 30;
34539                   min: 1 1;
34540                   align: 0.5 0.5;
34541                }
34542             }
34543             description { state: "shrink" 0.0;
34544                inherit: "default" 0.0;
34545                color: 128 128 128 255;
34546                visible: 0;
34547                rel2.relative: 1.0 0.5; /* FIXME: same visual effect? --> MAP! */
34548             }
34549          }
34550
34551          part { name: "top_sheet_static";
34552             mouse_events: 0;
34553             description { state: "default" 0.0;
34554                visible: 1;
34555                rel1.to: "t";
34556                rel2.to: "t";
34557                image.normal: "flip_t.png";
34558             }
34559          }
34560
34561          part { name: "top_b";
34562             mouse_events: 0;
34563             clip_to: "top_clipper";
34564             type: TEXT;
34565             scale: 1;
34566             description { state: "default" 0.0;
34567                rel1.to: "base";
34568                rel2.to: "base";
34569                color: 0 0 0 255;
34570                color2: 0 0 0 255;
34571                text {
34572                   font: "Sans:style=Bold,Edje-Vera-Bold";
34573                   size: 30;
34574                   min: 1 1;
34575                   align: 0.5 0.5;
34576                   source: "top";
34577                }
34578             }
34579          }
34580
34581          part { name: "top_sheet";
34582             mouse_events: 0;
34583             description { state: "default" 0.0;
34584                visible: 1;
34585                rel1.to: "t";
34586                rel2.to: "t";
34587                image.normal: "flip_t.png";
34588             }
34589             description { state: "shrink" 0.0;
34590                inherit: "default" 0.0;
34591                color: 128 128 128 255;
34592                visible: 0;
34593                rel1.relative: 0.0 1.0;
34594             }
34595          }
34596
34597          part { name: "top";
34598             mouse_events: 0;
34599             clip_to: "top_clipper";
34600             type: TEXT;
34601             scale: 1;
34602             description { state: "default" 0.0;
34603                rel1.to: "base";
34604                rel2.to: "base";
34605                color: 0 0 0 255;
34606                color2: 0 0 0 255;
34607                text {
34608                   font: "Sans:style=Bold,Edje-Vera-Bold";
34609                   size: 30;
34610                   min: 1 1;
34611                   align: 0.5 0.5;
34612                }
34613             }
34614             description { state: "shrink" 0.0;
34615                inherit: "default" 0.0;
34616                visible: 0;
34617                rel1.relative: 0.0 0.5;
34618             }
34619          }
34620
34621          part { name: "arrow_top";
34622             mouse_events: 0;
34623             scale: 1;
34624             description { state: "default" 0.0;
34625                min: 15 15;
34626                max: 15 15;
34627                align: 0.5 0.0;
34628                rel1.to: "t";
34629                rel2.to: "t";
34630                image.normal: "arrow_up.png";
34631             }
34632             description { state: "hidden" 0.0;
34633                inherit: "default" 0.0;
34634                visible: 0;
34635             }
34636          }
34637          part { name: "arrow_bottom";
34638             mouse_events: 0;
34639             scale: 1;
34640             description { state: "default" 0.0;
34641                min: 15 15;
34642                max: 15 15;
34643                align: 0.5 1.0;
34644                rel1.to: "b";
34645                rel2.to: "b";
34646                image.normal: "arrow_down.png";
34647             }
34648             description { state: "hidden" 0.0;
34649                inherit: "default" 0.0;
34650                visible: 0;
34651             }
34652          }
34653
34654          part {
34655             type: RECT;
34656             mouse_events: 0;
34657             name: "top_clipper";
34658             description {
34659                state: "default" 0.0;
34660                rel1.to: "t";
34661                rel2.to: "t";
34662                visible: 1;
34663             }
34664          }
34665
34666          part {
34667             type: RECT;
34668             mouse_events: 0;
34669             name: "bottom_clipper";
34670             description {
34671                state: "default" 0.0;
34672                rel1.to: "b";
34673                rel2.to: "b";
34674                visible: 1;
34675             }
34676          }
34677       }
34678
34679       programs {
34680          program { name: "load";
34681             signal: "load";
34682             source: "";
34683             script {
34684                append_str(cur, "");
34685                append_str(prev, "");
34686                append_str(next, "");
34687                set_int(lock, 0);
34688             }
34689          }
34690
34691          program { name: "hide_arrows";
34692             signal: "elm,state,button,hidden";
34693             source: "elm";
34694             action: STATE_SET "hidden" 0.0;
34695             target: "arrow_top";
34696             target: "arrow_bottom";
34697             target: "t";
34698             target: "b";
34699          }
34700
34701          program { name: "show_arrows";
34702             signal: "elm,state,button,visible";
34703             source: "elm";
34704             action: STATE_SET "default" 0.0;
34705             target: "arrow_top";
34706             target: "arrow_bottom";
34707             target: "t";
34708             target: "b";
34709          }
34710
34711          program { name: "up";
34712             signal: "mouse,down,1";
34713             source: "t";
34714             action: SIGNAL_EMIT "elm,action,up,start" "";
34715          }
34716          program { name: "up,stop";
34717             signal: "mouse,up,1";
34718             source: "t";
34719             action: SIGNAL_EMIT "elm,action,up,stop" "";
34720          }
34721          program { name: "down";
34722             signal: "mouse,down,1";
34723             source: "b";
34724             action: SIGNAL_EMIT "elm,action,down,start" "";
34725          }
34726          program { name: "down,stop";
34727             signal: "mouse,up,1";
34728             source: "b";
34729             action: SIGNAL_EMIT "elm,action,down,stop" "";
34730          }
34731       }
34732    }
34733
34734 ////////////////////////////////////////////////////////////////////////////////
34735 // diskselector
34736 ////////////////////////////////////////////////////////////////////////////////
34737    group { name: "elm/diskselector/base/default";
34738       images {
34739          image: "bar_shine.png" COMP;
34740       }
34741
34742       parts {
34743          part { name: "bg";
34744             type: RECT;
34745             mouse_events: 0;
34746             description { state: "default" 0.0;
34747                color: 0 0 0 255;
34748             }
34749          }
34750          part { name: "shine_left";
34751             mouse_events:  0;
34752             description { state: "default" 0.0;
34753                rel1.to: "bg";
34754                rel1.relative: -0.1 0;
34755                rel2.to: "bg";
34756                rel2.relative: 0.1 1;
34757                image.normal: "bar_shine.png";
34758                color: 255 255 255 120;
34759             }
34760          }
34761          part { name: "shine_center";
34762             mouse_events:  0;
34763             description { state: "default" 0.0;
34764                rel1.to: "bg";
34765                rel1.relative: 0.2 0;
34766                rel2.to: "bg";
34767                rel2.relative: 0.8 1;
34768                image.normal: "bar_shine.png";
34769                color: 255 255 255 180;
34770             }
34771          }
34772          part { name: "shine_right";
34773             mouse_events:  0;
34774             description { state: "default" 0.0;
34775                rel1.to: "bg";
34776                rel1.relative: 0.9 0;
34777                rel2.to: "bg";
34778                rel2.relative: 1.1 1;
34779                image.normal: "bar_shine.png";
34780                color: 255 255 255 120;
34781             }
34782          }
34783          part { name: "clipper";
34784             type: RECT;
34785             mouse_events: 0;
34786             description { state: "default" 0.0;
34787                rel1.to: "bg";
34788                rel2.to: "bg";
34789                rel1.offset: 2 2;
34790                rel2.offset: -3 -3;
34791             }
34792          }
34793          part { name: "elm.swallow.content";
34794             clip_to: "clipper";
34795             type: SWALLOW;
34796             description { state: "default" 0.0;
34797                rel1.to: "bg";
34798                rel2.to: "bg";
34799             }
34800          }
34801       }
34802    }
34803
34804    group { name: "elm/diskselector/item/default";
34805
34806       data {
34807          item: "len_threshold" "14";
34808          item: "display_item_num" "3";
34809          item: "min_height" "-1";
34810          item: "min_width" "-1";
34811       }
34812
34813       parts {
34814          part { name: "elm.swallow.icon";
34815             type: SWALLOW;
34816             description { state: "default" 0.0;
34817                fixed: 1 0;
34818                align: 0.0 0.5;
34819                rel1 {
34820                   relative: 0 0;
34821                   offset: 4 4;
34822                }
34823                rel2 {
34824                   relative: 0 1;
34825                   offset: 4 -5;
34826                }
34827             }
34828             description { state: "show" 0.0;
34829                inherit: "default" 0.0;
34830             }
34831             description { state: "default_small" 0.0;
34832                inherit: "default" 0.0;
34833                rel1.relative: 0 0.2;
34834                rel2.relative: 0 0.8;
34835             }
34836             description { state: "left_side" 0.0;
34837                inherit: "default" 0.0;
34838                rel1.relative: 0 0.2;
34839                rel2.relative: 0 0.8;
34840                color: 255 255 255 160;
34841             }
34842             description { state: "right_side" 0.0;
34843                inherit: "left_side" 0.0;
34844                rel1.relative: 0.4 0.2;
34845                rel2.relative: 0.4 0.8;
34846                color: 255 255 255 160;
34847             }
34848          }
34849          part { name: "elm.text";
34850             type: TEXT;
34851             mouse_events: 0;
34852             scale: 1;
34853             description { state: "default" 0.0;
34854                rel1.relative: 1 0.0;
34855                rel1.to_x: "elm.swallow.icon";
34856                rel2.relative: 1.0 1.0;
34857                color: 255 255 255 255;
34858                visible: 0;
34859                text {
34860                   font: "Sans,Edje-Vera";
34861                   size: 13;
34862                   align: 0.5 0.5;
34863                   min: 0 1;
34864                }
34865             }
34866             description { state: "show" 0.0;
34867                inherit: "default" 0.0;
34868                visible: 1;
34869             }
34870             description { state: "default_small" 0.0;
34871                inherit: "default" 0.0;
34872                visible: 1;
34873                text.size: 10;
34874             }
34875             description { state: "left_side" 0.0;
34876                inherit: "default" 0.0;
34877                color: 172 172 172 255;
34878                text.size: 10;
34879                visible: 1;
34880                text.align: 0.2 0.5;
34881             }
34882             description { state: "right_side" 0.0;
34883                inherit: "default" 0.0;
34884                color: 172 172 172 255;
34885                visible: 1;
34886                text.size: 10;
34887                text.align: 0.8 0.5;
34888             }
34889          }
34890       }
34891
34892       programs {
34893          program { name: "center_text";
34894             signal: "elm,state,center";
34895             source: "elm";
34896             action: STATE_SET "show" 0.0;
34897             target: "elm.text";
34898             target: "elm.swallow.icon";
34899          }
34900          program { name: "center_small_text";
34901             signal: "elm,state,center_small";
34902             source: "elm";
34903             action: STATE_SET "default_small" 0.0;
34904             target: "elm.text";
34905             target: "elm.swallow.icon";
34906          }
34907          program { name: "l_side_text";
34908             signal: "elm,state,left_side";
34909             source: "elm";
34910             action: STATE_SET "left_side" 0.0;
34911             target: "elm.text";
34912             target: "elm.swallow.icon";
34913          }
34914          program { name: "r_side_text";
34915             signal: "elm,state,right_side";
34916             source: "elm";
34917             action: STATE_SET "right_side" 0.0;
34918             target: "elm.text";
34919             target: "elm.swallow.icon";
34920          }
34921       }
34922    }
34923
34924    group { name: "elm/entry/path/separator/default";
34925       images.image: "arrow_right.png" COMP;
34926       parts {
34927          part { name: "icon";
34928             mouse_events: 0;
34929             description { state: "default" 0.0;
34930                image.normal: "arrow_right.png";
34931                max: 64 64;
34932                aspect: 1.0 1.0;
34933             }
34934          }
34935       }
34936    }
34937
34938    group { name: "elm/fileselector/base/default";
34939       data {
34940          item: "path_separator" "<item relsize=16x16 vsize=full href=path/separator></item>";
34941       }
34942       parts {
34943          part { name: "elm.swallow.up";
34944             type: SWALLOW;
34945             description { state: "default" 0.0;
34946                align: 0.0 0.0;
34947                min: 10 10;
34948                fixed: 1 1;
34949                rel2 {
34950                   relative: 0.0 0.0;
34951                   offset: 0 0;
34952                }
34953             }
34954          }
34955          part { name: "elm.swallow.home";
34956             type: SWALLOW;
34957             description { state: "default" 0.0;
34958                align: 0.0 0.0;
34959                min: 10 10;
34960                fixed: 1 1;
34961                rel1 {
34962                   to: "elm.swallow.up";
34963                   relative: 1.0 0.0;
34964                   offset: 5 0;
34965                }
34966                rel2 {
34967                   to: "elm.swallow.up";
34968                   relative: 1.0 1.0;
34969                   offset: 20 -1;
34970                }
34971             }
34972          }
34973          part { name: "elm.swallow.files";
34974             type: SWALLOW;
34975             description { state: "default" 0.0;
34976                align: 1.0 0.0;
34977                min: 10 10;
34978                fixed: 1 1;
34979                rel1 {
34980                   to_y: "elm.swallow.home";
34981                   relative: 0.0 1.0;
34982                   offset: 0 0;
34983                }
34984                rel2 {
34985                   to_y: "elm.swallow.path";
34986                   relative: 1.0 0.0;
34987                   offset: -1 -1;
34988                }
34989             }
34990          }
34991          part { name: "elm.swallow.path";
34992             type: SWALLOW;
34993             description { state: "default" 0.0;
34994                align: 0.5 1.0;
34995                fixed: 1 1;
34996                rel1 {
34997                   to_y: "elm.swallow.filename";
34998                   relative: 0.0 0.0;
34999                   offset: 0 -1;
35000                }
35001                rel2 {
35002                   to_y: "elm.swallow.filename";
35003                   relative: 1.0 0.0;
35004                   offset: -1 -1;
35005                }
35006             }
35007          }
35008          part { name: "elm.swallow.filename";
35009             type: SWALLOW;
35010             description { state: "default" 0.0;
35011                align: 0.5 1.0;
35012                fixed: 1 1;
35013                rel1 {
35014                   to_y: "elm.swallow.ok";
35015                   relative: 0.0 0.0;
35016                   offset: 0 -1;
35017                }
35018                rel2 {
35019                   to_y: "elm.swallow.ok";
35020                   relative: 1.0 0.0;
35021                   offset: -1 -1;
35022                }
35023             }
35024          }
35025          part { name: "elm.swallow.cancel";
35026             type: SWALLOW;
35027             description { state: "default" 0.0;
35028                align: 1.0 1.0;
35029                fixed: 1 1;
35030                rel1 {
35031                   to: "elm.swallow.ok";
35032                   relative: 0.0 0.0;
35033                   offset: -3 0;
35034                }
35035                rel2 {
35036                   to: "elm.swallow.ok";
35037                   relative: 0.0 1.0;
35038                   offset: -3 -1;
35039                }
35040             }
35041          }
35042          part { name: "elm.swallow.ok";
35043             type: SWALLOW;
35044             description { state: "default" 0.0;
35045                align: 1.0 1.0;
35046                fixed: 1 1;
35047                rel1 {
35048                   relative: 1.0 1.0;
35049                   offset: -1 -1;
35050                }
35051             }
35052          }
35053       }
35054    }
35055
35056    group { name: "elm/fileselector_entry/base/default";
35057       parts {
35058          part { name: "elm.swallow.entry";
35059             type: SWALLOW;
35060             description { state: "default" 0.0;
35061                align: 0.0 0.0;
35062                min: 50 10;
35063                rel2 { to_x: "elm.swallow.button";
35064                   relative: 0.0 1.0;
35065                   offset: -1 -1;
35066                }
35067             }
35068          }
35069          part { name: "elm.swallow.button";
35070             type: SWALLOW;
35071             description { state: "default" 0.0;
35072                align: 1.0 0.0;
35073                min: 10 10;
35074                fixed: 1 1;
35075                rel1 {
35076                   relative: 1.0 0.0;
35077                   offset: -21 0;
35078                }
35079             }
35080          }
35081       }
35082    }
35083
35084 ////////////////////////////////////////////////////////////////////////
35085 // Standard layouts to be used                                        //
35086 ////////////////////////////////////////////////////////////////////////
35087    /* application with toolbar and main content area */
35088    group { name: "elm/layout/application/toolbar-content";
35089       parts {
35090          part { name: "elm.swallow.content";
35091             type: SWALLOW;
35092             description { state: "default" 0.0;
35093                rel1 { to_y: "elm.external.toolbar";
35094                   relative: 0.0 1.0;
35095                   offset: -1 1;
35096                }
35097             }
35098          }
35099
35100          part { name: "elm.external.toolbar";
35101             type: EXTERNAL;
35102             source: "elm/toolbar";
35103             description { state: "default" 0.0;
35104                align: 0.5 0.0;
35105                fixed: 0 1;
35106                rel2 {
35107                   relative: 1.0 0.0;
35108                   offset: -1 47;
35109                }
35110             }
35111          }
35112       }
35113    }
35114
35115    /* application with toolbar and main content area with a back button and title area */
35116    group { name: "elm/layout/application/toolbar-content-back";
35117       parts {
35118          part { name: "elm.swallow.content";
35119             type: SWALLOW;
35120             description { state: "default" 0.0;
35121                rel1 { to_y: "title_clipper";
35122                   relative: 0.0 1.0;
35123                   offset: -1 1;
35124                }
35125             }
35126          }
35127
35128          part { name: "elm.external.toolbar";
35129             type: EXTERNAL;
35130             source: "elm/toolbar";
35131             description { state: "default" 0.0;
35132                fixed: 0 1;
35133                align: 0.5 0.0;
35134                rel2 {
35135                   relative: 1.0 0.0;
35136                   offset: -1 47;
35137                }
35138             }
35139          }
35140          part { name: "title_clipper";
35141             type: RECT;
35142             description { state: "default" 0.0;
35143                visible: 1;
35144                rel1 {
35145                   to_y: "back";
35146                }
35147                rel2 {
35148                   to_y: "back";
35149                }
35150             }
35151             description { state: "hidden" 0.0;
35152                inherit: "default" 0.0;
35153                visible: 0;
35154                rel2 {
35155                   relative: 1.0 0.0;
35156                }
35157             }
35158          }
35159          part { name: "back_clipper";
35160             type: RECT;
35161             clip_to: "title_clipper";
35162             description { state: "default" 0.0;
35163                visible: 1;
35164             }
35165             description { state: "hidden" 0.0;
35166                visible: 0;
35167             }
35168          }
35169          part { name: "back";
35170             type: EXTERNAL;
35171             source: "elm/button";
35172             clip_to: "back_clipper";
35173             description { state: "default" 0.0;
35174                align: 0.0 0.0;
35175                fixed: 1 1;
35176                rel1 { to_y: "elm.external.toolbar";
35177                   relative: 0.0 1.0;
35178                   offset: 0 1;
35179                }
35180                rel2 { to_y: "elm.external.toolbar";
35181                   relative: 0.0 1.0;
35182                   offset: 50 32;
35183                }
35184                params.string: "label" "Back";
35185             }
35186          }
35187          programs {
35188             program {
35189                signal: "clicked";
35190                source: "back";
35191                action: SIGNAL_EMIT "elm,action,back" "";
35192             }
35193             program {
35194                signal: "elm,back,hide";
35195                source: "elm";
35196                action: STATE_SET "hidden" 0.0;
35197                target: "back_clipper";
35198             }
35199             program {
35200                signal: "elm,back,show";
35201                source: "elm";
35202                action: STATE_SET "default" 0.0;
35203                target: "back_clipper";
35204             }
35205             program {
35206                signal: "elm,title,hide";
35207                source: "elm";
35208                action: STATE_SET "hidden" 0.0;
35209                transition: LINEAR 0.1;
35210                target: "title_clipper";
35211             }
35212             program {
35213                signal: "elm,title,show";
35214                source: "elm";
35215                action: STATE_SET "default" 0.0;
35216                target: "title_clipper";
35217             }
35218          }
35219
35220          part { name: "elm.swallow.end";
35221             type: SWALLOW;
35222             description { state: "default" 0.0;
35223                align: 1.0 0.0;
35224                fixed: 1 1;
35225                rel1 { to_y: "elm.external.toolbar";
35226                   relative: 1.0 1.0;
35227                   offset: -2 1;
35228                }
35229                rel2 { to_y: "elm.external.toolbar";
35230                   relative: 1.0 1.0;
35231                   offset: -1 32;
35232                }
35233             }
35234          }
35235
35236          part { name: "elm.text.title";
35237             type: TEXT;
35238             effect: SOFT_SHADOW;
35239             scale: 1;
35240             description { state: "default" 0.0;
35241                rel1 { to_y: "elm.external.toolbar";
35242                   to_x: "back";
35243                   relative: 1.0 1.0;
35244                   offset: 2 1;
35245                }
35246                rel2 { to_y: "back";
35247                   to_x: "elm.swallow.end";
35248                   relative: 0.0 1.0;
35249                   offset: -3 -1;
35250                }
35251                text {
35252                   font: "Sans:style=Bold";
35253                   size: 12;
35254                }
35255             }
35256          }
35257       }
35258    }
35259
35260    /* application with toolbar and main content area with a back and next buttons and title area */
35261    group { name: "elm/layout/application/toolbar-content-back-next";
35262       parts {
35263          part { name: "elm.swallow.content";
35264             type: SWALLOW;
35265             description { state: "default" 0.0;
35266                rel1 { to_y: "title_clipper";
35267                   relative: 0.0 1.0;
35268                   offset: -1 1;
35269                }
35270             }
35271          }
35272
35273          part { name: "elm.external.toolbar";
35274             type: EXTERNAL;
35275             source: "elm/toolbar";
35276             description { state: "default" 0.0;
35277                fixed: 0 1;
35278                align: 0.5 0.0;
35279                rel2 {
35280                   relative: 1.0 0.0;
35281                   offset: -1 47;
35282                }
35283             }
35284          }
35285          part { name: "title_clipper";
35286             type: RECT;
35287             description { state: "default" 0.0;
35288                visible: 1;
35289                rel1 {
35290                   to_y: "back";
35291                }
35292                rel2 {
35293                   to_y: "back";
35294                }
35295             }
35296             description { state: "hidden" 0.0;
35297                inherit: "default" 0.0;
35298                visible: 0;
35299                rel2 {
35300                   relative: 1.0 0.0;
35301                }
35302             }
35303          }
35304          part { name: "back";
35305             type: EXTERNAL;
35306             source: "elm/button";
35307             clip_to: "back_clipper";
35308             description { state: "default" 0.0;
35309                align: 0.0 0.0;
35310                fixed: 1 1;
35311                rel1 { to_y: "elm.external.toolbar";
35312                   relative: 0.0 1.0;
35313                   offset: 0 1;
35314                }
35315                rel2 { to_y: "elm.external.toolbar";
35316                   relative: 0.0 1.0;
35317                   offset: 50 32;
35318                }
35319                params.string: "label" "Back";
35320             }
35321          }
35322          part { name: "back_clipper";
35323             type: RECT;
35324             clip_to: "title_clipper";
35325             description { state: "default" 0.0;
35326                visible: 1;
35327             }
35328             description { state: "hidden" 0.0;
35329                visible: 0;
35330             }
35331          }
35332          part { name: "next";
35333             type: EXTERNAL;
35334             source: "elm/button";
35335             clip_to: "next_clipper";
35336             description { state: "default" 0.0;
35337                align: 1.0 0.0;
35338                fixed: 1 1;
35339                rel1 { to_y: "elm.external.toolbar";
35340                   relative: 1.0 1.0;
35341                   offset: -2 1;
35342                }
35343                rel2 { to_y: "elm.external.toolbar";
35344                   relative: 1.0 1.0;
35345                   offset: -1 32;
35346                }
35347                params.string: "label" "Next";
35348            }
35349          }
35350          part { name: "next_clipper";
35351             type: RECT;
35352             clip_to: "title_clipper";
35353             description { state: "default" 0.0;
35354                visible: 1;
35355             }
35356             description { state: "hidden" 0.0;
35357                visible: 0;
35358             }
35359          }
35360          programs {
35361             program {
35362                signal: "clicked";
35363                source: "back";
35364                action: SIGNAL_EMIT "elm,action,back" "";
35365             }
35366             program {
35367                signal: "elm,title,hide";
35368                source: "elm";
35369                action: STATE_SET "hidden" 0.0;
35370                transition: LINEAR 0.1;
35371                target: "title_clipper";
35372             }
35373             program {
35374                signal: "elm,title,show";
35375                source: "elm";
35376                action: STATE_SET "default" 0.0;
35377                target: "title_clipper";
35378             }
35379             program {
35380                signal: "elm,back,hide";
35381                source: "elm";
35382                action: STATE_SET "hidden" 0.0;
35383                target: "back_clipper";
35384             }
35385             program {
35386                signal: "elm,back,show";
35387                source: "elm";
35388                action: STATE_SET "default" 0.0;
35389                target: "back_clipper";
35390             }
35391             program {
35392                signal: "clicked";
35393                source: "next";
35394                action: SIGNAL_EMIT "elm,action,next" "";
35395             }
35396             program {
35397                signal: "elm,next,hide";
35398                source: "elm";
35399                action: STATE_SET "hidden" 0.0;
35400                target: "next_clipper";
35401             }
35402             program {
35403                signal: "elm,next,show";
35404                source: "elm";
35405                action: STATE_SET "default" 0.0;
35406                target: "next_clipper";
35407             }
35408          }
35409          part { name: "elm.text.title";
35410             type: TEXT;
35411             effect: SOFT_SHADOW;
35412             scale: 1;
35413             clip_to: "title_clipper";
35414             description { state: "default" 0.0;
35415                rel1 { to_y: "elm.external.toolbar";
35416                   to_x: "back";
35417                   relative: 1.0 1.0;
35418                   offset: 2 1;
35419                }
35420                rel2 { to_y: "back";
35421                   to_x: "next";
35422                   relative: 0.0 1.0;
35423                   offset: -3 -1;
35424                }
35425                text {
35426                   font: "Sans:style=Bold";
35427                   size: 12;
35428                }
35429             }
35430          }
35431       }
35432    }
35433    /* application with a main content area with a back button and title area */
35434    group { name: "elm/layout/application/content-back";
35435       parts {
35436          part { name: "elm.swallow.content";
35437             type: SWALLOW;
35438             description { state: "default" 0.0;
35439                rel1 { to_y: "title_clipper";
35440                   relative: 0.0 1.0;
35441                   offset: -1 1;
35442                }
35443             }
35444          }
35445          part { name: "title_clipper";
35446             type: RECT;
35447             description { state: "default" 0.0;
35448                visible: 1;
35449                rel1 {
35450                   to_y: "back";
35451                }
35452                rel2 {
35453                   to_y: "back";
35454                }
35455             }
35456             description { state: "hidden" 0.0;
35457                inherit: "default" 0.0;
35458                visible: 0;
35459                rel2 {
35460                   relative: 1.0 0.0;
35461                }
35462             }
35463          }
35464          part { name: "back_clipper";
35465             type: RECT;
35466             clip_to: "title_clipper";
35467             description { state: "default" 0.0;
35468                visible: 1;
35469             }
35470             description { state: "hidden" 0.0;
35471                visible: 0;
35472             }
35473          }
35474          part { name: "back";
35475             type: EXTERNAL;
35476             source: "elm/button";
35477             clip_to: "back_clipper";
35478             description { state: "default" 0.0;
35479                align: 0.0 0.0;
35480                fixed: 1 1;
35481                rel1 {
35482                   relative: 0.0 0.0;
35483                   offset: 0 1;
35484                }
35485                rel2 {
35486                   relative: 0.0 0.0;
35487                   offset: 50 32;
35488                }
35489                params.string: "label" "Back";
35490             }
35491          }
35492          programs {
35493             program {
35494                signal: "clicked";
35495                source: "back";
35496                action: SIGNAL_EMIT "elm,action,back" "";
35497             }
35498             program {
35499                signal: "elm,back,hide";
35500                source: "elm";
35501                action: STATE_SET "hidden" 0.0;
35502                target: "back_clipper";
35503             }
35504             program {
35505                signal: "elm,back,show";
35506                source: "elm";
35507                action: STATE_SET "default" 0.0;
35508                target: "back_clipper";
35509             }
35510             program {
35511                signal: "elm,title,hide";
35512                source: "elm";
35513                action: STATE_SET "hidden" 0.0;
35514                transition: LINEAR 0.1;
35515                target: "title_clipper";
35516             }
35517             program {
35518                signal: "elm,title,show";
35519                source: "elm";
35520                action: STATE_SET "default" 0.0;
35521                target: "title_clipper";
35522             }
35523          }
35524
35525          part { name: "elm.swallow.end";
35526             type: SWALLOW;
35527             description { state: "default" 0.0;
35528                align: 1.0 0.0;
35529                fixed: 1 1;
35530                rel1 {
35531                   relative: 1.0 0.0;
35532                   offset: -2 1;
35533                }
35534                rel2 {
35535                   relative: 1.0 1.0;
35536                   offset: -1 32;
35537                }
35538             }
35539          }
35540
35541          part { name: "elm.text.title";
35542             type: TEXT;
35543             effect: SOFT_SHADOW;
35544             scale: 1; 
35545             description { state: "default" 0.0;
35546                rel1 {
35547                   to_x: "back";
35548                   relative: 1.0 0.0;
35549                   offset: 2 1;
35550                }
35551                rel2 { to_y: "back";
35552                   to_x: "elm.swallow.end";
35553                   relative: 0.0 1.0;
35554                   offset: -3 -1;
35555                }
35556                text {
35557                   font: "Sans:style=Bold";
35558                   size: 12;
35559                }
35560             }
35561          }
35562       }
35563    }
35564
35565    /* application with a main content area with a back and next buttons and title area */
35566    group { name: "elm/layout/application/content-back-next";
35567       parts {
35568          part { name: "elm.swallow.content";
35569             type: SWALLOW;
35570             description { state: "default" 0.0;
35571                rel1 { to_y: "title_clipper";
35572                   relative: 0.0 1.0;
35573                   offset: -1 1;
35574                }
35575             }
35576          }
35577
35578          part { name: "title_clipper";
35579             type: RECT;
35580             description { state: "default" 0.0;
35581                visible: 1;
35582                rel1 {
35583                   to_y: "back";
35584                }
35585                rel2 {
35586                   to_y: "back";
35587                }
35588             }
35589             description { state: "hidden" 0.0;
35590                inherit: "default" 0.0;
35591                visible: 0;
35592                rel2 {
35593                   relative: 1.0 0.0;
35594                }
35595             }
35596          }
35597          part { name: "back";
35598             type: EXTERNAL;
35599             source: "elm/button";
35600             clip_to: "back_clipper";
35601             description { state: "default" 0.0;
35602                align: 0.0 0.0;
35603                fixed: 1 1;
35604                rel1 {
35605                   relative: 0.0 0.0;
35606                   offset: 0 1;
35607                }
35608                rel2 {
35609                   relative: 0.0 0.0;
35610                   offset: 50 32;
35611                }
35612                params.string: "label" "Back";
35613             }
35614          }
35615          part { name: "back_clipper";
35616             type: RECT;
35617             clip_to: "title_clipper";
35618             description { state: "default" 0.0;
35619                visible: 1;
35620             }
35621             description { state: "hidden" 0.0;
35622                visible: 0;
35623             }
35624          }
35625          part { name: "next";
35626             type: EXTERNAL;
35627             source: "elm/button";
35628             clip_to: "next_clipper";
35629             description { state: "default" 0.0;
35630                align: 1.0 0.0;
35631                fixed: 1 1;
35632                rel1 {
35633                   relative: 1.0 0.0;
35634                   offset: -2 1;
35635                }
35636                rel2 {
35637                   relative: 1.0 0.0;
35638                   offset: -1 32;
35639                }
35640                params.string: "label" "Next";
35641            }
35642          }
35643          part { name: "next_clipper";
35644             type: RECT;
35645             clip_to: "title_clipper";
35646             description { state: "default" 0.0;
35647                visible: 1;
35648             }
35649             description { state: "hidden" 0.0;
35650                visible: 0;
35651             }
35652          }
35653          programs {
35654             program {
35655                signal: "clicked";
35656                source: "back";
35657                action: SIGNAL_EMIT "elm,action,back" "";
35658             }
35659             program {
35660                signal: "elm,title,hide";
35661                source: "elm";
35662                action: STATE_SET "hidden" 0.0;
35663                transition: LINEAR 0.1;
35664                target: "title_clipper";
35665             }
35666             program {
35667                signal: "elm,title,show";
35668                source: "elm";
35669                action: STATE_SET "default" 0.0;
35670                target: "title_clipper";
35671             }
35672             program {
35673                signal: "elm,back,hide";
35674                source: "elm";
35675                action: STATE_SET "hidden" 0.0;
35676                target: "back_clipper";
35677             }
35678             program {
35679                signal: "elm,back,show";
35680                source: "elm";
35681                action: STATE_SET "default" 0.0;
35682                target: "back_clipper";
35683             }
35684             program {
35685                signal: "clicked";
35686                source: "next";
35687                action: SIGNAL_EMIT "elm,action,next" "";
35688             }
35689             program {
35690                signal: "elm,next,hide";
35691                source: "elm";
35692                action: STATE_SET "hidden" 0.0;
35693                target: "next_clipper";
35694             }
35695             program {
35696                signal: "elm,next,show";
35697                source: "elm";
35698                action: STATE_SET "default" 0.0;
35699                target: "next_clipper";
35700             }
35701          }
35702          part { name: "elm.text.title";
35703             type: TEXT;
35704             effect: SOFT_SHADOW;
35705             scale: 1;
35706             clip_to: "title_clipper";
35707             description { state: "default" 0.0;
35708                rel1 {
35709                   to_x: "back";
35710                   relative: 1.0 0.0;
35711                   offset: 2 1;
35712                }
35713                rel2 { to_y: "back";
35714                   to_x: "next";
35715                   relative: 0.0 1.0;
35716                   offset: -3 -1;
35717                }
35718                text {
35719                   font: "Sans:style=Bold";
35720                   size: 12;
35721                }
35722             }
35723          }
35724       }
35725    }
35726
35727    /* application with toolbar and main content area as a vertical box */
35728    group { name: "elm/layout/application/toolbar-vbox";
35729       parts {
35730          part { name: "elm.box.content";
35731             type: BOX;
35732             description { state: "default" 0.0;
35733                rel1 { to_y: "elm.external.toolbar";
35734                   relative: 0.0 1.0;
35735                   offset: -1 1;
35736                }
35737                box.layout: "vertical";
35738             }
35739          }
35740
35741          part { name: "elm.external.toolbar";
35742             type: EXTERNAL;
35743             source: "elm/toolbar";
35744             description { state: "default" 0.0;
35745                align: 0.5 0.0;
35746                fixed: 0 1;
35747                rel2 {
35748                   relative: 1.0 0.0;
35749                   offset: -1 47;
35750                }
35751             }
35752          }
35753       }
35754    }
35755
35756    /* application with toolbar and main content area as a table */
35757    group { name: "elm/layout/application/toolbar-table";
35758       parts {
35759          part { name: "elm.table.content";
35760             type: TABLE;
35761             description { state: "default" 0.0;
35762                rel1 { to_y: "elm.external.toolbar";
35763                   relative: 0.0 1.0;
35764                   offset: -1 1;
35765                }
35766             }
35767          }
35768
35769          part { name: "elm.external.toolbar";
35770             type: EXTERNAL;
35771             source: "elm/toolbar";
35772             description { state: "default" 0.0;
35773                align: 0.5 0.0;
35774                fixed: 0 1;
35775                rel2 {
35776                   relative: 1.0 0.0;
35777                   offset: -1 47;
35778                }
35779             }
35780          }
35781       }
35782    }
35783
35784 ///////////////////////////////////////////////////////////////////////////////
35785    group { name: "elm/segment_control/base/default";
35786 #define SEGMENT_TYPE_SINGLE 1
35787 #define SEGMENT_TYPE_LEFT 2
35788 #define SEGMENT_TYPE_MIDDLE 3
35789 #define SEGMENT_TYPE_RIGHT 4
35790 #define SEGMENT_STATE_NORMAL 1
35791 #define SEGMENT_STATE_PRESSED 2
35792 #define SEGMENT_STATE_SELECTED 3
35793 #define SEGMENT_STATUS_ENABLED 0
35794 #define SEGMENT_STATUS_DISABLED 1
35795       parts {
35796          part { name: "bg";
35797             type: RECT;
35798             mouse_events: 0;
35799             scale: 1;
35800             description {
35801                state: "default" 0.0;
35802                color: 0 0 0 0;
35803                min: 100 40;
35804             }
35805          }
35806       }
35807    }
35808    group { name: "elm/segment_control/item/default";
35809       data.item: "label.wrap.part" "label.bg";
35810       styles {
35811          style { name: "seg_text_style_normal";
35812             base: "font=Sans font_size=16 style=shadow \
35813             shadow_color=#2924224d \
35814             align=center \
35815             color=#ffffffff wrap=char text_class=label";
35816             tag:  "br" "\n";
35817             tag:  "hilight" "+ font=Sans:style=Bold";
35818             tag:  "tab" "\t";
35819          }
35820          style { name: "seg_text_style_selected";
35821             base: "font=Sans:style=Bold font_size=16 style=shadow \
35822             shadow_color=#aaaaaa4d \
35823             align=center \
35824             color=#111111ff wrap=char text_class=label";
35825             tag:  "br" "\n";
35826             tag:  "hilight" "+ font=Sans:style=Bold";
35827             tag:  "b" "+ font=Sans:style=Bold";
35828             tag:  "tab" "\t";
35829          }
35830          style { name: "seg_text_style_disabled";
35831             base: "font=Sans:style=Medium font_size=16 style=shadow \
35832             shadow_color=#2924224d \
35833             align=center color=#2924224d \
35834             wrap=char text_class=label";
35835             tag:  "br" "\n";
35836             tag:  "hilight" "+ font=Sans:style=Bold";
35837             tag:  "b" "+ font=Sans:style=Bold";
35838             tag:  "tab" "\t";
35839          }
35840       }
35841       images {
35842          image: "seg_single_pressed.png" COMP;
35843          image: "seg_single_selected.png" COMP;
35844          image: "seg_single_normal.png" COMP;
35845
35846          image: "seg_left_pressed.png" COMP;
35847          image: "seg_left_selected.png" COMP;
35848          image: "seg_left_normal.png" COMP;
35849
35850          image: "seg_middle_pressed.png" COMP;
35851          image: "seg_middle_selected.png" COMP;
35852          image: "seg_middle_normal.png" COMP;
35853
35854          image: "seg_right_pressed.png" COMP;
35855          image: "seg_right_selected.png" COMP;
35856          image: "seg_right_normal.png" COMP;
35857       }
35858       parts {
35859          part { name: "segment";
35860             mouse_events: 1;
35861             scale: 1;
35862             description { state: "default" 0.0;
35863                min: 1 1;
35864                visible: 0;
35865                image {
35866                   normal: "seg_single_normal.png";
35867                   border: 7 7 7 7;
35868                   border_scale: 1;
35869                   middle: 1;
35870                }
35871             }
35872             description { state: "default_single" 0.0;
35873                inherit: "default" 0.0;
35874                visible: 1;
35875                image {
35876                   normal: "seg_single_normal.png";
35877                   border: 7 7 7 7;
35878                }
35879             }
35880             description { state: "default_left" 0.0;
35881                inherit: "default" 0.0;
35882                visible: 1;
35883                image {
35884                normal: "seg_left_normal.png";
35885                   border:  6 1 7 7;
35886                }
35887             }
35888             description { state: "default_right" 0.0;
35889                inherit: "default" 0.0;
35890                visible: 1;
35891                image {
35892                   normal: "seg_right_normal.png";
35893                   border: 1 6 7 7;
35894                }
35895             }
35896             description { state: "default_middle" 0.0;
35897                inherit: "default" 0.0;
35898                visible: 1;
35899                image {
35900                   normal: "seg_middle_normal.png";
35901                   border: 2 2 2 2;
35902                }
35903             }
35904             description { state: "pressed_single" 0.0;
35905                inherit: "default" 0.0;
35906                visible: 1;
35907                image {
35908                   normal: "seg_single_pressed.png";
35909                   border: 7 7 7 7;
35910                }
35911             }
35912             description { state: "pressed_left" 0.0;
35913                inherit: "default" 0.0;
35914                visible: 1;
35915                image {
35916                   normal: "seg_left_pressed.png";
35917                   border:  6 1 7 7;
35918                }
35919             }
35920             description { state: "pressed_right" 0.0;
35921                inherit: "default" 0.0;
35922                visible: 1;
35923                image {
35924                   normal: "seg_right_pressed.png";
35925                   border: 1 6 7 7;
35926                }
35927             }
35928             description { state: "pressed_middle" 0.0;
35929                inherit: "default" 0.0;
35930                visible: 1;
35931                image {
35932                   normal: "seg_middle_pressed.png";
35933                   border: 1 1 2 2;
35934                }
35935             }
35936             description { state: "selected_single" 0.0;
35937                inherit: "default" 0.0;
35938                visible: 1;
35939                image {
35940                   normal: "seg_single_selected.png";
35941                   border: 7 7 7 7;
35942                }
35943             }
35944             description { state: "selected_left" 0.0;
35945                inherit: "default" 0.0;
35946                visible: 1;
35947                image {
35948                   normal: "seg_left_selected.png";
35949                   border:  6 3 7 7;
35950                }
35951             }
35952             description { state: "selected_right" 0.0;
35953                inherit: "default" 0.0;
35954                visible: 1;
35955                image {
35956                   normal: "seg_right_selected.png";
35957                   border: 3 6 7 7;
35958                }
35959             }
35960             description { state: "selected_middle" 0.0;
35961                inherit: "default" 0.0;
35962                visible: 1;
35963                image {
35964                   normal: "seg_middle_selected.png";
35965                   border: 3 3 3 3;
35966                }
35967             }
35968          }
35969          part { name: "padding_left";
35970             type: RECT;
35971             scale: 1;
35972             mouse_events: 0;
35973             description { state: "default" 0.0;
35974                align: 0.0 0.0;
35975                rel1.relative: 0.0 0.0;
35976                rel2.relative: 0.0 1.0;
35977                min: 2 2;
35978                max: 2 2;
35979                fixed: 1 0;
35980                color: 0 0 0 0;
35981             }
35982          }
35983          part { name: "padding_right";
35984             type: RECT;
35985             scale: 1;
35986             mouse_events: 0;
35987             description { state: "default" 0.0;
35988                align: 1.0 0.0;
35989                rel1.relative: 1.0 0.0;
35990                rel2.relative: 1.0 1.0;
35991                min: 2 2;
35992                max: 2 2;
35993                fixed: 1 0;
35994                color: 0 0 0 0;
35995             }
35996          }
35997          part { name: "padding_top";
35998             type: RECT;
35999             scale: 1;
36000             mouse_events: 0;
36001             description { state: "default" 0.0;
36002                align: 0.0 0.0;
36003                rel1.relative: 0.0 0.0;
36004                rel2.relative: 1.0 0.0;
36005                min: 2 2;
36006                max: 2 2;
36007                fixed: 0 1;
36008                color: 0 0 0 0;
36009             }
36010          }
36011          part { name: "padding_bottom";
36012             type: RECT;
36013             scale: 1;
36014             mouse_events: 0;
36015             description { state: "default" 0.0;
36016                align: 1.0 1.0;
36017                rel1.relative: 0.0 1.0;
36018                rel2.relative: 1.0 1.0;
36019                min: 2 2;
36020                max: 2 2;
36021                fixed: 0 1;
36022                color: 0 0 0 0;
36023             }
36024          }
36025          part { name: "icon.bg";
36026             type: RECT;
36027             scale: 1;
36028             mouse_events: 0;
36029             description { state: "default" 0.0;
36030                visible: 1;
36031                fixed: 1 0;
36032                rel1 {
36033                   to_x: "padding_left";
36034                   to_y: "padding_top";
36035                   relative: 1.0 1.0;
36036                }
36037                rel2 {
36038                   to: "elm.swallow.icon";
36039                   relative: 1.0 1.0;
36040                }
36041                align: 0.0 0.5;
36042                color: 0 0 0 0;
36043             }
36044          }
36045          part { name: "padding_icon_text";
36046             type: RECT;
36047             scale: 1;
36048             mouse_events: 0;
36049             description { state: "default" 0.0; //when only icon or no icon is there
36050                align: 0.0 0.0;
36051                rel1 {
36052                   to: "icon.bg";
36053                   relative: 1.0 0.0;
36054                }
36055                rel2 {
36056                   to: "icon.bg";
36057                   relative: 1.0 1.0;
36058                }
36059                fixed: 1 0;
36060                min: 0 0;
36061                color: 0 0 0 0;
36062             }
36063             description { state: "icononly" 0.0;
36064                inherit: "default" 0.0;
36065             }
36066             description { state: "visible" 0.0; //when icon is visible
36067                inherit: "default" 0.0;
36068                min: 2 0;
36069             }
36070          }
36071          part { name: "elm.swallow.icon";
36072             type: SWALLOW;
36073             scale: 1;
36074             description { state: "default" 0.0;
36075                visible: 0;
36076                align: 0.0 0.5;
36077                rel1 {
36078                   to_x: "padding_left";
36079                   to_y: "padding_top";
36080                   relative: 1.0 1.0;
36081                }
36082                rel2 {
36083                   to_y: "padding_bottom";
36084                   relative: 0.0 0.0;
36085                }
36086                fixed: 1 0;
36087                aspect: 1.0 1.0;
36088                aspect_preference: BOTH;
36089             }
36090             description { state: "visible" 0.0;
36091                inherit: "default" 0.0;
36092                visible: 1;
36093                rel2 {
36094                   to_y: "padding_bottom";
36095                   relative: 0.3 0.0;
36096                }
36097             }
36098             description { state: "icononly" 0.0;
36099                inherit: "default" 0.0;
36100                visible: 1;
36101                rel2 {
36102                   to_x: "padding_right";
36103                   to_y: "padding_bottom";
36104                   relative: 0.0 0.0;
36105                }
36106                align: 0.5 0.5;
36107             }
36108          }
36109          part { name: "elm.text";
36110             type: TEXT;
36111             mouse_events: 0;
36112             scale: 1;
36113             description {
36114                state: "default" 0.0;
36115                visible: 0;
36116                fixed: 1 1;
36117                min: 1 1;
36118                rel1 {
36119                   to_x: "padding_icon_text";
36120                   relative: 1.0 1.0;
36121                }
36122                rel2 {
36123                   to_x: "padding_right";
36124                   relative: 0.0 0.0;
36125                }
36126                color: 224 224 224 255;
36127                color3: 0 0 0 64;
36128                text {
36129                   font: "Sans";
36130                   ellipsis: 0.0;
36131                   fit: 1 1;
36132                   size: 24;
36133                   size_range: 8 36;
36134                   min: 0 1;
36135                }
36136             }
36137             description { state: "normal" 0.0;
36138                inherit: "default" 0.0;
36139                visible: 1;
36140             }
36141             description { state: "pressed" 0.0;
36142                inherit: "default" 0.0;
36143                visible: 1;
36144                color: 0 0 0 255;
36145             }
36146             description { state: "selected" 0.0;
36147                inherit: "default" 0.0;
36148                visible: 1;
36149                color: 50 50 50 255;
36150             }
36151             description { state: "disabled" 0.0;
36152                inherit: "default" 0.0;
36153                visible: 1;
36154                color: 200 200 200 255;
36155             }
36156          }
36157          part { name: "disabler";
36158             repeat_events: 0;
36159             scale: 1;
36160             description { state: "default" 0.0;
36161                visible: 0;
36162                fixed: 1 1;
36163                min: 1 1;
36164                align: 0.0 0.5;
36165                rel1 { relative: 0.0 0.0; to: "segment";}
36166                rel2 { relative: 1.0 1.0; to: "segment";}
36167                color: 255 255 255 150;
36168             }
36169             description { state: "disabled_single" 0.0;
36170                inherit: "default" 0.0;
36171                visible: 1;
36172                image {
36173                   normal: "seg_single_normal.png";
36174                   border: 7 7 7 7;
36175                }
36176             }
36177             description { state: "disabled_left" 0.0;
36178                inherit: "default" 0.0;
36179                visible: 1;
36180                image {
36181                   normal: "seg_left_normal.png";
36182                   border:  6 1 7 7;
36183                }
36184             }
36185             description { state: "disabled_right" 0.0;
36186                inherit: "default" 0.0;
36187                visible: 1;
36188                image {
36189                   normal: "seg_right_normal.png";
36190                   border: 1 6 7 7;
36191                }
36192             }
36193             description { state: "disabled_middle" 0.0;
36194                inherit: "default" 0.0;
36195                visible: 1;
36196                image {
36197                   normal: "seg_middle_normal.png";
36198                   border: 2 2 2 2;
36199                }
36200             }
36201          }
36202       }
36203       programs {
36204          script {
36205             public seg_type; // Single, Left, Middle, Right.
36206             public seg_state; // Normal/Default, Pressed, Selected.
36207             public seg_status;// Enabled/Default, Disabled
36208
36209             public update_state() {
36210                new type, state, disabled;
36211                type = get_int(seg_type);
36212                state = get_int(seg_state);
36213                disabled = get_int(seg_status);
36214
36215                if(state == SEGMENT_STATE_NORMAL)
36216                  {
36217                     if(type == SEGMENT_TYPE_SINGLE)
36218                       set_state(PART:"segment", "default_single", 0.0);
36219                     else if(type == SEGMENT_TYPE_LEFT)
36220                       set_state(PART:"segment", "default_left", 0.0);
36221                     else if(type == SEGMENT_TYPE_MIDDLE)
36222                       set_state(PART:"segment", "default_middle", 0.0);
36223                     else if(type == SEGMENT_TYPE_RIGHT)
36224                       set_state(PART:"segment", "default_right", 0.0);
36225                     set_state(PART:"elm.text", "normal", 0.0);
36226                  }
36227                else if(state == SEGMENT_STATE_PRESSED)
36228                  {
36229                     if(type == SEGMENT_TYPE_SINGLE)
36230                       set_state(PART:"segment", "pressed_single", 0.0);
36231                     else if(type == SEGMENT_TYPE_LEFT)
36232                       set_state(PART:"segment", "pressed_left", 0.0);
36233                     else if(type == SEGMENT_TYPE_MIDDLE)
36234                       set_state(PART:"segment", "pressed_middle", 0.0);
36235                     else if(type == SEGMENT_TYPE_RIGHT)
36236                       set_state(PART:"segment", "pressed_right", 0.0);
36237                     set_state(PART:"elm.text", "pressed", 0.0);
36238                  }
36239                else if(state == SEGMENT_STATE_SELECTED)
36240                  {
36241                     if(type == SEGMENT_TYPE_SINGLE)
36242                       set_state(PART:"segment", "selected_single", 0.0);
36243                     else if(type == SEGMENT_TYPE_LEFT)
36244                       set_state(PART:"segment", "selected_left", 0.0);
36245                     else if(type == SEGMENT_TYPE_MIDDLE)
36246                       set_state(PART:"segment", "selected_middle", 0.0);
36247                     else if(type == SEGMENT_TYPE_RIGHT)
36248                       set_state(PART:"segment", "selected_right", 0.0);
36249                     set_state(PART:"elm.text", "selected", 0.0);
36250                  }
36251                if(disabled == SEGMENT_STATUS_DISABLED)
36252                  {
36253                     if(type == SEGMENT_TYPE_SINGLE)
36254                       set_state(PART:"disabler", "disabled_single", 0.0);
36255                     else if(type == SEGMENT_TYPE_LEFT)
36256                       set_state(PART:"disabler", "disabled_left", 0.0);
36257                     else if(type == SEGMENT_TYPE_MIDDLE)
36258                       set_state(PART:"disabler", "disabled_middle", 0.0);
36259                     else if(type == SEGMENT_TYPE_RIGHT)
36260                       set_state(PART:"disabler", "disabled_right", 0.0);
36261                     set_state(PART:"elm.text", "disabled", 0.0);
36262                  }
36263             }
36264          }
36265          program {
36266             name: "segment_type_s";
36267             signal: "elm,type,segment,single";
36268             source: "elm";
36269             script {
36270                set_int(seg_type, SEGMENT_TYPE_SINGLE);
36271                update_state();
36272             }
36273          }
36274          program {
36275             name: "segment_type_l";
36276             signal: "elm,type,segment,left";
36277             source: "elm";
36278             script {
36279                set_int(seg_type, SEGMENT_TYPE_LEFT);
36280                update_state();
36281             }
36282          }
36283          program {
36284             name: "segment_type_m";
36285             signal: "elm,type,segment,middle";
36286             source: "elm";
36287             script {
36288                set_int(seg_type, SEGMENT_TYPE_MIDDLE);
36289                update_state();
36290             }
36291          }
36292          program {
36293             name: "segment_type_r";
36294             signal: "elm,type,segment,right";
36295             source: "elm";
36296             script {
36297                set_int(seg_type, SEGMENT_TYPE_RIGHT);
36298                update_state();
36299             }
36300          }
36301          program {
36302             name: "normal_segment";
36303             signal: "elm,state,segment,normal";
36304             source: "elm";
36305             script {
36306                set_int(seg_state, SEGMENT_STATE_NORMAL);
36307                update_state();
36308             }
36309          }
36310          program {
36311             name: "pressed_segment";
36312             signal: "elm,state,segment,pressed";
36313             source: "elm";
36314             script {
36315                set_int(seg_state, SEGMENT_STATE_PRESSED);
36316                update_state();
36317             }
36318          }
36319          program {
36320             name: "selected_segment";
36321             signal: "elm,state,segment,selected";
36322             source: "elm";
36323             script {
36324                set_int(seg_state, SEGMENT_STATE_SELECTED);
36325                update_state();
36326             }
36327          }
36328          program { name: "disable_segment";
36329             signal: "elm,state,disabled";
36330             source: "elm";
36331             script {
36332                set_int(seg_status, SEGMENT_STATUS_DISABLED);
36333                update_state();
36334             }
36335          }
36336          program { name: "enable_segment";
36337             signal: "elm,state,enabled";
36338             source: "elm";
36339             script {
36340                set_int(seg_status, SEGMENT_STATUS_ENABLED);
36341                update_state();
36342             }
36343          }
36344          program { name: "text_show";
36345             signal: "elm,state,text,visible";
36346             source: "elm";
36347             script {
36348                new st[31];
36349                new Float:vl;
36350                get_state(PART:"elm.swallow.icon", st, 30, vl);
36351                if (!strcmp(st, "icononly"))
36352                  {
36353                     set_state(PART:"elm.swallow.icon", "visible", 0.0);
36354                     set_state(PART:"padding_icon_text", "visible", 0.0);
36355                  }
36356                get_state(PART:"elm.text", st, 30, vl);
36357                if (!strcmp(st, "selected"))
36358                   set_state(PART:"elm.text", "selected", 0.0);
36359                else
36360                   set_state(PART:"elm.text", "normal", 0.0);
36361             }
36362          }
36363          program { name: "text_hide";
36364             signal: "elm,state,text,hidden";
36365             source: "elm";
36366             script {
36367                new st[31];
36368                new Float:vl;
36369                get_state(PART:"elm.swallow.icon", st, 30, vl);
36370                if (!strcmp(st, "visible"))
36371                  {
36372                     set_state(PART:"elm.swallow.icon", "icononly", 0.0);
36373                     set_state(PART:"padding_icon_text", "icononly", 0.0);
36374                  }
36375                set_state(PART:"elm.text", "default", 0.0);
36376             }
36377          }
36378          program { name: "icon_show";
36379             signal: "elm,state,icon,visible";
36380             source: "elm";
36381             script {
36382                new st[31];
36383                new Float:vl;
36384                get_state(PART:"elm.text", st, 30, vl);
36385                if ((!strcmp(st, "normal")) || (!strcmp(st, "selected")))
36386                  {
36387                     set_state(PART:"elm.swallow.icon", "visible", 0.0);
36388                     set_state(PART:"padding_icon_text", "visible", 0.0);
36389                  }
36390                else
36391                  {
36392                     set_state(PART:"elm.swallow.icon", "icononly", 0.0);
36393                     set_state(PART:"padding_icon_text", "icononly", 0.0);
36394                  }
36395             }
36396          }
36397          program { name: "icon_hide";
36398             signal: "elm,state,icon,hidden";
36399             source: "elm";
36400             action:  STATE_SET "default" 0.0;
36401             target: "elm.swallow.icon";
36402          }
36403       }
36404 #undef SEGMENT_TYPE_SINGLE
36405 #undef SEGMENT_TYPE_LEFT
36406 #undef SEGMENT_TYPE_MIDDLE
36407 #undef SEGMENT_TYPE_RIGHT
36408 #undef SEGMENT_STATE_NORMAL
36409 #undef SEGMENT_STATE_PRESSED
36410 #undef SEGMENT_STATE_SELECTED
36411 #undef SEGMENT_STATUS_ENABLED
36412 #undef SEGMENT_STATUS_DISABLED
36413    }
36414
36415    /* a simple title layout, with a label and two icons */
36416    group { name: "elm/layout/application/titlebar";
36417       images {
36418          image: "toolbar_sel.png" COMP;
36419       }
36420       parts {
36421          part { name: "base";
36422             mouse_events: 0;
36423             scale: 1;
36424             description { state: "default" 0.0;
36425                min: 0 33;
36426                max: 99999 33;
36427                align: 0.5 0.0;
36428                rel1.offset: -1 0;
36429                rel2.offset: 1 0;
36430                image {
36431                   normal: "toolbar_sel.png";
36432                   border: 3 3 0 0;
36433                }
36434             }
36435          }
36436          part { name: "elm.swallow.content";
36437             type: SWALLOW;
36438             description { state: "default" 0.0;
36439                visible: 1;
36440                rel1 {
36441                   to: "base";
36442                   relative: 0.0 1.0;
36443                }
36444             }
36445          }
36446          part { name: "elm.swallow.icon";
36447             type: SWALLOW;
36448             scale: 1;
36449             description { state: "default" 0.0;
36450                visible: 0;
36451                fixed: 1 1;
36452                align: 0.0 0.0;
36453                rel1 {
36454                   to: "base";
36455                   relative: 0.0 0.0;
36456                   offset: 4 0;
36457                }
36458                rel2 {
36459                   to: "base";
36460                   relative: 0.0 1.0;
36461                }
36462             }
36463             description { state: "visible" 0.0;
36464                inherit: "default" 0.0;
36465                visible: 1;
36466             }
36467          }
36468          part { name: "elm.swallow.end";
36469             type: SWALLOW;
36470             scale: 1;
36471             description { state: "default" 0.0;
36472                visible: 0;
36473                fixed: 1 1;
36474                align: 1.0 0.0;
36475                rel1 {
36476                   to: "base";
36477                   relative: 1.0 0.0;
36478                   offset: 0 0;
36479                }
36480                rel2 {
36481                   to: "base";
36482                   relative: 1.0 1.0;
36483                   offset: -5 -1;
36484                }
36485             }
36486             description { state: "visible" 0.0;
36487                inherit: "default" 0.0;
36488                visible: 1;
36489             }
36490          }
36491          part { name: "elm.text";
36492             type: TEXT;
36493             effect: SOFT_SHADOW;
36494             mouse_events: 0;
36495             scale: 1;
36496             description { state: "default" 0.0;
36497                fixed: 1 1;
36498                rel1 {
36499                   to_x: "elm.swallow.icon";
36500                   to_y: "base";
36501                   relative: 1.0 0.0;
36502                }
36503                rel2 {
36504                   to_x: "elm.swallow.end";
36505                   to_y: "base";
36506                   relative: 0.0 1.0;
36507                }
36508                text {
36509                   font: "Sans";
36510                   size: 12;
36511                   min: 0 0;
36512                   align: 0.5 0.5;
36513                   text_class: "title_bar";
36514                }
36515             }
36516          }
36517       }
36518       programs {
36519          program { name: "show_icon";
36520             signal: "elm,state,icon,visible";
36521             source: "elm";
36522             action: STATE_SET "visible" 0.0;
36523             target: "elm.swallow.icon";
36524          }
36525          program { name: "hide_icon";
36526             signal: "elm,state,icon,hidden";
36527             source: "elm";
36528             action: STATE_SET "default" 0.0;
36529             target: "elm.swallow.icon";
36530          }
36531          program { name: "show_end";
36532             signal: "elm,state,end,visible";
36533             source: "elm";
36534             action: STATE_SET "visible" 0.0;
36535             target: "elm.swallow.end";
36536          }
36537          program { name: "hide_end";
36538             signal: "elm,state,end,hidden";
36539             source: "elm";
36540             action: STATE_SET "default" 0.0;
36541             target: "elm.swallow.end";
36542          }
36543       }
36544    }
36545 }