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.arrowUp";
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                align: 0.5 1;
7998                rel2 {
7999                   relative: 1 0;
8000                   to: "arrow_area_up";
8001                }
8002             }
8003          }
8004          part { name: "elm.swallow.arrowDown";
8005             type: SWALLOW;
8006             mouse_events: 0;
8007             scale: 1;
8008             dragable {
8009                x: 1 1 0;
8010                y: 1 1 0;
8011                confine: "arrow_area_down";
8012             }
8013             description {
8014                state: "default" 0.0;
8015                min: 40 40;
8016                fixed: 1 1;
8017                visible: 1;
8018                align: 0.5 0;
8019                rel1 {
8020                   relative: 1 1;
8021                   to: "arrow_area_down";
8022                }
8023             }
8024          }
8025          part { name: "elm.swallow.arrowLeft";
8026             type: SWALLOW;
8027             mouse_events: 0;
8028             scale: 1;
8029             dragable {
8030                x: 1 1 0;
8031                y: 1 1 0;
8032                confine: "arrow_area_left";
8033             }
8034             description {
8035                state: "default" 0.0;
8036                min: 40 40;
8037                fixed: 1 1;
8038                visible: 1;
8039                align: 1 0.5;
8040                rel2 {
8041                   relative: 0 1;
8042                   to: "arrow_area_left";
8043                }
8044             }
8045          }
8046          part { name: "elm.swallow.arrowRight";
8047             type: SWALLOW;
8048             mouse_events: 0;
8049             scale: 1;
8050             dragable {
8051                x: 1 1 0;
8052                y: 1 1 0;
8053                confine: "arrow_area_right";
8054             }
8055             description {
8056                state: "default" 0.0;
8057                min: 40 40;
8058                fixed: 1 1;
8059                visible: 1;
8060                align: 0 0.5;
8061                rel1 {
8062                   relative: 1 0;
8063                   to: "arrow_area_right";
8064                }
8065             }
8066          }
8067          part { name: "base";
8068             scale: 1;
8069             description { state: "default" 0.0;
8070                rel1.offset: -3 -3;
8071                rel2.offset: 3 3;
8072                image { normal: "bt_base2.png";
8073                   border: 7 7 7 7;
8074                }
8075             }
8076          }
8077          part { name: "over1";
8078             scale: 1;
8079             description { state: "default" 0.0;
8080                rel1.to: "base";
8081                rel2.to: "base";
8082                rel2.relative: 1.0 0.5;
8083                image { normal: "bt_hilight.png";
8084                   border: 7 7 7 0;
8085                }
8086             }
8087          }
8088          part { name: "over2";
8089             scale: 1;
8090             description { state: "default" 0.0;
8091                rel1.to: "base";
8092                rel2.to: "base";
8093                image { normal: "bt_shine.png";
8094                   border: 7 7 7 7;
8095                }
8096             }
8097          }
8098          part { name: "elm.swallow.content";
8099             type: SWALLOW;
8100             description { state: "default" 0.0;
8101                rel1 { to:"base"; offset: 4 4; };
8102                rel2 { to:"base"; offset: -5 -5; };
8103             }
8104          }
8105       }
8106    }
8107 ///////////////////////////////////////////////////////////////////////////////
8108    group { name: "elm/ctxpopup/arrow/default";
8109       images {
8110          image: "icon_arrow_left.png" COMP;
8111          image: "icon_arrow_right.png" COMP;
8112          image: "icon_arrow_up.png" COMP;
8113          image: "icon_arrow_down.png" COMP;
8114       }
8115       parts {
8116          part { name: "ctxpopup_arrow";
8117             type: IMAGE;
8118             scale: 1;
8119             description {
8120                state: "default" 0.0;
8121                min: 40 40;
8122                fixed: 1 1;
8123                visible: 0;
8124                align: 0.5 0.5;
8125             }
8126             description {
8127                state: "left" 0.0;
8128                min: 40 40;
8129                fixed: 1 1;
8130                align: 0.0 0.5;
8131                rel1 { offset: 7 0; }
8132                rel2 { offset: 6 -1; }
8133                image { normal: "icon_arrow_left.png"; }
8134             }
8135             description { state: "right" 0.0;
8136                min: 40 40;
8137                fixed: 1 1;
8138                align: 1.0 0.5;
8139                rel1 { offset: -7 0; }
8140                rel2 { offset: -8 -1; }
8141                image { normal: "icon_arrow_right.png"; }
8142             }
8143             description { state: "top" 0.0;
8144                min: 40 40;
8145                fixed: 1 1;
8146                align: 0.5 0.0;
8147                rel1 { offset: 0 7; }
8148                rel2 { offset: -1 6; }
8149                image { normal: "icon_arrow_up.png"; }
8150             }
8151             description { state: "bottom" 0.0;
8152                min: 40 40;
8153                fixed: 1 1;
8154                align: 0.5 1.0;
8155                rel1 { offset: 0 -7; }
8156                rel2 { offset: -1 -8; }
8157                image { normal: "icon_arrow_down.png"; }
8158             }
8159          }
8160       }
8161       programs {
8162          program { name: "enable_left_arrow";
8163             signal: "elm,state,left";
8164             source: "elm";
8165             action: STATE_SET "left" 0.0;
8166             target: "ctxpopup_arrow";
8167          }
8168          program { name: "enable_right_arrow";
8169             signal: "elm,state,right";
8170             source: "elm";
8171             action: STATE_SET "right" 0.0;
8172             target: "ctxpopup_arrow";
8173          }
8174          program { name: "enable_top_arrow";
8175             signal: "elm,state,top";
8176             source: "elm";
8177             action: STATE_SET "top" 0.0;
8178             target: "ctxpopup_arrow";
8179          }
8180          program { name: "enable_bottom_arrow";
8181             signal: "elm,state,bottom";
8182             source: "elm";
8183             action: STATE_SET "bottom" 0.0;
8184             target: "ctxpopup_arrow";
8185          }
8186       }
8187    }
8188 ///////////////////////////////////////////////////////////////////////////////
8189    group {
8190       name: "elm/ctxpopup/icon_text_style_item/default";
8191            alias: "elm/ctxpopup/text_style_item/default";
8192            alias: "elm/ctxpopup/icon_style_item/default";
8193       images {
8194          image: "hoversel_entry_bg.png" COMP;
8195       }
8196       parts {
8197          part { name: "event";
8198             mouse_events: 1;
8199             description { state: "default" 0.0;
8200             }
8201          }
8202          part { name: "bg";
8203             mouse_events: 0;
8204             description { state: "default" 0.0;
8205                rel1.offset: 2 2;
8206                rel2.offset: -3 -3;
8207                image { normal:"hoversel_entry_bg.png";
8208                   border: 0 0 2 2;
8209                }
8210                fill.smooth: 0;
8211                color: 255 255 255 0;
8212             }
8213             description { state: "clicked" 0.0;
8214                inherit: "default" 0.0;
8215                color: 255 255 255 255;
8216             }
8217          }
8218          part { name: "elm.swallow.icon";
8219             type: SWALLOW;
8220             clip_to: "disclip";
8221             scale: 1;
8222             description { state: "default" 0.0;
8223                min: 25 25;
8224                max: 25 25;
8225                align: 0 0.5;
8226                aspect: 1.0 1.0;
8227                rel1 { offset: 10 10; }
8228                                         rel2 { offset: 0 -10; }
8229             }
8230          }
8231          part { name: "elm.text";
8232             type: TEXT;
8233             mouse_events: 0;
8234             clip_to: "disclip";
8235             scale: 1;
8236             description { state: "default" 0.0;
8237                min: 1 40;
8238                fixed: 0 1;
8239                align: 0.5 0.5;
8240                rel1 { relative: 1.0 0.0; to: "elm.swallow.icon"; offset: 10 0; }
8241                rel2 { relative: 1.0 1.0; offset: -11 -1; }
8242                color: 255 255 255 255;
8243                text {
8244                   font: "Sans";
8245                   size: 10;
8246                   align: 0.0 0.5;
8247                   min: 1 1;
8248                }
8249             }
8250             description { state: "clicked" 0.0;
8251                inherit: "default" 0.0;
8252                color: 0 0 0 255;
8253             }
8254          }
8255          part { name: "over1";
8256             mouse_events: 1;
8257             repeat_events: 1;
8258             ignore_flags: ON_HOLD;
8259             description { state: "default" 0.0;
8260                color: 255 255 255 0;
8261             }
8262             description { state: "clicked" 0.0;
8263                inherit: "default" 0.0;
8264                color: 255 255 255 255;
8265             }
8266          }
8267          part { name: "over2";
8268             mouse_events: 1;
8269             repeat_events: 1;
8270             description { state: "default" 0.0;
8271                color: 255 255 255 0;
8272             }
8273             description { state: "clicked" 0.0;
8274                inherit: "default" 0.0;
8275                color: 255 255 255 255;
8276             }
8277          }
8278          part { name: "disclip";
8279             type: RECT;
8280             description { state: "default" 0.0;
8281                color: 255 255 255 255;
8282             }
8283             description { state: "enabled" 0.0;
8284                color: 127 127 127 127;
8285             }
8286          }
8287          part { name: "blocker";
8288             description { state: "default" 0.0;
8289                visible: 0;
8290             }
8291             description { state: "enabled" 0.0;
8292                visible: 1;
8293                color: 0 0 0 0;
8294             }
8295          }
8296       }
8297       programs {
8298          program {
8299             name: "item_unclick";
8300             signal: "mouse,up,1";
8301             source: "over1";
8302             action: SIGNAL_EMIT "elm,action,click" "";
8303          }
8304          program { name: "disable";
8305             signal: "elm,state,disabled";
8306             source: "elm";
8307             action: STATE_SET "enabled" 0.0;
8308             target: "disclip";
8309             target: "blocker";
8310          }
8311          program { name: "enable";
8312             signal: "elm,state,enabled";
8313             source: "elm";
8314             action: STATE_SET "default" 0.0;
8315             target: "disclip";
8316             target: "blocker";
8317          }
8318          program { name: "item_click2";
8319             signal: "mouse,down,1";
8320             source: "over2";
8321             script {
8322                set_state(PART:"elm.text", "clicked", 0.0);
8323                set_state(PART:"bg", "clicked", 0.0);
8324             }
8325          }
8326          program { name: "item_unclick2";
8327             signal: "mouse,up,1";
8328             source: "over2";
8329             script {
8330                                         set_state(PART:"elm.text", "default", 0.0);
8331                set_state(PART:"bg", "default", 0.0);
8332             }
8333          }
8334       }
8335    }
8336 ///////////////////////////////////////////////////////////////////////////////
8337 // emoticon images from:
8338 // Tanya - Latvia
8339 // http://lazycrazy.deviantart.com/
8340 // http://lazycrazy.deviantart.com/art/Very-Emotional-Emoticons-144461621
8341   group { name: "elm/entry/emoticon/angry/default"; images.image:
8342      "emo-angry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8343         "emo-angry.png"; } } } }
8344   group { name: "elm/entry/emoticon/angry-shout/default"; images.image:
8345      "emo-angry-shout.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8346         "emo-angry-shout.png"; } } } }
8347   group { name: "elm/entry/emoticon/crazy-laugh/default"; images.image:
8348      "emo-crazy-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8349         "emo-crazy-laugh.png"; } } } }
8350   group { name: "elm/entry/emoticon/evil-laugh/default"; images.image:
8351      "emo-evil-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8352         "emo-evil-laugh.png"; } } } }
8353   group { name: "elm/entry/emoticon/evil/default"; images.image:
8354      "emo-evil.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8355         "emo-evil.png"; } } } }
8356   group { name: "elm/entry/emoticon/goggle-smile/default"; images.image:
8357      "emo-goggle-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8358         "emo-goggle-smile.png"; } } } }
8359   group { name: "elm/entry/emoticon/grumpy/default"; images.image:
8360      "emo-grumpy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8361         "emo-grumpy.png"; } } } }
8362   group { name: "elm/entry/emoticon/grumpy-smile/default"; images.image:
8363      "emo-grumpy-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8364         "emo-grumpy-smile.png"; } } } }
8365   group { name: "elm/entry/emoticon/guilty/default"; images.image:
8366      "emo-guilty.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8367         "emo-guilty.png"; } } } }
8368   group { name: "elm/entry/emoticon/guilty-smile/default"; images.image:
8369      "emo-guilty-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8370         "emo-guilty-smile.png"; } } } }
8371   group { name: "elm/entry/emoticon/haha/default"; images.image:
8372      "emo-haha.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8373         "emo-haha.png"; } } } }
8374   group { name: "elm/entry/emoticon/half-smile/default"; images.image:
8375      "emo-half-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8376         "emo-half-smile.png"; } } } }
8377   group { name: "elm/entry/emoticon/happy-panting/default"; images.image:
8378      "emo-happy-panting.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8379         "emo-happy-panting.png"; } } } }
8380   group { name: "elm/entry/emoticon/happy/default"; images.image:
8381      "emo-happy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8382         "emo-happy.png"; } } } }
8383   group { name: "elm/entry/emoticon/indifferent/default"; images.image:
8384      "emo-indifferent.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8385         "emo-indifferent.png"; } } } }
8386   group { name: "elm/entry/emoticon/kiss/default"; images.image:
8387      "emo-kiss.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8388         "emo-kiss.png"; } } } }
8389   group { name: "elm/entry/emoticon/knowing-grin/default"; images.image:
8390      "emo-knowing-grin.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8391         "emo-knowing-grin.png"; } } } }
8392   group { name: "elm/entry/emoticon/laugh/default"; images.image:
8393      "emo-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8394         "emo-laugh.png"; } } } }
8395   group { name: "elm/entry/emoticon/little-bit-sorry/default"; images.image:
8396      "emo-little-bit-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8397         "emo-little-bit-sorry.png"; } } } }
8398   group { name: "elm/entry/emoticon/love-lots/default"; images.image:
8399      "emo-love-lots.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8400         "emo-love-lots.png"; } } } }
8401   group { name: "elm/entry/emoticon/love/default"; images.image:
8402      "emo-love.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8403         "emo-love.png"; } } } }
8404   group { name: "elm/entry/emoticon/minimal-smile/default"; images.image:
8405      "emo-minimal-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8406         "emo-minimal-smile.png"; } } } }
8407   group { name: "elm/entry/emoticon/not-happy/default"; images.image:
8408      "emo-not-happy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8409         "emo-not-happy.png"; } } } }
8410   group { name: "elm/entry/emoticon/not-impressed/default"; images.image:
8411      "emo-not-impressed.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8412         "emo-not-impressed.png"; } } } }
8413   group { name: "elm/entry/emoticon/omg/default"; images.image:
8414      "emo-omg.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8415         "emo-omg.png"; } } } }
8416   group { name: "elm/entry/emoticon/opensmile/default"; images.image:
8417      "emo-opensmile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8418         "emo-opensmile.png"; } } } }
8419   group { name: "elm/entry/emoticon/smile/default"; images.image:
8420      "emo-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8421         "emo-smile.png"; } } } }
8422   group { name: "elm/entry/emoticon/sorry/default"; images.image:
8423      "emo-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8424         "emo-sorry.png"; } } } }
8425   group { name: "elm/entry/emoticon/squint-laugh/default"; images.image:
8426      "emo-squint-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8427         "emo-squint-laugh.png"; } } } }
8428   group { name: "elm/entry/emoticon/surprised/default"; images.image:
8429      "emo-surprised.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8430         "emo-surprised.png"; } } } }
8431   group { name: "elm/entry/emoticon/suspicious/default"; images.image:
8432      "emo-suspicious.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8433         "emo-suspicious.png"; } } } }
8434   group { name: "elm/entry/emoticon/tongue-dangling/default"; images.image:
8435      "emo-tongue-dangling.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8436         "emo-tongue-dangling.png"; } } } }
8437   group { name: "elm/entry/emoticon/tongue-poke/default"; images.image:
8438      "emo-tongue-poke.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8439         "emo-tongue-poke.png"; } } } }
8440   group { name: "elm/entry/emoticon/uh/default"; images.image:
8441      "emo-uh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8442         "emo-uh.png"; } } } }
8443   group { name: "elm/entry/emoticon/unhappy/default"; images.image:
8444      "emo-unhappy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8445         "emo-unhappy.png"; } } } }
8446   group { name: "elm/entry/emoticon/very-sorry/default"; images.image:
8447      "emo-very-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8448         "emo-very-sorry.png"; } } } }
8449   group { name: "elm/entry/emoticon/what/default"; images.image:
8450      "emo-what.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8451         "emo-what.png"; } } } }
8452   group { name: "elm/entry/emoticon/wink/default"; images.image:
8453      "emo-wink.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8454         "emo-wink.png"; } } } }
8455   group { name: "elm/entry/emoticon/worried/default"; images.image:
8456      "emo-worried.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8457         "emo-worried.png"; } } } }
8458   group { name: "elm/entry/emoticon/wtf/default"; images.image:
8459      "emo-wtf.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8460         "emo-wtf.png"; } } } }
8461 //------------------------------------------------------------
8462    group { name: "elm/entry/base/default";
8463       styles
8464       {
8465          style { name: "entry_textblock_style";
8466             base: "font=Sans font_size=10 color=#000 wrap=word text_class=entry";
8467             tag:  "br" "\n";
8468             tag:  "ps" "ps";
8469             tag:  "tab" "\t";
8470             tag:  "em" "+ font=Sans:style=Oblique";
8471             tag:  "b" "+ font=Sans:style=Bold";
8472             tag:  "link" "+ color=#800 underline=on underline_color=#8008";
8473             tag:  "hilight" "+ font=Sans:style=Bold";
8474          }
8475          style { name: "entry_textblock_disabled_style";
8476             base: "font=Sans font_size=10 color=#00000080 wrap=word text_class=entry";
8477             tag:  "br" "\n";
8478             tag:  "ps" "ps";
8479             tag:  "tab" "\t";
8480             tag:  "em" "+ font=Sans:style=Oblique";
8481             tag:  "b" "+ font=Sans:style=Bold";
8482             tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
8483             tag:  "hilight" "+ font=Sans:style=Bold";
8484          }
8485       }
8486       data {
8487 //         item: context_menu_orientation "horizontal";
8488       }
8489       parts {
8490          part { name: "elm.text";
8491             type: TEXTBLOCK;
8492             mouse_events: 1;
8493             scale: 1;
8494             entry_mode: EDITABLE;
8495             select_mode: EXPLICIT;
8496             multiline: 1;
8497             source: "elm/entry/selection/default"; // selection under
8498    //       source2: "X"; // selection over
8499    //       source3: "X"; // cursor under
8500             source4: "elm/entry/cursor/default"; // cursorover
8501             source5: "elm/entry/anchor/default"; // anchor under
8502    //       source6: "X"; // anchor over
8503             description { state: "default" 0.0;
8504                /* we gotta use 0 0 here, because of scrolled entries */
8505                fixed: 0 0;
8506                text {
8507                   style: "entry_textblock_style";
8508                   min: 0 1;
8509                   align: 0.0 0.0;
8510                }
8511             }
8512             description { state: "disabled" 0.0;
8513                inherit: "default" 0.0;
8514                text {
8515                   style: "entry_textblock_disabled_style";
8516                   min: 0 1;
8517                }
8518             }
8519          }
8520       }
8521       programs {
8522          program { name: "focus";
8523             signal: "load";
8524             source: "";
8525             action: FOCUS_SET;
8526             target: "elm.text";
8527          }
8528          program { name: "disable";
8529             signal: "elm,state,disabled";
8530             source: "elm";
8531             action: STATE_SET "disabled" 0.0;
8532             target: "elm.text";
8533          }
8534          program { name: "enable";
8535             signal: "elm,state,enabled";
8536             source: "elm";
8537             action: STATE_SET "default" 0.0;
8538             target: "elm.text";
8539          }
8540       }
8541    }
8542
8543    group { name: "elm/entry/base-mixedwrap/default";
8544       styles
8545       {
8546          style { name: "entry_textblock_style_mixedwrap";
8547             base: "font=Sans font_size=10 color=#000 wrap=mixed text_class=entry";
8548             tag:  "br" "\n";
8549             tag:  "ps" "ps";
8550             tag:  "tab" "\t";
8551             tag:  "em" "+ font=Sans:style=Oblique";
8552             tag:  "b" "+ font=Sans:style=Bold";
8553             tag:  "link" "+ color=#800 underline=on underline_color=#8008";
8554             tag:  "hilight" "+ font=Sans:style=Bold";
8555          }
8556          style { name: "entry_textblock_disabled_style_mixedwrap";
8557             base: "font=Sans font_size=10 color=#00000080 wrap=char text_class=entry";
8558             tag:  "br" "\n";
8559             tag:  "ps" "ps";
8560             tag:  "tab" "\t";
8561             tag:  "em" "+ font=Sans:style=Oblique";
8562             tag:  "b" "+ font=Sans:style=Bold";
8563             tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
8564             tag:  "hilight" "+ font=Sans:style=Bold";
8565          }
8566       }
8567       parts {
8568          part { name: "elm.text";
8569             type: TEXTBLOCK;
8570             mouse_events: 1;
8571             scale: 1;
8572             entry_mode: EDITABLE;
8573             select_mode: EXPLICIT;
8574             multiline: 1;
8575             source: "elm/entry/selection/default"; // selection under
8576 //          source2: "X"; // selection over
8577 //          source3: "X"; // cursor under
8578             source4: "elm/entry/cursor/default"; // cursorover
8579             source5: "elm/entry/anchor/default"; // anchor under
8580 //          source6: "X"; // anchor over
8581             description { state: "default" 0.0;
8582                fixed: 1 0;
8583                text {
8584                   style: "entry_textblock_style_mixedwrap";
8585                   min: 0 1;
8586                   align: 0.0 0.0;
8587                }
8588             }
8589             description { state: "disabled" 0.0;
8590                inherit: "default" 0.0;
8591                text {
8592                   style: "entry_textblock_disabled_style_mixedwrap";
8593                   min: 0 1;
8594                }
8595             }
8596          }
8597       }
8598       programs {
8599          program { name: "focus";
8600             signal: "load";
8601             source: "";
8602             action: FOCUS_SET;
8603             target: "elm.text";
8604          }
8605          program { name: "disable";
8606             signal: "elm,state,disabled";
8607             source: "elm";
8608             action: STATE_SET "disabled" 0.0;
8609             target: "elm.text";
8610          }
8611          program { name: "enable";
8612             signal: "elm,state,enabled";
8613             source: "elm";
8614             action: STATE_SET "default" 0.0;
8615             target: "elm.text";
8616          }
8617       }
8618    }
8619
8620    group { name: "elm/entry/base-charwrap/default";
8621       styles
8622       {
8623          style { name: "entry_textblock_style_charwrap";
8624             base: "font=Sans font_size=10 color=#000 wrap=char text_class=entry";
8625             tag:  "br" "\n";
8626             tag:  "ps" "ps";
8627             tag:  "tab" "\t";
8628             tag:  "em" "+ font=Sans:style=Oblique";
8629             tag:  "b" "+ font=Sans:style=Bold";
8630             tag:  "link" "+ color=#800 underline=on underline_color=#8008";
8631             tag:  "hilight" "+ font=Sans:style=Bold";
8632          }
8633          style { name: "entry_textblock_disabled_style_charwrap";
8634             base: "font=Sans font_size=10 color=#00000080 wrap=char text_class=entry";
8635             tag:  "br" "\n";
8636             tag:  "ps" "ps";
8637             tag:  "tab" "\t";
8638             tag:  "em" "+ font=Sans:style=Oblique";
8639             tag:  "b" "+ font=Sans:style=Bold";
8640             tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
8641             tag:  "hilight" "+ font=Sans:style=Bold";
8642          }
8643       }
8644       parts {
8645          part { name: "elm.text";
8646             type: TEXTBLOCK;
8647             mouse_events: 1;
8648             scale: 1;
8649             entry_mode: EDITABLE;
8650             select_mode: EXPLICIT;
8651             multiline: 1;
8652             source: "elm/entry/selection/default"; // selection under
8653 //          source2: "X"; // selection over
8654 //          source3: "X"; // cursor under
8655             source4: "elm/entry/cursor/default"; // cursorover
8656             source5: "elm/entry/anchor/default"; // anchor under
8657 //          source6: "X"; // anchor over
8658             description { state: "default" 0.0;
8659                fixed: 1 0;
8660                text {
8661                   style: "entry_textblock_style_charwrap";
8662                   min: 0 1;
8663                   align: 0.0 0.0;
8664                }
8665             }
8666             description { state: "disabled" 0.0;
8667                inherit: "default" 0.0;
8668                text {
8669                   style: "entry_textblock_disabled_style_charwrap";
8670                   min: 0 1;
8671                }
8672             }
8673          }
8674       }
8675       programs {
8676          program { name: "focus";
8677             signal: "load";
8678             source: "";
8679             action: FOCUS_SET;
8680             target: "elm.text";
8681          }
8682          program { name: "disable";
8683             signal: "elm,state,disabled";
8684             source: "elm";
8685             action: STATE_SET "disabled" 0.0;
8686             target: "elm.text";
8687          }
8688          program { name: "enable";
8689             signal: "elm,state,enabled";
8690             source: "elm";
8691             action: STATE_SET "default" 0.0;
8692             target: "elm.text";
8693          }
8694       }
8695    }
8696
8697    group { name: "elm/entry/base-nowrap/default";
8698       parts {
8699          part { name: "elm.text";
8700             type: TEXTBLOCK;
8701             mouse_events: 1;
8702             scale: 1;
8703             entry_mode: EDITABLE;
8704             select_mode: EXPLICIT;
8705             multiline: 1;
8706             source: "elm/entry/selection/default"; // selection under
8707             source4: "elm/entry/cursor/default"; // cursorover
8708             source5: "elm/entry/anchor/default"; // anchor under
8709             description { state: "default" 0.0;
8710                text {
8711                   style: "entry_textblock_style";
8712                   min: 1 1;
8713                   align: 0.0 0.0;
8714                }
8715             }
8716             description { state: "disabled" 0.0;
8717                inherit: "default" 0.0;
8718                text {
8719                   style: "entry_textblock_disabled_style";
8720                   min: 0 1;
8721                }
8722             }
8723          }
8724 /*
8725          part { name: "sel";
8726             type: RECT;
8727             mouse_events: 0;
8728             description { state: "default" 0.0;
8729                align: 1.0 1.0;
8730                max: 16 16;
8731                aspect: 1.0 1.0;
8732                color: 255 0 0 0;
8733             }
8734             description { state: "visible" 0.0;
8735                inherit: "default" 0.0;
8736                color: 255 0 0 50;
8737             }
8738          }
8739  */
8740       }
8741       programs {
8742          program { name: "focus";
8743             signal: "load";
8744             source: "";
8745             action: FOCUS_SET;
8746             target: "elm.text";
8747          }
8748          program { name: "disable";
8749             signal: "elm,state,disabled";
8750             source: "elm";
8751             action: STATE_SET "disabled" 0.0;
8752             target: "elm.text";
8753          }
8754          program { name: "enable";
8755             signal: "elm,state,enabled";
8756             source: "elm";
8757             action: STATE_SET "default" 0.0;
8758             target: "elm.text";
8759          }
8760 /*
8761          program { name: "selmode0";
8762             signal: "elm,state,select,on";
8763             source: "elm";
8764             action: STATE_SET "visible" 0.0;
8765             target: "sel";
8766          }
8767          program { name: "selmode1";
8768             signal: "elm,state,select,off";
8769             source: "elm";
8770             action: STATE_SET "default" 0.0;
8771             target: "sel";
8772          }
8773  */
8774       }
8775    }
8776
8777    group { name: "elm/entry/base-single/default";
8778       styles
8779       {
8780          style { name: "entry_single_textblock_style";
8781             base: "font=Sans font_size=10 color=#000 wrap=none text_class=entry";
8782             tag:  "br" "\n";
8783             tag:  "ps" "ps";
8784             tag:  "tab" "\t";
8785             tag:  "em" "+ font=Sans:style=Oblique";
8786             tag:  "b" "+ font=Sans:style=Bold";
8787             tag:  "link" "+ color=#800 underline=on underline_color=#8008";
8788             tag:  "hilight" "+ font=Sans:style=Bold";
8789          }
8790          style { name: "entry_single_textblock_disabled_style";
8791             base: "font=Sans font_size=10 color=#00000080 wrap=none text_class=entry";
8792             tag:  "br" "\n";
8793             tag:  "ps" "ps";
8794             tag:  "tab" "\t";
8795             tag:  "em" "+ font=Sans:style=Oblique";
8796             tag:  "b" "+ font=Sans:style=Bold";
8797             tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
8798             tag:  "hilight" "+ font=Sans:style=Bold";
8799          }
8800       }
8801       parts {
8802          part { name: "elm.text";
8803             type: TEXTBLOCK;
8804             mouse_events: 1;
8805             scale: 1;
8806             entry_mode: EDITABLE;
8807             select_mode: EXPLICIT;
8808             multiline: 0;
8809             source: "elm/entry/selection/default"; // selection under
8810             source4: "elm/entry/cursor/default"; // cursorover
8811             source5: "elm/entry/anchor/default"; // anchor under
8812             description { state: "default" 0.0;
8813                text {
8814                   style: "entry_single_textblock_style";
8815                   min: 1 1;
8816                   max: 0 0;
8817                   align: 0.0 0.5;
8818                }
8819             }
8820             description { state: "disabled" 0.0;
8821                inherit: "default" 0.0;
8822                text {
8823                   style: "entry_single_textblock_disabled_style";
8824                }
8825             }
8826          }
8827       }
8828       programs {
8829          program { name: "focus";
8830             signal: "load";
8831             source: "";
8832             action: FOCUS_SET;
8833             target: "elm.text";
8834          }
8835          program { name: "disable";
8836             signal: "elm,state,disabled";
8837             source: "elm";
8838             action: STATE_SET "disabled" 0.0;
8839             target: "elm.text";
8840          }
8841          program { name: "enable";
8842             signal: "elm,state,enabled";
8843             source: "elm";
8844             action: STATE_SET "default" 0.0;
8845             target: "elm.text";
8846          }
8847       }
8848    }
8849
8850    group { name: "elm/entry/base-single-noedit/default";
8851       parts {
8852          part { name: "elm.text";
8853             type: TEXTBLOCK;
8854             mouse_events: 1;
8855             scale: 1;
8856             entry_mode: PLAIN;
8857             select_mode: EXPLICIT;
8858             multiline: 0;
8859             source: "elm/entry/selection/default"; // selection under
8860             source5: "elm/entry/anchor/default"; // anchor under
8861             description { state: "default" 0.0;
8862                text {
8863                   style: "entry_single_textblock_style";
8864                   min: 1 1;
8865                   max: 0 0;
8866                   align: 0.0 0.5;
8867                }
8868             }
8869             description { state: "disabled" 0.0;
8870                inherit: "default" 0.0;
8871                text {
8872                style: "entry_single_textblock_disabled_style";
8873                }
8874             }
8875          }
8876       }
8877       programs {
8878          program { name: "focus";
8879             signal: "load";
8880             source: "";
8881             action: FOCUS_SET;
8882             target: "elm.text";
8883          }
8884          program { name: "disable";
8885             signal: "elm,state,disabled";
8886             source: "elm";
8887             action: STATE_SET "disabled" 0.0;
8888             target: "elm.text";
8889          }
8890          program { name: "enable";
8891             signal: "elm,state,enabled";
8892             source: "elm";
8893             action: STATE_SET "default" 0.0;
8894             target: "elm.text";
8895          }
8896       }
8897    }
8898
8899    group { name: "elm/entry/base-noedit/default";
8900       parts {
8901          part { name: "elm.text";
8902             type: TEXTBLOCK;
8903             mouse_events: 1;
8904             scale: 1;
8905             entry_mode: PLAIN;
8906             select_mode: EXPLICIT;
8907             multiline: 1;
8908             source: "elm/entry/selection/default"; // selection under
8909             source5: "elm/entry/anchor/default"; // anchor under
8910             description { state: "default" 0.0;
8911                fixed: 1 0;
8912                text {
8913                   style: "entry_textblock_style";
8914                   min: 0 1;
8915                   align: 0.0 0.0;
8916                }
8917             }
8918             description { state: "disabled" 0.0;
8919                inherit: "default" 0.0;
8920                text {
8921                   style: "entry_textblock_disabled_style";
8922                }
8923             }
8924          }
8925       }
8926       programs {
8927          program { name: "focus";
8928             signal: "load";
8929             source: "";
8930             action: FOCUS_SET;
8931             target: "elm.text";
8932          }
8933          program { name: "disable";
8934             signal: "elm,state,disabled";
8935             source: "elm";
8936             action: STATE_SET "disabled" 0.0;
8937             target: "elm.text";
8938          }
8939          program { name: "enable";
8940             signal: "elm,state,enabled";
8941             source: "elm";
8942             action: STATE_SET "default" 0.0;
8943             target: "elm.text";
8944          }
8945       }
8946    }
8947
8948    group { name: "elm/entry/base-noedit-mixedwrap/default";
8949       parts {
8950          part { name: "elm.text";
8951             type: TEXTBLOCK;
8952             mouse_events: 1;
8953             scale: 1;
8954             entry_mode: PLAIN;
8955             select_mode: EXPLICIT;
8956             multiline: 1;
8957             source: "elm/entry/selection/default"; // selection under
8958             source5: "elm/entry/anchor/default"; // anchor under
8959             description { state: "default" 0.0;
8960                fixed: 1 0;
8961                text {
8962                   style: "entry_textblock_style_mixedwrap";
8963                   min: 0 1;
8964                   align: 0.0 0.0;
8965                }
8966             }
8967             description { state: "disabled" 0.0;
8968                inherit: "default" 0.0;
8969                text {
8970                   style: "entry_textblock_disabled_style_mixedwrap";
8971                }
8972             }
8973          }
8974       }
8975       programs {
8976          program { name: "focus";
8977             signal: "load";
8978             source: "";
8979             action: FOCUS_SET;
8980             target: "elm.text";
8981          }
8982          program { name: "disable";
8983             signal: "elm,state,disabled";
8984             source: "elm";
8985             action: STATE_SET "disabled" 0.0;
8986             target: "elm.text";
8987          }
8988          program { name: "enable";
8989             signal: "elm,state,enabled";
8990             source: "elm";
8991             action: STATE_SET "default" 0.0;
8992             target: "elm.text";
8993          }
8994       }
8995    }
8996
8997    group { name: "elm/entry/base-noedit-charwrap/default";
8998       parts {
8999          part { name: "elm.text";
9000             type: TEXTBLOCK;
9001             mouse_events: 1;
9002             scale: 1;
9003             entry_mode: PLAIN;
9004             select_mode: EXPLICIT;
9005             multiline: 1;
9006             source: "elm/entry/selection/default"; // selection under
9007             source5: "elm/entry/anchor/default"; // anchor under
9008             description { state: "default" 0.0;
9009                fixed: 1 0;
9010                text {
9011                   style: "entry_textblock_style_charwrap";
9012                   min: 0 1;
9013                   align: 0.0 0.0;
9014                }
9015             }
9016             description { state: "disabled" 0.0;
9017                inherit: "default" 0.0;
9018                text {
9019                   style: "entry_textblock_disabled_style_charwrap";
9020                }
9021             }
9022          }
9023       }
9024       programs {
9025          program { name: "focus";
9026             signal: "load";
9027             source: "";
9028             action: FOCUS_SET;
9029             target: "elm.text";
9030          }
9031          program { name: "disable";
9032             signal: "elm,state,disabled";
9033             source: "elm";
9034             action: STATE_SET "disabled" 0.0;
9035             target: "elm.text";
9036          }
9037          program { name: "enable";
9038             signal: "elm,state,enabled";
9039             source: "elm";
9040             action: STATE_SET "default" 0.0;
9041             target: "elm.text";
9042          }
9043       }
9044    }
9045
9046    group { name: "elm/entry/base-nowrap-noedit/default";
9047       parts {
9048          part { name: "elm.text";
9049             type: TEXTBLOCK;
9050             mouse_events: 1;
9051             scale: 1;
9052             entry_mode: PLAIN;
9053             select_mode: EXPLICIT;
9054             multiline: 1;
9055             source: "elm/entry/selection/default"; // selection under
9056             source5: "elm/entry/anchor/default"; // anchor under
9057             description { state: "default" 0.0;
9058                text {
9059                   style: "entry_textblock_style";
9060                   min: 1 1;
9061                   align: 0.0 0.0;
9062                }
9063             }
9064             description { state: "disabled" 0.0;
9065                inherit: "default" 0.0;
9066                text {
9067                   style: "entry_textblock_disabled_style";
9068                }
9069             }
9070          }
9071       }
9072       programs {
9073          program { name: "focus";
9074             signal: "load";
9075             source: "";
9076             action: FOCUS_SET;
9077             target: "elm.text";
9078          }
9079          program { name: "disable";
9080             signal: "elm,state,disabled";
9081             source: "elm";
9082             action: STATE_SET "disabled" 0.0;
9083             target: "elm.text";
9084          }
9085          program { name: "enable";
9086             signal: "elm,state,enabled";
9087             source: "elm";
9088             action: STATE_SET "default" 0.0;
9089             target: "elm.text";
9090          }
9091       }
9092    }
9093
9094    group { name: "elm/entry/base-password/default";
9095       parts {
9096          part { name: "elm.text";
9097             type: TEXTBLOCK;
9098             mouse_events: 1;
9099             scale: 1;
9100             entry_mode: PASSWORD;
9101             select_mode: EXPLICIT;
9102             multiline: 0;
9103             source: "elm/entry/selection/default"; // selection under
9104             source4: "elm/entry/cursor/default"; // cursorover
9105             source5: "elm/entry/anchor/default"; // anchor under
9106             description { state: "default" 0.0;
9107                text {
9108                   style: "entry_single_textblock_style";
9109                   repch: "*";
9110                   min: 1 1;
9111                   max: 0 0;
9112                   align: 0.0 0.5;
9113                }
9114             }
9115             description { state: "disabled" 0.0;
9116                inherit: "default" 0.0;
9117                text {
9118                   style: "entry_single_textblock_disabled_style";
9119                }
9120             }
9121          }
9122       }
9123       programs {
9124          program { name: "focus";
9125             signal: "load";
9126             source: "";
9127             action: FOCUS_SET;
9128             target: "elm.text";
9129          }
9130          program { name: "disable";
9131             signal: "elm,state,disabled";
9132             source: "elm";
9133             action: STATE_SET "disabled" 0.0;
9134             target: "elm.text";
9135          }
9136          program { name: "enable";
9137             signal: "elm,state,enabled";
9138             source: "elm";
9139             action: STATE_SET "default" 0.0;
9140             target: "elm.text";
9141          }
9142       }
9143    }
9144
9145    group { name: "elm/entry/cursor/default";
9146       images {
9147          image: "cur_box.png" COMP;
9148          image: "cur_hi.png" COMP;
9149          image: "cur_shad.png" COMP;
9150          image: "cur_shine.png" COMP;
9151          image: "cur_glow.png" COMP;
9152       }
9153       parts {
9154          part { name: "clip2";
9155             type: RECT;
9156             mouse_events: 0;
9157             description { state: "default" 0.0;
9158                rel1.to: "clip";
9159                rel2.to: "clip";
9160                visible: 0;
9161             }
9162             description { state: "focused" 0.0;
9163                inherit: "default" 0.0;
9164                visible: 1;
9165             }
9166          }
9167          part { name: "clip";
9168             type: RECT;
9169             mouse_events: 0;
9170             clip_to: "clip2";
9171             description { state: "default" 0.0;
9172                rel1.offset: -10 0;
9173                rel2.offset: 9 9;
9174             }
9175             description { state: "hidden" 0.0;
9176                inherit: "default" 0.0;
9177                visible: 0;
9178             }
9179          }
9180          part { name: "bg";
9181             mouse_events: 0;
9182             clip_to: "clip";
9183             description { state: "default" 0.0;
9184                rel1.to: "base";
9185                rel1.offset: -2 0;
9186                rel2.to: "base";
9187                rel2.offset: 1 1;
9188                image.border: 2 2 2 2;
9189                image.normal: "cur_shad.png";
9190             }
9191          }
9192          part { name: "base";
9193             mouse_events: 0;
9194             scale: 1;
9195             clip_to: "clip";
9196             description { state: "default" 0.0;
9197                min: 2 2;
9198                align: 0.5 1.0;
9199                rel1.relative: 0.0 1.0;
9200                rel1.offset: 0 -1;
9201                rel2.relative: 1.0 1.0;
9202                rel2.offset: -1 -1;
9203                image.normal: "cur_box.png";
9204             }
9205          }
9206          part { name: "hi";
9207             mouse_events: 0;
9208             clip_to: "clip";
9209             description { state: "default" 0.0;
9210                rel1.to: "base";
9211                rel2.to: "base";
9212                rel2.relative: 1.0 0.5;
9213                image.normal: "cur_hi.png";
9214             }
9215          }
9216          part { name: "shine";
9217             mouse_events: 0;
9218             clip_to: "clip";
9219             clip_to: "clip2";
9220             description { state: "default" 0.0;
9221                rel1.to: "base";
9222                rel2.to: "base";
9223                rel2.relative: 1.0 0.75;
9224                image.border: 2 2 1 0;
9225                image.normal: "cur_shine.png";
9226                fill.smooth: 0;
9227             }
9228          }
9229          part { name: "glow";
9230             mouse_events: 0;
9231             clip_to: "clip2";
9232             description { state: "default" 0.0;
9233                rel1.to: "base";
9234                rel1.relative: 0.0 -2.0;
9235                rel1.offset: -2 0;
9236                rel2.to: "base";
9237                rel2.relative: 1.0 0.0;
9238                rel2.offset: 1 1;
9239                image.border: 2 2 0 4;
9240                image.normal: "cur_glow.png";
9241                fill.smooth: 0;
9242             }
9243             description { state: "hidden" 0.0;
9244                inherit: "default" 0.0;
9245                color: 255 255 255 0;
9246             }
9247          }
9248       }
9249       programs {
9250          program { name: "show";
9251             signal: "show";
9252             source: "";
9253             action: STATE_SET "hidden" 0.0;
9254             in: 1.0 0.0;
9255             transition: DECELERATE 2.0;
9256             target: "glow";
9257             after: "show2";
9258          }
9259          program { name: "show2";
9260             action: STATE_SET "hidden" 0.0;
9261             in: 0.2 0.0;
9262             target: "clip";
9263             after: "show3";
9264          }
9265          program { name: "show3";
9266             action: STATE_SET "default" 0.0;
9267             in: 0.5 0.0;
9268             target: "clip";
9269             after: "show4";
9270          }
9271          program { name: "show4";
9272             action: STATE_SET "default" 0.0;
9273             in: 0.5 0.0;
9274             transition: DECELERATE 0.5;
9275             target: "glow";
9276             after: "show";
9277          }
9278          program { name: "focused";
9279             signal: "elm,action,focus";
9280             source: "elm";
9281             action: STATE_SET "focused" 0.0;
9282             target: "clip2";
9283          }
9284          program { name: "unfocused";
9285             signal: "elm,action,unfocus";
9286             source: "elm";
9287             action: STATE_SET "default" 0.0;
9288             target: "clip2";
9289          }
9290       }
9291    }
9292
9293    group { name: "elm/entry/selection/default";
9294       parts {
9295          part { name: "bg";
9296             type: RECT;
9297             mouse_events: 0;
9298             description { state: "default" 0.0;
9299                color: 128 128 128 128;
9300             }
9301          }
9302       }
9303    }
9304
9305    group { name: "elm/entry/anchor/default";
9306       parts {
9307          part { name: "bg";
9308             type: RECT;
9309             mouse_events: 0;
9310             description { state: "default" 0.0;
9311                color: 128 0 0 64;
9312             }
9313          }
9314       }
9315    }
9316
9317 ///////////////////////////////////////////////////////////////////////////////
9318   group { name: "elm/bubble/top_left/default";
9319     alias: "elm/bubble/base/default";
9320     images {
9321       image: "bubble_3.png" COMP;
9322       image: "bubble_4.png" COMP;
9323       image: "bubble_shine3.png" COMP;
9324       image: "bubble_shine4.png" COMP;
9325     }
9326     parts {
9327       part { name: "event";
9328          type: RECT;
9329          description {
9330             state: "default" 0.0;
9331             color: 0 0 0 0;
9332          }
9333       }
9334       part { name: "elm.swallow.icon";
9335         type: SWALLOW;
9336         description { state: "default" 0.0;
9337           fixed: 1 1;
9338           visible: 0;
9339           align: 0.0 0.0;
9340           aspect: 1.0 1.0;
9341           aspect_preference: VERTICAL;
9342           rel1 {
9343             relative: 0.0 0.0;
9344             offset: 4 4;
9345           }
9346           rel2 {
9347             to_y: "elm.text";
9348             relative: 0.0 1.0;
9349             offset: 4 -1;
9350           }
9351         }
9352         description { state: "visible" 0.0;
9353           inherit: "default" 0.0;
9354           visible: 1;
9355         }
9356       }
9357       part { name: "elm.text";
9358         type: TEXT;
9359         mouse_events:   0;
9360         scale: 1;
9361         description { state: "default" 0.0;
9362           align: 0.0 0.0;
9363           fixed: 0 1;
9364           rel1 {
9365             to_x: "elm.swallow.icon";
9366             relative: 1.0 0.0;
9367             offset: 4 4;
9368           }
9369           rel2 {
9370             to_x: "elm.info";
9371             relative: 0.0 0.0;
9372             offset: -5 4;
9373           }
9374           color: 0 0 0 255;
9375           text {
9376             font: "Sans:style=Bold,Edje-Vera-Bold";
9377             size: 10;
9378             min: 0 1;
9379             max: 0 1;
9380             align: 0.0 0.0;
9381           }
9382         }
9383       }
9384       part { name: "elm.info";
9385         type: TEXT;
9386         mouse_events:   0;
9387         scale: 1;
9388         description { state: "default" 0.0;
9389           align: 1.0 0.0;
9390           fixed: 1 1;
9391           rel1 {
9392             relative: 1.0 0.0;
9393             offset: -5 4;
9394           }
9395           rel2 {
9396             relative: 1.0 0.0;
9397             offset: -5 4;
9398           }
9399           color: 0 0 0 64;
9400           text {
9401             font: "Sans:style=Bold,Edje-Vera-Bold";
9402             size: 10;
9403             min: 1 1;
9404             max: 1 1;
9405             align: 1.0 0.0;
9406           }
9407         }
9408       }
9409       part { name: "base0";
9410         mouse_events:  0;
9411         description { state: "default" 0.0;
9412           rel1 {
9413             to_y: "elm.swallow.icon";
9414             relative: 0.0 1.0;
9415             offset: 0 0;
9416           }
9417           image {
9418             normal: "bubble_3.png";
9419             border: 36 11 18 9;
9420           }
9421           image.middle: SOLID;
9422           fill.smooth: 0;
9423         }
9424         description { state: "rtl" 0.0;
9425            inherit: "default" 0.0;
9426            image {
9427               normal: "bubble_4.png";
9428               border: 11 36 18 9;
9429            }
9430         }
9431       }
9432       part { name: "elm.swallow.content";
9433         type: SWALLOW;
9434         description { state: "default" 0.0;
9435           rel1 {
9436             to: "base0";
9437             offset: 9 16;
9438           }
9439           rel2 {
9440             to: "base0";
9441             offset: -10 -9;
9442           }
9443         }
9444       }
9445       part { name: "shine";
9446         mouse_events:  0;
9447         description { state:    "default" 0.0;
9448           rel1 {
9449             to: "base0";
9450             offset: 5 4;
9451           }
9452           rel2 {
9453             to: "base0";
9454             relative: 1.0 0.5;
9455             offset: -6 7;
9456           }
9457           image {
9458             normal: "bubble_shine3.png";
9459             border: 36 5 14 0;
9460           }
9461           fill.smooth: 0;
9462         }
9463         description { state: "rtl" 0.0;
9464            inherit: "default" 0.0;
9465            image {
9466               normal: "bubble_shine4.png";
9467               border: 5 36 14 0;
9468            }
9469         }
9470       }
9471     }
9472     programs {
9473       program {
9474         name: "icon_show";
9475         signal: "elm,state,icon,visible";
9476         source: "elm";
9477         action: STATE_SET "visible" 0.0;
9478         target: "elm.swallow.icon";
9479       }
9480       program {
9481         name: "icon_hide";
9482         signal: "elm,state,icon,hidden";
9483         source: "elm";
9484         action: STATE_SET "default" 0.0;
9485         target: "elm.swallow.icon";
9486       }
9487       program { name: "to_rtl";
9488          signal: "edje,state,rtl";
9489          source: "edje";
9490          action: STATE_SET "rtl" 0.0;
9491          target: "base0";
9492          target: "shine";
9493       }
9494       program { name: "to_ltr";
9495          signal: "edje,state,ltr";
9496          source: "edje";
9497          action: STATE_SET "default" 0.0;
9498          target: "base0";
9499          target: "shine";
9500       }
9501     }
9502   }
9503
9504   group { name: "elm/bubble/top_right/default";
9505     images {
9506       image: "bubble_3.png" COMP;
9507       image: "bubble_4.png" COMP;
9508       image: "bubble_shine3.png" COMP;
9509       image: "bubble_shine4.png" COMP;
9510     }
9511     parts {
9512       part { name: "event";
9513          type: RECT;
9514          description {
9515             state: "default" 0.0;
9516             color: 0 0 0 0;
9517          }
9518       }
9519       part { name: "elm.swallow.icon";
9520         type: SWALLOW;
9521         description { state: "default" 0.0;
9522           fixed: 1 1;
9523           visible: 0;
9524           align: 1.0 0.0;
9525           aspect: 1.0 1.0;
9526           aspect_preference: VERTICAL;
9527           rel1 {
9528             relative: 1.0 0.0;
9529             offset: -5 4;
9530           }
9531           rel2 {
9532             to_y: "elm.text";
9533             relative: 1.0 1.0;
9534             offset: -5 -1;
9535           }
9536         }
9537         description { state: "visible" 0.0;
9538           inherit: "default" 0.0;
9539           visible: 1;
9540         }
9541       }
9542       part { name: "elm.text";
9543         type: TEXT;
9544         mouse_events:   0;
9545         scale: 1;
9546         description { state: "default" 0.0;
9547           align: 0.0 0.0;
9548           fixed: 0 1;
9549           rel1 {
9550             relative: 0.0 0.0;
9551             offset: 4 4;
9552           }
9553           rel2 {
9554             to_x: "elm.info";
9555             relative: 0.0 0.0;
9556             offset: -5 4;
9557           }
9558           color: 0 0 0 255;
9559           text {
9560             font: "Sans:style=Bold,Edje-Vera-Bold";
9561             size: 10;
9562             min: 0 1;
9563             max: 0 1;
9564             align: 0.0 0.0;
9565           }
9566         }
9567       }
9568       part { name: "elm.info";
9569         type: TEXT;
9570         mouse_events:   0;
9571         scale: 1;
9572         description { state: "default" 0.0;
9573           align: 1.0 0.0;
9574           fixed: 1 1;
9575           rel1 {
9576             relative: 1.0 0.0;
9577             offset: -5 4;
9578           }
9579           rel2 {
9580             to_x: "elm.swallow.icon";
9581             relative: 0.0 0.0;
9582             offset: -5 4;
9583           }
9584           color: 0 0 0 64;
9585           text {
9586             font: "Sans:style=Bold,Edje-Vera-Bold";
9587             size: 10;
9588             min: 1 1;
9589             max: 1 1;
9590             align: 1.0 0.0;
9591           }
9592         }
9593       }
9594       part { name: "base0";
9595         mouse_events:  0;
9596         description { state: "default" 0.0;
9597           rel1 {
9598             to_y: "elm.swallow.icon";
9599             relative: 0.0 1.0;
9600             offset: 0 0;
9601           }
9602           image {
9603             normal: "bubble_4.png";
9604             border: 11 36 18 9;
9605           }
9606           image.middle: SOLID;
9607           fill.smooth: 0;
9608         }
9609         description { state: "rtl" 0.0;
9610            inherit: "default" 0.0;
9611            image {
9612               normal: "bubble_3.png";
9613               border: 36 11 18 9;
9614            }
9615         }
9616       }
9617       part { name: "elm.swallow.content";
9618         type: SWALLOW;
9619         description { state: "default" 0.0;
9620           rel1 {
9621             to: "base0";
9622             offset: 9 16;
9623           }
9624           rel2 {
9625             to: "base0";
9626             offset: -10 -9;
9627           }
9628         }
9629       }
9630       part { name: "shine";
9631         mouse_events:  0;
9632         description { state:    "default" 0.0;
9633           rel1 {
9634             to: "base0";
9635             offset: 5 4;
9636           }
9637           rel2 {
9638             to: "base0";
9639             relative: 1.0 0.5;
9640             offset: -6 7;
9641           }
9642           image {
9643             normal: "bubble_shine4.png";
9644             border: 5 36 14 0;
9645           }
9646           fill.smooth: 0;
9647         }
9648         description { state: "rtl" 0.0;
9649            inherit: "default" 0.0;
9650            image {
9651               normal: "bubble_shine3.png";
9652               border: 36 5 14 0;
9653            }
9654         }
9655       }
9656     }
9657     programs {
9658       program {
9659         name: "icon_show";
9660         signal: "elm,state,icon,visible";
9661         source: "elm";
9662         action: STATE_SET "visible" 0.0;
9663         target: "elm.swallow.icon";
9664       }
9665       program {
9666         name: "icon_hide";
9667         signal: "elm,state,icon,hidden";
9668         source: "elm";
9669         action: STATE_SET "default" 0.0;
9670         target: "elm.swallow.icon";
9671       }
9672       program { name: "to_rtl";
9673          signal: "edje,state,rtl";
9674          source: "edje";
9675          action: STATE_SET "rtl" 0.0;
9676          target: "base0";
9677          target: "shine";
9678       }
9679       program { name: "to_ltr";
9680          signal: "edje,state,ltr";
9681          source: "edje";
9682          action: STATE_SET "default" 0.0;
9683          target: "base0";
9684          target: "shine";
9685       }
9686     }
9687   }
9688
9689   group { name: "elm/bubble/bottom_left/default";
9690     images {
9691       image: "bubble_1.png" COMP;
9692       image: "bubble_2.png" COMP;
9693       image: "bubble_shine.png" COMP;
9694     }
9695     parts {
9696       part { name: "event";
9697          type: RECT;
9698          description {
9699             state: "default" 0.0;
9700             color: 0 0 0 0;
9701          }
9702       }
9703       part { name: "elm.swallow.icon";
9704         type: SWALLOW;
9705         description { state: "default" 0.0;
9706           fixed: 1 1;
9707           visible: 0;
9708           align: 0.0 1.0;
9709           aspect: 1.0 1.0;
9710           aspect_preference: VERTICAL;
9711           rel1 {
9712             to_y: "elm.text";
9713             relative: 0.0 0.0;
9714             offset: 4 0;
9715           }
9716           rel2 {
9717             relative: 0.0 1.0;
9718             offset: 4 -5;
9719           }
9720         }
9721         description { state: "visible" 0.0;
9722           inherit: "default" 0.0;
9723           visible: 1;
9724         }
9725       }
9726       part { name: "elm.text";
9727         type: TEXT;
9728         mouse_events:   0;
9729         scale: 1;
9730         description { state: "default" 0.0;
9731           align: 0.0 1.0;
9732           fixed: 0 1;
9733           rel1 {
9734             to_x: "elm.swallow.icon";
9735             relative: 1.0 1.0;
9736             offset: 4 -5;
9737           }
9738           rel2 {
9739             to_x: "elm.info";
9740             relative: 0.0 1.0;
9741             offset: -5 -5;
9742           }
9743           color: 0 0 0 255;
9744           text {
9745             font: "Sans:style=Bold,Edje-Vera-Bold";
9746             size: 10;
9747             min: 0 1;
9748             max: 0 1;
9749             align: 0.0 1.0;
9750           }
9751         }
9752       }
9753       part { name: "elm.info";
9754         type: TEXT;
9755         mouse_events:   0;
9756         scale: 1;
9757         description { state: "default" 0.0;
9758           align: 1.0 1.0;
9759           fixed: 1 1;
9760           rel1 {
9761             relative: 1.0 1.0;
9762             offset: -5 -5;
9763           }
9764           rel2 {
9765             relative: 1.0 1.0;
9766             offset: -5 -5;
9767           }
9768           color: 0 0 0 64;
9769           text {
9770             font: "Sans:style=Bold,Edje-Vera-Bold";
9771             size: 10;
9772             min: 1 1;
9773             max: 1 1;
9774             align: 1.0 1.0;
9775           }
9776         }
9777       }
9778       part { name: "base0";
9779         mouse_events:  0;
9780         description { state: "default" 0.0;
9781           rel2 {
9782             to_y: "elm.swallow.icon";
9783             relative: 1.0 0.0;
9784             offset: -1 -1;
9785           }
9786           image {
9787             normal: "bubble_1.png";
9788             border: 36 11 10 19;
9789           }
9790           image.middle: SOLID;
9791           fill.smooth: 0;
9792         }
9793         description { state: "rtl" 0.0;
9794            inherit: "default" 0.0;
9795            image {
9796               normal: "bubble_2.png";
9797               border: 11 36 10 19;
9798            }
9799         }
9800       }
9801       part { name: "elm.swallow.content";
9802         type: SWALLOW;
9803         description { state: "default" 0.0;
9804           rel1 {
9805             to: "base0";
9806             offset: 9 8;
9807           }
9808           rel2 {
9809             to: "base0";
9810             offset: -10 -17;
9811           }
9812         }
9813       }
9814       part { name: "shine";
9815         mouse_events:  0;
9816         description { state:    "default" 0.0;
9817           rel1 {
9818             to: "base0";
9819             offset: 5 4;
9820           }
9821           rel2 {
9822             to: "base0";
9823             relative: 1.0 0.5;
9824             offset: -6 -16;
9825           }
9826           image {
9827             normal: "bubble_shine.png";
9828             border: 5 5 5 0;
9829           }
9830           fill.smooth: 0;
9831         }
9832         description { state: "rtl" 0.0;
9833            inherit: "default" 0.0;
9834            image {
9835               normal: "bubble_shine4.png";
9836               border: 5 36 14 0;
9837            }
9838         }
9839       }
9840     }
9841     programs {
9842       program {
9843         name: "icon_show";
9844         signal: "elm,state,icon,visible";
9845         source: "elm";
9846         action: STATE_SET "visible" 0.0;
9847         target: "elm.swallow.icon";
9848       }
9849       program {
9850         name: "icon_hide";
9851         signal: "elm,state,icon,hidden";
9852         source: "elm";
9853         action: STATE_SET "default" 0.0;
9854         target: "elm.swallow.icon";
9855       }
9856       program { name: "to_rtl";
9857          signal: "edje,state,rtl";
9858          source: "edje";
9859          action: STATE_SET "rtl" 0.0;
9860          target: "base0";
9861       }
9862       program { name: "to_ltr";
9863          signal: "edje,state,ltr";
9864          source: "edje";
9865          action: STATE_SET "default" 0.0;
9866          target: "base0";
9867       }
9868     }
9869   }
9870
9871   group { name: "elm/bubble/bottom_right/default";
9872     images {
9873       image: "bubble_1.png" COMP;
9874       image: "bubble_2.png" COMP;
9875       image: "bubble_shine.png" COMP;
9876     }
9877     parts {
9878       part { name: "event";
9879          type: RECT;
9880          description {
9881             state: "default" 0.0;
9882             color: 0 0 0 0;
9883          }
9884       }
9885       part { name: "elm.swallow.icon";
9886         type: SWALLOW;
9887         description { state: "default" 0.0;
9888           fixed: 1 1;
9889           visible: 0.0;
9890           align: 1.0 1.0;
9891           aspect: 1.0 1.0;
9892           aspect_preference: VERTICAL;
9893           rel1 {
9894             to_y: "elm.text";
9895             relative: 1.0 0.0;
9896             offset: -5 0;
9897           }
9898           rel2 {
9899             relative: 1.0 1.0;
9900             offset: -5 -5;
9901           }
9902         }
9903         description { state: "visible" 0.0;
9904           inherit: "default" 0.0;
9905           visible: 1;
9906         }
9907       }
9908       part { name: "elm.text";
9909         type: TEXT;
9910         mouse_events:   0;
9911         scale: 1;
9912         description { state: "default" 0.0;
9913           align: 0.0 1.0;
9914           fixed: 0 1;
9915           rel1 {
9916             relative: 0.0 1.0;
9917             offset: 4 -5;
9918           }
9919           rel2 {
9920             to_x: "elm.info";
9921             relative: 0.0 1.0;
9922             offset: -5 -5;
9923           }
9924           color: 0 0 0 255;
9925           text {
9926             font: "Sans:style=Bold,Edje-Vera-Bold";
9927             size: 10;
9928             min: 0 1;
9929             max: 0 1;
9930             align: 0.0 1.0;
9931           }
9932         }
9933       }
9934       part { name: "elm.info";
9935         type: TEXT;
9936         mouse_events:   0;
9937         scale: 1;
9938         description { state: "default" 0.0;
9939           align: 1.0 1.0;
9940           fixed: 1 1;
9941           rel1 {
9942             relative: 1.0 1.0;
9943             offset: -5 -5;
9944           }
9945           rel2 {
9946             to_x: "elm.swallow.icon";
9947             relative: 0.0 1.0;
9948             offset: -5 -5;
9949           }
9950           color: 0 0 0 64;
9951           text {
9952             font: "Sans:style=Bold,Edje-Vera-Bold";
9953             size: 10;
9954             min: 1 1;
9955             max: 1 1;
9956             align: 1.0 1.0;
9957           }
9958         }
9959       }
9960       part { name: "base0";
9961         mouse_events:  0;
9962         description { state: "default" 0.0;
9963           rel2 {
9964             to_y: "elm.swallow.icon";
9965             relative: 1.0 0.0;
9966             offset: -1 -1;
9967           }
9968           image {
9969             normal: "bubble_2.png";
9970             border: 11 36 10 19;
9971           }
9972           image.middle: SOLID;
9973           fill.smooth: 0;
9974         }
9975         description { state: "rtl" 0.0;
9976            inherit: "default" 0.0;
9977            image {
9978               normal: "bubble_1.png";
9979               border: 36 11 10 19;
9980            }
9981         }
9982       }
9983       part { name: "elm.swallow.content";
9984         type: SWALLOW;
9985         description { state: "default" 0.0;
9986           rel1 {
9987             to: "base0";
9988             offset: 9 8;
9989           }
9990           rel2 {
9991             to: "base0";
9992             offset: -10 -17;
9993           }
9994         }
9995       }
9996       part { name: "shine";
9997         mouse_events:  0;
9998         description { state:    "default" 0.0;
9999           rel1 {
10000             to: "base0";
10001             offset: 5 4;
10002           }
10003           rel2 {
10004             to: "base0";
10005             relative: 1.0 0.5;
10006             offset: -6 -16;
10007           }
10008           image {
10009             normal: "bubble_shine.png";
10010             border: 5 5 5 0;
10011           }
10012           fill.smooth: 0;
10013         }
10014         description { state: "rtl" 0.0;
10015            inherit: "default" 0.0;
10016            image {
10017               normal: "bubble_shine3.png";
10018               border: 36 5 14 0;
10019            }
10020         }
10021       }
10022     }
10023     programs {
10024       program {
10025         name: "icon_show";
10026         signal: "elm,state,icon,visible";
10027         source: "elm";
10028         action: STATE_SET "visible" 0.0;
10029         target: "elm.swallow.icon";
10030       }
10031       program {
10032         name: "icon_hide";
10033         signal: "elm,state,icon,hidden";
10034         source: "elm";
10035         action: STATE_SET "default" 0.0;
10036         target: "elm.swallow.icon";
10037       }
10038       program { name: "to_rtl";
10039          signal: "edje,state,rtl";
10040          source: "edje";
10041          action: STATE_SET "rtl" 0.0;
10042          target: "base0";
10043       }
10044       program { name: "to_ltr";
10045          signal: "edje,state,ltr";
10046          source: "edje";
10047          action: STATE_SET "default" 0.0;
10048          target: "base0";
10049       }
10050     }
10051   }
10052
10053 ///////////////////////////////////////////////////////////////////////////////
10054    group { name: "elm/photo/base/default";
10055       images {
10056          image: "frame_1.png" COMP;
10057          image: "frame_2.png" COMP;
10058          image: "dia_grad.png" COMP;
10059          image: "head.png" COMP;
10060       }
10061       parts {
10062          part { name: "base0";
10063             mouse_events:  0;
10064             description { state: "default" 0.0;
10065                image.normal: "dia_grad.png";
10066                rel1.to: "over";
10067                rel2.to: "over";
10068                fill {
10069                   smooth: 0;
10070                   size {
10071                      relative: 0.0 1.0;
10072                      offset: 64 0;
10073                   }
10074                }
10075             }
10076          }
10077          part { name: "base";
10078             mouse_events:  0;
10079             description { state:    "default" 0.0;
10080                image {
10081                   normal: "frame_2.png";
10082                   border: 5 5 32 26;
10083                   middle: 0;
10084                }
10085                fill.smooth : 0;
10086             }
10087          }
10088          part { name: "head";
10089             mouse_events:  0;
10090             description { state:    "default" 0.0;
10091                rel1.offset: 4 4;
10092                rel2.offset: -5 -5;
10093                aspect: 1.0 1.0;
10094                aspect_preference: BOTH;
10095                image.normal: "head.png";
10096             }
10097          }
10098          part { name: "clip";
10099             mouse_events:  0;
10100             type: RECT;
10101             description { state:    "default" 0.0;
10102                rel1.offset: 4 4;
10103                rel2.offset: -5 -5;
10104                color: 255 255 255 255;
10105             }
10106          }
10107          part { name: "elm.swallow.content";
10108             type: SWALLOW;
10109             clip_to: "clip";
10110             description { state: "default" 0.0;
10111                rel1.offset: 4 4;
10112                rel2.offset: -5 -5;
10113             }
10114          }
10115          part { name: "over";
10116             mouse_events:  0;
10117             description { state:    "default" 0.0;
10118                rel1.offset: 4 4;
10119                rel2.offset: -5 -5;
10120                image {
10121                   normal: "frame_1.png";
10122                   border: 2 2 28 22;
10123                   middle: 0;
10124                }
10125                fill.smooth: 0;
10126             }
10127          }
10128      }
10129    }
10130
10131    group { name: "elm/photo/base/shadow";
10132               images {
10133                         image: "shadow.png" COMP;
10134                         image: "black.png" COMP;
10135               }
10136               script {
10137               public message(Msg_Type:type, id, ...) {
10138                 if( (type==MSG_INT_SET) && (id==0) )
10139                 {
10140                     new w;
10141                     new h;
10142
10143                     custom_state(PART:"size", "default", 0.0);
10144
10145                     w = getarg(2);
10146                     h = getarg(3);
10147                     set_state_val(PART:"size", STATE_REL1_OFFSET, - w/2, - h/2);
10148                     set_state_val(PART:"size", STATE_REL2_OFFSET, w/2 + 1, h/2 + 1);
10149                     set_state(PART:"size", "custom", 0.0);
10150                 }
10151             }
10152             }
10153               parts {
10154               part { name: "size";
10155                     type: SWALLOW;
10156                     description { state: "default" 0.0;
10157                             rel1.relative: 0.5 0.5;
10158                             rel2.relative: 0.5 0.5;
10159                     }
10160                  }
10161               part {
10162                 name: "shadow";
10163                 type: IMAGE;
10164                 repeat_events: 1;
10165                 description {
10166                     state: "default" 0.0;
10167                     rel1.to: "size";
10168                     rel2.to: "size";
10169                     rel1.relative: -0.06 -0.06;
10170                     rel2.relative: 1.07 1.07;
10171                     image.normal: "shadow.png";
10172                 }
10173             }
10174
10175
10176                  part { name: "elm.swallow.content";
10177                     type: SWALLOW;
10178                     description { state: "default" 0.0;
10179                     rel1.offset: 3 3;
10180                     rel2.offset: -3 -3;
10181                             fixed: 1 1;
10182                     }
10183                  }
10184
10185                  part {
10186                 name: "border";
10187                 type: IMAGE;
10188                 repeat_events: 1;
10189                 description {
10190                     state: "default" 0.0;
10191                     visible: 1;
10192                     color: 0 0 0 255;
10193                     rel1.to: "size";
10194                     rel2.to: "size";
10195                     image.normal: "black.png";
10196                     image.border: 1 1 1 1;
10197                     image.middle: 0;
10198                 }
10199             }
10200                  }
10201    }
10202
10203 ///////////////////////////////////////////////////////////////////////////////
10204    group { name: "elm/thumb/base/default";
10205       images {
10206          image: "frame_1.png" COMP;
10207          image: "frame_2.png" COMP;
10208          image: "dia_grad.png" COMP;
10209          image: "busy-1.png" COMP;
10210          image: "busy-2.png" COMP;
10211          image: "busy-3.png" COMP;
10212          image: "busy-4.png" COMP;
10213          image: "busy-5.png" COMP;
10214          image: "busy-6.png" COMP;
10215          image: "busy-7.png" COMP;
10216          image: "busy-8.png" COMP;
10217          image: "busy-9.png" COMP;
10218       }
10219       parts {
10220          part { name: "base0";
10221             mouse_events:  0;
10222             description { state:        "default" 0.0;
10223                image.normal: "dia_grad.png";
10224                rel1.to: "over";
10225                rel2.to: "over";
10226                fill {
10227                   smooth: 0;
10228                   size {
10229                      relative: 0.0 1.0;
10230                      offset: 64 0;
10231                   }
10232                }
10233             }
10234          }
10235          part { name: "base";
10236             mouse_events:  0;
10237             description { state:        "default" 0.0;
10238                image {
10239                   normal: "frame_2.png";
10240                   border: 5 5 32 26;
10241                   middle: 0;
10242                }
10243                fill.smooth : 0;
10244             }
10245          }
10246          part { name: "clip";
10247             mouse_events:  0;
10248             type: RECT;
10249             description { state:        "default" 0.0;
10250                rel1.offset: 4 4;
10251                rel2.offset: -5 -5;
10252                color: 255 255 255 255;
10253             }
10254          }
10255          part { name: "elm.swallow.content";
10256             type: SWALLOW;
10257             clip_to: "clip";
10258             description { state:        "default" 0.0;
10259                rel1.offset: 4 4;
10260                rel2.offset: -5 -5;
10261             }
10262          }
10263          part { name: "progress";
10264             mouse_events: 0;
10265
10266             clip_to: "clip";
10267             description { state:        "default" 0.0;
10268                min: 32 32;
10269                max: 32 32;
10270                visible: 0;
10271                aspect: 1.0 1.0;
10272                aspect_preference: BOTH;
10273             }
10274             description { state:        "pulse" 0.0;
10275                inherit: "default" 0.0;
10276                visible: 1;
10277                image {
10278                   normal: "busy-9.png";
10279                   tween:  "busy-1.png";
10280                   tween:  "busy-2.png";
10281                   tween:  "busy-3.png";
10282                   tween:  "busy-4.png";
10283                   tween:  "busy-5.png";
10284                   tween:  "busy-6.png";
10285                   tween:  "busy-7.png";
10286                   tween:  "busy-8.png";
10287                   border: 7 7 7 7;
10288                }
10289             }
10290          }
10291          part { name: "over";
10292             mouse_events:  0;
10293             description { state:        "default" 0.0;
10294                rel1.offset: 4 4;
10295                rel2.offset: -5 -5;
10296                image {
10297                   normal: "frame_1.png";
10298                   border: 2 2 28 22;
10299                   middle: 0;
10300                }
10301                fill.smooth: 0;
10302             }
10303          }
10304          programs {
10305             program { name: "start_pulse";
10306                signal: "elm,state,pulse,start";
10307                source: "elm";
10308                action: STATE_SET "pulse" 0.0;
10309                target: "progress";
10310                transition: LINEAR 0.5;
10311                after: "start_pulse";
10312             }
10313             program { name: "stop_pulse";
10314                signal: "elm,state,pulse,stop";
10315                source: "elm";
10316                action: STATE_SET "default" 0.0;
10317                target: "progress";
10318             }
10319          }
10320       }
10321    }
10322
10323    group { name: "elm/thumb/base/noframe";
10324       images {
10325          image: "busy-1.png" COMP;
10326          image: "busy-2.png" COMP;
10327          image: "busy-3.png" COMP;
10328          image: "busy-4.png" COMP;
10329          image: "busy-5.png" COMP;
10330          image: "busy-6.png" COMP;
10331          image: "busy-7.png" COMP;
10332          image: "busy-8.png" COMP;
10333          image: "busy-9.png" COMP;
10334       }
10335       parts {
10336          part { name: "elm.swallow.content";
10337             type: SWALLOW;
10338             description { state: "default" 0.0;
10339                rel1.offset: 4 4;
10340                rel2.offset: -5 -5;
10341             }
10342          }
10343          part { name: "progress";
10344             mouse_events: 0;
10345             description { state:        "default" 0.0;
10346                min: 32 32;
10347                max: 32 32;
10348                visible: 0;
10349                aspect: 1.0 1.0;
10350                aspect_preference: BOTH;
10351             }
10352             description { state:        "pulse" 0.0;
10353                inherit: "default" 0.0;
10354                visible: 1;
10355                image {
10356                   normal: "busy-9.png";
10357                   tween:  "busy-1.png";
10358                   tween:  "busy-2.png";
10359                   tween:  "busy-3.png";
10360                   tween:  "busy-4.png";
10361                   tween:  "busy-5.png";
10362                   tween:  "busy-6.png";
10363                   tween:  "busy-7.png";
10364                   tween:  "busy-8.png";
10365                   border: 7 7 7 7;
10366                }
10367             }
10368          }
10369          programs {
10370             program { name: "start_pulse";
10371                signal: "elm,state,pulse,start";
10372                source: "elm";
10373                action: STATE_SET "pulse" 0.0;
10374                target: "progress";
10375                transition: LINEAR 0.5;
10376                after: "start_pulse";
10377             }
10378             program { name: "stop_pulse";
10379                signal: "elm,state,pulse,stop";
10380                source: "elm";
10381                action: STATE_SET "default" 0.0;
10382                target: "progress";
10383             }
10384          }
10385       }
10386    }
10387
10388
10389 ///////////////////////////////////////////////////////////////////////////////
10390    group { name: "elm/icon/home/default"; alias: "elm/icon/toolbar/home/default"; min: 32 32;
10391       images.image: "icon_home.png" COMP; parts { part { name: "base";
10392          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10393             image.normal: "icon_home.png"; } } } }
10394    group { name: "elm/icon/close/default"; alias: "elm/icon/toolbar/close/default"; min: 32 32;
10395       images.image: "icon_close.png" COMP; parts { part { name: "base";
10396          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10397             image.normal: "icon_close.png"; } } } }
10398    group { name: "elm/icon/apps/default"; alias: "elm/icon/toolbar/apps/default"; min: 32 32;
10399       images.image: "icon_apps.png" COMP; parts { part { name: "base";
10400          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10401             image.normal: "icon_apps.png"; } } } }
10402    group { name: "elm/icon/arrow_up/default"; alias: "elm/icon/toolbar/arrow_up/default"; min: 32 32;
10403       images.image: "icon_arrow_up.png" COMP; parts { part { name: "base";
10404          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10405             image.normal: "icon_arrow_up.png"; } } } }
10406    group { name: "elm/icon/arrow_down/default";
10407            alias: "elm/icon/toolbar/arrow_down/default";
10408            alias: "elm/icon/toolbar/more_menu/default"; min: 32 32;
10409       images.image: "icon_arrow_down.png" COMP; parts { part { name: "base";
10410          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10411             image.normal: "icon_arrow_down.png"; } } } }
10412    group { name: "elm/icon/arrow_left/default"; alias: "elm/icon/toolbar/arrow_left/default"; min: 32 32;
10413       images.image: "icon_arrow_left.png" COMP; parts { part { name: "base";
10414          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10415             image.normal: "icon_arrow_left.png"; } } } }
10416    group { name: "elm/icon/arrow_right/default"; alias: "elm/icon/toolbar/arrow_right/default"; min: 32 32;
10417       images.image: "icon_arrow_right.png" COMP; parts { part { name: "base";
10418          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10419             image.normal: "icon_arrow_right.png"; } } } }
10420    group { name: "elm/icon/chat/default"; alias: "elm/icon/toolbar/chat/default"; min: 32 32;
10421       images.image: "icon_chat.png" COMP; parts { part { name: "base";
10422          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10423             image.normal: "icon_chat.png"; } } } }
10424    group { name: "elm/icon/clock/default"; alias: "elm/icon/toolbar/clock/default"; min: 32 32;
10425       images.image: "icon_clock.png" COMP; parts { part { name: "base";
10426          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10427             image.normal: "icon_clock.png"; } } } }
10428    group { name: "elm/icon/delete/default"; alias: "elm/icon/toolbar/delete/default"; min: 32 32;
10429       images.image: "icon_delete.png" COMP; parts { part { name: "base";
10430          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10431             image.normal: "icon_delete.png"; } } } }
10432    group { name: "elm/icon/edit/default"; alias: "elm/icon/toolbar/edit/default"; min: 32 32;
10433       images.image: "icon_edit.png" COMP; parts { part { name: "base";
10434          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10435             image.normal: "icon_edit.png"; } } } }
10436    group { name: "elm/icon/refresh/default"; alias: "elm/icon/toolbar/refresh/default"; min: 32 32;
10437       images.image: "icon_refresh.png" COMP; parts { part { name: "base";
10438          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10439             image.normal: "icon_refresh.png"; } } } }
10440    group { name: "elm/icon/folder/default"; alias: "elm/icon/toolbar/folder/default"; min: 32 32;
10441       images.image: "icon_folder.png" COMP; parts { part { name: "base";
10442          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10443             image.normal: "icon_folder.png"; } } } }
10444    group { name: "elm/icon/file/default"; alias: "elm/icon/toolbar/file/default"; min: 32 32;
10445       images.image: "icon_file.png" COMP; parts { part { name: "base";
10446          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10447             image.normal: "icon_file.png"; } } } }
10448 ///////////////////////////////////////////////////////////////////////////////
10449    group { name: "elm/icon/menu/home/default"; min: 24 24; max: 24 24;
10450       images.image: "icon_home.png" COMP; parts { part { name: "base";
10451          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10452             image.normal: "icon_home.png"; } } } }
10453    group { name: "elm/icon/menu/close/default"; min: 24 24; max: 24 24;
10454       images.image: "icon_close.png" COMP; parts { part { name: "base";
10455          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10456             image.normal: "icon_close.png"; } } } }
10457    group { name: "elm/icon/menu/apps/default"; min: 24 24; max: 24 24;
10458       images.image: "icon_apps.png" COMP; parts { part { name: "base";
10459          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10460             image.normal: "icon_apps.png"; } } } }
10461    group { name: "elm/icon/menu/arrow_up/default"; min: 24 24; max: 24 24;
10462       images.image: "icon_arrow_up.png" COMP; parts { part { name: "base";
10463          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10464             image.normal: "icon_arrow_up.png"; } } } }
10465    group { name: "elm/icon/menu/arrow_down/default"; min: 24 24; max: 24 24;
10466       images.image: "icon_arrow_down.png" COMP; parts { part { name: "base";
10467          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10468             image.normal: "icon_arrow_down.png"; } } } }
10469    group { name: "elm/icon/menu/arrow_left/default"; min: 24 24; max: 24 24;
10470       images.image: "icon_arrow_left.png" COMP; parts { part { name: "base";
10471          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10472             image.normal: "icon_arrow_left.png"; } } } }
10473    group { name: "elm/icon/menu/arrow_right/default"; min: 24 24; max: 24 24;
10474       images.image: "icon_arrow_right.png" COMP; parts { part { name: "base";
10475          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10476             image.normal: "icon_arrow_right.png"; } } } }
10477    group { name: "elm/icon/menu/chat/default"; min: 24 24; max: 24 24;
10478       images.image: "icon_chat.png" COMP; parts { part { name: "base";
10479          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10480             image.normal: "icon_chat.png"; } } } }
10481    group { name: "elm/icon/menu/clock/default"; min: 24 24; max: 24 24;
10482       images.image: "icon_clock.png" COMP; parts { part { name: "base";
10483          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10484             image.normal: "icon_clock.png"; } } } }
10485    group { name: "elm/icon/menu/delete/default"; min: 24 24; max: 24 24;
10486       images.image: "icon_delete.png" COMP; parts { part { name: "base";
10487          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10488             image.normal: "icon_delete.png"; } } } }
10489    group { name: "elm/icon/menu/edit/default"; min: 24 24; max: 24 24;
10490       images.image: "icon_edit.png" COMP; parts { part { name: "base";
10491          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10492             image.normal: "icon_edit.png"; } } } }
10493    group { name: "elm/icon/menu/refresh/default"; min: 24 24; max: 24 24;
10494       images.image: "icon_refresh.png" COMP; parts { part { name: "base";
10495          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10496             image.normal: "icon_refresh.png"; } } } }
10497    group { name: "elm/icon/menu/folder/default"; min: 24 24; max: 24 24;
10498       images.image: "icon_folder.png" COMP; parts { part { name: "base";
10499          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10500             image.normal: "icon_folder.png"; } } } }
10501    group { name: "elm/icon/menu/file/default"; min: 24 24; max: 24 24;
10502       images.image: "icon_file.png" COMP; parts { part { name: "base";
10503          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10504             image.normal: "icon_file.png"; } } } }
10505
10506 ///////////////////////////////////////////////////////////////////////////////
10507    group { name: "elm/toolbar/base/default";
10508       images {
10509          image: "bt_dis_base.png" COMP;
10510          image: "bt_dis_hilight.png" COMP;
10511          image: "bt_dis_shine.png" COMP;
10512          image: "icon_left_arrow.png" COMP;
10513          image: "icon_right_arrow.png" COMP;
10514       }
10515       parts {
10516          part { name: "base";
10517             mouse_events: 1;
10518             description { state: "default" 0.0;
10519                rel1 {
10520                   relative: 0.0 0.0;
10521                   offset: 2 2;
10522                }
10523                rel2.offset: -3 -3;
10524                image {
10525                   normal: "bt_dis_base.png";
10526                   border: 4 4 4 4;
10527                }
10528                image.middle: SOLID;
10529             }
10530          }
10531          part { name: "clipper";
10532             type: RECT;
10533             mouse_events: 0;
10534             description {
10535                state: "default" 0.0;
10536                rel1 {
10537                   to: "base";
10538                   offset: 2 2;
10539                }
10540                rel2 {
10541                   to: "base";
10542                   offset: -3 -3;
10543                }
10544             }
10545          }
10546          part { name: "elm.swallow.content";
10547             clip_to: "clipper";
10548             type: SWALLOW;
10549             description {
10550                state: "default" 0.0;
10551                rel1.to: "clipper";
10552                rel2.to: "clipper";
10553             }
10554          }
10555          part { name: "over2";
10556             mouse_events: 0;
10557             description { state: "default" 0.0;
10558                rel1.to: "base";
10559                rel2.to: "base";
10560                image {
10561                   normal: "bt_dis_shine.png";
10562                   border: 4 4 4 4;
10563                }
10564             }
10565          }
10566          part { name: "over1";
10567             mouse_events: 0;
10568             description { state: "default" 0.0;
10569                rel1.to: "base";
10570                rel2.to: "base";
10571                rel2.relative: 1.0 0.5;
10572                image {
10573                   normal: "bt_dis_hilight.png";
10574                   border: 4 4 4 0;
10575                }
10576                color: 255 255 255 128;
10577             }
10578          }
10579          part { name: "left_arrow";
10580             mouse_events: 0;
10581             description { state: "default" 0.0;
10582                image.normal: "icon_left_arrow.png";
10583                aspect: 1.0 1.0;
10584                aspect_preference: VERTICAL;
10585                align: 0.0 0.5;
10586                min: 32 32;
10587                max: 32 32;
10588             }
10589             description { state: "hidden" 0.0;
10590                inherit: "default" 0.0;
10591                visible: 0;
10592                color: 255 255 255 0;
10593             }
10594          }
10595          part { name: "right_arrow";
10596             mouse_events: 0;
10597             description { state: "default" 0.0;
10598                image.normal: "icon_right_arrow.png";
10599                aspect: 1.0 1.0;
10600                aspect_preference: VERTICAL;
10601                align: 1.0 0.5;
10602                min: 32 32;
10603                max: 32 32;
10604             }
10605             description { state: "hidden" 0.0;
10606                inherit: "default" 0.0;
10607                visible: 0;
10608                color: 255 255 255 0;
10609             }
10610          }
10611          part { name: "event";
10612             type: RECT;
10613             mouse_events: 1;
10614             repeat_events: 1;
10615             description { state: "default" 0.0;
10616                color: 0 0 0 0;
10617             }
10618          }
10619       }
10620       programs {
10621          program { name: "sb_hbar_show";
10622             signal: "elm,action,show,hbar";
10623             source: "elm";
10624             action:  STATE_SET "default" 0.0;
10625             transition: LINEAR 0.5;
10626             target: "left_arrow";
10627             target: "right_arrow";
10628          }
10629          program { name: "sb_hbar_hide";
10630             signal: "elm,action,hide,hbar";
10631             source: "elm";
10632             action:  STATE_SET "hidden" 0.0;
10633             target: "left_arrow";
10634             target: "right_arrow";
10635             transition: LINEAR 0.5;
10636          }
10637       }
10638    }
10639
10640    group { name: "elm/toolbar/item/default";
10641        images {
10642            image: "toolbar_sel.png" COMP;
10643        }
10644        data.item: "transition_animation_on" "1";
10645        parts {
10646            part { name: "label2";
10647                type: TEXT;
10648                mouse_events:  0;
10649                scale: 1;
10650                clip_to: "elm.text.clipper";
10651                description { state: "default" 0.0;
10652                    align: 0.5 1.0;
10653                    fixed: 0 1;
10654                    rel1.to: "elm.text";
10655                    rel2.to: "elm.text";
10656                    color: 0 0 0 255;
10657                    text {
10658                        font: "Sans";
10659                        text_source: "elm.text";
10660                        size: 10;
10661                        min: 1 1;
10662                        align: 0.5 0.5;
10663                        text_class: "toolbar_item";
10664                    }
10665                }
10666                description { state: "selected" 0.0;
10667                    inherit: "default" 0.0;
10668                    visible: 0;
10669                }
10670                description { state: "disabled" 0.0;
10671                    inherit: "default" 0.0;
10672                    color: 0 0 0 128;
10673                    color3: 0 0 0 0;
10674                }
10675                description { state: "disabled_visible" 0.0;
10676                    inherit: "default" 0.0;
10677                    color: 0 0 0 128;
10678                    color3: 0 0 0 0;
10679                    visible: 1;
10680                    text.min: 1 1;
10681                }
10682            }
10683            part { name: "label2_new";
10684                type: TEXT;
10685                mouse_events:  0;
10686                scale: 1;
10687                clip_to: "elm.text_new.clipper";
10688                description { state: "default" 0.0;
10689                    align: 0.5 1.0;
10690                    fixed: 0 1;
10691                    rel1.to: "elm.text_new";
10692                    rel2.to: "elm.text_new";
10693                    color: 0 0 0 255;
10694                    text {
10695                        font: "Sans";
10696                        text_source: "elm.text_new";
10697                        size: 10;
10698                        min: 1 1;
10699                        align: 0.5 0.5;
10700                        text_class: "toolbar_item";
10701                    }
10702                }
10703                description { state: "selected" 0.0;
10704                    inherit: "default" 0.0;
10705                    visible: 0;
10706                }
10707                description { state: "disabled" 0.0;
10708                    inherit: "default" 0.0;
10709                    color: 0 0 0 128;
10710                    color3: 0 0 0 0;
10711                }
10712                description { state: "disabled_visible" 0.0;
10713                    inherit: "default" 0.0;
10714                    color: 0 0 0 128;
10715                    color3: 0 0 0 0;
10716                    visible: 1;
10717                    text.min: 1 1;
10718                }
10719            }
10720            part { name: "bg";
10721                mouse_events: 0;
10722                description { state: "default" 0.0;
10723                    visible: 0;
10724                    color: 255 255 255 0;
10725                    image {
10726                        normal: "toolbar_sel.png";
10727                        border: 3 3 0 0;
10728                    }
10729                    image.middle: SOLID;
10730                    fill.smooth: 0;
10731                }
10732                description { state: "selected" 0.0;
10733                    inherit: "default" 0.0;
10734                    visible: 1;
10735                    color: 255 255 255 255;
10736                }
10737                description { state: "disabled" 0.0;
10738                    inherit: "default" 0.0;
10739                    visible: 0;
10740                    color: 255 255 255 0;
10741                }
10742            }
10743            part { name: "elm.swallow.icon";
10744                type: SWALLOW;
10745                clip_to: "elm.icon.clipper";
10746                description { state: "default" 0.0;
10747                    align: 0.5 0.5;
10748                    fixed: 0 0;
10749                    rel1 {
10750                        relative: 0.0 0.0;
10751                        offset: 2 2;
10752                    }
10753                    rel2 {
10754                        to_y: "elm.text";
10755                        relative: 1.0 0.0;
10756                        offset: -3 -1;
10757                    }
10758                    color: 0 0 0 0;
10759                }
10760            }
10761            part { name: "elm.swallow.icon_new";
10762                type: SWALLOW;
10763                clip_to: "elm.icon_new.clipper";
10764                description { state: "default" 0.0;
10765                    align: 0.5 0.5;
10766                    fixed: 0 0;
10767                    rel1 {
10768                        relative: 0.0 0.0;
10769                        offset: 2 2;
10770                    }
10771                    rel2 {
10772                        to_y: "elm.text_new";
10773                        relative: 1.0 0.0;
10774                        offset: -3 -1;
10775                    }
10776                    color: 0 0 0 0;
10777                }
10778            }
10779            part { name: "elm.text";
10780                type: TEXT;
10781                effect: SOFT_SHADOW;
10782                mouse_events:  0;
10783                scale: 1;
10784                clip_to: "elm.text.clipper";
10785                description { state: "default" 0.0;
10786                    align: 0.5 1.0;
10787                    fixed: 0 1;
10788                    rel1 {
10789                        relative: 0.0 1.0;
10790                        offset:   0 -1;
10791                    }
10792                    rel2 {
10793                        relative: 1.0 1.0;
10794                        offset:   -1 -1;
10795                    }
10796                    visible: 0;
10797                    color: 224 224 224 255;
10798                    color3: 0 0 0 32;
10799                    text {
10800                        font: "Sans:style=Bold";
10801                        size: 10;
10802                        min: 1 1;
10803                        align: 0.5 0.5;
10804                        text_class: "toolbar_item";
10805                    }
10806                }
10807                description { state: "selected" 0.0;
10808                    inherit: "default" 0.0;
10809                    visible: 1;
10810                }
10811                description { state: "visible" 0.0;
10812                    inherit: "default" 0.0;
10813                    visible: 1;
10814                    text.min: 1 1;
10815                }
10816                description { state: "disabled" 0.0;
10817                    inherit: "default" 0.0;
10818                    color: 0 0 0 128;
10819                    color3: 0 0 0 0;
10820                }
10821                description { state: "disabled_visible" 0.0;
10822                    inherit: "default" 0.0;
10823                    color: 0 0 0 128;
10824                    color3: 0 0 0 0;
10825                    visible: 1;
10826                    text.min: 1 1;
10827                }
10828            }
10829            part { name: "elm.text_new";
10830                type: TEXT;
10831                effect: SOFT_SHADOW;
10832                mouse_events:  0;
10833                clip_to: "elm.text_new.clipper";
10834                scale: 1;
10835                description { state: "default" 0.0;
10836                    align: 0.5 1.0;
10837                    fixed: 0 1;
10838                    rel1 {
10839                        relative: 0.0 1.0;
10840                        offset:   0 -1;
10841                    }
10842                    rel2 {
10843                        relative: 1.0 1.0;
10844                        offset:   -1 -1;
10845                    }
10846                    visible: 0;
10847                    color: 224 224 224 255;
10848                    color3: 0 0 0 32;
10849                    text {
10850                        font: "Sans:style=Bold";
10851                        size: 10;
10852                        min: 1 1;
10853                        align: 0.5 0.5;
10854                        text_class: "toolbar_item";
10855                    }
10856                }
10857                description { state: "selected" 0.0;
10858                    inherit: "default" 0.0;
10859                    visible: 1;
10860                }
10861                description { state: "visible" 0.0;
10862                    inherit: "default" 0.0;
10863                    visible: 1;
10864                    text.min: 1 1;
10865                }
10866                description { state: "disabled" 0.0;
10867                    inherit: "default" 0.0;
10868                    color: 0 0 0 128;
10869                    color3: 0 0 0 0;
10870                }
10871                description { state: "disabled_visible" 0.0;
10872                    inherit: "default" 0.0;
10873                    color: 0 0 0 128;
10874                    color3: 0 0 0 0;
10875                    visible: 1;
10876                    text.min: 1 1;
10877                }
10878            }
10879            part { name: "elm.text.clipper";
10880                type: RECT;
10881                description { state: "default" 0.0;
10882                    color: 255 255 255 255;
10883                }
10884                description { state: "animation" 0.0;
10885                    color: 255 255 255 0;
10886                }
10887            }
10888            part { name: "elm.text_new.clipper";
10889                type: RECT;
10890                description { state: "default" 0.0;
10891                    color: 255 255 255 0;
10892                }
10893                description { state: "animation" 0.0;
10894                    color: 255 255 255 255;
10895                }
10896            }
10897            part { name: "elm.icon.clipper";
10898                type: RECT;
10899                description { state: "default" 0.0;
10900                    color: 255 255 255 255;
10901                }
10902                description { state: "animation" 0.0;
10903                    color: 255 255 255 0;
10904                }
10905            }
10906            part { name: "elm.icon_new.clipper";
10907                type: RECT;
10908                description { state: "default" 0.0;
10909                    color: 255 255 255 0;
10910                }
10911                description { state: "animation" 0.0;
10912                    color: 255 255 255 255;
10913                }
10914            }
10915            part { name: "event";
10916                type: RECT;
10917                mouse_events: 1;
10918                ignore_flags: ON_HOLD;
10919                description { state: "default" 0.0;
10920                    color: 0 0 0 0;
10921                }
10922            }
10923        }
10924        programs {
10925            program { name: "go_active";
10926                signal:  "elm,state,selected";
10927                source:  "elm";
10928                action:  STATE_SET "selected" 0.0;
10929                target:  "bg";
10930                target:  "elm.text";
10931                target:  "label2";
10932                target:  "elm.text_new";
10933                target:  "label2_new";
10934                transition: LINEAR 0.2;
10935            }
10936            program { name: "go_passive";
10937                signal:  "elm,state,unselected";
10938                source:  "elm";
10939                action:  STATE_SET "default" 0.0;
10940                target:  "bg";
10941                target:  "elm.text";
10942                target:  "label2";
10943                target:  "elm.text_new";
10944                target:  "label2_new";
10945                transition: LINEAR 0.1;
10946            }
10947            program { name: "go";
10948                signal:  "mouse,up,1";
10949                source:  "event";
10950                action:  SIGNAL_EMIT "elm,action,click" "elm";
10951            }
10952            program { name: "mouse,in";
10953               signal:  "mouse,in";
10954               source:  "event";
10955               action:  SIGNAL_EMIT "elm,mouse,in" "elm";
10956            }
10957            program { name: "mouse,out";
10958               signal:  "mouse,out";
10959               source:  "event";
10960               action:  SIGNAL_EMIT "elm,mouse,out" "elm";
10961            }
10962            program { name: "disable";
10963                signal: "elm,state,disabled";
10964                source: "elm";
10965                action: STATE_SET "disabled" 0.0;
10966                target: "label2";
10967                target: "label2_new";
10968                target: "bg";
10969                after: "disable_text";
10970            }
10971            program { name: "disable_text";
10972                script {
10973                    new st[31];
10974                    new Float:vl;
10975                    get_state(PART:"elm.text", st, 30, vl);
10976                    if (!strcmp(st, "visible"))
10977                    {
10978                       set_state(PART:"elm.text", "disabled_visible", 0.0);
10979                       set_state(PART:"elm.text_new", "disabled_visible", 0.0);
10980                    }
10981                    else
10982                    {
10983                       set_state(PART:"elm.text", "disabled", 0.0);
10984                       set_state(PART:"elm.text_new", "disabled", 0.0);
10985                    }
10986                }
10987            }
10988            program { name: "enable";
10989                signal: "elm,state,enabled";
10990                source: "elm";
10991                action: STATE_SET "default" 0.0;
10992                target: "label2";
10993                target: "label2_new";
10994                target: "bg";
10995                after: "enable_text";
10996            }
10997            program { name: "enable_text";
10998                script {
10999                    new st[31];
11000                    new Float:vl;
11001                    get_state(PART:"elm.text", st, 30, vl);
11002                    if (!strcmp(st, "disabled_visible"))
11003                    {
11004                       set_state(PART:"elm.text", "visible", 0.0);
11005                       set_state(PART:"elm.text_new", "visible", 0.0);
11006                    }
11007                    else
11008                    {
11009                       set_state(PART:"elm.text", "default", 0.0);
11010                       set_state(PART:"elm.text_new", "default", 0.0);
11011                    }
11012                }
11013            }
11014            program { name: "label_set,animation,forward";
11015               signal: "elm,state,label_set,forward";
11016               source: "elm";
11017               after: "label_set,animation";
11018            }
11019            program { name: "label_set,animation,backward";
11020               signal: "elm,state,label_set,backward";
11021               source: "elm";
11022               after: "label_set,animation";
11023            }
11024            program { name: "label_set,animation";
11025               signal: "elm,state,label_set";
11026               source: "elm";
11027               action: STATE_SET "animation" 0.0;
11028               target: "elm.text.clipper";
11029               target: "elm.text_new.clipper";
11030               transition: LINEAR 0.2;
11031               after: "label_set,animation,done";
11032            }
11033            program { name: "label_set,animation,done";
11034               action: SIGNAL_EMIT "elm,state,label_set,done" "elm";
11035            }
11036            program { name: "label,reset";
11037               signal: "elm,state,label,reset";
11038               source: "elm";
11039               action: STATE_SET "default" 0.0;
11040               target: "elm.text.clipper";
11041               target: "elm.text_new.clipper";
11042            }
11043            program { name: "icon_set,animation,forward";
11044               signal: "elm,state,icon_set,forward";
11045               source: "elm";
11046               after: "icon_set,animation";
11047            }
11048            program { name: "icon_set,animation,backward";
11049               signal: "elm,state,icon_set,backward";
11050               source: "elm";
11051               after: "icon_set,animation";
11052            }
11053            program { name: "icon_set,animation";
11054               signal: "elm,state,icon_set";
11055               source: "elm";
11056               action: STATE_SET "animation" 0.0;
11057               target: "elm.icon.clipper";
11058               target: "elm.icon_new.clipper";
11059               transition: LINEAR 0.2;
11060               after: "icon_set,animation,done";
11061            }
11062            program { name: "icon_set,animation,done";
11063               action: SIGNAL_EMIT "elm,state,icon_set,done" "elm";
11064            }
11065            program { name: "icon,reset";
11066               signal: "elm,state,icon,reset";
11067               source: "elm";
11068               action: STATE_SET "default" 0.0;
11069               target: "elm.icon.clipper";
11070               target: "elm.icon_new.clipper";
11071            }
11072        }
11073    }
11074
11075    group { name: "elm/toolbar/separator/default";
11076       images {
11077          image: "toolbar_separator_v.png" COMP;
11078       }
11079       parts {
11080          part { name: "separator"; // separator group
11081             description { state: "default" 0.0;
11082                min: 2 2;
11083                max: 2 9999;
11084                rel1.offset: 4 4;
11085                rel2.offset: -5 -5;
11086                image {
11087                   normal: "toolbar_separator_v.png";
11088                }
11089                fill {
11090                   smooth: 0;
11091                }
11092             }
11093          }
11094       }
11095    }
11096
11097    ///////////////////////////////////////////////////////////////////////////////
11098    group { name: "elm/notify/block_events/default";
11099        parts {
11100            part { name: "block_events";
11101                type: RECT;
11102                description { state: "default" 0.0;
11103                    color: 0 0 0 64;
11104                    visible: 1;
11105                }
11106            }
11107        }
11108            programs {
11109                    program {
11110                                 name: "block_clicked";
11111                                 signal: "mouse,clicked,1";
11112                                 source: "block_events";
11113                                 action: SIGNAL_EMIT "elm,action,clicked" "elm";
11114                    }
11115            }
11116    }
11117    group { name: "elm/notify/top/default";
11118        //this group is a design similar to the inwin group
11119        images {
11120            image: "shad_circ.png" COMP;
11121            image: "bt_dis_base.png" COMP;
11122            image: "bt_dis_hilight.png" COMP;
11123        }
11124        parts {
11125            part { name: "base";
11126                type: RECT;
11127                mouse_events: 0;
11128                repeat_events: 1;
11129                description { state: "default" 0.0;
11130                    color: 0 0 0 0;
11131                    rel1.offset: 10 10;
11132                    rel2.offset: -10 -10;
11133                    rel1.relative: 0.0 -1.0;
11134                    rel2.relative: 1.0 0.0;
11135                }
11136                description { state: "visible" 0.0;
11137                    inherit: "default" 0.0;
11138                    color: 0 0 0 64;
11139                    rel1.relative: 0.0 0.0;
11140                    rel2.relative: 1.0 1.0;
11141                }
11142            }
11143            part { name: "shad";
11144                mouse_events:  0;
11145                description { state: "default" 0.0;
11146                    image.normal: "shad_circ.png";
11147                    rel1.to: "elm.swallow.content";
11148                    rel1.offset: -64 -64;
11149                    rel2.to: "elm.swallow.content";
11150                    rel2.offset: 63 63;
11151                    fill.smooth: 0;
11152                }
11153            }
11154            part { name: "pop";
11155                mouse_events: 1;
11156                description { state: "default" 0.0;
11157                    rel1.to: "elm.swallow.content";
11158                    rel1.offset: -5 -5;
11159                    rel2.to: "elm.swallow.content";
11160                    rel2.offset: 4 4;
11161                    image {
11162                        normal: "bt_dis_base.png";
11163                        border: 4 4 4 4;
11164                    }
11165                    image.middle: SOLID;
11166                }
11167            }
11168            part { name: "popover";
11169                mouse_events: 0;
11170                description { state: "default" 0.0;
11171                    rel1.to: "pop";
11172                    rel2.to: "pop";
11173                    rel2.relative: 1.0 0.5;
11174                    image {
11175                        normal: "bt_dis_hilight.png";
11176                        border: 4 4 4 0;
11177                    }
11178                }
11179            }
11180            part { name: "elm.swallow.content";
11181                type: SWALLOW;
11182                description { state: "default" 0.0;
11183                    rel1.to: "base";
11184                    rel2.to: "base";
11185                }
11186            }
11187        }
11188        programs {
11189            program { name: "show";
11190                signal: "elm,action,show";
11191                source: "elm";
11192                action: STATE_SET "visible" 0.0;
11193                target: "base";
11194            }
11195            program { name: "show_2";
11196                 signal: "show";
11197                 action: STATE_SET "default" 0.0;
11198                 target: "base";
11199                 after: "show_3";
11200            }
11201            program { name: "show_3";
11202                 signal: "show";
11203                 action: STATE_SET "visible" 0.0;
11204                 target: "base";
11205                 transition: LINEAR 0.5;
11206            }
11207            program { name: "hide";
11208                signal: "elm,action,hide";
11209                source: "elm";
11210                action: STATE_SET "default" 0.0;
11211                target: "base";
11212            }
11213        }
11214    }
11215    group { name: "elm/notify/center/default";
11216        //this group is a design similar to the inwin group
11217        images {
11218            image: "bt_dis_base.png" COMP;
11219        }
11220        parts {
11221            part { name: "base";
11222                type: RECT;
11223                mouse_events: 0;
11224                repeat_events: 1;
11225                description { state: "default" 0.0;
11226                    color: 0 0 0 0;
11227                    rel1.relative: 0.0 0.0;
11228                    rel2.relative: 1.0 1.0;
11229                }
11230            }
11231            part { name: "pop";
11232                mouse_events: 1;
11233                description { state: "default" 0.0;
11234                    rel1.to: "elm.swallow.content";
11235                    rel1.offset: -5 -5;
11236                    rel2.to: "elm.swallow.content";
11237                    rel2.offset: 4 4;
11238                    image {
11239                        normal: "bt_dis_base.png";
11240                        border: 4 4 4 4;
11241                    }
11242                }
11243            }
11244            part { name: "elm.swallow.content";
11245                type: SWALLOW;
11246                description { state: "default" 0.0;
11247                    rel1.to: "base";
11248                    rel2.to: "base";
11249                }
11250            }
11251        }
11252        programs {
11253            program { name: "show";
11254                signal: "elm,action,show";
11255                source: "elm";
11256                action: STATE_SET "default" 0.0;
11257                target: "base";
11258            }
11259            program { name: "show_2";
11260                 signal: "show";
11261                 action: STATE_SET "default" 0.0;
11262                 target: "base";
11263            }
11264            program { name: "hide";
11265                signal: "elm,action,hide";
11266                source: "elm";
11267                action: STATE_SET "default" 0.0;
11268                target: "base";
11269            }
11270        }
11271    }
11272    group { name: "elm/notify/bottom/default";
11273        //this group is a design similar to the inwin group
11274        images {
11275            image: "shad_circ.png" COMP;
11276            image: "bt_dis_base.png" COMP;
11277            image: "bt_dis_hilight.png" COMP;
11278        }
11279        parts {
11280            part { name: "base";
11281                type: RECT;
11282                mouse_events: 0;
11283                repeat_events: 1;
11284                description { state: "default" 0.0;
11285                    color: 0 0 0 0;
11286                    rel1.offset: 10 10;
11287                    rel2.offset: -10 -10;
11288                    rel1.relative: 0.0 1.0;
11289                    rel2.relative: 1.0 2.0;
11290                }
11291                description { state: "visible" 0.0;
11292                    inherit: "default" 0.0;
11293                    color: 0 0 0 64;
11294                    rel1.relative: 0.0 0.0;
11295                    rel2.relative: 1.0 1.0;
11296                }
11297            }
11298            part { name: "shad";
11299                mouse_events:  0;
11300                description { state: "default" 0.0;
11301                    image.normal: "shad_circ.png";
11302                    rel1.to: "elm.swallow.content";
11303                    rel1.offset: -64 -64;
11304                    rel2.to: "elm.swallow.content";
11305                    rel2.offset: 63 63;
11306                    fill.smooth: 0;
11307                }
11308            }
11309            part { name: "pop";
11310                mouse_events: 1;
11311                description { state: "default" 0.0;
11312                    rel1.to: "elm.swallow.content";
11313                    rel1.offset: -5 -5;
11314                    rel2.to: "elm.swallow.content";
11315                    rel2.offset: 4 4;
11316                    image {
11317                        normal: "bt_dis_base.png";
11318                        border: 4 4 4 4;
11319                    }
11320                    image.middle: SOLID;
11321                }
11322            }
11323            part { name: "popover";
11324                mouse_events: 0;
11325                description { state: "default" 0.0;
11326                    rel1.to: "pop";
11327                    rel2.to: "pop";
11328                    rel2.relative: 1.0 0.5;
11329                    image {
11330                        normal: "bt_dis_hilight.png";
11331                        border: 4 4 4 0;
11332                    }
11333                }
11334            }
11335            part { name: "elm.swallow.content";
11336                type: SWALLOW;
11337                description { state: "default" 0.0;
11338                    rel1.to: "base";
11339                    rel2.to: "base";
11340                }
11341            }
11342        }
11343        programs {
11344            program { name: "show";
11345                signal: "elm,action,show";
11346                source: "elm";
11347                action: STATE_SET "visible" 0.0;
11348                target: "base";
11349            }
11350            program { name: "show_2";
11351                 signal: "show";
11352                 action: STATE_SET "default" 0.0;
11353                 target: "base";
11354                 after: "show_3";
11355            }
11356            program { name: "show_3";
11357                 signal: "show";
11358                 action: STATE_SET "visible" 0.0;
11359                 target: "base";
11360                 transition: LINEAR 0.5;
11361            }
11362            program { name: "hide";
11363                signal: "elm,action,hide";
11364                source: "elm";
11365                action: STATE_SET "default" 0.0;
11366                target: "base";
11367            }
11368        }
11369    }
11370    group { name: "elm/notify/left/default";
11371        //this group is a design similar to the inwin group
11372        images {
11373            image: "shad_circ.png" COMP;
11374            image: "bt_dis_base.png" COMP;
11375            image: "bt_dis_hilight.png" COMP;
11376        }
11377        parts {
11378            part { name: "base";
11379                type: RECT;
11380                mouse_events: 0;
11381                repeat_events: 1;
11382                description { state: "default" 0.0;
11383                    color: 0 0 0 0;
11384                    rel1.offset: 10 10;
11385                    rel2.offset: -10 -10;
11386                    rel1.relative: -1.0 0.0;
11387                    rel2.relative: 0.0 1.0;
11388                }
11389                description { state: "visible" 0.0;
11390                    inherit: "default" 0.0;
11391                    color: 0 0 0 64;
11392                    rel1.relative: 0.0 0.0;
11393                    rel2.relative: 1.0 1.0;
11394                }
11395            }
11396            part { name: "shad";
11397                mouse_events:  0;
11398                description { state: "default" 0.0;
11399                    image.normal: "shad_circ.png";
11400                    rel1.to: "elm.swallow.content";
11401                    rel1.offset: -64 -64;
11402                    rel2.to: "elm.swallow.content";
11403                    rel2.offset: 63 63;
11404                    fill.smooth: 0;
11405                }
11406            }
11407            part { name: "pop";
11408                mouse_events: 1;
11409                description { state: "default" 0.0;
11410                    rel1.to: "elm.swallow.content";
11411                    rel1.offset: -5 -5;
11412                    rel2.to: "elm.swallow.content";
11413                    rel2.offset: 4 4;
11414                    image {
11415                        normal: "bt_dis_base.png";
11416                        border: 4 4 4 4;
11417                    }
11418                    image.middle: SOLID;
11419                }
11420            }
11421            part { name: "popover";
11422                mouse_events: 0;
11423                description { state: "default" 0.0;
11424                    rel1.to: "pop";
11425                    rel2.to: "pop";
11426                    rel2.relative: 1.0 0.5;
11427                    image {
11428                        normal: "bt_dis_hilight.png";
11429                        border: 4 4 4 0;
11430                    }
11431                }
11432            }
11433            part { name: "elm.swallow.content";
11434                type: SWALLOW;
11435                description { state: "default" 0.0;
11436                    rel1.to: "base";
11437                    rel2.to: "base";
11438                }
11439            }
11440        }
11441        programs {
11442            program { name: "show";
11443                signal: "elm,action,show";
11444                source: "elm";
11445                action: STATE_SET "visible" 0.0;
11446                target: "base";
11447            }
11448            program { name: "show_2";
11449                signal: "show";
11450                action: STATE_SET "default" 0.0;
11451                target: "base";
11452                after: "show_3";
11453            }
11454            program { name: "show_3";
11455                signal: "show";
11456                action: STATE_SET "visible" 0.0;
11457                target: "base";
11458                transition: LINEAR 0.5;
11459            }
11460            program { name: "hide";
11461                signal: "elm,action,hide";
11462                source: "elm";
11463                action: STATE_SET "default" 0.0;
11464                target: "base";
11465            }
11466        }
11467    }
11468    group { name: "elm/notify/right/default";
11469        //this group is a design similar to the inwin group
11470        images {
11471            image: "shad_circ.png" COMP;
11472            image: "bt_dis_base.png" COMP;
11473            image: "bt_dis_hilight.png" COMP;
11474        }
11475        parts {
11476            part { name: "base";
11477                type: RECT;
11478                mouse_events: 0;
11479                repeat_events: 1;
11480                 description { state: "default" 0.0;
11481                    color: 0 0 0 0;
11482                    rel1.offset: 10 10;
11483                    rel2.offset: -10 -10;
11484                    rel1.relative: 1.0 0.0;
11485                    rel2.relative: 2.0 1.0;
11486                }
11487                description { state: "visible" 0.0;
11488                    inherit: "default" 0.0;
11489                    color: 0 0 0 64;
11490                    rel1.relative: 0.0 0.0;
11491                    rel2.relative: 1.0 1.0;
11492                }
11493            }
11494            part { name: "shad";
11495                mouse_events:  0;
11496                description { state: "default" 0.0;
11497                    image.normal: "shad_circ.png";
11498                    rel1.to: "elm.swallow.content";
11499                    rel1.offset: -64 -64;
11500                    rel2.to: "elm.swallow.content";
11501                    rel2.offset: 63 63;
11502                    fill.smooth: 0;
11503                }
11504            }
11505            part { name: "pop";
11506                mouse_events: 1;
11507                description { state: "default" 0.0;
11508                    rel1.to: "elm.swallow.content";
11509                    rel1.offset: -5 -5;
11510                    rel2.to: "elm.swallow.content";
11511                    rel2.offset: 4 4;
11512                    image {
11513                        normal: "bt_dis_base.png";
11514                        border: 4 4 4 4;
11515                    }
11516                    image.middle: SOLID;
11517                }
11518            }
11519            part { name: "popover";
11520                mouse_events: 0;
11521                description { state: "default" 0.0;
11522                    rel1.to: "pop";
11523                    rel2.to: "pop";
11524                    rel2.relative: 1.0 0.5;
11525                    image {
11526                        normal: "bt_dis_hilight.png";
11527                        border: 4 4 4 0;
11528                    }
11529                }
11530            }
11531            part { name: "elm.swallow.content";
11532                type: SWALLOW;
11533                description { state: "default" 0.0;
11534                    rel1.to: "base";
11535                    rel2.to: "base";
11536                }
11537            }
11538        }
11539        programs {
11540            program { name: "show";
11541                signal: "elm,action,show";
11542                source: "elm";
11543                action: STATE_SET "visible" 0.0;
11544                target: "base";
11545            }
11546            program { name: "show_2";
11547                signal: "show";
11548                action: STATE_SET "default" 0.0;
11549                target: "base";
11550                after: "show_3";
11551            }
11552            program { name: "show_3";
11553                signal: "show";
11554                action: STATE_SET "visible" 0.0;
11555                target: "base";
11556                transition: LINEAR 0.5;
11557            }
11558            program { name: "hide";
11559                signal: "elm,action,hide";
11560                source: "elm";
11561                action: STATE_SET "default" 0.0;
11562                target: "base";
11563            }
11564        }
11565    }
11566    group { name: "elm/notify/top_left/default";
11567        //this group is a design similar to the inwin group
11568        images {
11569            image: "shad_circ.png" COMP;
11570            image: "bt_dis_base.png" COMP;
11571            image: "bt_dis_hilight.png" COMP;
11572        }
11573        parts {
11574            part { name: "base";
11575                type: RECT;
11576                mouse_events: 0;
11577                repeat_events: 1;
11578                 description { state: "default" 0.0;
11579                    color: 0 0 0 0;
11580                    rel1.offset: 10 10;
11581                    rel2.offset: -10 -10;
11582                    rel1.relative: 0.0 -1.0;
11583                    rel2.relative: 1.0 0.0;
11584                }
11585                description { state: "visible" 0.0;
11586                    inherit: "default" 0.0;
11587                    color: 0 0 0 64;
11588                    rel1.relative: 0.0 0.0;
11589                    rel2.relative: 1.0 1.0;
11590                }
11591            }
11592            part { name: "shad";
11593                mouse_events:  0;
11594                description { state: "default" 0.0;
11595                    image.normal: "shad_circ.png";
11596                    rel1.to: "elm.swallow.content";
11597                    rel1.offset: -64 -64;
11598                    rel2.to: "elm.swallow.content";
11599                    rel2.offset: 63 63;
11600                    fill.smooth: 0;
11601                }
11602            }
11603            part { name: "pop";
11604                mouse_events: 1;
11605                description { state: "default" 0.0;
11606                    rel1.to: "elm.swallow.content";
11607                    rel1.offset: -5 -5;
11608                    rel2.to: "elm.swallow.content";
11609                    rel2.offset: 4 4;
11610                    image {
11611                        normal: "bt_dis_base.png";
11612                        border: 4 4 4 4;
11613                    }
11614                    image.middle: SOLID;
11615                }
11616            }
11617            part { name: "popover";
11618                mouse_events: 0;
11619                description { state: "default" 0.0;
11620                    rel1.to: "pop";
11621                    rel2.to: "pop";
11622                    rel2.relative: 1.0 0.5;
11623                    image {
11624                        normal: "bt_dis_hilight.png";
11625                        border: 4 4 4 0;
11626                    }
11627                }
11628            }
11629            part { name: "elm.swallow.content";
11630                type: SWALLOW;
11631                description { state: "default" 0.0;
11632                    rel1.to: "base";
11633                    rel2.to: "base";
11634                }
11635            }
11636        }
11637        programs {
11638            program { name: "show";
11639                signal: "elm,action,show";
11640                source: "elm";
11641                action: STATE_SET "visible" 0.0;
11642                target: "base";
11643            }
11644            program { name: "show_2";
11645                signal: "show";
11646                action: STATE_SET "default" 0.0;
11647                target: "base";
11648                after: "show_3";
11649            }
11650            program { name: "show_3";
11651                signal: "show";
11652                action: STATE_SET "visible" 0.0;
11653                target: "base";
11654                transition: LINEAR 0.5;
11655            }
11656            program { name: "hide";
11657                signal: "elm,action,hide";
11658                source: "elm";
11659                action: STATE_SET "default" 0.0;
11660                target: "base";
11661            }
11662        }
11663    }
11664    group { name: "elm/notify/top_right/default";
11665        //this group is a design similar to the inwin group
11666        images {
11667            image: "shad_circ.png" COMP;
11668            image: "bt_dis_base.png" COMP;
11669            image: "bt_dis_hilight.png" COMP;
11670        }
11671        parts {
11672            part { name: "base";
11673                type: RECT;
11674                mouse_events: 0;
11675                repeat_events: 1;
11676                description { state: "default" 0.0;
11677                    color: 0 0 0 0;
11678                    rel1.offset: 10 10;
11679                    rel2.offset: -10 -10;
11680                    rel1.relative: 0.0 -1.0;
11681                    rel2.relative: 1.0 0.0;
11682                }
11683                description { state: "visible" 0.0;
11684                    inherit: "default" 0.0;
11685                    color: 0 0 0 64;
11686                    rel1.relative: 0.0 0.0;
11687                    rel2.relative: 1.0 1.0;
11688                }
11689            }
11690            part { name: "shad";
11691                mouse_events:  0;
11692                description { state: "default" 0.0;
11693                    image.normal: "shad_circ.png";
11694                    rel1.to: "elm.swallow.content";
11695                    rel1.offset: -64 -64;
11696                    rel2.to: "elm.swallow.content";
11697                    rel2.offset: 63 63;
11698                    fill.smooth: 0;
11699                }
11700            }
11701            part { name: "pop";
11702                mouse_events: 1;
11703                description { state: "default" 0.0;
11704                    rel1.to: "elm.swallow.content";
11705                    rel1.offset: -5 -5;
11706                    rel2.to: "elm.swallow.content";
11707                    rel2.offset: 4 4;
11708                    image {
11709                        normal: "bt_dis_base.png";
11710                        border: 4 4 4 4;
11711                    }
11712                    image.middle: SOLID;
11713                }
11714            }
11715            part { name: "popover";
11716                mouse_events: 0;
11717                description { state: "default" 0.0;
11718                    rel1.to: "pop";
11719                    rel2.to: "pop";
11720                    rel2.relative: 1.0 0.5;
11721                    image {
11722                        normal: "bt_dis_hilight.png";
11723                        border: 4 4 4 0;
11724                    }
11725                }
11726            }
11727            part { name: "elm.swallow.content";
11728                type: SWALLOW;
11729                description { state: "default" 0.0;
11730                    rel1.to: "base";
11731                    rel2.to: "base";
11732                }
11733            }
11734        }
11735        programs {
11736            program { name: "show";
11737                signal: "elm,action,show";
11738                source: "elm";
11739                action: STATE_SET "visible" 0.0;
11740                target: "base";
11741            }
11742            program { name: "show_2";
11743                signal: "show";
11744                action: STATE_SET "default" 0.0;
11745                target: "base";
11746                after: "show_3";
11747            }
11748            program { name: "show_3";
11749                signal: "show";
11750                action: STATE_SET "visible" 0.0;
11751                target: "base";
11752                transition: LINEAR 0.5;
11753            }
11754            program { name: "hide";
11755                signal: "elm,action,hide";
11756                source: "elm";
11757                action: STATE_SET "default" 0.0;
11758                target: "base";
11759            }
11760        }
11761    }
11762    group { name: "elm/notify/bottom_left/default";
11763        //this group is a design similar to the inwin group
11764        images {
11765            image: "shad_circ.png" COMP;
11766            image: "bt_dis_base.png" COMP;
11767            image: "bt_dis_hilight.png" COMP;
11768        }
11769        parts {
11770            part { name: "base";
11771                type: RECT;
11772                mouse_events: 0;
11773                repeat_events: 1;
11774                description { state: "default" 0.0;
11775                    color: 0 0 0 0;
11776                    rel1.offset: 10 10;
11777                    rel2.offset: -10 -10;
11778                    rel1.relative: 0.0 1.0;
11779                    rel2.relative: 1.0 2.0;
11780                }
11781                description { state: "visible" 0.0;
11782                    inherit: "default" 0.0;
11783                    color: 0 0 0 64;
11784                    rel1.relative: 0.0 0.0;
11785                    rel2.relative: 1.0 1.0;
11786                }
11787            }
11788            part { name: "shad";
11789                mouse_events:  0;
11790                description { state: "default" 0.0;
11791                    image.normal: "shad_circ.png";
11792                    rel1.to: "elm.swallow.content";
11793                    rel1.offset: -64 -64;
11794                    rel2.to: "elm.swallow.content";
11795                    rel2.offset: 63 63;
11796                    fill.smooth: 0;
11797                }
11798            }
11799            part { name: "pop";
11800                mouse_events: 1;
11801                description { state: "default" 0.0;
11802                    rel1.to: "elm.swallow.content";
11803                    rel1.offset: -5 -5;
11804                    rel2.to: "elm.swallow.content";
11805                    rel2.offset: 4 4;
11806                    image {
11807                        normal: "bt_dis_base.png";
11808                        border: 4 4 4 4;
11809                    }
11810                    image.middle: SOLID;
11811                }
11812            }
11813            part { name: "popover";
11814                mouse_events: 0;
11815                description { state: "default" 0.0;
11816                    rel1.to: "pop";
11817                    rel2.to: "pop";
11818                    rel2.relative: 1.0 0.5;
11819                    image {
11820                        normal: "bt_dis_hilight.png";
11821                        border: 4 4 4 0;
11822                    }
11823                }
11824            }
11825            part { name: "elm.swallow.content";
11826                type: SWALLOW;
11827                description { state: "default" 0.0;
11828                    rel1.to: "base";
11829                    rel2.to: "base";
11830                }
11831            }
11832        }
11833        programs {
11834            program { name: "show";
11835                signal: "elm,action,show";
11836                source: "elm";
11837                action: STATE_SET "visible" 0.0;
11838                target: "base";
11839            }
11840            program { name: "show_2";
11841                signal: "show";
11842                action: STATE_SET "default" 0.0;
11843                target: "base";
11844                after: "show_3";
11845            }
11846            program { name: "show_3";
11847                signal: "show";
11848                action: STATE_SET "visible" 0.0;
11849                target: "base";
11850                transition: LINEAR 0.5;
11851            }
11852            program { name: "hide";
11853                signal: "elm,action,hide";
11854                source: "elm";
11855                action: STATE_SET "default" 0.0;
11856                target: "base";
11857            }
11858        }
11859    }
11860    group { name: "elm/notify/bottom_right/default";
11861        //this group is a design similar to the inwin group
11862        images {
11863            image: "shad_circ.png" COMP;
11864            image: "bt_dis_base.png" COMP;
11865            image: "bt_dis_hilight.png" COMP;
11866        }
11867        parts {
11868            part { name: "base";
11869                type: RECT;
11870                mouse_events: 0;
11871                repeat_events: 1;
11872               description { state: "default" 0.0;
11873                    color: 0 0 0 0;
11874                    rel1.offset: 10 10;
11875                    rel2.offset: -10 -10;
11876                    rel1.relative: 0.0 1.0;
11877                    rel2.relative: 1.0 2.0;
11878                }
11879                description { state: "visible" 0.0;
11880                    inherit: "default" 0.0;
11881                    color: 0 0 0 64;
11882                    rel1.relative: 0.0 0.0;
11883                    rel2.relative: 1.0 1.0;
11884                }
11885            }
11886            part { name: "shad";
11887                mouse_events:  0;
11888                description { state: "default" 0.0;
11889                    image.normal: "shad_circ.png";
11890                    rel1.to: "elm.swallow.content";
11891                    rel1.offset: -64 -64;
11892                    rel2.to: "elm.swallow.content";
11893                    rel2.offset: 63 63;
11894                    fill.smooth: 0;
11895                }
11896            }
11897            part { name: "pop";
11898                mouse_events: 1;
11899                description { state: "default" 0.0;
11900                    rel1.to: "elm.swallow.content";
11901                    rel1.offset: -5 -5;
11902                    rel2.to: "elm.swallow.content";
11903                    rel2.offset: 4 4;
11904                    image {
11905                        normal: "bt_dis_base.png";
11906                        border: 4 4 4 4;
11907                    }
11908                    image.middle: SOLID;
11909                }
11910            }
11911            part { name: "popover";
11912                mouse_events: 0;
11913                description { state: "default" 0.0;
11914                    rel1.to: "pop";
11915                    rel2.to: "pop";
11916                    rel2.relative: 1.0 0.5;
11917                    image {
11918                        normal: "bt_dis_hilight.png";
11919                        border: 4 4 4 0;
11920                    }
11921                }
11922            }
11923            part { name: "elm.swallow.content";
11924                type: SWALLOW;
11925                description { state: "default" 0.0;
11926                    rel1.to: "base";
11927                    rel2.to: "base";
11928                }
11929            }
11930        }
11931        programs {
11932            program { name: "show";
11933                signal: "elm,action,show";
11934                source: "elm";
11935                action: STATE_SET "visible" 0.0;
11936                target: "base";
11937            }
11938            program { name: "show_2";
11939                signal: "show";
11940                action: STATE_SET "default" 0.0;
11941                target: "base";
11942                after: "show_3";
11943            }
11944            program { name: "show_3";
11945                signal: "show";
11946                action: STATE_SET "visible" 0.0;
11947                target: "base";
11948                transition: LINEAR 0.5;
11949            }
11950            program { name: "hide";
11951                signal: "elm,action,hide";
11952                source: "elm";
11953                action: STATE_SET "default" 0.0;
11954                target: "base";
11955            }
11956        }
11957    }
11958
11959 ///////////////////////////////////////////////////////////////////////////////
11960    group { name: "elm/slideshow/base/default";
11961       data {
11962          item: transitions "fade black_fade horizontal vertical square";
11963          item: layouts "fullscreen not_fullscreen";
11964       }
11965       parts {
11966          part { name: "whole";
11967                  type: RECT;
11968             description {
11969                state: "default" 0.0;
11970                visible: 1;
11971                color: 20 20 20 255;
11972             }
11973          }
11974          part { name: "image_1_whole";
11975             description {
11976                state: "default" 0.0;
11977                color: 255 255 255 255;
11978             }
11979             description {
11980                state: "fade_prev_next" 0.0;
11981                inherit: "default" 0.0;
11982                color: 255 255 255 0;
11983             }
11984             description {
11985                state: "black_fade_prev_next_init" 0.0;
11986                inherit: "default" 0.0;
11987                color: 255 255 255 255;
11988             }
11989             description {
11990                state: "black_fade_prev_next" 0.0;
11991                inherit: "default" 0.0;
11992                color: 0 0 0 255;
11993             }
11994             description {
11995                state: "horizontal_next_init" 0.0;
11996                inherit: "default" 0.0;
11997             }
11998             description {
11999                state: "horizontal_next" 0.0;
12000                inherit: "default" 0.0;
12001                rel1.relative: -1.0 0.0;
12002                rel2.relative: 0.0 1.0;
12003             }
12004             description {
12005                state: "horizontal_prev_init" 0.0;
12006                inherit: "default" 0.0;
12007             }
12008             description {
12009                state: "horizontal_prev" 0.0;
12010                inherit: "default" 0.0;
12011                rel1.relative: 1.0 0.0;
12012                rel2.relative: 2.0 1.0;
12013             }
12014             description {
12015                state: "vertical_next_init" 0.0;
12016                inherit: "default" 0.0;
12017             }
12018             description {
12019                state: "vertical_next" 0.0;
12020                inherit: "default" 0.0;
12021                rel1.relative: 0.0 -1.0;
12022                rel2.relative: 1.0 0.0;
12023             }
12024             description {
12025                state: "vertical_prev_init" 0.0;
12026                inherit: "default" 0.0;
12027             }
12028             description {
12029                state: "vertical_prev" 0.0;
12030                inherit: "default" 0.0;
12031                rel1.relative: 0.0 1.0;
12032                rel2.relative: 1.0 2.0;
12033             }
12034             description {
12035                state: "square_prev_next" 0.0;
12036                inherit: "default" 0.0;
12037                color: 255 255 255 0;
12038             }
12039          }
12040          part { name: "image_2_whole";
12041             description {
12042                state: "default" 0.0;
12043                visible: 1;
12044                color: 255 255 255 0;
12045             }
12046             description {
12047                state: "fade_prev_next" 0.0;
12048                inherit: "default" 0.0;
12049                color: 255 255 255 255;
12050             }
12051             description {
12052                state: "black_fade_prev_next_init" 0.0;
12053                inherit: "default" 0.0;
12054                color: 0 0 0 0;
12055             }
12056             description {
12057                state: "black_fade_prev_next" 0.0;
12058                inherit: "default" 0.0;
12059                color: 255 255 255 255;
12060             }
12061             description {
12062                state: "horizontal_next_init" 0.0;
12063                inherit: "default" 0.0;
12064                rel1.relative: 1.0 0.0;
12065                rel2.relative: 2.0 1.0;
12066                color: 255 255 255 255;
12067             }
12068             description {
12069                state: "horizontal_next" 0.0;
12070                inherit: "default" 0.0;
12071                color: 255 255 255 255;
12072             }
12073             description {
12074                state: "horizontal_prev_init" 0.0;
12075                inherit: "default" 0.0;
12076                rel1.relative: -1.0 0.0;
12077                rel2.relative: 0.0 1.0;
12078                color: 255 255 255 255;
12079             }
12080             description {
12081                state: "horizontal_prev" 0.0;
12082                inherit: "default" 0.0;
12083                color: 255 255 255 255;
12084             }
12085             description {
12086                state: "vertical_next_init" 0.0;
12087                inherit: "default" 0.0;
12088                rel1.relative: 0.0 1.0;
12089                rel2.relative: 1.0 2.0;
12090                color: 255 255 255 255;
12091             }
12092             description {
12093                state: "vertical_next" 0.0;
12094                inherit: "default" 0.0;
12095                color: 255 255 255 255;
12096             }
12097             description {
12098                state: "vertical_prev_init" 0.0;
12099                inherit: "default" 0.0;
12100                rel1.relative: 0.0 -1.0;
12101                rel2.relative: 1.0 0.0;
12102                color: 255 255 255 255;
12103             }
12104             description {
12105                state: "vertical_prev" 0.0;
12106                inherit: "default" 0.0;
12107                color: 255 255 255 255;
12108             }
12109             description {
12110                state: "square_prev_next_init" 0.0;
12111                inherit: "default" 0.0;
12112                rel1.relative: 0.5 0.5;
12113                rel2.relative: 0.5 0.5;
12114                color: 255 255 255 255;
12115             }
12116             description {
12117                state: "square_prev_next" 0.0;
12118                inherit: "default" 0.0;
12119                rel1.relative: 0.0 0.0;
12120                rel2.relative: 1.0 1.0;
12121                color: 255 255 255 255;
12122             }
12123          }
12124          part { name: "elm.swallow.1";
12125             type: SWALLOW;
12126             clip_to: "image_1_whole";
12127             description {
12128                state: "default" 0.0;
12129                rel1.to: "image_1_whole";
12130                rel2.to: "image_1_whole";
12131                color: 255 255 255 255;
12132             }
12133             description {
12134                state: "not_fullscreen" 0.0;
12135                rel1.relative: 0.1 0.1;
12136                rel1.to: "image_1_whole";
12137                rel2.relative: 0.9 0.9;
12138                rel2.to: "image_1_whole";
12139                color: 255 255 255 255;
12140             }
12141          }
12142          part { name: "elm.swallow.2";
12143             type: SWALLOW;
12144             clip_to: "image_2_whole";
12145             description {
12146                state: "default" 0.0;
12147                color: 255 255 255 255;
12148                rel1.to: "image_2_whole";
12149                rel2.to: "image_2_whole";
12150             }
12151             description {
12152                state: "not_fullscreen" 0.0;
12153                color: 255 255 255 255;
12154                rel1.relative: 0.1 0.1;
12155                rel1.to: "image_2_whole";
12156                rel2.relative: 0.9 0.9;
12157                rel2.to: "image_2_whole";
12158             }
12159          }
12160          part { name: "events_catcher";
12161             type: RECT;
12162             repeat_events: 1;
12163             description {
12164                state: "default" 0.0;
12165                visible: 1;
12166                color: 0 0 0 0;
12167             }
12168          }
12169       }
12170       programs {
12171               //Substyle
12172               program { name: "layout_fullscreen";
12173             signal: "layout,fullscreen";
12174             source: "slideshow";
12175             action: STATE_SET "default" 0.0;
12176             target: "elm.swallow.1";
12177             target: "elm.swallow.2";
12178             transition: SINUSOIDAL 1.0;
12179         }
12180         program { name: "layout_not_fullscreen";
12181             signal: "layout,not_fullscreen";
12182             source: "slideshow";
12183             action: STATE_SET "not_fullscreen" 0.0;
12184             target: "elm.swallow.1";
12185             target: "elm.swallow.2";
12186             transition: SINUSOIDAL 1.0;
12187          }
12188                //
12189          program { name: "fade_next";
12190             signal: "fade,next";
12191             source: "slideshow";
12192             action: STATE_SET "default" 0.0;
12193             target: "image_1_whole";
12194             target: "image_2_whole";
12195             after: "fade_next_2";
12196          }
12197          program { name: "fade_next_2";
12198             action: STATE_SET "fade_prev_next" 0.0;
12199             target: "image_1_whole";
12200             target: "image_2_whole";
12201             transition: SINUSOIDAL 1.5;
12202             after: "end";
12203          }
12204          program { name: "fade_previous";
12205             signal: "fade,previous";
12206             source: "slideshow";
12207             action: STATE_SET "default" 0.0;
12208             target: "image_1_whole";
12209             target: "image_2_whole";
12210             after: "fade_previous_2";
12211          }
12212          program { name: "fade_previous_2";
12213             action: STATE_SET "fade_prev_next" 0.0;
12214             target: "image_1_whole";
12215             target: "image_2_whole";
12216             transition: SINUSOIDAL 1.5;
12217             after: "end";
12218          }
12219          program { name: "black_fade_next";
12220             signal: "black_fade,next";
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_next_2";
12226          }
12227          program { name: "black_fade_next_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_next_3";
12232          }
12233          program { name: "black_fade_next_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: "black_fade_previous";
12240             signal: "black_fade,previous";
12241             source: "slideshow";
12242             action: STATE_SET "black_fade_prev_next_init" 0.0;
12243             target: "image_1_whole";
12244             target: "image_2_whole";
12245             after: "black_fade_previous_2";
12246          }
12247          program { name: "black_fade_previous_2";
12248             action: STATE_SET "black_fade_prev_next" 0.0;
12249             target: "image_1_whole";
12250             transition: SINUSOIDAL 0.75;
12251             after: "black_fade_previous_3";
12252          }
12253          program { name: "black_fade_previous_3";
12254             action: STATE_SET "black_fade_prev_next" 0.0;
12255             target: "image_2_whole";
12256             transition: SINUSOIDAL 0.75;
12257             after: "end";
12258          }
12259          program { name: "horizontal_next";
12260             signal: "horizontal,next";
12261             source: "slideshow";
12262             action: STATE_SET "horizontal_next_init" 0.0;
12263             target: "image_1_whole";
12264             target: "image_2_whole";
12265             after: "horizontal_next_2";
12266          }
12267          program { name: "horizontal_next_2";
12268             action: STATE_SET "horizontal_next" 0.0;
12269             target: "image_1_whole";
12270             target: "image_2_whole";
12271             transition: SINUSOIDAL 1.5;
12272             after: "end";
12273          }
12274          program { name: "horizontal_previous";
12275             signal: "horizontal,previous";
12276             source: "slideshow";
12277             action: STATE_SET "horizontal_prev_init" 0.0;
12278             target: "image_1_whole";
12279             target: "image_2_whole";
12280             after: "horizontal_previous_2";
12281          }
12282          program { name: "horizontal_previous_2";
12283             action: STATE_SET "horizontal_prev" 0.0;
12284             target: "image_1_whole";
12285             target: "image_2_whole";
12286             transition: SINUSOIDAL 1.5;
12287             after: "end";
12288          }
12289          program { name: "vertical_next";
12290             signal: "vertical,next";
12291             source: "slideshow";
12292             action: STATE_SET "vertical_next_init" 0.0;
12293             target: "image_1_whole";
12294             target: "image_2_whole";
12295             after: "vertical_next_2";
12296          }
12297          program { name: "vertical_next_2";
12298             action: STATE_SET "vertical_next" 0.0;
12299             target: "image_1_whole";
12300             target: "image_2_whole";
12301             transition: SINUSOIDAL 1.5;
12302             after: "end";
12303          }
12304          program { name: "vertical_previous";
12305             signal: "vertical,previous";
12306             source: "slideshow";
12307             action: STATE_SET "vertical_prev_init" 0.0;
12308             target: "image_1_whole";
12309             target: "image_2_whole";
12310             after: "vertical_previous_2";
12311          }
12312          program { name: "vertical_previous_2";
12313             action: STATE_SET "vertical_prev" 0.0;
12314             target: "image_1_whole";
12315             target: "image_2_whole";
12316             transition: SINUSOIDAL 1.5;
12317             after: "end";
12318          }
12319          program { name: "square_next";
12320             signal: "square,next";
12321             source: "slideshow";
12322             action: STATE_SET "square_prev_next_init" 0.0;
12323             target: "image_2_whole";
12324             after: "square_next_2";
12325          }
12326          program { name: "square_next_2";
12327             action: STATE_SET "square_prev_next" 0.0;
12328             target: "image_2_whole";
12329             target: "image_1_whole";
12330             transition: SINUSOIDAL 1.5;
12331             after: "end";
12332          }
12333          program { name: "square_previous";
12334             signal: "square,previous";
12335             source: "slideshow";
12336             action: STATE_SET "square_prev_next_init" 0.0;
12337             target: "image_2_whole";
12338             after: "square_next_2";
12339          }
12340          program { name: "end";
12341             action: SIGNAL_EMIT "end" "slideshow";
12342          }
12343          program { name: "end_signal";
12344             signal: "anim,end";
12345             source: "slideshow";
12346             action: STATE_SET "default" 0.0;
12347             target: "image_1_whole";
12348             target: "image_2_whole";
12349          }
12350       }
12351    }
12352
12353 ///////////////////////////////////////////////////////////////////////////////
12354    group { name: "elm/win/inwin/default";
12355       images {
12356          image: "shad_circ.png" COMP;
12357          image: "bt_dis_base.png" COMP;
12358          image: "bt_dis_hilight.png" COMP;
12359       }
12360       parts {
12361          part { name: "base";
12362             type: RECT;
12363             mouse_events: 1;
12364             description { state: "default" 0.0;
12365                color: 0 0 0 0;
12366             }
12367             description { state: "visible" 0.0;
12368                inherit: "default" 1.0;
12369                color: 0 0 0 64;
12370             }
12371          }
12372          part { name: "shad";
12373             mouse_events:  0;
12374             description { state: "default" 0.0;
12375                image.normal: "shad_circ.png";
12376                rel1.to: "elm.swallow.content";
12377                rel1.offset: -64 -64;
12378                rel2.to: "elm.swallow.content";
12379                rel2.offset: 63 63;
12380                fill.smooth: 0;
12381             }
12382          }
12383          part { name: "pop";
12384             mouse_events: 1;
12385             description { state: "default" 0.0;
12386                rel1.to: "elm.swallow.content";
12387                rel1.offset: -5 -5;
12388                rel2.to: "elm.swallow.content";
12389                rel2.offset: 4 4;
12390                image {
12391                   normal: "bt_dis_base.png";
12392                   border: 4 4 4 4;
12393                }
12394                image.middle: SOLID;
12395             }
12396          }
12397          part { name: "popover";
12398             mouse_events: 0;
12399             description { state: "default" 0.0;
12400                rel1.to: "pop";
12401                rel2.to: "pop";
12402                rel2.relative: 1.0 0.5;
12403                image {
12404                   normal: "bt_dis_hilight.png";
12405                   border: 4 4 4 0;
12406                }
12407             }
12408          }
12409          part { name: "elm.swallow.content";
12410             type: SWALLOW;
12411             description { state: "default" 0.0;
12412                rel1.relative: 0.1 0.1;
12413                rel2.relative: 0.9 0.9;
12414             }
12415          }
12416       }
12417       programs {
12418          program { name: "show";
12419             signal: "elm,action,show";
12420             source: "elm";
12421             action: STATE_SET "visible" 0.0;
12422 //            transition: DECELERATE 0.5;
12423             target: "base";
12424          }
12425          program { name: "hide";
12426             signal: "elm,action,hide";
12427             source: "elm";
12428             action: STATE_SET "default" 0.0;
12429 //            transition: DECELERATE 0.5;
12430             target: "base";
12431          }
12432       }
12433    }
12434
12435    group { name: "elm/win/inwin/minimal";
12436       images {
12437          image: "shad_circ.png" COMP;
12438          image: "bt_dis_base.png" COMP;
12439          image: "bt_dis_hilight.png" COMP;
12440       }
12441       parts {
12442          part { name: "base";
12443             type: RECT;
12444             mouse_events: 1;
12445             description { state: "default" 0.0;
12446                color: 0 0 0 0;
12447             }
12448             description { state: "visible" 0.0;
12449                inherit: "default" 1.0;
12450                color: 0 0 0 64;
12451             }
12452          }
12453          part { name: "shad";
12454             mouse_events:  0;
12455             description { state: "default" 0.0;
12456                image.normal: "shad_circ.png";
12457                rel1.to: "elm.swallow.content";
12458                rel1.offset: -64 -64;
12459                rel2.to: "elm.swallow.content";
12460                rel2.offset: 63 63;
12461                fill.smooth: 0;
12462             }
12463          }
12464          part { name: "pop";
12465             mouse_events: 1;
12466             description { state: "default" 0.0;
12467                rel1.to: "elm.swallow.content";
12468                rel1.offset: -5 -5;
12469                rel2.to: "elm.swallow.content";
12470                rel2.offset: 4 4;
12471                image {
12472                   normal: "bt_dis_base.png";
12473                   border: 4 4 4 4;
12474                }
12475                image.middle: SOLID;
12476             }
12477          }
12478          part { name: "popover";
12479             mouse_events: 0;
12480             description { state: "default" 0.0;
12481                rel1.to: "pop";
12482                rel2.to: "pop";
12483                rel2.relative: 1.0 0.5;
12484                image {
12485                   normal: "bt_dis_hilight.png";
12486                   border: 4 4 4 0;
12487                }
12488             }
12489          }
12490          part { name: "elm.swallow.content";
12491             type: SWALLOW;
12492             description { state: "default" 0.0;
12493                fixed: 1 1;
12494                rel1.relative: 0.5 0.5;
12495                rel2.relative: 0.5 0.5;
12496             }
12497          }
12498       }
12499       programs {
12500          program { name: "show";
12501             signal: "elm,action,show";
12502             source: "elm";
12503             action: STATE_SET "visible" 0.0;
12504 //            transition: DECELERATE 0.5;
12505             target: "base";
12506          }
12507          program { name: "hide";
12508             signal: "elm,action,hide";
12509             source: "elm";
12510             action: STATE_SET "default" 0.0;
12511 //            transition: DECELERATE 0.5;
12512             target: "base";
12513          }
12514       }
12515    }
12516
12517    group { name: "elm/win/inwin/minimal_vertical";
12518       images {
12519          image: "shad_circ.png" COMP;
12520          image: "bt_dis_base.png" COMP;
12521          image: "bt_dis_hilight.png" COMP;
12522       }
12523       parts {
12524          part { name: "base";
12525             type: RECT;
12526             mouse_events: 1;
12527             description { state: "default" 0.0;
12528                color: 0 0 0 0;
12529             }
12530             description { state: "visible" 0.0;
12531                inherit: "default" 1.0;
12532                color: 0 0 0 64;
12533             }
12534          }
12535          part { name: "shad";
12536             mouse_events:  0;
12537             description { state: "default" 0.0;
12538                image.normal: "shad_circ.png";
12539                rel1.to: "elm.swallow.content";
12540                rel1.offset: -64 -64;
12541                rel2.to: "elm.swallow.content";
12542                rel2.offset: 63 63;
12543                fill.smooth: 0;
12544             }
12545          }
12546          part { name: "pop";
12547             mouse_events: 1;
12548             description { state: "default" 0.0;
12549                rel1.to: "elm.swallow.content";
12550                rel1.offset: -5 -5;
12551                rel2.to: "elm.swallow.content";
12552                rel2.offset: 4 4;
12553                image {
12554                   normal: "bt_dis_base.png";
12555                   border: 4 4 4 4;
12556                }
12557                image.middle: SOLID;
12558             }
12559          }
12560          part { name: "popover";
12561             mouse_events: 0;
12562             description { state: "default" 0.0;
12563                rel1.to: "pop";
12564                rel2.to: "pop";
12565                rel2.relative: 1.0 0.5;
12566                image {
12567                   normal: "bt_dis_hilight.png";
12568                   border: 4 4 4 0;
12569                }
12570             }
12571          }
12572          part { name: "elm.swallow.content";
12573             type: SWALLOW;
12574             description { state: "default" 0.0;
12575                fixed: 1 1;
12576                rel1.relative: 0.1 0.5;
12577                rel2.relative: 0.9 0.5;
12578             }
12579          }
12580       }
12581       programs {
12582          program { name: "show";
12583             signal: "elm,action,show";
12584             source: "elm";
12585             action: STATE_SET "visible" 0.0;
12586 //            transition: DECELERATE 0.5;
12587             target: "base";
12588          }
12589          program { name: "hide";
12590             signal: "elm,action,hide";
12591             source: "elm";
12592             action: STATE_SET "default" 0.0;
12593 //            transition: DECELERATE 0.5;
12594             target: "base";
12595          }
12596       }
12597    }
12598
12599 ///////////////////////////////////////////////////////////////////////////////
12600
12601 ///////////////////////////////////////////////////////////////////////////////
12602    group { name: "elm/list/item/default";
12603       data.item: "stacking" "above";
12604       images {
12605          image: "bt_sm_base1.png" COMP;
12606          image: "bt_sm_shine.png" COMP;
12607          image: "bt_sm_hilight.png" COMP;
12608          image: "ilist_1.png" COMP;
12609          image: "ilist_item_shadow.png" COMP;
12610       }
12611       parts {
12612          part {
12613             name:           "event";
12614             type:           RECT;
12615             repeat_events: 1;
12616             description {
12617                state: "default" 0.0;
12618                color: 0 0 0 0;
12619             }
12620          }
12621          part {
12622             name: "base_sh";
12623             mouse_events: 0;
12624             description {
12625                state: "default" 0.0;
12626                align: 0.0 0.0;
12627                min: 0 10;
12628                fixed: 1 1;
12629                rel1 {
12630                   to: "base";
12631                   relative: 0.0 1.0;
12632                   offset: 0 0;
12633                }
12634                rel2 {
12635                   to: "base";
12636                   relative: 1.0 1.0;
12637                   offset: -1 0;
12638                }
12639                image {
12640                   normal: "ilist_item_shadow.png";
12641                }
12642                fill.smooth: 0;
12643             }
12644          }
12645          part {
12646             name: "base";
12647             mouse_events: 0;
12648             description {
12649                state: "default" 0.0;
12650                image {
12651                   normal: "ilist_1.png";
12652                   border: 2 2 2 2;
12653                }
12654                fill.smooth: 0;
12655             }
12656          }
12657          part { name: "bg";
12658             mouse_events: 0;
12659             description { state: "default" 0.0;
12660                visible: 0;
12661                color: 255 255 255 0;
12662                rel1 {
12663                   relative: 0.0 0.0;
12664                   offset: -5 -5;
12665                }
12666                rel2 {
12667                   relative: 1.0 1.0;
12668                   offset: 4 4;
12669                }
12670                image {
12671                   normal: "bt_sm_base1.png";
12672                   border: 6 6 6 6;
12673                }
12674                image.middle: SOLID;
12675             }
12676             description { state: "selected" 0.0;
12677                inherit: "default" 0.0;
12678                visible: 1;
12679                color: 255 255 255 255;
12680                rel1 {
12681                   relative: 0.0 0.0;
12682                   offset: -2 -2;
12683                }
12684                rel2 {
12685                   relative: 1.0 1.0;
12686                   offset: 1 1;
12687                }
12688             }
12689          }
12690          part { name: "elm.swallow.icon";
12691             type: SWALLOW;
12692             description { state: "default" 0.0;
12693                fixed: 1 0;
12694                align: 0.0 0.5;
12695                rel1 {
12696                   relative: 0.0  0.0;
12697                   offset:   4    4;
12698                }
12699                rel2 {
12700                   relative: 0.0  1.0;
12701                   offset:   4   -5;
12702                }
12703             }
12704          }
12705          part { name: "elm.swallow.end";
12706             type: SWALLOW;
12707             description { state: "default" 0.0;
12708                fixed: 1 0;
12709                align: 1.0 0.5;
12710                rel1 {
12711                   relative: 1.0  0.0;
12712                   offset:   -5    4;
12713                }
12714                rel2 {
12715                   relative: 1.0  1.0;
12716                   offset:   -5   -5;
12717                }
12718             }
12719          }
12720          part { name: "elm.text";
12721             type:           TEXT;
12722             effect:         SOFT_SHADOW;
12723             mouse_events:   0;
12724             scale: 1;
12725             description {
12726                state: "default" 0.0;
12727 //               min: 16 16;
12728                rel1 {
12729                   to_x:     "elm.swallow.icon";
12730                   relative: 1.0  0.0;
12731                   offset:   4 4;
12732                }
12733                rel2 {
12734                   to_x:     "elm.swallow.end";
12735                   relative: 0.0  1.0;
12736                   offset:   -1 -5;
12737                }
12738                color: 0 0 0 255;
12739                color3: 0 0 0 0;
12740                text {
12741                   font: "Sans";
12742                   size: 10;
12743                   min: 1 1;
12744 //                  min: 0 1;
12745                   align: -1.0 0.5;
12746                   text_class: "list_item";
12747                }
12748             }
12749             description { state: "selected" 0.0;
12750                inherit: "default" 0.0;
12751                color: 224 224 224 255;
12752                color3: 0 0 0 64;
12753             }
12754          }
12755          part { name: "fg1";
12756             mouse_events: 0;
12757             description { state: "default" 0.0;
12758                visible: 0;
12759                color: 255 255 255 0;
12760                rel1.to: "bg";
12761                rel2.relative: 1.0 0.5;
12762                rel2.to: "bg";
12763                image {
12764                   normal: "bt_sm_hilight.png";
12765                   border: 6 6 6 0;
12766                }
12767             }
12768             description { state: "selected" 0.0;
12769                inherit: "default" 0.0;
12770                visible: 1;
12771                color: 255 255 255 255;
12772             }
12773          }
12774          part { name: "fg2";
12775             mouse_events: 0;
12776             description { state: "default" 0.0;
12777                visible: 0;
12778                color: 255 255 255 0;
12779                rel1.to: "bg";
12780                rel2.to: "bg";
12781                image {
12782                   normal: "bt_sm_shine.png";
12783                   border: 6 6 6 0;
12784                }
12785             }
12786             description { state: "selected" 0.0;
12787                inherit: "default" 0.0;
12788                visible: 1;
12789                color: 255 255 255 255;
12790             }
12791          }
12792       }
12793       programs {
12794          program {
12795             name:    "go_active";
12796             signal:  "elm,state,selected";
12797             source:  "elm";
12798             action:  STATE_SET "selected" 0.0;
12799             target:  "bg";
12800             target:  "fg1";
12801             target:  "fg2";
12802             target:  "elm.text";
12803          }
12804          program {
12805             name:    "go_passive";
12806             signal:  "elm,state,unselected";
12807             source:  "elm";
12808             action:  STATE_SET "default" 0.0;
12809             target:  "bg";
12810             target:  "fg1";
12811             target:  "fg2";
12812             target:  "elm.text";
12813             transition: LINEAR 0.1;
12814          }
12815       }
12816    }
12817    group { name: "elm/list/item_odd/default";
12818       data.item: "stacking" "below";
12819       data.item: "selectraise" "on";
12820       images {
12821          image: "bt_sm_base1.png" COMP;
12822          image: "bt_sm_shine.png" COMP;
12823          image: "bt_sm_hilight.png" COMP;
12824          image: "ilist_2.png" COMP;
12825       }
12826       parts {
12827          part {
12828             name:           "event";
12829             type:           RECT;
12830             repeat_events: 1;
12831             description {
12832                state: "default" 0.0;
12833                color: 0 0 0 0;
12834             }
12835          }
12836          part {
12837             name: "base";
12838             mouse_events: 0;
12839             description {
12840                state: "default" 0.0;
12841                image {
12842                   normal: "ilist_2.png";
12843                   border: 2 2 2 2;
12844                }
12845                fill.smooth: 0;
12846             }
12847          }
12848          part { name: "bg";
12849             mouse_events: 0;
12850             description { state: "default" 0.0;
12851                visible: 0;
12852                color: 255 255 255 0;
12853                rel1 {
12854                   relative: 0.0 0.0;
12855                   offset: -5 -5;
12856                }
12857                rel2 {
12858                   relative: 1.0 1.0;
12859                   offset: 4 4;
12860                }
12861                image {
12862                   normal: "bt_sm_base1.png";
12863                   border: 6 6 6 6;
12864                }
12865                image.middle: SOLID;
12866             }
12867             description { state: "selected" 0.0;
12868                inherit: "default" 0.0;
12869                visible: 1;
12870                color: 255 255 255 255;
12871                rel1 {
12872                   relative: 0.0 0.0;
12873                   offset: -2 -2;
12874                }
12875                rel2 {
12876                   relative: 1.0 1.0;
12877                   offset: 1 1;
12878                }
12879             }
12880          }
12881          part {
12882             name:          "elm.swallow.icon";
12883             type:          SWALLOW;
12884             description { state:    "default" 0.0;
12885                fixed: 1 0;
12886                align:    0.0 0.5;
12887                rel1 {
12888                   relative: 0.0  0.0;
12889                   offset:   4    4;
12890                }
12891                rel2 {
12892                   relative: 0.0  1.0;
12893                   offset:   4   -5;
12894                }
12895             }
12896          }
12897          part {
12898             name:          "elm.swallow.end";
12899             type:          SWALLOW;
12900             description { state:    "default" 0.0;
12901                fixed: 1 0;
12902                align: 1.0 0.5;
12903                rel1 {
12904                   relative: 1.0  0.0;
12905                   offset:   -5    4;
12906                }
12907                rel2 {
12908                   relative: 1.0  1.0;
12909                   offset:   -5   -5;
12910                }
12911             }
12912          }
12913          part {
12914             name:           "elm.text";
12915             type:           TEXT;
12916             effect:         SOFT_SHADOW;
12917             mouse_events:   0;
12918             scale: 1;
12919             description {
12920                state: "default" 0.0;
12921 //               min:      16 16;
12922                rel1 {
12923                   to_x:     "elm.swallow.icon";
12924                   relative: 1.0  0.0;
12925                   offset:   4 4;
12926                }
12927                rel2 {
12928                   to_x:     "elm.swallow.end";
12929                   relative: 0.0  1.0;
12930                   offset:   -1 -5;
12931                }
12932                color: 0 0 0 255;
12933                color3: 0 0 0 0;
12934                text {
12935                   font: "Sans";
12936                   size: 10;
12937                   min: 1 1;
12938 //                  min: 0 1;
12939                   align: -1.0 0.5;
12940                   text_class: "list_item";
12941                }
12942             }
12943             description { state: "selected" 0.0;
12944                inherit: "default" 0.0;
12945                color: 224 224 224 255;
12946                color3: 0 0 0 64;
12947             }
12948          }
12949          part { name: "fg1";
12950             mouse_events: 0;
12951             description { state: "default" 0.0;
12952                visible: 0;
12953                color: 255 255 255 0;
12954                rel1.to: "bg";
12955                rel2.relative: 1.0 0.5;
12956                rel2.to: "bg";
12957                image {
12958                   normal: "bt_sm_hilight.png";
12959                   border: 6 6 6 0;
12960                }
12961             }
12962             description { state: "selected" 0.0;
12963                inherit: "default" 0.0;
12964                visible: 1;
12965                color: 255 255 255 255;
12966             }
12967          }
12968          part { name: "fg2";
12969             mouse_events: 0;
12970             description { state: "default" 0.0;
12971                visible: 0;
12972                color: 255 255 255 0;
12973                rel1.to: "bg";
12974                rel2.to: "bg";
12975                image {
12976                   normal: "bt_sm_shine.png";
12977                   border: 6 6 6 0;
12978                }
12979             }
12980             description { state: "selected" 0.0;
12981                inherit: "default" 0.0;
12982                visible: 1;
12983                color: 255 255 255 255;
12984             }
12985          }
12986       }
12987       programs {
12988          program {
12989             name:    "go_active";
12990             signal:  "elm,state,selected";
12991             source:  "elm";
12992             action:  STATE_SET "selected" 0.0;
12993             target:  "bg";
12994             target:  "fg1";
12995             target:  "fg2";
12996             target:  "elm.text";
12997          }
12998          program {
12999             name:    "go_passive";
13000             signal:  "elm,state,unselected";
13001             source:  "elm";
13002             action:  STATE_SET "default" 0.0;
13003             target:  "bg";
13004             target:  "fg1";
13005             target:  "fg2";
13006             target:  "elm.text";
13007             transition: LINEAR 0.1;
13008          }
13009       }
13010    }
13011    group { name: "elm/list/item_compress/default";
13012       data.item: "stacking" "above";
13013       data.item: "selectraise" "on";
13014       images {
13015          image: "bt_sm_base1.png" COMP;
13016          image: "bt_sm_shine.png" COMP;
13017          image: "bt_sm_hilight.png" COMP;
13018          image: "ilist_1.png" COMP;
13019          image: "ilist_item_shadow.png" COMP;
13020       }
13021       parts {
13022          part {
13023             name:           "event";
13024             type:           RECT;
13025             repeat_events: 1;
13026             description {
13027                state: "default" 0.0;
13028                color: 0 0 0 0;
13029             }
13030          }
13031          part {
13032             name: "base_sh";
13033             mouse_events: 0;
13034             description { state: "default" 0.0;
13035                fixed: 1 1;
13036                align: 0.0 0.0;
13037                min: 0 10;
13038                rel1 {
13039                   to: "base";
13040                   relative: 0.0 1.0;
13041                   offset: 0 0;
13042                }
13043                rel2 {
13044                   to: "base";
13045                   relative: 1.0 1.0;
13046                   offset: -1 0;
13047                }
13048                image {
13049                   normal: "ilist_item_shadow.png";
13050                }
13051                fill.smooth: 0;
13052             }
13053          }
13054          part {
13055             name: "base";
13056             mouse_events: 0;
13057             description {
13058                state: "default" 0.0;
13059                image {
13060                   normal: "ilist_1.png";
13061                   border: 2 2 2 2;
13062                }
13063                fill.smooth: 0;
13064             }
13065          }
13066          part { name: "bg";
13067             mouse_events: 0;
13068             description { state: "default" 0.0;
13069                visible: 0;
13070                color: 255 255 255 0;
13071                rel1 {
13072                   relative: 0.0 0.0;
13073                   offset: -5 -5;
13074                }
13075                rel2 {
13076                   relative: 1.0 1.0;
13077                   offset: 4 4;
13078                }
13079                image {
13080                   normal: "bt_sm_base1.png";
13081                   border: 6 6 6 6;
13082                }
13083                image.middle: SOLID;
13084             }
13085             description { state: "selected" 0.0;
13086                inherit: "default" 0.0;
13087                visible: 1;
13088                color: 255 255 255 255;
13089                rel1 {
13090                   relative: 0.0 0.0;
13091                   offset: -2 -2;
13092                }
13093                rel2 {
13094                   relative: 1.0 1.0;
13095                   offset: 1 1;
13096                }
13097             }
13098          }
13099          part { name:          "elm.swallow.icon";
13100             type:          SWALLOW;
13101             description { state:    "default" 0.0;
13102                fixed: 1 0;
13103                align:    0.0 0.5;
13104                rel1 {
13105                   relative: 0.0  0.0;
13106                   offset:   4    4;
13107                }
13108                rel2 {
13109                   relative: 0.0  1.0;
13110                   offset:   4   -5;
13111                }
13112             }
13113          }
13114          part { name:          "elm.swallow.end";
13115             type:          SWALLOW;
13116             description { state:    "default" 0.0;
13117                fixed: 1 0;
13118                align:    1.0 0.5;
13119                rel1 {
13120                   relative: 1.0  0.0;
13121                   offset:   -5    4;
13122                }
13123                rel2 {
13124                   relative: 1.0  1.0;
13125                   offset:   -5   -5;
13126                }
13127             }
13128          }
13129          part {
13130             name:           "elm.text";
13131             type:           TEXT;
13132             effect:         SOFT_SHADOW;
13133             mouse_events:   0;
13134             scale: 1;
13135             description { state: "default" 0.0;
13136 //               min:      16 16;
13137                rel1 {
13138                   to_x:     "elm.swallow.icon";
13139                   relative: 1.0  0.0;
13140                   offset:   4 4;
13141                }
13142                rel2 {
13143                   to_x:     "elm.swallow.end";
13144                   relative: 0.0  1.0;
13145                   offset:   -1 -5;
13146                }
13147                color: 0 0 0 255;
13148                color3: 0 0 0 0;
13149                text {
13150                   font: "Sans";
13151                   size: 10;
13152 //                  min: 1 1;
13153                   min: 0 1;
13154                   align: 0.0 0.5;
13155                   text_class: "list_item";
13156                }
13157             }
13158             description { state: "selected" 0.0;
13159                inherit: "default" 0.0;
13160                color: 224 224 224 255;
13161                color3: 0 0 0 64;
13162             }
13163          }
13164          part { name: "fg1";
13165             mouse_events: 0;
13166             description { state: "default" 0.0;
13167                visible: 0;
13168                color: 255 255 255 0;
13169                rel1.to: "bg";
13170                rel2.relative: 1.0 0.5;
13171                rel2.to: "bg";
13172                image {
13173                   normal: "bt_sm_hilight.png";
13174                   border: 6 6 6 0;
13175                }
13176             }
13177             description { state: "selected" 0.0;
13178                inherit: "default" 0.0;
13179                visible: 1;
13180                color: 255 255 255 255;
13181             }
13182          }
13183          part { name: "fg2";
13184             mouse_events: 0;
13185             description { state: "default" 0.0;
13186                visible: 0;
13187                color: 255 255 255 0;
13188                rel1.to: "bg";
13189                rel2.to: "bg";
13190                image {
13191                   normal: "bt_sm_shine.png";
13192                   border: 6 6 6 0;
13193                }
13194             }
13195             description { state: "selected" 0.0;
13196                inherit: "default" 0.0;
13197                visible: 1;
13198                color: 255 255 255 255;
13199             }
13200          }
13201       }
13202       programs {
13203          program {
13204             name:    "go_active";
13205             signal:  "elm,state,selected";
13206             source:  "elm";
13207             action:  STATE_SET "selected" 0.0;
13208             target:  "bg";
13209             target:  "fg1";
13210             target:  "fg2";
13211             target:  "elm.text";
13212          }
13213          program {
13214             name:    "go_passive";
13215             signal:  "elm,state,unselected";
13216             source:  "elm";
13217             action:  STATE_SET "default" 0.0;
13218             target:  "bg";
13219             target:  "fg1";
13220             target:  "fg2";
13221             target:  "elm.text";
13222             transition: LINEAR 0.1;
13223          }
13224       }
13225    }
13226    group { name: "elm/list/item_compress_odd/default";
13227       data.item: "stacking" "below";
13228       data.item: "selectraise" "on";
13229       images {
13230          image: "bt_sm_base1.png" COMP;
13231          image: "bt_sm_shine.png" COMP;
13232          image: "bt_sm_hilight.png" COMP;
13233          image: "ilist_2.png" COMP;
13234       }
13235       parts {
13236          part {
13237             name:           "event";
13238             type:           RECT;
13239             repeat_events: 1;
13240             description {
13241                state: "default" 0.0;
13242                color: 0 0 0 0;
13243             }
13244          }
13245          part {
13246             name: "base";
13247             mouse_events: 0;
13248             description {
13249                state: "default" 0.0;
13250                image {
13251                   normal: "ilist_2.png";
13252                   border: 2 2 2 2;
13253                }
13254                fill.smooth: 0;
13255             }
13256          }
13257          part { name: "bg";
13258             mouse_events: 0;
13259             description { state: "default" 0.0;
13260                visible: 0;
13261                color: 255 255 255 0;
13262                rel1 {
13263                   relative: 0.0 0.0;
13264                   offset: -5 -5;
13265                }
13266                rel2 {
13267                   relative: 1.0 1.0;
13268                   offset: 4 4;
13269                }
13270                image {
13271                   normal: "bt_sm_base1.png";
13272                   border: 6 6 6 6;
13273                }
13274                image.middle: SOLID;
13275             }
13276             description { state: "selected" 0.0;
13277                inherit: "default" 0.0;
13278                visible: 1;
13279                color: 255 255 255 255;
13280                rel1 {
13281                   relative: 0.0 0.0;
13282                   offset: -2 -2;
13283                }
13284                rel2 {
13285                   relative: 1.0 1.0;
13286                   offset: 1 1;
13287                }
13288             }
13289          }
13290          part { name:          "elm.swallow.icon";
13291             type:          SWALLOW;
13292             description { state:    "default" 0.0;
13293                fixed: 1 0;
13294                align:    0.0 0.5;
13295                rel1 {
13296                   relative: 0.0  0.0;
13297                   offset:   4    4;
13298                }
13299                rel2 {
13300                   relative: 0.0  1.0;
13301                   offset:   4   -5;
13302                }
13303             }
13304          }
13305          part { name:          "elm.swallow.end";
13306             type:          SWALLOW;
13307             description { state:    "default" 0.0;
13308                fixed: 1 0;
13309                align:    1.0 0.5;
13310                rel1 {
13311                   relative: 1.0  0.0;
13312                   offset:   -5    4;
13313                }
13314                rel2 {
13315                   relative: 1.0  1.0;
13316                   offset:   -5   -5;
13317                }
13318             }
13319          }
13320          part {
13321             name:           "elm.text";
13322             type:           TEXT;
13323             effect:         SOFT_SHADOW;
13324             mouse_events:   0;
13325             scale: 1;
13326             description {
13327                state: "default" 0.0;
13328 //               min:      16 16;
13329                rel1 {
13330                   to_x:     "elm.swallow.icon";
13331                   relative: 1.0  0.0;
13332                   offset:   4 4;
13333                }
13334                rel2 {
13335                   to_x:     "elm.swallow.end";
13336                   relative: 0.0  1.0;
13337                   offset:   -1 -5;
13338                }
13339                color: 0 0 0 255;
13340                color3: 0 0 0 0;
13341                text {
13342                   font: "Sans";
13343                   size: 10;
13344 //                  min: 1 1;
13345                   min: 0 1;
13346                   align: 0.0 0.5;
13347                   text_class: "list_item";
13348                }
13349             }
13350             description { state: "selected" 0.0;
13351                inherit: "default" 0.0;
13352                color: 224 224 224 255;
13353                color3: 0 0 0 64;
13354             }
13355          }
13356          part { name: "fg1";
13357             mouse_events: 0;
13358             description { state: "default" 0.0;
13359                visible: 0;
13360                color: 255 255 255 0;
13361                rel1.to: "bg";
13362                rel2.relative: 1.0 0.5;
13363                rel2.to: "bg";
13364                image {
13365                   normal: "bt_sm_hilight.png";
13366                   border: 6 6 6 0;
13367                }
13368             }
13369             description { state: "selected" 0.0;
13370                inherit: "default" 0.0;
13371                visible: 1;
13372                color: 255 255 255 255;
13373             }
13374          }
13375          part { name: "fg2";
13376             mouse_events: 0;
13377             description { state: "default" 0.0;
13378                visible: 0;
13379                color: 255 255 255 0;
13380                rel1.to: "bg";
13381                rel2.to: "bg";
13382                image {
13383                   normal: "bt_sm_shine.png";
13384                   border: 6 6 6 0;
13385                }
13386             }
13387             description { state: "selected" 0.0;
13388                inherit: "default" 0.0;
13389                visible: 1;
13390                color: 255 255 255 255;
13391             }
13392          }
13393       }
13394       programs {
13395          program {
13396             name:    "go_active";
13397             signal:  "elm,state,selected";
13398             source:  "elm";
13399             action:  STATE_SET "selected" 0.0;
13400             target:  "bg";
13401             target:  "fg1";
13402             target:  "fg2";
13403             target:  "elm.text";
13404          }
13405          program {
13406             name:    "go_passive";
13407             signal:  "elm,state,unselected";
13408             source:  "elm";
13409             action:  STATE_SET "default" 0.0;
13410             target:  "bg";
13411             target:  "fg1";
13412             target:  "fg2";
13413             target:  "elm.text";
13414             transition: LINEAR 0.1;
13415          }
13416       }
13417    }
13418
13419 ///////////////////////////////////////////////////////////////////////////////
13420    group { name: "elm/list/h_item/default";
13421       data.item: "stacking" "above";
13422       images {
13423          image: "bt_sm_base1.png" COMP;
13424          image: "bt_sm_shine.png" COMP;
13425          image: "bt_sm_hilight.png" COMP;
13426          image: "ilist_1_h.png" COMP;
13427          image: "ilist_item_shadow_h.png" COMP;
13428       }
13429       parts {
13430          part {
13431             name: "event";
13432             type: RECT;
13433             repeat_events: 1;
13434             description {
13435                state: "default" 0.0;
13436                color: 0 0 0 0;
13437             }
13438          }
13439          part {
13440             name: "base_sh";
13441             mouse_events: 0;
13442             description {
13443                state: "default" 0.0;
13444                align: 0.0 0.0;
13445                min: 10 0;
13446                fixed: 1 1;
13447                rel1 {
13448                   to: "base";
13449                   relative: 1.0 0.0;
13450                   offset: 0 0;
13451                }
13452                rel2 {
13453                   to: "base";
13454                   relative: 1.0 1.0;
13455                   offset: 0 -1;
13456                }
13457                image {
13458                   normal: "ilist_item_shadow_h.png";
13459                }
13460                fill.smooth: 0;
13461             }
13462          }
13463          part {
13464             name: "base";
13465             mouse_events: 0;
13466             description {
13467                state: "default" 0.0;
13468                image {
13469                   normal: "ilist_1_h.png";
13470                   border: 2 2 2 2;
13471                }
13472                fill.smooth: 0;
13473             }
13474          }
13475          part { name: "bg";
13476             mouse_events: 0;
13477             description { state: "default" 0.0;
13478                visible: 0;
13479                color: 255 255 255 0;
13480                rel1 {
13481                   relative: 0.0 0.0;
13482                   offset: -5 -5;
13483                }
13484                rel2 {
13485                   relative: 1.0 1.0;
13486                   offset: 4 4;
13487                }
13488                image {
13489                   normal: "bt_sm_base1.png";
13490                   border: 6 6 6 6;
13491                }
13492                image.middle: SOLID;
13493             }
13494             description { state: "selected" 0.0;
13495                inherit: "default" 0.0;
13496                visible: 1;
13497                color: 255 255 255 255;
13498                rel1 {
13499                   relative: 0.0 0.0;
13500                   offset: -2 -2;
13501                }
13502                rel2 {
13503                   relative: 1.0 1.0;
13504                   offset: 1 1;
13505                }
13506             }
13507          }
13508          part { name: "elm.swallow.icon";
13509             type: SWALLOW;
13510             description { state: "default" 0.0;
13511                fixed: 0 1;
13512                align: 0.5 0.0;
13513                rel1 {
13514                   relative: 0.0 0.0;
13515                   offset: 4 4;
13516                }
13517                rel2 {
13518                   relative: 1.0 0.0;
13519                   offset: -5 4;
13520                }
13521             }
13522          }
13523          part { name: "elm.swallow.end";
13524             type: SWALLOW;
13525             description { state: "default" 0.0;
13526                fixed: 0 1;
13527                align: 0.5 1.0;
13528                rel1 {
13529                   relative: 0.0 1.0;
13530                   offset: 4 -5;
13531                }
13532                rel2 {
13533                   relative: 1.0 1.0;
13534                   offset: -5 -5;
13535                }
13536             }
13537          }
13538          part { name: "elm.text";
13539             type: TEXT;
13540             effect: SOFT_SHADOW;
13541             mouse_events: 0;
13542             scale: 1;
13543             description {
13544                state: "default" 0.0;
13545                fixed: 0 1;
13546                rel1 {
13547                   to_x: "elm.swallow.icon";
13548                   relative: 0.0 1.0;
13549                   offset: 4 4;
13550                }
13551                rel2 {
13552                   to_x: "elm.swallow.end";
13553                   relative: 1.0 0.0;
13554                   offset: -5 -1;
13555                }
13556                color: 0 0 0 255;
13557                color3: 0 0 0 0;
13558                text {
13559                   font: "Sans";
13560                   size: 10;
13561                   min: 1 1;
13562                   align: 0.5 0.5;
13563                   text_class: "list_item";
13564                }
13565             }
13566             description { state: "selected" 0.0;
13567                inherit: "default" 0.0;
13568                color: 224 224 224 255;
13569                color3: 0 0 0 64;
13570             }
13571          }
13572          part { name: "fg1";
13573             mouse_events: 0;
13574             description { state: "default" 0.0;
13575                visible: 0;
13576                color: 255 255 255 0;
13577                rel1.to: "bg";
13578                rel2.relative: 1.0 0.5;
13579                rel2.to: "bg";
13580                image {
13581                   normal: "bt_sm_hilight.png";
13582                   border: 6 6 6 0;
13583                }
13584             }
13585             description { state: "selected" 0.0;
13586                inherit: "default" 0.0;
13587                visible: 1;
13588                color: 255 255 255 255;
13589             }
13590          }
13591          part { name: "fg2";
13592             mouse_events: 0;
13593             description { state: "default" 0.0;
13594                visible: 0;
13595                color: 255 255 255 0;
13596                rel1.to: "bg";
13597                rel2.to: "bg";
13598                image {
13599                   normal: "bt_sm_shine.png";
13600                   border: 6 6 6 0;
13601                }
13602             }
13603             description { state: "selected" 0.0;
13604                inherit: "default" 0.0;
13605                visible: 1;
13606                color: 255 255 255 255;
13607             }
13608          }
13609       }
13610       programs {
13611          program {
13612             name: "go_active";
13613             signal: "elm,state,selected";
13614             source: "elm";
13615             action: STATE_SET "selected" 0.0;
13616             target: "bg";
13617             target: "fg1";
13618             target: "fg2";
13619             target: "elm.text";
13620          }
13621          program {
13622             name: "go_passive";
13623             signal: "elm,state,unselected";
13624             source: "elm";
13625             action: STATE_SET "default" 0.0;
13626             target: "bg";
13627             target: "fg1";
13628             target: "fg2";
13629             target: "elm.text";
13630             transition: LINEAR 0.1;
13631          }
13632       }
13633    }
13634    group { name: "elm/list/h_item_odd/default";
13635       data.item: "stacking" "below";
13636       data.item: "selectraise" "on";
13637       images {
13638          image: "bt_sm_base1.png" COMP;
13639          image: "bt_sm_shine.png" COMP;
13640          image: "bt_sm_hilight.png" COMP;
13641          image: "ilist_2_h.png" COMP;
13642       }
13643       parts {
13644          part {
13645             name: "event";
13646             type: RECT;
13647             repeat_events: 1;
13648             description {
13649                state: "default" 0.0;
13650                color: 0 0 0 0;
13651             }
13652          }
13653          part {
13654             name: "base";
13655             mouse_events: 0;
13656             description {
13657                state: "default" 0.0;
13658                image {
13659                   normal: "ilist_2_h.png";
13660                   border: 2 2 2 2;
13661                }
13662                fill.smooth: 0;
13663             }
13664          }
13665          part { name: "bg";
13666             mouse_events: 0;
13667             description { state: "default" 0.0;
13668                visible: 0;
13669                color: 255 255 255 0;
13670                rel1 {
13671                   relative: 0.0 0.0;
13672                   offset: -5 -5;
13673                }
13674                rel2 {
13675                   relative: 1.0 1.0;
13676                   offset: 4 4;
13677                }
13678                image {
13679                   normal: "bt_sm_base1.png";
13680                   border: 6 6 6 6;
13681                }
13682                image.middle: SOLID;
13683             }
13684             description { state: "selected" 0.0;
13685                inherit: "default" 0.0;
13686                visible: 1;
13687                color: 255 255 255 255;
13688                rel1 {
13689                   relative: 0.0 0.0;
13690                   offset: -2 -2;
13691                }
13692                rel2 {
13693                   relative: 1.0 1.0;
13694                   offset: 1 1;
13695                }
13696             }
13697          }
13698          part {
13699             name: "elm.swallow.icon";
13700             type: SWALLOW;
13701             description { state: "default" 0.0;
13702                fixed: 0 1;
13703                align: 0.5 0.0;
13704                rel1 {
13705                   relative: 0.0 0.0;
13706                   offset: 4 4;
13707                }
13708                rel2 {
13709                   relative: 1.0 0.0;
13710                   offset: -5 4;
13711                }
13712             }
13713          }
13714          part {
13715             name: "elm.swallow.end";
13716             type: SWALLOW;
13717             description { state: "default" 0.0;
13718                fixed: 0 1;
13719                align: 0.5 1.0;
13720                rel1 {
13721                   relative: 0.0 1.0;
13722                   offset: 4 -5;
13723                }
13724                rel2 {
13725                   relative: 1.0 1.0;
13726                   offset: -5 -5;
13727                }
13728             }
13729          }
13730          part { name: "elm.text";
13731             type: TEXT;
13732             effect: SOFT_SHADOW;
13733             mouse_events: 0;
13734             scale: 1;
13735             description {
13736                state: "default" 0.0;
13737                fixed: 1 1;
13738                rel1 {
13739                   to_x: "elm.swallow.icon";
13740                   relative: 0.0 1.0;
13741                   offset: 4 4;
13742                }
13743                rel2 {
13744                   to_x: "elm.swallow.end";
13745                   relative: 1.0 0.0;
13746                   offset: -5 -1;
13747                }
13748                color: 0 0 0 255;
13749                color3: 0 0 0 0;
13750                text {
13751                   font: "Sans";
13752                   size: 10;
13753                   min: 1 1;
13754                   align: 0.5 0.5;
13755                   text_class: "list_item";
13756                }
13757             }
13758             description { state: "selected" 0.0;
13759                inherit: "default" 0.0;
13760                color: 224 224 224 255;
13761                color3: 0 0 0 64;
13762             }
13763          }
13764          part { name: "fg1";
13765             mouse_events: 0;
13766             description { state: "default" 0.0;
13767                visible: 0;
13768                color: 255 255 255 0;
13769                rel1.to: "bg";
13770                rel2.relative: 1.0 0.5;
13771                rel2.to: "bg";
13772                image {
13773                   normal: "bt_sm_hilight.png";
13774                   border: 6 6 6 0;
13775                }
13776             }
13777             description { state: "selected" 0.0;
13778                inherit: "default" 0.0;
13779                visible: 1;
13780                color: 255 255 255 255;
13781             }
13782          }
13783          part { name: "fg2";
13784             mouse_events: 0;
13785             description { state: "default" 0.0;
13786                visible: 0;
13787                color: 255 255 255 0;
13788                rel1.to: "bg";
13789                rel2.to: "bg";
13790                image {
13791                   normal: "bt_sm_shine.png";
13792                   border: 6 6 6 0;
13793                }
13794             }
13795             description { state: "selected" 0.0;
13796                inherit: "default" 0.0;
13797                visible: 1;
13798                color: 255 255 255 255;
13799             }
13800          }
13801       }
13802       programs {
13803          program {
13804             name: "go_active";
13805             signal: "elm,state,selected";
13806             source: "elm";
13807             action: STATE_SET "selected" 0.0;
13808             target: "bg";
13809             target: "fg1";
13810             target: "fg2";
13811             target: "elm.text";
13812          }
13813          program {
13814             name: "go_passive";
13815             signal: "elm,state,unselected";
13816             source: "elm";
13817             action: STATE_SET "default" 0.0;
13818             target: "bg";
13819             target: "fg1";
13820             target: "fg2";
13821             target: "elm.text";
13822             transition: LINEAR 0.1;
13823          }
13824       }
13825    }
13826    group { name: "elm/list/h_item_compress/default";
13827       data.item: "stacking" "above";
13828       data.item: "selectraise" "on";
13829       images {
13830          image: "bt_sm_base1.png" COMP;
13831          image: "bt_sm_shine.png" COMP;
13832          image: "bt_sm_hilight.png" COMP;
13833          image: "ilist_1_h.png" COMP;
13834          image: "ilist_item_shadow_h.png" COMP;
13835       }
13836       parts {
13837          part {
13838             name: "event";
13839             type: RECT;
13840             repeat_events: 1;
13841             description {
13842                state: "default" 0.0;
13843                color: 0 0 0 0;
13844             }
13845          }
13846          part {
13847             name: "base_sh";
13848             mouse_events: 0;
13849             description { state: "default" 0.0;
13850                fixed: 1 1;
13851                align: 0.0 0.0;
13852                min: 10 0;
13853                rel1 {
13854                   to: "base";
13855                   relative: 1.0 0.0;
13856                   offset: 0 0;
13857                }
13858                rel2 {
13859                   to: "base";
13860                   relative: 1.0 1.0;
13861                   offset: 0 -1;
13862                }
13863                image {
13864                   normal: "ilist_item_shadow_h.png";
13865                }
13866                fill.smooth: 0;
13867             }
13868          }
13869          part {
13870             name: "base";
13871             mouse_events: 0;
13872             description {
13873                state: "default" 0.0;
13874                image {
13875                   normal: "ilist_1_h.png";
13876                   border: 2 2 2 2;
13877                }
13878                fill.smooth: 0;
13879             }
13880          }
13881          part { name: "bg";
13882             mouse_events: 0;
13883             description { state: "default" 0.0;
13884                visible: 0;
13885                color: 255 255 255 0;
13886                rel1 {
13887                   relative: 0.0 0.0;
13888                   offset: -5 -5;
13889                }
13890                rel2 {
13891                   relative: 1.0 1.0;
13892                   offset: 4 4;
13893                }
13894                image {
13895                   normal: "bt_sm_base1.png";
13896                   border: 6 6 6 6;
13897                }
13898                image.middle: SOLID;
13899             }
13900             description { state: "selected" 0.0;
13901                inherit: "default" 0.0;
13902                visible: 1;
13903                color: 255 255 255 255;
13904                rel1 {
13905                   relative: 0.0 0.0;
13906                   offset: -2 -2;
13907                }
13908                rel2 {
13909                   relative: 1.0 1.0;
13910                   offset: 1 1;
13911                }
13912             }
13913          }
13914          part { name: "elm.swallow.icon";
13915             type: SWALLOW;
13916             description { state: "default" 0.0;
13917                fixed: 0 1;
13918                align: 0.5 0.0;
13919                rel1 {
13920                   relative: 0.0 0.0;
13921                   offset: 4 4;
13922                }
13923                rel2 {
13924                   relative: 1.0 0.0;
13925                   offset: -5 4;
13926                }
13927             }
13928          }
13929          part { name: "elm.swallow.end";
13930             type: SWALLOW;
13931             description { state: "default" 0.0;
13932                fixed: 0 1;
13933                align: 0.5 1.0;
13934                rel1 {
13935                   relative: 0.0 1.0;
13936                   offset: 4 -5;
13937                }
13938                rel2 {
13939                   relative: 1.0 1.0;
13940                   offset: -5 -5;
13941                }
13942             }
13943          }
13944          part {
13945             name: "elm.text";
13946             type: TEXT;
13947             effect: SOFT_SHADOW;
13948             mouse_events: 0;
13949             scale: 1;
13950             description { state: "default" 0.0;
13951                fixed: 1 1;
13952                rel1 {
13953                   to_x: "elm.swallow.icon";
13954                   relative: 0.0 1.0;
13955                   offset: 4 4;
13956                }
13957                rel2 {
13958                   to_x: "elm.swallow.end";
13959                   relative: 1.0 0.0;
13960                   offset: -5 -1;
13961                }
13962                color: 0 0 0 255;
13963                color3: 0 0 0 0;
13964                text {
13965                   font: "Sans";
13966                   size: 10;
13967                   min: 1 1;
13968                   align: 0.5 0.5;
13969                   text_class: "list_item";
13970                }
13971             }
13972             description { state: "selected" 0.0;
13973                inherit: "default" 0.0;
13974                color: 224 224 224 255;
13975                color3: 0 0 0 64;
13976             }
13977          }
13978          part { name: "fg1";
13979             mouse_events: 0;
13980             description { state: "default" 0.0;
13981                visible: 0;
13982                color: 255 255 255 0;
13983                rel1.to: "bg";
13984                rel2.relative: 1.0 0.5;
13985                rel2.to: "bg";
13986                image {
13987                   normal: "bt_sm_hilight.png";
13988                   border: 6 6 6 0;
13989                }
13990             }
13991             description { state: "selected" 0.0;
13992                inherit: "default" 0.0;
13993                visible: 1;
13994                color: 255 255 255 255;
13995             }
13996          }
13997          part { name: "fg2";
13998             mouse_events: 0;
13999             description { state: "default" 0.0;
14000                visible: 0;
14001                color: 255 255 255 0;
14002                rel1.to: "bg";
14003                rel2.to: "bg";
14004                image {
14005                   normal: "bt_sm_shine.png";
14006                   border: 6 6 6 0;
14007                }
14008             }
14009             description { state: "selected" 0.0;
14010                inherit: "default" 0.0;
14011                visible: 1;
14012                color: 255 255 255 255;
14013             }
14014          }
14015       }
14016       programs {
14017          program {
14018             name: "go_active";
14019             signal: "elm,state,selected";
14020             source: "elm";
14021             action: STATE_SET "selected" 0.0;
14022             target: "bg";
14023             target: "fg1";
14024             target: "fg2";
14025             target: "elm.text";
14026          }
14027          program {
14028             name: "go_passive";
14029             signal: "elm,state,unselected";
14030             source: "elm";
14031             action: STATE_SET "default" 0.0;
14032             target: "bg";
14033             target: "fg1";
14034             target: "fg2";
14035             target: "elm.text";
14036             transition: LINEAR 0.1;
14037          }
14038       }
14039    }
14040    group { name: "elm/list/h_item_compress_odd/default";
14041       data.item: "stacking" "below";
14042       data.item: "selectraise" "on";
14043       images {
14044          image: "bt_sm_base1.png" COMP;
14045          image: "bt_sm_shine.png" COMP;
14046          image: "bt_sm_hilight.png" COMP;
14047          image: "ilist_2_h.png" COMP;
14048       }
14049       parts {
14050          part {
14051             name: "event";
14052             type: RECT;
14053             repeat_events: 1;
14054             description {
14055                state: "default" 0.0;
14056                color: 0 0 0 0;
14057             }
14058          }
14059          part {
14060             name: "base";
14061             mouse_events: 0;
14062             description {
14063                state: "default" 0.0;
14064                image {
14065                   normal: "ilist_2_h.png";
14066                   border: 2 2 2 2;
14067                }
14068                fill.smooth: 0;
14069             }
14070          }
14071          part { name: "bg";
14072             mouse_events: 0;
14073             description { state: "default" 0.0;
14074                visible: 0;
14075                color: 255 255 255 0;
14076                rel1 {
14077                   relative: 0.0 0.0;
14078                   offset: -5 -5;
14079                }
14080                rel2 {
14081                   relative: 1.0 1.0;
14082                   offset: 4 4;
14083                }
14084                image {
14085                   normal: "bt_sm_base1.png";
14086                   border: 6 6 6 6;
14087                }
14088                image.middle: SOLID;
14089             }
14090             description { state: "selected" 0.0;
14091                inherit: "default" 0.0;
14092                visible: 1;
14093                color: 255 255 255 255;
14094                rel1 {
14095                   relative: 0.0 0.0;
14096                   offset: -2 -2;
14097                }
14098                rel2 {
14099                   relative: 1.0 1.0;
14100                   offset: 1 1;
14101                }
14102             }
14103          }
14104          part { name: "elm.swallow.icon";
14105             type: SWALLOW;
14106             description { state: "default" 0.0;
14107                fixed: 0 1;
14108                align: 0.5 0.0;
14109                rel1 {
14110                   relative: 0.0 0.0;
14111                   offset: 4 4;
14112                }
14113                rel2 {
14114                   relative: 1.0 0.0;
14115                   offset: -5 4;
14116                }
14117             }
14118          }
14119          part { name: "elm.swallow.end";
14120             type: SWALLOW;
14121             description { state: "default" 0.0;
14122                fixed: 0 1;
14123                align: 0.5 1.0;
14124                rel1 {
14125                   relative: 0.0 1.0;
14126                   offset: 4 -5;
14127                }
14128                rel2 {
14129                   relative: 1.0 1.0;
14130                   offset: -5 -5;
14131                }
14132             }
14133          }
14134          part { name: "elm.text";
14135             type: TEXT;
14136             effect: SOFT_SHADOW;
14137             mouse_events: 0;
14138             scale: 1;
14139             description {
14140                state: "default" 0.0;
14141                fixed: 1 1;
14142                rel1 {
14143                   to_x: "elm.swallow.icon";
14144                   relative: 0.0 1.0;
14145                   offset: 4 4;
14146                }
14147                rel2 {
14148                   to_x: "elm.swallow.end";
14149                   relative: 1.0 0.0;
14150                   offset: -5 -1;
14151                }
14152                color: 0 0 0 255;
14153                color3: 0 0 0 0;
14154                text {
14155                   font: "Sans";
14156                   size: 10;
14157                   min: 1 1;
14158                   align: 0.5 0.5;
14159                   text_class: "list_item";
14160                }
14161             }
14162             description { state: "selected" 0.0;
14163                inherit: "default" 0.0;
14164                color: 224 224 224 255;
14165                color3: 0 0 0 64;
14166             }
14167          }
14168          part { name: "fg1";
14169             mouse_events: 0;
14170             description { state: "default" 0.0;
14171                visible: 0;
14172                color: 255 255 255 0;
14173                rel1.to: "bg";
14174                rel2.relative: 1.0 0.5;
14175                rel2.to: "bg";
14176                image {
14177                   normal: "bt_sm_hilight.png";
14178                   border: 6 6 6 0;
14179                }
14180             }
14181             description { state: "selected" 0.0;
14182                inherit: "default" 0.0;
14183                visible: 1;
14184                color: 255 255 255 255;
14185             }
14186          }
14187          part { name: "fg2";
14188             mouse_events: 0;
14189             description { state: "default" 0.0;
14190                visible: 0;
14191                color: 255 255 255 0;
14192                rel1.to: "bg";
14193                rel2.to: "bg";
14194                image {
14195                   normal: "bt_sm_shine.png";
14196                   border: 6 6 6 0;
14197                }
14198             }
14199             description { state: "selected" 0.0;
14200                inherit: "default" 0.0;
14201                visible: 1;
14202                color: 255 255 255 255;
14203             }
14204          }
14205       }
14206       programs {
14207          program {
14208             name: "go_active";
14209             signal: "elm,state,selected";
14210             source: "elm";
14211             action: STATE_SET "selected" 0.0;
14212             target: "bg";
14213             target: "fg1";
14214             target: "fg2";
14215             target: "elm.text";
14216          }
14217          program {
14218             name: "go_passive";
14219             signal: "elm,state,unselected";
14220             source: "elm";
14221             action: STATE_SET "default" 0.0;
14222             target: "bg";
14223             target: "fg1";
14224             target: "fg2";
14225             target: "elm.text";
14226             transition: LINEAR 0.1;
14227          }
14228       }
14229    }
14230
14231 ///////////////////////////////////////////////////////////////////////////////
14232    group { name: "elm/slider/horizontal/default";
14233            alias: "elm/slider/horizontal/disabled";
14234       images {
14235          image: "sl_bg.png" COMP;
14236          image: "sl_bg_over.png" COMP;
14237
14238          image: "sl_units.png" COMP;
14239       }
14240       parts {
14241          part { name: "base";
14242             mouse_events: 0;
14243             description { state: "default" 0.0;
14244                max: 99999 6;
14245                min: 0 6;
14246                rel1 { to: "bg";
14247                   offset: 1 0;
14248                }
14249                rel2 { to: "bg";
14250                   offset: -2 -1;
14251                }
14252                image.normal: "sl_bg.png";
14253                fill.smooth: 0;
14254             }
14255          }
14256          part { name: "level";
14257             type: RECT;
14258             mouse_events: 0;
14259             description { state: "default" 0.0;
14260                fixed: 1 1;
14261                rel1.to: "base";
14262                rel2 {
14263                   to_y: "base";
14264                   to_x: "elm.dragable.slider";
14265                   relative: 0.5 1.0;
14266                }
14267                color: 255 0 0 200;
14268             }
14269             description { state: "inverted" 0.0;
14270                inherit: "default" 0.0;
14271                visible: 0;
14272             }
14273             description { state: "disabled" 0.0;
14274                inherit: "default" 0.0;
14275                color: 255 0 0 100;
14276             }
14277             description { state: "disabled_inverted" 0.0;
14278                inherit: "default" 0.0;
14279                visible: 0;
14280             }
14281          }
14282          part { name: "level2";
14283             type: RECT;
14284             mouse_events: 0;
14285             description { state: "default" 0.0;
14286                fixed: 1 1;
14287                visible: 0;
14288                rel1 {
14289                   to_y: "base";
14290                   to_x: "elm.dragable.slider";
14291                   relative: 0.5 0.0;
14292                }
14293                rel2.to: "base";
14294                color: 255 0 0 200;
14295             }
14296             description { state: "inverted" 0.0;
14297                inherit: "default" 0.0;
14298                visible: 1;
14299             }
14300             description { state: "disabled" 0.0;
14301                inherit: "default" 0.0;
14302             }
14303             description { state: "disabled_inverted" 0.0;
14304                inherit: "default" 0.0;
14305                color: 255 0 0 100;
14306                visible: 1;
14307             }
14308          }
14309          part {
14310             name: "base_over";
14311             mouse_events: 0;
14312             description { state: "default" 0.0;
14313                rel1.to: "base";
14314                rel1.offset: -1 -1;
14315                rel2.to: "base";
14316                rel2.offset: 0 0;
14317                image {
14318                   normal: "sl_bg_over.png";
14319                   border: 3 3 3 3;
14320                }
14321                fill.smooth: 0;
14322             }
14323          }
14324          part { name: "bg";
14325             type: RECT;
14326             mouse_events: 0;
14327             scale: 1;
14328             description { state: "default" 0.0;
14329                visible: 0;
14330                rel1.to: "elm.swallow.bar";
14331                rel2.to: "elm.swallow.bar";
14332                color: 0 0 0 0;
14333             }
14334          }
14335          part { name: "elm.swallow.bar";
14336             type: SWALLOW;
14337             scale: 1;
14338             description { state: "default" 0.0;
14339                min: 48 24;
14340                max: 99999 24;
14341                align: 1.0 0.5;
14342                rel1 {
14343                   to_x: "elm.text";
14344                   relative: 1.0 0.0;
14345                   offset: 8 0;
14346                }
14347                rel2 {
14348                   to_x: "elm.units";
14349                   relative: 0.0 1.0;
14350                   offset: -10 -1;
14351                }
14352             }
14353          }
14354          part { name: "elm.swallow.icon";
14355             type: SWALLOW;
14356             description { state: "default" 0.0;
14357                visible: 0;
14358                align: 0.0 0.5;
14359                rel1 {
14360                   offset: 4 0;
14361                   to_y: "elm.swallow.bar";
14362                }
14363                rel2 {
14364                   offset: 3 -1;
14365                   relative: 0.0 1.0;
14366                   to_y: "elm.swallow.bar";
14367                }
14368             }
14369             description { state: "visible" 0.0;
14370                inherit: "default" 0.0;
14371                visible: 1;
14372                aspect: 1.0 1.0;
14373                aspect_preference: VERTICAL;
14374                rel2.offset: 4 -1;
14375             }
14376          }
14377          part { name: "elm.text";
14378             type: TEXT;
14379             mouse_events: 0;
14380             scale: 1;
14381             description { state: "default" 0.0;
14382                visible: 0;
14383                fixed: 1 1;
14384                align: 0.0 0.5;
14385                rel1.to_x: "elm.swallow.icon";
14386                rel1.relative: 1.0 0.0;
14387                rel1.offset: -1 4;
14388                rel2.to_x: "elm.swallow.icon";
14389                rel2.relative: 1.0 1.0;
14390                rel2.offset: -1 -5;
14391                color: 0 0 0 255;
14392                text {
14393                   font: "Sans,Edje-Vera";
14394                   size: 10;
14395                   min: 0 0;
14396                   align: 0.0 0.5;
14397                }
14398             }
14399             description { state: "visible" 0.0;
14400                inherit: "default" 0.0;
14401                visible: 1;
14402                text.min: 1 1;
14403                rel1.offset: 0 4;
14404                rel2.offset: 0 -5;
14405             }
14406             description { state: "disabled" 0.0;
14407                inherit: "default" 0.0;
14408                color: 255 128 128 128;
14409                visible: 0;
14410             }
14411             description { state: "disabled_visible" 0.0;
14412                inherit: "default" 0.0;
14413                color: 0 0 0 128;
14414                color3: 0 0 0 0;
14415                visible: 1;
14416                text.min: 1 1;
14417             }
14418          }
14419          part {
14420             name: "elm.swallow.end";
14421             type: SWALLOW;
14422             description {
14423                state: "default" 0.0;
14424                visible: 0;
14425                align: 1.0 0.5;
14426                rel1 {
14427                   offset: -4 0;
14428                   relative: 1.0 0.0;
14429                   to_y: "elm.swallow.bar";
14430                }
14431                rel2 {
14432                   offset: -3 -1;
14433                   to_y: "elm.swallow.bar";
14434                }
14435             }
14436             description { state: "visible" 0.0;
14437                inherit: "default" 0.0;
14438                visible: 1;
14439                aspect: 1.0 1.0;
14440                aspect_preference: VERTICAL;
14441                rel2.offset: -4 -1;
14442             }
14443          }
14444          part { name: "units";
14445             mouse_events: 0;
14446             description { state: "default" 0.0;
14447                visible: 0;
14448                rel1 {
14449                   to_x: "elm.units";
14450                   offset: 0 5;
14451                }
14452                rel2 {
14453                   to_x: "elm.units";
14454                   offset: 5 -3;
14455                }
14456                image {
14457                   normal: "sl_units.png";
14458                   border: 0 5 3 8;
14459                }
14460                fill.smooth: 0;
14461             }
14462             description { state: "visible" 0.0;
14463                inherit: "default" 0.0;
14464                visible: 1;
14465             }
14466          }
14467          part { name: "elm.units";
14468             type: TEXT;
14469             mouse_events: 0;
14470             scale: 1;
14471             description { state: "default" 0.0;
14472                visible: 0;
14473                fixed: 1 1;
14474                align: 1.0 0.5;
14475                rel1.to_x: "elm.swallow.end";
14476                rel1.relative: 0.0 0.0;
14477                rel1.offset: 0 8;
14478                rel2.to_x: "elm.swallow.end";
14479                rel2.relative: 0.0 1.0;
14480                rel2.offset: 0 -9;
14481                color: 0 0 0 255;
14482                text {
14483                   font: "Sans,Edje-Vera";
14484                   size: 10;
14485                   min: 0 0;
14486                   align: 0.0 0.5;
14487                }
14488             }
14489             description { state: "visible" 0.0;
14490                inherit: "default" 0.0;
14491                fixed: 1 1;
14492                visible: 1;
14493                text.min: 1 1;
14494                rel1.offset: -5 0;
14495                rel2.offset: -5 -1;
14496             }
14497             description { state: "disabled" 0.0;
14498                inherit: "default" 0.0;
14499                color: 255 128 128 128;
14500                visible: 0;
14501             }
14502             description { state: "disabled_visible" 0.0;
14503                inherit: "default" 0.0;
14504                color: 0 0 0 128;
14505                color3: 0 0 0 0;
14506                visible: 1;
14507                text.min: 1 1;
14508             }
14509          }
14510          part { name: "elm.dragable.slider";
14511             type: GROUP;
14512             source: "elm/slider/horizontal/indicator/default";
14513             mouse_events: 1;
14514             repeat_events: 1;
14515             scale: 1;
14516             dragable {
14517                x: 1 1 0;
14518                y: 0 0 0;
14519                confine: "bg";
14520             }
14521             description { state: "default" 0.0;
14522                min: 0 24;
14523                max: 0 24;
14524                fixed: 1 1;
14525                rel1 {
14526                   relative: 0.5 0.0;
14527                   to_x: "bg";
14528                }
14529                rel2 {
14530                   relative: 0.5 1.0;
14531                   to_x: "bg";
14532                }
14533                color: 255 0 0 100;
14534             }
14535          }
14536           part { name: "disabler";
14537             type: RECT;
14538             description { state: "default" 0.0;
14539                color: 0 0 0 0;
14540                visible: 0;
14541             }
14542             description { state: "disabled" 0.0;
14543                inherit: "default" 0.0;
14544                visible: 1;
14545             }
14546          }
14547       }
14548       programs {
14549          program { name: "text_show";
14550             signal: "elm,state,text,visible";
14551             source: "elm";
14552             action:  STATE_SET "visible" 0.0;
14553             target: "elm.text";
14554          }
14555          program { name: "text_hide";
14556             signal: "elm,state,text,hidden";
14557             source: "elm";
14558             action:  STATE_SET "default" 0.0;
14559             target: "elm.text";
14560          }
14561          program { name: "icon_show";
14562             signal: "elm,state,icon,visible";
14563             source: "elm";
14564             action:  STATE_SET "visible" 0.0;
14565             target: "elm.swallow.icon";
14566          }
14567          program { name: "icon_hide";
14568             signal: "elm,state,icon,hidden";
14569             source: "elm";
14570             action:  STATE_SET "default" 0.0;
14571             target: "elm.swallow.icon";
14572          }
14573           program { name: "end_show";
14574             signal: "elm,state,end,visible";
14575             source: "elm";
14576             action:  STATE_SET "visible" 0.0;
14577             target: "elm.swallow.end";
14578          }
14579          program { name: "end_hide";
14580             signal: "elm,state,end,hidden";
14581             source: "elm";
14582             action:  STATE_SET "default" 0.0;
14583             target: "elm.swallow.end";
14584          }
14585          program { name: "units_show";
14586             signal: "elm,state,units,visible";
14587             source: "elm";
14588             action:  STATE_SET "visible" 0.0;
14589             target: "elm.units";
14590             target: "units";
14591          }
14592          program { name: "units_hide";
14593             signal: "elm,state,units,hidden";
14594             source: "elm";
14595             action:  STATE_SET "default" 0.0;
14596             target: "elm.units";
14597             target: "units";
14598          }
14599          program { name: "invert_on";
14600             signal: "elm,state,inverted,on";
14601             source: "elm";
14602             action:  STATE_SET "inverted" 0.0;
14603             target: "level";
14604             target: "level2";
14605          }
14606          program { name: "invert_off";
14607             signal: "elm,state,inverted,off";
14608             source: "elm";
14609             action:  STATE_SET "default" 0.0;
14610             target: "level";
14611             target: "level2";
14612          }
14613          program {
14614             name:    "go_disabled";
14615             signal:  "elm,state,disabled";
14616             source:  "elm";
14617             action:  STATE_SET "disabled" 0.0;
14618 //            target: "button0";
14619             target: "disabler";
14620             after: "disable_text";
14621             after: "disable_ind";
14622          }
14623
14624          program { name: "disable_ind";
14625             action: SIGNAL_EMIT "elm.dragable.slider:elm,state,disabled" "elm";
14626          }
14627          program { name: "disable_text";
14628             script {
14629                new st[31];
14630                new Float:vl;
14631                get_state(PART:"elm.text", st, 30, vl);
14632                if (!strcmp(st, "visible"))
14633                   set_state(PART:"elm.text", "disabled_visible", 0.0);
14634                else
14635                   set_state(PART:"elm.text", "disabled", 0.0);
14636
14637                get_state(PART:"elm.units", st, 30, vl);
14638                if (!strcmp(st, "visible"))
14639                   set_state(PART:"elm.units", "disabled_visible", 0.0);
14640                else
14641                   set_state(PART:"elm.units", "disabled", 0.0);
14642
14643                get_state(PART:"level2", st, 30, vl);
14644                if (!strcmp(st, "inverted"))
14645                {
14646                   set_state(PART:"level", "disabled_inverted", 0.0);
14647                   set_state(PART:"level2", "disabled_inverted", 0.0);
14648                }
14649                else
14650                {
14651                   set_state(PART:"level", "disabled", 0.0);
14652                   set_state(PART:"level2", "disabled", 0.0);
14653                }
14654             }
14655          }
14656          program { name: "enable";
14657             signal: "elm,state,enabled";
14658             source: "elm";
14659             action: STATE_SET "default" 0.0;
14660 //            target: "button0";
14661             target: "disabler";
14662             after: "enable_text";
14663             after: "enable_ind";
14664          }
14665
14666          program { name: "enable_ind";
14667             action: SIGNAL_EMIT "elm.dragable.slider:elm,state,enabled" "elm";
14668          }
14669
14670          program { name: "enable_text";
14671             script {
14672                new st[31];
14673                new Float:vl;
14674                get_state(PART:"elm.text", st, 30, vl);
14675                if (!strcmp(st, "disabled_visible"))
14676                   set_state(PART:"elm.text", "visible", 0.0);
14677                else
14678                   set_state(PART:"elm.text", "default", 0.0);
14679
14680                get_state(PART:"elm.units", st, 30, vl);
14681                if (!strcmp(st, "disabled_visible"))
14682                   set_state(PART:"elm.units", "visible", 0.0);
14683                else
14684                   set_state(PART:"elm.units", "default", 0.0);
14685
14686                get_state(PART:"level2", st, 30, vl);
14687                if (!strcmp(st, "disabled_inverted"))
14688                {
14689                   set_state(PART:"level", "inverted", 0.0);
14690                   set_state(PART:"level2", "inverted", 0.0);
14691                }
14692                else
14693                {
14694                   set_state(PART:"level", "default", 0.0);
14695                   set_state(PART:"level2", "default", 0.0);
14696                }
14697             }
14698          }
14699       }
14700    }
14701
14702    group { name: "elm/slider/vertical/default";
14703       images {
14704          image: "slv_bg.png" COMP;
14705          image: "slv_bg_over.png" COMP;
14706
14707          image: "slv_units.png" COMP;
14708       }
14709       parts {
14710          part { name: "base";
14711             mouse_events: 0;
14712             description { state: "default" 0.0;
14713                max: 6 99999;
14714                min: 6 0;
14715                rel1 { to: "bg";
14716                   offset: 1 0;
14717                }
14718                rel2 { to: "bg";
14719                   offset: -2 -1;
14720                }
14721                image.normal: "slv_bg.png";
14722                fill.smooth: 0;
14723             }
14724          }
14725          part { name: "level";
14726             type: RECT;
14727             mouse_events: 0;
14728             description { state: "default" 0.0;
14729                fixed: 1 1;
14730                rel1.to: "base";
14731                rel2 {
14732                   to_x: "base";
14733                   to_y: "elm.dragable.slider";
14734                   relative: 1.0 0.5;
14735                }
14736                color: 255 0 0 200;
14737             }
14738             description { state: "inverted" 0.0;
14739                inherit: "default" 0.0;
14740                visible: 0;
14741             }
14742             description { state: "disabled" 0.0;
14743                inherit: "default" 0.0;
14744                color: 255 0 0 100;
14745             }
14746             description { state: "disabled_inverted" 0.0;
14747                inherit: "default" 0.0;
14748                visible: 0;
14749             }
14750          }
14751          part { name: "level2";
14752             type: RECT;
14753             mouse_events: 0;
14754             description { state: "default" 0.0;
14755                fixed: 1 1;
14756                visible: 0;
14757                rel1 {
14758                   to_x: "base";
14759                   to_y: "elm.dragable.slider";
14760                   relative: 0.0 0.5;
14761                }
14762                rel2.to: "base";
14763                color: 255 0 0 200;
14764             }
14765             description { state: "inverted" 0.0;
14766                inherit: "default" 0.0;
14767                visible: 1;
14768             }
14769             description { state: "disabled" 0.0;
14770                inherit: "default" 0.0;
14771                color: 255 0 0 100;
14772             }
14773             description { state: "disabled_inverted" 0.0;
14774                inherit: "default" 0.0;
14775                color: 255 0 0 100;
14776                visible: 1;
14777             }
14778          }
14779          part {
14780             name: "base_over";
14781             mouse_events: 0;
14782             description { state: "default" 0.0;
14783                rel1.to: "base";
14784                rel1.offset: -1 -1;
14785                rel2.to: "base";
14786                rel2.offset: 0 0;
14787                image {
14788                   normal: "slv_bg_over.png";
14789                   border: 3 3 3 3;
14790                }
14791                fill.smooth: 0;
14792             }
14793          }
14794          part { name: "bg";
14795             type: RECT;
14796             mouse_events: 0;
14797             scale: 1;
14798             description { state: "default" 0.0;
14799                visible: 0;
14800                rel1.to: "elm.swallow.bar";
14801                rel2.to: "elm.swallow.bar";
14802                color: 0 0 0 0;
14803             }
14804          }
14805          part { name: "elm.swallow.bar";
14806             type: SWALLOW;
14807             scale: 1;
14808             description { state: "default" 0.0;
14809                min: 24 48;
14810                max: 24 9999;
14811                align: 0.5 1.0;
14812                rel1 {
14813                   to_y: "elm.text";
14814                   relative: 0.0 1.0;
14815                   offset: 0 10;
14816                }
14817                rel2 {
14818                   to_y: "elm.units";
14819                   relative: 1.0 0.0;
14820                   offset: -1 -8;
14821                }
14822             }
14823          }
14824          part { name: "elm.swallow.icon";
14825             type: SWALLOW;
14826             description { state: "default" 0.0;
14827                visible: 0;
14828                align: 0.5 0.0;
14829                rel1 {
14830                   offset: 0 4;
14831                   to_x: "elm.swallow.bar";
14832                }
14833                rel2 {
14834                   offset: -1 3;
14835                   relative: 1.0 0.0;
14836                   to_x: "elm.swallow.bar";
14837                }
14838             }
14839             description { state: "visible" 0.0;
14840                inherit: "default" 0.0;
14841                visible: 1;
14842                aspect: 1.0 1.0;
14843                aspect_preference: HORIZONTAL;
14844                rel2.offset: -1 4;
14845             }
14846          }
14847          part { name: "elm.text";
14848             type: TEXT;
14849             mouse_events: 0;
14850             scale: 1;
14851             description { state: "default" 0.0;
14852                visible: 0;
14853                fixed: 0 1;
14854                align: 0.5 0.0;
14855                rel1.to_y: "elm.swallow.icon";
14856                rel1.relative: 0.0 1.0;
14857                rel1.offset: 0 -1;
14858                rel2.to_y: "elm.swallow.icon";
14859                rel2.relative: 1.0 1.0;
14860                rel2.offset: -1 -1;
14861                color: 0 0 0 255;
14862                text {
14863                   font: "Sans,Edje-Vera";
14864                   size: 10;
14865                   min: 0 0;
14866                   align: 0.5 0.0;
14867                }
14868             }
14869             description { state: "visible" 0.0;
14870                inherit: "default" 0.0;
14871                visible: 1;
14872                text.min: 1 1;
14873                rel1.offset: 4 0;
14874                rel2.offset: -5 0;
14875             }
14876             description { state: "disabled" 0.0;
14877                inherit: "default" 0.0;
14878                color: 255 128 128 128;
14879                visible: 0;
14880             }
14881             description { state: "disabled_visible" 0.0;
14882                inherit: "default" 0.0;
14883                color: 0 0 0 128;
14884                color3: 0 0 0 0;
14885                visible: 1;
14886                text.min: 1 1;
14887             }
14888          }
14889          part {
14890             name: "elm.swallow.end";
14891             type: SWALLOW;
14892             description {
14893                state: "default" 0.0;
14894                visible: 0;
14895                align: 0.5 1.0;
14896                rel1 {
14897                   offset: 0 -4;
14898                   relative: 0.0 1.0;
14899                   to_x: "elm.swallow.bar";
14900                }
14901                rel2 {
14902                   offset: -1 -3;
14903                   to_x: "elm.swallow.bar";
14904                }
14905             }
14906             description { state: "visible" 0.0;
14907                inherit: "default" 0.0;
14908                visible: 1;
14909                aspect: 1.0 1.0;
14910                aspect_preference: HORIZONTAL;
14911                rel2.offset: -1 -4;
14912             }
14913          }
14914          part { name: "units";
14915             mouse_events: 0;
14916             description { state: "default" 0.0;
14917                visible: 0;
14918                rel1 {
14919                   to: "elm.units";
14920                   offset: -8 0;
14921                }
14922                rel2 {
14923                   to: "elm.units";
14924                   offset: 7 8;
14925                }
14926                image {
14927                   normal: "slv_units.png";
14928                   border: 8 8 0 9;
14929                }
14930                fill.smooth: 0;
14931             }
14932             description { state: "visible" 0.0;
14933                inherit: "default" 0.0;
14934                visible: 1;
14935             }
14936          }
14937          part { name: "elm.units";
14938             type: TEXT;
14939             mouse_events: 0;
14940             scale: 1;
14941             description { state: "default" 0.0;
14942                visible: 0;
14943                fixed: 1 1;
14944                align: 0.5 1.0;
14945                rel1.relative: 0.0 0.0;
14946                rel1.to_y: "elm.swallow.end";
14947                rel1.offset: 8 0;
14948                rel2.relative: 1.0 0.0;
14949                rel2.to_y: "elm.swallow.end";
14950                rel2.offset: -9 0;
14951                color: 0 0 0 255;
14952                text {
14953                   font: "Sans,Edje-Vera";
14954                   size: 10;
14955                   min: 0 0;
14956                   align: 0.5 0.0;
14957                }
14958             }
14959             description { state: "visible" 0.0;
14960                inherit: "default" 0.0;
14961                fixed: 1 1;
14962                visible: 1;
14963                text.min: 1 1;
14964                rel1.offset: 8 -9;
14965                rel2.offset: -9 -9;
14966             }
14967             description { state: "disabled" 0.0;
14968                inherit: "default" 0.0;
14969                color:  0 0 0 128;
14970                color3: 0 0 0 0;
14971                visible: 0;
14972             }
14973             description { state: "disabled_visible" 0.0;
14974                inherit: "default" 0.0;
14975                fixed: 1 1;
14976                visible: 1;
14977                text.min: 1 1;
14978                rel1.offset: 8 -9;
14979                rel2.offset: -9 -9;
14980                color: 0 0 0 128;
14981                color3: 0 0 0 0;
14982             }
14983          }
14984          part { name: "elm.dragable.slider";
14985             type: GROUP;
14986             source: "elm/slider/vertical/indicator/default";
14987             mouse_events: 1;
14988             repeat_events: 1;
14989             scale: 1;
14990             dragable {
14991                x: 0 0 0;
14992                y: 1 1 0;
14993                confine: "bg";
14994             }
14995             description { state: "default" 0.0;
14996                min: 24 0;
14997                max: 24 0;
14998                fixed: 1 1;
14999                rel1 {
15000                   relative: 0.5  0.0;
15001                   to_y: "bg";
15002                }
15003                rel2 {
15004                   relative: 0.5  1.0;
15005                   to_y: "bg";
15006                }
15007                color: 0 0 0 0;
15008             }
15009          }
15010               part { name: "disabler";
15011                 type: RECT;
15012                 description { state: "default" 0.0;
15013                    color: 0 0 0 0;
15014                    visible: 0;
15015                 }
15016                 description { state: "disabled" 0.0;
15017                    inherit: "default" 0.0;
15018                    visible: 1;
15019                 }
15020              }
15021           }
15022
15023       programs {
15024          program { name: "text_show";
15025             signal: "elm,state,text,visible";
15026             source: "elm";
15027             action:  STATE_SET "visible" 0.0;
15028             target: "elm.text";
15029          }
15030          program { name: "text_hide";
15031             signal: "elm,state,text,hidden";
15032             source: "elm";
15033             action:  STATE_SET "default" 0.0;
15034             target: "elm.text";
15035          }
15036          program { name: "icon_show";
15037             signal: "elm,state,icon,visible";
15038             source: "elm";
15039             action:  STATE_SET "visible" 0.0;
15040             target: "elm.swallow.icon";
15041          }
15042          program { name: "icon_hide";
15043             signal: "elm,state,icon,hidden";
15044             source: "elm";
15045             action:  STATE_SET "default" 0.0;
15046             target: "elm.swallow.icon";
15047          }
15048          program { name: "end_show";
15049             signal: "elm,state,end,visible";
15050             source: "elm";
15051             action:  STATE_SET "visible" 0.0;
15052             target: "elm.swallow.end";
15053          }
15054          program { name: "end_hide";
15055             signal: "elm,state,end,hidden";
15056             source: "elm";
15057             action:  STATE_SET "default" 0.0;
15058             target: "elm.swallow.end";
15059          }
15060          program { name: "units_show";
15061             signal: "elm,state,units,visible";
15062             source: "elm";
15063             action:  STATE_SET "visible" 0.0;
15064             target: "elm.units";
15065             target: "units";
15066          }
15067          program { name: "units_hide";
15068             signal: "elm,state,units,hidden";
15069             source: "elm";
15070             action:  STATE_SET "default" 0.0;
15071             target: "elm.units";
15072             target: "units";
15073          }
15074          program { name: "invert_on";
15075             signal: "elm,state,inverted,on";
15076             source: "elm";
15077             action:  STATE_SET "inverted" 0.0;
15078             target: "level";
15079             target: "level2";
15080          }
15081          program { name: "invert_off";
15082             signal: "elm,state,inverted,off";
15083             source: "elm";
15084             action:  STATE_SET "default" 0.0;
15085             target: "level";
15086             target: "level2";
15087          }
15088          program {
15089             name:   "go_disabled";
15090             signal: "elm,state,disabled";
15091             source: "elm";
15092             action: STATE_SET "disabled" 0.0;
15093 //            target: "button0";
15094             target: "disabler";
15095             after: "disable_text";
15096             after: "disable_ind";
15097          }
15098
15099          program { name: "disable_ind";
15100             action: SIGNAL_EMIT "elm.dragable.slider:elm,state,disabled" "elm";
15101          }
15102
15103          program { name: "disable_text";
15104             script {
15105             new st[31];
15106             new Float:vl;
15107                get_state(PART:"elm.text", st, 30, vl);
15108                if (!strcmp(st, "visible"))
15109                   set_state(PART:"elm.text", "disabled_visible", 0.0);
15110                else
15111                   set_state(PART:"elm.text", "disabled", 0.0);
15112
15113                get_state(PART:"elm.units", st, 30, vl);
15114                if (!strcmp(st, "visible"))
15115                   set_state(PART:"elm.units", "disabled_visible", 0.0);
15116                else
15117                   set_state(PART:"elm.units", "disabled", 0.0);
15118
15119                get_state(PART:"level2", st, 30, vl);
15120                if (!strcmp(st, "inverted"))
15121                {
15122                   set_state(PART:"level", "disabled_inverted", 0.0);
15123                   set_state(PART:"level2", "disabled_inverted", 0.0);
15124                }
15125                else
15126                {
15127                   set_state(PART:"level", "disabled", 0.0);
15128                   set_state(PART:"level2", "disabled", 0.0);
15129                }
15130             }
15131          }
15132
15133          program { name: "enable";
15134             signal: "elm,state,enabled";
15135             source: "elm";
15136             action: STATE_SET "default" 0.0;
15137 //            target: "button0";
15138             target: "disabler";
15139             after: "enable_text";
15140             after: "enable_ind";
15141          }
15142
15143          program { name: "enable_ind";
15144             action: SIGNAL_EMIT "elm.dragable.slider:elm,state,enabled" "elm";
15145          }
15146          program { name: "enable_text";
15147             script {
15148                new st[31];
15149                new Float:vl;
15150                get_state(PART:"elm.text", st, 30, vl);
15151                if (!strcmp(st, "disabled_visible"))
15152                   set_state(PART:"elm.text", "visible", 0.0);
15153                else
15154                   set_state(PART:"elm.text", "default", 0.0);
15155
15156                get_state(PART:"elm.units", st, 30, vl);
15157                if (!strcmp(st, "disabled_visible"))
15158                   set_state(PART:"elm.units", "visible", 0.0);
15159                else
15160                   set_state(PART:"elm.units", "default", 0.0);
15161
15162                get_state(PART:"level2", st, 30, vl);
15163                if (!strcmp(st, "disabled_inverted"))
15164                {
15165                   set_state(PART:"level", "inverted", 0.0);
15166                   set_state(PART:"level2", "inverted", 0.0);
15167                }
15168                else
15169                {
15170                   set_state(PART:"level", "default", 0.0);
15171                   set_state(PART:"level2", "default", 0.0);
15172                }
15173             }
15174          }
15175       }
15176    }
15177    group { name: "elm/slider/horizontal/indicator/default";
15178            alias: "elm/slider/horizontal/indicator/disabled";
15179            alias: "elm/slider/vertical/indicator/default";
15180            alias: "elm/slider/vertical/indicator/disabled";
15181       images {
15182          image: "sl_bt_0.png" COMP;
15183          image: "sl_bt_1.png" COMP;
15184          image: "sl_bt_2.png" COMP;
15185          image: "sl_bt_3.png" COMP;
15186          image: "sl_bt2_0_0.png" COMP;
15187          image: "sl_bt2_0_1.png" COMP;
15188          image: "sl_bt2_0_2.png" COMP;
15189          image: "sl_bt2_1.png" COMP;
15190          image: "sl_bt2_2.png" COMP;
15191       }
15192       script {
15193          public value_hide = 0;
15194          public set_value_show() {
15195             set_int(value_hide, 0);
15196          }
15197          public set_value_hide() {
15198             set_int(value_hide, 1);
15199          }
15200          public thumb_down() {
15201             if (get_int(value_hide) == 1) {
15202                set_state(PART:"elm.indicator", "default", 0.0);
15203                set_state(PART:"button3", "default", 0.0);
15204                set_state(PART:"button4", "default", 0.0);
15205                set_state(PART:"button5", "default", 0.0);
15206                set_state(PART:"button6", "default", 0.0);
15207                set_state(PART:"button7", "default", 0.0);
15208             } else {
15209                set_state(PART:"elm.indicator", "visible", 0.0);
15210                set_state(PART:"button3", "visible", 0.0);
15211                set_state(PART:"button4", "visible", 0.0);
15212                set_state(PART:"button5", "visible", 0.0);
15213                set_state(PART:"button6", "visible", 0.0);
15214                set_state(PART:"button7", "visible", 0.0);
15215             }
15216          }
15217          public thumb_up() {
15218             set_state(PART:"elm.indicator", "default", 0.0);
15219             set_state(PART:"button3", "default", 0.0);
15220             set_state(PART:"button4", "default", 0.0);
15221             set_state(PART:"button5", "default", 0.0);
15222             set_state(PART:"button6", "default", 0.0);
15223             set_state(PART:"button7", "default", 0.0);
15224          }
15225       }
15226       parts {
15227          part { name: "button_events";
15228             type: RECT;
15229             mouse_events: 1;
15230             description { state: "default" 0.0;
15231                fixed: 1 1;
15232                min: 16 16;
15233                aspect: 1.0 1.0;
15234                aspect_preference: VERTICAL;
15235                color: 0 0 0 0;
15236             }
15237          }
15238          part { name: "button0";
15239             mouse_events: 0;
15240             description { state: "default" 0.0;
15241                fixed: 1 1;
15242                max: 17 999;
15243                min: 17 24;
15244                image {
15245                   normal: "sl_bt_0.png";
15246                   border: 5 5 5 10;
15247                }
15248                fill.smooth: 0;
15249             }
15250             description { state: "disabled" 0.0;
15251                inherit: "default" 0.0;
15252                image {
15253                   normal: "sl_bt_3.png";
15254                   border: 5 5 5 10;
15255                }
15256             }
15257          }
15258          part { name: "button1";
15259             mouse_events: 0;
15260             description { state: "default" 0.0;
15261                rel1.to: "button0";
15262                rel2 {
15263                   to: "button0";
15264                   relative: 1.0 0.5;
15265                   offset: -1 -5;
15266                }
15267                image {
15268                   normal: "sl_bt_1.png";
15269                   border: 5 5 5 0;
15270                }
15271             }
15272          }
15273          part { name: "button2";
15274             mouse_events: 0;
15275             description { state: "default" 0.0;
15276                rel1.to: "button0";
15277                rel2.to: "button0";
15278                image {
15279                   normal: "sl_bt_2.png";
15280                   border: 5 5 5 10;
15281                }
15282                fill.smooth: 0;
15283             }
15284          }
15285          part { name: "button3";
15286             mouse_events: 0;
15287             description { state: "default" 0.0;
15288                fixed: 1 1;
15289                visible: 0;
15290                min: 8 32;
15291                align: 1.0 0.5;
15292                rel1 {
15293                   to_x: "elm.indicator";
15294                   to_y: "button4";
15295                   relative: 0.0 0.0;
15296                   offset: -7 0;
15297                }
15298                rel2 {
15299                   to: "button4";
15300                   relative: 0.0 1.0;
15301                   offset: -1 -1;
15302                }
15303                image {
15304                   normal: "sl_bt2_0_0.png";
15305                   border: 6 0 6 12;
15306                }
15307                fill.smooth: 0;
15308             }
15309             description { state: "visible" 0.0;
15310                inherit: "default" 0.0;
15311                visible: 1;
15312             }
15313          }
15314          part { name: "button4";
15315             mouse_events: 0;
15316             description { state: "default" 0.0;
15317                visible: 0;
15318                max: 15 999;
15319                min: 15 32;
15320                rel1 {
15321                   to_x: "button0";
15322                   to_y: "elm.indicator";
15323                   offset: 0 0;
15324                }
15325                rel2.to: "button0";
15326                image {
15327                   normal: "sl_bt2_0_1.png";
15328                   border: 0 0 6 12;
15329                }
15330                fill.smooth: 0;
15331             }
15332             description { state: "visible" 0.0;
15333                inherit: "default" 0.0;
15334                visible: 1;
15335             }
15336          }
15337          part { name: "button5";
15338             mouse_events: 0;
15339             description { state: "default" 0.0;
15340                fixed: 1 1;
15341                visible: 0;
15342                min: 8 32;
15343                align: 0.0 0.5;
15344                rel1 {
15345                   to: "button4";
15346                   relative: 1.0 0.0;
15347                   offset: 0 0;
15348                }
15349                rel2 {
15350                   to_x: "elm.indicator";
15351                   to_y: "button4";
15352                   relative: 1.0 1.0;
15353                   offset: 6 -1;
15354                }
15355                image {
15356                   normal: "sl_bt2_0_2.png";
15357                   border: 0 6 6 12;
15358                }
15359                fill.smooth: 0;
15360             }
15361             description { state: "visible" 0.0;
15362                inherit: "default" 0.0;
15363                visible: 1;
15364             }
15365          }
15366          part { name: "elm.indicator";
15367             type: TEXT;
15368             mouse_events: 0;
15369             effect: SOFT_SHADOW;
15370             scale: 1;
15371             description { state: "default" 0.0;
15372                visible: 0;
15373                fixed: 1 1;
15374                align: 0.5 1.0;
15375                rel1 {
15376                   to: "button0";
15377                   relative: 0.0 -0.25;
15378                   offset: 0 0;
15379                }
15380                rel2 {
15381                   to_x: "button0";
15382                   relative: 1.0 -0.25;
15383                   offset: -1 0;
15384                }
15385                color: 224 224 224 255;
15386                color3: 0 0 0 64;
15387                text {
15388                   font:     "Sans,Edje-Vera";
15389                   size:     10;
15390                   min:      0 0;
15391                   align:    0.5 0.5;
15392                }
15393             }
15394             description { state: "visible" 0.0;
15395                inherit: "default" 0.0;
15396                visible: 1;
15397                text.min: 1 1;
15398                rel1.offset: 0 -1;
15399                rel2.offset: -1 -1;
15400             }
15401          }
15402          part { name: "button6";
15403             mouse_events: 0;
15404             description { state: "default" 0.0;
15405                visible: 0;
15406                rel1.to: "button3";
15407                rel2 {
15408                   to: "button5";
15409                   relative: 1.0 0.3;
15410                   offset: -1 -1;
15411                }
15412                image {
15413                   normal: "sl_bt2_1.png";
15414                   border: 5 5 5 0;
15415                }
15416                fill.smooth: 0;
15417             }
15418             description { state: "visible" 0.0;
15419                inherit: "default" 0.0;
15420                visible: 1;
15421             }
15422          }
15423          part { name: "button7";
15424             mouse_events: 0;
15425             description { state: "default" 0.0;
15426                visible: 0;
15427                rel1.to: "button3";
15428                rel2.to: "button5";
15429                image {
15430                   normal: "sl_bt2_2.png";
15431                   border: 5 5 5 0;
15432                   middle: 0;
15433                }
15434                fill.smooth: 0;
15435             }
15436             description { state: "visible" 0.0;
15437                inherit: "default" 0.0;
15438                visible: 1;
15439             }
15440          }
15441       }
15442       programs {
15443          program { name: "set_val_show";
15444             signal: "elm,state,val,show";
15445             source: "elm";
15446             script {
15447                set_value_show();
15448             }
15449          }
15450          program { name: "set_val_hide";
15451             signal: "elm,state,val,hide";
15452             source: "elm";
15453             script {
15454                set_value_hide();
15455             }
15456          }
15457          program { name: "val_show";
15458             signal: "mouse,down,*";
15459             source: "button_events";
15460             script {
15461                thumb_down();
15462             }
15463
15464          }
15465          program { name: "val_hide";
15466             signal: "mouse,up,*";
15467             source: "button_events";
15468             script {
15469                thumb_up();
15470             }
15471          }
15472          program {
15473             name:    "go_disabled";
15474             signal:  "elm,state,disabled";
15475             source:  "elm";
15476             action:  STATE_SET "disabled" 0.0;
15477             target:  "button0";
15478          }
15479          program {
15480             name:    "go_enabled";
15481             signal:  "elm,state,enabled";
15482             source:  "elm";
15483             action:  STATE_SET "default" 0.0;
15484             target:  "button0";
15485          }
15486       }
15487    }
15488
15489
15490 ////////////////////////////////////////////////////////////////////////////////
15491 // actionslider
15492 ////////////////////////////////////////////////////////////////////////////////
15493    group { name: "elm/actionslider/base/default";
15494
15495       images {
15496          image: "shelf_inset.png" COMP;
15497          image: "ilist_1.png" COMP;
15498          image: "bt_bases.png" COMP;
15499          image: "bt_basew.png" COMP;
15500          image: "bt_hilightw.png" COMP;
15501       }
15502
15503       parts {
15504          part {
15505             name: "base";
15506             mouse_events: 0;
15507             description {
15508                state: "default" 0.0;
15509                min: 75 25;
15510                rel1.offset: 1 1;
15511                rel2.offset: -2 -2;
15512                image {
15513                   normal: "ilist_1.png";
15514                   border: 2 2 2 2;
15515                }
15516                fill.smooth: 0;
15517             }
15518          }
15519          part { name: "conf_over";
15520             mouse_events:  0;
15521             description { state: "default" 0.0;
15522                rel1.to: "base";
15523                rel2.to: "base";
15524                image {
15525                   normal: "shelf_inset.png";
15526                   border: 7 7 7 7;
15527                   middle: 0;
15528                }
15529                fill.smooth : 0;
15530             }
15531          }
15532          part { name: "icon.dragable.area";
15533            type: RECT;
15534             mouse_events: 0;
15535             description { state: "default" 0.0;
15536                visible: 0;
15537                rel1.to: "base";
15538                rel2.to: "base";
15539             }
15540          }
15541          part { name: "elm.text.left";
15542             type: TEXT;
15543             mouse_events: 0;
15544             scale: 1;
15545             description { state: "default" 0.0;
15546                color: 0 0 0 255;
15547                text {
15548                   font: "Sans,Edje-Vera";
15549                   size: 10;
15550                   align: 0.05 0.5;
15551                   min: 1 1;
15552                }
15553             }
15554          }
15555          part { name: "elm.text.center";
15556             type: TEXT;
15557             mouse_events: 0;
15558             scale: 1;
15559             description { state: "default" 0.0;
15560                color: 0 0 0 255;
15561                text {
15562                   font: "Sans,Edje-Vera";
15563                   size: 10;
15564                   align: 0.5 0.5;
15565                   min: 1 1;
15566                }
15567             }
15568          }
15569          part { name: "elm.text.right";
15570             type: TEXT;
15571             mouse_events: 0;
15572             scale: 1;
15573             description { state: "default" 0.0;
15574                color: 0 0 0 255;
15575                text {
15576                   font: "Sans,Edje-Vera";
15577                   size: 10;
15578                   align: 0.95 0.5;
15579                   min: 1 1;
15580                }
15581             }
15582          }
15583          part { name: "elm.drag_button_base";
15584             type: SWALLOW;
15585             mouse_events: 0;
15586             scale: 1;
15587             description { state: "default" 0.0;
15588                fixed: 1 1;
15589                min: 50 25;
15590                align: 0.5 0.5;
15591                rel1.to: "icon.dragable.area";
15592                rel2 {
15593                   relative: 0.0 1.0;
15594                   to: "icon.dragable.area";
15595                }
15596             }
15597             dragable {
15598                confine: "icon.dragable.area";
15599                x: 1 1 0;
15600                y: 0 0 0;
15601             }
15602          }
15603          part { name: "elm.drag_button";
15604             type: RECT;
15605             mouse_events: 1;
15606             description { state: "default" 0.0;
15607                min: 50 25;
15608                color: 255 255 255 0;
15609                rel1.to_x: "elm.drag_button_base";
15610                rel1.to_y: "icon.dragable.area";
15611                rel2.to_x: "elm.drag_button_base";
15612                rel2.to_y: "icon.dragable.area";
15613             }
15614             dragable {
15615                events: "elm.drag_button_base";
15616             }
15617          }
15618          part { name: "button0";
15619             mouse_events: 0;
15620             description { state: "default" 0.0;
15621                rel1.to: "button2";
15622                rel1.offset: -4 -4;
15623                rel2.to: "button2";
15624                rel2.offset: 3 3;
15625                image {
15626                   normal: "bt_bases.png";
15627                   border: 11 11 11 11;
15628                   middle: SOLID;
15629                }
15630                color: 255 255 255 128;
15631             }
15632          }
15633          part { name: "button2";
15634             mouse_events: 0;
15635             description { state: "default" 0.0;
15636                rel1.to: "elm.drag_button";
15637                rel2.to: "elm.drag_button";
15638                image {
15639                   normal: "bt_basew.png";
15640                   border: 7 7 7 7;
15641                   middle: SOLID;
15642                }
15643                color: 255 255 255 210;
15644             }
15645          }
15646          part { name: "button3";
15647             mouse_events: 0;
15648             description { state: "default" 0.0;
15649                rel1.to: "button2";
15650                rel2.to: "button2";
15651                rel2.relative: 1.0 0.5;
15652                image {
15653                   normal: "bt_hilightw.png";
15654                   border: 4 4 4 0;
15655                }
15656                color: 255 255 255 190;
15657             }
15658          }
15659          part { name: "elm.text.indicator";
15660             type: TEXT;
15661             scale: 1;
15662             mouse_events: 0;
15663             description { state: "default" 0.0;
15664                rel1 {
15665                   to: "elm.drag_button";
15666                   offset: 5 0;
15667                }
15668                rel2 {
15669                   to: "elm.drag_button";
15670                   offset: -5 0;
15671                }
15672                color: 0 0 0 255;
15673                text {
15674                   font: "Sans,Edje-Vera";
15675                   size: 10;
15676                   align: 0.5 0.5;
15677                   min: 0 1;
15678                }
15679             }
15680          }
15681       }
15682       programs {
15683          program { name: "elm.drag_button,mouse,up";
15684             signal: "mouse,up,1";
15685             source: "elm.drag_button";
15686             action: SIGNAL_EMIT "elm.drag_button,mouse,up" "";
15687          }
15688          program { name: "elm.drag_button,mouse,down";
15689             signal: "mouse,down,1";
15690             source: "elm.drag_button";
15691             action: SIGNAL_EMIT "elm.drag_button,mouse,down" "";
15692          }
15693          program { name: "elm.drag_button,mouse,move";
15694             signal: "mouse,move";
15695             source: "elm.drag_button_base";
15696             action: SIGNAL_EMIT "elm.drag_button,mouse,move" "";
15697          }
15698       }
15699    }
15700
15701    group { name: "elm/actionslider/base/bar";
15702
15703       images {
15704          image: "shelf_inset.png" COMP;
15705          image: "ilist_1.png" COMP;
15706          image: "bt_bases.png" COMP;
15707          image: "bt_basew.png" COMP;
15708          image: "bt_hilightw.png" COMP;
15709       }
15710
15711       parts {
15712          part {
15713             name: "base";
15714             mouse_events: 0;
15715             description {
15716                state: "default" 0.0;
15717                min: 150 30;
15718                rel1.offset: 1 1;
15719                rel2.offset: -2 -2;
15720                image {
15721                   normal: "ilist_1.png";
15722                   border: 2 2 2 2;
15723                }
15724                fill.smooth: 0;
15725             }
15726          }
15727          part { name: "conf_over";
15728             mouse_events:  0;
15729             description { state: "default" 0.0;
15730                rel1.to: "base";
15731                rel2.to: "base";
15732                image {
15733                   normal: "shelf_inset.png";
15734                   border: 7 7 7 7;
15735                   middle: 0;
15736                }
15737                fill.smooth : 0;
15738             }
15739          }
15740          part { name: "icon.dragable.area";
15741            type: RECT;
15742             mouse_events: 0;
15743             description { state: "default" 0.0;
15744                visible: 0;
15745                rel1.to: "base";
15746                rel2.to: "base";
15747             }
15748          }
15749          part { name: "elm.text.left";
15750             type: TEXT;
15751             mouse_events: 0;
15752             scale: 1;
15753             description { state: "default" 0.0;
15754                color: 0 0 0 255;
15755                text {
15756                   font: "Sans,Edje-Vera";
15757                   size: 10;
15758                   align: 0.05 0.5;
15759                   min: 1 1;
15760                }
15761             }
15762          }
15763          part { name: "elm.text.center";
15764             type: TEXT;
15765             mouse_events: 0;
15766             scale: 1;
15767             description { state: "default" 0.0;
15768                color: 0 0 0 255;
15769                text {
15770                   font: "Sans,Edje-Vera";
15771                   size: 10;
15772                   align: 0.5 0.5;
15773                   min: 1 1;
15774                }
15775             }
15776          }
15777          part { name: "elm.text.right";
15778             type: TEXT;
15779             mouse_events: 0;
15780             scale: 1;
15781             description { state: "default" 0.0;
15782                color: 0 0 0 255;
15783                text {
15784                   font: "Sans,Edje-Vera";
15785                   size: 10;
15786                   align: 0.95 0.5;
15787                   min: 1 1;
15788                }
15789             }
15790          }
15791          part { name: "bar";
15792             type: RECT;
15793             mouse_events: 0;
15794             description { state: "default" 0.0;
15795                rel1.to: "base";
15796                rel1.offset: 0 2;
15797                rel2 {
15798                   relative: 0 1;
15799                   offset: 3 -3;
15800                   to_x: "elm.drag_button_base";
15801                   to_y: "base";
15802                }
15803                color: 0 0 0 180;
15804             }
15805          }
15806          part { name: "elm.drag_button_base";
15807             type: SWALLOW;
15808             mouse_events: 1;
15809             scale: 1;
15810             description { state: "default" 0.0;
15811                fixed: 1 1;
15812                min: 50 25;
15813                align: 0.5 0.5;
15814                rel1.to: "icon.dragable.area";
15815                rel2 {
15816                   relative: 0.0 1.0;
15817                   to: "icon.dragable.area";
15818                }
15819             }
15820             dragable {
15821                confine: "icon.dragable.area";
15822                x: 1 1 0;
15823                y: 0 0 0;
15824             }
15825          }
15826          part { name: "elm.drag_button";
15827             type: RECT;
15828             mouse_events: 1;
15829             description { state: "default" 0.0;
15830                min: 50 25;
15831                color: 255 255 255 0;
15832                rel1.to_x: "elm.drag_button_base";
15833                rel1.to_y: "icon.dragable.area";
15834                rel2.to_x: "elm.drag_button_base";
15835                rel2.to_y: "icon.dragable.area";
15836             }
15837             dragable {
15838                events: "elm.drag_button_base";
15839             }
15840          }
15841          part { name: "button0";
15842             mouse_events: 0;
15843             description { state: "default" 0.0;
15844                rel1.to: "button2";
15845                rel1.offset: -4 -4;
15846                rel2.to: "button2";
15847                rel2.offset: 3 3;
15848                image {
15849                   normal: "bt_bases.png";
15850                   border: 11 11 11 11;
15851                   middle: SOLID;
15852                }
15853                color: 255 255 255 128;
15854             }
15855          }
15856          part { name: "button2";
15857             mouse_events: 0;
15858             description { state: "default" 0.0;
15859                rel1.to: "elm.drag_button";
15860                rel2.to: "elm.drag_button";
15861                image {
15862                   normal: "bt_basew.png";
15863                   border: 7 7 7 7;
15864                   middle: SOLID;
15865                }
15866                color: 255 255 255 210;
15867             }
15868          }
15869          part { name: "button3";
15870             mouse_events: 0;
15871             description { state: "default" 0.0;
15872                rel1.to: "button2";
15873                rel2.to: "button2";
15874                rel2.relative: 1.0 0.5;
15875                image {
15876                   normal: "bt_hilightw.png";
15877                   border: 4 4 4 0;
15878                }
15879                color: 255 255 255 190;
15880             }
15881          }
15882          part { name: "elm.text.indicator";
15883             type: TEXT;
15884             scale: 1;
15885             mouse_events: 0;
15886             description { state: "default" 0.0;
15887                rel1 {
15888                   to: "elm.drag_button";
15889                   offset: 5 0;
15890                }
15891                rel2 {
15892                   to: "elm.drag_button";
15893                   offset: -5 0;
15894                }
15895                color: 0 0 0 255;
15896                text {
15897                   font: "Sans,Edje-Vera";
15898                   size: 10;
15899                   align: 0.5 0.5;
15900                   min: 0 1;
15901                }
15902             }
15903          }
15904       }
15905       programs {
15906          program { name: "elm.drag_button,mouse,up";
15907             signal: "mouse,up,1";
15908             source: "elm.drag_button";
15909             action: SIGNAL_EMIT "elm.drag_button,mouse,up" "";
15910          }
15911          program { name: "elm.drag_button,mouse,down";
15912             signal: "mouse,down,1";
15913             source: "elm.drag_button";
15914             action: SIGNAL_EMIT "elm.drag_button,mouse,down" "";
15915          }
15916          program { name: "elm.drag_button,mouse,move";
15917             signal: "mouse,move";
15918             source: "elm.drag_button_base";
15919             action: SIGNAL_EMIT "elm.drag_button,mouse,move" "";
15920          }
15921       }
15922    }
15923
15924 ///////////////////////////////////////////////////////////////////////////////
15925    group { name: "elm/genlist/item/default/default";
15926       data.item: "selectraise" "on";
15927       data.item: "labels" "elm.text";
15928       data.item: "icons" "elm.swallow.icon elm.swallow.end";
15929       data.item: "treesize" "20";
15930 //      data.item: "states" "";
15931       images {
15932          image: "bt_sm_base1.png" COMP;
15933          image: "bt_sm_shine.png" COMP;
15934          image: "bt_sm_hilight.png" COMP;
15935          image: "ilist_1.png" COMP;
15936          image: "ilist_2.png" COMP;
15937          image: "ilist_item_shadow.png" COMP;
15938       }
15939       parts {
15940          part {
15941             name:           "event";
15942             type:           RECT;
15943             repeat_events: 1;
15944             description {
15945                state: "default" 0.0;
15946                color: 0 0 0 0;
15947             }
15948          }
15949          part {
15950             name: "base_sh";
15951             mouse_events: 0;
15952             description {
15953                state: "default" 0.0;
15954                align: 0.0 0.0;
15955                min: 0 10;
15956                fixed: 1 1;
15957                rel1 {
15958                   to: "base";
15959                   relative: 0.0 1.0;
15960                   offset: 0 0;
15961                }
15962                rel2 {
15963                   to: "base";
15964                   relative: 1.0 1.0;
15965                   offset: -1 0;
15966                }
15967                image {
15968                   normal: "ilist_item_shadow.png";
15969                }
15970                fill.smooth: 0;
15971             }
15972             description {
15973                state: "default" 1.0;
15974                inherit: "default" 0.0;
15975                visible: 0;
15976             }
15977          }
15978          part {
15979             name: "base";
15980             mouse_events: 0;
15981             description {
15982                state: "default" 0.0;
15983                image {
15984                   normal: "ilist_1.png";
15985                   border: 2 2 2 2;
15986                }
15987                fill.smooth: 0;
15988             }
15989             description {
15990                state: "default" 1.0;
15991                inherit: "default" 0.0;
15992                image.normal: "ilist_2.png";
15993             }
15994          }
15995          part { name: "bg";
15996             clip_to: "disclip";
15997             mouse_events: 0;
15998             description { state: "default" 0.0;
15999                visible: 0;
16000                color: 255 255 255 0;
16001                rel1 {
16002                   relative: 0.0 0.0;
16003                   offset: -5 -5;
16004                }
16005                rel2 {
16006                   relative: 1.0 1.0;
16007                   offset: 4 4;
16008                }
16009                image {
16010                   normal: "bt_sm_base1.png";
16011                   border: 6 6 6 6;
16012                }
16013                image.middle: SOLID;
16014             }
16015             description { state: "default" 0.1;
16016                inherit: "default" 0.0;
16017             }
16018             description { state: "selected" 0.0;
16019                inherit: "default" 0.0;
16020                visible: 1;
16021                color: 255 255 255 255;
16022                rel1 {
16023                   relative: 0.0 0.0;
16024                   offset: -2 -2;
16025                }
16026                rel2 {
16027                   relative: 1.0 1.0;
16028                   offset: 1 1;
16029                }
16030             }
16031             description {
16032                state: "selected" 1.0;
16033                inherit: "selected" 0.0;
16034             }
16035          }
16036          part { name: "elm.swallow.pad";
16037             type: SWALLOW;
16038             description { state: "default" 0.0;
16039                fixed: 1 0;
16040                align: 0.0 0.5;
16041                rel1 {
16042                   relative: 0.0  0.0;
16043                   offset:   4    4;
16044                }
16045                rel2 {
16046                   relative: 0.0  1.0;
16047                   offset:   4   -5;
16048                }
16049             }
16050          }
16051          part { name: "elm.swallow.icon";
16052             clip_to: "disclip";
16053             type: SWALLOW;
16054             description { state: "default" 0.0;
16055                fixed: 1 0;
16056                align: 0.0 0.5;
16057                rel1 {
16058                   to_x: "elm.swallow.pad";
16059                   relative: 1.0  0.0;
16060                   offset:   -1    4;
16061                }
16062                rel2 {
16063                   to_x: "elm.swallow.pad";
16064                   relative: 1.0  1.0;
16065                   offset:   -1   -5;
16066                }
16067             }
16068          }
16069          part { name: "elm.swallow.end";
16070             clip_to: "disclip";
16071             type: SWALLOW;
16072             description { state: "default" 0.0;
16073                fixed: 1 0;
16074                align: 1.0 0.5;
16075                aspect: 1.0 1.0;
16076                aspect_preference: VERTICAL;
16077                rel1 {
16078                   relative: 1.0  0.0;
16079                   offset:   -5    4;
16080                }
16081                rel2 {
16082                   relative: 1.0  1.0;
16083                   offset:   -5   -5;
16084                }
16085             }
16086          }
16087          part { name: "elm.text";
16088             clip_to: "disclip";
16089             type:           TEXT;
16090             effect:         SOFT_SHADOW;
16091             mouse_events:   0;
16092             scale: 1;
16093             description {
16094                state: "default" 0.0;
16095 //               min: 16 16;
16096                rel1 {
16097                   to_x:     "elm.swallow.icon";
16098                   relative: 1.0  0.0;
16099                   offset:   0 4;
16100                }
16101                rel2 {
16102                   to_x:     "elm.swallow.end";
16103                   relative: 0.0  1.0;
16104                   offset:   -1 -5;
16105                }
16106                color: 0 0 0 255;
16107                color3: 0 0 0 0;
16108                text {
16109                   font: "Sans";
16110                   size: 10;
16111                   min: 1 1;
16112 //                  min: 0 1;
16113                   align: -1.0 0.5;
16114                   text_class: "list_item";
16115                }
16116             }
16117             description { state: "selected" 0.0;
16118                inherit: "default" 0.0;
16119                color: 224 224 224 255;
16120                color3: 0 0 0 64;
16121             }
16122          }
16123          part { name: "fg1";
16124             clip_to: "disclip";
16125             mouse_events: 0;
16126             description { state: "default" 0.0;
16127                visible: 0;
16128                color: 255 255 255 0;
16129                rel1.to: "bg";
16130                rel2.relative: 1.0 0.5;
16131                rel2.to: "bg";
16132                image {
16133                   normal: "bt_sm_hilight.png";
16134                   border: 6 6 6 0;
16135                }
16136             }
16137             description { state: "selected" 0.0;
16138                inherit: "default" 0.0;
16139                visible: 1;
16140                color: 255 255 255 255;
16141             }
16142             description {
16143                state: "selected" 1.0;
16144                inherit: "default" 0.0;
16145                visible: 1;
16146                color: 255 255 255 255;
16147             }
16148          }
16149          part { name: "fg2";
16150             clip_to: "disclip";
16151             mouse_events: 0;
16152             description { state: "default" 0.0;
16153                visible: 0;
16154                color: 255 255 255 0;
16155                rel1.to: "bg";
16156                rel2.to: "bg";
16157                image {
16158                   normal: "bt_sm_shine.png";
16159                   border: 6 6 6 0;
16160                }
16161             }
16162             description { state: "selected" 0.0;
16163                inherit: "default" 0.0;
16164                visible: 1;
16165                color: 255 255 255 255;
16166             }
16167             description {
16168                state: "selected" 1.0;
16169                inherit: "default" 0.0;
16170                visible: 1;
16171                color: 255 255 255 255;
16172             }
16173          }
16174          part { name: "disclip";
16175             type: RECT;
16176             description { state: "default" 0.0;
16177                rel1.to: "bg";
16178                rel2.to: "bg";
16179             }
16180             description { state: "disabled" 0.0;
16181                inherit: "default" 0.0;
16182                color: 255 255 255 64;
16183             }
16184          }
16185       }
16186       programs {
16187          // signal: elm,state,%s,active
16188          //   a "check" item named %s went active
16189          // signal: elm,state,%s,passive
16190          //   a "check" item named %s went passive
16191          // default is passive
16192          program {
16193             name:    "odd";
16194             signal:  "elm,state,odd";
16195             source:  "elm";
16196             action:  STATE_SET "default" 1.0;
16197             target:  "base_sh";
16198             target:  "base";
16199          }
16200          program {
16201             name:    "even";
16202             signal:  "elm,state,even";
16203             source:  "elm";
16204             action:  STATE_SET "default" 0.0;
16205             target:  "base_sh";
16206             target:  "base";
16207          }
16208          program {
16209             name:    "go_active";
16210             signal:  "elm,state,selected";
16211             source:  "elm";
16212             script {
16213                new st[31];
16214                new Float:vl;
16215                get_state(PART:"base", st, 30, vl);
16216                set_state(PART:"bg", "selected", vl);
16217                set_state(PART:"fg1", "selected", vl);
16218                set_state(PART:"fg2", "selected", vl);
16219                set_state(PART:"elm.text", "selected", vl);
16220             }
16221          }
16222          program {
16223             name:    "go_passive";
16224             signal:  "elm,state,unselected";
16225             source:  "elm";
16226             script {
16227                new st[31];
16228                new Float:vl;
16229                get_state(PART:"base", st, 30, vl);
16230                set_state(PART:"bg", "default", vl);
16231                set_state(PART:"fg1", "default", vl);
16232                set_state(PART:"fg2", "default", vl);
16233                set_state(PART:"elm.text", "default", vl);
16234             }
16235          }
16236          program {
16237             name:    "go_disabled";
16238             signal:  "elm,state,disabled";
16239             source:  "elm";
16240             action:  STATE_SET "disabled" 0.0;
16241             target:  "disclip";
16242          }
16243          program {
16244             name:    "go_enabled";
16245             signal:  "elm,state,enabled";
16246             source:  "elm";
16247             action:  STATE_SET "default" 0.0;
16248             target:  "disclip";
16249          }
16250       }
16251    }
16252    group { name: "elm/genlist/item/group_index/default";
16253       alias: "elm/genlist/item_compress/group_index/default";
16254       data.item: "selectraise" "on";
16255       data.item: "labels" "elm.text";
16256       data.item: "icons" "elm.swallow.icon elm.swallow.end";
16257       data.item: "treesize" "20";
16258 //      data.item: "states" "";
16259       images {
16260          image: "bt_sm_base1.png" COMP;
16261          image: "bt_sm_shine.png" COMP;
16262          image: "bt_sm_hilight.png" COMP;
16263          image: "ilist_item_shadow.png" COMP;
16264          image: "group_index.png" COMP;
16265       }
16266       parts {
16267          part {
16268             name: "event";
16269             type: RECT;
16270             repeat_events: 0;
16271             description {
16272                state: "default" 0.0;
16273                color: 0 0 0 0;
16274             }
16275          }
16276          part {
16277             name: "base_sh";
16278             mouse_events: 0;
16279             description {
16280                state: "default" 0.0;
16281                align: 0.0 0.0;
16282                min: 0 10;
16283                fixed: 1 1;
16284                rel1 {
16285                   to: "base";
16286                   relative: 0.0 1.0;
16287                   offset: 0 0;
16288                }
16289                rel2 {
16290                   to: "base";
16291                   relative: 1.0 1.0;
16292                   offset: -1 0;
16293                }
16294                image {
16295                   normal: "ilist_item_shadow.png";
16296                }
16297                fill.smooth: 0;
16298             }
16299          }
16300          part {
16301             name: "base";
16302             mouse_events: 0;
16303             description {
16304                state: "default" 0.0;
16305                image {
16306                   normal: "group_index.png";
16307                   border: 2 2 2 2;
16308                }
16309                fill.smooth: 0;
16310             }
16311          }
16312          part { name: "bg";
16313             clip_to: "disclip";
16314             mouse_events: 0;
16315             description { state: "default" 0.0;
16316                visible: 0;
16317                color: 255 255 255 0;
16318                rel1 {
16319                   relative: 0.0 0.0;
16320                   offset: -5 -5;
16321                }
16322                rel2 {
16323                   relative: 1.0 1.0;
16324                   offset: 4 4;
16325                }
16326                image {
16327                   normal: "bt_sm_base1.png";
16328                   border: 6 6 6 6;
16329                }
16330                image.middle: SOLID;
16331             }
16332             description { state: "selected" 0.0;
16333                inherit: "default" 0.0;
16334                visible: 1;
16335                color: 255 255 255 255;
16336                rel1 {
16337                   relative: 0.0 0.0;
16338                   offset: -2 -2;
16339                }
16340                rel2 {
16341                   relative: 1.0 1.0;
16342                   offset: 1 1;
16343                }
16344             }
16345          }
16346          part { name: "elm.swallow.pad";
16347             type: SWALLOW;
16348             description { state: "default" 0.0;
16349                fixed: 1 0;
16350                align: 0.0 0.5;
16351                rel1 {
16352                   relative: 0.0  0.0;
16353                   offset: 4 4;
16354                }
16355                rel2 {
16356                   relative: 0.0  1.0;
16357                   offset: 4 -5;
16358                }
16359             }
16360          }
16361          part { name: "elm.swallow.icon";
16362             clip_to: "disclip";
16363             type: SWALLOW;
16364             description { state: "default" 0.0;
16365                fixed: 1 0;
16366                align: 0.0 0.5;
16367                rel1 {
16368                   to_x: "elm.swallow.pad";
16369                   relative: 1.0 0.0;
16370                   offset: -1 4;
16371                }
16372                rel2 {
16373                   to_x: "elm.swallow.pad";
16374                   relative: 1.0 1.0;
16375                   offset: -1 -5;
16376                }
16377             }
16378          }
16379          part { name: "elm.swallow.end";
16380             clip_to: "disclip";
16381             type: SWALLOW;
16382             description { state: "default" 0.0;
16383                fixed: 1 0;
16384                align: 1.0 0.5;
16385                aspect: 1.0 1.0;
16386                aspect_preference: VERTICAL;
16387                rel1 {
16388                   relative: 1.0 0.0;
16389                   offset: -5 4;
16390                }
16391                rel2 {
16392                   relative: 1.0 1.0;
16393                   offset: -5 -5;
16394                }
16395             }
16396          }
16397          part { name: "elm.text";
16398             clip_to: "disclip";
16399             type: TEXT;
16400             effect: SOFT_SHADOW;
16401             mouse_events: 0;
16402             scale: 1;
16403             description {
16404                state: "default" 0.0;
16405 //               min: 16 16;
16406                rel1 {
16407                   to_x: "elm.swallow.icon";
16408                   relative: 1.0  0.0;
16409                   offset: 0 4;
16410                }
16411                rel2 {
16412                   to_x: "elm.swallow.end";
16413                   relative: 0.0  1.0;
16414                   offset: -1 -5;
16415                }
16416                color: 0 0 0 255;
16417                color3: 0 0 0 0;
16418                text {
16419                   font: "Sans";
16420                   size: 10;
16421                   min: 1 1;
16422 //                  min: 0 1;
16423                   align: -1.0 0.5;
16424                   text_class: "list_item";
16425                }
16426             }
16427             description { state: "selected" 0.0;
16428                inherit: "default" 0.0;
16429                color: 224 224 224 255;
16430                color3: 0 0 0 64;
16431             }
16432          }
16433          part { name: "fg1";
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.relative: 1.0 0.5;
16441                rel2.to: "bg";
16442                image {
16443                   normal: "bt_sm_hilight.png";
16444                   border: 6 6 6 0;
16445                }
16446             }
16447             description { state: "selected" 0.0;
16448                inherit: "default" 0.0;
16449                visible: 1;
16450                color: 255 255 255 255;
16451             }
16452          }
16453          part { name: "fg2";
16454             clip_to: "disclip";
16455             mouse_events: 0;
16456             description { state: "default" 0.0;
16457                visible: 0;
16458                color: 255 255 255 0;
16459                rel1.to: "bg";
16460                rel2.to: "bg";
16461                image {
16462                   normal: "bt_sm_shine.png";
16463                   border: 6 6 6 0;
16464                }
16465             }
16466             description { state: "selected" 0.0;
16467                inherit: "default" 0.0;
16468                visible: 1;
16469                color: 255 255 255 255;
16470             }
16471          }
16472          part { name: "disclip";
16473             type: RECT;
16474             description { state: "default" 0.0;
16475                rel1.to: "bg";
16476                rel2.to: "bg";
16477             }
16478             description { state: "disabled" 0.0;
16479                inherit: "default" 0.0;
16480                color: 255 255 255 64;
16481             }
16482          }
16483       }
16484       programs {
16485          // signal: elm,state,%s,active
16486          //   a "check" item named %s went active
16487          // signal: elm,state,%s,passive
16488          //   a "check" item named %s went passive
16489          // default is passive
16490          program {
16491             name:    "go_active";
16492             signal:  "elm,state,selected";
16493             source:  "elm";
16494             action:  STATE_SET "selected" 0.0;
16495             target:  "bg";
16496             target:  "fg1";
16497             target:  "fg2";
16498             target:  "elm.text";
16499          }
16500          program {
16501             name:    "go_passive";
16502             signal:  "elm,state,unselected";
16503             source:  "elm";
16504             action:  STATE_SET "default" 0.0;
16505             target:  "bg";
16506             target:  "fg1";
16507             target:  "fg2";
16508             target:  "elm.text";
16509             transition: LINEAR 0.1;
16510          }
16511          program {
16512             name:    "go_disabled";
16513             signal:  "elm,state,disabled";
16514             source:  "elm";
16515             action:  STATE_SET "disabled" 0.0;
16516             target:  "disclip";
16517          }
16518          program {
16519             name:    "go_enabled";
16520             signal:  "elm,state,enabled";
16521             source:  "elm";
16522             action:  STATE_SET "default" 0.0;
16523             target:  "disclip";
16524          }
16525       }
16526    }
16527    group { name: "elm/genlist/item_compress/message/default";
16528       data.item: "selectraise" "on";
16529       data.item: "labels" "elm.title.1 elm.title.2 elm.text";
16530 //      data.item: "icons" "elm.swallow.icon elm.swallow.end";
16531       data.item: "treesize" "20";
16532 //      data.item: "states" "";
16533       images {
16534          image: "bt_sm_base1.png" COMP;
16535          image: "bt_sm_shine.png" COMP;
16536          image: "bt_sm_hilight.png" COMP;
16537          image: "ilist_1.png" COMP;
16538          image: "ilist_2.png" COMP;
16539          image: "ilist_item_shadow.png" COMP;
16540       }
16541       styles {
16542         style { name: "genlist_textblock_style";
16543           base: "font=Sans font_size=10 color=#000 wrap=char text_class=list_item";
16544           tag:  "br" "\n";
16545           tag:  "ps" "ps";
16546           tag:  "tab" "\t";
16547         }
16548         style { name: "genlist_textblock_style2";
16549           base: "font=Sans font_size=10 color=#fff wrap=char text_class=list_item";
16550           tag:  "br" "\n";
16551           tag:  "ps" "ps";
16552           tag:  "tab" "\t";
16553         }
16554       }
16555      parts {
16556          part {
16557             name:           "event";
16558             type:           RECT;
16559             repeat_events: 1;
16560             description {
16561                state: "default" 0.0;
16562                color: 0 0 0 0;
16563             }
16564          }
16565          part {
16566             name: "base_sh";
16567             mouse_events: 0;
16568             description {
16569                state: "default" 0.0;
16570                align: 0.0 0.0;
16571                min: 0 10;
16572                fixed: 1 1;
16573                rel1 {
16574                   to: "base";
16575                   relative: 0.0 1.0;
16576                   offset: 0 0;
16577                }
16578                rel2 {
16579                   to: "base";
16580                   relative: 1.0 1.0;
16581                   offset: -1 0;
16582                }
16583                image {
16584                   normal: "ilist_item_shadow.png";
16585                }
16586                fill.smooth: 0;
16587             }
16588             description {
16589                state: "default" 1.0;
16590                inherit: "default" 0.0;
16591                visible: 0;
16592             }
16593          }
16594          part {
16595             name: "base";
16596             mouse_events: 0;
16597             description {
16598                state: "default" 0.0;
16599                image {
16600                   normal: "ilist_1.png";
16601                   border: 2 2 2 2;
16602                }
16603                fill.smooth: 0;
16604             }
16605             description {
16606                state: "default" 1.0;
16607                inherit: "default" 0.0;
16608                image.normal: "ilist_2.png";
16609             }
16610          }
16611          part { name: "bg";
16612             clip_to: "disclip";
16613             mouse_events: 0;
16614             description { state: "default" 0.0;
16615                visible: 0;
16616                color: 255 255 255 0;
16617                rel1 {
16618                   relative: 0.0 0.0;
16619                   offset: -5 -5;
16620                }
16621                rel2 {
16622                   relative: 1.0 1.0;
16623                   offset: 4 4;
16624                }
16625                image {
16626                   normal: "bt_sm_base1.png";
16627                   border: 6 6 6 6;
16628                }
16629                image.middle: SOLID;
16630             }
16631             description { state: "selected" 0.0;
16632                inherit: "default" 0.0;
16633                visible: 1;
16634                color: 255 255 255 255;
16635                rel1 {
16636                   relative: 0.0 0.0;
16637                   offset: -2 -2;
16638                }
16639                rel2 {
16640                   relative: 1.0 1.0;
16641                   offset: 1 1;
16642                }
16643             }
16644          }
16645          part { name: "elm.title.1";
16646             clip_to: "disclip";
16647             type:           TEXT;
16648             effect:         SOFT_SHADOW;
16649             mouse_events:   0;
16650             scale: 1;
16651             description {
16652                state: "default" 0.0;
16653                fixed: 0 1;
16654 //               min: 16 16;
16655                rel1 {
16656                   relative: 0.0  0.0;
16657                   offset:   4 4;
16658                }
16659                rel2 {
16660                   relative: 1.0  0.0;
16661                   offset:   -5 4;
16662                }
16663                color: 0 0 0 255;
16664                color3: 0 0 0 0;
16665                align: 0.0 0.0;
16666                text {
16667                   font: "Sans";
16668                   size: 10;
16669                   min: 0 1;
16670 //                  min: 1 1;
16671                   align: 0.0 0.0;
16672                   text_class: "list_item";
16673                }
16674             }
16675             description { state: "selected" 0.0;
16676                inherit: "default" 0.0;
16677                color: 224 224 224 255;
16678                color3: 0 0 0 64;
16679             }
16680          }
16681          part { name: "elm.title.2";
16682             clip_to: "disclip";
16683             type:           TEXT;
16684             effect:         SOFT_SHADOW;
16685             mouse_events:   0;
16686             scale: 1;
16687             description {
16688                state: "default" 0.0;
16689                fixed: 0 1;
16690 //               min: 16 16;
16691                rel1 {
16692                   to_y:     "elm.title.1";
16693                   relative: 0.0  1.0;
16694                   offset:   4 0;
16695                }
16696                rel2 {
16697                   to_y:     "elm.title.1";
16698                   relative: 1.0  1.0;
16699                   offset:   -5 0;
16700                }
16701                color: 0 0 0 255;
16702                color3: 0 0 0 0;
16703                align: 0.0 0.0;
16704                text {
16705                   font: "Sans";
16706                   size: 10;
16707                   min: 0 1;
16708 //                  min: 1 1;
16709                   align: 0.0 0.0;
16710                   text_class: "list_item";
16711                }
16712             }
16713             description { state: "selected" 0.0;
16714                inherit: "default" 0.0;
16715                color: 224 224 224 255;
16716                color3: 0 0 0 64;
16717             }
16718          }
16719          part { name: "elm.text";
16720             clip_to: "disclip";
16721             type:           TEXTBLOCK;
16722             mouse_events:   0;
16723             scale: 1;
16724             description {
16725                state: "default" 0.0;
16726 //               fixed: 0 1;
16727 //               min: 16 16;
16728                rel1 {
16729                   to_y:     "elm.title.2";
16730                   relative: 0.0  1.0;
16731                   offset:   4 0;
16732                }
16733                rel2 {
16734                   relative: 1.0  1.0;
16735                   offset:   -5 -5;
16736                }
16737                align: 0.0 0.0;
16738                text {
16739                   style: "genlist_textblock_style";
16740                   min: 0 1;
16741 //                  min: 1 1;
16742                   align: 0.0 0.0;
16743                }
16744             }
16745             description { state: "selected" 0.0;
16746                inherit: "default" 0.0;
16747                text {
16748                   style: "genlist_textblock_style2";
16749                }
16750             }
16751          }
16752          part { name: "fg1";
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.relative: 1.0 0.5;
16760                rel2.to: "bg";
16761                image {
16762                   normal: "bt_sm_hilight.png";
16763                   border: 6 6 6 0;
16764                }
16765             }
16766             description { state: "selected" 0.0;
16767                inherit: "default" 0.0;
16768                visible: 1;
16769                color: 255 255 255 255;
16770             }
16771          }
16772          part { name: "fg2";
16773             clip_to: "disclip";
16774             mouse_events: 0;
16775             description { state: "default" 0.0;
16776                visible: 0;
16777                color: 255 255 255 0;
16778                rel1.to: "bg";
16779                rel2.to: "bg";
16780                image {
16781                   normal: "bt_sm_shine.png";
16782                   border: 6 6 6 0;
16783                }
16784             }
16785             description { state: "selected" 0.0;
16786                inherit: "default" 0.0;
16787                visible: 1;
16788                color: 255 255 255 255;
16789             }
16790          }
16791          part { name: "disclip";
16792             type: RECT;
16793             description { state: "default" 0.0;
16794                rel1.to: "bg";
16795                rel2.to: "bg";
16796             }
16797             description { state: "disabled" 0.0;
16798                inherit: "default" 0.0;
16799                color: 255 255 255 64;
16800             }
16801          }
16802       }
16803       programs {
16804          // signal: elm,state,%s,active
16805          //   a "check" item named %s went active
16806          // signal: elm,state,%s,passive
16807          //   a "check" item named %s went passive
16808          // default is passive
16809          program {
16810             name:    "odd";
16811             signal:  "elm,state,odd";
16812             source:  "elm";
16813             action:  STATE_SET "default" 1.0;
16814             target:  "base_sh";
16815             target:  "base";
16816          }
16817          program {
16818             name:    "even";
16819             signal:  "elm,state,even";
16820             source:  "elm";
16821             action:  STATE_SET "default" 0.0;
16822             target:  "base_sh";
16823             target:  "base";
16824          }
16825          program {
16826             name:    "go_active";
16827             signal:  "elm,state,selected";
16828             source:  "elm";
16829             action:  STATE_SET "selected" 0.0;
16830             target:  "bg";
16831             target:  "fg1";
16832             target:  "fg2";
16833             target:  "elm.title.1";
16834             target:  "elm.title.2";
16835             target:  "elm.text";
16836          }
16837          program {
16838             name:    "go_passive";
16839             signal:  "elm,state,unselected";
16840             source:  "elm";
16841             action:  STATE_SET "default" 0.0;
16842             target:  "bg";
16843             target:  "fg1";
16844             target:  "fg2";
16845             target:  "elm.title.1";
16846             target:  "elm.title.2";
16847             target:  "elm.text";
16848             transition: LINEAR 0.1;
16849          }
16850          program {
16851             name:    "go_disabled";
16852             signal:  "elm,state,disabled";
16853             source:  "elm";
16854             action:  STATE_SET "disabled" 0.0;
16855             target:  "disclip";
16856          }
16857          program {
16858             name:    "go_enabled";
16859             signal:  "elm,state,enabled";
16860             source:  "elm";
16861             action:  STATE_SET "default" 0.0;
16862             target:  "disclip";
16863          }
16864       }
16865    }
16866
16867    group { name: "elm/genlist/item_compress/default/default";
16868       data.item: "selectraise" "on";
16869       data.item: "labels" "elm.text";
16870       data.item: "icons" "elm.swallow.icon elm.swallow.end";
16871       data.item: "treesize" "20";
16872 //      data.item: "states" "";
16873       images {
16874          image: "bt_sm_base1.png" COMP;
16875          image: "bt_sm_shine.png" COMP;
16876          image: "bt_sm_hilight.png" COMP;
16877          image: "ilist_1.png" COMP;
16878          image: "ilist_2.png" COMP;
16879          image: "ilist_item_shadow.png" COMP;
16880       }
16881       parts {
16882          part {
16883             name:           "event";
16884             type:           RECT;
16885             repeat_events: 1;
16886             description {
16887                state: "default" 0.0;
16888                color: 0 0 0 0;
16889             }
16890          }
16891          part {
16892             name: "base_sh";
16893             mouse_events: 0;
16894             description {
16895                state: "default" 0.0;
16896                align: 0.0 0.0;
16897                min: 0 10;
16898                fixed: 1 1;
16899                rel1 {
16900                   to: "base";
16901                   relative: 0.0 1.0;
16902                   offset: 0 0;
16903                }
16904                rel2 {
16905                   to: "base";
16906                   relative: 1.0 1.0;
16907                   offset: -1 0;
16908                }
16909                image {
16910                   normal: "ilist_item_shadow.png";
16911                }
16912                fill.smooth: 0;
16913             }
16914             description {
16915                state: "default" 1.0;
16916                inherit: "default" 0.0;
16917                visible: 0;
16918             }
16919          }
16920          part {
16921             name: "base";
16922             mouse_events: 0;
16923             description {
16924                state: "default" 0.0;
16925                image {
16926                   normal: "ilist_1.png";
16927                   border: 2 2 2 2;
16928                }
16929                fill.smooth: 0;
16930             }
16931             description {
16932                state: "default" 1.0;
16933                inherit: "default" 0.0;
16934                image.normal: "ilist_2.png";
16935             }
16936          }
16937          part { name: "bg";
16938             clip_to: "disclip";
16939             mouse_events: 0;
16940             description { state: "default" 0.0;
16941                visible: 0;
16942                color: 255 255 255 0;
16943                rel1 {
16944                   relative: 0.0 0.0;
16945                   offset: -5 -5;
16946                }
16947                rel2 {
16948                   relative: 1.0 1.0;
16949                   offset: 4 4;
16950                }
16951                image {
16952                   normal: "bt_sm_base1.png";
16953                   border: 6 6 6 6;
16954                }
16955                image.middle: SOLID;
16956             }
16957             description { state: "selected" 0.0;
16958                inherit: "default" 0.0;
16959                visible: 1;
16960                color: 255 255 255 255;
16961                rel1 {
16962                   relative: 0.0 0.0;
16963                   offset: -2 -2;
16964                }
16965                rel2 {
16966                   relative: 1.0 1.0;
16967                   offset: 1 1;
16968                }
16969             }
16970          }
16971          part { name: "elm.swallow.pad";
16972             type: SWALLOW;
16973             description { state: "default" 0.0;
16974                fixed: 1 0;
16975                align: 0.0 0.5;
16976                rel1 {
16977                   relative: 0.0  0.0;
16978                   offset:   4    4;
16979                }
16980                rel2 {
16981                   relative: 0.0  1.0;
16982                   offset:   4   -5;
16983                }
16984             }
16985          }
16986          part { name: "elm.swallow.icon";
16987             clip_to: "disclip";
16988             type: SWALLOW;
16989             description { state: "default" 0.0;
16990                fixed: 1 0;
16991                align: 0.0 0.5;
16992                rel1 {
16993                   to_x: "elm.swallow.pad";
16994                   relative: 1.0  0.0;
16995                   offset:   -1    4;
16996                }
16997                rel2 {
16998                   to_x: "elm.swallow.pad";
16999                   relative: 1.0  1.0;
17000                   offset:   -1   -5;
17001                }
17002             }
17003          }
17004          part { name: "elm.swallow.end";
17005             clip_to: "disclip";
17006             type: SWALLOW;
17007             description { state: "default" 0.0;
17008                fixed: 1 0;
17009                align: 1.0 0.5;
17010                aspect: 1.0 1.0;
17011                aspect_preference: VERTICAL;
17012                rel1 {
17013                   relative: 1.0  0.0;
17014                   offset:   -5    4;
17015                }
17016                rel2 {
17017                   relative: 1.0  1.0;
17018                   offset:   -5   -5;
17019                }
17020             }
17021          }
17022          part { name: "elm.text";
17023             clip_to: "disclip";
17024             type:           TEXT;
17025             effect:         SOFT_SHADOW;
17026             mouse_events:   0;
17027             scale: 1;
17028             description {
17029                state: "default" 0.0;
17030 //               min: 16 16;
17031                rel1 {
17032                   to_x:     "elm.swallow.icon";
17033                   relative: 1.0  0.0;
17034                   offset:   0 4;
17035                }
17036                rel2 {
17037                   to_x:     "elm.swallow.end";
17038                   relative: 0.0  1.0;
17039                   offset:   -1 -5;
17040                }
17041                color: 0 0 0 255;
17042                color3: 0 0 0 0;
17043                text {
17044                   font: "Sans";
17045                   size: 10;
17046                   min: 0 1;
17047 //                  min: 1 1;
17048                   align: 0.0 0.5;
17049                   text_class: "list_item";
17050                }
17051             }
17052             description { state: "selected" 0.0;
17053                inherit: "default" 0.0;
17054                color: 224 224 224 255;
17055                color3: 0 0 0 64;
17056             }
17057          }
17058          part { name: "fg1";
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.relative: 1.0 0.5;
17066                rel2.to: "bg";
17067                image {
17068                   normal: "bt_sm_hilight.png";
17069                   border: 6 6 6 0;
17070                }
17071             }
17072             description { state: "selected" 0.0;
17073                inherit: "default" 0.0;
17074                visible: 1;
17075                color: 255 255 255 255;
17076             }
17077          }
17078          part { name: "fg2";
17079             clip_to: "disclip";
17080             mouse_events: 0;
17081             description { state: "default" 0.0;
17082                visible: 0;
17083                color: 255 255 255 0;
17084                rel1.to: "bg";
17085                rel2.to: "bg";
17086                image {
17087                   normal: "bt_sm_shine.png";
17088                   border: 6 6 6 0;
17089                }
17090             }
17091             description { state: "selected" 0.0;
17092                inherit: "default" 0.0;
17093                visible: 1;
17094                color: 255 255 255 255;
17095             }
17096          }
17097          part { name: "disclip";
17098             type: RECT;
17099             description { state: "default" 0.0;
17100                rel1.to: "bg";
17101                rel2.to: "bg";
17102             }
17103             description { state: "disabled" 0.0;
17104                inherit: "default" 0.0;
17105                color: 255 255 255 64;
17106             }
17107          }
17108       }
17109       programs {
17110          // signal: elm,state,%s,active
17111          //   a "check" item named %s went active
17112          // signal: elm,state,%s,passive
17113          //   a "check" item named %s went passive
17114          // default is passive
17115          program {
17116             name:    "odd";
17117             signal:  "elm,state,odd";
17118             source:  "elm";
17119             action:  STATE_SET "default" 1.0;
17120             target:  "base_sh";
17121             target:  "base";
17122          }
17123          program {
17124             name:    "even";
17125             signal:  "elm,state,even";
17126             source:  "elm";
17127             action:  STATE_SET "default" 0.0;
17128             target:  "base_sh";
17129             target:  "base";
17130          }
17131          program {
17132             name:    "go_active";
17133             signal:  "elm,state,selected";
17134             source:  "elm";
17135             action:  STATE_SET "selected" 0.0;
17136             target:  "bg";
17137             target:  "fg1";
17138             target:  "fg2";
17139             target:  "elm.text";
17140          }
17141          program {
17142             name:    "go_passive";
17143             signal:  "elm,state,unselected";
17144             source:  "elm";
17145             action:  STATE_SET "default" 0.0;
17146             target:  "bg";
17147             target:  "fg1";
17148             target:  "fg2";
17149             target:  "elm.text";
17150             transition: LINEAR 0.1;
17151          }
17152          program {
17153             name:    "go_disabled";
17154             signal:  "elm,state,disabled";
17155             source:  "elm";
17156             action:  STATE_SET "disabled" 0.0;
17157             target:  "disclip";
17158          }
17159          program {
17160             name:    "go_enabled";
17161             signal:  "elm,state,enabled";
17162             source:  "elm";
17163             action:  STATE_SET "default" 0.0;
17164             target:  "disclip";
17165          }
17166       }
17167    }
17168
17169    group { name: "elm/genlist/tree/default/default";
17170       data.item: "selectraise" "on";
17171       data.item: "labels" "elm.text";
17172       data.item: "icons" "elm.swallow.icon elm.swallow.end";
17173       data.item: "treesize" "20";
17174 //      data.item: "states" "";
17175       images {
17176          image: "bt_sm_base1.png" COMP;
17177          image: "bt_sm_shine.png" COMP;
17178          image: "bt_sm_hilight.png" COMP;
17179          image: "ilist_1.png" COMP;
17180          image: "ilist_2.png" COMP;
17181          image: "ilist_item_shadow.png" COMP;
17182          image: "icon_arrow_left.png" COMP;
17183          image: "icon_arrow_right.png" COMP;
17184          image: "icon_arrow_down.png" COMP;
17185       }
17186       parts {
17187          part {
17188             name:           "event";
17189             type:           RECT;
17190             repeat_events: 1;
17191             description {
17192                state: "default" 0.0;
17193                color: 0 0 0 0;
17194             }
17195          }
17196          part {
17197             name: "base_sh";
17198             mouse_events: 0;
17199             description {
17200                state: "default" 0.0;
17201                align: 0.0 0.0;
17202                min: 0 10;
17203                fixed: 1 1;
17204                rel1 {
17205                   to: "base";
17206                   relative: 0.0 1.0;
17207                   offset: 0 0;
17208                }
17209                rel2 {
17210                   to: "base";
17211                   relative: 1.0 1.0;
17212                   offset: -1 0;
17213                }
17214                image {
17215                   normal: "ilist_item_shadow.png";
17216                }
17217                fill.smooth: 0;
17218             }
17219             description {
17220                state: "default" 1.0;
17221                inherit: "default" 0.0;
17222                visible: 0;
17223             }
17224          }
17225          part {
17226             name: "base";
17227             mouse_events: 0;
17228             description {
17229                state: "default" 0.0;
17230                image {
17231                   normal: "ilist_1.png";
17232                   border: 2 2 2 2;
17233                }
17234                fill.smooth: 0;
17235             }
17236             description {
17237                state: "default" 1.0;
17238                inherit: "default" 0.0;
17239                image.normal: "ilist_2.png";
17240             }
17241          }
17242          part { name: "bg";
17243             clip_to: "disclip";
17244             mouse_events: 0;
17245             description { state: "default" 0.0;
17246                visible: 0;
17247                color: 255 255 255 0;
17248                rel1 {
17249                   relative: 0.0 0.0;
17250                   offset: -5 -5;
17251                }
17252                rel2 {
17253                   relative: 1.0 1.0;
17254                   offset: 4 4;
17255                }
17256                image {
17257                   normal: "bt_sm_base1.png";
17258                   border: 6 6 6 6;
17259                }
17260                image.middle: SOLID;
17261             }
17262             description { state: "selected" 0.0;
17263                inherit: "default" 0.0;
17264                visible: 1;
17265                color: 255 255 255 255;
17266                rel1 {
17267                   relative: 0.0 0.0;
17268                   offset: -2 -2;
17269                }
17270                rel2 {
17271                   relative: 1.0 1.0;
17272                   offset: 1 1;
17273                }
17274             }
17275          }
17276          part { name: "elm.swallow.pad";
17277             type: SWALLOW;
17278             description { state: "default" 0.0;
17279                fixed: 1 0;
17280                align: 0.0 0.5;
17281                rel1 {
17282                   relative: 0.0  0.0;
17283                   offset:   4    4;
17284                }
17285                rel2 {
17286                   relative: 0.0  1.0;
17287                   offset:   4   -5;
17288                }
17289             }
17290          }
17291          part { name: "arrow";
17292             clip_to: "disclip";
17293             ignore_flags: ON_HOLD;
17294             description { state: "default" 0.0;
17295                fixed: 1 0;
17296                align: 0.0 0.5;
17297                aspect: 1.0 1.0;
17298                rel1 {
17299                   to_x: "elm.swallow.pad";
17300                   relative: 1.0  0.0;
17301                   offset:   -1    4;
17302                }
17303                rel2 {
17304                   to_x: "elm.swallow.pad";
17305                   relative: 1.0  1.0;
17306                   offset:   -1   -5;
17307                }
17308                image.normal: "icon_arrow_right.png";
17309             }
17310             description { state: "default" 0.1;
17311                inherit: "default" 0.0;
17312                image.normal: "icon_arrow_left.png";
17313             }
17314             description { state: "active" 0.0;
17315                inherit: "default" 0.0;
17316                image.normal: "icon_arrow_down.png";
17317             }
17318             description { state: "active" 0.1;
17319                inherit: "default" 0.0;
17320                image.normal: "icon_arrow_down.png";
17321             }
17322          }
17323          part { name: "elm.swallow.icon";
17324             clip_to: "disclip";
17325             type: SWALLOW;
17326             description { state: "default" 0.0;
17327                fixed: 1 0;
17328                align: 0.0 0.5;
17329                rel1 {
17330                   to_x: "arrow";
17331                   relative: 1.0  0.0;
17332                   offset:   4    4;
17333                }
17334                rel2 {
17335                   to_x: "arrow";
17336                   relative: 1.0  1.0;
17337                   offset:   4   -5;
17338                }
17339             }
17340          }
17341          part { name: "elm.swallow.end";
17342             clip_to: "disclip";
17343             type: SWALLOW;
17344             description { state: "default" 0.0;
17345                fixed: 1 0;
17346                align: 1.0 0.5;
17347                aspect: 1.0 1.0;
17348                aspect_preference: VERTICAL;
17349                rel1 {
17350                   relative: 1.0  0.0;
17351                   offset:   -5    4;
17352                }
17353                rel2 {
17354                   relative: 1.0  1.0;
17355                   offset:   -5   -5;
17356                }
17357             }
17358          }
17359          part { name: "elm.text";
17360             clip_to: "disclip";
17361             type:           TEXT;
17362             effect:         SOFT_SHADOW;
17363             mouse_events:   0;
17364             scale: 1;
17365             description {
17366                state: "default" 0.0;
17367 //               min: 16 16;
17368                rel1 {
17369                   to_x:     "elm.swallow.icon";
17370                   relative: 1.0  0.0;
17371                   offset:   0 4;
17372                }
17373                rel2 {
17374                   to_x:     "elm.swallow.end";
17375                   relative: 0.0  1.0;
17376                   offset:   -1 -5;
17377                }
17378                color: 0 0 0 255;
17379                color3: 0 0 0 0;
17380                text {
17381                   font: "Sans";
17382                   size: 10;
17383                   min: 1 1;
17384 //                  min: 0 1;
17385                   align: -1.0 0.5;
17386                   text_class: "list_item";
17387                }
17388             }
17389             description { state: "selected" 0.0;
17390                inherit: "default" 0.0;
17391                color: 224 224 224 255;
17392                color3: 0 0 0 64;
17393             }
17394          }
17395          part { name: "fg1";
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.relative: 1.0 0.5;
17403                rel2.to: "bg";
17404                image {
17405                   normal: "bt_sm_hilight.png";
17406                   border: 6 6 6 0;
17407                }
17408             }
17409             description { state: "selected" 0.0;
17410                inherit: "default" 0.0;
17411                visible: 1;
17412                color: 255 255 255 255;
17413             }
17414          }
17415          part { name: "fg2";
17416             clip_to: "disclip";
17417             mouse_events: 0;
17418             description { state: "default" 0.0;
17419                visible: 0;
17420                color: 255 255 255 0;
17421                rel1.to: "bg";
17422                rel2.to: "bg";
17423                image {
17424                   normal: "bt_sm_shine.png";
17425                   border: 6 6 6 0;
17426                }
17427             }
17428             description { state: "selected" 0.0;
17429                inherit: "default" 0.0;
17430                visible: 1;
17431                color: 255 255 255 255;
17432             }
17433          }
17434          part { name: "disclip";
17435             type: RECT;
17436             description { state: "default" 0.0;
17437                rel1.to: "bg";
17438                rel2.to: "bg";
17439             }
17440             description { state: "disabled" 0.0;
17441                inherit: "default" 0.0;
17442                color: 255 255 255 64;
17443             }
17444          }
17445       }
17446       programs {
17447          // signal: elm,state,%s,active
17448          //   a "check" item named %s went active
17449          // signal: elm,state,%s,passive
17450          //   a "check" item named %s went passive
17451          // default is passive
17452          program {
17453             name:    "odd";
17454             signal:  "elm,state,odd";
17455             source:  "elm";
17456             action:  STATE_SET "default" 1.0;
17457             target:  "base_sh";
17458             target:  "base";
17459          }
17460          program {
17461             name:    "even";
17462             signal:  "elm,state,even";
17463             source:  "elm";
17464             action:  STATE_SET "default" 0.0;
17465             target:  "base_sh";
17466             target:  "base";
17467          }
17468          program {
17469             name:    "go_active";
17470             signal:  "elm,state,selected";
17471             source:  "elm";
17472             action:  STATE_SET "selected" 0.0;
17473             target:  "bg";
17474             target:  "fg1";
17475             target:  "fg2";
17476             target:  "elm.text";
17477          }
17478          program {
17479             name:    "go_passive";
17480             signal:  "elm,state,unselected";
17481             source:  "elm";
17482             action:  STATE_SET "default" 0.0;
17483             target:  "bg";
17484             target:  "fg1";
17485             target:  "fg2";
17486             target:  "elm.text";
17487             transition: LINEAR 0.1;
17488          }
17489          program {
17490             name:    "go_disabled";
17491             signal:  "elm,state,disabled";
17492             source:  "elm";
17493             action:  STATE_SET "disabled" 0.0;
17494             target:  "disclip";
17495          }
17496          program {
17497             name:    "go_enabled";
17498             signal:  "elm,state,enabled";
17499             source:  "elm";
17500             action:  STATE_SET "default" 0.0;
17501             target:  "disclip";
17502          }
17503          program {
17504             name:    "expand";
17505             signal:  "mouse,up,1";
17506             source:  "arrow";
17507             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
17508          }
17509          program {
17510             name:    "go_expanded";
17511             signal:  "elm,state,expanded";
17512             source:  "elm";
17513             script {
17514                new st[31];
17515                new Float:vl;
17516                get_state(PART:"arrow", st, 30, vl);
17517                set_state(PART:"arrow", "active", vl);
17518             }
17519          }
17520          program {
17521             name:    "go_contracted";
17522             signal:  "elm,state,contracted";
17523             source:  "elm";
17524             script {
17525                new st[31];
17526                new Float:vl;
17527                get_state(PART:"arrow", st, 30, vl);
17528                set_state(PART:"arrow", "default", vl);
17529             }
17530          }
17531          program { name: "to_rtl";
17532             signal: "edje,state,rtl";
17533             source: "edje";
17534             script {
17535                new st[31];
17536                new Float:vl;
17537                get_state(PART:"arrow", st, 30, vl);
17538                if (vl == 0.0) {
17539                   set_state(PART:"arrow", st, 0.1);
17540                }
17541             }
17542          }
17543          program { name: "to_ltr";
17544             signal: "edje,state,ltr";
17545             source: "edje";
17546             script {
17547                new st[31];
17548                new Float:vl;
17549                get_state(PART:"arrow", st, 30, vl);
17550                if (vl == 0.1) {
17551                   set_state(PART:"arrow", st, 0.0);
17552                }
17553             }
17554          }
17555       }
17556    }
17557    group { name: "elm/genlist/tree_compress/default/default";
17558       data.item: "stacking" "above";
17559       data.item: "selectraise" "on";
17560       data.item: "labels" "elm.text";
17561       data.item: "icons" "elm.swallow.icon elm.swallow.end";
17562       data.item: "treesize" "20";
17563 //      data.item: "states" "";
17564       images {
17565          image: "bt_sm_base1.png" COMP;
17566          image: "bt_sm_shine.png" COMP;
17567          image: "bt_sm_hilight.png" COMP;
17568          image: "ilist_1.png" COMP;
17569          image: "ilist_item_shadow.png" COMP;
17570          image: "icon_arrow_left.png" COMP;
17571          image: "icon_arrow_right.png" COMP;
17572          image: "icon_arrow_down.png" COMP;
17573       }
17574       parts {
17575          part {
17576             name:           "event";
17577             type:           RECT;
17578             repeat_events: 1;
17579             description {
17580                state: "default" 0.0;
17581                color: 0 0 0 0;
17582             }
17583          }
17584          part {
17585             name: "base_sh";
17586             mouse_events: 0;
17587             description {
17588                state: "default" 0.0;
17589                align: 0.0 0.0;
17590                min: 0 10;
17591                fixed: 1 1;
17592                rel1 {
17593                   to: "base";
17594                   relative: 0.0 1.0;
17595                   offset: 0 0;
17596                }
17597                rel2 {
17598                   to: "base";
17599                   relative: 1.0 1.0;
17600                   offset: -1 0;
17601                }
17602                image {
17603                   normal: "ilist_item_shadow.png";
17604                }
17605                fill.smooth: 0;
17606             }
17607             description {
17608                state: "default" 1.0;
17609                inherit: "default" 0.0;
17610                visible: 0;
17611             }
17612          }
17613          part {
17614             name: "base";
17615             mouse_events: 0;
17616             description {
17617                state: "default" 0.0;
17618                image {
17619                   normal: "ilist_1.png";
17620                   border: 2 2 2 2;
17621                }
17622                fill.smooth: 0;
17623             }
17624             description {
17625                state: "default" 1.0;
17626                inherit: "default" 0.0;
17627                image.normal: "ilist_2.png";
17628             }
17629          }
17630          part { name: "bg";
17631             clip_to: "disclip";
17632             mouse_events: 0;
17633             description { state: "default" 0.0;
17634                visible: 0;
17635                color: 255 255 255 0;
17636                rel1 {
17637                   relative: 0.0 0.0;
17638                   offset: -5 -5;
17639                }
17640                rel2 {
17641                   relative: 1.0 1.0;
17642                   offset: 4 4;
17643                }
17644                image {
17645                   normal: "bt_sm_base1.png";
17646                   border: 6 6 6 6;
17647                }
17648                image.middle: SOLID;
17649             }
17650             description { state: "selected" 0.0;
17651                inherit: "default" 0.0;
17652                visible: 1;
17653                color: 255 255 255 255;
17654                rel1 {
17655                   relative: 0.0 0.0;
17656                   offset: -2 -2;
17657                }
17658                rel2 {
17659                   relative: 1.0 1.0;
17660                   offset: 1 1;
17661                }
17662             }
17663          }
17664          part { name: "elm.swallow.pad";
17665             type: SWALLOW;
17666             description { state: "default" 0.0;
17667                fixed: 1 0;
17668                align: 0.0 0.5;
17669                rel1 {
17670                   relative: 0.0  0.0;
17671                   offset:   4    4;
17672                }
17673                rel2 {
17674                   relative: 0.0  1.0;
17675                   offset:   4   -5;
17676                }
17677             }
17678          }
17679          part { name: "arrow";
17680             clip_to: "disclip";
17681             ignore_flags: ON_HOLD;
17682             description { state: "default" 0.0;
17683                fixed: 1 0;
17684                align: 0.0 0.5;
17685                aspect: 1.0 1.0;
17686                rel1 {
17687                   to_x: "elm.swallow.pad";
17688                   relative: 1.0  0.0;
17689                   offset:   -1    4;
17690                }
17691                rel2 {
17692                   to_x: "elm.swallow.pad";
17693                   relative: 1.0  1.0;
17694                   offset:   -1   -5;
17695                }
17696                image.normal: "icon_arrow_right.png";
17697             }
17698             description { state: "default" 0.1;
17699                inherit: "default" 0.0;
17700                image.normal: "icon_arrow_left.png";
17701             }
17702             description { state: "active" 0.0;
17703                inherit: "default" 0.0;
17704                image.normal: "icon_arrow_down.png";
17705             }
17706             description { state: "active" 0.1;
17707                inherit: "default" 0.0;
17708                image.normal: "icon_arrow_down.png";
17709             }
17710          }
17711          part { name: "elm.swallow.icon";
17712             clip_to: "disclip";
17713             type: SWALLOW;
17714             description { state: "default" 0.0;
17715                fixed: 1 0;
17716                align: 0.0 0.5;
17717                rel1 {
17718                   to_x: "arrow";
17719                   relative: 1.0  0.0;
17720                   offset:   4    4;
17721                }
17722                rel2 {
17723                   to_x: "arrow";
17724                   relative: 1.0  1.0;
17725                   offset:   4   -5;
17726                }
17727             }
17728          }
17729          part { name: "elm.swallow.end";
17730             clip_to: "disclip";
17731             type: SWALLOW;
17732             description { state: "default" 0.0;
17733                fixed: 1 0;
17734                align: 1.0 0.5;
17735                aspect: 1.0 1.0;
17736                aspect_preference: VERTICAL;
17737                rel1 {
17738                   relative: 1.0  0.0;
17739                   offset:   -5    4;
17740                }
17741                rel2 {
17742                   relative: 1.0  1.0;
17743                   offset:   -5   -5;
17744                }
17745             }
17746          }
17747          part { name: "elm.text";
17748             clip_to: "disclip";
17749             type:           TEXT;
17750             effect:         SOFT_SHADOW;
17751             mouse_events:   0;
17752             scale: 1;
17753             description {
17754                state: "default" 0.0;
17755 //               min: 16 16;
17756                rel1 {
17757                   to_x:     "elm.swallow.icon";
17758                   relative: 1.0  0.0;
17759                   offset:   0 4;
17760                }
17761                rel2 {
17762                   to_x:     "elm.swallow.end";
17763                   relative: 0.0  1.0;
17764                   offset:   -1 -5;
17765                }
17766                color: 0 0 0 255;
17767                color3: 0 0 0 0;
17768                text {
17769                   font: "Sans";
17770                   size: 10;
17771 //                  min: 1 1;
17772                   min: 0 1;
17773                   align: 0.0 0.5;
17774                   text_class: "list_item";
17775                }
17776             }
17777             description { state: "selected" 0.0;
17778                inherit: "default" 0.0;
17779                color: 224 224 224 255;
17780                color3: 0 0 0 64;
17781             }
17782          }
17783          part { name: "fg1";
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.relative: 1.0 0.5;
17791                rel2.to: "bg";
17792                image {
17793                   normal: "bt_sm_hilight.png";
17794                   border: 6 6 6 0;
17795                }
17796             }
17797             description { state: "selected" 0.0;
17798                inherit: "default" 0.0;
17799                visible: 1;
17800                color: 255 255 255 255;
17801             }
17802          }
17803          part { name: "fg2";
17804             clip_to: "disclip";
17805             mouse_events: 0;
17806             description { state: "default" 0.0;
17807                visible: 0;
17808                color: 255 255 255 0;
17809                rel1.to: "bg";
17810                rel2.to: "bg";
17811                image {
17812                   normal: "bt_sm_shine.png";
17813                   border: 6 6 6 0;
17814                }
17815             }
17816             description { state: "selected" 0.0;
17817                inherit: "default" 0.0;
17818                visible: 1;
17819                color: 255 255 255 255;
17820             }
17821          }
17822          part { name: "disclip";
17823             type: RECT;
17824             description { state: "default" 0.0;
17825                rel1.to: "bg";
17826                rel2.to: "bg";
17827             }
17828             description { state: "disabled" 0.0;
17829                inherit: "default" 0.0;
17830                color: 255 255 255 64;
17831             }
17832          }
17833       }
17834       programs {
17835          // signal: elm,state,%s,active
17836          //   a "check" item named %s went active
17837          // signal: elm,state,%s,passive
17838          //   a "check" item named %s went passive
17839          // default is passive
17840          program {
17841             name:    "odd";
17842             signal:  "elm,state,odd";
17843             source:  "elm";
17844             action:  STATE_SET "default" 1.0;
17845             target:  "base_sh";
17846             target:  "base";
17847          }
17848          program {
17849             name:    "even";
17850             signal:  "elm,state,even";
17851             source:  "elm";
17852             action:  STATE_SET "default" 0.0;
17853             target:  "base_sh";
17854             target:  "base";
17855          }
17856          program {
17857             name:    "go_active";
17858             signal:  "elm,state,selected";
17859             source:  "elm";
17860             action:  STATE_SET "selected" 0.0;
17861             target:  "bg";
17862             target:  "fg1";
17863             target:  "fg2";
17864             target:  "elm.text";
17865          }
17866          program {
17867             name:    "go_passive";
17868             signal:  "elm,state,unselected";
17869             source:  "elm";
17870             action:  STATE_SET "default" 0.0;
17871             target:  "bg";
17872             target:  "fg1";
17873             target:  "fg2";
17874             target:  "elm.text";
17875             transition: LINEAR 0.1;
17876          }
17877          program {
17878             name:    "go_disabled";
17879             signal:  "elm,state,disabled";
17880             source:  "elm";
17881             action:  STATE_SET "disabled" 0.0;
17882             target:  "disclip";
17883          }
17884          program {
17885             name:    "go_enabled";
17886             signal:  "elm,state,enabled";
17887             source:  "elm";
17888             action:  STATE_SET "default" 0.0;
17889             target:  "disclip";
17890          }
17891          program {
17892             name:    "expand";
17893             signal:  "mouse,up,1";
17894             source:  "arrow";
17895             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
17896          }
17897          program {
17898             name:    "go_expanded";
17899             signal:  "elm,state,expanded";
17900             source:  "elm";
17901             script {
17902                new st[31];
17903                new Float:vl;
17904                get_state(PART:"arrow", st, 30, vl);
17905                set_state(PART:"arrow", "active", vl);
17906             }
17907          }
17908          program {
17909             name:    "go_contracted";
17910             signal:  "elm,state,contracted";
17911             source:  "elm";
17912             script {
17913                new st[31];
17914                new Float:vl;
17915                get_state(PART:"arrow", st, 30, vl);
17916                set_state(PART:"arrow", "default", vl);
17917             }
17918          }
17919          program { name: "to_rtl";
17920             signal: "edje,state,rtl";
17921             source: "edje";
17922             script {
17923                new st[31];
17924                new Float:vl;
17925                get_state(PART:"arrow", st, 30, vl);
17926                if (vl == 0.0) {
17927                   set_state(PART:"arrow", st, 0.1);
17928                }
17929             }
17930          }
17931          program { name: "to_ltr";
17932             signal: "edje,state,ltr";
17933             source: "edje";
17934             script {
17935                new st[31];
17936                new Float:vl;
17937                get_state(PART:"arrow", st, 30, vl);
17938                if (vl == 0.1) {
17939                   set_state(PART:"arrow", st, 0.0);
17940                }
17941             }
17942          }
17943       }
17944    }
17945    group { name: "elm/genlist/item/default_style/default";
17946        styles
17947        {
17948            style { name: "genlist_style";
17949                base: "font=Sans font_size=10 align=left valign=0.5 color=#000 text_class=list_item";
17950                tag:  "br" "\n";
17951                tag:  "ps" "ps";
17952                tag:  "hilight" "+ font=Sans:style=Bold";
17953                tag:  "b" "+ font=Sans:style=Bold";
17954                tag:  "tab" "\t";
17955            }
17956            style { name: "genlist_selected_style";
17957                base: "font=Sans font_size=10 align=left valign=0.5 color=#fff text_class=list_item";
17958                tag:  "br" "\n";
17959                tag:  "ps" "ps";
17960                tag:  "hilight" "+ font=Sans:style=Bold";
17961                tag:  "b" "+ font=Sans:style=Bold";
17962                tag:  "tab" "\t";
17963            }
17964        }
17965        data.item: "stacking" "above";
17966        data.item: "selectraise" "on";
17967        data.item: "labels" "elm.text";
17968        data.item: "icons" "elm.swallow.icon elm.swallow.end";
17969        data.item: "treesize" "20";
17970        images {
17971            image: "bt_sm_base1.png" COMP;
17972            image: "bt_sm_shine.png" COMP;
17973            image: "bt_sm_hilight.png" COMP;
17974            image: "ilist_1.png" COMP;
17975            image: "ilist_item_shadow.png" COMP;
17976        }
17977        parts {
17978            part {
17979                name:           "event";
17980                type:           RECT;
17981                repeat_events: 1;
17982                description {
17983                    state: "default" 0.0;
17984                    color: 0 0 0 0;
17985                }
17986            }
17987            part {
17988                name: "base_sh";
17989                mouse_events: 0;
17990                description {
17991                    state: "default" 0.0;
17992                    align: 0.0 0.0;
17993                    min: 0 10;
17994                    fixed: 1 1;
17995                    rel1 {
17996                        to: "base";
17997                        relative: 0.0 1.0;
17998                        offset: 0 0;
17999                    }
18000                    rel2 {
18001                        to: "base";
18002                        relative: 1.0 1.0;
18003                        offset: -1 0;
18004                    }
18005                    image {
18006                        normal: "ilist_item_shadow.png";
18007                    }
18008                    fill.smooth: 0;
18009                }
18010            }
18011            part {
18012                name: "base";
18013                mouse_events: 0;
18014                description {
18015                    state: "default" 0.0;
18016                    min: 16 28;
18017                    image {
18018                        normal: "ilist_1.png";
18019                        border: 2 2 2 2;
18020                    }
18021                    fill.smooth: 0;
18022                }
18023            }
18024            part { name: "bg";
18025                clip_to: "disclip";
18026                mouse_events: 0;
18027                description { state: "default" 0.0;
18028                    visible: 0;
18029                    color: 255 255 255 0;
18030                    rel1 {
18031                        relative: 0.0 0.0;
18032                        offset: -5 -5;
18033                    }
18034                    rel2 {
18035                        relative: 1.0 1.0;
18036                        offset: 4 4;
18037                    }
18038                    image {
18039                        normal: "bt_sm_base1.png";
18040                        border: 6 6 6 6;
18041                    }
18042                    image.middle: SOLID;
18043                }
18044                description { state: "selected" 0.0;
18045                    inherit: "default" 0.0;
18046                    visible: 1;
18047                    color: 255 255 255 255;
18048                    rel1 {
18049                        relative: 0.0 0.0;
18050                        offset: -2 -2;
18051                    }
18052                    rel2 {
18053                        relative: 1.0 1.0;
18054                        offset: 1 1;
18055                    }
18056                }
18057            }
18058            part { name: "elm.swallow.pad";
18059                type: SWALLOW;
18060                description { state: "default" 0.0;
18061                    fixed: 1 0;
18062                    align: 0.0 0.5;
18063                    rel1 {
18064                        relative: 0.0  0.0;
18065                        offset:   4    4;
18066                    }
18067                    rel2 {
18068                        relative: 0.0  1.0;
18069                        offset:   4   -5;
18070                    }
18071                }
18072            }
18073            part { name: "elm.swallow.icon";
18074                clip_to: "disclip";
18075                type: SWALLOW;
18076                description { state: "default" 0.0;
18077                    fixed: 1 0;
18078                    align: 0.0 0.5;
18079                    rel1 {
18080                        to_x: "elm.swallow.pad";
18081                        relative: 1.0  0.0;
18082                        offset:   -1    4;
18083                    }
18084                    rel2 {
18085                        to_x: "elm.swallow.pad";
18086                        relative: 1.0  1.0;
18087                        offset:   -1   -5;
18088                    }
18089                }
18090            }
18091            part { name: "elm.swallow.end";
18092                clip_to: "disclip";
18093                type: SWALLOW;
18094                description { state: "default" 0.0;
18095                    fixed: 1 0;
18096                    align: 1.0 0.5;
18097                    aspect: 1.0 1.0;
18098                    aspect_preference: VERTICAL;
18099                    rel1 {
18100                        relative: 1.0  0.0;
18101                        offset:   -5    4;
18102                    }
18103                    rel2 {
18104                        relative: 1.0  1.0;
18105                        offset:   -5   -5;
18106                    }
18107                }
18108            }
18109            part { name: "elm.text";
18110                clip_to: "disclip";
18111                type: TEXTBLOCK;
18112                mouse_events: 0;
18113                scale: 1;
18114                description {
18115                    state: "default" 0.0;
18116                    align: 0.0 0.5;
18117                    fixed: 0 1;
18118                    rel1 {
18119                        to_x: "elm.swallow.icon";
18120                        to_y: "base";
18121                        relative: 1.0  0.5;
18122                        offset:   0 4;
18123                    }
18124                    rel2 {
18125                        to_x: "elm.swallow.end";
18126                        to_y: "base";
18127                        relative: 0.0  0.5;
18128                        offset:   -1 -5;
18129                    }
18130                    text {
18131                        style: "genlist_style";
18132                        min: 1 1;
18133                    }
18134                }
18135                description { state: "selected" 0.0;
18136                    inherit: "default" 0.0;
18137                    text {
18138                        style: "genlist_selected_style";
18139                    }
18140                }
18141            }
18142            part { name: "fg1";
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.relative: 1.0 0.5;
18150                    rel2.to: "bg";
18151                    image {
18152                        normal: "bt_sm_hilight.png";
18153                        border: 6 6 6 0;
18154                    }
18155                }
18156                description { state: "selected" 0.0;
18157                    inherit: "default" 0.0;
18158                    visible: 1;
18159                    color: 255 255 255 255;
18160                }
18161            }
18162            part { name: "fg2";
18163                clip_to: "disclip";
18164                mouse_events: 0;
18165                description { state: "default" 0.0;
18166                    visible: 0;
18167                    color: 255 255 255 0;
18168                    rel1.to: "bg";
18169                    rel2.to: "bg";
18170                    image {
18171                        normal: "bt_sm_shine.png";
18172                        border: 6 6 6 0;
18173                    }
18174                }
18175                description { state: "selected" 0.0;
18176                    inherit: "default" 0.0;
18177                    visible: 1;
18178                    color: 255 255 255 255;
18179                }
18180            }
18181            part { name: "disclip";
18182                type: RECT;
18183                description { state: "default" 0.0;
18184                    rel1.to: "bg";
18185                    rel2.to: "bg";
18186                }
18187                description { state: "disabled" 0.0;
18188                    inherit: "default" 0.0;
18189                    color: 255 255 255 64;
18190                }
18191            }
18192        }
18193        programs {
18194            // signal: elm,state,%s,active
18195            //   a "check" item named %s went active
18196            // signal: elm,state,%s,passive
18197            //   a "check" item named %s went passive
18198            // default is passive
18199            program {
18200                name:    "go_active";
18201                signal:  "elm,state,selected";
18202                source:  "elm";
18203                action:  STATE_SET "selected" 0.0;
18204                target:  "bg";
18205                target:  "fg1";
18206                target:  "fg2";
18207                target:  "elm.text";
18208            }
18209            program {
18210                name:    "go_passive";
18211                signal:  "elm,state,unselected";
18212                source:  "elm";
18213                action:  STATE_SET "default" 0.0;
18214                target:  "bg";
18215                target:  "fg1";
18216                target:  "fg2";
18217                target:  "elm.text";
18218                transition: LINEAR 0.1;
18219            }
18220            program {
18221                name:    "go_disabled";
18222                signal:  "elm,state,disabled";
18223                source:  "elm";
18224                action:  STATE_SET "disabled" 0.0;
18225                target:  "disclip";
18226            }
18227            program {
18228                name:    "go_enabled";
18229                signal:  "elm,state,enabled";
18230                source:  "elm";
18231                action:  STATE_SET "default" 0.0;
18232                target:  "disclip";
18233            }
18234        }
18235    }
18236    group { name: "elm/genlist/item_odd/default_style/default";
18237        data.item: "stacking" "below";
18238        data.item: "selectraise" "on";
18239        data.item: "labels" "elm.text";
18240        data.item: "icons" "elm.swallow.icon elm.swallow.end";
18241        data.item: "treesize" "20";
18242        images {
18243            image: "bt_sm_base1.png" COMP;
18244            image: "bt_sm_shine.png" COMP;
18245            image: "bt_sm_hilight.png" COMP;
18246            image: "ilist_2.png" COMP;
18247        }
18248        parts {
18249            part { name: "event";
18250                type: RECT;
18251                repeat_events: 1;
18252                description {
18253                    state: "default" 0.0;
18254                    color: 0 0 0 0;
18255                }
18256            }
18257            part {
18258                name: "base";
18259                mouse_events: 0;
18260                description {
18261                    state: "default" 0.0;
18262                    min: 16 28;
18263                    image {
18264                        normal: "ilist_2.png";
18265                        border: 2 2 2 2;
18266                    }
18267                    fill.smooth: 0;
18268                }
18269            }
18270            part { name: "bg";
18271                clip_to: "disclip";
18272                mouse_events: 0;
18273                description { state: "default" 0.0;
18274                    visible: 0;
18275                    color: 255 255 255 0;
18276                    rel1 {
18277                        relative: 0.0 0.0;
18278                        offset: -5 -5;
18279                    }
18280                    rel2 {
18281                        relative: 1.0 1.0;
18282                        offset: 4 4;
18283                    }
18284                    image {
18285                        normal: "bt_sm_base1.png";
18286                        border: 6 6 6 6;
18287                    }
18288                    image.middle: SOLID;
18289                }
18290                description { state: "selected" 0.0;
18291                    inherit: "default" 0.0;
18292                    visible: 1;
18293                    color: 255 255 255 255;
18294                    rel1 {
18295                        relative: 0.0 0.0;
18296                        offset: -2 -2;
18297                    }
18298                    rel2 {
18299                        relative: 1.0 1.0;
18300                        offset: 1 1;
18301                    }
18302                }
18303            }
18304            part { name: "elm.swallow.pad";
18305                type: SWALLOW;
18306                description { state: "default" 0.0;
18307                    fixed: 1 0;
18308                    align: 0.0 0.5;
18309                    rel1 {
18310                        relative: 0.0  0.0;
18311                        offset:   4    4;
18312                    }
18313                    rel2 {
18314                        relative: 0.0  1.0;
18315                        offset:   4   -5;
18316                    }
18317                }
18318            }
18319            part { name: "elm.swallow.icon";
18320                clip_to: "disclip";
18321                type: SWALLOW;
18322                description { state: "default" 0.0;
18323                    fixed: 1 0;
18324                    align: 0.0 0.5;
18325                    rel1 {
18326                        to_x: "elm.swallow.pad";
18327                        relative: 1.0  0.0;
18328                        offset:   -1    4;
18329                    }
18330                    rel2 {
18331                        to_x: "elm.swallow.pad";
18332                        relative: 1.0  1.0;
18333                        offset:   -1   -5;
18334                    }
18335                }
18336            }
18337            part { name: "elm.swallow.end";
18338                clip_to: "disclip";
18339                type:          SWALLOW;
18340                description { state:    "default" 0.0;
18341                    fixed: 1 0;
18342                    align:    1.0 0.5;
18343                    aspect: 1.0 1.0;
18344                    aspect_preference: VERTICAL;
18345                    rel1 {
18346                        relative: 1.0  0.0;
18347                        offset:   -5    4;
18348                    }
18349                    rel2 {
18350                        relative: 1.0  1.0;
18351                        offset:   -5   -5;
18352                    }
18353                }
18354            }
18355            part { name: "elm.text";
18356                clip_to: "disclip";
18357                type:           TEXTBLOCK;
18358                mouse_events:   0;
18359                scale: 1;
18360                description {
18361                    state: "default" 0.0;
18362                    align: 0.0 0.5;
18363                    fixed: 0 1;
18364                    rel1 {
18365                        to_x: "elm.swallow.icon";
18366                        to_y: "base";
18367                        relative: 1.0  0.5;
18368                        offset:   0 4;
18369                    }
18370                    rel2 {
18371                        to_x: "elm.swallow.end";
18372                        to_y: "base";
18373                        relative: 0.0  0.5;
18374                        offset:   -1 -5;
18375                    }
18376                    text {
18377                        style: "genlist_style";
18378                        min: 1 1;
18379                    }
18380                }
18381                description { state: "selected" 0.0;
18382                    inherit: "default" 0.0;
18383                    text {
18384                        style: "genlist_selected_style";
18385                    }
18386                }
18387            }
18388            part { name: "fg1";
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.relative: 1.0 0.5;
18396                    rel2.to: "bg";
18397                    image {
18398                        normal: "bt_sm_hilight.png";
18399                        border: 6 6 6 0;
18400                    }
18401                }
18402                description { state: "selected" 0.0;
18403                    inherit: "default" 0.0;
18404                    visible: 1;
18405                    color: 255 255 255 255;
18406                }
18407            }
18408            part { name: "fg2";
18409                clip_to: "disclip";
18410                mouse_events: 0;
18411                description { state: "default" 0.0;
18412                    visible: 0;
18413                    color: 255 255 255 0;
18414                    rel1.to: "bg";
18415                    rel2.to: "bg";
18416                    image {
18417                        normal: "bt_sm_shine.png";
18418                        border: 6 6 6 0;
18419                    }
18420                }
18421                description { state: "selected" 0.0;
18422                    inherit: "default" 0.0;
18423                    visible: 1;
18424                    color: 255 255 255 255;
18425                }
18426            }
18427            part { name: "disclip";
18428                type: RECT;
18429                description { state: "default" 0.0;
18430                    rel1.to: "bg";
18431                    rel2.to: "bg";
18432                }
18433                description { state: "disabled" 0.0;
18434                    inherit: "default" 0.0;
18435                    color: 255 255 255 64;
18436                }
18437            }
18438        }
18439        programs {
18440            // signal: elm,state,%s,active
18441            //   a "check" item named %s went active
18442            // signal: elm,state,%s,passive
18443            //   a "check" item named %s went passive
18444            // default is passive
18445            program {
18446                name:    "go_active";
18447                signal:  "elm,state,selected";
18448                source:  "elm";
18449                action:  STATE_SET "selected" 0.0;
18450                target:  "bg";
18451                target:  "fg1";
18452                target:  "fg2";
18453                target:  "elm.text";
18454            }
18455            program {
18456                name:    "go_passive";
18457                signal:  "elm,state,unselected";
18458                source:  "elm";
18459                action:  STATE_SET "default" 0.0;
18460                target:  "bg";
18461                target:  "fg1";
18462                target:  "fg2";
18463                target:  "elm.text";
18464                transition: LINEAR 0.1;
18465            }
18466            program {
18467                name:    "go_disabled";
18468                signal:  "elm,state,disabled";
18469                source:  "elm";
18470                action:  STATE_SET "disabled" 0.0;
18471                target:  "disclip";
18472            }
18473            program {
18474                name:    "go_enabled";
18475                signal:  "elm,state,enabled";
18476                source:  "elm";
18477                action:  STATE_SET "default" 0.0;
18478                target:  "disclip";
18479            }
18480        }
18481    }
18482
18483    group { name: "elm/genlist/tree/default_style/default";
18484        data.item: "stacking" "above";
18485        data.item: "selectraise" "on";
18486        data.item: "labels" "elm.text";
18487        data.item: "icons" "elm.swallow.icon elm.swallow.end";
18488        data.item: "treesize" "20";
18489        images {
18490            image: "bt_sm_base1.png" COMP;
18491            image: "bt_sm_shine.png" COMP;
18492            image: "bt_sm_hilight.png" COMP;
18493            image: "ilist_1.png" COMP;
18494            image: "ilist_item_shadow.png" COMP;
18495            image: "icon_arrow_right.png" COMP;
18496            image: "icon_arrow_down.png" COMP;
18497        }
18498        parts {
18499            part {
18500                name:           "event";
18501                type:           RECT;
18502                repeat_events: 1;
18503                description {
18504                    state: "default" 0.0;
18505                    color: 0 0 0 0;
18506                }
18507            }
18508            part {
18509                name: "base_sh";
18510                mouse_events: 0;
18511                description {
18512                    state: "default" 0.0;
18513                    align: 0.0 0.0;
18514                    min: 0 10;
18515                    fixed: 1 1;
18516                    rel1 {
18517                        to: "base";
18518                        relative: 0.0 1.0;
18519                        offset: 0 0;
18520                    }
18521                    rel2 {
18522                        to: "base";
18523                        relative: 1.0 1.0;
18524                        offset: -1 0;
18525                    }
18526                    image {
18527                        normal: "ilist_item_shadow.png";
18528                    }
18529                    fill.smooth: 0;
18530                }
18531            }
18532            part {
18533                name: "base";
18534                mouse_events: 0;
18535                description {
18536                    state: "default" 0.0;
18537                    min: 16 28;
18538                    image {
18539                        normal: "ilist_1.png";
18540                        border: 2 2 2 2;
18541                    }
18542                    fill.smooth: 0;
18543                }
18544            }
18545            part { name: "bg";
18546                clip_to: "disclip";
18547                mouse_events: 0;
18548                description { state: "default" 0.0;
18549                    visible: 0;
18550                    color: 255 255 255 0;
18551                    rel1 {
18552                        relative: 0.0 0.0;
18553                        offset: -5 -5;
18554                    }
18555                    rel2 {
18556                        relative: 1.0 1.0;
18557                        offset: 4 4;
18558                    }
18559                    image {
18560                        normal: "bt_sm_base1.png";
18561                        border: 6 6 6 6;
18562                    }
18563                    image.middle: SOLID;
18564                }
18565                description { state: "selected" 0.0;
18566                    inherit: "default" 0.0;
18567                    visible: 1;
18568                    color: 255 255 255 255;
18569                    rel1 {
18570                        relative: 0.0 0.0;
18571                        offset: -2 -2;
18572                    }
18573                    rel2 {
18574                        relative: 1.0 1.0;
18575                        offset: 1 1;
18576                    }
18577                }
18578            }
18579            part { name: "elm.swallow.pad";
18580                type: SWALLOW;
18581                description { state: "default" 0.0;
18582                    fixed: 1 0;
18583                    align: 0.0 0.5;
18584                    rel1 {
18585                        relative: 0.0  0.0;
18586                        offset:   4    4;
18587                    }
18588                    rel2 {
18589                        relative: 0.0  1.0;
18590                        offset:   4   -5;
18591                    }
18592                }
18593            }
18594            part { name: "arrow";
18595                clip_to: "disclip";
18596                ignore_flags: ON_HOLD;
18597                description { state: "default" 0.0;
18598                    fixed: 1 0;
18599                    align: 0.0 0.5;
18600                    aspect: 1.0 1.0;
18601                    rel1 {
18602                        to_x: "elm.swallow.pad";
18603                        relative: 1.0  0.0;
18604                        offset:   -1    4;
18605                    }
18606                    rel2 {
18607                        to_x: "elm.swallow.pad";
18608                        relative: 1.0  1.0;
18609                        offset:   -1   -5;
18610                    }
18611                    image.normal: "icon_arrow_right.png";
18612                }
18613                description { state: "active" 0.0;
18614                    inherit: "default" 0.0;
18615                    image.normal: "icon_arrow_down.png";
18616                }
18617            }
18618            part { name: "elm.swallow.icon";
18619                clip_to: "disclip";
18620                type: SWALLOW;
18621                description { state: "default" 0.0;
18622                    fixed: 1 0;
18623                    align: 0.0 0.5;
18624                    rel1 {
18625                        to_x: "arrow";
18626                        relative: 1.0  0.0;
18627                        offset:   4    4;
18628                    }
18629                    rel2 {
18630                        to_x: "arrow";
18631                        relative: 1.0  1.0;
18632                        offset:   4   -5;
18633                    }
18634                }
18635            }
18636            part { name: "elm.swallow.end";
18637                clip_to: "disclip";
18638                type: SWALLOW;
18639                description { state: "default" 0.0;
18640                    fixed: 1 0;
18641                    align: 1.0 0.5;
18642                    aspect: 1.0 1.0;
18643                    aspect_preference: VERTICAL;
18644                    rel1 {
18645                        relative: 1.0  0.0;
18646                        offset:   -5    4;
18647                    }
18648                    rel2 {
18649                        relative: 1.0  1.0;
18650                        offset:   -5   -5;
18651                    }
18652                }
18653            }
18654            part { name: "elm.text";
18655                clip_to: "disclip";
18656                type:           TEXTBLOCK;
18657                effect:         SOFT_SHADOW;
18658                mouse_events:   0;
18659                scale: 1;
18660                description {
18661                    state: "default" 0.0;
18662                    align: 0.0 0.5;
18663                    fixed: 0 1;
18664                    rel1 {
18665                        to_x:     "elm.swallow.icon";
18666                        to_y: "base";
18667                        relative: 1.0  0.5;
18668                        offset:   0 4;
18669                    }
18670                    rel2 {
18671                        to_x:     "elm.swallow.end";
18672                        to_y: "base";
18673                        relative: 0.0  0.5;
18674                        offset:   -1 -5;
18675                    }
18676                    text {
18677                        style: "genlist_style";
18678                        min: 1 1;
18679                    }
18680                }
18681                description { state: "selected" 0.0;
18682                    inherit: "default" 0.0;
18683                    text {
18684                        style: "genlist_selected_style";
18685                    }
18686                }
18687            }
18688            part { name: "fg1";
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.relative: 1.0 0.5;
18696                    rel2.to: "bg";
18697                    image {
18698                        normal: "bt_sm_hilight.png";
18699                        border: 6 6 6 0;
18700                    }
18701                }
18702                description { state: "selected" 0.0;
18703                    inherit: "default" 0.0;
18704                    visible: 1;
18705                    color: 255 255 255 255;
18706                }
18707            }
18708            part { name: "fg2";
18709                clip_to: "disclip";
18710                mouse_events: 0;
18711                description { state: "default" 0.0;
18712                    visible: 0;
18713                    color: 255 255 255 0;
18714                    rel1.to: "bg";
18715                    rel2.to: "bg";
18716                    image {
18717                        normal: "bt_sm_shine.png";
18718                        border: 6 6 6 0;
18719                    }
18720                }
18721                description { state: "selected" 0.0;
18722                    inherit: "default" 0.0;
18723                    visible: 1;
18724                    color: 255 255 255 255;
18725                }
18726            }
18727            part { name: "disclip";
18728                type: RECT;
18729                description { state: "default" 0.0;
18730                    rel1.to: "bg";
18731                    rel2.to: "bg";
18732                }
18733                description { state: "disabled" 0.0;
18734                    inherit: "default" 0.0;
18735                    color: 255 255 255 64;
18736                }
18737            }
18738        }
18739        programs {
18740            // signal: elm,state,%s,active
18741            //   a "check" item named %s went active
18742            // signal: elm,state,%s,passive
18743            //   a "check" item named %s went passive
18744            // default is passive
18745            program {
18746                name:    "go_active";
18747                signal:  "elm,state,selected";
18748                source:  "elm";
18749                action:  STATE_SET "selected" 0.0;
18750                target:  "bg";
18751                target:  "fg1";
18752                target:  "fg2";
18753                target:  "elm.text";
18754            }
18755            program {
18756                name:    "go_passive";
18757                signal:  "elm,state,unselected";
18758                source:  "elm";
18759                action:  STATE_SET "default" 0.0;
18760                target:  "bg";
18761                target:  "fg1";
18762                target:  "fg2";
18763                target:  "elm.text";
18764                transition: LINEAR 0.1;
18765            }
18766            program {
18767                name:    "go_disabled";
18768                signal:  "elm,state,disabled";
18769                source:  "elm";
18770                action:  STATE_SET "disabled" 0.0;
18771                target:  "disclip";
18772            }
18773            program {
18774                name:    "go_enabled";
18775                signal:  "elm,state,enabled";
18776                source:  "elm";
18777                action:  STATE_SET "default" 0.0;
18778                target:  "disclip";
18779            }
18780            program {
18781                name:    "expand";
18782                signal:  "mouse,up,1";
18783                source:  "arrow";
18784                action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
18785            }
18786            program {
18787                name:    "go_expanded";
18788                signal:  "elm,state,expanded";
18789                source:  "elm";
18790                action:  STATE_SET "active" 0.0;
18791                target:  "arrow";
18792            }
18793            program {
18794                name:    "go_contracted";
18795                signal:  "elm,state,contracted";
18796                source:  "elm";
18797                action:  STATE_SET "default" 0.0;
18798                target:  "arrow";
18799            }
18800        }
18801    }
18802    group { name: "elm/genlist/tree_odd/default_style/default";
18803        data.item: "stacking" "below";
18804        data.item: "selectraise" "on";
18805        data.item: "labels" "elm.text";
18806        data.item: "icons" "elm.swallow.icon elm.swallow.end";
18807        data.item: "treesize" "20";
18808        images {
18809            image: "bt_sm_base1.png" COMP;
18810            image: "bt_sm_shine.png" COMP;
18811            image: "bt_sm_hilight.png" COMP;
18812            image: "ilist_2.png" COMP;
18813            image: "icon_arrow_right.png" COMP;
18814            image: "icon_arrow_down.png" COMP;
18815        }
18816        parts {
18817            part {
18818                name:           "event";
18819                type:           RECT;
18820                repeat_events: 1;
18821                description {
18822                    state: "default" 0.0;
18823                    color: 0 0 0 0;
18824                }
18825            }
18826            part {
18827                name: "base";
18828                mouse_events: 0;
18829                description {
18830                    state: "default" 0.0;
18831                    min: 16 28;
18832                    image {
18833                        normal: "ilist_2.png";
18834                        border: 2 2 2 2;
18835                    }
18836                    fill.smooth: 0;
18837                }
18838            }
18839            part { name: "bg";
18840                clip_to: "disclip";
18841                mouse_events: 0;
18842                description { state: "default" 0.0;
18843                    visible: 0;
18844                    color: 255 255 255 0;
18845                    rel1 {
18846                        relative: 0.0 0.0;
18847                        offset: -5 -5;
18848                    }
18849                    rel2 {
18850                        relative: 1.0 1.0;
18851                        offset: 4 4;
18852                    }
18853                    image {
18854                        normal: "bt_sm_base1.png";
18855                        border: 6 6 6 6;
18856                    }
18857                    image.middle: SOLID;
18858                }
18859                description { state: "selected" 0.0;
18860                    inherit: "default" 0.0;
18861                    visible: 1;
18862                    color: 255 255 255 255;
18863                    rel1 {
18864                        relative: 0.0 0.0;
18865                        offset: -2 -2;
18866                    }
18867                    rel2 {
18868                        relative: 1.0 1.0;
18869                        offset: 1 1;
18870                    }
18871                }
18872            }
18873            part { name: "elm.swallow.pad";
18874                type: SWALLOW;
18875                description { state: "default" 0.0;
18876                    fixed: 1 0;
18877                    align: 0.0 0.5;
18878                    rel1 {
18879                        relative: 0.0  0.0;
18880                        offset:   4    4;
18881                    }
18882                    rel2 {
18883                        relative: 0.0  1.0;
18884                        offset:   4   -5;
18885                    }
18886                }
18887            }
18888            part { name: "arrow";
18889                clip_to: "disclip";
18890                ignore_flags: ON_HOLD;
18891                description { state: "default" 0.0;
18892                    fixed: 1 0;
18893                    align: 0.0 0.5;
18894                    aspect: 1.0 1.0;
18895                    rel1 {
18896                        to_x: "elm.swallow.pad";
18897                        relative: 1.0  0.0;
18898                        offset:   -1    4;
18899                    }
18900                    rel2 {
18901                        to_x: "elm.swallow.pad";
18902                        relative: 1.0  1.0;
18903                        offset:   -1   -5;
18904                    }
18905                    image.normal: "icon_arrow_right.png";
18906                }
18907                description { state: "active" 0.0;
18908                    inherit: "default" 0.0;
18909                    image.normal: "icon_arrow_down.png";
18910                }
18911            }
18912            part { name: "elm.swallow.icon";
18913                clip_to: "disclip";
18914                type: SWALLOW;
18915                description { state: "default" 0.0;
18916                    fixed: 1 0;
18917                    align: 0.0 0.5;
18918                    rel1 {
18919                        to_x: "arrow";
18920                        relative: 1.0  0.0;
18921                        offset:   4    4;
18922                    }
18923                    rel2 {
18924                        to_x: "arrow";
18925                        relative: 1.0  1.0;
18926                        offset:   4   -5;
18927                    }
18928                }
18929            }
18930            part { name: "elm.swallow.end";
18931                clip_to: "disclip";
18932                type: SWALLOW;
18933                description { state: "default" 0.0;
18934                    fixed: 1 0;
18935                    align: 1.0 0.5;
18936                    aspect: 1.0 1.0;
18937                    aspect_preference: VERTICAL;
18938                    rel1 {
18939                        relative: 1.0  0.0;
18940                        offset:   -5    4;
18941                    }
18942                    rel2 {
18943                        relative: 1.0  1.0;
18944                        offset:   -5   -5;
18945                    }
18946                }
18947            }
18948            part { name: "elm.text";
18949                clip_to: "disclip";
18950                type:           TEXTBLOCK;
18951                effect:         SOFT_SHADOW;
18952                mouse_events:   0;
18953                scale: 1;
18954                description {
18955                    state: "default" 0.0;
18956                    align: 0.0 0.5;
18957                    fixed: 0 1;
18958                    rel1 {
18959                        to_x:     "elm.swallow.icon";
18960                        to_y: "base";
18961                        relative: 1.0  0.5;
18962                        offset:   0 4;
18963                    }
18964                    rel2 {
18965                        to_x:     "elm.swallow.end";
18966                        to_y: "base";
18967                        relative: 0.0  0.5;
18968                        offset:   -1 -5;
18969                    }
18970                    text {
18971                        style: "genlist_style";
18972                        min: 1 1;
18973                    }
18974                }
18975                description { state: "selected" 0.0;
18976                    inherit: "default" 0.0;
18977                    text {
18978                        style: "genlist_selected_style";
18979                    }
18980                }
18981            }
18982            part { name: "fg1";
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.relative: 1.0 0.5;
18990                    rel2.to: "bg";
18991                    image {
18992                        normal: "bt_sm_hilight.png";
18993                        border: 6 6 6 0;
18994                    }
18995                }
18996                description { state: "selected" 0.0;
18997                    inherit: "default" 0.0;
18998                    visible: 1;
18999                    color: 255 255 255 255;
19000                }
19001            }
19002            part { name: "fg2";
19003                clip_to: "disclip";
19004                mouse_events: 0;
19005                description { state: "default" 0.0;
19006                    visible: 0;
19007                    color: 255 255 255 0;
19008                    rel1.to: "bg";
19009                    rel2.to: "bg";
19010                    image {
19011                        normal: "bt_sm_shine.png";
19012                        border: 6 6 6 0;
19013                    }
19014                }
19015                description { state: "selected" 0.0;
19016                    inherit: "default" 0.0;
19017                    visible: 1;
19018                    color: 255 255 255 255;
19019                }
19020            }
19021            part { name: "disclip";
19022                type: RECT;
19023                description { state: "default" 0.0;
19024                    rel1.to: "bg";
19025                    rel2.to: "bg";
19026                }
19027                description { state: "disabled" 0.0;
19028                    inherit: "default" 0.0;
19029                    color: 255 255 255 64;
19030                }
19031            }
19032        }
19033        programs {
19034            // signal: elm,state,%s,active
19035            //   a "check" item named %s went active
19036            // signal: elm,state,%s,passive
19037            //   a "check" item named %s went passive
19038            // default is passive
19039            program {
19040                name:    "go_active";
19041                signal:  "elm,state,selected";
19042                source:  "elm";
19043                action:  STATE_SET "selected" 0.0;
19044                target:  "bg";
19045                target:  "fg1";
19046                target:  "fg2";
19047                target:  "elm.text";
19048            }
19049            program {
19050                name:    "go_passive";
19051                signal:  "elm,state,unselected";
19052                source:  "elm";
19053                action:  STATE_SET "default" 0.0;
19054                target:  "bg";
19055                target:  "fg1";
19056                target:  "fg2";
19057                target:  "elm.text";
19058                transition: LINEAR 0.1;
19059            }
19060            program {
19061                name:    "go_disabled";
19062                signal:  "elm,state,disabled";
19063                source:  "elm";
19064                action:  STATE_SET "disabled" 0.0;
19065                target:  "disclip";
19066            }
19067            program {
19068                name:    "go_enabled";
19069                signal:  "elm,state,enabled";
19070                source:  "elm";
19071                action:  STATE_SET "default" 0.0;
19072                target:  "disclip";
19073            }
19074            program {
19075                name:    "expand";
19076                signal:  "mouse,up,1";
19077                source:  "arrow";
19078                action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
19079            }
19080            program {
19081                name:    "go_expanded";
19082                signal:  "elm,state,expanded";
19083                source:  "elm";
19084                action:  STATE_SET "active" 0.0;
19085                target:  "arrow";
19086            }
19087            program {
19088                name:    "go_contracted";
19089                signal:  "elm,state,contracted";
19090                source:  "elm";
19091                action:  STATE_SET "default" 0.0;
19092                target:  "arrow";
19093            }
19094        }
19095    }
19096
19097
19098    group { name: "elm/genlist/item/double_label/default";
19099       data.item: "stacking" "above";
19100       data.item: "selectraise" "on";
19101       data.item: "labels" "elm.text elm.text.sub";
19102       data.item: "icons" "elm.swallow.icon elm.swallow.end";
19103       data.item: "treesize" "20";
19104 //      data.item: "states" "";
19105       images {
19106          image: "bt_sm_base1.png" COMP;
19107          image: "bt_sm_shine.png" COMP;
19108          image: "bt_sm_hilight.png" COMP;
19109          image: "ilist_1.png" COMP;
19110          image: "ilist_item_shadow.png" COMP;
19111       }
19112       parts {
19113          part {
19114             name:           "event";
19115             type:           RECT;
19116             repeat_events: 1;
19117             description {
19118                state: "default" 0.0;
19119                color: 0 0 0 0;
19120             }
19121          }
19122          part {
19123             name: "base_sh";
19124             mouse_events: 0;
19125             description {
19126                state: "default" 0.0;
19127                align: 0.0 0.0;
19128                min: 0 10;
19129                fixed: 1 1;
19130                rel1 {
19131                   to: "base";
19132                   relative: 0.0 1.0;
19133                   offset: 0 0;
19134                }
19135                rel2 {
19136                   to: "base";
19137                   relative: 1.0 1.0;
19138                   offset: -1 0;
19139                }
19140                image {
19141                   normal: "ilist_item_shadow.png";
19142                }
19143                fill.smooth: 0;
19144             }
19145          }
19146          part {
19147             name: "base";
19148             mouse_events: 0;
19149             description {
19150                state: "default" 0.0;
19151                image {
19152                   normal: "ilist_1.png";
19153                   border: 2 2 2 2;
19154                }
19155                fill.smooth: 0;
19156             }
19157          }
19158          part { name: "bg";
19159             clip_to: "disclip";
19160             mouse_events: 0;
19161             description { state: "default" 0.0;
19162                visible: 0;
19163                color: 255 255 255 0;
19164                rel1 {
19165                   relative: 0.0 0.0;
19166                   offset: -5 -5;
19167                }
19168                rel2 {
19169                   relative: 1.0 1.0;
19170                   offset: 4 4;
19171                }
19172                image {
19173                   normal: "bt_sm_base1.png";
19174                   border: 6 6 6 6;
19175                }
19176                image.middle: SOLID;
19177             }
19178             description { state: "selected" 0.0;
19179                inherit: "default" 0.0;
19180                visible: 1;
19181                color: 255 255 255 255;
19182                rel1 {
19183                   relative: 0.0 0.0;
19184                   offset: -2 -2;
19185                }
19186                rel2 {
19187                   relative: 1.0 1.0;
19188                   offset: 1 1;
19189                }
19190             }
19191          }
19192          part { name: "elm.swallow.pad";
19193             type: SWALLOW;
19194             description { state: "default" 0.0;
19195                fixed: 1 0;
19196                align: 0.0 0.5;
19197                rel1 {
19198                   relative: 0.0  0.0;
19199                   offset:   4    4;
19200                }
19201                rel2 {
19202                   relative: 0.0  1.0;
19203                   offset:   4   -5;
19204                }
19205             }
19206          }
19207          part { name: "elm.swallow.icon";
19208             clip_to: "disclip";
19209             type: SWALLOW;
19210             description { state: "default" 0.0;
19211                fixed: 1 0;
19212                align: 0.0 0.5;
19213                rel1 {
19214                   to_x: "elm.swallow.pad";
19215                   relative: 1.0  0.0;
19216                   offset:   -1    4;
19217                }
19218                rel2 {
19219                   to_x: "elm.swallow.pad";
19220                   relative: 1.0  1.0;
19221                   offset:   -1   -5;
19222                }
19223             }
19224          }
19225          part { name: "elm.swallow.end";
19226             clip_to: "disclip";
19227             type: SWALLOW;
19228             description { state: "default" 0.0;
19229                fixed: 1 0;
19230                align: 1.0 0.5;
19231                aspect: 1.0 1.0;
19232                aspect_preference: VERTICAL;
19233                rel1 {
19234                   relative: 1.0  0.0;
19235                   offset:   -5    4;
19236                }
19237                rel2 {
19238                   relative: 1.0  1.0;
19239                   offset:   -5   -5;
19240                }
19241             }
19242          }
19243          part { name: "elm.text";
19244             clip_to: "disclip";
19245             type:           TEXT;
19246             effect:         SOFT_SHADOW;
19247             mouse_events:   0;
19248             scale: 1;
19249             description {
19250                state: "default" 0.0;
19251 //               min: 16 16;
19252                rel1 {
19253                   to_x:     "elm.swallow.icon";
19254                   relative: 1.0  0.0;
19255                   offset:   0 4;
19256                }
19257                rel2 {
19258                   to_x:     "elm.swallow.end";
19259                   relative: 0.0  0.5;
19260                   offset:   -1 -5;
19261                }
19262                color: 0 0 0 255;
19263                color3: 0 0 0 0;
19264                text {
19265                   font: "Sans";
19266                   size: 10;
19267                   min: 1 1;
19268 //                  min: 0 1;
19269                   align: 0.0 0.5;
19270                   text_class: "list_item";
19271                }
19272             }
19273             description { state: "selected" 0.0;
19274                inherit: "default" 0.0;
19275                color: 224 224 224 255;
19276                color3: 0 0 0 64;
19277             }
19278          }
19279          part { name: "elm.text.sub";
19280             clip_to: "disclip";
19281             type:           TEXT;
19282             mouse_events:   0;
19283             scale: 1;
19284             description {
19285                state: "default" 0.0;
19286 //               min: 16 16;
19287                rel1 {
19288                   to_x:     "elm.swallow.icon";
19289                   relative: 1.0  0.5;
19290                   offset:   0 4;
19291                }
19292                rel2 {
19293                   to_x:     "elm.swallow.end";
19294                   relative: 0.0  1.0;
19295                   offset:   -1 -5;
19296                }
19297                color: 0 0 0 128;
19298                color3: 0 0 0 0;
19299                text {
19300                   font: "Sans";
19301                   size: 8;
19302                   min: 1 1;
19303 //                  min: 0 1;
19304                   align: 0.0 0.5;
19305                   text_class: "list_item";
19306                }
19307             }
19308             description { state: "selected" 0.0;
19309                inherit: "default" 0.0;
19310                color: 128 128 128 255;
19311                color3: 0 0 0 32;
19312             }
19313          }
19314          part { name: "fg1";
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.relative: 1.0 0.5;
19322                rel2.to: "bg";
19323                image {
19324                   normal: "bt_sm_hilight.png";
19325                   border: 6 6 6 0;
19326                }
19327             }
19328             description { state: "selected" 0.0;
19329                inherit: "default" 0.0;
19330                visible: 1;
19331                color: 255 255 255 255;
19332             }
19333          }
19334          part { name: "fg2";
19335             clip_to: "disclip";
19336             mouse_events: 0;
19337             description { state: "default" 0.0;
19338                visible: 0;
19339                color: 255 255 255 0;
19340                rel1.to: "bg";
19341                rel2.to: "bg";
19342                image {
19343                   normal: "bt_sm_shine.png";
19344                   border: 6 6 6 0;
19345                }
19346             }
19347             description { state: "selected" 0.0;
19348                inherit: "default" 0.0;
19349                visible: 1;
19350                color: 255 255 255 255;
19351             }
19352          }
19353          part { name: "disclip";
19354             type: RECT;
19355             description { state: "default" 0.0;
19356                rel1.to: "bg";
19357                rel2.to: "bg";
19358             }
19359             description { state: "disabled" 0.0;
19360                inherit: "default" 0.0;
19361                color: 255 255 255 64;
19362             }
19363          }
19364       }
19365       programs {
19366          // signal: elm,state,%s,active
19367          //   a "check" item named %s went active
19368          // signal: elm,state,%s,passive
19369          //   a "check" item named %s went passive
19370          // default is passive
19371          program {
19372             name:    "go_active";
19373             signal:  "elm,state,selected";
19374             source:  "elm";
19375             action:  STATE_SET "selected" 0.0;
19376             target:  "bg";
19377             target:  "fg1";
19378             target:  "fg2";
19379             target:  "elm.text";
19380             target:  "elm.text.sub";
19381          }
19382          program {
19383             name:    "go_passive";
19384             signal:  "elm,state,unselected";
19385             source:  "elm";
19386             action:  STATE_SET "default" 0.0;
19387             target:  "bg";
19388             target:  "fg1";
19389             target:  "fg2";
19390             target:  "elm.text";
19391             target:  "elm.text.sub";
19392             transition: LINEAR 0.1;
19393          }
19394          program {
19395             name:    "go_disabled";
19396             signal:  "elm,state,disabled";
19397             source:  "elm";
19398             action:  STATE_SET "disabled" 0.0;
19399             target:  "disclip";
19400          }
19401          program {
19402             name:    "go_enabled";
19403             signal:  "elm,state,enabled";
19404             source:  "elm";
19405             action:  STATE_SET "default" 0.0;
19406             target:  "disclip";
19407          }
19408       }
19409    }
19410    group { name: "elm/genlist/item_compress/double_label/default";
19411       data.item: "stacking" "above";
19412       data.item: "selectraise" "on";
19413       data.item: "labels" "elm.text elm.text.sub";
19414       data.item: "icons" "elm.swallow.icon elm.swallow.end";
19415       data.item: "treesize" "20";
19416 //      data.item: "states" "";
19417       images {
19418          image: "bt_sm_base1.png" COMP;
19419          image: "bt_sm_shine.png" COMP;
19420          image: "bt_sm_hilight.png" COMP;
19421          image: "ilist_1.png" COMP;
19422          image: "ilist_item_shadow.png" COMP;
19423       }
19424       parts {
19425          part {
19426             name:           "event";
19427             type:           RECT;
19428             repeat_events: 1;
19429             description {
19430                state: "default" 0.0;
19431                color: 0 0 0 0;
19432             }
19433          }
19434          part {
19435             name: "base_sh";
19436             mouse_events: 0;
19437             description {
19438                state: "default" 0.0;
19439                align: 0.0 0.0;
19440                min: 0 10;
19441                fixed: 1 1;
19442                rel1 {
19443                   to: "base";
19444                   relative: 0.0 1.0;
19445                   offset: 0 0;
19446                }
19447                rel2 {
19448                   to: "base";
19449                   relative: 1.0 1.0;
19450                   offset: -1 0;
19451                }
19452                image {
19453                   normal: "ilist_item_shadow.png";
19454                }
19455                fill.smooth: 0;
19456             }
19457          }
19458          part {
19459             name: "base";
19460             mouse_events: 0;
19461             description {
19462                state: "default" 0.0;
19463                image {
19464                   normal: "ilist_1.png";
19465                   border: 2 2 2 2;
19466                }
19467                fill.smooth: 0;
19468             }
19469          }
19470          part { name: "bg";
19471             clip_to: "disclip";
19472             mouse_events: 0;
19473             description { state: "default" 0.0;
19474                visible: 0;
19475                color: 255 255 255 0;
19476                rel1 {
19477                   relative: 0.0 0.0;
19478                   offset: -5 -5;
19479                }
19480                rel2 {
19481                   relative: 1.0 1.0;
19482                   offset: 4 4;
19483                }
19484                image {
19485                   normal: "bt_sm_base1.png";
19486                   border: 6 6 6 6;
19487                }
19488                image.middle: SOLID;
19489             }
19490             description { state: "selected" 0.0;
19491                inherit: "default" 0.0;
19492                visible: 1;
19493                color: 255 255 255 255;
19494                rel1 {
19495                   relative: 0.0 0.0;
19496                   offset: -2 -2;
19497                }
19498                rel2 {
19499                   relative: 1.0 1.0;
19500                   offset: 1 1;
19501                }
19502             }
19503          }
19504          part { name: "elm.swallow.pad";
19505             type: SWALLOW;
19506             description { state: "default" 0.0;
19507                fixed: 1 0;
19508                align: 0.0 0.5;
19509                rel1 {
19510                   relative: 0.0  0.0;
19511                   offset:   4    4;
19512                }
19513                rel2 {
19514                   relative: 0.0  1.0;
19515                   offset:   4   -5;
19516                }
19517             }
19518          }
19519          part { name: "elm.swallow.icon";
19520             clip_to: "disclip";
19521             type: SWALLOW;
19522             description { state: "default" 0.0;
19523                fixed: 1 0;
19524                align: 0.0 0.5;
19525                rel1 {
19526                   to_x: "elm.swallow.pad";
19527                   relative: 1.0  0.0;
19528                   offset:   -1    4;
19529                }
19530                rel2 {
19531                   to_x: "elm.swallow.pad";
19532                   relative: 1.0  1.0;
19533                   offset:   -1   -5;
19534                }
19535             }
19536          }
19537          part { name: "elm.swallow.end";
19538             clip_to: "disclip";
19539             type: SWALLOW;
19540             description { state: "default" 0.0;
19541                fixed: 1 0;
19542                align: 1.0 0.5;
19543                aspect: 1.0 1.0;
19544                aspect_preference: VERTICAL;
19545                rel1 {
19546                   relative: 1.0  0.0;
19547                   offset:   -5    4;
19548                }
19549                rel2 {
19550                   relative: 1.0  1.0;
19551                   offset:   -5   -5;
19552                }
19553             }
19554          }
19555          part { name: "elm.text";
19556             clip_to: "disclip";
19557             type:           TEXT;
19558             effect:         SOFT_SHADOW;
19559             mouse_events:   0;
19560             scale: 1;
19561             description {
19562                state: "default" 0.0;
19563 //               min: 16 16;
19564                rel1 {
19565                   to_x:     "elm.swallow.icon";
19566                   relative: 1.0  0.0;
19567                   offset:   0 4;
19568                }
19569                rel2 {
19570                   to_x:     "elm.swallow.end";
19571                   relative: 0.0  0.5;
19572                   offset:   -1 -5;
19573                }
19574                color: 0 0 0 255;
19575                color3: 0 0 0 0;
19576                text {
19577                   font: "Sans";
19578                   size: 10;
19579 //                  min: 1 1;
19580                   min: 0 1;
19581                   align: 0.0 0.5;
19582                   text_class: "list_item";
19583                }
19584             }
19585             description { state: "selected" 0.0;
19586                inherit: "default" 0.0;
19587                color: 224 224 224 255;
19588                color3: 0 0 0 64;
19589             }
19590          }
19591          part { name: "elm.text.sub";
19592             clip_to: "disclip";
19593             type:           TEXT;
19594             mouse_events:   0;
19595             scale: 1;
19596             description {
19597                state: "default" 0.0;
19598 //               min: 16 16;
19599                rel1 {
19600                   to_x:     "elm.swallow.icon";
19601                   relative: 1.0  0.5;
19602                   offset:   0 4;
19603                }
19604                rel2 {
19605                   to_x:     "elm.swallow.end";
19606                   relative: 0.0  1.0;
19607                   offset:   -1 -5;
19608                }
19609                color: 0 0 0 128;
19610                color3: 0 0 0 0;
19611                text {
19612                   font: "Sans";
19613                   size: 8;
19614 //                  min: 1 1;
19615                   min: 0 1;
19616                   align: 0.0 0.5;
19617                   text_class: "list_item";
19618                }
19619             }
19620             description { state: "selected" 0.0;
19621                inherit: "default" 0.0;
19622                color: 128 128 128 255;
19623                color3: 0 0 0 32;
19624             }
19625          }
19626          part { name: "fg1";
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.relative: 1.0 0.5;
19634                rel2.to: "bg";
19635                image {
19636                   normal: "bt_sm_hilight.png";
19637                   border: 6 6 6 0;
19638                }
19639             }
19640             description { state: "selected" 0.0;
19641                inherit: "default" 0.0;
19642                visible: 1;
19643                color: 255 255 255 255;
19644             }
19645          }
19646          part { name: "fg2";
19647             clip_to: "disclip";
19648             mouse_events: 0;
19649             description { state: "default" 0.0;
19650                visible: 0;
19651                color: 255 255 255 0;
19652                rel1.to: "bg";
19653                rel2.to: "bg";
19654                image {
19655                   normal: "bt_sm_shine.png";
19656                   border: 6 6 6 0;
19657                }
19658             }
19659             description { state: "selected" 0.0;
19660                inherit: "default" 0.0;
19661                visible: 1;
19662                color: 255 255 255 255;
19663             }
19664          }
19665          part { name: "disclip";
19666             type: RECT;
19667             description { state: "default" 0.0;
19668                rel1.to: "bg";
19669                rel2.to: "bg";
19670             }
19671             description { state: "disabled" 0.0;
19672                inherit: "default" 0.0;
19673                color: 255 255 255 64;
19674             }
19675          }
19676       }
19677       programs {
19678          // signal: elm,state,%s,active
19679          //   a "check" item named %s went active
19680          // signal: elm,state,%s,passive
19681          //   a "check" item named %s went passive
19682          // default is passive
19683          program {
19684             name:    "go_active";
19685             signal:  "elm,state,selected";
19686             source:  "elm";
19687             action:  STATE_SET "selected" 0.0;
19688             target:  "bg";
19689             target:  "fg1";
19690             target:  "fg2";
19691             target:  "elm.text";
19692             target:  "elm.text.sub";
19693          }
19694          program {
19695             name:    "go_passive";
19696             signal:  "elm,state,unselected";
19697             source:  "elm";
19698             action:  STATE_SET "default" 0.0;
19699             target:  "bg";
19700             target:  "fg1";
19701             target:  "fg2";
19702             target:  "elm.text";
19703             target:  "elm.text.sub";
19704             transition: LINEAR 0.1;
19705          }
19706          program {
19707             name:    "go_disabled";
19708             signal:  "elm,state,disabled";
19709             source:  "elm";
19710             action:  STATE_SET "disabled" 0.0;
19711             target:  "disclip";
19712          }
19713          program {
19714             name:    "go_enabled";
19715             signal:  "elm,state,enabled";
19716             source:  "elm";
19717             action:  STATE_SET "default" 0.0;
19718             target:  "disclip";
19719          }
19720       }
19721    }
19722    group { name: "elm/genlist/item_odd/double_label/default";
19723       data.item: "stacking" "below";
19724       data.item: "selectraise" "on";
19725       data.item: "labels" "elm.text elm.text.sub";
19726       data.item: "icons" "elm.swallow.icon elm.swallow.end";
19727       data.item: "treesize" "20";
19728 //      data.item: "states" "";
19729       images {
19730          image: "bt_sm_base1.png" COMP;
19731          image: "bt_sm_shine.png" COMP;
19732          image: "bt_sm_hilight.png" COMP;
19733          image: "ilist_2.png" COMP;
19734       }
19735       parts {
19736          part { name: "event";
19737             type: RECT;
19738             repeat_events: 1;
19739             description {
19740                state: "default" 0.0;
19741                color: 0 0 0 0;
19742             }
19743          }
19744          part {
19745             name: "base";
19746             mouse_events: 0;
19747             description {
19748                state: "default" 0.0;
19749                image {
19750                   normal: "ilist_2.png";
19751                   border: 2 2 2 2;
19752                }
19753                fill.smooth: 0;
19754             }
19755          }
19756          part { name: "bg";
19757             clip_to: "disclip";
19758             mouse_events: 0;
19759             description { state: "default" 0.0;
19760                visible: 0;
19761                color: 255 255 255 0;
19762                rel1 {
19763                   relative: 0.0 0.0;
19764                   offset: -5 -5;
19765                }
19766                rel2 {
19767                   relative: 1.0 1.0;
19768                   offset: 4 4;
19769                }
19770                image {
19771                   normal: "bt_sm_base1.png";
19772                   border: 6 6 6 6;
19773                }
19774                image.middle: SOLID;
19775             }
19776             description { state: "selected" 0.0;
19777                inherit: "default" 0.0;
19778                visible: 1;
19779                color: 255 255 255 255;
19780                rel1 {
19781                   relative: 0.0 0.0;
19782                   offset: -2 -2;
19783                }
19784                rel2 {
19785                   relative: 1.0 1.0;
19786                   offset: 1 1;
19787                }
19788             }
19789          }
19790          part { name: "elm.swallow.pad";
19791             type: SWALLOW;
19792             description { state: "default" 0.0;
19793                fixed: 1 0;
19794                align: 0.0 0.5;
19795                rel1 {
19796                   relative: 0.0  0.0;
19797                   offset:   4    4;
19798                }
19799                rel2 {
19800                   relative: 0.0  1.0;
19801                   offset:   4   -5;
19802                }
19803             }
19804          }
19805          part { name: "elm.swallow.icon";
19806             clip_to: "disclip";
19807             type: SWALLOW;
19808             description { state: "default" 0.0;
19809                fixed: 1 0;
19810                align: 0.0 0.5;
19811                rel1 {
19812                   to_x: "elm.swallow.pad";
19813                   relative: 1.0  0.0;
19814                   offset:   -1    4;
19815                }
19816                rel2 {
19817                   to_x: "elm.swallow.pad";
19818                   relative: 1.0  1.0;
19819                   offset:   -1   -5;
19820                }
19821             }
19822          }
19823          part { name: "elm.swallow.end";
19824             clip_to: "disclip";
19825             type:          SWALLOW;
19826             description { state:    "default" 0.0;
19827                fixed: 1 0;
19828                align:    1.0 0.5;
19829                aspect: 1.0 1.0;
19830                aspect_preference: VERTICAL;
19831                rel1 {
19832                   relative: 1.0  0.0;
19833                   offset:   -5    4;
19834                }
19835                rel2 {
19836                   relative: 1.0  1.0;
19837                   offset:   -5   -5;
19838                }
19839             }
19840          }
19841          part { name: "elm.text";
19842             clip_to: "disclip";
19843             type:           TEXT;
19844             effect:         SOFT_SHADOW;
19845             mouse_events:   0;
19846             scale: 1;
19847             description {
19848                state: "default" 0.0;
19849 //               min: 16 16;
19850                rel1 {
19851                   to_x:     "elm.swallow.icon";
19852                   relative: 1.0  0.0;
19853                   offset:   0 4;
19854                }
19855                rel2 {
19856                   to_x:     "elm.swallow.end";
19857                   relative: 0.0  0.5;
19858                   offset:   -1 -5;
19859                }
19860                color: 0 0 0 255;
19861                color3: 0 0 0 0;
19862                text {
19863                   font: "Sans";
19864                   size: 10;
19865                   min: 1 1;
19866 //                  min: 0 1;
19867                   align: 0.0 0.5;
19868                   text_class: "list_item";
19869                }
19870             }
19871             description { state: "selected" 0.0;
19872                inherit: "default" 0.0;
19873                color: 224 224 224 255;
19874                color3: 0 0 0 64;
19875             }
19876          }
19877          part { name: "elm.text.sub";
19878             clip_to: "disclip";
19879             type:           TEXT;
19880             mouse_events:   0;
19881             scale: 1;
19882             description {
19883                state: "default" 0.0;
19884 //               min: 16 16;
19885                rel1 {
19886                   to_x:     "elm.swallow.icon";
19887                   relative: 1.0  0.5;
19888                   offset:   0 4;
19889                }
19890                rel2 {
19891                   to_x:     "elm.swallow.end";
19892                   relative: 0.0  1.0;
19893                   offset:   -1 -5;
19894                }
19895                color: 0 0 0 128;
19896                color3: 0 0 0 0;
19897                text {
19898                   font: "Sans";
19899                   size: 8;
19900                   min: 1 1;
19901 //                  min: 0 1;
19902                   align: 0.0 0.5;
19903                   text_class: "list_item";
19904                }
19905             }
19906             description { state: "selected" 0.0;
19907                inherit: "default" 0.0;
19908                color: 128 128 128 255;
19909                color3: 0 0 0 32;
19910             }
19911          }
19912          part { name: "fg1";
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.relative: 1.0 0.5;
19920                rel2.to: "bg";
19921                image {
19922                   normal: "bt_sm_hilight.png";
19923                   border: 6 6 6 0;
19924                }
19925             }
19926             description { state: "selected" 0.0;
19927                inherit: "default" 0.0;
19928                visible: 1;
19929                color: 255 255 255 255;
19930             }
19931          }
19932          part { name: "fg2";
19933             clip_to: "disclip";
19934             mouse_events: 0;
19935             description { state: "default" 0.0;
19936                visible: 0;
19937                color: 255 255 255 0;
19938                rel1.to: "bg";
19939                rel2.to: "bg";
19940                image {
19941                   normal: "bt_sm_shine.png";
19942                   border: 6 6 6 0;
19943                }
19944             }
19945             description { state: "selected" 0.0;
19946                inherit: "default" 0.0;
19947                visible: 1;
19948                color: 255 255 255 255;
19949             }
19950          }
19951          part { name: "disclip";
19952             type: RECT;
19953             description { state: "default" 0.0;
19954                rel1.to: "bg";
19955                rel2.to: "bg";
19956             }
19957             description { state: "disabled" 0.0;
19958                inherit: "default" 0.0;
19959                color: 255 255 255 64;
19960             }
19961          }
19962       }
19963       programs {
19964          // signal: elm,state,%s,active
19965          //   a "check" item named %s went active
19966          // signal: elm,state,%s,passive
19967          //   a "check" item named %s went passive
19968          // default is passive
19969          program {
19970             name:    "go_active";
19971             signal:  "elm,state,selected";
19972             source:  "elm";
19973             action:  STATE_SET "selected" 0.0;
19974             target:  "bg";
19975             target:  "fg1";
19976             target:  "fg2";
19977             target:  "elm.text";
19978             target:  "elm.text.sub";
19979          }
19980          program {
19981             name:    "go_passive";
19982             signal:  "elm,state,unselected";
19983             source:  "elm";
19984             action:  STATE_SET "default" 0.0;
19985             target:  "bg";
19986             target:  "fg1";
19987             target:  "fg2";
19988             target:  "elm.text";
19989             target:  "elm.text.sub";
19990             transition: LINEAR 0.1;
19991          }
19992          program {
19993             name:    "go_disabled";
19994             signal:  "elm,state,disabled";
19995             source:  "elm";
19996             action:  STATE_SET "disabled" 0.0;
19997             target:  "disclip";
19998          }
19999          program {
20000             name:    "go_enabled";
20001             signal:  "elm,state,enabled";
20002             source:  "elm";
20003             action:  STATE_SET "default" 0.0;
20004             target:  "disclip";
20005          }
20006       }
20007    }
20008    group { name: "elm/genlist/item_compress_odd/double_label/default";
20009       data.item: "stacking" "below";
20010       data.item: "selectraise" "on";
20011       data.item: "labels" "elm.text elm.text.sub";
20012       data.item: "icons" "elm.swallow.icon elm.swallow.end";
20013       data.item: "treesize" "20";
20014 //      data.item: "states" "";
20015       images {
20016          image: "bt_sm_base1.png" COMP;
20017          image: "bt_sm_shine.png" COMP;
20018          image: "bt_sm_hilight.png" COMP;
20019          image: "ilist_2.png" COMP;
20020       }
20021       parts {
20022          part { name: "event";
20023             type: RECT;
20024             repeat_events: 1;
20025             description {
20026                state: "default" 0.0;
20027                color: 0 0 0 0;
20028             }
20029          }
20030          part {
20031             name: "base";
20032             mouse_events: 0;
20033             description {
20034                state: "default" 0.0;
20035                image {
20036                   normal: "ilist_2.png";
20037                   border: 2 2 2 2;
20038                }
20039                fill.smooth: 0;
20040             }
20041          }
20042          part { name: "bg";
20043             clip_to: "disclip";
20044             mouse_events: 0;
20045             description { state: "default" 0.0;
20046                visible: 0;
20047                color: 255 255 255 0;
20048                rel1 {
20049                   relative: 0.0 0.0;
20050                   offset: -5 -5;
20051                }
20052                rel2 {
20053                   relative: 1.0 1.0;
20054                   offset: 4 4;
20055                }
20056                image {
20057                   normal: "bt_sm_base1.png";
20058                   border: 6 6 6 6;
20059                }
20060                image.middle: SOLID;
20061             }
20062             description { state: "selected" 0.0;
20063                inherit: "default" 0.0;
20064                visible: 1;
20065                color: 255 255 255 255;
20066                rel1 {
20067                   relative: 0.0 0.0;
20068                   offset: -2 -2;
20069                }
20070                rel2 {
20071                   relative: 1.0 1.0;
20072                   offset: 1 1;
20073                }
20074             }
20075          }
20076          part { name: "elm.swallow.pad";
20077             type: SWALLOW;
20078             description { state: "default" 0.0;
20079                fixed: 1 0;
20080                align: 0.0 0.5;
20081                rel1 {
20082                   relative: 0.0  0.0;
20083                   offset:   4    4;
20084                }
20085                rel2 {
20086                   relative: 0.0  1.0;
20087                   offset:   4   -5;
20088                }
20089             }
20090          }
20091          part { name: "elm.swallow.icon";
20092             clip_to: "disclip";
20093             type: SWALLOW;
20094             description { state: "default" 0.0;
20095                fixed: 1 0;
20096                align: 0.0 0.5;
20097                rel1 {
20098                   to_x: "elm.swallow.pad";
20099                   relative: 1.0  0.0;
20100                   offset:   -1    4;
20101                }
20102                rel2 {
20103                   to_x: "elm.swallow.pad";
20104                   relative: 1.0  1.0;
20105                   offset:   -1   -5;
20106                }
20107             }
20108          }
20109          part { name: "elm.swallow.end";
20110             clip_to: "disclip";
20111             type:          SWALLOW;
20112             description { state:    "default" 0.0;
20113                fixed: 1 0;
20114                align:    1.0 0.5;
20115                aspect: 1.0 1.0;
20116                aspect_preference: VERTICAL;
20117                rel1 {
20118                   relative: 1.0  0.0;
20119                   offset:   -5    4;
20120                }
20121                rel2 {
20122                   relative: 1.0  1.0;
20123                   offset:   -5   -5;
20124                }
20125             }
20126          }
20127          part { name: "elm.text";
20128             clip_to: "disclip";
20129             type:           TEXT;
20130             effect:         SOFT_SHADOW;
20131             mouse_events:   0;
20132             scale: 1;
20133             description {
20134                state: "default" 0.0;
20135 //               min: 16 16;
20136                rel1 {
20137                   to_x:     "elm.swallow.icon";
20138                   relative: 1.0  0.0;
20139                   offset:   0 4;
20140                }
20141                rel2 {
20142                   to_x:     "elm.swallow.end";
20143                   relative: 0.0  0.5;
20144                   offset:   -1 -5;
20145                }
20146                color: 0 0 0 255;
20147                color3: 0 0 0 0;
20148                text {
20149                   font: "Sans";
20150                   size: 10;
20151 //                  min: 1 1;
20152                   min: 0 1;
20153                   align: 0.0 0.5;
20154                   text_class: "list_item";
20155                }
20156             }
20157             description { state: "selected" 0.0;
20158                inherit: "default" 0.0;
20159                color: 224 224 224 255;
20160                color3: 0 0 0 64;
20161             }
20162          }
20163          part { name: "elm.text.sub";
20164             clip_to: "disclip";
20165             type:           TEXT;
20166             mouse_events:   0;
20167             scale: 1;
20168             description {
20169                state: "default" 0.0;
20170 //               min: 16 16;
20171                rel1 {
20172                   to_x:     "elm.swallow.icon";
20173                   relative: 1.0  0.5;
20174                   offset:   0 4;
20175                }
20176                rel2 {
20177                   to_x:     "elm.swallow.end";
20178                   relative: 0.0  1.0;
20179                   offset:   -1 -5;
20180                }
20181                color: 0 0 0 128;
20182                color3: 0 0 0 0;
20183                text {
20184                   font: "Sans";
20185                   size: 8;
20186 //                  min: 1 1;
20187                   min: 0 1;
20188                   align: 0.0 0.5;
20189                   text_class: "list_item";
20190                }
20191             }
20192             description { state: "selected" 0.0;
20193                inherit: "default" 0.0;
20194                color: 128 128 128 255;
20195                color3: 0 0 0 32;
20196             }
20197          }
20198          part { name: "fg1";
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.relative: 1.0 0.5;
20206                rel2.to: "bg";
20207                image {
20208                   normal: "bt_sm_hilight.png";
20209                   border: 6 6 6 0;
20210                }
20211             }
20212             description { state: "selected" 0.0;
20213                inherit: "default" 0.0;
20214                visible: 1;
20215                color: 255 255 255 255;
20216             }
20217          }
20218          part { name: "fg2";
20219             clip_to: "disclip";
20220             mouse_events: 0;
20221             description { state: "default" 0.0;
20222                visible: 0;
20223                color: 255 255 255 0;
20224                rel1.to: "bg";
20225                rel2.to: "bg";
20226                image {
20227                   normal: "bt_sm_shine.png";
20228                   border: 6 6 6 0;
20229                }
20230             }
20231             description { state: "selected" 0.0;
20232                inherit: "default" 0.0;
20233                visible: 1;
20234                color: 255 255 255 255;
20235             }
20236          }
20237          part { name: "disclip";
20238             type: RECT;
20239             description { state: "default" 0.0;
20240                rel1.to: "bg";
20241                rel2.to: "bg";
20242             }
20243             description { state: "disabled" 0.0;
20244                inherit: "default" 0.0;
20245                color: 255 255 255 64;
20246             }
20247          }
20248       }
20249       programs {
20250          // signal: elm,state,%s,active
20251          //   a "check" item named %s went active
20252          // signal: elm,state,%s,passive
20253          //   a "check" item named %s went passive
20254          // default is passive
20255          program {
20256             name:    "go_active";
20257             signal:  "elm,state,selected";
20258             source:  "elm";
20259             action:  STATE_SET "selected" 0.0;
20260             target:  "bg";
20261             target:  "fg1";
20262             target:  "fg2";
20263             target:  "elm.text";
20264             target:  "elm.text.sub";
20265          }
20266          program {
20267             name:    "go_passive";
20268             signal:  "elm,state,unselected";
20269             source:  "elm";
20270             action:  STATE_SET "default" 0.0;
20271             target:  "bg";
20272             target:  "fg1";
20273             target:  "fg2";
20274             target:  "elm.text";
20275             target:  "elm.text.sub";
20276             transition: LINEAR 0.1;
20277          }
20278          program {
20279             name:    "go_disabled";
20280             signal:  "elm,state,disabled";
20281             source:  "elm";
20282             action:  STATE_SET "disabled" 0.0;
20283             target:  "disclip";
20284          }
20285          program {
20286             name:    "go_enabled";
20287             signal:  "elm,state,enabled";
20288             source:  "elm";
20289             action:  STATE_SET "default" 0.0;
20290             target:  "disclip";
20291          }
20292       }
20293    }
20294
20295    group { name: "elm/genlist/tree/double_label/default";
20296       data.item: "stacking" "above";
20297       data.item: "selectraise" "on";
20298       data.item: "labels" "elm.text elm.text.sub";
20299       data.item: "icons" "elm.swallow.icon elm.swallow.end";
20300       data.item: "treesize" "20";
20301 //      data.item: "states" "";
20302       images {
20303          image: "bt_sm_base1.png" COMP;
20304          image: "bt_sm_shine.png" COMP;
20305          image: "bt_sm_hilight.png" COMP;
20306          image: "ilist_1.png" COMP;
20307          image: "ilist_item_shadow.png" COMP;
20308          image: "icon_arrow_right.png" COMP;
20309          image: "icon_arrow_down.png" COMP;
20310       }
20311       parts {
20312          part {
20313             name:           "event";
20314             type:           RECT;
20315             repeat_events: 1;
20316             description {
20317                state: "default" 0.0;
20318                color: 0 0 0 0;
20319             }
20320          }
20321          part {
20322             name: "base_sh";
20323             mouse_events: 0;
20324             description {
20325                state: "default" 0.0;
20326                align: 0.0 0.0;
20327                min: 0 10;
20328                fixed: 1 1;
20329                rel1 {
20330                   to: "base";
20331                   relative: 0.0 1.0;
20332                   offset: 0 0;
20333                }
20334                rel2 {
20335                   to: "base";
20336                   relative: 1.0 1.0;
20337                   offset: -1 0;
20338                }
20339                image {
20340                   normal: "ilist_item_shadow.png";
20341                }
20342                fill.smooth: 0;
20343             }
20344          }
20345          part {
20346             name: "base";
20347             mouse_events: 0;
20348             description {
20349                state: "default" 0.0;
20350                image {
20351                   normal: "ilist_1.png";
20352                   border: 2 2 2 2;
20353                }
20354                fill.smooth: 0;
20355             }
20356          }
20357          part { name: "bg";
20358             clip_to: "disclip";
20359             mouse_events: 0;
20360             description { state: "default" 0.0;
20361                visible: 0;
20362                color: 255 255 255 0;
20363                rel1 {
20364                   relative: 0.0 0.0;
20365                   offset: -5 -5;
20366                }
20367                rel2 {
20368                   relative: 1.0 1.0;
20369                   offset: 4 4;
20370                }
20371                image {
20372                   normal: "bt_sm_base1.png";
20373                   border: 6 6 6 6;
20374                }
20375                image.middle: SOLID;
20376             }
20377             description { state: "selected" 0.0;
20378                inherit: "default" 0.0;
20379                visible: 1;
20380                color: 255 255 255 255;
20381                rel1 {
20382                   relative: 0.0 0.0;
20383                   offset: -2 -2;
20384                }
20385                rel2 {
20386                   relative: 1.0 1.0;
20387                   offset: 1 1;
20388                }
20389             }
20390          }
20391          part { name: "elm.swallow.pad";
20392             type: SWALLOW;
20393             description { state: "default" 0.0;
20394                fixed: 1 0;
20395                align: 0.0 0.5;
20396                rel1 {
20397                   relative: 0.0  0.0;
20398                   offset:   4    4;
20399                }
20400                rel2 {
20401                   relative: 0.0  1.0;
20402                   offset:   4   -5;
20403                }
20404             }
20405          }
20406          part { name: "arrow";
20407             clip_to: "disclip";
20408             ignore_flags: ON_HOLD;
20409             description { state: "default" 0.0;
20410                fixed: 1 0;
20411                align: 0.0 0.5;
20412                aspect: 1.0 1.0;
20413                rel1 {
20414                   to_x: "elm.swallow.pad";
20415                   relative: 1.0  0.0;
20416                   offset:   -1    4;
20417                }
20418                rel2 {
20419                   to_x: "elm.swallow.pad";
20420                   relative: 1.0  1.0;
20421                   offset:   -1   -5;
20422                }
20423                image.normal: "icon_arrow_right.png";
20424             }
20425             description { state: "active" 0.0;
20426                inherit: "default" 0.0;
20427                image.normal: "icon_arrow_down.png";
20428             }
20429          }
20430          part { name: "elm.swallow.icon";
20431             clip_to: "disclip";
20432             type: SWALLOW;
20433             description { state: "default" 0.0;
20434                fixed: 1 0;
20435                align: 0.0 0.5;
20436                rel1 {
20437                   to_x: "arrow";
20438                   relative: 1.0  0.0;
20439                   offset:   4    4;
20440                }
20441                rel2 {
20442                   to_x: "arrow";
20443                   relative: 1.0  1.0;
20444                   offset:   4   -5;
20445                }
20446             }
20447          }
20448          part { name: "elm.swallow.end";
20449             clip_to: "disclip";
20450             type: SWALLOW;
20451             description { state: "default" 0.0;
20452                fixed: 1 0;
20453                align: 1.0 0.5;
20454                aspect: 1.0 1.0;
20455                aspect_preference: VERTICAL;
20456                rel1 {
20457                   relative: 1.0  0.0;
20458                   offset:   -5    4;
20459                }
20460                rel2 {
20461                   relative: 1.0  1.0;
20462                   offset:   -5   -5;
20463                }
20464             }
20465          }
20466          part { name: "elm.text";
20467             clip_to: "disclip";
20468             type:           TEXT;
20469             effect:         SOFT_SHADOW;
20470             mouse_events:   0;
20471             scale: 1;
20472             description {
20473                state: "default" 0.0;
20474 //               min: 16 16;
20475                rel1 {
20476                   to_x:     "elm.swallow.icon";
20477                   relative: 1.0  0.0;
20478                   offset:   0 4;
20479                }
20480                rel2 {
20481                   to_x:     "elm.swallow.end";
20482                   relative: 0.0  0.5;
20483                   offset:   -1 -5;
20484                }
20485                color: 0 0 0 255;
20486                color3: 0 0 0 0;
20487                text {
20488                   font: "Sans";
20489                   size: 10;
20490                   min: 1 1;
20491 //                  min: 0 1;
20492                   align: 0.0 0.5;
20493                   text_class: "list_item";
20494                }
20495             }
20496             description { state: "selected" 0.0;
20497                inherit: "default" 0.0;
20498                color: 224 224 224 255;
20499                color3: 0 0 0 64;
20500             }
20501          }
20502          part { name: "elm.text.sub";
20503             clip_to: "disclip";
20504             type:           TEXT;
20505             mouse_events:   0;
20506             scale: 1;
20507             description {
20508                state: "default" 0.0;
20509 //               min: 16 16;
20510                rel1 {
20511                   to_x:     "elm.swallow.icon";
20512                   relative: 1.0  0.5;
20513                   offset:   0 4;
20514                }
20515                rel2 {
20516                   to_x:     "elm.swallow.end";
20517                   relative: 0.0  1.0;
20518                   offset:   -1 -5;
20519                }
20520                color: 0 0 0 128;
20521                color3: 0 0 0 0;
20522                text {
20523                   font: "Sans";
20524                   size: 8;
20525                   min: 1 1;
20526 //                  min: 0 1;
20527                   align: 0.0 0.5;
20528                   text_class: "list_item";
20529                }
20530             }
20531             description { state: "selected" 0.0;
20532                inherit: "default" 0.0;
20533                color: 128 128 128 255;
20534                color3: 0 0 0 32;
20535             }
20536          }
20537          part { name: "fg1";
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.relative: 1.0 0.5;
20545                rel2.to: "bg";
20546                image {
20547                   normal: "bt_sm_hilight.png";
20548                   border: 6 6 6 0;
20549                }
20550             }
20551             description { state: "selected" 0.0;
20552                inherit: "default" 0.0;
20553                visible: 1;
20554                color: 255 255 255 255;
20555             }
20556          }
20557          part { name: "fg2";
20558             clip_to: "disclip";
20559             mouse_events: 0;
20560             description { state: "default" 0.0;
20561                visible: 0;
20562                color: 255 255 255 0;
20563                rel1.to: "bg";
20564                rel2.to: "bg";
20565                image {
20566                   normal: "bt_sm_shine.png";
20567                   border: 6 6 6 0;
20568                }
20569             }
20570             description { state: "selected" 0.0;
20571                inherit: "default" 0.0;
20572                visible: 1;
20573                color: 255 255 255 255;
20574             }
20575          }
20576          part { name: "disclip";
20577             type: RECT;
20578             description { state: "default" 0.0;
20579                rel1.to: "bg";
20580                rel2.to: "bg";
20581             }
20582             description { state: "disabled" 0.0;
20583                inherit: "default" 0.0;
20584                color: 255 255 255 64;
20585             }
20586          }
20587       }
20588       programs {
20589          // signal: elm,state,%s,active
20590          //   a "check" item named %s went active
20591          // signal: elm,state,%s,passive
20592          //   a "check" item named %s went passive
20593          // default is passive
20594          program {
20595             name:    "go_active";
20596             signal:  "elm,state,selected";
20597             source:  "elm";
20598             action:  STATE_SET "selected" 0.0;
20599             target:  "bg";
20600             target:  "fg1";
20601             target:  "fg2";
20602             target:  "elm.text";
20603             target:  "elm.text.sub";
20604          }
20605          program {
20606             name:    "go_passive";
20607             signal:  "elm,state,unselected";
20608             source:  "elm";
20609             action:  STATE_SET "default" 0.0;
20610             target:  "bg";
20611             target:  "fg1";
20612             target:  "fg2";
20613             target:  "elm.text";
20614             target:  "elm.text.sub";
20615             transition: LINEAR 0.1;
20616          }
20617          program {
20618             name:    "go_disabled";
20619             signal:  "elm,state,disabled";
20620             source:  "elm";
20621             action:  STATE_SET "disabled" 0.0;
20622             target:  "disclip";
20623          }
20624          program {
20625             name:    "go_enabled";
20626             signal:  "elm,state,enabled";
20627             source:  "elm";
20628             action:  STATE_SET "default" 0.0;
20629             target:  "disclip";
20630          }
20631          program {
20632             name:    "expand";
20633             signal:  "mouse,up,1";
20634             source:  "arrow";
20635             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
20636          }
20637          program {
20638             name:    "go_expanded";
20639             signal:  "elm,state,expanded";
20640             source:  "elm";
20641             action:  STATE_SET "active" 0.0;
20642             target:  "arrow";
20643          }
20644          program {
20645             name:    "go_contracted";
20646             signal:  "elm,state,contracted";
20647             source:  "elm";
20648             action:  STATE_SET "default" 0.0;
20649             target:  "arrow";
20650          }
20651       }
20652    }
20653    group { name: "elm/genlist/tree_compress/double_label/default";
20654       data.item: "stacking" "above";
20655       data.item: "selectraise" "on";
20656       data.item: "labels" "elm.text elm.text.sub";
20657       data.item: "icons" "elm.swallow.icon elm.swallow.end";
20658       data.item: "treesize" "20";
20659 //      data.item: "states" "";
20660       images {
20661          image: "bt_sm_base1.png" COMP;
20662          image: "bt_sm_shine.png" COMP;
20663          image: "bt_sm_hilight.png" COMP;
20664          image: "ilist_1.png" COMP;
20665          image: "ilist_item_shadow.png" COMP;
20666          image: "icon_arrow_right.png" COMP;
20667          image: "icon_arrow_down.png" COMP;
20668       }
20669       parts {
20670          part {
20671             name:           "event";
20672             type:           RECT;
20673             repeat_events: 1;
20674             description {
20675                state: "default" 0.0;
20676                color: 0 0 0 0;
20677             }
20678          }
20679          part {
20680             name: "base_sh";
20681             mouse_events: 0;
20682             description {
20683                state: "default" 0.0;
20684                align: 0.0 0.0;
20685                min: 0 10;
20686                fixed: 1 1;
20687                rel1 {
20688                   to: "base";
20689                   relative: 0.0 1.0;
20690                   offset: 0 0;
20691                }
20692                rel2 {
20693                   to: "base";
20694                   relative: 1.0 1.0;
20695                   offset: -1 0;
20696                }
20697                image {
20698                   normal: "ilist_item_shadow.png";
20699                }
20700                fill.smooth: 0;
20701             }
20702          }
20703          part {
20704             name: "base";
20705             mouse_events: 0;
20706             description {
20707                state: "default" 0.0;
20708                image {
20709                   normal: "ilist_1.png";
20710                   border: 2 2 2 2;
20711                }
20712                fill.smooth: 0;
20713             }
20714          }
20715          part { name: "bg";
20716             clip_to: "disclip";
20717             mouse_events: 0;
20718             description { state: "default" 0.0;
20719                visible: 0;
20720                color: 255 255 255 0;
20721                rel1 {
20722                   relative: 0.0 0.0;
20723                   offset: -5 -5;
20724                }
20725                rel2 {
20726                   relative: 1.0 1.0;
20727                   offset: 4 4;
20728                }
20729                image {
20730                   normal: "bt_sm_base1.png";
20731                   border: 6 6 6 6;
20732                }
20733                image.middle: SOLID;
20734             }
20735             description { state: "selected" 0.0;
20736                inherit: "default" 0.0;
20737                visible: 1;
20738                color: 255 255 255 255;
20739                rel1 {
20740                   relative: 0.0 0.0;
20741                   offset: -2 -2;
20742                }
20743                rel2 {
20744                   relative: 1.0 1.0;
20745                   offset: 1 1;
20746                }
20747             }
20748          }
20749          part { name: "elm.swallow.pad";
20750             type: SWALLOW;
20751             description { state: "default" 0.0;
20752                fixed: 1 0;
20753                align: 0.0 0.5;
20754                rel1 {
20755                   relative: 0.0  0.0;
20756                   offset:   4    4;
20757                }
20758                rel2 {
20759                   relative: 0.0  1.0;
20760                   offset:   4   -5;
20761                }
20762             }
20763          }
20764          part { name: "arrow";
20765             clip_to: "disclip";
20766             ignore_flags: ON_HOLD;
20767             description { state: "default" 0.0;
20768                fixed: 1 0;
20769                align: 0.0 0.5;
20770                aspect: 1.0 1.0;
20771                rel1 {
20772                   to_x: "elm.swallow.pad";
20773                   relative: 1.0  0.0;
20774                   offset:   -1    4;
20775                }
20776                rel2 {
20777                   to_x: "elm.swallow.pad";
20778                   relative: 1.0  1.0;
20779                   offset:   -1   -5;
20780                }
20781                image.normal: "icon_arrow_right.png";
20782             }
20783             description { state: "active" 0.0;
20784                inherit: "default" 0.0;
20785                image.normal: "icon_arrow_down.png";
20786             }
20787          }
20788          part { name: "elm.swallow.icon";
20789             clip_to: "disclip";
20790             type: SWALLOW;
20791             description { state: "default" 0.0;
20792                fixed: 1 0;
20793                align: 0.0 0.5;
20794                rel1 {
20795                   to_x: "arrow";
20796                   relative: 1.0  0.0;
20797                   offset:   4    4;
20798                }
20799                rel2 {
20800                   to_x: "arrow";
20801                   relative: 1.0  1.0;
20802                   offset:   4   -5;
20803                }
20804             }
20805          }
20806          part { name: "elm.swallow.end";
20807             clip_to: "disclip";
20808             type: SWALLOW;
20809             description { state: "default" 0.0;
20810                fixed: 1 0;
20811                align: 1.0 0.5;
20812                aspect: 1.0 1.0;
20813                aspect_preference: VERTICAL;
20814                rel1 {
20815                   relative: 1.0  0.0;
20816                   offset:   -5    4;
20817                }
20818                rel2 {
20819                   relative: 1.0  1.0;
20820                   offset:   -5   -5;
20821                }
20822             }
20823          }
20824          part { name: "elm.text";
20825             clip_to: "disclip";
20826             type:           TEXT;
20827             effect:         SOFT_SHADOW;
20828             mouse_events:   0;
20829             scale: 1;
20830             description {
20831                state: "default" 0.0;
20832 //               min: 16 16;
20833                rel1 {
20834                   to_x:     "elm.swallow.icon";
20835                   relative: 1.0  0.0;
20836                   offset:   0 4;
20837                }
20838                rel2 {
20839                   to_x:     "elm.swallow.end";
20840                   relative: 0.0  0.5;
20841                   offset:   -1 -5;
20842                }
20843                color: 0 0 0 255;
20844                color3: 0 0 0 0;
20845                text {
20846                   font: "Sans";
20847                   size: 10;
20848 //                  min: 1 1;
20849                   min: 0 1;
20850                   align: 0.0 0.5;
20851                   text_class: "list_item";
20852                }
20853             }
20854             description { state: "selected" 0.0;
20855                inherit: "default" 0.0;
20856                color: 224 224 224 255;
20857                color3: 0 0 0 64;
20858             }
20859          }
20860          part { name: "elm.text.sub";
20861             clip_to: "disclip";
20862             type:           TEXT;
20863             mouse_events:   0;
20864             scale: 1;
20865             description {
20866                state: "default" 0.0;
20867 //               min: 16 16;
20868                rel1 {
20869                   to_x:     "elm.swallow.icon";
20870                   relative: 1.0  0.5;
20871                   offset:   0 4;
20872                }
20873                rel2 {
20874                   to_x:     "elm.swallow.end";
20875                   relative: 0.0  1.0;
20876                   offset:   -1 -5;
20877                }
20878                color: 0 0 0 128;
20879                color3: 0 0 0 0;
20880                text {
20881                   font: "Sans";
20882                   size: 8;
20883 //                  min: 1 1;
20884                   min: 0 1;
20885                   align: 0.0 0.5;
20886                   text_class: "list_item";
20887                }
20888             }
20889             description { state: "selected" 0.0;
20890                inherit: "default" 0.0;
20891                color: 128 128 128 255;
20892                color3: 0 0 0 32;
20893             }
20894          }
20895          part { name: "fg1";
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.relative: 1.0 0.5;
20903                rel2.to: "bg";
20904                image {
20905                   normal: "bt_sm_hilight.png";
20906                   border: 6 6 6 0;
20907                }
20908             }
20909             description { state: "selected" 0.0;
20910                inherit: "default" 0.0;
20911                visible: 1;
20912                color: 255 255 255 255;
20913             }
20914          }
20915          part { name: "fg2";
20916             clip_to: "disclip";
20917             mouse_events: 0;
20918             description { state: "default" 0.0;
20919                visible: 0;
20920                color: 255 255 255 0;
20921                rel1.to: "bg";
20922                rel2.to: "bg";
20923                image {
20924                   normal: "bt_sm_shine.png";
20925                   border: 6 6 6 0;
20926                }
20927             }
20928             description { state: "selected" 0.0;
20929                inherit: "default" 0.0;
20930                visible: 1;
20931                color: 255 255 255 255;
20932             }
20933          }
20934          part { name: "disclip";
20935             type: RECT;
20936             description { state: "default" 0.0;
20937                rel1.to: "bg";
20938                rel2.to: "bg";
20939             }
20940             description { state: "disabled" 0.0;
20941                inherit: "default" 0.0;
20942                color: 255 255 255 64;
20943             }
20944          }
20945       }
20946       programs {
20947          // signal: elm,state,%s,active
20948          //   a "check" item named %s went active
20949          // signal: elm,state,%s,passive
20950          //   a "check" item named %s went passive
20951          // default is passive
20952          program {
20953             name:    "go_active";
20954             signal:  "elm,state,selected";
20955             source:  "elm";
20956             action:  STATE_SET "selected" 0.0;
20957             target:  "bg";
20958             target:  "fg1";
20959             target:  "fg2";
20960             target:  "elm.text";
20961             target:  "elm.text.sub";
20962          }
20963          program {
20964             name:    "go_passive";
20965             signal:  "elm,state,unselected";
20966             source:  "elm";
20967             action:  STATE_SET "default" 0.0;
20968             target:  "bg";
20969             target:  "fg1";
20970             target:  "fg2";
20971             target:  "elm.text";
20972             target:  "elm.text.sub";
20973             transition: LINEAR 0.1;
20974          }
20975          program {
20976             name:    "go_disabled";
20977             signal:  "elm,state,disabled";
20978             source:  "elm";
20979             action:  STATE_SET "disabled" 0.0;
20980             target:  "disclip";
20981          }
20982          program {
20983             name:    "go_enabled";
20984             signal:  "elm,state,enabled";
20985             source:  "elm";
20986             action:  STATE_SET "default" 0.0;
20987             target:  "disclip";
20988          }
20989          program {
20990             name:    "expand";
20991             signal:  "mouse,up,1";
20992             source:  "arrow";
20993             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
20994          }
20995          program {
20996             name:    "go_expanded";
20997             signal:  "elm,state,expanded";
20998             source:  "elm";
20999             action:  STATE_SET "active" 0.0;
21000             target:  "arrow";
21001          }
21002          program {
21003             name:    "go_contracted";
21004             signal:  "elm,state,contracted";
21005             source:  "elm";
21006             action:  STATE_SET "default" 0.0;
21007             target:  "arrow";
21008          }
21009       }
21010    }
21011    group { name: "elm/genlist/tree_odd/double_label/default";
21012       data.item: "stacking" "below";
21013       data.item: "selectraise" "on";
21014       data.item: "labels" "elm.text elm.text.sub";
21015       data.item: "icons" "elm.swallow.icon elm.swallow.end";
21016       data.item: "treesize" "20";
21017 //      data.item: "states" "";
21018       images {
21019          image: "bt_sm_base1.png" COMP;
21020          image: "bt_sm_shine.png" COMP;
21021          image: "bt_sm_hilight.png" COMP;
21022          image: "ilist_2.png" COMP;
21023          image: "icon_arrow_right.png" COMP;
21024          image: "icon_arrow_down.png" COMP;
21025       }
21026       parts {
21027          part {
21028             name:           "event";
21029             type:           RECT;
21030             repeat_events: 1;
21031             description {
21032                state: "default" 0.0;
21033                color: 0 0 0 0;
21034             }
21035          }
21036          part {
21037             name: "base";
21038             mouse_events: 0;
21039             description {
21040                state: "default" 0.0;
21041                image {
21042                   normal: "ilist_2.png";
21043                   border: 2 2 2 2;
21044                }
21045                fill.smooth: 0;
21046             }
21047          }
21048          part { name: "bg";
21049             clip_to: "disclip";
21050             mouse_events: 0;
21051             description { state: "default" 0.0;
21052                visible: 0;
21053                color: 255 255 255 0;
21054                rel1 {
21055                   relative: 0.0 0.0;
21056                   offset: -5 -5;
21057                }
21058                rel2 {
21059                   relative: 1.0 1.0;
21060                   offset: 4 4;
21061                }
21062                image {
21063                   normal: "bt_sm_base1.png";
21064                   border: 6 6 6 6;
21065                }
21066                image.middle: SOLID;
21067             }
21068             description { state: "selected" 0.0;
21069                inherit: "default" 0.0;
21070                visible: 1;
21071                color: 255 255 255 255;
21072                rel1 {
21073                   relative: 0.0 0.0;
21074                   offset: -2 -2;
21075                }
21076                rel2 {
21077                   relative: 1.0 1.0;
21078                   offset: 1 1;
21079                }
21080             }
21081          }
21082          part { name: "elm.swallow.pad";
21083             type: SWALLOW;
21084             description { state: "default" 0.0;
21085                fixed: 1 0;
21086                align: 0.0 0.5;
21087                rel1 {
21088                   relative: 0.0  0.0;
21089                   offset:   4    4;
21090                }
21091                rel2 {
21092                   relative: 0.0  1.0;
21093                   offset:   4   -5;
21094                }
21095             }
21096          }
21097          part { name: "arrow";
21098             clip_to: "disclip";
21099             ignore_flags: ON_HOLD;
21100             description { state: "default" 0.0;
21101                fixed: 1 0;
21102                align: 0.0 0.5;
21103                aspect: 1.0 1.0;
21104                rel1 {
21105                   to_x: "elm.swallow.pad";
21106                   relative: 1.0  0.0;
21107                   offset:   -1    4;
21108                }
21109                rel2 {
21110                   to_x: "elm.swallow.pad";
21111                   relative: 1.0  1.0;
21112                   offset:   -1   -5;
21113                }
21114                image.normal: "icon_arrow_right.png";
21115             }
21116             description { state: "active" 0.0;
21117                inherit: "default" 0.0;
21118                image.normal: "icon_arrow_down.png";
21119             }
21120          }
21121          part { name: "elm.swallow.icon";
21122             clip_to: "disclip";
21123             type: SWALLOW;
21124             description { state: "default" 0.0;
21125                fixed: 1 0;
21126                align: 0.0 0.5;
21127                rel1 {
21128                   to_x: "arrow";
21129                   relative: 1.0  0.0;
21130                   offset:   4    4;
21131                }
21132                rel2 {
21133                   to_x: "arrow";
21134                   relative: 1.0  1.0;
21135                   offset:   4   -5;
21136                }
21137             }
21138          }
21139          part { name: "elm.swallow.end";
21140             clip_to: "disclip";
21141             type: SWALLOW;
21142             description { state: "default" 0.0;
21143                fixed: 1 0;
21144                align: 1.0 0.5;
21145                aspect: 1.0 1.0;
21146                aspect_preference: VERTICAL;
21147                rel1 {
21148                   relative: 1.0  0.0;
21149                   offset:   -5    4;
21150                }
21151                rel2 {
21152                   relative: 1.0  1.0;
21153                   offset:   -5   -5;
21154                }
21155             }
21156          }
21157          part { name: "elm.text";
21158             clip_to: "disclip";
21159             type:           TEXT;
21160             effect:         SOFT_SHADOW;
21161             mouse_events:   0;
21162             scale: 1;
21163             description {
21164                state: "default" 0.0;
21165 //               min: 16 16;
21166                rel1 {
21167                   to_x:     "elm.swallow.icon";
21168                   relative: 1.0  0.0;
21169                   offset:   0 4;
21170                }
21171                rel2 {
21172                   to_x:     "elm.swallow.end";
21173                   relative: 0.0  0.5;
21174                   offset:   -1 -5;
21175                }
21176                color: 0 0 0 255;
21177                color3: 0 0 0 0;
21178                text {
21179                   font: "Sans";
21180                   size: 10;
21181                   min: 1 1;
21182 //                  min: 0 1;
21183                   align: 0.0 0.5;
21184                   text_class: "list_item";
21185                }
21186             }
21187             description { state: "selected" 0.0;
21188                inherit: "default" 0.0;
21189                color: 224 224 224 255;
21190                color3: 0 0 0 64;
21191             }
21192          }
21193          part { name: "elm.text.sub";
21194             clip_to: "disclip";
21195             type:           TEXT;
21196             mouse_events:   0;
21197             scale: 1;
21198             description {
21199                state: "default" 0.0;
21200 //               min: 16 16;
21201                rel1 {
21202                   to_x:     "elm.swallow.icon";
21203                   relative: 1.0  0.5;
21204                   offset:   0 4;
21205                }
21206                rel2 {
21207                   to_x:     "elm.swallow.end";
21208                   relative: 0.0  1.0;
21209                   offset:   -1 -5;
21210                }
21211                color: 0 0 0 128;
21212                color3: 0 0 0 0;
21213                text {
21214                   font: "Sans";
21215                   size: 8;
21216                   min: 1 1;
21217 //                  min: 0 1;
21218                   align: 0.0 0.5;
21219                   text_class: "list_item";
21220                }
21221             }
21222             description { state: "selected" 0.0;
21223                inherit: "default" 0.0;
21224                color: 128 128 128 255;
21225                color3: 0 0 0 32;
21226             }
21227          }
21228          part { name: "fg1";
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.relative: 1.0 0.5;
21236                rel2.to: "bg";
21237                image {
21238                   normal: "bt_sm_hilight.png";
21239                   border: 6 6 6 0;
21240                }
21241             }
21242             description { state: "selected" 0.0;
21243                inherit: "default" 0.0;
21244                visible: 1;
21245                color: 255 255 255 255;
21246             }
21247          }
21248          part { name: "fg2";
21249             clip_to: "disclip";
21250             mouse_events: 0;
21251             description { state: "default" 0.0;
21252                visible: 0;
21253                color: 255 255 255 0;
21254                rel1.to: "bg";
21255                rel2.to: "bg";
21256                image {
21257                   normal: "bt_sm_shine.png";
21258                   border: 6 6 6 0;
21259                }
21260             }
21261             description { state: "selected" 0.0;
21262                inherit: "default" 0.0;
21263                visible: 1;
21264                color: 255 255 255 255;
21265             }
21266          }
21267          part { name: "disclip";
21268             type: RECT;
21269             description { state: "default" 0.0;
21270                rel1.to: "bg";
21271                rel2.to: "bg";
21272             }
21273             description { state: "disabled" 0.0;
21274                inherit: "default" 0.0;
21275                color: 255 255 255 64;
21276             }
21277          }
21278       }
21279       programs {
21280          // signal: elm,state,%s,active
21281          //   a "check" item named %s went active
21282          // signal: elm,state,%s,passive
21283          //   a "check" item named %s went passive
21284          // default is passive
21285          program {
21286             name:    "go_active";
21287             signal:  "elm,state,selected";
21288             source:  "elm";
21289             action:  STATE_SET "selected" 0.0;
21290             target:  "bg";
21291             target:  "fg1";
21292             target:  "fg2";
21293             target:  "elm.text";
21294             target:  "elm.text.sub";
21295          }
21296          program {
21297             name:    "go_passive";
21298             signal:  "elm,state,unselected";
21299             source:  "elm";
21300             action:  STATE_SET "default" 0.0;
21301             target:  "bg";
21302             target:  "fg1";
21303             target:  "fg2";
21304             target:  "elm.text";
21305             target:  "elm.text.sub";
21306             transition: LINEAR 0.1;
21307          }
21308          program {
21309             name:    "go_disabled";
21310             signal:  "elm,state,disabled";
21311             source:  "elm";
21312             action:  STATE_SET "disabled" 0.0;
21313             target:  "disclip";
21314          }
21315          program {
21316             name:    "go_enabled";
21317             signal:  "elm,state,enabled";
21318             source:  "elm";
21319             action:  STATE_SET "default" 0.0;
21320             target:  "disclip";
21321          }
21322          program {
21323             name:    "expand";
21324             signal:  "mouse,up,1";
21325             source:  "arrow";
21326             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
21327          }
21328          program {
21329             name:    "go_expanded";
21330             signal:  "elm,state,expanded";
21331             source:  "elm";
21332             action:  STATE_SET "active" 0.0;
21333             target:  "arrow";
21334          }
21335          program {
21336             name:    "go_contracted";
21337             signal:  "elm,state,contracted";
21338             source:  "elm";
21339             action:  STATE_SET "default" 0.0;
21340             target:  "arrow";
21341          }
21342       }
21343    }
21344
21345    group { name: "elm/genlist/item/icon_top_text_bottom/default";
21346       data.item: "stacking" "above";
21347       data.item: "selectraise" "on";
21348       data.item: "labels" "elm.text";
21349       data.item: "icons" "elm.swallow.icon";
21350       data.item: "treesize" "20";
21351 //      data.item: "states" "";
21352       images {
21353          image: "bt_sm_base1.png" COMP;
21354          image: "bt_sm_shine.png" COMP;
21355          image: "bt_sm_hilight.png" COMP;
21356          image: "ilist_1.png" COMP;
21357          image: "ilist_item_shadow.png" COMP;
21358       }
21359       parts {
21360          part {
21361             name:           "event";
21362             type:           RECT;
21363             repeat_events: 1;
21364             description {
21365                state: "default" 0.0;
21366                color: 0 0 0 0;
21367             }
21368          }
21369          part {
21370             name: "base_sh";
21371             mouse_events: 0;
21372             description {
21373                state: "default" 0.0;
21374                align: 0.0 0.0;
21375                min: 0 10;
21376                fixed: 1 1;
21377                rel1 {
21378                   to: "base";
21379                   relative: 0.0 1.0;
21380                   offset: 0 0;
21381                }
21382                rel2 {
21383                   to: "base";
21384                   relative: 1.0 1.0;
21385                   offset: -1 0;
21386                }
21387                image {
21388                   normal: "ilist_item_shadow.png";
21389                }
21390                fill.smooth: 0;
21391             }
21392          }
21393          part {
21394             name: "base";
21395             mouse_events: 0;
21396             description {
21397                state: "default" 0.0;
21398                image {
21399                   normal: "ilist_1.png";
21400                   border: 2 2 2 2;
21401                }
21402                fill.smooth: 0;
21403             }
21404          }
21405          part { name: "bg";
21406             clip_to: "disclip";
21407             mouse_events: 0;
21408             description { state: "default" 0.0;
21409                visible: 0;
21410                color: 255 255 255 0;
21411                rel1 {
21412                   relative: 0.0 0.0;
21413                   offset: -5 -5;
21414                }
21415                rel2 {
21416                   relative: 1.0 1.0;
21417                   offset: 4 4;
21418                }
21419                image {
21420                   normal: "bt_sm_base1.png";
21421                   border: 6 6 6 6;
21422                }
21423                image.middle: SOLID;
21424             }
21425             description { state: "selected" 0.0;
21426                inherit: "default" 0.0;
21427                visible: 1;
21428                color: 255 255 255 255;
21429                rel1 {
21430                   relative: 0.0 0.0;
21431                   offset: -2 -2;
21432                }
21433                rel2 {
21434                   relative: 1.0 1.0;
21435                   offset: 1 1;
21436                }
21437             }
21438          }
21439          part { name: "elm.swallow.pad";
21440             type: SWALLOW;
21441             description { state: "default" 0.0;
21442                fixed: 1 0;
21443                align: 0.0 0.5;
21444                rel1 {
21445                   relative: 0.0  0.0;
21446                   offset:   4    4;
21447                }
21448                rel2 {
21449                   relative: 1.0  1.0;
21450                   offset:   -4   -5;
21451                }
21452             }
21453          }
21454          part { name: "elm.swallow.icon";
21455             clip_to: "disclip";
21456             type: SWALLOW;
21457             description { state: "default" 0.0;
21458                fixed: 1 0;
21459                align: 0.5 0.5;
21460                rel1 {
21461                   to_x: "elm.swallow.pad";
21462                   relative: 0.0  0.0;
21463                   offset:   -1    4;
21464                }
21465                rel2 {
21466                   to_x: "elm.swallow.pad";
21467                   relative: 1.0  1.0;
21468                   offset:   -1   -5;
21469                }
21470             }
21471          }
21472          part { name: "elm.text";
21473             clip_to: "disclip";
21474             type:           TEXT;
21475             effect:         SOFT_SHADOW;
21476             mouse_events:   0;
21477             scale: 1;
21478             description {
21479                state: "default" 0.0;
21480 //               min: 16 16;
21481                rel1 {
21482                   to_y:     "elm.swallow.icon";
21483                   relative: 0.0  1.0;
21484                   offset:   0 4;
21485                }
21486                rel2 {
21487                   relative: 1.0  1.0;
21488                   offset:   -5 -5;
21489                }
21490                color: 0 0 0 255;
21491                color3: 0 0 0 0;
21492                text {
21493                   font: "Sans";
21494                   size: 10;
21495                   min: 1 1;
21496 //                  min: 0 1;
21497                   align: 0.5 0.5;
21498                   text_class: "list_item";
21499                }
21500             }
21501             description { state: "selected" 0.0;
21502                inherit: "default" 0.0;
21503                color: 224 224 224 255;
21504                color3: 0 0 0 64;
21505             }
21506          }
21507          part { name: "fg1";
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.relative: 1.0 0.5;
21515                rel2.to: "bg";
21516                image {
21517                   normal: "bt_sm_hilight.png";
21518                   border: 6 6 6 0;
21519                }
21520             }
21521             description { state: "selected" 0.0;
21522                inherit: "default" 0.0;
21523                visible: 1;
21524                color: 255 255 255 255;
21525             }
21526          }
21527          part { name: "fg2";
21528             clip_to: "disclip";
21529             mouse_events: 0;
21530             description { state: "default" 0.0;
21531                visible: 0;
21532                color: 255 255 255 0;
21533                rel1.to: "bg";
21534                rel2.to: "bg";
21535                image {
21536                   normal: "bt_sm_shine.png";
21537                   border: 6 6 6 0;
21538                }
21539             }
21540             description { state: "selected" 0.0;
21541                inherit: "default" 0.0;
21542                visible: 1;
21543                color: 255 255 255 255;
21544             }
21545          }
21546          part { name: "disclip";
21547             type: RECT;
21548             description { state: "default" 0.0;
21549                rel1.to: "bg";
21550                rel2.to: "bg";
21551             }
21552             description { state: "disabled" 0.0;
21553                inherit: "default" 0.0;
21554                color: 255 255 255 64;
21555             }
21556          }
21557       }
21558       programs {
21559          // signal: elm,state,%s,active
21560          //   a "check" item named %s went active
21561          // signal: elm,state,%s,passive
21562          //   a "check" item named %s went passive
21563          // default is passive
21564          program {
21565             name:    "go_active";
21566             signal:  "elm,state,selected";
21567             source:  "elm";
21568             action:  STATE_SET "selected" 0.0;
21569             target:  "bg";
21570             target:  "fg1";
21571             target:  "fg2";
21572             target:  "elm.text";
21573          }
21574          program {
21575             name:    "go_passive";
21576             signal:  "elm,state,unselected";
21577             source:  "elm";
21578             action:  STATE_SET "default" 0.0;
21579             target:  "bg";
21580             target:  "fg1";
21581             target:  "fg2";
21582             target:  "elm.text";
21583             transition: LINEAR 0.1;
21584          }
21585          program {
21586             name:    "go_disabled";
21587             signal:  "elm,state,disabled";
21588             source:  "elm";
21589             action:  STATE_SET "disabled" 0.0;
21590             target:  "disclip";
21591          }
21592          program {
21593             name:    "go_enabled";
21594             signal:  "elm,state,enabled";
21595             source:  "elm";
21596             action:  STATE_SET "default" 0.0;
21597             target:  "disclip";
21598          }
21599       }
21600    }
21601    group { name: "elm/genlist/item_odd/icon_top_text_bottom/default";
21602       data.item: "stacking" "below";
21603       data.item: "selectraise" "on";
21604       data.item: "labels" "elm.text";
21605       data.item: "icons" "elm.swallow.icon";
21606       data.item: "treesize" "20";
21607 //      data.item: "states" "";
21608       images {
21609          image: "bt_sm_base1.png" COMP;
21610          image: "bt_sm_shine.png" COMP;
21611          image: "bt_sm_hilight.png" COMP;
21612          image: "ilist_2.png" COMP;
21613       }
21614       parts {
21615          part { name: "event";
21616             type: RECT;
21617             repeat_events: 1;
21618             description {
21619                state: "default" 0.0;
21620                color: 0 0 0 0;
21621             }
21622          }
21623          part {
21624             name: "base";
21625             mouse_events: 0;
21626             description {
21627                state: "default" 0.0;
21628                image {
21629                   normal: "ilist_2.png";
21630                   border: 2 2 2 2;
21631                }
21632                fill.smooth: 0;
21633             }
21634          }
21635          part { name: "bg";
21636             clip_to: "disclip";
21637             mouse_events: 0;
21638             description { state: "default" 0.0;
21639                visible: 0;
21640                color: 255 255 255 0;
21641                rel1 {
21642                   relative: 0.0 0.0;
21643                   offset: -5 -5;
21644                }
21645                rel2 {
21646                   relative: 1.0 1.0;
21647                   offset: 4 4;
21648                }
21649                image {
21650                   normal: "bt_sm_base1.png";
21651                   border: 6 6 6 6;
21652                }
21653                image.middle: SOLID;
21654             }
21655             description { state: "selected" 0.0;
21656                inherit: "default" 0.0;
21657                visible: 1;
21658                color: 255 255 255 255;
21659                rel1 {
21660                   relative: 0.0 0.0;
21661                   offset: -2 -2;
21662                }
21663                rel2 {
21664                   relative: 1.0 1.0;
21665                   offset: 1 1;
21666                }
21667             }
21668          }
21669          part { name: "elm.swallow.pad";
21670             type: SWALLOW;
21671             description { state: "default" 0.0;
21672                fixed: 1 0;
21673                align: 0.0 0.5;
21674                rel1 {
21675                   relative: 0.0  0.0;
21676                   offset:   4    4;
21677                }
21678                rel2 {
21679                   relative: 1.0  1.0;
21680                   offset:   -4   -5;
21681                }
21682             }
21683          }
21684          part { name: "elm.swallow.icon";
21685             clip_to: "disclip";
21686             type: SWALLOW;
21687             description { state: "default" 0.0;
21688                fixed: 1 0;
21689                align: 0.5 0.5;
21690                rel1 {
21691                   to_x: "elm.swallow.pad";
21692                   relative: 0.0  0.0;
21693                   offset:   -1    4;
21694                }
21695                rel2 {
21696                   to_x: "elm.swallow.pad";
21697                   relative: 1.0  1.0;
21698                   offset:   -1   -5;
21699                }
21700             }
21701          }
21702          part { name: "elm.text";
21703             clip_to: "disclip";
21704             type:           TEXT;
21705             effect:         SOFT_SHADOW;
21706             mouse_events:   0;
21707             scale: 1;
21708             description {
21709                state: "default" 0.0;
21710 //               min:      16 16;
21711                rel1 {
21712                   to_y:     "elm.swallow.icon";
21713                   relative: 0.0  1.0;
21714                   offset:   0 4;
21715                }
21716                rel2 {
21717                   relative: 1.0  1.0;
21718                   offset:   -5 -5;
21719                }
21720                color: 0 0 0 255;
21721                color3: 0 0 0 0;
21722                text {
21723                   font: "Sans";
21724                   size: 10;
21725                   min: 1 1;
21726 //                  min: 0 1;
21727                   align: 0.5 0.5;
21728                   text_class: "list_item";
21729                }
21730             }
21731             description { state: "selected" 0.0;
21732                inherit: "default" 0.0;
21733                color: 224 224 224 255;
21734                color3: 0 0 0 64;
21735             }
21736          }
21737          part { name: "fg1";
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.relative: 1.0 0.5;
21745                rel2.to: "bg";
21746                image {
21747                   normal: "bt_sm_hilight.png";
21748                   border: 6 6 6 0;
21749                }
21750             }
21751             description { state: "selected" 0.0;
21752                inherit: "default" 0.0;
21753                visible: 1;
21754                color: 255 255 255 255;
21755             }
21756          }
21757          part { name: "fg2";
21758             clip_to: "disclip";
21759             mouse_events: 0;
21760             description { state: "default" 0.0;
21761                visible: 0;
21762                color: 255 255 255 0;
21763                rel1.to: "bg";
21764                rel2.to: "bg";
21765                image {
21766                   normal: "bt_sm_shine.png";
21767                   border: 6 6 6 0;
21768                }
21769             }
21770             description { state: "selected" 0.0;
21771                inherit: "default" 0.0;
21772                visible: 1;
21773                color: 255 255 255 255;
21774             }
21775          }
21776          part { name: "disclip";
21777             type: RECT;
21778             description { state: "default" 0.0;
21779                rel1.to: "bg";
21780                rel2.to: "bg";
21781             }
21782             description { state: "disabled" 0.0;
21783                inherit: "default" 0.0;
21784                color: 255 255 255 64;
21785             }
21786          }
21787       }
21788       programs {
21789          // signal: elm,state,%s,active
21790          //   a "check" item named %s went active
21791          // signal: elm,state,%s,passive
21792          //   a "check" item named %s went passive
21793          // default is passive
21794          program {
21795             name:    "go_active";
21796             signal:  "elm,state,selected";
21797             source:  "elm";
21798             action:  STATE_SET "selected" 0.0;
21799             target:  "bg";
21800             target:  "fg1";
21801             target:  "fg2";
21802             target:  "elm.text";
21803          }
21804          program {
21805             name:    "go_passive";
21806             signal:  "elm,state,unselected";
21807             source:  "elm";
21808             action:  STATE_SET "default" 0.0;
21809             target:  "bg";
21810             target:  "fg1";
21811             target:  "fg2";
21812             target:  "elm.text";
21813             transition: LINEAR 0.1;
21814          }
21815          program {
21816             name:    "go_disabled";
21817             signal:  "elm,state,disabled";
21818             source:  "elm";
21819             action:  STATE_SET "disabled" 0.0;
21820             target:  "disclip";
21821          }
21822          program {
21823             name:    "go_enabled";
21824             signal:  "elm,state,enabled";
21825             source:  "elm";
21826             action:  STATE_SET "default" 0.0;
21827             target:  "disclip";
21828          }
21829       }
21830    }
21831
21832    group { name: "elm/genlist/tree/icon_top_text_bottom/default";
21833       data.item: "stacking" "above";
21834       data.item: "selectraise" "on";
21835       data.item: "labels" "elm.text";
21836       data.item: "icons" "elm.swallow.icon";
21837       data.item: "treesize" "20";
21838 //      data.item: "states" "";
21839       images {
21840          image: "bt_sm_base1.png" COMP;
21841          image: "bt_sm_shine.png" COMP;
21842          image: "bt_sm_hilight.png" COMP;
21843          image: "ilist_1.png" COMP;
21844          image: "ilist_item_shadow.png" COMP;
21845          image: "icon_arrow_right.png" COMP;
21846          image: "icon_arrow_down.png" COMP;
21847       }
21848       parts {
21849          part {
21850             name:           "event";
21851             type:           RECT;
21852             repeat_events: 1;
21853             description {
21854                state: "default" 0.0;
21855                color: 0 0 0 0;
21856             }
21857          }
21858          part {
21859             name: "base_sh";
21860             mouse_events: 0;
21861             description {
21862                state: "default" 0.0;
21863                align: 0.0 0.0;
21864                min: 0 10;
21865                fixed: 1 1;
21866                rel1 {
21867                   to: "base";
21868                   relative: 0.0 1.0;
21869                   offset: 0 0;
21870                }
21871                rel2 {
21872                   to: "base";
21873                   relative: 1.0 1.0;
21874                   offset: -1 0;
21875                }
21876                image {
21877                   normal: "ilist_item_shadow.png";
21878                }
21879                fill.smooth: 0;
21880             }
21881          }
21882          part {
21883             name: "base";
21884             mouse_events: 0;
21885             description {
21886                state: "default" 0.0;
21887                image {
21888                   normal: "ilist_1.png";
21889                   border: 2 2 2 2;
21890                }
21891                fill.smooth: 0;
21892             }
21893          }
21894          part { name: "bg";
21895             clip_to: "disclip";
21896             mouse_events: 0;
21897             description { state: "default" 0.0;
21898                visible: 0;
21899                color: 255 255 255 0;
21900                rel1 {
21901                   relative: 0.0 0.0;
21902                   offset: -5 -5;
21903                }
21904                rel2 {
21905                   relative: 1.0 1.0;
21906                   offset: 4 4;
21907                }
21908                image {
21909                   normal: "bt_sm_base1.png";
21910                   border: 6 6 6 6;
21911                }
21912                image.middle: SOLID;
21913             }
21914             description { state: "selected" 0.0;
21915                inherit: "default" 0.0;
21916                visible: 1;
21917                color: 255 255 255 255;
21918                rel1 {
21919                   relative: 0.0 0.0;
21920                   offset: -2 -2;
21921                }
21922                rel2 {
21923                   relative: 1.0 1.0;
21924                   offset: 1 1;
21925                }
21926             }
21927          }
21928          part { name: "elm.swallow.pad";
21929             type: SWALLOW;
21930             description { state: "default" 0.0;
21931                fixed: 1 0;
21932                align: 0.0 0.5;
21933                rel1 {
21934                   relative: 0.0  0.0;
21935                   offset:   4    4;
21936                }
21937                rel2 {
21938                   relative: 0.0  1.0;
21939                   offset:   4   -5;
21940                }
21941             }
21942          }
21943          part { name: "arrow";
21944             clip_to: "disclip";
21945             ignore_flags: ON_HOLD;
21946             description { state: "default" 0.0;
21947                fixed: 1 0;
21948                align: 0.0 0.5;
21949                aspect: 1.0 1.0;
21950                rel1 {
21951                   to_x: "elm.swallow.pad";
21952                   relative: 1.0  0.0;
21953                   offset:   -1    4;
21954                }
21955                rel2 {
21956                   to_x: "elm.swallow.pad";
21957                   relative: 1.0  1.0;
21958                   offset:   -1   -5;
21959                }
21960                image.normal: "icon_arrow_right.png";
21961             }
21962             description { state: "active" 0.0;
21963                inherit: "default" 0.0;
21964                image.normal: "icon_arrow_down.png";
21965             }
21966          }
21967          part { name: "elm.swallow.icon";
21968             clip_to: "disclip";
21969             type: SWALLOW;
21970             description { state: "default" 0.0;
21971                fixed: 1 0;
21972                align: 0.5 0.5;
21973                rel1 {
21974                   to_x: "arrow";
21975                   relative: 1.0  0.0;
21976                   offset:   4    4;
21977                }
21978                rel2 {
21979                   relative: 1.0  1.0;
21980                   offset:   -4   -5;
21981                }
21982             }
21983          }
21984          part { name: "elm.text";
21985             clip_to: "disclip";
21986             type:           TEXT;
21987             effect:         SOFT_SHADOW;
21988             mouse_events:   0;
21989             scale: 1;
21990             description {
21991                state: "default" 0.0;
21992 //               min: 16 16;
21993                rel1 {
21994                   to_y:     "elm.swallow.icon";
21995                   relative: 0.0  1.0;
21996                   offset:   0 4;
21997                }
21998                rel2 {
21999                   relative: 1.0  1.0;
22000                   offset:   -5 -5;
22001                }
22002                color: 0 0 0 255;
22003                color3: 0 0 0 0;
22004                text {
22005                   font: "Sans";
22006                   size: 10;
22007                   min: 1 1;
22008 //                  min: 0 1;
22009                   align: 0.5 0.5;
22010                   text_class: "list_item";
22011                }
22012             }
22013             description { state: "selected" 0.0;
22014                inherit: "default" 0.0;
22015                color: 224 224 224 255;
22016                color3: 0 0 0 64;
22017             }
22018          }
22019          part { name: "fg1";
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.relative: 1.0 0.5;
22027                rel2.to: "bg";
22028                image {
22029                   normal: "bt_sm_hilight.png";
22030                   border: 6 6 6 0;
22031                }
22032             }
22033             description { state: "selected" 0.0;
22034                inherit: "default" 0.0;
22035                visible: 1;
22036                color: 255 255 255 255;
22037             }
22038          }
22039          part { name: "fg2";
22040             clip_to: "disclip";
22041             mouse_events: 0;
22042             description { state: "default" 0.0;
22043                visible: 0;
22044                color: 255 255 255 0;
22045                rel1.to: "bg";
22046                rel2.to: "bg";
22047                image {
22048                   normal: "bt_sm_shine.png";
22049                   border: 6 6 6 0;
22050                }
22051             }
22052             description { state: "selected" 0.0;
22053                inherit: "default" 0.0;
22054                visible: 1;
22055                color: 255 255 255 255;
22056             }
22057          }
22058          part { name: "disclip";
22059             type: RECT;
22060             description { state: "default" 0.0;
22061                rel1.to: "bg";
22062                rel2.to: "bg";
22063             }
22064             description { state: "disabled" 0.0;
22065                inherit: "default" 0.0;
22066                color: 255 255 255 64;
22067             }
22068          }
22069       }
22070       programs {
22071          // signal: elm,state,%s,active
22072          //   a "check" item named %s went active
22073          // signal: elm,state,%s,passive
22074          //   a "check" item named %s went passive
22075          // default is passive
22076          program {
22077             name:    "go_active";
22078             signal:  "elm,state,selected";
22079             source:  "elm";
22080             action:  STATE_SET "selected" 0.0;
22081             target:  "bg";
22082             target:  "fg1";
22083             target:  "fg2";
22084             target:  "elm.text";
22085          }
22086          program {
22087             name:    "go_passive";
22088             signal:  "elm,state,unselected";
22089             source:  "elm";
22090             action:  STATE_SET "default" 0.0;
22091             target:  "bg";
22092             target:  "fg1";
22093             target:  "fg2";
22094             target:  "elm.text";
22095             transition: LINEAR 0.1;
22096          }
22097          program {
22098             name:    "go_disabled";
22099             signal:  "elm,state,disabled";
22100             source:  "elm";
22101             action:  STATE_SET "disabled" 0.0;
22102             target:  "disclip";
22103          }
22104          program {
22105             name:    "go_enabled";
22106             signal:  "elm,state,enabled";
22107             source:  "elm";
22108             action:  STATE_SET "default" 0.0;
22109             target:  "disclip";
22110          }
22111          program {
22112             name:    "expand";
22113             signal:  "mouse,up,1";
22114             source:  "arrow";
22115             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
22116          }
22117          program {
22118             name:    "go_expanded";
22119             signal:  "elm,state,expanded";
22120             source:  "elm";
22121             action:  STATE_SET "active" 0.0;
22122             target:  "arrow";
22123          }
22124          program {
22125             name:    "go_contracted";
22126             signal:  "elm,state,contracted";
22127             source:  "elm";
22128             action:  STATE_SET "default" 0.0;
22129             target:  "arrow";
22130          }
22131       }
22132    }
22133    group { name: "elm/genlist/tree_odd/icon_top_text_bottom/default";
22134       data.item: "stacking" "below";
22135       data.item: "selectraise" "on";
22136       data.item: "labels" "elm.text";
22137       data.item: "icons" "elm.swallow.icon";
22138       data.item: "treesize" "20";
22139 //      data.item: "states" "";
22140       images {
22141          image: "bt_sm_base1.png" COMP;
22142          image: "bt_sm_shine.png" COMP;
22143          image: "bt_sm_hilight.png" COMP;
22144          image: "ilist_2.png" COMP;
22145          image: "icon_arrow_right.png" COMP;
22146          image: "icon_arrow_down.png" COMP;
22147       }
22148       parts {
22149          part {
22150             name:           "event";
22151             type:           RECT;
22152             repeat_events: 1;
22153             description {
22154                state: "default" 0.0;
22155                color: 0 0 0 0;
22156             }
22157          }
22158          part {
22159             name: "base";
22160             mouse_events: 0;
22161             description {
22162                state: "default" 0.0;
22163                image {
22164                   normal: "ilist_2.png";
22165                   border: 2 2 2 2;
22166                }
22167                fill.smooth: 0;
22168             }
22169          }
22170          part { name: "bg";
22171             clip_to: "disclip";
22172             mouse_events: 0;
22173             description { state: "default" 0.0;
22174                visible: 0;
22175                color: 255 255 255 0;
22176                rel1 {
22177                   relative: 0.0 0.0;
22178                   offset: -5 -5;
22179                }
22180                rel2 {
22181                   relative: 1.0 1.0;
22182                   offset: 4 4;
22183                }
22184                image {
22185                   normal: "bt_sm_base1.png";
22186                   border: 6 6 6 6;
22187                }
22188                image.middle: SOLID;
22189             }
22190             description { state: "selected" 0.0;
22191                inherit: "default" 0.0;
22192                visible: 1;
22193                color: 255 255 255 255;
22194                rel1 {
22195                   relative: 0.0 0.0;
22196                   offset: -2 -2;
22197                }
22198                rel2 {
22199                   relative: 1.0 1.0;
22200                   offset: 1 1;
22201                }
22202             }
22203          }
22204          part { name: "elm.swallow.pad";
22205             type: SWALLOW;
22206             description { state: "default" 0.0;
22207                fixed: 1 0;
22208                align: 0.0 0.5;
22209                rel1 {
22210                   relative: 0.0  0.0;
22211                   offset:   4    4;
22212                }
22213                rel2 {
22214                   relative: 0.0  1.0;
22215                   offset:   4   -5;
22216                }
22217             }
22218          }
22219          part { name: "arrow";
22220             clip_to: "disclip";
22221             ignore_flags: ON_HOLD;
22222             description { state: "default" 0.0;
22223                fixed: 1 0;
22224                align: 0.0 0.5;
22225                aspect: 1.0 1.0;
22226                rel1 {
22227                   to_x: "elm.swallow.pad";
22228                   relative: 1.0  0.0;
22229                   offset:   -1    4;
22230                }
22231                rel2 {
22232                   to_x: "elm.swallow.pad";
22233                   relative: 1.0  1.0;
22234                   offset:   -1   -5;
22235                }
22236                image.normal: "icon_arrow_right.png";
22237             }
22238             description { state: "active" 0.0;
22239                inherit: "default" 0.0;
22240                image.normal: "icon_arrow_down.png";
22241             }
22242          }
22243          part { name: "elm.swallow.icon";
22244             clip_to: "disclip";
22245             type: SWALLOW;
22246             description { state: "default" 0.0;
22247                fixed: 1 0;
22248                align: 0.5 0.5;
22249                rel1 {
22250                   to_x: "arrow";
22251                   relative: 1.0  0.0;
22252                   offset:   4    4;
22253                }
22254                rel2 {
22255                   relative: 1.0  1.0;
22256                   offset:   -4   -5;
22257                }
22258             }
22259          }
22260          part { name: "elm.text";
22261             clip_to: "disclip";
22262             type:           TEXT;
22263             effect:         SOFT_SHADOW;
22264             mouse_events:   0;
22265             scale: 1;
22266             description {
22267                state: "default" 0.0;
22268 //               min: 16 16;
22269                rel1 {
22270                   to_y:     "elm.swallow.icon";
22271                   relative: 0.0  1.0;
22272                   offset:   0 4;
22273                }
22274                rel2 {
22275                   relative: 1.0  1.0;
22276                   offset:   -5 -5;
22277                }
22278                color: 0 0 0 255;
22279                color3: 0 0 0 0;
22280                text {
22281                   font: "Sans";
22282                   size: 10;
22283                   min: 1 1;
22284 //                  min: 0 1;
22285                   align: 0.5 0.5;
22286                   text_class: "list_item";
22287                }
22288             }
22289             description { state: "selected" 0.0;
22290                inherit: "default" 0.0;
22291                color: 224 224 224 255;
22292                color3: 0 0 0 64;
22293             }
22294          }
22295          part { name: "fg1";
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.relative: 1.0 0.5;
22303                rel2.to: "bg";
22304                image {
22305                   normal: "bt_sm_hilight.png";
22306                   border: 6 6 6 0;
22307                }
22308             }
22309             description { state: "selected" 0.0;
22310                inherit: "default" 0.0;
22311                visible: 1;
22312                color: 255 255 255 255;
22313             }
22314          }
22315          part { name: "fg2";
22316             clip_to: "disclip";
22317             mouse_events: 0;
22318             description { state: "default" 0.0;
22319                visible: 0;
22320                color: 255 255 255 0;
22321                rel1.to: "bg";
22322                rel2.to: "bg";
22323                image {
22324                   normal: "bt_sm_shine.png";
22325                   border: 6 6 6 0;
22326                }
22327             }
22328             description { state: "selected" 0.0;
22329                inherit: "default" 0.0;
22330                visible: 1;
22331                color: 255 255 255 255;
22332             }
22333          }
22334          part { name: "disclip";
22335             type: RECT;
22336             description { state: "default" 0.0;
22337                rel1.to: "bg";
22338                rel2.to: "bg";
22339             }
22340             description { state: "disabled" 0.0;
22341                inherit: "default" 0.0;
22342                color: 255 255 255 64;
22343             }
22344          }
22345       }
22346       programs {
22347          // signal: elm,state,%s,active
22348          //   a "check" item named %s went active
22349          // signal: elm,state,%s,passive
22350          //   a "check" item named %s went passive
22351          // default is passive
22352          program {
22353             name:    "go_active";
22354             signal:  "elm,state,selected";
22355             source:  "elm";
22356             action:  STATE_SET "selected" 0.0;
22357             target:  "bg";
22358             target:  "fg1";
22359             target:  "fg2";
22360             target:  "elm.text";
22361          }
22362          program {
22363             name:    "go_passive";
22364             signal:  "elm,state,unselected";
22365             source:  "elm";
22366             action:  STATE_SET "default" 0.0;
22367             target:  "bg";
22368             target:  "fg1";
22369             target:  "fg2";
22370             target:  "elm.text";
22371             transition: LINEAR 0.1;
22372          }
22373          program {
22374             name:    "go_disabled";
22375             signal:  "elm,state,disabled";
22376             source:  "elm";
22377             action:  STATE_SET "disabled" 0.0;
22378             target:  "disclip";
22379          }
22380          program {
22381             name:    "go_enabled";
22382             signal:  "elm,state,enabled";
22383             source:  "elm";
22384             action:  STATE_SET "default" 0.0;
22385             target:  "disclip";
22386          }
22387          program {
22388             name:    "expand";
22389             signal:  "mouse,up,1";
22390             source:  "arrow";
22391             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
22392          }
22393          program {
22394             name:    "go_expanded";
22395             signal:  "elm,state,expanded";
22396             source:  "elm";
22397             action:  STATE_SET "active" 0.0;
22398             target:  "arrow";
22399          }
22400          program {
22401             name:    "go_contracted";
22402             signal:  "elm,state,contracted";
22403             source:  "elm";
22404             action:  STATE_SET "default" 0.0;
22405             target:  "arrow";
22406          }
22407       }
22408    }
22409
22410
22411 ///////////////////////////////////////////////////////////////////////////////
22412    group { name: "elm/check/base/default";
22413       images {
22414          image: "check_base.png" COMP;
22415          image: "check.png" COMP;
22416          image: "check2.png" COMP;
22417       }
22418       parts {
22419          part { name: "bg";
22420             mouse_events: 0;
22421             scale: 1;
22422             description { state: "default" 0.0;
22423                rel1.offset: 1 1;
22424                rel2.relative: 0.0 1.0;
22425                rel2.offset: 1 -2;
22426                align: 0.0 0.5;
22427                min: 16 16;
22428                max: 16 16;
22429                aspect: 1.0 1.0;
22430                aspect_preference: VERTICAL;
22431                image {
22432                   normal: "check_base.png";
22433                   border: 5 5 5 5;
22434                   middle: 0;
22435                }
22436                fill.smooth : 0;
22437             }
22438          }
22439          part { name: "check";
22440             mouse_events: 0;
22441             scale: 1;
22442             description { state: "default" 0.0;
22443                rel1 {
22444                   to: "bg";
22445                   offset: 1 1;
22446                }
22447                rel2 {
22448                   to: "bg";
22449                   offset: -2 -2;
22450                }
22451                visible: 0;
22452                color: 255 255 255 255;
22453                image.normal: "check.png";
22454             }
22455             description { state: "visible" 0.0;
22456                inherit: "default" 0.0;
22457                visible: 1;
22458             }
22459             description { state: "disabled" 0.0;
22460                inherit: "default" 0.0;
22461                visible: 0;
22462                color: 128 128 128 128;
22463             }
22464             description { state: "disabled_visible" 0.0;
22465                inherit: "default" 0.0;
22466                color: 128 128 128 128;
22467                visible: 1;
22468             }
22469          }
22470          part { name: "elm.swallow.content";
22471             type: SWALLOW;
22472             description { state: "default" 0.0;
22473                fixed: 1 0;
22474                visible: 0;
22475                align: 0.0 0.5;
22476           rel1.to_x: "bg";
22477                rel1.relative: 1.0 0.0;
22478                rel1.offset: 1 1;
22479           rel2.to_x: "bg";
22480                rel2.offset: 1 -2;
22481                rel2.relative: 1.0 1.0;
22482             }
22483             description { state: "visible" 0.0;
22484                inherit: "default" 0.0;
22485           fixed: 1 0;
22486                visible: 1;
22487                aspect: 1.0 1.0;
22488             }
22489             description { state: "disabled" 0.0;
22490                inherit: "default" 0.0;
22491                color: 128 128 128 128;
22492             }
22493             description { state: "disabled_visible" 0.0;
22494                inherit: "default" 0.0;
22495                color: 128 128 128 128;
22496           fixed: 1 0;
22497                visible: 1;
22498                aspect: 1.0 1.0;
22499             }
22500          }
22501          part { name: "elm.text";
22502             type: TEXT;
22503             mouse_events: 0;
22504             scale: 1;
22505             description { state: "default" 0.0;
22506                visible: 0;
22507                rel1.to_x: "elm.swallow.content";
22508                rel1.relative: 1.0 0.0;
22509                rel1.offset: 1 1;
22510                rel2.relative: 1.0 1.0;
22511                rel2.offset: -2 -2;
22512                color: 0 0 0 255;
22513                text {
22514                   font: "Sans,Edje-Vera";
22515                   size: 10;
22516                   min: 0 1;
22517                   align: 0.0 0.5;
22518                }
22519             }
22520             description { state: "visible" 0.0;
22521                inherit: "default" 0.0;
22522                visible: 1;
22523                text.min: 1 1;
22524             }
22525             description { state: "disabled" 0.0;
22526                inherit: "default" 0.0;
22527                color: 0 0 0 128;
22528                color3: 0 0 0 0;
22529             }
22530             description { state: "disabled_visible" 0.0;
22531                inherit: "default" 0.0;
22532                color: 0 0 0 128;
22533                color3: 0 0 0 0;
22534                visible: 1;
22535                text.min: 1 1;
22536             }
22537          }
22538          part { name: "events";
22539             type: RECT;
22540             ignore_flags: ON_HOLD;
22541             description { state: "default" 0.0;
22542                color: 0 0 0 0;
22543             }
22544          }
22545           part { name: "disabler";
22546             type: RECT;
22547             description { state: "default" 0.0;
22548                color: 0 0 0 0;
22549                visible: 0;
22550             }
22551             description { state: "disabled" 0.0;
22552                inherit: "default" 0.0;
22553                visible: 1;
22554             }
22555          }
22556       }
22557       programs {
22558          program { name: "click";
22559             signal: "mouse,up,1";
22560             source: "events";
22561             action: SIGNAL_EMIT "elm,action,check,toggle" "";
22562          }
22563          program { name: "check_on";
22564             signal: "elm,state,check,on";
22565             source: "elm";
22566             action:  STATE_SET "visible" 0.0;
22567             target: "check";
22568          }
22569          program { name: "check_off";
22570             signal: "elm,state,check,off";
22571             source: "elm";
22572             action:  STATE_SET "default" 0.0;
22573             target: "check";
22574          }
22575          program { name: "text_show";
22576             signal: "elm,state,text,visible";
22577             source: "elm";
22578             action:  STATE_SET "visible" 0.0;
22579             target: "elm.text";
22580          }
22581          program { name: "text_hide";
22582             signal: "elm,state,text,hidden";
22583             source: "elm";
22584             action:  STATE_SET "default" 0.0;
22585             target: "elm.text";
22586          }
22587          program { name: "icon_show";
22588             signal: "elm,state,icon,visible";
22589             source: "elm";
22590             action:  STATE_SET "visible" 0.0;
22591             target: "elm.swallow.content";
22592          }
22593          program { name: "icon_hide";
22594             signal: "elm,state,icon,hidden";
22595             source: "elm";
22596             action:  STATE_SET "default" 0.0;
22597             target: "elm.swallow.content";
22598          }
22599          program { name: "disable";
22600             signal: "elm,state,disabled";
22601             source: "elm";
22602             action: STATE_SET "disabled" 0.0;
22603             target: "disabler";
22604             after: "disable_text";
22605          }
22606          program { name: "disable_text";
22607             script {
22608                new st[31];
22609                new Float:vl;
22610                get_state(PART:"elm.text", st, 30, vl);
22611                if (!strcmp(st, "visible"))
22612                  set_state(PART:"elm.text", "disabled_visible", 0.0);
22613                else
22614                  set_state(PART:"elm.text", "disabled", 0.0);
22615
22616                get_state(PART:"elm.swallow.content", st, 30, vl);
22617                if (!strcmp(st, "visible"))
22618                  set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
22619                else
22620                  set_state(PART:"elm.swallow.content", "disabled", 0.0);
22621
22622                get_state(PART:"check", st, 30, vl);
22623                if (!strcmp(st, "visible"))
22624                  set_state(PART:"check", "disabled_visible", 0.0);
22625                else
22626                  set_state(PART:"check", "disabled", 0.0);
22627             }
22628          }
22629          program { name: "enable";
22630             signal: "elm,state,enabled";
22631             source: "elm";
22632             action: STATE_SET "default" 0.0;
22633             target: "disabler";
22634             after: "enable_text";
22635          }
22636          program { name: "enable_text";
22637             script {
22638                new st[31];
22639                new Float:vl;
22640                get_state(PART:"elm.text", st, 30, vl);
22641                if (!strcmp(st, "disabled_visible"))
22642                  set_state(PART:"elm.text", "visible", 0.0);
22643                else
22644                  set_state(PART:"elm.text", "default", 0.0);
22645
22646                get_state(PART:"elm.swallow.content", st, 30, vl);
22647                if (!strcmp(st, "visible"))
22648                  set_state(PART:"elm.swallow.content", "visible", 0.0);
22649                else
22650                  set_state(PART:"elm.swallow.content", "default", 0.0);
22651
22652                get_state(PART:"check", st, 30, vl);
22653                if (!strcmp(st, "visible"))
22654                  set_state(PART:"check", "visible", 0.0);
22655                else
22656                  set_state(PART:"check", "default", 0.0);
22657             }
22658          }
22659       }
22660    }
22661 ///////////////////////////////////////////////////////////////////////////////
22662    group { name: "elm/radio/base/default";
22663       images {
22664          image: "radio_base.png" COMP;
22665          image: "radio.png" COMP;
22666          image: "radio2.png" COMP;
22667       }
22668       parts {
22669          part { name: "bg";
22670             mouse_events: 0;
22671             scale: 1;
22672             description { state: "default" 0.0;
22673                rel1.offset: 1 1;
22674                rel2.relative: 0.0 1.0;
22675                rel2.offset: 1 -2;
22676                align: 0.0 0.5;
22677                min: 16 16;
22678                max: 16 16;
22679                aspect: 1.0 1.0;
22680                aspect_preference: VERTICAL;
22681                image.normal: "radio_base.png";
22682             }
22683          }
22684          part { name: "radio";
22685             mouse_events: 0;
22686             scale: 1;
22687             description { state: "default" 0.0;
22688                rel1.to: "bg";
22689                rel2.to: "bg";
22690                visible: 0;
22691                image.normal: "radio.png";
22692             }
22693             description { state: "visible" 0.0;
22694                inherit: "default" 0.0;
22695                visible: 1;
22696             }
22697          }
22698          part { name: "elm.swallow.content";
22699             type: SWALLOW;
22700             description { state: "default" 0.0;
22701                fixed: 1 0;
22702                visible: 0;
22703                align: 0.0 0.5;
22704                color: 0 0 0 0;
22705                rel1.to_x: "bg";
22706                rel1.relative: 1.0 0.0;
22707                rel1.offset: 1 1;
22708                rel2.to_x: "bg";
22709                rel2.relative: 1.0 1.0;
22710                rel2.offset: 2 -2;
22711             }
22712             description { state: "visible" 0.0;
22713                inherit: "default" 0.0;
22714                visible: 1;
22715                color: 255 255 255 255;
22716                aspect: 1.0 1.0;
22717             }
22718             description { state: "disabled" 0.0;
22719                inherit: "default" 0.0;
22720                color: 128 128 128 128;
22721             }
22722             description { state: "disabled_visible" 0.0;
22723                inherit: "default" 0.0;
22724                color: 128 128 128 128;
22725                visible: 1;
22726                aspect: 1.0 1.0;
22727             }
22728          }
22729          part { name: "elm.text";
22730             type: TEXT;
22731             mouse_events: 0;
22732             scale: 1;
22733             description { state: "default" 0.0;
22734                visible: 0;
22735                rel1.to_x: "elm.swallow.content";
22736                rel1.relative: 1.0 0.0;
22737                rel1.offset: 1 1;
22738                rel2.relative: 1.0 1.0;
22739                rel2.offset: -2 -2;
22740                color: 0 0 0 255;
22741                text {
22742                   font: "Sans,Edje-Vera";
22743                   size: 10;
22744                   min: 0 0;
22745                   align: 0.0 0.5;
22746                }
22747             }
22748             description { state: "visible" 0.0;
22749                inherit: "default" 0.0;
22750                visible: 1;
22751                text.min: 1 1;
22752             }
22753             description { state: "disabled" 0.0;
22754                inherit: "default" 0.0;
22755                color: 0 0 0 128;
22756                color3: 0 0 0 0;
22757             }
22758             description { state: "disabled_visible" 0.0;
22759                inherit: "default" 0.0;
22760                color: 0 0 0 128;
22761                color3: 0 0 0 0;
22762                visible: 1;
22763                text.min: 1 1;
22764             }
22765          }
22766          part { name: "events";
22767             type: RECT;
22768             ignore_flags: ON_HOLD;
22769             description { state: "default" 0.0;
22770                color: 0 0 0 0;
22771             }
22772          }
22773           part { name: "disabler";
22774             type: RECT;
22775             description { state: "default" 0.0;
22776                color: 0 0 0 0;
22777                visible: 0;
22778             }
22779             description { state: "disabled" 0.0;
22780                inherit: "default" 0.0;
22781                visible: 1;
22782             }
22783          }
22784       }
22785       programs {
22786          program { name: "click";
22787             signal: "mouse,up,1";
22788             source: "events";
22789             action: SIGNAL_EMIT "elm,action,radio,toggle" "";
22790          }
22791          program { name: "radio_on";
22792             signal: "elm,state,radio,on";
22793             source: "elm";
22794             action:  STATE_SET "visible" 0.0;
22795             target: "radio";
22796          }
22797          program { name: "radio_off";
22798             signal: "elm,state,radio,off";
22799             source: "elm";
22800             action:  STATE_SET "default" 0.0;
22801             target: "radio";
22802          }
22803          program { name: "text_show";
22804             signal: "elm,state,text,visible";
22805             source: "elm";
22806             action:  STATE_SET "visible" 0.0;
22807             target: "elm.text";
22808          }
22809          program { name: "text_hide";
22810             signal: "elm,state,text,hidden";
22811             source: "elm";
22812             action:  STATE_SET "default" 0.0;
22813             target: "elm.text";
22814          }
22815          program { name: "icon_show";
22816             signal: "elm,state,icon,visible";
22817             source: "elm";
22818             action:  STATE_SET "visible" 0.0;
22819             target: "elm.swallow.content";
22820          }
22821          program { name: "icon_hide";
22822             signal: "elm,state,icon,hidden";
22823             source: "elm";
22824             action:  STATE_SET "default" 0.0;
22825             target: "elm.swallow.content";
22826          }
22827          program { name: "disable";
22828             signal: "elm,state,disabled";
22829             source: "elm";
22830             action: STATE_SET "disabled" 0.0;
22831             target: "disabler";
22832             after: "disable_text";
22833          }
22834          program { name: "disable_text";
22835             script {
22836                new st[31];
22837                new Float:vl;
22838                get_state(PART:"elm.text", st, 30, vl);
22839                if (!strcmp(st, "visible"))
22840                  set_state(PART:"elm.text", "disabled_visible", 0.0);
22841                else
22842                  set_state(PART:"elm.text", "disabled", 0.0);
22843
22844                get_state(PART:"elm.swallow.content", st, 30, vl);
22845                if (!strcmp(st, "visible"))
22846                  set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
22847                else
22848                  set_state(PART:"elm.swallow.content", "disabled", 0.0);
22849             }
22850          }
22851          program { name: "enable";
22852             signal: "elm,state,enabled";
22853             source: "elm";
22854             action: STATE_SET "default" 0.0;
22855             target: "disabler";
22856             after: "enable_text";
22857          }
22858          program { name: "enable_text";
22859             script {
22860                new st[31];
22861                new Float:vl;
22862                get_state(PART:"elm.text", st, 30, vl);
22863                if (!strcmp(st, "disabled_visible"))
22864                  set_state(PART:"elm.text", "visible", 0.0);
22865                else
22866                  set_state(PART:"elm.text", "default", 0.0);
22867
22868                get_state(PART:"elm.swallow.content", st, 30, vl);
22869                if (!strcmp(st, "visible"))
22870                  set_state(PART:"elm.swallow.content", "visible", 0.0);
22871                else
22872                  set_state(PART:"elm.swallow.content", "default", 0.0);
22873             }
22874          }
22875       }
22876    }
22877    group { name: "elm/genlist/tree_compress_odd/double_label/default";
22878       data.item: "stacking" "below";
22879       data.item: "selectraise" "on";
22880       data.item: "labels" "elm.text elm.text.sub";
22881       data.item: "icons" "elm.swallow.icon elm.swallow.end";
22882       data.item: "treesize" "20";
22883 //      data.item: "states" "";
22884       images {
22885          image: "bt_sm_base1.png" COMP;
22886          image: "bt_sm_shine.png" COMP;
22887          image: "bt_sm_hilight.png" COMP;
22888          image: "ilist_2.png" COMP;
22889          image: "icon_arrow_right.png" COMP;
22890          image: "icon_arrow_down.png" COMP;
22891       }
22892       parts {
22893          part {
22894             name:           "event";
22895             type:           RECT;
22896             repeat_events: 1;
22897             description {
22898                state: "default" 0.0;
22899                color: 0 0 0 0;
22900             }
22901          }
22902          part {
22903             name: "base";
22904             mouse_events: 0;
22905             description {
22906                state: "default" 0.0;
22907                image {
22908                   normal: "ilist_2.png";
22909                   border: 2 2 2 2;
22910                }
22911                fill.smooth: 0;
22912             }
22913          }
22914          part { name: "bg";
22915             clip_to: "disclip";
22916             mouse_events: 0;
22917             description { state: "default" 0.0;
22918                visible: 0;
22919                color: 255 255 255 0;
22920                rel1 {
22921                   relative: 0.0 0.0;
22922                   offset: -5 -5;
22923                }
22924                rel2 {
22925                   relative: 1.0 1.0;
22926                   offset: 4 4;
22927                }
22928                image {
22929                   normal: "bt_sm_base1.png";
22930                   border: 6 6 6 6;
22931                }
22932                image.middle: SOLID;
22933             }
22934             description { state: "selected" 0.0;
22935                inherit: "default" 0.0;
22936                visible: 1;
22937                color: 255 255 255 255;
22938                rel1 {
22939                   relative: 0.0 0.0;
22940                   offset: -2 -2;
22941                }
22942                rel2 {
22943                   relative: 1.0 1.0;
22944                   offset: 1 1;
22945                }
22946             }
22947          }
22948          part { name: "elm.swallow.pad";
22949             type: SWALLOW;
22950             description { state: "default" 0.0;
22951                fixed: 1 0;
22952                align: 0.0 0.5;
22953                rel1 {
22954                   relative: 0.0  0.0;
22955                   offset:   4    4;
22956                }
22957                rel2 {
22958                   relative: 0.0  1.0;
22959                   offset:   4   -5;
22960                }
22961             }
22962          }
22963          part { name: "arrow";
22964             clip_to: "disclip";
22965             ignore_flags: ON_HOLD;
22966             description { state: "default" 0.0;
22967                fixed: 1 0;
22968                align: 0.0 0.5;
22969                aspect: 1.0 1.0;
22970                rel1 {
22971                   to_x: "elm.swallow.pad";
22972                   relative: 1.0  0.0;
22973                   offset:   -1    4;
22974                }
22975                rel2 {
22976                   to_x: "elm.swallow.pad";
22977                   relative: 1.0  1.0;
22978                   offset:   -1   -5;
22979                }
22980                image.normal: "icon_arrow_right.png";
22981             }
22982             description { state: "active" 0.0;
22983                inherit: "default" 0.0;
22984                image.normal: "icon_arrow_down.png";
22985             }
22986          }
22987          part { name: "elm.swallow.icon";
22988             clip_to: "disclip";
22989             type: SWALLOW;
22990             description { state: "default" 0.0;
22991                fixed: 1 0;
22992                align: 0.0 0.5;
22993                rel1 {
22994                   to_x: "arrow";
22995                   relative: 1.0  0.0;
22996                   offset:   4    4;
22997                }
22998                rel2 {
22999                   to_x: "arrow";
23000                   relative: 1.0  1.0;
23001                   offset:   4   -5;
23002                }
23003             }
23004          }
23005          part { name: "elm.swallow.end";
23006             clip_to: "disclip";
23007             type: SWALLOW;
23008             description { state: "default" 0.0;
23009                fixed: 1 0;
23010                align: 1.0 0.5;
23011                aspect: 1.0 1.0;
23012                aspect_preference: VERTICAL;
23013                rel1 {
23014                   relative: 1.0  0.0;
23015                   offset:   -5    4;
23016                }
23017                rel2 {
23018                   relative: 1.0  1.0;
23019                   offset:   -5   -5;
23020                }
23021             }
23022          }
23023          part { name: "elm.text";
23024             clip_to: "disclip";
23025             type:           TEXT;
23026             effect:         SOFT_SHADOW;
23027             mouse_events:   0;
23028             scale: 1;
23029             description {
23030                state: "default" 0.0;
23031 //               min: 16 16;
23032                rel1 {
23033                   to_x:     "elm.swallow.icon";
23034                   relative: 1.0  0.0;
23035                   offset:   0 4;
23036                }
23037                rel2 {
23038                   to_x:     "elm.swallow.end";
23039                   relative: 0.0  0.5;
23040                   offset:   -1 -5;
23041                }
23042                color: 0 0 0 255;
23043                color3: 0 0 0 0;
23044                text {
23045                   font: "Sans";
23046                   size: 10;
23047 //                  min: 1 1;
23048                   min: 0 1;
23049                   align: 0.0 0.5;
23050                   text_class: "list_item";
23051                }
23052             }
23053             description { state: "selected" 0.0;
23054                inherit: "default" 0.0;
23055                color: 224 224 224 255;
23056                color3: 0 0 0 64;
23057             }
23058          }
23059          part { name: "elm.text.sub";
23060             clip_to: "disclip";
23061             type:           TEXT;
23062             mouse_events:   0;
23063             scale: 1;
23064             description {
23065                state: "default" 0.0;
23066 //               min: 16 16;
23067                rel1 {
23068                   to_x:     "elm.swallow.icon";
23069                   relative: 1.0  0.5;
23070                   offset:   0 4;
23071                }
23072                rel2 {
23073                   to_x:     "elm.swallow.end";
23074                   relative: 0.0  1.0;
23075                   offset:   -1 -5;
23076                }
23077                color: 0 0 0 128;
23078                color3: 0 0 0 0;
23079                text {
23080                   font: "Sans";
23081                   size: 8;
23082 //                  min: 1 1;
23083                   min: 0 1;
23084                   align: 0.0 0.5;
23085                   text_class: "list_item";
23086                }
23087             }
23088             description { state: "selected" 0.0;
23089                inherit: "default" 0.0;
23090                color: 128 128 128 255;
23091                color3: 0 0 0 32;
23092             }
23093          }
23094          part { name: "fg1";
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.relative: 1.0 0.5;
23102                rel2.to: "bg";
23103                image {
23104                   normal: "bt_sm_hilight.png";
23105                   border: 6 6 6 0;
23106                }
23107             }
23108             description { state: "selected" 0.0;
23109                inherit: "default" 0.0;
23110                visible: 1;
23111                color: 255 255 255 255;
23112             }
23113          }
23114          part { name: "fg2";
23115             clip_to: "disclip";
23116             mouse_events: 0;
23117             description { state: "default" 0.0;
23118                visible: 0;
23119                color: 255 255 255 0;
23120                rel1.to: "bg";
23121                rel2.to: "bg";
23122                image {
23123                   normal: "bt_sm_shine.png";
23124                   border: 6 6 6 0;
23125                }
23126             }
23127             description { state: "selected" 0.0;
23128                inherit: "default" 0.0;
23129                visible: 1;
23130                color: 255 255 255 255;
23131             }
23132          }
23133          part { name: "disclip";
23134             type: RECT;
23135             description { state: "default" 0.0;
23136                rel1.to: "bg";
23137                rel2.to: "bg";
23138             }
23139             description { state: "disabled" 0.0;
23140                inherit: "default" 0.0;
23141                color: 255 255 255 64;
23142             }
23143          }
23144       }
23145       programs {
23146          // signal: elm,state,%s,active
23147          //   a "check" item named %s went active
23148          // signal: elm,state,%s,passive
23149          //   a "check" item named %s went passive
23150          // default is passive
23151          program {
23152             name:    "go_active";
23153             signal:  "elm,state,selected";
23154             source:  "elm";
23155             action:  STATE_SET "selected" 0.0;
23156             target:  "bg";
23157             target:  "fg1";
23158             target:  "fg2";
23159             target:  "elm.text";
23160             target:  "elm.text.sub";
23161          }
23162          program {
23163             name:    "go_passive";
23164             signal:  "elm,state,unselected";
23165             source:  "elm";
23166             action:  STATE_SET "default" 0.0;
23167             target:  "bg";
23168             target:  "fg1";
23169             target:  "fg2";
23170             target:  "elm.text";
23171             target:  "elm.text.sub";
23172             transition: LINEAR 0.1;
23173          }
23174          program {
23175             name:    "go_disabled";
23176             signal:  "elm,state,disabled";
23177             source:  "elm";
23178             action:  STATE_SET "disabled" 0.0;
23179             target:  "disclip";
23180          }
23181          program {
23182             name:    "go_enabled";
23183             signal:  "elm,state,enabled";
23184             source:  "elm";
23185             action:  STATE_SET "default" 0.0;
23186             target:  "disclip";
23187          }
23188          program {
23189             name:    "expand";
23190             signal:  "mouse,up,1";
23191             source:  "arrow";
23192             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
23193          }
23194          program {
23195             name:    "go_expanded";
23196             signal:  "elm,state,expanded";
23197             source:  "elm";
23198             action:  STATE_SET "active" 0.0;
23199             target:  "arrow";
23200          }
23201          program {
23202             name:    "go_contracted";
23203             signal:  "elm,state,contracted";
23204             source:  "elm";
23205             action:  STATE_SET "default" 0.0;
23206             target:  "arrow";
23207          }
23208       }
23209    }
23210
23211    group { name: "elm/genlist/item_compress/media/default";
23212       data.item: "stacking" "above";
23213       data.item: "selectraise" "on";
23214       data.item: "labels" "elm.text.title elm.text.album-artist";
23215       data.item: "treesize" "20";
23216       images {
23217          image: "bt_sm_base1.png" COMP;
23218          image: "bt_sm_shine.png" COMP;
23219          image: "bt_sm_hilight.png" COMP;
23220          image: "ilist_1.png" COMP;
23221          image: "ilist_item_shadow.png" COMP;
23222       }
23223       parts {
23224          part {
23225             name:           "event";
23226             type:           RECT;
23227             repeat_events: 1;
23228             description {
23229                state: "default" 0.0;
23230                color: 0 0 0 0;
23231             }
23232          }
23233          part {
23234             name: "base_sh";
23235             mouse_events: 0;
23236             description {
23237                state: "default" 0.0;
23238                align: 0.0 0.0;
23239                min: 0 10;
23240                fixed: 1 1;
23241                rel1 {
23242                   to: "base";
23243                   relative: 0.0 1.0;
23244                   offset: 0 0;
23245                }
23246                rel2 {
23247                   to: "base";
23248                   relative: 1.0 1.0;
23249                   offset: -1 0;
23250                }
23251                image {
23252                   normal: "ilist_item_shadow.png";
23253                }
23254                fill.smooth: 0;
23255             }
23256          }
23257          part {
23258             name: "base";
23259             mouse_events: 0;
23260             description {
23261                state: "default" 0.0;
23262                image {
23263                   normal: "ilist_1.png";
23264                   border: 2 2 2 2;
23265                }
23266                fill.smooth: 0;
23267             }
23268          }
23269          part { name: "bg";
23270             clip_to: "disclip";
23271             mouse_events: 0;
23272             description { state: "default" 0.0;
23273                visible: 0;
23274                color: 255 255 255 0;
23275                rel1 {
23276                   relative: 0.0 0.0;
23277                   offset: -5 -5;
23278                }
23279                rel2 {
23280                   relative: 1.0 1.0;
23281                   offset: 4 4;
23282                }
23283                image {
23284                   normal: "bt_sm_base1.png";
23285                   border: 6 6 6 6;
23286                }
23287                image.middle: SOLID;
23288             }
23289             description { state: "selected" 0.0;
23290                inherit: "default" 0.0;
23291                visible: 1;
23292                color: 255 255 255 255;
23293                rel1 {
23294                   relative: 0.0 0.0;
23295                   offset: -2 -2;
23296                }
23297                rel2 {
23298                   relative: 1.0 1.0;
23299                   offset: 1 1;
23300                }
23301             }
23302          }
23303          part { name: "elm.swallow.pad";
23304             type: SWALLOW;
23305             description { state: "default" 0.0;
23306                fixed: 1 0;
23307                align: 0.0 0.5;
23308                rel1 {
23309                   relative: 0.0  0.0;
23310                   offset:   4    4;
23311                }
23312                rel2 {
23313                   relative: 0.0  1.0;
23314                   offset:   4   -5;
23315                }
23316             }
23317          }
23318          part { name: "elm.text.title";
23319             clip_to: "disclip";
23320             type:           TEXT;
23321             effect:         SOFT_SHADOW;
23322             mouse_events:   0;
23323             scale: 1;
23324             description {
23325                state: "default" 0.0;
23326                rel1 {
23327                   relative: 0.0  0.0;
23328                   offset:   4 4;
23329                }
23330                rel2 {
23331                   relative: 1.0  0.5;
23332                   offset:   -1 -5;
23333                }
23334                color: 0 0 0 255;
23335                color3: 0 0 0 0;
23336                text {
23337                   font: "Sans";
23338                   size: 10;
23339                   min: 0 1;
23340                   align: 0.0 0.5;
23341                }
23342             }
23343             description { state: "selected" 0.0;
23344                inherit: "default" 0.0;
23345                color: 224 224 224 255;
23346                color3: 0 0 0 64;
23347             }
23348          }
23349          part { name: "elm.text.album-artist";
23350             clip_to: "disclip";
23351             type:           TEXT;
23352             mouse_events:   0;
23353             scale: 1;
23354             description {
23355                state: "default" 0.0;
23356                rel1 {
23357                   relative: 0.0  0.5;
23358                   offset:   4 4;
23359                }
23360                rel2 {
23361                   relative: 1.0  1.0;
23362                   offset:   -1 -5;
23363                }
23364                color: 0 0 0 128;
23365                color3: 0 0 0 0;
23366                text {
23367                   font: "Sans";
23368                   size: 8;
23369                   min: 0 1;
23370                   align: 0.0 0.5;
23371                }
23372             }
23373             description { state: "selected" 0.0;
23374                inherit: "default" 0.0;
23375                color: 128 128 128 255;
23376                color3: 0 0 0 32;
23377             }
23378          }
23379          part { name: "fg1";
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.relative: 1.0 0.5;
23387                rel2.to: "bg";
23388                image {
23389                   normal: "bt_sm_hilight.png";
23390                   border: 6 6 6 0;
23391                }
23392             }
23393             description { state: "selected" 0.0;
23394                inherit: "default" 0.0;
23395                visible: 1;
23396                color: 255 255 255 255;
23397             }
23398          }
23399          part { name: "fg2";
23400             clip_to: "disclip";
23401             mouse_events: 0;
23402             description { state: "default" 0.0;
23403                visible: 0;
23404                color: 255 255 255 0;
23405                rel1.to: "bg";
23406                rel2.to: "bg";
23407                image {
23408                   normal: "bt_sm_shine.png";
23409                   border: 6 6 6 0;
23410                }
23411             }
23412             description { state: "selected" 0.0;
23413                inherit: "default" 0.0;
23414                visible: 1;
23415                color: 255 255 255 255;
23416             }
23417          }
23418          part { name: "disclip";
23419             type: RECT;
23420             description { state: "default" 0.0;
23421                rel1.to: "bg";
23422                rel2.to: "bg";
23423             }
23424             description { state: "disabled" 0.0;
23425                inherit: "default" 0.0;
23426                color: 255 255 255 64;
23427             }
23428          }
23429       }
23430       programs {
23431          // signal: elm,state,%s,active
23432          //   a "check" item named %s went active
23433          // signal: elm,state,%s,passive
23434          //   a "check" item named %s went passive
23435          // default is passive
23436          program {
23437             name:    "go_active";
23438             signal:  "elm,state,selected";
23439             source:  "elm";
23440             action:  STATE_SET "selected" 0.0;
23441             target:  "bg";
23442             target:  "fg1";
23443             target:  "fg2";
23444             target:  "elm.text.title";
23445             target:  "elm.text.album-artist";
23446          }
23447          program {
23448             name:    "go_passive";
23449             signal:  "elm,state,unselected";
23450             source:  "elm";
23451             action:  STATE_SET "default" 0.0;
23452             target:  "bg";
23453             target:  "fg1";
23454             target:  "fg2";
23455             target:  "elm.text.title";
23456             target:  "elm.text.album-artist";
23457             transition: LINEAR 0.1;
23458          }
23459          program {
23460             name:    "go_disabled";
23461             signal:  "elm,state,disabled";
23462             source:  "elm";
23463             action:  STATE_SET "disabled" 0.0;
23464             target:  "disclip";
23465          }
23466          program {
23467             name:    "go_enabled";
23468             signal:  "elm,state,enabled";
23469             source:  "elm";
23470             action:  STATE_SET "default" 0.0;
23471             target:  "disclip";
23472          }
23473       }
23474    }
23475    group { name: "elm/genlist/item_compress_odd/media/default";
23476       data.item: "stacking" "below";
23477       data.item: "selectraise" "on";
23478       data.item: "labels" "elm.text.title elm.text.album-artist";
23479       data.item: "treesize" "20";
23480       images {
23481          image: "bt_sm_base1.png" COMP;
23482          image: "bt_sm_shine.png" COMP;
23483          image: "bt_sm_hilight.png" COMP;
23484          image: "ilist_2.png" COMP;
23485       }
23486       parts {
23487          part { name: "event";
23488             type: RECT;
23489             repeat_events: 1;
23490             description {
23491                state: "default" 0.0;
23492                color: 0 0 0 0;
23493             }
23494          }
23495          part {
23496             name: "base";
23497             mouse_events: 0;
23498             description {
23499                state: "default" 0.0;
23500                image {
23501                   normal: "ilist_2.png";
23502                   border: 2 2 2 2;
23503                }
23504                fill.smooth: 0;
23505             }
23506          }
23507          part { name: "bg";
23508             clip_to: "disclip";
23509             mouse_events: 0;
23510             description { state: "default" 0.0;
23511                visible: 0;
23512                color: 255 255 255 0;
23513                rel1 {
23514                   relative: 0.0 0.0;
23515                   offset: -5 -5;
23516                }
23517                rel2 {
23518                   relative: 1.0 1.0;
23519                   offset: 4 4;
23520                }
23521                image {
23522                   normal: "bt_sm_base1.png";
23523                   border: 6 6 6 6;
23524                }
23525                image.middle: SOLID;
23526             }
23527             description { state: "selected" 0.0;
23528                inherit: "default" 0.0;
23529                visible: 1;
23530                color: 255 255 255 255;
23531                rel1 {
23532                   relative: 0.0 0.0;
23533                   offset: -2 -2;
23534                }
23535                rel2 {
23536                   relative: 1.0 1.0;
23537                   offset: 1 1;
23538                }
23539             }
23540          }
23541          part { name: "elm.swallow.pad";
23542             type: SWALLOW;
23543             description { state: "default" 0.0;
23544                fixed: 1 0;
23545                align: 0.0 0.5;
23546                rel1 {
23547                   relative: 0.0  0.0;
23548                   offset:   4    4;
23549                }
23550                rel2 {
23551                   relative: 0.0  1.0;
23552                   offset:   4   -5;
23553                }
23554             }
23555          }
23556          part { name: "elm.text.title";
23557             clip_to: "disclip";
23558             type:           TEXT;
23559             effect:         SOFT_SHADOW;
23560             mouse_events:   0;
23561             scale: 1;
23562             description {
23563                state: "default" 0.0;
23564                rel1 {
23565                   relative: 0.0  0.0;
23566                   offset:   4 4;
23567                }
23568                rel2 {
23569                   relative: 1.0  0.5;
23570                   offset:   -1 -5;
23571                }
23572                color: 0 0 0 255;
23573                color3: 0 0 0 0;
23574                text {
23575                   font: "Sans";
23576                   size: 10;
23577                   min: 0 1;
23578                   align: 0.0 0.5;
23579                }
23580             }
23581             description { state: "selected" 0.0;
23582                inherit: "default" 0.0;
23583                color: 224 224 224 255;
23584                color3: 0 0 0 64;
23585             }
23586          }
23587          part { name: "elm.text.album-artist";
23588             clip_to: "disclip";
23589             type:           TEXT;
23590             mouse_events:   0;
23591             scale: 1;
23592             description {
23593                state: "default" 0.0;
23594                rel1 {
23595                   relative: 0.0  0.5;
23596                   offset:   4 4;
23597                }
23598                rel2 {
23599                   relative: 1.0  1.0;
23600                   offset:   -1 -5;
23601                }
23602                color: 0 0 0 128;
23603                color3: 0 0 0 0;
23604                text {
23605                   font: "Sans";
23606                   size: 8;
23607                   min: 0 1;
23608                   align: 0.0 0.5;
23609                }
23610             }
23611             description { state: "selected" 0.0;
23612                inherit: "default" 0.0;
23613                color: 128 128 128 255;
23614                color3: 0 0 0 32;
23615             }
23616          }
23617          part { name: "fg1";
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.relative: 1.0 0.5;
23625                rel2.to: "bg";
23626                image {
23627                   normal: "bt_sm_hilight.png";
23628                   border: 6 6 6 0;
23629                }
23630             }
23631             description { state: "selected" 0.0;
23632                inherit: "default" 0.0;
23633                visible: 1;
23634                color: 255 255 255 255;
23635             }
23636          }
23637          part { name: "fg2";
23638             clip_to: "disclip";
23639             mouse_events: 0;
23640             description { state: "default" 0.0;
23641                visible: 0;
23642                color: 255 255 255 0;
23643                rel1.to: "bg";
23644                rel2.to: "bg";
23645                image {
23646                   normal: "bt_sm_shine.png";
23647                   border: 6 6 6 0;
23648                }
23649             }
23650             description { state: "selected" 0.0;
23651                inherit: "default" 0.0;
23652                visible: 1;
23653                color: 255 255 255 255;
23654             }
23655          }
23656          part { name: "disclip";
23657             type: RECT;
23658             description { state: "default" 0.0;
23659                rel1.to: "bg";
23660                rel2.to: "bg";
23661             }
23662             description { state: "disabled" 0.0;
23663                inherit: "default" 0.0;
23664                color: 255 255 255 64;
23665             }
23666          }
23667       }
23668       programs {
23669          // signal: elm,state,%s,active
23670          //   a "check" item named %s went active
23671          // signal: elm,state,%s,passive
23672          //   a "check" item named %s went passive
23673          // default is passive
23674          program {
23675             name:    "go_active";
23676             signal:  "elm,state,selected";
23677             source:  "elm";
23678             action:  STATE_SET "selected" 0.0;
23679             target:  "bg";
23680             target:  "fg1";
23681             target:  "fg2";
23682             target:  "elm.text.title";
23683             target:  "elm.text.album-artist";
23684          }
23685          program {
23686             name:    "go_passive";
23687             signal:  "elm,state,unselected";
23688             source:  "elm";
23689             action:  STATE_SET "default" 0.0;
23690             target:  "bg";
23691             target:  "fg1";
23692             target:  "fg2";
23693             target:  "elm.text.title";
23694             target:  "elm.text.album-artist";
23695             transition: LINEAR 0.1;
23696          }
23697          program {
23698             name:    "go_disabled";
23699             signal:  "elm,state,disabled";
23700             source:  "elm";
23701             action:  STATE_SET "disabled" 0.0;
23702             target:  "disclip";
23703          }
23704          program {
23705             name:    "go_enabled";
23706             signal:  "elm,state,enabled";
23707             source:  "elm";
23708             action:  STATE_SET "default" 0.0;
23709             target:  "disclip";
23710          }
23711       }
23712    }
23713
23714    group { name: "elm/genlist/item_compress/media-album/default";
23715       data.item: "stacking" "above";
23716       data.item: "selectraise" "on";
23717       data.item: "labels" "elm.text.title elm.text.trackno elm.text.length";
23718       data.item: "states" "elm.state.trackno";
23719       data.item: "treesize" "20";
23720       images {
23721          image: "bt_sm_base1.png" COMP;
23722          image: "bt_sm_shine.png" COMP;
23723          image: "bt_sm_hilight.png" COMP;
23724          image: "ilist_1.png" COMP;
23725          image: "ilist_item_shadow.png" COMP;
23726       }
23727       script {
23728          public dot_visible;
23729       }
23730       parts {
23731          part {
23732             name: "event";
23733             type: RECT;
23734             repeat_events: 1;
23735             description {
23736                state: "default" 0.0;
23737                color: 0 0 0 0;
23738             }
23739          }
23740          part {
23741             name: "base_sh";
23742             mouse_events: 0;
23743             description {
23744                state: "default" 0.0;
23745                align: 0.0 0.0;
23746                min: 0 10;
23747                fixed: 1 1;
23748                rel1 {
23749                   to: "base";
23750                   relative: 0.0 1.0;
23751                   offset: 0 0;
23752                }
23753                rel2 {
23754                   to: "base";
23755                   relative: 1.0 1.0;
23756                   offset: -1 0;
23757                }
23758                image {
23759                   normal: "ilist_item_shadow.png";
23760                }
23761                fill.smooth: 0;
23762             }
23763          }
23764          part {
23765             name: "base";
23766             mouse_events: 0;
23767             description {
23768                state: "default" 0.0;
23769                image {
23770                   normal: "ilist_1.png";
23771                   border: 2 2 2 2;
23772                }
23773                fill.smooth: 0;
23774             }
23775          }
23776          part { name: "bg";
23777             clip_to: "disclip";
23778             mouse_events: 0;
23779             description { state: "default" 0.0;
23780                visible: 0;
23781                color: 255 255 255 0;
23782                rel1 {
23783                   relative: 0.0 0.0;
23784                   offset: -5 -5;
23785                }
23786                rel2 {
23787                   relative: 1.0 1.0;
23788                   offset: 4 4;
23789                }
23790                image {
23791                   normal: "bt_sm_base1.png";
23792                   border: 6 6 6 6;
23793                }
23794                image.middle: SOLID;
23795             }
23796             description { state: "selected" 0.0;
23797                inherit: "default" 0.0;
23798                visible: 1;
23799                color: 255 255 255 255;
23800                rel1 {
23801                   relative: 0.0 0.0;
23802                   offset: -2 -2;
23803                }
23804                rel2 {
23805                   relative: 1.0 1.0;
23806                   offset: 1 1;
23807                }
23808             }
23809          }
23810          part { name: "elm.swallow.pad";
23811             type: SWALLOW;
23812             description { state: "default" 0.0;
23813                fixed: 1 0;
23814                align: 0.0 0.5;
23815                rel1 {
23816                   relative: 0.0  0.0;
23817                   offset:   4    4;
23818                }
23819                rel2 {
23820                   relative: 0.0  1.0;
23821                   offset:   4   -5;
23822                }
23823             }
23824          }
23825          part {
23826             name: "elm.text.trackno";
23827             type: TEXT;
23828             scale: 1;
23829             mouse_events: 0;
23830             description {
23831                state: "default" 0.0;
23832                color: 255 255 255 255;
23833                align: 0.0 0.0;
23834                fixed: 1 0;
23835                rel1 {
23836                   to_y: "elm.text.title";
23837                   relative: 0.0 0.0;
23838                   offset: 5 0;
23839                }
23840                rel2 {
23841                   to_y: "elm.text.title";
23842                   relative: 0.0 1.0;
23843                   offset: 20 0;
23844                }
23845                color: 0 0 0 255;
23846                color3: 0 0 0 0;
23847                text {
23848                   font: "Sans";
23849                   size: 10;
23850                   min: 1 1;
23851                   align: 1.0 0.5;
23852                }
23853             }
23854             description { state: "selected" 0.0;
23855                inherit: "default" 0.0;
23856                color: 224 224 224 255;
23857                color3: 0 0 0 64;
23858             }
23859          }
23860          part {
23861             name: "dot";
23862             type: TEXT;
23863             scale: 1;
23864             mouse_events: 0;
23865             description {
23866                state: "default" 0.0;
23867                color: 255 255 255 255;
23868                visible: 0;
23869                fixed: 1 1;
23870                align: 0.0 0.0;
23871                rel1 {
23872                   to_x: "elm.text.trackno";
23873                   to_y: "elm.text.title";
23874                   relative: 1.0 0.0;
23875                   offset: 1 0;
23876                }
23877                rel2 {
23878                   to_x: "elm.text.trackno";
23879                   to_y: "elm.text.title";
23880                   relative: 1.0 1.0;
23881                   offset: 1 0;
23882
23883                }
23884                color: 0 0 0 255;
23885                color3: 0 0 0 0;
23886                text {
23887                   font: "Sans";
23888                   size: 10;
23889                   min: 1 1;
23890                   align: 0.0 0.5;
23891                   text: ".";
23892                }
23893             }
23894             description {
23895                state: "visible" 0.0;
23896                inherit: "default" 0.0;
23897                visible: 1;
23898             }
23899             description { state: "selected" 0.0;
23900                inherit: "default" 0.0;
23901                color: 224 224 224 255;
23902                color3: 0 0 0 64;
23903                visible: 1;
23904             }
23905          }
23906          programs {
23907             program {
23908                signal: "elm,state,elm.state.trackno,active";
23909                source: "elm";
23910                script {
23911                   set_state(PART:"dot", "visible", 0.0);
23912                   set_int(dot_visible, 1);
23913                }
23914             }
23915          }
23916          part { name: "elm.text.title";
23917             clip_to: "disclip";
23918             type:           TEXT;
23919             effect:         SOFT_SHADOW;
23920             mouse_events:   0;
23921             scale: 1;
23922             description {
23923                state: "default" 0.0;
23924                rel1 {
23925                   to_x: "dot";
23926                   relative: 0.0  0.0;
23927                   offset:   4 4;
23928                }
23929                rel2 {
23930                   relative: 1.0  0.5;
23931                   offset:   -1 -5;
23932                }
23933                color: 0 0 0 255;
23934                color3: 0 0 0 0;
23935                text {
23936                   font: "Sans";
23937                   size: 10;
23938                   min: 0 1;
23939                   align: 0.0 0.5;
23940                }
23941             }
23942             description { state: "selected" 0.0;
23943                inherit: "default" 0.0;
23944                color: 224 224 224 255;
23945                color3: 0 0 0 64;
23946             }
23947          }
23948          part { name: "elm.text.length";
23949             clip_to: "disclip";
23950             type:           TEXT;
23951             mouse_events:   0;
23952             scale: 1;
23953             description {
23954                state: "default" 0.0;
23955                rel1 {
23956                   relative: 0.0  0.5;
23957                   offset:   4 4;
23958                }
23959                rel2 {
23960                   relative: 1.0  1.0;
23961                   offset:   -1 -5;
23962                }
23963                color: 0 0 0 128;
23964                color3: 0 0 0 0;
23965                text {
23966                   font: "Sans";
23967                   size: 8;
23968                   min: 0 1;
23969                   align: 0.0 0.5;
23970                }
23971             }
23972             description { state: "selected" 0.0;
23973                inherit: "default" 0.0;
23974                color: 128 128 128 255;
23975                color3: 0 0 0 32;
23976             }
23977          }
23978          part { name: "fg1";
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.relative: 1.0 0.5;
23986                rel2.to: "bg";
23987                image {
23988                   normal: "bt_sm_hilight.png";
23989                   border: 6 6 6 0;
23990                }
23991             }
23992             description { state: "selected" 0.0;
23993                inherit: "default" 0.0;
23994                visible: 1;
23995                color: 255 255 255 255;
23996             }
23997          }
23998          part { name: "fg2";
23999             clip_to: "disclip";
24000             mouse_events: 0;
24001             description { state: "default" 0.0;
24002                visible: 0;
24003                color: 255 255 255 0;
24004                rel1.to: "bg";
24005                rel2.to: "bg";
24006                image {
24007                   normal: "bt_sm_shine.png";
24008                   border: 6 6 6 0;
24009                }
24010             }
24011             description { state: "selected" 0.0;
24012                inherit: "default" 0.0;
24013                visible: 1;
24014                color: 255 255 255 255;
24015             }
24016          }
24017          part { name: "disclip";
24018             type: RECT;
24019             description { state: "default" 0.0;
24020                rel1.to: "bg";
24021                rel2.to: "bg";
24022             }
24023             description { state: "disabled" 0.0;
24024                inherit: "default" 0.0;
24025                color: 255 255 255 64;
24026             }
24027          }
24028       }
24029       programs {
24030          // signal: elm,state,%s,active
24031          //   a "check" item named %s went active
24032          // signal: elm,state,%s,passive
24033          //   a "check" item named %s went passive
24034          // default is passive
24035          program {
24036             name:    "go_active";
24037             signal:  "elm,state,selected";
24038             source:  "elm";
24039             action:  STATE_SET "selected" 0.0;
24040             target:  "bg";
24041             target:  "fg1";
24042             target:  "fg2";
24043             target:  "elm.text.title";
24044             target:  "elm.text.trackno";
24045             target:  "elm.text.length";
24046             after:   "dot_active";
24047          }
24048          program {
24049             name: "dot_active";
24050             script {
24051                if (get_int(dot_visible) == 1)
24052                   set_state(PART:"dot", "selected", 0.0);
24053             }
24054          }
24055          program {
24056             name:    "go_passive";
24057             signal:  "elm,state,unselected";
24058             source:  "elm";
24059             action:  STATE_SET "default" 0.0;
24060             target:  "bg";
24061             target:  "fg1";
24062             target:  "fg2";
24063             target:  "elm.text.title";
24064             target:  "elm.text.length";
24065             target:  "elm.text.trackno";
24066             transition: LINEAR 0.1;
24067             after:   "dot_passive";
24068          }
24069          program {
24070             name: "dot_passive";
24071             script {
24072                if (get_int(dot_visible) == 1)
24073                   set_state(PART:"dot", "visible", 0.0);
24074             }
24075          }
24076          program {
24077             name:    "go_disabled";
24078             signal:  "elm,state,disabled";
24079             source:  "elm";
24080             action:  STATE_SET "disabled" 0.0;
24081             target:  "disclip";
24082          }
24083          program {
24084             name:    "go_enabled";
24085             signal:  "elm,state,enabled";
24086             source:  "elm";
24087             action:  STATE_SET "default" 0.0;
24088             target:  "disclip";
24089          }
24090       }
24091    }
24092    group { name: "elm/genlist/item_compress_odd/media-album/default";
24093       data.item: "stacking" "below";
24094       data.item: "selectraise" "on";
24095       data.item: "labels" "elm.text.title elm.text.trackno elm.text.length";
24096       data.item: "states" "elm.state.trackno";
24097       data.item: "treesize" "20";
24098       images {
24099          image: "bt_sm_base1.png" COMP;
24100          image: "bt_sm_shine.png" COMP;
24101          image: "bt_sm_hilight.png" COMP;
24102          image: "ilist_2.png" COMP;
24103       }
24104       script {
24105          public dot_visible;
24106       }
24107       parts {
24108          part { name: "event";
24109             type: RECT;
24110             repeat_events: 1;
24111             description {
24112                state: "default" 0.0;
24113                color: 0 0 0 0;
24114             }
24115          }
24116          part {
24117             name: "base";
24118             mouse_events: 0;
24119             description {
24120                state: "default" 0.0;
24121                image {
24122                   normal: "ilist_2.png";
24123                   border: 2 2 2 2;
24124                }
24125                fill.smooth: 0;
24126             }
24127          }
24128          part { name: "bg";
24129             clip_to: "disclip";
24130             mouse_events: 0;
24131             description { state: "default" 0.0;
24132                visible: 0;
24133                color: 255 255 255 0;
24134                rel1 {
24135                   relative: 0.0 0.0;
24136                   offset: -5 -5;
24137                }
24138                rel2 {
24139                   relative: 1.0 1.0;
24140                   offset: 4 4;
24141                }
24142                image {
24143                   normal: "bt_sm_base1.png";
24144                   border: 6 6 6 6;
24145                }
24146                image.middle: SOLID;
24147             }
24148             description { state: "selected" 0.0;
24149                inherit: "default" 0.0;
24150                visible: 1;
24151                color: 255 255 255 255;
24152                rel1 {
24153                   relative: 0.0 0.0;
24154                   offset: -2 -2;
24155                }
24156                rel2 {
24157                   relative: 1.0 1.0;
24158                   offset: 1 1;
24159                }
24160             }
24161          }
24162          part { name: "elm.swallow.pad";
24163             type: SWALLOW;
24164             description { state: "default" 0.0;
24165                fixed: 1 0;
24166                align: 0.0 0.5;
24167                rel1 {
24168                   relative: 0.0  0.0;
24169                   offset:   4    4;
24170                }
24171                rel2 {
24172                   relative: 0.0  1.0;
24173                   offset:   4   -5;
24174                }
24175             }
24176          }
24177          part {
24178             name: "elm.text.trackno";
24179             type: TEXT;
24180             scale: 1;
24181             mouse_events: 0;
24182             description {
24183                state: "default" 0.0;
24184                color: 255 255 255 255;
24185                align: 0.0 0.0;
24186                fixed: 1 0;
24187                rel1 {
24188                   to_y: "elm.text.title";
24189                   relative: 0.0 0.0;
24190                   offset: 5 0;
24191                }
24192                rel2 {
24193                   to_y: "elm.text.title";
24194                   relative: 0.0 1.0;
24195                   offset: 20 0;
24196                }
24197                color: 0 0 0 255;
24198                color3: 0 0 0 0;
24199                text {
24200                   font: "Sans";
24201                   size: 10;
24202                   min: 1 1;
24203                   align: 1.0 0.5;
24204                }
24205             }
24206             description { state: "selected" 0.0;
24207                inherit: "default" 0.0;
24208                color: 224 224 224 255;
24209                color3: 0 0 0 64;
24210             }
24211          }
24212          part {
24213             name: "dot";
24214             type: TEXT;
24215             scale: 1;
24216             mouse_events: 0;
24217             description {
24218                state: "default" 0.0;
24219                color: 255 255 255 255;
24220                visible: 0;
24221                fixed: 1 1;
24222                align: 0.0 0.0;
24223                rel1 {
24224                   to_x: "elm.text.trackno";
24225                   to_y: "elm.text.title";
24226                   relative: 1.0 0.0;
24227                   offset: 1 0;
24228                }
24229                rel2 {
24230                   to_x: "elm.text.trackno";
24231                   to_y: "elm.text.title";
24232                   relative: 1.0 1.0;
24233                   offset: 1 0;
24234
24235                }
24236                color: 0 0 0 255;
24237                color3: 0 0 0 0;
24238                text {
24239                   font: "Sans";
24240                   size: 10;
24241                   min: 1 1;
24242                   align: 0.0 0.5;
24243                   text: ".";
24244                }
24245             }
24246             description {
24247                state: "visible" 0.0;
24248                inherit: "default" 0.0;
24249                visible: 1;
24250             }
24251             description { state: "selected" 0.0;
24252                inherit: "default" 0.0;
24253                color: 224 224 224 255;
24254                color3: 0 0 0 64;
24255                visible: 1;
24256             }
24257          }
24258          programs {
24259             program {
24260                signal: "elm,state,elm.state.trackno,active";
24261                source: "elm";
24262                script {
24263                   set_state(PART:"dot", "visible", 0.0);
24264                   set_int(dot_visible, 1);
24265                }
24266             }
24267          }
24268          part { name: "elm.text.title";
24269             clip_to: "disclip";
24270             type:           TEXT;
24271             effect:         SOFT_SHADOW;
24272             mouse_events:   0;
24273             scale: 1;
24274             description {
24275                state: "default" 0.0;
24276                rel1 {
24277                   to_x: "dot";
24278                   relative: 1.0  0.0;
24279                   offset:   4 4;
24280                }
24281                rel2 {
24282                   relative: 1.0  0.5;
24283                   offset:   -1 -5;
24284                }
24285                color: 0 0 0 255;
24286                color3: 0 0 0 0;
24287                text {
24288                   font: "Sans";
24289                   size: 10;
24290                   min: 0 1;
24291                   align: 0.0 0.5;
24292                }
24293             }
24294             description { state: "selected" 0.0;
24295                inherit: "default" 0.0;
24296                color: 224 224 224 255;
24297                color3: 0 0 0 64;
24298             }
24299          }
24300          part { name: "elm.text.length";
24301             clip_to: "disclip";
24302             type:           TEXT;
24303             mouse_events:   0;
24304             scale: 1;
24305             description {
24306                state: "default" 0.0;
24307                rel1 {
24308                   relative: 0.0  0.5;
24309                   offset:   4 4;
24310                }
24311                rel2 {
24312                   relative: 1.0  1.0;
24313                   offset:   -1 -5;
24314                }
24315                color: 0 0 0 128;
24316                color3: 0 0 0 0;
24317                text {
24318                   font: "Sans";
24319                   size: 8;
24320                   min: 0 1;
24321                   align: 0.0 0.5;
24322                }
24323             }
24324             description { state: "selected" 0.0;
24325                inherit: "default" 0.0;
24326                color: 128 128 128 255;
24327                color3: 0 0 0 32;
24328             }
24329          }
24330          part { name: "fg1";
24331             clip_to: "disclip";
24332             mouse_events: 0;
24333             description { state: "default" 0.0;
24334                visible: 0;
24335                color: 255 255 255 0;
24336                rel1.to: "bg";
24337                rel2.relative: 1.0 0.5;
24338                rel2.to: "bg";
24339                image {
24340                   normal: "bt_sm_hilight.png";
24341                   border: 6 6 6 0;
24342                }
24343             }
24344             description { state: "selected" 0.0;
24345                inherit: "default" 0.0;
24346                visible: 1;
24347                color: 255 255 255 255;
24348             }
24349          }
24350          part { name: "fg2";
24351             clip_to: "disclip";
24352             mouse_events: 0;
24353             description { state: "default" 0.0;
24354                visible: 0;
24355                color: 255 255 255 0;
24356                rel1.to: "bg";
24357                rel2.to: "bg";
24358                image {
24359                   normal: "bt_sm_shine.png";
24360                   border: 6 6 6 0;
24361                }
24362             }
24363             description { state: "selected" 0.0;
24364                inherit: "default" 0.0;
24365                visible: 1;
24366                color: 255 255 255 255;
24367             }
24368          }
24369          part { name: "disclip";
24370             type: RECT;
24371             description { state: "default" 0.0;
24372                rel1.to: "bg";
24373                rel2.to: "bg";
24374             }
24375             description { state: "disabled" 0.0;
24376                inherit: "default" 0.0;
24377                color: 255 255 255 64;
24378             }
24379          }
24380       }
24381       programs {
24382          // signal: elm,state,%s,active
24383          //   a "check" item named %s went active
24384          // signal: elm,state,%s,passive
24385          //   a "check" item named %s went passive
24386          // default is passive
24387          program {
24388             name:    "go_active";
24389             signal:  "elm,state,selected";
24390             source:  "elm";
24391             action:  STATE_SET "selected" 0.0;
24392             target:  "bg";
24393             target:  "fg1";
24394             target:  "fg2";
24395             target:  "elm.text.title";
24396             target:  "elm.text.length";
24397             target:  "elm.text.trackno";
24398             after:   "dot_active";
24399          }
24400          program {
24401             name: "dot_active";
24402             script {
24403                if (get_int(dot_visible) == 1)
24404                   set_state(PART:"dot", "selected", 0.0);
24405             }
24406          }
24407          program {
24408             name:    "go_passive";
24409             signal:  "elm,state,unselected";
24410             source:  "elm";
24411             action:  STATE_SET "default" 0.0;
24412             target:  "bg";
24413             target:  "fg1";
24414             target:  "fg2";
24415             target:  "elm.text.title";
24416             target:  "elm.text.length";
24417             target:  "elm.text.trackno";
24418             transition: LINEAR 0.1;
24419             after:   "dot_passive";
24420          }
24421          program {
24422             name: "dot_passive";
24423             script {
24424                if (get_int(dot_visible) == 1)
24425                   set_state(PART:"dot", "visible", 0.0);
24426             }
24427          }
24428          program {
24429             name:    "go_disabled";
24430             signal:  "elm,state,disabled";
24431             source:  "elm";
24432             action:  STATE_SET "disabled" 0.0;
24433             target:  "disclip";
24434          }
24435          program {
24436             name:    "go_enabled";
24437             signal:  "elm,state,enabled";
24438             source:  "elm";
24439             action:  STATE_SET "default" 0.0;
24440             target:  "disclip";
24441          }
24442       }
24443    }
24444
24445    group { name: "elm/genlist/item_compress/media-preview/default";
24446       data.item: "stacking" "above";
24447       data.item: "selectraise" "on";
24448       data.item: "labels" "elm.text.title elm.text.artist";
24449       data.item: "icons" "elm.swallow.preview";
24450       data.item: "treesize" "20";
24451       images {
24452          image: "bt_sm_base1.png" COMP;
24453          image: "bt_sm_shine.png" COMP;
24454          image: "bt_sm_hilight.png" COMP;
24455          image: "ilist_1.png" COMP;
24456          image: "ilist_item_shadow.png" COMP;
24457       }
24458       parts {
24459          part {
24460             name: "event";
24461             type: RECT;
24462             repeat_events: 1;
24463             description {
24464                state: "default" 0.0;
24465                color: 0 0 0 0;
24466             }
24467          }
24468          part {
24469             name: "base_sh";
24470             mouse_events: 0;
24471             description {
24472                state: "default" 0.0;
24473                align: 0.0 0.0;
24474                min: 0 10;
24475                fixed: 1 1;
24476                rel1 {
24477                   to: "base";
24478                   relative: 0.0 1.0;
24479                   offset: 0 0;
24480                }
24481                rel2 {
24482                   to: "base";
24483                   relative: 1.0 1.0;
24484                   offset: -1 0;
24485                }
24486                image {
24487                   normal: "ilist_item_shadow.png";
24488                }
24489                fill.smooth: 0;
24490             }
24491          }
24492          part {
24493             name: "base";
24494             mouse_events: 0;
24495             description {
24496                state: "default" 0.0;
24497                image {
24498                   normal: "ilist_1.png";
24499                   border: 2 2 2 2;
24500                }
24501                fill.smooth: 0;
24502             }
24503          }
24504          part { name: "bg";
24505             clip_to: "disclip";
24506             mouse_events: 0;
24507             description { state: "default" 0.0;
24508                visible: 0;
24509                color: 255 255 255 0;
24510                rel1 {
24511                   relative: 0.0 0.0;
24512                   offset: -5 -5;
24513                }
24514                rel2 {
24515                   relative: 1.0 1.0;
24516                   offset: 4 4;
24517                }
24518                image {
24519                   normal: "bt_sm_base1.png";
24520                   border: 6 6 6 6;
24521                }
24522                image.middle: SOLID;
24523             }
24524             description { state: "selected" 0.0;
24525                inherit: "default" 0.0;
24526                visible: 1;
24527                color: 255 255 255 255;
24528                rel1 {
24529                   relative: 0.0 0.0;
24530                   offset: -2 -2;
24531                }
24532                rel2 {
24533                   relative: 1.0 1.0;
24534                   offset: 1 1;
24535                }
24536             }
24537          }
24538          part { name: "elm.swallow.pad";
24539             type: SWALLOW;
24540             description { state: "default" 0.0;
24541                fixed: 1 0;
24542                align: 0.0 0.5;
24543                rel1 {
24544                   relative: 0.0  0.0;
24545                   offset:   4    4;
24546                }
24547                rel2 {
24548                   relative: 0.0  1.0;
24549                   offset:   4   -5;
24550                }
24551             }
24552          }
24553          part { name: "elm.swallow.preview";
24554             clip_to: "disclip";
24555             type: SWALLOW;
24556             description { state: "default" 0.0;
24557                fixed: 1 0;
24558                align: 0.0 0.5;
24559                min: 68 68;
24560                max: 68 68;
24561                rel1 {
24562                   to_x: "elm.swallow.pad";
24563                   relative: 1.0  0.0;
24564                   offset:   -1    4;
24565                }
24566                rel2 {
24567                   to_x: "elm.swallow.pad";
24568                   relative: 1.0  1.0;
24569                   offset:   -1   -5;
24570                }
24571             }
24572          }
24573          part { name: "elm.text.title";
24574             clip_to: "disclip";
24575             type:           TEXT;
24576             effect:         SOFT_SHADOW;
24577             mouse_events:   0;
24578             scale: 1;
24579             description {
24580                state: "default" 0.0;
24581                rel1 {
24582                   to_x:     "elm.swallow.preview";
24583                   relative: 1.0  0.0;
24584                   offset:   4 4;
24585                }
24586                rel2 {
24587                   relative: 1.0  0.5;
24588                   offset:   -1 -5;
24589                }
24590                color: 0 0 0 255;
24591                color3: 0 0 0 0;
24592                text {
24593                   font: "Sans";
24594                   size: 10;
24595                   min: 0 1;
24596                   align: 0.0 0.5;
24597                }
24598             }
24599             description { state: "selected" 0.0;
24600                inherit: "default" 0.0;
24601                color: 224 224 224 255;
24602                color3: 0 0 0 64;
24603             }
24604          }
24605          part { name: "elm.text.artist";
24606             clip_to: "disclip";
24607             type:           TEXT;
24608             mouse_events:   0;
24609             scale: 1;
24610             description {
24611                state: "default" 0.0;
24612                rel1 {
24613                   to_x:     "elm.swallow.preview";
24614                   relative: 1.0  0.5;
24615                   offset:   4 4;
24616                }
24617                rel2 {
24618                   relative: 1.0  1.0;
24619                   offset:   -1 -5;
24620                }
24621                color: 0 0 0 128;
24622                color3: 0 0 0 0;
24623                text {
24624                   font: "Sans";
24625                   size: 8;
24626                   min: 0 1;
24627                   align: 0.0 0.5;
24628                }
24629             }
24630             description { state: "selected" 0.0;
24631                inherit: "default" 0.0;
24632                color: 128 128 128 255;
24633                color3: 0 0 0 32;
24634             }
24635          }
24636          part { name: "fg1";
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.relative: 1.0 0.5;
24644                rel2.to: "bg";
24645                image {
24646                   normal: "bt_sm_hilight.png";
24647                   border: 6 6 6 0;
24648                }
24649             }
24650             description { state: "selected" 0.0;
24651                inherit: "default" 0.0;
24652                visible: 1;
24653                color: 255 255 255 255;
24654             }
24655          }
24656          part { name: "fg2";
24657             clip_to: "disclip";
24658             mouse_events: 0;
24659             description { state: "default" 0.0;
24660                visible: 0;
24661                color: 255 255 255 0;
24662                rel1.to: "bg";
24663                rel2.to: "bg";
24664                image {
24665                   normal: "bt_sm_shine.png";
24666                   border: 6 6 6 0;
24667                }
24668             }
24669             description { state: "selected" 0.0;
24670                inherit: "default" 0.0;
24671                visible: 1;
24672                color: 255 255 255 255;
24673             }
24674          }
24675          part { name: "disclip";
24676             type: RECT;
24677             description { state: "default" 0.0;
24678                rel1.to: "bg";
24679                rel2.to: "bg";
24680             }
24681             description { state: "disabled" 0.0;
24682                inherit: "default" 0.0;
24683                color: 255 255 255 64;
24684             }
24685          }
24686       }
24687       programs {
24688          // signal: elm,state,%s,active
24689          //   a "check" item named %s went active
24690          // signal: elm,state,%s,passive
24691          //   a "check" item named %s went passive
24692          // default is passive
24693          program {
24694             name:    "go_active";
24695             signal:  "elm,state,selected";
24696             source:  "elm";
24697             action:  STATE_SET "selected" 0.0;
24698             target:  "bg";
24699             target:  "fg1";
24700             target:  "fg2";
24701             target:  "elm.text.title";
24702             target:  "elm.text.artist";
24703          }
24704          program {
24705             name:    "go_passive";
24706             signal:  "elm,state,unselected";
24707             source:  "elm";
24708             action:  STATE_SET "default" 0.0;
24709             target:  "bg";
24710             target:  "fg1";
24711             target:  "fg2";
24712             target:  "elm.text.title";
24713             target:  "elm.text.artist";
24714             transition: LINEAR 0.1;
24715          }
24716          program {
24717             name:    "go_disabled";
24718             signal:  "elm,state,disabled";
24719             source:  "elm";
24720             action:  STATE_SET "disabled" 0.0;
24721             target:  "disclip";
24722          }
24723          program {
24724             name:    "go_enabled";
24725             signal:  "elm,state,enabled";
24726             source:  "elm";
24727             action:  STATE_SET "default" 0.0;
24728             target:  "disclip";
24729          }
24730       }
24731    }
24732    group { name: "elm/genlist/item_compress_odd/media-preview/default";
24733       data.item: "stacking" "below";
24734       data.item: "selectraise" "on";
24735       data.item: "labels" "elm.text.title elm.text.artist";
24736       data.item: "icons" "elm.swallow.preview";
24737       data.item: "treesize" "20";
24738       images {
24739          image: "bt_sm_base1.png" COMP;
24740          image: "bt_sm_shine.png" COMP;
24741          image: "bt_sm_hilight.png" COMP;
24742          image: "ilist_2.png" COMP;
24743       }
24744       parts {
24745          part { name: "event";
24746             type: RECT;
24747             repeat_events: 1;
24748             description {
24749                state: "default" 0.0;
24750                color: 0 0 0 0;
24751             }
24752          }
24753          part {
24754             name: "base";
24755             mouse_events: 0;
24756             description {
24757                state: "default" 0.0;
24758                image {
24759                   normal: "ilist_2.png";
24760                   border: 2 2 2 2;
24761                }
24762                fill.smooth: 0;
24763             }
24764          }
24765          part { name: "bg";
24766             clip_to: "disclip";
24767             mouse_events: 0;
24768             description { state: "default" 0.0;
24769                visible: 0;
24770                color: 255 255 255 0;
24771                rel1 {
24772                   relative: 0.0 0.0;
24773                   offset: -5 -5;
24774                }
24775                rel2 {
24776                   relative: 1.0 1.0;
24777                   offset: 4 4;
24778                }
24779                image {
24780                   normal: "bt_sm_base1.png";
24781                   border: 6 6 6 6;
24782                }
24783                image.middle: SOLID;
24784             }
24785             description { state: "selected" 0.0;
24786                inherit: "default" 0.0;
24787                visible: 1;
24788                color: 255 255 255 255;
24789                rel1 {
24790                   relative: 0.0 0.0;
24791                   offset: -2 -2;
24792                }
24793                rel2 {
24794                   relative: 1.0 1.0;
24795                   offset: 1 1;
24796                }
24797             }
24798          }
24799          part { name: "elm.swallow.pad";
24800             type: SWALLOW;
24801             description { state: "default" 0.0;
24802                fixed: 1 0;
24803                align: 0.0 0.5;
24804                rel1 {
24805                   relative: 0.0  0.0;
24806                   offset:   4    4;
24807                }
24808                rel2 {
24809                   relative: 0.0  1.0;
24810                   offset:   4   -5;
24811                }
24812             }
24813          }
24814          part { name: "elm.swallow.preview";
24815             clip_to: "disclip";
24816             type: SWALLOW;
24817             description { state: "default" 0.0;
24818                fixed: 1 0;
24819                align: 0.0 0.5;
24820                min: 68 68;
24821                max: 68 68;
24822                rel1 {
24823                   to_x: "elm.swallow.pad";
24824                   relative: 1.0  0.0;
24825                   offset:   -1    4;
24826                }
24827                rel2 {
24828                   to_x: "elm.swallow.pad";
24829                   relative: 1.0  1.0;
24830                   offset:   -1   -5;
24831                }
24832             }
24833          }
24834          part { name: "elm.text.title";
24835             clip_to: "disclip";
24836             type:           TEXT;
24837             effect:         SOFT_SHADOW;
24838             mouse_events:   0;
24839             scale: 1;
24840             description {
24841                state: "default" 0.0;
24842                rel1 {
24843                   to_x:     "elm.swallow.preview";
24844                   relative: 1.0  0.0;
24845                   offset:   4 4;
24846                }
24847                rel2 {
24848                   relative: 1.0  0.5;
24849                   offset:   -1 -5;
24850                }
24851                color: 0 0 0 255;
24852                color3: 0 0 0 0;
24853                text {
24854                   font: "Sans";
24855                   size: 10;
24856                   min: 0 1;
24857                   align: 0.0 0.5;
24858                }
24859             }
24860             description { state: "selected" 0.0;
24861                inherit: "default" 0.0;
24862                color: 224 224 224 255;
24863                color3: 0 0 0 64;
24864             }
24865          }
24866          part { name: "elm.text.artist";
24867             clip_to: "disclip";
24868             type:           TEXT;
24869             mouse_events:   0;
24870             scale: 1;
24871             description {
24872                state: "default" 0.0;
24873                rel1 {
24874                   to_x:     "elm.swallow.preview";
24875                   relative: 1.0  0.5;
24876                   offset:   4 4;
24877                }
24878                rel2 {
24879                   relative: 1.0  1.0;
24880                   offset:   -1 -5;
24881                }
24882                color: 0 0 0 128;
24883                color3: 0 0 0 0;
24884                text {
24885                   font: "Sans";
24886                   size: 8;
24887                   min: 0 1;
24888                   align: 0.0 0.5;
24889                }
24890             }
24891             description { state: "selected" 0.0;
24892                inherit: "default" 0.0;
24893                color: 128 128 128 255;
24894                color3: 0 0 0 32;
24895             }
24896          }
24897          part { name: "fg1";
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.relative: 1.0 0.5;
24905                rel2.to: "bg";
24906                image {
24907                   normal: "bt_sm_hilight.png";
24908                   border: 6 6 6 0;
24909                }
24910             }
24911             description { state: "selected" 0.0;
24912                inherit: "default" 0.0;
24913                visible: 1;
24914                color: 255 255 255 255;
24915             }
24916          }
24917          part { name: "fg2";
24918             clip_to: "disclip";
24919             mouse_events: 0;
24920             description { state: "default" 0.0;
24921                visible: 0;
24922                color: 255 255 255 0;
24923                rel1.to: "bg";
24924                rel2.to: "bg";
24925                image {
24926                   normal: "bt_sm_shine.png";
24927                   border: 6 6 6 0;
24928                }
24929             }
24930             description { state: "selected" 0.0;
24931                inherit: "default" 0.0;
24932                visible: 1;
24933                color: 255 255 255 255;
24934             }
24935          }
24936          part { name: "disclip";
24937             type: RECT;
24938             description { state: "default" 0.0;
24939                rel1.to: "bg";
24940                rel2.to: "bg";
24941             }
24942             description { state: "disabled" 0.0;
24943                inherit: "default" 0.0;
24944                color: 255 255 255 64;
24945             }
24946          }
24947       }
24948       programs {
24949          // signal: elm,state,%s,active
24950          //   a "check" item named %s went active
24951          // signal: elm,state,%s,passive
24952          //   a "check" item named %s went passive
24953          // default is passive
24954          program {
24955             name:    "go_active";
24956             signal:  "elm,state,selected";
24957             source:  "elm";
24958             action:  STATE_SET "selected" 0.0;
24959             target:  "bg";
24960             target:  "fg1";
24961             target:  "fg2";
24962             target:  "elm.text.title";
24963             target:  "elm.text.artist";
24964          }
24965          program {
24966             name:    "go_passive";
24967             signal:  "elm,state,unselected";
24968             source:  "elm";
24969             action:  STATE_SET "default" 0.0;
24970             target:  "bg";
24971             target:  "fg1";
24972             target:  "fg2";
24973             target:  "elm.text.title";
24974             target:  "elm.text.artist";
24975             transition: LINEAR 0.1;
24976          }
24977          program {
24978             name:    "go_disabled";
24979             signal:  "elm,state,disabled";
24980             source:  "elm";
24981             action:  STATE_SET "disabled" 0.0;
24982             target:  "disclip";
24983          }
24984          program {
24985             name:    "go_enabled";
24986             signal:  "elm,state,enabled";
24987             source:  "elm";
24988             action:  STATE_SET "default" 0.0;
24989             target:  "disclip";
24990          }
24991       }
24992    }
24993
24994    group { name: "elm/genlist/item/mode/default";
24995       data.item: "selectraise" "on";
24996       data.item: "labels" "elm.text.mode";
24997       data.item: "icons" "elm.swallow.mode";
24998       data.item: "mode_part" "elm.swallow.origin";
24999       data.item: "treesize" "20";
25000       images {
25001          image: "bt_sm_base1.png" COMP;
25002          image: "bt_sm_shine.png" COMP;
25003          image: "bt_sm_hilight.png" COMP;
25004          image: "ilist_1.png" COMP;
25005          image: "ilist_2.png" COMP;
25006          image: "ilist_item_shadow.png" COMP;
25007       }
25008
25009       parts {
25010          part {
25011             name: "event";
25012             type: RECT;
25013             repeat_events: 1;
25014             description {
25015                state: "default" 0.0;
25016                color: 0 0 0 0;
25017             }
25018          }
25019          part {
25020             name: "base_sh";
25021             mouse_events: 0;
25022             description {
25023                state: "default" 0.0;
25024                align: 0.0 0.0;
25025                min: 0 10;
25026                fixed: 1 1;
25027                rel1 {
25028                   to: "base";
25029                   relative: 0.0 1.0;
25030                   offset: 0 0;
25031                }
25032                rel2 {
25033                   to: "base";
25034                   relative: 1.0 1.0;
25035                   offset: -1 0;
25036                }
25037                image {
25038                   normal: "ilist_item_shadow.png";
25039                }
25040                fill.smooth: 0;
25041             }
25042             description {
25043                state: "default" 1.0;
25044                inherit: "default" 0.0;
25045                visible: 0;
25046             }
25047          }
25048          part {
25049             name: "base";
25050             mouse_events: 0;
25051             description {
25052                state: "default" 0.0;
25053                image {
25054                   normal: "ilist_1.png";
25055                   border: 2 2 2 2;
25056                }
25057                fill.smooth: 0;
25058             }
25059             description {
25060                state: "default" 1.0;
25061                inherit: "default" 0.0;
25062                image.normal: "ilist_2.png";
25063             }
25064          }
25065          part { name: "bg";
25066             clip_to: "disclip";
25067             mouse_events: 0;
25068             description { state: "default" 0.0;
25069                visible: 0;
25070                color: 255 255 255 0;
25071                rel1 {
25072                   relative: 0.0 0.0;
25073                   offset: -5 -5;
25074                }
25075                rel2 {
25076                   relative: 1.0 1.0;
25077                   offset: 4 4;
25078                }
25079                image {
25080                   normal: "bt_sm_base1.png";
25081                   border: 6 6 6 6;
25082                }
25083                image.middle: SOLID;
25084             }
25085             description { state: "default" 0.1;
25086                inherit: "default" 0.0;
25087             }
25088             description { state: "selected" 0.0;
25089                inherit: "default" 0.0;
25090                visible: 1;
25091                color: 255 255 255 255;
25092                rel1 {
25093                   relative: 0.0 0.0;
25094                   offset: -2 -2;
25095                }
25096                rel2 {
25097                   relative: 1.0 1.0;
25098                   offset: 1 1;
25099                }
25100             }
25101             description {
25102                state: "selected" 1.0;
25103                inherit: "selected" 0.0;
25104             }
25105          }
25106          part { name: "elm.text.mode";
25107             clip_to: "disclip";
25108             type: TEXT;
25109             scale: 1;
25110             description { state: "default" 0.0;
25111                rel2.relative: 0.5 1.0;
25112                color: 0 0 0 255;
25113                text {
25114                   font: "Sans";
25115                   size: 10;
25116                   min: 1 1;
25117                   align: -1.0 0.5;
25118                   text_class: "list_item";
25119                }
25120             }
25121          }
25122         part { name: "elm.swallow.mode";
25123             clip_to: "disclip";
25124             type: SWALLOW;
25125             description { state: "default" 0.0;
25126                rel1.relative: 0.5 0.0;
25127             }
25128          }
25129          part { name: "fg1";
25130             clip_to: "disclip";
25131             mouse_events: 0;
25132             description { state: "default" 0.0;
25133                visible: 0;
25134                color: 255 255 255 0;
25135                rel1.to: "bg";
25136                rel2.relative: 1.0 0.5;
25137                rel2.to: "bg";
25138                image {
25139                   normal: "bt_sm_hilight.png";
25140                   border: 6 6 6 0;
25141                }
25142             }
25143             description { state: "selected" 0.0;
25144                inherit: "default" 0.0;
25145                visible: 1;
25146                color: 255 255 255 255;
25147             }
25148             description {
25149                state: "selected" 1.0;
25150                inherit: "default" 0.0;
25151                visible: 1;
25152                color: 255 255 255 255;
25153             }
25154          }
25155          part { name: "fg2";
25156             clip_to: "disclip";
25157             mouse_events: 0;
25158             description { state: "default" 0.0;
25159                visible: 0;
25160                color: 255 255 255 0;
25161                rel1.to: "bg";
25162                rel2.to: "bg";
25163                image {
25164                   normal: "bt_sm_shine.png";
25165                   border: 6 6 6 0;
25166                }
25167             }
25168             description { state: "selected" 0.0;
25169                inherit: "default" 0.0;
25170                visible: 1;
25171                color: 255 255 255 255;
25172             }
25173             description {
25174                state: "selected" 1.0;
25175                inherit: "default" 0.0;
25176                visible: 1;
25177                color: 255 255 255 255;
25178             }
25179          }
25180          // Transparent part between base parts and slidable parts
25181          part { name: "event_block_layer";
25182             type: RECT;
25183             clip_to: "disclip";
25184             mouse_events: 1;
25185             description { state: "default" 0.0;
25186                rel1.to: "base";
25187                rel2.to: "base";
25188                color: 0 0 0 0;
25189             }
25190             description { state: "repeat_events" 0.0;
25191                inherit: "default" 0.0;
25192                visible: 0;
25193             }
25194          }
25195          part { name: "pers";
25196             clip_to: "disclip";
25197             type: RECT;
25198             description { state: "default" 0.0;
25199                rel1.relative: 0.0 1.0;
25200             }
25201          }
25202          part { name: "elm.swallow.origin";
25203             clip_to: "disclip";
25204             type: SWALLOW;
25205             description { state: "default" 0.0;
25206                fixed: 1 0;
25207                align: 0.0 0.5;
25208             }
25209             description { state: "slide" 0.0;
25210                inherit: "default" 0.0;
25211                rel1.relative: 1 0;
25212                rel2.relative: 2 1;
25213             }
25214             description { state: "rotate" 0.0;
25215                inherit: "default" 0.0;
25216                map {
25217                   perspective: "pers";
25218                   on: 1;
25219                   smooth: 1;
25220                   perspective_on: 1;
25221                   backface_cull: 1;
25222                   rotation {
25223                      center: "pers";
25224                      x: 0.0;
25225                      y: 0.0;
25226                      z: 0.0;
25227                   }
25228                }
25229             }
25230             description { state: "rotate" 1.0;
25231                inherit: "default" 0.0;
25232                map {
25233                   perspective: "pers";
25234                   on: 1;
25235                   smooth: 1;
25236                   perspective_on: 1;
25237                   backface_cull: 1;
25238                   rotation {
25239                      center: "pers";
25240                      x: 90.0;
25241                      y: 0.0;
25242                      z: 0.0;
25243                   }
25244                }
25245             }
25246          }
25247          part { name: "disclip";
25248             type: RECT;
25249             description { state: "default" 0.0;
25250                rel1.to: "bg";
25251                rel2.to: "bg";
25252             }
25253             description { state: "disabled" 0.0;
25254                inherit: "default" 0.0;
25255                color: 255 255 255 64;
25256             }
25257          }
25258       }
25259       programs {
25260          program {
25261             name:    "odd";
25262             signal:  "elm,state,odd";
25263             source:  "elm";
25264             action:  STATE_SET "default" 1.0;
25265             target:  "base_sh";
25266             target:  "base";
25267          }
25268          program {
25269             name:    "even";
25270             signal:  "elm,state,even";
25271             source:  "elm";
25272             action:  STATE_SET "default" 0.0;
25273             target:  "base_sh";
25274             target:  "base";
25275          }
25276          program {
25277             name:    "go_active";
25278             signal:  "elm,state,selected";
25279             source:  "elm";
25280             script {
25281                new st[31];
25282                new Float:vl;
25283                get_state(PART:"base", st, 30, vl);
25284                set_state(PART:"bg", "selected", vl);
25285                set_state(PART:"fg1", "selected", vl);
25286                set_state(PART:"fg2", "selected", vl);
25287             }
25288          }
25289          program {
25290             name:    "go_passive";
25291             signal:  "elm,state,unselected";
25292             source:  "elm";
25293             script {
25294                new st[31];
25295                new Float:vl;
25296                get_state(PART:"base", st, 30, vl);
25297                set_state(PART:"bg", "default", vl);
25298                set_state(PART:"fg1", "default", vl);
25299                set_state(PART:"fg2", "default", vl);
25300             }
25301          }
25302          program {
25303             name:    "go_disabled";
25304             signal:  "elm,state,disabled";
25305             source:  "elm";
25306             action:  STATE_SET "disabled" 0.0;
25307             target:  "disclip";
25308          }
25309          program {
25310             name:    "go_enabled";
25311             signal:  "elm,state,enabled";
25312             source:  "elm";
25313             action:  STATE_SET "default" 0.0;
25314             target:  "disclip";
25315          }
25316          program {
25317             name:    "slide_right";
25318             signal:  "elm,state,slide,active";
25319             source:  "elm";
25320             action:  STATE_SET "slide" 0.0;
25321             target:  "elm.swallow.origin";
25322             transition: ACCELERATE 0.5;
25323             after:   "unblock_event";
25324          }
25325          program {
25326             name:    "unblock_event";
25327             action:  STATE_SET "repeat_events" 0.0;
25328             target:  "event_block_layer";
25329          }
25330          program {
25331             name:    "slide_left";
25332             signal:  "elm,state,slide,passive";
25333             source:  "elm";
25334             action:  STATE_SET "default" 0.0;
25335             target:  "event_block_layer";
25336             after:   "slide_left2";
25337          }
25338          program {
25339             name:    "slide_left2";
25340             action:  STATE_SET "default" 0.0;
25341             target:  "elm.swallow.origin";
25342             transition: DECELERATE 0.5;
25343             after:   "slide_left_finished";
25344          }
25345          program {
25346             name:    "slide_left_finished";
25347             action:  SIGNAL_EMIT "elm,state,slide,passive,finished" "elm";
25348          }
25349          program {
25350             name:    "rotate_on";
25351             signal:  "elm,state,rotate,active";
25352             source:  "elm";
25353             action:  STATE_SET "rotate" 0.0;
25354             target:  "elm.swallow.origin";
25355             after:   "rotate_on2";
25356          }
25357          program {
25358             name:    "rotate_on2";
25359             action:  STATE_SET "rotate" 1.0;
25360             target:  "elm.swallow.origin";
25361             transition: LINEAR 0.5;
25362             after:   "unblock_event";
25363          }
25364          program {
25365             name:    "rotate_off";
25366             signal:  "elm,state,rotate,passive";
25367             source:  "elm";
25368             action:  STATE_SET "default" 0.0;
25369             target:  "event_block_layer";
25370             after:   "rotate_off2";
25371          }
25372          program {
25373             name:    "rotate_off2";
25374             action:  STATE_SET "rotate" 0.0;
25375             transition: LINEAR 0.5;
25376             target:  "elm.swallow.origin";
25377             after:   "rotate_off3";
25378          }
25379          program {
25380             name:    "rotate_off3";
25381             action:  STATE_SET "default" 0.0;
25382             target:  "elm.swallow.origin";
25383             after:   "rotate_off_finished";
25384          }
25385          program {
25386             name:    "rotate_off_finished";
25387             action:  SIGNAL_EMIT "elm,state,rotate,passive,finished" "elm";
25388          }
25389       }
25390    }
25391
25392    group { name: "elm/genlist/item_odd/mode/default";
25393       data.item: "stacking" "below";
25394       data.item: "selectraise" "on";
25395       data.item: "labels" "elm.text.mode";
25396       data.item: "icons" "elm.swallow.mode";
25397       data.item: "mode_part" "elm.swallow.origin";
25398       data.item: "treesize" "20";
25399       images {
25400          image: "bt_sm_base1.png" COMP;
25401          image: "bt_sm_shine.png" COMP;
25402          image: "bt_sm_hilight.png" COMP;
25403          image: "ilist_2.png" COMP;
25404       }
25405
25406       parts {
25407          part {
25408             name: "event";
25409             type: RECT;
25410             repeat_events: 1;
25411             description {
25412                state: "default" 0.0;
25413                color: 0 0 0 0;
25414             }
25415          }
25416          part {
25417             name: "base";
25418             mouse_events: 0;
25419             description {
25420                state: "default" 0.0;
25421                image {
25422                   normal: "ilist_2.png";
25423                   border: 2 2 2 2;
25424                }
25425                fill.smooth: 0;
25426             }
25427          }
25428          part { name: "bg";
25429             clip_to: "disclip";
25430             mouse_events: 0;
25431             description { state: "default" 0.0;
25432                visible: 0;
25433                color: 255 255 255 0;
25434                rel1 {
25435                   relative: 0.0 0.0;
25436                   offset: -5 -5;
25437                }
25438                rel2 {
25439                   relative: 1.0 1.0;
25440                   offset: 4 4;
25441                }
25442                image {
25443                   normal: "bt_sm_base1.png";
25444                   border: 6 6 6 6;
25445                }
25446                image.middle: SOLID;
25447             }
25448             description { state: "selected" 0.0;
25449                inherit: "default" 0.0;
25450                visible: 1;
25451                color: 255 255 255 255;
25452                rel1 {
25453                   relative: 0.0 0.0;
25454                   offset: -2 -2;
25455                }
25456                rel2 {
25457                   relative: 1.0 1.0;
25458                   offset: 1 1;
25459                }
25460             }
25461          }
25462          part { name: "elm.text.mode";
25463             clip_to: "disclip";
25464             type: TEXT;
25465             scale: 1;
25466             description { state: "default" 0.0;
25467                rel2.relative: 0.5 1.0;
25468                color: 0 0 0 255;
25469                text {
25470                   font: "Sans";
25471                   size: 10;
25472                   min: 1 1;
25473                   align: 0.5 0.5;
25474                   text_class: "list_item";
25475                }
25476             }
25477          }
25478         part { name: "elm.swallow.mode";
25479             clip_to: "disclip";
25480             type: SWALLOW;
25481             description { state: "default" 0.0;
25482                rel1.relative: 0.5 0.0;
25483             }
25484          }
25485          part { name: "fg1";
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.relative: 1.0 0.5;
25493                rel2.to: "bg";
25494                image {
25495                   normal: "bt_sm_hilight.png";
25496                   border: 6 6 6 0;
25497                }
25498             }
25499             description { state: "selected" 0.0;
25500                inherit: "default" 0.0;
25501                visible: 1;
25502                color: 255 255 255 255;
25503             }
25504          }
25505          part { name: "fg2";
25506             clip_to: "disclip";
25507             mouse_events: 0;
25508             description { state: "default" 0.0;
25509                visible: 0;
25510                color: 255 255 255 0;
25511                rel1.to: "bg";
25512                rel2.to: "bg";
25513                image {
25514                   normal: "bt_sm_shine.png";
25515                   border: 6 6 6 0;
25516                }
25517             }
25518             description { state: "selected" 0.0;
25519                inherit: "default" 0.0;
25520                visible: 1;
25521                color: 255 255 255 255;
25522             }
25523          }
25524          // Transparent part between base parts and slidable parts
25525          part { name: "event_block_layer";
25526             type: RECT;
25527             clip_to: "disclip";
25528             mouse_events: 1;
25529             description { state: "default" 0.0;
25530                rel1.to: "base";
25531                rel2.to: "base";
25532                color: 0 0 0 0;
25533             }
25534             description { state: "repeat_events" 0.0;
25535                inherit: "default" 0.0;
25536                visible: 0;
25537             }
25538          }
25539          part { name: "pers";
25540             clip_to: "disclip";
25541             type: RECT;
25542             description { state: "default" 0.0;
25543                rel1.relative: 0.0 1.0;
25544             }
25545          }
25546          part { name: "elm.swallow.origin";
25547             clip_to: "disclip";
25548             type: SWALLOW;
25549             description { state: "default" 0.0;
25550                fixed: 1 0;
25551                align: 0.0 0.5;
25552             }
25553             description { state: "slide" 0.0;
25554                inherit: "default" 0.0;
25555                rel1.relative: 1 0;
25556                rel2.relative: 2 1;
25557             }
25558             description { state: "rotate" 0.0;
25559                inherit: "default" 0.0;
25560                map {
25561                   perspective: "pers";
25562                   on: 1;
25563                   smooth: 1;
25564                   perspective_on: 1;
25565                   backface_cull: 1;
25566                   rotation {
25567                      center: "pers";
25568                      x: 0.0;
25569                      y: 0.0;
25570                      z: 0.0;
25571                   }
25572                }
25573             }
25574             description { state: "rotate" 1.0;
25575                inherit: "default" 0.0;
25576                map {
25577                   perspective: "pers";
25578                   on: 1;
25579                   smooth: 1;
25580                   perspective_on: 1;
25581                   backface_cull: 1;
25582                   rotation {
25583                      center: "pers";
25584                      x: 90.0;
25585                      y: 0.0;
25586                      z: 0.0;
25587                   }
25588                }
25589             }
25590          }
25591          part { name: "disclip";
25592             type: RECT;
25593             description { state: "default" 0.0;
25594                rel1.to: "bg";
25595                rel2.to: "bg";
25596             }
25597             description { state: "disabled" 0.0;
25598                inherit: "default" 0.0;
25599                color: 255 255 255 64;
25600             }
25601          }
25602       }
25603       programs {
25604          program {
25605             name:    "go_active";
25606             signal:  "elm,state,selected";
25607             source:  "elm";
25608             action:  STATE_SET "selected" 0.0;
25609             target:  "bg";
25610             target:  "fg1";
25611             target:  "fg2";
25612          }
25613          program {
25614             name:    "go_passive";
25615             signal:  "elm,state,unselected";
25616             source:  "elm";
25617             action:  STATE_SET "default" 0.0;
25618             target:  "bg";
25619             target:  "fg1";
25620             target:  "fg2";
25621             transition: LINEAR 0.1;
25622          }
25623          program {
25624             name:    "go_disabled";
25625             signal:  "elm,state,disabled";
25626             source:  "elm";
25627             action:  STATE_SET "disabled" 0.0;
25628             target:  "disclip";
25629          }
25630          program {
25631             name:    "go_enabled";
25632             signal:  "elm,state,enabled";
25633             source:  "elm";
25634             action:  STATE_SET "default" 0.0;
25635             target:  "disclip";
25636          }
25637          program {
25638             name:    "slide_right";
25639             signal:  "elm,state,slide,active";
25640             source:  "elm";
25641             action:  STATE_SET "slide" 0.0;
25642             target:  "elm.swallow.origin";
25643             transition: ACCELERATE 0.5;
25644             after:   "unblock_event";
25645          }
25646          program {
25647             name:    "unblock_event";
25648             action:  STATE_SET "repeat_events" 0.0;
25649             target:  "event_block_layer";
25650          }
25651          program {
25652             name:    "slide_left";
25653             signal:  "elm,state,slide,passive";
25654             source:  "elm";
25655             action:  STATE_SET "default" 0.0;
25656             target:   "event_block_layer";
25657             after:   "slide_left2";
25658          }
25659          program {
25660             name:    "slide_left2";
25661             action:  STATE_SET "default" 0.0;
25662             target:  "elm.swallow.origin";
25663             transition: DECELERATE 0.5;
25664             after:   "slide_left_finished";
25665          }
25666          program {
25667             name:    "slide_left_finished";
25668             action:  SIGNAL_EMIT "elm,state,slide,passive,finished" "elm";
25669          }
25670          program {
25671             name:    "rotate_on";
25672             signal:  "elm,state,rotate,active";
25673             source:  "elm";
25674             action:  STATE_SET "rotate" 0.0;
25675             target:  "elm.swallow.origin";
25676             after:   "rotate_on2";
25677          }
25678          program {
25679             name:    "rotate_on2";
25680             action:  STATE_SET "rotate" 1.0;
25681             target:  "elm.swallow.origin";
25682             transition: LINEAR 0.5;
25683             after:   "unblock_event";
25684          }
25685          program {
25686             name:    "rotate_off";
25687             signal:  "elm,state,rotate,passive";
25688             source:  "elm";
25689             action:  STATE_SET "default" 0.0;
25690             target:  "event_block_layer";
25691             after:   "rotate_off2";
25692          }
25693          program {
25694             name:    "rotate_off2";
25695             action:  STATE_SET "rotate" 0.0;
25696             transition: LINEAR 0.5;
25697             target:  "elm.swallow.origin";
25698             after:   "rotate_off3";
25699          }
25700          program {
25701             name:    "rotate_off3";
25702             action:  STATE_SET "default" 0.0;
25703             target:  "elm.swallow.origin";
25704             after:   "rotate_off_finished";
25705          }
25706          program {
25707             name:    "rotate_off_finished";
25708             action:  SIGNAL_EMIT "elm,state,rotate,passive,finished" "elm";
25709          }
25710       }
25711    }
25712
25713 ///////////////////////////////////////////////////////////////////////////////
25714    group { name: "elm/pager/base/default";
25715       data.item: "onshow" "raise";
25716 // other options
25717 //      data.item: "onhide" "lower";
25718 //      data.item: "onshow" "lower";
25719       images {
25720          image: "frame_1.png" COMP;
25721          image: "frame_2.png" COMP;
25722          image: "dia_grad.png" COMP;
25723       }
25724       parts {
25725          part { name: "clip";
25726             type: RECT;
25727             mouse_events: 0;
25728             description { state: "default" 0.0;
25729                rel1 {
25730                   to: "base";
25731                   offset: -9999 -9999;
25732                }
25733                rel2 {
25734                   to: "base";
25735                   offset: 9999 9999;
25736                }
25737                color: 255 255 255 255;
25738             }
25739             description { state: "visible" 0.0;
25740                inherit: "default" 0.0;
25741             }
25742             description { state: "hidden" 0.0;
25743                inherit: "default" 0.0;
25744                color: 255 255 255 0;
25745                visible: 0;
25746             }
25747          }
25748          part { name: "base0";
25749             mouse_events:  0;
25750             clip_to: "clip";
25751             description { state: "default" 0.0;
25752                image.normal: "dia_grad.png";
25753                rel1.to: "over";
25754                rel2.to: "over";
25755                fill {
25756                   smooth: 0;
25757                   size {
25758                      relative: 0.0 1.0;
25759                      offset: 64 0;
25760                   }
25761                }
25762             }
25763          }
25764          part { name: "base";
25765             mouse_events:  0;
25766             clip_to: "clip";
25767             description { state: "default" 0.0;
25768                image {
25769                   normal: "frame_2.png";
25770                   border: 5 5 32 26;
25771                   middle: 0;
25772                }
25773                fill.smooth : 0;
25774             }
25775             description { state: "hidden" 0.0;
25776                inherit: "default" 0.0;
25777                rel1.relative: -1.0 0.0;
25778                rel2.relative: 0.0 1.0;
25779             }
25780             description { state: "visible" 0.0;
25781                inherit: "default" 0.0;
25782                rel1.relative: 0.0 0.0;
25783                rel2.relative: 1.0 1.0;
25784             }
25785          }
25786          part { name: "over";
25787             mouse_events:  0;
25788             clip_to: "clip";
25789             description { state:    "default" 0.0;
25790                rel1 {
25791                   to: "base";
25792                   offset: 4 4;
25793                }
25794                rel2 {
25795                   to: "base";
25796                   offset: -5 -5;
25797                }
25798                image {
25799                   normal: "frame_1.png";
25800                   border: 2 2 28 22;
25801                   middle: 0;
25802                }
25803                fill.smooth : 0;
25804             }
25805          }
25806          part { name: "elm.swallow.content";
25807             type: SWALLOW;
25808             clip_to: "clip";
25809             description { state: "default" 0.0;
25810                rel1 {
25811                   to: "base";
25812                   offset: 8 8;
25813                }
25814                rel2 {
25815                   to: "base";
25816                   offset: -9 -9;
25817                }
25818             }
25819          }
25820       }
25821       programs {
25822          program { name: "push_start";
25823             signal: "elm,action,push";
25824             source: "elm";
25825             action:  STATE_SET "hidden" 0.0;
25826             target: "base";
25827             target: "clip";
25828             after: "show_start2";
25829          }
25830          program { name: "show_start";
25831             signal: "elm,action,show";
25832             source: "elm";
25833             action:  STATE_SET "hidden" 0.0;
25834             target: "base";
25835             target: "clip";
25836             after: "show_start2";
25837          }
25838          program { name: "show_start2";
25839             action:  STATE_SET "visible" 0.0;
25840             transition: DECELERATE 0.5;
25841             target: "base";
25842             target: "clip";
25843             after: "show_end";
25844          }
25845          program { name: "show_end";
25846             action: SIGNAL_EMIT "elm,action,show,finished" "";
25847          }
25848          program { name: "pop_start";
25849             signal: "elm,action,pop";
25850             source: "elm";
25851             action:  STATE_SET "visible" 0.0;
25852             target: "base";
25853             target: "clip";
25854             after: "hide_start2";
25855          }
25856          program { name: "hide_start";
25857             signal: "elm,action,hide";
25858             source: "elm";
25859             action:  STATE_SET "visible" 0.0;
25860             target: "base";
25861             target: "clip";
25862             after: "hide_start2";
25863          }
25864          program { name: "hide_start2";
25865             action:  STATE_SET "hidden" 0.0;
25866             transition: DECELERATE 0.5;
25867             target: "base";
25868             target: "clip";
25869             after: "hide_end";
25870          }
25871          program { name: "hide_end";
25872             action: SIGNAL_EMIT "elm,action,hide,finished" "";
25873          }
25874          program { name: "reset";
25875             signal: "elm,action,reset";
25876             source: "elm";
25877             action:  STATE_SET "default" 0.0;
25878             target: "base";
25879             target: "clip";
25880          }
25881       }
25882    }
25883
25884    group { name: "elm/pager/base/slide";
25885       images {
25886          image: "frame_1.png" COMP;
25887          image: "frame_2.png" COMP;
25888          image: "dia_grad.png" COMP;
25889       }
25890       parts {
25891          part { name: "clip";
25892             type: RECT;
25893             mouse_events: 0;
25894             description { state: "default" 0.0;
25895                rel1 {
25896                   to: "base";
25897                   offset: -9999 -9999;
25898                }
25899                rel2 {
25900                   to: "base";
25901                   offset: 9999 9999;
25902                }
25903                color: 255 255 255 255;
25904             }
25905             description { state: "visible" 0.0;
25906                inherit: "default" 0.0;
25907             }
25908             description { state: "hidden" 0.0;
25909                inherit: "default" 0.0;
25910                color: 255 255 255 0;
25911                visible: 0;
25912             }
25913             description { state: "hidden2" 0.0;
25914                inherit: "default" 0.0;
25915                color: 255 255 255 0;
25916                visible: 0;
25917             }
25918          }
25919          part { name: "base0";
25920             mouse_events:  0;
25921             clip_to: "clip";
25922             description { state: "default" 0.0;
25923                image.normal: "dia_grad.png";
25924                rel1.to: "over";
25925                rel2.to: "over";
25926                fill {
25927                   smooth: 0;
25928                   size {
25929                      relative: 0.0 1.0;
25930                      offset: 64 0;
25931                   }
25932                }
25933             }
25934          }
25935          part { name: "base";
25936             mouse_events:  0;
25937             clip_to: "clip";
25938             description { state: "default" 0.0;
25939                image {
25940                   normal: "frame_2.png";
25941                   border: 5 5 32 26;
25942                   middle: 0;
25943                }
25944                fill.smooth : 0;
25945             }
25946             description { state: "hidden" 0.0;
25947                inherit: "default" 0.0;
25948                rel1.relative: -1.0 0.0;
25949                rel2.relative: 0.0 1.0;
25950             }
25951             description { state: "hidden2" 0.0;
25952                inherit: "default" 0.0;
25953                rel1.relative: 1.0 0.0;
25954                rel2.relative: 2.0 1.0;
25955             }
25956             description { state: "visible" 0.0;
25957                inherit: "default" 0.0;
25958                rel1.relative: 0.0 0.0;
25959                rel2.relative: 1.0 1.0;
25960             }
25961          }
25962          part { name: "over";
25963             mouse_events:  0;
25964             clip_to: "clip";
25965             description { state:    "default" 0.0;
25966                rel1 {
25967                   to: "base";
25968                   offset: 4 4;
25969                }
25970                rel2 {
25971                   to: "base";
25972                   offset: -5 -5;
25973                }
25974                image {
25975                   normal: "frame_1.png";
25976                   border: 2 2 28 22;
25977                   middle: 0;
25978                }
25979                fill.smooth : 0;
25980             }
25981          }
25982          part { name: "elm.swallow.content";
25983             type: SWALLOW;
25984             clip_to: "clip";
25985             description { state: "default" 0.0;
25986                rel1 {
25987                   to: "base";
25988                   offset: 8 8;
25989                }
25990                rel2 {
25991                   to: "base";
25992                   offset: -9 -9;
25993                }
25994             }
25995          }
25996       }
25997       programs {
25998          program { name: "push_start";
25999             signal: "elm,action,push";
26000             source: "elm";
26001             action:  STATE_SET "hidden2" 0.0;
26002             target: "base";
26003             target: "clip";
26004             after: "show_start2";
26005          }
26006          program { name: "show_start";
26007             signal: "elm,action,show";
26008             source: "elm";
26009             action:  STATE_SET "hidden" 0.0;
26010             target: "base";
26011             target: "clip";
26012             after: "show_start2";
26013          }
26014          program { name: "show_start2";
26015             action:  STATE_SET "visible" 0.0;
26016             transition: DECELERATE 0.5;
26017             target: "base";
26018             target: "clip";
26019             after: "show_end";
26020          }
26021          program { name: "show_end";
26022             action: SIGNAL_EMIT "elm,action,show,finished" "";
26023          }
26024          program { name: "pop_start";
26025             signal: "elm,action,pop";
26026             source: "elm";
26027             action:  STATE_SET "visible" 0.0;
26028             target: "base";
26029             target: "clip";
26030             after: "pop_start2";
26031          }
26032          program { name: "pop_start2";
26033             action:  STATE_SET "hidden2" 0.0;
26034             transition: DECELERATE 0.5;
26035             target: "base";
26036             target: "clip";
26037             after: "hide_end";
26038          }
26039          program { name: "hide_start";
26040             signal: "elm,action,hide";
26041             source: "elm";
26042             action:  STATE_SET "visible" 0.0;
26043             target: "base";
26044             target: "clip";
26045             after: "hide_start2";
26046          }
26047          program { name: "hide_start2";
26048             action:  STATE_SET "hidden" 0.0;
26049             transition: DECELERATE 0.5;
26050             target: "base";
26051             target: "clip";
26052             after: "hide_end";
26053          }
26054          program { name: "hide_end";
26055             action: SIGNAL_EMIT "elm,action,hide,finished" "";
26056          }
26057          program { name: "reset";
26058             signal: "elm,action,reset";
26059             source: "elm";
26060             action:  STATE_SET "default" 0.0;
26061             target: "base";
26062             target: "clip";
26063          }
26064       }
26065    }
26066    group { name: "elm/pager/base/slide_invisible";
26067       parts {
26068          part { name: "clip";
26069             type: RECT;
26070             mouse_events: 0;
26071             description { state: "default" 0.0;
26072                rel1 {
26073                   to: "base";
26074                   offset: -9999 -9999;
26075             }
26076                rel2 {
26077                   to: "base";
26078                   offset: 9999 9999;
26079                }
26080                color: 255 255 255 255;
26081             }
26082             description { state: "visible" 0.0;
26083                inherit: "default" 0.0;
26084             }
26085             description { state: "hidden" 0.0;
26086                inherit: "default" 0.0;
26087                color: 255 255 255 0;
26088                visible: 0;
26089             }
26090             description { state: "hidden2" 0.0;
26091                inherit: "default" 0.0;
26092                color: 255 255 255 0;
26093                visible: 0;
26094             }
26095          }
26096          part { name: "base";
26097             type: RECT;
26098             mouse_events:  0;
26099             clip_to: "clip";
26100             description { state: "default" 0.0;
26101                color: 0 0 0 0;
26102             }
26103             description { state: "hidden" 0.0;
26104                color: 0 0 0 0;
26105                rel1.relative: -1.0 0.0;
26106                rel2.relative: 0.0 1.0;
26107             }
26108             description { state: "hidden2" 0.0;
26109                color: 0 0 0 0;
26110                rel1.relative: 1.0 0.0;
26111                rel2.relative: 2.0 1.0;
26112             }
26113             description { state: "visible" 0.0;
26114                color: 0 0 0 0;
26115                rel1.relative: 0.0 0.0;
26116                rel2.relative: 1.0 1.0;
26117             }
26118          }
26119          part { name: "elm.swallow.content";
26120             type: SWALLOW;
26121             clip_to: "clip";
26122             description { state: "default" 0.0;
26123                rel1.to: "base";
26124                rel2.to: "base";
26125             }
26126          }
26127       }
26128       programs {
26129          program { name: "push_start";
26130             signal: "elm,action,push";
26131             source: "elm";
26132             action:  STATE_SET "hidden2" 0.0;
26133             target: "base";
26134             target: "clip";
26135             after: "show_start2";
26136          }
26137          program { name: "show_start";
26138             signal: "elm,action,show";
26139             source: "elm";
26140             action:  STATE_SET "hidden" 0.0;
26141             target: "base";
26142             target: "clip";
26143             after: "show_start2";
26144          }
26145          program { name: "show_start2";
26146             action:  STATE_SET "visible" 0.0;
26147             transition: DECELERATE 0.5;
26148             target: "base";
26149             target: "clip";
26150             after: "show_end";
26151          }
26152          program { name: "show_end";
26153             action: SIGNAL_EMIT "elm,action,show,finished" "";
26154          }
26155          program { name: "pop_start";
26156             signal: "elm,action,pop";
26157             source: "elm";
26158             action:  STATE_SET "visible" 0.0;
26159             target: "base";
26160             target: "clip";
26161             after: "pop_start2";
26162          }
26163          program { name: "pop_start2";
26164             action:  STATE_SET "hidden2" 0.0;
26165             transition: DECELERATE 0.5;
26166             target: "base";
26167             target: "clip";
26168             after: "hide_end";
26169          }
26170          program { name: "hide_start";
26171             signal: "elm,action,hide";
26172             source: "elm";
26173             action:  STATE_SET "visible" 0.0;
26174             target: "base";
26175             target: "clip";
26176             after: "hide_start2";
26177          }
26178          program { name: "hide_start2";
26179             action:  STATE_SET "hidden" 0.0;
26180             transition: DECELERATE 0.5;
26181             target: "base";
26182             target: "clip";
26183             after: "hide_end";
26184          }
26185          program { name: "hide_end";
26186             action: SIGNAL_EMIT "elm,action,hide,finished" "";
26187          }
26188          program { name: "reset";
26189             signal: "elm,action,reset";
26190             source: "elm";
26191             action:  STATE_SET "default" 0.0;
26192             target: "base";
26193             target: "clip";
26194          }
26195       }
26196    }
26197
26198    group { name: "elm/pager/base/fade";
26199        data.item: "onshow" "raise";
26200        // other options
26201        //      data.item: "onhide" "lower";
26202        //      data.item: "onshow" "lower";
26203        images {
26204            image: "frame_1.png" COMP;
26205            image: "frame_2.png" COMP;
26206            image: "dia_grad.png" COMP;
26207        }
26208        parts {
26209            part { name: "clip_base";
26210                type: RECT;
26211                mouse_events: 0;
26212                description { state: "default" 0.0;
26213                    rel1 {
26214                        to: "base";
26215                        offset: -9999 -9999;
26216                    }
26217                    rel2 {
26218                        to: "base";
26219                        offset: 9999 9999;
26220                    }
26221                    color: 255 255 255 120;
26222                }
26223                description { state: "visible" 0.0;
26224                    inherit: "default" 0.0;
26225                }
26226                description { state: "hidden" 0.0;
26227                    inherit: "default" 0.0;
26228                    color: 255 255 255 0;
26229                    visible: 0;
26230                }
26231            }
26232            part { name: "clip";
26233                type: RECT;
26234                mouse_events: 0;
26235                description { state: "default" 0.0;
26236                    rel1 {
26237                        to: "base";
26238                        offset: -9999 -9999;
26239                    }
26240                    rel2 {
26241                        to: "base";
26242                        offset: 9999 9999;
26243                    }
26244                    color: 255 255 255 255;
26245                }
26246                description { state: "visible" 0.0;
26247                    inherit: "default" 0.0;
26248                }
26249                description { state: "hidden" 0.0;
26250                    inherit: "default" 0.0;
26251                    color: 255 255 255 0;
26252                    visible: 0;
26253                }
26254            }
26255            part { name: "base0";
26256                mouse_events:  0;
26257                clip_to: "clip_base";
26258                description { state: "default" 0.0;
26259                    image.normal: "dia_grad.png";
26260                    rel1.to: "over";
26261                    rel2.to: "over";
26262                    fill {
26263                        smooth: 0;
26264                        size {
26265                            relative: 0.0 1.0;
26266                            offset: 64 0;
26267                        }
26268                    }
26269                }
26270            }
26271            part { name: "base";
26272                mouse_events:  0;
26273                clip_to: "clip_base";
26274                description { state: "default" 0.0;
26275                    image {
26276                        normal: "frame_2.png";
26277                        border: 5 5 32 26;
26278                        middle: 0;
26279                    }
26280                    fill.smooth : 0;
26281                }
26282            }
26283            part { name: "over";
26284                mouse_events:  0;
26285                clip_to: "clip";
26286                description { state:    "default" 0.0;
26287                    rel1 {
26288                        to: "base";
26289                        offset: 4 4;
26290                    }
26291                    rel2 {
26292                        to: "base";
26293                        offset: -5 -5;
26294                    }
26295                    image {
26296                        normal: "frame_1.png";
26297                        border: 2 2 28 22;
26298                        middle: 0;
26299                    }
26300                    fill.smooth : 0;
26301                }
26302            }
26303            part { name: "elm.swallow.content";
26304                type: SWALLOW;
26305                clip_to: "clip";
26306                description { state: "default" 0.0;
26307                    rel1 {
26308                        to: "base";
26309                        offset: 8 8;
26310                    }
26311                    rel2 {
26312                        to: "base";
26313                        offset: -9 -9;
26314                    }
26315                }
26316            }
26317        }
26318        programs {
26319            program { name: "push_start";
26320                signal: "elm,action,push";
26321                source: "elm";
26322                action:  STATE_SET "hidden" 0.0;
26323                target: "clip";
26324                target: "clip_base";
26325                after: "show_start2";
26326            }
26327            program { name: "show_start";
26328                signal: "elm,action,show";
26329                source: "elm";
26330                action:  STATE_SET "hidden" 0.0;
26331                target: "clip";
26332                target: "clip_base";
26333                after: "show_start2";
26334            }
26335            program { name: "show_start2";
26336                action:  STATE_SET "visible" 0.0;
26337                transition: DECELERATE 0.5;
26338                target: "clip";
26339                target: "clip_base";
26340                after: "show_end";
26341            }
26342            program { name: "show_end";
26343                action: SIGNAL_EMIT "elm,action,show,finished" "";
26344            }
26345            program { name: "pop_start";
26346                signal: "elm,action,pop";
26347                source: "elm";
26348                action:  STATE_SET "visible" 0.0;
26349                target: "clip";
26350                target: "clip_base";
26351                after: "hide_start2";
26352            }
26353            program { name: "hide_start";
26354                signal: "elm,action,hide";
26355                source: "elm";
26356                action:  STATE_SET "visible" 0.0;
26357                target: "clip";
26358                target: "clip_base";
26359                after: "hide_start2";
26360            }
26361            program { name: "hide_start2";
26362                action:  STATE_SET "hidden" 0.0;
26363                transition: DECELERATE 0.5;
26364                target: "clip";
26365                target: "clip_base";
26366                after: "hide_end";
26367            }
26368            program { name: "hide_end";
26369                action: SIGNAL_EMIT "elm,action,hide,finished" "";
26370            }
26371            program { name: "reset";
26372                signal: "elm,action,reset";
26373                source: "elm";
26374                action:  STATE_SET "default" 0.0;
26375                target: "clip_base";
26376                target: "clip";
26377            }
26378        }
26379    }
26380    group { name: "elm/pager/base/fade_translucide";
26381        data.item: "onshow" "raise";
26382        // other options
26383        //      data.item: "onhide" "lower";
26384        //      data.item: "onshow" "lower";
26385        images {
26386            image: "frame_1.png" COMP;
26387            image: "frame_2.png" COMP;
26388            image: "dia_grad.png" COMP;
26389        }
26390        parts {
26391            part { name: "clip_base";
26392                type: RECT;
26393                mouse_events: 0;
26394                description { state: "default" 0.0;
26395                    rel1 {
26396                        to: "base";
26397                        offset: -9999 -9999;
26398                    }
26399                    rel2 {
26400                        to: "base";
26401                        offset: 9999 9999;
26402                    }
26403                    color: 255 255 255 120;
26404                }
26405                description { state: "visible" 0.0;
26406                    inherit: "default" 0.0;
26407                }
26408                description { state: "hidden" 0.0;
26409                    inherit: "default" 0.0;
26410                    color: 255 255 255 0;
26411                    visible: 0;
26412                }
26413            }
26414            part { name: "clip";
26415                type: RECT;
26416                mouse_events: 0;
26417                description { state: "default" 0.0;
26418                    rel1 {
26419                        to: "base";
26420                        offset: -9999 -9999;
26421                    }
26422                    rel2 {
26423                        to: "base";
26424                        offset: 9999 9999;
26425                    }
26426                    color: 255 255 255 255;
26427                }
26428                description { state: "visible" 0.0;
26429                    inherit: "default" 0.0;
26430                }
26431                description { state: "hidden" 0.0;
26432                    inherit: "default" 0.0;
26433                    color: 255 255 255 0;
26434                    visible: 0;
26435                }
26436            }
26437            part { name: "base0";
26438                mouse_events:  0;
26439                clip_to: "clip_base";
26440                description { state: "default" 0.0;
26441                    image.normal: "dia_grad.png";
26442                    rel1.to: "over";
26443                    rel2.to: "over";
26444                    fill {
26445                        smooth: 0;
26446                        size {
26447                            relative: 0.0 1.0;
26448                            offset: 64 0;
26449                        }
26450                    }
26451                }
26452            }
26453            part { name: "base";
26454                mouse_events:  0;
26455                clip_to: "clip_base";
26456                description { state: "default" 0.0;
26457                    image {
26458                        normal: "frame_2.png";
26459                        border: 5 5 32 26;
26460                        middle: 0;
26461                    }
26462                    fill.smooth : 0;
26463                }
26464            }
26465            part { name: "over";
26466                mouse_events:  0;
26467                clip_to: "clip";
26468                description { state:    "default" 0.0;
26469                    rel1 {
26470                        to: "base";
26471                        offset: 4 4;
26472                    }
26473                    rel2 {
26474                        to: "base";
26475                        offset: -5 -5;
26476                    }
26477                    image {
26478                        normal: "frame_1.png";
26479                        border: 2 2 28 22;
26480                        middle: 0;
26481                    }
26482                    fill.smooth : 0;
26483                }
26484            }
26485            part { name: "elm.swallow.content";
26486                type: SWALLOW;
26487                clip_to: "clip";
26488                description { state: "default" 0.0;
26489                    rel1 {
26490                        to: "base";
26491                        offset: 8 8;
26492                    }
26493                    rel2 {
26494                        to: "base";
26495                        offset: -9 -9;
26496                    }
26497                }
26498            }
26499        }
26500        programs {
26501            program { name: "push_start";
26502                signal: "elm,action,push";
26503                source: "elm";
26504                action:  STATE_SET "hidden" 0.0;
26505                target: "clip";
26506                target: "clip_base";
26507                after: "show_start2";
26508            }
26509            program { name: "show_start";
26510                signal: "elm,action,show";
26511                source: "elm";
26512                action:  STATE_SET "hidden" 0.0;
26513                target: "clip";
26514                target: "clip_base";
26515                after: "show_start2";
26516            }
26517            program { name: "show_start2";
26518                action:  STATE_SET "visible" 0.0;
26519                transition: DECELERATE 0.5;
26520                target: "clip";
26521                target: "clip_base";
26522                after: "show_end";
26523            }
26524            program { name: "show_end";
26525                action: SIGNAL_EMIT "elm,action,show,finished" "";
26526            }
26527            program { name: "pop_start";
26528                signal: "elm,action,pop";
26529                source: "elm";
26530                action:  STATE_SET "visible" 0.0;
26531                target: "clip";
26532                target: "clip_base";
26533                after: "hide_start2";
26534            }
26535            program { name: "hide_start";
26536                signal: "elm,action,hide";
26537                source: "elm";
26538                action:  STATE_SET "visible" 0.0;
26539                target: "clip";
26540                target: "clip_base";
26541                after: "hide_start2";
26542            }
26543            program { name: "hide_start2";
26544                action:  STATE_SET "hidden" 0.0;
26545                transition: DECELERATE 0.5;
26546                target: "clip";
26547                target: "clip_base";
26548                after: "hide_end";
26549            }
26550            program { name: "hide_end";
26551                action: SIGNAL_EMIT "elm,action,hide,finished" "";
26552            }
26553            program { name: "reset";
26554                signal: "elm,action,reset";
26555                source: "elm";
26556                action:  STATE_SET "default" 0.0;
26557                target: "clip_base";
26558                target: "clip";
26559            }
26560        }
26561    }
26562    group { name: "elm/pager/base/fade_invisible";
26563        data.item: "onshow" "raise";
26564        // other options
26565        //      data.item: "onhide" "lower";
26566        //      data.item: "onshow" "lower";
26567        parts {
26568            part { name: "clip";
26569                type: RECT;
26570                mouse_events: 0;
26571                description { state: "default" 0.0;
26572                    rel1 {
26573                        offset: -9999 -9999;
26574                    }
26575                    rel2 {
26576                        offset: 9999 9999;
26577                    }
26578                    color: 255 255 255 255;
26579                }
26580                description { state: "visible" 0.0;
26581                    inherit: "default" 0.0;
26582                }
26583                description { state: "hidden" 0.0;
26584                    inherit: "default" 0.0;
26585                    color: 255 255 255 0;
26586                    visible: 0;
26587                }
26588            }
26589            part { name: "elm.swallow.content";
26590                type: SWALLOW;
26591                clip_to: "clip";
26592                description { state: "default" 0.0;
26593                    rel1 {
26594                        offset: 8 8;
26595                    }
26596                    rel2 {
26597                        offset: -9 -9;
26598                    }
26599                }
26600            }
26601        }
26602        programs {
26603            program { name: "push_start";
26604                signal: "elm,action,push";
26605                source: "elm";
26606                action:  STATE_SET "hidden" 0.0;
26607                target: "clip";
26608                after: "show_start2";
26609            }
26610            program { name: "show_start";
26611                signal: "elm,action,show";
26612                source: "elm";
26613                action:  STATE_SET "hidden" 0.0;
26614                target: "clip";
26615                after: "show_start2";
26616            }
26617            program { name: "show_start2";
26618                action:  STATE_SET "visible" 0.0;
26619                transition: DECELERATE 0.5;
26620                target: "clip";
26621                after: "show_end";
26622            }
26623            program { name: "show_end";
26624                action: SIGNAL_EMIT "elm,action,show,finished" "";
26625            }
26626            program { name: "pop_start";
26627                signal: "elm,action,pop";
26628                source: "elm";
26629                action:  STATE_SET "visible" 0.0;
26630                target: "clip";
26631                after: "hide_start2";
26632            }
26633            program { name: "hide_start";
26634                signal: "elm,action,hide";
26635                source: "elm";
26636                action:  STATE_SET "visible" 0.0;
26637                target: "clip";
26638                after: "hide_start2";
26639            }
26640            program { name: "hide_start2";
26641                action:  STATE_SET "hidden" 0.0;
26642                transition: DECELERATE 0.5;
26643                target: "clip";
26644                after: "hide_end";
26645            }
26646            program { name: "hide_end";
26647                action: SIGNAL_EMIT "elm,action,hide,finished" "";
26648            }
26649            program { name: "reset";
26650                signal: "elm,action,reset";
26651                source: "elm";
26652                action:  STATE_SET "default" 0.0;
26653                target: "clip";
26654            }
26655        }
26656    }
26657
26658    group { name: "elm/pager/base/flip";
26659       data.item: "onshow" "raise";
26660       images {
26661          image: "frame_1.png" COMP;
26662          image: "frame_2.png" COMP;
26663          image: "dia_grad.png" COMP;
26664       }
26665       parts {
26666          part { name: "elm.swallow.content";
26667             type: SWALLOW;
26668             description { state: "default" 0.0;
26669                map {
26670                   on: 1;
26671                   smooth: 1;
26672                   backface_cull: 1;
26673                   perspective_on: 1;
26674                }
26675                perspective {
26676                   zplane: 0;
26677                   focal: 1000;
26678                }
26679             }
26680             description { state: "hidden" 0.0;
26681                inherit: "default" 0.0;
26682                visible: 0;
26683                map.rotation.y: 90.0;
26684             }
26685             description { state: "before_hidden" 0.0;
26686                inherit: "default" 0.0;
26687                visible: 0;
26688                map.rotation.y: -90.0;
26689             }
26690          }
26691       }
26692       programs {
26693          program { name: "push_start";
26694             signal: "elm,action,push";
26695             source: "elm";
26696             after: "push1";
26697          }
26698          program { name: "push1";
26699             action:  STATE_SET "hidden" 0.0;
26700             target: "elm.swallow.content";
26701             after: "push2";
26702          }
26703          program { name: "push2";
26704             action:  STATE_SET "default" 0.0;
26705             in: 0.5 0.0;
26706             transition: LINEAR 0.5;
26707             target: "elm.swallow.content";
26708             after: "push3";
26709          }
26710          program { name: "push3";
26711             action: SIGNAL_EMIT "elm,action,show,finished" "";
26712          }
26713
26714          program { name: "show_start";
26715             signal: "elm,action,show";
26716             source: "elm";
26717             after: "show1";
26718          }
26719          program { name: "show1";
26720             action:  STATE_SET "before_hidden" 0.0;
26721             target: "elm.swallow.content";
26722             after: "show2";
26723          }
26724          program { name: "show2";
26725             action:  STATE_SET "default" 0.0;
26726             in: 0.5 0.0;
26727             transition: LINEAR 0.5;
26728             target: "elm.swallow.content";
26729             after: "show3";
26730          }
26731          program { name: "show3";
26732             action: SIGNAL_EMIT "elm,action,show,finished" "";
26733          }
26734
26735          program { name: "pop_start";
26736             signal: "elm,action,pop";
26737             source: "elm";
26738             after: "pop1";
26739          }
26740          program { name: "pop1";
26741             action:  STATE_SET "default" 0.0;
26742             target: "elm.swallow.content";
26743             after: "pop2";
26744          }
26745          program { name: "pop2";
26746             action:  STATE_SET "hidden" 0.0;
26747             transition: LINEAR 0.5;
26748             target: "elm.swallow.content";
26749             after: "pop3";
26750          }
26751          program { name: "pop3";
26752             action: SIGNAL_EMIT "elm,action,hide,finished" "";
26753          }
26754
26755          program { name: "hide_start";
26756             signal: "elm,action,hide";
26757             source: "elm";
26758             after: "hide1";
26759          }
26760          program { name: "hide1";
26761             action:  STATE_SET "default" 0.0;
26762             target: "elm.swallow.content";
26763             after: "hide2";
26764          }
26765          program { name: "hide2";
26766             action:  STATE_SET "before_hidden" 0.0;
26767             transition: LINEAR 0.5;
26768             target: "elm.swallow.content";
26769             after: "hide3";
26770          }
26771          program { name: "hide3";
26772             action: SIGNAL_EMIT "elm,action,hide,finished" "";
26773          }
26774
26775          program { name: "reset";
26776             signal: "elm,action,reset";
26777             source: "elm";
26778             action:  STATE_SET "default" 0.0;
26779             target: "elm.swallow.content";
26780          }
26781       }
26782    }
26783
26784
26785
26786 ///////////////////////////////////////////////////////////////////////////////
26787 // FIXME: this doesn't look too hot. need to fix it up
26788    group { name: "elm/progressbar/horizontal/default";
26789       images {
26790          image: "shelf_inset.png" COMP;
26791          image: "bt_sm_base2.png" COMP;
26792          image: "bt_sm_hilight.png" COMP;
26793          image: "bt_sm_shine.png" COMP;
26794       }
26795       parts {
26796          part { name: "elm.background.progressbar";
26797             mouse_events: 0;
26798             description {
26799                state: "default" 0.0;
26800                rel1 {
26801                   relative: 0.0 0.0;
26802                   offset: 0 0;
26803                }
26804                rel2 {
26805                   relative: 1.0 1.0;
26806                }
26807             }
26808          }
26809          part { name: "elm.swallow.bar";
26810             mouse_events: 0;
26811             type: SWALLOW;
26812             description {
26813                min: 48 28;
26814                max: 99999 28;
26815                state: "default" 0.0;
26816                rel1 {
26817                   to_x: "elm.text";
26818                   to_y: "elm.background.progressbar";
26819                   relative: 1.0 0.0;
26820                }
26821                rel2 {
26822                   to: "elm.background.progressbar";
26823                   relative: 1.0 1.0;
26824                }
26825             }
26826          }
26827          part { name: "elm.swallow.content";
26828             type: SWALLOW;
26829             description { state: "default" 0.0;
26830                visible: 0;
26831                align: 0.0 0.5;
26832                rel1 {
26833                   offset: 4 0;
26834                   to_y: "elm.background.progressbar";
26835                }
26836                rel2 {
26837                   offset: 3 -1;
26838                   relative: 0.0 1.0;
26839                   to_y: "elm.background.progressbar";
26840                }
26841             }
26842             description { state: "visible" 0.0;
26843                inherit: "default" 0.0;
26844                visible: 1;
26845                aspect: 1.0 1.0;
26846                aspect_preference: VERTICAL;
26847                rel2.offset: 4 -1;
26848             }
26849          }
26850          part { name: "elm.text";
26851             type: TEXT;
26852             mouse_events: 0;
26853             scale: 1;
26854             description { state: "default" 0.0;
26855                visible: 0;
26856                fixed: 1 1;
26857                align: 0.0 0.5;
26858                rel1.to_x: "elm.swallow.content";
26859                rel1.relative: 1.0 0.0;
26860                rel1.offset: -1 4;
26861                rel2.to_x: "elm.swallow.content";
26862                rel2.relative: 1.0 1.0;
26863                rel2.offset: -1 -5;
26864                color: 0 0 0 255;
26865                text {
26866                   font: "Sans,Edje-Vera";
26867                   size: 10;
26868                   min: 0 0;
26869                   align: 0.0 0.5;
26870                }
26871             }
26872             description { state: "visible" 0.0;
26873                inherit: "default" 0.0;
26874                visible: 1;
26875                text.min: 1 1;
26876                rel1.offset: 0 4;
26877                rel2.offset: 0 -5;
26878             }
26879          }
26880
26881          part { name: "background";
26882             mouse_events: 0;
26883             clip_to: "elm.background.progressbar";
26884             description {
26885                state: "default" 0.0;
26886                rel1 {
26887                   to: "elm.swallow.bar";
26888                   relative: 0.0 0.0;
26889                }
26890                rel2 {
26891                   to: "elm.swallow.bar";
26892                   relative: 1.0 1.0;
26893                   offset: -1 -1;
26894                }
26895                image {
26896                   normal: "shelf_inset.png";
26897                   border: 7 7 7 7;
26898                }
26899             }
26900          }
26901
26902          part { name: "elm.text.status";
26903             type: TEXT;
26904             mouse_events: 0;
26905             description { state: "default" 0.0;
26906                fixed: 1 1;
26907                visible: 1;
26908                rel1 {
26909                   to: "background";
26910                   relative: 0.5 0.5;
26911                }
26912                rel2 {
26913                   to: "background";
26914                   relative: 0.5 0.5;
26915                }
26916                text {
26917                   font: "Sans:style=Bold,Edje-Vera-Bold";
26918                   size: 10;
26919                   min: 1 1;
26920                   align: 0.5 0.0;
26921                }
26922                color: 0 0 0 255;
26923             }
26924             description { state: "hidden" 0.0;
26925                inherit: "default" 0.0;
26926                visible: 0;
26927                text.min: 0 0;
26928             }
26929          }
26930
26931          part { name: "elm.progress.progressbar";
26932             mouse_events: 0;
26933             clip_to: "elm.background.progressbar";
26934             description {
26935                state: "default" 0.0;
26936                min: 14 28;
26937                fixed: 1 1;
26938                rel1 {
26939                   to: "elm.swallow.bar";
26940                   relative: 0.0 0.0;
26941                }
26942                rel2 {
26943                   to_y: "elm.swallow.bar";
26944                   to_x: "elm.cur.progressbar";
26945                   offset: -1 -1;
26946                }
26947                image {
26948                   normal: "bt_sm_base2.png";
26949                   border: 6 6 6 6;
26950                }
26951             }
26952             description {
26953                state: "invert" 0.0;
26954                inherit: "default" 0.0;
26955                rel1 {
26956                   to_y: "elm.swallow.bar";
26957                   to_x: "elm.cur.progressbar";
26958                }
26959                rel2 {
26960                   to: "elm.swallow.bar";
26961                   relative: 1.0 1.0;
26962                }
26963             }
26964             description {
26965                state: "state_begin" 0.0;
26966                inherit: "default" 0.0;
26967                rel1 {
26968                   to: "elm.swallow.bar";
26969                   relative: 0.0 0.0;
26970                }
26971                rel2 {
26972                   to: "elm.swallow.bar";
26973                   relative: 0.1 1.0;
26974                }
26975             }
26976             description {
26977                state: "state_end" 0.0;
26978                inherit: "default" 0.0;
26979                rel1 {
26980                   to: "elm.swallow.bar";
26981                   relative: 0.9 0.0;
26982                }
26983                rel2 {
26984                   to: "elm.swallow.bar";
26985                   relative: 1.0 1.0;
26986                }
26987             }
26988          }
26989          part { name: "text-bar";
26990             type: TEXT;
26991             mouse_events: 0;
26992             clip_to: "progress-rect";
26993             effect: SOFT_SHADOW;
26994             scale: 1;
26995             description { state: "default" 0.0;
26996                align: 0.0 0.0;
26997                fixed: 1 1;
26998                visible: 1;
26999                rel1.to: "elm.text.status";
27000                rel1.offset: -1 -1;
27001                rel2.to: "elm.text.status";
27002                text {
27003                   text_source: "elm.text.status";
27004                   font: "Sans:style=Bold,Edje-Vera-Bold";
27005                   size: 10;
27006                   min: 1 1;
27007                   align: 0.0 0.0;
27008                }
27009                color: 224 224 224 255;
27010                color3: 0 0 0 64;
27011             }
27012             description { state: "hidden" 0.0;
27013                inherit: "default" 0.0;
27014                visible: 0;
27015                text.min: 0 0;
27016             }
27017          }
27018
27019          part { name: "over1";
27020             mouse_events: 0;
27021             description { state: "default" 0.0;
27022                rel1.to: "elm.progress.progressbar";
27023                rel2.to: "elm.progress.progressbar";
27024                rel2.relative: 1.0 0.5;
27025                image {
27026                   normal: "bt_sm_hilight.png";
27027                   border: 6 6 6 0;
27028                }
27029             }
27030          }
27031
27032          part { name: "over2";
27033             mouse_events: 1;
27034             repeat_events: 1;
27035             description { state: "default" 0.0;
27036                rel1.to: "elm.progress.progressbar";
27037                rel2.to: "elm.progress.progressbar";
27038                image {
27039                   normal: "bt_sm_shine.png";
27040                   border: 6 6 6 0;
27041                }
27042             }
27043          }
27044
27045          part { name: "elm.cur.progressbar";
27046             mouse_events: 0;
27047             dragable {
27048                confine: "background";
27049                x: 1 1 1;
27050                y: 0 0 0;
27051             }
27052             description { state: "default" 0.0;
27053                min: 14 28;
27054                fixed: 1 1;
27055                visible: 0;
27056                rel1 {
27057                   to: "background";
27058                   relative: 0 0;
27059                }
27060                rel2.to: "background";
27061            }
27062          }
27063          part { name: "progress-rect";
27064             mouse_events: 0;
27065             description {
27066                state: "default" 0.0;
27067                rel1.to: "elm.progress.progressbar";
27068                rel2.to: "elm.progress.progressbar";
27069             }
27070          }
27071       }
27072       programs {
27073          program { name: "label_show";
27074             signal: "elm,state,text,visible";
27075             source: "elm";
27076             action:  STATE_SET "visible" 0.0;
27077             target: "elm.text";
27078          }
27079          program { name: "label_hide";
27080             signal: "elm,state,text,hidden";
27081             source: "elm";
27082             action:  STATE_SET "default" 0.0;
27083             target: "elm.text";
27084          }
27085          program { name: "icon_show";
27086             signal: "elm,state,icon,visible";
27087             source: "elm";
27088             action:  STATE_SET "visible" 0.0;
27089             target: "elm.swallow.content";
27090          }
27091          program { name: "icon_hide";
27092             signal: "elm,state,icon,hidden";
27093             source: "elm";
27094             action:  STATE_SET "default" 0.0;
27095             target: "elm.swallow.content";
27096          }
27097          program { name: "units_show";
27098             signal: "elm,state,units,visible";
27099             source: "elm";
27100             action:  STATE_SET "default" 0.0;
27101             target: "text-bar";
27102             target: "elm.text.status";
27103          }
27104          program { name: "units_hide";
27105             signal: "elm,state,units,hidden";
27106             source: "elm";
27107             action:  STATE_SET "hidden" 0.0;
27108             target: "text-bar";
27109             target: "elm.text.status";
27110          }
27111          program { name: "slide_to_end";
27112             action:  STATE_SET "state_end" 0.0;
27113             transition: LINEAR 0.5;
27114             target: "elm.progress.progressbar";
27115             after: "slide_to_begin";
27116          }
27117          program { name: "slide_to_begin";
27118             signal: "elm,state,slide,begin";
27119             action: STATE_SET "state_begin" 0.0;
27120             target: "elm.progress.progressbar";
27121             transition: LINEAR 0.5;
27122             after: "slide_to_end";
27123          }
27124          program { name: "start_pulse";
27125             signal: "elm,state,pulse,start";
27126             source: "elm";
27127             after: "slide_to_end";
27128          }
27129          program { name: "stop_pulse";
27130             signal: "elm,state,pulse,stop";
27131             source: "elm";
27132             action: ACTION_STOP;
27133             target: "slide_to_begin";
27134             target: "slide_to_end";
27135             target: "start_pulse";
27136             after: "state_pulse";
27137          }
27138          program { name: "state_pulse";
27139             signal: "elm,state,pulse";
27140             source: "elm";
27141             action: STATE_SET "state_begin" 0.0;
27142             target: "elm.progress.progressbar";
27143             after: "units_hide";
27144          }
27145          program { name: "state_fraction";
27146             signal: "elm,state,fraction";
27147             source: "elm";
27148             action: ACTION_STOP;
27149             target: "slide_to_begin";
27150             target: "slide_to_end";
27151             target: "start_pulse";
27152             action: STATE_SET "default" 0.0;
27153             target: "elm.progress.progressbar";
27154          }
27155          program { name: "set_invert_on";
27156             signal: "elm,state,inverted,on";
27157             source: "elm";
27158             action:  STATE_SET "invert" 0.0;
27159             target: "elm.progress.progressbar";
27160          }
27161          program { name: "set_invert_off";
27162             signal: "elm,state,inverted,off";
27163             source: "elm";
27164             action:  STATE_SET "default" 0.0;
27165             target: "elm.progress.progressbar";
27166          }
27167       }
27168    }
27169
27170 ///////////////////////////////////////////////////////////////////////////////
27171    group { name: "elm/progressbar/vertical/default";
27172       images {
27173          image: "shelf_inset.png" COMP;
27174          image: "bt_sm_base2.png" COMP;
27175          image: "bt_sm_hilight.png" COMP;
27176          image: "bt_sm_shine.png" COMP;
27177       }
27178       parts {
27179          part { name: "elm.background.progressbar";
27180             type: RECT;
27181             mouse_events: 0;
27182             description {
27183                state: "default" 0.0;
27184                rel1 {
27185                   relative: 0.0 0.0;
27186                   offset: 0 0;
27187                }
27188                rel2 {
27189                   relative: 1.0 1.0;
27190                   offset: -1 -1;
27191                }
27192             }
27193          }
27194          part { name: "elm.swallow.bar";
27195             type: SWALLOW;
27196             scale: 1;
27197             description { state: "default" 0.0;
27198                min: 28 48;
27199                max: 28 9999;
27200                align: 0.5 1.0;
27201                rel1 {
27202                   to_y: "elm.text";
27203                   relative: 0.0 1.0;
27204                   offset: 0 2;
27205                }
27206                rel2 {
27207                   to_y: "elm.text.box";
27208                   relative: 1.0 0.0;
27209                   offset: -1 -3;
27210                }
27211             }
27212          }
27213          part { name: "elm.swallow.content";
27214             type: SWALLOW;
27215             description { state: "default" 0.0;
27216                visible: 0;
27217                align: 0.5 0.0;
27218                rel1 {
27219                   offset: 0 4;
27220                   to_x: "elm.swallow.bar";
27221                }
27222                rel2 {
27223                   offset: -1 3;
27224                   relative: 1.0 0.0;
27225                   to_x: "elm.swallow.bar";
27226                }
27227             }
27228             description { state: "visible" 0.0;
27229                inherit: "default" 0.0;
27230                visible: 1;
27231                aspect: 1.0 1.0;
27232                aspect_preference: HORIZONTAL;
27233                rel2.offset: -1 4;
27234             }
27235          }
27236          part { name: "elm.text";
27237             type: TEXT;
27238             mouse_events: 0;
27239             scale: 1;
27240             description { state: "default" 0.0;
27241                visible: 0;
27242                fixed: 1 1;
27243                align: 0.5 0.0;
27244                rel1.to_y: "elm.swallow.content";
27245                rel1.relative: 0.5 1.0;
27246                rel1.offset: 0 -1;
27247                rel2.to_y: "elm.swallow.content";
27248                rel2.relative: 0.5 1.0;
27249                rel2.offset: -1 -1;
27250                color: 0 0 0 255;
27251                text {
27252                   font: "Sans,Edje-Vera";
27253                   size: 10;
27254                   min: 0 0;
27255                   align: 0.5 0.0;
27256                }
27257             }
27258             description { state: "visible" 0.0;
27259                inherit: "default" 0.0;
27260                visible: 1;
27261                text.min: 1 1;
27262                rel1.offset: 4 0;
27263                rel2.offset: -5 0;
27264             }
27265          }
27266
27267          part { name: "background";
27268             mouse_events: 0;
27269             clip_to: "elm.background.progressbar";
27270             description {
27271                state: "default" 0.0;
27272                rel1 {
27273                   to: "elm.swallow.bar";
27274                   relative: 0.0 0.0;
27275                }
27276                rel2 {
27277                   to: "elm.swallow.bar";
27278                   relative: 1.0 1.0;
27279                   offset: -1 -1;
27280                }
27281                image {
27282                   normal: "shelf_inset.png";
27283                   border: 7 7 7 7;
27284                }
27285             }
27286          }
27287
27288          part { name: "elm.progress.progressbar";
27289             mouse_events: 0;
27290             clip_to: "elm.background.progressbar";
27291             description {
27292                state: "default" 0.0;
27293                min: 28 14;
27294                fixed: 1 1;
27295                rel1 {
27296                   to: "elm.swallow.bar";
27297                   relative: 0.0 0.0;
27298                }
27299                rel2 {
27300                   to_x: "elm.swallow.bar";
27301                   to_y: "elm.cur.progressbar";
27302                   offset: -1 -1;
27303                }
27304                image {
27305                   normal: "bt_sm_base2.png";
27306                   border: 6 6 6 6;
27307                }
27308             }
27309             description {
27310                state: "invert" 0.0;
27311                inherit: "default" 0.0;
27312                rel1 {
27313                   to_x: "elm.swallow.bar";
27314                   to_y: "elm.cur.progressbar";
27315                }
27316                rel2 {
27317                   to: "elm.swallow.bar";
27318                   relative: 1.0 1.0;
27319                }
27320             }
27321             description {
27322                state: "state_begin" 0.0;
27323                inherit: "default" 0.0;
27324                rel1 {
27325                   to: "elm.swallow.bar";
27326                   relative: 0.0 0.0;
27327                }
27328                rel2 {
27329                   to: "elm.swallow.bar";
27330                   relative: 1.0 0.1;
27331                }
27332             }
27333             description {
27334                state: "state_end" 0.0;
27335                inherit: "default" 0.0;
27336                rel1 {
27337                   to: "elm.swallow.bar";
27338                   relative: 0.0 0.9;
27339                }
27340                rel2 {
27341                   to: "elm.swallow.bar";
27342                   relative: 1.0 1.0;
27343                }
27344             }
27345          }
27346
27347          part { name: "over1";
27348             mouse_events: 0;
27349             description { state: "default" 0.0;
27350                rel1.to: "elm.progress.progressbar";
27351                rel2.to: "elm.progress.progressbar";
27352                rel2.relative: 1.0 0.5;
27353                image {
27354                   normal: "bt_sm_hilight.png";
27355                   border: 6 6 6 0;
27356                }
27357             }
27358          }
27359
27360          part { name: "over2";
27361             mouse_events: 1;
27362             repeat_events: 1;
27363             description { state: "default" 0.0;
27364                rel1.to: "elm.progress.progressbar";
27365                rel2.to: "elm.progress.progressbar";
27366                image {
27367                   normal: "bt_sm_shine.png";
27368                   border: 6 6 6 0;
27369                }
27370             }
27371          }
27372
27373          part { name: "elm.cur.progressbar";
27374             mouse_events: 0;
27375             dragable {
27376                confine: "background";
27377                x: 0 0 0;
27378                y: 1 1 1;
27379             }
27380             description { state: "default" 0.0;
27381                min: 28 14;
27382                fixed: 1 1;
27383                visible: 0;
27384                rel1 {
27385                   to: "background";
27386                   relative: 0 0;
27387                }
27388                rel2.to: "background";
27389            }
27390          }
27391
27392          part { name: "elm.text.box";
27393             mouse_events: 0;
27394             type: RECT;
27395             description { state: "default" 0.0;
27396                visible: 0;
27397                rel1 {
27398                   to: "elm.text.status";
27399                   offset: -2 -2;
27400                }
27401                rel2 {
27402                   to: "elm.text.status";
27403                   offset: 2 2;
27404                }
27405                color: 255 255 255 0;
27406             }
27407             description { state: "visible" 0.0;
27408                inherit: "default" 0.0;
27409                visible: 1;
27410             }
27411          }
27412          part { name: "elm.text.status";
27413             type: TEXT;
27414             mouse_events: 0;
27415             scale: 1;
27416             description { state: "default" 0.0;
27417                visible: 0;
27418                fixed: 1 1;
27419                align: 0.5 1.0;
27420                rel1.relative: 0.0 1.0;
27421                rel1.offset: 2 0;
27422                rel2.relative: 1.0 1.0;
27423                rel2.offset: -2 0;
27424                color: 0 0 0 255;
27425                text {
27426                   font: "Sans:style=Bold,Edje-Vera-Bold";
27427                   size: 10;
27428                   min: 0 0;
27429                   align: 0.5 0.0;
27430                }
27431             }
27432             description { state: "visible" 0.0;
27433                inherit: "default" 0.0;
27434                fixed: 1 1;
27435                visible: 1;
27436                text.min: 1 1;
27437                rel1.offset: 8 -9;
27438                rel2.offset: -9 -9;
27439             }
27440          }
27441       }
27442       programs {
27443          program { name: "label_show";
27444             signal: "elm,state,text,visible";
27445             source: "elm";
27446             action:  STATE_SET "visible" 0.0;
27447             target: "elm.text";
27448          }
27449          program { name: "label_hide";
27450             signal: "elm,state,text,hidden";
27451             source: "elm";
27452             action:  STATE_SET "default" 0.0;
27453             target: "elm.text";
27454          }
27455          program { name: "icon_show";
27456             signal: "elm,state,icon,visible";
27457             source: "elm";
27458             action:  STATE_SET "visible" 0.0;
27459             target: "elm.swallow.content";
27460          }
27461          program { name: "icon_hide";
27462             signal: "elm,state,icon,hidden";
27463             source: "elm";
27464             action:  STATE_SET "default" 0.0;
27465             target: "elm.swallow.content";
27466          }
27467          program { name: "units_show";
27468             signal: "elm,state,units,visible";
27469             source: "elm";
27470             action:  STATE_SET "visible" 0.0;
27471             target: "elm.text.status";
27472             target: "elm.text.box";
27473          }
27474          program { name: "units_hide";
27475             signal: "elm,state,units,hidden";
27476             source: "elm";
27477             action:  STATE_SET "default" 0.0;
27478             target: "elm.text.status";
27479             target: "elm.text.box";
27480          }
27481          program { name: "slide_to_end";
27482             action:  STATE_SET "state_end" 0.0;
27483             transition: LINEAR 0.5;
27484             target: "elm.progress.progressbar";
27485             after: "slide_to_begin";
27486          }
27487          program { name: "slide_to_begin";
27488             action:  STATE_SET "state_begin" 0.0;
27489             target: "elm.progress.progressbar";
27490             transition: LINEAR 0.5;
27491             after: "slide_to_end";
27492          }
27493          program { name: "start_pulse";
27494             signal: "elm,state,pulse,start";
27495             source: "elm";
27496             action: STATE_SET "state_begin" 0.0;
27497             target: "elm.progress.progressbar";
27498             after: "slide_to_end";
27499          }
27500          program { name: "stop_pulse";
27501             signal: "elm,state,pulse,stop";
27502             source: "elm";
27503             action: ACTION_STOP;
27504             target: "slide_to_begin";
27505             target: "slide_to_end";
27506             target: "start_pulse";
27507             after: "state_pulse";
27508          }
27509          program { name: "state_pulse";
27510             signal: "elm,state,pulse";
27511             source: "elm";
27512             action: STATE_SET "state_begin" 0.0;
27513             target: "elm.progress.progressbar";
27514             after: "units_hide";
27515          }
27516          program { name: "state_fraction";
27517             signal: "elm,state,fraction";
27518             source: "elm";
27519             action: ACTION_STOP;
27520             target: "slide_to_begin";
27521             target: "slide_to_end";
27522             target: "start_pulse";
27523             action: STATE_SET "default" 0.0;
27524             target: "elm.progress.progressbar";
27525          }
27526          program { name: "set_invert_on";
27527             signal: "elm,state,inverted,on";
27528             source: "elm";
27529             action:  STATE_SET "invert" 0.0;
27530             target: "elm.progress.progressbar";
27531             target: "elm.cur.progressbar";
27532          }
27533          program { name: "set_invert_off";
27534             signal: "elm,state,inverted,off";
27535             source: "elm";
27536             action:  STATE_SET "default" 0.0;
27537             target: "elm.progress.progressbar";
27538             target: "elm.cur.progressbar";
27539          }
27540       }
27541    }
27542
27543 ///////////////////////////////////////////////////////////////////////////////
27544    group { name: "elm/separator/horizontal/default";
27545        images {
27546            image: "separator_h.png" COMP;
27547        }
27548        parts {
27549            part { name: "separator"; // separator group
27550                description { state: "default" 0.0;
27551                    min: 2 2;
27552                    rel1.offset: 4 4;
27553                    rel2.offset: -5 -5;
27554                    image {
27555                        normal: "separator_h.png";
27556                    }
27557                    fill {
27558                        smooth: 0;
27559                    }
27560                }
27561            }
27562        }
27563    }
27564
27565    ///////////////////////////////////////////////////////////////////////////////
27566    group { name: "elm/separator/vertical/default";
27567        images {
27568            image: "separator_v.png" COMP;
27569        }
27570        parts {
27571            part { name: "separator"; // separator group
27572                description { state: "default" 0.0;
27573                    min: 2 2;
27574                    rel1.offset: 4 4;
27575                    rel2.offset: -5 -5;
27576                    image {
27577                        normal: "separator_v.png";
27578                    }
27579                    fill {
27580                        smooth: 0;
27581                    }
27582                }
27583            }
27584        }
27585    }
27586
27587    group { name: "elm/progressbar/horizontal/wheel";
27588        images {
27589            image: "busy-1.png" COMP;
27590            image: "busy-2.png" COMP;
27591            image: "busy-3.png" COMP;
27592            image: "busy-4.png" COMP;
27593            image: "busy-5.png" COMP;
27594            image: "busy-6.png" COMP;
27595            image: "busy-7.png" COMP;
27596            image: "busy-8.png" COMP;
27597            image: "busy-9.png" COMP;
27598        }
27599        parts {
27600            part { name: "elm.background.progressbar";
27601                mouse_events: 0;
27602                type: RECT;
27603                description {
27604                    state: "default" 0.0;
27605                }
27606            }
27607            part { name: "elm.swallow.bar";
27608                mouse_events: 0;
27609                type: SWALLOW;
27610                description { state: "default" 0.0;
27611                    min: 0 0;
27612                    max: 0 0;
27613                    visible: 0;
27614                }
27615            }
27616            part { name: "elm.swallow.content";
27617                type: SWALLOW;
27618                description { state: "default" 0.0;
27619                    min: 0 0;
27620                    max: 0 0;
27621                    visible: 0;
27622                }
27623            }
27624            part { name: "background";
27625                mouse_events: 0;
27626                clip_to: "elm.background.progressbar";
27627                description {
27628                    state: "default" 0.0;
27629                    min: 32 32;
27630                    max: 32 32;
27631                    visible: 1;
27632                    aspect: 1.0 1.0;
27633                    aspect_preference: BOTH;
27634                    image {
27635                        normal: "busy-9.png";
27636                        border: 7 7 7 7;
27637                    }
27638                }
27639                description {
27640                    state: "pulse" 0.0;
27641                    inherit: "default" 0.0;
27642                    image {
27643                        normal: "busy-9.png";
27644                        tween:  "busy-1.png";
27645                        tween:  "busy-2.png";
27646                        tween:  "busy-3.png";
27647                        tween:  "busy-4.png";
27648                        tween:  "busy-5.png";
27649                        tween:  "busy-6.png";
27650                        tween:  "busy-7.png";
27651                        tween:  "busy-8.png";
27652                        border: 7 7 7 7;
27653                    }
27654                }
27655            }
27656        }
27657        programs {
27658            program { name: "start_pulse";
27659                signal: "elm,state,pulse,start";
27660                source: "elm";
27661                action: STATE_SET "pulse" 0.0;
27662                target: "background";
27663                transition: LINEAR 0.5;
27664                after: "start_pulse";
27665            }
27666            program { name: "stop_pulse";
27667                signal: "elm,state,pulse,stop";
27668                source: "elm";
27669                action: STATE_SET "default" 0.0;
27670                target: "background";
27671            }
27672        }
27673    }
27674
27675
27676 ///////////////////////////////////////////////////////////////////////////////
27677    group { name: "elm/spinner/base/default";
27678        images {
27679            image: "shelf_inset.png" COMP;
27680            image: "bt_base1.png" COMP;
27681            image: "bt_hilight.png" COMP;
27682            image: "bt_shine.png" COMP;
27683            image: "bt_glow.png" COMP;
27684            image: "bt_dis_base.png" COMP;
27685            image: "bt_dis_hilight.png" COMP;
27686            image: "sp_bt_l.png" COMP;
27687            image: "sp_bt_r.png" COMP;
27688        }
27689        parts {
27690            part { name: "bg";
27691                type: RECT;
27692                description { state: "default" 0.0;
27693                    min: 0 30;
27694                    rel1.offset: 1 1;
27695                    rel2.offset: -2 -2;
27696                    color: 255 255 255 0;
27697                }
27698            }
27699            part { name: "conf_over";
27700                mouse_events:  0;
27701                description { state: "default" 0.0;
27702                    rel1.to: "bg";
27703                    rel2.to: "bg";
27704                    image {
27705                        normal: "shelf_inset.png";
27706                        border: 7 7 7 7;
27707                        middle: 0;
27708                    }
27709                    fill.smooth : 0;
27710                }
27711            }
27712            part { name: "left_bt";
27713                mouse_events:  1;
27714                description { state: "default" 0.0;
27715                    rel1 { to: "bg";
27716                        offset: 3 3;
27717                    }
27718                    rel2 { to: "bg";
27719                        offset: -4 -4;
27720                    }
27721                    align: 0.0 0.5;
27722                    min: 24 24;
27723                    aspect: 1.0 1.0;
27724                    aspect_preference: VERTICAL;
27725                    image {
27726                        normal: "bt_base1.png";
27727                        border: 6 6 6 6;
27728                    }
27729                    fill.smooth : 0;
27730                }
27731                description { state: "clicked" 0.0;
27732                    inherit: "default" 0.0;
27733                    image.normal: "bt_base1.png";
27734                    image.middle: SOLID;
27735                }
27736                description { state: "disabled" 0.0;
27737                    inherit:  "default" 0.0;
27738                    image {
27739                        normal: "bt_dis_base.png";
27740                        border: 4 4 4 4;
27741                    }
27742                }
27743            }
27744            part {          name: "left_over1";
27745                mouse_events: 0;
27746                description { state: "default" 0.0;
27747                    rel1.to: "left_bt";
27748                    rel2 { to: "left_bt";
27749                        relative: 1.0 0.5;
27750                    }
27751                    image {
27752                        normal: "bt_hilight.png";
27753                        border: 7 7 7 0;
27754                    }
27755                }
27756                description { state: "disabled" 0.0;
27757                    inherit:  "default" 0.0;
27758                    image {
27759                        normal: "bt_dis_hilight.png";
27760                        border: 4 4 4 0;
27761                    }
27762                }
27763            }
27764            part { name: "left_over2";
27765                mouse_events: 1;
27766                repeat_events: 1;
27767                ignore_flags: ON_HOLD;
27768                description { state: "default" 0.0;
27769                    rel1.to: "left_bt";
27770                    rel2.to: "left_bt";
27771                    image {
27772                        normal: "bt_shine.png";
27773                        border: 7 7 7 7;
27774                    }
27775                }
27776                description { state: "disabled" 0.0;
27777                    inherit:  "default" 0.0;
27778                    visible: 0;
27779                }
27780            }
27781            part { name: "left_over3";
27782                mouse_events: 1;
27783                repeat_events: 1;
27784                description { state: "default" 0.0;
27785                    color: 255 255 255 0;
27786                    rel1.to: "left_bt";
27787                    rel2.to: "left_bt";
27788                    image {
27789                        normal: "bt_glow.png";
27790                        border: 12 12 12 12;
27791                    }
27792                    fill.smooth : 0;
27793                }
27794                description { state: "clicked" 0.0;
27795                    inherit:  "default" 0.0;
27796                    visible: 1;
27797                    color: 255 255 255 255;
27798                }
27799            }
27800            part { name: "right_bt";
27801                mouse_events:  1;
27802                description { state: "default" 0.0;
27803                    rel1 { to: "bg";
27804                        offset: -26 3;
27805                    }
27806                    rel2 { to: "bg";
27807                        offset: -4 -4;
27808                    }
27809                    align: 1.0 0.5;
27810                    min: 24 24;
27811                    aspect: 1.0 1.0;
27812                    aspect_preference: VERTICAL;
27813                    image {
27814                        normal: "bt_base1.png";
27815                        border: 5 5 4 12;
27816                    }
27817                    fill.smooth : 0;
27818                }
27819                description { state: "clicked" 0.0;
27820                    inherit: "default" 0.0;
27821                    image.normal: "bt_base1.png";
27822                    image.middle: SOLID;
27823                }
27824                description { state: "disabled" 0.0;
27825                    inherit:  "default" 0.0;
27826                    image {
27827                        normal: "bt_dis_base.png";
27828                        border: 4 4 4 4;
27829                    }
27830                }
27831            }
27832            part { name: "right_over1";
27833                mouse_events: 0;
27834                description { state: "default" 0.0;
27835                    rel1.to: "right_bt";
27836                    rel2 { to: "right_bt";
27837                        relative: 1.0 0.5;
27838                    }
27839                    image {
27840                        normal: "bt_hilight.png";
27841                        border: 7 7 7 0;
27842                    }
27843                }
27844                description { state: "disabled" 0.0;
27845                    inherit:  "default" 0.0;
27846                    image {
27847                        normal: "bt_dis_hilight.png";
27848                        border: 4 4 4 0;
27849                    }
27850                }
27851            }
27852            part { name: "right_over2";
27853                mouse_events: 1;
27854                repeat_events: 1;
27855                ignore_flags: ON_HOLD;
27856                description { state: "default" 0.0;
27857                    rel1.to: "right_bt";
27858                    rel2.to: "right_bt";
27859                    image {
27860                        normal: "bt_shine.png";
27861                        border: 7 7 7 7;
27862                    }
27863                }
27864                description { state: "disabled" 0.0;
27865                    inherit:  "default" 0.0;
27866                    visible: 0;
27867                }
27868            }
27869            part { name: "right_over3";
27870                mouse_events: 1;
27871                repeat_events: 1;
27872                description { state: "default" 0.0;
27873                    color: 255 255 255 0;
27874                    rel1.to: "right_bt";
27875                    rel2.to: "right_bt";
27876                    image {
27877                        normal: "bt_glow.png";
27878                        border: 12 12 12 12;
27879                    }
27880                    fill.smooth : 0;
27881                }
27882                description { state: "clicked" 0.0;
27883                    inherit:  "default" 0.0;
27884                    visible: 1;
27885                    color: 255 255 255 255;
27886                }
27887            }
27888            part { name: "left_bt_icon";
27889                repeat_events: 1;
27890                description { state: "default" 0.0;
27891                    rel1.to: "left_bt";
27892                    rel1.offset: 4 4;
27893                    rel2.to: "left_bt";
27894                    rel2.offset: -5 -5;
27895                    align: 0.5 0.5;
27896                    min: 16 16;
27897                    aspect: 1.0 1.0;
27898                    aspect_preference: BOTH;
27899                    image.normal: "sp_bt_l.png";
27900                }
27901                description { state: "rtl" 0.0;
27902                    inherit: "default" 0.0;
27903                    image.normal: "sp_bt_r.png";
27904                }
27905            }
27906            part { name: "right_bt_icon";
27907                repeat_events: 1;
27908                description { state: "default" 0.0;
27909                    rel1.to: "right_bt";
27910                    rel1.offset: 4 4;
27911                    rel2.to: "right_bt";
27912                    rel2.offset: -5 -5;
27913                    align: 0.5 0.5;
27914                    min: 16 16;
27915                    aspect: 1.0 1.0;
27916                    aspect_preference: BOTH;
27917                    image.normal: "sp_bt_r.png";
27918                }
27919                description { state: "rtl" 0.0;
27920                    inherit: "default" 0.0;
27921                    image.normal: "sp_bt_l.png";
27922                }
27923            }
27924            part { name: "elm.text";
27925                type: TEXT;
27926                mouse_events: 0;
27927                scale: 1;
27928                description { state: "default" 0.0;
27929                    visible: 1;
27930                    align: 0.0 0.5;
27931                    rel1 { relative: 1.0 0.0;
27932                        offset: 3 2;
27933                        to_x: "left_bt";
27934                        to_y: "bg";
27935                    }
27936                    rel2 { relative: 0.0 1.0;
27937                        offset: -3 -2;
27938                        to_x: "right_bt";
27939                        to_y: "bg";
27940                    }
27941                    color: 0 0 0 255;
27942                    text {
27943                        font: "Sans,Edje-Vera";
27944                        size: 10;
27945                        min: 1 1;
27946                        align: 0.5 0.5;
27947                    }
27948                }
27949                description { state: "active" 0.0;
27950                    inherit: "default" 0.0;
27951                    visible: 0;
27952                }
27953                description { state: "disabled_active" 0.0;
27954                    inherit: "default" 0.0;
27955                    color: 0 0 0 128;
27956                    color3: 0 0 0 0;
27957                }
27958                description { state: "disabled" 0.0;
27959                    inherit: "default" 0.0;
27960                    color: 0 0 0 128;
27961                    color3: 0 0 0 0;
27962                }
27963            }
27964            part { name: "elm.dragable.slider";
27965                type: RECT;
27966                mouse_events: 0;
27967                scale: 1;
27968                dragable {
27969                    x: 1 1 0;
27970                    y: 0 0 0;
27971                }
27972                description { state: "default" 0.0;
27973                    rel1.to: "bg";
27974                    rel2.to: "bg";
27975                    fixed: 1 1;
27976                    color: 0 0 0 0;
27977                }
27978            }
27979            part { name: "button_events";
27980                type: RECT;
27981                dragable {
27982                    events: "elm.dragable.slider";
27983                }
27984                mouse_events: 1;
27985                description { state: "default" 0.0;
27986                    rel1.to: "elm.text";
27987                    rel2.to: "elm.text";
27988                    color: 0 0 0 0;
27989                }
27990            }
27991            part { name: "elm.swallow.entry";
27992                type: SWALLOW;
27993                description { state: "default" 0.0;
27994                    visible: 0;
27995                    align: 0.5 0.5;
27996                    rel1 { relative: 1.0 0.5;
27997                        offset: 3 2;
27998                        to_x: "left_bt";
27999                        to_y: "bg";
28000                    }
28001                    rel2 { relative: 0.0 0.5;
28002                        offset: -3 -2;
28003                        to_x: "right_bt";
28004                        to_y: "bg";
28005                    }
28006                    fixed: 1 1;
28007                    color: 0 0 0 0;
28008                }
28009                description { state: "active" 0.0;
28010                    inherit: "default" 0.0;
28011                    visible: 1;
28012                    color: 255 255 255 255;
28013                }
28014                description { state: "disabled_active" 0.0;
28015                    inherit: "default" 0.0;
28016                    visible: 0;
28017                }
28018                description { state: "disabled" 0.0;
28019                    inherit: "default" 0.0;
28020                    visible: 0;
28021                }
28022            }
28023            part { name: "disabler";
28024                type: RECT;
28025                description { state: "default" 0.0;
28026                    color: 0 0 0 0;
28027                    visible: 0;
28028                }
28029                description { state: "disabled" 0.0;
28030                    inherit: "default" 0.0;
28031                    visible: 1;
28032                }
28033            }
28034        }
28035        programs {
28036            program { name: "text_show";
28037                signal: "elm,state,text,visible";
28038                source: "elm";
28039                action:  STATE_SET "visible" 0.0;
28040                target: "elm.text";
28041            }
28042            program { name: "text_hide";
28043                signal: "elm,state,text,hidden";
28044                source: "elm";
28045                action:  STATE_SET "default" 0.0;
28046                target: "elm.text";
28047            }
28048            program { name: "dec";
28049                signal: "mouse,down,1";
28050                source: "left_bt";
28051                action: SIGNAL_EMIT "elm,action,decrement,start" "";
28052            }
28053            program { name: "dec2";
28054                signal: "mouse,up,1";
28055                source: "left_bt";
28056                action: SIGNAL_EMIT "elm,action,decrement,stop" "";
28057            }
28058            program { name: "inc";
28059                signal: "mouse,down,1";
28060                source: "right_bt";
28061                action: SIGNAL_EMIT "elm,action,increment,start" "";
28062            }
28063            program { name: "inc2";
28064                signal: "mouse,up,1";
28065                source: "right_bt";
28066                action: SIGNAL_EMIT "elm,action,increment,stop" "";
28067            }
28068            program {
28069                name:   "left_bt_click";
28070                signal: "mouse,down,1";
28071                source: "left_over2";
28072                action: STATE_SET "clicked" 0.0;
28073                target: "left_bt";
28074            }
28075            program {
28076                name:   "left_bt_unclick";
28077                signal: "mouse,up,1";
28078                source: "left_over2";
28079                action: STATE_SET "default" 0.0;
28080                target: "left_bt";
28081            }
28082            program {
28083                name:   "left_bt_click2";
28084                signal: "mouse,down,1";
28085                source: "left_over3";
28086                action: STATE_SET "clicked" 0.0;
28087                target: "left_over3";
28088            }
28089            program {
28090                name:   "left_bt_unclick2";
28091                signal: "mouse,up,1";
28092                source: "left_over3";
28093                action: STATE_SET "default" 0.0;
28094                transition: DECELERATE 0.5;
28095                target: "left_over3";
28096            }
28097            program {
28098                name:   "left_bt_unclick3";
28099                signal: "mouse,up,1";
28100                source: "left_over2";
28101                action: SIGNAL_EMIT "elm,action,click" "";
28102            }
28103            program {
28104                name:   "left_bt_pressed_anim";
28105                signal: "elm,left,anim,activate";
28106                source: "elm";
28107                action: STATE_SET "clicked" 0.0;
28108                target: "left_bt";
28109                target: "left_over3";
28110                after: "left_bt_unpressed_anim";
28111            }
28112            program {
28113                name:   "left_bt_unpressed_anim";
28114                action: STATE_SET "default" 0.0;
28115                transition: DECELERATE 0.5;
28116                target: "left_bt";
28117                target: "left_over3";
28118            }
28119
28120            program {
28121                name:   "right_bt_click";
28122                signal: "mouse,down,1";
28123                source: "right_over2";
28124                action: STATE_SET "clicked" 0.0;
28125                target: "right_bt";
28126            }
28127            program {
28128                name:   "right_bt_unclick";
28129                signal: "mouse,up,1";
28130                source: "right_over2";
28131                action: STATE_SET "default" 0.0;
28132                target: "right_bt";
28133            }
28134            program {
28135                name:   "right_bt_click2";
28136                signal: "mouse,down,1";
28137                source: "right_over3";
28138                action: STATE_SET "clicked" 0.0;
28139                target: "right_over3";
28140            }
28141            program {
28142                name:   "right_bt_unclick2";
28143                signal: "mouse,up,1";
28144                source: "right_over3";
28145                action: STATE_SET "default" 0.0;
28146                transition: DECELERATE 0.5;
28147                target: "right_over3";
28148            }
28149            program {
28150                name:   "right_bt_unclick3";
28151                signal: "mouse,up,1";
28152                source: "right_over2";
28153                action: SIGNAL_EMIT "elm,action,click" "";
28154            }
28155            program {
28156                name:   "right_bt_pressed_anim";
28157                signal: "elm,right,anim,activate";
28158                source: "elm";
28159                action: STATE_SET "clicked" 0.0;
28160                target: "right_bt";
28161                target: "right_over3";
28162                after: "right_bt_unpressed_anim";
28163            }
28164            program {
28165                name:   "right_bt_unpressed_anim";
28166                action: STATE_SET "default" 0.0;
28167                transition: DECELERATE 0.5;
28168                target: "right_bt";
28169                target: "right_over3";
28170            }
28171
28172            program { name: "disable";
28173                signal: "elm,state,disabled";
28174                source: "elm";
28175                action: STATE_SET "disabled" 0.0;
28176                target: "left_bt";
28177                target: "left_over1";
28178                target: "left_over2";
28179                target: "right_bt";
28180                target: "right_over1";
28181                target: "right_over2";
28182                target: "disabler";
28183                after: "disable_text";
28184            }
28185            program { name: "disable_text";
28186                script {
28187                    new st[31];
28188                    new Float:vl;
28189                    get_state(PART:"elm.text", st, 30, vl);
28190                    if (!strcmp(st, "active"))
28191                    set_state(PART:"elm.text", "disabled_active", 0.0);
28192                    else
28193                    set_state(PART:"elm.text", "disabled", 0.0);
28194
28195                    get_state(PART:"elm.swallow.entry", st, 30, vl);
28196                    if (!strcmp(st, "active"))
28197                    set_state(PART:"elm.swallow.entry", "disabled_active", 0.0);
28198                    else
28199                    set_state(PART:"elm.swallow.entry", "disabled", 0.0);
28200                }
28201            }
28202            program { name: "enable";
28203                signal: "elm,state,enabled";
28204                source: "elm";
28205                action: STATE_SET "default" 0.0;
28206                target: "left_bt";
28207                target: "left_over1";
28208                target: "left_over2";
28209                target: "right_bt";
28210                target: "right_over1";
28211                target: "right_over2";
28212                target: "disabler";
28213                after: "enable_text";
28214            }
28215            program { name: "enable_text";
28216                script {
28217                    new st[31];
28218                    new Float:vl;
28219                    get_state(PART:"elm.text", st, 30, vl);
28220                    if (!strcmp(st, "disabled_active"))
28221                    set_state(PART:"elm.text", "active", 0.0);
28222                    else
28223                    set_state(PART:"elm.text", "default", 0.0);
28224
28225                    get_state(PART:"elm.swallow.entry", st, 30, vl);
28226                    if (!strcmp(st, "disabled_active"))
28227                    set_state(PART:"elm.swallow.entry", "active", 0.0);
28228                    else
28229                    set_state(PART:"elm.swallow.entry", "default", 0.0);
28230                }
28231            }
28232            program { name: "active";
28233                signal: "elm,state,active";
28234                source: "elm";
28235                action: STATE_SET "active" 0.0;
28236                target: "elm.text";
28237                target: "elm.swallow.entry";
28238            }
28239            program { name: "inactive";
28240                signal: "elm,state,inactive";
28241                source: "elm";
28242                action: STATE_SET "default" 0.0;
28243                target: "elm.text";
28244                target: "elm.swallow.entry";
28245            }
28246            program { name: "toggle_text";
28247                signal: "mouse,up,1";
28248                source: "button_events";
28249                action: SIGNAL_EMIT "elm,action,entry,toggle" "";
28250            }
28251            program { name: "to_rtl";
28252                signal: "edje,state,rtl";
28253                source: "edje";
28254                action: STATE_SET "rtl" 0.0;
28255                target: "right_bt_icon";
28256                target: "left_bt_icon";
28257            }
28258            program { name: "to_ltr";
28259                signal: "edje,state,ltr";
28260                source: "edje";
28261                action: STATE_SET "default" 0.0;
28262                target: "right_bt_icon";
28263                target: "left_bt_icon";
28264            }
28265        }
28266    }
28267
28268 ///////////////////////////////////////////////////////////////////////////////
28269    group { name: "elm/spinner/base/vertical";
28270        images {
28271            image: "shelf_inset.png" COMP;
28272            image: "bt_hilight.png" COMP;
28273            image: "bt_shine.png" COMP;
28274            image: "bt_glow.png" COMP;
28275            image: "bt_dis_base.png" COMP;
28276            image: "bt_dis_hilight.png" COMP;
28277            image: "up.png" COMP;
28278            image: "down.png" COMP;
28279            image: "bt_spinner_up.png" COMP;
28280            image: "bt_spinner_down.png" COMP;
28281            image: "bt_spinner_hilight.png" COMP;
28282        }
28283        parts {
28284            part { name: "bg";
28285                type: RECT;
28286                description { state: "default" 0.0;
28287                    min: 0 30;
28288                    rel1.offset: 1 1;
28289                    rel2.offset: -2 -2;
28290                    color: 255 255 255 0;
28291                }
28292            }
28293            part { name: "conf_over";
28294                mouse_events:  0;
28295                description { state: "default" 0.0;
28296                    rel1 {
28297                      to: "bg";
28298                      relative: 0.0 0.0;
28299                    }
28300                    rel2 {
28301                       to: "bg";
28302                    }
28303                    image {
28304                        normal: "shelf_inset.png";
28305                        border: 7 7 7 7;
28306                        middle: 0;
28307                    }
28308                    fill.smooth : 0;
28309                }
28310            }
28311            part { name: "down_bt";
28312                mouse_events:  1;
28313                description { state: "default" 0.0;
28314                    fixed: 1 1;
28315                    rel1 {
28316                        to: "up_bt";
28317                        relative: 0 1;
28318                        offset: 0 1;
28319                    }
28320                    rel2 {
28321                        to_y: "bg";
28322                        to_x: "up_bt";
28323                        relative: 1 1;
28324                        offset: -1 -4;
28325                    }
28326                    align: 1.0 0.5;
28327                    min: 24 16;
28328                    image {
28329                        normal: "bt_spinner_down.png";
28330                        border: 6 6 6 6;
28331                    }
28332                    fill.smooth : 0;
28333                }
28334                description { state: "clicked" 0.0;
28335                    inherit: "default" 0.0;
28336                    image.normal: "bt_spinner_down.png";
28337                    image.middle: SOLID;
28338                }
28339                description { state: "disabled" 0.0;
28340                    inherit:  "default" 0.0;
28341                    image {
28342                        normal: "bt_dis_base.png";
28343                        border: 4 4 4 4;
28344                    }
28345                }
28346            }
28347            part { name: "down_over3";
28348                mouse_events: 1;
28349                repeat_events: 1;
28350                description { state: "default" 0.0;
28351                    color: 255 255 255 0;
28352                    rel1.to: "down_bt";
28353                    rel2.to: "down_bt";
28354                    image {
28355                        normal: "bt_glow.png";
28356                        border: 12 12 12 12;
28357                    }
28358                    fill.smooth : 0;
28359                }
28360                description { state: "clicked" 0.0;
28361                    inherit:  "default" 0.0;
28362                    visible: 1;
28363                    color: 255 255 255 255;
28364                }
28365            }
28366            part { name: "up_bt";
28367                mouse_events:  1;
28368                description { state: "default" 0.0;
28369                    fixed: 1 0;
28370                    rel1 { to: "bg";
28371                        relative: 0 0;
28372                        offset: 0 2;
28373                    }
28374                    rel2 { to: "bg";
28375                        relative: 1 0.5;
28376                        offset: -3 0;
28377                    }
28378                    align: 1.0 0.5;
28379                    min: 24 16;
28380                    aspect: 1.5 1.0;
28381                    aspect_preference: BOTH;
28382                    image {
28383                        normal: "bt_spinner_up.png";
28384                        border: 6 6 6 6;
28385                    }
28386                    fill.smooth : 0;
28387                }
28388                description { state: "clicked" 0.0;
28389                    inherit: "default" 0.0;
28390                    image.normal: "bt_spinner_up.png";
28391                    image.middle: SOLID;
28392                }
28393                description { state: "disabled" 0.0;
28394                    inherit:  "default" 0.0;
28395                    image {
28396                        normal: "bt_dis_base.png";
28397                        border: 4 4 4 4;
28398                    }
28399                }
28400            }
28401            part { name: "up_over1";
28402                mouse_events: 0;
28403                description { state: "default" 0.0;
28404                    rel1.to: "up_bt";
28405                    rel2 { to: "up_bt";
28406                        relative: 1.0 0.5;
28407                    }
28408                    image {
28409                        normal: "bt_spinner_hilight.png";
28410                        border: 7 7 7 0;
28411                    }
28412                }
28413                description { state: "disabled" 0.0;
28414                    inherit:  "default" 0.0;
28415                    image {
28416                        normal: "bt_dis_hilight.png";
28417                        border: 4 4 4 0;
28418                    }
28419                }
28420            }
28421            part { name: "up_over3";
28422                mouse_events: 1;
28423                repeat_events: 1;
28424                description { state: "default" 0.0;
28425                    color: 255 255 255 0;
28426                    rel1.to: "up_bt";
28427                    rel2.to: "up_bt";
28428                    image {
28429                        normal: "bt_glow.png";
28430                        border: 12 12 12 12;
28431                    }
28432                    fill.smooth : 0;
28433                }
28434                description { state: "clicked" 0.0;
28435                    inherit:  "default" 0.0;
28436                    visible: 1;
28437                    color: 255 255 255 255;
28438                }
28439            }
28440            part { name: "down_bt_icon";
28441                repeat_events: 1;
28442                description { state: "default" 0.0;
28443                    rel1.to: "down_bt";
28444                    rel1.offset: 5 3;
28445                    rel2.to: "down_bt";
28446                    rel2.offset: -6 -3;
28447                    align: 0.5 0.5;
28448                    image.normal: "down.png";
28449                }
28450            }
28451            part { name: "up_bt_icon";
28452                repeat_events: 1;
28453                description { state: "default" 0.0;
28454                    rel1.to: "up_bt";
28455                    rel1.offset: 5 3;
28456                    rel2.to: "up_bt";
28457                    rel2.offset: -6 -3;
28458                    align: 0.5 0.5;
28459                    image.normal: "up.png";
28460                }
28461            }
28462            part { name: "elm.text";
28463                type: TEXT;
28464                mouse_events: 0;
28465                scale: 1;
28466                description { state: "default" 0.0;
28467                    visible: 1;
28468                    align: 0.0 0.5;
28469                    rel1 { relative: 0.0 0.0;
28470                        offset: 3 2;
28471                        to_x: "bg";
28472                        to_y: "bg";
28473                    }
28474                    rel2 { relative: 0.0 1.0;
28475                        offset: -3 -2;
28476                        to_x: "down_bt";
28477                        to_y: "bg";
28478                    }
28479                    color: 0 0 0 255;
28480                    text {
28481                        font: "Sans,Edje-Vera";
28482                        size: 10;
28483                        min: 1 1;
28484                        align: 0.5 0.5;
28485                    }
28486                }
28487                description { state: "active" 0.0;
28488                    inherit: "default" 0.0;
28489                    visible: 0;
28490                }
28491                description { state: "disabled_active" 0.0;
28492                    inherit: "default" 0.0;
28493                    color: 0 0 0 128;
28494                    color3: 0 0 0 0;
28495                }
28496                description { state: "disabled" 0.0;
28497                    inherit: "default" 0.0;
28498                    color: 0 0 0 128;
28499                    color3: 0 0 0 0;
28500                }
28501            }
28502            part { name: "elm.dragable.slider";
28503                type: RECT;
28504                mouse_events: 0;
28505                scale: 1;
28506                dragable {
28507                    x: 1 1 0;
28508                    y: 0 0 0;
28509                }
28510                description { state: "default" 0.0;
28511                    rel1.to: "bg";
28512                    rel2.to: "bg";
28513                    fixed: 1 1;
28514                    color: 0 0 0 0;
28515                }
28516            }
28517            part { name: "button_events";
28518                type: RECT;
28519                dragable {
28520                    events: "elm.dragable.slider";
28521                }
28522                mouse_events: 1;
28523                description { state: "default" 0.0;
28524                    rel1.to: "elm.text";
28525                    rel2.to: "elm.text";
28526                    color: 0 0 0 0;
28527                }
28528            }
28529            part { name: "elm.swallow.entry";
28530                type: SWALLOW;
28531                description { state: "default" 0.0;
28532                    visible: 0;
28533                    align: 0.5 0.5;
28534                    rel1 { relative: 0.0 0.5;
28535                        offset: 3 2;
28536                        to: "bg";
28537                    }
28538                    rel2 { relative: 1.0 0.5;
28539                        offset: -3 -2;
28540                        to: "bg";
28541                    }
28542                    fixed: 1 1;
28543                    color: 0 0 0 0;
28544                }
28545                description { state: "active" 0.0;
28546                    inherit: "default" 0.0;
28547                    visible: 1;
28548                    color: 255 255 255 255;
28549                }
28550                description { state: "disabled_active" 0.0;
28551                    inherit: "default" 0.0;
28552                    visible: 0;
28553                }
28554                description { state: "disabled" 0.0;
28555                    inherit: "default" 0.0;
28556                    visible: 0;
28557                }
28558            }
28559            part { name: "disabler";
28560                type: RECT;
28561                description { state: "default" 0.0;
28562                    color: 0 0 0 0;
28563                    visible: 0;
28564                }
28565                description { state: "disabled" 0.0;
28566                    inherit: "default" 0.0;
28567                    visible: 1;
28568                }
28569            }
28570        }
28571        programs {
28572            program { name: "text_show";
28573                signal: "elm,state,text,visible";
28574                source: "elm";
28575                action:  STATE_SET "visible" 0.0;
28576                target: "elm.text";
28577            }
28578            program { name: "text_hide";
28579                signal: "elm,state,text,hidden";
28580                source: "elm";
28581                action:  STATE_SET "default" 0.0;
28582                target: "elm.text";
28583            }
28584            program { name: "dec";
28585                signal: "mouse,down,1";
28586                source: "down_bt";
28587                action: SIGNAL_EMIT "elm,action,decrement,start" "";
28588            }
28589            program { name: "dec2";
28590                signal: "mouse,up,1";
28591                source: "down_bt";
28592                action: SIGNAL_EMIT "elm,action,decrement,stop" "";
28593            }
28594            program { name: "inc";
28595                signal: "mouse,down,1";
28596                source: "up_bt";
28597                action: SIGNAL_EMIT "elm,action,increment,start" "";
28598            }
28599            program { name: "inc2";
28600                signal: "mouse,up,1";
28601                source: "up_bt";
28602                action: SIGNAL_EMIT "elm,action,increment,stop" "";
28603            }
28604            program {
28605                name:   "down_bt_click2";
28606                signal: "mouse,down,1";
28607                source: "down_over3";
28608                action: STATE_SET "clicked" 0.0;
28609                target: "down_over3";
28610            }
28611            program {
28612                name:   "down_bt_unclick2";
28613                signal: "mouse,up,1";
28614                source: "down_over3";
28615                action: STATE_SET "default" 0.0;
28616                transition: DECELERATE 0.5;
28617                target: "down_over3";
28618            }
28619            program {
28620                name:   "up_bt_click2";
28621                signal: "mouse,down,1";
28622                source: "up_over3";
28623                action: STATE_SET "clicked" 0.0;
28624                target: "up_over3";
28625            }
28626            program {
28627                name:   "up_bt_unclick2";
28628                signal: "mouse,up,1";
28629                source: "up_over3";
28630                action: STATE_SET "default" 0.0;
28631                transition: DECELERATE 0.5;
28632                target: "up_over3";
28633            }
28634            program { name: "disable";
28635                signal: "elm,state,disabled";
28636                source: "elm";
28637                action: STATE_SET "disabled" 0.0;
28638                target: "down_bt";
28639                target: "up_bt";
28640                target: "disabler";
28641                after: "disable_text";
28642            }
28643            program { name: "disable_text";
28644                script {
28645                    new st[31];
28646                    new Float:vl;
28647                    get_state(PART:"elm.text", st, 30, vl);
28648                    if (!strcmp(st, "active"))
28649                    set_state(PART:"elm.text", "disabled_active", 0.0);
28650                    else
28651                    set_state(PART:"elm.text", "disabled", 0.0);
28652
28653                    get_state(PART:"elm.swallow.entry", st, 30, vl);
28654                    if (!strcmp(st, "active"))
28655                    set_state(PART:"elm.swallow.entry", "disabled_active", 0.0);
28656                    else
28657                    set_state(PART:"elm.swallow.entry", "disabled", 0.0);
28658                }
28659            }
28660            program { name: "enable";
28661                signal: "elm,state,enabled";
28662                source: "elm";
28663                action: STATE_SET "default" 0.0;
28664                target: "down_bt";
28665                target: "up_bt";
28666                target: "disabler";
28667                after: "enable_text";
28668            }
28669            program { name: "enable_text";
28670                script {
28671                    new st[31];
28672                    new Float:vl;
28673                    get_state(PART:"elm.text", st, 30, vl);
28674                    if (!strcmp(st, "disabled_active"))
28675                    set_state(PART:"elm.text", "active", 0.0);
28676                    else
28677                    set_state(PART:"elm.text", "default", 0.0);
28678
28679                    get_state(PART:"elm.swallow.entry", st, 30, vl);
28680                    if (!strcmp(st, "disabled_active"))
28681                    set_state(PART:"elm.swallow.entry", "active", 0.0);
28682                    else
28683                    set_state(PART:"elm.swallow.entry", "default", 0.0);
28684                }
28685            }
28686            program { name: "active";
28687                signal: "elm,state,active";
28688                source: "elm";
28689                action: STATE_SET "active" 0.0;
28690                target: "elm.text";
28691                target: "elm.swallow.entry";
28692            }
28693            program { name: "inactive";
28694                signal: "elm,state,inactive";
28695                source: "elm";
28696                action: STATE_SET "default" 0.0;
28697                target: "elm.text";
28698                target: "elm.swallow.entry";
28699            }
28700            program { name: "toggle_text";
28701                signal: "mouse,up,1";
28702                source: "button_events";
28703                action: SIGNAL_EMIT "elm,action,entry,toggle" "";
28704            }
28705        }
28706    }
28707
28708
28709    ///////////////////////////////////////////////////////////////////////////////
28710    group { name: "elm/index/base/vertical/default";
28711        images {
28712            image: "bt_base1.png" COMP;
28713            image: "bt_base2.png" COMP;
28714            image: "bt_hilight.png" COMP;
28715            image: "bt_shine.png" COMP;
28716        }
28717        parts {
28718            part { name: "clip";
28719                type: RECT;
28720                mouse_events:  0;
28721                description { state: "default" 0.0;
28722                    visible:  0;
28723                    color: 255 255 255 0;
28724                }
28725                description { state: "active" 0.0;
28726                    visible:  1;
28727                    color: 255 255 255 255;
28728                }
28729            }
28730            part { name: "clip2";
28731                type: RECT;
28732                mouse_events:  0;
28733                clip_to: "clip";
28734                description { state: "default" 0.0;
28735                    visible: 0;
28736                    color: 255 255 255 0;
28737                }
28738                description { state: "active" 0.0;
28739                    visible:  1;
28740                    color: 255 255 255 255;
28741                }
28742            }
28743            part { name: "elm.swallow.index.0";
28744                type: SWALLOW;
28745                clip_to: "clip";
28746                description { state: "default" 0.0;
28747                    align: 1.0 0.5;
28748                    fixed: 1 1;
28749                    rel1 {
28750                        relative: 1.0 0.5;
28751                        offset: -1 5;
28752                    }
28753                    rel2 {
28754                        relative: 1.0 0.5;
28755                        offset: -1 -6;
28756                    }
28757                }
28758            }
28759            part { name: "button_image";
28760                mouse_events: 1;
28761                clip_to: "clip";
28762                description { state: "default" 0.0;
28763                    rel1 {
28764                        to: "elm.text.body";
28765                        offset: -5 -5;
28766                    }
28767                    rel2 {
28768                        to: "elm.text";
28769                        offset: 4 4;
28770                    }
28771                    image {
28772                        normal: "bt_base2.png";
28773                        border: 7 7 7 7;
28774                    }
28775                    image.middle: SOLID;
28776                }
28777            }
28778            part { name: "elm.text.body";
28779                type: TEXT;
28780                effect: SOFT_SHADOW;
28781                mouse_events: 0;
28782                scale: 1;
28783                clip_to: "clip";
28784                description { state: "default" 0.0;
28785                    align: 1.0 0.5;
28786                    fixed: 1 1;
28787                    rel1 {
28788                        to: "elm.text";
28789                        relative: 0.0 0.0;
28790                        offset: 5 0;
28791                    }
28792                    rel2 {
28793                        to: "elm.text";
28794                        relative: 0.0 1.0;
28795                        offset: 5 -1;
28796                    }
28797                    color: 224 224 224 255;
28798                    color3: 0 0 0 64;
28799                    text {
28800                        font:     "Sans,Edje-Vera";
28801                        size:     20;
28802                        min:      1 1;
28803                        align:    1.0 0.5;
28804                    }
28805                }
28806            }
28807            part { name: "elm.text";
28808                type: TEXT;
28809                effect: SOFT_SHADOW;
28810                mouse_events: 0;
28811                scale: 1;
28812                clip_to: "clip";
28813                description { state: "default" 0.0;
28814                    align: 1.0 0.5;
28815                    fixed: 1 1;
28816                    rel1 {
28817                        to_x: "elm.swallow.event.0";
28818                        to_y: "elm.dragable.pointer";
28819                        relative: 0.0 0.5;
28820                        offset: -16 0;
28821                    }
28822                    rel2 {
28823                        to_x: "elm.swallow.event.0";
28824                        to_y: "elm.dragable.pointer";
28825                        relative: 0.0 0.5;
28826                        offset: -16 -1;
28827                    }
28828                    color: 255 0 0 255;
28829                    color3: 0 0 0 64;
28830                    text {
28831                        font:     "Sans,Edje-Vera";
28832                        size:     20;
28833                        min:      1 1;
28834                        align:    1.0 0.5;
28835                    }
28836                }
28837            }
28838            part {        name: "over1";
28839                mouse_events: 0;
28840                clip_to: "clip";
28841                description { state: "default" 0.0;
28842                    rel1 {
28843                        to: "button_image";
28844                    }
28845                    rel2 {
28846                        to: "button_image";
28847                        relative: 1.0 0.5;
28848                    }
28849                    image {
28850                        normal: "bt_hilight.png";
28851                        border: 7 7 7 0;
28852                    }
28853                }
28854            }
28855            part { name: "over2";
28856                mouse_events: 1;
28857                repeat_events: 1;
28858                ignore_flags: ON_HOLD;
28859                clip_to: "clip";
28860                description { state: "default" 0.0;
28861                    rel1 {
28862                        to: "button_image";
28863                    }
28864                    rel2 {
28865                        to: "button_image";
28866                    }
28867                    image {
28868                        normal: "bt_shine.png";
28869                        border: 7 7 7 7;
28870                    }
28871                }
28872            }
28873            part { name: "elm.dragable.pointer";
28874                type: RECT;
28875                mouse_events: 0;
28876                dragable {
28877                    x: 1 1 0;
28878                    y: 1 1 0;
28879                }
28880                clip_to: "clip";
28881                description { state: "default" 0.0;
28882                    fixed: 1 1;
28883                    min: 8 8;
28884                    max: 8 8;
28885                    visible: 0;
28886                    rel1 {
28887                        relative: 0.0 0.0;
28888                        offset:   0 0;
28889                    }
28890                    rel2 {
28891                        relative: 0.0 0.0;
28892                        offset:   0 0;
28893                    }
28894                }
28895            }
28896            part { name: "elm.swallow.event.0";
28897                type: SWALLOW;
28898                description { state: "default" 0.0;
28899                    align: 1.0 0.5;
28900                    fixed: 1 1;
28901                    rel1 {
28902                        relative: 1.0 0.0;
28903                        offset: -1 0;
28904                    }
28905                    rel2 {
28906                        relative: 1.0 1.0;
28907                        offset: -1 -1;
28908                    }
28909                }
28910            }
28911        }
28912        programs {
28913            program { name: "active";
28914                signal: "elm,state,active";
28915                source: "elm";
28916                action: STATE_SET "active" 0.0;
28917                transition: DECELERATE 0.5;
28918                target: "clip";
28919            }
28920            program { name: "inactive";
28921                signal: "elm,state,inactive";
28922                source: "elm";
28923                action: STATE_SET "default" 0.0;
28924                transition: DECELERATE 0.5;
28925                target: "clip";
28926            }
28927        }
28928    }
28929
28930    group { name: "elm/index/item/vertical/default";
28931        data.item: "stacking" "above";
28932        data.item: "selectraise" "on";
28933        images {
28934            image: "ilist_1.png" COMP;
28935            image: "ilist_item_shadow.png" COMP;
28936        }
28937        parts {
28938            part {
28939                name: "base_sh";
28940                mouse_events: 0;
28941                description {
28942                    state: "default" 0.0;
28943                    align: 0.0 0.0;
28944                    min: 0 10;
28945                    fixed: 1 1;
28946                    rel1 {
28947                        to: "base";
28948                        relative: 0.0 1.0;
28949                        offset: 0 0;
28950                    }
28951                    rel2 {
28952                        to: "base";
28953                        relative: 1.0 1.0;
28954                        offset: -1 0;
28955                    }
28956                    image {
28957                        normal: "ilist_item_shadow.png";
28958                    }
28959                    fill.smooth: 0;
28960                }
28961            }
28962            part {
28963                name: "base";
28964                mouse_events: 0;
28965                description {
28966                    state: "default" 0.0;
28967                    image {
28968                        normal: "ilist_1.png";
28969                        border: 2 2 2 2;
28970                    }
28971                    fill.smooth: 0;
28972                }
28973                description { state: "active" 0.0;
28974                    inherit: "default" 0.0;
28975                    rel1 {
28976                        offset: -16 0;
28977                    }
28978                }
28979            }
28980            part { name: "elm.text";
28981                type:           TEXT;
28982                mouse_events:   0;
28983                scale: 1;
28984                description {
28985                    state: "default" 0.0;
28986                           //               min: 16 16;
28987                    rel1 {
28988                        to: "base";
28989                        relative: 0.0  0.0;
28990                        offset:   4 4;
28991                    }
28992                    rel2 {
28993                        to: "base";
28994                        relative: 0.5  1.0;
28995                        offset:   -1 -1;
28996                    }
28997                    color: 0 0 0 128;
28998                    text {
28999                        font: "Sans";
29000                        size: 10;
29001                        min: 1 1;
29002                             //                  min: 0 1;
29003                        align: 0.5 0.5;
29004                    }
29005                }
29006                description { state: "active" 0.0;
29007                    inherit: "default" 0.0;
29008                    color: 0 0 0 255;
29009                }
29010            }
29011        }
29012        programs {
29013            program { name: "active";
29014                signal: "elm,state,active";
29015                source: "elm";
29016                action: STATE_SET "active" 0.0;
29017                transition: DECELERATE 0.5;
29018                target: "elm.text";
29019                target: "base";
29020            }
29021            program { name: "inactive";
29022                signal: "elm,state,inactive";
29023                source: "elm";
29024                action: STATE_SET "default" 0.0;
29025                transition: DECELERATE 0.5;
29026                target: "elm.text";
29027                target: "base";
29028            }
29029        }
29030    }
29031
29032    group { name: "elm/index/item_odd/vertical/default";
29033        data.item: "stacking" "below";
29034        images {
29035            image: "ilist_2.png" COMP;
29036        }
29037        parts {
29038            part {
29039                name: "base";
29040                mouse_events: 0;
29041                description {
29042                    state: "default" 0.0;
29043                    image {
29044                        normal: "ilist_2.png";
29045                        border: 2 2 2 2;
29046                    }
29047                    fill.smooth: 0;
29048                }
29049                description { state: "active" 0.0;
29050                    inherit: "default" 0.0;
29051                    rel1 {
29052                        offset: -16 0;
29053                    }
29054                }
29055            }
29056            part { name: "elm.text";
29057                type:           TEXT;
29058                mouse_events:   0;
29059                scale: 1;
29060                description {
29061                    state: "default" 0.0;
29062                           //               min: 16 16;
29063                    rel1 {
29064                        to: "base";
29065                        relative: 0.0  0.0;
29066                        offset:   4 4;
29067                    }
29068                    rel2 {
29069                        to: "base";
29070                        relative: 0.5  1.0;
29071                        offset:   -1 -1;
29072                    }
29073                    color: 0 0 0 128;
29074                    text {
29075                        font: "Sans";
29076                        size: 10;
29077                        min: 1 1;
29078                             //                  min: 0 1;
29079                        align: 0.5 0.5;
29080                    }
29081                }
29082                description { state: "active" 0.0;
29083                    inherit: "default" 0.0;
29084                    color: 0 0 0 255;
29085                }
29086            }
29087        }
29088        programs {
29089            program { name: "active";
29090                signal: "elm,state,active";
29091                source: "elm";
29092                action: STATE_SET "active" 0.0;
29093                transition: DECELERATE 0.5;
29094                target: "elm.text";
29095                target: "base";
29096            }
29097            program { name: "inactive";
29098                signal: "elm,state,inactive";
29099                source: "elm";
29100                action: STATE_SET "default" 0.0;
29101                transition: DECELERATE 0.5;
29102                target: "elm.text";
29103                target: "base";
29104            }
29105        }
29106    }
29107
29108 ///////////////////////////////////////////////////////////////////////////////
29109    group { name: "elm/gengrid/item/default/default";
29110       data.item: "labels" "elm.text";
29111       data.item: "icons" "elm.swallow.icon elm.swallow.end";
29112       images {
29113          image: "bt_sm_base1.png" COMP;
29114          image: "bt_sm_shine.png" COMP;
29115          image: "bt_sm_hilight.png" COMP;
29116          image: "ilist_1.png" COMP;
29117          image: "ilist_item_shadow.png" COMP;
29118       }
29119       parts {
29120          part { name: "event";
29121             type: RECT;
29122             repeat_events: 1;
29123             description {
29124                state: "default" 0.0;
29125                color: 0 0 0 0;
29126             }
29127          }
29128          part { name: "base_sh";
29129             mouse_events: 0;
29130             description { state: "default" 0.0;
29131                align: 0.0 0.0;
29132                min: 0 10;
29133                fixed: 1 1;
29134                rel1 {
29135                   to: "base";
29136                   relative: 0.0 1.0;
29137                   offset: 0 0;
29138                }
29139                rel2 {
29140                   to: "base";
29141                   relative: 1.0 1.0;
29142                   offset: -1 0;
29143                }
29144                image {
29145                   normal: "ilist_item_shadow.png";
29146                }
29147                fill.smooth: 0;
29148             }
29149          }
29150          part { name: "base";
29151             mouse_events: 0;
29152             description { state: "default" 0.0;
29153                image {
29154                   normal: "ilist_1.png";
29155                   border: 2 2 2 2;
29156                }
29157                fill.smooth: 0;
29158             }
29159          }
29160          part { name: "bg";
29161             clip_to: "disclip";
29162             mouse_events: 0;
29163             description { state: "default" 0.0;
29164                visible: 0;
29165                color: 255 255 255 0;
29166                rel1 {
29167                   relative: 0.0 0.0;
29168                   offset: -5 -5;
29169                }
29170                rel2 {
29171                   relative: 1.0 1.0;
29172                   offset: 4 4;
29173                }
29174                image {
29175                   normal: "bt_sm_base1.png";
29176                   border: 6 6 6 6;
29177                }
29178                image.middle: SOLID;
29179             }
29180             description { state: "selected" 0.0;
29181                inherit: "default" 0.0;
29182                visible: 1;
29183                color: 255 255 255 255;
29184                rel1 {
29185                   relative: 0.0 0.0;
29186                   offset: -2 -2;
29187                }
29188                rel2 {
29189                   relative: 1.0 1.0;
29190                   offset: 1 1;
29191                }
29192             }
29193          }
29194          part { name: "elm.swallow.pad";
29195             type: SWALLOW;
29196             description { state: "default" 0.0;
29197                fixed: 1 0;
29198                align: 0.0 0.5;
29199                rel1 {
29200                   relative: 0.0  1.0;
29201                   offset:   0    -10;
29202                }
29203                rel2 {
29204                   to_y: "elm.text";
29205                   relative: 0.0  0.0;
29206                   offset:   -1   -1;
29207                }
29208             }
29209          }
29210          part { name: "elm.swallow.icon";
29211             clip_to: "disclip";
29212             type: SWALLOW;
29213             description { state: "default" 0.0;
29214                fixed: 1 0;
29215                align: 0.5 0.5;
29216                rel1 {
29217                   relative: 0.0  0.0;
29218                   offset:   -1    4;
29219                }
29220                rel2 {
29221                   to_y: "elm.swallow.pad";
29222                   relative: 1.0  0.0;
29223                   offset:   -1   -5;
29224                }
29225             }
29226          }
29227          part { name: "elm.swallow.end";
29228             clip_to: "disclip";
29229             type: SWALLOW;
29230             description { state: "default" 0.0;
29231                fixed: 1 0;
29232                align: 1.0 0.0;
29233                aspect: 1.0 1.0;
29234                aspect_preference: HORIZONTAL;
29235                rel1 {
29236                   relative: 1.0 0.0;
29237                   offset: -5 -5;
29238                }
29239                rel2 {
29240                   relative: 1.0 1.0;
29241                   offset: 5 5;
29242                }
29243             }
29244          }
29245          part { name: "elm.text";
29246             clip_to: "disclip";
29247             type: TEXT;
29248             effect: SOFT_SHADOW;
29249             mouse_events: 0;
29250             scale: 1;
29251             description { state: "default" 0.0;
29252                rel1 {
29253                   relative: 0.0  1.0;
29254                   offset: 0 0;
29255                }
29256                rel2 {
29257                   relative: 1.0  1.0;
29258                   offset: -5 -5;
29259                }
29260                color: 0 0 0 255;
29261                color3: 0 0 0 0;
29262                text {
29263                   font: "Sans";
29264                   size: 10;
29265                   min: 0 1;
29266                   align: 0.5 0.0;
29267                   text_class: "grid_item";
29268                }
29269             }
29270             description { state: "selected" 0.0;
29271                inherit: "default" 0.0;
29272                color: 224 224 224 255;
29273                color3: 0 0 0 64;
29274             }
29275          }
29276          part { name: "fg1";
29277             clip_to: "disclip";
29278             mouse_events: 0;
29279             description { state: "default" 0.0;
29280                visible: 0;
29281                color: 255 255 255 0;
29282                rel1.to: "bg";
29283                rel2.relative: 1.0 0.5;
29284                rel2.to: "bg";
29285                image {
29286                   normal: "bt_sm_hilight.png";
29287                   border: 6 6 6 0;
29288                }
29289             }
29290             description { state: "selected" 0.0;
29291                inherit: "default" 0.0;
29292                visible: 1;
29293                color: 255 255 255 255;
29294             }
29295          }
29296          part { name: "fg2";
29297             clip_to: "disclip";
29298             mouse_events: 0;
29299             description { state: "default" 0.0;
29300                visible: 0;
29301                color: 255 255 255 0;
29302                rel1.to: "bg";
29303                rel2.to: "bg";
29304                image {
29305                   normal: "bt_sm_shine.png";
29306                   border: 6 6 6 0;
29307                }
29308             }
29309             description { state: "selected" 0.0;
29310                inherit: "default" 0.0;
29311                visible: 1;
29312                color: 255 255 255 255;
29313             }
29314          }
29315          part { name: "disclip";
29316             type: RECT;
29317             description { state: "default" 0.0;
29318                rel1.to: "bg";
29319                rel2.to: "bg";
29320             }
29321             description { state: "disabled" 0.0;
29322                inherit: "default" 0.0;
29323                color: 255 255 255 64;
29324             }
29325          }
29326       }
29327       programs {
29328          // signal: elm,state,%s,active
29329          //   a "check" item named %s went active
29330          // signal: elm,state,%s,passive
29331          //   a "check" item named %s went passive
29332          // default is passive
29333          program { name:    "go_active";
29334             signal:  "elm,state,selected";
29335             source:  "elm";
29336             action:  STATE_SET "selected" 0.0;
29337             target:  "bg";
29338             target:  "fg1";
29339             target:  "fg2";
29340             target:  "elm.text";
29341          }
29342          program { name:    "go_passive";
29343             signal:  "elm,state,unselected";
29344             source:  "elm";
29345             action:  STATE_SET "default" 0.0;
29346             target:  "bg";
29347             target:  "fg1";
29348             target:  "fg2";
29349             target:  "elm.text";
29350             transition: LINEAR 0.1;
29351          }
29352          program { name:    "go_disabled";
29353             signal:  "elm,state,disabled";
29354             source:  "elm";
29355             action:  STATE_SET "disabled" 0.0;
29356             target:  "disclip";
29357          }
29358          program { name:    "go_enabled";
29359             signal:  "elm,state,enabled";
29360             source:  "elm";
29361             action:  STATE_SET "default" 0.0;
29362             target:  "disclip";
29363          }
29364       }
29365    }
29366    group { name: "elm/gengrid/item/default_style/default";
29367        styles
29368        {
29369            style { name: "gengrid_style";
29370                base: "font=Sans font_size=10 align=left valign=0.5 color=#000 text_class=grid_item";
29371                tag:  "br" "\n";
29372                tag:  "ps" "ps";
29373                tag:  "hilight" "+ font=Sans:style=Bold";
29374                tag:  "b" "+ font=Sans:style=Bold";
29375                tag:  "tab" "\t";
29376            }
29377            style { name: "gengrid_selected_style";
29378                base: "font=Sans font_size=10 align=left valign=0.5 color=#fff text_class=grid_item";
29379                tag:  "br" "\n";
29380                tag:  "ps" "ps";
29381                tag:  "hilight" "+ font=Sans:style=Bold";
29382                tag:  "b" "+ font=Sans:style=Bold";
29383                tag:  "tab" "\t";
29384            }
29385        }
29386        data.item: "labels" "elm.text";
29387        data.item: "icons" "elm.swallow.icon elm.swallow.end";
29388        images {
29389            image: "bt_sm_base1.png" COMP;
29390            image: "bt_sm_shine.png" COMP;
29391            image: "bt_sm_hilight.png" COMP;
29392            image: "ilist_1.png" COMP;
29393            image: "ilist_item_shadow.png" COMP;
29394        }
29395        parts {
29396            part { name: "event";
29397                type: RECT;
29398                repeat_events: 1;
29399                description { state: "default" 0.0;
29400                    color: 0 0 0 0;
29401                }
29402            }
29403            part { name: "base_sh";
29404                mouse_events: 0;
29405                description { state: "default" 0.0;
29406                    align: 0.0 0.0;
29407                    min: 0 10;
29408                    fixed: 1 1;
29409                    rel1 {
29410                        to: "base";
29411                        relative: 0.0 1.0;
29412                        offset: 0 0;
29413                    }
29414                    rel2 {
29415                        to: "base";
29416                        relative: 1.0 1.0;
29417                        offset: -1 0;
29418                    }
29419                    image {
29420                        normal: "ilist_item_shadow.png";
29421                    }
29422                    fill.smooth: 0;
29423                }
29424            }
29425            part { name: "base";
29426                mouse_events: 0;
29427                description { state: "default" 0.0;
29428                    min: 16 28;
29429                    image {
29430                        normal: "ilist_1.png";
29431                        border: 2 2 2 2;
29432                    }
29433                    fill.smooth: 0;
29434                }
29435            }
29436            part { name: "bg";
29437                clip_to: "disclip";
29438                mouse_events: 0;
29439                description { state: "default" 0.0;
29440                    visible: 0;
29441                    color: 255 255 255 0;
29442                    rel1 {
29443                        relative: 0.0 0.0;
29444                        offset: -5 -5;
29445                    }
29446                    rel2 {
29447                        relative: 1.0 1.0;
29448                        offset: 4 4;
29449                    }
29450                    image {
29451                        normal: "bt_sm_base1.png";
29452                        border: 6 6 6 6;
29453                    }
29454                    image.middle: SOLID;
29455                }
29456                description { state: "selected" 0.0;
29457                    inherit: "default" 0.0;
29458                    visible: 1;
29459                    color: 255 255 255 255;
29460                    rel1 {
29461                        relative: 0.0 0.0;
29462                        offset: -2 -2;
29463                    }
29464                    rel2 {
29465                        relative: 1.0 1.0;
29466                        offset: 1 1;
29467                    }
29468                }
29469            }
29470            part { name: "elm.swallow.pad";
29471                type: SWALLOW;
29472                description { state: "default" 0.0;
29473                    fixed: 1 0;
29474                    align: 0.0 0.5;
29475                    rel1 {
29476                        relative: 0.0  0.0;
29477                        offset:   4    4;
29478                    }
29479                    rel2 {
29480                        relative: 0.0  1.0;
29481                        offset:   4   -5;
29482                    }
29483                }
29484            }
29485            part { name: "elm.swallow.icon";
29486                clip_to: "disclip";
29487                type: SWALLOW;
29488                description { state: "default" 0.0;
29489                    fixed: 1 0;
29490                    align: 0.0 0.5;
29491                    rel1 {
29492                        to_x: "elm.swallow.pad";
29493                        relative: 1.0  0.0;
29494                        offset:   -1    4;
29495                    }
29496                    rel2 {
29497                        to_x: "elm.swallow.pad";
29498                        relative: 1.0  1.0;
29499                        offset:   -1   -5;
29500                    }
29501                }
29502            }
29503            part { name: "elm.swallow.end";
29504                clip_to: "disclip";
29505                type: SWALLOW;
29506                description { state: "default" 0.0;
29507                    fixed: 1 0;
29508                    align: 1.0 0.5;
29509                    aspect: 1.0 1.0;
29510                    aspect_preference: VERTICAL;
29511                    rel1 {
29512                        relative: 1.0  0.0;
29513                        offset:   -5    4;
29514                    }
29515                    rel2 {
29516                        relative: 1.0  1.0;
29517                        offset:   -5   -5;
29518                    }
29519                }
29520            }
29521            part { name: "elm.text";
29522                clip_to: "disclip";
29523                type: TEXTBLOCK;
29524                mouse_events: 0;
29525                scale: 1;
29526                description {
29527                    state: "default" 0.0;
29528                    align: 0.0 0.5;
29529                    fixed: 0 1;
29530                    rel1 {
29531                        to_x: "elm.swallow.icon";
29532                        to_y: "base";
29533                        relative: 1.0  0.5;
29534                        offset:   0 4;
29535                    }
29536                    rel2 {
29537                        to_x: "elm.swallow.end";
29538                        to_y: "base";
29539                        relative: 0.0  0.5;
29540                        offset:   -1 -5;
29541                    }
29542                    text {
29543                        style: "gengrid_style";
29544                        min: 1 1;
29545                    }
29546                }
29547                description { state: "selected" 0.0;
29548                    inherit: "default" 0.0;
29549                    text {
29550                        style: "gengrid_selected_style";
29551                    }
29552                }
29553            }
29554            part { name: "fg1";
29555                clip_to: "disclip";
29556                mouse_events: 0;
29557                description { state: "default" 0.0;
29558                    visible: 0;
29559                    color: 255 255 255 0;
29560                    rel1.to: "bg";
29561                    rel2.relative: 1.0 0.5;
29562                    rel2.to: "bg";
29563                    image {
29564                        normal: "bt_sm_hilight.png";
29565                        border: 6 6 6 0;
29566                    }
29567                }
29568                description { state: "selected" 0.0;
29569                    inherit: "default" 0.0;
29570                    visible: 1;
29571                    color: 255 255 255 255;
29572                }
29573            }
29574            part { name: "fg2";
29575                clip_to: "disclip";
29576                mouse_events: 0;
29577                description { state: "default" 0.0;
29578                    visible: 0;
29579                    color: 255 255 255 0;
29580                    rel1.to: "bg";
29581                    rel2.to: "bg";
29582                    image {
29583                        normal: "bt_sm_shine.png";
29584                        border: 6 6 6 0;
29585                    }
29586                }
29587                description { state: "selected" 0.0;
29588                    inherit: "default" 0.0;
29589                    visible: 1;
29590                    color: 255 255 255 255;
29591                }
29592            }
29593            part { name: "disclip";
29594                type: RECT;
29595                description { state: "default" 0.0;
29596                    rel1.to: "bg";
29597                    rel2.to: "bg";
29598                }
29599                description { state: "disabled" 0.0;
29600                    inherit: "default" 0.0;
29601                    color: 255 255 255 64;
29602                }
29603            }
29604        }
29605        programs {
29606            // signal: elm,state,%s,active
29607            //   a "check" item named %s went active
29608            // signal: elm,state,%s,passive
29609            //   a "check" item named %s went passive
29610            // default is passive
29611            program { name:    "go_active";
29612                signal:  "elm,state,selected";
29613                source:  "elm";
29614                action:  STATE_SET "selected" 0.0;
29615                target:  "bg";
29616                target:  "fg1";
29617                target:  "fg2";
29618                target:  "elm.text";
29619            }
29620            program { name:    "go_passive";
29621                signal:  "elm,state,unselected";
29622                source:  "elm";
29623                action:  STATE_SET "default" 0.0;
29624                target:  "bg";
29625                target:  "fg1";
29626                target:  "fg2";
29627                target:  "elm.text";
29628                transition: LINEAR 0.1;
29629            }
29630            program { name:    "go_disabled";
29631                signal:  "elm,state,disabled";
29632                source:  "elm";
29633                action:  STATE_SET "disabled" 0.0;
29634                target:  "disclip";
29635            }
29636            program { name:    "go_enabled";
29637                signal:  "elm,state,enabled";
29638                source:  "elm";
29639                action:  STATE_SET "default" 0.0;
29640                target:  "disclip";
29641            }
29642        }
29643    }
29644
29645    group { name: "elm/gengrid/item/up/default";
29646       data.item: "labels" "elm.text";
29647       images {
29648           image: "bt_sm_base1.png" COMP;
29649           image: "bt_sm_shine.png" COMP;
29650           image: "bt_sm_hilight.png" COMP;
29651           image: "arrow_up.png" COMP;
29652       }
29653       parts {
29654          part { name: "event";
29655             type: RECT;
29656             repeat_events: 1;
29657             description { state: "default" 0.0;
29658                color: 0 0 0 0;
29659             }
29660          }
29661          part { name: "bg";
29662             clip_to: "disclip";
29663             mouse_events: 0;
29664             description { state: "default" 0.0;
29665                visible: 0;
29666                color: 255 255 255 0;
29667                rel1.offset: -3 -3;
29668                rel2.offset: 2 2;
29669                image { normal: "bt_sm_base1.png";
29670                   border: 6 6 6 6;
29671                   middle: SOLID;
29672                }
29673             }
29674             description { state: "selected" 0.0;
29675                inherit: "default" 0.0;
29676                visible: 1;
29677                color: 255 255 255 255;
29678             }
29679          }
29680          part { name: "image";
29681              type: IMAGE;
29682              mouse_events: 0;
29683              description { state: "default" 0.0;
29684                  aspect_preference: BOTH;
29685                  aspect: 1.0 1.0;
29686                  image.normal: "arrow_up.png";
29687                  rel2 {
29688                      to_y: "elm.text";
29689                      relative: 1.0 0.0;
29690                      offset: -1 -2;
29691                  }
29692              }
29693          }
29694          part { name: "elm.text";
29695             clip_to: "disclip";
29696             type: TEXT;
29697             effect: SOFT_SHADOW;
29698             mouse_events: 0;
29699             scale: 1;
29700             description { state: "default" 0.0;
29701                rel1 {
29702                   relative: 0.0  1.0;
29703                   offset: 20 -25;
29704                }
29705                rel2 {
29706                   relative: 1.0  1.0;
29707                   offset: -21 -3;
29708                }
29709                color: 0 0 0 255;
29710                color3: 0 0 0 0;
29711                text {
29712                   font: "Sans";
29713                   size: 10;
29714                   min: 0 1;
29715                   align: 0.5 0.0;
29716                   text_class: "grid_item";
29717                }
29718             }
29719             description { state: "selected" 0.0;
29720                inherit: "default" 0.0;
29721                color: 224 224 224 255;
29722                color3: 0 0 0 64;
29723             }
29724          }
29725          part { name: "fg1";
29726             clip_to: "disclip";
29727             mouse_events: 0;
29728             description { state: "default" 0.0;
29729                visible: 0;
29730                color: 255 255 255 0;
29731                rel1.offset: -3 -3;
29732                rel2 {
29733                    relative: 1.0 0.5;
29734                    offset: 2 -1;
29735                }
29736                image {
29737                   normal: "bt_sm_hilight.png";
29738                   border: 6 6 6 0;
29739                }
29740             }
29741             description { state: "selected" 0.0;
29742                inherit: "default" 0.0;
29743                visible: 1;
29744                color: 255 255 255 255;
29745             }
29746          }
29747          part { name: "fg2";
29748             clip_to: "disclip";
29749             mouse_events: 0;
29750             description { state: "default" 0.0;
29751                visible: 0;
29752                color: 255 255 255 0;
29753                rel1.offset: -3 -3;
29754                rel2.offset: 2 2;
29755                image {
29756                   normal: "bt_sm_shine.png";
29757                   border: 6 6 6 0;
29758                }
29759             }
29760             description { state: "selected" 0.0;
29761                inherit: "default" 0.0;
29762                visible: 1;
29763                color: 255 255 255 255;
29764             }
29765          }
29766          part { name: "disclip";
29767             type: RECT;
29768             description { state: "default" 0.0;
29769                rel1.to: "bg";
29770                rel2.to: "bg";
29771             }
29772             description { state: "disabled" 0.0;
29773                inherit: "default" 0.0;
29774                color: 255 255 255 64;
29775             }
29776          }
29777       }
29778       programs {
29779          program { name:    "go_active";
29780             signal:  "elm,state,selected";
29781             source:  "elm";
29782             action:  STATE_SET "selected" 0.0;
29783             target:  "bg";
29784             target:  "fg1";
29785             target:  "fg2";
29786             target:  "elm.text";
29787          }
29788          program { name:    "go_passive";
29789             signal:  "elm,state,unselected";
29790             source:  "elm";
29791             action:  STATE_SET "default" 0.0;
29792             target:  "bg";
29793             target:  "fg1";
29794             target:  "fg2";
29795             target:  "elm.text";
29796             transition: LINEAR 0.1;
29797          }
29798          program { name:    "go_disabled";
29799             signal:  "elm,state,disabled";
29800             source:  "elm";
29801             action:  STATE_SET "disabled" 0.0;
29802             target:  "disclip";
29803          }
29804          program { name:    "go_enabled";
29805             signal:  "elm,state,enabled";
29806             source:  "elm";
29807             action:  STATE_SET "default" 0.0;
29808             target:  "disclip";
29809          }
29810       }
29811    }
29812
29813    group { name: "elm/gengrid/item/album-preview/default";
29814       data.item: "labels" "elm.text";
29815       data.item: "icons" "elm.swallow.icon.1 elm.swallow.icon.2 elm.swallow.icon.3 elm.swallow.icon.4";
29816       data.item: "states" "have_files";
29817       images {
29818          image: "bt_sm_base1.png" COMP;
29819          image: "bt_sm_shine.png" COMP;
29820          image: "bt_sm_hilight.png" COMP;
29821          image: "icon_folder.png" COMP;
29822       }
29823       parts {
29824          part { name: "event";
29825             type: RECT;
29826             repeat_events: 1;
29827             description { state: "default" 0.0;
29828                color: 0 0 0 0;
29829             }
29830          }
29831          part { name: "bg";
29832             clip_to: "disclip";
29833             mouse_events: 0;
29834             description { state: "default" 0.0;
29835                visible: 0;
29836                color: 255 255 255 0;
29837                rel1.offset: -3 -3;
29838                rel2.offset: 2 2;
29839                image {
29840                   normal: "bt_sm_base1.png";
29841                   border: 6 6 6 6;
29842                   middle: SOLID;
29843                }
29844             }
29845             description { state: "selected" 0.0;
29846                inherit: "default" 0.0;
29847                visible: 1;
29848                color: 255 255 255 255;
29849             }
29850          }
29851          part { name: "image";
29852              type: IMAGE;
29853              mouse_events: 0;
29854              description { state: "default" 0.0;
29855                  aspect_preference: BOTH;
29856                  aspect: 1.0 1.0;
29857                  image.normal: "icon_folder.png";
29858                  rel2 {
29859                      to_y: "elm.text";
29860                      relative: 1.0 0.0;
29861                      offset: -1 -2;
29862                  }
29863              }
29864          }
29865          part { name: "have-files-clipper";
29866              type: RECT;
29867              description { state: "default" 0.0;
29868                  color: 255 255 255 0;
29869                  visible: 0;
29870              }
29871              description { state: "visible" 0.0;
29872                  inherit: "default" 0.0;
29873                  color: 255 255 255 255;
29874                  visible: 1;
29875              }
29876          }
29877          part { name: "icon_box_margin";
29878              type: RECT;
29879              mouse_events: 0;
29880              clip_to: "have-files-clipper";
29881              description { state: "default" 0.0;
29882                  color: 0 0 0 255;
29883                  rel1 {
29884                      to: "icon_box";
29885                      offset: -1 -1;
29886                  }
29887                  rel2 {
29888                      to: "icon_box";
29889                      offset: 0 0;
29890                  }
29891              }
29892          }
29893          part { name: "icon_box";
29894              type: RECT;
29895              mouse_events: 0;
29896              clip_to: "have-files-clipper";
29897              description { state: "default" 0.0;
29898                  color: 255 255 255 255;
29899                  align: 1.0 1.0;
29900                  min: 32 32;
29901                  rel1 {
29902                      relative: 0.25 0.25;
29903                      offset: 0 0;
29904                  }
29905                  rel2 {
29906                      relative: 1.0 0.0;
29907                      offset: -11 -4;
29908                      to_y: "elm.text";
29909                  }
29910              }
29911          }
29912          part { name: "elm.swallow.icon.1";
29913              type: SWALLOW;
29914              mouse_events: 0;
29915              clip_to: "have-files-clipper";
29916              description { state: "default" 0.0;
29917                rel1 {
29918                   relative: 0.0  0.0;
29919                   to: "icon_box";
29920                }
29921                rel2 {
29922                   relative: 0.5  0.5;
29923                   offset: -1 -1;
29924                   to: "icon_box";
29925                }
29926             }
29927          }
29928          part { name: "elm.swallow.icon.2";
29929              type: SWALLOW;
29930              mouse_events: 0;
29931              clip_to: "have-files-clipper";
29932              description { state: "default" 0.0;
29933                rel1 {
29934                   relative: 0.5  0.0;
29935                   to: "icon_box";
29936                }
29937                rel2 {
29938                   relative: 1.0  0.5;
29939                   offset: -1 -1;
29940                   to: "icon_box";
29941                }
29942             }
29943          }
29944          part { name: "elm.swallow.icon.3";
29945              type: SWALLOW;
29946              mouse_events: 0;
29947              clip_to: "have-files-clipper";
29948              description { state: "default" 0.0;
29949                rel1 {
29950                   relative: 0.0  0.5;
29951                   to: "icon_box";
29952                }
29953                rel2 {
29954                   relative: 0.5  1.0;
29955                   offset: -1 -1;
29956                   to: "icon_box";
29957                }
29958             }
29959          }
29960          part { name: "elm.swallow.icon.4";
29961              type: SWALLOW;
29962              mouse_events: 0;
29963              clip_to: "have-files-clipper";
29964              description { state: "default" 0.0;
29965                rel1 {
29966                   relative: 0.5  0.5;
29967                   to: "icon_box";
29968                }
29969                rel2 {
29970                   relative: 1.0  1.0;
29971                   offset: -1 -1;
29972                   to: "icon_box";
29973                }
29974             }
29975          }
29976          part { name: "elm.text";
29977             clip_to: "disclip";
29978             type: TEXT;
29979             effect: SOFT_SHADOW;
29980             mouse_events: 0;
29981             scale: 1;
29982             description { state: "default" 0.0;
29983                rel1 {
29984                   relative: 0.0  1.0;
29985                   offset: 20 -30;
29986                }
29987                rel2 {
29988                   relative: 1.0  1.0;
29989                   offset: -21 -15;
29990                }
29991                color: 0 0 0 255;
29992                color3: 0 0 0 0;
29993                text {
29994                   font: "Sans";
29995                   size: 10;
29996                   min: 0 1;
29997                   align: 0.5 0.0;
29998                   text_class: "grid_item";
29999                }
30000             }
30001             description { state: "selected" 0.0;
30002                 inherit: "default" 0.0;
30003                 color: 255 255 255 255;
30004             }
30005          }
30006          part { name: "fg1";
30007             clip_to: "disclip";
30008             mouse_events: 0;
30009             description { state: "default" 0.0;
30010                visible: 0;
30011                color: 255 255 255 0;
30012                rel1.offset: -3 -3;
30013                rel2 {
30014                    relative: 1.0 0.5;
30015                    offset: 2 -1;
30016                }
30017                image {
30018                   normal: "bt_sm_hilight.png";
30019                   border: 6 6 6 0;
30020                }
30021             }
30022             description { state: "selected" 0.0;
30023                inherit: "default" 0.0;
30024                visible: 1;
30025                color: 255 255 255 255;
30026             }
30027          }
30028          part { name: "fg2";
30029             clip_to: "disclip";
30030             mouse_events: 0;
30031             description { state: "default" 0.0;
30032                visible: 0;
30033                color: 255 255 255 0;
30034                rel1.offset: -3 -3;
30035                rel2.offset: 2 2;
30036                image {
30037                   normal: "bt_sm_shine.png";
30038                   border: 6 6 6 0;
30039                }
30040             }
30041             description { state: "selected" 0.0;
30042                inherit: "default" 0.0;
30043                visible: 1;
30044                color: 255 255 255 255;
30045             }
30046          }
30047          part { name: "disclip";
30048             type: RECT;
30049             description { state: "default" 0.0;
30050                rel1.to: "bg";
30051                rel2.to: "bg";
30052             }
30053             description { state: "disabled" 0.0;
30054                inherit: "default" 0.0;
30055                color: 255 255 255 64;
30056             }
30057          }
30058       }
30059       programs {
30060          program { name:    "go_active";
30061             signal:  "elm,state,selected";
30062             source:  "elm";
30063             action:  STATE_SET "selected" 0.0;
30064             target:  "bg";
30065             target:  "fg1";
30066             target:  "fg2";
30067             target:  "elm.text";
30068          }
30069          program { name:    "go_passive";
30070             signal:  "elm,state,unselected";
30071             source:  "elm";
30072             action:  STATE_SET "default" 0.0;
30073             target:  "bg";
30074             target:  "fg1";
30075             target:  "fg2";
30076             target:  "elm.text";
30077             transition: LINEAR 0.1;
30078          }
30079          program { name:    "go_disabled";
30080             signal:  "elm,state,disabled";
30081             source:  "elm";
30082             action:  STATE_SET "disabled" 0.0;
30083             target:  "disclip";
30084          }
30085          program { name:    "go_enabled";
30086             signal:  "elm,state,enabled";
30087             source:  "elm";
30088             action:  STATE_SET "default" 0.0;
30089             target:  "disclip";
30090          }
30091          program {
30092              signal: "elm,state,have_files,active";
30093              source: "elm";
30094              action: STATE_SET "visible" 0.0;
30095              target: "have-files-clipper";
30096          }
30097       }
30098    }
30099
30100    group { name: "elm/gengrid/item/thumb/default";
30101        data {
30102            item: "icons" "elm.swallow.icon";
30103            item: "labels" "elm.text";
30104        }
30105        images {
30106            image: "bt_sm_base1.png" COMP;
30107            image: "bt_sm_shine.png" COMP;
30108            image: "bt_sm_hilight.png" COMP;
30109            image: "thumb_shadow.png" COMP;
30110        }
30111        parts {
30112            part { name: "event";
30113                type: RECT;
30114                repeat_events: 1;
30115                description { state: "default" 0.0;
30116                    color: 0 0 0 0;
30117                }
30118            }
30119            part { name: "bg";
30120                mouse_events: 0;
30121                description { state: "default" 0.0;
30122                    visible: 0;
30123                    color: 255 255 255 0;
30124                    rel1.offset: -3 -3;
30125                    rel2.offset: 2 2;
30126                    image {
30127                        normal: "bt_sm_base1.png";
30128                        border: 6 6 6 6;
30129                        middle: SOLID;
30130                    }
30131                }
30132                description { state: "selected" 0.0;
30133                    inherit: "default" 0.0;
30134                    visible: 1;
30135                    color: 255 255 255 255;
30136                }
30137            }
30138            part { name: "border-shadow";
30139                type: IMAGE;
30140                mouse_events: 0;
30141                description { state: "default" 0.0;
30142                    rel1 {
30143                        to: "elm.swallow.icon";
30144                        offset: -18 -18;
30145                    }
30146                    rel2 {
30147                        to_x: "elm.swallow.icon";
30148                        to_y: "elm.text";
30149                        offset: 17 17;
30150                    }
30151                    image {
30152                        normal: "thumb_shadow.png";
30153                        border: 17 17 17 17;
30154                        middle: NONE;
30155                    }
30156                }
30157            }
30158            part { name: "border";
30159                type: RECT;
30160                mouse_events: 0;
30161                description { state: "default" 0.0;
30162                    rel1 {
30163                        to: "border-shadow";
30164                        offset: 16 16;
30165                    }
30166                    rel2 {
30167                        to: "border-shadow";
30168                        offset: -15 -15;
30169                    }
30170                }
30171            }
30172            part { name: "elm.swallow.icon";
30173                type: SWALLOW;
30174                mouse_events: 0;
30175                description { state: "default" 0.0;
30176                    aspect_preference: BOTH;
30177                    aspect: 1.0 1.0;
30178                    rel1.offset: 0 8;
30179                    rel2 {
30180                        to_y: "elm.text";
30181                        relative: 1.0 0.0;
30182                        offset: -1 -2;
30183                    }
30184                }
30185            }
30186            part { name: "elm.text";
30187                type: TEXT;
30188                effect: SOFT_SHADOW;
30189                mouse_events: 0;
30190                scale: 1;
30191                description { state: "default" 0.0;
30192                    color: 0 0 0 255;
30193                    color3: 0 0 0 0;
30194                    align: 0.5 1.0;
30195                    rel1 {
30196                        relative: 0.0 1.0;
30197                        offset: 20 -30;
30198                    }
30199                    rel2 {
30200                        relative: 1.0 1.0;
30201                        offset: -21 -15;
30202                    }
30203                    text {
30204                        font: "Sans";
30205                        size: 10;
30206                        min: 0 1;
30207                        align: 0.5 0.0;
30208                        text_class: "grid_item";
30209                    }
30210                }
30211            }
30212            part { name: "fg1";
30213                mouse_events: 0;
30214                description { state: "default" 0.0;
30215                    visible: 0;
30216                    color: 255 255 255 0;
30217                    rel1.offset: -3 -3;
30218                    rel2 {
30219                        relative: 1.0 0.5;
30220                        offset: 2 -1;
30221                    }
30222                    image {
30223                        normal: "bt_sm_hilight.png";
30224                        border: 6 6 6 0;
30225                    }
30226                }
30227                description { state: "selected" 0.0;
30228                    inherit: "default" 0.0;
30229                    visible: 1;
30230                    color: 255 255 255 255;
30231                }
30232            }
30233            part { name: "fg2";
30234                mouse_events: 0;
30235                description { state: "default" 0.0;
30236                    visible: 0;
30237                    color: 255 255 255 0;
30238                    rel1.offset: -3 -3;
30239                    rel2.offset: 2 2;
30240                    image {
30241                        image: "bt_sm_shine.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        }
30252        programs {
30253            program {
30254                signal: "elm,state,selected";
30255                source: "elm";
30256                action: STATE_SET "selected" 0.0;
30257                target: "bg";
30258                target: "fg1";
30259                target: "fg2";
30260            }
30261            program {
30262                signal: "elm,state,unselected";
30263                source: "elm";
30264                action:  STATE_SET "default" 0.0;
30265                target: "bg";
30266                target: "fg1";
30267                target: "fg2";
30268                transition: LINEAR 0.1;
30269            }
30270        }
30271    }
30272
30273 ///////////////////////////////////////////////////////////////////////////////
30274    group { name: "elm/photocam/base/default";
30275        script {
30276            public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
30277            public timer0(val) {
30278                new v;
30279                v = get_int(sbvis_v);
30280                if (v) {
30281                    v = get_int(sbalways_v);
30282                    if (!v) {
30283                        emit("do-hide-vbar", "");
30284                        set_int(sbvis_v, 0);
30285                    }
30286                }
30287                v = get_int(sbvis_h);
30288                if (v) {
30289                    v = get_int(sbalways_h);
30290                    if (!v) {
30291                        emit("do-hide-hbar", "");
30292                        set_int(sbvis_h, 0);
30293                    }
30294                }
30295                set_int(sbvis_timer, 0);
30296                return 0;
30297            }
30298        }
30299        images {
30300            image: "shelf_inset.png" COMP;
30301            image: "bt_sm_base2.png" COMP;
30302            image: "bt_sm_shine.png" COMP;
30303            image: "bt_sm_hilight.png" COMP;
30304            image: "busy-1.png" COMP;
30305            image: "busy-2.png" COMP;
30306            image: "busy-3.png" COMP;
30307            image: "busy-4.png" COMP;
30308            image: "busy-5.png" COMP;
30309            image: "busy-6.png" COMP;
30310            image: "busy-7.png" COMP;
30311            image: "busy-8.png" COMP;
30312            image: "busy-9.png" COMP;
30313        }
30314        parts {
30315            part { name: "bg";
30316                type: RECT;
30317                description { state: "default" 0.0;
30318                    rel1.offset: 1 1;
30319                    rel2.offset: -2 -2;
30320                    color: 255 255 255 0;
30321                }
30322            }
30323            part { name: "clipper";
30324                type: RECT;
30325                mouse_events: 0;
30326                description { state: "default" 0.0;
30327                    rel1.to: "bg";
30328                    rel2.to: "bg";
30329                }
30330            }
30331            part { name: "elm.swallow.content";
30332                clip_to: "clipper";
30333                type: SWALLOW;
30334                description { state: "default" 0.0;
30335                    rel1.offset: 1 1;
30336                    rel2.offset: -2 -2;
30337                }
30338            }
30339            part { name: "busy_clip";
30340                type: RECT;
30341                mouse_events: 0;
30342                description { state: "default" 0.0;
30343                    visible: 0;
30344                    color: 255 255 255 0;
30345                }
30346                description { state: "active" 0.0;
30347                    visible: 1;
30348                    color: 255 255 255 255;
30349                }
30350            }
30351            part { name: "busy";
30352                clip_to: "busy_clip";
30353                mouse_events: 0;
30354                description { state: "default" 0.0;
30355                    fixed: 1 1;
30356                    min: 32 32;
30357                    aspect: 1.0 1.0;
30358                    align: 1.0 1.0;
30359                    aspect_preference: BOTH;
30360                    rel1 {
30361                        relative: 0.9 0.9;
30362                        offset:   -9 -9;
30363                    }
30364                    rel2 {
30365                        relative: 0.9 0.9;
30366                        offset:   -9 -9;
30367                    }
30368                    image {
30369                        normal: "busy-9.png";
30370                        tween:  "busy-1.png";
30371                        tween:  "busy-2.png";
30372                        tween:  "busy-3.png";
30373                        tween:  "busy-4.png";
30374                        tween:  "busy-5.png";
30375                        tween:  "busy-6.png";
30376                        tween:  "busy-7.png";
30377                        tween:  "busy-8.png";
30378                    }
30379                }
30380            }
30381            part { name: "conf_over";
30382                mouse_events:  0;
30383                description { state: "default" 0.0;
30384                    rel1.offset: 0 0;
30385                    rel2.offset: -1 -1;
30386                    image {
30387                        normal: "shelf_inset.png";
30388                        border: 7 7 7 7;
30389                        middle: 0;
30390                    }
30391                    fill.smooth : 0;
30392                }
30393            }
30394            part { name: "sb_vbar_clip_master";
30395                type: RECT;
30396                mouse_events: 0;
30397                description { state: "default" 0.0;
30398                }
30399                description { state: "hidden" 0.0;
30400                    visible: 0;
30401                    color: 255 255 255 0;
30402                }
30403            }
30404            part { name: "sb_vbar_clip";
30405                clip_to: "sb_vbar_clip_master";
30406                type: RECT;
30407                mouse_events: 0;
30408                description { state: "default" 0.0;
30409                }
30410                description { state: "hidden" 0.0;
30411                    visible: 0;
30412                    color: 255 255 255 0;
30413                }
30414            }
30415            part { name: "sb_vbar";
30416                type: RECT;
30417                mouse_events: 0;
30418                description { state: "default" 0.0;
30419                    fixed: 1 1;
30420                    visible: 0;
30421                    min: 10 17;
30422                    align: 1.0 0.0;
30423                    rel1 {
30424                        relative: 1.0 0.0;
30425                        offset:   -2 0;
30426                    }
30427                    rel2 {
30428                        relative: 1.0 0.0;
30429                        offset:   -2 -1;
30430                        to_y:     "sb_hbar";
30431                    }
30432                }
30433            }
30434            part { name: "elm.dragable.vbar";
30435                clip_to: "sb_vbar_clip";
30436                mouse_events: 0;
30437                dragable {
30438                    x: 0 0 0;
30439                    y: 1 1 0;
30440                    confine: "sb_vbar";
30441                }
30442                description { state: "default" 0.0;
30443                    fixed: 1 1;
30444                    min: 10 17;
30445                    max: 10 99999;
30446                    rel1 {
30447                        relative: 0.5  0.5;
30448                        offset:   0    0;
30449                        to: "sb_vbar";
30450                    }
30451                    rel2 {
30452                        relative: 0.5  0.5;
30453                        offset:   0    0;
30454                        to: "sb_vbar";
30455                    }
30456                    image {
30457                        normal: "bt_sm_base2.png";
30458                        border: 6 6 6 6;
30459                        middle: SOLID;
30460                    }
30461                }
30462            }
30463            part { name: "sb_vbar_over1";
30464                clip_to: "sb_vbar_clip";
30465                mouse_events: 0;
30466                description { state: "default" 0.0;
30467                    rel1.to: "elm.dragable.vbar";
30468                    rel2.relative: 1.0 0.5;
30469                    rel2.to: "elm.dragable.vbar";
30470                    image {
30471                        normal: "bt_sm_hilight.png";
30472                        border: 6 6 6 0;
30473                    }
30474                }
30475            }
30476            part { name: "sb_vbar_over2";
30477                clip_to: "sb_vbar_clip";
30478                mouse_events: 0;
30479                description { state: "default" 0.0;
30480                    rel1.to: "elm.dragable.vbar";
30481                    rel2.to: "elm.dragable.vbar";
30482                    image {
30483                        normal: "bt_sm_shine.png";
30484                        border: 6 6 6 0;
30485                    }
30486                }
30487            }
30488
30489            part { name: "sb_hbar_clip_master";
30490                type: RECT;
30491                mouse_events: 0;
30492                description { state: "default" 0.0;
30493                }
30494                description { state: "hidden" 0.0;
30495                    visible: 0;
30496                    color: 255 255 255 0;
30497                }
30498            }
30499            part { name: "sb_hbar_clip";
30500                clip_to: "sb_hbar_clip_master";
30501                type: RECT;
30502                mouse_events: 0;
30503                description { state: "default" 0.0;
30504                }
30505                description { state: "hidden" 0.0;
30506                    visible: 0;
30507                    color: 255 255 255 0;
30508                }
30509            }
30510            part { name: "sb_hbar";
30511                type: RECT;
30512                mouse_events: 0;
30513                description { state: "default" 0.0;
30514                    fixed: 1 1;
30515                    visible: 0;
30516                    min: 17 10;
30517                    align: 0.0 1.0;
30518                    rel1 {
30519                        relative: 0.0 1.0;
30520                        offset:   0 -2;
30521                    }
30522                    rel2 {
30523                        relative: 0.0 1.0;
30524                        offset:   -1 -2;
30525                        to_x:     "sb_vbar";
30526                    }
30527                }
30528            }
30529            part { name: "elm.dragable.hbar";
30530                clip_to: "sb_hbar_clip";
30531                mouse_events: 0;
30532                dragable {
30533                    x: 1 1 0;
30534                    y: 0 0 0;
30535                    confine: "sb_hbar";
30536                }
30537                description { state: "default" 0.0;
30538                    fixed: 1 1;
30539                    min: 17 10;
30540                    max: 99999 10;
30541                    rel1 {
30542                        relative: 0.5  0.5;
30543                        offset:   0    0;
30544                        to: "sb_hbar";
30545                    }
30546                    rel2 {
30547                        relative: 0.5  0.5;
30548                        offset:   0    0;
30549                        to: "sb_hbar";
30550                    }
30551                    image {
30552                        normal: "bt_sm_base2.png";
30553                        border: 4 4 4 4;
30554                        middle: SOLID;
30555                    }
30556                }
30557            }
30558            part { name: "sb_hbar_over1";
30559                clip_to: "sb_hbar_clip";
30560                mouse_events: 0;
30561                description { state: "default" 0.0;
30562                    rel1.to: "elm.dragable.hbar";
30563                    rel2.relative: 1.0 0.5;
30564                    rel2.to: "elm.dragable.hbar";
30565                    image {
30566                        normal: "bt_sm_hilight.png";
30567                        border: 4 4 4 0;
30568                    }
30569                }
30570            }
30571            part { name: "sb_hbar_over2";
30572                clip_to: "sb_hbar_clip";
30573                mouse_events: 0;
30574                description { state: "default" 0.0;
30575                    rel1.to: "elm.dragable.hbar";
30576                    rel2.to: "elm.dragable.hbar";
30577                    image {
30578                        normal: "bt_sm_shine.png";
30579                        border: 4 4 4 0;
30580                    }
30581                }
30582            }
30583        }
30584        programs {
30585            program { name: "load";
30586                signal: "load";
30587                source: "";
30588                script {
30589                    set_state(PART:"sb_hbar_clip", "hidden", 0.0);
30590                    set_state(PART:"sb_vbar_clip", "hidden", 0.0);
30591                    set_int(sbvis_h, 0);
30592                    set_int(sbvis_v, 0);
30593                    set_int(sbalways_v, 0);
30594                    set_int(sbalways_h, 0);
30595                    set_int(sbvis_timer, 0);
30596                }
30597            }
30598
30599            program { name: "vbar_show";
30600                signal: "elm,action,show,vbar";
30601                source: "elm";
30602                action:  STATE_SET "default" 0.0;
30603                target: "sb_vbar_clip_master";
30604            }
30605            program { name: "vbar_hide";
30606                signal: "elm,action,hide,vbar";
30607                source: "elm";
30608                action:  STATE_SET "hidden" 0.0;
30609                target: "sb_vbar_clip_master";
30610            }
30611            program { name: "vbar_show_always";
30612                signal: "elm,action,show_always,vbar";
30613                source: "elm";
30614                script {
30615                    new v;
30616                    v = get_int(sbvis_v);
30617                    v |= get_int(sbalways_v);
30618                    if (!v) {
30619                        set_int(sbalways_v, 1);
30620                        emit("do-show-vbar", "");
30621                        set_int(sbvis_v, 1);
30622                    }
30623                }
30624            }
30625            program { name: "vbar_show_notalways";
30626                signal: "elm,action,show_notalways,vbar";
30627                source: "elm";
30628                script {
30629                    new v;
30630                    v = get_int(sbalways_v);
30631                    if (v) {
30632                        set_int(sbalways_v, 0);
30633                        v = get_int(sbvis_v);
30634                        if (!v) {
30635                            emit("do-hide-vbar", "");
30636                            set_int(sbvis_v, 0);
30637                        }
30638                    }
30639                }
30640            }
30641            program { name: "sb_vbar_show";
30642                signal: "do-show-vbar";
30643                source: "";
30644                action:  STATE_SET "default" 0.0;
30645                transition: LINEAR 0.5;
30646                target: "sb_vbar_clip";
30647            }
30648            program { name: "sb_vbar_hide";
30649                signal: "do-hide-vbar";
30650                source: "";
30651                action:  STATE_SET "hidden" 0.0;
30652                transition: LINEAR 0.5;
30653                target: "sb_vbar_clip";
30654            }
30655
30656            program { name: "hbar_show";
30657                signal: "elm,action,show,hbar";
30658                source: "elm";
30659                action:  STATE_SET "default" 0.0;
30660                target: "sb_hbar_clip_master";
30661            }
30662            program { name: "hbar_hide";
30663                signal: "elm,action,hide,hbar";
30664                source: "elm";
30665                action:  STATE_SET "hidden" 0.0;
30666                target: "sb_hbar_clip_master";
30667            }
30668            program { name: "hbar_show_always";
30669                signal: "elm,action,show_always,hbar";
30670                source: "elm";
30671                script {
30672                    new v;
30673                    v = get_int(sbvis_h);
30674                    v |= get_int(sbalways_h);
30675                    if (!v) {
30676                        set_int(sbalways_h, 1);
30677                        emit("do-show-hbar", "");
30678                        set_int(sbvis_h, 1);
30679                    }
30680                }
30681            }
30682            program { name: "hbar_show_notalways";
30683                signal: "elm,action,show_notalways,hbar";
30684                source: "elm";
30685                script {
30686                    new v;
30687                    v = get_int(sbalways_h);
30688                    if (v) {
30689                        set_int(sbalways_h, 0);
30690                        v = get_int(sbvis_h);
30691                        if (!v) {
30692                            emit("do-hide-hbar", "");
30693                            set_int(sbvis_h, 0);
30694                        }
30695                    }
30696                }
30697            }
30698            program { name: "sb_hbar_show";
30699                signal: "do-show-hbar";
30700                source: "";
30701                action:  STATE_SET "default" 0.0;
30702                transition: LINEAR 0.5;
30703                target: "sb_hbar_clip";
30704            }
30705            program { name: "sb_hbar_hide";
30706                signal: "do-hide-hbar";
30707                source: "";
30708                action:  STATE_SET "hidden" 0.0;
30709                transition: LINEAR 0.5;
30710                target: "sb_hbar_clip";
30711            }
30712
30713            program { name: "scroll";
30714                signal: "elm,action,scroll";
30715                source: "elm";
30716                script {
30717                    new v;
30718                    v = get_int(sbvis_v);
30719                    v |= get_int(sbalways_v);
30720                    if (!v) {
30721                        emit("do-show-vbar", "");
30722                        set_int(sbvis_v, 1);
30723                    }
30724                    v = get_int(sbvis_h);
30725                    v |= get_int(sbalways_h);
30726                    if (!v) {
30727                        emit("do-show-hbar", "");
30728                        set_int(sbvis_h, 1);
30729                    }
30730                    v = get_int(sbvis_timer);
30731                    if (v > 0) cancel_timer(v);
30732                    v = timer(1.0, "timer0", 0);
30733                    set_int(sbvis_timer, v);
30734                }
30735            }
30736            program { name: "go1";
30737                signal: "elm,state,busy,start";
30738                source: "elm";
30739                action: STATE_SET "active" 0.0;
30740                transition: SINUSOIDAL 1.0;
30741                target:  "busy_clip";
30742            }
30743            program { name: "go2";
30744                signal: "elm,state,busy,start";
30745                source: "elm";
30746                action: STATE_SET "default" 0.0;
30747                transition: LINEAR 0.5;
30748                target: "busy";
30749                after:  "go2";
30750            }
30751            program { name: "stop1";
30752                signal: "elm,state,busy,stop";
30753                source: "elm";
30754                action: STATE_SET "default" 0.0;
30755                transition: SINUSOIDAL 1.0;
30756                target: "busy_clip";
30757                after: "stop2";
30758            }
30759          program { name: "stop2";
30760             action: ACTION_STOP;
30761             target: "go2";
30762          }
30763       }
30764    }
30765
30766    ///////////////////////////////////////////////////////////////////////////////
30767    group { name: "elm/map/base/default";
30768        script {
30769            public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
30770            public timer0(val) {
30771                new v;
30772                v = get_int(sbvis_v);
30773                if (v) {
30774                    v = get_int(sbalways_v);
30775                    if (!v) {
30776                        emit("do-hide-vbar", "");
30777                        set_int(sbvis_v, 0);
30778                    }
30779                }
30780                v = get_int(sbvis_h);
30781                if (v) {
30782                    v = get_int(sbalways_h);
30783                    if (!v) {
30784                        emit("do-hide-hbar", "");
30785                        set_int(sbvis_h, 0);
30786                    }
30787                }
30788                set_int(sbvis_timer, 0);
30789                return 0;
30790            }
30791        }
30792        images {
30793            image: "shelf_inset.png" COMP;
30794            image: "bt_sm_base2.png" COMP;
30795            image: "bt_sm_shine.png" COMP;
30796            image: "bt_sm_hilight.png" COMP;
30797            image: "busy-1.png" COMP;
30798            image: "busy-2.png" COMP;
30799            image: "busy-3.png" COMP;
30800            image: "busy-4.png" COMP;
30801            image: "busy-5.png" COMP;
30802            image: "busy-6.png" COMP;
30803            image: "busy-7.png" COMP;
30804            image: "busy-8.png" COMP;
30805            image: "busy-9.png" COMP;
30806        }
30807        parts {
30808            part { name: "bg";
30809                type: RECT;
30810                description { state: "default" 0.0;
30811                    rel1.offset: 1 1;
30812                    rel2.offset: -2 -2;
30813                    color: 255 255 255 0;
30814                }
30815            }
30816            part { name: "clipper";
30817                type: RECT;
30818                mouse_events: 0;
30819                description { state: "default" 0.0;
30820                    rel1.to: "bg";
30821                    rel2.to: "bg";
30822                }
30823            }
30824            part { name: "elm.swallow.content";
30825                clip_to: "clipper";
30826                type: SWALLOW;
30827                description { state: "default" 0.0;
30828                    rel1.offset: 1 1;
30829                    rel2.offset: -2 -2;
30830                }
30831            }
30832            part { name: "busy_clip";
30833                type: RECT;
30834                mouse_events: 0;
30835                description { state: "default" 0.0;
30836                    visible: 0;
30837                    color: 255 255 255 0;
30838                }
30839                description { state: "active" 0.0;
30840                    visible: 1;
30841                    color: 255 255 255 255;
30842                }
30843            }
30844            part { name: "busy";
30845                clip_to: "busy_clip";
30846                mouse_events: 0;
30847                description { state: "default" 0.0;
30848                    fixed: 1 1;
30849                    min: 32 32;
30850                    aspect: 1.0 1.0;
30851                    align: 1.0 1.0;
30852                    aspect_preference: BOTH;
30853                    rel1 {
30854                        relative: 0.9 0.9;
30855                        offset:   -9 -9;
30856                    }
30857                    rel2 {
30858                        relative: 0.9 0.9;
30859                        offset:   -9 -9;
30860                    }
30861                    image {
30862                        normal: "busy-9.png";
30863                        tween:  "busy-1.png";
30864                        tween:  "busy-2.png";
30865                        tween:  "busy-3.png";
30866                        tween:  "busy-4.png";
30867                        tween:  "busy-5.png";
30868                        tween:  "busy-6.png";
30869                        tween:  "busy-7.png";
30870                        tween:  "busy-8.png";
30871                    }
30872                }
30873            }
30874            part { name: "conf_over";
30875                mouse_events:  0;
30876                description { state: "default" 0.0;
30877                    rel1.offset: 0 0;
30878                    rel2.offset: -1 -1;
30879                    image {
30880                        normal: "shelf_inset.png";
30881                        border: 7 7 7 7;
30882                        middle: 0;
30883                    }
30884                    fill.smooth : 0;
30885                }
30886            }
30887            part { name: "sb_vbar_clip_master";
30888                type: RECT;
30889                mouse_events: 0;
30890                description { state: "default" 0.0;
30891                }
30892                description { state: "hidden" 0.0;
30893                    visible: 0;
30894                    color: 255 255 255 0;
30895                }
30896            }
30897            part { name: "sb_vbar_clip";
30898                clip_to: "sb_vbar_clip_master";
30899                type: RECT;
30900                mouse_events: 0;
30901                description { state: "default" 0.0;
30902                }
30903                description { state: "hidden" 0.0;
30904                    visible: 0;
30905                    color: 255 255 255 0;
30906                }
30907            }
30908            part { name: "sb_vbar";
30909                type: RECT;
30910                mouse_events: 0;
30911                description { state: "default" 0.0;
30912                    fixed: 1 1;
30913                    visible: 0;
30914                    min: 10 17;
30915                    align: 1.0 0.0;
30916                    rel1 {
30917                        relative: 1.0 0.0;
30918                        offset:   -2 0;
30919                    }
30920                    rel2 {
30921                        relative: 1.0 0.0;
30922                        offset:   -2 -1;
30923                        to_y:     "sb_hbar";
30924                    }
30925                }
30926            }
30927            part { name: "elm.dragable.vbar";
30928                clip_to: "sb_vbar_clip";
30929                mouse_events: 0;
30930                dragable {
30931                    x: 0 0 0;
30932                    y: 1 1 0;
30933                    confine: "sb_vbar";
30934                }
30935                description { state: "default" 0.0;
30936                    fixed: 1 1;
30937                    min: 10 17;
30938                    max: 10 99999;
30939                    rel1 {
30940                        relative: 0.5  0.5;
30941                        offset:   0    0;
30942                        to: "sb_vbar";
30943                    }
30944                    rel2 {
30945                        relative: 0.5  0.5;
30946                        offset:   0    0;
30947                        to: "sb_vbar";
30948                    }
30949                    image {
30950                        normal: "bt_sm_base2.png";
30951                        border: 6 6 6 6;
30952                        middle: SOLID;
30953                    }
30954                }
30955            }
30956            part { name: "sb_vbar_over1";
30957                clip_to: "sb_vbar_clip";
30958                mouse_events: 0;
30959                description { state: "default" 0.0;
30960                    rel1.to: "elm.dragable.vbar";
30961                    rel2.relative: 1.0 0.5;
30962                    rel2.to: "elm.dragable.vbar";
30963                    image {
30964                        normal: "bt_sm_hilight.png";
30965                        border: 6 6 6 0;
30966                    }
30967                }
30968            }
30969            part { name: "sb_vbar_over2";
30970                clip_to: "sb_vbar_clip";
30971                mouse_events: 0;
30972                description { state: "default" 0.0;
30973                    rel1.to: "elm.dragable.vbar";
30974                    rel2.to: "elm.dragable.vbar";
30975                    image {
30976                        normal: "bt_sm_shine.png";
30977                        border: 6 6 6 0;
30978                    }
30979                }
30980            }
30981
30982            part { name: "sb_hbar_clip_master";
30983                type: RECT;
30984                mouse_events: 0;
30985                description { state: "default" 0.0;
30986                }
30987                description { state: "hidden" 0.0;
30988                    visible: 0;
30989                    color: 255 255 255 0;
30990                }
30991            }
30992            part { name: "sb_hbar_clip";
30993                clip_to: "sb_hbar_clip_master";
30994                type: RECT;
30995                mouse_events: 0;
30996                description { state: "default" 0.0;
30997                }
30998                description { state: "hidden" 0.0;
30999                    visible: 0;
31000                    color: 255 255 255 0;
31001                }
31002            }
31003            part { name: "sb_hbar";
31004                type: RECT;
31005                mouse_events: 0;
31006                description { state: "default" 0.0;
31007                    fixed: 1 1;
31008                    visible: 0;
31009                    min: 17 10;
31010                    align: 0.0 1.0;
31011                    rel1 {
31012                        relative: 0.0 1.0;
31013                        offset:   0 -2;
31014                    }
31015                    rel2 {
31016                        relative: 0.0 1.0;
31017                        offset:   -1 -2;
31018                        to_x:     "sb_vbar";
31019                    }
31020                }
31021            }
31022            part { name: "elm.dragable.hbar";
31023                clip_to: "sb_hbar_clip";
31024                mouse_events: 0;
31025                dragable {
31026                    x: 1 1 0;
31027                    y: 0 0 0;
31028                    confine: "sb_hbar";
31029                }
31030                description { state: "default" 0.0;
31031                    fixed: 1 1;
31032                    min: 17 10;
31033                    max: 99999 10;
31034                    rel1 {
31035                        relative: 0.5  0.5;
31036                        offset:   0    0;
31037                        to: "sb_hbar";
31038                    }
31039                    rel2 {
31040                        relative: 0.5  0.5;
31041                        offset:   0    0;
31042                        to: "sb_hbar";
31043                    }
31044                    image {
31045                        normal: "bt_sm_base2.png";
31046                        border: 4 4 4 4;
31047                        middle: SOLID;
31048                    }
31049                }
31050            }
31051            part { name: "sb_hbar_over1";
31052                clip_to: "sb_hbar_clip";
31053                mouse_events: 0;
31054                description { state: "default" 0.0;
31055                    rel1.to: "elm.dragable.hbar";
31056                    rel2.relative: 1.0 0.5;
31057                    rel2.to: "elm.dragable.hbar";
31058                    image {
31059                        normal: "bt_sm_hilight.png";
31060                        border: 4 4 4 0;
31061                    }
31062                }
31063            }
31064            part { name: "sb_hbar_over2";
31065                clip_to: "sb_hbar_clip";
31066                mouse_events: 0;
31067                description { state: "default" 0.0;
31068                    rel1.to: "elm.dragable.hbar";
31069                    rel2.to: "elm.dragable.hbar";
31070                    image {
31071                        normal: "bt_sm_shine.png";
31072                        border: 4 4 4 0;
31073                    }
31074                }
31075            }
31076        }
31077        programs {
31078            program { name: "load";
31079                signal: "load";
31080                source: "";
31081                script {
31082                    set_state(PART:"sb_hbar_clip", "hidden", 0.0);
31083                    set_state(PART:"sb_vbar_clip", "hidden", 0.0);
31084                    set_int(sbvis_h, 0);
31085                    set_int(sbvis_v, 0);
31086                    set_int(sbalways_v, 0);
31087                    set_int(sbalways_h, 0);
31088                    set_int(sbvis_timer, 0);
31089                }
31090            }
31091
31092            program { name: "vbar_show";
31093                signal: "elm,action,show,vbar";
31094                source: "elm";
31095                action:  STATE_SET "default" 0.0;
31096                target: "sb_vbar_clip_master";
31097            }
31098            program { name: "vbar_hide";
31099                signal: "elm,action,hide,vbar";
31100                source: "elm";
31101                action:  STATE_SET "hidden" 0.0;
31102                target: "sb_vbar_clip_master";
31103            }
31104            program { name: "vbar_show_always";
31105                signal: "elm,action,show_always,vbar";
31106                source: "elm";
31107                script {
31108                    new v;
31109                    v = get_int(sbvis_v);
31110                    v |= get_int(sbalways_v);
31111                    if (!v) {
31112                        set_int(sbalways_v, 1);
31113                        emit("do-show-vbar", "");
31114                        set_int(sbvis_v, 1);
31115                    }
31116                }
31117            }
31118            program { name: "vbar_show_notalways";
31119                signal: "elm,action,show_notalways,vbar";
31120                source: "elm";
31121                script {
31122                    new v;
31123                    v = get_int(sbalways_v);
31124                    if (v) {
31125                        set_int(sbalways_v, 0);
31126                        v = get_int(sbvis_v);
31127                        if (!v) {
31128                            emit("do-hide-vbar", "");
31129                            set_int(sbvis_v, 0);
31130                        }
31131                    }
31132                }
31133            }
31134            program { name: "sb_vbar_show";
31135                signal: "do-show-vbar";
31136                source: "";
31137                action:  STATE_SET "default" 0.0;
31138                transition: LINEAR 0.5;
31139                target: "sb_vbar_clip";
31140            }
31141            program { name: "sb_vbar_hide";
31142                signal: "do-hide-vbar";
31143                source: "";
31144                action:  STATE_SET "hidden" 0.0;
31145                transition: LINEAR 0.5;
31146                target: "sb_vbar_clip";
31147            }
31148
31149            program { name: "hbar_show";
31150                signal: "elm,action,show,hbar";
31151                source: "elm";
31152                action:  STATE_SET "default" 0.0;
31153                target: "sb_hbar_clip_master";
31154            }
31155            program { name: "hbar_hide";
31156                signal: "elm,action,hide,hbar";
31157                source: "elm";
31158                action:  STATE_SET "hidden" 0.0;
31159                target: "sb_hbar_clip_master";
31160            }
31161            program { name: "hbar_show_always";
31162                signal: "elm,action,show_always,hbar";
31163                source: "elm";
31164                script {
31165                    new v;
31166                    v = get_int(sbvis_h);
31167                    v |= get_int(sbalways_h);
31168                    if (!v) {
31169                        set_int(sbalways_h, 1);
31170                        emit("do-show-hbar", "");
31171                        set_int(sbvis_h, 1);
31172                    }
31173                }
31174            }
31175            program { name: "hbar_show_notalways";
31176                signal: "elm,action,show_notalways,hbar";
31177                source: "elm";
31178                script {
31179                    new v;
31180                    v = get_int(sbalways_h);
31181                    if (v) {
31182                        set_int(sbalways_h, 0);
31183                        v = get_int(sbvis_h);
31184                        if (!v) {
31185                            emit("do-hide-hbar", "");
31186                            set_int(sbvis_h, 0);
31187                        }
31188                    }
31189                }
31190            }
31191            program { name: "sb_hbar_show";
31192                signal: "do-show-hbar";
31193                source: "";
31194                action:  STATE_SET "default" 0.0;
31195                transition: LINEAR 0.5;
31196                target: "sb_hbar_clip";
31197            }
31198            program { name: "sb_hbar_hide";
31199                signal: "do-hide-hbar";
31200                source: "";
31201                action:  STATE_SET "hidden" 0.0;
31202                transition: LINEAR 0.5;
31203                target: "sb_hbar_clip";
31204            }
31205
31206            program { name: "scroll";
31207                signal: "elm,action,scroll";
31208                source: "elm";
31209                script {
31210                    new v;
31211                    v = get_int(sbvis_v);
31212                    v |= get_int(sbalways_v);
31213                    if (!v) {
31214                        emit("do-show-vbar", "");
31215                        set_int(sbvis_v, 1);
31216                    }
31217                    v = get_int(sbvis_h);
31218                    v |= get_int(sbalways_h);
31219                    if (!v) {
31220                        emit("do-show-hbar", "");
31221                        set_int(sbvis_h, 1);
31222                    }
31223                    v = get_int(sbvis_timer);
31224                    if (v > 0) cancel_timer(v);
31225                    v = timer(1.0, "timer0", 0);
31226                    set_int(sbvis_timer, v);
31227                }
31228            }
31229            program { name: "go1";
31230                signal: "elm,state,busy,start";
31231                source: "elm";
31232                action: STATE_SET "active" 0.0;
31233                transition: SINUSOIDAL 1.0;
31234                target:  "busy_clip";
31235            }
31236            program { name: "go2";
31237                signal: "elm,state,busy,start";
31238                source: "elm";
31239                action: STATE_SET "default" 0.0;
31240                transition: LINEAR 0.5;
31241                target: "busy";
31242                after:  "go2";
31243            }
31244            program { name: "stop1";
31245                signal: "elm,state,busy,stop";
31246                source: "elm";
31247                action: STATE_SET "default" 0.0;
31248                transition: SINUSOIDAL 1.0;
31249                target: "busy_clip";
31250                after: "stop2";
31251            }
31252          program { name: "stop2";
31253             action: ACTION_STOP;
31254             target: "go2";
31255          }
31256       }
31257    }
31258    group { name: "elm/map/marker/radio/default";
31259         data {
31260             item: size_w 24;
31261             item: size_h 24;
31262             item: size_max_w 58;
31263             item: size_max_h 58;
31264         }
31265         images {
31266                 image: "map_item.png" COMP;
31267         }
31268         parts {
31269             part { name: "whole";
31270                 description { state: "default" 0.0;
31271                 }
31272             }
31273             part { name: "base";
31274                 ignore_flags: ON_HOLD;
31275                 description { state: "default" 0.0;
31276                     image.normal: "map_item.png";
31277                 }
31278             }
31279             part { name: "elm.icon";
31280                 type: SWALLOW;
31281                 clip_to: "whole";
31282                 mouse_events:  0;
31283                 description { state: "default" 0.0;
31284                     rel1.relative: 0.27 0.27;
31285                     rel2.relative: 0.73 0.73;
31286                 }
31287             }
31288             part { name: "elm.text";
31289                 type:          TEXT;
31290                 effect:        SOFT_SHADOW;
31291                 mouse_events:  0;
31292                 scale: 1;
31293                 description { state: "default" 0.0;
31294                     align:    0.5 0.5;
31295                     color: 224 224 224 255;
31296                     color3: 0 0 0 64;
31297                     rel1.relative: 0.28 0.25;
31298                     rel2.relative: 0.75 0.75;
31299                     text {
31300                         font:     "Sans,Edje-Vera";
31301                         size:     10;
31302                         min:      0 0;
31303                         align:    0.5 0.5;
31304                     }
31305                 }
31306             }
31307        }
31308        programs {
31309             program { name: "open";
31310                 signal: "mouse,clicked,1";
31311                 source: "base";
31312                 action: SIGNAL_EMIT "open" "elm";
31313             }
31314             program { name: "bringin";
31315                 signal: "mouse,down,1,double";
31316                 source: "base";
31317                 action: SIGNAL_EMIT "bringin" "elm";
31318             }
31319        }
31320    }
31321    group { name: "elm/map/marker/radio2/default";
31322         data {
31323             item: size_w 24;
31324             item: size_h 24;
31325             item: size_max_w 58;
31326             item: size_max_h 58;
31327         }
31328         images {
31329                 image: "map_item_2.png" COMP;
31330         }
31331         parts {
31332             part { name: "base";
31333                 ignore_flags: ON_HOLD;
31334                 description { state: "default" 0.0;
31335                     image.normal: "map_item_2.png";
31336                 }
31337             }
31338             part { name: "elm.text";
31339                 type:          TEXT;
31340                 effect:        SOFT_SHADOW;
31341                 mouse_events:  0;
31342                 scale: 1;
31343                 description { state: "default" 0.0;
31344                     align:    0.5 0.5;
31345                     color: 224 224 224 255;
31346                     color3: 0 0 0 64;
31347                     rel1.relative: 0.28 0.25;
31348                     rel2.relative: 0.75 0.75;
31349                     text {
31350                         font:     "Sans,Edje-Vera";
31351                         size:     10;
31352                         min:      0 0;
31353                         align:    0.5 0.5;
31354                     }
31355                 }
31356             }
31357        }
31358        programs {
31359             program { name: "open";
31360                 signal: "mouse,clicked,1";
31361                 source: "base";
31362                 action: SIGNAL_EMIT "open" "elm";
31363             }
31364             program { name: "bringin";
31365                 signal: "mouse,down,1,double";
31366                 source: "base";
31367                 action: SIGNAL_EMIT "bringin" "elm";
31368             }
31369        }
31370    }
31371    group { name: "elm/map/marker/empty/default";
31372         data {
31373             item: size_w 22;
31374             item: size_h 22;
31375             item: size_max_w 64;
31376             item: size_max_h 64;
31377         }
31378         parts {
31379             part { name: "whole";
31380                 description { state: "default" 0.0;
31381                 }
31382             }
31383             part { name: "base";
31384                 ignore_flags: ON_HOLD;
31385                 description { state: "default" 0.0;
31386                 }
31387             }
31388             part { name: "elm.icon";
31389                 type: SWALLOW;
31390                 clip_to: "whole";
31391                 mouse_events:  0;
31392                 description { state: "default" 0.0;
31393                 }
31394             }
31395             part { name: "elm.text";
31396                 type:          TEXT;
31397                 effect:        SOFT_SHADOW;
31398                 mouse_events:  0;
31399                 scale: 1;
31400                 description { state: "default" 0.0;
31401                     align:    0.5 0.5;
31402                     color: 224 224 224 255;
31403                     color3: 0 0 0 64;
31404                     rel1.relative: 0.28 0.25;
31405                     rel2.relative: 0.75 0.75;
31406                     text {
31407                         font:     "Sans,Edje-Vera";
31408                         size:     10;
31409                         min:      0 0;
31410                         align:    0.5 0.5;
31411                     }
31412                 }
31413             }
31414        }
31415        programs {
31416             program { name: "open";
31417                 signal: "mouse,clicked,1";
31418                 source: "base";
31419                 action: SIGNAL_EMIT "open" "elm";
31420             }
31421             program { name: "bringin";
31422                 signal: "mouse,down,1,double";
31423                 source: "base";
31424                 action: SIGNAL_EMIT "bringin" "elm";
31425             }
31426        }
31427    }
31428    group { name: "elm/map/marker_bubble/default";
31429     images {
31430       image: "bubble.png" COMP;
31431       image: "bubble_shine.png" COMP;
31432     }
31433     data {
31434             item: size_w 400;
31435             item: size_h 100;
31436         }
31437     parts {
31438     part { name: "clipper";
31439         mouse_events:  1;
31440         description { state: "default" 0.0;
31441           color: 255 255 255 0;
31442         }
31443         description { state: "show" 0.0;
31444             inherit: "default" 0.0;
31445             color: 255 255 255 255;
31446         }
31447       }
31448      part { name: "base0";
31449         mouse_events:  0;
31450         clip_to: "clipper";
31451         description { state: "default" 0.0;
31452           image {
31453             normal: "bubble.png";
31454             border: 11 36 10 19;
31455           }
31456           image.middle: SOLID;
31457           fill.smooth: 0;
31458         }
31459         description { state: "rtl" 0.0;
31460            inherit: "default" 0.0;
31461            image {
31462               normal: "bubble_4.png";
31463               border: 11 36 18 9;
31464            }
31465         }
31466       }
31467       part { name: "elm.swallow.content";
31468         type: SWALLOW;
31469         clip_to: "clipper";
31470         description { state: "default" 0.0;
31471             align: 0.5 0.5;
31472           rel1 {
31473             offset: 9 8;
31474           }
31475           rel2 {
31476             offset: -10 -17;
31477           }
31478         }
31479       }
31480       part { name: "shine";
31481         mouse_events:  0;
31482         clip_to: "clipper";
31483         description { state:    "default" 0.0;
31484           rel1 {
31485             to: "base0";
31486           }
31487           rel2 {
31488             to: "base0";
31489             relative: 1.0 0.5;
31490           }
31491           image {
31492             normal: "bubble_shine.png";
31493             border: 5 5 5 0;
31494           }
31495           fill.smooth: 0;
31496         }
31497         }
31498     }
31499     programs {
31500         program { name: "show";
31501             signal: "show";
31502             action: STATE_SET "show" 0.0;
31503             target: "clipper";
31504             transition: ACCELERATE 0.5;
31505         }
31506     }
31507   }
31508
31509 /////////////////////////////////////////////////////////////////////////////
31510 // PANES
31511 /////////////////////////////////////////////////////////////////////////////
31512   group {
31513      name: "elm/panes/vertical/default";
31514       images {
31515          image: "bt_base1.png" COMP;
31516          image: "bt_base2.png" COMP;
31517          image: "bt_hilight.png" COMP;
31518          image: "bt_shine.png" COMP;
31519          image: "bt_glow.png" COMP;
31520          image: "bt_dis_base.png" COMP;
31521          image: "bt_dis_hilight.png" COMP;
31522          image: "arrow_right.png" COMP;
31523          image: "arrow_left.png" COMP;
31524       }
31525      parts
31526        {
31527           part
31528             {
31529                name: "whole";
31530                type: RECT;
31531                mouse_events: 0;
31532                description
31533                  {
31534                     state: "default" 0.0;
31535                     visible: 0;
31536                  }
31537             }
31538
31539          //2 contents
31540           part
31541             {
31542                name: "whole_left";
31543                type: RECT;
31544                mouse_events: 0;
31545                description
31546                  {
31547                     state: "default" 0.0;
31548                     rel2.to_x: "elm.bar";
31549                     rel2.relative: 0.0 1.0;
31550                     visible: 1;
31551                  }
31552             }
31553           part
31554             {
31555                name: "elm.swallow.left";
31556                type: SWALLOW;
31557                clip_to: "whole_left";
31558                description
31559                  {
31560                     state: "default" 0.0;
31561                     rel1.to: "whole_left";
31562                     rel2.to: "whole_left";
31563                  }
31564             }
31565
31566             part
31567             {
31568                name: "whole_right";
31569                type: RECT;
31570                mouse_events: 0;
31571                description
31572                  {
31573                     state: "default" 0.0;
31574                     rel1.to_x: "elm.bar";
31575                     rel1.relative: 1.0 0.0;
31576                     visible: 1;
31577                  }
31578             }
31579           part
31580             {
31581                name: "elm.swallow.right";
31582                type: SWALLOW;
31583                clip_to: "whole_right";
31584                description
31585                  {
31586                     state: "default" 0.0;
31587                     rel1.to: "whole_right";
31588                     rel2.to: "whole_right";
31589                  }
31590             }
31591          //BAR
31592          part { name: "elm.bar";
31593             mouse_events: 1;
31594             dragable {
31595                confine: "whole";
31596                x: 1 1 1;
31597                y: 0 0 0;
31598             }
31599             description { state: "default" 0.0;
31600                max: 15 9999;
31601                min: 15 100;
31602                rel1.relative: 0.0 0.5;
31603                rel2.relative: 1.0 0.5;
31604                image {
31605                   normal: "bt_base2.png";
31606                   border: 7 7 7 7;
31607                }
31608                image.middle: SOLID;
31609             }
31610             description { state: "clicked" 0.0;
31611                inherit: "default" 0.0;
31612                image.normal: "bt_base1.png";
31613                image.middle: SOLID;
31614             }
31615             description { state: "disabled" 0.0;
31616                inherit:  "default" 0.0;
31617                image {
31618                   normal: "bt_dis_base.png";
31619                   border: 4 4 4 4;
31620                }
31621             }
31622          }
31623          part {          name: "over1";
31624             mouse_events: 0;
31625             description { state: "default" 0.0;
31626             rel1.to: "elm.bar";
31627             rel2.to: "elm.bar";
31628                rel2.relative: 1.0 0.5;
31629                image {
31630                   normal: "bt_hilight.png";
31631                   border: 7 7 7 0;
31632                }
31633             }
31634             description { state: "disabled" 0.0;
31635                inherit:  "default" 0.0;
31636                image {
31637                   normal: "bt_dis_hilight.png";
31638                   border: 4 4 4 0;
31639                }
31640             }
31641          }
31642          part { name: "over2";
31643             mouse_events: 1;
31644             repeat_events: 1;
31645             ignore_flags: ON_HOLD;
31646             description { state: "default" 0.0;
31647             rel1.to: "elm.bar";
31648             rel2.to: "elm.bar";
31649                image {
31650                   normal: "bt_shine.png";
31651                   border: 7 7 7 7;
31652                }
31653             }
31654             description { state: "disabled" 0.0;
31655                inherit:  "default" 0.0;
31656                visible: 0;
31657             }
31658          }
31659          part { name: "over3";
31660             mouse_events: 1;
31661             repeat_events: 1;
31662             description { state: "default" 0.0;
31663                color: 255 255 255 0;
31664             rel1.to: "elm.bar";
31665             rel2.to: "elm.bar";
31666                image {
31667                   normal: "bt_glow.png";
31668                   border: 12 12 12 12;
31669                }
31670                fill.smooth : 0;
31671             }
31672             description { state: "clicked" 0.0;
31673                inherit:  "default" 0.0;
31674                visible: 1;
31675                color: 255 255 255 255;
31676             }
31677          }
31678
31679          //Arrow
31680          part {
31681             name: "arrow_right";
31682             repeat_events: 1;
31683             description { state: "default" 0.0;
31684                 min: 45 45;
31685                 max: 45 45;
31686                 color: 255 255 255 0;
31687
31688                 rel1.relative: 1.0 0.5;
31689                 rel1.to_x: "elm.bar";
31690                 rel1.offset: 45/2 -45/2;
31691
31692                 rel2.relative: 1.0 0.5;
31693                 rel2.to_x: "elm.bar";
31694                 rel2.offset: 45/2 45/2;
31695
31696                 image.normal: "arrow_right.png";
31697
31698                 fixed: 1 1;
31699             }
31700             description { state: "default" 0.1;
31701                 inherit: "default" 0.0;
31702                 image.normal: "arrow_left.png";
31703             }
31704             description { state: "anim_1" 0.0;
31705                 inherit: "default" 0.0;
31706                 color: 255 255 255 200;
31707                 rel1.offset: (45/2 + 10) -45/2;
31708                 rel2.offset: (45/2 +10) 45/2;
31709             }
31710             description { state: "anim_1" 0.1;
31711                 inherit: "default" 0.0;
31712                 image.normal: "arrow_left.png";
31713                 color: 255 255 255 200;
31714                 rel1.offset: (45/2 + 10) -45/2;
31715                 rel2.offset: (45/2 +10) 45/2;
31716             }
31717             description { state: "anim_2" 0.0;
31718                 inherit: "default" 0.0;
31719                 color: 255 255 255 0;
31720                 rel1.offset: (45/2 + 20) -45/2;
31721                 rel2.offset: (45/2 + 20) 45/2;
31722             }
31723             description { state: "anim_2" 0.1;
31724                 inherit: "default" 0.0;
31725                 image.normal: "arrow_left.png";
31726                 color: 255 255 255 0;
31727                 rel1.offset: (45/2 + 20) -45/2;
31728                 rel2.offset: (45/2 + 20) 45/2;
31729             }
31730          }
31731         part {
31732             name: "arrow_left";
31733             repeat_events: 1;
31734             description { state: "default" 0.0;
31735                 min: 45 45;
31736                 max: 45 45;
31737                 color: 255 255 255 0;
31738
31739                 rel1.relative: 0.0 0.5;
31740                 rel1.to_x: "elm.bar";
31741                 rel1.offset: -45/2 -45/2;
31742
31743                 rel2.relative: 0.0 0.5;
31744                 rel2.to_x: "elm.bar";
31745                 rel2.offset: -45/2 45/2;
31746
31747                 image.normal: "arrow_left.png";
31748
31749                 fixed: 1 1;
31750             }
31751             description { state: "default" 0.1;
31752                 inherit: "default" 0.0;
31753                 image.normal: "arrow_right.png";
31754             }
31755             description { state: "anim_1" 0.0;
31756                 inherit: "default" 0.0;
31757                 color: 255 255 255 200;
31758                 rel1.offset: (-45/2 - 10) -45/2;
31759                 rel2.offset: (-45/2 - 10) 45/2;
31760             }
31761             description { state: "anim_1" 0.1;
31762                 inherit: "default" 0.0;
31763                 image.normal: "arrow_right.png";
31764                 color: 255 255 255 200;
31765                 rel1.offset: (-45/2 - 10) -45/2;
31766                 rel2.offset: (-45/2 - 10) 45/2;
31767             }
31768             description { state: "anim_2" 0.0;
31769                 inherit: "default" 0.0;
31770                 color: 255 255 255 0;
31771                 rel1.offset: (-45/2 - 20) -45/2;
31772                 rel2.offset: (-45/2 - 20) 45/2;
31773             }
31774             description { state: "anim_2" 0.1;
31775                 inherit: "default" 0.0;
31776                 image.normal: "arrow_right.png";
31777                 color: 255 255 255 0;
31778                 rel1.offset: (-45/2 - 20) -45/2;
31779                 rel2.offset: (-45/2 - 20) 45/2;
31780             }
31781          }
31782
31783        }
31784         programs {
31785          program {
31786             name:   "button_click";
31787             signal: "mouse,down,1";
31788             source: "over2";
31789             action: SIGNAL_EMIT "elm,action,press" "";
31790             after: "button_click_anim";
31791             after: "arrow_anim_start";
31792          }
31793          program {
31794             name:   "button_click_anim";
31795             action: STATE_SET "clicked" 0.0;
31796             target: "elm.bar";
31797          }
31798          program {
31799             name:   "button_unclick";
31800             signal: "mouse,up,1";
31801             source: "over2";
31802             action: SIGNAL_EMIT "elm,action,unpress" "";
31803             after: "button_unclick_anim";
31804             after: "arrow_anim_stop";
31805          }
31806          program {
31807             name:   "button_unclick_anim";
31808             action: STATE_SET "default" 0.0;
31809             target: "elm.bar";
31810          }
31811          program {
31812             name:   "button_click2";
31813             signal: "mouse,down,1";
31814             source: "over3";
31815             action: STATE_SET "clicked" 0.0;
31816             target: "over3";
31817          }
31818          program {
31819             name:   "button_unclick2";
31820             signal: "mouse,up,1";
31821             source: "over3";
31822             action: STATE_SET "default" 0.0;
31823             transition: DECELERATE 0.5;
31824             target: "over3";
31825          }
31826          program {
31827             name:   "button_unclick3";
31828             signal: "mouse,up,1";
31829             source: "over2";
31830             action: SIGNAL_EMIT "elm,action,click" "";
31831          }
31832          program {
31833             name:   "button_down_double";
31834             signal: "mouse,down,1,double";
31835             source: "over3";
31836             action: SIGNAL_EMIT "elm,action,click,double" "";
31837          }
31838
31839          //arrows animation
31840          program {
31841             name: "arrow_anim_start";
31842             script {
31843                new st[31];
31844                new Float:vl;
31845                get_state(PART:"arrow_left", st, 30, vl);
31846                if (vl == 0.0) {
31847                   run_program(PROGRAM:"arrow_anim_start_ltr");
31848                }
31849                else {
31850                   run_program(PROGRAM:"arrow_anim_start_rtl");
31851                }
31852             }
31853          }
31854          program {
31855             name: "arrow_anim_stop";
31856             script {
31857                new st[31];
31858                new Float:vl;
31859                get_state(PART:"arrow_left", st, 30, vl);
31860                if (vl == 0.0) {
31861                   run_program(PROGRAM:"arrow_anim_stop_ltr");
31862                }
31863                else {
31864                   run_program(PROGRAM:"arrow_anim_stop_rtl");
31865                }
31866             }
31867          }
31868
31869          program {
31870             name: "arrow_anim_start_ltr";
31871             action: STATE_SET "anim_1" 0.0;
31872             target: "arrow_right";
31873             target: "arrow_left";
31874             transition: LINEAR 0.6;
31875             after: "arrow_anim_1_ltr";
31876          }
31877          program {
31878             name: "arrow_anim_1_ltr";
31879             action: STATE_SET "anim_2" 0.0;
31880             target: "arrow_right";
31881             target: "arrow_left";
31882             transition: LINEAR 0.6;
31883             after: "arrow_anim_2_ltr";
31884          }
31885          program {
31886             name: "arrow_anim_2_ltr";
31887             action: STATE_SET "default" 0.0;
31888             target: "arrow_right";
31889             target: "arrow_left";
31890             after: "arrow_anim_start_ltr";
31891          }
31892          program {
31893             name: "arrow_anim_stop_ltr";
31894             action: ACTION_STOP;
31895             target: "arrow_anim_start_ltr";
31896             target: "arrow_anim_1_ltr";
31897             target: "arrow_anim_2_ltr";
31898             after: "arrow_anim_stop_1_ltr";
31899          }
31900          program {
31901             name: "arrow_anim_stop_1_ltr";
31902             action: STATE_SET "default" 0.0;
31903             target: "arrow_right";
31904             target: "arrow_left";
31905             transition: DECELERATE 0.4;
31906         }
31907          program {
31908             name: "arrow_anim_start_rtl";
31909             action: STATE_SET "anim_1" 0.1;
31910             target: "arrow_right";
31911             target: "arrow_left";
31912             transition: LINEAR 0.6;
31913             after: "arrow_anim_1_rtl";
31914          }
31915          program {
31916             name: "arrow_anim_1_rtl";
31917             action: STATE_SET "anim_2" 0.1;
31918             target: "arrow_right";
31919             target: "arrow_left";
31920             transition: LINEAR 0.6;
31921             after: "arrow_anim_2_rtl";
31922          }
31923          program {
31924             name: "arrow_anim_2_rtl";
31925             action: STATE_SET "default" 0.1;
31926             target: "arrow_right";
31927             target: "arrow_left";
31928             after: "arrow_anim_start_rtl";
31929          }
31930          program {
31931             name: "arrow_anim_stop_rtl";
31932             action: ACTION_STOP;
31933             target: "arrow_anim_start_rtl";
31934             target: "arrow_anim_1_rtl";
31935             target: "arrow_anim_2_rtl";
31936             after: "arrow_anim_stop_1_rtl";
31937          }
31938          program {
31939             name: "arrow_anim_stop_1_rtl";
31940             action: STATE_SET "default" 0.1;
31941             target: "arrow_right";
31942             target: "arrow_left";
31943             transition: DECELERATE 0.4;
31944         }
31945          program { name: "to_rtl";
31946             signal: "edje,state,rtl";
31947             source: "edje";
31948             script {
31949                new st[31];
31950                new Float:vl;
31951                get_state(PART:"arrow_left", st, 30, vl);
31952                if (vl == 0.0) {
31953                   set_state(PART:"arrow_left", st, 0.1);
31954                }
31955                get_state(PART:"arrow_right", st, 30, vl);
31956                if (vl == 0.0) {
31957                   set_state(PART:"arrow_right", st, 0.1);
31958                }
31959             }
31960          }
31961          program { name: "to_ltr";
31962             signal: "edje,state,ltr";
31963             source: "edje";
31964             script {
31965                new st[31];
31966                new Float:vl;
31967                get_state(PART:"arrow_left", st, 30, vl);
31968                if (vl == 0.1) {
31969                   set_state(PART:"arrow_left", st, 0.0);
31970                }
31971                get_state(PART:"arrow_right", st, 30, vl);
31972                if (vl == 0.1) {
31973                   set_state(PART:"arrow_right", st, 0.0);
31974                }
31975             }
31976          }
31977       }
31978   }
31979
31980   group {
31981      name: "elm/panes/horizontal/default";
31982       images {
31983          image: "bt_base1.png" COMP;
31984          image: "bt_base2.png" COMP;
31985          image: "bt_hilight.png" COMP;
31986          image: "bt_shine.png" COMP;
31987          image: "bt_glow.png" COMP;
31988          image: "bt_dis_base.png" COMP;
31989          image: "bt_dis_hilight.png" COMP;
31990          image: "arrow_up.png" COMP;
31991          image: "arrow_down.png" COMP;
31992       }
31993      parts
31994        {
31995           part
31996             {
31997                name: "whole";
31998                type: RECT;
31999                mouse_events: 0;
32000                description
32001                  {
32002                     state: "default" 0.0;
32003                     visible: 0;
32004                  }
32005             }
32006
32007          //2 contents
32008           part
32009             {
32010                name: "whole_left";
32011                type: RECT;
32012                mouse_events: 0;
32013                description
32014                  {
32015                     state: "default" 0.0;
32016                     rel2.to_y: "elm.bar";
32017                     rel2.relative: 1.0 0.0;
32018                     visible: 1;
32019                  }
32020             }
32021           part
32022             {
32023                name: "elm.swallow.left";
32024                type: SWALLOW;
32025                clip_to: "whole_left";
32026                description
32027                  {
32028                     state: "default" 0.0;
32029                     rel1.to: "whole_left";
32030                     rel2.to: "whole_left";
32031                  }
32032             }
32033
32034             part
32035             {
32036                name: "whole_right";
32037                type: RECT;
32038                mouse_events: 0;
32039                description
32040                  {
32041                     state: "default" 0.0;
32042                     rel1.to_y: "elm.bar";
32043                     rel1.relative: 0.0 1.0;
32044                     visible: 1;
32045                  }
32046             }
32047           part
32048             {
32049                name: "elm.swallow.right";
32050                type: SWALLOW;
32051                clip_to: "whole_right";
32052                description
32053                  {
32054                     state: "default" 0.0;
32055                     rel1.to: "whole_right";
32056                     rel2.to: "whole_right";
32057                  }
32058             }
32059          //BAR
32060          part { name: "elm.bar";
32061             mouse_events: 1;
32062             dragable {
32063                confine: "whole";
32064                x: 0 0 0;
32065                y: 1 1 1;
32066             }
32067             description { state: "default" 0.0;
32068                max: 999 15;
32069                min: 100 15;
32070                rel1.relative: 0.5 0.0;
32071                rel2.relative: 0.5 1.0;
32072                image {
32073                   normal: "bt_base2.png";
32074                   border: 7 7 7 7;
32075                }
32076                image.middle: SOLID;
32077             }
32078             description { state: "clicked" 0.0;
32079                inherit: "default" 0.0;
32080                image.normal: "bt_base1.png";
32081                image.middle: SOLID;
32082             }
32083             description { state: "disabled" 0.0;
32084                inherit:  "default" 0.0;
32085                image {
32086                   normal: "bt_dis_base.png";
32087                   border: 4 4 4 4;
32088                }
32089             }
32090          }
32091          part {          name: "over1";
32092             mouse_events: 0;
32093             description { state: "default" 0.0;
32094             rel1.to: "elm.bar";
32095             rel2.to: "elm.bar";
32096                rel2.relative: 1.0 0.5;
32097                image {
32098                   normal: "bt_hilight.png";
32099                   border: 7 7 7 0;
32100                }
32101             }
32102             description { state: "disabled" 0.0;
32103                inherit:  "default" 0.0;
32104                image {
32105                   normal: "bt_dis_hilight.png";
32106                   border: 4 4 4 0;
32107                }
32108             }
32109          }
32110          part { name: "over2";
32111             mouse_events: 1;
32112             repeat_events: 1;
32113             ignore_flags: ON_HOLD;
32114             description { state: "default" 0.0;
32115             rel1.to: "elm.bar";
32116             rel2.to: "elm.bar";
32117                image {
32118                   normal: "bt_shine.png";
32119                   border: 7 7 7 7;
32120                }
32121             }
32122             description { state: "disabled" 0.0;
32123                inherit:  "default" 0.0;
32124                visible: 0;
32125             }
32126          }
32127          part { name: "over3";
32128             mouse_events: 1;
32129             repeat_events: 1;
32130             description { state: "default" 0.0;
32131                color: 255 255 255 0;
32132             rel1.to: "elm.bar";
32133             rel2.to: "elm.bar";
32134                image {
32135                   normal: "bt_glow.png";
32136                   border: 12 12 12 12;
32137                }
32138                fill.smooth : 0;
32139             }
32140             description { state: "clicked" 0.0;
32141                inherit:  "default" 0.0;
32142                visible: 1;
32143                color: 255 255 255 255;
32144             }
32145          }
32146
32147          //Arrow
32148          part {
32149             name: "arrow_right";
32150             repeat_events: 1;
32151             description { state: "default" 0.0;
32152                 min: 45 45;
32153                 max: 45 45;
32154                 color: 255 255 255 0;
32155
32156                 rel1.relative: 0.5 1.0;
32157                 rel1.to_y: "elm.bar";
32158                 rel1.offset: -45/2 45/2;
32159
32160                 rel2.relative: 0.5 1.0;
32161                 rel2.to_y: "elm.bar";
32162                 rel2.offset: 45/2 45/2;
32163
32164                 image.normal: "arrow_down.png";
32165
32166                 fixed: 1 1;
32167             }
32168             description { state: "anim_1" 0.0;
32169                 inherit: "default" 0.0;
32170                 color: 255 255 255 200;
32171                 rel1.offset: -45/2 (45/2 +10);
32172                 rel2.offset: 45/2 (45/2 +10);
32173             }
32174             description { state: "anim_2" 0.0;
32175                 inherit: "default" 0.0;
32176                 color: 255 255 255 0;
32177                 rel1.offset: -45/2 (45/2 + 20);
32178                 rel2.offset: 45/2 (45/2 + 20);
32179             }
32180          }
32181         part {
32182             name: "arrow_left";
32183             repeat_events: 1;
32184             description { state: "default" 0.0;
32185                 min: 45 45;
32186                 max: 45 45;
32187                 color: 255 255 255 0;
32188
32189                 rel1.relative: 0.5 0.0;
32190                 rel1.to_y: "elm.bar";
32191                 rel1.offset: -45/2 -45/2;
32192
32193                 rel2.relative: 0.5 0.0;
32194                 rel2.to_y: "elm.bar";
32195                 rel2.offset: 45/2 -45/2;
32196
32197                 image.normal: "arrow_up.png";
32198
32199                 fixed: 1 1;
32200             }
32201             description { state: "anim_1" 0.0;
32202                 inherit: "default" 0.0;
32203                 color: 255 255 255 200;
32204                 rel1.offset: -45/2 (-45/2 - 10);
32205                 rel2.offset: 45/2 (-45/2 - 10);
32206             }
32207             description { state: "anim_2" 0.0;
32208                 inherit: "default" 0.0;
32209                 color: 255 255 255 0;
32210                 rel1.offset: -45/2 (-45/2 - 20);
32211                 rel2.offset: 45/2 (-45/2 - 20);
32212             }
32213          }
32214
32215        }
32216         programs {
32217          program {
32218             name:   "button_click";
32219             signal: "mouse,down,1";
32220             source: "over2";
32221             action: SIGNAL_EMIT "elm,action,press" "";
32222             after: "button_click_anim";
32223             after: "arrow_anim_start";
32224          }
32225          program {
32226             name:   "button_click_anim";
32227             action: STATE_SET "clicked" 0.0;
32228             target: "elm.bar";
32229          }
32230          program {
32231             name:   "button_unclick";
32232             signal: "mouse,up,1";
32233             source: "over2";
32234             action: SIGNAL_EMIT "elm,action,unpress" "";
32235             after: "button_unclick_anim";
32236             after: "arrow_anim_stop";
32237          }
32238          program {
32239             name:   "button_unclick_anim";
32240             action: STATE_SET "default" 0.0;
32241             target: "elm.bar";
32242          }
32243          program {
32244             name:   "button_click2";
32245             signal: "mouse,down,1";
32246             source: "over3";
32247             action: STATE_SET "clicked" 0.0;
32248             target: "over3";
32249          }
32250          program {
32251             name:   "button_unclick2";
32252             signal: "mouse,up,1";
32253             source: "over3";
32254             action: STATE_SET "default" 0.0;
32255             transition: DECELERATE 0.5;
32256             target: "over3";
32257          }
32258          program {
32259             name:   "button_unclick3";
32260             signal: "mouse,up,1";
32261             source: "over2";
32262             action: SIGNAL_EMIT "elm,action,click" "";
32263          }
32264          program {
32265             name:   "button_down_double";
32266             signal: "mouse,down,1,double";
32267             source: "over3";
32268             action: SIGNAL_EMIT "elm,action,click,double" "";
32269          }
32270
32271          //arrows animation
32272          program {
32273             name: "arrow_anim_start";
32274             action: STATE_SET "anim_1" 0.0;
32275             target: "arrow_right";
32276             target: "arrow_left";
32277             transition: LINEAR 0.6;
32278             after: "arrow_anim_1";
32279          }
32280          program {
32281             name: "arrow_anim_1";
32282             action: STATE_SET "anim_2" 0.0;
32283             target: "arrow_right";
32284             target: "arrow_left";
32285             transition: LINEAR 0.6;
32286             after: "arrow_anim_2";
32287          }
32288          program {
32289             name: "arrow_anim_2";
32290             action: STATE_SET "default" 0.0;
32291             target: "arrow_right";
32292             target: "arrow_left";
32293             after: "arrow_anim_start";
32294          }
32295          program {
32296             name: "arrow_anim_stop";
32297             action: ACTION_STOP;
32298             target: "arrow_anim_start";
32299             target: "arrow_anim_1";
32300             target: "arrow_anim_2";
32301             after: "arrow_anim_stop_1";
32302          }
32303          program {
32304             name: "arrow_anim_stop_1";
32305             action: STATE_SET "default" 0.0;
32306             target: "arrow_right";
32307             target: "arrow_left";
32308             transition: DECELERATE 0.4;
32309         }
32310       }
32311   }
32312
32313
32314
32315 /////////////////////////////////////////////////////////////////////////////
32316 // PANEL
32317 /////////////////////////////////////////////////////////////////////////////
32318   group {
32319      name: "elm/panel/base/left";
32320      alias: "elm/panel/base/top";
32321      images
32322        {
32323           image: "bt_base1.png" COMP;
32324           image: "bt_hilight.png" COMP;
32325           image: "bt_shine.png" COMP;
32326           image: "bt_glow.png" COMP;
32327           image: "bt_dis_base.png" COMP;
32328           image: "icon_arrow_left.png" COMP;
32329           image: "icon_arrow_right.png" COMP;
32330        }
32331        data {
32332           item: "focus_highlight" "on";
32333        }
32334      parts
32335        {
32336             part { name: "focus_highlight";
32337                description { state: "default" 0.0;
32338                   visible: 0;
32339                   color: 255 255 255 0;
32340                   rel1 {
32341                      to: "btn";
32342                      offset: -8 -8;
32343                   }
32344                   rel2 {
32345                      to: "btn";
32346                      offset: 7 7;
32347                   }
32348                   image {
32349                      normal: "frame_2.png";
32350                      border: 5 5 32 26;
32351                      middle: 0;
32352                   }
32353                }
32354                description { state: "enabled" 0.0;
32355                   inherit: "default" 0.0;
32356                   visible: 1;
32357                   color: 255 255 255 255;
32358                }
32359             }
32360           part
32361             {
32362                name: "bg";
32363                type: RECT;
32364                mouse_events: 0;
32365                description
32366                  {
32367                     state: "default" 0.0;
32368                     color: 255 255 255 0;
32369                     rel1.relative: 0.0 0.0;
32370                     rel1.offset: 0 0;
32371                     rel2.relative: 1.0 1.0;
32372                     rel2.offset: -1 -1;
32373                  }
32374                description
32375                  {
32376                     state: "hidden" 0.0;
32377                     inherit: "default" 0.0;
32378                     rel1.relative: -1.0 0.0;
32379                     rel1.offset: 21 0;
32380                     rel2.relative: 0.0 1.0;
32381                     rel2.offset: 20 -1;
32382                  }
32383             }
32384           part
32385             {
32386                name: "base";
32387                type: IMAGE;
32388                mouse_events: 0;
32389                description
32390                  {
32391                     state: "default" 0.0;
32392                     rel1.to: "bg";
32393                     rel2.to: "bg";
32394                     rel2.offset: -20 -1;
32395                     image
32396                       {
32397                          normal: "bt_dis_base.png";
32398                          border: 4 4 4 4;
32399                       }
32400                  }
32401             }
32402           part
32403             {
32404                name: "clipper";
32405                type: RECT;
32406                mouse_events: 0;
32407                description
32408                  {
32409                     state: "default" 0.0;
32410                     rel1
32411                       {
32412                          offset: 4 4;
32413                          to: "base";
32414                       }
32415                     rel2
32416                       {
32417                          offset: -5 -5;
32418                          to: "base";
32419                       }
32420                  }
32421             }
32422           part
32423             {
32424                name: "elm.swallow.content";
32425                type: SWALLOW;
32426                clip_to: "clipper";
32427                description
32428                  {
32429                     state: "default" 0.0;
32430                     rel1.to: "clipper";
32431                     rel2.to: "clipper";
32432                  }
32433             }
32434           part
32435             {
32436                name: "btn";
32437                type: IMAGE;
32438                mouse_events: 1;
32439                description
32440                  {
32441                     state: "default" 0.0;
32442                     max: 32 48;
32443                     fixed: 1 1;
32444                     align: 0.0 0.5;
32445                     rel1
32446                       {
32447                          relative: 1.0 0.0;
32448                          offset: -3 0;
32449                          to_x: "base";
32450                       }
32451                     rel2.to_x: "bg";
32452                     image
32453                       {
32454                          normal: "bt_base1.png";
32455                          border: 0 5 4 12;
32456                       }
32457                     fill.smooth: 0;
32458                  }
32459                description
32460                  {
32461                     state: "clicked" 0.0;
32462                     inherit: "default" 0.0;
32463                  }
32464             }
32465           part
32466             {
32467                name: "btn_over";
32468                type: IMAGE;
32469                mouse_events: 0;
32470                description
32471                  {
32472                     state: "default" 0.0;
32473                     rel1.to: "btn";
32474                     rel2
32475                       {
32476                          relative: 1.0 0.5;
32477                          to: "btn";
32478                       }
32479                     image
32480                       {
32481                          normal: "bt_hilight.png";
32482                          border: 0 7 7 0;
32483                       }
32484                  }
32485             }
32486           part
32487             {
32488                name: "btn_over2";
32489                type: IMAGE;
32490                mouse_events: 1;
32491                repeat_events: 1;
32492                ignore_flags: ON_HOLD;
32493                description
32494                  {
32495                     state: "default" 0.0;
32496                     rel1.to: "btn";
32497                     rel2.to: "btn";
32498                     image
32499                       {
32500                          normal: "bt_shine.png";
32501                          border: 0 7 7 7;
32502                     }
32503                  }
32504             }
32505           part
32506             {
32507                name: "btn_over3";
32508                type: IMAGE;
32509                mouse_events: 1;
32510                repeat_events: 1;
32511                description
32512                  {
32513                     state: "default" 0.0;
32514                     color: 255 255 255 0;
32515                     rel1.to: "btn";
32516                     rel2.to: "btn";
32517                     image
32518                       {
32519                        normal: "bt_glow.png";
32520                        border: 12 12 12 12;
32521                     }
32522                   fill.smooth: 0;
32523                }
32524              description
32525                {
32526                   state: "clicked" 0.0;
32527                   inherit: "default" 0.0;
32528                   visible: 1;
32529                   color: 255 255 255 255;
32530                }
32531             }
32532           part
32533             {
32534                name: "btn_icon";
32535                type: IMAGE;
32536                repeat_events: 1;
32537                description
32538                  {
32539                     state: "default" 0.0;
32540                     rel1.to: "btn";
32541                     rel2.to: "btn";
32542                     align: 0.5 0.5;
32543                     min: 16 16;
32544                     max: 16 16;
32545                     image.normal: "icon_arrow_left.png";
32546                  }
32547                description
32548                  {
32549                     state: "hidden" 0.0;
32550                     inherit: "default" 0.0;
32551                     image.normal: "icon_arrow_right.png";
32552                  }
32553             }
32554        }
32555      programs
32556        {
32557           program
32558             {
32559                name: "show";
32560                signal: "elm,action,show";
32561                source: "elm";
32562                action: STATE_SET "default" 0.0;
32563                target: "bg";
32564                target: "btn_icon";
32565                transition: LINEAR 0.5;
32566             }
32567           program
32568             {
32569                name: "hide";
32570                signal: "elm,action,hide";
32571                source: "elm";
32572                action: STATE_SET "hidden" 0.0;
32573                target: "bg";
32574                target: "btn_icon";
32575                transition: LINEAR 0.5;
32576             }
32577           program
32578             {
32579                name: "btn_click";
32580                signal: "mouse,down,1";
32581                source: "btn_over2";
32582                action: STATE_SET "clicked" 0.0;
32583                target: "btn";
32584             }
32585           program
32586             {
32587                name: "btn_unclick";
32588                signal: "mouse,up,1";
32589                source: "btn_over2";
32590                action: STATE_SET "default" 0.0;
32591                target: "btn";
32592             }
32593           program
32594             {
32595                name: "btn_click2";
32596                signal: "mouse,down,1";
32597                source: "btn_over3";
32598                action: STATE_SET "clicked" 0.0;
32599                target: "btn_over3";
32600             }
32601           program
32602             {
32603                name: "btn_unclick2";
32604                signal: "mouse,up,1";
32605                source: "btn_over3";
32606                action: STATE_SET "default" 0.0;
32607                transition: DECELERATE 0.5;
32608                target: "btn_over3";
32609             }
32610           program
32611             {
32612                name: "btn_unclick3";
32613                signal: "mouse,clicked,1";
32614                source: "btn_over2";
32615                action: SIGNAL_EMIT "elm,action,panel,toggle" "";
32616             }
32617          program { name: "highlight_show";
32618             signal: "elm,action,focus_highlight,show";
32619             source: "elm";
32620             action: STATE_SET "enabled" 0.0;
32621             transition: ACCELERATE 0.3;
32622             target: "focus_highlight";
32623          }
32624          program { name: "highlight_hide";
32625             signal: "elm,action,focus_highlight,hide";
32626             source: "elm";
32627             action: STATE_SET "default" 0.0;
32628             transition: DECELERATE 0.3;
32629             target: "focus_highlight";
32630          }
32631        }
32632   }
32633
32634   group {
32635      name: "elm/panel/base/right";
32636      alias: "elm/panel/base/bottom";
32637      images
32638        {
32639           image: "bt_base1.png" COMP;
32640           image: "bt_hilight.png" COMP;
32641           image: "bt_shine.png" COMP;
32642           image: "bt_glow.png" COMP;
32643           image: "bt_dis_base.png" COMP;
32644           image: "icon_arrow_left.png" COMP;
32645           image: "icon_arrow_right.png" COMP;
32646        }
32647      parts
32648        {
32649             part { name: "focus_highlight";
32650                description { state: "default" 0.0;
32651                   visible: 0;
32652                   color: 255 255 255 0;
32653                   rel1 {
32654                      to: "btn";
32655                      offset: -8 -8;
32656                   }
32657                   rel2 {
32658                      to: "btn";
32659                      offset: 7 7;
32660                   }
32661                   image {
32662                      normal: "frame_2.png";
32663                      border: 5 5 32 26;
32664                      middle: 0;
32665                   }
32666                }
32667                description { state: "enabled" 0.0;
32668                   inherit: "default" 0.0;
32669                   visible: 1;
32670                   color: 255 255 255 255;
32671                }
32672             }
32673           part
32674             {
32675                name: "bg";
32676                type: RECT;
32677                mouse_events: 0;
32678                description
32679                  {
32680                     state: "default" 0.0;
32681                     color: 255 255 255 0;
32682                     rel1.relative: 0.0 0.0;
32683                     rel1.offset: 0 0;
32684                     rel2.relative: 1.0 1.0;
32685                     rel2.offset: -1 -1;
32686                  }
32687                description
32688                  {
32689                     state: "hidden" 0.0;
32690                     inherit: "default" 0.0;
32691                     rel1.relative: 1.0 0.0;
32692                     rel1.offset: -22 0;
32693                     rel2.relative: 2.0 1.0;
32694                     rel2.offset: -23 -1;
32695                  }
32696             }
32697           part
32698             {
32699                name: "base";
32700                type: IMAGE;
32701                mouse_events: 0;
32702                description
32703                  {
32704                     state: "default" 0.0;
32705                     rel1.to: "bg";
32706                     rel1.offset: 20 0;
32707                     rel2.to: "bg";
32708                     image
32709                       {
32710                          normal: "bt_dis_base.png";
32711                          border: 4 4 4 4;
32712                       }
32713                  }
32714             }
32715           part
32716             {
32717                name: "clipper";
32718                type: RECT;
32719                mouse_events: 0;
32720                description
32721                  {
32722                     state: "default" 0.0;
32723                     rel1
32724                       {
32725                          offset: 4 4;
32726                          to: "base";
32727                       }
32728                     rel2
32729                       {
32730                          offset: -5 -5;
32731                          to: "base";
32732                       }
32733                  }
32734             }
32735           part
32736             {
32737                name: "elm.swallow.content";
32738                type: SWALLOW;
32739                clip_to: "clipper";
32740                description
32741                  {
32742                     state: "default" 0.0;
32743                     rel1.to: "clipper";
32744                     rel2.to: "clipper";
32745                  }
32746             }
32747           part
32748             {
32749                name: "btn";
32750                type: IMAGE;
32751                mouse_events: 1;
32752                description
32753                  {
32754                     state: "default" 0.0;
32755                     max: 32 48;
32756                     fixed: 1 1;
32757                     align: 1 0.5;
32758                     rel1
32759                       {
32760                          to_x: "bg";
32761                       }
32762                     rel2
32763                       {
32764                          offset: 2 0;
32765                          relative: 0.0 1;
32766                          to_x: "base";
32767                       }
32768                     image
32769                       {
32770                          normal: "bt_base1.png";
32771                          border: 5 0 4 12;
32772                       }
32773                     fill.smooth: 0;
32774                  }
32775                description
32776                  {
32777                     state: "clicked" 0.0;
32778                     inherit: "default" 0.0;
32779                  }
32780             }
32781           part
32782             {
32783                name: "btn_over";
32784                type: IMAGE;
32785                mouse_events: 0;
32786                description
32787                  {
32788                     state: "default" 0.0;
32789                     rel1.to: "btn";
32790                     rel2
32791                       {
32792                          relative: 1.0 0.5;
32793                          to: "btn";
32794                       }
32795                     image
32796                       {
32797                          normal: "bt_hilight.png";
32798                          border: 7 0 7 0;
32799                       }
32800                  }
32801             }
32802           part
32803             {
32804                name: "btn_over2";
32805                type: IMAGE;
32806                mouse_events: 1;
32807                repeat_events: 1;
32808                ignore_flags: ON_HOLD;
32809                description
32810                  {
32811                     state: "default" 0.0;
32812                     rel1.to: "btn";
32813                     rel2.to: "btn";
32814                     image
32815                       {
32816                          normal: "bt_shine.png";
32817                          border: 7 0 7 7;
32818                     }
32819                  }
32820             }
32821           part
32822             {
32823                name: "btn_over3";
32824                type: IMAGE;
32825                mouse_events: 1;
32826                repeat_events: 1;
32827                description
32828                  {
32829                     state: "default" 0.0;
32830                     color: 255 255 255 0;
32831                     rel1.to: "btn";
32832                     rel2.to: "btn";
32833                     image
32834                       {
32835                        normal: "bt_glow.png";
32836                        border: 12 12 12 12;
32837                     }
32838                   fill.smooth: 0;
32839                }
32840              description
32841                {
32842                   state: "clicked" 0.0;
32843                   inherit: "default" 0.0;
32844                   visible: 1;
32845                   color: 255 255 255 255;
32846                }
32847             }
32848           part
32849             {
32850                name: "btn_icon";
32851                type: IMAGE;
32852                repeat_events: 1;
32853                description
32854                  {
32855                     state: "default" 0.0;
32856                     rel1.to: "btn";
32857                     rel2.to: "btn";
32858                     align: 0.5 0.5;
32859                     min: 16 16;
32860                     max: 16 16;
32861                     image.normal: "icon_arrow_right.png";
32862                  }
32863                description
32864                  {
32865                     state: "hidden" 0.0;
32866                     inherit: "default" 0.0;
32867                     image.normal: "icon_arrow_left.png";
32868                  }
32869             }
32870        }
32871      programs
32872        {
32873           program
32874             {
32875                name: "show";
32876                signal: "elm,action,show";
32877                source: "elm";
32878                action: STATE_SET "default" 0.0;
32879                target: "bg";
32880                target: "btn_icon";
32881                transition: LINEAR 0.5;
32882             }
32883           program
32884             {
32885                name: "hide";
32886                signal: "elm,action,hide";
32887                source: "elm";
32888                action: STATE_SET "hidden" 0.0;
32889                target: "bg";
32890                target: "btn_icon";
32891                transition: LINEAR 0.5;
32892             }
32893           program
32894             {
32895                name: "btn_click";
32896                signal: "mouse,down,1";
32897                source: "btn_over2";
32898                action: STATE_SET "clicked" 0.0;
32899                target: "btn";
32900             }
32901           program
32902             {
32903                name: "btn_unclick";
32904                signal: "mouse,up,1";
32905                source: "btn_over2";
32906                action: STATE_SET "default" 0.0;
32907                target: "btn";
32908             }
32909           program
32910             {
32911                name: "btn_click2";
32912                signal: "mouse,down,1";
32913                source: "btn_over3";
32914                action: STATE_SET "clicked" 0.0;
32915                target: "btn_over3";
32916             }
32917           program
32918             {
32919                name: "btn_unclick2";
32920                signal: "mouse,up,1";
32921                source: "btn_over3";
32922                action: STATE_SET "default" 0.0;
32923                transition: DECELERATE 0.5;
32924                target: "btn_over3";
32925             }
32926           program
32927             {
32928                name: "btn_unclick3";
32929                signal: "mouse,up,1";
32930                source: "btn_over2";
32931                action: SIGNAL_EMIT "elm,action,panel,toggle" "";
32932             }
32933          program { name: "highlight_show";
32934             signal: "elm,action,focus";
32935             source: "elm";
32936             action: STATE_SET "enabled" 0.0;
32937             transition: ACCELERATE 0.3;
32938             target: "focus_highlight";
32939          }
32940          program { name: "highlight_hide";
32941             signal: "elm,action,unfocus";
32942             source: "elm";
32943             action: STATE_SET "default" 0.0;
32944             transition: DECELERATE 0.3;
32945             target: "focus_highlight";
32946          }
32947        }
32948   }
32949
32950 ///////////////////////////////////////////////////////////////////////////////
32951   group { name: "elm/conformant/base/default";
32952      parts {
32953         part { name: "elm.swallow.shelf";
32954            type: SWALLOW;
32955            description { state: "default" 0.0;
32956               fixed: 0 1;
32957               align: 0.0 0.0;
32958               rel2.relative: 1.0 0.0;
32959            }
32960         }
32961         part { name: "elm.swallow.content";
32962            type: SWALLOW;
32963            description { state: "default" 0.0;
32964               fixed: 0 1;
32965               align: 0.5 0.5;
32966               rel1.relative: 0.0 1.0;
32967               rel1.to_y: "elm.swallow.shelf";
32968               rel2.relative: 1.0 0.0;
32969               rel2.to_y: "elm.swallow.virtualkeypad";
32970            }
32971         }
32972         part { name: "elm.swallow.virtualkeypad";
32973            type: SWALLOW;
32974            description { state: "default" 0.0;
32975               fixed: 0 1;
32976               align: 0.0 1.0;
32977               rel2.relative: 1.0 0.0;
32978               rel2.to_y: "elm.swallow.panel";
32979            }
32980         }
32981         part { name: "elm.swallow.panel";
32982            type: SWALLOW;
32983            description { state: "default" 0.0;
32984               fixed: 0 1;
32985               align: 0.0 1.0;
32986               rel1.relative: 0.0 1.0;
32987            }
32988         }
32989      }
32990   }
32991
32992 /////////////////////////////////////////////////////////////////////////////
32993 // CALENDAR
32994 /////////////////////////////////////////////////////////////////////////////
32995 #define CH(_pos) \
32996          part { name: "ch_"#_pos".base"; \
32997             type: RECT; \
32998             description { state: "default" 0.0; \
32999                rel1 { \
33000                   relative: (_pos % 7 * 7 / 8 / 6) 0; \
33001                   to: "header"; \
33002                } \
33003                rel2 { \
33004                   relative: (_pos % 7 * 7 / 8 / 6 + 1 / 8) 1; \
33005                   to: "header"; \
33006                } \
33007                color: 0 0 0 0; \
33008                visible: 0; \
33009             } \
33010          } \
33011          part { name: "ch_"#_pos".text"; \
33012             type: TEXT; \
33013             effect: SOFT_SHADOW; \
33014             mouse_events: 0; \
33015             scale: 1; \
33016             clip_to: "ch_"#_pos".clipper"; \
33017             description { \
33018                state: "default" 0.0; \
33019                rel1.to: "ch_"#_pos".base"; \
33020                rel2.to: "ch_"#_pos".base"; \
33021                color: 0 0 0 255; \
33022                color3: 0 0 0 0; \
33023                text { \
33024                   font: "Sans"; \
33025                   size: 10; \
33026                   min: 1 1; \
33027                   align: 0.5 0.5; \
33028                } \
33029             } \
33030          } \
33031          part { name: "ch_"#_pos".clipper"; \
33032             type: RECT; \
33033             description { state: "default" 0.0; \
33034                rel1.to: "ch_"#_pos".base"; \
33035                rel2.to: "ch_"#_pos".base"; \
33036             } \
33037          }
33038
33039 #define CIT(_pos) \
33040          part { name: "cit_"#_pos".rect"; \
33041             type: RECT; \
33042             description { state: "default" 0.0; \
33043                rel1 { \
33044                   relative: (_pos % 7 * 7 / 8 / 6) \
33045                             (_pos / 8 / 5 - _pos % 7 / 8 / 5); \
33046                   to: "base"; \
33047                } \
33048                rel2 { \
33049                   relative: (_pos % 7 * 7 / 8 / 6 + 1 / 8) \
33050                             (_pos / 8 / 5 - _pos % 7 / 8 / 5 + 1 / 8); \
33051                   to: "base"; \
33052                } \
33053                color: 0 0 0 0; \
33054                visible: 0; \
33055             } \
33056          } \
33057          part { \
33058             name: "cit_"#_pos".event"; \
33059             type: RECT; \
33060             repeat_events: 1; \
33061             description { \
33062                rel1.to: "cit_"#_pos".rect"; \
33063                rel2.to: "cit_"#_pos".rect"; \
33064                state: "default" 0.0; \
33065                color: 0 0 0 0; \
33066             } \
33067          } \
33068          part { name: "cit_"#_pos".shelf"; \
33069             type: RECT; \
33070             mouse_events: 0; \
33071             description { state: "default" 0.0; \
33072                rel1 { \
33073                   to: "cit_"#_pos".bg"; \
33074                   offset: -1 -1; \
33075                } \
33076                rel2 { \
33077                   to: "cit_"#_pos".bg"; \
33078                } \
33079                color: 200 200 200 255; \
33080             } \
33081          } \
33082          part { name: "cit_"#_pos".hd"; \
33083             type: RECT; \
33084             mouse_events: 0; \
33085             description { state: "default" 0.0; \
33086                rel1 { \
33087                   to: "cit_"#_pos".bg"; \
33088                   offset: -1 -1; \
33089                } \
33090                rel2 { \
33091                   to: "cit_"#_pos".bg"; \
33092                } \
33093                visible: 0; \
33094                color: 160 0 0 255; \
33095             } \
33096             description { state: "visible" 0.0; \
33097                inherit: "default" 0.0; \
33098                visible: 1; \
33099             } \
33100          } \
33101          part { \
33102             name: "cit_"#_pos".base_sh"; \
33103             mouse_events: 0; \
33104             description { \
33105                state: "default" 0.0; \
33106                align: 0.0 0.0; \
33107                min: 0 1; \
33108                rel1 { \
33109                   to: "cit_"#_pos".base"; \
33110                   relative: 0.0 1.0; \
33111                   offset: 0 0; \
33112                } \
33113                rel2 { \
33114                   to: "cit_"#_pos".base"; \
33115                   relative: 1.0 1.05; \
33116                   offset: -1 0; \
33117                } \
33118                image { \
33119                   normal: "ilist_item_shadow.png"; \
33120                } \
33121                fill.smooth: 0; \
33122             } \
33123          } \
33124          part { \
33125             name: "cit_"#_pos".base"; \
33126             mouse_events: 0; \
33127             description { \
33128                state: "default" 0.0; \
33129                rel1.to: "cit_"#_pos".rect"; \
33130                rel2.to: "cit_"#_pos".rect"; \
33131                rel2.offset: -1 -1; \
33132                image { \
33133                   normal: "ilist_1.png"; \
33134                   border: 2 2 2 2; \
33135                } \
33136                fill.smooth: 0; \
33137             } \
33138             description { \
33139                state: "today" 0.0; \
33140                inherit: "default" 0.0; \
33141                image.normal: "ilist_2.png"; \
33142                color: 240 240 240 255; \
33143             } \
33144          } \
33145          part { name: "cit_"#_pos".bg"; \
33146             mouse_events: 0; \
33147             description { state: "default" 0.0; \
33148                visible: 0; \
33149                color: 255 255 255 0; \
33150                rel1 { \
33151                   to: "cit_"#_pos".rect"; \
33152                   relative: 0.0 0.0; \
33153                } \
33154                rel2 { \
33155                   to: "cit_"#_pos".rect"; \
33156                   relative: 1.0 1.0; \
33157                   offset: -1 -1; \
33158                } \
33159                image { \
33160                   normal: "bt_sm_base1.png"; \
33161                   border: 6 6 6 6; \
33162                } \
33163                image.middle: SOLID; \
33164             } \
33165             description { state: "selected" 0.0; \
33166                inherit: "default" 0.0; \
33167                visible: 1; \
33168                color: 255 255 255 255; \
33169             } \
33170          } \
33171          part { name: "cit_"#_pos".text"; \
33172             type: TEXT; \
33173             effect: SOFT_SHADOW; \
33174             mouse_events: 0; \
33175             scale: 1; \
33176             description { \
33177                state: "default" 0.0; \
33178                rel1.to: "cit_"#_pos".bg"; \
33179                rel2.to: "cit_"#_pos".bg"; \
33180                color: 0 0 0 255; \
33181                color3: 0 0 0 0; \
33182                text { \
33183                   font: "Sans"; \
33184                   size: 10; \
33185                   min: 1 1; \
33186                   align: 0.5 0.5; \
33187                } \
33188             } \
33189             description { state: "selected" 0.0; \
33190                inherit: "default" 0.0; \
33191                color: 224 224 224 255; \
33192                color3: 0 0 0 64; \
33193             } \
33194          } \
33195          part { name: "cit_"#_pos".fg1"; \
33196             mouse_events: 0; \
33197             description { state: "default" 0.0; \
33198                visible: 0; \
33199                color: 255 255 255 0; \
33200                rel1.to: "cit_"#_pos".bg"; \
33201                rel2.relative: 1.0 0.5; \
33202                rel2.to: "cit_"#_pos".bg"; \
33203                image { \
33204                   normal: "bt_sm_hilight.png"; \
33205                   border: 6 6 6 0; \
33206                } \
33207             } \
33208             description { state: "selected" 0.0; \
33209                inherit: "default" 0.0; \
33210                visible: 1; \
33211                color: 255 255 255 255; \
33212             } \
33213          } \
33214          part { name: "cit_"#_pos".fg2"; \
33215             mouse_events: 0; \
33216             description { state: "default" 0.0; \
33217                visible: 0; \
33218                color: 255 255 255 0; \
33219                rel1.to: "cit_"#_pos".bg"; \
33220                rel2.to: "cit_"#_pos".bg"; \
33221                image { \
33222                   normal: "bt_sm_shine.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".check"; \
33233             mouse_events: 0; \
33234             description { state: "default" 0.0; \
33235                rel1 { \
33236                   to: "cit_"#_pos".bg"; \
33237                   relative: 0.7 0.6; \
33238                   offset: 1 1; \
33239                } \
33240                rel2 { \
33241                   to: "cit_"#_pos".bg"; \
33242                   relative: 1.1 1.2; \
33243                   offset: -2 -2; \
33244                } \
33245                aspect: 1 1; \
33246                visible: 0; \
33247                color: 255 0 0 255; \
33248                image.normal: "check.png"; \
33249             } \
33250             description { state: "visible" 0.0; \
33251                inherit: "default" 0.0; \
33252                visible: 1; \
33253             } \
33254          } \
33255       programs { \
33256          program { \
33257             name:    "cit_"#_pos".go_active"; \
33258             signal:  "cit_"#_pos",selected"; \
33259             source:  "elm"; \
33260             action:  STATE_SET "selected" 0.0; \
33261             target:  "cit_"#_pos".bg"; \
33262             target:  "cit_"#_pos".fg1"; \
33263             target:  "cit_"#_pos".fg2"; \
33264             target:  "cit_"#_pos".text"; \
33265          } \
33266          program { \
33267             name:    "cit_"#_pos".go_passive"; \
33268             signal:  "cit_"#_pos",unselected"; \
33269             source:  "elm"; \
33270             action:  STATE_SET "default" 0.0; \
33271             target:  "cit_"#_pos".bg"; \
33272             target:  "cit_"#_pos".fg1"; \
33273             target:  "cit_"#_pos".fg2"; \
33274             target:  "cit_"#_pos".text"; \
33275          } \
33276          program { \
33277             name:    "cit_"#_pos".is_today"; \
33278             signal:  "cit_"#_pos",today"; \
33279             source:  "elm"; \
33280             action:  STATE_SET "today" 0.0; \
33281             target: "cit_"#_pos".base"; \
33282          } \
33283          program { \
33284             name:    "cit_"#_pos".not_today"; \
33285             signal:  "cit_"#_pos",not_today"; \
33286             source:  "elm"; \
33287             action:  STATE_SET "default" 0.0; \
33288             target: "cit_"#_pos".base"; \
33289          } \
33290          program { \
33291             source: "cit_"#_pos".clicked"; \
33292             signal: "mouse,clicked,1"; \
33293             source: "cit_"#_pos".event"; \
33294             action: SIGNAL_EMIT "elm,action,selected" #_pos; \
33295          } \
33296          program { \
33297             name:    "cit_"#_pos".clear"; \
33298             signal:  "cit_"#_pos",clear"; \
33299             source:  "elm"; \
33300             action:  STATE_SET "default" 0.0; \
33301             target: "cit_"#_pos".check"; \
33302             target: "cit_"#_pos".hd"; \
33303          } \
33304          program { \
33305             name:    "cit_"#_pos".checked"; \
33306             signal:  "cit_"#_pos",checked"; \
33307             source:  "elm"; \
33308             action:  STATE_SET "visible" 0.0; \
33309             target: "cit_"#_pos".check"; \
33310          } \
33311          program { \
33312             name:    "cit_"#_pos".holiday"; \
33313             signal:  "cit_"#_pos",holiday"; \
33314             source:  "elm"; \
33315             action:  STATE_SET "visible" 0.0; \
33316             target: "cit_"#_pos".hd"; \
33317          } \
33318       }
33319
33320    group { name: "elm/calendar/base/default";
33321        images {
33322            image: "shelf_inset.png" COMP;
33323            image: "bt_base1.png" COMP;
33324            image: "bt_hilight.png" COMP;
33325            image: "bt_shine.png" COMP;
33326            image: "bt_glow.png" COMP;
33327            image: "bt_dis_base.png" COMP;
33328            image: "bt_dis_hilight.png" COMP;
33329            image: "sp_bt_l.png" COMP;
33330            image: "sp_bt_r.png" COMP;
33331            image: "bt_sm_base1.png" COMP;
33332            image: "bt_sm_shine.png" COMP;
33333            image: "bt_sm_hilight.png" COMP;
33334            image: "ilist_1.png" COMP;
33335            image: "ilist_2.png" COMP;
33336            image: "ilist_item_shadow.png" COMP;
33337            image: "check.png" COMP;
33338        }
33339        parts {
33340            part { name: "bg";
33341                type: RECT;
33342                description { state: "default" 0.0;
33343                    min: 0 30;
33344                    rel1.offset: 1 1;
33345                    rel2.offset: -2 -2;
33346                    color: 255 255 255 0;
33347                    align: 0.0 0.5;
33348                }
33349            }
33350            part { name: "spinner-base";
33351                type: RECT;
33352                mouse_events: 0;
33353                description { state: "default" 0.0;
33354                    min: 24 24;
33355                    max: 999999 24;
33356                    rel1.to: "bg";
33357                    rel1.offset: 6 6;
33358                    rel2.to: "bg";
33359                    rel2.offset: -7 -7;
33360                    color: 255 255 255 0;
33361                    align: 0.0 0.0;
33362                }
33363            }
33364            part { name: "conf_over_spinner";
33365                mouse_events:  0;
33366                description { state: "default" 0.0;
33367                    rel1.to: "spinner-base";
33368                    rel1.offset: -3 -3;
33369                    rel2.to: "spinner-base";
33370                    rel2.offset: 2 2;
33371                    image {
33372                        normal: "shelf_inset.png";
33373                        border: 7 7 7 7;
33374                        middle: 0;
33375                    }
33376                    fill.smooth : 0;
33377                }
33378            }
33379            part { name: "table-base";
33380                type: RECT;
33381                mouse_events: 0;
33382                description { state: "default" 0.0;
33383                    min: 256 220;
33384                    rel1.to_x: "bg";
33385                    rel1.to_y: "spinner-base";
33386                    rel1.offset: 6 6;
33387                    rel1.relative: 0 1;
33388                    rel2.to: "bg";
33389                    rel2.offset: -7 -7;
33390                    color: 255 255 255 0;
33391                }
33392            }
33393            part { name: "conf_over_table";
33394                mouse_events:  0;
33395                description { state: "default" 0.0;
33396                    rel1.to: "table-base";
33397                    rel1.offset: -3 -3;
33398                    rel2.to: "table-base";
33399                    rel2.offset: 2 2;
33400                    image {
33401                        normal: "shelf_inset.png";
33402                        border: 7 7 7 7;
33403                        middle: 0;
33404                    }
33405                    fill.smooth : 0;
33406                }
33407            }
33408            part { name: "header";
33409                type: RECT;
33410                mouse_events: 0;
33411                description { state: "default" 0.0;
33412                    rel1.to: "table-base";
33413                    rel1.relative: 0 0;
33414                    rel2.to: "table-base";
33415                    rel2.relative: 1 0.1;
33416                    color: 255 255 255 0;
33417                }
33418            }
33419            part { name: "base";
33420                type: RECT;
33421                mouse_events: 0;
33422                description { state: "default" 0.0;
33423                    rel1.to_x: "table-base";
33424                    rel1.to_y: "header";
33425                    rel1.relative: 0 1;
33426                    rel1.offset: 3 0;
33427                    rel2.to: "table-base";
33428                    rel2.offset: -3 0;
33429                    color: 255 255 255 0;
33430                }
33431            }
33432            part { name: "left_bt";
33433                mouse_events:  1;
33434                description { state: "default" 0.0;
33435                    rel1 { to: "spinner-base";
33436                        offset: 2 2;
33437                    }
33438                    rel2 { to: "spinner-base";
33439                        offset: -3 -3;
33440                    }
33441                    align: 0.0 0.5;
33442                    min: 24 24;
33443                    max: 24 24;
33444                    fixed: 1 1;
33445                    image {
33446                        normal: "bt_base1.png";
33447                        border: 6 6 6 6;
33448                    }
33449                    fill.smooth : 0;
33450                }
33451                description { state: "clicked" 0.0;
33452                    inherit: "default" 0.0;
33453                    image.normal: "bt_base1.png";
33454                    image.middle: SOLID;
33455                }
33456            }
33457            part { name: "left_over1";
33458                mouse_events: 0;
33459                description { state: "default" 0.0;
33460                    rel1.to: "left_bt";
33461                    rel2 { to: "left_bt";
33462                        relative: 1.0 0.5;
33463                    }
33464                    image {
33465                        normal: "bt_hilight.png";
33466                        border: 7 7 7 0;
33467                    }
33468                }
33469            }
33470            part { name: "left_over2";
33471                mouse_events: 1;
33472                repeat_events: 1;
33473                description { state: "default" 0.0;
33474                    rel1.to: "left_bt";
33475                    rel2.to: "left_bt";
33476                    image {
33477                        normal: "bt_shine.png";
33478                        border: 7 7 7 7;
33479                    }
33480                }
33481            }
33482            part { name: "left_over3";
33483                mouse_events: 1;
33484                repeat_events: 1;
33485                description { state: "default" 0.0;
33486                    color: 255 255 255 0;
33487                    rel1.to: "left_bt";
33488                    rel2.to: "left_bt";
33489                    image {
33490                        normal: "bt_glow.png";
33491                        border: 12 12 12 12;
33492                    }
33493                    fill.smooth : 0;
33494                }
33495                description { state: "clicked" 0.0;
33496                    inherit:  "default" 0.0;
33497                    visible: 1;
33498                    color: 255 255 255 255;
33499                }
33500            }
33501            part { name: "right_bt";
33502                mouse_events:  1;
33503                description { state: "default" 0.0;
33504                    rel1 { to: "spinner-base";
33505                        offset: -27 3;
33506                    }
33507                    rel2 { to: "spinner-base";
33508                        offset: -3 -3;
33509                    }
33510                    align: 1.0 0.5;
33511                    min: 24 24;
33512                    max: 24 24;
33513                    fixed: 1 1;
33514                    image {
33515                        normal: "bt_base1.png";
33516                        border: 5 5 4 12;
33517                    }
33518                    fill.smooth : 0;
33519                }
33520                description { state: "clicked" 0.0;
33521                    inherit: "default" 0.0;
33522                    image.normal: "bt_base1.png";
33523                    image.middle: SOLID;
33524                }
33525            }
33526            part { name: "right_over1";
33527                mouse_events: 0;
33528                description { state: "default" 0.0;
33529                    rel1.to: "right_bt";
33530                    rel2 { to: "right_bt";
33531                        relative: 1.0 0.5;
33532                    }
33533                    image {
33534                        normal: "bt_hilight.png";
33535                        border: 7 7 7 0;
33536                    }
33537                }
33538            }
33539            part { name: "right_over2";
33540                mouse_events: 1;
33541                repeat_events: 1;
33542                description { state: "default" 0.0;
33543                    rel1.to: "right_bt";
33544                    rel2.to: "right_bt";
33545                    image {
33546                        normal: "bt_shine.png";
33547                        border: 7 7 7 7;
33548                    }
33549                }
33550            }
33551            part { name: "right_over3";
33552                mouse_events: 1;
33553                repeat_events: 1;
33554                description { state: "default" 0.0;
33555                    color: 255 255 255 0;
33556                    rel1.to: "right_bt";
33557                    rel2.to: "right_bt";
33558                    image {
33559                        normal: "bt_glow.png";
33560                        border: 12 12 12 12;
33561                    }
33562                    fill.smooth : 0;
33563                }
33564                description { state: "clicked" 0.0;
33565                    inherit:  "default" 0.0;
33566                    visible: 1;
33567                    color: 255 255 255 255;
33568                }
33569            }
33570            part { name: "left_bt_icon";
33571                repeat_events: 1;
33572                description { state: "default" 0.0;
33573                    rel1.to: "left_bt";
33574                    rel2.to: "left_bt";
33575                    align: 0.5 0.5;
33576                    min: 16 16;
33577                    max: 16 16;
33578                    image.normal: "sp_bt_l.png";
33579                }
33580                description { state: "rtl" 0.0;
33581                    inherit: "default" 0.0;
33582                    image.normal: "sp_bt_r.png";
33583                }
33584            }
33585            part { name: "right_bt_icon";
33586                repeat_events: 1;
33587                description { state: "default" 0.0;
33588                    rel1.to: "right_bt";
33589                    rel2.to: "right_bt";
33590                    align: 0.5 0.5;
33591                    min: 16 16;
33592                    max: 16 16;
33593                    image.normal: "sp_bt_r.png";
33594                }
33595                description { state: "rtl" 0.0;
33596                    inherit: "default" 0.0;
33597                    image.normal: "sp_bt_l.png";
33598                }
33599            }
33600            part { name: "month_text";
33601                type: TEXT;
33602                mouse_events: 0;
33603                scale: 1;
33604                description { state: "default" 0.0;
33605                    align: 0 0.5;
33606                    fixed: 1 1;
33607                    rel1 { relative: 1.0 0.0;
33608                        offset: 3 2;
33609                        to: "left_bt";
33610                        to_y: "spinner-base";
33611                    }
33612                    rel2 { relative: 0.0 1.0;
33613                        offset: -3 -2;
33614                        to_x: "right_bt";
33615                        to_y: "spinner-base";
33616                    }
33617                    color: 0 0 0 255;
33618                    text {
33619                        font: "Sans,Edje-Vera";
33620                        size: 12;
33621                        min: 1 1;
33622                        align: 0.5 0.5;
33623                    }
33624                }
33625            }
33626            CH(0)   CH(1)   CH(2)   CH(3)   CH(4)   CH(5)   CH(6)
33627            CIT(0)  CIT(1)  CIT(2)  CIT(3)  CIT(4)  CIT(5)  CIT(6)
33628            CIT(7)  CIT(8)  CIT(9)  CIT(10) CIT(11) CIT(12) CIT(13)
33629            CIT(14) CIT(15) CIT(16) CIT(17) CIT(18) CIT(19) CIT(20)
33630            CIT(21) CIT(22) CIT(23) CIT(24) CIT(25) CIT(26) CIT(27)
33631            CIT(28) CIT(29) CIT(30) CIT(31) CIT(32) CIT(33) CIT(34)
33632            CIT(35) CIT(36) CIT(37) CIT(38) CIT(39) CIT(40) CIT(41)
33633        }
33634        programs {
33635            program { name: "dec_start";
33636                signal: "mouse,down,1";
33637                source: "left_bt";
33638                action: SIGNAL_EMIT "elm,action,decrement,start" "";
33639            }
33640            program { name: "dec_stop";
33641                signal: "mouse,up,1";
33642                source: "left_bt";
33643                action: SIGNAL_EMIT "elm,action,stop" "";
33644            }
33645            program { name: "inc_start";
33646                signal: "mouse,down,1";
33647                source: "right_bt";
33648                action: SIGNAL_EMIT "elm,action,increment,start" "";
33649            }
33650            program { name: "inc_stop";
33651                signal: "mouse,up,1";
33652                source: "right_bt";
33653                action: SIGNAL_EMIT "elm,action,stop" "";
33654            }
33655            program {
33656                name:   "left_bt_click";
33657                signal: "mouse,down,1";
33658                source: "left_over2";
33659                action: STATE_SET "clicked" 0.0;
33660                target: "left_bt";
33661            }
33662            program {
33663                name:   "left_bt_unclick";
33664                signal: "mouse,up,1";
33665                source: "left_over2";
33666                action: STATE_SET "default" 0.0;
33667                target: "left_bt";
33668            }
33669            program {
33670                name:   "left_bt_click2";
33671                signal: "mouse,down,1";
33672                source: "left_over3";
33673                action: STATE_SET "clicked" 0.0;
33674                target: "left_over3";
33675            }
33676            program {
33677                name:   "left_bt_unclick2";
33678                signal: "mouse,up,1";
33679                source: "left_over3";
33680                action: STATE_SET "default" 0.0;
33681                transition: DECELERATE 0.5;
33682                target: "left_over3";
33683            }
33684            program {
33685                name:   "right_bt_click";
33686                signal: "mouse,down,1";
33687                source: "right_over2";
33688                action: STATE_SET "clicked" 0.0;
33689                target: "right_bt";
33690            }
33691            program {
33692                name:   "right_bt_unclick";
33693                signal: "mouse,up,1";
33694                source: "right_over2";
33695                action: STATE_SET "default" 0.0;
33696                target: "right_bt";
33697            }
33698            program {
33699                name:   "right_bt_click2";
33700                signal: "mouse,down,1";
33701                source: "right_over3";
33702                action: STATE_SET "clicked" 0.0;
33703                target: "right_over3";
33704            }
33705            program {
33706                name:   "right_bt_unclick2";
33707                signal: "mouse,up,1";
33708                source: "right_over3";
33709                action: STATE_SET "default" 0.0;
33710                transition: DECELERATE 0.5;
33711                target: "right_over3";
33712            }
33713            program { name: "to_rtl";
33714                signal: "edje,state,rtl";
33715                source: "edje";
33716                action: STATE_SET "rtl" 0.0;
33717                target: "right_bt_icon";
33718                target: "left_bt_icon";
33719            }
33720            program { name: "to_ltr";
33721                signal: "edje,state,ltr";
33722                source: "edje";
33723                action: STATE_SET "default" 0.0;
33724                target: "right_bt_icon";
33725                target: "left_bt_icon";
33726            }
33727        }
33728    }
33729
33730 #undef CIT
33731 #undef CH
33732
33733 ////////////////////////////////////////////////////////////////////////////////
33734 // colorselector
33735 ////////////////////////////////////////////////////////////////////////////////
33736    group { name: "elm/colorselector/bg/default";
33737       parts {
33738          part { name: "elm.colorbar_0";
33739             type: SWALLOW;
33740             mouse_events: 1;
33741             description { state: "default" 0.0;
33742                min: 120 30;
33743                rel1.relative: 0.0 0.00653594771;
33744                rel2.relative: 1.0 0.254901961;
33745             }
33746          }
33747          part { name: "elm.colorbar_1";
33748             type: SWALLOW;
33749             mouse_events: 1;
33750             description { state: "default" 0.0;
33751                min: 120 30;
33752                rel1.relative: 0.0 0.254901961;
33753                rel2.relative: 1.0 0.503267974;
33754             }
33755          }
33756          part { name: "elm.colorbar_2";
33757             type: SWALLOW;
33758             mouse_events: 1;
33759             description { state: "default" 0.0;
33760                min: 120 30;
33761                rel1.relative: 0.0 0.503267974;
33762                rel2.relative: 1.0 0.751633987;
33763             }
33764          }
33765          part { name: "elm.colorbar_3";
33766             type: SWALLOW;
33767             mouse_events: 1;
33768             description { state: "default" 0.0;
33769                min: 120 30;
33770                rel1.relative: 0.0 0.751633987;
33771                rel2.relative: 1.0 1.0;
33772             }
33773          }
33774       }
33775    }
33776
33777    group { name: "elm/colorselector/base/default";
33778       parts {
33779          part { name: "elm.bar_bg";
33780             type: SWALLOW;
33781             mouse_events: 0;
33782             description { state: "default" 0.0;
33783                min: 60 22;
33784                rel1 {
33785                   relative: 0.0 0.8;
33786                   to_x: "elm.arrow_bg";
33787                   to_y: "elm.arrow_icon";
33788                   offset: 0 0;
33789                }
33790                rel2 {
33791                   relative: 1.0 0.83;
33792                   to_x: "elm.arrow_bg";
33793                   offset: 0 0;
33794                }
33795             }
33796          }
33797          part { name: "elm.bar";
33798             type: SWALLOW;
33799             mouse_events: 0;
33800             description { state: "default" 0.0;
33801                rel1.to: "elm.bar_bg";
33802                rel2.to: "elm.bar_bg";
33803             }
33804          }
33805          part { name: "elm.arrow_bg";
33806             type: SWALLOW;
33807             mouse_events: 1;
33808             description { state: "default" 0.0;
33809                rel1 {
33810                   relative: 1.0 0.17;
33811                   offset: 3 0;
33812                   to_x: "elm.l_button";
33813                }
33814                rel2 {
33815                   relative: 0.0 0.83;
33816                      offset: -4 0;
33817                   to_x: "elm.r_button";
33818                }
33819             }
33820          }
33821          part { name: "elm.arrow";
33822             type: RECT;
33823             mouse_events: 1;
33824             scale: 1;
33825             description { state: "default" 0.0;
33826                min: 1 1;
33827                fixed: 1 1;
33828                align: 0 0;
33829                rel1 {
33830                   to_x: "elm.arrow_bg";
33831                }
33832                rel2 {
33833                   relative: 0.0 0.17;
33834                   to_x: "elm.arrow_bg";
33835                }
33836                color: 0 0 0 0;
33837                visible: 0;
33838             }
33839             dragable {
33840                confine: "elm.arrow_bg";
33841                x: 1 1 0;
33842                y: 0 0 0;
33843             }
33844          }
33845          part { name: "elm.arrow_icon";
33846             type: SWALLOW;
33847             mouse_events: 0;
33848             description { state: "default" 0.0;
33849                min: 25 15;
33850                max: 25 15;
33851                fixed: 1 1;
33852                align: 0.5 0;
33853                rel1 {
33854                   to_x: "elm.arrow";
33855                }
33856                rel2 {
33857                   relative: 1.0 0.0;
33858                   offset: 0 10;
33859                   to_x: "elm.arrow";
33860                }
33861             }
33862          }
33863          part { name: "event";
33864             type: RECT;
33865             mouse_events: 1;
33866             description { state: "default" 0.0;
33867                rel1 {
33868                   to: "elm.arrow_icon";
33869                }
33870                rel2 {
33871                   to_x: "elm.arrow_icon";
33872                   to_y: "elm.arrow_bg";
33873                   offset: 0 0;
33874                }
33875                color: 0 0 0 0;
33876             }
33877             dragable {
33878                events: "elm.arrow";
33879             }
33880          }
33881          part { name: "elm.l_button";
33882             type: SWALLOW;
33883             mouse_events: 1;
33884             scale: 1;
33885             description { state: "default" 0.0;
33886                min: 24 24;
33887                fixed: 1 1;
33888                rel1 {
33889                   relative: 0.0 0.0;
33890                   to_y: "elm.bar_bg";
33891                }
33892                rel2 {
33893                   relative: 0.0 1.0;
33894                   to_y: "elm.bar_bg";
33895                }
33896                align: 0.0 0.5;
33897             }
33898          }
33899          part { name: "elm.r_button";
33900             type: SWALLOW;
33901             mouse_events: 1;
33902             scale: 1;
33903             description {
33904                state: "default" 0.0;
33905                min: 24 24;
33906                fixed: 1 1;
33907                rel1 {
33908                   relative: 1.0 0.0;
33909                   to_y: "elm.bar_bg";
33910                }
33911                rel2 {
33912                   relative: 1.0 1.0;
33913                   to_y: "elm.bar_bg";
33914                }
33915                align: 1.0 0.5;
33916             }
33917          }
33918       }
33919    }
33920
33921    group{ name: "elm/colorselector/image/colorbar_0";
33922       images {
33923          image: "color_picker_color.png" COMP;
33924       }
33925       parts {
33926          part { name: "colorbar_0_image";
33927             type: IMAGE;
33928             mouse_events: 1;
33929             description { state: "default" 0.0;
33930                rel2.offset: -1 -1;
33931                image.normal: "color_picker_color.png";
33932             }
33933          }
33934       }
33935    }
33936
33937    group { name: "elm/colorselector/image/colorbar_1";
33938       images {
33939          image: "color_picker_opacity.png" COMP;
33940       }
33941       parts {
33942          part { name: "colorbar_1_image";
33943             type: IMAGE;
33944             mouse_events: 1;
33945             description { state: "default" 0.0;
33946                rel2.offset: -1 -1;
33947                image.normal: "color_picker_opacity.png";
33948             }
33949          }
33950       }
33951    }
33952
33953    group { name: "elm/colorselector/image/colorbar_2";
33954       images {
33955          image: "color_picker_brightness.png" COMP;
33956       }
33957       parts {
33958          part { name: "colorbar_2_image";
33959             type: IMAGE;
33960             mouse_events: 1;
33961             description { state: "default" 0.0;
33962                rel2.offset: -1 -1;
33963                image.normal: "color_picker_brightness.png";
33964             }
33965          }
33966       }
33967    }
33968
33969    group { name: "elm/colorselector/image/colorbar_3";
33970       images {
33971          image: "color_picker_alpha.png" COMP;
33972       }
33973       parts {
33974          part { name: "colorbar_3_image";
33975             type: IMAGE;
33976             mouse_events: 1;
33977             description { state: "default" 0.0;
33978                rel2.offset: -1 -1;
33979                image.normal: "color_picker_alpha.png";
33980             }
33981          }
33982       }
33983    }
33984
33985    group { name: "elm/colorselector/bg_image/colorbar_3";
33986       images {
33987          image: "color_picker_alpha_bg.png" COMP;
33988       }
33989       parts {
33990          part { name: "colorbar_3_image";
33991             type: IMAGE;
33992             mouse_events: 1;
33993             description { state: "default" 0.0;
33994                rel2.offset: -1 -1;
33995                image.normal: "color_picker_alpha_bg.png";
33996             }
33997          }
33998       }
33999    }
34000
34001    group { name: "elm/colorselector/image/updown";
34002       images {
34003          image: "icon_arrow_down.png" COMP;
34004       }
34005       parts {
34006          part { name: "bg";
34007             type: RECT;
34008             mouse_events: 1;
34009             description { state: "default" 0.0;
34010                color: 0 0 0 0;
34011             }
34012          }
34013          part { name: "arrow_image";
34014             type: IMAGE;
34015             mouse_events: 1;
34016             description { state: "default" 0.0;
34017                image.normal: "icon_arrow_down.png";
34018             }
34019          }
34020       }
34021    }
34022
34023    group { name: "elm/colorselector/button/left";
34024       images {
34025          image: "bt_base1.png" COMP;
34026          image: "bt_shine.png" COMP;
34027          image: "sp_bt_l.png" COMP;
34028       }
34029       parts {
34030          part { name: "button_image";
34031             mouse_events: 1;
34032             description { state: "default" 0.0;
34033                image.normal: "bt_base1.png";
34034                image.border: 6 6 6 6;
34035                image.middle: SOLID;
34036             }
34037
34038             description { state: "clicked" 0.0;
34039                inherit: "default" 0.0;
34040                image.normal: "bt_shine.png";
34041                image.border: 6 6 6 6;
34042                image.middle: SOLID;
34043             }
34044          }
34045          part { name: "btn_over";
34046             type: IMAGE;
34047             mouse_events: 0;
34048             description { state: "default" 0.0;
34049                rel1.to: "button_image";
34050                rel2 {
34051                   relative: 1.0 0.5;
34052                   to: "button_image";
34053                }
34054                image {
34055                   normal: "bt_hilight.png";
34056                   border: 7 7 7 0;
34057                }
34058             }
34059          }
34060          part { name: "btn_over2";
34061             type: IMAGE;
34062             mouse_events: 1;
34063             repeat_events: 1;
34064             ignore_flags: ON_HOLD;
34065             description { state: "default" 0.0;
34066                rel1.to: "button_image";
34067                rel2.to: "button_image";
34068                image {
34069                   normal: "bt_shine.png";
34070                   border: 7 7 7 7;
34071                }
34072             }
34073          }
34074          part { name: "focus_image";
34075             type: IMAGE;
34076             description { state: "default" 0.0;
34077                color: 255 255 255 0;
34078                rel1.to: "button_image";
34079                rel2.to: "button_image";
34080                image {
34081                   normal: "bt_glow.png";
34082                   border: 12 12 12 12;
34083                }
34084                fill.smooth: 0;
34085
34086             }
34087             description { state: "clicked" 0.0;
34088                inherit: "default" 0.0;
34089                visible: 1;
34090                color: 255 255 255 255;
34091             }
34092          }
34093          part { name: "left_arrow";
34094             mouse_events: 1;
34095             description { state: "default" 0.0;
34096                min: 16 16;
34097                max: 16 16;
34098                image.normal: "sp_bt_l.png";
34099             }
34100          }
34101       }
34102
34103       programs {
34104          program {
34105             name:   "button_down";
34106             signal: "elm,state,left,button,down";
34107             source: "left_button";
34108             action: STATE_SET "clicked" 0.0;
34109             target: "button_image";
34110             target: "focus_image";
34111          }
34112          program {
34113             name:   "button_up";
34114             signal: "elm,state,left,button,up";
34115             source: "left_button";
34116             action: STATE_SET "default" 0.0;
34117             target: "button_image";
34118             target: "focus_image";
34119          }
34120       }
34121    }
34122
34123    group { name: "elm/colorselector/button/right";
34124       images {
34125          image: "bt_base1.png" COMP;
34126          image: "bt_shine.png" COMP;
34127          image: "sp_bt_r.png" COMP;
34128       }
34129       parts {
34130          part { name: "button_image";
34131             mouse_events: 1;
34132             description { state: "default" 0.0;
34133                image.normal: "bt_base1.png";
34134                image.border: 6 6 6 6;
34135                image.middle: SOLID;
34136             }
34137
34138             description { state: "clicked" 0.0;
34139                inherit: "default" 0.0;
34140                image.normal: "bt_shine.png";
34141                image.border: 6 6 6 6;
34142                image.middle: SOLID;
34143             }
34144          }
34145          part { name: "btn_over";
34146             type: IMAGE;
34147             mouse_events: 0;
34148             description { state: "default" 0.0;
34149                rel1.to: "button_image";
34150                rel2 {
34151                   relative: 1.0 0.5;
34152                   to: "button_image";
34153                }
34154                image {
34155                   normal: "bt_hilight.png";
34156                   border: 7 7 7 0;
34157                }
34158             }
34159          }
34160          part { name: "btn_over2";
34161             type: IMAGE;
34162             mouse_events: 1;
34163             repeat_events: 1;
34164             ignore_flags: ON_HOLD;
34165             description { state: "default" 0.0;
34166                rel1.to: "button_image";
34167                rel2.to: "button_image";
34168                image {
34169                   normal: "bt_shine.png";
34170                   border: 7 7 7 7;
34171                }
34172             }
34173          }
34174          part { name: "focus_image";
34175             type: IMAGE;
34176             description { state: "default" 0.0;
34177                color: 255 255 255 0;
34178                rel1.to: "button_image";
34179                rel2.to: "button_image";
34180                image {
34181                   normal: "bt_glow.png";
34182                   border: 12 12 12 12;
34183                }
34184                fill.smooth: 0;
34185
34186             }
34187             description { state: "clicked" 0.0;
34188                inherit: "default" 0.0;
34189                visible: 1;
34190                color: 255 255 255 255;
34191             }
34192          }
34193          part { name: "right_arrow";
34194             mouse_events: 1;
34195             description { state: "default" 0.0;
34196                min: 16 16;
34197                max: 16 16;
34198                image.normal: "sp_bt_r.png";
34199             }
34200          }
34201       }
34202
34203       programs {
34204          program {
34205             name:   "button_down";
34206             signal: "elm,state,right,button,down";
34207             source: "right_button";
34208             action: STATE_SET "clicked" 0.0;
34209             target: "button_image";
34210             target: "focus_image";
34211          }
34212          program {
34213             name:   "button_up";
34214             signal: "elm,state,right,button,up";
34215             source: "right_button";
34216             action: STATE_SET "default" 0.0;
34217             target: "button_image";
34218             target: "focus_image";
34219          }
34220       }
34221    }
34222
34223 ///////////////////////////////////////////////////////////////////////////////
34224 #define FLIP_PICKER_MAX_LEN (50)
34225 #define FLIP_PICKER_MAX_LEN_STR "50"
34226
34227    group { name: "elm/flipselector/base/default";
34228       images {
34229          image: "flip_base.png" COMP;
34230          image: "flip_base_shad.png" COMP;
34231          image: "flip_shad.png" COMP;
34232          image: "arrow_up.png" COMP;
34233          image: "arrow_down.png" COMP;
34234          image: "flip_t.png" COMP;
34235          image: "flip_b.png" COMP;
34236       }
34237
34238       data {
34239          item: "max_len" FLIP_PICKER_MAX_LEN_STR;
34240       }
34241
34242       //FIXME: quick successive clicks on, say, up, lead to nastiness
34243       script {
34244          public cur, prev, next, lock;
34245
34246          public animator_bottom_down(val, Float:pos) {
34247             new tmp[FLIP_PICKER_MAX_LEN];
34248
34249             set_tween_state(PART:"bottom", pos, "shrink", 0.0, "default", 0.0);
34250             set_tween_state(PART:"bottom_sheet", pos, "shrink", 0.0, "default",
34251                             0.0);
34252             set_tween_state(PART:"shadow", pos, "half", 0.0, "full",
34253                             0.0);
34254
34255             if (pos >= 1.0) {
34256                set_state(PART:"shadow", "default", 0.0);
34257                set_int(lock, 0);
34258
34259                fetch_str(next, 0, tmp, FLIP_PICKER_MAX_LEN);
34260                if (strncmp(tmp, "", FLIP_PICKER_MAX_LEN) != 0) {
34261                   replace_str(next, 0, "");
34262                   message(MSG_STRING, 1, tmp);
34263                }
34264             }
34265          }
34266
34267          public animator_top_down(val, Float:pos) {
34268             set_tween_state(PART:"top", pos, "default", 0.0, "shrink", 0.0);
34269             set_tween_state(PART:"top_sheet", pos, "default", 0.0, "shrink",
34270                             0.0);
34271             set_tween_state(PART:"shadow", pos, "default", 0.0, "half",
34272                             0.0);
34273
34274             if (pos >= 1.0)
34275                anim(0.2, "animator_bottom_down", val);
34276          }
34277
34278          public animator_bottom_up(val, Float:pos) {
34279             set_tween_state(PART:"bottom", pos, "default", 0.0, "shrink", 0.0);
34280             set_tween_state(PART:"bottom_sheet", pos, "default", 0.0, "shrink",
34281                             0.0);
34282             set_tween_state(PART:"shadow", pos, "full", 0.0, "half",
34283                             0.0);
34284
34285             if (pos >= 1.0)
34286                anim(0.2, "animator_top_up", val);
34287          }
34288
34289          public animator_top_up(val, Float:pos) {
34290             new tmp[FLIP_PICKER_MAX_LEN];
34291
34292             set_tween_state(PART:"top", pos, "shrink", 0.0, "default", 0.0);
34293             set_tween_state(PART:"top_sheet", pos, "shrink", 0.0, "default",
34294                             0.0);
34295             set_tween_state(PART:"shadow", pos, "half", 0.0, "default",
34296                             0.0);
34297
34298             if (pos >= 1.0) {
34299                set_state(PART:"shadow", "default", 0.0);
34300                set_int(lock, 0);
34301
34302                fetch_str(next, 0, tmp, FLIP_PICKER_MAX_LEN);
34303                if (strncmp(tmp, "", FLIP_PICKER_MAX_LEN) != 0) {
34304                   replace_str(next, 0, "");
34305                   message(MSG_STRING, 2, tmp);
34306                }
34307             }
34308          }
34309
34310          public message(Msg_Type:type, id, ...) {
34311             /* flip down */
34312             if ((type == MSG_STRING) && (id == 1)) {
34313                new value[FLIP_PICKER_MAX_LEN], tmp[FLIP_PICKER_MAX_LEN];
34314
34315                snprintf(value, FLIP_PICKER_MAX_LEN, "%s", getarg(2));
34316
34317                if (get_int(lock) == 1) {
34318                   replace_str(next, 0, value);
34319                   return;
34320                }
34321
34322                fetch_str(cur, 0, tmp, FLIP_PICKER_MAX_LEN);
34323
34324                set_text(PART:"bottom_b", tmp);
34325
34326                set_state(PART:"top", "shrink", 0.0);
34327                set_text(PART:"top", tmp);
34328                set_state(PART:"top", "default", 0.0);
34329                set_text(PART:"top", tmp);
34330
34331                replace_str(prev, 0, tmp);
34332
34333                set_state(PART:"bottom", "default", 0.0);
34334                set_text(PART:"bottom", value);
34335                set_state(PART:"bottom", "shrink", 0.0);
34336                set_text(PART:"bottom", value);
34337
34338                set_text(PART:"top_b", value);
34339
34340                replace_str(cur, 0, value);
34341
34342                set_state(PART:"bottom_sheet", "shrink", 0.0);
34343                set_state(PART:"top_sheet", "default", 0.0);
34344
34345                set_int(lock, 1);
34346                set_state(PART:"shadow", "default", 0.0);
34347                anim(0.2, "animator_top_down", 1);
34348             }
34349
34350             /* flip up */
34351             if ((type == MSG_STRING) && (id == 2)) {
34352                new value[FLIP_PICKER_MAX_LEN], tmp[FLIP_PICKER_MAX_LEN];
34353
34354                snprintf(value, FLIP_PICKER_MAX_LEN, "%s", getarg(2));
34355
34356                if (get_int(lock) == 1) {
34357                   replace_str(next, 0, value);
34358                   return;
34359                }
34360
34361                fetch_str(cur, 0, tmp, FLIP_PICKER_MAX_LEN);
34362
34363                set_text(PART:"top_b", tmp);
34364
34365                set_state(PART:"bottom", "shrink", 0.0);
34366                set_text(PART:"bottom", tmp);
34367                set_state(PART:"bottom", "default", 0.0);
34368                set_text(PART:"bottom", tmp);
34369
34370                replace_str(prev, 0, tmp);
34371
34372                set_state(PART:"top", "default", 0.0);
34373                set_text(PART:"top", value);
34374                set_state(PART:"top", "shrink", 0.0);
34375                set_text(PART:"top", value);
34376
34377                set_text(PART:"bottom_b", value);
34378
34379                replace_str(cur, 0, value);
34380
34381                set_state(PART:"bottom_sheet", "default", 0.0);
34382                set_state(PART:"top_sheet", "shrink", 0.0);
34383
34384                set_int(lock, 1);
34385                set_state(PART:"shadow", "full", 0.0);
34386                anim(0.2, "animator_bottom_up", 1);
34387             }
34388          }
34389       }
34390
34391       parts {
34392          part { name: "shad";
34393             mouse_events: 0;
34394             description { state: "default" 0.0;
34395                rel1.offset: -4 -4;
34396                rel1.to: "base";
34397                rel2.offset: 3 3;
34398                rel2.to: "base";
34399                image {
34400                   normal: "flip_base_shad.png";
34401                   border: 8 8 8 8;
34402                }
34403             }
34404          }
34405
34406          part { name: "base";
34407             scale: 1;
34408             description { state: "default" 0.0;
34409                rel1.offset: 4 4;
34410                rel2.offset: -5 -5;
34411                min: 24 48;
34412                image.normal: "flip_base.png";
34413             }
34414          }
34415
34416          part { name: "b";
34417             type: RECT;
34418             mouse_events: 1;
34419             description { state: "default" 0.0;
34420                rel1.to: "base";
34421                rel1.relative: 0.0 0.5;
34422                rel2.to: "base";
34423                color: 0 0 0 0;
34424             }
34425             description { state: "hidden" 0.0;
34426                inherit: "default" 0.0;
34427                visible: 0;
34428             }
34429          }
34430
34431          part { name: "t";
34432             type: RECT;
34433             mouse_events: 1;
34434             description { state: "default" 0.0;
34435                rel1.to: "base";
34436                rel2.to: "base";
34437                rel2.relative: 1.0 0.5;
34438                color: 0 0 0 0;
34439             }
34440             description { state: "hidden" 0.0;
34441                inherit: "default" 0.0;
34442                visible: 0;
34443             }
34444          }
34445
34446          part { name: "bottom_sheet_static";
34447             mouse_events: 0;
34448             description { state: "default" 0.0;
34449                visible: 1;
34450                rel1.to: "b";
34451                rel2.to: "b";
34452                image.normal: "flip_b.png";
34453             }
34454          }
34455
34456          part { name: "bottom_b";
34457             mouse_events: 0;
34458             clip_to: "bottom_clipper";
34459             type: TEXT;
34460             scale: 1;
34461             description { state: "default" 0.0;
34462                rel1.to: "base";
34463                rel2.to: "base";
34464                color: 0 0 0 255;
34465                color2: 0 0 0 255;
34466                text {
34467                   font: "Sans:style=Bold,Edje-Vera-Bold";
34468                   size: 30;
34469                   min: 1 1;
34470                   align: 0.5 0.5;
34471                }
34472             }
34473          }
34474
34475          part { name: "shadow";
34476             mouse_events: 0;
34477             description { state: "default" 0.0;
34478                rel1.to: "b";
34479                rel2.to: "b";
34480                rel2.relative: 1.0 0.0;
34481                image.normal: "flip_shad.png";
34482             }
34483             description { state: "half" 0.0;
34484                inherit: "default" 0.0;
34485                rel2.relative: 1.0 0.5;
34486             }
34487             description { state: "full" 0.0;
34488                inherit: "default" 0.0;
34489                rel2.relative: 1.0 1.0;
34490             }
34491          }
34492
34493          part { name: "bottom_sheet";
34494             mouse_events: 0;
34495             description { state: "default" 0.0;
34496                visible: 1;
34497                rel1.to: "b";
34498                rel2.to: "b";
34499                image.normal: "flip_b.png";
34500             }
34501             description { state: "shrink" 0.0;
34502                inherit: "default" 0.0;
34503                visible: 0;
34504                rel2.relative: 1.0 0.0;
34505             }
34506          }
34507
34508          part { name: "bottom";
34509             mouse_events: 0;
34510             clip_to: "bottom_clipper";
34511             type: TEXT;
34512             scale: 1;
34513             description { state: "default" 0.0;
34514                rel1.to: "base";
34515                rel2.to: "base";
34516                color: 0 0 0 255;
34517                color2: 0 0 0 255;
34518                text {
34519                   font: "Sans:style=Bold,Edje-Vera-Bold";
34520                   size: 30;
34521                   min: 1 1;
34522                   align: 0.5 0.5;
34523                }
34524             }
34525             description { state: "shrink" 0.0;
34526                inherit: "default" 0.0;
34527                color: 128 128 128 255;
34528                visible: 0;
34529                rel2.relative: 1.0 0.5; /* FIXME: same visual effect? --> MAP! */
34530             }
34531          }
34532
34533          part { name: "top_sheet_static";
34534             mouse_events: 0;
34535             description { state: "default" 0.0;
34536                visible: 1;
34537                rel1.to: "t";
34538                rel2.to: "t";
34539                image.normal: "flip_t.png";
34540             }
34541          }
34542
34543          part { name: "top_b";
34544             mouse_events: 0;
34545             clip_to: "top_clipper";
34546             type: TEXT;
34547             scale: 1;
34548             description { state: "default" 0.0;
34549                rel1.to: "base";
34550                rel2.to: "base";
34551                color: 0 0 0 255;
34552                color2: 0 0 0 255;
34553                text {
34554                   font: "Sans:style=Bold,Edje-Vera-Bold";
34555                   size: 30;
34556                   min: 1 1;
34557                   align: 0.5 0.5;
34558                   source: "top";
34559                }
34560             }
34561          }
34562
34563          part { name: "top_sheet";
34564             mouse_events: 0;
34565             description { state: "default" 0.0;
34566                visible: 1;
34567                rel1.to: "t";
34568                rel2.to: "t";
34569                image.normal: "flip_t.png";
34570             }
34571             description { state: "shrink" 0.0;
34572                inherit: "default" 0.0;
34573                color: 128 128 128 255;
34574                visible: 0;
34575                rel1.relative: 0.0 1.0;
34576             }
34577          }
34578
34579          part { name: "top";
34580             mouse_events: 0;
34581             clip_to: "top_clipper";
34582             type: TEXT;
34583             scale: 1;
34584             description { state: "default" 0.0;
34585                rel1.to: "base";
34586                rel2.to: "base";
34587                color: 0 0 0 255;
34588                color2: 0 0 0 255;
34589                text {
34590                   font: "Sans:style=Bold,Edje-Vera-Bold";
34591                   size: 30;
34592                   min: 1 1;
34593                   align: 0.5 0.5;
34594                }
34595             }
34596             description { state: "shrink" 0.0;
34597                inherit: "default" 0.0;
34598                visible: 0;
34599                rel1.relative: 0.0 0.5;
34600             }
34601          }
34602
34603          part { name: "arrow_top";
34604             mouse_events: 0;
34605             scale: 1;
34606             description { state: "default" 0.0;
34607                min: 15 15;
34608                max: 15 15;
34609                align: 0.5 0.0;
34610                rel1.to: "t";
34611                rel2.to: "t";
34612                image.normal: "arrow_up.png";
34613             }
34614             description { state: "hidden" 0.0;
34615                inherit: "default" 0.0;
34616                visible: 0;
34617             }
34618          }
34619          part { name: "arrow_bottom";
34620             mouse_events: 0;
34621             scale: 1;
34622             description { state: "default" 0.0;
34623                min: 15 15;
34624                max: 15 15;
34625                align: 0.5 1.0;
34626                rel1.to: "b";
34627                rel2.to: "b";
34628                image.normal: "arrow_down.png";
34629             }
34630             description { state: "hidden" 0.0;
34631                inherit: "default" 0.0;
34632                visible: 0;
34633             }
34634          }
34635
34636          part {
34637             type: RECT;
34638             mouse_events: 0;
34639             name: "top_clipper";
34640             description {
34641                state: "default" 0.0;
34642                rel1.to: "t";
34643                rel2.to: "t";
34644                visible: 1;
34645             }
34646          }
34647
34648          part {
34649             type: RECT;
34650             mouse_events: 0;
34651             name: "bottom_clipper";
34652             description {
34653                state: "default" 0.0;
34654                rel1.to: "b";
34655                rel2.to: "b";
34656                visible: 1;
34657             }
34658          }
34659       }
34660
34661       programs {
34662          program { name: "load";
34663             signal: "load";
34664             source: "";
34665             script {
34666                append_str(cur, "");
34667                append_str(prev, "");
34668                append_str(next, "");
34669                set_int(lock, 0);
34670             }
34671          }
34672
34673          program { name: "hide_arrows";
34674             signal: "elm,state,button,hidden";
34675             source: "elm";
34676             action: STATE_SET "hidden" 0.0;
34677             target: "arrow_top";
34678             target: "arrow_bottom";
34679             target: "t";
34680             target: "b";
34681          }
34682
34683          program { name: "show_arrows";
34684             signal: "elm,state,button,visible";
34685             source: "elm";
34686             action: STATE_SET "default" 0.0;
34687             target: "arrow_top";
34688             target: "arrow_bottom";
34689             target: "t";
34690             target: "b";
34691          }
34692
34693          program { name: "up";
34694             signal: "mouse,down,1";
34695             source: "t";
34696             action: SIGNAL_EMIT "elm,action,up,start" "";
34697          }
34698          program { name: "up,stop";
34699             signal: "mouse,up,1";
34700             source: "t";
34701             action: SIGNAL_EMIT "elm,action,up,stop" "";
34702          }
34703          program { name: "down";
34704             signal: "mouse,down,1";
34705             source: "b";
34706             action: SIGNAL_EMIT "elm,action,down,start" "";
34707          }
34708          program { name: "down,stop";
34709             signal: "mouse,up,1";
34710             source: "b";
34711             action: SIGNAL_EMIT "elm,action,down,stop" "";
34712          }
34713       }
34714    }
34715
34716 ////////////////////////////////////////////////////////////////////////////////
34717 // diskselector
34718 ////////////////////////////////////////////////////////////////////////////////
34719    group { name: "elm/diskselector/base/default";
34720       images {
34721          image: "bar_shine.png" COMP;
34722       }
34723
34724       parts {
34725          part { name: "bg";
34726             type: RECT;
34727             mouse_events: 0;
34728             description { state: "default" 0.0;
34729                color: 0 0 0 255;
34730             }
34731          }
34732          part { name: "shine_left";
34733             mouse_events:  0;
34734             description { state: "default" 0.0;
34735                rel1.to: "bg";
34736                rel1.relative: -0.1 0;
34737                rel2.to: "bg";
34738                rel2.relative: 0.1 1;
34739                image.normal: "bar_shine.png";
34740                color: 255 255 255 120;
34741             }
34742          }
34743          part { name: "shine_center";
34744             mouse_events:  0;
34745             description { state: "default" 0.0;
34746                rel1.to: "bg";
34747                rel1.relative: 0.2 0;
34748                rel2.to: "bg";
34749                rel2.relative: 0.8 1;
34750                image.normal: "bar_shine.png";
34751                color: 255 255 255 180;
34752             }
34753          }
34754          part { name: "shine_right";
34755             mouse_events:  0;
34756             description { state: "default" 0.0;
34757                rel1.to: "bg";
34758                rel1.relative: 0.9 0;
34759                rel2.to: "bg";
34760                rel2.relative: 1.1 1;
34761                image.normal: "bar_shine.png";
34762                color: 255 255 255 120;
34763             }
34764          }
34765          part { name: "clipper";
34766             type: RECT;
34767             mouse_events: 0;
34768             description { state: "default" 0.0;
34769                rel1.to: "bg";
34770                rel2.to: "bg";
34771                rel1.offset: 2 2;
34772                rel2.offset: -3 -3;
34773             }
34774          }
34775          part { name: "elm.swallow.content";
34776             clip_to: "clipper";
34777             type: SWALLOW;
34778             description { state: "default" 0.0;
34779                rel1.to: "bg";
34780                rel2.to: "bg";
34781             }
34782          }
34783       }
34784    }
34785
34786    group { name: "elm/diskselector/item/default";
34787
34788       data {
34789          item: "len_threshold" "14";
34790          item: "display_item_num" "3";
34791          item: "min_height" "-1";
34792          item: "min_width" "-1";
34793       }
34794
34795       parts {
34796          part { name: "elm.swallow.icon";
34797             type: SWALLOW;
34798             description { state: "default" 0.0;
34799                fixed: 1 0;
34800                align: 0.0 0.5;
34801                rel1 {
34802                   relative: 0 0;
34803                   offset: 4 4;
34804                }
34805                rel2 {
34806                   relative: 0 1;
34807                   offset: 4 -5;
34808                }
34809             }
34810             description { state: "show" 0.0;
34811                inherit: "default" 0.0;
34812             }
34813             description { state: "default_small" 0.0;
34814                inherit: "default" 0.0;
34815                rel1.relative: 0 0.2;
34816                rel2.relative: 0 0.8;
34817             }
34818             description { state: "left_side" 0.0;
34819                inherit: "default" 0.0;
34820                rel1.relative: 0 0.2;
34821                rel2.relative: 0 0.8;
34822                color: 255 255 255 160;
34823             }
34824             description { state: "right_side" 0.0;
34825                inherit: "left_side" 0.0;
34826                rel1.relative: 0.4 0.2;
34827                rel2.relative: 0.4 0.8;
34828                color: 255 255 255 160;
34829             }
34830          }
34831          part { name: "elm.text";
34832             type: TEXT;
34833             mouse_events: 0;
34834             scale: 1;
34835             description { state: "default" 0.0;
34836                rel1.relative: 1 0.0;
34837                rel1.to_x: "elm.swallow.icon";
34838                rel2.relative: 1.0 1.0;
34839                color: 255 255 255 255;
34840                visible: 0;
34841                text {
34842                   font: "Sans,Edje-Vera";
34843                   size: 13;
34844                   align: 0.5 0.5;
34845                   min: 0 1;
34846                }
34847             }
34848             description { state: "show" 0.0;
34849                inherit: "default" 0.0;
34850                visible: 1;
34851             }
34852             description { state: "default_small" 0.0;
34853                inherit: "default" 0.0;
34854                visible: 1;
34855                text.size: 10;
34856             }
34857             description { state: "left_side" 0.0;
34858                inherit: "default" 0.0;
34859                color: 172 172 172 255;
34860                text.size: 10;
34861                visible: 1;
34862                text.align: 0.2 0.5;
34863             }
34864             description { state: "right_side" 0.0;
34865                inherit: "default" 0.0;
34866                color: 172 172 172 255;
34867                visible: 1;
34868                text.size: 10;
34869                text.align: 0.8 0.5;
34870             }
34871          }
34872       }
34873
34874       programs {
34875          program { name: "center_text";
34876             signal: "elm,state,center";
34877             source: "elm";
34878             action: STATE_SET "show" 0.0;
34879             target: "elm.text";
34880             target: "elm.swallow.icon";
34881          }
34882          program { name: "center_small_text";
34883             signal: "elm,state,center_small";
34884             source: "elm";
34885             action: STATE_SET "default_small" 0.0;
34886             target: "elm.text";
34887             target: "elm.swallow.icon";
34888          }
34889          program { name: "l_side_text";
34890             signal: "elm,state,left_side";
34891             source: "elm";
34892             action: STATE_SET "left_side" 0.0;
34893             target: "elm.text";
34894             target: "elm.swallow.icon";
34895          }
34896          program { name: "r_side_text";
34897             signal: "elm,state,right_side";
34898             source: "elm";
34899             action: STATE_SET "right_side" 0.0;
34900             target: "elm.text";
34901             target: "elm.swallow.icon";
34902          }
34903       }
34904    }
34905
34906    group { name: "elm/entry/path/separator/default";
34907       images.image: "arrow_right.png" COMP;
34908       parts {
34909          part { name: "icon";
34910             mouse_events: 0;
34911             description { state: "default" 0.0;
34912                image.normal: "arrow_right.png";
34913                max: 64 64;
34914                aspect: 1.0 1.0;
34915             }
34916          }
34917       }
34918    }
34919
34920    group { name: "elm/fileselector/base/default";
34921       data {
34922          item: "path_separator" "<item relsize=16x16 vsize=full href=path/separator></item>";
34923       }
34924       parts {
34925          part { name: "elm.swallow.up";
34926             type: SWALLOW;
34927             description { state: "default" 0.0;
34928                align: 0.0 0.0;
34929                min: 10 10;
34930                fixed: 1 1;
34931                rel2 {
34932                   relative: 0.0 0.0;
34933                   offset: 0 0;
34934                }
34935             }
34936          }
34937          part { name: "elm.swallow.home";
34938             type: SWALLOW;
34939             description { state: "default" 0.0;
34940                align: 0.0 0.0;
34941                min: 10 10;
34942                fixed: 1 1;
34943                rel1 {
34944                   to: "elm.swallow.up";
34945                   relative: 1.0 0.0;
34946                   offset: 5 0;
34947                }
34948                rel2 {
34949                   to: "elm.swallow.up";
34950                   relative: 1.0 1.0;
34951                   offset: 20 -1;
34952                }
34953             }
34954          }
34955          part { name: "elm.swallow.files";
34956             type: SWALLOW;
34957             description { state: "default" 0.0;
34958                align: 1.0 0.0;
34959                min: 10 10;
34960                fixed: 1 1;
34961                rel1 {
34962                   to_y: "elm.swallow.home";
34963                   relative: 0.0 1.0;
34964                   offset: 0 0;
34965                }
34966                rel2 {
34967                   to_y: "elm.swallow.path";
34968                   relative: 1.0 0.0;
34969                   offset: -1 -1;
34970                }
34971             }
34972          }
34973          part { name: "elm.swallow.path";
34974             type: SWALLOW;
34975             description { state: "default" 0.0;
34976                align: 0.5 1.0;
34977                fixed: 1 1;
34978                rel1 {
34979                   to_y: "elm.swallow.filename";
34980                   relative: 0.0 0.0;
34981                   offset: 0 -1;
34982                }
34983                rel2 {
34984                   to_y: "elm.swallow.filename";
34985                   relative: 1.0 0.0;
34986                   offset: -1 -1;
34987                }
34988             }
34989          }
34990          part { name: "elm.swallow.filename";
34991             type: SWALLOW;
34992             description { state: "default" 0.0;
34993                align: 0.5 1.0;
34994                fixed: 1 1;
34995                rel1 {
34996                   to_y: "elm.swallow.ok";
34997                   relative: 0.0 0.0;
34998                   offset: 0 -1;
34999                }
35000                rel2 {
35001                   to_y: "elm.swallow.ok";
35002                   relative: 1.0 0.0;
35003                   offset: -1 -1;
35004                }
35005             }
35006          }
35007          part { name: "elm.swallow.cancel";
35008             type: SWALLOW;
35009             description { state: "default" 0.0;
35010                align: 1.0 1.0;
35011                fixed: 1 1;
35012                rel1 {
35013                   to: "elm.swallow.ok";
35014                   relative: 0.0 0.0;
35015                   offset: -3 0;
35016                }
35017                rel2 {
35018                   to: "elm.swallow.ok";
35019                   relative: 0.0 1.0;
35020                   offset: -3 -1;
35021                }
35022             }
35023          }
35024          part { name: "elm.swallow.ok";
35025             type: SWALLOW;
35026             description { state: "default" 0.0;
35027                align: 1.0 1.0;
35028                fixed: 1 1;
35029                rel1 {
35030                   relative: 1.0 1.0;
35031                   offset: -1 -1;
35032                }
35033             }
35034          }
35035       }
35036    }
35037
35038    group { name: "elm/fileselector_entry/base/default";
35039       parts {
35040          part { name: "elm.swallow.entry";
35041             type: SWALLOW;
35042             description { state: "default" 0.0;
35043                align: 0.0 0.0;
35044                min: 50 10;
35045                rel2 { to_x: "elm.swallow.button";
35046                   relative: 0.0 1.0;
35047                   offset: -1 -1;
35048                }
35049             }
35050          }
35051          part { name: "elm.swallow.button";
35052             type: SWALLOW;
35053             description { state: "default" 0.0;
35054                align: 1.0 0.0;
35055                min: 10 10;
35056                fixed: 1 1;
35057                rel1 {
35058                   relative: 1.0 0.0;
35059                   offset: -21 0;
35060                }
35061             }
35062          }
35063       }
35064    }
35065
35066 ////////////////////////////////////////////////////////////////////////
35067 // Standard layouts to be used                                        //
35068 ////////////////////////////////////////////////////////////////////////
35069    /* application with toolbar and main content area */
35070    group { name: "elm/layout/application/toolbar-content";
35071       parts {
35072          part { name: "elm.swallow.content";
35073             type: SWALLOW;
35074             description { state: "default" 0.0;
35075                rel1 { to_y: "elm.external.toolbar";
35076                   relative: 0.0 1.0;
35077                   offset: -1 1;
35078                }
35079             }
35080          }
35081
35082          part { name: "elm.external.toolbar";
35083             type: EXTERNAL;
35084             source: "elm/toolbar";
35085             description { state: "default" 0.0;
35086                align: 0.5 0.0;
35087                fixed: 0 1;
35088                rel2 {
35089                   relative: 1.0 0.0;
35090                   offset: -1 47;
35091                }
35092             }
35093          }
35094       }
35095    }
35096
35097    /* application with toolbar and main content area with a back button and title area */
35098    group { name: "elm/layout/application/toolbar-content-back";
35099       parts {
35100          part { name: "elm.swallow.content";
35101             type: SWALLOW;
35102             description { state: "default" 0.0;
35103                rel1 { to_y: "title_clipper";
35104                   relative: 0.0 1.0;
35105                   offset: -1 1;
35106                }
35107             }
35108          }
35109
35110          part { name: "elm.external.toolbar";
35111             type: EXTERNAL;
35112             source: "elm/toolbar";
35113             description { state: "default" 0.0;
35114                fixed: 0 1;
35115                align: 0.5 0.0;
35116                rel2 {
35117                   relative: 1.0 0.0;
35118                   offset: -1 47;
35119                }
35120             }
35121          }
35122          part { name: "title_clipper";
35123             type: RECT;
35124             description { state: "default" 0.0;
35125                visible: 1;
35126                rel1 {
35127                   to_y: "back";
35128                }
35129                rel2 {
35130                   to_y: "back";
35131                }
35132             }
35133             description { state: "hidden" 0.0;
35134                inherit: "default" 0.0;
35135                visible: 0;
35136                rel2 {
35137                   relative: 1.0 0.0;
35138                }
35139             }
35140          }
35141          part { name: "back_clipper";
35142             type: RECT;
35143             clip_to: "title_clipper";
35144             description { state: "default" 0.0;
35145                visible: 1;
35146             }
35147             description { state: "hidden" 0.0;
35148                visible: 0;
35149             }
35150          }
35151          part { name: "back";
35152             type: EXTERNAL;
35153             source: "elm/button";
35154             clip_to: "back_clipper";
35155             description { state: "default" 0.0;
35156                align: 0.0 0.0;
35157                fixed: 1 1;
35158                rel1 { to_y: "elm.external.toolbar";
35159                   relative: 0.0 1.0;
35160                   offset: 0 1;
35161                }
35162                rel2 { to_y: "elm.external.toolbar";
35163                   relative: 0.0 1.0;
35164                   offset: 50 32;
35165                }
35166                params.string: "label" "Back";
35167             }
35168          }
35169          programs {
35170             program {
35171                signal: "clicked";
35172                source: "back";
35173                action: SIGNAL_EMIT "elm,action,back" "";
35174             }
35175             program {
35176                signal: "elm,back,hide";
35177                source: "elm";
35178                action: STATE_SET "hidden" 0.0;
35179                target: "back_clipper";
35180             }
35181             program {
35182                signal: "elm,back,show";
35183                source: "elm";
35184                action: STATE_SET "default" 0.0;
35185                target: "back_clipper";
35186             }
35187             program {
35188                signal: "elm,title,hide";
35189                source: "elm";
35190                action: STATE_SET "hidden" 0.0;
35191                transition: LINEAR 0.1;
35192                target: "title_clipper";
35193             }
35194             program {
35195                signal: "elm,title,show";
35196                source: "elm";
35197                action: STATE_SET "default" 0.0;
35198                target: "title_clipper";
35199             }
35200          }
35201
35202          part { name: "elm.swallow.end";
35203             type: SWALLOW;
35204             description { state: "default" 0.0;
35205                align: 1.0 0.0;
35206                fixed: 1 1;
35207                rel1 { to_y: "elm.external.toolbar";
35208                   relative: 1.0 1.0;
35209                   offset: -2 1;
35210                }
35211                rel2 { to_y: "elm.external.toolbar";
35212                   relative: 1.0 1.0;
35213                   offset: -1 32;
35214                }
35215             }
35216          }
35217
35218          part { name: "elm.text.title";
35219             type: TEXT;
35220             effect: SOFT_SHADOW;
35221             scale: 1;
35222             description { state: "default" 0.0;
35223                rel1 { to_y: "elm.external.toolbar";
35224                   to_x: "back";
35225                   relative: 1.0 1.0;
35226                   offset: 2 1;
35227                }
35228                rel2 { to_y: "back";
35229                   to_x: "elm.swallow.end";
35230                   relative: 0.0 1.0;
35231                   offset: -3 -1;
35232                }
35233                text {
35234                   font: "Sans:style=Bold";
35235                   size: 12;
35236                }
35237             }
35238          }
35239       }
35240    }
35241
35242    /* application with toolbar and main content area with a back and next buttons and title area */
35243    group { name: "elm/layout/application/toolbar-content-back-next";
35244       parts {
35245          part { name: "elm.swallow.content";
35246             type: SWALLOW;
35247             description { state: "default" 0.0;
35248                rel1 { to_y: "title_clipper";
35249                   relative: 0.0 1.0;
35250                   offset: -1 1;
35251                }
35252             }
35253          }
35254
35255          part { name: "elm.external.toolbar";
35256             type: EXTERNAL;
35257             source: "elm/toolbar";
35258             description { state: "default" 0.0;
35259                fixed: 0 1;
35260                align: 0.5 0.0;
35261                rel2 {
35262                   relative: 1.0 0.0;
35263                   offset: -1 47;
35264                }
35265             }
35266          }
35267          part { name: "title_clipper";
35268             type: RECT;
35269             description { state: "default" 0.0;
35270                visible: 1;
35271                rel1 {
35272                   to_y: "back";
35273                }
35274                rel2 {
35275                   to_y: "back";
35276                }
35277             }
35278             description { state: "hidden" 0.0;
35279                inherit: "default" 0.0;
35280                visible: 0;
35281                rel2 {
35282                   relative: 1.0 0.0;
35283                }
35284             }
35285          }
35286          part { name: "back";
35287             type: EXTERNAL;
35288             source: "elm/button";
35289             clip_to: "back_clipper";
35290             description { state: "default" 0.0;
35291                align: 0.0 0.0;
35292                fixed: 1 1;
35293                rel1 { to_y: "elm.external.toolbar";
35294                   relative: 0.0 1.0;
35295                   offset: 0 1;
35296                }
35297                rel2 { to_y: "elm.external.toolbar";
35298                   relative: 0.0 1.0;
35299                   offset: 50 32;
35300                }
35301                params.string: "label" "Back";
35302             }
35303          }
35304          part { name: "back_clipper";
35305             type: RECT;
35306             clip_to: "title_clipper";
35307             description { state: "default" 0.0;
35308                visible: 1;
35309             }
35310             description { state: "hidden" 0.0;
35311                visible: 0;
35312             }
35313          }
35314          part { name: "next";
35315             type: EXTERNAL;
35316             source: "elm/button";
35317             clip_to: "next_clipper";
35318             description { state: "default" 0.0;
35319                align: 1.0 0.0;
35320                fixed: 1 1;
35321                rel1 { to_y: "elm.external.toolbar";
35322                   relative: 1.0 1.0;
35323                   offset: -2 1;
35324                }
35325                rel2 { to_y: "elm.external.toolbar";
35326                   relative: 1.0 1.0;
35327                   offset: -1 32;
35328                }
35329                params.string: "label" "Next";
35330            }
35331          }
35332          part { name: "next_clipper";
35333             type: RECT;
35334             clip_to: "title_clipper";
35335             description { state: "default" 0.0;
35336                visible: 1;
35337             }
35338             description { state: "hidden" 0.0;
35339                visible: 0;
35340             }
35341          }
35342          programs {
35343             program {
35344                signal: "clicked";
35345                source: "back";
35346                action: SIGNAL_EMIT "elm,action,back" "";
35347             }
35348             program {
35349                signal: "elm,title,hide";
35350                source: "elm";
35351                action: STATE_SET "hidden" 0.0;
35352                transition: LINEAR 0.1;
35353                target: "title_clipper";
35354             }
35355             program {
35356                signal: "elm,title,show";
35357                source: "elm";
35358                action: STATE_SET "default" 0.0;
35359                target: "title_clipper";
35360             }
35361             program {
35362                signal: "elm,back,hide";
35363                source: "elm";
35364                action: STATE_SET "hidden" 0.0;
35365                target: "back_clipper";
35366             }
35367             program {
35368                signal: "elm,back,show";
35369                source: "elm";
35370                action: STATE_SET "default" 0.0;
35371                target: "back_clipper";
35372             }
35373             program {
35374                signal: "clicked";
35375                source: "next";
35376                action: SIGNAL_EMIT "elm,action,next" "";
35377             }
35378             program {
35379                signal: "elm,next,hide";
35380                source: "elm";
35381                action: STATE_SET "hidden" 0.0;
35382                target: "next_clipper";
35383             }
35384             program {
35385                signal: "elm,next,show";
35386                source: "elm";
35387                action: STATE_SET "default" 0.0;
35388                target: "next_clipper";
35389             }
35390          }
35391          part { name: "elm.text.title";
35392             type: TEXT;
35393             effect: SOFT_SHADOW;
35394             scale: 1;
35395             clip_to: "title_clipper";
35396             description { state: "default" 0.0;
35397                rel1 { to_y: "elm.external.toolbar";
35398                   to_x: "back";
35399                   relative: 1.0 1.0;
35400                   offset: 2 1;
35401                }
35402                rel2 { to_y: "back";
35403                   to_x: "next";
35404                   relative: 0.0 1.0;
35405                   offset: -3 -1;
35406                }
35407                text {
35408                   font: "Sans:style=Bold";
35409                   size: 12;
35410                }
35411             }
35412          }
35413       }
35414    }
35415    /* application with a main content area with a back button and title area */
35416    group { name: "elm/layout/application/content-back";
35417       parts {
35418          part { name: "elm.swallow.content";
35419             type: SWALLOW;
35420             description { state: "default" 0.0;
35421                rel1 { to_y: "title_clipper";
35422                   relative: 0.0 1.0;
35423                   offset: -1 1;
35424                }
35425             }
35426          }
35427          part { name: "title_clipper";
35428             type: RECT;
35429             description { state: "default" 0.0;
35430                visible: 1;
35431                rel1 {
35432                   to_y: "back";
35433                }
35434                rel2 {
35435                   to_y: "back";
35436                }
35437             }
35438             description { state: "hidden" 0.0;
35439                inherit: "default" 0.0;
35440                visible: 0;
35441                rel2 {
35442                   relative: 1.0 0.0;
35443                }
35444             }
35445          }
35446          part { name: "back_clipper";
35447             type: RECT;
35448             clip_to: "title_clipper";
35449             description { state: "default" 0.0;
35450                visible: 1;
35451             }
35452             description { state: "hidden" 0.0;
35453                visible: 0;
35454             }
35455          }
35456          part { name: "back";
35457             type: EXTERNAL;
35458             source: "elm/button";
35459             clip_to: "back_clipper";
35460             description { state: "default" 0.0;
35461                align: 0.0 0.0;
35462                fixed: 1 1;
35463                rel1 {
35464                   relative: 0.0 0.0;
35465                   offset: 0 1;
35466                }
35467                rel2 {
35468                   relative: 0.0 0.0;
35469                   offset: 50 32;
35470                }
35471                params.string: "label" "Back";
35472             }
35473          }
35474          programs {
35475             program {
35476                signal: "clicked";
35477                source: "back";
35478                action: SIGNAL_EMIT "elm,action,back" "";
35479             }
35480             program {
35481                signal: "elm,back,hide";
35482                source: "elm";
35483                action: STATE_SET "hidden" 0.0;
35484                target: "back_clipper";
35485             }
35486             program {
35487                signal: "elm,back,show";
35488                source: "elm";
35489                action: STATE_SET "default" 0.0;
35490                target: "back_clipper";
35491             }
35492             program {
35493                signal: "elm,title,hide";
35494                source: "elm";
35495                action: STATE_SET "hidden" 0.0;
35496                transition: LINEAR 0.1;
35497                target: "title_clipper";
35498             }
35499             program {
35500                signal: "elm,title,show";
35501                source: "elm";
35502                action: STATE_SET "default" 0.0;
35503                target: "title_clipper";
35504             }
35505          }
35506
35507          part { name: "elm.swallow.end";
35508             type: SWALLOW;
35509             description { state: "default" 0.0;
35510                align: 1.0 0.0;
35511                fixed: 1 1;
35512                rel1 {
35513                   relative: 1.0 0.0;
35514                   offset: -2 1;
35515                }
35516                rel2 {
35517                   relative: 1.0 1.0;
35518                   offset: -1 32;
35519                }
35520             }
35521          }
35522
35523          part { name: "elm.text.title";
35524             type: TEXT;
35525             effect: SOFT_SHADOW;
35526             scale: 1; 
35527             description { state: "default" 0.0;
35528                rel1 {
35529                   to_x: "back";
35530                   relative: 1.0 0.0;
35531                   offset: 2 1;
35532                }
35533                rel2 { to_y: "back";
35534                   to_x: "elm.swallow.end";
35535                   relative: 0.0 1.0;
35536                   offset: -3 -1;
35537                }
35538                text {
35539                   font: "Sans:style=Bold";
35540                   size: 12;
35541                }
35542             }
35543          }
35544       }
35545    }
35546
35547    /* application with a main content area with a back and next buttons and title area */
35548    group { name: "elm/layout/application/content-back-next";
35549       parts {
35550          part { name: "elm.swallow.content";
35551             type: SWALLOW;
35552             description { state: "default" 0.0;
35553                rel1 { to_y: "title_clipper";
35554                   relative: 0.0 1.0;
35555                   offset: -1 1;
35556                }
35557             }
35558          }
35559
35560          part { name: "title_clipper";
35561             type: RECT;
35562             description { state: "default" 0.0;
35563                visible: 1;
35564                rel1 {
35565                   to_y: "back";
35566                }
35567                rel2 {
35568                   to_y: "back";
35569                }
35570             }
35571             description { state: "hidden" 0.0;
35572                inherit: "default" 0.0;
35573                visible: 0;
35574                rel2 {
35575                   relative: 1.0 0.0;
35576                }
35577             }
35578          }
35579          part { name: "back";
35580             type: EXTERNAL;
35581             source: "elm/button";
35582             clip_to: "back_clipper";
35583             description { state: "default" 0.0;
35584                align: 0.0 0.0;
35585                fixed: 1 1;
35586                rel1 {
35587                   relative: 0.0 0.0;
35588                   offset: 0 1;
35589                }
35590                rel2 {
35591                   relative: 0.0 0.0;
35592                   offset: 50 32;
35593                }
35594                params.string: "label" "Back";
35595             }
35596          }
35597          part { name: "back_clipper";
35598             type: RECT;
35599             clip_to: "title_clipper";
35600             description { state: "default" 0.0;
35601                visible: 1;
35602             }
35603             description { state: "hidden" 0.0;
35604                visible: 0;
35605             }
35606          }
35607          part { name: "next";
35608             type: EXTERNAL;
35609             source: "elm/button";
35610             clip_to: "next_clipper";
35611             description { state: "default" 0.0;
35612                align: 1.0 0.0;
35613                fixed: 1 1;
35614                rel1 {
35615                   relative: 1.0 0.0;
35616                   offset: -2 1;
35617                }
35618                rel2 {
35619                   relative: 1.0 0.0;
35620                   offset: -1 32;
35621                }
35622                params.string: "label" "Next";
35623            }
35624          }
35625          part { name: "next_clipper";
35626             type: RECT;
35627             clip_to: "title_clipper";
35628             description { state: "default" 0.0;
35629                visible: 1;
35630             }
35631             description { state: "hidden" 0.0;
35632                visible: 0;
35633             }
35634          }
35635          programs {
35636             program {
35637                signal: "clicked";
35638                source: "back";
35639                action: SIGNAL_EMIT "elm,action,back" "";
35640             }
35641             program {
35642                signal: "elm,title,hide";
35643                source: "elm";
35644                action: STATE_SET "hidden" 0.0;
35645                transition: LINEAR 0.1;
35646                target: "title_clipper";
35647             }
35648             program {
35649                signal: "elm,title,show";
35650                source: "elm";
35651                action: STATE_SET "default" 0.0;
35652                target: "title_clipper";
35653             }
35654             program {
35655                signal: "elm,back,hide";
35656                source: "elm";
35657                action: STATE_SET "hidden" 0.0;
35658                target: "back_clipper";
35659             }
35660             program {
35661                signal: "elm,back,show";
35662                source: "elm";
35663                action: STATE_SET "default" 0.0;
35664                target: "back_clipper";
35665             }
35666             program {
35667                signal: "clicked";
35668                source: "next";
35669                action: SIGNAL_EMIT "elm,action,next" "";
35670             }
35671             program {
35672                signal: "elm,next,hide";
35673                source: "elm";
35674                action: STATE_SET "hidden" 0.0;
35675                target: "next_clipper";
35676             }
35677             program {
35678                signal: "elm,next,show";
35679                source: "elm";
35680                action: STATE_SET "default" 0.0;
35681                target: "next_clipper";
35682             }
35683          }
35684          part { name: "elm.text.title";
35685             type: TEXT;
35686             effect: SOFT_SHADOW;
35687             scale: 1;
35688             clip_to: "title_clipper";
35689             description { state: "default" 0.0;
35690                rel1 {
35691                   to_x: "back";
35692                   relative: 1.0 0.0;
35693                   offset: 2 1;
35694                }
35695                rel2 { to_y: "back";
35696                   to_x: "next";
35697                   relative: 0.0 1.0;
35698                   offset: -3 -1;
35699                }
35700                text {
35701                   font: "Sans:style=Bold";
35702                   size: 12;
35703                }
35704             }
35705          }
35706       }
35707    }
35708
35709    /* application with toolbar and main content area as a vertical box */
35710    group { name: "elm/layout/application/toolbar-vbox";
35711       parts {
35712          part { name: "elm.box.content";
35713             type: BOX;
35714             description { state: "default" 0.0;
35715                rel1 { to_y: "elm.external.toolbar";
35716                   relative: 0.0 1.0;
35717                   offset: -1 1;
35718                }
35719                box.layout: "vertical";
35720             }
35721          }
35722
35723          part { name: "elm.external.toolbar";
35724             type: EXTERNAL;
35725             source: "elm/toolbar";
35726             description { state: "default" 0.0;
35727                align: 0.5 0.0;
35728                fixed: 0 1;
35729                rel2 {
35730                   relative: 1.0 0.0;
35731                   offset: -1 47;
35732                }
35733             }
35734          }
35735       }
35736    }
35737
35738    /* application with toolbar and main content area as a table */
35739    group { name: "elm/layout/application/toolbar-table";
35740       parts {
35741          part { name: "elm.table.content";
35742             type: TABLE;
35743             description { state: "default" 0.0;
35744                rel1 { to_y: "elm.external.toolbar";
35745                   relative: 0.0 1.0;
35746                   offset: -1 1;
35747                }
35748             }
35749          }
35750
35751          part { name: "elm.external.toolbar";
35752             type: EXTERNAL;
35753             source: "elm/toolbar";
35754             description { state: "default" 0.0;
35755                align: 0.5 0.0;
35756                fixed: 0 1;
35757                rel2 {
35758                   relative: 1.0 0.0;
35759                   offset: -1 47;
35760                }
35761             }
35762          }
35763       }
35764    }
35765
35766 ///////////////////////////////////////////////////////////////////////////////
35767    group { name: "elm/segment_control/base/default";
35768 #define SEGMENT_TYPE_SINGLE 1
35769 #define SEGMENT_TYPE_LEFT 2
35770 #define SEGMENT_TYPE_MIDDLE 3
35771 #define SEGMENT_TYPE_RIGHT 4
35772 #define SEGMENT_STATE_NORMAL 1
35773 #define SEGMENT_STATE_PRESSED 2
35774 #define SEGMENT_STATE_SELECTED 3
35775 #define SEGMENT_STATUS_ENABLED 0
35776 #define SEGMENT_STATUS_DISABLED 1
35777       parts {
35778          part { name: "bg";
35779             type: RECT;
35780             mouse_events: 0;
35781             scale: 1;
35782             description {
35783                state: "default" 0.0;
35784                color: 0 0 0 0;
35785                min: 100 40;
35786             }
35787          }
35788       }
35789    }
35790    group { name: "elm/segment_control/item/default";
35791       data.item: "label.wrap.part" "label.bg";
35792       styles {
35793          style { name: "seg_text_style_normal";
35794             base: "font=Sans font_size=16 style=shadow \
35795             shadow_color=#2924224d \
35796             align=center \
35797             color=#ffffffff wrap=char text_class=label";
35798             tag:  "br" "\n";
35799             tag:  "hilight" "+ font=Sans:style=Bold";
35800             tag:  "tab" "\t";
35801          }
35802          style { name: "seg_text_style_selected";
35803             base: "font=Sans:style=Bold font_size=16 style=shadow \
35804             shadow_color=#aaaaaa4d \
35805             align=center \
35806             color=#111111ff wrap=char text_class=label";
35807             tag:  "br" "\n";
35808             tag:  "hilight" "+ font=Sans:style=Bold";
35809             tag:  "b" "+ font=Sans:style=Bold";
35810             tag:  "tab" "\t";
35811          }
35812          style { name: "seg_text_style_disabled";
35813             base: "font=Sans:style=Medium font_size=16 style=shadow \
35814             shadow_color=#2924224d \
35815             align=center color=#2924224d \
35816             wrap=char text_class=label";
35817             tag:  "br" "\n";
35818             tag:  "hilight" "+ font=Sans:style=Bold";
35819             tag:  "b" "+ font=Sans:style=Bold";
35820             tag:  "tab" "\t";
35821          }
35822       }
35823       images {
35824          image: "seg_single_pressed.png" COMP;
35825          image: "seg_single_selected.png" COMP;
35826          image: "seg_single_normal.png" COMP;
35827
35828          image: "seg_left_pressed.png" COMP;
35829          image: "seg_left_selected.png" COMP;
35830          image: "seg_left_normal.png" COMP;
35831
35832          image: "seg_middle_pressed.png" COMP;
35833          image: "seg_middle_selected.png" COMP;
35834          image: "seg_middle_normal.png" COMP;
35835
35836          image: "seg_right_pressed.png" COMP;
35837          image: "seg_right_selected.png" COMP;
35838          image: "seg_right_normal.png" COMP;
35839       }
35840       parts {
35841          part { name: "segment";
35842             mouse_events: 1;
35843             scale: 1;
35844             description { state: "default" 0.0;
35845                min: 1 1;
35846                visible: 0;
35847                image {
35848                   normal: "seg_single_normal.png";
35849                   border: 7 7 7 7;
35850                   border_scale: 1;
35851                   middle: 1;
35852                }
35853             }
35854             description { state: "default_single" 0.0;
35855                inherit: "default" 0.0;
35856                visible: 1;
35857                image {
35858                   normal: "seg_single_normal.png";
35859                   border: 7 7 7 7;
35860                }
35861             }
35862             description { state: "default_left" 0.0;
35863                inherit: "default" 0.0;
35864                visible: 1;
35865                image {
35866                normal: "seg_left_normal.png";
35867                   border:  6 1 7 7;
35868                }
35869             }
35870             description { state: "default_right" 0.0;
35871                inherit: "default" 0.0;
35872                visible: 1;
35873                image {
35874                   normal: "seg_right_normal.png";
35875                   border: 1 6 7 7;
35876                }
35877             }
35878             description { state: "default_middle" 0.0;
35879                inherit: "default" 0.0;
35880                visible: 1;
35881                image {
35882                   normal: "seg_middle_normal.png";
35883                   border: 2 2 2 2;
35884                }
35885             }
35886             description { state: "pressed_single" 0.0;
35887                inherit: "default" 0.0;
35888                visible: 1;
35889                image {
35890                   normal: "seg_single_pressed.png";
35891                   border: 7 7 7 7;
35892                }
35893             }
35894             description { state: "pressed_left" 0.0;
35895                inherit: "default" 0.0;
35896                visible: 1;
35897                image {
35898                   normal: "seg_left_pressed.png";
35899                   border:  6 1 7 7;
35900                }
35901             }
35902             description { state: "pressed_right" 0.0;
35903                inherit: "default" 0.0;
35904                visible: 1;
35905                image {
35906                   normal: "seg_right_pressed.png";
35907                   border: 1 6 7 7;
35908                }
35909             }
35910             description { state: "pressed_middle" 0.0;
35911                inherit: "default" 0.0;
35912                visible: 1;
35913                image {
35914                   normal: "seg_middle_pressed.png";
35915                   border: 1 1 2 2;
35916                }
35917             }
35918             description { state: "selected_single" 0.0;
35919                inherit: "default" 0.0;
35920                visible: 1;
35921                image {
35922                   normal: "seg_single_selected.png";
35923                   border: 7 7 7 7;
35924                }
35925             }
35926             description { state: "selected_left" 0.0;
35927                inherit: "default" 0.0;
35928                visible: 1;
35929                image {
35930                   normal: "seg_left_selected.png";
35931                   border:  6 3 7 7;
35932                }
35933             }
35934             description { state: "selected_right" 0.0;
35935                inherit: "default" 0.0;
35936                visible: 1;
35937                image {
35938                   normal: "seg_right_selected.png";
35939                   border: 3 6 7 7;
35940                }
35941             }
35942             description { state: "selected_middle" 0.0;
35943                inherit: "default" 0.0;
35944                visible: 1;
35945                image {
35946                   normal: "seg_middle_selected.png";
35947                   border: 3 3 3 3;
35948                }
35949             }
35950          }
35951          part { name: "padding_left";
35952             type: RECT;
35953             scale: 1;
35954             mouse_events: 0;
35955             description { state: "default" 0.0;
35956                align: 0.0 0.0;
35957                rel1.relative: 0.0 0.0;
35958                rel2.relative: 0.0 1.0;
35959                min: 2 2;
35960                max: 2 2;
35961                fixed: 1 0;
35962                color: 0 0 0 0;
35963             }
35964          }
35965          part { name: "padding_right";
35966             type: RECT;
35967             scale: 1;
35968             mouse_events: 0;
35969             description { state: "default" 0.0;
35970                align: 1.0 0.0;
35971                rel1.relative: 1.0 0.0;
35972                rel2.relative: 1.0 1.0;
35973                min: 2 2;
35974                max: 2 2;
35975                fixed: 1 0;
35976                color: 0 0 0 0;
35977             }
35978          }
35979          part { name: "padding_top";
35980             type: RECT;
35981             scale: 1;
35982             mouse_events: 0;
35983             description { state: "default" 0.0;
35984                align: 0.0 0.0;
35985                rel1.relative: 0.0 0.0;
35986                rel2.relative: 1.0 0.0;
35987                min: 2 2;
35988                max: 2 2;
35989                fixed: 0 1;
35990                color: 0 0 0 0;
35991             }
35992          }
35993          part { name: "padding_bottom";
35994             type: RECT;
35995             scale: 1;
35996             mouse_events: 0;
35997             description { state: "default" 0.0;
35998                align: 1.0 1.0;
35999                rel1.relative: 0.0 1.0;
36000                rel2.relative: 1.0 1.0;
36001                min: 2 2;
36002                max: 2 2;
36003                fixed: 0 1;
36004                color: 0 0 0 0;
36005             }
36006          }
36007          part { name: "icon.bg";
36008             type: RECT;
36009             scale: 1;
36010             mouse_events: 0;
36011             description { state: "default" 0.0;
36012                visible: 1;
36013                fixed: 1 0;
36014                rel1 {
36015                   to_x: "padding_left";
36016                   to_y: "padding_top";
36017                   relative: 1.0 1.0;
36018                }
36019                rel2 {
36020                   to: "elm.swallow.icon";
36021                   relative: 1.0 1.0;
36022                }
36023                align: 0.0 0.5;
36024                color: 0 0 0 0;
36025             }
36026          }
36027          part { name: "padding_icon_text";
36028             type: RECT;
36029             scale: 1;
36030             mouse_events: 0;
36031             description { state: "default" 0.0; //when only icon or no icon is there
36032                align: 0.0 0.0;
36033                rel1 {
36034                   to: "icon.bg";
36035                   relative: 1.0 0.0;
36036                }
36037                rel2 {
36038                   to: "icon.bg";
36039                   relative: 1.0 1.0;
36040                }
36041                fixed: 1 0;
36042                min: 0 0;
36043                color: 0 0 0 0;
36044             }
36045             description { state: "icononly" 0.0;
36046                inherit: "default" 0.0;
36047             }
36048             description { state: "visible" 0.0; //when icon is visible
36049                inherit: "default" 0.0;
36050                min: 2 0;
36051             }
36052          }
36053          part { name: "elm.swallow.icon";
36054             type: SWALLOW;
36055             scale: 1;
36056             description { state: "default" 0.0;
36057                visible: 0;
36058                align: 0.0 0.5;
36059                rel1 {
36060                   to_x: "padding_left";
36061                   to_y: "padding_top";
36062                   relative: 1.0 1.0;
36063                }
36064                rel2 {
36065                   to_y: "padding_bottom";
36066                   relative: 0.0 0.0;
36067                }
36068                fixed: 1 0;
36069                aspect: 1.0 1.0;
36070                aspect_preference: BOTH;
36071             }
36072             description { state: "visible" 0.0;
36073                inherit: "default" 0.0;
36074                visible: 1;
36075                rel2 {
36076                   to_y: "padding_bottom";
36077                   relative: 0.3 0.0;
36078                }
36079             }
36080             description { state: "icononly" 0.0;
36081                inherit: "default" 0.0;
36082                visible: 1;
36083                rel2 {
36084                   to_x: "padding_right";
36085                   to_y: "padding_bottom";
36086                   relative: 0.0 0.0;
36087                }
36088                align: 0.5 0.5;
36089             }
36090          }
36091          part { name: "elm.text";
36092             type: TEXT;
36093             mouse_events: 0;
36094             scale: 1;
36095             description {
36096                state: "default" 0.0;
36097                visible: 0;
36098                fixed: 1 1;
36099                min: 1 1;
36100                rel1 {
36101                   to_x: "padding_icon_text";
36102                   relative: 1.0 1.0;
36103                }
36104                rel2 {
36105                   to_x: "padding_right";
36106                   relative: 0.0 0.0;
36107                }
36108                color: 224 224 224 255;
36109                color3: 0 0 0 64;
36110                text {
36111                   font: "Sans";
36112                   ellipsis: 0.0;
36113                   fit: 1 1;
36114                   size: 24;
36115                   size_range: 8 36;
36116                   min: 0 1;
36117                }
36118             }
36119             description { state: "normal" 0.0;
36120                inherit: "default" 0.0;
36121                visible: 1;
36122             }
36123             description { state: "pressed" 0.0;
36124                inherit: "default" 0.0;
36125                visible: 1;
36126                color: 0 0 0 255;
36127             }
36128             description { state: "selected" 0.0;
36129                inherit: "default" 0.0;
36130                visible: 1;
36131                color: 50 50 50 255;
36132             }
36133             description { state: "disabled" 0.0;
36134                inherit: "default" 0.0;
36135                visible: 1;
36136                color: 200 200 200 255;
36137             }
36138          }
36139          part { name: "disabler";
36140             repeat_events: 0;
36141             scale: 1;
36142             description { state: "default" 0.0;
36143                visible: 0;
36144                fixed: 1 1;
36145                min: 1 1;
36146                align: 0.0 0.5;
36147                rel1 { relative: 0.0 0.0; to: "segment";}
36148                rel2 { relative: 1.0 1.0; to: "segment";}
36149                color: 255 255 255 150;
36150             }
36151             description { state: "disabled_single" 0.0;
36152                inherit: "default" 0.0;
36153                visible: 1;
36154                image {
36155                   normal: "seg_single_normal.png";
36156                   border: 7 7 7 7;
36157                }
36158             }
36159             description { state: "disabled_left" 0.0;
36160                inherit: "default" 0.0;
36161                visible: 1;
36162                image {
36163                   normal: "seg_left_normal.png";
36164                   border:  6 1 7 7;
36165                }
36166             }
36167             description { state: "disabled_right" 0.0;
36168                inherit: "default" 0.0;
36169                visible: 1;
36170                image {
36171                   normal: "seg_right_normal.png";
36172                   border: 1 6 7 7;
36173                }
36174             }
36175             description { state: "disabled_middle" 0.0;
36176                inherit: "default" 0.0;
36177                visible: 1;
36178                image {
36179                   normal: "seg_middle_normal.png";
36180                   border: 2 2 2 2;
36181                }
36182             }
36183          }
36184       }
36185       programs {
36186          script {
36187             public seg_type; // Single, Left, Middle, Right.
36188             public seg_state; // Normal/Default, Pressed, Selected.
36189             public seg_status;// Enabled/Default, Disabled
36190
36191             public update_state() {
36192                new type, state, disabled;
36193                type = get_int(seg_type);
36194                state = get_int(seg_state);
36195                disabled = get_int(seg_status);
36196
36197                if(state == SEGMENT_STATE_NORMAL)
36198                  {
36199                     if(type == SEGMENT_TYPE_SINGLE)
36200                       set_state(PART:"segment", "default_single", 0.0);
36201                     else if(type == SEGMENT_TYPE_LEFT)
36202                       set_state(PART:"segment", "default_left", 0.0);
36203                     else if(type == SEGMENT_TYPE_MIDDLE)
36204                       set_state(PART:"segment", "default_middle", 0.0);
36205                     else if(type == SEGMENT_TYPE_RIGHT)
36206                       set_state(PART:"segment", "default_right", 0.0);
36207                     set_state(PART:"elm.text", "normal", 0.0);
36208                  }
36209                else if(state == SEGMENT_STATE_PRESSED)
36210                  {
36211                     if(type == SEGMENT_TYPE_SINGLE)
36212                       set_state(PART:"segment", "pressed_single", 0.0);
36213                     else if(type == SEGMENT_TYPE_LEFT)
36214                       set_state(PART:"segment", "pressed_left", 0.0);
36215                     else if(type == SEGMENT_TYPE_MIDDLE)
36216                       set_state(PART:"segment", "pressed_middle", 0.0);
36217                     else if(type == SEGMENT_TYPE_RIGHT)
36218                       set_state(PART:"segment", "pressed_right", 0.0);
36219                     set_state(PART:"elm.text", "pressed", 0.0);
36220                  }
36221                else if(state == SEGMENT_STATE_SELECTED)
36222                  {
36223                     if(type == SEGMENT_TYPE_SINGLE)
36224                       set_state(PART:"segment", "selected_single", 0.0);
36225                     else if(type == SEGMENT_TYPE_LEFT)
36226                       set_state(PART:"segment", "selected_left", 0.0);
36227                     else if(type == SEGMENT_TYPE_MIDDLE)
36228                       set_state(PART:"segment", "selected_middle", 0.0);
36229                     else if(type == SEGMENT_TYPE_RIGHT)
36230                       set_state(PART:"segment", "selected_right", 0.0);
36231                     set_state(PART:"elm.text", "selected", 0.0);
36232                  }
36233                if(disabled == SEGMENT_STATUS_DISABLED)
36234                  {
36235                     if(type == SEGMENT_TYPE_SINGLE)
36236                       set_state(PART:"disabler", "disabled_single", 0.0);
36237                     else if(type == SEGMENT_TYPE_LEFT)
36238                       set_state(PART:"disabler", "disabled_left", 0.0);
36239                     else if(type == SEGMENT_TYPE_MIDDLE)
36240                       set_state(PART:"disabler", "disabled_middle", 0.0);
36241                     else if(type == SEGMENT_TYPE_RIGHT)
36242                       set_state(PART:"disabler", "disabled_right", 0.0);
36243                     set_state(PART:"elm.text", "disabled", 0.0);
36244                  }
36245             }
36246          }
36247          program {
36248             name: "segment_type_s";
36249             signal: "elm,type,segment,single";
36250             source: "elm";
36251             script {
36252                set_int(seg_type, SEGMENT_TYPE_SINGLE);
36253                update_state();
36254             }
36255          }
36256          program {
36257             name: "segment_type_l";
36258             signal: "elm,type,segment,left";
36259             source: "elm";
36260             script {
36261                set_int(seg_type, SEGMENT_TYPE_LEFT);
36262                update_state();
36263             }
36264          }
36265          program {
36266             name: "segment_type_m";
36267             signal: "elm,type,segment,middle";
36268             source: "elm";
36269             script {
36270                set_int(seg_type, SEGMENT_TYPE_MIDDLE);
36271                update_state();
36272             }
36273          }
36274          program {
36275             name: "segment_type_r";
36276             signal: "elm,type,segment,right";
36277             source: "elm";
36278             script {
36279                set_int(seg_type, SEGMENT_TYPE_RIGHT);
36280                update_state();
36281             }
36282          }
36283          program {
36284             name: "normal_segment";
36285             signal: "elm,state,segment,normal";
36286             source: "elm";
36287             script {
36288                set_int(seg_state, SEGMENT_STATE_NORMAL);
36289                update_state();
36290             }
36291          }
36292          program {
36293             name: "pressed_segment";
36294             signal: "elm,state,segment,pressed";
36295             source: "elm";
36296             script {
36297                set_int(seg_state, SEGMENT_STATE_PRESSED);
36298                update_state();
36299             }
36300          }
36301          program {
36302             name: "selected_segment";
36303             signal: "elm,state,segment,selected";
36304             source: "elm";
36305             script {
36306                set_int(seg_state, SEGMENT_STATE_SELECTED);
36307                update_state();
36308             }
36309          }
36310          program { name: "disable_segment";
36311             signal: "elm,state,disabled";
36312             source: "elm";
36313             script {
36314                set_int(seg_status, SEGMENT_STATUS_DISABLED);
36315                update_state();
36316             }
36317          }
36318          program { name: "enable_segment";
36319             signal: "elm,state,enabled";
36320             source: "elm";
36321             script {
36322                set_int(seg_status, SEGMENT_STATUS_ENABLED);
36323                update_state();
36324             }
36325          }
36326          program { name: "text_show";
36327             signal: "elm,state,text,visible";
36328             source: "elm";
36329             script {
36330                new st[31];
36331                new Float:vl;
36332                get_state(PART:"elm.swallow.icon", st, 30, vl);
36333                if (!strcmp(st, "icononly"))
36334                  {
36335                     set_state(PART:"elm.swallow.icon", "visible", 0.0);
36336                     set_state(PART:"padding_icon_text", "visible", 0.0);
36337                  }
36338                get_state(PART:"elm.text", st, 30, vl);
36339                if (!strcmp(st, "selected"))
36340                   set_state(PART:"elm.text", "selected", 0.0);
36341                else
36342                   set_state(PART:"elm.text", "normal", 0.0);
36343             }
36344          }
36345          program { name: "text_hide";
36346             signal: "elm,state,text,hidden";
36347             source: "elm";
36348             script {
36349                new st[31];
36350                new Float:vl;
36351                get_state(PART:"elm.swallow.icon", st, 30, vl);
36352                if (!strcmp(st, "visible"))
36353                  {
36354                     set_state(PART:"elm.swallow.icon", "icononly", 0.0);
36355                     set_state(PART:"padding_icon_text", "icononly", 0.0);
36356                  }
36357                set_state(PART:"elm.text", "default", 0.0);
36358             }
36359          }
36360          program { name: "icon_show";
36361             signal: "elm,state,icon,visible";
36362             source: "elm";
36363             script {
36364                new st[31];
36365                new Float:vl;
36366                get_state(PART:"elm.text", st, 30, vl);
36367                if ((!strcmp(st, "normal")) || (!strcmp(st, "selected")))
36368                  {
36369                     set_state(PART:"elm.swallow.icon", "visible", 0.0);
36370                     set_state(PART:"padding_icon_text", "visible", 0.0);
36371                  }
36372                else
36373                  {
36374                     set_state(PART:"elm.swallow.icon", "icononly", 0.0);
36375                     set_state(PART:"padding_icon_text", "icononly", 0.0);
36376                  }
36377             }
36378          }
36379          program { name: "icon_hide";
36380             signal: "elm,state,icon,hidden";
36381             source: "elm";
36382             action:  STATE_SET "default" 0.0;
36383             target: "elm.swallow.icon";
36384          }
36385       }
36386 #undef SEGMENT_TYPE_SINGLE
36387 #undef SEGMENT_TYPE_LEFT
36388 #undef SEGMENT_TYPE_MIDDLE
36389 #undef SEGMENT_TYPE_RIGHT
36390 #undef SEGMENT_STATE_NORMAL
36391 #undef SEGMENT_STATE_PRESSED
36392 #undef SEGMENT_STATE_SELECTED
36393 #undef SEGMENT_STATUS_ENABLED
36394 #undef SEGMENT_STATUS_DISABLED
36395    }
36396
36397    /* a simple title layout, with a label and two icons */
36398    group { name: "elm/layout/application/titlebar";
36399       images {
36400          image: "toolbar_sel.png" COMP;
36401       }
36402       parts {
36403          part { name: "base";
36404             mouse_events: 0;
36405             scale: 1;
36406             description { state: "default" 0.0;
36407                min: 0 33;
36408                max: 99999 33;
36409                align: 0.5 0.0;
36410                rel1.offset: -1 0;
36411                rel2.offset: 1 0;
36412                image {
36413                   normal: "toolbar_sel.png";
36414                   border: 3 3 0 0;
36415                }
36416             }
36417          }
36418          part { name: "elm.swallow.content";
36419             type: SWALLOW;
36420             description { state: "default" 0.0;
36421                visible: 1;
36422                rel1 {
36423                   to: "base";
36424                   relative: 0.0 1.0;
36425                }
36426             }
36427          }
36428          part { name: "elm.swallow.icon";
36429             type: SWALLOW;
36430             scale: 1;
36431             description { state: "default" 0.0;
36432                visible: 0;
36433                fixed: 1 1;
36434                align: 0.0 0.0;
36435                rel1 {
36436                   to: "base";
36437                   relative: 0.0 0.0;
36438                   offset: 4 0;
36439                }
36440                rel2 {
36441                   to: "base";
36442                   relative: 0.0 1.0;
36443                }
36444             }
36445             description { state: "visible" 0.0;
36446                inherit: "default" 0.0;
36447                visible: 1;
36448             }
36449          }
36450          part { name: "elm.swallow.end";
36451             type: SWALLOW;
36452             scale: 1;
36453             description { state: "default" 0.0;
36454                visible: 0;
36455                fixed: 1 1;
36456                align: 1.0 0.0;
36457                rel1 {
36458                   to: "base";
36459                   relative: 1.0 0.0;
36460                   offset: 0 0;
36461                }
36462                rel2 {
36463                   to: "base";
36464                   relative: 1.0 1.0;
36465                   offset: -5 -1;
36466                }
36467             }
36468             description { state: "visible" 0.0;
36469                inherit: "default" 0.0;
36470                visible: 1;
36471             }
36472          }
36473          part { name: "elm.text";
36474             type: TEXT;
36475             effect: SOFT_SHADOW;
36476             mouse_events: 0;
36477             scale: 1;
36478             description { state: "default" 0.0;
36479                fixed: 1 1;
36480                rel1 {
36481                   to_x: "elm.swallow.icon";
36482                   to_y: "base";
36483                   relative: 1.0 0.0;
36484                }
36485                rel2 {
36486                   to_x: "elm.swallow.end";
36487                   to_y: "base";
36488                   relative: 0.0 1.0;
36489                }
36490                text {
36491                   font: "Sans";
36492                   size: 12;
36493                   min: 0 0;
36494                   align: 0.5 0.5;
36495                   text_class: "title_bar";
36496                }
36497             }
36498          }
36499       }
36500       programs {
36501          program { name: "show_icon";
36502             signal: "elm,state,icon,visible";
36503             source: "elm";
36504             action: STATE_SET "visible" 0.0;
36505             target: "elm.swallow.icon";
36506          }
36507          program { name: "hide_icon";
36508             signal: "elm,state,icon,hidden";
36509             source: "elm";
36510             action: STATE_SET "default" 0.0;
36511             target: "elm.swallow.icon";
36512          }
36513          program { name: "show_end";
36514             signal: "elm,state,end,visible";
36515             source: "elm";
36516             action: STATE_SET "visible" 0.0;
36517             target: "elm.swallow.end";
36518          }
36519          program { name: "hide_end";
36520             signal: "elm,state,end,hidden";
36521             source: "elm";
36522             action: STATE_SET "default" 0.0;
36523             target: "elm.swallow.end";
36524          }
36525       }
36526    }
36527 }