Elm/Theme/Application/Content-Back: revert my commit that made elm.swallow.end rel2...
[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: "base";
7916             scale: 1;
7917             description { state: "default" 0.0;
7918                rel1.offset: -3 -3;
7919                rel2.offset: 3 3;
7920                image { normal: "bt_base2.png";
7921                   border: 7 7 7 7;
7922                }
7923             }
7924          }
7925          part { name: "over1";
7926             scale: 1;
7927             description { state: "default" 0.0;
7928                rel1.to: "base";
7929                rel2.to: "base";
7930                rel2.relative: 1.0 0.5;
7931                image { normal: "bt_hilight.png";
7932                   border: 7 7 7 0;
7933                }
7934             }
7935          }
7936          part { name: "over2";
7937             scale: 1;
7938             description { state: "default" 0.0;
7939                rel1.to: "base";
7940                rel2.to: "base";
7941                image { normal: "bt_shine.png";
7942                   border: 7 7 7 7;
7943                }
7944             }
7945          }
7946          part { name: "elm.swallow.content";
7947             type: SWALLOW;
7948             description { state: "default" 0.0;
7949                rel1 { to:"base"; offset: 4 4; };
7950                rel2 { to:"base"; offset: -5 -5; };
7951             }
7952          }
7953       }
7954    }
7955 ///////////////////////////////////////////////////////////////////////////////
7956    group { name: "elm/ctxpopup/arrow/default";
7957       images {
7958          image: "icon_arrow_left.png" COMP;
7959          image: "icon_arrow_right.png" COMP;
7960          image: "icon_arrow_up.png" COMP;
7961          image: "icon_arrow_down.png" COMP;
7962       }
7963       parts {
7964          part { name: "ctxpopup_arrow";
7965             type: IMAGE;
7966             scale: 1;
7967             description {
7968                state: "default" 0.0;
7969                min: 40 40;
7970                fixed: 1 1;
7971                visible: 0;
7972                align: 0.5 0.5;
7973             }
7974             description {
7975                state: "left" 0.0;
7976                min: 40 40;
7977                fixed: 1 1;
7978                align: 0.0 0.5;
7979                rel1 { offset: 7 0; }
7980                rel2 { offset: 6 -1; }
7981                image { normal: "icon_arrow_left.png"; }
7982             }
7983             description { state: "right" 0.0;
7984                min: 40 40;
7985                fixed: 1 1;
7986                align: 1.0 0.5;
7987                rel1 { offset: -7 0; }
7988                rel2 { offset: -8 -1; }
7989                image { normal: "icon_arrow_right.png"; }
7990             }
7991             description { state: "top" 0.0;
7992                min: 40 40;
7993                fixed: 1 1;
7994                align: 0.5 0.0;
7995                rel1 { offset: 0 7; }
7996                rel2 { offset: -1 6; }
7997                image { normal: "icon_arrow_up.png"; }
7998             }
7999             description { state: "bottom" 0.0;
8000                min: 40 40;
8001                fixed: 1 1;
8002                align: 0.5 1.0;
8003                rel1 { offset: 0 -7; }
8004                rel2 { offset: -1 -8; }
8005                image { normal: "icon_arrow_down.png"; }
8006             }
8007          }
8008       }
8009       programs {
8010          program { name: "enable_left_arrow";
8011             signal: "elm,state,left";
8012             source: "elm";
8013             action: STATE_SET "left" 0.0;
8014             target: "ctxpopup_arrow";
8015          }
8016          program { name: "enable_right_arrow";
8017             signal: "elm,state,right";
8018             source: "elm";
8019             action: STATE_SET "right" 0.0;
8020             target: "ctxpopup_arrow";
8021          }
8022          program { name: "enable_top_arrow";
8023             signal: "elm,state,top";
8024             source: "elm";
8025             action: STATE_SET "top" 0.0;
8026             target: "ctxpopup_arrow";
8027          }
8028          program { name: "enable_bottom_arrow";
8029             signal: "elm,state,bottom";
8030             source: "elm";
8031             action: STATE_SET "bottom" 0.0;
8032             target: "ctxpopup_arrow";
8033          }
8034       }
8035    }
8036 ///////////////////////////////////////////////////////////////////////////////
8037    group {
8038       name: "elm/ctxpopup/icon_text_style_item/default";
8039            alias: "elm/ctxpopup/text_style_item/default";
8040            alias: "elm/ctxpopup/icon_style_item/default";
8041       images {
8042          image: "hoversel_entry_bg.png" COMP;
8043       }
8044       parts {
8045          part { name: "event";
8046             mouse_events: 1;
8047             description { state: "default" 0.0;
8048             }
8049          }
8050          part { name: "bg";
8051             mouse_events: 0;
8052             description { state: "default" 0.0;
8053                rel1.offset: 2 2;
8054                rel2.offset: -3 -3;
8055                image { normal:"hoversel_entry_bg.png";
8056                   border: 0 0 2 2;
8057                }
8058                fill.smooth: 0;
8059                color: 255 255 255 0;
8060             }
8061             description { state: "clicked" 0.0;
8062                inherit: "default" 0.0;
8063                color: 255 255 255 255;
8064             }
8065          }
8066          part { name: "elm.swallow.icon";
8067             type: SWALLOW;
8068             clip_to: "disclip";
8069             scale: 1;
8070             description { state: "default" 0.0;
8071                min: 25 25;
8072                max: 25 25;
8073                align: 0 0.5;
8074                aspect: 1.0 1.0;
8075                rel1 { offset: 10 10; }
8076                                         rel2 { offset: 0 -10; }
8077             }
8078          }
8079          part { name: "elm.text";
8080             type: TEXT;
8081             mouse_events: 0;
8082             clip_to: "disclip";
8083             scale: 1;
8084             description { state: "default" 0.0;
8085                min: 1 40;
8086                fixed: 0 1;
8087                align: 0.5 0.5;
8088                rel1 { relative: 1.0 0.0; to: "elm.swallow.icon"; offset: 10 0; }
8089                rel2 { relative: 1.0 1.0; offset: -11 -1; }
8090                color: 255 255 255 255;
8091                text {
8092                   font: "Sans";
8093                   size: 10;
8094                   align: 0.0 0.5;
8095                   min: 1 1;
8096                }
8097             }
8098             description { state: "clicked" 0.0;
8099                inherit: "default" 0.0;
8100                color: 0 0 0 255;
8101             }
8102          }
8103          part { name: "over1";
8104             mouse_events: 1;
8105             repeat_events: 1;
8106             ignore_flags: ON_HOLD;
8107             description { state: "default" 0.0;
8108                color: 255 255 255 0;
8109             }
8110             description { state: "clicked" 0.0;
8111                inherit: "default" 0.0;
8112                color: 255 255 255 255;
8113             }
8114          }
8115          part { name: "over2";
8116             mouse_events: 1;
8117             repeat_events: 1;
8118             description { state: "default" 0.0;
8119                color: 255 255 255 0;
8120             }
8121             description { state: "clicked" 0.0;
8122                inherit: "default" 0.0;
8123                color: 255 255 255 255;
8124             }
8125          }
8126          part { name: "disclip";
8127             type: RECT;
8128             description { state: "default" 0.0;
8129                color: 255 255 255 255;
8130             }
8131             description { state: "enabled" 0.0;
8132                color: 127 127 127 127;
8133             }
8134          }
8135          part { name: "blocker";
8136             description { state: "default" 0.0;
8137                visible: 0;
8138             }
8139             description { state: "enabled" 0.0;
8140                visible: 1;
8141                color: 0 0 0 0;
8142             }
8143          }
8144       }
8145       programs {
8146          program {
8147             name: "item_unclick";
8148             signal: "mouse,up,1";
8149             source: "over1";
8150             action: SIGNAL_EMIT "elm,action,click" "";
8151          }
8152          program { name: "disable";
8153             signal: "elm,state,disabled";
8154             source: "elm";
8155             action: STATE_SET "enabled" 0.0;
8156             target: "disclip";
8157             target: "blocker";
8158          }
8159          program { name: "enable";
8160             signal: "elm,state,enabled";
8161             source: "elm";
8162             action: STATE_SET "default" 0.0;
8163             target: "disclip";
8164             target: "blocker";
8165          }
8166          program { name: "item_click2";
8167             signal: "mouse,down,1";
8168             source: "over2";
8169             script {
8170                set_state(PART:"elm.text", "clicked", 0.0);
8171                set_state(PART:"bg", "clicked", 0.0);
8172             }
8173          }
8174          program { name: "item_unclick2";
8175             signal: "mouse,up,1";
8176             source: "over2";
8177             script {
8178                                         set_state(PART:"elm.text", "default", 0.0);
8179                set_state(PART:"bg", "default", 0.0);
8180             }
8181          }
8182       }
8183    }
8184 ///////////////////////////////////////////////////////////////////////////////
8185 // emoticon images from:
8186 // Tanya - Latvia
8187 // http://lazycrazy.deviantart.com/
8188 // http://lazycrazy.deviantart.com/art/Very-Emotional-Emoticons-144461621
8189   group { name: "elm/entry/emoticon/angry/default"; images.image:
8190      "emo-angry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8191         "emo-angry.png"; } } } }
8192   group { name: "elm/entry/emoticon/angry-shout/default"; images.image:
8193      "emo-angry-shout.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8194         "emo-angry-shout.png"; } } } }
8195   group { name: "elm/entry/emoticon/crazy-laugh/default"; images.image:
8196      "emo-crazy-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8197         "emo-crazy-laugh.png"; } } } }
8198   group { name: "elm/entry/emoticon/evil-laugh/default"; images.image:
8199      "emo-evil-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8200         "emo-evil-laugh.png"; } } } }
8201   group { name: "elm/entry/emoticon/evil/default"; images.image:
8202      "emo-evil.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8203         "emo-evil.png"; } } } }
8204   group { name: "elm/entry/emoticon/goggle-smile/default"; images.image:
8205      "emo-goggle-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8206         "emo-goggle-smile.png"; } } } }
8207   group { name: "elm/entry/emoticon/grumpy/default"; images.image:
8208      "emo-grumpy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8209         "emo-grumpy.png"; } } } }
8210   group { name: "elm/entry/emoticon/grumpy-smile/default"; images.image:
8211      "emo-grumpy-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8212         "emo-grumpy-smile.png"; } } } }
8213   group { name: "elm/entry/emoticon/guilty/default"; images.image:
8214      "emo-guilty.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8215         "emo-guilty.png"; } } } }
8216   group { name: "elm/entry/emoticon/guilty-smile/default"; images.image:
8217      "emo-guilty-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8218         "emo-guilty-smile.png"; } } } }
8219   group { name: "elm/entry/emoticon/haha/default"; images.image:
8220      "emo-haha.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8221         "emo-haha.png"; } } } }
8222   group { name: "elm/entry/emoticon/half-smile/default"; images.image:
8223      "emo-half-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8224         "emo-half-smile.png"; } } } }
8225   group { name: "elm/entry/emoticon/happy-panting/default"; images.image:
8226      "emo-happy-panting.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8227         "emo-happy-panting.png"; } } } }
8228   group { name: "elm/entry/emoticon/happy/default"; images.image:
8229      "emo-happy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8230         "emo-happy.png"; } } } }
8231   group { name: "elm/entry/emoticon/indifferent/default"; images.image:
8232      "emo-indifferent.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8233         "emo-indifferent.png"; } } } }
8234   group { name: "elm/entry/emoticon/kiss/default"; images.image:
8235      "emo-kiss.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8236         "emo-kiss.png"; } } } }
8237   group { name: "elm/entry/emoticon/knowing-grin/default"; images.image:
8238      "emo-knowing-grin.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8239         "emo-knowing-grin.png"; } } } }
8240   group { name: "elm/entry/emoticon/laugh/default"; images.image:
8241      "emo-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8242         "emo-laugh.png"; } } } }
8243   group { name: "elm/entry/emoticon/little-bit-sorry/default"; images.image:
8244      "emo-little-bit-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8245         "emo-little-bit-sorry.png"; } } } }
8246   group { name: "elm/entry/emoticon/love-lots/default"; images.image:
8247      "emo-love-lots.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8248         "emo-love-lots.png"; } } } }
8249   group { name: "elm/entry/emoticon/love/default"; images.image:
8250      "emo-love.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8251         "emo-love.png"; } } } }
8252   group { name: "elm/entry/emoticon/minimal-smile/default"; images.image:
8253      "emo-minimal-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8254         "emo-minimal-smile.png"; } } } }
8255   group { name: "elm/entry/emoticon/not-happy/default"; images.image:
8256      "emo-not-happy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8257         "emo-not-happy.png"; } } } }
8258   group { name: "elm/entry/emoticon/not-impressed/default"; images.image:
8259      "emo-not-impressed.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8260         "emo-not-impressed.png"; } } } }
8261   group { name: "elm/entry/emoticon/omg/default"; images.image:
8262      "emo-omg.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8263         "emo-omg.png"; } } } }
8264   group { name: "elm/entry/emoticon/opensmile/default"; images.image:
8265      "emo-opensmile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8266         "emo-opensmile.png"; } } } }
8267   group { name: "elm/entry/emoticon/smile/default"; images.image:
8268      "emo-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8269         "emo-smile.png"; } } } }
8270   group { name: "elm/entry/emoticon/sorry/default"; images.image:
8271      "emo-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8272         "emo-sorry.png"; } } } }
8273   group { name: "elm/entry/emoticon/squint-laugh/default"; images.image:
8274      "emo-squint-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8275         "emo-squint-laugh.png"; } } } }
8276   group { name: "elm/entry/emoticon/surprised/default"; images.image:
8277      "emo-surprised.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8278         "emo-surprised.png"; } } } }
8279   group { name: "elm/entry/emoticon/suspicious/default"; images.image:
8280      "emo-suspicious.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8281         "emo-suspicious.png"; } } } }
8282   group { name: "elm/entry/emoticon/tongue-dangling/default"; images.image:
8283      "emo-tongue-dangling.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8284         "emo-tongue-dangling.png"; } } } }
8285   group { name: "elm/entry/emoticon/tongue-poke/default"; images.image:
8286      "emo-tongue-poke.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8287         "emo-tongue-poke.png"; } } } }
8288   group { name: "elm/entry/emoticon/uh/default"; images.image:
8289      "emo-uh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8290         "emo-uh.png"; } } } }
8291   group { name: "elm/entry/emoticon/unhappy/default"; images.image:
8292      "emo-unhappy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8293         "emo-unhappy.png"; } } } }
8294   group { name: "elm/entry/emoticon/very-sorry/default"; images.image:
8295      "emo-very-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8296         "emo-very-sorry.png"; } } } }
8297   group { name: "elm/entry/emoticon/what/default"; images.image:
8298      "emo-what.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8299         "emo-what.png"; } } } }
8300   group { name: "elm/entry/emoticon/wink/default"; images.image:
8301      "emo-wink.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8302         "emo-wink.png"; } } } }
8303   group { name: "elm/entry/emoticon/worried/default"; images.image:
8304      "emo-worried.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8305         "emo-worried.png"; } } } }
8306   group { name: "elm/entry/emoticon/wtf/default"; images.image:
8307      "emo-wtf.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8308         "emo-wtf.png"; } } } }
8309 //------------------------------------------------------------
8310    group { name: "elm/entry/base/default";
8311       styles
8312       {
8313          style { name: "entry_textblock_style";
8314             base: "font=Sans font_size=10 color=#000 wrap=word text_class=entry";
8315             tag:  "br" "\n";
8316             tag:  "ps" "ps";
8317             tag:  "tab" "\t";
8318             tag:  "em" "+ font=Sans:style=Oblique";
8319             tag:  "b" "+ font=Sans:style=Bold";
8320             tag:  "link" "+ color=#800 underline=on underline_color=#8008";
8321             tag:  "hilight" "+ font=Sans:style=Bold";
8322          }
8323          style { name: "entry_textblock_disabled_style";
8324             base: "font=Sans font_size=10 color=#00000080 wrap=word text_class=entry";
8325             tag:  "br" "\n";
8326             tag:  "ps" "ps";
8327             tag:  "tab" "\t";
8328             tag:  "em" "+ font=Sans:style=Oblique";
8329             tag:  "b" "+ font=Sans:style=Bold";
8330             tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
8331             tag:  "hilight" "+ font=Sans:style=Bold";
8332          }
8333       }
8334       data {
8335 //         item: context_menu_orientation "horizontal";
8336       }
8337       parts {
8338          part { name: "elm.text";
8339             type: TEXTBLOCK;
8340             mouse_events: 1;
8341             scale: 1;
8342             entry_mode: EDITABLE;
8343             select_mode: EXPLICIT;
8344             multiline: 1;
8345             source: "elm/entry/selection/default"; // selection under
8346    //       source2: "X"; // selection over
8347    //       source3: "X"; // cursor under
8348             source4: "elm/entry/cursor/default"; // cursorover
8349             source5: "elm/entry/anchor/default"; // anchor under
8350    //       source6: "X"; // anchor over
8351             description { state: "default" 0.0;
8352                /* we gotta use 0 0 here, because of scrolled entries */
8353                fixed: 0 0;
8354                text {
8355                   style: "entry_textblock_style";
8356                   min: 0 1;
8357                   align: 0.0 0.0;
8358                }
8359             }
8360             description { state: "disabled" 0.0;
8361                inherit: "default" 0.0;
8362                text {
8363                   style: "entry_textblock_disabled_style";
8364                   min: 0 1;
8365                }
8366             }
8367          }
8368       }
8369       programs {
8370          program { name: "focus";
8371             signal: "load";
8372             source: "";
8373             action: FOCUS_SET;
8374             target: "elm.text";
8375          }
8376          program { name: "disable";
8377             signal: "elm,state,disabled";
8378             source: "elm";
8379             action: STATE_SET "disabled" 0.0;
8380             target: "elm.text";
8381          }
8382          program { name: "enable";
8383             signal: "elm,state,enabled";
8384             source: "elm";
8385             action: STATE_SET "default" 0.0;
8386             target: "elm.text";
8387          }
8388       }
8389    }
8390
8391    group { name: "elm/entry/base-mixedwrap/default";
8392       styles
8393       {
8394          style { name: "entry_textblock_style_mixedwrap";
8395             base: "font=Sans font_size=10 color=#000 wrap=mixed text_class=entry";
8396             tag:  "br" "\n";
8397             tag:  "ps" "ps";
8398             tag:  "tab" "\t";
8399             tag:  "em" "+ font=Sans:style=Oblique";
8400             tag:  "b" "+ font=Sans:style=Bold";
8401             tag:  "link" "+ color=#800 underline=on underline_color=#8008";
8402             tag:  "hilight" "+ font=Sans:style=Bold";
8403          }
8404          style { name: "entry_textblock_disabled_style_mixedwrap";
8405             base: "font=Sans font_size=10 color=#00000080 wrap=char text_class=entry";
8406             tag:  "br" "\n";
8407             tag:  "ps" "ps";
8408             tag:  "tab" "\t";
8409             tag:  "em" "+ font=Sans:style=Oblique";
8410             tag:  "b" "+ font=Sans:style=Bold";
8411             tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
8412             tag:  "hilight" "+ font=Sans:style=Bold";
8413          }
8414       }
8415       parts {
8416          part { name: "elm.text";
8417             type: TEXTBLOCK;
8418             mouse_events: 1;
8419             scale: 1;
8420             entry_mode: EDITABLE;
8421             select_mode: EXPLICIT;
8422             multiline: 1;
8423             source: "elm/entry/selection/default"; // selection under
8424 //          source2: "X"; // selection over
8425 //          source3: "X"; // cursor under
8426             source4: "elm/entry/cursor/default"; // cursorover
8427             source5: "elm/entry/anchor/default"; // anchor under
8428 //          source6: "X"; // anchor over
8429             description { state: "default" 0.0;
8430                fixed: 1 0;
8431                text {
8432                   style: "entry_textblock_style_mixedwrap";
8433                   min: 0 1;
8434                   align: 0.0 0.0;
8435                }
8436             }
8437             description { state: "disabled" 0.0;
8438                inherit: "default" 0.0;
8439                text {
8440                   style: "entry_textblock_disabled_style_mixedwrap";
8441                   min: 0 1;
8442                }
8443             }
8444          }
8445       }
8446       programs {
8447          program { name: "focus";
8448             signal: "load";
8449             source: "";
8450             action: FOCUS_SET;
8451             target: "elm.text";
8452          }
8453          program { name: "disable";
8454             signal: "elm,state,disabled";
8455             source: "elm";
8456             action: STATE_SET "disabled" 0.0;
8457             target: "elm.text";
8458          }
8459          program { name: "enable";
8460             signal: "elm,state,enabled";
8461             source: "elm";
8462             action: STATE_SET "default" 0.0;
8463             target: "elm.text";
8464          }
8465       }
8466    }
8467
8468    group { name: "elm/entry/base-charwrap/default";
8469       styles
8470       {
8471          style { name: "entry_textblock_style_charwrap";
8472             base: "font=Sans font_size=10 color=#000 wrap=char text_class=entry";
8473             tag:  "br" "\n";
8474             tag:  "ps" "ps";
8475             tag:  "tab" "\t";
8476             tag:  "em" "+ font=Sans:style=Oblique";
8477             tag:  "b" "+ font=Sans:style=Bold";
8478             tag:  "link" "+ color=#800 underline=on underline_color=#8008";
8479             tag:  "hilight" "+ font=Sans:style=Bold";
8480          }
8481          style { name: "entry_textblock_disabled_style_charwrap";
8482             base: "font=Sans font_size=10 color=#00000080 wrap=char text_class=entry";
8483             tag:  "br" "\n";
8484             tag:  "ps" "ps";
8485             tag:  "tab" "\t";
8486             tag:  "em" "+ font=Sans:style=Oblique";
8487             tag:  "b" "+ font=Sans:style=Bold";
8488             tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
8489             tag:  "hilight" "+ font=Sans:style=Bold";
8490          }
8491       }
8492       parts {
8493          part { name: "elm.text";
8494             type: TEXTBLOCK;
8495             mouse_events: 1;
8496             scale: 1;
8497             entry_mode: EDITABLE;
8498             select_mode: EXPLICIT;
8499             multiline: 1;
8500             source: "elm/entry/selection/default"; // selection under
8501 //          source2: "X"; // selection over
8502 //          source3: "X"; // cursor under
8503             source4: "elm/entry/cursor/default"; // cursorover
8504             source5: "elm/entry/anchor/default"; // anchor under
8505 //          source6: "X"; // anchor over
8506             description { state: "default" 0.0;
8507                fixed: 1 0;
8508                text {
8509                   style: "entry_textblock_style_charwrap";
8510                   min: 0 1;
8511                   align: 0.0 0.0;
8512                }
8513             }
8514             description { state: "disabled" 0.0;
8515                inherit: "default" 0.0;
8516                text {
8517                   style: "entry_textblock_disabled_style_charwrap";
8518                   min: 0 1;
8519                }
8520             }
8521          }
8522       }
8523       programs {
8524          program { name: "focus";
8525             signal: "load";
8526             source: "";
8527             action: FOCUS_SET;
8528             target: "elm.text";
8529          }
8530          program { name: "disable";
8531             signal: "elm,state,disabled";
8532             source: "elm";
8533             action: STATE_SET "disabled" 0.0;
8534             target: "elm.text";
8535          }
8536          program { name: "enable";
8537             signal: "elm,state,enabled";
8538             source: "elm";
8539             action: STATE_SET "default" 0.0;
8540             target: "elm.text";
8541          }
8542       }
8543    }
8544
8545    group { name: "elm/entry/base-nowrap/default";
8546       parts {
8547          part { name: "elm.text";
8548             type: TEXTBLOCK;
8549             mouse_events: 1;
8550             scale: 1;
8551             entry_mode: EDITABLE;
8552             select_mode: EXPLICIT;
8553             multiline: 1;
8554             source: "elm/entry/selection/default"; // selection under
8555             source4: "elm/entry/cursor/default"; // cursorover
8556             source5: "elm/entry/anchor/default"; // anchor under
8557             description { state: "default" 0.0;
8558                text {
8559                   style: "entry_textblock_style";
8560                   min: 1 1;
8561                   align: 0.0 0.0;
8562                }
8563             }
8564             description { state: "disabled" 0.0;
8565                inherit: "default" 0.0;
8566                text {
8567                   style: "entry_textblock_disabled_style";
8568                   min: 0 1;
8569                }
8570             }
8571          }
8572 /*
8573          part { name: "sel";
8574             type: RECT;
8575             mouse_events: 0;
8576             description { state: "default" 0.0;
8577                align: 1.0 1.0;
8578                max: 16 16;
8579                aspect: 1.0 1.0;
8580                color: 255 0 0 0;
8581             }
8582             description { state: "visible" 0.0;
8583                inherit: "default" 0.0;
8584                color: 255 0 0 50;
8585             }
8586          }
8587  */
8588       }
8589       programs {
8590          program { name: "focus";
8591             signal: "load";
8592             source: "";
8593             action: FOCUS_SET;
8594             target: "elm.text";
8595          }
8596          program { name: "disable";
8597             signal: "elm,state,disabled";
8598             source: "elm";
8599             action: STATE_SET "disabled" 0.0;
8600             target: "elm.text";
8601          }
8602          program { name: "enable";
8603             signal: "elm,state,enabled";
8604             source: "elm";
8605             action: STATE_SET "default" 0.0;
8606             target: "elm.text";
8607          }
8608 /*
8609          program { name: "selmode0";
8610             signal: "elm,state,select,on";
8611             source: "elm";
8612             action: STATE_SET "visible" 0.0;
8613             target: "sel";
8614          }
8615          program { name: "selmode1";
8616             signal: "elm,state,select,off";
8617             source: "elm";
8618             action: STATE_SET "default" 0.0;
8619             target: "sel";
8620          }
8621  */
8622       }
8623    }
8624
8625    group { name: "elm/entry/base-single/default";
8626       styles
8627       {
8628          style { name: "entry_single_textblock_style";
8629             base: "font=Sans font_size=10 color=#000 wrap=none text_class=entry";
8630             tag:  "br" "\n";
8631             tag:  "ps" "ps";
8632             tag:  "tab" "\t";
8633             tag:  "em" "+ font=Sans:style=Oblique";
8634             tag:  "b" "+ font=Sans:style=Bold";
8635             tag:  "link" "+ color=#800 underline=on underline_color=#8008";
8636             tag:  "hilight" "+ font=Sans:style=Bold";
8637          }
8638          style { name: "entry_single_textblock_disabled_style";
8639             base: "font=Sans font_size=10 color=#00000080 wrap=none text_class=entry";
8640             tag:  "br" "\n";
8641             tag:  "ps" "ps";
8642             tag:  "tab" "\t";
8643             tag:  "em" "+ font=Sans:style=Oblique";
8644             tag:  "b" "+ font=Sans:style=Bold";
8645             tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
8646             tag:  "hilight" "+ font=Sans:style=Bold";
8647          }
8648       }
8649       parts {
8650          part { name: "elm.text";
8651             type: TEXTBLOCK;
8652             mouse_events: 1;
8653             scale: 1;
8654             entry_mode: EDITABLE;
8655             select_mode: EXPLICIT;
8656             multiline: 0;
8657             source: "elm/entry/selection/default"; // selection under
8658             source4: "elm/entry/cursor/default"; // cursorover
8659             source5: "elm/entry/anchor/default"; // anchor under
8660             description { state: "default" 0.0;
8661                text {
8662                   style: "entry_single_textblock_style";
8663                   min: 1 1;
8664                   max: 0 0;
8665                   align: 0.0 0.5;
8666                }
8667             }
8668             description { state: "disabled" 0.0;
8669                inherit: "default" 0.0;
8670                text {
8671                   style: "entry_single_textblock_disabled_style";
8672                }
8673             }
8674          }
8675       }
8676       programs {
8677          program { name: "focus";
8678             signal: "load";
8679             source: "";
8680             action: FOCUS_SET;
8681             target: "elm.text";
8682          }
8683          program { name: "disable";
8684             signal: "elm,state,disabled";
8685             source: "elm";
8686             action: STATE_SET "disabled" 0.0;
8687             target: "elm.text";
8688          }
8689          program { name: "enable";
8690             signal: "elm,state,enabled";
8691             source: "elm";
8692             action: STATE_SET "default" 0.0;
8693             target: "elm.text";
8694          }
8695       }
8696    }
8697
8698    group { name: "elm/entry/base-single-noedit/default";
8699       parts {
8700          part { name: "elm.text";
8701             type: TEXTBLOCK;
8702             mouse_events: 1;
8703             scale: 1;
8704             entry_mode: PLAIN;
8705             select_mode: EXPLICIT;
8706             multiline: 0;
8707             source: "elm/entry/selection/default"; // selection under
8708             source5: "elm/entry/anchor/default"; // anchor under
8709             description { state: "default" 0.0;
8710                text {
8711                   style: "entry_single_textblock_style";
8712                   min: 1 1;
8713                   max: 0 0;
8714                   align: 0.0 0.5;
8715                }
8716             }
8717             description { state: "disabled" 0.0;
8718                inherit: "default" 0.0;
8719                text {
8720                style: "entry_single_textblock_disabled_style";
8721                }
8722             }
8723          }
8724       }
8725       programs {
8726          program { name: "focus";
8727             signal: "load";
8728             source: "";
8729             action: FOCUS_SET;
8730             target: "elm.text";
8731          }
8732          program { name: "disable";
8733             signal: "elm,state,disabled";
8734             source: "elm";
8735             action: STATE_SET "disabled" 0.0;
8736             target: "elm.text";
8737          }
8738          program { name: "enable";
8739             signal: "elm,state,enabled";
8740             source: "elm";
8741             action: STATE_SET "default" 0.0;
8742             target: "elm.text";
8743          }
8744       }
8745    }
8746
8747    group { name: "elm/entry/base-noedit/default";
8748       parts {
8749          part { name: "elm.text";
8750             type: TEXTBLOCK;
8751             mouse_events: 1;
8752             scale: 1;
8753             entry_mode: PLAIN;
8754             select_mode: EXPLICIT;
8755             multiline: 1;
8756             source: "elm/entry/selection/default"; // selection under
8757             source5: "elm/entry/anchor/default"; // anchor under
8758             description { state: "default" 0.0;
8759                fixed: 1 0;
8760                text {
8761                   style: "entry_textblock_style";
8762                   min: 0 1;
8763                   align: 0.0 0.0;
8764                }
8765             }
8766             description { state: "disabled" 0.0;
8767                inherit: "default" 0.0;
8768                text {
8769                   style: "entry_textblock_disabled_style";
8770                }
8771             }
8772          }
8773       }
8774       programs {
8775          program { name: "focus";
8776             signal: "load";
8777             source: "";
8778             action: FOCUS_SET;
8779             target: "elm.text";
8780          }
8781          program { name: "disable";
8782             signal: "elm,state,disabled";
8783             source: "elm";
8784             action: STATE_SET "disabled" 0.0;
8785             target: "elm.text";
8786          }
8787          program { name: "enable";
8788             signal: "elm,state,enabled";
8789             source: "elm";
8790             action: STATE_SET "default" 0.0;
8791             target: "elm.text";
8792          }
8793       }
8794    }
8795
8796    group { name: "elm/entry/base-noedit-mixedwrap/default";
8797       parts {
8798          part { name: "elm.text";
8799             type: TEXTBLOCK;
8800             mouse_events: 1;
8801             scale: 1;
8802             entry_mode: PLAIN;
8803             select_mode: EXPLICIT;
8804             multiline: 1;
8805             source: "elm/entry/selection/default"; // selection under
8806             source5: "elm/entry/anchor/default"; // anchor under
8807             description { state: "default" 0.0;
8808                fixed: 1 0;
8809                text {
8810                   style: "entry_textblock_style_mixedwrap";
8811                   min: 0 1;
8812                   align: 0.0 0.0;
8813                }
8814             }
8815             description { state: "disabled" 0.0;
8816                inherit: "default" 0.0;
8817                text {
8818                   style: "entry_textblock_disabled_style_mixedwrap";
8819                }
8820             }
8821          }
8822       }
8823       programs {
8824          program { name: "focus";
8825             signal: "load";
8826             source: "";
8827             action: FOCUS_SET;
8828             target: "elm.text";
8829          }
8830          program { name: "disable";
8831             signal: "elm,state,disabled";
8832             source: "elm";
8833             action: STATE_SET "disabled" 0.0;
8834             target: "elm.text";
8835          }
8836          program { name: "enable";
8837             signal: "elm,state,enabled";
8838             source: "elm";
8839             action: STATE_SET "default" 0.0;
8840             target: "elm.text";
8841          }
8842       }
8843    }
8844
8845    group { name: "elm/entry/base-noedit-charwrap/default";
8846       parts {
8847          part { name: "elm.text";
8848             type: TEXTBLOCK;
8849             mouse_events: 1;
8850             scale: 1;
8851             entry_mode: PLAIN;
8852             select_mode: EXPLICIT;
8853             multiline: 1;
8854             source: "elm/entry/selection/default"; // selection under
8855             source5: "elm/entry/anchor/default"; // anchor under
8856             description { state: "default" 0.0;
8857                fixed: 1 0;
8858                text {
8859                   style: "entry_textblock_style_charwrap";
8860                   min: 0 1;
8861                   align: 0.0 0.0;
8862                }
8863             }
8864             description { state: "disabled" 0.0;
8865                inherit: "default" 0.0;
8866                text {
8867                   style: "entry_textblock_disabled_style_charwrap";
8868                }
8869             }
8870          }
8871       }
8872       programs {
8873          program { name: "focus";
8874             signal: "load";
8875             source: "";
8876             action: FOCUS_SET;
8877             target: "elm.text";
8878          }
8879          program { name: "disable";
8880             signal: "elm,state,disabled";
8881             source: "elm";
8882             action: STATE_SET "disabled" 0.0;
8883             target: "elm.text";
8884          }
8885          program { name: "enable";
8886             signal: "elm,state,enabled";
8887             source: "elm";
8888             action: STATE_SET "default" 0.0;
8889             target: "elm.text";
8890          }
8891       }
8892    }
8893
8894    group { name: "elm/entry/base-nowrap-noedit/default";
8895       parts {
8896          part { name: "elm.text";
8897             type: TEXTBLOCK;
8898             mouse_events: 1;
8899             scale: 1;
8900             entry_mode: PLAIN;
8901             select_mode: EXPLICIT;
8902             multiline: 1;
8903             source: "elm/entry/selection/default"; // selection under
8904             source5: "elm/entry/anchor/default"; // anchor under
8905             description { state: "default" 0.0;
8906                text {
8907                   style: "entry_textblock_style";
8908                   min: 1 1;
8909                   align: 0.0 0.0;
8910                }
8911             }
8912             description { state: "disabled" 0.0;
8913                inherit: "default" 0.0;
8914                text {
8915                   style: "entry_textblock_disabled_style";
8916                }
8917             }
8918          }
8919       }
8920       programs {
8921          program { name: "focus";
8922             signal: "load";
8923             source: "";
8924             action: FOCUS_SET;
8925             target: "elm.text";
8926          }
8927          program { name: "disable";
8928             signal: "elm,state,disabled";
8929             source: "elm";
8930             action: STATE_SET "disabled" 0.0;
8931             target: "elm.text";
8932          }
8933          program { name: "enable";
8934             signal: "elm,state,enabled";
8935             source: "elm";
8936             action: STATE_SET "default" 0.0;
8937             target: "elm.text";
8938          }
8939       }
8940    }
8941
8942    group { name: "elm/entry/base-password/default";
8943       parts {
8944          part { name: "elm.text";
8945             type: TEXTBLOCK;
8946             mouse_events: 1;
8947             scale: 1;
8948             entry_mode: PASSWORD;
8949             select_mode: EXPLICIT;
8950             multiline: 0;
8951             source: "elm/entry/selection/default"; // selection under
8952             source4: "elm/entry/cursor/default"; // cursorover
8953             source5: "elm/entry/anchor/default"; // anchor under
8954             description { state: "default" 0.0;
8955                text {
8956                   style: "entry_single_textblock_style";
8957                   repch: "*";
8958                   min: 1 1;
8959                   max: 0 0;
8960                   align: 0.0 0.5;
8961                }
8962             }
8963             description { state: "disabled" 0.0;
8964                inherit: "default" 0.0;
8965                text {
8966                   style: "entry_single_textblock_disabled_style";
8967                }
8968             }
8969          }
8970       }
8971       programs {
8972          program { name: "focus";
8973             signal: "load";
8974             source: "";
8975             action: FOCUS_SET;
8976             target: "elm.text";
8977          }
8978          program { name: "disable";
8979             signal: "elm,state,disabled";
8980             source: "elm";
8981             action: STATE_SET "disabled" 0.0;
8982             target: "elm.text";
8983          }
8984          program { name: "enable";
8985             signal: "elm,state,enabled";
8986             source: "elm";
8987             action: STATE_SET "default" 0.0;
8988             target: "elm.text";
8989          }
8990       }
8991    }
8992
8993    group { name: "elm/entry/cursor/default";
8994       images {
8995          image: "cur_box.png" COMP;
8996          image: "cur_hi.png" COMP;
8997          image: "cur_shad.png" COMP;
8998          image: "cur_shine.png" COMP;
8999          image: "cur_glow.png" COMP;
9000       }
9001       parts {
9002          part { name: "clip2";
9003             type: RECT;
9004             mouse_events: 0;
9005             description { state: "default" 0.0;
9006                rel1.to: "clip";
9007                rel2.to: "clip";
9008                visible: 0;
9009             }
9010             description { state: "focused" 0.0;
9011                inherit: "default" 0.0;
9012                visible: 1;
9013             }
9014          }
9015          part { name: "clip";
9016             type: RECT;
9017             mouse_events: 0;
9018             clip_to: "clip2";
9019             description { state: "default" 0.0;
9020                rel1.offset: -10 0;
9021                rel2.offset: 9 9;
9022             }
9023             description { state: "hidden" 0.0;
9024                inherit: "default" 0.0;
9025                visible: 0;
9026             }
9027          }
9028          part { name: "bg";
9029             mouse_events: 0;
9030             clip_to: "clip";
9031             description { state: "default" 0.0;
9032                rel1.to: "base";
9033                rel1.offset: -2 0;
9034                rel2.to: "base";
9035                rel2.offset: 1 1;
9036                image.border: 2 2 2 2;
9037                image.normal: "cur_shad.png";
9038             }
9039          }
9040          part { name: "base";
9041             mouse_events: 0;
9042             scale: 1;
9043             clip_to: "clip";
9044             description { state: "default" 0.0;
9045                min: 2 2;
9046                align: 0.5 1.0;
9047                rel1.relative: 0.0 1.0;
9048                rel1.offset: 0 -1;
9049                rel2.relative: 1.0 1.0;
9050                rel2.offset: -1 -1;
9051                image.normal: "cur_box.png";
9052             }
9053          }
9054          part { name: "hi";
9055             mouse_events: 0;
9056             clip_to: "clip";
9057             description { state: "default" 0.0;
9058                rel1.to: "base";
9059                rel2.to: "base";
9060                rel2.relative: 1.0 0.5;
9061                image.normal: "cur_hi.png";
9062             }
9063          }
9064          part { name: "shine";
9065             mouse_events: 0;
9066             clip_to: "clip";
9067             clip_to: "clip2";
9068             description { state: "default" 0.0;
9069                rel1.to: "base";
9070                rel2.to: "base";
9071                rel2.relative: 1.0 0.75;
9072                image.border: 2 2 1 0;
9073                image.normal: "cur_shine.png";
9074                fill.smooth: 0;
9075             }
9076          }
9077          part { name: "glow";
9078             mouse_events: 0;
9079             clip_to: "clip2";
9080             description { state: "default" 0.0;
9081                rel1.to: "base";
9082                rel1.relative: 0.0 -2.0;
9083                rel1.offset: -2 0;
9084                rel2.to: "base";
9085                rel2.relative: 1.0 0.0;
9086                rel2.offset: 1 1;
9087                image.border: 2 2 0 4;
9088                image.normal: "cur_glow.png";
9089                fill.smooth: 0;
9090             }
9091             description { state: "hidden" 0.0;
9092                inherit: "default" 0.0;
9093                color: 255 255 255 0;
9094             }
9095          }
9096       }
9097       programs {
9098          program { name: "show";
9099             signal: "show";
9100             source: "";
9101             action: STATE_SET "hidden" 0.0;
9102             in: 1.0 0.0;
9103             transition: DECELERATE 2.0;
9104             target: "glow";
9105             after: "show2";
9106          }
9107          program { name: "show2";
9108             action: STATE_SET "hidden" 0.0;
9109             in: 0.2 0.0;
9110             target: "clip";
9111             after: "show3";
9112          }
9113          program { name: "show3";
9114             action: STATE_SET "default" 0.0;
9115             in: 0.5 0.0;
9116             target: "clip";
9117             after: "show4";
9118          }
9119          program { name: "show4";
9120             action: STATE_SET "default" 0.0;
9121             in: 0.5 0.0;
9122             transition: DECELERATE 0.5;
9123             target: "glow";
9124             after: "show";
9125          }
9126          program { name: "focused";
9127             signal: "elm,action,focus";
9128             source: "elm";
9129             action: STATE_SET "focused" 0.0;
9130             target: "clip2";
9131          }
9132          program { name: "unfocused";
9133             signal: "elm,action,unfocus";
9134             source: "elm";
9135             action: STATE_SET "default" 0.0;
9136             target: "clip2";
9137          }
9138       }
9139    }
9140
9141    group { name: "elm/entry/selection/default";
9142       parts {
9143          part { name: "bg";
9144             type: RECT;
9145             mouse_events: 0;
9146             description { state: "default" 0.0;
9147                color: 128 128 128 128;
9148             }
9149          }
9150       }
9151    }
9152
9153    group { name: "elm/entry/anchor/default";
9154       parts {
9155          part { name: "bg";
9156             type: RECT;
9157             mouse_events: 0;
9158             description { state: "default" 0.0;
9159                color: 128 0 0 64;
9160             }
9161          }
9162       }
9163    }
9164
9165 ///////////////////////////////////////////////////////////////////////////////
9166   group { name: "elm/bubble/top_left/default";
9167     alias: "elm/bubble/base/default";
9168     images {
9169       image: "bubble_3.png" COMP;
9170       image: "bubble_4.png" COMP;
9171       image: "bubble_shine3.png" COMP;
9172       image: "bubble_shine4.png" COMP;
9173     }
9174     parts {
9175       part { name: "event";
9176          type: RECT;
9177          description {
9178             state: "default" 0.0;
9179             color: 0 0 0 0;
9180          }
9181       }
9182       part { name: "elm.swallow.icon";
9183         type: SWALLOW;
9184         description { state: "default" 0.0;
9185           fixed: 1 1;
9186           visible: 0;
9187           align: 0.0 0.0;
9188           aspect: 1.0 1.0;
9189           aspect_preference: VERTICAL;
9190           rel1 {
9191             relative: 0.0 0.0;
9192             offset: 4 4;
9193           }
9194           rel2 {
9195             to_y: "elm.text";
9196             relative: 0.0 1.0;
9197             offset: 4 -1;
9198           }
9199         }
9200         description { state: "visible" 0.0;
9201           inherit: "default" 0.0;
9202           visible: 1;
9203         }
9204       }
9205       part { name: "elm.text";
9206         type: TEXT;
9207         mouse_events:   0;
9208         scale: 1;
9209         description { state: "default" 0.0;
9210           align: 0.0 0.0;
9211           fixed: 0 1;
9212           rel1 {
9213             to_x: "elm.swallow.icon";
9214             relative: 1.0 0.0;
9215             offset: 4 4;
9216           }
9217           rel2 {
9218             to_x: "elm.info";
9219             relative: 0.0 0.0;
9220             offset: -5 4;
9221           }
9222           color: 0 0 0 255;
9223           text {
9224             font: "Sans:style=Bold,Edje-Vera-Bold";
9225             size: 10;
9226             min: 0 1;
9227             max: 0 1;
9228             align: 0.0 0.0;
9229           }
9230         }
9231       }
9232       part { name: "elm.info";
9233         type: TEXT;
9234         mouse_events:   0;
9235         scale: 1;
9236         description { state: "default" 0.0;
9237           align: 1.0 0.0;
9238           fixed: 1 1;
9239           rel1 {
9240             relative: 1.0 0.0;
9241             offset: -5 4;
9242           }
9243           rel2 {
9244             relative: 1.0 0.0;
9245             offset: -5 4;
9246           }
9247           color: 0 0 0 64;
9248           text {
9249             font: "Sans:style=Bold,Edje-Vera-Bold";
9250             size: 10;
9251             min: 1 1;
9252             max: 1 1;
9253             align: 1.0 0.0;
9254           }
9255         }
9256       }
9257       part { name: "base0";
9258         mouse_events:  0;
9259         description { state: "default" 0.0;
9260           rel1 {
9261             to_y: "elm.swallow.icon";
9262             relative: 0.0 1.0;
9263             offset: 0 0;
9264           }
9265           image {
9266             normal: "bubble_3.png";
9267             border: 36 11 18 9;
9268           }
9269           image.middle: SOLID;
9270           fill.smooth: 0;
9271         }
9272         description { state: "rtl" 0.0;
9273            inherit: "default" 0.0;
9274            image {
9275               normal: "bubble_4.png";
9276               border: 11 36 18 9;
9277            }
9278         }
9279       }
9280       part { name: "elm.swallow.content";
9281         type: SWALLOW;
9282         description { state: "default" 0.0;
9283           rel1 {
9284             to: "base0";
9285             offset: 9 16;
9286           }
9287           rel2 {
9288             to: "base0";
9289             offset: -10 -9;
9290           }
9291         }
9292       }
9293       part { name: "shine";
9294         mouse_events:  0;
9295         description { state:    "default" 0.0;
9296           rel1 {
9297             to: "base0";
9298             offset: 5 4;
9299           }
9300           rel2 {
9301             to: "base0";
9302             relative: 1.0 0.5;
9303             offset: -6 7;
9304           }
9305           image {
9306             normal: "bubble_shine3.png";
9307             border: 36 5 14 0;
9308           }
9309           fill.smooth: 0;
9310         }
9311         description { state: "rtl" 0.0;
9312            inherit: "default" 0.0;
9313            image {
9314               normal: "bubble_shine4.png";
9315               border: 5 36 14 0;
9316            }
9317         }
9318       }
9319     }
9320     programs {
9321       program {
9322         name: "icon_show";
9323         signal: "elm,state,icon,visible";
9324         source: "elm";
9325         action: STATE_SET "visible" 0.0;
9326         target: "elm.swallow.icon";
9327       }
9328       program {
9329         name: "icon_hide";
9330         signal: "elm,state,icon,hidden";
9331         source: "elm";
9332         action: STATE_SET "default" 0.0;
9333         target: "elm.swallow.icon";
9334       }
9335       program { name: "to_rtl";
9336          signal: "edje,state,rtl";
9337          source: "edje";
9338          action: STATE_SET "rtl" 0.0;
9339          target: "base0";
9340          target: "shine";
9341       }
9342       program { name: "to_ltr";
9343          signal: "edje,state,ltr";
9344          source: "edje";
9345          action: STATE_SET "default" 0.0;
9346          target: "base0";
9347          target: "shine";
9348       }
9349     }
9350   }
9351
9352   group { name: "elm/bubble/top_right/default";
9353     images {
9354       image: "bubble_3.png" COMP;
9355       image: "bubble_4.png" COMP;
9356       image: "bubble_shine3.png" COMP;
9357       image: "bubble_shine4.png" COMP;
9358     }
9359     parts {
9360       part { name: "event";
9361          type: RECT;
9362          description {
9363             state: "default" 0.0;
9364             color: 0 0 0 0;
9365          }
9366       }
9367       part { name: "elm.swallow.icon";
9368         type: SWALLOW;
9369         description { state: "default" 0.0;
9370           fixed: 1 1;
9371           visible: 0;
9372           align: 1.0 0.0;
9373           aspect: 1.0 1.0;
9374           aspect_preference: VERTICAL;
9375           rel1 {
9376             relative: 1.0 0.0;
9377             offset: -5 4;
9378           }
9379           rel2 {
9380             to_y: "elm.text";
9381             relative: 1.0 1.0;
9382             offset: -5 -1;
9383           }
9384         }
9385         description { state: "visible" 0.0;
9386           inherit: "default" 0.0;
9387           visible: 1;
9388         }
9389       }
9390       part { name: "elm.text";
9391         type: TEXT;
9392         mouse_events:   0;
9393         scale: 1;
9394         description { state: "default" 0.0;
9395           align: 0.0 0.0;
9396           fixed: 0 1;
9397           rel1 {
9398             relative: 0.0 0.0;
9399             offset: 4 4;
9400           }
9401           rel2 {
9402             to_x: "elm.info";
9403             relative: 0.0 0.0;
9404             offset: -5 4;
9405           }
9406           color: 0 0 0 255;
9407           text {
9408             font: "Sans:style=Bold,Edje-Vera-Bold";
9409             size: 10;
9410             min: 0 1;
9411             max: 0 1;
9412             align: 0.0 0.0;
9413           }
9414         }
9415       }
9416       part { name: "elm.info";
9417         type: TEXT;
9418         mouse_events:   0;
9419         scale: 1;
9420         description { state: "default" 0.0;
9421           align: 1.0 0.0;
9422           fixed: 1 1;
9423           rel1 {
9424             relative: 1.0 0.0;
9425             offset: -5 4;
9426           }
9427           rel2 {
9428             to_x: "elm.swallow.icon";
9429             relative: 0.0 0.0;
9430             offset: -5 4;
9431           }
9432           color: 0 0 0 64;
9433           text {
9434             font: "Sans:style=Bold,Edje-Vera-Bold";
9435             size: 10;
9436             min: 1 1;
9437             max: 1 1;
9438             align: 1.0 0.0;
9439           }
9440         }
9441       }
9442       part { name: "base0";
9443         mouse_events:  0;
9444         description { state: "default" 0.0;
9445           rel1 {
9446             to_y: "elm.swallow.icon";
9447             relative: 0.0 1.0;
9448             offset: 0 0;
9449           }
9450           image {
9451             normal: "bubble_4.png";
9452             border: 11 36 18 9;
9453           }
9454           image.middle: SOLID;
9455           fill.smooth: 0;
9456         }
9457         description { state: "rtl" 0.0;
9458            inherit: "default" 0.0;
9459            image {
9460               normal: "bubble_3.png";
9461               border: 36 11 18 9;
9462            }
9463         }
9464       }
9465       part { name: "elm.swallow.content";
9466         type: SWALLOW;
9467         description { state: "default" 0.0;
9468           rel1 {
9469             to: "base0";
9470             offset: 9 16;
9471           }
9472           rel2 {
9473             to: "base0";
9474             offset: -10 -9;
9475           }
9476         }
9477       }
9478       part { name: "shine";
9479         mouse_events:  0;
9480         description { state:    "default" 0.0;
9481           rel1 {
9482             to: "base0";
9483             offset: 5 4;
9484           }
9485           rel2 {
9486             to: "base0";
9487             relative: 1.0 0.5;
9488             offset: -6 7;
9489           }
9490           image {
9491             normal: "bubble_shine4.png";
9492             border: 5 36 14 0;
9493           }
9494           fill.smooth: 0;
9495         }
9496         description { state: "rtl" 0.0;
9497            inherit: "default" 0.0;
9498            image {
9499               normal: "bubble_shine3.png";
9500               border: 36 5 14 0;
9501            }
9502         }
9503       }
9504     }
9505     programs {
9506       program {
9507         name: "icon_show";
9508         signal: "elm,state,icon,visible";
9509         source: "elm";
9510         action: STATE_SET "visible" 0.0;
9511         target: "elm.swallow.icon";
9512       }
9513       program {
9514         name: "icon_hide";
9515         signal: "elm,state,icon,hidden";
9516         source: "elm";
9517         action: STATE_SET "default" 0.0;
9518         target: "elm.swallow.icon";
9519       }
9520       program { name: "to_rtl";
9521          signal: "edje,state,rtl";
9522          source: "edje";
9523          action: STATE_SET "rtl" 0.0;
9524          target: "base0";
9525          target: "shine";
9526       }
9527       program { name: "to_ltr";
9528          signal: "edje,state,ltr";
9529          source: "edje";
9530          action: STATE_SET "default" 0.0;
9531          target: "base0";
9532          target: "shine";
9533       }
9534     }
9535   }
9536
9537   group { name: "elm/bubble/bottom_left/default";
9538     images {
9539       image: "bubble_1.png" COMP;
9540       image: "bubble_2.png" COMP;
9541       image: "bubble_shine.png" COMP;
9542     }
9543     parts {
9544       part { name: "event";
9545          type: RECT;
9546          description {
9547             state: "default" 0.0;
9548             color: 0 0 0 0;
9549          }
9550       }
9551       part { name: "elm.swallow.icon";
9552         type: SWALLOW;
9553         description { state: "default" 0.0;
9554           fixed: 1 1;
9555           visible: 0;
9556           align: 0.0 1.0;
9557           aspect: 1.0 1.0;
9558           aspect_preference: VERTICAL;
9559           rel1 {
9560             to_y: "elm.text";
9561             relative: 0.0 0.0;
9562             offset: 4 0;
9563           }
9564           rel2 {
9565             relative: 0.0 1.0;
9566             offset: 4 -5;
9567           }
9568         }
9569         description { state: "visible" 0.0;
9570           inherit: "default" 0.0;
9571           visible: 1;
9572         }
9573       }
9574       part { name: "elm.text";
9575         type: TEXT;
9576         mouse_events:   0;
9577         scale: 1;
9578         description { state: "default" 0.0;
9579           align: 0.0 1.0;
9580           fixed: 0 1;
9581           rel1 {
9582             to_x: "elm.swallow.icon";
9583             relative: 1.0 1.0;
9584             offset: 4 -5;
9585           }
9586           rel2 {
9587             to_x: "elm.info";
9588             relative: 0.0 1.0;
9589             offset: -5 -5;
9590           }
9591           color: 0 0 0 255;
9592           text {
9593             font: "Sans:style=Bold,Edje-Vera-Bold";
9594             size: 10;
9595             min: 0 1;
9596             max: 0 1;
9597             align: 0.0 1.0;
9598           }
9599         }
9600       }
9601       part { name: "elm.info";
9602         type: TEXT;
9603         mouse_events:   0;
9604         scale: 1;
9605         description { state: "default" 0.0;
9606           align: 1.0 1.0;
9607           fixed: 1 1;
9608           rel1 {
9609             relative: 1.0 1.0;
9610             offset: -5 -5;
9611           }
9612           rel2 {
9613             relative: 1.0 1.0;
9614             offset: -5 -5;
9615           }
9616           color: 0 0 0 64;
9617           text {
9618             font: "Sans:style=Bold,Edje-Vera-Bold";
9619             size: 10;
9620             min: 1 1;
9621             max: 1 1;
9622             align: 1.0 1.0;
9623           }
9624         }
9625       }
9626       part { name: "base0";
9627         mouse_events:  0;
9628         description { state: "default" 0.0;
9629           rel2 {
9630             to_y: "elm.swallow.icon";
9631             relative: 1.0 0.0;
9632             offset: -1 -1;
9633           }
9634           image {
9635             normal: "bubble_1.png";
9636             border: 36 11 10 19;
9637           }
9638           image.middle: SOLID;
9639           fill.smooth: 0;
9640         }
9641         description { state: "rtl" 0.0;
9642            inherit: "default" 0.0;
9643            image {
9644               normal: "bubble_2.png";
9645               border: 11 36 10 19;
9646            }
9647         }
9648       }
9649       part { name: "elm.swallow.content";
9650         type: SWALLOW;
9651         description { state: "default" 0.0;
9652           rel1 {
9653             to: "base0";
9654             offset: 9 8;
9655           }
9656           rel2 {
9657             to: "base0";
9658             offset: -10 -17;
9659           }
9660         }
9661       }
9662       part { name: "shine";
9663         mouse_events:  0;
9664         description { state:    "default" 0.0;
9665           rel1 {
9666             to: "base0";
9667             offset: 5 4;
9668           }
9669           rel2 {
9670             to: "base0";
9671             relative: 1.0 0.5;
9672             offset: -6 -16;
9673           }
9674           image {
9675             normal: "bubble_shine.png";
9676             border: 5 5 5 0;
9677           }
9678           fill.smooth: 0;
9679         }
9680         description { state: "rtl" 0.0;
9681            inherit: "default" 0.0;
9682            image {
9683               normal: "bubble_shine4.png";
9684               border: 5 36 14 0;
9685            }
9686         }
9687       }
9688     }
9689     programs {
9690       program {
9691         name: "icon_show";
9692         signal: "elm,state,icon,visible";
9693         source: "elm";
9694         action: STATE_SET "visible" 0.0;
9695         target: "elm.swallow.icon";
9696       }
9697       program {
9698         name: "icon_hide";
9699         signal: "elm,state,icon,hidden";
9700         source: "elm";
9701         action: STATE_SET "default" 0.0;
9702         target: "elm.swallow.icon";
9703       }
9704       program { name: "to_rtl";
9705          signal: "edje,state,rtl";
9706          source: "edje";
9707          action: STATE_SET "rtl" 0.0;
9708          target: "base0";
9709       }
9710       program { name: "to_ltr";
9711          signal: "edje,state,ltr";
9712          source: "edje";
9713          action: STATE_SET "default" 0.0;
9714          target: "base0";
9715       }
9716     }
9717   }
9718
9719   group { name: "elm/bubble/bottom_right/default";
9720     images {
9721       image: "bubble_1.png" COMP;
9722       image: "bubble_2.png" COMP;
9723       image: "bubble_shine.png" COMP;
9724     }
9725     parts {
9726       part { name: "event";
9727          type: RECT;
9728          description {
9729             state: "default" 0.0;
9730             color: 0 0 0 0;
9731          }
9732       }
9733       part { name: "elm.swallow.icon";
9734         type: SWALLOW;
9735         description { state: "default" 0.0;
9736           fixed: 1 1;
9737           visible: 0.0;
9738           align: 1.0 1.0;
9739           aspect: 1.0 1.0;
9740           aspect_preference: VERTICAL;
9741           rel1 {
9742             to_y: "elm.text";
9743             relative: 1.0 0.0;
9744             offset: -5 0;
9745           }
9746           rel2 {
9747             relative: 1.0 1.0;
9748             offset: -5 -5;
9749           }
9750         }
9751         description { state: "visible" 0.0;
9752           inherit: "default" 0.0;
9753           visible: 1;
9754         }
9755       }
9756       part { name: "elm.text";
9757         type: TEXT;
9758         mouse_events:   0;
9759         scale: 1;
9760         description { state: "default" 0.0;
9761           align: 0.0 1.0;
9762           fixed: 0 1;
9763           rel1 {
9764             relative: 0.0 1.0;
9765             offset: 4 -5;
9766           }
9767           rel2 {
9768             to_x: "elm.info";
9769             relative: 0.0 1.0;
9770             offset: -5 -5;
9771           }
9772           color: 0 0 0 255;
9773           text {
9774             font: "Sans:style=Bold,Edje-Vera-Bold";
9775             size: 10;
9776             min: 0 1;
9777             max: 0 1;
9778             align: 0.0 1.0;
9779           }
9780         }
9781       }
9782       part { name: "elm.info";
9783         type: TEXT;
9784         mouse_events:   0;
9785         scale: 1;
9786         description { state: "default" 0.0;
9787           align: 1.0 1.0;
9788           fixed: 1 1;
9789           rel1 {
9790             relative: 1.0 1.0;
9791             offset: -5 -5;
9792           }
9793           rel2 {
9794             to_x: "elm.swallow.icon";
9795             relative: 0.0 1.0;
9796             offset: -5 -5;
9797           }
9798           color: 0 0 0 64;
9799           text {
9800             font: "Sans:style=Bold,Edje-Vera-Bold";
9801             size: 10;
9802             min: 1 1;
9803             max: 1 1;
9804             align: 1.0 1.0;
9805           }
9806         }
9807       }
9808       part { name: "base0";
9809         mouse_events:  0;
9810         description { state: "default" 0.0;
9811           rel2 {
9812             to_y: "elm.swallow.icon";
9813             relative: 1.0 0.0;
9814             offset: -1 -1;
9815           }
9816           image {
9817             normal: "bubble_2.png";
9818             border: 11 36 10 19;
9819           }
9820           image.middle: SOLID;
9821           fill.smooth: 0;
9822         }
9823         description { state: "rtl" 0.0;
9824            inherit: "default" 0.0;
9825            image {
9826               normal: "bubble_1.png";
9827               border: 36 11 10 19;
9828            }
9829         }
9830       }
9831       part { name: "elm.swallow.content";
9832         type: SWALLOW;
9833         description { state: "default" 0.0;
9834           rel1 {
9835             to: "base0";
9836             offset: 9 8;
9837           }
9838           rel2 {
9839             to: "base0";
9840             offset: -10 -17;
9841           }
9842         }
9843       }
9844       part { name: "shine";
9845         mouse_events:  0;
9846         description { state:    "default" 0.0;
9847           rel1 {
9848             to: "base0";
9849             offset: 5 4;
9850           }
9851           rel2 {
9852             to: "base0";
9853             relative: 1.0 0.5;
9854             offset: -6 -16;
9855           }
9856           image {
9857             normal: "bubble_shine.png";
9858             border: 5 5 5 0;
9859           }
9860           fill.smooth: 0;
9861         }
9862         description { state: "rtl" 0.0;
9863            inherit: "default" 0.0;
9864            image {
9865               normal: "bubble_shine3.png";
9866               border: 36 5 14 0;
9867            }
9868         }
9869       }
9870     }
9871     programs {
9872       program {
9873         name: "icon_show";
9874         signal: "elm,state,icon,visible";
9875         source: "elm";
9876         action: STATE_SET "visible" 0.0;
9877         target: "elm.swallow.icon";
9878       }
9879       program {
9880         name: "icon_hide";
9881         signal: "elm,state,icon,hidden";
9882         source: "elm";
9883         action: STATE_SET "default" 0.0;
9884         target: "elm.swallow.icon";
9885       }
9886       program { name: "to_rtl";
9887          signal: "edje,state,rtl";
9888          source: "edje";
9889          action: STATE_SET "rtl" 0.0;
9890          target: "base0";
9891       }
9892       program { name: "to_ltr";
9893          signal: "edje,state,ltr";
9894          source: "edje";
9895          action: STATE_SET "default" 0.0;
9896          target: "base0";
9897       }
9898     }
9899   }
9900
9901 ///////////////////////////////////////////////////////////////////////////////
9902    group { name: "elm/photo/base/default";
9903       images {
9904          image: "frame_1.png" COMP;
9905          image: "frame_2.png" COMP;
9906          image: "dia_grad.png" COMP;
9907          image: "head.png" COMP;
9908       }
9909       parts {
9910          part { name: "base0";
9911             mouse_events:  0;
9912             description { state: "default" 0.0;
9913                image.normal: "dia_grad.png";
9914                rel1.to: "over";
9915                rel2.to: "over";
9916                fill {
9917                   smooth: 0;
9918                   size {
9919                      relative: 0.0 1.0;
9920                      offset: 64 0;
9921                   }
9922                }
9923             }
9924          }
9925          part { name: "base";
9926             mouse_events:  0;
9927             description { state:    "default" 0.0;
9928                image {
9929                   normal: "frame_2.png";
9930                   border: 5 5 32 26;
9931                   middle: 0;
9932                }
9933                fill.smooth : 0;
9934             }
9935          }
9936          part { name: "head";
9937             mouse_events:  0;
9938             description { state:    "default" 0.0;
9939                rel1.offset: 4 4;
9940                rel2.offset: -5 -5;
9941                aspect: 1.0 1.0;
9942                aspect_preference: BOTH;
9943                image.normal: "head.png";
9944             }
9945          }
9946          part { name: "clip";
9947             mouse_events:  0;
9948             type: RECT;
9949             description { state:    "default" 0.0;
9950                rel1.offset: 4 4;
9951                rel2.offset: -5 -5;
9952                color: 255 255 255 255;
9953             }
9954          }
9955          part { name: "elm.swallow.content";
9956             type: SWALLOW;
9957             clip_to: "clip";
9958             description { state: "default" 0.0;
9959                rel1.offset: 4 4;
9960                rel2.offset: -5 -5;
9961             }
9962          }
9963          part { name: "over";
9964             mouse_events:  0;
9965             description { state:    "default" 0.0;
9966                rel1.offset: 4 4;
9967                rel2.offset: -5 -5;
9968                image {
9969                   normal: "frame_1.png";
9970                   border: 2 2 28 22;
9971                   middle: 0;
9972                }
9973                fill.smooth: 0;
9974             }
9975          }
9976      }
9977    }
9978
9979    group { name: "elm/photo/base/shadow";
9980               images {
9981                         image: "shadow.png" COMP;
9982                         image: "black.png" COMP;
9983               }
9984               script {
9985               public message(Msg_Type:type, id, ...) {
9986                 if( (type==MSG_INT_SET) && (id==0) )
9987                 {
9988                     new w;
9989                     new h;
9990
9991                     custom_state(PART:"size", "default", 0.0);
9992
9993                     w = getarg(2);
9994                     h = getarg(3);
9995                     set_state_val(PART:"size", STATE_REL1_OFFSET, - w/2, - h/2);
9996                     set_state_val(PART:"size", STATE_REL2_OFFSET, w/2 + 1, h/2 + 1);
9997                     set_state(PART:"size", "custom", 0.0);
9998                 }
9999             }
10000             }
10001               parts {
10002               part { name: "size";
10003                     type: SWALLOW;
10004                     description { state: "default" 0.0;
10005                             rel1.relative: 0.5 0.5;
10006                             rel2.relative: 0.5 0.5;
10007                     }
10008                  }
10009               part {
10010                 name: "shadow";
10011                 type: IMAGE;
10012                 repeat_events: 1;
10013                 description {
10014                     state: "default" 0.0;
10015                     rel1.to: "size";
10016                     rel2.to: "size";
10017                     rel1.relative: -0.06 -0.06;
10018                     rel2.relative: 1.07 1.07;
10019                     image.normal: "shadow.png";
10020                 }
10021             }
10022
10023
10024                  part { name: "elm.swallow.content";
10025                     type: SWALLOW;
10026                     description { state: "default" 0.0;
10027                     rel1.offset: 3 3;
10028                     rel2.offset: -3 -3;
10029                             fixed: 1 1;
10030                     }
10031                  }
10032
10033                  part {
10034                 name: "border";
10035                 type: IMAGE;
10036                 repeat_events: 1;
10037                 description {
10038                     state: "default" 0.0;
10039                     visible: 1;
10040                     color: 0 0 0 255;
10041                     rel1.to: "size";
10042                     rel2.to: "size";
10043                     image.normal: "black.png";
10044                     image.border: 1 1 1 1;
10045                     image.middle: 0;
10046                 }
10047             }
10048                  }
10049    }
10050
10051 ///////////////////////////////////////////////////////////////////////////////
10052    group { name: "elm/thumb/base/default";
10053       images {
10054          image: "frame_1.png" COMP;
10055          image: "frame_2.png" COMP;
10056          image: "dia_grad.png" COMP;
10057          image: "busy-1.png" COMP;
10058          image: "busy-2.png" COMP;
10059          image: "busy-3.png" COMP;
10060          image: "busy-4.png" COMP;
10061          image: "busy-5.png" COMP;
10062          image: "busy-6.png" COMP;
10063          image: "busy-7.png" COMP;
10064          image: "busy-8.png" COMP;
10065          image: "busy-9.png" COMP;
10066       }
10067       parts {
10068          part { name: "base0";
10069             mouse_events:  0;
10070             description { state:        "default" 0.0;
10071                image.normal: "dia_grad.png";
10072                rel1.to: "over";
10073                rel2.to: "over";
10074                fill {
10075                   smooth: 0;
10076                   size {
10077                      relative: 0.0 1.0;
10078                      offset: 64 0;
10079                   }
10080                }
10081             }
10082          }
10083          part { name: "base";
10084             mouse_events:  0;
10085             description { state:        "default" 0.0;
10086                image {
10087                   normal: "frame_2.png";
10088                   border: 5 5 32 26;
10089                   middle: 0;
10090                }
10091                fill.smooth : 0;
10092             }
10093          }
10094          part { name: "clip";
10095             mouse_events:  0;
10096             type: RECT;
10097             description { state:        "default" 0.0;
10098                rel1.offset: 4 4;
10099                rel2.offset: -5 -5;
10100                color: 255 255 255 255;
10101             }
10102          }
10103          part { name: "elm.swallow.content";
10104             type: SWALLOW;
10105             clip_to: "clip";
10106             description { state:        "default" 0.0;
10107                rel1.offset: 4 4;
10108                rel2.offset: -5 -5;
10109             }
10110          }
10111          part { name: "progress";
10112             mouse_events: 0;
10113
10114             clip_to: "clip";
10115             description { state:        "default" 0.0;
10116                min: 32 32;
10117                max: 32 32;
10118                visible: 0;
10119                aspect: 1.0 1.0;
10120                aspect_preference: BOTH;
10121             }
10122             description { state:        "pulse" 0.0;
10123                inherit: "default" 0.0;
10124                visible: 1;
10125                image {
10126                   normal: "busy-9.png";
10127                   tween:  "busy-1.png";
10128                   tween:  "busy-2.png";
10129                   tween:  "busy-3.png";
10130                   tween:  "busy-4.png";
10131                   tween:  "busy-5.png";
10132                   tween:  "busy-6.png";
10133                   tween:  "busy-7.png";
10134                   tween:  "busy-8.png";
10135                   border: 7 7 7 7;
10136                }
10137             }
10138          }
10139          part { name: "over";
10140             mouse_events:  0;
10141             description { state:        "default" 0.0;
10142                rel1.offset: 4 4;
10143                rel2.offset: -5 -5;
10144                image {
10145                   normal: "frame_1.png";
10146                   border: 2 2 28 22;
10147                   middle: 0;
10148                }
10149                fill.smooth: 0;
10150             }
10151          }
10152          programs {
10153             program { name: "start_pulse";
10154                signal: "elm,state,pulse,start";
10155                source: "elm";
10156                action: STATE_SET "pulse" 0.0;
10157                target: "progress";
10158                transition: LINEAR 0.5;
10159                after: "start_pulse";
10160             }
10161             program { name: "stop_pulse";
10162                signal: "elm,state,pulse,stop";
10163                source: "elm";
10164                action: STATE_SET "default" 0.0;
10165                target: "progress";
10166             }
10167          }
10168       }
10169    }
10170
10171    group { name: "elm/thumb/base/noframe";
10172       images {
10173          image: "busy-1.png" COMP;
10174          image: "busy-2.png" COMP;
10175          image: "busy-3.png" COMP;
10176          image: "busy-4.png" COMP;
10177          image: "busy-5.png" COMP;
10178          image: "busy-6.png" COMP;
10179          image: "busy-7.png" COMP;
10180          image: "busy-8.png" COMP;
10181          image: "busy-9.png" COMP;
10182       }
10183       parts {
10184          part { name: "elm.swallow.content";
10185             type: SWALLOW;
10186             description { state: "default" 0.0;
10187                rel1.offset: 4 4;
10188                rel2.offset: -5 -5;
10189             }
10190          }
10191          part { name: "progress";
10192             mouse_events: 0;
10193             description { state:        "default" 0.0;
10194                min: 32 32;
10195                max: 32 32;
10196                visible: 0;
10197                aspect: 1.0 1.0;
10198                aspect_preference: BOTH;
10199             }
10200             description { state:        "pulse" 0.0;
10201                inherit: "default" 0.0;
10202                visible: 1;
10203                image {
10204                   normal: "busy-9.png";
10205                   tween:  "busy-1.png";
10206                   tween:  "busy-2.png";
10207                   tween:  "busy-3.png";
10208                   tween:  "busy-4.png";
10209                   tween:  "busy-5.png";
10210                   tween:  "busy-6.png";
10211                   tween:  "busy-7.png";
10212                   tween:  "busy-8.png";
10213                   border: 7 7 7 7;
10214                }
10215             }
10216          }
10217          programs {
10218             program { name: "start_pulse";
10219                signal: "elm,state,pulse,start";
10220                source: "elm";
10221                action: STATE_SET "pulse" 0.0;
10222                target: "progress";
10223                transition: LINEAR 0.5;
10224                after: "start_pulse";
10225             }
10226             program { name: "stop_pulse";
10227                signal: "elm,state,pulse,stop";
10228                source: "elm";
10229                action: STATE_SET "default" 0.0;
10230                target: "progress";
10231             }
10232          }
10233       }
10234    }
10235
10236
10237 ///////////////////////////////////////////////////////////////////////////////
10238    group { name: "elm/icon/home/default"; alias: "elm/icon/toolbar/home/default"; min: 32 32;
10239       images.image: "icon_home.png" COMP; parts { part { name: "base";
10240          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10241             image.normal: "icon_home.png"; } } } }
10242    group { name: "elm/icon/close/default"; alias: "elm/icon/toolbar/close/default"; min: 32 32;
10243       images.image: "icon_close.png" COMP; parts { part { name: "base";
10244          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10245             image.normal: "icon_close.png"; } } } }
10246    group { name: "elm/icon/apps/default"; alias: "elm/icon/toolbar/apps/default"; min: 32 32;
10247       images.image: "icon_apps.png" COMP; parts { part { name: "base";
10248          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10249             image.normal: "icon_apps.png"; } } } }
10250    group { name: "elm/icon/arrow_up/default"; alias: "elm/icon/toolbar/arrow_up/default"; min: 32 32;
10251       images.image: "icon_arrow_up.png" COMP; parts { part { name: "base";
10252          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10253             image.normal: "icon_arrow_up.png"; } } } }
10254    group { name: "elm/icon/arrow_down/default";
10255            alias: "elm/icon/toolbar/arrow_down/default";
10256            alias: "elm/icon/toolbar/more_menu/default"; min: 32 32;
10257       images.image: "icon_arrow_down.png" COMP; parts { part { name: "base";
10258          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10259             image.normal: "icon_arrow_down.png"; } } } }
10260    group { name: "elm/icon/arrow_left/default"; alias: "elm/icon/toolbar/arrow_left/default"; min: 32 32;
10261       images.image: "icon_arrow_left.png" COMP; parts { part { name: "base";
10262          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10263             image.normal: "icon_arrow_left.png"; } } } }
10264    group { name: "elm/icon/arrow_right/default"; alias: "elm/icon/toolbar/arrow_right/default"; min: 32 32;
10265       images.image: "icon_arrow_right.png" COMP; parts { part { name: "base";
10266          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10267             image.normal: "icon_arrow_right.png"; } } } }
10268    group { name: "elm/icon/chat/default"; alias: "elm/icon/toolbar/chat/default"; min: 32 32;
10269       images.image: "icon_chat.png" COMP; parts { part { name: "base";
10270          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10271             image.normal: "icon_chat.png"; } } } }
10272    group { name: "elm/icon/clock/default"; alias: "elm/icon/toolbar/clock/default"; min: 32 32;
10273       images.image: "icon_clock.png" COMP; parts { part { name: "base";
10274          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10275             image.normal: "icon_clock.png"; } } } }
10276    group { name: "elm/icon/delete/default"; alias: "elm/icon/toolbar/delete/default"; min: 32 32;
10277       images.image: "icon_delete.png" COMP; parts { part { name: "base";
10278          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10279             image.normal: "icon_delete.png"; } } } }
10280    group { name: "elm/icon/edit/default"; alias: "elm/icon/toolbar/edit/default"; min: 32 32;
10281       images.image: "icon_edit.png" COMP; parts { part { name: "base";
10282          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10283             image.normal: "icon_edit.png"; } } } }
10284    group { name: "elm/icon/refresh/default"; alias: "elm/icon/toolbar/refresh/default"; min: 32 32;
10285       images.image: "icon_refresh.png" COMP; parts { part { name: "base";
10286          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10287             image.normal: "icon_refresh.png"; } } } }
10288    group { name: "elm/icon/folder/default"; alias: "elm/icon/toolbar/folder/default"; min: 32 32;
10289       images.image: "icon_folder.png" COMP; parts { part { name: "base";
10290          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10291             image.normal: "icon_folder.png"; } } } }
10292    group { name: "elm/icon/file/default"; alias: "elm/icon/toolbar/file/default"; min: 32 32;
10293       images.image: "icon_file.png" COMP; parts { part { name: "base";
10294          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10295             image.normal: "icon_file.png"; } } } }
10296 ///////////////////////////////////////////////////////////////////////////////
10297    group { name: "elm/icon/menu/home/default"; min: 24 24; max: 24 24;
10298       images.image: "icon_home.png" COMP; parts { part { name: "base";
10299          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10300             image.normal: "icon_home.png"; } } } }
10301    group { name: "elm/icon/menu/close/default"; min: 24 24; max: 24 24;
10302       images.image: "icon_close.png" COMP; parts { part { name: "base";
10303          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10304             image.normal: "icon_close.png"; } } } }
10305    group { name: "elm/icon/menu/apps/default"; min: 24 24; max: 24 24;
10306       images.image: "icon_apps.png" COMP; parts { part { name: "base";
10307          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10308             image.normal: "icon_apps.png"; } } } }
10309    group { name: "elm/icon/menu/arrow_up/default"; min: 24 24; max: 24 24;
10310       images.image: "icon_arrow_up.png" COMP; parts { part { name: "base";
10311          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10312             image.normal: "icon_arrow_up.png"; } } } }
10313    group { name: "elm/icon/menu/arrow_down/default"; min: 24 24; max: 24 24;
10314       images.image: "icon_arrow_down.png" COMP; parts { part { name: "base";
10315          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10316             image.normal: "icon_arrow_down.png"; } } } }
10317    group { name: "elm/icon/menu/arrow_left/default"; min: 24 24; max: 24 24;
10318       images.image: "icon_arrow_left.png" COMP; parts { part { name: "base";
10319          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10320             image.normal: "icon_arrow_left.png"; } } } }
10321    group { name: "elm/icon/menu/arrow_right/default"; min: 24 24; max: 24 24;
10322       images.image: "icon_arrow_right.png" COMP; parts { part { name: "base";
10323          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10324             image.normal: "icon_arrow_right.png"; } } } }
10325    group { name: "elm/icon/menu/chat/default"; min: 24 24; max: 24 24;
10326       images.image: "icon_chat.png" COMP; parts { part { name: "base";
10327          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10328             image.normal: "icon_chat.png"; } } } }
10329    group { name: "elm/icon/menu/clock/default"; min: 24 24; max: 24 24;
10330       images.image: "icon_clock.png" COMP; parts { part { name: "base";
10331          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10332             image.normal: "icon_clock.png"; } } } }
10333    group { name: "elm/icon/menu/delete/default"; min: 24 24; max: 24 24;
10334       images.image: "icon_delete.png" COMP; parts { part { name: "base";
10335          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10336             image.normal: "icon_delete.png"; } } } }
10337    group { name: "elm/icon/menu/edit/default"; min: 24 24; max: 24 24;
10338       images.image: "icon_edit.png" COMP; parts { part { name: "base";
10339          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10340             image.normal: "icon_edit.png"; } } } }
10341    group { name: "elm/icon/menu/refresh/default"; min: 24 24; max: 24 24;
10342       images.image: "icon_refresh.png" COMP; parts { part { name: "base";
10343          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10344             image.normal: "icon_refresh.png"; } } } }
10345    group { name: "elm/icon/menu/folder/default"; min: 24 24; max: 24 24;
10346       images.image: "icon_folder.png" COMP; parts { part { name: "base";
10347          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10348             image.normal: "icon_folder.png"; } } } }
10349    group { name: "elm/icon/menu/file/default"; min: 24 24; max: 24 24;
10350       images.image: "icon_file.png" COMP; parts { part { name: "base";
10351          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10352             image.normal: "icon_file.png"; } } } }
10353
10354 ///////////////////////////////////////////////////////////////////////////////
10355    group { name: "elm/toolbar/base/default";
10356       images {
10357          image: "bt_dis_base.png" COMP;
10358          image: "bt_dis_hilight.png" COMP;
10359          image: "bt_dis_shine.png" COMP;
10360          image: "icon_left_arrow.png" COMP;
10361          image: "icon_right_arrow.png" COMP;
10362       }
10363       parts {
10364          part { name: "base";
10365             mouse_events: 1;
10366             description { state: "default" 0.0;
10367                rel1 {
10368                   relative: 0.0 0.0;
10369                   offset: 2 2;
10370                }
10371                rel2.offset: -3 -3;
10372                image {
10373                   normal: "bt_dis_base.png";
10374                   border: 4 4 4 4;
10375                }
10376                image.middle: SOLID;
10377             }
10378          }
10379          part { name: "clipper";
10380             type: RECT;
10381             mouse_events: 0;
10382             description {
10383                state: "default" 0.0;
10384                rel1 {
10385                   to: "base";
10386                   offset: 2 2;
10387                }
10388                rel2 {
10389                   to: "base";
10390                   offset: -3 -3;
10391                }
10392             }
10393          }
10394          part { name: "elm.swallow.content";
10395             clip_to: "clipper";
10396             type: SWALLOW;
10397             description {
10398                state: "default" 0.0;
10399                rel1.to: "clipper";
10400                rel2.to: "clipper";
10401             }
10402          }
10403          part { name: "over2";
10404             mouse_events: 0;
10405             description { state: "default" 0.0;
10406                rel1.to: "base";
10407                rel2.to: "base";
10408                image {
10409                   normal: "bt_dis_shine.png";
10410                   border: 4 4 4 4;
10411                }
10412             }
10413          }
10414          part { name: "over1";
10415             mouse_events: 0;
10416             description { state: "default" 0.0;
10417                rel1.to: "base";
10418                rel2.to: "base";
10419                rel2.relative: 1.0 0.5;
10420                image {
10421                   normal: "bt_dis_hilight.png";
10422                   border: 4 4 4 0;
10423                }
10424                color: 255 255 255 128;
10425             }
10426          }
10427          part { name: "left_arrow";
10428             mouse_events: 0;
10429             description { state: "default" 0.0;
10430                image.normal: "icon_left_arrow.png";
10431                aspect: 1.0 1.0;
10432                aspect_preference: VERTICAL;
10433                align: 0.0 0.5;
10434                min: 32 32;
10435                max: 32 32;
10436             }
10437             description { state: "hidden" 0.0;
10438                inherit: "default" 0.0;
10439                visible: 0;
10440                color: 255 255 255 0;
10441             }
10442          }
10443          part { name: "right_arrow";
10444             mouse_events: 0;
10445             description { state: "default" 0.0;
10446                image.normal: "icon_right_arrow.png";
10447                aspect: 1.0 1.0;
10448                aspect_preference: VERTICAL;
10449                align: 1.0 0.5;
10450                min: 32 32;
10451                max: 32 32;
10452             }
10453             description { state: "hidden" 0.0;
10454                inherit: "default" 0.0;
10455                visible: 0;
10456                color: 255 255 255 0;
10457             }
10458          }
10459          part { name: "event";
10460             type: RECT;
10461             mouse_events: 1;
10462             repeat_events: 1;
10463             description { state: "default" 0.0;
10464                color: 0 0 0 0;
10465             }
10466          }
10467       }
10468       programs {
10469          program { name: "sb_hbar_show";
10470             signal: "elm,action,show,hbar";
10471             source: "elm";
10472             action:  STATE_SET "default" 0.0;
10473             transition: LINEAR 0.5;
10474             target: "left_arrow";
10475             target: "right_arrow";
10476          }
10477          program { name: "sb_hbar_hide";
10478             signal: "elm,action,hide,hbar";
10479             source: "elm";
10480             action:  STATE_SET "hidden" 0.0;
10481             target: "left_arrow";
10482             target: "right_arrow";
10483             transition: LINEAR 0.5;
10484          }
10485       }
10486    }
10487
10488    group { name: "elm/toolbar/item/default";
10489        images {
10490            image: "toolbar_sel.png" COMP;
10491        }
10492        data.item: "transition_animation_on" "1";
10493        parts {
10494            part { name: "label2";
10495                type: TEXT;
10496                mouse_events:  0;
10497                scale: 1;
10498                clip_to: "elm.text.clipper";
10499                description { state: "default" 0.0;
10500                    align: 0.5 1.0;
10501                    fixed: 0 1;
10502                    rel1.to: "elm.text";
10503                    rel2.to: "elm.text";
10504                    color: 0 0 0 255;
10505                    text {
10506                        font: "Sans";
10507                        text_source: "elm.text";
10508                        size: 10;
10509                        min: 1 1;
10510                        align: 0.5 0.5;
10511                        text_class: "toolbar_item";
10512                    }
10513                }
10514                description { state: "selected" 0.0;
10515                    inherit: "default" 0.0;
10516                    visible: 0;
10517                }
10518                description { state: "disabled" 0.0;
10519                    inherit: "default" 0.0;
10520                    color: 0 0 0 128;
10521                    color3: 0 0 0 0;
10522                }
10523                description { state: "disabled_visible" 0.0;
10524                    inherit: "default" 0.0;
10525                    color: 0 0 0 128;
10526                    color3: 0 0 0 0;
10527                    visible: 1;
10528                    text.min: 1 1;
10529                }
10530            }
10531            part { name: "label2_new";
10532                type: TEXT;
10533                mouse_events:  0;
10534                scale: 1;
10535                clip_to: "elm.text_new.clipper";
10536                description { state: "default" 0.0;
10537                    align: 0.5 1.0;
10538                    fixed: 0 1;
10539                    rel1.to: "elm.text_new";
10540                    rel2.to: "elm.text_new";
10541                    color: 0 0 0 255;
10542                    text {
10543                        font: "Sans";
10544                        text_source: "elm.text_new";
10545                        size: 10;
10546                        min: 1 1;
10547                        align: 0.5 0.5;
10548                        text_class: "toolbar_item";
10549                    }
10550                }
10551                description { state: "selected" 0.0;
10552                    inherit: "default" 0.0;
10553                    visible: 0;
10554                }
10555                description { state: "disabled" 0.0;
10556                    inherit: "default" 0.0;
10557                    color: 0 0 0 128;
10558                    color3: 0 0 0 0;
10559                }
10560                description { state: "disabled_visible" 0.0;
10561                    inherit: "default" 0.0;
10562                    color: 0 0 0 128;
10563                    color3: 0 0 0 0;
10564                    visible: 1;
10565                    text.min: 1 1;
10566                }
10567            }
10568            part { name: "bg";
10569                mouse_events: 0;
10570                description { state: "default" 0.0;
10571                    visible: 0;
10572                    color: 255 255 255 0;
10573                    image {
10574                        normal: "toolbar_sel.png";
10575                        border: 3 3 0 0;
10576                    }
10577                    image.middle: SOLID;
10578                    fill.smooth: 0;
10579                }
10580                description { state: "selected" 0.0;
10581                    inherit: "default" 0.0;
10582                    visible: 1;
10583                    color: 255 255 255 255;
10584                }
10585                description { state: "disabled" 0.0;
10586                    inherit: "default" 0.0;
10587                    visible: 0;
10588                    color: 255 255 255 0;
10589                }
10590            }
10591            part { name: "elm.swallow.icon";
10592                type: SWALLOW;
10593                clip_to: "elm.icon.clipper";
10594                description { state: "default" 0.0;
10595                    align: 0.5 0.5;
10596                    fixed: 0 0;
10597                    rel1 {
10598                        relative: 0.0 0.0;
10599                        offset: 2 2;
10600                    }
10601                    rel2 {
10602                        to_y: "elm.text";
10603                        relative: 1.0 0.0;
10604                        offset: -3 -1;
10605                    }
10606                    color: 0 0 0 0;
10607                }
10608            }
10609            part { name: "elm.swallow.icon_new";
10610                type: SWALLOW;
10611                clip_to: "elm.icon_new.clipper";
10612                description { state: "default" 0.0;
10613                    align: 0.5 0.5;
10614                    fixed: 0 0;
10615                    rel1 {
10616                        relative: 0.0 0.0;
10617                        offset: 2 2;
10618                    }
10619                    rel2 {
10620                        to_y: "elm.text_new";
10621                        relative: 1.0 0.0;
10622                        offset: -3 -1;
10623                    }
10624                    color: 0 0 0 0;
10625                }
10626            }
10627            part { name: "elm.text";
10628                type: TEXT;
10629                effect: SOFT_SHADOW;
10630                mouse_events:  0;
10631                scale: 1;
10632                clip_to: "elm.text.clipper";
10633                description { state: "default" 0.0;
10634                    align: 0.5 1.0;
10635                    fixed: 0 1;
10636                    rel1 {
10637                        relative: 0.0 1.0;
10638                        offset:   0 -1;
10639                    }
10640                    rel2 {
10641                        relative: 1.0 1.0;
10642                        offset:   -1 -1;
10643                    }
10644                    visible: 0;
10645                    color: 224 224 224 255;
10646                    color3: 0 0 0 32;
10647                    text {
10648                        font: "Sans:style=Bold";
10649                        size: 10;
10650                        min: 1 1;
10651                        align: 0.5 0.5;
10652                        text_class: "toolbar_item";
10653                    }
10654                }
10655                description { state: "selected" 0.0;
10656                    inherit: "default" 0.0;
10657                    visible: 1;
10658                }
10659                description { state: "visible" 0.0;
10660                    inherit: "default" 0.0;
10661                    visible: 1;
10662                    text.min: 1 1;
10663                }
10664                description { state: "disabled" 0.0;
10665                    inherit: "default" 0.0;
10666                    color: 0 0 0 128;
10667                    color3: 0 0 0 0;
10668                }
10669                description { state: "disabled_visible" 0.0;
10670                    inherit: "default" 0.0;
10671                    color: 0 0 0 128;
10672                    color3: 0 0 0 0;
10673                    visible: 1;
10674                    text.min: 1 1;
10675                }
10676            }
10677            part { name: "elm.text_new";
10678                type: TEXT;
10679                effect: SOFT_SHADOW;
10680                mouse_events:  0;
10681                clip_to: "elm.text_new.clipper";
10682                scale: 1;
10683                description { state: "default" 0.0;
10684                    align: 0.5 1.0;
10685                    fixed: 0 1;
10686                    rel1 {
10687                        relative: 0.0 1.0;
10688                        offset:   0 -1;
10689                    }
10690                    rel2 {
10691                        relative: 1.0 1.0;
10692                        offset:   -1 -1;
10693                    }
10694                    visible: 0;
10695                    color: 224 224 224 255;
10696                    color3: 0 0 0 32;
10697                    text {
10698                        font: "Sans:style=Bold";
10699                        size: 10;
10700                        min: 1 1;
10701                        align: 0.5 0.5;
10702                        text_class: "toolbar_item";
10703                    }
10704                }
10705                description { state: "selected" 0.0;
10706                    inherit: "default" 0.0;
10707                    visible: 1;
10708                }
10709                description { state: "visible" 0.0;
10710                    inherit: "default" 0.0;
10711                    visible: 1;
10712                    text.min: 1 1;
10713                }
10714                description { state: "disabled" 0.0;
10715                    inherit: "default" 0.0;
10716                    color: 0 0 0 128;
10717                    color3: 0 0 0 0;
10718                }
10719                description { state: "disabled_visible" 0.0;
10720                    inherit: "default" 0.0;
10721                    color: 0 0 0 128;
10722                    color3: 0 0 0 0;
10723                    visible: 1;
10724                    text.min: 1 1;
10725                }
10726            }
10727            part { name: "elm.text.clipper";
10728                type: RECT;
10729                description { state: "default" 0.0;
10730                    color: 255 255 255 255;
10731                }
10732                description { state: "animation" 0.0;
10733                    color: 255 255 255 0;
10734                }
10735            }
10736            part { name: "elm.text_new.clipper";
10737                type: RECT;
10738                description { state: "default" 0.0;
10739                    color: 255 255 255 0;
10740                }
10741                description { state: "animation" 0.0;
10742                    color: 255 255 255 255;
10743                }
10744            }
10745            part { name: "elm.icon.clipper";
10746                type: RECT;
10747                description { state: "default" 0.0;
10748                    color: 255 255 255 255;
10749                }
10750                description { state: "animation" 0.0;
10751                    color: 255 255 255 0;
10752                }
10753            }
10754            part { name: "elm.icon_new.clipper";
10755                type: RECT;
10756                description { state: "default" 0.0;
10757                    color: 255 255 255 0;
10758                }
10759                description { state: "animation" 0.0;
10760                    color: 255 255 255 255;
10761                }
10762            }
10763            part { name: "event";
10764                type: RECT;
10765                mouse_events: 1;
10766                ignore_flags: ON_HOLD;
10767                description { state: "default" 0.0;
10768                    color: 0 0 0 0;
10769                }
10770            }
10771        }
10772        programs {
10773            program { name: "go_active";
10774                signal:  "elm,state,selected";
10775                source:  "elm";
10776                action:  STATE_SET "selected" 0.0;
10777                target:  "bg";
10778                target:  "elm.text";
10779                target:  "label2";
10780                target:  "elm.text_new";
10781                target:  "label2_new";
10782                transition: LINEAR 0.2;
10783            }
10784            program { name: "go_passive";
10785                signal:  "elm,state,unselected";
10786                source:  "elm";
10787                action:  STATE_SET "default" 0.0;
10788                target:  "bg";
10789                target:  "elm.text";
10790                target:  "label2";
10791                target:  "elm.text_new";
10792                target:  "label2_new";
10793                transition: LINEAR 0.1;
10794            }
10795            program { name: "go";
10796                signal:  "mouse,up,1";
10797                source:  "event";
10798                action:  SIGNAL_EMIT "elm,action,click" "elm";
10799            }
10800            program { name: "mouse,in";
10801               signal:  "mouse,in";
10802               source:  "event";
10803               action:  SIGNAL_EMIT "elm,mouse,in" "elm";
10804            }
10805            program { name: "mouse,out";
10806               signal:  "mouse,out";
10807               source:  "event";
10808               action:  SIGNAL_EMIT "elm,mouse,out" "elm";
10809            }
10810            program { name: "disable";
10811                signal: "elm,state,disabled";
10812                source: "elm";
10813                action: STATE_SET "disabled" 0.0;
10814                target: "label2";
10815                target: "label2_new";
10816                target: "bg";
10817                after: "disable_text";
10818            }
10819            program { name: "disable_text";
10820                script {
10821                    new st[31];
10822                    new Float:vl;
10823                    get_state(PART:"elm.text", st, 30, vl);
10824                    if (!strcmp(st, "visible"))
10825                    {
10826                       set_state(PART:"elm.text", "disabled_visible", 0.0);
10827                       set_state(PART:"elm.text_new", "disabled_visible", 0.0);
10828                    }
10829                    else
10830                    {
10831                       set_state(PART:"elm.text", "disabled", 0.0);
10832                       set_state(PART:"elm.text_new", "disabled", 0.0);
10833                    }
10834                }
10835            }
10836            program { name: "enable";
10837                signal: "elm,state,enabled";
10838                source: "elm";
10839                action: STATE_SET "default" 0.0;
10840                target: "label2";
10841                target: "label2_new";
10842                target: "bg";
10843                after: "enable_text";
10844            }
10845            program { name: "enable_text";
10846                script {
10847                    new st[31];
10848                    new Float:vl;
10849                    get_state(PART:"elm.text", st, 30, vl);
10850                    if (!strcmp(st, "disabled_visible"))
10851                    {
10852                       set_state(PART:"elm.text", "visible", 0.0);
10853                       set_state(PART:"elm.text_new", "visible", 0.0);
10854                    }
10855                    else
10856                    {
10857                       set_state(PART:"elm.text", "default", 0.0);
10858                       set_state(PART:"elm.text_new", "default", 0.0);
10859                    }
10860                }
10861            }
10862            program { name: "label_set,animation,forward";
10863               signal: "elm,state,label_set,forward";
10864               source: "elm";
10865               after: "label_set,animation";
10866            }
10867            program { name: "label_set,animation,backward";
10868               signal: "elm,state,label_set,backward";
10869               source: "elm";
10870               after: "label_set,animation";
10871            }
10872            program { name: "label_set,animation";
10873               signal: "elm,state,label_set";
10874               source: "elm";
10875               action: STATE_SET "animation" 0.0;
10876               target: "elm.text.clipper";
10877               target: "elm.text_new.clipper";
10878               transition: LINEAR 0.2;
10879               after: "label_set,animation,done";
10880            }
10881            program { name: "label_set,animation,done";
10882               action: SIGNAL_EMIT "elm,state,label_set,done" "elm";
10883            }
10884            program { name: "label,reset";
10885               signal: "elm,state,label,reset";
10886               source: "elm";
10887               action: STATE_SET "default" 0.0;
10888               target: "elm.text.clipper";
10889               target: "elm.text_new.clipper";
10890            }
10891            program { name: "icon_set,animation,forward";
10892               signal: "elm,state,icon_set,forward";
10893               source: "elm";
10894               after: "icon_set,animation";
10895            }
10896            program { name: "icon_set,animation,backward";
10897               signal: "elm,state,icon_set,backward";
10898               source: "elm";
10899               after: "icon_set,animation";
10900            }
10901            program { name: "icon_set,animation";
10902               signal: "elm,state,icon_set";
10903               source: "elm";
10904               action: STATE_SET "animation" 0.0;
10905               target: "elm.icon.clipper";
10906               target: "elm.icon_new.clipper";
10907               transition: LINEAR 0.2;
10908               after: "icon_set,animation,done";
10909            }
10910            program { name: "icon_set,animation,done";
10911               action: SIGNAL_EMIT "elm,state,icon_set,done" "elm";
10912            }
10913            program { name: "icon,reset";
10914               signal: "elm,state,icon,reset";
10915               source: "elm";
10916               action: STATE_SET "default" 0.0;
10917               target: "elm.icon.clipper";
10918               target: "elm.icon_new.clipper";
10919            }
10920        }
10921    }
10922
10923    group { name: "elm/toolbar/separator/default";
10924       images {
10925          image: "toolbar_separator_v.png" COMP;
10926       }
10927       parts {
10928          part { name: "separator"; // separator group
10929             description { state: "default" 0.0;
10930                min: 2 2;
10931                max: 2 9999;
10932                rel1.offset: 4 4;
10933                rel2.offset: -5 -5;
10934                image {
10935                   normal: "toolbar_separator_v.png";
10936                }
10937                fill {
10938                   smooth: 0;
10939                }
10940             }
10941          }
10942       }
10943    }
10944
10945    ///////////////////////////////////////////////////////////////////////////////
10946    group { name: "elm/notify/block_events/default";
10947        parts {
10948            part { name: "block_events";
10949                type: RECT;
10950                description { state: "default" 0.0;
10951                    color: 0 0 0 64;
10952                    visible: 1;
10953                }
10954            }
10955        }
10956            programs {
10957                    program {
10958                                 name: "block_clicked";
10959                                 signal: "mouse,clicked,1";
10960                                 source: "block_events";
10961                                 action: SIGNAL_EMIT "elm,action,clicked" "elm";
10962                    }
10963            }
10964    }
10965    group { name: "elm/notify/top/default";
10966        //this group is a design similar to the inwin group
10967        images {
10968            image: "shad_circ.png" COMP;
10969            image: "bt_dis_base.png" COMP;
10970            image: "bt_dis_hilight.png" COMP;
10971        }
10972        parts {
10973            part { name: "base";
10974                type: RECT;
10975                mouse_events: 0;
10976                repeat_events: 1;
10977                description { state: "default" 0.0;
10978                    color: 0 0 0 0;
10979                    rel1.offset: 10 10;
10980                    rel2.offset: -10 -10;
10981                    rel1.relative: 0.0 -1.0;
10982                    rel2.relative: 1.0 0.0;
10983                }
10984                description { state: "visible" 0.0;
10985                    inherit: "default" 0.0;
10986                    color: 0 0 0 64;
10987                    rel1.relative: 0.0 0.0;
10988                    rel2.relative: 1.0 1.0;
10989                }
10990            }
10991            part { name: "shad";
10992                mouse_events:  0;
10993                description { state: "default" 0.0;
10994                    image.normal: "shad_circ.png";
10995                    rel1.to: "elm.swallow.content";
10996                    rel1.offset: -64 -64;
10997                    rel2.to: "elm.swallow.content";
10998                    rel2.offset: 63 63;
10999                    fill.smooth: 0;
11000                }
11001            }
11002            part { name: "pop";
11003                mouse_events: 1;
11004                description { state: "default" 0.0;
11005                    rel1.to: "elm.swallow.content";
11006                    rel1.offset: -5 -5;
11007                    rel2.to: "elm.swallow.content";
11008                    rel2.offset: 4 4;
11009                    image {
11010                        normal: "bt_dis_base.png";
11011                        border: 4 4 4 4;
11012                    }
11013                    image.middle: SOLID;
11014                }
11015            }
11016            part { name: "popover";
11017                mouse_events: 0;
11018                description { state: "default" 0.0;
11019                    rel1.to: "pop";
11020                    rel2.to: "pop";
11021                    rel2.relative: 1.0 0.5;
11022                    image {
11023                        normal: "bt_dis_hilight.png";
11024                        border: 4 4 4 0;
11025                    }
11026                }
11027            }
11028            part { name: "elm.swallow.content";
11029                type: SWALLOW;
11030                description { state: "default" 0.0;
11031                    rel1.to: "base";
11032                    rel2.to: "base";
11033                }
11034            }
11035        }
11036        programs {
11037            program { name: "show";
11038                signal: "elm,action,show";
11039                source: "elm";
11040                action: STATE_SET "visible" 0.0;
11041                target: "base";
11042            }
11043            program { name: "show_2";
11044                 signal: "show";
11045                 action: STATE_SET "default" 0.0;
11046                 target: "base";
11047                 after: "show_3";
11048            }
11049            program { name: "show_3";
11050                 signal: "show";
11051                 action: STATE_SET "visible" 0.0;
11052                 target: "base";
11053                 transition: LINEAR 0.5;
11054            }
11055            program { name: "hide";
11056                signal: "elm,action,hide";
11057                source: "elm";
11058                action: STATE_SET "default" 0.0;
11059                target: "base";
11060            }
11061        }
11062    }
11063    group { name: "elm/notify/center/default";
11064        //this group is a design similar to the inwin group
11065        images {
11066            image: "bt_dis_base.png" COMP;
11067        }
11068        parts {
11069            part { name: "base";
11070                type: RECT;
11071                mouse_events: 0;
11072                repeat_events: 1;
11073                description { state: "default" 0.0;
11074                    color: 0 0 0 0;
11075                    rel1.relative: 0.0 0.0;
11076                    rel2.relative: 1.0 1.0;
11077                }
11078            }
11079            part { name: "pop";
11080                mouse_events: 1;
11081                description { state: "default" 0.0;
11082                    rel1.to: "elm.swallow.content";
11083                    rel1.offset: -5 -5;
11084                    rel2.to: "elm.swallow.content";
11085                    rel2.offset: 4 4;
11086                    image {
11087                        normal: "bt_dis_base.png";
11088                        border: 4 4 4 4;
11089                    }
11090                }
11091            }
11092            part { name: "elm.swallow.content";
11093                type: SWALLOW;
11094                description { state: "default" 0.0;
11095                    rel1.to: "base";
11096                    rel2.to: "base";
11097                }
11098            }
11099        }
11100        programs {
11101            program { name: "show";
11102                signal: "elm,action,show";
11103                source: "elm";
11104                action: STATE_SET "default" 0.0;
11105                target: "base";
11106            }
11107            program { name: "show_2";
11108                 signal: "show";
11109                 action: STATE_SET "default" 0.0;
11110                 target: "base";
11111            }
11112            program { name: "hide";
11113                signal: "elm,action,hide";
11114                source: "elm";
11115                action: STATE_SET "default" 0.0;
11116                target: "base";
11117            }
11118        }
11119    }
11120    group { name: "elm/notify/bottom/default";
11121        //this group is a design similar to the inwin group
11122        images {
11123            image: "shad_circ.png" COMP;
11124            image: "bt_dis_base.png" COMP;
11125            image: "bt_dis_hilight.png" COMP;
11126        }
11127        parts {
11128            part { name: "base";
11129                type: RECT;
11130                mouse_events: 0;
11131                repeat_events: 1;
11132                description { state: "default" 0.0;
11133                    color: 0 0 0 0;
11134                    rel1.offset: 10 10;
11135                    rel2.offset: -10 -10;
11136                    rel1.relative: 0.0 1.0;
11137                    rel2.relative: 1.0 2.0;
11138                }
11139                description { state: "visible" 0.0;
11140                    inherit: "default" 0.0;
11141                    color: 0 0 0 64;
11142                    rel1.relative: 0.0 0.0;
11143                    rel2.relative: 1.0 1.0;
11144                }
11145            }
11146            part { name: "shad";
11147                mouse_events:  0;
11148                description { state: "default" 0.0;
11149                    image.normal: "shad_circ.png";
11150                    rel1.to: "elm.swallow.content";
11151                    rel1.offset: -64 -64;
11152                    rel2.to: "elm.swallow.content";
11153                    rel2.offset: 63 63;
11154                    fill.smooth: 0;
11155                }
11156            }
11157            part { name: "pop";
11158                mouse_events: 1;
11159                description { state: "default" 0.0;
11160                    rel1.to: "elm.swallow.content";
11161                    rel1.offset: -5 -5;
11162                    rel2.to: "elm.swallow.content";
11163                    rel2.offset: 4 4;
11164                    image {
11165                        normal: "bt_dis_base.png";
11166                        border: 4 4 4 4;
11167                    }
11168                    image.middle: SOLID;
11169                }
11170            }
11171            part { name: "popover";
11172                mouse_events: 0;
11173                description { state: "default" 0.0;
11174                    rel1.to: "pop";
11175                    rel2.to: "pop";
11176                    rel2.relative: 1.0 0.5;
11177                    image {
11178                        normal: "bt_dis_hilight.png";
11179                        border: 4 4 4 0;
11180                    }
11181                }
11182            }
11183            part { name: "elm.swallow.content";
11184                type: SWALLOW;
11185                description { state: "default" 0.0;
11186                    rel1.to: "base";
11187                    rel2.to: "base";
11188                }
11189            }
11190        }
11191        programs {
11192            program { name: "show";
11193                signal: "elm,action,show";
11194                source: "elm";
11195                action: STATE_SET "visible" 0.0;
11196                target: "base";
11197            }
11198            program { name: "show_2";
11199                 signal: "show";
11200                 action: STATE_SET "default" 0.0;
11201                 target: "base";
11202                 after: "show_3";
11203            }
11204            program { name: "show_3";
11205                 signal: "show";
11206                 action: STATE_SET "visible" 0.0;
11207                 target: "base";
11208                 transition: LINEAR 0.5;
11209            }
11210            program { name: "hide";
11211                signal: "elm,action,hide";
11212                source: "elm";
11213                action: STATE_SET "default" 0.0;
11214                target: "base";
11215            }
11216        }
11217    }
11218    group { name: "elm/notify/left/default";
11219        //this group is a design similar to the inwin group
11220        images {
11221            image: "shad_circ.png" COMP;
11222            image: "bt_dis_base.png" COMP;
11223            image: "bt_dis_hilight.png" COMP;
11224        }
11225        parts {
11226            part { name: "base";
11227                type: RECT;
11228                mouse_events: 0;
11229                repeat_events: 1;
11230                description { state: "default" 0.0;
11231                    color: 0 0 0 0;
11232                    rel1.offset: 10 10;
11233                    rel2.offset: -10 -10;
11234                    rel1.relative: -1.0 0.0;
11235                    rel2.relative: 0.0 1.0;
11236                }
11237                description { state: "visible" 0.0;
11238                    inherit: "default" 0.0;
11239                    color: 0 0 0 64;
11240                    rel1.relative: 0.0 0.0;
11241                    rel2.relative: 1.0 1.0;
11242                }
11243            }
11244            part { name: "shad";
11245                mouse_events:  0;
11246                description { state: "default" 0.0;
11247                    image.normal: "shad_circ.png";
11248                    rel1.to: "elm.swallow.content";
11249                    rel1.offset: -64 -64;
11250                    rel2.to: "elm.swallow.content";
11251                    rel2.offset: 63 63;
11252                    fill.smooth: 0;
11253                }
11254            }
11255            part { name: "pop";
11256                mouse_events: 1;
11257                description { state: "default" 0.0;
11258                    rel1.to: "elm.swallow.content";
11259                    rel1.offset: -5 -5;
11260                    rel2.to: "elm.swallow.content";
11261                    rel2.offset: 4 4;
11262                    image {
11263                        normal: "bt_dis_base.png";
11264                        border: 4 4 4 4;
11265                    }
11266                    image.middle: SOLID;
11267                }
11268            }
11269            part { name: "popover";
11270                mouse_events: 0;
11271                description { state: "default" 0.0;
11272                    rel1.to: "pop";
11273                    rel2.to: "pop";
11274                    rel2.relative: 1.0 0.5;
11275                    image {
11276                        normal: "bt_dis_hilight.png";
11277                        border: 4 4 4 0;
11278                    }
11279                }
11280            }
11281            part { name: "elm.swallow.content";
11282                type: SWALLOW;
11283                description { state: "default" 0.0;
11284                    rel1.to: "base";
11285                    rel2.to: "base";
11286                }
11287            }
11288        }
11289        programs {
11290            program { name: "show";
11291                signal: "elm,action,show";
11292                source: "elm";
11293                action: STATE_SET "visible" 0.0;
11294                target: "base";
11295            }
11296            program { name: "show_2";
11297                signal: "show";
11298                action: STATE_SET "default" 0.0;
11299                target: "base";
11300                after: "show_3";
11301            }
11302            program { name: "show_3";
11303                signal: "show";
11304                action: STATE_SET "visible" 0.0;
11305                target: "base";
11306                transition: LINEAR 0.5;
11307            }
11308            program { name: "hide";
11309                signal: "elm,action,hide";
11310                source: "elm";
11311                action: STATE_SET "default" 0.0;
11312                target: "base";
11313            }
11314        }
11315    }
11316    group { name: "elm/notify/right/default";
11317        //this group is a design similar to the inwin group
11318        images {
11319            image: "shad_circ.png" COMP;
11320            image: "bt_dis_base.png" COMP;
11321            image: "bt_dis_hilight.png" COMP;
11322        }
11323        parts {
11324            part { name: "base";
11325                type: RECT;
11326                mouse_events: 0;
11327                repeat_events: 1;
11328                 description { state: "default" 0.0;
11329                    color: 0 0 0 0;
11330                    rel1.offset: 10 10;
11331                    rel2.offset: -10 -10;
11332                    rel1.relative: 1.0 0.0;
11333                    rel2.relative: 2.0 1.0;
11334                }
11335                description { state: "visible" 0.0;
11336                    inherit: "default" 0.0;
11337                    color: 0 0 0 64;
11338                    rel1.relative: 0.0 0.0;
11339                    rel2.relative: 1.0 1.0;
11340                }
11341            }
11342            part { name: "shad";
11343                mouse_events:  0;
11344                description { state: "default" 0.0;
11345                    image.normal: "shad_circ.png";
11346                    rel1.to: "elm.swallow.content";
11347                    rel1.offset: -64 -64;
11348                    rel2.to: "elm.swallow.content";
11349                    rel2.offset: 63 63;
11350                    fill.smooth: 0;
11351                }
11352            }
11353            part { name: "pop";
11354                mouse_events: 1;
11355                description { state: "default" 0.0;
11356                    rel1.to: "elm.swallow.content";
11357                    rel1.offset: -5 -5;
11358                    rel2.to: "elm.swallow.content";
11359                    rel2.offset: 4 4;
11360                    image {
11361                        normal: "bt_dis_base.png";
11362                        border: 4 4 4 4;
11363                    }
11364                    image.middle: SOLID;
11365                }
11366            }
11367            part { name: "popover";
11368                mouse_events: 0;
11369                description { state: "default" 0.0;
11370                    rel1.to: "pop";
11371                    rel2.to: "pop";
11372                    rel2.relative: 1.0 0.5;
11373                    image {
11374                        normal: "bt_dis_hilight.png";
11375                        border: 4 4 4 0;
11376                    }
11377                }
11378            }
11379            part { name: "elm.swallow.content";
11380                type: SWALLOW;
11381                description { state: "default" 0.0;
11382                    rel1.to: "base";
11383                    rel2.to: "base";
11384                }
11385            }
11386        }
11387        programs {
11388            program { name: "show";
11389                signal: "elm,action,show";
11390                source: "elm";
11391                action: STATE_SET "visible" 0.0;
11392                target: "base";
11393            }
11394            program { name: "show_2";
11395                signal: "show";
11396                action: STATE_SET "default" 0.0;
11397                target: "base";
11398                after: "show_3";
11399            }
11400            program { name: "show_3";
11401                signal: "show";
11402                action: STATE_SET "visible" 0.0;
11403                target: "base";
11404                transition: LINEAR 0.5;
11405            }
11406            program { name: "hide";
11407                signal: "elm,action,hide";
11408                source: "elm";
11409                action: STATE_SET "default" 0.0;
11410                target: "base";
11411            }
11412        }
11413    }
11414    group { name: "elm/notify/top_left/default";
11415        //this group is a design similar to the inwin group
11416        images {
11417            image: "shad_circ.png" COMP;
11418            image: "bt_dis_base.png" COMP;
11419            image: "bt_dis_hilight.png" COMP;
11420        }
11421        parts {
11422            part { name: "base";
11423                type: RECT;
11424                mouse_events: 0;
11425                repeat_events: 1;
11426                 description { state: "default" 0.0;
11427                    color: 0 0 0 0;
11428                    rel1.offset: 10 10;
11429                    rel2.offset: -10 -10;
11430                    rel1.relative: 0.0 -1.0;
11431                    rel2.relative: 1.0 0.0;
11432                }
11433                description { state: "visible" 0.0;
11434                    inherit: "default" 0.0;
11435                    color: 0 0 0 64;
11436                    rel1.relative: 0.0 0.0;
11437                    rel2.relative: 1.0 1.0;
11438                }
11439            }
11440            part { name: "shad";
11441                mouse_events:  0;
11442                description { state: "default" 0.0;
11443                    image.normal: "shad_circ.png";
11444                    rel1.to: "elm.swallow.content";
11445                    rel1.offset: -64 -64;
11446                    rel2.to: "elm.swallow.content";
11447                    rel2.offset: 63 63;
11448                    fill.smooth: 0;
11449                }
11450            }
11451            part { name: "pop";
11452                mouse_events: 1;
11453                description { state: "default" 0.0;
11454                    rel1.to: "elm.swallow.content";
11455                    rel1.offset: -5 -5;
11456                    rel2.to: "elm.swallow.content";
11457                    rel2.offset: 4 4;
11458                    image {
11459                        normal: "bt_dis_base.png";
11460                        border: 4 4 4 4;
11461                    }
11462                    image.middle: SOLID;
11463                }
11464            }
11465            part { name: "popover";
11466                mouse_events: 0;
11467                description { state: "default" 0.0;
11468                    rel1.to: "pop";
11469                    rel2.to: "pop";
11470                    rel2.relative: 1.0 0.5;
11471                    image {
11472                        normal: "bt_dis_hilight.png";
11473                        border: 4 4 4 0;
11474                    }
11475                }
11476            }
11477            part { name: "elm.swallow.content";
11478                type: SWALLOW;
11479                description { state: "default" 0.0;
11480                    rel1.to: "base";
11481                    rel2.to: "base";
11482                }
11483            }
11484        }
11485        programs {
11486            program { name: "show";
11487                signal: "elm,action,show";
11488                source: "elm";
11489                action: STATE_SET "visible" 0.0;
11490                target: "base";
11491            }
11492            program { name: "show_2";
11493                signal: "show";
11494                action: STATE_SET "default" 0.0;
11495                target: "base";
11496                after: "show_3";
11497            }
11498            program { name: "show_3";
11499                signal: "show";
11500                action: STATE_SET "visible" 0.0;
11501                target: "base";
11502                transition: LINEAR 0.5;
11503            }
11504            program { name: "hide";
11505                signal: "elm,action,hide";
11506                source: "elm";
11507                action: STATE_SET "default" 0.0;
11508                target: "base";
11509            }
11510        }
11511    }
11512    group { name: "elm/notify/top_right/default";
11513        //this group is a design similar to the inwin group
11514        images {
11515            image: "shad_circ.png" COMP;
11516            image: "bt_dis_base.png" COMP;
11517            image: "bt_dis_hilight.png" COMP;
11518        }
11519        parts {
11520            part { name: "base";
11521                type: RECT;
11522                mouse_events: 0;
11523                repeat_events: 1;
11524                description { state: "default" 0.0;
11525                    color: 0 0 0 0;
11526                    rel1.offset: 10 10;
11527                    rel2.offset: -10 -10;
11528                    rel1.relative: 0.0 -1.0;
11529                    rel2.relative: 1.0 0.0;
11530                }
11531                description { state: "visible" 0.0;
11532                    inherit: "default" 0.0;
11533                    color: 0 0 0 64;
11534                    rel1.relative: 0.0 0.0;
11535                    rel2.relative: 1.0 1.0;
11536                }
11537            }
11538            part { name: "shad";
11539                mouse_events:  0;
11540                description { state: "default" 0.0;
11541                    image.normal: "shad_circ.png";
11542                    rel1.to: "elm.swallow.content";
11543                    rel1.offset: -64 -64;
11544                    rel2.to: "elm.swallow.content";
11545                    rel2.offset: 63 63;
11546                    fill.smooth: 0;
11547                }
11548            }
11549            part { name: "pop";
11550                mouse_events: 1;
11551                description { state: "default" 0.0;
11552                    rel1.to: "elm.swallow.content";
11553                    rel1.offset: -5 -5;
11554                    rel2.to: "elm.swallow.content";
11555                    rel2.offset: 4 4;
11556                    image {
11557                        normal: "bt_dis_base.png";
11558                        border: 4 4 4 4;
11559                    }
11560                    image.middle: SOLID;
11561                }
11562            }
11563            part { name: "popover";
11564                mouse_events: 0;
11565                description { state: "default" 0.0;
11566                    rel1.to: "pop";
11567                    rel2.to: "pop";
11568                    rel2.relative: 1.0 0.5;
11569                    image {
11570                        normal: "bt_dis_hilight.png";
11571                        border: 4 4 4 0;
11572                    }
11573                }
11574            }
11575            part { name: "elm.swallow.content";
11576                type: SWALLOW;
11577                description { state: "default" 0.0;
11578                    rel1.to: "base";
11579                    rel2.to: "base";
11580                }
11581            }
11582        }
11583        programs {
11584            program { name: "show";
11585                signal: "elm,action,show";
11586                source: "elm";
11587                action: STATE_SET "visible" 0.0;
11588                target: "base";
11589            }
11590            program { name: "show_2";
11591                signal: "show";
11592                action: STATE_SET "default" 0.0;
11593                target: "base";
11594                after: "show_3";
11595            }
11596            program { name: "show_3";
11597                signal: "show";
11598                action: STATE_SET "visible" 0.0;
11599                target: "base";
11600                transition: LINEAR 0.5;
11601            }
11602            program { name: "hide";
11603                signal: "elm,action,hide";
11604                source: "elm";
11605                action: STATE_SET "default" 0.0;
11606                target: "base";
11607            }
11608        }
11609    }
11610    group { name: "elm/notify/bottom_left/default";
11611        //this group is a design similar to the inwin group
11612        images {
11613            image: "shad_circ.png" COMP;
11614            image: "bt_dis_base.png" COMP;
11615            image: "bt_dis_hilight.png" COMP;
11616        }
11617        parts {
11618            part { name: "base";
11619                type: RECT;
11620                mouse_events: 0;
11621                repeat_events: 1;
11622                description { state: "default" 0.0;
11623                    color: 0 0 0 0;
11624                    rel1.offset: 10 10;
11625                    rel2.offset: -10 -10;
11626                    rel1.relative: 0.0 1.0;
11627                    rel2.relative: 1.0 2.0;
11628                }
11629                description { state: "visible" 0.0;
11630                    inherit: "default" 0.0;
11631                    color: 0 0 0 64;
11632                    rel1.relative: 0.0 0.0;
11633                    rel2.relative: 1.0 1.0;
11634                }
11635            }
11636            part { name: "shad";
11637                mouse_events:  0;
11638                description { state: "default" 0.0;
11639                    image.normal: "shad_circ.png";
11640                    rel1.to: "elm.swallow.content";
11641                    rel1.offset: -64 -64;
11642                    rel2.to: "elm.swallow.content";
11643                    rel2.offset: 63 63;
11644                    fill.smooth: 0;
11645                }
11646            }
11647            part { name: "pop";
11648                mouse_events: 1;
11649                description { state: "default" 0.0;
11650                    rel1.to: "elm.swallow.content";
11651                    rel1.offset: -5 -5;
11652                    rel2.to: "elm.swallow.content";
11653                    rel2.offset: 4 4;
11654                    image {
11655                        normal: "bt_dis_base.png";
11656                        border: 4 4 4 4;
11657                    }
11658                    image.middle: SOLID;
11659                }
11660            }
11661            part { name: "popover";
11662                mouse_events: 0;
11663                description { state: "default" 0.0;
11664                    rel1.to: "pop";
11665                    rel2.to: "pop";
11666                    rel2.relative: 1.0 0.5;
11667                    image {
11668                        normal: "bt_dis_hilight.png";
11669                        border: 4 4 4 0;
11670                    }
11671                }
11672            }
11673            part { name: "elm.swallow.content";
11674                type: SWALLOW;
11675                description { state: "default" 0.0;
11676                    rel1.to: "base";
11677                    rel2.to: "base";
11678                }
11679            }
11680        }
11681        programs {
11682            program { name: "show";
11683                signal: "elm,action,show";
11684                source: "elm";
11685                action: STATE_SET "visible" 0.0;
11686                target: "base";
11687            }
11688            program { name: "show_2";
11689                signal: "show";
11690                action: STATE_SET "default" 0.0;
11691                target: "base";
11692                after: "show_3";
11693            }
11694            program { name: "show_3";
11695                signal: "show";
11696                action: STATE_SET "visible" 0.0;
11697                target: "base";
11698                transition: LINEAR 0.5;
11699            }
11700            program { name: "hide";
11701                signal: "elm,action,hide";
11702                source: "elm";
11703                action: STATE_SET "default" 0.0;
11704                target: "base";
11705            }
11706        }
11707    }
11708    group { name: "elm/notify/bottom_right/default";
11709        //this group is a design similar to the inwin group
11710        images {
11711            image: "shad_circ.png" COMP;
11712            image: "bt_dis_base.png" COMP;
11713            image: "bt_dis_hilight.png" COMP;
11714        }
11715        parts {
11716            part { name: "base";
11717                type: RECT;
11718                mouse_events: 0;
11719                repeat_events: 1;
11720               description { state: "default" 0.0;
11721                    color: 0 0 0 0;
11722                    rel1.offset: 10 10;
11723                    rel2.offset: -10 -10;
11724                    rel1.relative: 0.0 1.0;
11725                    rel2.relative: 1.0 2.0;
11726                }
11727                description { state: "visible" 0.0;
11728                    inherit: "default" 0.0;
11729                    color: 0 0 0 64;
11730                    rel1.relative: 0.0 0.0;
11731                    rel2.relative: 1.0 1.0;
11732                }
11733            }
11734            part { name: "shad";
11735                mouse_events:  0;
11736                description { state: "default" 0.0;
11737                    image.normal: "shad_circ.png";
11738                    rel1.to: "elm.swallow.content";
11739                    rel1.offset: -64 -64;
11740                    rel2.to: "elm.swallow.content";
11741                    rel2.offset: 63 63;
11742                    fill.smooth: 0;
11743                }
11744            }
11745            part { name: "pop";
11746                mouse_events: 1;
11747                description { state: "default" 0.0;
11748                    rel1.to: "elm.swallow.content";
11749                    rel1.offset: -5 -5;
11750                    rel2.to: "elm.swallow.content";
11751                    rel2.offset: 4 4;
11752                    image {
11753                        normal: "bt_dis_base.png";
11754                        border: 4 4 4 4;
11755                    }
11756                    image.middle: SOLID;
11757                }
11758            }
11759            part { name: "popover";
11760                mouse_events: 0;
11761                description { state: "default" 0.0;
11762                    rel1.to: "pop";
11763                    rel2.to: "pop";
11764                    rel2.relative: 1.0 0.5;
11765                    image {
11766                        normal: "bt_dis_hilight.png";
11767                        border: 4 4 4 0;
11768                    }
11769                }
11770            }
11771            part { name: "elm.swallow.content";
11772                type: SWALLOW;
11773                description { state: "default" 0.0;
11774                    rel1.to: "base";
11775                    rel2.to: "base";
11776                }
11777            }
11778        }
11779        programs {
11780            program { name: "show";
11781                signal: "elm,action,show";
11782                source: "elm";
11783                action: STATE_SET "visible" 0.0;
11784                target: "base";
11785            }
11786            program { name: "show_2";
11787                signal: "show";
11788                action: STATE_SET "default" 0.0;
11789                target: "base";
11790                after: "show_3";
11791            }
11792            program { name: "show_3";
11793                signal: "show";
11794                action: STATE_SET "visible" 0.0;
11795                target: "base";
11796                transition: LINEAR 0.5;
11797            }
11798            program { name: "hide";
11799                signal: "elm,action,hide";
11800                source: "elm";
11801                action: STATE_SET "default" 0.0;
11802                target: "base";
11803            }
11804        }
11805    }
11806
11807 ///////////////////////////////////////////////////////////////////////////////
11808    group { name: "elm/slideshow/base/default";
11809       data {
11810          item: transitions "fade black_fade horizontal vertical square";
11811          item: layouts "fullscreen not_fullscreen";
11812       }
11813       parts {
11814          part { name: "whole";
11815                  type: RECT;
11816             description {
11817                state: "default" 0.0;
11818                visible: 1;
11819                color: 20 20 20 255;
11820             }
11821          }
11822          part { name: "image_1_whole";
11823             description {
11824                state: "default" 0.0;
11825                color: 255 255 255 255;
11826             }
11827             description {
11828                state: "fade_prev_next" 0.0;
11829                inherit: "default" 0.0;
11830                color: 255 255 255 0;
11831             }
11832             description {
11833                state: "black_fade_prev_next_init" 0.0;
11834                inherit: "default" 0.0;
11835                color: 255 255 255 255;
11836             }
11837             description {
11838                state: "black_fade_prev_next" 0.0;
11839                inherit: "default" 0.0;
11840                color: 0 0 0 255;
11841             }
11842             description {
11843                state: "horizontal_next_init" 0.0;
11844                inherit: "default" 0.0;
11845             }
11846             description {
11847                state: "horizontal_next" 0.0;
11848                inherit: "default" 0.0;
11849                rel1.relative: -1.0 0.0;
11850                rel2.relative: 0.0 1.0;
11851             }
11852             description {
11853                state: "horizontal_prev_init" 0.0;
11854                inherit: "default" 0.0;
11855             }
11856             description {
11857                state: "horizontal_prev" 0.0;
11858                inherit: "default" 0.0;
11859                rel1.relative: 1.0 0.0;
11860                rel2.relative: 2.0 1.0;
11861             }
11862             description {
11863                state: "vertical_next_init" 0.0;
11864                inherit: "default" 0.0;
11865             }
11866             description {
11867                state: "vertical_next" 0.0;
11868                inherit: "default" 0.0;
11869                rel1.relative: 0.0 -1.0;
11870                rel2.relative: 1.0 0.0;
11871             }
11872             description {
11873                state: "vertical_prev_init" 0.0;
11874                inherit: "default" 0.0;
11875             }
11876             description {
11877                state: "vertical_prev" 0.0;
11878                inherit: "default" 0.0;
11879                rel1.relative: 0.0 1.0;
11880                rel2.relative: 1.0 2.0;
11881             }
11882             description {
11883                state: "square_prev_next" 0.0;
11884                inherit: "default" 0.0;
11885                color: 255 255 255 0;
11886             }
11887          }
11888          part { name: "image_2_whole";
11889             description {
11890                state: "default" 0.0;
11891                visible: 1;
11892                color: 255 255 255 0;
11893             }
11894             description {
11895                state: "fade_prev_next" 0.0;
11896                inherit: "default" 0.0;
11897                color: 255 255 255 255;
11898             }
11899             description {
11900                state: "black_fade_prev_next_init" 0.0;
11901                inherit: "default" 0.0;
11902                color: 0 0 0 0;
11903             }
11904             description {
11905                state: "black_fade_prev_next" 0.0;
11906                inherit: "default" 0.0;
11907                color: 255 255 255 255;
11908             }
11909             description {
11910                state: "horizontal_next_init" 0.0;
11911                inherit: "default" 0.0;
11912                rel1.relative: 1.0 0.0;
11913                rel2.relative: 2.0 1.0;
11914                color: 255 255 255 255;
11915             }
11916             description {
11917                state: "horizontal_next" 0.0;
11918                inherit: "default" 0.0;
11919                color: 255 255 255 255;
11920             }
11921             description {
11922                state: "horizontal_prev_init" 0.0;
11923                inherit: "default" 0.0;
11924                rel1.relative: -1.0 0.0;
11925                rel2.relative: 0.0 1.0;
11926                color: 255 255 255 255;
11927             }
11928             description {
11929                state: "horizontal_prev" 0.0;
11930                inherit: "default" 0.0;
11931                color: 255 255 255 255;
11932             }
11933             description {
11934                state: "vertical_next_init" 0.0;
11935                inherit: "default" 0.0;
11936                rel1.relative: 0.0 1.0;
11937                rel2.relative: 1.0 2.0;
11938                color: 255 255 255 255;
11939             }
11940             description {
11941                state: "vertical_next" 0.0;
11942                inherit: "default" 0.0;
11943                color: 255 255 255 255;
11944             }
11945             description {
11946                state: "vertical_prev_init" 0.0;
11947                inherit: "default" 0.0;
11948                rel1.relative: 0.0 -1.0;
11949                rel2.relative: 1.0 0.0;
11950                color: 255 255 255 255;
11951             }
11952             description {
11953                state: "vertical_prev" 0.0;
11954                inherit: "default" 0.0;
11955                color: 255 255 255 255;
11956             }
11957             description {
11958                state: "square_prev_next_init" 0.0;
11959                inherit: "default" 0.0;
11960                rel1.relative: 0.5 0.5;
11961                rel2.relative: 0.5 0.5;
11962                color: 255 255 255 255;
11963             }
11964             description {
11965                state: "square_prev_next" 0.0;
11966                inherit: "default" 0.0;
11967                rel1.relative: 0.0 0.0;
11968                rel2.relative: 1.0 1.0;
11969                color: 255 255 255 255;
11970             }
11971          }
11972          part { name: "elm.swallow.1";
11973             type: SWALLOW;
11974             clip_to: "image_1_whole";
11975             description {
11976                state: "default" 0.0;
11977                rel1.to: "image_1_whole";
11978                rel2.to: "image_1_whole";
11979                color: 255 255 255 255;
11980             }
11981             description {
11982                state: "not_fullscreen" 0.0;
11983                rel1.relative: 0.1 0.1;
11984                rel1.to: "image_1_whole";
11985                rel2.relative: 0.9 0.9;
11986                rel2.to: "image_1_whole";
11987                color: 255 255 255 255;
11988             }
11989          }
11990          part { name: "elm.swallow.2";
11991             type: SWALLOW;
11992             clip_to: "image_2_whole";
11993             description {
11994                state: "default" 0.0;
11995                color: 255 255 255 255;
11996                rel1.to: "image_2_whole";
11997                rel2.to: "image_2_whole";
11998             }
11999             description {
12000                state: "not_fullscreen" 0.0;
12001                color: 255 255 255 255;
12002                rel1.relative: 0.1 0.1;
12003                rel1.to: "image_2_whole";
12004                rel2.relative: 0.9 0.9;
12005                rel2.to: "image_2_whole";
12006             }
12007          }
12008          part { name: "events_catcher";
12009             type: RECT;
12010             repeat_events: 1;
12011             description {
12012                state: "default" 0.0;
12013                visible: 1;
12014                color: 0 0 0 0;
12015             }
12016          }
12017       }
12018       programs {
12019               //Substyle
12020               program { name: "layout_fullscreen";
12021             signal: "layout,fullscreen";
12022             source: "slideshow";
12023             action: STATE_SET "default" 0.0;
12024             target: "elm.swallow.1";
12025             target: "elm.swallow.2";
12026             transition: SINUSOIDAL 1.0;
12027         }
12028         program { name: "layout_not_fullscreen";
12029             signal: "layout,not_fullscreen";
12030             source: "slideshow";
12031             action: STATE_SET "not_fullscreen" 0.0;
12032             target: "elm.swallow.1";
12033             target: "elm.swallow.2";
12034             transition: SINUSOIDAL 1.0;
12035          }
12036                //
12037          program { name: "fade_next";
12038             signal: "fade,next";
12039             source: "slideshow";
12040             action: STATE_SET "default" 0.0;
12041             target: "image_1_whole";
12042             target: "image_2_whole";
12043             after: "fade_next_2";
12044          }
12045          program { name: "fade_next_2";
12046             action: STATE_SET "fade_prev_next" 0.0;
12047             target: "image_1_whole";
12048             target: "image_2_whole";
12049             transition: SINUSOIDAL 1.5;
12050             after: "end";
12051          }
12052          program { name: "fade_previous";
12053             signal: "fade,previous";
12054             source: "slideshow";
12055             action: STATE_SET "default" 0.0;
12056             target: "image_1_whole";
12057             target: "image_2_whole";
12058             after: "fade_previous_2";
12059          }
12060          program { name: "fade_previous_2";
12061             action: STATE_SET "fade_prev_next" 0.0;
12062             target: "image_1_whole";
12063             target: "image_2_whole";
12064             transition: SINUSOIDAL 1.5;
12065             after: "end";
12066          }
12067          program { name: "black_fade_next";
12068             signal: "black_fade,next";
12069             source: "slideshow";
12070             action: STATE_SET "black_fade_prev_next_init" 0.0;
12071             target: "image_1_whole";
12072             target: "image_2_whole";
12073             after: "black_fade_next_2";
12074          }
12075          program { name: "black_fade_next_2";
12076             action: STATE_SET "black_fade_prev_next" 0.0;
12077             target: "image_1_whole";
12078             transition: SINUSOIDAL 0.75;
12079             after: "black_fade_next_3";
12080          }
12081          program { name: "black_fade_next_3";
12082             action: STATE_SET "black_fade_prev_next" 0.0;
12083             target: "image_2_whole";
12084             transition: SINUSOIDAL 0.75;
12085             after: "end";
12086          }
12087          program { name: "black_fade_previous";
12088             signal: "black_fade,previous";
12089             source: "slideshow";
12090             action: STATE_SET "black_fade_prev_next_init" 0.0;
12091             target: "image_1_whole";
12092             target: "image_2_whole";
12093             after: "black_fade_previous_2";
12094          }
12095          program { name: "black_fade_previous_2";
12096             action: STATE_SET "black_fade_prev_next" 0.0;
12097             target: "image_1_whole";
12098             transition: SINUSOIDAL 0.75;
12099             after: "black_fade_previous_3";
12100          }
12101          program { name: "black_fade_previous_3";
12102             action: STATE_SET "black_fade_prev_next" 0.0;
12103             target: "image_2_whole";
12104             transition: SINUSOIDAL 0.75;
12105             after: "end";
12106          }
12107          program { name: "horizontal_next";
12108             signal: "horizontal,next";
12109             source: "slideshow";
12110             action: STATE_SET "horizontal_next_init" 0.0;
12111             target: "image_1_whole";
12112             target: "image_2_whole";
12113             after: "horizontal_next_2";
12114          }
12115          program { name: "horizontal_next_2";
12116             action: STATE_SET "horizontal_next" 0.0;
12117             target: "image_1_whole";
12118             target: "image_2_whole";
12119             transition: SINUSOIDAL 1.5;
12120             after: "end";
12121          }
12122          program { name: "horizontal_previous";
12123             signal: "horizontal,previous";
12124             source: "slideshow";
12125             action: STATE_SET "horizontal_prev_init" 0.0;
12126             target: "image_1_whole";
12127             target: "image_2_whole";
12128             after: "horizontal_previous_2";
12129          }
12130          program { name: "horizontal_previous_2";
12131             action: STATE_SET "horizontal_prev" 0.0;
12132             target: "image_1_whole";
12133             target: "image_2_whole";
12134             transition: SINUSOIDAL 1.5;
12135             after: "end";
12136          }
12137          program { name: "vertical_next";
12138             signal: "vertical,next";
12139             source: "slideshow";
12140             action: STATE_SET "vertical_next_init" 0.0;
12141             target: "image_1_whole";
12142             target: "image_2_whole";
12143             after: "vertical_next_2";
12144          }
12145          program { name: "vertical_next_2";
12146             action: STATE_SET "vertical_next" 0.0;
12147             target: "image_1_whole";
12148             target: "image_2_whole";
12149             transition: SINUSOIDAL 1.5;
12150             after: "end";
12151          }
12152          program { name: "vertical_previous";
12153             signal: "vertical,previous";
12154             source: "slideshow";
12155             action: STATE_SET "vertical_prev_init" 0.0;
12156             target: "image_1_whole";
12157             target: "image_2_whole";
12158             after: "vertical_previous_2";
12159          }
12160          program { name: "vertical_previous_2";
12161             action: STATE_SET "vertical_prev" 0.0;
12162             target: "image_1_whole";
12163             target: "image_2_whole";
12164             transition: SINUSOIDAL 1.5;
12165             after: "end";
12166          }
12167          program { name: "square_next";
12168             signal: "square,next";
12169             source: "slideshow";
12170             action: STATE_SET "square_prev_next_init" 0.0;
12171             target: "image_2_whole";
12172             after: "square_next_2";
12173          }
12174          program { name: "square_next_2";
12175             action: STATE_SET "square_prev_next" 0.0;
12176             target: "image_2_whole";
12177             target: "image_1_whole";
12178             transition: SINUSOIDAL 1.5;
12179             after: "end";
12180          }
12181          program { name: "square_previous";
12182             signal: "square,previous";
12183             source: "slideshow";
12184             action: STATE_SET "square_prev_next_init" 0.0;
12185             target: "image_2_whole";
12186             after: "square_next_2";
12187          }
12188          program { name: "end";
12189             action: SIGNAL_EMIT "end" "slideshow";
12190          }
12191          program { name: "end_signal";
12192             signal: "anim,end";
12193             source: "slideshow";
12194             action: STATE_SET "default" 0.0;
12195             target: "image_1_whole";
12196             target: "image_2_whole";
12197          }
12198       }
12199    }
12200
12201 ///////////////////////////////////////////////////////////////////////////////
12202    group { name: "elm/win/inwin/default";
12203       images {
12204          image: "shad_circ.png" COMP;
12205          image: "bt_dis_base.png" COMP;
12206          image: "bt_dis_hilight.png" COMP;
12207       }
12208       parts {
12209          part { name: "base";
12210             type: RECT;
12211             mouse_events: 1;
12212             description { state: "default" 0.0;
12213                color: 0 0 0 0;
12214             }
12215             description { state: "visible" 0.0;
12216                inherit: "default" 1.0;
12217                color: 0 0 0 64;
12218             }
12219          }
12220          part { name: "shad";
12221             mouse_events:  0;
12222             description { state: "default" 0.0;
12223                image.normal: "shad_circ.png";
12224                rel1.to: "elm.swallow.content";
12225                rel1.offset: -64 -64;
12226                rel2.to: "elm.swallow.content";
12227                rel2.offset: 63 63;
12228                fill.smooth: 0;
12229             }
12230          }
12231          part { name: "pop";
12232             mouse_events: 1;
12233             description { state: "default" 0.0;
12234                rel1.to: "elm.swallow.content";
12235                rel1.offset: -5 -5;
12236                rel2.to: "elm.swallow.content";
12237                rel2.offset: 4 4;
12238                image {
12239                   normal: "bt_dis_base.png";
12240                   border: 4 4 4 4;
12241                }
12242                image.middle: SOLID;
12243             }
12244          }
12245          part { name: "popover";
12246             mouse_events: 0;
12247             description { state: "default" 0.0;
12248                rel1.to: "pop";
12249                rel2.to: "pop";
12250                rel2.relative: 1.0 0.5;
12251                image {
12252                   normal: "bt_dis_hilight.png";
12253                   border: 4 4 4 0;
12254                }
12255             }
12256          }
12257          part { name: "elm.swallow.content";
12258             type: SWALLOW;
12259             description { state: "default" 0.0;
12260                rel1.relative: 0.1 0.1;
12261                rel2.relative: 0.9 0.9;
12262             }
12263          }
12264       }
12265       programs {
12266          program { name: "show";
12267             signal: "elm,action,show";
12268             source: "elm";
12269             action: STATE_SET "visible" 0.0;
12270 //            transition: DECELERATE 0.5;
12271             target: "base";
12272          }
12273          program { name: "hide";
12274             signal: "elm,action,hide";
12275             source: "elm";
12276             action: STATE_SET "default" 0.0;
12277 //            transition: DECELERATE 0.5;
12278             target: "base";
12279          }
12280       }
12281    }
12282
12283    group { name: "elm/win/inwin/minimal";
12284       images {
12285          image: "shad_circ.png" COMP;
12286          image: "bt_dis_base.png" COMP;
12287          image: "bt_dis_hilight.png" COMP;
12288       }
12289       parts {
12290          part { name: "base";
12291             type: RECT;
12292             mouse_events: 1;
12293             description { state: "default" 0.0;
12294                color: 0 0 0 0;
12295             }
12296             description { state: "visible" 0.0;
12297                inherit: "default" 1.0;
12298                color: 0 0 0 64;
12299             }
12300          }
12301          part { name: "shad";
12302             mouse_events:  0;
12303             description { state: "default" 0.0;
12304                image.normal: "shad_circ.png";
12305                rel1.to: "elm.swallow.content";
12306                rel1.offset: -64 -64;
12307                rel2.to: "elm.swallow.content";
12308                rel2.offset: 63 63;
12309                fill.smooth: 0;
12310             }
12311          }
12312          part { name: "pop";
12313             mouse_events: 1;
12314             description { state: "default" 0.0;
12315                rel1.to: "elm.swallow.content";
12316                rel1.offset: -5 -5;
12317                rel2.to: "elm.swallow.content";
12318                rel2.offset: 4 4;
12319                image {
12320                   normal: "bt_dis_base.png";
12321                   border: 4 4 4 4;
12322                }
12323                image.middle: SOLID;
12324             }
12325          }
12326          part { name: "popover";
12327             mouse_events: 0;
12328             description { state: "default" 0.0;
12329                rel1.to: "pop";
12330                rel2.to: "pop";
12331                rel2.relative: 1.0 0.5;
12332                image {
12333                   normal: "bt_dis_hilight.png";
12334                   border: 4 4 4 0;
12335                }
12336             }
12337          }
12338          part { name: "elm.swallow.content";
12339             type: SWALLOW;
12340             description { state: "default" 0.0;
12341                fixed: 1 1;
12342                rel1.relative: 0.5 0.5;
12343                rel2.relative: 0.5 0.5;
12344             }
12345          }
12346       }
12347       programs {
12348          program { name: "show";
12349             signal: "elm,action,show";
12350             source: "elm";
12351             action: STATE_SET "visible" 0.0;
12352 //            transition: DECELERATE 0.5;
12353             target: "base";
12354          }
12355          program { name: "hide";
12356             signal: "elm,action,hide";
12357             source: "elm";
12358             action: STATE_SET "default" 0.0;
12359 //            transition: DECELERATE 0.5;
12360             target: "base";
12361          }
12362       }
12363    }
12364
12365    group { name: "elm/win/inwin/minimal_vertical";
12366       images {
12367          image: "shad_circ.png" COMP;
12368          image: "bt_dis_base.png" COMP;
12369          image: "bt_dis_hilight.png" COMP;
12370       }
12371       parts {
12372          part { name: "base";
12373             type: RECT;
12374             mouse_events: 1;
12375             description { state: "default" 0.0;
12376                color: 0 0 0 0;
12377             }
12378             description { state: "visible" 0.0;
12379                inherit: "default" 1.0;
12380                color: 0 0 0 64;
12381             }
12382          }
12383          part { name: "shad";
12384             mouse_events:  0;
12385             description { state: "default" 0.0;
12386                image.normal: "shad_circ.png";
12387                rel1.to: "elm.swallow.content";
12388                rel1.offset: -64 -64;
12389                rel2.to: "elm.swallow.content";
12390                rel2.offset: 63 63;
12391                fill.smooth: 0;
12392             }
12393          }
12394          part { name: "pop";
12395             mouse_events: 1;
12396             description { state: "default" 0.0;
12397                rel1.to: "elm.swallow.content";
12398                rel1.offset: -5 -5;
12399                rel2.to: "elm.swallow.content";
12400                rel2.offset: 4 4;
12401                image {
12402                   normal: "bt_dis_base.png";
12403                   border: 4 4 4 4;
12404                }
12405                image.middle: SOLID;
12406             }
12407          }
12408          part { name: "popover";
12409             mouse_events: 0;
12410             description { state: "default" 0.0;
12411                rel1.to: "pop";
12412                rel2.to: "pop";
12413                rel2.relative: 1.0 0.5;
12414                image {
12415                   normal: "bt_dis_hilight.png";
12416                   border: 4 4 4 0;
12417                }
12418             }
12419          }
12420          part { name: "elm.swallow.content";
12421             type: SWALLOW;
12422             description { state: "default" 0.0;
12423                fixed: 1 1;
12424                rel1.relative: 0.1 0.5;
12425                rel2.relative: 0.9 0.5;
12426             }
12427          }
12428       }
12429       programs {
12430          program { name: "show";
12431             signal: "elm,action,show";
12432             source: "elm";
12433             action: STATE_SET "visible" 0.0;
12434 //            transition: DECELERATE 0.5;
12435             target: "base";
12436          }
12437          program { name: "hide";
12438             signal: "elm,action,hide";
12439             source: "elm";
12440             action: STATE_SET "default" 0.0;
12441 //            transition: DECELERATE 0.5;
12442             target: "base";
12443          }
12444       }
12445    }
12446
12447 ///////////////////////////////////////////////////////////////////////////////
12448
12449 ///////////////////////////////////////////////////////////////////////////////
12450    group { name: "elm/list/item/default";
12451       data.item: "stacking" "above";
12452       images {
12453          image: "bt_sm_base1.png" COMP;
12454          image: "bt_sm_shine.png" COMP;
12455          image: "bt_sm_hilight.png" COMP;
12456          image: "ilist_1.png" COMP;
12457          image: "ilist_item_shadow.png" COMP;
12458       }
12459       parts {
12460          part {
12461             name:           "event";
12462             type:           RECT;
12463             repeat_events: 1;
12464             description {
12465                state: "default" 0.0;
12466                color: 0 0 0 0;
12467             }
12468          }
12469          part {
12470             name: "base_sh";
12471             mouse_events: 0;
12472             description {
12473                state: "default" 0.0;
12474                align: 0.0 0.0;
12475                min: 0 10;
12476                fixed: 1 1;
12477                rel1 {
12478                   to: "base";
12479                   relative: 0.0 1.0;
12480                   offset: 0 0;
12481                }
12482                rel2 {
12483                   to: "base";
12484                   relative: 1.0 1.0;
12485                   offset: -1 0;
12486                }
12487                image {
12488                   normal: "ilist_item_shadow.png";
12489                }
12490                fill.smooth: 0;
12491             }
12492          }
12493          part {
12494             name: "base";
12495             mouse_events: 0;
12496             description {
12497                state: "default" 0.0;
12498                image {
12499                   normal: "ilist_1.png";
12500                   border: 2 2 2 2;
12501                }
12502                fill.smooth: 0;
12503             }
12504          }
12505          part { name: "bg";
12506             mouse_events: 0;
12507             description { state: "default" 0.0;
12508                visible: 0;
12509                color: 255 255 255 0;
12510                rel1 {
12511                   relative: 0.0 0.0;
12512                   offset: -5 -5;
12513                }
12514                rel2 {
12515                   relative: 1.0 1.0;
12516                   offset: 4 4;
12517                }
12518                image {
12519                   normal: "bt_sm_base1.png";
12520                   border: 6 6 6 6;
12521                }
12522                image.middle: SOLID;
12523             }
12524             description { state: "selected" 0.0;
12525                inherit: "default" 0.0;
12526                visible: 1;
12527                color: 255 255 255 255;
12528                rel1 {
12529                   relative: 0.0 0.0;
12530                   offset: -2 -2;
12531                }
12532                rel2 {
12533                   relative: 1.0 1.0;
12534                   offset: 1 1;
12535                }
12536             }
12537          }
12538          part { name: "elm.swallow.icon";
12539             type: SWALLOW;
12540             description { state: "default" 0.0;
12541                fixed: 1 0;
12542                align: 0.0 0.5;
12543                rel1 {
12544                   relative: 0.0  0.0;
12545                   offset:   4    4;
12546                }
12547                rel2 {
12548                   relative: 0.0  1.0;
12549                   offset:   4   -5;
12550                }
12551             }
12552          }
12553          part { name: "elm.swallow.end";
12554             type: SWALLOW;
12555             description { state: "default" 0.0;
12556                fixed: 1 0;
12557                align: 1.0 0.5;
12558                rel1 {
12559                   relative: 1.0  0.0;
12560                   offset:   -5    4;
12561                }
12562                rel2 {
12563                   relative: 1.0  1.0;
12564                   offset:   -5   -5;
12565                }
12566             }
12567          }
12568          part { name: "elm.text";
12569             type:           TEXT;
12570             effect:         SOFT_SHADOW;
12571             mouse_events:   0;
12572             scale: 1;
12573             description {
12574                state: "default" 0.0;
12575 //               min: 16 16;
12576                rel1 {
12577                   to_x:     "elm.swallow.icon";
12578                   relative: 1.0  0.0;
12579                   offset:   4 4;
12580                }
12581                rel2 {
12582                   to_x:     "elm.swallow.end";
12583                   relative: 0.0  1.0;
12584                   offset:   -1 -5;
12585                }
12586                color: 0 0 0 255;
12587                color3: 0 0 0 0;
12588                text {
12589                   font: "Sans";
12590                   size: 10;
12591                   min: 1 1;
12592 //                  min: 0 1;
12593                   align: -1.0 0.5;
12594                   text_class: "list_item";
12595                }
12596             }
12597             description { state: "selected" 0.0;
12598                inherit: "default" 0.0;
12599                color: 224 224 224 255;
12600                color3: 0 0 0 64;
12601             }
12602          }
12603          part { name: "fg1";
12604             mouse_events: 0;
12605             description { state: "default" 0.0;
12606                visible: 0;
12607                color: 255 255 255 0;
12608                rel1.to: "bg";
12609                rel2.relative: 1.0 0.5;
12610                rel2.to: "bg";
12611                image {
12612                   normal: "bt_sm_hilight.png";
12613                   border: 6 6 6 0;
12614                }
12615             }
12616             description { state: "selected" 0.0;
12617                inherit: "default" 0.0;
12618                visible: 1;
12619                color: 255 255 255 255;
12620             }
12621          }
12622          part { name: "fg2";
12623             mouse_events: 0;
12624             description { state: "default" 0.0;
12625                visible: 0;
12626                color: 255 255 255 0;
12627                rel1.to: "bg";
12628                rel2.to: "bg";
12629                image {
12630                   normal: "bt_sm_shine.png";
12631                   border: 6 6 6 0;
12632                }
12633             }
12634             description { state: "selected" 0.0;
12635                inherit: "default" 0.0;
12636                visible: 1;
12637                color: 255 255 255 255;
12638             }
12639          }
12640       }
12641       programs {
12642          program {
12643             name:    "go_active";
12644             signal:  "elm,state,selected";
12645             source:  "elm";
12646             action:  STATE_SET "selected" 0.0;
12647             target:  "bg";
12648             target:  "fg1";
12649             target:  "fg2";
12650             target:  "elm.text";
12651          }
12652          program {
12653             name:    "go_passive";
12654             signal:  "elm,state,unselected";
12655             source:  "elm";
12656             action:  STATE_SET "default" 0.0;
12657             target:  "bg";
12658             target:  "fg1";
12659             target:  "fg2";
12660             target:  "elm.text";
12661             transition: LINEAR 0.1;
12662          }
12663       }
12664    }
12665    group { name: "elm/list/item_odd/default";
12666       data.item: "stacking" "below";
12667       data.item: "selectraise" "on";
12668       images {
12669          image: "bt_sm_base1.png" COMP;
12670          image: "bt_sm_shine.png" COMP;
12671          image: "bt_sm_hilight.png" COMP;
12672          image: "ilist_2.png" COMP;
12673       }
12674       parts {
12675          part {
12676             name:           "event";
12677             type:           RECT;
12678             repeat_events: 1;
12679             description {
12680                state: "default" 0.0;
12681                color: 0 0 0 0;
12682             }
12683          }
12684          part {
12685             name: "base";
12686             mouse_events: 0;
12687             description {
12688                state: "default" 0.0;
12689                image {
12690                   normal: "ilist_2.png";
12691                   border: 2 2 2 2;
12692                }
12693                fill.smooth: 0;
12694             }
12695          }
12696          part { name: "bg";
12697             mouse_events: 0;
12698             description { state: "default" 0.0;
12699                visible: 0;
12700                color: 255 255 255 0;
12701                rel1 {
12702                   relative: 0.0 0.0;
12703                   offset: -5 -5;
12704                }
12705                rel2 {
12706                   relative: 1.0 1.0;
12707                   offset: 4 4;
12708                }
12709                image {
12710                   normal: "bt_sm_base1.png";
12711                   border: 6 6 6 6;
12712                }
12713                image.middle: SOLID;
12714             }
12715             description { state: "selected" 0.0;
12716                inherit: "default" 0.0;
12717                visible: 1;
12718                color: 255 255 255 255;
12719                rel1 {
12720                   relative: 0.0 0.0;
12721                   offset: -2 -2;
12722                }
12723                rel2 {
12724                   relative: 1.0 1.0;
12725                   offset: 1 1;
12726                }
12727             }
12728          }
12729          part {
12730             name:          "elm.swallow.icon";
12731             type:          SWALLOW;
12732             description { state:    "default" 0.0;
12733                fixed: 1 0;
12734                align:    0.0 0.5;
12735                rel1 {
12736                   relative: 0.0  0.0;
12737                   offset:   4    4;
12738                }
12739                rel2 {
12740                   relative: 0.0  1.0;
12741                   offset:   4   -5;
12742                }
12743             }
12744          }
12745          part {
12746             name:          "elm.swallow.end";
12747             type:          SWALLOW;
12748             description { state:    "default" 0.0;
12749                fixed: 1 0;
12750                align: 1.0 0.5;
12751                rel1 {
12752                   relative: 1.0  0.0;
12753                   offset:   -5    4;
12754                }
12755                rel2 {
12756                   relative: 1.0  1.0;
12757                   offset:   -5   -5;
12758                }
12759             }
12760          }
12761          part {
12762             name:           "elm.text";
12763             type:           TEXT;
12764             effect:         SOFT_SHADOW;
12765             mouse_events:   0;
12766             scale: 1;
12767             description {
12768                state: "default" 0.0;
12769 //               min:      16 16;
12770                rel1 {
12771                   to_x:     "elm.swallow.icon";
12772                   relative: 1.0  0.0;
12773                   offset:   4 4;
12774                }
12775                rel2 {
12776                   to_x:     "elm.swallow.end";
12777                   relative: 0.0  1.0;
12778                   offset:   -1 -5;
12779                }
12780                color: 0 0 0 255;
12781                color3: 0 0 0 0;
12782                text {
12783                   font: "Sans";
12784                   size: 10;
12785                   min: 1 1;
12786 //                  min: 0 1;
12787                   align: -1.0 0.5;
12788                   text_class: "list_item";
12789                }
12790             }
12791             description { state: "selected" 0.0;
12792                inherit: "default" 0.0;
12793                color: 224 224 224 255;
12794                color3: 0 0 0 64;
12795             }
12796          }
12797          part { name: "fg1";
12798             mouse_events: 0;
12799             description { state: "default" 0.0;
12800                visible: 0;
12801                color: 255 255 255 0;
12802                rel1.to: "bg";
12803                rel2.relative: 1.0 0.5;
12804                rel2.to: "bg";
12805                image {
12806                   normal: "bt_sm_hilight.png";
12807                   border: 6 6 6 0;
12808                }
12809             }
12810             description { state: "selected" 0.0;
12811                inherit: "default" 0.0;
12812                visible: 1;
12813                color: 255 255 255 255;
12814             }
12815          }
12816          part { name: "fg2";
12817             mouse_events: 0;
12818             description { state: "default" 0.0;
12819                visible: 0;
12820                color: 255 255 255 0;
12821                rel1.to: "bg";
12822                rel2.to: "bg";
12823                image {
12824                   normal: "bt_sm_shine.png";
12825                   border: 6 6 6 0;
12826                }
12827             }
12828             description { state: "selected" 0.0;
12829                inherit: "default" 0.0;
12830                visible: 1;
12831                color: 255 255 255 255;
12832             }
12833          }
12834       }
12835       programs {
12836          program {
12837             name:    "go_active";
12838             signal:  "elm,state,selected";
12839             source:  "elm";
12840             action:  STATE_SET "selected" 0.0;
12841             target:  "bg";
12842             target:  "fg1";
12843             target:  "fg2";
12844             target:  "elm.text";
12845          }
12846          program {
12847             name:    "go_passive";
12848             signal:  "elm,state,unselected";
12849             source:  "elm";
12850             action:  STATE_SET "default" 0.0;
12851             target:  "bg";
12852             target:  "fg1";
12853             target:  "fg2";
12854             target:  "elm.text";
12855             transition: LINEAR 0.1;
12856          }
12857       }
12858    }
12859    group { name: "elm/list/item_compress/default";
12860       data.item: "stacking" "above";
12861       data.item: "selectraise" "on";
12862       images {
12863          image: "bt_sm_base1.png" COMP;
12864          image: "bt_sm_shine.png" COMP;
12865          image: "bt_sm_hilight.png" COMP;
12866          image: "ilist_1.png" COMP;
12867          image: "ilist_item_shadow.png" COMP;
12868       }
12869       parts {
12870          part {
12871             name:           "event";
12872             type:           RECT;
12873             repeat_events: 1;
12874             description {
12875                state: "default" 0.0;
12876                color: 0 0 0 0;
12877             }
12878          }
12879          part {
12880             name: "base_sh";
12881             mouse_events: 0;
12882             description { state: "default" 0.0;
12883                fixed: 1 1;
12884                align: 0.0 0.0;
12885                min: 0 10;
12886                rel1 {
12887                   to: "base";
12888                   relative: 0.0 1.0;
12889                   offset: 0 0;
12890                }
12891                rel2 {
12892                   to: "base";
12893                   relative: 1.0 1.0;
12894                   offset: -1 0;
12895                }
12896                image {
12897                   normal: "ilist_item_shadow.png";
12898                }
12899                fill.smooth: 0;
12900             }
12901          }
12902          part {
12903             name: "base";
12904             mouse_events: 0;
12905             description {
12906                state: "default" 0.0;
12907                image {
12908                   normal: "ilist_1.png";
12909                   border: 2 2 2 2;
12910                }
12911                fill.smooth: 0;
12912             }
12913          }
12914          part { name: "bg";
12915             mouse_events: 0;
12916             description { state: "default" 0.0;
12917                visible: 0;
12918                color: 255 255 255 0;
12919                rel1 {
12920                   relative: 0.0 0.0;
12921                   offset: -5 -5;
12922                }
12923                rel2 {
12924                   relative: 1.0 1.0;
12925                   offset: 4 4;
12926                }
12927                image {
12928                   normal: "bt_sm_base1.png";
12929                   border: 6 6 6 6;
12930                }
12931                image.middle: SOLID;
12932             }
12933             description { state: "selected" 0.0;
12934                inherit: "default" 0.0;
12935                visible: 1;
12936                color: 255 255 255 255;
12937                rel1 {
12938                   relative: 0.0 0.0;
12939                   offset: -2 -2;
12940                }
12941                rel2 {
12942                   relative: 1.0 1.0;
12943                   offset: 1 1;
12944                }
12945             }
12946          }
12947          part { name:          "elm.swallow.icon";
12948             type:          SWALLOW;
12949             description { state:    "default" 0.0;
12950                fixed: 1 0;
12951                align:    0.0 0.5;
12952                rel1 {
12953                   relative: 0.0  0.0;
12954                   offset:   4    4;
12955                }
12956                rel2 {
12957                   relative: 0.0  1.0;
12958                   offset:   4   -5;
12959                }
12960             }
12961          }
12962          part { name:          "elm.swallow.end";
12963             type:          SWALLOW;
12964             description { state:    "default" 0.0;
12965                fixed: 1 0;
12966                align:    1.0 0.5;
12967                rel1 {
12968                   relative: 1.0  0.0;
12969                   offset:   -5    4;
12970                }
12971                rel2 {
12972                   relative: 1.0  1.0;
12973                   offset:   -5   -5;
12974                }
12975             }
12976          }
12977          part {
12978             name:           "elm.text";
12979             type:           TEXT;
12980             effect:         SOFT_SHADOW;
12981             mouse_events:   0;
12982             scale: 1;
12983             description { state: "default" 0.0;
12984 //               min:      16 16;
12985                rel1 {
12986                   to_x:     "elm.swallow.icon";
12987                   relative: 1.0  0.0;
12988                   offset:   4 4;
12989                }
12990                rel2 {
12991                   to_x:     "elm.swallow.end";
12992                   relative: 0.0  1.0;
12993                   offset:   -1 -5;
12994                }
12995                color: 0 0 0 255;
12996                color3: 0 0 0 0;
12997                text {
12998                   font: "Sans";
12999                   size: 10;
13000 //                  min: 1 1;
13001                   min: 0 1;
13002                   align: 0.0 0.5;
13003                   text_class: "list_item";
13004                }
13005             }
13006             description { state: "selected" 0.0;
13007                inherit: "default" 0.0;
13008                color: 224 224 224 255;
13009                color3: 0 0 0 64;
13010             }
13011          }
13012          part { name: "fg1";
13013             mouse_events: 0;
13014             description { state: "default" 0.0;
13015                visible: 0;
13016                color: 255 255 255 0;
13017                rel1.to: "bg";
13018                rel2.relative: 1.0 0.5;
13019                rel2.to: "bg";
13020                image {
13021                   normal: "bt_sm_hilight.png";
13022                   border: 6 6 6 0;
13023                }
13024             }
13025             description { state: "selected" 0.0;
13026                inherit: "default" 0.0;
13027                visible: 1;
13028                color: 255 255 255 255;
13029             }
13030          }
13031          part { name: "fg2";
13032             mouse_events: 0;
13033             description { state: "default" 0.0;
13034                visible: 0;
13035                color: 255 255 255 0;
13036                rel1.to: "bg";
13037                rel2.to: "bg";
13038                image {
13039                   normal: "bt_sm_shine.png";
13040                   border: 6 6 6 0;
13041                }
13042             }
13043             description { state: "selected" 0.0;
13044                inherit: "default" 0.0;
13045                visible: 1;
13046                color: 255 255 255 255;
13047             }
13048          }
13049       }
13050       programs {
13051          program {
13052             name:    "go_active";
13053             signal:  "elm,state,selected";
13054             source:  "elm";
13055             action:  STATE_SET "selected" 0.0;
13056             target:  "bg";
13057             target:  "fg1";
13058             target:  "fg2";
13059             target:  "elm.text";
13060          }
13061          program {
13062             name:    "go_passive";
13063             signal:  "elm,state,unselected";
13064             source:  "elm";
13065             action:  STATE_SET "default" 0.0;
13066             target:  "bg";
13067             target:  "fg1";
13068             target:  "fg2";
13069             target:  "elm.text";
13070             transition: LINEAR 0.1;
13071          }
13072       }
13073    }
13074    group { name: "elm/list/item_compress_odd/default";
13075       data.item: "stacking" "below";
13076       data.item: "selectraise" "on";
13077       images {
13078          image: "bt_sm_base1.png" COMP;
13079          image: "bt_sm_shine.png" COMP;
13080          image: "bt_sm_hilight.png" COMP;
13081          image: "ilist_2.png" COMP;
13082       }
13083       parts {
13084          part {
13085             name:           "event";
13086             type:           RECT;
13087             repeat_events: 1;
13088             description {
13089                state: "default" 0.0;
13090                color: 0 0 0 0;
13091             }
13092          }
13093          part {
13094             name: "base";
13095             mouse_events: 0;
13096             description {
13097                state: "default" 0.0;
13098                image {
13099                   normal: "ilist_2.png";
13100                   border: 2 2 2 2;
13101                }
13102                fill.smooth: 0;
13103             }
13104          }
13105          part { name: "bg";
13106             mouse_events: 0;
13107             description { state: "default" 0.0;
13108                visible: 0;
13109                color: 255 255 255 0;
13110                rel1 {
13111                   relative: 0.0 0.0;
13112                   offset: -5 -5;
13113                }
13114                rel2 {
13115                   relative: 1.0 1.0;
13116                   offset: 4 4;
13117                }
13118                image {
13119                   normal: "bt_sm_base1.png";
13120                   border: 6 6 6 6;
13121                }
13122                image.middle: SOLID;
13123             }
13124             description { state: "selected" 0.0;
13125                inherit: "default" 0.0;
13126                visible: 1;
13127                color: 255 255 255 255;
13128                rel1 {
13129                   relative: 0.0 0.0;
13130                   offset: -2 -2;
13131                }
13132                rel2 {
13133                   relative: 1.0 1.0;
13134                   offset: 1 1;
13135                }
13136             }
13137          }
13138          part { name:          "elm.swallow.icon";
13139             type:          SWALLOW;
13140             description { state:    "default" 0.0;
13141                fixed: 1 0;
13142                align:    0.0 0.5;
13143                rel1 {
13144                   relative: 0.0  0.0;
13145                   offset:   4    4;
13146                }
13147                rel2 {
13148                   relative: 0.0  1.0;
13149                   offset:   4   -5;
13150                }
13151             }
13152          }
13153          part { name:          "elm.swallow.end";
13154             type:          SWALLOW;
13155             description { state:    "default" 0.0;
13156                fixed: 1 0;
13157                align:    1.0 0.5;
13158                rel1 {
13159                   relative: 1.0  0.0;
13160                   offset:   -5    4;
13161                }
13162                rel2 {
13163                   relative: 1.0  1.0;
13164                   offset:   -5   -5;
13165                }
13166             }
13167          }
13168          part {
13169             name:           "elm.text";
13170             type:           TEXT;
13171             effect:         SOFT_SHADOW;
13172             mouse_events:   0;
13173             scale: 1;
13174             description {
13175                state: "default" 0.0;
13176 //               min:      16 16;
13177                rel1 {
13178                   to_x:     "elm.swallow.icon";
13179                   relative: 1.0  0.0;
13180                   offset:   4 4;
13181                }
13182                rel2 {
13183                   to_x:     "elm.swallow.end";
13184                   relative: 0.0  1.0;
13185                   offset:   -1 -5;
13186                }
13187                color: 0 0 0 255;
13188                color3: 0 0 0 0;
13189                text {
13190                   font: "Sans";
13191                   size: 10;
13192 //                  min: 1 1;
13193                   min: 0 1;
13194                   align: 0.0 0.5;
13195                   text_class: "list_item";
13196                }
13197             }
13198             description { state: "selected" 0.0;
13199                inherit: "default" 0.0;
13200                color: 224 224 224 255;
13201                color3: 0 0 0 64;
13202             }
13203          }
13204          part { name: "fg1";
13205             mouse_events: 0;
13206             description { state: "default" 0.0;
13207                visible: 0;
13208                color: 255 255 255 0;
13209                rel1.to: "bg";
13210                rel2.relative: 1.0 0.5;
13211                rel2.to: "bg";
13212                image {
13213                   normal: "bt_sm_hilight.png";
13214                   border: 6 6 6 0;
13215                }
13216             }
13217             description { state: "selected" 0.0;
13218                inherit: "default" 0.0;
13219                visible: 1;
13220                color: 255 255 255 255;
13221             }
13222          }
13223          part { name: "fg2";
13224             mouse_events: 0;
13225             description { state: "default" 0.0;
13226                visible: 0;
13227                color: 255 255 255 0;
13228                rel1.to: "bg";
13229                rel2.to: "bg";
13230                image {
13231                   normal: "bt_sm_shine.png";
13232                   border: 6 6 6 0;
13233                }
13234             }
13235             description { state: "selected" 0.0;
13236                inherit: "default" 0.0;
13237                visible: 1;
13238                color: 255 255 255 255;
13239             }
13240          }
13241       }
13242       programs {
13243          program {
13244             name:    "go_active";
13245             signal:  "elm,state,selected";
13246             source:  "elm";
13247             action:  STATE_SET "selected" 0.0;
13248             target:  "bg";
13249             target:  "fg1";
13250             target:  "fg2";
13251             target:  "elm.text";
13252          }
13253          program {
13254             name:    "go_passive";
13255             signal:  "elm,state,unselected";
13256             source:  "elm";
13257             action:  STATE_SET "default" 0.0;
13258             target:  "bg";
13259             target:  "fg1";
13260             target:  "fg2";
13261             target:  "elm.text";
13262             transition: LINEAR 0.1;
13263          }
13264       }
13265    }
13266
13267 ///////////////////////////////////////////////////////////////////////////////
13268    group { name: "elm/list/h_item/default";
13269       data.item: "stacking" "above";
13270       images {
13271          image: "bt_sm_base1.png" COMP;
13272          image: "bt_sm_shine.png" COMP;
13273          image: "bt_sm_hilight.png" COMP;
13274          image: "ilist_1_h.png" COMP;
13275          image: "ilist_item_shadow_h.png" COMP;
13276       }
13277       parts {
13278          part {
13279             name: "event";
13280             type: RECT;
13281             repeat_events: 1;
13282             description {
13283                state: "default" 0.0;
13284                color: 0 0 0 0;
13285             }
13286          }
13287          part {
13288             name: "base_sh";
13289             mouse_events: 0;
13290             description {
13291                state: "default" 0.0;
13292                align: 0.0 0.0;
13293                min: 10 0;
13294                fixed: 1 1;
13295                rel1 {
13296                   to: "base";
13297                   relative: 1.0 0.0;
13298                   offset: 0 0;
13299                }
13300                rel2 {
13301                   to: "base";
13302                   relative: 1.0 1.0;
13303                   offset: 0 -1;
13304                }
13305                image {
13306                   normal: "ilist_item_shadow_h.png";
13307                }
13308                fill.smooth: 0;
13309             }
13310          }
13311          part {
13312             name: "base";
13313             mouse_events: 0;
13314             description {
13315                state: "default" 0.0;
13316                image {
13317                   normal: "ilist_1_h.png";
13318                   border: 2 2 2 2;
13319                }
13320                fill.smooth: 0;
13321             }
13322          }
13323          part { name: "bg";
13324             mouse_events: 0;
13325             description { state: "default" 0.0;
13326                visible: 0;
13327                color: 255 255 255 0;
13328                rel1 {
13329                   relative: 0.0 0.0;
13330                   offset: -5 -5;
13331                }
13332                rel2 {
13333                   relative: 1.0 1.0;
13334                   offset: 4 4;
13335                }
13336                image {
13337                   normal: "bt_sm_base1.png";
13338                   border: 6 6 6 6;
13339                }
13340                image.middle: SOLID;
13341             }
13342             description { state: "selected" 0.0;
13343                inherit: "default" 0.0;
13344                visible: 1;
13345                color: 255 255 255 255;
13346                rel1 {
13347                   relative: 0.0 0.0;
13348                   offset: -2 -2;
13349                }
13350                rel2 {
13351                   relative: 1.0 1.0;
13352                   offset: 1 1;
13353                }
13354             }
13355          }
13356          part { name: "elm.swallow.icon";
13357             type: SWALLOW;
13358             description { state: "default" 0.0;
13359                fixed: 0 1;
13360                align: 0.5 0.0;
13361                rel1 {
13362                   relative: 0.0 0.0;
13363                   offset: 4 4;
13364                }
13365                rel2 {
13366                   relative: 1.0 0.0;
13367                   offset: -5 4;
13368                }
13369             }
13370          }
13371          part { name: "elm.swallow.end";
13372             type: SWALLOW;
13373             description { state: "default" 0.0;
13374                fixed: 0 1;
13375                align: 0.5 1.0;
13376                rel1 {
13377                   relative: 0.0 1.0;
13378                   offset: 4 -5;
13379                }
13380                rel2 {
13381                   relative: 1.0 1.0;
13382                   offset: -5 -5;
13383                }
13384             }
13385          }
13386          part { name: "elm.text";
13387             type: TEXT;
13388             effect: SOFT_SHADOW;
13389             mouse_events: 0;
13390             scale: 1;
13391             description {
13392                state: "default" 0.0;
13393                fixed: 0 1;
13394                rel1 {
13395                   to_x: "elm.swallow.icon";
13396                   relative: 0.0 1.0;
13397                   offset: 4 4;
13398                }
13399                rel2 {
13400                   to_x: "elm.swallow.end";
13401                   relative: 1.0 0.0;
13402                   offset: -5 -1;
13403                }
13404                color: 0 0 0 255;
13405                color3: 0 0 0 0;
13406                text {
13407                   font: "Sans";
13408                   size: 10;
13409                   min: 1 1;
13410                   align: 0.5 0.5;
13411                   text_class: "list_item";
13412                }
13413             }
13414             description { state: "selected" 0.0;
13415                inherit: "default" 0.0;
13416                color: 224 224 224 255;
13417                color3: 0 0 0 64;
13418             }
13419          }
13420          part { name: "fg1";
13421             mouse_events: 0;
13422             description { state: "default" 0.0;
13423                visible: 0;
13424                color: 255 255 255 0;
13425                rel1.to: "bg";
13426                rel2.relative: 1.0 0.5;
13427                rel2.to: "bg";
13428                image {
13429                   normal: "bt_sm_hilight.png";
13430                   border: 6 6 6 0;
13431                }
13432             }
13433             description { state: "selected" 0.0;
13434                inherit: "default" 0.0;
13435                visible: 1;
13436                color: 255 255 255 255;
13437             }
13438          }
13439          part { name: "fg2";
13440             mouse_events: 0;
13441             description { state: "default" 0.0;
13442                visible: 0;
13443                color: 255 255 255 0;
13444                rel1.to: "bg";
13445                rel2.to: "bg";
13446                image {
13447                   normal: "bt_sm_shine.png";
13448                   border: 6 6 6 0;
13449                }
13450             }
13451             description { state: "selected" 0.0;
13452                inherit: "default" 0.0;
13453                visible: 1;
13454                color: 255 255 255 255;
13455             }
13456          }
13457       }
13458       programs {
13459          program {
13460             name: "go_active";
13461             signal: "elm,state,selected";
13462             source: "elm";
13463             action: STATE_SET "selected" 0.0;
13464             target: "bg";
13465             target: "fg1";
13466             target: "fg2";
13467             target: "elm.text";
13468          }
13469          program {
13470             name: "go_passive";
13471             signal: "elm,state,unselected";
13472             source: "elm";
13473             action: STATE_SET "default" 0.0;
13474             target: "bg";
13475             target: "fg1";
13476             target: "fg2";
13477             target: "elm.text";
13478             transition: LINEAR 0.1;
13479          }
13480       }
13481    }
13482    group { name: "elm/list/h_item_odd/default";
13483       data.item: "stacking" "below";
13484       data.item: "selectraise" "on";
13485       images {
13486          image: "bt_sm_base1.png" COMP;
13487          image: "bt_sm_shine.png" COMP;
13488          image: "bt_sm_hilight.png" COMP;
13489          image: "ilist_2_h.png" COMP;
13490       }
13491       parts {
13492          part {
13493             name: "event";
13494             type: RECT;
13495             repeat_events: 1;
13496             description {
13497                state: "default" 0.0;
13498                color: 0 0 0 0;
13499             }
13500          }
13501          part {
13502             name: "base";
13503             mouse_events: 0;
13504             description {
13505                state: "default" 0.0;
13506                image {
13507                   normal: "ilist_2_h.png";
13508                   border: 2 2 2 2;
13509                }
13510                fill.smooth: 0;
13511             }
13512          }
13513          part { name: "bg";
13514             mouse_events: 0;
13515             description { state: "default" 0.0;
13516                visible: 0;
13517                color: 255 255 255 0;
13518                rel1 {
13519                   relative: 0.0 0.0;
13520                   offset: -5 -5;
13521                }
13522                rel2 {
13523                   relative: 1.0 1.0;
13524                   offset: 4 4;
13525                }
13526                image {
13527                   normal: "bt_sm_base1.png";
13528                   border: 6 6 6 6;
13529                }
13530                image.middle: SOLID;
13531             }
13532             description { state: "selected" 0.0;
13533                inherit: "default" 0.0;
13534                visible: 1;
13535                color: 255 255 255 255;
13536                rel1 {
13537                   relative: 0.0 0.0;
13538                   offset: -2 -2;
13539                }
13540                rel2 {
13541                   relative: 1.0 1.0;
13542                   offset: 1 1;
13543                }
13544             }
13545          }
13546          part {
13547             name: "elm.swallow.icon";
13548             type: SWALLOW;
13549             description { state: "default" 0.0;
13550                fixed: 0 1;
13551                align: 0.5 0.0;
13552                rel1 {
13553                   relative: 0.0 0.0;
13554                   offset: 4 4;
13555                }
13556                rel2 {
13557                   relative: 1.0 0.0;
13558                   offset: -5 4;
13559                }
13560             }
13561          }
13562          part {
13563             name: "elm.swallow.end";
13564             type: SWALLOW;
13565             description { state: "default" 0.0;
13566                fixed: 0 1;
13567                align: 0.5 1.0;
13568                rel1 {
13569                   relative: 0.0 1.0;
13570                   offset: 4 -5;
13571                }
13572                rel2 {
13573                   relative: 1.0 1.0;
13574                   offset: -5 -5;
13575                }
13576             }
13577          }
13578          part { name: "elm.text";
13579             type: TEXT;
13580             effect: SOFT_SHADOW;
13581             mouse_events: 0;
13582             scale: 1;
13583             description {
13584                state: "default" 0.0;
13585                fixed: 1 1;
13586                rel1 {
13587                   to_x: "elm.swallow.icon";
13588                   relative: 0.0 1.0;
13589                   offset: 4 4;
13590                }
13591                rel2 {
13592                   to_x: "elm.swallow.end";
13593                   relative: 1.0 0.0;
13594                   offset: -5 -1;
13595                }
13596                color: 0 0 0 255;
13597                color3: 0 0 0 0;
13598                text {
13599                   font: "Sans";
13600                   size: 10;
13601                   min: 1 1;
13602                   align: 0.5 0.5;
13603                   text_class: "list_item";
13604                }
13605             }
13606             description { state: "selected" 0.0;
13607                inherit: "default" 0.0;
13608                color: 224 224 224 255;
13609                color3: 0 0 0 64;
13610             }
13611          }
13612          part { name: "fg1";
13613             mouse_events: 0;
13614             description { state: "default" 0.0;
13615                visible: 0;
13616                color: 255 255 255 0;
13617                rel1.to: "bg";
13618                rel2.relative: 1.0 0.5;
13619                rel2.to: "bg";
13620                image {
13621                   normal: "bt_sm_hilight.png";
13622                   border: 6 6 6 0;
13623                }
13624             }
13625             description { state: "selected" 0.0;
13626                inherit: "default" 0.0;
13627                visible: 1;
13628                color: 255 255 255 255;
13629             }
13630          }
13631          part { name: "fg2";
13632             mouse_events: 0;
13633             description { state: "default" 0.0;
13634                visible: 0;
13635                color: 255 255 255 0;
13636                rel1.to: "bg";
13637                rel2.to: "bg";
13638                image {
13639                   normal: "bt_sm_shine.png";
13640                   border: 6 6 6 0;
13641                }
13642             }
13643             description { state: "selected" 0.0;
13644                inherit: "default" 0.0;
13645                visible: 1;
13646                color: 255 255 255 255;
13647             }
13648          }
13649       }
13650       programs {
13651          program {
13652             name: "go_active";
13653             signal: "elm,state,selected";
13654             source: "elm";
13655             action: STATE_SET "selected" 0.0;
13656             target: "bg";
13657             target: "fg1";
13658             target: "fg2";
13659             target: "elm.text";
13660          }
13661          program {
13662             name: "go_passive";
13663             signal: "elm,state,unselected";
13664             source: "elm";
13665             action: STATE_SET "default" 0.0;
13666             target: "bg";
13667             target: "fg1";
13668             target: "fg2";
13669             target: "elm.text";
13670             transition: LINEAR 0.1;
13671          }
13672       }
13673    }
13674    group { name: "elm/list/h_item_compress/default";
13675       data.item: "stacking" "above";
13676       data.item: "selectraise" "on";
13677       images {
13678          image: "bt_sm_base1.png" COMP;
13679          image: "bt_sm_shine.png" COMP;
13680          image: "bt_sm_hilight.png" COMP;
13681          image: "ilist_1_h.png" COMP;
13682          image: "ilist_item_shadow_h.png" COMP;
13683       }
13684       parts {
13685          part {
13686             name: "event";
13687             type: RECT;
13688             repeat_events: 1;
13689             description {
13690                state: "default" 0.0;
13691                color: 0 0 0 0;
13692             }
13693          }
13694          part {
13695             name: "base_sh";
13696             mouse_events: 0;
13697             description { state: "default" 0.0;
13698                fixed: 1 1;
13699                align: 0.0 0.0;
13700                min: 10 0;
13701                rel1 {
13702                   to: "base";
13703                   relative: 1.0 0.0;
13704                   offset: 0 0;
13705                }
13706                rel2 {
13707                   to: "base";
13708                   relative: 1.0 1.0;
13709                   offset: 0 -1;
13710                }
13711                image {
13712                   normal: "ilist_item_shadow_h.png";
13713                }
13714                fill.smooth: 0;
13715             }
13716          }
13717          part {
13718             name: "base";
13719             mouse_events: 0;
13720             description {
13721                state: "default" 0.0;
13722                image {
13723                   normal: "ilist_1_h.png";
13724                   border: 2 2 2 2;
13725                }
13726                fill.smooth: 0;
13727             }
13728          }
13729          part { name: "bg";
13730             mouse_events: 0;
13731             description { state: "default" 0.0;
13732                visible: 0;
13733                color: 255 255 255 0;
13734                rel1 {
13735                   relative: 0.0 0.0;
13736                   offset: -5 -5;
13737                }
13738                rel2 {
13739                   relative: 1.0 1.0;
13740                   offset: 4 4;
13741                }
13742                image {
13743                   normal: "bt_sm_base1.png";
13744                   border: 6 6 6 6;
13745                }
13746                image.middle: SOLID;
13747             }
13748             description { state: "selected" 0.0;
13749                inherit: "default" 0.0;
13750                visible: 1;
13751                color: 255 255 255 255;
13752                rel1 {
13753                   relative: 0.0 0.0;
13754                   offset: -2 -2;
13755                }
13756                rel2 {
13757                   relative: 1.0 1.0;
13758                   offset: 1 1;
13759                }
13760             }
13761          }
13762          part { name: "elm.swallow.icon";
13763             type: SWALLOW;
13764             description { state: "default" 0.0;
13765                fixed: 0 1;
13766                align: 0.5 0.0;
13767                rel1 {
13768                   relative: 0.0 0.0;
13769                   offset: 4 4;
13770                }
13771                rel2 {
13772                   relative: 1.0 0.0;
13773                   offset: -5 4;
13774                }
13775             }
13776          }
13777          part { name: "elm.swallow.end";
13778             type: SWALLOW;
13779             description { state: "default" 0.0;
13780                fixed: 0 1;
13781                align: 0.5 1.0;
13782                rel1 {
13783                   relative: 0.0 1.0;
13784                   offset: 4 -5;
13785                }
13786                rel2 {
13787                   relative: 1.0 1.0;
13788                   offset: -5 -5;
13789                }
13790             }
13791          }
13792          part {
13793             name: "elm.text";
13794             type: TEXT;
13795             effect: SOFT_SHADOW;
13796             mouse_events: 0;
13797             scale: 1;
13798             description { state: "default" 0.0;
13799                fixed: 1 1;
13800                rel1 {
13801                   to_x: "elm.swallow.icon";
13802                   relative: 0.0 1.0;
13803                   offset: 4 4;
13804                }
13805                rel2 {
13806                   to_x: "elm.swallow.end";
13807                   relative: 1.0 0.0;
13808                   offset: -5 -1;
13809                }
13810                color: 0 0 0 255;
13811                color3: 0 0 0 0;
13812                text {
13813                   font: "Sans";
13814                   size: 10;
13815                   min: 1 1;
13816                   align: 0.5 0.5;
13817                   text_class: "list_item";
13818                }
13819             }
13820             description { state: "selected" 0.0;
13821                inherit: "default" 0.0;
13822                color: 224 224 224 255;
13823                color3: 0 0 0 64;
13824             }
13825          }
13826          part { name: "fg1";
13827             mouse_events: 0;
13828             description { state: "default" 0.0;
13829                visible: 0;
13830                color: 255 255 255 0;
13831                rel1.to: "bg";
13832                rel2.relative: 1.0 0.5;
13833                rel2.to: "bg";
13834                image {
13835                   normal: "bt_sm_hilight.png";
13836                   border: 6 6 6 0;
13837                }
13838             }
13839             description { state: "selected" 0.0;
13840                inherit: "default" 0.0;
13841                visible: 1;
13842                color: 255 255 255 255;
13843             }
13844          }
13845          part { name: "fg2";
13846             mouse_events: 0;
13847             description { state: "default" 0.0;
13848                visible: 0;
13849                color: 255 255 255 0;
13850                rel1.to: "bg";
13851                rel2.to: "bg";
13852                image {
13853                   normal: "bt_sm_shine.png";
13854                   border: 6 6 6 0;
13855                }
13856             }
13857             description { state: "selected" 0.0;
13858                inherit: "default" 0.0;
13859                visible: 1;
13860                color: 255 255 255 255;
13861             }
13862          }
13863       }
13864       programs {
13865          program {
13866             name: "go_active";
13867             signal: "elm,state,selected";
13868             source: "elm";
13869             action: STATE_SET "selected" 0.0;
13870             target: "bg";
13871             target: "fg1";
13872             target: "fg2";
13873             target: "elm.text";
13874          }
13875          program {
13876             name: "go_passive";
13877             signal: "elm,state,unselected";
13878             source: "elm";
13879             action: STATE_SET "default" 0.0;
13880             target: "bg";
13881             target: "fg1";
13882             target: "fg2";
13883             target: "elm.text";
13884             transition: LINEAR 0.1;
13885          }
13886       }
13887    }
13888    group { name: "elm/list/h_item_compress_odd/default";
13889       data.item: "stacking" "below";
13890       data.item: "selectraise" "on";
13891       images {
13892          image: "bt_sm_base1.png" COMP;
13893          image: "bt_sm_shine.png" COMP;
13894          image: "bt_sm_hilight.png" COMP;
13895          image: "ilist_2_h.png" COMP;
13896       }
13897       parts {
13898          part {
13899             name: "event";
13900             type: RECT;
13901             repeat_events: 1;
13902             description {
13903                state: "default" 0.0;
13904                color: 0 0 0 0;
13905             }
13906          }
13907          part {
13908             name: "base";
13909             mouse_events: 0;
13910             description {
13911                state: "default" 0.0;
13912                image {
13913                   normal: "ilist_2_h.png";
13914                   border: 2 2 2 2;
13915                }
13916                fill.smooth: 0;
13917             }
13918          }
13919          part { name: "bg";
13920             mouse_events: 0;
13921             description { state: "default" 0.0;
13922                visible: 0;
13923                color: 255 255 255 0;
13924                rel1 {
13925                   relative: 0.0 0.0;
13926                   offset: -5 -5;
13927                }
13928                rel2 {
13929                   relative: 1.0 1.0;
13930                   offset: 4 4;
13931                }
13932                image {
13933                   normal: "bt_sm_base1.png";
13934                   border: 6 6 6 6;
13935                }
13936                image.middle: SOLID;
13937             }
13938             description { state: "selected" 0.0;
13939                inherit: "default" 0.0;
13940                visible: 1;
13941                color: 255 255 255 255;
13942                rel1 {
13943                   relative: 0.0 0.0;
13944                   offset: -2 -2;
13945                }
13946                rel2 {
13947                   relative: 1.0 1.0;
13948                   offset: 1 1;
13949                }
13950             }
13951          }
13952          part { name: "elm.swallow.icon";
13953             type: SWALLOW;
13954             description { state: "default" 0.0;
13955                fixed: 0 1;
13956                align: 0.5 0.0;
13957                rel1 {
13958                   relative: 0.0 0.0;
13959                   offset: 4 4;
13960                }
13961                rel2 {
13962                   relative: 1.0 0.0;
13963                   offset: -5 4;
13964                }
13965             }
13966          }
13967          part { name: "elm.swallow.end";
13968             type: SWALLOW;
13969             description { state: "default" 0.0;
13970                fixed: 0 1;
13971                align: 0.5 1.0;
13972                rel1 {
13973                   relative: 0.0 1.0;
13974                   offset: 4 -5;
13975                }
13976                rel2 {
13977                   relative: 1.0 1.0;
13978                   offset: -5 -5;
13979                }
13980             }
13981          }
13982          part { name: "elm.text";
13983             type: TEXT;
13984             effect: SOFT_SHADOW;
13985             mouse_events: 0;
13986             scale: 1;
13987             description {
13988                state: "default" 0.0;
13989                fixed: 1 1;
13990                rel1 {
13991                   to_x: "elm.swallow.icon";
13992                   relative: 0.0 1.0;
13993                   offset: 4 4;
13994                }
13995                rel2 {
13996                   to_x: "elm.swallow.end";
13997                   relative: 1.0 0.0;
13998                   offset: -5 -1;
13999                }
14000                color: 0 0 0 255;
14001                color3: 0 0 0 0;
14002                text {
14003                   font: "Sans";
14004                   size: 10;
14005                   min: 1 1;
14006                   align: 0.5 0.5;
14007                   text_class: "list_item";
14008                }
14009             }
14010             description { state: "selected" 0.0;
14011                inherit: "default" 0.0;
14012                color: 224 224 224 255;
14013                color3: 0 0 0 64;
14014             }
14015          }
14016          part { name: "fg1";
14017             mouse_events: 0;
14018             description { state: "default" 0.0;
14019                visible: 0;
14020                color: 255 255 255 0;
14021                rel1.to: "bg";
14022                rel2.relative: 1.0 0.5;
14023                rel2.to: "bg";
14024                image {
14025                   normal: "bt_sm_hilight.png";
14026                   border: 6 6 6 0;
14027                }
14028             }
14029             description { state: "selected" 0.0;
14030                inherit: "default" 0.0;
14031                visible: 1;
14032                color: 255 255 255 255;
14033             }
14034          }
14035          part { name: "fg2";
14036             mouse_events: 0;
14037             description { state: "default" 0.0;
14038                visible: 0;
14039                color: 255 255 255 0;
14040                rel1.to: "bg";
14041                rel2.to: "bg";
14042                image {
14043                   normal: "bt_sm_shine.png";
14044                   border: 6 6 6 0;
14045                }
14046             }
14047             description { state: "selected" 0.0;
14048                inherit: "default" 0.0;
14049                visible: 1;
14050                color: 255 255 255 255;
14051             }
14052          }
14053       }
14054       programs {
14055          program {
14056             name: "go_active";
14057             signal: "elm,state,selected";
14058             source: "elm";
14059             action: STATE_SET "selected" 0.0;
14060             target: "bg";
14061             target: "fg1";
14062             target: "fg2";
14063             target: "elm.text";
14064          }
14065          program {
14066             name: "go_passive";
14067             signal: "elm,state,unselected";
14068             source: "elm";
14069             action: STATE_SET "default" 0.0;
14070             target: "bg";
14071             target: "fg1";
14072             target: "fg2";
14073             target: "elm.text";
14074             transition: LINEAR 0.1;
14075          }
14076       }
14077    }
14078
14079 ///////////////////////////////////////////////////////////////////////////////
14080    group { name: "elm/slider/horizontal/default";
14081            alias: "elm/slider/horizontal/disabled";
14082       images {
14083          image: "sl_bg.png" COMP;
14084          image: "sl_bg_over.png" COMP;
14085
14086          image: "sl_units.png" COMP;
14087       }
14088       parts {
14089          part { name: "base";
14090             mouse_events: 0;
14091             description { state: "default" 0.0;
14092                max: 99999 6;
14093                min: 0 6;
14094                rel1 { to: "bg";
14095                   offset: 1 0;
14096                }
14097                rel2 { to: "bg";
14098                   offset: -2 -1;
14099                }
14100                image.normal: "sl_bg.png";
14101                fill.smooth: 0;
14102             }
14103          }
14104          part { name: "level";
14105             type: RECT;
14106             mouse_events: 0;
14107             description { state: "default" 0.0;
14108                fixed: 1 1;
14109                rel1.to: "base";
14110                rel2 {
14111                   to_y: "base";
14112                   to_x: "elm.dragable.slider";
14113                   relative: 0.5 1.0;
14114                }
14115                color: 255 0 0 200;
14116             }
14117             description { state: "inverted" 0.0;
14118                inherit: "default" 0.0;
14119                visible: 0;
14120             }
14121             description { state: "disabled" 0.0;
14122                inherit: "default" 0.0;
14123                color: 255 0 0 100;
14124             }
14125             description { state: "disabled_inverted" 0.0;
14126                inherit: "default" 0.0;
14127                visible: 0;
14128             }
14129          }
14130          part { name: "level2";
14131             type: RECT;
14132             mouse_events: 0;
14133             description { state: "default" 0.0;
14134                fixed: 1 1;
14135                visible: 0;
14136                rel1 {
14137                   to_y: "base";
14138                   to_x: "elm.dragable.slider";
14139                   relative: 0.5 0.0;
14140                }
14141                rel2.to: "base";
14142                color: 255 0 0 200;
14143             }
14144             description { state: "inverted" 0.0;
14145                inherit: "default" 0.0;
14146                visible: 1;
14147             }
14148             description { state: "disabled" 0.0;
14149                inherit: "default" 0.0;
14150             }
14151             description { state: "disabled_inverted" 0.0;
14152                inherit: "default" 0.0;
14153                color: 255 0 0 100;
14154                visible: 1;
14155             }
14156          }
14157          part {
14158             name: "base_over";
14159             mouse_events: 0;
14160             description { state: "default" 0.0;
14161                rel1.to: "base";
14162                rel1.offset: -1 -1;
14163                rel2.to: "base";
14164                rel2.offset: 0 0;
14165                image {
14166                   normal: "sl_bg_over.png";
14167                   border: 3 3 3 3;
14168                }
14169                fill.smooth: 0;
14170             }
14171          }
14172          part { name: "bg";
14173             type: RECT;
14174             mouse_events: 0;
14175             scale: 1;
14176             description { state: "default" 0.0;
14177                visible: 0;
14178                rel1.to: "elm.swallow.bar";
14179                rel2.to: "elm.swallow.bar";
14180                color: 0 0 0 0;
14181             }
14182          }
14183          part { name: "elm.swallow.bar";
14184             type: SWALLOW;
14185             scale: 1;
14186             description { state: "default" 0.0;
14187                min: 48 24;
14188                max: 99999 24;
14189                align: 1.0 0.5;
14190                rel1 {
14191                   to_x: "elm.text";
14192                   relative: 1.0 0.0;
14193                   offset: 8 0;
14194                }
14195                rel2 {
14196                   to_x: "elm.units";
14197                   relative: 0.0 1.0;
14198                   offset: -10 -1;
14199                }
14200             }
14201          }
14202          part { name: "elm.swallow.icon";
14203             type: SWALLOW;
14204             description { state: "default" 0.0;
14205                visible: 0;
14206                align: 0.0 0.5;
14207                rel1 {
14208                   offset: 4 0;
14209                   to_y: "elm.swallow.bar";
14210                }
14211                rel2 {
14212                   offset: 3 -1;
14213                   relative: 0.0 1.0;
14214                   to_y: "elm.swallow.bar";
14215                }
14216             }
14217             description { state: "visible" 0.0;
14218                inherit: "default" 0.0;
14219                visible: 1;
14220                aspect: 1.0 1.0;
14221                aspect_preference: VERTICAL;
14222                rel2.offset: 4 -1;
14223             }
14224          }
14225          part { name: "elm.text";
14226             type: TEXT;
14227             mouse_events: 0;
14228             scale: 1;
14229             description { state: "default" 0.0;
14230                visible: 0;
14231                fixed: 1 1;
14232                align: 0.0 0.5;
14233                rel1.to_x: "elm.swallow.icon";
14234                rel1.relative: 1.0 0.0;
14235                rel1.offset: -1 4;
14236                rel2.to_x: "elm.swallow.icon";
14237                rel2.relative: 1.0 1.0;
14238                rel2.offset: -1 -5;
14239                color: 0 0 0 255;
14240                text {
14241                   font: "Sans,Edje-Vera";
14242                   size: 10;
14243                   min: 0 0;
14244                   align: 0.0 0.5;
14245                }
14246             }
14247             description { state: "visible" 0.0;
14248                inherit: "default" 0.0;
14249                visible: 1;
14250                text.min: 1 1;
14251                rel1.offset: 0 4;
14252                rel2.offset: 0 -5;
14253             }
14254             description { state: "disabled" 0.0;
14255                inherit: "default" 0.0;
14256                color: 255 128 128 128;
14257                visible: 0;
14258             }
14259             description { state: "disabled_visible" 0.0;
14260                inherit: "default" 0.0;
14261                color: 0 0 0 128;
14262                color3: 0 0 0 0;
14263                visible: 1;
14264                text.min: 1 1;
14265             }
14266          }
14267          part {
14268             name: "elm.swallow.end";
14269             type: SWALLOW;
14270             description {
14271                state: "default" 0.0;
14272                visible: 0;
14273                align: 1.0 0.5;
14274                rel1 {
14275                   offset: -4 0;
14276                   relative: 1.0 0.0;
14277                   to_y: "elm.swallow.bar";
14278                }
14279                rel2 {
14280                   offset: -3 -1;
14281                   to_y: "elm.swallow.bar";
14282                }
14283             }
14284             description { state: "visible" 0.0;
14285                inherit: "default" 0.0;
14286                visible: 1;
14287                aspect: 1.0 1.0;
14288                aspect_preference: VERTICAL;
14289                rel2.offset: -4 -1;
14290             }
14291          }
14292          part { name: "units";
14293             mouse_events: 0;
14294             description { state: "default" 0.0;
14295                visible: 0;
14296                rel1 {
14297                   to_x: "elm.units";
14298                   offset: 0 5;
14299                }
14300                rel2 {
14301                   to_x: "elm.units";
14302                   offset: 5 -3;
14303                }
14304                image {
14305                   normal: "sl_units.png";
14306                   border: 0 5 3 8;
14307                }
14308                fill.smooth: 0;
14309             }
14310             description { state: "visible" 0.0;
14311                inherit: "default" 0.0;
14312                visible: 1;
14313             }
14314          }
14315          part { name: "elm.units";
14316             type: TEXT;
14317             mouse_events: 0;
14318             scale: 1;
14319             description { state: "default" 0.0;
14320                visible: 0;
14321                fixed: 1 1;
14322                align: 1.0 0.5;
14323                rel1.to_x: "elm.swallow.end";
14324                rel1.relative: 0.0 0.0;
14325                rel1.offset: 0 8;
14326                rel2.to_x: "elm.swallow.end";
14327                rel2.relative: 0.0 1.0;
14328                rel2.offset: 0 -9;
14329                color: 0 0 0 255;
14330                text {
14331                   font: "Sans,Edje-Vera";
14332                   size: 10;
14333                   min: 0 0;
14334                   align: 0.0 0.5;
14335                }
14336             }
14337             description { state: "visible" 0.0;
14338                inherit: "default" 0.0;
14339                fixed: 1 1;
14340                visible: 1;
14341                text.min: 1 1;
14342                rel1.offset: -5 0;
14343                rel2.offset: -5 -1;
14344             }
14345             description { state: "disabled" 0.0;
14346                inherit: "default" 0.0;
14347                color: 255 128 128 128;
14348                visible: 0;
14349             }
14350             description { state: "disabled_visible" 0.0;
14351                inherit: "default" 0.0;
14352                color: 0 0 0 128;
14353                color3: 0 0 0 0;
14354                visible: 1;
14355                text.min: 1 1;
14356             }
14357          }
14358          part { name: "elm.dragable.slider";
14359             type: GROUP;
14360             source: "elm/slider/horizontal/indicator/default";
14361             mouse_events: 1;
14362             repeat_events: 1;
14363             scale: 1;
14364             dragable {
14365                x: 1 1 0;
14366                y: 0 0 0;
14367                confine: "bg";
14368             }
14369             description { state: "default" 0.0;
14370                min: 0 24;
14371                max: 0 24;
14372                fixed: 1 1;
14373                rel1 {
14374                   relative: 0.5 0.0;
14375                   to_x: "bg";
14376                }
14377                rel2 {
14378                   relative: 0.5 1.0;
14379                   to_x: "bg";
14380                }
14381                color: 255 0 0 100;
14382             }
14383          }
14384           part { name: "disabler";
14385             type: RECT;
14386             description { state: "default" 0.0;
14387                color: 0 0 0 0;
14388                visible: 0;
14389             }
14390             description { state: "disabled" 0.0;
14391                inherit: "default" 0.0;
14392                visible: 1;
14393             }
14394          }
14395       }
14396       programs {
14397          program { name: "text_show";
14398             signal: "elm,state,text,visible";
14399             source: "elm";
14400             action:  STATE_SET "visible" 0.0;
14401             target: "elm.text";
14402          }
14403          program { name: "text_hide";
14404             signal: "elm,state,text,hidden";
14405             source: "elm";
14406             action:  STATE_SET "default" 0.0;
14407             target: "elm.text";
14408          }
14409          program { name: "icon_show";
14410             signal: "elm,state,icon,visible";
14411             source: "elm";
14412             action:  STATE_SET "visible" 0.0;
14413             target: "elm.swallow.icon";
14414          }
14415          program { name: "icon_hide";
14416             signal: "elm,state,icon,hidden";
14417             source: "elm";
14418             action:  STATE_SET "default" 0.0;
14419             target: "elm.swallow.icon";
14420          }
14421           program { name: "end_show";
14422             signal: "elm,state,end,visible";
14423             source: "elm";
14424             action:  STATE_SET "visible" 0.0;
14425             target: "elm.swallow.end";
14426          }
14427          program { name: "end_hide";
14428             signal: "elm,state,end,hidden";
14429             source: "elm";
14430             action:  STATE_SET "default" 0.0;
14431             target: "elm.swallow.end";
14432          }
14433          program { name: "units_show";
14434             signal: "elm,state,units,visible";
14435             source: "elm";
14436             action:  STATE_SET "visible" 0.0;
14437             target: "elm.units";
14438             target: "units";
14439          }
14440          program { name: "units_hide";
14441             signal: "elm,state,units,hidden";
14442             source: "elm";
14443             action:  STATE_SET "default" 0.0;
14444             target: "elm.units";
14445             target: "units";
14446          }
14447          program { name: "invert_on";
14448             signal: "elm,state,inverted,on";
14449             source: "elm";
14450             action:  STATE_SET "inverted" 0.0;
14451             target: "level";
14452             target: "level2";
14453          }
14454          program { name: "invert_off";
14455             signal: "elm,state,inverted,off";
14456             source: "elm";
14457             action:  STATE_SET "default" 0.0;
14458             target: "level";
14459             target: "level2";
14460          }
14461          program {
14462             name:    "go_disabled";
14463             signal:  "elm,state,disabled";
14464             source:  "elm";
14465             action:  STATE_SET "disabled" 0.0;
14466 //            target: "button0";
14467             target: "disabler";
14468             after: "disable_text";
14469             after: "disable_ind";
14470          }
14471
14472          program { name: "disable_ind";
14473             action: SIGNAL_EMIT "elm.dragable.slider:elm,state,disabled" "elm";
14474          }
14475          program { name: "disable_text";
14476             script {
14477                new st[31];
14478                new Float:vl;
14479                get_state(PART:"elm.text", st, 30, vl);
14480                if (!strcmp(st, "visible"))
14481                   set_state(PART:"elm.text", "disabled_visible", 0.0);
14482                else
14483                   set_state(PART:"elm.text", "disabled", 0.0);
14484
14485                get_state(PART:"elm.units", st, 30, vl);
14486                if (!strcmp(st, "visible"))
14487                   set_state(PART:"elm.units", "disabled_visible", 0.0);
14488                else
14489                   set_state(PART:"elm.units", "disabled", 0.0);
14490
14491                get_state(PART:"level2", st, 30, vl);
14492                if (!strcmp(st, "inverted"))
14493                {
14494                   set_state(PART:"level", "disabled_inverted", 0.0);
14495                   set_state(PART:"level2", "disabled_inverted", 0.0);
14496                }
14497                else
14498                {
14499                   set_state(PART:"level", "disabled", 0.0);
14500                   set_state(PART:"level2", "disabled", 0.0);
14501                }
14502             }
14503          }
14504          program { name: "enable";
14505             signal: "elm,state,enabled";
14506             source: "elm";
14507             action: STATE_SET "default" 0.0;
14508 //            target: "button0";
14509             target: "disabler";
14510             after: "enable_text";
14511             after: "enable_ind";
14512          }
14513
14514          program { name: "enable_ind";
14515             action: SIGNAL_EMIT "elm.dragable.slider:elm,state,enabled" "elm";
14516          }
14517
14518          program { name: "enable_text";
14519             script {
14520                new st[31];
14521                new Float:vl;
14522                get_state(PART:"elm.text", st, 30, vl);
14523                if (!strcmp(st, "disabled_visible"))
14524                   set_state(PART:"elm.text", "visible", 0.0);
14525                else
14526                   set_state(PART:"elm.text", "default", 0.0);
14527
14528                get_state(PART:"elm.units", st, 30, vl);
14529                if (!strcmp(st, "disabled_visible"))
14530                   set_state(PART:"elm.units", "visible", 0.0);
14531                else
14532                   set_state(PART:"elm.units", "default", 0.0);
14533
14534                get_state(PART:"level2", st, 30, vl);
14535                if (!strcmp(st, "disabled_inverted"))
14536                {
14537                   set_state(PART:"level", "inverted", 0.0);
14538                   set_state(PART:"level2", "inverted", 0.0);
14539                }
14540                else
14541                {
14542                   set_state(PART:"level", "default", 0.0);
14543                   set_state(PART:"level2", "default", 0.0);
14544                }
14545             }
14546          }
14547       }
14548    }
14549
14550    group { name: "elm/slider/vertical/default";
14551       images {
14552          image: "slv_bg.png" COMP;
14553          image: "slv_bg_over.png" COMP;
14554
14555          image: "slv_units.png" COMP;
14556       }
14557       parts {
14558          part { name: "base";
14559             mouse_events: 0;
14560             description { state: "default" 0.0;
14561                max: 6 99999;
14562                min: 6 0;
14563                rel1 { to: "bg";
14564                   offset: 1 0;
14565                }
14566                rel2 { to: "bg";
14567                   offset: -2 -1;
14568                }
14569                image.normal: "slv_bg.png";
14570                fill.smooth: 0;
14571             }
14572          }
14573          part { name: "level";
14574             type: RECT;
14575             mouse_events: 0;
14576             description { state: "default" 0.0;
14577                fixed: 1 1;
14578                rel1.to: "base";
14579                rel2 {
14580                   to_x: "base";
14581                   to_y: "elm.dragable.slider";
14582                   relative: 1.0 0.5;
14583                }
14584                color: 255 0 0 200;
14585             }
14586             description { state: "inverted" 0.0;
14587                inherit: "default" 0.0;
14588                visible: 0;
14589             }
14590             description { state: "disabled" 0.0;
14591                inherit: "default" 0.0;
14592                color: 255 0 0 100;
14593             }
14594             description { state: "disabled_inverted" 0.0;
14595                inherit: "default" 0.0;
14596                visible: 0;
14597             }
14598          }
14599          part { name: "level2";
14600             type: RECT;
14601             mouse_events: 0;
14602             description { state: "default" 0.0;
14603                fixed: 1 1;
14604                visible: 0;
14605                rel1 {
14606                   to_x: "base";
14607                   to_y: "elm.dragable.slider";
14608                   relative: 0.0 0.5;
14609                }
14610                rel2.to: "base";
14611                color: 255 0 0 200;
14612             }
14613             description { state: "inverted" 0.0;
14614                inherit: "default" 0.0;
14615                visible: 1;
14616             }
14617             description { state: "disabled" 0.0;
14618                inherit: "default" 0.0;
14619                color: 255 0 0 100;
14620             }
14621             description { state: "disabled_inverted" 0.0;
14622                inherit: "default" 0.0;
14623                color: 255 0 0 100;
14624                visible: 1;
14625             }
14626          }
14627          part {
14628             name: "base_over";
14629             mouse_events: 0;
14630             description { state: "default" 0.0;
14631                rel1.to: "base";
14632                rel1.offset: -1 -1;
14633                rel2.to: "base";
14634                rel2.offset: 0 0;
14635                image {
14636                   normal: "slv_bg_over.png";
14637                   border: 3 3 3 3;
14638                }
14639                fill.smooth: 0;
14640             }
14641          }
14642          part { name: "bg";
14643             type: RECT;
14644             mouse_events: 0;
14645             scale: 1;
14646             description { state: "default" 0.0;
14647                visible: 0;
14648                rel1.to: "elm.swallow.bar";
14649                rel2.to: "elm.swallow.bar";
14650                color: 0 0 0 0;
14651             }
14652          }
14653          part { name: "elm.swallow.bar";
14654             type: SWALLOW;
14655             scale: 1;
14656             description { state: "default" 0.0;
14657                min: 24 48;
14658                max: 24 9999;
14659                align: 0.5 1.0;
14660                rel1 {
14661                   to_y: "elm.text";
14662                   relative: 0.0 1.0;
14663                   offset: 0 10;
14664                }
14665                rel2 {
14666                   to_y: "elm.units";
14667                   relative: 1.0 0.0;
14668                   offset: -1 -8;
14669                }
14670             }
14671          }
14672          part { name: "elm.swallow.icon";
14673             type: SWALLOW;
14674             description { state: "default" 0.0;
14675                visible: 0;
14676                align: 0.5 0.0;
14677                rel1 {
14678                   offset: 0 4;
14679                   to_x: "elm.swallow.bar";
14680                }
14681                rel2 {
14682                   offset: -1 3;
14683                   relative: 1.0 0.0;
14684                   to_x: "elm.swallow.bar";
14685                }
14686             }
14687             description { state: "visible" 0.0;
14688                inherit: "default" 0.0;
14689                visible: 1;
14690                aspect: 1.0 1.0;
14691                aspect_preference: HORIZONTAL;
14692                rel2.offset: -1 4;
14693             }
14694          }
14695          part { name: "elm.text";
14696             type: TEXT;
14697             mouse_events: 0;
14698             scale: 1;
14699             description { state: "default" 0.0;
14700                visible: 0;
14701                fixed: 0 1;
14702                align: 0.5 0.0;
14703                rel1.to_y: "elm.swallow.icon";
14704                rel1.relative: 0.0 1.0;
14705                rel1.offset: 0 -1;
14706                rel2.to_y: "elm.swallow.icon";
14707                rel2.relative: 1.0 1.0;
14708                rel2.offset: -1 -1;
14709                color: 0 0 0 255;
14710                text {
14711                   font: "Sans,Edje-Vera";
14712                   size: 10;
14713                   min: 0 0;
14714                   align: 0.5 0.0;
14715                }
14716             }
14717             description { state: "visible" 0.0;
14718                inherit: "default" 0.0;
14719                visible: 1;
14720                text.min: 1 1;
14721                rel1.offset: 4 0;
14722                rel2.offset: -5 0;
14723             }
14724             description { state: "disabled" 0.0;
14725                inherit: "default" 0.0;
14726                color: 255 128 128 128;
14727                visible: 0;
14728             }
14729             description { state: "disabled_visible" 0.0;
14730                inherit: "default" 0.0;
14731                color: 0 0 0 128;
14732                color3: 0 0 0 0;
14733                visible: 1;
14734                text.min: 1 1;
14735             }
14736          }
14737          part {
14738             name: "elm.swallow.end";
14739             type: SWALLOW;
14740             description {
14741                state: "default" 0.0;
14742                visible: 0;
14743                align: 0.5 1.0;
14744                rel1 {
14745                   offset: 0 -4;
14746                   relative: 0.0 1.0;
14747                   to_x: "elm.swallow.bar";
14748                }
14749                rel2 {
14750                   offset: -1 -3;
14751                   to_x: "elm.swallow.bar";
14752                }
14753             }
14754             description { state: "visible" 0.0;
14755                inherit: "default" 0.0;
14756                visible: 1;
14757                aspect: 1.0 1.0;
14758                aspect_preference: HORIZONTAL;
14759                rel2.offset: -1 -4;
14760             }
14761          }
14762          part { name: "units";
14763             mouse_events: 0;
14764             description { state: "default" 0.0;
14765                visible: 0;
14766                rel1 {
14767                   to: "elm.units";
14768                   offset: -8 0;
14769                }
14770                rel2 {
14771                   to: "elm.units";
14772                   offset: 7 8;
14773                }
14774                image {
14775                   normal: "slv_units.png";
14776                   border: 8 8 0 9;
14777                }
14778                fill.smooth: 0;
14779             }
14780             description { state: "visible" 0.0;
14781                inherit: "default" 0.0;
14782                visible: 1;
14783             }
14784          }
14785          part { name: "elm.units";
14786             type: TEXT;
14787             mouse_events: 0;
14788             scale: 1;
14789             description { state: "default" 0.0;
14790                visible: 0;
14791                fixed: 1 1;
14792                align: 0.5 1.0;
14793                rel1.relative: 0.0 0.0;
14794                rel1.to_y: "elm.swallow.end";
14795                rel1.offset: 8 0;
14796                rel2.relative: 1.0 0.0;
14797                rel2.to_y: "elm.swallow.end";
14798                rel2.offset: -9 0;
14799                color: 0 0 0 255;
14800                text {
14801                   font: "Sans,Edje-Vera";
14802                   size: 10;
14803                   min: 0 0;
14804                   align: 0.5 0.0;
14805                }
14806             }
14807             description { state: "visible" 0.0;
14808                inherit: "default" 0.0;
14809                fixed: 1 1;
14810                visible: 1;
14811                text.min: 1 1;
14812                rel1.offset: 8 -9;
14813                rel2.offset: -9 -9;
14814             }
14815             description { state: "disabled" 0.0;
14816                inherit: "default" 0.0;
14817                color:  0 0 0 128;
14818                color3: 0 0 0 0;
14819                visible: 0;
14820             }
14821             description { state: "disabled_visible" 0.0;
14822                inherit: "default" 0.0;
14823                fixed: 1 1;
14824                visible: 1;
14825                text.min: 1 1;
14826                rel1.offset: 8 -9;
14827                rel2.offset: -9 -9;
14828                color: 0 0 0 128;
14829                color3: 0 0 0 0;
14830             }
14831          }
14832          part { name: "elm.dragable.slider";
14833             type: GROUP;
14834             source: "elm/slider/vertical/indicator/default";
14835             mouse_events: 1;
14836             repeat_events: 1;
14837             scale: 1;
14838             dragable {
14839                x: 0 0 0;
14840                y: 1 1 0;
14841                confine: "bg";
14842             }
14843             description { state: "default" 0.0;
14844                min: 24 0;
14845                max: 24 0;
14846                fixed: 1 1;
14847                rel1 {
14848                   relative: 0.5  0.0;
14849                   to_y: "bg";
14850                }
14851                rel2 {
14852                   relative: 0.5  1.0;
14853                   to_y: "bg";
14854                }
14855                color: 0 0 0 0;
14856             }
14857          }
14858               part { name: "disabler";
14859                 type: RECT;
14860                 description { state: "default" 0.0;
14861                    color: 0 0 0 0;
14862                    visible: 0;
14863                 }
14864                 description { state: "disabled" 0.0;
14865                    inherit: "default" 0.0;
14866                    visible: 1;
14867                 }
14868              }
14869           }
14870
14871       programs {
14872          program { name: "text_show";
14873             signal: "elm,state,text,visible";
14874             source: "elm";
14875             action:  STATE_SET "visible" 0.0;
14876             target: "elm.text";
14877          }
14878          program { name: "text_hide";
14879             signal: "elm,state,text,hidden";
14880             source: "elm";
14881             action:  STATE_SET "default" 0.0;
14882             target: "elm.text";
14883          }
14884          program { name: "icon_show";
14885             signal: "elm,state,icon,visible";
14886             source: "elm";
14887             action:  STATE_SET "visible" 0.0;
14888             target: "elm.swallow.icon";
14889          }
14890          program { name: "icon_hide";
14891             signal: "elm,state,icon,hidden";
14892             source: "elm";
14893             action:  STATE_SET "default" 0.0;
14894             target: "elm.swallow.icon";
14895          }
14896          program { name: "end_show";
14897             signal: "elm,state,end,visible";
14898             source: "elm";
14899             action:  STATE_SET "visible" 0.0;
14900             target: "elm.swallow.end";
14901          }
14902          program { name: "end_hide";
14903             signal: "elm,state,end,hidden";
14904             source: "elm";
14905             action:  STATE_SET "default" 0.0;
14906             target: "elm.swallow.end";
14907          }
14908          program { name: "units_show";
14909             signal: "elm,state,units,visible";
14910             source: "elm";
14911             action:  STATE_SET "visible" 0.0;
14912             target: "elm.units";
14913             target: "units";
14914          }
14915          program { name: "units_hide";
14916             signal: "elm,state,units,hidden";
14917             source: "elm";
14918             action:  STATE_SET "default" 0.0;
14919             target: "elm.units";
14920             target: "units";
14921          }
14922          program { name: "invert_on";
14923             signal: "elm,state,inverted,on";
14924             source: "elm";
14925             action:  STATE_SET "inverted" 0.0;
14926             target: "level";
14927             target: "level2";
14928          }
14929          program { name: "invert_off";
14930             signal: "elm,state,inverted,off";
14931             source: "elm";
14932             action:  STATE_SET "default" 0.0;
14933             target: "level";
14934             target: "level2";
14935          }
14936          program {
14937             name:   "go_disabled";
14938             signal: "elm,state,disabled";
14939             source: "elm";
14940             action: STATE_SET "disabled" 0.0;
14941 //            target: "button0";
14942             target: "disabler";
14943             after: "disable_text";
14944             after: "disable_ind";
14945          }
14946
14947          program { name: "disable_ind";
14948             action: SIGNAL_EMIT "elm.dragable.slider:elm,state,disabled" "elm";
14949          }
14950
14951          program { name: "disable_text";
14952             script {
14953             new st[31];
14954             new Float:vl;
14955                get_state(PART:"elm.text", st, 30, vl);
14956                if (!strcmp(st, "visible"))
14957                   set_state(PART:"elm.text", "disabled_visible", 0.0);
14958                else
14959                   set_state(PART:"elm.text", "disabled", 0.0);
14960
14961                get_state(PART:"elm.units", st, 30, vl);
14962                if (!strcmp(st, "visible"))
14963                   set_state(PART:"elm.units", "disabled_visible", 0.0);
14964                else
14965                   set_state(PART:"elm.units", "disabled", 0.0);
14966
14967                get_state(PART:"level2", st, 30, vl);
14968                if (!strcmp(st, "inverted"))
14969                {
14970                   set_state(PART:"level", "disabled_inverted", 0.0);
14971                   set_state(PART:"level2", "disabled_inverted", 0.0);
14972                }
14973                else
14974                {
14975                   set_state(PART:"level", "disabled", 0.0);
14976                   set_state(PART:"level2", "disabled", 0.0);
14977                }
14978             }
14979          }
14980
14981          program { name: "enable";
14982             signal: "elm,state,enabled";
14983             source: "elm";
14984             action: STATE_SET "default" 0.0;
14985 //            target: "button0";
14986             target: "disabler";
14987             after: "enable_text";
14988             after: "enable_ind";
14989          }
14990
14991          program { name: "enable_ind";
14992             action: SIGNAL_EMIT "elm.dragable.slider:elm,state,enabled" "elm";
14993          }
14994          program { name: "enable_text";
14995             script {
14996                new st[31];
14997                new Float:vl;
14998                get_state(PART:"elm.text", st, 30, vl);
14999                if (!strcmp(st, "disabled_visible"))
15000                   set_state(PART:"elm.text", "visible", 0.0);
15001                else
15002                   set_state(PART:"elm.text", "default", 0.0);
15003
15004                get_state(PART:"elm.units", st, 30, vl);
15005                if (!strcmp(st, "disabled_visible"))
15006                   set_state(PART:"elm.units", "visible", 0.0);
15007                else
15008                   set_state(PART:"elm.units", "default", 0.0);
15009
15010                get_state(PART:"level2", st, 30, vl);
15011                if (!strcmp(st, "disabled_inverted"))
15012                {
15013                   set_state(PART:"level", "inverted", 0.0);
15014                   set_state(PART:"level2", "inverted", 0.0);
15015                }
15016                else
15017                {
15018                   set_state(PART:"level", "default", 0.0);
15019                   set_state(PART:"level2", "default", 0.0);
15020                }
15021             }
15022          }
15023       }
15024    }
15025    group { name: "elm/slider/horizontal/indicator/default";
15026            alias: "elm/slider/horizontal/indicator/disabled";
15027            alias: "elm/slider/vertical/indicator/default";
15028            alias: "elm/slider/vertical/indicator/disabled";
15029       images {
15030          image: "sl_bt_0.png" COMP;
15031          image: "sl_bt_1.png" COMP;
15032          image: "sl_bt_2.png" COMP;
15033          image: "sl_bt_3.png" COMP;
15034          image: "sl_bt2_0_0.png" COMP;
15035          image: "sl_bt2_0_1.png" COMP;
15036          image: "sl_bt2_0_2.png" COMP;
15037          image: "sl_bt2_1.png" COMP;
15038          image: "sl_bt2_2.png" COMP;
15039       }
15040       script {
15041          public value_hide = 0;
15042          public set_value_show() {
15043             set_int(value_hide, 0);
15044          }
15045          public set_value_hide() {
15046             set_int(value_hide, 1);
15047          }
15048          public thumb_down() {
15049             if (get_int(value_hide) == 1) {
15050                set_state(PART:"elm.indicator", "default", 0.0);
15051                set_state(PART:"button3", "default", 0.0);
15052                set_state(PART:"button4", "default", 0.0);
15053                set_state(PART:"button5", "default", 0.0);
15054                set_state(PART:"button6", "default", 0.0);
15055                set_state(PART:"button7", "default", 0.0);
15056             } else {
15057                set_state(PART:"elm.indicator", "visible", 0.0);
15058                set_state(PART:"button3", "visible", 0.0);
15059                set_state(PART:"button4", "visible", 0.0);
15060                set_state(PART:"button5", "visible", 0.0);
15061                set_state(PART:"button6", "visible", 0.0);
15062                set_state(PART:"button7", "visible", 0.0);
15063             }
15064          }
15065          public thumb_up() {
15066             set_state(PART:"elm.indicator", "default", 0.0);
15067             set_state(PART:"button3", "default", 0.0);
15068             set_state(PART:"button4", "default", 0.0);
15069             set_state(PART:"button5", "default", 0.0);
15070             set_state(PART:"button6", "default", 0.0);
15071             set_state(PART:"button7", "default", 0.0);
15072          }
15073       }
15074       parts {
15075          part { name: "button_events";
15076             type: RECT;
15077             mouse_events: 1;
15078             description { state: "default" 0.0;
15079                fixed: 1 1;
15080                min: 16 16;
15081                aspect: 1.0 1.0;
15082                aspect_preference: VERTICAL;
15083                color: 0 0 0 0;
15084             }
15085          }
15086          part { name: "button0";
15087             mouse_events: 0;
15088             description { state: "default" 0.0;
15089                fixed: 1 1;
15090                max: 17 999;
15091                min: 17 24;
15092                image {
15093                   normal: "sl_bt_0.png";
15094                   border: 5 5 5 10;
15095                }
15096                fill.smooth: 0;
15097             }
15098             description { state: "disabled" 0.0;
15099                inherit: "default" 0.0;
15100                image {
15101                   normal: "sl_bt_3.png";
15102                   border: 5 5 5 10;
15103                }
15104             }
15105          }
15106          part { name: "button1";
15107             mouse_events: 0;
15108             description { state: "default" 0.0;
15109                rel1.to: "button0";
15110                rel2 {
15111                   to: "button0";
15112                   relative: 1.0 0.5;
15113                   offset: -1 -5;
15114                }
15115                image {
15116                   normal: "sl_bt_1.png";
15117                   border: 5 5 5 0;
15118                }
15119             }
15120          }
15121          part { name: "button2";
15122             mouse_events: 0;
15123             description { state: "default" 0.0;
15124                rel1.to: "button0";
15125                rel2.to: "button0";
15126                image {
15127                   normal: "sl_bt_2.png";
15128                   border: 5 5 5 10;
15129                }
15130                fill.smooth: 0;
15131             }
15132          }
15133          part { name: "button3";
15134             mouse_events: 0;
15135             description { state: "default" 0.0;
15136                fixed: 1 1;
15137                visible: 0;
15138                min: 8 32;
15139                align: 1.0 0.5;
15140                rel1 {
15141                   to_x: "elm.indicator";
15142                   to_y: "button4";
15143                   relative: 0.0 0.0;
15144                   offset: -7 0;
15145                }
15146                rel2 {
15147                   to: "button4";
15148                   relative: 0.0 1.0;
15149                   offset: -1 -1;
15150                }
15151                image {
15152                   normal: "sl_bt2_0_0.png";
15153                   border: 6 0 6 12;
15154                }
15155                fill.smooth: 0;
15156             }
15157             description { state: "visible" 0.0;
15158                inherit: "default" 0.0;
15159                visible: 1;
15160             }
15161          }
15162          part { name: "button4";
15163             mouse_events: 0;
15164             description { state: "default" 0.0;
15165                visible: 0;
15166                max: 15 999;
15167                min: 15 32;
15168                rel1 {
15169                   to_x: "button0";
15170                   to_y: "elm.indicator";
15171                   offset: 0 0;
15172                }
15173                rel2.to: "button0";
15174                image {
15175                   normal: "sl_bt2_0_1.png";
15176                   border: 0 0 6 12;
15177                }
15178                fill.smooth: 0;
15179             }
15180             description { state: "visible" 0.0;
15181                inherit: "default" 0.0;
15182                visible: 1;
15183             }
15184          }
15185          part { name: "button5";
15186             mouse_events: 0;
15187             description { state: "default" 0.0;
15188                fixed: 1 1;
15189                visible: 0;
15190                min: 8 32;
15191                align: 0.0 0.5;
15192                rel1 {
15193                   to: "button4";
15194                   relative: 1.0 0.0;
15195                   offset: 0 0;
15196                }
15197                rel2 {
15198                   to_x: "elm.indicator";
15199                   to_y: "button4";
15200                   relative: 1.0 1.0;
15201                   offset: 6 -1;
15202                }
15203                image {
15204                   normal: "sl_bt2_0_2.png";
15205                   border: 0 6 6 12;
15206                }
15207                fill.smooth: 0;
15208             }
15209             description { state: "visible" 0.0;
15210                inherit: "default" 0.0;
15211                visible: 1;
15212             }
15213          }
15214          part { name: "elm.indicator";
15215             type: TEXT;
15216             mouse_events: 0;
15217             effect: SOFT_SHADOW;
15218             scale: 1;
15219             description { state: "default" 0.0;
15220                visible: 0;
15221                fixed: 1 1;
15222                align: 0.5 1.0;
15223                rel1 {
15224                   to: "button0";
15225                   relative: 0.0 -0.25;
15226                   offset: 0 0;
15227                }
15228                rel2 {
15229                   to_x: "button0";
15230                   relative: 1.0 -0.25;
15231                   offset: -1 0;
15232                }
15233                color: 224 224 224 255;
15234                color3: 0 0 0 64;
15235                text {
15236                   font:     "Sans,Edje-Vera";
15237                   size:     10;
15238                   min:      0 0;
15239                   align:    0.5 0.5;
15240                }
15241             }
15242             description { state: "visible" 0.0;
15243                inherit: "default" 0.0;
15244                visible: 1;
15245                text.min: 1 1;
15246                rel1.offset: 0 -1;
15247                rel2.offset: -1 -1;
15248             }
15249          }
15250          part { name: "button6";
15251             mouse_events: 0;
15252             description { state: "default" 0.0;
15253                visible: 0;
15254                rel1.to: "button3";
15255                rel2 {
15256                   to: "button5";
15257                   relative: 1.0 0.3;
15258                   offset: -1 -1;
15259                }
15260                image {
15261                   normal: "sl_bt2_1.png";
15262                   border: 5 5 5 0;
15263                }
15264                fill.smooth: 0;
15265             }
15266             description { state: "visible" 0.0;
15267                inherit: "default" 0.0;
15268                visible: 1;
15269             }
15270          }
15271          part { name: "button7";
15272             mouse_events: 0;
15273             description { state: "default" 0.0;
15274                visible: 0;
15275                rel1.to: "button3";
15276                rel2.to: "button5";
15277                image {
15278                   normal: "sl_bt2_2.png";
15279                   border: 5 5 5 0;
15280                   middle: 0;
15281                }
15282                fill.smooth: 0;
15283             }
15284             description { state: "visible" 0.0;
15285                inherit: "default" 0.0;
15286                visible: 1;
15287             }
15288          }
15289       }
15290       programs {
15291          program { name: "set_val_show";
15292             signal: "elm,state,val,show";
15293             source: "elm";
15294             script {
15295                set_value_show();
15296             }
15297          }
15298          program { name: "set_val_hide";
15299             signal: "elm,state,val,hide";
15300             source: "elm";
15301             script {
15302                set_value_hide();
15303             }
15304          }
15305          program { name: "val_show";
15306             signal: "mouse,down,*";
15307             source: "button_events";
15308             script {
15309                thumb_down();
15310             }
15311
15312          }
15313          program { name: "val_hide";
15314             signal: "mouse,up,*";
15315             source: "button_events";
15316             script {
15317                thumb_up();
15318             }
15319          }
15320          program {
15321             name:    "go_disabled";
15322             signal:  "elm,state,disabled";
15323             source:  "elm";
15324             action:  STATE_SET "disabled" 0.0;
15325             target:  "button0";
15326          }
15327          program {
15328             name:    "go_enabled";
15329             signal:  "elm,state,enabled";
15330             source:  "elm";
15331             action:  STATE_SET "default" 0.0;
15332             target:  "button0";
15333          }
15334       }
15335    }
15336
15337
15338 ////////////////////////////////////////////////////////////////////////////////
15339 // actionslider
15340 ////////////////////////////////////////////////////////////////////////////////
15341    group { name: "elm/actionslider/base/default";
15342
15343       images {
15344          image: "shelf_inset.png" COMP;
15345          image: "ilist_1.png" COMP;
15346          image: "bt_bases.png" COMP;
15347          image: "bt_basew.png" COMP;
15348          image: "bt_hilightw.png" COMP;
15349       }
15350
15351       parts {
15352          part {
15353             name: "base";
15354             mouse_events: 0;
15355             description {
15356                state: "default" 0.0;
15357                min: 75 25;
15358                rel1.offset: 1 1;
15359                rel2.offset: -2 -2;
15360                image {
15361                   normal: "ilist_1.png";
15362                   border: 2 2 2 2;
15363                }
15364                fill.smooth: 0;
15365             }
15366          }
15367          part { name: "conf_over";
15368             mouse_events:  0;
15369             description { state: "default" 0.0;
15370                rel1.to: "base";
15371                rel2.to: "base";
15372                image {
15373                   normal: "shelf_inset.png";
15374                   border: 7 7 7 7;
15375                   middle: 0;
15376                }
15377                fill.smooth : 0;
15378             }
15379          }
15380          part { name: "icon.dragable.area";
15381            type: RECT;
15382             mouse_events: 0;
15383             description { state: "default" 0.0;
15384                visible: 0;
15385                rel1.to: "base";
15386                rel2.to: "base";
15387             }
15388          }
15389          part { name: "elm.text.left";
15390             type: TEXT;
15391             mouse_events: 0;
15392             scale: 1;
15393             description { state: "default" 0.0;
15394                color: 0 0 0 255;
15395                text {
15396                   font: "Sans,Edje-Vera";
15397                   size: 10;
15398                   align: 0.05 0.5;
15399                   min: 1 1;
15400                }
15401             }
15402          }
15403          part { name: "elm.text.center";
15404             type: TEXT;
15405             mouse_events: 0;
15406             scale: 1;
15407             description { state: "default" 0.0;
15408                color: 0 0 0 255;
15409                text {
15410                   font: "Sans,Edje-Vera";
15411                   size: 10;
15412                   align: 0.5 0.5;
15413                   min: 1 1;
15414                }
15415             }
15416          }
15417          part { name: "elm.text.right";
15418             type: TEXT;
15419             mouse_events: 0;
15420             scale: 1;
15421             description { state: "default" 0.0;
15422                color: 0 0 0 255;
15423                text {
15424                   font: "Sans,Edje-Vera";
15425                   size: 10;
15426                   align: 0.95 0.5;
15427                   min: 1 1;
15428                }
15429             }
15430          }
15431          part { name: "elm.drag_button_base";
15432             type: SWALLOW;
15433             mouse_events: 0;
15434             scale: 1;
15435             description { state: "default" 0.0;
15436                fixed: 1 1;
15437                min: 50 25;
15438                align: 0.5 0.5;
15439                rel1.to: "icon.dragable.area";
15440                rel2 {
15441                   relative: 0.0 1.0;
15442                   to: "icon.dragable.area";
15443                }
15444             }
15445             dragable {
15446                confine: "icon.dragable.area";
15447                x: 1 1 0;
15448                y: 0 0 0;
15449             }
15450          }
15451          part { name: "elm.drag_button";
15452             type: RECT;
15453             mouse_events: 1;
15454             description { state: "default" 0.0;
15455                min: 50 25;
15456                color: 255 255 255 0;
15457                rel1.to_x: "elm.drag_button_base";
15458                rel1.to_y: "icon.dragable.area";
15459                rel2.to_x: "elm.drag_button_base";
15460                rel2.to_y: "icon.dragable.area";
15461             }
15462             dragable {
15463                events: "elm.drag_button_base";
15464             }
15465          }
15466          part { name: "button0";
15467             mouse_events: 0;
15468             description { state: "default" 0.0;
15469                rel1.to: "button2";
15470                rel1.offset: -4 -4;
15471                rel2.to: "button2";
15472                rel2.offset: 3 3;
15473                image {
15474                   normal: "bt_bases.png";
15475                   border: 11 11 11 11;
15476                   middle: SOLID;
15477                }
15478                color: 255 255 255 128;
15479             }
15480          }
15481          part { name: "button2";
15482             mouse_events: 0;
15483             description { state: "default" 0.0;
15484                rel1.to: "elm.drag_button";
15485                rel2.to: "elm.drag_button";
15486                image {
15487                   normal: "bt_basew.png";
15488                   border: 7 7 7 7;
15489                   middle: SOLID;
15490                }
15491                color: 255 255 255 210;
15492             }
15493          }
15494          part { name: "button3";
15495             mouse_events: 0;
15496             description { state: "default" 0.0;
15497                rel1.to: "button2";
15498                rel2.to: "button2";
15499                rel2.relative: 1.0 0.5;
15500                image {
15501                   normal: "bt_hilightw.png";
15502                   border: 4 4 4 0;
15503                }
15504                color: 255 255 255 190;
15505             }
15506          }
15507          part { name: "elm.text.indicator";
15508             type: TEXT;
15509             scale: 1;
15510             mouse_events: 0;
15511             description { state: "default" 0.0;
15512                rel1 {
15513                   to: "elm.drag_button";
15514                   offset: 5 0;
15515                }
15516                rel2 {
15517                   to: "elm.drag_button";
15518                   offset: -5 0;
15519                }
15520                color: 0 0 0 255;
15521                text {
15522                   font: "Sans,Edje-Vera";
15523                   size: 10;
15524                   align: 0.5 0.5;
15525                   min: 0 1;
15526                }
15527             }
15528          }
15529       }
15530       programs {
15531          program { name: "elm.drag_button,mouse,up";
15532             signal: "mouse,up,1";
15533             source: "elm.drag_button";
15534             action: SIGNAL_EMIT "elm.drag_button,mouse,up" "";
15535          }
15536          program { name: "elm.drag_button,mouse,down";
15537             signal: "mouse,down,1";
15538             source: "elm.drag_button";
15539             action: SIGNAL_EMIT "elm.drag_button,mouse,down" "";
15540          }
15541          program { name: "elm.drag_button,mouse,move";
15542             signal: "mouse,move";
15543             source: "elm.drag_button_base";
15544             action: SIGNAL_EMIT "elm.drag_button,mouse,move" "";
15545          }
15546       }
15547    }
15548
15549    group { name: "elm/actionslider/base/bar";
15550
15551       images {
15552          image: "shelf_inset.png" COMP;
15553          image: "ilist_1.png" COMP;
15554          image: "bt_bases.png" COMP;
15555          image: "bt_basew.png" COMP;
15556          image: "bt_hilightw.png" COMP;
15557       }
15558
15559       parts {
15560          part {
15561             name: "base";
15562             mouse_events: 0;
15563             description {
15564                state: "default" 0.0;
15565                min: 150 30;
15566                rel1.offset: 1 1;
15567                rel2.offset: -2 -2;
15568                image {
15569                   normal: "ilist_1.png";
15570                   border: 2 2 2 2;
15571                }
15572                fill.smooth: 0;
15573             }
15574          }
15575          part { name: "conf_over";
15576             mouse_events:  0;
15577             description { state: "default" 0.0;
15578                rel1.to: "base";
15579                rel2.to: "base";
15580                image {
15581                   normal: "shelf_inset.png";
15582                   border: 7 7 7 7;
15583                   middle: 0;
15584                }
15585                fill.smooth : 0;
15586             }
15587          }
15588          part { name: "icon.dragable.area";
15589            type: RECT;
15590             mouse_events: 0;
15591             description { state: "default" 0.0;
15592                visible: 0;
15593                rel1.to: "base";
15594                rel2.to: "base";
15595             }
15596          }
15597          part { name: "elm.text.left";
15598             type: TEXT;
15599             mouse_events: 0;
15600             scale: 1;
15601             description { state: "default" 0.0;
15602                color: 0 0 0 255;
15603                text {
15604                   font: "Sans,Edje-Vera";
15605                   size: 10;
15606                   align: 0.05 0.5;
15607                   min: 1 1;
15608                }
15609             }
15610          }
15611          part { name: "elm.text.center";
15612             type: TEXT;
15613             mouse_events: 0;
15614             scale: 1;
15615             description { state: "default" 0.0;
15616                color: 0 0 0 255;
15617                text {
15618                   font: "Sans,Edje-Vera";
15619                   size: 10;
15620                   align: 0.5 0.5;
15621                   min: 1 1;
15622                }
15623             }
15624          }
15625          part { name: "elm.text.right";
15626             type: TEXT;
15627             mouse_events: 0;
15628             scale: 1;
15629             description { state: "default" 0.0;
15630                color: 0 0 0 255;
15631                text {
15632                   font: "Sans,Edje-Vera";
15633                   size: 10;
15634                   align: 0.95 0.5;
15635                   min: 1 1;
15636                }
15637             }
15638          }
15639          part { name: "bar";
15640             type: RECT;
15641             mouse_events: 0;
15642             description { state: "default" 0.0;
15643                rel1.to: "base";
15644                rel1.offset: 0 2;
15645                rel2 {
15646                   relative: 0 1;
15647                   offset: 3 -3;
15648                   to_x: "elm.drag_button_base";
15649                   to_y: "base";
15650                }
15651                color: 0 0 0 180;
15652             }
15653          }
15654          part { name: "elm.drag_button_base";
15655             type: SWALLOW;
15656             mouse_events: 1;
15657             scale: 1;
15658             description { state: "default" 0.0;
15659                fixed: 1 1;
15660                min: 50 25;
15661                align: 0.5 0.5;
15662                rel1.to: "icon.dragable.area";
15663                rel2 {
15664                   relative: 0.0 1.0;
15665                   to: "icon.dragable.area";
15666                }
15667             }
15668             dragable {
15669                confine: "icon.dragable.area";
15670                x: 1 1 0;
15671                y: 0 0 0;
15672             }
15673          }
15674          part { name: "elm.drag_button";
15675             type: RECT;
15676             mouse_events: 1;
15677             description { state: "default" 0.0;
15678                min: 50 25;
15679                color: 255 255 255 0;
15680                rel1.to_x: "elm.drag_button_base";
15681                rel1.to_y: "icon.dragable.area";
15682                rel2.to_x: "elm.drag_button_base";
15683                rel2.to_y: "icon.dragable.area";
15684             }
15685             dragable {
15686                events: "elm.drag_button_base";
15687             }
15688          }
15689          part { name: "button0";
15690             mouse_events: 0;
15691             description { state: "default" 0.0;
15692                rel1.to: "button2";
15693                rel1.offset: -4 -4;
15694                rel2.to: "button2";
15695                rel2.offset: 3 3;
15696                image {
15697                   normal: "bt_bases.png";
15698                   border: 11 11 11 11;
15699                   middle: SOLID;
15700                }
15701                color: 255 255 255 128;
15702             }
15703          }
15704          part { name: "button2";
15705             mouse_events: 0;
15706             description { state: "default" 0.0;
15707                rel1.to: "elm.drag_button";
15708                rel2.to: "elm.drag_button";
15709                image {
15710                   normal: "bt_basew.png";
15711                   border: 7 7 7 7;
15712                   middle: SOLID;
15713                }
15714                color: 255 255 255 210;
15715             }
15716          }
15717          part { name: "button3";
15718             mouse_events: 0;
15719             description { state: "default" 0.0;
15720                rel1.to: "button2";
15721                rel2.to: "button2";
15722                rel2.relative: 1.0 0.5;
15723                image {
15724                   normal: "bt_hilightw.png";
15725                   border: 4 4 4 0;
15726                }
15727                color: 255 255 255 190;
15728             }
15729          }
15730          part { name: "elm.text.indicator";
15731             type: TEXT;
15732             scale: 1;
15733             mouse_events: 0;
15734             description { state: "default" 0.0;
15735                rel1 {
15736                   to: "elm.drag_button";
15737                   offset: 5 0;
15738                }
15739                rel2 {
15740                   to: "elm.drag_button";
15741                   offset: -5 0;
15742                }
15743                color: 0 0 0 255;
15744                text {
15745                   font: "Sans,Edje-Vera";
15746                   size: 10;
15747                   align: 0.5 0.5;
15748                   min: 0 1;
15749                }
15750             }
15751          }
15752       }
15753       programs {
15754          program { name: "elm.drag_button,mouse,up";
15755             signal: "mouse,up,1";
15756             source: "elm.drag_button";
15757             action: SIGNAL_EMIT "elm.drag_button,mouse,up" "";
15758          }
15759          program { name: "elm.drag_button,mouse,down";
15760             signal: "mouse,down,1";
15761             source: "elm.drag_button";
15762             action: SIGNAL_EMIT "elm.drag_button,mouse,down" "";
15763          }
15764          program { name: "elm.drag_button,mouse,move";
15765             signal: "mouse,move";
15766             source: "elm.drag_button_base";
15767             action: SIGNAL_EMIT "elm.drag_button,mouse,move" "";
15768          }
15769       }
15770    }
15771
15772 ///////////////////////////////////////////////////////////////////////////////
15773    group { name: "elm/genlist/item/default/default";
15774       data.item: "selectraise" "on";
15775       data.item: "labels" "elm.text";
15776       data.item: "icons" "elm.swallow.icon elm.swallow.end";
15777       data.item: "treesize" "20";
15778 //      data.item: "states" "";
15779       images {
15780          image: "bt_sm_base1.png" COMP;
15781          image: "bt_sm_shine.png" COMP;
15782          image: "bt_sm_hilight.png" COMP;
15783          image: "ilist_1.png" COMP;
15784          image: "ilist_2.png" COMP;
15785          image: "ilist_item_shadow.png" COMP;
15786       }
15787       parts {
15788          part {
15789             name:           "event";
15790             type:           RECT;
15791             repeat_events: 1;
15792             description {
15793                state: "default" 0.0;
15794                color: 0 0 0 0;
15795             }
15796          }
15797          part {
15798             name: "base_sh";
15799             mouse_events: 0;
15800             description {
15801                state: "default" 0.0;
15802                align: 0.0 0.0;
15803                min: 0 10;
15804                fixed: 1 1;
15805                rel1 {
15806                   to: "base";
15807                   relative: 0.0 1.0;
15808                   offset: 0 0;
15809                }
15810                rel2 {
15811                   to: "base";
15812                   relative: 1.0 1.0;
15813                   offset: -1 0;
15814                }
15815                image {
15816                   normal: "ilist_item_shadow.png";
15817                }
15818                fill.smooth: 0;
15819             }
15820             description {
15821                state: "default" 1.0;
15822                inherit: "default" 0.0;
15823                visible: 0;
15824             }
15825          }
15826          part {
15827             name: "base";
15828             mouse_events: 0;
15829             description {
15830                state: "default" 0.0;
15831                image {
15832                   normal: "ilist_1.png";
15833                   border: 2 2 2 2;
15834                }
15835                fill.smooth: 0;
15836             }
15837             description {
15838                state: "default" 1.0;
15839                inherit: "default" 0.0;
15840                image.normal: "ilist_2.png";
15841             }
15842          }
15843          part { name: "bg";
15844             clip_to: "disclip";
15845             mouse_events: 0;
15846             description { state: "default" 0.0;
15847                visible: 0;
15848                color: 255 255 255 0;
15849                rel1 {
15850                   relative: 0.0 0.0;
15851                   offset: -5 -5;
15852                }
15853                rel2 {
15854                   relative: 1.0 1.0;
15855                   offset: 4 4;
15856                }
15857                image {
15858                   normal: "bt_sm_base1.png";
15859                   border: 6 6 6 6;
15860                }
15861                image.middle: SOLID;
15862             }
15863             description { state: "default" 0.1;
15864                inherit: "default" 0.0;
15865             }
15866             description { state: "selected" 0.0;
15867                inherit: "default" 0.0;
15868                visible: 1;
15869                color: 255 255 255 255;
15870                rel1 {
15871                   relative: 0.0 0.0;
15872                   offset: -2 -2;
15873                }
15874                rel2 {
15875                   relative: 1.0 1.0;
15876                   offset: 1 1;
15877                }
15878             }
15879             description {
15880                state: "selected" 1.0;
15881                inherit: "selected" 0.0;
15882             }
15883          }
15884          part { name: "elm.swallow.pad";
15885             type: SWALLOW;
15886             description { state: "default" 0.0;
15887                fixed: 1 0;
15888                align: 0.0 0.5;
15889                rel1 {
15890                   relative: 0.0  0.0;
15891                   offset:   4    4;
15892                }
15893                rel2 {
15894                   relative: 0.0  1.0;
15895                   offset:   4   -5;
15896                }
15897             }
15898          }
15899          part { name: "elm.swallow.icon";
15900             clip_to: "disclip";
15901             type: SWALLOW;
15902             description { state: "default" 0.0;
15903                fixed: 1 0;
15904                align: 0.0 0.5;
15905                rel1 {
15906                   to_x: "elm.swallow.pad";
15907                   relative: 1.0  0.0;
15908                   offset:   -1    4;
15909                }
15910                rel2 {
15911                   to_x: "elm.swallow.pad";
15912                   relative: 1.0  1.0;
15913                   offset:   -1   -5;
15914                }
15915             }
15916          }
15917          part { name: "elm.swallow.end";
15918             clip_to: "disclip";
15919             type: SWALLOW;
15920             description { state: "default" 0.0;
15921                fixed: 1 0;
15922                align: 1.0 0.5;
15923                aspect: 1.0 1.0;
15924                aspect_preference: VERTICAL;
15925                rel1 {
15926                   relative: 1.0  0.0;
15927                   offset:   -5    4;
15928                }
15929                rel2 {
15930                   relative: 1.0  1.0;
15931                   offset:   -5   -5;
15932                }
15933             }
15934          }
15935          part { name: "elm.text";
15936             clip_to: "disclip";
15937             type:           TEXT;
15938             effect:         SOFT_SHADOW;
15939             mouse_events:   0;
15940             scale: 1;
15941             description {
15942                state: "default" 0.0;
15943 //               min: 16 16;
15944                rel1 {
15945                   to_x:     "elm.swallow.icon";
15946                   relative: 1.0  0.0;
15947                   offset:   0 4;
15948                }
15949                rel2 {
15950                   to_x:     "elm.swallow.end";
15951                   relative: 0.0  1.0;
15952                   offset:   -1 -5;
15953                }
15954                color: 0 0 0 255;
15955                color3: 0 0 0 0;
15956                text {
15957                   font: "Sans";
15958                   size: 10;
15959                   min: 1 1;
15960 //                  min: 0 1;
15961                   align: 0.0 0.5;
15962                   text_class: "list_item";
15963                }
15964             }
15965             description {
15966                state: "default" 1.0;
15967                inherit: "default" 0.0;
15968                text.align: -1.0 0.5;
15969             }
15970             description { state: "selected" 0.0;
15971                inherit: "default" 0.0;
15972                color: 224 224 224 255;
15973                color3: 0 0 0 64;
15974             }
15975          }
15976          part { name: "fg1";
15977             clip_to: "disclip";
15978             mouse_events: 0;
15979             description { state: "default" 0.0;
15980                visible: 0;
15981                color: 255 255 255 0;
15982                rel1.to: "bg";
15983                rel2.relative: 1.0 0.5;
15984                rel2.to: "bg";
15985                image {
15986                   normal: "bt_sm_hilight.png";
15987                   border: 6 6 6 0;
15988                }
15989             }
15990             description { state: "selected" 0.0;
15991                inherit: "default" 0.0;
15992                visible: 1;
15993                color: 255 255 255 255;
15994             }
15995             description {
15996                state: "selected" 1.0;
15997                inherit: "default" 0.0;
15998                visible: 1;
15999                color: 255 255 255 255;
16000             }
16001          }
16002          part { name: "fg2";
16003             clip_to: "disclip";
16004             mouse_events: 0;
16005             description { state: "default" 0.0;
16006                visible: 0;
16007                color: 255 255 255 0;
16008                rel1.to: "bg";
16009                rel2.to: "bg";
16010                image {
16011                   normal: "bt_sm_shine.png";
16012                   border: 6 6 6 0;
16013                }
16014             }
16015             description { state: "selected" 0.0;
16016                inherit: "default" 0.0;
16017                visible: 1;
16018                color: 255 255 255 255;
16019             }
16020             description {
16021                state: "selected" 1.0;
16022                inherit: "default" 0.0;
16023                visible: 1;
16024                color: 255 255 255 255;
16025             }
16026          }
16027          part { name: "disclip";
16028             type: RECT;
16029             description { state: "default" 0.0;
16030                rel1.to: "bg";
16031                rel2.to: "bg";
16032             }
16033             description { state: "disabled" 0.0;
16034                inherit: "default" 0.0;
16035                color: 255 255 255 64;
16036             }
16037          }
16038       }
16039       programs {
16040          // signal: elm,state,%s,active
16041          //   a "check" item named %s went active
16042          // signal: elm,state,%s,passive
16043          //   a "check" item named %s went passive
16044          // default is passive
16045          program {
16046             name:    "odd";
16047             signal:  "elm,state,odd";
16048             source:  "elm";
16049             action:  STATE_SET "default" 1.0;
16050             target:  "base_sh";
16051             target:  "base";
16052             target:  "elm.text";
16053          }
16054          program {
16055             name:    "even";
16056             signal:  "elm,state,even";
16057             source:  "elm";
16058             action:  STATE_SET "default" 0.0;
16059             target:  "base_sh";
16060             target:  "base";
16061             target:  "elm.text";
16062          }
16063          program {
16064             name:    "go_active";
16065             signal:  "elm,state,selected";
16066             source:  "elm";
16067             script {
16068                new st[31];
16069                new Float:vl;
16070                get_state(PART:"base", st, 30, vl);
16071                set_state(PART:"bg", "selected", vl);
16072                set_state(PART:"fg1", "selected", vl);
16073                set_state(PART:"fg2", "selected", vl);
16074                set_state(PART:"elm.text", "selected", vl);
16075             }
16076          }
16077          program {
16078             name:    "go_passive";
16079             signal:  "elm,state,unselected";
16080             source:  "elm";
16081             script {
16082                new st[31];
16083                new Float:vl;
16084                get_state(PART:"base", st, 30, vl);
16085                set_state(PART:"bg", "default", vl);
16086                set_state(PART:"fg1", "default", vl);
16087                set_state(PART:"fg2", "default", vl);
16088                set_state(PART:"elm.text", "default", vl);
16089             }
16090          }
16091          program {
16092             name:    "go_disabled";
16093             signal:  "elm,state,disabled";
16094             source:  "elm";
16095             action:  STATE_SET "disabled" 0.0;
16096             target:  "disclip";
16097          }
16098          program {
16099             name:    "go_enabled";
16100             signal:  "elm,state,enabled";
16101             source:  "elm";
16102             action:  STATE_SET "default" 0.0;
16103             target:  "disclip";
16104          }
16105       }
16106    }
16107    group { name: "elm/genlist/item/group_index/default";
16108       alias: "elm/genlist/item_compress/group_index/default";
16109       data.item: "selectraise" "on";
16110       data.item: "labels" "elm.text";
16111       data.item: "icons" "elm.swallow.icon elm.swallow.end";
16112       data.item: "treesize" "20";
16113 //      data.item: "states" "";
16114       images {
16115          image: "bt_sm_base1.png" COMP;
16116          image: "bt_sm_shine.png" COMP;
16117          image: "bt_sm_hilight.png" COMP;
16118          image: "ilist_item_shadow.png" COMP;
16119          image: "group_index.png" COMP;
16120       }
16121       parts {
16122          part {
16123             name: "event";
16124             type: RECT;
16125             repeat_events: 0;
16126             description {
16127                state: "default" 0.0;
16128                color: 0 0 0 0;
16129             }
16130          }
16131          part {
16132             name: "base_sh";
16133             mouse_events: 0;
16134             description {
16135                state: "default" 0.0;
16136                align: 0.0 0.0;
16137                min: 0 10;
16138                fixed: 1 1;
16139                rel1 {
16140                   to: "base";
16141                   relative: 0.0 1.0;
16142                   offset: 0 0;
16143                }
16144                rel2 {
16145                   to: "base";
16146                   relative: 1.0 1.0;
16147                   offset: -1 0;
16148                }
16149                image {
16150                   normal: "ilist_item_shadow.png";
16151                }
16152                fill.smooth: 0;
16153             }
16154          }
16155          part {
16156             name: "base";
16157             mouse_events: 0;
16158             description {
16159                state: "default" 0.0;
16160                image {
16161                   normal: "group_index.png";
16162                   border: 2 2 2 2;
16163                }
16164                fill.smooth: 0;
16165             }
16166          }
16167          part { name: "bg";
16168             clip_to: "disclip";
16169             mouse_events: 0;
16170             description { state: "default" 0.0;
16171                visible: 0;
16172                color: 255 255 255 0;
16173                rel1 {
16174                   relative: 0.0 0.0;
16175                   offset: -5 -5;
16176                }
16177                rel2 {
16178                   relative: 1.0 1.0;
16179                   offset: 4 4;
16180                }
16181                image {
16182                   normal: "bt_sm_base1.png";
16183                   border: 6 6 6 6;
16184                }
16185                image.middle: SOLID;
16186             }
16187             description { state: "selected" 0.0;
16188                inherit: "default" 0.0;
16189                visible: 1;
16190                color: 255 255 255 255;
16191                rel1 {
16192                   relative: 0.0 0.0;
16193                   offset: -2 -2;
16194                }
16195                rel2 {
16196                   relative: 1.0 1.0;
16197                   offset: 1 1;
16198                }
16199             }
16200          }
16201          part { name: "elm.swallow.pad";
16202             type: SWALLOW;
16203             description { state: "default" 0.0;
16204                fixed: 1 0;
16205                align: 0.0 0.5;
16206                rel1 {
16207                   relative: 0.0  0.0;
16208                   offset: 4 4;
16209                }
16210                rel2 {
16211                   relative: 0.0  1.0;
16212                   offset: 4 -5;
16213                }
16214             }
16215          }
16216          part { name: "elm.swallow.icon";
16217             clip_to: "disclip";
16218             type: SWALLOW;
16219             description { state: "default" 0.0;
16220                fixed: 1 0;
16221                align: 0.0 0.5;
16222                rel1 {
16223                   to_x: "elm.swallow.pad";
16224                   relative: 1.0 0.0;
16225                   offset: -1 4;
16226                }
16227                rel2 {
16228                   to_x: "elm.swallow.pad";
16229                   relative: 1.0 1.0;
16230                   offset: -1 -5;
16231                }
16232             }
16233          }
16234          part { name: "elm.swallow.end";
16235             clip_to: "disclip";
16236             type: SWALLOW;
16237             description { state: "default" 0.0;
16238                fixed: 1 0;
16239                align: 1.0 0.5;
16240                aspect: 1.0 1.0;
16241                aspect_preference: VERTICAL;
16242                rel1 {
16243                   relative: 1.0 0.0;
16244                   offset: -5 4;
16245                }
16246                rel2 {
16247                   relative: 1.0 1.0;
16248                   offset: -5 -5;
16249                }
16250             }
16251          }
16252          part { name: "elm.text";
16253             clip_to: "disclip";
16254             type: TEXT;
16255             effect: SOFT_SHADOW;
16256             mouse_events: 0;
16257             scale: 1;
16258             description {
16259                state: "default" 0.0;
16260 //               min: 16 16;
16261                rel1 {
16262                   to_x: "elm.swallow.icon";
16263                   relative: 1.0  0.0;
16264                   offset: 0 4;
16265                }
16266                rel2 {
16267                   to_x: "elm.swallow.end";
16268                   relative: 0.0  1.0;
16269                   offset: -1 -5;
16270                }
16271                color: 0 0 0 255;
16272                color3: 0 0 0 0;
16273                text {
16274                   font: "Sans";
16275                   size: 10;
16276                   min: 1 1;
16277 //                  min: 0 1;
16278                   align: -1.0 0.5;
16279                   text_class: "list_item";
16280                }
16281             }
16282             description { state: "selected" 0.0;
16283                inherit: "default" 0.0;
16284                color: 224 224 224 255;
16285                color3: 0 0 0 64;
16286             }
16287          }
16288          part { name: "fg1";
16289             clip_to: "disclip";
16290             mouse_events: 0;
16291             description { state: "default" 0.0;
16292                visible: 0;
16293                color: 255 255 255 0;
16294                rel1.to: "bg";
16295                rel2.relative: 1.0 0.5;
16296                rel2.to: "bg";
16297                image {
16298                   normal: "bt_sm_hilight.png";
16299                   border: 6 6 6 0;
16300                }
16301             }
16302             description { state: "selected" 0.0;
16303                inherit: "default" 0.0;
16304                visible: 1;
16305                color: 255 255 255 255;
16306             }
16307          }
16308          part { name: "fg2";
16309             clip_to: "disclip";
16310             mouse_events: 0;
16311             description { state: "default" 0.0;
16312                visible: 0;
16313                color: 255 255 255 0;
16314                rel1.to: "bg";
16315                rel2.to: "bg";
16316                image {
16317                   normal: "bt_sm_shine.png";
16318                   border: 6 6 6 0;
16319                }
16320             }
16321             description { state: "selected" 0.0;
16322                inherit: "default" 0.0;
16323                visible: 1;
16324                color: 255 255 255 255;
16325             }
16326          }
16327          part { name: "disclip";
16328             type: RECT;
16329             description { state: "default" 0.0;
16330                rel1.to: "bg";
16331                rel2.to: "bg";
16332             }
16333             description { state: "disabled" 0.0;
16334                inherit: "default" 0.0;
16335                color: 255 255 255 64;
16336             }
16337          }
16338       }
16339       programs {
16340          // signal: elm,state,%s,active
16341          //   a "check" item named %s went active
16342          // signal: elm,state,%s,passive
16343          //   a "check" item named %s went passive
16344          // default is passive
16345          program {
16346             name:    "go_active";
16347             signal:  "elm,state,selected";
16348             source:  "elm";
16349             action:  STATE_SET "selected" 0.0;
16350             target:  "bg";
16351             target:  "fg1";
16352             target:  "fg2";
16353             target:  "elm.text";
16354          }
16355          program {
16356             name:    "go_passive";
16357             signal:  "elm,state,unselected";
16358             source:  "elm";
16359             action:  STATE_SET "default" 0.0;
16360             target:  "bg";
16361             target:  "fg1";
16362             target:  "fg2";
16363             target:  "elm.text";
16364             transition: LINEAR 0.1;
16365          }
16366          program {
16367             name:    "go_disabled";
16368             signal:  "elm,state,disabled";
16369             source:  "elm";
16370             action:  STATE_SET "disabled" 0.0;
16371             target:  "disclip";
16372          }
16373          program {
16374             name:    "go_enabled";
16375             signal:  "elm,state,enabled";
16376             source:  "elm";
16377             action:  STATE_SET "default" 0.0;
16378             target:  "disclip";
16379          }
16380       }
16381    }
16382    group { name: "elm/genlist/item_compress/message/default";
16383       data.item: "selectraise" "on";
16384       data.item: "labels" "elm.title.1 elm.title.2 elm.text";
16385 //      data.item: "icons" "elm.swallow.icon elm.swallow.end";
16386       data.item: "treesize" "20";
16387 //      data.item: "states" "";
16388       images {
16389          image: "bt_sm_base1.png" COMP;
16390          image: "bt_sm_shine.png" COMP;
16391          image: "bt_sm_hilight.png" COMP;
16392          image: "ilist_1.png" COMP;
16393          image: "ilist_2.png" COMP;
16394          image: "ilist_item_shadow.png" COMP;
16395       }
16396       styles {
16397         style { name: "genlist_textblock_style";
16398           base: "font=Sans font_size=10 color=#000 wrap=char text_class=list_item";
16399           tag:  "br" "\n";
16400           tag:  "ps" "ps";
16401           tag:  "tab" "\t";
16402         }
16403         style { name: "genlist_textblock_style2";
16404           base: "font=Sans font_size=10 color=#fff wrap=char text_class=list_item";
16405           tag:  "br" "\n";
16406           tag:  "ps" "ps";
16407           tag:  "tab" "\t";
16408         }
16409       }
16410      parts {
16411          part {
16412             name:           "event";
16413             type:           RECT;
16414             repeat_events: 1;
16415             description {
16416                state: "default" 0.0;
16417                color: 0 0 0 0;
16418             }
16419          }
16420          part {
16421             name: "base_sh";
16422             mouse_events: 0;
16423             description {
16424                state: "default" 0.0;
16425                align: 0.0 0.0;
16426                min: 0 10;
16427                fixed: 1 1;
16428                rel1 {
16429                   to: "base";
16430                   relative: 0.0 1.0;
16431                   offset: 0 0;
16432                }
16433                rel2 {
16434                   to: "base";
16435                   relative: 1.0 1.0;
16436                   offset: -1 0;
16437                }
16438                image {
16439                   normal: "ilist_item_shadow.png";
16440                }
16441                fill.smooth: 0;
16442             }
16443             description {
16444                state: "default" 1.0;
16445                inherit: "default" 0.0;
16446                visible: 0;
16447             }
16448          }
16449          part {
16450             name: "base";
16451             mouse_events: 0;
16452             description {
16453                state: "default" 0.0;
16454                image {
16455                   normal: "ilist_1.png";
16456                   border: 2 2 2 2;
16457                }
16458                fill.smooth: 0;
16459             }
16460             description {
16461                state: "default" 1.0;
16462                inherit: "default" 0.0;
16463                image.normal: "ilist_2.png";
16464             }
16465          }
16466          part { name: "bg";
16467             clip_to: "disclip";
16468             mouse_events: 0;
16469             description { state: "default" 0.0;
16470                visible: 0;
16471                color: 255 255 255 0;
16472                rel1 {
16473                   relative: 0.0 0.0;
16474                   offset: -5 -5;
16475                }
16476                rel2 {
16477                   relative: 1.0 1.0;
16478                   offset: 4 4;
16479                }
16480                image {
16481                   normal: "bt_sm_base1.png";
16482                   border: 6 6 6 6;
16483                }
16484                image.middle: SOLID;
16485             }
16486             description { state: "selected" 0.0;
16487                inherit: "default" 0.0;
16488                visible: 1;
16489                color: 255 255 255 255;
16490                rel1 {
16491                   relative: 0.0 0.0;
16492                   offset: -2 -2;
16493                }
16494                rel2 {
16495                   relative: 1.0 1.0;
16496                   offset: 1 1;
16497                }
16498             }
16499          }
16500          part { name: "elm.title.1";
16501             clip_to: "disclip";
16502             type:           TEXT;
16503             effect:         SOFT_SHADOW;
16504             mouse_events:   0;
16505             scale: 1;
16506             description {
16507                state: "default" 0.0;
16508                fixed: 0 1;
16509 //               min: 16 16;
16510                rel1 {
16511                   relative: 0.0  0.0;
16512                   offset:   4 4;
16513                }
16514                rel2 {
16515                   relative: 1.0  0.0;
16516                   offset:   -5 4;
16517                }
16518                color: 0 0 0 255;
16519                color3: 0 0 0 0;
16520                align: 0.0 0.0;
16521                text {
16522                   font: "Sans";
16523                   size: 10;
16524                   min: 0 1;
16525 //                  min: 1 1;
16526                   align: 0.0 0.0;
16527                   text_class: "list_item";
16528                }
16529             }
16530             description { state: "selected" 0.0;
16531                inherit: "default" 0.0;
16532                color: 224 224 224 255;
16533                color3: 0 0 0 64;
16534             }
16535          }
16536          part { name: "elm.title.2";
16537             clip_to: "disclip";
16538             type:           TEXT;
16539             effect:         SOFT_SHADOW;
16540             mouse_events:   0;
16541             scale: 1;
16542             description {
16543                state: "default" 0.0;
16544                fixed: 0 1;
16545 //               min: 16 16;
16546                rel1 {
16547                   to_y:     "elm.title.1";
16548                   relative: 0.0  1.0;
16549                   offset:   4 0;
16550                }
16551                rel2 {
16552                   to_y:     "elm.title.1";
16553                   relative: 1.0  1.0;
16554                   offset:   -5 0;
16555                }
16556                color: 0 0 0 255;
16557                color3: 0 0 0 0;
16558                align: 0.0 0.0;
16559                text {
16560                   font: "Sans";
16561                   size: 10;
16562                   min: 0 1;
16563 //                  min: 1 1;
16564                   align: 0.0 0.0;
16565                   text_class: "list_item";
16566                }
16567             }
16568             description { state: "selected" 0.0;
16569                inherit: "default" 0.0;
16570                color: 224 224 224 255;
16571                color3: 0 0 0 64;
16572             }
16573          }
16574          part { name: "elm.text";
16575             clip_to: "disclip";
16576             type:           TEXTBLOCK;
16577             mouse_events:   0;
16578             scale: 1;
16579             description {
16580                state: "default" 0.0;
16581 //               fixed: 0 1;
16582 //               min: 16 16;
16583                rel1 {
16584                   to_y:     "elm.title.2";
16585                   relative: 0.0  1.0;
16586                   offset:   4 0;
16587                }
16588                rel2 {
16589                   relative: 1.0  1.0;
16590                   offset:   -5 -5;
16591                }
16592                align: 0.0 0.0;
16593                text {
16594                   style: "genlist_textblock_style";
16595                   min: 0 1;
16596 //                  min: 1 1;
16597                   align: 0.0 0.0;
16598                }
16599             }
16600             description { state: "selected" 0.0;
16601                inherit: "default" 0.0;
16602                text {
16603                   style: "genlist_textblock_style2";
16604                }
16605             }
16606          }
16607          part { name: "fg1";
16608             clip_to: "disclip";
16609             mouse_events: 0;
16610             description { state: "default" 0.0;
16611                visible: 0;
16612                color: 255 255 255 0;
16613                rel1.to: "bg";
16614                rel2.relative: 1.0 0.5;
16615                rel2.to: "bg";
16616                image {
16617                   normal: "bt_sm_hilight.png";
16618                   border: 6 6 6 0;
16619                }
16620             }
16621             description { state: "selected" 0.0;
16622                inherit: "default" 0.0;
16623                visible: 1;
16624                color: 255 255 255 255;
16625             }
16626          }
16627          part { name: "fg2";
16628             clip_to: "disclip";
16629             mouse_events: 0;
16630             description { state: "default" 0.0;
16631                visible: 0;
16632                color: 255 255 255 0;
16633                rel1.to: "bg";
16634                rel2.to: "bg";
16635                image {
16636                   normal: "bt_sm_shine.png";
16637                   border: 6 6 6 0;
16638                }
16639             }
16640             description { state: "selected" 0.0;
16641                inherit: "default" 0.0;
16642                visible: 1;
16643                color: 255 255 255 255;
16644             }
16645          }
16646          part { name: "disclip";
16647             type: RECT;
16648             description { state: "default" 0.0;
16649                rel1.to: "bg";
16650                rel2.to: "bg";
16651             }
16652             description { state: "disabled" 0.0;
16653                inherit: "default" 0.0;
16654                color: 255 255 255 64;
16655             }
16656          }
16657       }
16658       programs {
16659          // signal: elm,state,%s,active
16660          //   a "check" item named %s went active
16661          // signal: elm,state,%s,passive
16662          //   a "check" item named %s went passive
16663          // default is passive
16664          program {
16665             name:    "odd";
16666             signal:  "elm,state,odd";
16667             source:  "elm";
16668             action:  STATE_SET "default" 1.0;
16669             target:  "base_sh";
16670             target:  "base";
16671          }
16672          program {
16673             name:    "even";
16674             signal:  "elm,state,even";
16675             source:  "elm";
16676             action:  STATE_SET "default" 0.0;
16677             target:  "base_sh";
16678             target:  "base";
16679          }
16680          program {
16681             name:    "go_active";
16682             signal:  "elm,state,selected";
16683             source:  "elm";
16684             action:  STATE_SET "selected" 0.0;
16685             target:  "bg";
16686             target:  "fg1";
16687             target:  "fg2";
16688             target:  "elm.title.1";
16689             target:  "elm.title.2";
16690             target:  "elm.text";
16691          }
16692          program {
16693             name:    "go_passive";
16694             signal:  "elm,state,unselected";
16695             source:  "elm";
16696             action:  STATE_SET "default" 0.0;
16697             target:  "bg";
16698             target:  "fg1";
16699             target:  "fg2";
16700             target:  "elm.title.1";
16701             target:  "elm.title.2";
16702             target:  "elm.text";
16703             transition: LINEAR 0.1;
16704          }
16705          program {
16706             name:    "go_disabled";
16707             signal:  "elm,state,disabled";
16708             source:  "elm";
16709             action:  STATE_SET "disabled" 0.0;
16710             target:  "disclip";
16711          }
16712          program {
16713             name:    "go_enabled";
16714             signal:  "elm,state,enabled";
16715             source:  "elm";
16716             action:  STATE_SET "default" 0.0;
16717             target:  "disclip";
16718          }
16719       }
16720    }
16721
16722    group { name: "elm/genlist/item_compress/default/default";
16723       data.item: "selectraise" "on";
16724       data.item: "labels" "elm.text";
16725       data.item: "icons" "elm.swallow.icon elm.swallow.end";
16726       data.item: "treesize" "20";
16727 //      data.item: "states" "";
16728       images {
16729          image: "bt_sm_base1.png" COMP;
16730          image: "bt_sm_shine.png" COMP;
16731          image: "bt_sm_hilight.png" COMP;
16732          image: "ilist_1.png" COMP;
16733          image: "ilist_2.png" COMP;
16734          image: "ilist_item_shadow.png" COMP;
16735       }
16736       parts {
16737          part {
16738             name:           "event";
16739             type:           RECT;
16740             repeat_events: 1;
16741             description {
16742                state: "default" 0.0;
16743                color: 0 0 0 0;
16744             }
16745          }
16746          part {
16747             name: "base_sh";
16748             mouse_events: 0;
16749             description {
16750                state: "default" 0.0;
16751                align: 0.0 0.0;
16752                min: 0 10;
16753                fixed: 1 1;
16754                rel1 {
16755                   to: "base";
16756                   relative: 0.0 1.0;
16757                   offset: 0 0;
16758                }
16759                rel2 {
16760                   to: "base";
16761                   relative: 1.0 1.0;
16762                   offset: -1 0;
16763                }
16764                image {
16765                   normal: "ilist_item_shadow.png";
16766                }
16767                fill.smooth: 0;
16768             }
16769             description {
16770                state: "default" 1.0;
16771                inherit: "default" 0.0;
16772                visible: 0;
16773             }
16774          }
16775          part {
16776             name: "base";
16777             mouse_events: 0;
16778             description {
16779                state: "default" 0.0;
16780                image {
16781                   normal: "ilist_1.png";
16782                   border: 2 2 2 2;
16783                }
16784                fill.smooth: 0;
16785             }
16786             description {
16787                state: "default" 1.0;
16788                inherit: "default" 0.0;
16789                image.normal: "ilist_2.png";
16790             }
16791          }
16792          part { name: "bg";
16793             clip_to: "disclip";
16794             mouse_events: 0;
16795             description { state: "default" 0.0;
16796                visible: 0;
16797                color: 255 255 255 0;
16798                rel1 {
16799                   relative: 0.0 0.0;
16800                   offset: -5 -5;
16801                }
16802                rel2 {
16803                   relative: 1.0 1.0;
16804                   offset: 4 4;
16805                }
16806                image {
16807                   normal: "bt_sm_base1.png";
16808                   border: 6 6 6 6;
16809                }
16810                image.middle: SOLID;
16811             }
16812             description { state: "selected" 0.0;
16813                inherit: "default" 0.0;
16814                visible: 1;
16815                color: 255 255 255 255;
16816                rel1 {
16817                   relative: 0.0 0.0;
16818                   offset: -2 -2;
16819                }
16820                rel2 {
16821                   relative: 1.0 1.0;
16822                   offset: 1 1;
16823                }
16824             }
16825          }
16826          part { name: "elm.swallow.pad";
16827             type: SWALLOW;
16828             description { state: "default" 0.0;
16829                fixed: 1 0;
16830                align: 0.0 0.5;
16831                rel1 {
16832                   relative: 0.0  0.0;
16833                   offset:   4    4;
16834                }
16835                rel2 {
16836                   relative: 0.0  1.0;
16837                   offset:   4   -5;
16838                }
16839             }
16840          }
16841          part { name: "elm.swallow.icon";
16842             clip_to: "disclip";
16843             type: SWALLOW;
16844             description { state: "default" 0.0;
16845                fixed: 1 0;
16846                align: 0.0 0.5;
16847                rel1 {
16848                   to_x: "elm.swallow.pad";
16849                   relative: 1.0  0.0;
16850                   offset:   -1    4;
16851                }
16852                rel2 {
16853                   to_x: "elm.swallow.pad";
16854                   relative: 1.0  1.0;
16855                   offset:   -1   -5;
16856                }
16857             }
16858          }
16859          part { name: "elm.swallow.end";
16860             clip_to: "disclip";
16861             type: SWALLOW;
16862             description { state: "default" 0.0;
16863                fixed: 1 0;
16864                align: 1.0 0.5;
16865                aspect: 1.0 1.0;
16866                aspect_preference: VERTICAL;
16867                rel1 {
16868                   relative: 1.0  0.0;
16869                   offset:   -5    4;
16870                }
16871                rel2 {
16872                   relative: 1.0  1.0;
16873                   offset:   -5   -5;
16874                }
16875             }
16876          }
16877          part { name: "elm.text";
16878             clip_to: "disclip";
16879             type:           TEXT;
16880             effect:         SOFT_SHADOW;
16881             mouse_events:   0;
16882             scale: 1;
16883             description {
16884                state: "default" 0.0;
16885 //               min: 16 16;
16886                rel1 {
16887                   to_x:     "elm.swallow.icon";
16888                   relative: 1.0  0.0;
16889                   offset:   0 4;
16890                }
16891                rel2 {
16892                   to_x:     "elm.swallow.end";
16893                   relative: 0.0  1.0;
16894                   offset:   -1 -5;
16895                }
16896                color: 0 0 0 255;
16897                color3: 0 0 0 0;
16898                text {
16899                   font: "Sans";
16900                   size: 10;
16901                   min: 0 1;
16902 //                  min: 1 1;
16903                   align: 0.0 0.5;
16904                   text_class: "list_item";
16905                }
16906             }
16907             description { state: "selected" 0.0;
16908                inherit: "default" 0.0;
16909                color: 224 224 224 255;
16910                color3: 0 0 0 64;
16911             }
16912          }
16913          part { name: "fg1";
16914             clip_to: "disclip";
16915             mouse_events: 0;
16916             description { state: "default" 0.0;
16917                visible: 0;
16918                color: 255 255 255 0;
16919                rel1.to: "bg";
16920                rel2.relative: 1.0 0.5;
16921                rel2.to: "bg";
16922                image {
16923                   normal: "bt_sm_hilight.png";
16924                   border: 6 6 6 0;
16925                }
16926             }
16927             description { state: "selected" 0.0;
16928                inherit: "default" 0.0;
16929                visible: 1;
16930                color: 255 255 255 255;
16931             }
16932          }
16933          part { name: "fg2";
16934             clip_to: "disclip";
16935             mouse_events: 0;
16936             description { state: "default" 0.0;
16937                visible: 0;
16938                color: 255 255 255 0;
16939                rel1.to: "bg";
16940                rel2.to: "bg";
16941                image {
16942                   normal: "bt_sm_shine.png";
16943                   border: 6 6 6 0;
16944                }
16945             }
16946             description { state: "selected" 0.0;
16947                inherit: "default" 0.0;
16948                visible: 1;
16949                color: 255 255 255 255;
16950             }
16951          }
16952          part { name: "disclip";
16953             type: RECT;
16954             description { state: "default" 0.0;
16955                rel1.to: "bg";
16956                rel2.to: "bg";
16957             }
16958             description { state: "disabled" 0.0;
16959                inherit: "default" 0.0;
16960                color: 255 255 255 64;
16961             }
16962          }
16963       }
16964       programs {
16965          // signal: elm,state,%s,active
16966          //   a "check" item named %s went active
16967          // signal: elm,state,%s,passive
16968          //   a "check" item named %s went passive
16969          // default is passive
16970          program {
16971             name:    "odd";
16972             signal:  "elm,state,odd";
16973             source:  "elm";
16974             action:  STATE_SET "default" 1.0;
16975             target:  "base_sh";
16976             target:  "base";
16977          }
16978          program {
16979             name:    "even";
16980             signal:  "elm,state,even";
16981             source:  "elm";
16982             action:  STATE_SET "default" 0.0;
16983             target:  "base_sh";
16984             target:  "base";
16985          }
16986          program {
16987             name:    "go_active";
16988             signal:  "elm,state,selected";
16989             source:  "elm";
16990             action:  STATE_SET "selected" 0.0;
16991             target:  "bg";
16992             target:  "fg1";
16993             target:  "fg2";
16994             target:  "elm.text";
16995          }
16996          program {
16997             name:    "go_passive";
16998             signal:  "elm,state,unselected";
16999             source:  "elm";
17000             action:  STATE_SET "default" 0.0;
17001             target:  "bg";
17002             target:  "fg1";
17003             target:  "fg2";
17004             target:  "elm.text";
17005             transition: LINEAR 0.1;
17006          }
17007          program {
17008             name:    "go_disabled";
17009             signal:  "elm,state,disabled";
17010             source:  "elm";
17011             action:  STATE_SET "disabled" 0.0;
17012             target:  "disclip";
17013          }
17014          program {
17015             name:    "go_enabled";
17016             signal:  "elm,state,enabled";
17017             source:  "elm";
17018             action:  STATE_SET "default" 0.0;
17019             target:  "disclip";
17020          }
17021       }
17022    }
17023
17024    group { name: "elm/genlist/tree/default/default";
17025       data.item: "selectraise" "on";
17026       data.item: "labels" "elm.text";
17027       data.item: "icons" "elm.swallow.icon elm.swallow.end";
17028       data.item: "treesize" "20";
17029 //      data.item: "states" "";
17030       images {
17031          image: "bt_sm_base1.png" COMP;
17032          image: "bt_sm_shine.png" COMP;
17033          image: "bt_sm_hilight.png" COMP;
17034          image: "ilist_1.png" COMP;
17035          image: "ilist_2.png" COMP;
17036          image: "ilist_item_shadow.png" COMP;
17037          image: "icon_arrow_left.png" COMP;
17038          image: "icon_arrow_right.png" COMP;
17039          image: "icon_arrow_down.png" COMP;
17040       }
17041       parts {
17042          part {
17043             name:           "event";
17044             type:           RECT;
17045             repeat_events: 1;
17046             description {
17047                state: "default" 0.0;
17048                color: 0 0 0 0;
17049             }
17050          }
17051          part {
17052             name: "base_sh";
17053             mouse_events: 0;
17054             description {
17055                state: "default" 0.0;
17056                align: 0.0 0.0;
17057                min: 0 10;
17058                fixed: 1 1;
17059                rel1 {
17060                   to: "base";
17061                   relative: 0.0 1.0;
17062                   offset: 0 0;
17063                }
17064                rel2 {
17065                   to: "base";
17066                   relative: 1.0 1.0;
17067                   offset: -1 0;
17068                }
17069                image {
17070                   normal: "ilist_item_shadow.png";
17071                }
17072                fill.smooth: 0;
17073             }
17074             description {
17075                state: "default" 1.0;
17076                inherit: "default" 0.0;
17077                visible: 0;
17078             }
17079          }
17080          part {
17081             name: "base";
17082             mouse_events: 0;
17083             description {
17084                state: "default" 0.0;
17085                image {
17086                   normal: "ilist_1.png";
17087                   border: 2 2 2 2;
17088                }
17089                fill.smooth: 0;
17090             }
17091             description {
17092                state: "default" 1.0;
17093                inherit: "default" 0.0;
17094                image.normal: "ilist_2.png";
17095             }
17096          }
17097          part { name: "bg";
17098             clip_to: "disclip";
17099             mouse_events: 0;
17100             description { state: "default" 0.0;
17101                visible: 0;
17102                color: 255 255 255 0;
17103                rel1 {
17104                   relative: 0.0 0.0;
17105                   offset: -5 -5;
17106                }
17107                rel2 {
17108                   relative: 1.0 1.0;
17109                   offset: 4 4;
17110                }
17111                image {
17112                   normal: "bt_sm_base1.png";
17113                   border: 6 6 6 6;
17114                }
17115                image.middle: SOLID;
17116             }
17117             description { state: "selected" 0.0;
17118                inherit: "default" 0.0;
17119                visible: 1;
17120                color: 255 255 255 255;
17121                rel1 {
17122                   relative: 0.0 0.0;
17123                   offset: -2 -2;
17124                }
17125                rel2 {
17126                   relative: 1.0 1.0;
17127                   offset: 1 1;
17128                }
17129             }
17130          }
17131          part { name: "elm.swallow.pad";
17132             type: SWALLOW;
17133             description { state: "default" 0.0;
17134                fixed: 1 0;
17135                align: 0.0 0.5;
17136                rel1 {
17137                   relative: 0.0  0.0;
17138                   offset:   4    4;
17139                }
17140                rel2 {
17141                   relative: 0.0  1.0;
17142                   offset:   4   -5;
17143                }
17144             }
17145          }
17146          part { name: "arrow";
17147             clip_to: "disclip";
17148             ignore_flags: ON_HOLD;
17149             description { state: "default" 0.0;
17150                fixed: 1 0;
17151                align: 0.0 0.5;
17152                aspect: 1.0 1.0;
17153                rel1 {
17154                   to_x: "elm.swallow.pad";
17155                   relative: 1.0  0.0;
17156                   offset:   -1    4;
17157                }
17158                rel2 {
17159                   to_x: "elm.swallow.pad";
17160                   relative: 1.0  1.0;
17161                   offset:   -1   -5;
17162                }
17163                image.normal: "icon_arrow_right.png";
17164             }
17165             description { state: "default" 0.1;
17166                inherit: "default" 0.0;
17167                image.normal: "icon_arrow_left.png";
17168             }
17169             description { state: "active" 0.0;
17170                inherit: "default" 0.0;
17171                image.normal: "icon_arrow_down.png";
17172             }
17173             description { state: "active" 0.1;
17174                inherit: "default" 0.0;
17175                image.normal: "icon_arrow_down.png";
17176             }
17177          }
17178          part { name: "elm.swallow.icon";
17179             clip_to: "disclip";
17180             type: SWALLOW;
17181             description { state: "default" 0.0;
17182                fixed: 1 0;
17183                align: 0.0 0.5;
17184                rel1 {
17185                   to_x: "arrow";
17186                   relative: 1.0  0.0;
17187                   offset:   4    4;
17188                }
17189                rel2 {
17190                   to_x: "arrow";
17191                   relative: 1.0  1.0;
17192                   offset:   4   -5;
17193                }
17194             }
17195          }
17196          part { name: "elm.swallow.end";
17197             clip_to: "disclip";
17198             type: SWALLOW;
17199             description { state: "default" 0.0;
17200                fixed: 1 0;
17201                align: 1.0 0.5;
17202                aspect: 1.0 1.0;
17203                aspect_preference: VERTICAL;
17204                rel1 {
17205                   relative: 1.0  0.0;
17206                   offset:   -5    4;
17207                }
17208                rel2 {
17209                   relative: 1.0  1.0;
17210                   offset:   -5   -5;
17211                }
17212             }
17213          }
17214          part { name: "elm.text";
17215             clip_to: "disclip";
17216             type:           TEXT;
17217             effect:         SOFT_SHADOW;
17218             mouse_events:   0;
17219             scale: 1;
17220             description {
17221                state: "default" 0.0;
17222 //               min: 16 16;
17223                rel1 {
17224                   to_x:     "elm.swallow.icon";
17225                   relative: 1.0  0.0;
17226                   offset:   0 4;
17227                }
17228                rel2 {
17229                   to_x:     "elm.swallow.end";
17230                   relative: 0.0  1.0;
17231                   offset:   -1 -5;
17232                }
17233                color: 0 0 0 255;
17234                color3: 0 0 0 0;
17235                text {
17236                   font: "Sans";
17237                   size: 10;
17238                   min: 1 1;
17239 //                  min: 0 1;
17240                   align: -1.0 0.5;
17241                   text_class: "list_item";
17242                }
17243             }
17244             description { state: "selected" 0.0;
17245                inherit: "default" 0.0;
17246                color: 224 224 224 255;
17247                color3: 0 0 0 64;
17248             }
17249          }
17250          part { name: "fg1";
17251             clip_to: "disclip";
17252             mouse_events: 0;
17253             description { state: "default" 0.0;
17254                visible: 0;
17255                color: 255 255 255 0;
17256                rel1.to: "bg";
17257                rel2.relative: 1.0 0.5;
17258                rel2.to: "bg";
17259                image {
17260                   normal: "bt_sm_hilight.png";
17261                   border: 6 6 6 0;
17262                }
17263             }
17264             description { state: "selected" 0.0;
17265                inherit: "default" 0.0;
17266                visible: 1;
17267                color: 255 255 255 255;
17268             }
17269          }
17270          part { name: "fg2";
17271             clip_to: "disclip";
17272             mouse_events: 0;
17273             description { state: "default" 0.0;
17274                visible: 0;
17275                color: 255 255 255 0;
17276                rel1.to: "bg";
17277                rel2.to: "bg";
17278                image {
17279                   normal: "bt_sm_shine.png";
17280                   border: 6 6 6 0;
17281                }
17282             }
17283             description { state: "selected" 0.0;
17284                inherit: "default" 0.0;
17285                visible: 1;
17286                color: 255 255 255 255;
17287             }
17288          }
17289          part { name: "disclip";
17290             type: RECT;
17291             description { state: "default" 0.0;
17292                rel1.to: "bg";
17293                rel2.to: "bg";
17294             }
17295             description { state: "disabled" 0.0;
17296                inherit: "default" 0.0;
17297                color: 255 255 255 64;
17298             }
17299          }
17300       }
17301       programs {
17302          // signal: elm,state,%s,active
17303          //   a "check" item named %s went active
17304          // signal: elm,state,%s,passive
17305          //   a "check" item named %s went passive
17306          // default is passive
17307          program {
17308             name:    "odd";
17309             signal:  "elm,state,odd";
17310             source:  "elm";
17311             action:  STATE_SET "default" 1.0;
17312             target:  "base_sh";
17313             target:  "base";
17314          }
17315          program {
17316             name:    "even";
17317             signal:  "elm,state,even";
17318             source:  "elm";
17319             action:  STATE_SET "default" 0.0;
17320             target:  "base_sh";
17321             target:  "base";
17322          }
17323          program {
17324             name:    "go_active";
17325             signal:  "elm,state,selected";
17326             source:  "elm";
17327             action:  STATE_SET "selected" 0.0;
17328             target:  "bg";
17329             target:  "fg1";
17330             target:  "fg2";
17331             target:  "elm.text";
17332          }
17333          program {
17334             name:    "go_passive";
17335             signal:  "elm,state,unselected";
17336             source:  "elm";
17337             action:  STATE_SET "default" 0.0;
17338             target:  "bg";
17339             target:  "fg1";
17340             target:  "fg2";
17341             target:  "elm.text";
17342             transition: LINEAR 0.1;
17343          }
17344          program {
17345             name:    "go_disabled";
17346             signal:  "elm,state,disabled";
17347             source:  "elm";
17348             action:  STATE_SET "disabled" 0.0;
17349             target:  "disclip";
17350          }
17351          program {
17352             name:    "go_enabled";
17353             signal:  "elm,state,enabled";
17354             source:  "elm";
17355             action:  STATE_SET "default" 0.0;
17356             target:  "disclip";
17357          }
17358          program {
17359             name:    "expand";
17360             signal:  "mouse,up,1";
17361             source:  "arrow";
17362             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
17363          }
17364          program {
17365             name:    "go_expanded";
17366             signal:  "elm,state,expanded";
17367             source:  "elm";
17368             script {
17369                new st[31];
17370                new Float:vl;
17371                get_state(PART:"arrow", st, 30, vl);
17372                set_state(PART:"arrow", "active", vl);
17373             }
17374          }
17375          program {
17376             name:    "go_contracted";
17377             signal:  "elm,state,contracted";
17378             source:  "elm";
17379             script {
17380                new st[31];
17381                new Float:vl;
17382                get_state(PART:"arrow", st, 30, vl);
17383                set_state(PART:"arrow", "default", vl);
17384             }
17385          }
17386          program { name: "to_rtl";
17387             signal: "edje,state,rtl";
17388             source: "edje";
17389             script {
17390                new st[31];
17391                new Float:vl;
17392                get_state(PART:"arrow", st, 30, vl);
17393                if (vl == 0.0) {
17394                   set_state(PART:"arrow", st, 0.1);
17395                }
17396             }
17397          }
17398          program { name: "to_ltr";
17399             signal: "edje,state,ltr";
17400             source: "edje";
17401             script {
17402                new st[31];
17403                new Float:vl;
17404                get_state(PART:"arrow", st, 30, vl);
17405                if (vl == 0.1) {
17406                   set_state(PART:"arrow", st, 0.0);
17407                }
17408             }
17409          }
17410       }
17411    }
17412    group { name: "elm/genlist/tree_compress/default/default";
17413       data.item: "stacking" "above";
17414       data.item: "selectraise" "on";
17415       data.item: "labels" "elm.text";
17416       data.item: "icons" "elm.swallow.icon elm.swallow.end";
17417       data.item: "treesize" "20";
17418 //      data.item: "states" "";
17419       images {
17420          image: "bt_sm_base1.png" COMP;
17421          image: "bt_sm_shine.png" COMP;
17422          image: "bt_sm_hilight.png" COMP;
17423          image: "ilist_1.png" COMP;
17424          image: "ilist_item_shadow.png" COMP;
17425          image: "icon_arrow_left.png" COMP;
17426          image: "icon_arrow_right.png" COMP;
17427          image: "icon_arrow_down.png" COMP;
17428       }
17429       parts {
17430          part {
17431             name:           "event";
17432             type:           RECT;
17433             repeat_events: 1;
17434             description {
17435                state: "default" 0.0;
17436                color: 0 0 0 0;
17437             }
17438          }
17439          part {
17440             name: "base_sh";
17441             mouse_events: 0;
17442             description {
17443                state: "default" 0.0;
17444                align: 0.0 0.0;
17445                min: 0 10;
17446                fixed: 1 1;
17447                rel1 {
17448                   to: "base";
17449                   relative: 0.0 1.0;
17450                   offset: 0 0;
17451                }
17452                rel2 {
17453                   to: "base";
17454                   relative: 1.0 1.0;
17455                   offset: -1 0;
17456                }
17457                image {
17458                   normal: "ilist_item_shadow.png";
17459                }
17460                fill.smooth: 0;
17461             }
17462             description {
17463                state: "default" 1.0;
17464                inherit: "default" 0.0;
17465                visible: 0;
17466             }
17467          }
17468          part {
17469             name: "base";
17470             mouse_events: 0;
17471             description {
17472                state: "default" 0.0;
17473                image {
17474                   normal: "ilist_1.png";
17475                   border: 2 2 2 2;
17476                }
17477                fill.smooth: 0;
17478             }
17479             description {
17480                state: "default" 1.0;
17481                inherit: "default" 0.0;
17482                image.normal: "ilist_2.png";
17483             }
17484          }
17485          part { name: "bg";
17486             clip_to: "disclip";
17487             mouse_events: 0;
17488             description { state: "default" 0.0;
17489                visible: 0;
17490                color: 255 255 255 0;
17491                rel1 {
17492                   relative: 0.0 0.0;
17493                   offset: -5 -5;
17494                }
17495                rel2 {
17496                   relative: 1.0 1.0;
17497                   offset: 4 4;
17498                }
17499                image {
17500                   normal: "bt_sm_base1.png";
17501                   border: 6 6 6 6;
17502                }
17503                image.middle: SOLID;
17504             }
17505             description { state: "selected" 0.0;
17506                inherit: "default" 0.0;
17507                visible: 1;
17508                color: 255 255 255 255;
17509                rel1 {
17510                   relative: 0.0 0.0;
17511                   offset: -2 -2;
17512                }
17513                rel2 {
17514                   relative: 1.0 1.0;
17515                   offset: 1 1;
17516                }
17517             }
17518          }
17519          part { name: "elm.swallow.pad";
17520             type: SWALLOW;
17521             description { state: "default" 0.0;
17522                fixed: 1 0;
17523                align: 0.0 0.5;
17524                rel1 {
17525                   relative: 0.0  0.0;
17526                   offset:   4    4;
17527                }
17528                rel2 {
17529                   relative: 0.0  1.0;
17530                   offset:   4   -5;
17531                }
17532             }
17533          }
17534          part { name: "arrow";
17535             clip_to: "disclip";
17536             ignore_flags: ON_HOLD;
17537             description { state: "default" 0.0;
17538                fixed: 1 0;
17539                align: 0.0 0.5;
17540                aspect: 1.0 1.0;
17541                rel1 {
17542                   to_x: "elm.swallow.pad";
17543                   relative: 1.0  0.0;
17544                   offset:   -1    4;
17545                }
17546                rel2 {
17547                   to_x: "elm.swallow.pad";
17548                   relative: 1.0  1.0;
17549                   offset:   -1   -5;
17550                }
17551                image.normal: "icon_arrow_right.png";
17552             }
17553             description { state: "default" 0.1;
17554                inherit: "default" 0.0;
17555                image.normal: "icon_arrow_left.png";
17556             }
17557             description { state: "active" 0.0;
17558                inherit: "default" 0.0;
17559                image.normal: "icon_arrow_down.png";
17560             }
17561             description { state: "active" 0.1;
17562                inherit: "default" 0.0;
17563                image.normal: "icon_arrow_down.png";
17564             }
17565          }
17566          part { name: "elm.swallow.icon";
17567             clip_to: "disclip";
17568             type: SWALLOW;
17569             description { state: "default" 0.0;
17570                fixed: 1 0;
17571                align: 0.0 0.5;
17572                rel1 {
17573                   to_x: "arrow";
17574                   relative: 1.0  0.0;
17575                   offset:   4    4;
17576                }
17577                rel2 {
17578                   to_x: "arrow";
17579                   relative: 1.0  1.0;
17580                   offset:   4   -5;
17581                }
17582             }
17583          }
17584          part { name: "elm.swallow.end";
17585             clip_to: "disclip";
17586             type: SWALLOW;
17587             description { state: "default" 0.0;
17588                fixed: 1 0;
17589                align: 1.0 0.5;
17590                aspect: 1.0 1.0;
17591                aspect_preference: VERTICAL;
17592                rel1 {
17593                   relative: 1.0  0.0;
17594                   offset:   -5    4;
17595                }
17596                rel2 {
17597                   relative: 1.0  1.0;
17598                   offset:   -5   -5;
17599                }
17600             }
17601          }
17602          part { name: "elm.text";
17603             clip_to: "disclip";
17604             type:           TEXT;
17605             effect:         SOFT_SHADOW;
17606             mouse_events:   0;
17607             scale: 1;
17608             description {
17609                state: "default" 0.0;
17610 //               min: 16 16;
17611                rel1 {
17612                   to_x:     "elm.swallow.icon";
17613                   relative: 1.0  0.0;
17614                   offset:   0 4;
17615                }
17616                rel2 {
17617                   to_x:     "elm.swallow.end";
17618                   relative: 0.0  1.0;
17619                   offset:   -1 -5;
17620                }
17621                color: 0 0 0 255;
17622                color3: 0 0 0 0;
17623                text {
17624                   font: "Sans";
17625                   size: 10;
17626 //                  min: 1 1;
17627                   min: 0 1;
17628                   align: 0.0 0.5;
17629                   text_class: "list_item";
17630                }
17631             }
17632             description { state: "selected" 0.0;
17633                inherit: "default" 0.0;
17634                color: 224 224 224 255;
17635                color3: 0 0 0 64;
17636             }
17637          }
17638          part { name: "fg1";
17639             clip_to: "disclip";
17640             mouse_events: 0;
17641             description { state: "default" 0.0;
17642                visible: 0;
17643                color: 255 255 255 0;
17644                rel1.to: "bg";
17645                rel2.relative: 1.0 0.5;
17646                rel2.to: "bg";
17647                image {
17648                   normal: "bt_sm_hilight.png";
17649                   border: 6 6 6 0;
17650                }
17651             }
17652             description { state: "selected" 0.0;
17653                inherit: "default" 0.0;
17654                visible: 1;
17655                color: 255 255 255 255;
17656             }
17657          }
17658          part { name: "fg2";
17659             clip_to: "disclip";
17660             mouse_events: 0;
17661             description { state: "default" 0.0;
17662                visible: 0;
17663                color: 255 255 255 0;
17664                rel1.to: "bg";
17665                rel2.to: "bg";
17666                image {
17667                   normal: "bt_sm_shine.png";
17668                   border: 6 6 6 0;
17669                }
17670             }
17671             description { state: "selected" 0.0;
17672                inherit: "default" 0.0;
17673                visible: 1;
17674                color: 255 255 255 255;
17675             }
17676          }
17677          part { name: "disclip";
17678             type: RECT;
17679             description { state: "default" 0.0;
17680                rel1.to: "bg";
17681                rel2.to: "bg";
17682             }
17683             description { state: "disabled" 0.0;
17684                inherit: "default" 0.0;
17685                color: 255 255 255 64;
17686             }
17687          }
17688       }
17689       programs {
17690          // signal: elm,state,%s,active
17691          //   a "check" item named %s went active
17692          // signal: elm,state,%s,passive
17693          //   a "check" item named %s went passive
17694          // default is passive
17695          program {
17696             name:    "odd";
17697             signal:  "elm,state,odd";
17698             source:  "elm";
17699             action:  STATE_SET "default" 1.0;
17700             target:  "base_sh";
17701             target:  "base";
17702          }
17703          program {
17704             name:    "even";
17705             signal:  "elm,state,even";
17706             source:  "elm";
17707             action:  STATE_SET "default" 0.0;
17708             target:  "base_sh";
17709             target:  "base";
17710          }
17711          program {
17712             name:    "go_active";
17713             signal:  "elm,state,selected";
17714             source:  "elm";
17715             action:  STATE_SET "selected" 0.0;
17716             target:  "bg";
17717             target:  "fg1";
17718             target:  "fg2";
17719             target:  "elm.text";
17720          }
17721          program {
17722             name:    "go_passive";
17723             signal:  "elm,state,unselected";
17724             source:  "elm";
17725             action:  STATE_SET "default" 0.0;
17726             target:  "bg";
17727             target:  "fg1";
17728             target:  "fg2";
17729             target:  "elm.text";
17730             transition: LINEAR 0.1;
17731          }
17732          program {
17733             name:    "go_disabled";
17734             signal:  "elm,state,disabled";
17735             source:  "elm";
17736             action:  STATE_SET "disabled" 0.0;
17737             target:  "disclip";
17738          }
17739          program {
17740             name:    "go_enabled";
17741             signal:  "elm,state,enabled";
17742             source:  "elm";
17743             action:  STATE_SET "default" 0.0;
17744             target:  "disclip";
17745          }
17746          program {
17747             name:    "expand";
17748             signal:  "mouse,up,1";
17749             source:  "arrow";
17750             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
17751          }
17752          program {
17753             name:    "go_expanded";
17754             signal:  "elm,state,expanded";
17755             source:  "elm";
17756             script {
17757                new st[31];
17758                new Float:vl;
17759                get_state(PART:"arrow", st, 30, vl);
17760                set_state(PART:"arrow", "active", vl);
17761             }
17762          }
17763          program {
17764             name:    "go_contracted";
17765             signal:  "elm,state,contracted";
17766             source:  "elm";
17767             script {
17768                new st[31];
17769                new Float:vl;
17770                get_state(PART:"arrow", st, 30, vl);
17771                set_state(PART:"arrow", "default", vl);
17772             }
17773          }
17774          program { name: "to_rtl";
17775             signal: "edje,state,rtl";
17776             source: "edje";
17777             script {
17778                new st[31];
17779                new Float:vl;
17780                get_state(PART:"arrow", st, 30, vl);
17781                if (vl == 0.0) {
17782                   set_state(PART:"arrow", st, 0.1);
17783                }
17784             }
17785          }
17786          program { name: "to_ltr";
17787             signal: "edje,state,ltr";
17788             source: "edje";
17789             script {
17790                new st[31];
17791                new Float:vl;
17792                get_state(PART:"arrow", st, 30, vl);
17793                if (vl == 0.1) {
17794                   set_state(PART:"arrow", st, 0.0);
17795                }
17796             }
17797          }
17798       }
17799    }
17800    group { name: "elm/genlist/item/default_style/default";
17801        styles
17802        {
17803            style { name: "genlist_style";
17804                base: "font=Sans font_size=10 align=left valign=0.5 color=#000 text_class=list_item";
17805                tag:  "br" "\n";
17806                tag:  "ps" "ps";
17807                tag:  "hilight" "+ font=Sans:style=Bold";
17808                tag:  "b" "+ font=Sans:style=Bold";
17809                tag:  "tab" "\t";
17810            }
17811            style { name: "genlist_selected_style";
17812                base: "font=Sans font_size=10 align=left valign=0.5 color=#fff text_class=list_item";
17813                tag:  "br" "\n";
17814                tag:  "ps" "ps";
17815                tag:  "hilight" "+ font=Sans:style=Bold";
17816                tag:  "b" "+ font=Sans:style=Bold";
17817                tag:  "tab" "\t";
17818            }
17819        }
17820        data.item: "stacking" "above";
17821        data.item: "selectraise" "on";
17822        data.item: "labels" "elm.text";
17823        data.item: "icons" "elm.swallow.icon elm.swallow.end";
17824        data.item: "treesize" "20";
17825        images {
17826            image: "bt_sm_base1.png" COMP;
17827            image: "bt_sm_shine.png" COMP;
17828            image: "bt_sm_hilight.png" COMP;
17829            image: "ilist_1.png" COMP;
17830            image: "ilist_item_shadow.png" COMP;
17831        }
17832        parts {
17833            part {
17834                name:           "event";
17835                type:           RECT;
17836                repeat_events: 1;
17837                description {
17838                    state: "default" 0.0;
17839                    color: 0 0 0 0;
17840                }
17841            }
17842            part {
17843                name: "base_sh";
17844                mouse_events: 0;
17845                description {
17846                    state: "default" 0.0;
17847                    align: 0.0 0.0;
17848                    min: 0 10;
17849                    fixed: 1 1;
17850                    rel1 {
17851                        to: "base";
17852                        relative: 0.0 1.0;
17853                        offset: 0 0;
17854                    }
17855                    rel2 {
17856                        to: "base";
17857                        relative: 1.0 1.0;
17858                        offset: -1 0;
17859                    }
17860                    image {
17861                        normal: "ilist_item_shadow.png";
17862                    }
17863                    fill.smooth: 0;
17864                }
17865            }
17866            part {
17867                name: "base";
17868                mouse_events: 0;
17869                description {
17870                    state: "default" 0.0;
17871                    min: 16 28;
17872                    image {
17873                        normal: "ilist_1.png";
17874                        border: 2 2 2 2;
17875                    }
17876                    fill.smooth: 0;
17877                }
17878            }
17879            part { name: "bg";
17880                clip_to: "disclip";
17881                mouse_events: 0;
17882                description { state: "default" 0.0;
17883                    visible: 0;
17884                    color: 255 255 255 0;
17885                    rel1 {
17886                        relative: 0.0 0.0;
17887                        offset: -5 -5;
17888                    }
17889                    rel2 {
17890                        relative: 1.0 1.0;
17891                        offset: 4 4;
17892                    }
17893                    image {
17894                        normal: "bt_sm_base1.png";
17895                        border: 6 6 6 6;
17896                    }
17897                    image.middle: SOLID;
17898                }
17899                description { state: "selected" 0.0;
17900                    inherit: "default" 0.0;
17901                    visible: 1;
17902                    color: 255 255 255 255;
17903                    rel1 {
17904                        relative: 0.0 0.0;
17905                        offset: -2 -2;
17906                    }
17907                    rel2 {
17908                        relative: 1.0 1.0;
17909                        offset: 1 1;
17910                    }
17911                }
17912            }
17913            part { name: "elm.swallow.pad";
17914                type: SWALLOW;
17915                description { state: "default" 0.0;
17916                    fixed: 1 0;
17917                    align: 0.0 0.5;
17918                    rel1 {
17919                        relative: 0.0  0.0;
17920                        offset:   4    4;
17921                    }
17922                    rel2 {
17923                        relative: 0.0  1.0;
17924                        offset:   4   -5;
17925                    }
17926                }
17927            }
17928            part { name: "elm.swallow.icon";
17929                clip_to: "disclip";
17930                type: SWALLOW;
17931                description { state: "default" 0.0;
17932                    fixed: 1 0;
17933                    align: 0.0 0.5;
17934                    rel1 {
17935                        to_x: "elm.swallow.pad";
17936                        relative: 1.0  0.0;
17937                        offset:   -1    4;
17938                    }
17939                    rel2 {
17940                        to_x: "elm.swallow.pad";
17941                        relative: 1.0  1.0;
17942                        offset:   -1   -5;
17943                    }
17944                }
17945            }
17946            part { name: "elm.swallow.end";
17947                clip_to: "disclip";
17948                type: SWALLOW;
17949                description { state: "default" 0.0;
17950                    fixed: 1 0;
17951                    align: 1.0 0.5;
17952                    aspect: 1.0 1.0;
17953                    aspect_preference: VERTICAL;
17954                    rel1 {
17955                        relative: 1.0  0.0;
17956                        offset:   -5    4;
17957                    }
17958                    rel2 {
17959                        relative: 1.0  1.0;
17960                        offset:   -5   -5;
17961                    }
17962                }
17963            }
17964            part { name: "elm.text";
17965                clip_to: "disclip";
17966                type: TEXTBLOCK;
17967                mouse_events: 0;
17968                scale: 1;
17969                description {
17970                    state: "default" 0.0;
17971                    align: 0.0 0.5;
17972                    fixed: 0 1;
17973                    rel1 {
17974                        to_x: "elm.swallow.icon";
17975                        to_y: "base";
17976                        relative: 1.0  0.5;
17977                        offset:   0 4;
17978                    }
17979                    rel2 {
17980                        to_x: "elm.swallow.end";
17981                        to_y: "base";
17982                        relative: 0.0  0.5;
17983                        offset:   -1 -5;
17984                    }
17985                    text {
17986                        style: "genlist_style";
17987                        min: 1 1;
17988                    }
17989                }
17990                description { state: "selected" 0.0;
17991                    inherit: "default" 0.0;
17992                    text {
17993                        style: "genlist_selected_style";
17994                    }
17995                }
17996            }
17997            part { name: "fg1";
17998                clip_to: "disclip";
17999                mouse_events: 0;
18000                description { state: "default" 0.0;
18001                    visible: 0;
18002                    color: 255 255 255 0;
18003                    rel1.to: "bg";
18004                    rel2.relative: 1.0 0.5;
18005                    rel2.to: "bg";
18006                    image {
18007                        normal: "bt_sm_hilight.png";
18008                        border: 6 6 6 0;
18009                    }
18010                }
18011                description { state: "selected" 0.0;
18012                    inherit: "default" 0.0;
18013                    visible: 1;
18014                    color: 255 255 255 255;
18015                }
18016            }
18017            part { name: "fg2";
18018                clip_to: "disclip";
18019                mouse_events: 0;
18020                description { state: "default" 0.0;
18021                    visible: 0;
18022                    color: 255 255 255 0;
18023                    rel1.to: "bg";
18024                    rel2.to: "bg";
18025                    image {
18026                        normal: "bt_sm_shine.png";
18027                        border: 6 6 6 0;
18028                    }
18029                }
18030                description { state: "selected" 0.0;
18031                    inherit: "default" 0.0;
18032                    visible: 1;
18033                    color: 255 255 255 255;
18034                }
18035            }
18036            part { name: "disclip";
18037                type: RECT;
18038                description { state: "default" 0.0;
18039                    rel1.to: "bg";
18040                    rel2.to: "bg";
18041                }
18042                description { state: "disabled" 0.0;
18043                    inherit: "default" 0.0;
18044                    color: 255 255 255 64;
18045                }
18046            }
18047        }
18048        programs {
18049            // signal: elm,state,%s,active
18050            //   a "check" item named %s went active
18051            // signal: elm,state,%s,passive
18052            //   a "check" item named %s went passive
18053            // default is passive
18054            program {
18055                name:    "go_active";
18056                signal:  "elm,state,selected";
18057                source:  "elm";
18058                action:  STATE_SET "selected" 0.0;
18059                target:  "bg";
18060                target:  "fg1";
18061                target:  "fg2";
18062                target:  "elm.text";
18063            }
18064            program {
18065                name:    "go_passive";
18066                signal:  "elm,state,unselected";
18067                source:  "elm";
18068                action:  STATE_SET "default" 0.0;
18069                target:  "bg";
18070                target:  "fg1";
18071                target:  "fg2";
18072                target:  "elm.text";
18073                transition: LINEAR 0.1;
18074            }
18075            program {
18076                name:    "go_disabled";
18077                signal:  "elm,state,disabled";
18078                source:  "elm";
18079                action:  STATE_SET "disabled" 0.0;
18080                target:  "disclip";
18081            }
18082            program {
18083                name:    "go_enabled";
18084                signal:  "elm,state,enabled";
18085                source:  "elm";
18086                action:  STATE_SET "default" 0.0;
18087                target:  "disclip";
18088            }
18089        }
18090    }
18091    group { name: "elm/genlist/item_odd/default_style/default";
18092        data.item: "stacking" "below";
18093        data.item: "selectraise" "on";
18094        data.item: "labels" "elm.text";
18095        data.item: "icons" "elm.swallow.icon elm.swallow.end";
18096        data.item: "treesize" "20";
18097        images {
18098            image: "bt_sm_base1.png" COMP;
18099            image: "bt_sm_shine.png" COMP;
18100            image: "bt_sm_hilight.png" COMP;
18101            image: "ilist_2.png" COMP;
18102        }
18103        parts {
18104            part { name: "event";
18105                type: RECT;
18106                repeat_events: 1;
18107                description {
18108                    state: "default" 0.0;
18109                    color: 0 0 0 0;
18110                }
18111            }
18112            part {
18113                name: "base";
18114                mouse_events: 0;
18115                description {
18116                    state: "default" 0.0;
18117                    min: 16 28;
18118                    image {
18119                        normal: "ilist_2.png";
18120                        border: 2 2 2 2;
18121                    }
18122                    fill.smooth: 0;
18123                }
18124            }
18125            part { name: "bg";
18126                clip_to: "disclip";
18127                mouse_events: 0;
18128                description { state: "default" 0.0;
18129                    visible: 0;
18130                    color: 255 255 255 0;
18131                    rel1 {
18132                        relative: 0.0 0.0;
18133                        offset: -5 -5;
18134                    }
18135                    rel2 {
18136                        relative: 1.0 1.0;
18137                        offset: 4 4;
18138                    }
18139                    image {
18140                        normal: "bt_sm_base1.png";
18141                        border: 6 6 6 6;
18142                    }
18143                    image.middle: SOLID;
18144                }
18145                description { state: "selected" 0.0;
18146                    inherit: "default" 0.0;
18147                    visible: 1;
18148                    color: 255 255 255 255;
18149                    rel1 {
18150                        relative: 0.0 0.0;
18151                        offset: -2 -2;
18152                    }
18153                    rel2 {
18154                        relative: 1.0 1.0;
18155                        offset: 1 1;
18156                    }
18157                }
18158            }
18159            part { name: "elm.swallow.pad";
18160                type: SWALLOW;
18161                description { state: "default" 0.0;
18162                    fixed: 1 0;
18163                    align: 0.0 0.5;
18164                    rel1 {
18165                        relative: 0.0  0.0;
18166                        offset:   4    4;
18167                    }
18168                    rel2 {
18169                        relative: 0.0  1.0;
18170                        offset:   4   -5;
18171                    }
18172                }
18173            }
18174            part { name: "elm.swallow.icon";
18175                clip_to: "disclip";
18176                type: SWALLOW;
18177                description { state: "default" 0.0;
18178                    fixed: 1 0;
18179                    align: 0.0 0.5;
18180                    rel1 {
18181                        to_x: "elm.swallow.pad";
18182                        relative: 1.0  0.0;
18183                        offset:   -1    4;
18184                    }
18185                    rel2 {
18186                        to_x: "elm.swallow.pad";
18187                        relative: 1.0  1.0;
18188                        offset:   -1   -5;
18189                    }
18190                }
18191            }
18192            part { name: "elm.swallow.end";
18193                clip_to: "disclip";
18194                type:          SWALLOW;
18195                description { state:    "default" 0.0;
18196                    fixed: 1 0;
18197                    align:    1.0 0.5;
18198                    aspect: 1.0 1.0;
18199                    aspect_preference: VERTICAL;
18200                    rel1 {
18201                        relative: 1.0  0.0;
18202                        offset:   -5    4;
18203                    }
18204                    rel2 {
18205                        relative: 1.0  1.0;
18206                        offset:   -5   -5;
18207                    }
18208                }
18209            }
18210            part { name: "elm.text";
18211                clip_to: "disclip";
18212                type:           TEXTBLOCK;
18213                mouse_events:   0;
18214                scale: 1;
18215                description {
18216                    state: "default" 0.0;
18217                    align: 0.0 0.5;
18218                    fixed: 0 1;
18219                    rel1 {
18220                        to_x: "elm.swallow.icon";
18221                        to_y: "base";
18222                        relative: 1.0  0.5;
18223                        offset:   0 4;
18224                    }
18225                    rel2 {
18226                        to_x: "elm.swallow.end";
18227                        to_y: "base";
18228                        relative: 0.0  0.5;
18229                        offset:   -1 -5;
18230                    }
18231                    text {
18232                        style: "genlist_style";
18233                        min: 1 1;
18234                    }
18235                }
18236                description { state: "selected" 0.0;
18237                    inherit: "default" 0.0;
18238                    text {
18239                        style: "genlist_selected_style";
18240                    }
18241                }
18242            }
18243            part { name: "fg1";
18244                clip_to: "disclip";
18245                mouse_events: 0;
18246                description { state: "default" 0.0;
18247                    visible: 0;
18248                    color: 255 255 255 0;
18249                    rel1.to: "bg";
18250                    rel2.relative: 1.0 0.5;
18251                    rel2.to: "bg";
18252                    image {
18253                        normal: "bt_sm_hilight.png";
18254                        border: 6 6 6 0;
18255                    }
18256                }
18257                description { state: "selected" 0.0;
18258                    inherit: "default" 0.0;
18259                    visible: 1;
18260                    color: 255 255 255 255;
18261                }
18262            }
18263            part { name: "fg2";
18264                clip_to: "disclip";
18265                mouse_events: 0;
18266                description { state: "default" 0.0;
18267                    visible: 0;
18268                    color: 255 255 255 0;
18269                    rel1.to: "bg";
18270                    rel2.to: "bg";
18271                    image {
18272                        normal: "bt_sm_shine.png";
18273                        border: 6 6 6 0;
18274                    }
18275                }
18276                description { state: "selected" 0.0;
18277                    inherit: "default" 0.0;
18278                    visible: 1;
18279                    color: 255 255 255 255;
18280                }
18281            }
18282            part { name: "disclip";
18283                type: RECT;
18284                description { state: "default" 0.0;
18285                    rel1.to: "bg";
18286                    rel2.to: "bg";
18287                }
18288                description { state: "disabled" 0.0;
18289                    inherit: "default" 0.0;
18290                    color: 255 255 255 64;
18291                }
18292            }
18293        }
18294        programs {
18295            // signal: elm,state,%s,active
18296            //   a "check" item named %s went active
18297            // signal: elm,state,%s,passive
18298            //   a "check" item named %s went passive
18299            // default is passive
18300            program {
18301                name:    "go_active";
18302                signal:  "elm,state,selected";
18303                source:  "elm";
18304                action:  STATE_SET "selected" 0.0;
18305                target:  "bg";
18306                target:  "fg1";
18307                target:  "fg2";
18308                target:  "elm.text";
18309            }
18310            program {
18311                name:    "go_passive";
18312                signal:  "elm,state,unselected";
18313                source:  "elm";
18314                action:  STATE_SET "default" 0.0;
18315                target:  "bg";
18316                target:  "fg1";
18317                target:  "fg2";
18318                target:  "elm.text";
18319                transition: LINEAR 0.1;
18320            }
18321            program {
18322                name:    "go_disabled";
18323                signal:  "elm,state,disabled";
18324                source:  "elm";
18325                action:  STATE_SET "disabled" 0.0;
18326                target:  "disclip";
18327            }
18328            program {
18329                name:    "go_enabled";
18330                signal:  "elm,state,enabled";
18331                source:  "elm";
18332                action:  STATE_SET "default" 0.0;
18333                target:  "disclip";
18334            }
18335        }
18336    }
18337
18338    group { name: "elm/genlist/tree/default_style/default";
18339        data.item: "stacking" "above";
18340        data.item: "selectraise" "on";
18341        data.item: "labels" "elm.text";
18342        data.item: "icons" "elm.swallow.icon elm.swallow.end";
18343        data.item: "treesize" "20";
18344        images {
18345            image: "bt_sm_base1.png" COMP;
18346            image: "bt_sm_shine.png" COMP;
18347            image: "bt_sm_hilight.png" COMP;
18348            image: "ilist_1.png" COMP;
18349            image: "ilist_item_shadow.png" COMP;
18350            image: "icon_arrow_right.png" COMP;
18351            image: "icon_arrow_down.png" COMP;
18352        }
18353        parts {
18354            part {
18355                name:           "event";
18356                type:           RECT;
18357                repeat_events: 1;
18358                description {
18359                    state: "default" 0.0;
18360                    color: 0 0 0 0;
18361                }
18362            }
18363            part {
18364                name: "base_sh";
18365                mouse_events: 0;
18366                description {
18367                    state: "default" 0.0;
18368                    align: 0.0 0.0;
18369                    min: 0 10;
18370                    fixed: 1 1;
18371                    rel1 {
18372                        to: "base";
18373                        relative: 0.0 1.0;
18374                        offset: 0 0;
18375                    }
18376                    rel2 {
18377                        to: "base";
18378                        relative: 1.0 1.0;
18379                        offset: -1 0;
18380                    }
18381                    image {
18382                        normal: "ilist_item_shadow.png";
18383                    }
18384                    fill.smooth: 0;
18385                }
18386            }
18387            part {
18388                name: "base";
18389                mouse_events: 0;
18390                description {
18391                    state: "default" 0.0;
18392                    min: 16 28;
18393                    image {
18394                        normal: "ilist_1.png";
18395                        border: 2 2 2 2;
18396                    }
18397                    fill.smooth: 0;
18398                }
18399            }
18400            part { name: "bg";
18401                clip_to: "disclip";
18402                mouse_events: 0;
18403                description { state: "default" 0.0;
18404                    visible: 0;
18405                    color: 255 255 255 0;
18406                    rel1 {
18407                        relative: 0.0 0.0;
18408                        offset: -5 -5;
18409                    }
18410                    rel2 {
18411                        relative: 1.0 1.0;
18412                        offset: 4 4;
18413                    }
18414                    image {
18415                        normal: "bt_sm_base1.png";
18416                        border: 6 6 6 6;
18417                    }
18418                    image.middle: SOLID;
18419                }
18420                description { state: "selected" 0.0;
18421                    inherit: "default" 0.0;
18422                    visible: 1;
18423                    color: 255 255 255 255;
18424                    rel1 {
18425                        relative: 0.0 0.0;
18426                        offset: -2 -2;
18427                    }
18428                    rel2 {
18429                        relative: 1.0 1.0;
18430                        offset: 1 1;
18431                    }
18432                }
18433            }
18434            part { name: "elm.swallow.pad";
18435                type: SWALLOW;
18436                description { state: "default" 0.0;
18437                    fixed: 1 0;
18438                    align: 0.0 0.5;
18439                    rel1 {
18440                        relative: 0.0  0.0;
18441                        offset:   4    4;
18442                    }
18443                    rel2 {
18444                        relative: 0.0  1.0;
18445                        offset:   4   -5;
18446                    }
18447                }
18448            }
18449            part { name: "arrow";
18450                clip_to: "disclip";
18451                ignore_flags: ON_HOLD;
18452                description { state: "default" 0.0;
18453                    fixed: 1 0;
18454                    align: 0.0 0.5;
18455                    aspect: 1.0 1.0;
18456                    rel1 {
18457                        to_x: "elm.swallow.pad";
18458                        relative: 1.0  0.0;
18459                        offset:   -1    4;
18460                    }
18461                    rel2 {
18462                        to_x: "elm.swallow.pad";
18463                        relative: 1.0  1.0;
18464                        offset:   -1   -5;
18465                    }
18466                    image.normal: "icon_arrow_right.png";
18467                }
18468                description { state: "active" 0.0;
18469                    inherit: "default" 0.0;
18470                    image.normal: "icon_arrow_down.png";
18471                }
18472            }
18473            part { name: "elm.swallow.icon";
18474                clip_to: "disclip";
18475                type: SWALLOW;
18476                description { state: "default" 0.0;
18477                    fixed: 1 0;
18478                    align: 0.0 0.5;
18479                    rel1 {
18480                        to_x: "arrow";
18481                        relative: 1.0  0.0;
18482                        offset:   4    4;
18483                    }
18484                    rel2 {
18485                        to_x: "arrow";
18486                        relative: 1.0  1.0;
18487                        offset:   4   -5;
18488                    }
18489                }
18490            }
18491            part { name: "elm.swallow.end";
18492                clip_to: "disclip";
18493                type: SWALLOW;
18494                description { state: "default" 0.0;
18495                    fixed: 1 0;
18496                    align: 1.0 0.5;
18497                    aspect: 1.0 1.0;
18498                    aspect_preference: VERTICAL;
18499                    rel1 {
18500                        relative: 1.0  0.0;
18501                        offset:   -5    4;
18502                    }
18503                    rel2 {
18504                        relative: 1.0  1.0;
18505                        offset:   -5   -5;
18506                    }
18507                }
18508            }
18509            part { name: "elm.text";
18510                clip_to: "disclip";
18511                type:           TEXTBLOCK;
18512                effect:         SOFT_SHADOW;
18513                mouse_events:   0;
18514                scale: 1;
18515                description {
18516                    state: "default" 0.0;
18517                    align: 0.0 0.5;
18518                    fixed: 0 1;
18519                    rel1 {
18520                        to_x:     "elm.swallow.icon";
18521                        to_y: "base";
18522                        relative: 1.0  0.5;
18523                        offset:   0 4;
18524                    }
18525                    rel2 {
18526                        to_x:     "elm.swallow.end";
18527                        to_y: "base";
18528                        relative: 0.0  0.5;
18529                        offset:   -1 -5;
18530                    }
18531                    text {
18532                        style: "genlist_style";
18533                        min: 1 1;
18534                    }
18535                }
18536                description { state: "selected" 0.0;
18537                    inherit: "default" 0.0;
18538                    text {
18539                        style: "genlist_selected_style";
18540                    }
18541                }
18542            }
18543            part { name: "fg1";
18544                clip_to: "disclip";
18545                mouse_events: 0;
18546                description { state: "default" 0.0;
18547                    visible: 0;
18548                    color: 255 255 255 0;
18549                    rel1.to: "bg";
18550                    rel2.relative: 1.0 0.5;
18551                    rel2.to: "bg";
18552                    image {
18553                        normal: "bt_sm_hilight.png";
18554                        border: 6 6 6 0;
18555                    }
18556                }
18557                description { state: "selected" 0.0;
18558                    inherit: "default" 0.0;
18559                    visible: 1;
18560                    color: 255 255 255 255;
18561                }
18562            }
18563            part { name: "fg2";
18564                clip_to: "disclip";
18565                mouse_events: 0;
18566                description { state: "default" 0.0;
18567                    visible: 0;
18568                    color: 255 255 255 0;
18569                    rel1.to: "bg";
18570                    rel2.to: "bg";
18571                    image {
18572                        normal: "bt_sm_shine.png";
18573                        border: 6 6 6 0;
18574                    }
18575                }
18576                description { state: "selected" 0.0;
18577                    inherit: "default" 0.0;
18578                    visible: 1;
18579                    color: 255 255 255 255;
18580                }
18581            }
18582            part { name: "disclip";
18583                type: RECT;
18584                description { state: "default" 0.0;
18585                    rel1.to: "bg";
18586                    rel2.to: "bg";
18587                }
18588                description { state: "disabled" 0.0;
18589                    inherit: "default" 0.0;
18590                    color: 255 255 255 64;
18591                }
18592            }
18593        }
18594        programs {
18595            // signal: elm,state,%s,active
18596            //   a "check" item named %s went active
18597            // signal: elm,state,%s,passive
18598            //   a "check" item named %s went passive
18599            // default is passive
18600            program {
18601                name:    "go_active";
18602                signal:  "elm,state,selected";
18603                source:  "elm";
18604                action:  STATE_SET "selected" 0.0;
18605                target:  "bg";
18606                target:  "fg1";
18607                target:  "fg2";
18608                target:  "elm.text";
18609            }
18610            program {
18611                name:    "go_passive";
18612                signal:  "elm,state,unselected";
18613                source:  "elm";
18614                action:  STATE_SET "default" 0.0;
18615                target:  "bg";
18616                target:  "fg1";
18617                target:  "fg2";
18618                target:  "elm.text";
18619                transition: LINEAR 0.1;
18620            }
18621            program {
18622                name:    "go_disabled";
18623                signal:  "elm,state,disabled";
18624                source:  "elm";
18625                action:  STATE_SET "disabled" 0.0;
18626                target:  "disclip";
18627            }
18628            program {
18629                name:    "go_enabled";
18630                signal:  "elm,state,enabled";
18631                source:  "elm";
18632                action:  STATE_SET "default" 0.0;
18633                target:  "disclip";
18634            }
18635            program {
18636                name:    "expand";
18637                signal:  "mouse,up,1";
18638                source:  "arrow";
18639                action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
18640            }
18641            program {
18642                name:    "go_expanded";
18643                signal:  "elm,state,expanded";
18644                source:  "elm";
18645                action:  STATE_SET "active" 0.0;
18646                target:  "arrow";
18647            }
18648            program {
18649                name:    "go_contracted";
18650                signal:  "elm,state,contracted";
18651                source:  "elm";
18652                action:  STATE_SET "default" 0.0;
18653                target:  "arrow";
18654            }
18655        }
18656    }
18657    group { name: "elm/genlist/tree_odd/default_style/default";
18658        data.item: "stacking" "below";
18659        data.item: "selectraise" "on";
18660        data.item: "labels" "elm.text";
18661        data.item: "icons" "elm.swallow.icon elm.swallow.end";
18662        data.item: "treesize" "20";
18663        images {
18664            image: "bt_sm_base1.png" COMP;
18665            image: "bt_sm_shine.png" COMP;
18666            image: "bt_sm_hilight.png" COMP;
18667            image: "ilist_2.png" COMP;
18668            image: "icon_arrow_right.png" COMP;
18669            image: "icon_arrow_down.png" COMP;
18670        }
18671        parts {
18672            part {
18673                name:           "event";
18674                type:           RECT;
18675                repeat_events: 1;
18676                description {
18677                    state: "default" 0.0;
18678                    color: 0 0 0 0;
18679                }
18680            }
18681            part {
18682                name: "base";
18683                mouse_events: 0;
18684                description {
18685                    state: "default" 0.0;
18686                    min: 16 28;
18687                    image {
18688                        normal: "ilist_2.png";
18689                        border: 2 2 2 2;
18690                    }
18691                    fill.smooth: 0;
18692                }
18693            }
18694            part { name: "bg";
18695                clip_to: "disclip";
18696                mouse_events: 0;
18697                description { state: "default" 0.0;
18698                    visible: 0;
18699                    color: 255 255 255 0;
18700                    rel1 {
18701                        relative: 0.0 0.0;
18702                        offset: -5 -5;
18703                    }
18704                    rel2 {
18705                        relative: 1.0 1.0;
18706                        offset: 4 4;
18707                    }
18708                    image {
18709                        normal: "bt_sm_base1.png";
18710                        border: 6 6 6 6;
18711                    }
18712                    image.middle: SOLID;
18713                }
18714                description { state: "selected" 0.0;
18715                    inherit: "default" 0.0;
18716                    visible: 1;
18717                    color: 255 255 255 255;
18718                    rel1 {
18719                        relative: 0.0 0.0;
18720                        offset: -2 -2;
18721                    }
18722                    rel2 {
18723                        relative: 1.0 1.0;
18724                        offset: 1 1;
18725                    }
18726                }
18727            }
18728            part { name: "elm.swallow.pad";
18729                type: SWALLOW;
18730                description { state: "default" 0.0;
18731                    fixed: 1 0;
18732                    align: 0.0 0.5;
18733                    rel1 {
18734                        relative: 0.0  0.0;
18735                        offset:   4    4;
18736                    }
18737                    rel2 {
18738                        relative: 0.0  1.0;
18739                        offset:   4   -5;
18740                    }
18741                }
18742            }
18743            part { name: "arrow";
18744                clip_to: "disclip";
18745                ignore_flags: ON_HOLD;
18746                description { state: "default" 0.0;
18747                    fixed: 1 0;
18748                    align: 0.0 0.5;
18749                    aspect: 1.0 1.0;
18750                    rel1 {
18751                        to_x: "elm.swallow.pad";
18752                        relative: 1.0  0.0;
18753                        offset:   -1    4;
18754                    }
18755                    rel2 {
18756                        to_x: "elm.swallow.pad";
18757                        relative: 1.0  1.0;
18758                        offset:   -1   -5;
18759                    }
18760                    image.normal: "icon_arrow_right.png";
18761                }
18762                description { state: "active" 0.0;
18763                    inherit: "default" 0.0;
18764                    image.normal: "icon_arrow_down.png";
18765                }
18766            }
18767            part { name: "elm.swallow.icon";
18768                clip_to: "disclip";
18769                type: SWALLOW;
18770                description { state: "default" 0.0;
18771                    fixed: 1 0;
18772                    align: 0.0 0.5;
18773                    rel1 {
18774                        to_x: "arrow";
18775                        relative: 1.0  0.0;
18776                        offset:   4    4;
18777                    }
18778                    rel2 {
18779                        to_x: "arrow";
18780                        relative: 1.0  1.0;
18781                        offset:   4   -5;
18782                    }
18783                }
18784            }
18785            part { name: "elm.swallow.end";
18786                clip_to: "disclip";
18787                type: SWALLOW;
18788                description { state: "default" 0.0;
18789                    fixed: 1 0;
18790                    align: 1.0 0.5;
18791                    aspect: 1.0 1.0;
18792                    aspect_preference: VERTICAL;
18793                    rel1 {
18794                        relative: 1.0  0.0;
18795                        offset:   -5    4;
18796                    }
18797                    rel2 {
18798                        relative: 1.0  1.0;
18799                        offset:   -5   -5;
18800                    }
18801                }
18802            }
18803            part { name: "elm.text";
18804                clip_to: "disclip";
18805                type:           TEXTBLOCK;
18806                effect:         SOFT_SHADOW;
18807                mouse_events:   0;
18808                scale: 1;
18809                description {
18810                    state: "default" 0.0;
18811                    align: 0.0 0.5;
18812                    fixed: 0 1;
18813                    rel1 {
18814                        to_x:     "elm.swallow.icon";
18815                        to_y: "base";
18816                        relative: 1.0  0.5;
18817                        offset:   0 4;
18818                    }
18819                    rel2 {
18820                        to_x:     "elm.swallow.end";
18821                        to_y: "base";
18822                        relative: 0.0  0.5;
18823                        offset:   -1 -5;
18824                    }
18825                    text {
18826                        style: "genlist_style";
18827                        min: 1 1;
18828                    }
18829                }
18830                description { state: "selected" 0.0;
18831                    inherit: "default" 0.0;
18832                    text {
18833                        style: "genlist_selected_style";
18834                    }
18835                }
18836            }
18837            part { name: "fg1";
18838                clip_to: "disclip";
18839                mouse_events: 0;
18840                description { state: "default" 0.0;
18841                    visible: 0;
18842                    color: 255 255 255 0;
18843                    rel1.to: "bg";
18844                    rel2.relative: 1.0 0.5;
18845                    rel2.to: "bg";
18846                    image {
18847                        normal: "bt_sm_hilight.png";
18848                        border: 6 6 6 0;
18849                    }
18850                }
18851                description { state: "selected" 0.0;
18852                    inherit: "default" 0.0;
18853                    visible: 1;
18854                    color: 255 255 255 255;
18855                }
18856            }
18857            part { name: "fg2";
18858                clip_to: "disclip";
18859                mouse_events: 0;
18860                description { state: "default" 0.0;
18861                    visible: 0;
18862                    color: 255 255 255 0;
18863                    rel1.to: "bg";
18864                    rel2.to: "bg";
18865                    image {
18866                        normal: "bt_sm_shine.png";
18867                        border: 6 6 6 0;
18868                    }
18869                }
18870                description { state: "selected" 0.0;
18871                    inherit: "default" 0.0;
18872                    visible: 1;
18873                    color: 255 255 255 255;
18874                }
18875            }
18876            part { name: "disclip";
18877                type: RECT;
18878                description { state: "default" 0.0;
18879                    rel1.to: "bg";
18880                    rel2.to: "bg";
18881                }
18882                description { state: "disabled" 0.0;
18883                    inherit: "default" 0.0;
18884                    color: 255 255 255 64;
18885                }
18886            }
18887        }
18888        programs {
18889            // signal: elm,state,%s,active
18890            //   a "check" item named %s went active
18891            // signal: elm,state,%s,passive
18892            //   a "check" item named %s went passive
18893            // default is passive
18894            program {
18895                name:    "go_active";
18896                signal:  "elm,state,selected";
18897                source:  "elm";
18898                action:  STATE_SET "selected" 0.0;
18899                target:  "bg";
18900                target:  "fg1";
18901                target:  "fg2";
18902                target:  "elm.text";
18903            }
18904            program {
18905                name:    "go_passive";
18906                signal:  "elm,state,unselected";
18907                source:  "elm";
18908                action:  STATE_SET "default" 0.0;
18909                target:  "bg";
18910                target:  "fg1";
18911                target:  "fg2";
18912                target:  "elm.text";
18913                transition: LINEAR 0.1;
18914            }
18915            program {
18916                name:    "go_disabled";
18917                signal:  "elm,state,disabled";
18918                source:  "elm";
18919                action:  STATE_SET "disabled" 0.0;
18920                target:  "disclip";
18921            }
18922            program {
18923                name:    "go_enabled";
18924                signal:  "elm,state,enabled";
18925                source:  "elm";
18926                action:  STATE_SET "default" 0.0;
18927                target:  "disclip";
18928            }
18929            program {
18930                name:    "expand";
18931                signal:  "mouse,up,1";
18932                source:  "arrow";
18933                action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
18934            }
18935            program {
18936                name:    "go_expanded";
18937                signal:  "elm,state,expanded";
18938                source:  "elm";
18939                action:  STATE_SET "active" 0.0;
18940                target:  "arrow";
18941            }
18942            program {
18943                name:    "go_contracted";
18944                signal:  "elm,state,contracted";
18945                source:  "elm";
18946                action:  STATE_SET "default" 0.0;
18947                target:  "arrow";
18948            }
18949        }
18950    }
18951
18952
18953    group { name: "elm/genlist/item/double_label/default";
18954       data.item: "stacking" "above";
18955       data.item: "selectraise" "on";
18956       data.item: "labels" "elm.text elm.text.sub";
18957       data.item: "icons" "elm.swallow.icon elm.swallow.end";
18958       data.item: "treesize" "20";
18959 //      data.item: "states" "";
18960       images {
18961          image: "bt_sm_base1.png" COMP;
18962          image: "bt_sm_shine.png" COMP;
18963          image: "bt_sm_hilight.png" COMP;
18964          image: "ilist_1.png" COMP;
18965          image: "ilist_item_shadow.png" COMP;
18966       }
18967       parts {
18968          part {
18969             name:           "event";
18970             type:           RECT;
18971             repeat_events: 1;
18972             description {
18973                state: "default" 0.0;
18974                color: 0 0 0 0;
18975             }
18976          }
18977          part {
18978             name: "base_sh";
18979             mouse_events: 0;
18980             description {
18981                state: "default" 0.0;
18982                align: 0.0 0.0;
18983                min: 0 10;
18984                fixed: 1 1;
18985                rel1 {
18986                   to: "base";
18987                   relative: 0.0 1.0;
18988                   offset: 0 0;
18989                }
18990                rel2 {
18991                   to: "base";
18992                   relative: 1.0 1.0;
18993                   offset: -1 0;
18994                }
18995                image {
18996                   normal: "ilist_item_shadow.png";
18997                }
18998                fill.smooth: 0;
18999             }
19000          }
19001          part {
19002             name: "base";
19003             mouse_events: 0;
19004             description {
19005                state: "default" 0.0;
19006                image {
19007                   normal: "ilist_1.png";
19008                   border: 2 2 2 2;
19009                }
19010                fill.smooth: 0;
19011             }
19012          }
19013          part { name: "bg";
19014             clip_to: "disclip";
19015             mouse_events: 0;
19016             description { state: "default" 0.0;
19017                visible: 0;
19018                color: 255 255 255 0;
19019                rel1 {
19020                   relative: 0.0 0.0;
19021                   offset: -5 -5;
19022                }
19023                rel2 {
19024                   relative: 1.0 1.0;
19025                   offset: 4 4;
19026                }
19027                image {
19028                   normal: "bt_sm_base1.png";
19029                   border: 6 6 6 6;
19030                }
19031                image.middle: SOLID;
19032             }
19033             description { state: "selected" 0.0;
19034                inherit: "default" 0.0;
19035                visible: 1;
19036                color: 255 255 255 255;
19037                rel1 {
19038                   relative: 0.0 0.0;
19039                   offset: -2 -2;
19040                }
19041                rel2 {
19042                   relative: 1.0 1.0;
19043                   offset: 1 1;
19044                }
19045             }
19046          }
19047          part { name: "elm.swallow.pad";
19048             type: SWALLOW;
19049             description { state: "default" 0.0;
19050                fixed: 1 0;
19051                align: 0.0 0.5;
19052                rel1 {
19053                   relative: 0.0  0.0;
19054                   offset:   4    4;
19055                }
19056                rel2 {
19057                   relative: 0.0  1.0;
19058                   offset:   4   -5;
19059                }
19060             }
19061          }
19062          part { name: "elm.swallow.icon";
19063             clip_to: "disclip";
19064             type: SWALLOW;
19065             description { state: "default" 0.0;
19066                fixed: 1 0;
19067                align: 0.0 0.5;
19068                rel1 {
19069                   to_x: "elm.swallow.pad";
19070                   relative: 1.0  0.0;
19071                   offset:   -1    4;
19072                }
19073                rel2 {
19074                   to_x: "elm.swallow.pad";
19075                   relative: 1.0  1.0;
19076                   offset:   -1   -5;
19077                }
19078             }
19079          }
19080          part { name: "elm.swallow.end";
19081             clip_to: "disclip";
19082             type: SWALLOW;
19083             description { state: "default" 0.0;
19084                fixed: 1 0;
19085                align: 1.0 0.5;
19086                aspect: 1.0 1.0;
19087                aspect_preference: VERTICAL;
19088                rel1 {
19089                   relative: 1.0  0.0;
19090                   offset:   -5    4;
19091                }
19092                rel2 {
19093                   relative: 1.0  1.0;
19094                   offset:   -5   -5;
19095                }
19096             }
19097          }
19098          part { name: "elm.text";
19099             clip_to: "disclip";
19100             type:           TEXT;
19101             effect:         SOFT_SHADOW;
19102             mouse_events:   0;
19103             scale: 1;
19104             description {
19105                state: "default" 0.0;
19106 //               min: 16 16;
19107                rel1 {
19108                   to_x:     "elm.swallow.icon";
19109                   relative: 1.0  0.0;
19110                   offset:   0 4;
19111                }
19112                rel2 {
19113                   to_x:     "elm.swallow.end";
19114                   relative: 0.0  0.5;
19115                   offset:   -1 -5;
19116                }
19117                color: 0 0 0 255;
19118                color3: 0 0 0 0;
19119                text {
19120                   font: "Sans";
19121                   size: 10;
19122                   min: 1 1;
19123 //                  min: 0 1;
19124                   align: 0.0 0.5;
19125                   text_class: "list_item";
19126                }
19127             }
19128             description { state: "selected" 0.0;
19129                inherit: "default" 0.0;
19130                color: 224 224 224 255;
19131                color3: 0 0 0 64;
19132             }
19133          }
19134          part { name: "elm.text.sub";
19135             clip_to: "disclip";
19136             type:           TEXT;
19137             mouse_events:   0;
19138             scale: 1;
19139             description {
19140                state: "default" 0.0;
19141 //               min: 16 16;
19142                rel1 {
19143                   to_x:     "elm.swallow.icon";
19144                   relative: 1.0  0.5;
19145                   offset:   0 4;
19146                }
19147                rel2 {
19148                   to_x:     "elm.swallow.end";
19149                   relative: 0.0  1.0;
19150                   offset:   -1 -5;
19151                }
19152                color: 0 0 0 128;
19153                color3: 0 0 0 0;
19154                text {
19155                   font: "Sans";
19156                   size: 8;
19157                   min: 1 1;
19158 //                  min: 0 1;
19159                   align: 0.0 0.5;
19160                   text_class: "list_item";
19161                }
19162             }
19163             description { state: "selected" 0.0;
19164                inherit: "default" 0.0;
19165                color: 128 128 128 255;
19166                color3: 0 0 0 32;
19167             }
19168          }
19169          part { name: "fg1";
19170             clip_to: "disclip";
19171             mouse_events: 0;
19172             description { state: "default" 0.0;
19173                visible: 0;
19174                color: 255 255 255 0;
19175                rel1.to: "bg";
19176                rel2.relative: 1.0 0.5;
19177                rel2.to: "bg";
19178                image {
19179                   normal: "bt_sm_hilight.png";
19180                   border: 6 6 6 0;
19181                }
19182             }
19183             description { state: "selected" 0.0;
19184                inherit: "default" 0.0;
19185                visible: 1;
19186                color: 255 255 255 255;
19187             }
19188          }
19189          part { name: "fg2";
19190             clip_to: "disclip";
19191             mouse_events: 0;
19192             description { state: "default" 0.0;
19193                visible: 0;
19194                color: 255 255 255 0;
19195                rel1.to: "bg";
19196                rel2.to: "bg";
19197                image {
19198                   normal: "bt_sm_shine.png";
19199                   border: 6 6 6 0;
19200                }
19201             }
19202             description { state: "selected" 0.0;
19203                inherit: "default" 0.0;
19204                visible: 1;
19205                color: 255 255 255 255;
19206             }
19207          }
19208          part { name: "disclip";
19209             type: RECT;
19210             description { state: "default" 0.0;
19211                rel1.to: "bg";
19212                rel2.to: "bg";
19213             }
19214             description { state: "disabled" 0.0;
19215                inherit: "default" 0.0;
19216                color: 255 255 255 64;
19217             }
19218          }
19219       }
19220       programs {
19221          // signal: elm,state,%s,active
19222          //   a "check" item named %s went active
19223          // signal: elm,state,%s,passive
19224          //   a "check" item named %s went passive
19225          // default is passive
19226          program {
19227             name:    "go_active";
19228             signal:  "elm,state,selected";
19229             source:  "elm";
19230             action:  STATE_SET "selected" 0.0;
19231             target:  "bg";
19232             target:  "fg1";
19233             target:  "fg2";
19234             target:  "elm.text";
19235             target:  "elm.text.sub";
19236          }
19237          program {
19238             name:    "go_passive";
19239             signal:  "elm,state,unselected";
19240             source:  "elm";
19241             action:  STATE_SET "default" 0.0;
19242             target:  "bg";
19243             target:  "fg1";
19244             target:  "fg2";
19245             target:  "elm.text";
19246             target:  "elm.text.sub";
19247             transition: LINEAR 0.1;
19248          }
19249          program {
19250             name:    "go_disabled";
19251             signal:  "elm,state,disabled";
19252             source:  "elm";
19253             action:  STATE_SET "disabled" 0.0;
19254             target:  "disclip";
19255          }
19256          program {
19257             name:    "go_enabled";
19258             signal:  "elm,state,enabled";
19259             source:  "elm";
19260             action:  STATE_SET "default" 0.0;
19261             target:  "disclip";
19262          }
19263       }
19264    }
19265    group { name: "elm/genlist/item_compress/double_label/default";
19266       data.item: "stacking" "above";
19267       data.item: "selectraise" "on";
19268       data.item: "labels" "elm.text elm.text.sub";
19269       data.item: "icons" "elm.swallow.icon elm.swallow.end";
19270       data.item: "treesize" "20";
19271 //      data.item: "states" "";
19272       images {
19273          image: "bt_sm_base1.png" COMP;
19274          image: "bt_sm_shine.png" COMP;
19275          image: "bt_sm_hilight.png" COMP;
19276          image: "ilist_1.png" COMP;
19277          image: "ilist_item_shadow.png" COMP;
19278       }
19279       parts {
19280          part {
19281             name:           "event";
19282             type:           RECT;
19283             repeat_events: 1;
19284             description {
19285                state: "default" 0.0;
19286                color: 0 0 0 0;
19287             }
19288          }
19289          part {
19290             name: "base_sh";
19291             mouse_events: 0;
19292             description {
19293                state: "default" 0.0;
19294                align: 0.0 0.0;
19295                min: 0 10;
19296                fixed: 1 1;
19297                rel1 {
19298                   to: "base";
19299                   relative: 0.0 1.0;
19300                   offset: 0 0;
19301                }
19302                rel2 {
19303                   to: "base";
19304                   relative: 1.0 1.0;
19305                   offset: -1 0;
19306                }
19307                image {
19308                   normal: "ilist_item_shadow.png";
19309                }
19310                fill.smooth: 0;
19311             }
19312          }
19313          part {
19314             name: "base";
19315             mouse_events: 0;
19316             description {
19317                state: "default" 0.0;
19318                image {
19319                   normal: "ilist_1.png";
19320                   border: 2 2 2 2;
19321                }
19322                fill.smooth: 0;
19323             }
19324          }
19325          part { name: "bg";
19326             clip_to: "disclip";
19327             mouse_events: 0;
19328             description { state: "default" 0.0;
19329                visible: 0;
19330                color: 255 255 255 0;
19331                rel1 {
19332                   relative: 0.0 0.0;
19333                   offset: -5 -5;
19334                }
19335                rel2 {
19336                   relative: 1.0 1.0;
19337                   offset: 4 4;
19338                }
19339                image {
19340                   normal: "bt_sm_base1.png";
19341                   border: 6 6 6 6;
19342                }
19343                image.middle: SOLID;
19344             }
19345             description { state: "selected" 0.0;
19346                inherit: "default" 0.0;
19347                visible: 1;
19348                color: 255 255 255 255;
19349                rel1 {
19350                   relative: 0.0 0.0;
19351                   offset: -2 -2;
19352                }
19353                rel2 {
19354                   relative: 1.0 1.0;
19355                   offset: 1 1;
19356                }
19357             }
19358          }
19359          part { name: "elm.swallow.pad";
19360             type: SWALLOW;
19361             description { state: "default" 0.0;
19362                fixed: 1 0;
19363                align: 0.0 0.5;
19364                rel1 {
19365                   relative: 0.0  0.0;
19366                   offset:   4    4;
19367                }
19368                rel2 {
19369                   relative: 0.0  1.0;
19370                   offset:   4   -5;
19371                }
19372             }
19373          }
19374          part { name: "elm.swallow.icon";
19375             clip_to: "disclip";
19376             type: SWALLOW;
19377             description { state: "default" 0.0;
19378                fixed: 1 0;
19379                align: 0.0 0.5;
19380                rel1 {
19381                   to_x: "elm.swallow.pad";
19382                   relative: 1.0  0.0;
19383                   offset:   -1    4;
19384                }
19385                rel2 {
19386                   to_x: "elm.swallow.pad";
19387                   relative: 1.0  1.0;
19388                   offset:   -1   -5;
19389                }
19390             }
19391          }
19392          part { name: "elm.swallow.end";
19393             clip_to: "disclip";
19394             type: SWALLOW;
19395             description { state: "default" 0.0;
19396                fixed: 1 0;
19397                align: 1.0 0.5;
19398                aspect: 1.0 1.0;
19399                aspect_preference: VERTICAL;
19400                rel1 {
19401                   relative: 1.0  0.0;
19402                   offset:   -5    4;
19403                }
19404                rel2 {
19405                   relative: 1.0  1.0;
19406                   offset:   -5   -5;
19407                }
19408             }
19409          }
19410          part { name: "elm.text";
19411             clip_to: "disclip";
19412             type:           TEXT;
19413             effect:         SOFT_SHADOW;
19414             mouse_events:   0;
19415             scale: 1;
19416             description {
19417                state: "default" 0.0;
19418 //               min: 16 16;
19419                rel1 {
19420                   to_x:     "elm.swallow.icon";
19421                   relative: 1.0  0.0;
19422                   offset:   0 4;
19423                }
19424                rel2 {
19425                   to_x:     "elm.swallow.end";
19426                   relative: 0.0  0.5;
19427                   offset:   -1 -5;
19428                }
19429                color: 0 0 0 255;
19430                color3: 0 0 0 0;
19431                text {
19432                   font: "Sans";
19433                   size: 10;
19434 //                  min: 1 1;
19435                   min: 0 1;
19436                   align: 0.0 0.5;
19437                   text_class: "list_item";
19438                }
19439             }
19440             description { state: "selected" 0.0;
19441                inherit: "default" 0.0;
19442                color: 224 224 224 255;
19443                color3: 0 0 0 64;
19444             }
19445          }
19446          part { name: "elm.text.sub";
19447             clip_to: "disclip";
19448             type:           TEXT;
19449             mouse_events:   0;
19450             scale: 1;
19451             description {
19452                state: "default" 0.0;
19453 //               min: 16 16;
19454                rel1 {
19455                   to_x:     "elm.swallow.icon";
19456                   relative: 1.0  0.5;
19457                   offset:   0 4;
19458                }
19459                rel2 {
19460                   to_x:     "elm.swallow.end";
19461                   relative: 0.0  1.0;
19462                   offset:   -1 -5;
19463                }
19464                color: 0 0 0 128;
19465                color3: 0 0 0 0;
19466                text {
19467                   font: "Sans";
19468                   size: 8;
19469 //                  min: 1 1;
19470                   min: 0 1;
19471                   align: 0.0 0.5;
19472                   text_class: "list_item";
19473                }
19474             }
19475             description { state: "selected" 0.0;
19476                inherit: "default" 0.0;
19477                color: 128 128 128 255;
19478                color3: 0 0 0 32;
19479             }
19480          }
19481          part { name: "fg1";
19482             clip_to: "disclip";
19483             mouse_events: 0;
19484             description { state: "default" 0.0;
19485                visible: 0;
19486                color: 255 255 255 0;
19487                rel1.to: "bg";
19488                rel2.relative: 1.0 0.5;
19489                rel2.to: "bg";
19490                image {
19491                   normal: "bt_sm_hilight.png";
19492                   border: 6 6 6 0;
19493                }
19494             }
19495             description { state: "selected" 0.0;
19496                inherit: "default" 0.0;
19497                visible: 1;
19498                color: 255 255 255 255;
19499             }
19500          }
19501          part { name: "fg2";
19502             clip_to: "disclip";
19503             mouse_events: 0;
19504             description { state: "default" 0.0;
19505                visible: 0;
19506                color: 255 255 255 0;
19507                rel1.to: "bg";
19508                rel2.to: "bg";
19509                image {
19510                   normal: "bt_sm_shine.png";
19511                   border: 6 6 6 0;
19512                }
19513             }
19514             description { state: "selected" 0.0;
19515                inherit: "default" 0.0;
19516                visible: 1;
19517                color: 255 255 255 255;
19518             }
19519          }
19520          part { name: "disclip";
19521             type: RECT;
19522             description { state: "default" 0.0;
19523                rel1.to: "bg";
19524                rel2.to: "bg";
19525             }
19526             description { state: "disabled" 0.0;
19527                inherit: "default" 0.0;
19528                color: 255 255 255 64;
19529             }
19530          }
19531       }
19532       programs {
19533          // signal: elm,state,%s,active
19534          //   a "check" item named %s went active
19535          // signal: elm,state,%s,passive
19536          //   a "check" item named %s went passive
19537          // default is passive
19538          program {
19539             name:    "go_active";
19540             signal:  "elm,state,selected";
19541             source:  "elm";
19542             action:  STATE_SET "selected" 0.0;
19543             target:  "bg";
19544             target:  "fg1";
19545             target:  "fg2";
19546             target:  "elm.text";
19547             target:  "elm.text.sub";
19548          }
19549          program {
19550             name:    "go_passive";
19551             signal:  "elm,state,unselected";
19552             source:  "elm";
19553             action:  STATE_SET "default" 0.0;
19554             target:  "bg";
19555             target:  "fg1";
19556             target:  "fg2";
19557             target:  "elm.text";
19558             target:  "elm.text.sub";
19559             transition: LINEAR 0.1;
19560          }
19561          program {
19562             name:    "go_disabled";
19563             signal:  "elm,state,disabled";
19564             source:  "elm";
19565             action:  STATE_SET "disabled" 0.0;
19566             target:  "disclip";
19567          }
19568          program {
19569             name:    "go_enabled";
19570             signal:  "elm,state,enabled";
19571             source:  "elm";
19572             action:  STATE_SET "default" 0.0;
19573             target:  "disclip";
19574          }
19575       }
19576    }
19577    group { name: "elm/genlist/item_odd/double_label/default";
19578       data.item: "stacking" "below";
19579       data.item: "selectraise" "on";
19580       data.item: "labels" "elm.text elm.text.sub";
19581       data.item: "icons" "elm.swallow.icon elm.swallow.end";
19582       data.item: "treesize" "20";
19583 //      data.item: "states" "";
19584       images {
19585          image: "bt_sm_base1.png" COMP;
19586          image: "bt_sm_shine.png" COMP;
19587          image: "bt_sm_hilight.png" COMP;
19588          image: "ilist_2.png" COMP;
19589       }
19590       parts {
19591          part { name: "event";
19592             type: RECT;
19593             repeat_events: 1;
19594             description {
19595                state: "default" 0.0;
19596                color: 0 0 0 0;
19597             }
19598          }
19599          part {
19600             name: "base";
19601             mouse_events: 0;
19602             description {
19603                state: "default" 0.0;
19604                image {
19605                   normal: "ilist_2.png";
19606                   border: 2 2 2 2;
19607                }
19608                fill.smooth: 0;
19609             }
19610          }
19611          part { name: "bg";
19612             clip_to: "disclip";
19613             mouse_events: 0;
19614             description { state: "default" 0.0;
19615                visible: 0;
19616                color: 255 255 255 0;
19617                rel1 {
19618                   relative: 0.0 0.0;
19619                   offset: -5 -5;
19620                }
19621                rel2 {
19622                   relative: 1.0 1.0;
19623                   offset: 4 4;
19624                }
19625                image {
19626                   normal: "bt_sm_base1.png";
19627                   border: 6 6 6 6;
19628                }
19629                image.middle: SOLID;
19630             }
19631             description { state: "selected" 0.0;
19632                inherit: "default" 0.0;
19633                visible: 1;
19634                color: 255 255 255 255;
19635                rel1 {
19636                   relative: 0.0 0.0;
19637                   offset: -2 -2;
19638                }
19639                rel2 {
19640                   relative: 1.0 1.0;
19641                   offset: 1 1;
19642                }
19643             }
19644          }
19645          part { name: "elm.swallow.pad";
19646             type: SWALLOW;
19647             description { state: "default" 0.0;
19648                fixed: 1 0;
19649                align: 0.0 0.5;
19650                rel1 {
19651                   relative: 0.0  0.0;
19652                   offset:   4    4;
19653                }
19654                rel2 {
19655                   relative: 0.0  1.0;
19656                   offset:   4   -5;
19657                }
19658             }
19659          }
19660          part { name: "elm.swallow.icon";
19661             clip_to: "disclip";
19662             type: SWALLOW;
19663             description { state: "default" 0.0;
19664                fixed: 1 0;
19665                align: 0.0 0.5;
19666                rel1 {
19667                   to_x: "elm.swallow.pad";
19668                   relative: 1.0  0.0;
19669                   offset:   -1    4;
19670                }
19671                rel2 {
19672                   to_x: "elm.swallow.pad";
19673                   relative: 1.0  1.0;
19674                   offset:   -1   -5;
19675                }
19676             }
19677          }
19678          part { name: "elm.swallow.end";
19679             clip_to: "disclip";
19680             type:          SWALLOW;
19681             description { state:    "default" 0.0;
19682                fixed: 1 0;
19683                align:    1.0 0.5;
19684                aspect: 1.0 1.0;
19685                aspect_preference: VERTICAL;
19686                rel1 {
19687                   relative: 1.0  0.0;
19688                   offset:   -5    4;
19689                }
19690                rel2 {
19691                   relative: 1.0  1.0;
19692                   offset:   -5   -5;
19693                }
19694             }
19695          }
19696          part { name: "elm.text";
19697             clip_to: "disclip";
19698             type:           TEXT;
19699             effect:         SOFT_SHADOW;
19700             mouse_events:   0;
19701             scale: 1;
19702             description {
19703                state: "default" 0.0;
19704 //               min: 16 16;
19705                rel1 {
19706                   to_x:     "elm.swallow.icon";
19707                   relative: 1.0  0.0;
19708                   offset:   0 4;
19709                }
19710                rel2 {
19711                   to_x:     "elm.swallow.end";
19712                   relative: 0.0  0.5;
19713                   offset:   -1 -5;
19714                }
19715                color: 0 0 0 255;
19716                color3: 0 0 0 0;
19717                text {
19718                   font: "Sans";
19719                   size: 10;
19720                   min: 1 1;
19721 //                  min: 0 1;
19722                   align: 0.0 0.5;
19723                   text_class: "list_item";
19724                }
19725             }
19726             description { state: "selected" 0.0;
19727                inherit: "default" 0.0;
19728                color: 224 224 224 255;
19729                color3: 0 0 0 64;
19730             }
19731          }
19732          part { name: "elm.text.sub";
19733             clip_to: "disclip";
19734             type:           TEXT;
19735             mouse_events:   0;
19736             scale: 1;
19737             description {
19738                state: "default" 0.0;
19739 //               min: 16 16;
19740                rel1 {
19741                   to_x:     "elm.swallow.icon";
19742                   relative: 1.0  0.5;
19743                   offset:   0 4;
19744                }
19745                rel2 {
19746                   to_x:     "elm.swallow.end";
19747                   relative: 0.0  1.0;
19748                   offset:   -1 -5;
19749                }
19750                color: 0 0 0 128;
19751                color3: 0 0 0 0;
19752                text {
19753                   font: "Sans";
19754                   size: 8;
19755                   min: 1 1;
19756 //                  min: 0 1;
19757                   align: 0.0 0.5;
19758                   text_class: "list_item";
19759                }
19760             }
19761             description { state: "selected" 0.0;
19762                inherit: "default" 0.0;
19763                color: 128 128 128 255;
19764                color3: 0 0 0 32;
19765             }
19766          }
19767          part { name: "fg1";
19768             clip_to: "disclip";
19769             mouse_events: 0;
19770             description { state: "default" 0.0;
19771                visible: 0;
19772                color: 255 255 255 0;
19773                rel1.to: "bg";
19774                rel2.relative: 1.0 0.5;
19775                rel2.to: "bg";
19776                image {
19777                   normal: "bt_sm_hilight.png";
19778                   border: 6 6 6 0;
19779                }
19780             }
19781             description { state: "selected" 0.0;
19782                inherit: "default" 0.0;
19783                visible: 1;
19784                color: 255 255 255 255;
19785             }
19786          }
19787          part { name: "fg2";
19788             clip_to: "disclip";
19789             mouse_events: 0;
19790             description { state: "default" 0.0;
19791                visible: 0;
19792                color: 255 255 255 0;
19793                rel1.to: "bg";
19794                rel2.to: "bg";
19795                image {
19796                   normal: "bt_sm_shine.png";
19797                   border: 6 6 6 0;
19798                }
19799             }
19800             description { state: "selected" 0.0;
19801                inherit: "default" 0.0;
19802                visible: 1;
19803                color: 255 255 255 255;
19804             }
19805          }
19806          part { name: "disclip";
19807             type: RECT;
19808             description { state: "default" 0.0;
19809                rel1.to: "bg";
19810                rel2.to: "bg";
19811             }
19812             description { state: "disabled" 0.0;
19813                inherit: "default" 0.0;
19814                color: 255 255 255 64;
19815             }
19816          }
19817       }
19818       programs {
19819          // signal: elm,state,%s,active
19820          //   a "check" item named %s went active
19821          // signal: elm,state,%s,passive
19822          //   a "check" item named %s went passive
19823          // default is passive
19824          program {
19825             name:    "go_active";
19826             signal:  "elm,state,selected";
19827             source:  "elm";
19828             action:  STATE_SET "selected" 0.0;
19829             target:  "bg";
19830             target:  "fg1";
19831             target:  "fg2";
19832             target:  "elm.text";
19833             target:  "elm.text.sub";
19834          }
19835          program {
19836             name:    "go_passive";
19837             signal:  "elm,state,unselected";
19838             source:  "elm";
19839             action:  STATE_SET "default" 0.0;
19840             target:  "bg";
19841             target:  "fg1";
19842             target:  "fg2";
19843             target:  "elm.text";
19844             target:  "elm.text.sub";
19845             transition: LINEAR 0.1;
19846          }
19847          program {
19848             name:    "go_disabled";
19849             signal:  "elm,state,disabled";
19850             source:  "elm";
19851             action:  STATE_SET "disabled" 0.0;
19852             target:  "disclip";
19853          }
19854          program {
19855             name:    "go_enabled";
19856             signal:  "elm,state,enabled";
19857             source:  "elm";
19858             action:  STATE_SET "default" 0.0;
19859             target:  "disclip";
19860          }
19861       }
19862    }
19863    group { name: "elm/genlist/item_compress_odd/double_label/default";
19864       data.item: "stacking" "below";
19865       data.item: "selectraise" "on";
19866       data.item: "labels" "elm.text elm.text.sub";
19867       data.item: "icons" "elm.swallow.icon elm.swallow.end";
19868       data.item: "treesize" "20";
19869 //      data.item: "states" "";
19870       images {
19871          image: "bt_sm_base1.png" COMP;
19872          image: "bt_sm_shine.png" COMP;
19873          image: "bt_sm_hilight.png" COMP;
19874          image: "ilist_2.png" COMP;
19875       }
19876       parts {
19877          part { name: "event";
19878             type: RECT;
19879             repeat_events: 1;
19880             description {
19881                state: "default" 0.0;
19882                color: 0 0 0 0;
19883             }
19884          }
19885          part {
19886             name: "base";
19887             mouse_events: 0;
19888             description {
19889                state: "default" 0.0;
19890                image {
19891                   normal: "ilist_2.png";
19892                   border: 2 2 2 2;
19893                }
19894                fill.smooth: 0;
19895             }
19896          }
19897          part { name: "bg";
19898             clip_to: "disclip";
19899             mouse_events: 0;
19900             description { state: "default" 0.0;
19901                visible: 0;
19902                color: 255 255 255 0;
19903                rel1 {
19904                   relative: 0.0 0.0;
19905                   offset: -5 -5;
19906                }
19907                rel2 {
19908                   relative: 1.0 1.0;
19909                   offset: 4 4;
19910                }
19911                image {
19912                   normal: "bt_sm_base1.png";
19913                   border: 6 6 6 6;
19914                }
19915                image.middle: SOLID;
19916             }
19917             description { state: "selected" 0.0;
19918                inherit: "default" 0.0;
19919                visible: 1;
19920                color: 255 255 255 255;
19921                rel1 {
19922                   relative: 0.0 0.0;
19923                   offset: -2 -2;
19924                }
19925                rel2 {
19926                   relative: 1.0 1.0;
19927                   offset: 1 1;
19928                }
19929             }
19930          }
19931          part { name: "elm.swallow.pad";
19932             type: SWALLOW;
19933             description { state: "default" 0.0;
19934                fixed: 1 0;
19935                align: 0.0 0.5;
19936                rel1 {
19937                   relative: 0.0  0.0;
19938                   offset:   4    4;
19939                }
19940                rel2 {
19941                   relative: 0.0  1.0;
19942                   offset:   4   -5;
19943                }
19944             }
19945          }
19946          part { name: "elm.swallow.icon";
19947             clip_to: "disclip";
19948             type: SWALLOW;
19949             description { state: "default" 0.0;
19950                fixed: 1 0;
19951                align: 0.0 0.5;
19952                rel1 {
19953                   to_x: "elm.swallow.pad";
19954                   relative: 1.0  0.0;
19955                   offset:   -1    4;
19956                }
19957                rel2 {
19958                   to_x: "elm.swallow.pad";
19959                   relative: 1.0  1.0;
19960                   offset:   -1   -5;
19961                }
19962             }
19963          }
19964          part { name: "elm.swallow.end";
19965             clip_to: "disclip";
19966             type:          SWALLOW;
19967             description { state:    "default" 0.0;
19968                fixed: 1 0;
19969                align:    1.0 0.5;
19970                aspect: 1.0 1.0;
19971                aspect_preference: VERTICAL;
19972                rel1 {
19973                   relative: 1.0  0.0;
19974                   offset:   -5    4;
19975                }
19976                rel2 {
19977                   relative: 1.0  1.0;
19978                   offset:   -5   -5;
19979                }
19980             }
19981          }
19982          part { name: "elm.text";
19983             clip_to: "disclip";
19984             type:           TEXT;
19985             effect:         SOFT_SHADOW;
19986             mouse_events:   0;
19987             scale: 1;
19988             description {
19989                state: "default" 0.0;
19990 //               min: 16 16;
19991                rel1 {
19992                   to_x:     "elm.swallow.icon";
19993                   relative: 1.0  0.0;
19994                   offset:   0 4;
19995                }
19996                rel2 {
19997                   to_x:     "elm.swallow.end";
19998                   relative: 0.0  0.5;
19999                   offset:   -1 -5;
20000                }
20001                color: 0 0 0 255;
20002                color3: 0 0 0 0;
20003                text {
20004                   font: "Sans";
20005                   size: 10;
20006 //                  min: 1 1;
20007                   min: 0 1;
20008                   align: 0.0 0.5;
20009                   text_class: "list_item";
20010                }
20011             }
20012             description { state: "selected" 0.0;
20013                inherit: "default" 0.0;
20014                color: 224 224 224 255;
20015                color3: 0 0 0 64;
20016             }
20017          }
20018          part { name: "elm.text.sub";
20019             clip_to: "disclip";
20020             type:           TEXT;
20021             mouse_events:   0;
20022             scale: 1;
20023             description {
20024                state: "default" 0.0;
20025 //               min: 16 16;
20026                rel1 {
20027                   to_x:     "elm.swallow.icon";
20028                   relative: 1.0  0.5;
20029                   offset:   0 4;
20030                }
20031                rel2 {
20032                   to_x:     "elm.swallow.end";
20033                   relative: 0.0  1.0;
20034                   offset:   -1 -5;
20035                }
20036                color: 0 0 0 128;
20037                color3: 0 0 0 0;
20038                text {
20039                   font: "Sans";
20040                   size: 8;
20041 //                  min: 1 1;
20042                   min: 0 1;
20043                   align: 0.0 0.5;
20044                   text_class: "list_item";
20045                }
20046             }
20047             description { state: "selected" 0.0;
20048                inherit: "default" 0.0;
20049                color: 128 128 128 255;
20050                color3: 0 0 0 32;
20051             }
20052          }
20053          part { name: "fg1";
20054             clip_to: "disclip";
20055             mouse_events: 0;
20056             description { state: "default" 0.0;
20057                visible: 0;
20058                color: 255 255 255 0;
20059                rel1.to: "bg";
20060                rel2.relative: 1.0 0.5;
20061                rel2.to: "bg";
20062                image {
20063                   normal: "bt_sm_hilight.png";
20064                   border: 6 6 6 0;
20065                }
20066             }
20067             description { state: "selected" 0.0;
20068                inherit: "default" 0.0;
20069                visible: 1;
20070                color: 255 255 255 255;
20071             }
20072          }
20073          part { name: "fg2";
20074             clip_to: "disclip";
20075             mouse_events: 0;
20076             description { state: "default" 0.0;
20077                visible: 0;
20078                color: 255 255 255 0;
20079                rel1.to: "bg";
20080                rel2.to: "bg";
20081                image {
20082                   normal: "bt_sm_shine.png";
20083                   border: 6 6 6 0;
20084                }
20085             }
20086             description { state: "selected" 0.0;
20087                inherit: "default" 0.0;
20088                visible: 1;
20089                color: 255 255 255 255;
20090             }
20091          }
20092          part { name: "disclip";
20093             type: RECT;
20094             description { state: "default" 0.0;
20095                rel1.to: "bg";
20096                rel2.to: "bg";
20097             }
20098             description { state: "disabled" 0.0;
20099                inherit: "default" 0.0;
20100                color: 255 255 255 64;
20101             }
20102          }
20103       }
20104       programs {
20105          // signal: elm,state,%s,active
20106          //   a "check" item named %s went active
20107          // signal: elm,state,%s,passive
20108          //   a "check" item named %s went passive
20109          // default is passive
20110          program {
20111             name:    "go_active";
20112             signal:  "elm,state,selected";
20113             source:  "elm";
20114             action:  STATE_SET "selected" 0.0;
20115             target:  "bg";
20116             target:  "fg1";
20117             target:  "fg2";
20118             target:  "elm.text";
20119             target:  "elm.text.sub";
20120          }
20121          program {
20122             name:    "go_passive";
20123             signal:  "elm,state,unselected";
20124             source:  "elm";
20125             action:  STATE_SET "default" 0.0;
20126             target:  "bg";
20127             target:  "fg1";
20128             target:  "fg2";
20129             target:  "elm.text";
20130             target:  "elm.text.sub";
20131             transition: LINEAR 0.1;
20132          }
20133          program {
20134             name:    "go_disabled";
20135             signal:  "elm,state,disabled";
20136             source:  "elm";
20137             action:  STATE_SET "disabled" 0.0;
20138             target:  "disclip";
20139          }
20140          program {
20141             name:    "go_enabled";
20142             signal:  "elm,state,enabled";
20143             source:  "elm";
20144             action:  STATE_SET "default" 0.0;
20145             target:  "disclip";
20146          }
20147       }
20148    }
20149
20150    group { name: "elm/genlist/tree/double_label/default";
20151       data.item: "stacking" "above";
20152       data.item: "selectraise" "on";
20153       data.item: "labels" "elm.text elm.text.sub";
20154       data.item: "icons" "elm.swallow.icon elm.swallow.end";
20155       data.item: "treesize" "20";
20156 //      data.item: "states" "";
20157       images {
20158          image: "bt_sm_base1.png" COMP;
20159          image: "bt_sm_shine.png" COMP;
20160          image: "bt_sm_hilight.png" COMP;
20161          image: "ilist_1.png" COMP;
20162          image: "ilist_item_shadow.png" COMP;
20163          image: "icon_arrow_right.png" COMP;
20164          image: "icon_arrow_down.png" COMP;
20165       }
20166       parts {
20167          part {
20168             name:           "event";
20169             type:           RECT;
20170             repeat_events: 1;
20171             description {
20172                state: "default" 0.0;
20173                color: 0 0 0 0;
20174             }
20175          }
20176          part {
20177             name: "base_sh";
20178             mouse_events: 0;
20179             description {
20180                state: "default" 0.0;
20181                align: 0.0 0.0;
20182                min: 0 10;
20183                fixed: 1 1;
20184                rel1 {
20185                   to: "base";
20186                   relative: 0.0 1.0;
20187                   offset: 0 0;
20188                }
20189                rel2 {
20190                   to: "base";
20191                   relative: 1.0 1.0;
20192                   offset: -1 0;
20193                }
20194                image {
20195                   normal: "ilist_item_shadow.png";
20196                }
20197                fill.smooth: 0;
20198             }
20199          }
20200          part {
20201             name: "base";
20202             mouse_events: 0;
20203             description {
20204                state: "default" 0.0;
20205                image {
20206                   normal: "ilist_1.png";
20207                   border: 2 2 2 2;
20208                }
20209                fill.smooth: 0;
20210             }
20211          }
20212          part { name: "bg";
20213             clip_to: "disclip";
20214             mouse_events: 0;
20215             description { state: "default" 0.0;
20216                visible: 0;
20217                color: 255 255 255 0;
20218                rel1 {
20219                   relative: 0.0 0.0;
20220                   offset: -5 -5;
20221                }
20222                rel2 {
20223                   relative: 1.0 1.0;
20224                   offset: 4 4;
20225                }
20226                image {
20227                   normal: "bt_sm_base1.png";
20228                   border: 6 6 6 6;
20229                }
20230                image.middle: SOLID;
20231             }
20232             description { state: "selected" 0.0;
20233                inherit: "default" 0.0;
20234                visible: 1;
20235                color: 255 255 255 255;
20236                rel1 {
20237                   relative: 0.0 0.0;
20238                   offset: -2 -2;
20239                }
20240                rel2 {
20241                   relative: 1.0 1.0;
20242                   offset: 1 1;
20243                }
20244             }
20245          }
20246          part { name: "elm.swallow.pad";
20247             type: SWALLOW;
20248             description { state: "default" 0.0;
20249                fixed: 1 0;
20250                align: 0.0 0.5;
20251                rel1 {
20252                   relative: 0.0  0.0;
20253                   offset:   4    4;
20254                }
20255                rel2 {
20256                   relative: 0.0  1.0;
20257                   offset:   4   -5;
20258                }
20259             }
20260          }
20261          part { name: "arrow";
20262             clip_to: "disclip";
20263             ignore_flags: ON_HOLD;
20264             description { state: "default" 0.0;
20265                fixed: 1 0;
20266                align: 0.0 0.5;
20267                aspect: 1.0 1.0;
20268                rel1 {
20269                   to_x: "elm.swallow.pad";
20270                   relative: 1.0  0.0;
20271                   offset:   -1    4;
20272                }
20273                rel2 {
20274                   to_x: "elm.swallow.pad";
20275                   relative: 1.0  1.0;
20276                   offset:   -1   -5;
20277                }
20278                image.normal: "icon_arrow_right.png";
20279             }
20280             description { state: "active" 0.0;
20281                inherit: "default" 0.0;
20282                image.normal: "icon_arrow_down.png";
20283             }
20284          }
20285          part { name: "elm.swallow.icon";
20286             clip_to: "disclip";
20287             type: SWALLOW;
20288             description { state: "default" 0.0;
20289                fixed: 1 0;
20290                align: 0.0 0.5;
20291                rel1 {
20292                   to_x: "arrow";
20293                   relative: 1.0  0.0;
20294                   offset:   4    4;
20295                }
20296                rel2 {
20297                   to_x: "arrow";
20298                   relative: 1.0  1.0;
20299                   offset:   4   -5;
20300                }
20301             }
20302          }
20303          part { name: "elm.swallow.end";
20304             clip_to: "disclip";
20305             type: SWALLOW;
20306             description { state: "default" 0.0;
20307                fixed: 1 0;
20308                align: 1.0 0.5;
20309                aspect: 1.0 1.0;
20310                aspect_preference: VERTICAL;
20311                rel1 {
20312                   relative: 1.0  0.0;
20313                   offset:   -5    4;
20314                }
20315                rel2 {
20316                   relative: 1.0  1.0;
20317                   offset:   -5   -5;
20318                }
20319             }
20320          }
20321          part { name: "elm.text";
20322             clip_to: "disclip";
20323             type:           TEXT;
20324             effect:         SOFT_SHADOW;
20325             mouse_events:   0;
20326             scale: 1;
20327             description {
20328                state: "default" 0.0;
20329 //               min: 16 16;
20330                rel1 {
20331                   to_x:     "elm.swallow.icon";
20332                   relative: 1.0  0.0;
20333                   offset:   0 4;
20334                }
20335                rel2 {
20336                   to_x:     "elm.swallow.end";
20337                   relative: 0.0  0.5;
20338                   offset:   -1 -5;
20339                }
20340                color: 0 0 0 255;
20341                color3: 0 0 0 0;
20342                text {
20343                   font: "Sans";
20344                   size: 10;
20345                   min: 1 1;
20346 //                  min: 0 1;
20347                   align: 0.0 0.5;
20348                   text_class: "list_item";
20349                }
20350             }
20351             description { state: "selected" 0.0;
20352                inherit: "default" 0.0;
20353                color: 224 224 224 255;
20354                color3: 0 0 0 64;
20355             }
20356          }
20357          part { name: "elm.text.sub";
20358             clip_to: "disclip";
20359             type:           TEXT;
20360             mouse_events:   0;
20361             scale: 1;
20362             description {
20363                state: "default" 0.0;
20364 //               min: 16 16;
20365                rel1 {
20366                   to_x:     "elm.swallow.icon";
20367                   relative: 1.0  0.5;
20368                   offset:   0 4;
20369                }
20370                rel2 {
20371                   to_x:     "elm.swallow.end";
20372                   relative: 0.0  1.0;
20373                   offset:   -1 -5;
20374                }
20375                color: 0 0 0 128;
20376                color3: 0 0 0 0;
20377                text {
20378                   font: "Sans";
20379                   size: 8;
20380                   min: 1 1;
20381 //                  min: 0 1;
20382                   align: 0.0 0.5;
20383                   text_class: "list_item";
20384                }
20385             }
20386             description { state: "selected" 0.0;
20387                inherit: "default" 0.0;
20388                color: 128 128 128 255;
20389                color3: 0 0 0 32;
20390             }
20391          }
20392          part { name: "fg1";
20393             clip_to: "disclip";
20394             mouse_events: 0;
20395             description { state: "default" 0.0;
20396                visible: 0;
20397                color: 255 255 255 0;
20398                rel1.to: "bg";
20399                rel2.relative: 1.0 0.5;
20400                rel2.to: "bg";
20401                image {
20402                   normal: "bt_sm_hilight.png";
20403                   border: 6 6 6 0;
20404                }
20405             }
20406             description { state: "selected" 0.0;
20407                inherit: "default" 0.0;
20408                visible: 1;
20409                color: 255 255 255 255;
20410             }
20411          }
20412          part { name: "fg2";
20413             clip_to: "disclip";
20414             mouse_events: 0;
20415             description { state: "default" 0.0;
20416                visible: 0;
20417                color: 255 255 255 0;
20418                rel1.to: "bg";
20419                rel2.to: "bg";
20420                image {
20421                   normal: "bt_sm_shine.png";
20422                   border: 6 6 6 0;
20423                }
20424             }
20425             description { state: "selected" 0.0;
20426                inherit: "default" 0.0;
20427                visible: 1;
20428                color: 255 255 255 255;
20429             }
20430          }
20431          part { name: "disclip";
20432             type: RECT;
20433             description { state: "default" 0.0;
20434                rel1.to: "bg";
20435                rel2.to: "bg";
20436             }
20437             description { state: "disabled" 0.0;
20438                inherit: "default" 0.0;
20439                color: 255 255 255 64;
20440             }
20441          }
20442       }
20443       programs {
20444          // signal: elm,state,%s,active
20445          //   a "check" item named %s went active
20446          // signal: elm,state,%s,passive
20447          //   a "check" item named %s went passive
20448          // default is passive
20449          program {
20450             name:    "go_active";
20451             signal:  "elm,state,selected";
20452             source:  "elm";
20453             action:  STATE_SET "selected" 0.0;
20454             target:  "bg";
20455             target:  "fg1";
20456             target:  "fg2";
20457             target:  "elm.text";
20458             target:  "elm.text.sub";
20459          }
20460          program {
20461             name:    "go_passive";
20462             signal:  "elm,state,unselected";
20463             source:  "elm";
20464             action:  STATE_SET "default" 0.0;
20465             target:  "bg";
20466             target:  "fg1";
20467             target:  "fg2";
20468             target:  "elm.text";
20469             target:  "elm.text.sub";
20470             transition: LINEAR 0.1;
20471          }
20472          program {
20473             name:    "go_disabled";
20474             signal:  "elm,state,disabled";
20475             source:  "elm";
20476             action:  STATE_SET "disabled" 0.0;
20477             target:  "disclip";
20478          }
20479          program {
20480             name:    "go_enabled";
20481             signal:  "elm,state,enabled";
20482             source:  "elm";
20483             action:  STATE_SET "default" 0.0;
20484             target:  "disclip";
20485          }
20486          program {
20487             name:    "expand";
20488             signal:  "mouse,up,1";
20489             source:  "arrow";
20490             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
20491          }
20492          program {
20493             name:    "go_expanded";
20494             signal:  "elm,state,expanded";
20495             source:  "elm";
20496             action:  STATE_SET "active" 0.0;
20497             target:  "arrow";
20498          }
20499          program {
20500             name:    "go_contracted";
20501             signal:  "elm,state,contracted";
20502             source:  "elm";
20503             action:  STATE_SET "default" 0.0;
20504             target:  "arrow";
20505          }
20506       }
20507    }
20508    group { name: "elm/genlist/tree_compress/double_label/default";
20509       data.item: "stacking" "above";
20510       data.item: "selectraise" "on";
20511       data.item: "labels" "elm.text elm.text.sub";
20512       data.item: "icons" "elm.swallow.icon elm.swallow.end";
20513       data.item: "treesize" "20";
20514 //      data.item: "states" "";
20515       images {
20516          image: "bt_sm_base1.png" COMP;
20517          image: "bt_sm_shine.png" COMP;
20518          image: "bt_sm_hilight.png" COMP;
20519          image: "ilist_1.png" COMP;
20520          image: "ilist_item_shadow.png" COMP;
20521          image: "icon_arrow_right.png" COMP;
20522          image: "icon_arrow_down.png" COMP;
20523       }
20524       parts {
20525          part {
20526             name:           "event";
20527             type:           RECT;
20528             repeat_events: 1;
20529             description {
20530                state: "default" 0.0;
20531                color: 0 0 0 0;
20532             }
20533          }
20534          part {
20535             name: "base_sh";
20536             mouse_events: 0;
20537             description {
20538                state: "default" 0.0;
20539                align: 0.0 0.0;
20540                min: 0 10;
20541                fixed: 1 1;
20542                rel1 {
20543                   to: "base";
20544                   relative: 0.0 1.0;
20545                   offset: 0 0;
20546                }
20547                rel2 {
20548                   to: "base";
20549                   relative: 1.0 1.0;
20550                   offset: -1 0;
20551                }
20552                image {
20553                   normal: "ilist_item_shadow.png";
20554                }
20555                fill.smooth: 0;
20556             }
20557          }
20558          part {
20559             name: "base";
20560             mouse_events: 0;
20561             description {
20562                state: "default" 0.0;
20563                image {
20564                   normal: "ilist_1.png";
20565                   border: 2 2 2 2;
20566                }
20567                fill.smooth: 0;
20568             }
20569          }
20570          part { name: "bg";
20571             clip_to: "disclip";
20572             mouse_events: 0;
20573             description { state: "default" 0.0;
20574                visible: 0;
20575                color: 255 255 255 0;
20576                rel1 {
20577                   relative: 0.0 0.0;
20578                   offset: -5 -5;
20579                }
20580                rel2 {
20581                   relative: 1.0 1.0;
20582                   offset: 4 4;
20583                }
20584                image {
20585                   normal: "bt_sm_base1.png";
20586                   border: 6 6 6 6;
20587                }
20588                image.middle: SOLID;
20589             }
20590             description { state: "selected" 0.0;
20591                inherit: "default" 0.0;
20592                visible: 1;
20593                color: 255 255 255 255;
20594                rel1 {
20595                   relative: 0.0 0.0;
20596                   offset: -2 -2;
20597                }
20598                rel2 {
20599                   relative: 1.0 1.0;
20600                   offset: 1 1;
20601                }
20602             }
20603          }
20604          part { name: "elm.swallow.pad";
20605             type: SWALLOW;
20606             description { state: "default" 0.0;
20607                fixed: 1 0;
20608                align: 0.0 0.5;
20609                rel1 {
20610                   relative: 0.0  0.0;
20611                   offset:   4    4;
20612                }
20613                rel2 {
20614                   relative: 0.0  1.0;
20615                   offset:   4   -5;
20616                }
20617             }
20618          }
20619          part { name: "arrow";
20620             clip_to: "disclip";
20621             ignore_flags: ON_HOLD;
20622             description { state: "default" 0.0;
20623                fixed: 1 0;
20624                align: 0.0 0.5;
20625                aspect: 1.0 1.0;
20626                rel1 {
20627                   to_x: "elm.swallow.pad";
20628                   relative: 1.0  0.0;
20629                   offset:   -1    4;
20630                }
20631                rel2 {
20632                   to_x: "elm.swallow.pad";
20633                   relative: 1.0  1.0;
20634                   offset:   -1   -5;
20635                }
20636                image.normal: "icon_arrow_right.png";
20637             }
20638             description { state: "active" 0.0;
20639                inherit: "default" 0.0;
20640                image.normal: "icon_arrow_down.png";
20641             }
20642          }
20643          part { name: "elm.swallow.icon";
20644             clip_to: "disclip";
20645             type: SWALLOW;
20646             description { state: "default" 0.0;
20647                fixed: 1 0;
20648                align: 0.0 0.5;
20649                rel1 {
20650                   to_x: "arrow";
20651                   relative: 1.0  0.0;
20652                   offset:   4    4;
20653                }
20654                rel2 {
20655                   to_x: "arrow";
20656                   relative: 1.0  1.0;
20657                   offset:   4   -5;
20658                }
20659             }
20660          }
20661          part { name: "elm.swallow.end";
20662             clip_to: "disclip";
20663             type: SWALLOW;
20664             description { state: "default" 0.0;
20665                fixed: 1 0;
20666                align: 1.0 0.5;
20667                aspect: 1.0 1.0;
20668                aspect_preference: VERTICAL;
20669                rel1 {
20670                   relative: 1.0  0.0;
20671                   offset:   -5    4;
20672                }
20673                rel2 {
20674                   relative: 1.0  1.0;
20675                   offset:   -5   -5;
20676                }
20677             }
20678          }
20679          part { name: "elm.text";
20680             clip_to: "disclip";
20681             type:           TEXT;
20682             effect:         SOFT_SHADOW;
20683             mouse_events:   0;
20684             scale: 1;
20685             description {
20686                state: "default" 0.0;
20687 //               min: 16 16;
20688                rel1 {
20689                   to_x:     "elm.swallow.icon";
20690                   relative: 1.0  0.0;
20691                   offset:   0 4;
20692                }
20693                rel2 {
20694                   to_x:     "elm.swallow.end";
20695                   relative: 0.0  0.5;
20696                   offset:   -1 -5;
20697                }
20698                color: 0 0 0 255;
20699                color3: 0 0 0 0;
20700                text {
20701                   font: "Sans";
20702                   size: 10;
20703 //                  min: 1 1;
20704                   min: 0 1;
20705                   align: 0.0 0.5;
20706                   text_class: "list_item";
20707                }
20708             }
20709             description { state: "selected" 0.0;
20710                inherit: "default" 0.0;
20711                color: 224 224 224 255;
20712                color3: 0 0 0 64;
20713             }
20714          }
20715          part { name: "elm.text.sub";
20716             clip_to: "disclip";
20717             type:           TEXT;
20718             mouse_events:   0;
20719             scale: 1;
20720             description {
20721                state: "default" 0.0;
20722 //               min: 16 16;
20723                rel1 {
20724                   to_x:     "elm.swallow.icon";
20725                   relative: 1.0  0.5;
20726                   offset:   0 4;
20727                }
20728                rel2 {
20729                   to_x:     "elm.swallow.end";
20730                   relative: 0.0  1.0;
20731                   offset:   -1 -5;
20732                }
20733                color: 0 0 0 128;
20734                color3: 0 0 0 0;
20735                text {
20736                   font: "Sans";
20737                   size: 8;
20738 //                  min: 1 1;
20739                   min: 0 1;
20740                   align: 0.0 0.5;
20741                   text_class: "list_item";
20742                }
20743             }
20744             description { state: "selected" 0.0;
20745                inherit: "default" 0.0;
20746                color: 128 128 128 255;
20747                color3: 0 0 0 32;
20748             }
20749          }
20750          part { name: "fg1";
20751             clip_to: "disclip";
20752             mouse_events: 0;
20753             description { state: "default" 0.0;
20754                visible: 0;
20755                color: 255 255 255 0;
20756                rel1.to: "bg";
20757                rel2.relative: 1.0 0.5;
20758                rel2.to: "bg";
20759                image {
20760                   normal: "bt_sm_hilight.png";
20761                   border: 6 6 6 0;
20762                }
20763             }
20764             description { state: "selected" 0.0;
20765                inherit: "default" 0.0;
20766                visible: 1;
20767                color: 255 255 255 255;
20768             }
20769          }
20770          part { name: "fg2";
20771             clip_to: "disclip";
20772             mouse_events: 0;
20773             description { state: "default" 0.0;
20774                visible: 0;
20775                color: 255 255 255 0;
20776                rel1.to: "bg";
20777                rel2.to: "bg";
20778                image {
20779                   normal: "bt_sm_shine.png";
20780                   border: 6 6 6 0;
20781                }
20782             }
20783             description { state: "selected" 0.0;
20784                inherit: "default" 0.0;
20785                visible: 1;
20786                color: 255 255 255 255;
20787             }
20788          }
20789          part { name: "disclip";
20790             type: RECT;
20791             description { state: "default" 0.0;
20792                rel1.to: "bg";
20793                rel2.to: "bg";
20794             }
20795             description { state: "disabled" 0.0;
20796                inherit: "default" 0.0;
20797                color: 255 255 255 64;
20798             }
20799          }
20800       }
20801       programs {
20802          // signal: elm,state,%s,active
20803          //   a "check" item named %s went active
20804          // signal: elm,state,%s,passive
20805          //   a "check" item named %s went passive
20806          // default is passive
20807          program {
20808             name:    "go_active";
20809             signal:  "elm,state,selected";
20810             source:  "elm";
20811             action:  STATE_SET "selected" 0.0;
20812             target:  "bg";
20813             target:  "fg1";
20814             target:  "fg2";
20815             target:  "elm.text";
20816             target:  "elm.text.sub";
20817          }
20818          program {
20819             name:    "go_passive";
20820             signal:  "elm,state,unselected";
20821             source:  "elm";
20822             action:  STATE_SET "default" 0.0;
20823             target:  "bg";
20824             target:  "fg1";
20825             target:  "fg2";
20826             target:  "elm.text";
20827             target:  "elm.text.sub";
20828             transition: LINEAR 0.1;
20829          }
20830          program {
20831             name:    "go_disabled";
20832             signal:  "elm,state,disabled";
20833             source:  "elm";
20834             action:  STATE_SET "disabled" 0.0;
20835             target:  "disclip";
20836          }
20837          program {
20838             name:    "go_enabled";
20839             signal:  "elm,state,enabled";
20840             source:  "elm";
20841             action:  STATE_SET "default" 0.0;
20842             target:  "disclip";
20843          }
20844          program {
20845             name:    "expand";
20846             signal:  "mouse,up,1";
20847             source:  "arrow";
20848             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
20849          }
20850          program {
20851             name:    "go_expanded";
20852             signal:  "elm,state,expanded";
20853             source:  "elm";
20854             action:  STATE_SET "active" 0.0;
20855             target:  "arrow";
20856          }
20857          program {
20858             name:    "go_contracted";
20859             signal:  "elm,state,contracted";
20860             source:  "elm";
20861             action:  STATE_SET "default" 0.0;
20862             target:  "arrow";
20863          }
20864       }
20865    }
20866    group { name: "elm/genlist/tree_odd/double_label/default";
20867       data.item: "stacking" "below";
20868       data.item: "selectraise" "on";
20869       data.item: "labels" "elm.text elm.text.sub";
20870       data.item: "icons" "elm.swallow.icon elm.swallow.end";
20871       data.item: "treesize" "20";
20872 //      data.item: "states" "";
20873       images {
20874          image: "bt_sm_base1.png" COMP;
20875          image: "bt_sm_shine.png" COMP;
20876          image: "bt_sm_hilight.png" COMP;
20877          image: "ilist_2.png" COMP;
20878          image: "icon_arrow_right.png" COMP;
20879          image: "icon_arrow_down.png" COMP;
20880       }
20881       parts {
20882          part {
20883             name:           "event";
20884             type:           RECT;
20885             repeat_events: 1;
20886             description {
20887                state: "default" 0.0;
20888                color: 0 0 0 0;
20889             }
20890          }
20891          part {
20892             name: "base";
20893             mouse_events: 0;
20894             description {
20895                state: "default" 0.0;
20896                image {
20897                   normal: "ilist_2.png";
20898                   border: 2 2 2 2;
20899                }
20900                fill.smooth: 0;
20901             }
20902          }
20903          part { name: "bg";
20904             clip_to: "disclip";
20905             mouse_events: 0;
20906             description { state: "default" 0.0;
20907                visible: 0;
20908                color: 255 255 255 0;
20909                rel1 {
20910                   relative: 0.0 0.0;
20911                   offset: -5 -5;
20912                }
20913                rel2 {
20914                   relative: 1.0 1.0;
20915                   offset: 4 4;
20916                }
20917                image {
20918                   normal: "bt_sm_base1.png";
20919                   border: 6 6 6 6;
20920                }
20921                image.middle: SOLID;
20922             }
20923             description { state: "selected" 0.0;
20924                inherit: "default" 0.0;
20925                visible: 1;
20926                color: 255 255 255 255;
20927                rel1 {
20928                   relative: 0.0 0.0;
20929                   offset: -2 -2;
20930                }
20931                rel2 {
20932                   relative: 1.0 1.0;
20933                   offset: 1 1;
20934                }
20935             }
20936          }
20937          part { name: "elm.swallow.pad";
20938             type: SWALLOW;
20939             description { state: "default" 0.0;
20940                fixed: 1 0;
20941                align: 0.0 0.5;
20942                rel1 {
20943                   relative: 0.0  0.0;
20944                   offset:   4    4;
20945                }
20946                rel2 {
20947                   relative: 0.0  1.0;
20948                   offset:   4   -5;
20949                }
20950             }
20951          }
20952          part { name: "arrow";
20953             clip_to: "disclip";
20954             ignore_flags: ON_HOLD;
20955             description { state: "default" 0.0;
20956                fixed: 1 0;
20957                align: 0.0 0.5;
20958                aspect: 1.0 1.0;
20959                rel1 {
20960                   to_x: "elm.swallow.pad";
20961                   relative: 1.0  0.0;
20962                   offset:   -1    4;
20963                }
20964                rel2 {
20965                   to_x: "elm.swallow.pad";
20966                   relative: 1.0  1.0;
20967                   offset:   -1   -5;
20968                }
20969                image.normal: "icon_arrow_right.png";
20970             }
20971             description { state: "active" 0.0;
20972                inherit: "default" 0.0;
20973                image.normal: "icon_arrow_down.png";
20974             }
20975          }
20976          part { name: "elm.swallow.icon";
20977             clip_to: "disclip";
20978             type: SWALLOW;
20979             description { state: "default" 0.0;
20980                fixed: 1 0;
20981                align: 0.0 0.5;
20982                rel1 {
20983                   to_x: "arrow";
20984                   relative: 1.0  0.0;
20985                   offset:   4    4;
20986                }
20987                rel2 {
20988                   to_x: "arrow";
20989                   relative: 1.0  1.0;
20990                   offset:   4   -5;
20991                }
20992             }
20993          }
20994          part { name: "elm.swallow.end";
20995             clip_to: "disclip";
20996             type: SWALLOW;
20997             description { state: "default" 0.0;
20998                fixed: 1 0;
20999                align: 1.0 0.5;
21000                aspect: 1.0 1.0;
21001                aspect_preference: VERTICAL;
21002                rel1 {
21003                   relative: 1.0  0.0;
21004                   offset:   -5    4;
21005                }
21006                rel2 {
21007                   relative: 1.0  1.0;
21008                   offset:   -5   -5;
21009                }
21010             }
21011          }
21012          part { name: "elm.text";
21013             clip_to: "disclip";
21014             type:           TEXT;
21015             effect:         SOFT_SHADOW;
21016             mouse_events:   0;
21017             scale: 1;
21018             description {
21019                state: "default" 0.0;
21020 //               min: 16 16;
21021                rel1 {
21022                   to_x:     "elm.swallow.icon";
21023                   relative: 1.0  0.0;
21024                   offset:   0 4;
21025                }
21026                rel2 {
21027                   to_x:     "elm.swallow.end";
21028                   relative: 0.0  0.5;
21029                   offset:   -1 -5;
21030                }
21031                color: 0 0 0 255;
21032                color3: 0 0 0 0;
21033                text {
21034                   font: "Sans";
21035                   size: 10;
21036                   min: 1 1;
21037 //                  min: 0 1;
21038                   align: 0.0 0.5;
21039                   text_class: "list_item";
21040                }
21041             }
21042             description { state: "selected" 0.0;
21043                inherit: "default" 0.0;
21044                color: 224 224 224 255;
21045                color3: 0 0 0 64;
21046             }
21047          }
21048          part { name: "elm.text.sub";
21049             clip_to: "disclip";
21050             type:           TEXT;
21051             mouse_events:   0;
21052             scale: 1;
21053             description {
21054                state: "default" 0.0;
21055 //               min: 16 16;
21056                rel1 {
21057                   to_x:     "elm.swallow.icon";
21058                   relative: 1.0  0.5;
21059                   offset:   0 4;
21060                }
21061                rel2 {
21062                   to_x:     "elm.swallow.end";
21063                   relative: 0.0  1.0;
21064                   offset:   -1 -5;
21065                }
21066                color: 0 0 0 128;
21067                color3: 0 0 0 0;
21068                text {
21069                   font: "Sans";
21070                   size: 8;
21071                   min: 1 1;
21072 //                  min: 0 1;
21073                   align: 0.0 0.5;
21074                   text_class: "list_item";
21075                }
21076             }
21077             description { state: "selected" 0.0;
21078                inherit: "default" 0.0;
21079                color: 128 128 128 255;
21080                color3: 0 0 0 32;
21081             }
21082          }
21083          part { name: "fg1";
21084             clip_to: "disclip";
21085             mouse_events: 0;
21086             description { state: "default" 0.0;
21087                visible: 0;
21088                color: 255 255 255 0;
21089                rel1.to: "bg";
21090                rel2.relative: 1.0 0.5;
21091                rel2.to: "bg";
21092                image {
21093                   normal: "bt_sm_hilight.png";
21094                   border: 6 6 6 0;
21095                }
21096             }
21097             description { state: "selected" 0.0;
21098                inherit: "default" 0.0;
21099                visible: 1;
21100                color: 255 255 255 255;
21101             }
21102          }
21103          part { name: "fg2";
21104             clip_to: "disclip";
21105             mouse_events: 0;
21106             description { state: "default" 0.0;
21107                visible: 0;
21108                color: 255 255 255 0;
21109                rel1.to: "bg";
21110                rel2.to: "bg";
21111                image {
21112                   normal: "bt_sm_shine.png";
21113                   border: 6 6 6 0;
21114                }
21115             }
21116             description { state: "selected" 0.0;
21117                inherit: "default" 0.0;
21118                visible: 1;
21119                color: 255 255 255 255;
21120             }
21121          }
21122          part { name: "disclip";
21123             type: RECT;
21124             description { state: "default" 0.0;
21125                rel1.to: "bg";
21126                rel2.to: "bg";
21127             }
21128             description { state: "disabled" 0.0;
21129                inherit: "default" 0.0;
21130                color: 255 255 255 64;
21131             }
21132          }
21133       }
21134       programs {
21135          // signal: elm,state,%s,active
21136          //   a "check" item named %s went active
21137          // signal: elm,state,%s,passive
21138          //   a "check" item named %s went passive
21139          // default is passive
21140          program {
21141             name:    "go_active";
21142             signal:  "elm,state,selected";
21143             source:  "elm";
21144             action:  STATE_SET "selected" 0.0;
21145             target:  "bg";
21146             target:  "fg1";
21147             target:  "fg2";
21148             target:  "elm.text";
21149             target:  "elm.text.sub";
21150          }
21151          program {
21152             name:    "go_passive";
21153             signal:  "elm,state,unselected";
21154             source:  "elm";
21155             action:  STATE_SET "default" 0.0;
21156             target:  "bg";
21157             target:  "fg1";
21158             target:  "fg2";
21159             target:  "elm.text";
21160             target:  "elm.text.sub";
21161             transition: LINEAR 0.1;
21162          }
21163          program {
21164             name:    "go_disabled";
21165             signal:  "elm,state,disabled";
21166             source:  "elm";
21167             action:  STATE_SET "disabled" 0.0;
21168             target:  "disclip";
21169          }
21170          program {
21171             name:    "go_enabled";
21172             signal:  "elm,state,enabled";
21173             source:  "elm";
21174             action:  STATE_SET "default" 0.0;
21175             target:  "disclip";
21176          }
21177          program {
21178             name:    "expand";
21179             signal:  "mouse,up,1";
21180             source:  "arrow";
21181             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
21182          }
21183          program {
21184             name:    "go_expanded";
21185             signal:  "elm,state,expanded";
21186             source:  "elm";
21187             action:  STATE_SET "active" 0.0;
21188             target:  "arrow";
21189          }
21190          program {
21191             name:    "go_contracted";
21192             signal:  "elm,state,contracted";
21193             source:  "elm";
21194             action:  STATE_SET "default" 0.0;
21195             target:  "arrow";
21196          }
21197       }
21198    }
21199
21200    group { name: "elm/genlist/item/icon_top_text_bottom/default";
21201       data.item: "stacking" "above";
21202       data.item: "selectraise" "on";
21203       data.item: "labels" "elm.text";
21204       data.item: "icons" "elm.swallow.icon";
21205       data.item: "treesize" "20";
21206 //      data.item: "states" "";
21207       images {
21208          image: "bt_sm_base1.png" COMP;
21209          image: "bt_sm_shine.png" COMP;
21210          image: "bt_sm_hilight.png" COMP;
21211          image: "ilist_1.png" COMP;
21212          image: "ilist_item_shadow.png" COMP;
21213       }
21214       parts {
21215          part {
21216             name:           "event";
21217             type:           RECT;
21218             repeat_events: 1;
21219             description {
21220                state: "default" 0.0;
21221                color: 0 0 0 0;
21222             }
21223          }
21224          part {
21225             name: "base_sh";
21226             mouse_events: 0;
21227             description {
21228                state: "default" 0.0;
21229                align: 0.0 0.0;
21230                min: 0 10;
21231                fixed: 1 1;
21232                rel1 {
21233                   to: "base";
21234                   relative: 0.0 1.0;
21235                   offset: 0 0;
21236                }
21237                rel2 {
21238                   to: "base";
21239                   relative: 1.0 1.0;
21240                   offset: -1 0;
21241                }
21242                image {
21243                   normal: "ilist_item_shadow.png";
21244                }
21245                fill.smooth: 0;
21246             }
21247          }
21248          part {
21249             name: "base";
21250             mouse_events: 0;
21251             description {
21252                state: "default" 0.0;
21253                image {
21254                   normal: "ilist_1.png";
21255                   border: 2 2 2 2;
21256                }
21257                fill.smooth: 0;
21258             }
21259          }
21260          part { name: "bg";
21261             clip_to: "disclip";
21262             mouse_events: 0;
21263             description { state: "default" 0.0;
21264                visible: 0;
21265                color: 255 255 255 0;
21266                rel1 {
21267                   relative: 0.0 0.0;
21268                   offset: -5 -5;
21269                }
21270                rel2 {
21271                   relative: 1.0 1.0;
21272                   offset: 4 4;
21273                }
21274                image {
21275                   normal: "bt_sm_base1.png";
21276                   border: 6 6 6 6;
21277                }
21278                image.middle: SOLID;
21279             }
21280             description { state: "selected" 0.0;
21281                inherit: "default" 0.0;
21282                visible: 1;
21283                color: 255 255 255 255;
21284                rel1 {
21285                   relative: 0.0 0.0;
21286                   offset: -2 -2;
21287                }
21288                rel2 {
21289                   relative: 1.0 1.0;
21290                   offset: 1 1;
21291                }
21292             }
21293          }
21294          part { name: "elm.swallow.pad";
21295             type: SWALLOW;
21296             description { state: "default" 0.0;
21297                fixed: 1 0;
21298                align: 0.0 0.5;
21299                rel1 {
21300                   relative: 0.0  0.0;
21301                   offset:   4    4;
21302                }
21303                rel2 {
21304                   relative: 1.0  1.0;
21305                   offset:   -4   -5;
21306                }
21307             }
21308          }
21309          part { name: "elm.swallow.icon";
21310             clip_to: "disclip";
21311             type: SWALLOW;
21312             description { state: "default" 0.0;
21313                fixed: 1 0;
21314                align: 0.5 0.5;
21315                rel1 {
21316                   to_x: "elm.swallow.pad";
21317                   relative: 0.0  0.0;
21318                   offset:   -1    4;
21319                }
21320                rel2 {
21321                   to_x: "elm.swallow.pad";
21322                   relative: 1.0  1.0;
21323                   offset:   -1   -5;
21324                }
21325             }
21326          }
21327          part { name: "elm.text";
21328             clip_to: "disclip";
21329             type:           TEXT;
21330             effect:         SOFT_SHADOW;
21331             mouse_events:   0;
21332             scale: 1;
21333             description {
21334                state: "default" 0.0;
21335 //               min: 16 16;
21336                rel1 {
21337                   to_y:     "elm.swallow.icon";
21338                   relative: 0.0  1.0;
21339                   offset:   0 4;
21340                }
21341                rel2 {
21342                   relative: 1.0  1.0;
21343                   offset:   -5 -5;
21344                }
21345                color: 0 0 0 255;
21346                color3: 0 0 0 0;
21347                text {
21348                   font: "Sans";
21349                   size: 10;
21350                   min: 1 1;
21351 //                  min: 0 1;
21352                   align: 0.5 0.5;
21353                   text_class: "list_item";
21354                }
21355             }
21356             description { state: "selected" 0.0;
21357                inherit: "default" 0.0;
21358                color: 224 224 224 255;
21359                color3: 0 0 0 64;
21360             }
21361          }
21362          part { name: "fg1";
21363             clip_to: "disclip";
21364             mouse_events: 0;
21365             description { state: "default" 0.0;
21366                visible: 0;
21367                color: 255 255 255 0;
21368                rel1.to: "bg";
21369                rel2.relative: 1.0 0.5;
21370                rel2.to: "bg";
21371                image {
21372                   normal: "bt_sm_hilight.png";
21373                   border: 6 6 6 0;
21374                }
21375             }
21376             description { state: "selected" 0.0;
21377                inherit: "default" 0.0;
21378                visible: 1;
21379                color: 255 255 255 255;
21380             }
21381          }
21382          part { name: "fg2";
21383             clip_to: "disclip";
21384             mouse_events: 0;
21385             description { state: "default" 0.0;
21386                visible: 0;
21387                color: 255 255 255 0;
21388                rel1.to: "bg";
21389                rel2.to: "bg";
21390                image {
21391                   normal: "bt_sm_shine.png";
21392                   border: 6 6 6 0;
21393                }
21394             }
21395             description { state: "selected" 0.0;
21396                inherit: "default" 0.0;
21397                visible: 1;
21398                color: 255 255 255 255;
21399             }
21400          }
21401          part { name: "disclip";
21402             type: RECT;
21403             description { state: "default" 0.0;
21404                rel1.to: "bg";
21405                rel2.to: "bg";
21406             }
21407             description { state: "disabled" 0.0;
21408                inherit: "default" 0.0;
21409                color: 255 255 255 64;
21410             }
21411          }
21412       }
21413       programs {
21414          // signal: elm,state,%s,active
21415          //   a "check" item named %s went active
21416          // signal: elm,state,%s,passive
21417          //   a "check" item named %s went passive
21418          // default is passive
21419          program {
21420             name:    "go_active";
21421             signal:  "elm,state,selected";
21422             source:  "elm";
21423             action:  STATE_SET "selected" 0.0;
21424             target:  "bg";
21425             target:  "fg1";
21426             target:  "fg2";
21427             target:  "elm.text";
21428          }
21429          program {
21430             name:    "go_passive";
21431             signal:  "elm,state,unselected";
21432             source:  "elm";
21433             action:  STATE_SET "default" 0.0;
21434             target:  "bg";
21435             target:  "fg1";
21436             target:  "fg2";
21437             target:  "elm.text";
21438             transition: LINEAR 0.1;
21439          }
21440          program {
21441             name:    "go_disabled";
21442             signal:  "elm,state,disabled";
21443             source:  "elm";
21444             action:  STATE_SET "disabled" 0.0;
21445             target:  "disclip";
21446          }
21447          program {
21448             name:    "go_enabled";
21449             signal:  "elm,state,enabled";
21450             source:  "elm";
21451             action:  STATE_SET "default" 0.0;
21452             target:  "disclip";
21453          }
21454       }
21455    }
21456    group { name: "elm/genlist/item_odd/icon_top_text_bottom/default";
21457       data.item: "stacking" "below";
21458       data.item: "selectraise" "on";
21459       data.item: "labels" "elm.text";
21460       data.item: "icons" "elm.swallow.icon";
21461       data.item: "treesize" "20";
21462 //      data.item: "states" "";
21463       images {
21464          image: "bt_sm_base1.png" COMP;
21465          image: "bt_sm_shine.png" COMP;
21466          image: "bt_sm_hilight.png" COMP;
21467          image: "ilist_2.png" COMP;
21468       }
21469       parts {
21470          part { name: "event";
21471             type: RECT;
21472             repeat_events: 1;
21473             description {
21474                state: "default" 0.0;
21475                color: 0 0 0 0;
21476             }
21477          }
21478          part {
21479             name: "base";
21480             mouse_events: 0;
21481             description {
21482                state: "default" 0.0;
21483                image {
21484                   normal: "ilist_2.png";
21485                   border: 2 2 2 2;
21486                }
21487                fill.smooth: 0;
21488             }
21489          }
21490          part { name: "bg";
21491             clip_to: "disclip";
21492             mouse_events: 0;
21493             description { state: "default" 0.0;
21494                visible: 0;
21495                color: 255 255 255 0;
21496                rel1 {
21497                   relative: 0.0 0.0;
21498                   offset: -5 -5;
21499                }
21500                rel2 {
21501                   relative: 1.0 1.0;
21502                   offset: 4 4;
21503                }
21504                image {
21505                   normal: "bt_sm_base1.png";
21506                   border: 6 6 6 6;
21507                }
21508                image.middle: SOLID;
21509             }
21510             description { state: "selected" 0.0;
21511                inherit: "default" 0.0;
21512                visible: 1;
21513                color: 255 255 255 255;
21514                rel1 {
21515                   relative: 0.0 0.0;
21516                   offset: -2 -2;
21517                }
21518                rel2 {
21519                   relative: 1.0 1.0;
21520                   offset: 1 1;
21521                }
21522             }
21523          }
21524          part { name: "elm.swallow.pad";
21525             type: SWALLOW;
21526             description { state: "default" 0.0;
21527                fixed: 1 0;
21528                align: 0.0 0.5;
21529                rel1 {
21530                   relative: 0.0  0.0;
21531                   offset:   4    4;
21532                }
21533                rel2 {
21534                   relative: 1.0  1.0;
21535                   offset:   -4   -5;
21536                }
21537             }
21538          }
21539          part { name: "elm.swallow.icon";
21540             clip_to: "disclip";
21541             type: SWALLOW;
21542             description { state: "default" 0.0;
21543                fixed: 1 0;
21544                align: 0.5 0.5;
21545                rel1 {
21546                   to_x: "elm.swallow.pad";
21547                   relative: 0.0  0.0;
21548                   offset:   -1    4;
21549                }
21550                rel2 {
21551                   to_x: "elm.swallow.pad";
21552                   relative: 1.0  1.0;
21553                   offset:   -1   -5;
21554                }
21555             }
21556          }
21557          part { name: "elm.text";
21558             clip_to: "disclip";
21559             type:           TEXT;
21560             effect:         SOFT_SHADOW;
21561             mouse_events:   0;
21562             scale: 1;
21563             description {
21564                state: "default" 0.0;
21565 //               min:      16 16;
21566                rel1 {
21567                   to_y:     "elm.swallow.icon";
21568                   relative: 0.0  1.0;
21569                   offset:   0 4;
21570                }
21571                rel2 {
21572                   relative: 1.0  1.0;
21573                   offset:   -5 -5;
21574                }
21575                color: 0 0 0 255;
21576                color3: 0 0 0 0;
21577                text {
21578                   font: "Sans";
21579                   size: 10;
21580                   min: 1 1;
21581 //                  min: 0 1;
21582                   align: 0.5 0.5;
21583                   text_class: "list_item";
21584                }
21585             }
21586             description { state: "selected" 0.0;
21587                inherit: "default" 0.0;
21588                color: 224 224 224 255;
21589                color3: 0 0 0 64;
21590             }
21591          }
21592          part { name: "fg1";
21593             clip_to: "disclip";
21594             mouse_events: 0;
21595             description { state: "default" 0.0;
21596                visible: 0;
21597                color: 255 255 255 0;
21598                rel1.to: "bg";
21599                rel2.relative: 1.0 0.5;
21600                rel2.to: "bg";
21601                image {
21602                   normal: "bt_sm_hilight.png";
21603                   border: 6 6 6 0;
21604                }
21605             }
21606             description { state: "selected" 0.0;
21607                inherit: "default" 0.0;
21608                visible: 1;
21609                color: 255 255 255 255;
21610             }
21611          }
21612          part { name: "fg2";
21613             clip_to: "disclip";
21614             mouse_events: 0;
21615             description { state: "default" 0.0;
21616                visible: 0;
21617                color: 255 255 255 0;
21618                rel1.to: "bg";
21619                rel2.to: "bg";
21620                image {
21621                   normal: "bt_sm_shine.png";
21622                   border: 6 6 6 0;
21623                }
21624             }
21625             description { state: "selected" 0.0;
21626                inherit: "default" 0.0;
21627                visible: 1;
21628                color: 255 255 255 255;
21629             }
21630          }
21631          part { name: "disclip";
21632             type: RECT;
21633             description { state: "default" 0.0;
21634                rel1.to: "bg";
21635                rel2.to: "bg";
21636             }
21637             description { state: "disabled" 0.0;
21638                inherit: "default" 0.0;
21639                color: 255 255 255 64;
21640             }
21641          }
21642       }
21643       programs {
21644          // signal: elm,state,%s,active
21645          //   a "check" item named %s went active
21646          // signal: elm,state,%s,passive
21647          //   a "check" item named %s went passive
21648          // default is passive
21649          program {
21650             name:    "go_active";
21651             signal:  "elm,state,selected";
21652             source:  "elm";
21653             action:  STATE_SET "selected" 0.0;
21654             target:  "bg";
21655             target:  "fg1";
21656             target:  "fg2";
21657             target:  "elm.text";
21658          }
21659          program {
21660             name:    "go_passive";
21661             signal:  "elm,state,unselected";
21662             source:  "elm";
21663             action:  STATE_SET "default" 0.0;
21664             target:  "bg";
21665             target:  "fg1";
21666             target:  "fg2";
21667             target:  "elm.text";
21668             transition: LINEAR 0.1;
21669          }
21670          program {
21671             name:    "go_disabled";
21672             signal:  "elm,state,disabled";
21673             source:  "elm";
21674             action:  STATE_SET "disabled" 0.0;
21675             target:  "disclip";
21676          }
21677          program {
21678             name:    "go_enabled";
21679             signal:  "elm,state,enabled";
21680             source:  "elm";
21681             action:  STATE_SET "default" 0.0;
21682             target:  "disclip";
21683          }
21684       }
21685    }
21686
21687    group { name: "elm/genlist/tree/icon_top_text_bottom/default";
21688       data.item: "stacking" "above";
21689       data.item: "selectraise" "on";
21690       data.item: "labels" "elm.text";
21691       data.item: "icons" "elm.swallow.icon";
21692       data.item: "treesize" "20";
21693 //      data.item: "states" "";
21694       images {
21695          image: "bt_sm_base1.png" COMP;
21696          image: "bt_sm_shine.png" COMP;
21697          image: "bt_sm_hilight.png" COMP;
21698          image: "ilist_1.png" COMP;
21699          image: "ilist_item_shadow.png" COMP;
21700          image: "icon_arrow_right.png" COMP;
21701          image: "icon_arrow_down.png" COMP;
21702       }
21703       parts {
21704          part {
21705             name:           "event";
21706             type:           RECT;
21707             repeat_events: 1;
21708             description {
21709                state: "default" 0.0;
21710                color: 0 0 0 0;
21711             }
21712          }
21713          part {
21714             name: "base_sh";
21715             mouse_events: 0;
21716             description {
21717                state: "default" 0.0;
21718                align: 0.0 0.0;
21719                min: 0 10;
21720                fixed: 1 1;
21721                rel1 {
21722                   to: "base";
21723                   relative: 0.0 1.0;
21724                   offset: 0 0;
21725                }
21726                rel2 {
21727                   to: "base";
21728                   relative: 1.0 1.0;
21729                   offset: -1 0;
21730                }
21731                image {
21732                   normal: "ilist_item_shadow.png";
21733                }
21734                fill.smooth: 0;
21735             }
21736          }
21737          part {
21738             name: "base";
21739             mouse_events: 0;
21740             description {
21741                state: "default" 0.0;
21742                image {
21743                   normal: "ilist_1.png";
21744                   border: 2 2 2 2;
21745                }
21746                fill.smooth: 0;
21747             }
21748          }
21749          part { name: "bg";
21750             clip_to: "disclip";
21751             mouse_events: 0;
21752             description { state: "default" 0.0;
21753                visible: 0;
21754                color: 255 255 255 0;
21755                rel1 {
21756                   relative: 0.0 0.0;
21757                   offset: -5 -5;
21758                }
21759                rel2 {
21760                   relative: 1.0 1.0;
21761                   offset: 4 4;
21762                }
21763                image {
21764                   normal: "bt_sm_base1.png";
21765                   border: 6 6 6 6;
21766                }
21767                image.middle: SOLID;
21768             }
21769             description { state: "selected" 0.0;
21770                inherit: "default" 0.0;
21771                visible: 1;
21772                color: 255 255 255 255;
21773                rel1 {
21774                   relative: 0.0 0.0;
21775                   offset: -2 -2;
21776                }
21777                rel2 {
21778                   relative: 1.0 1.0;
21779                   offset: 1 1;
21780                }
21781             }
21782          }
21783          part { name: "elm.swallow.pad";
21784             type: SWALLOW;
21785             description { state: "default" 0.0;
21786                fixed: 1 0;
21787                align: 0.0 0.5;
21788                rel1 {
21789                   relative: 0.0  0.0;
21790                   offset:   4    4;
21791                }
21792                rel2 {
21793                   relative: 0.0  1.0;
21794                   offset:   4   -5;
21795                }
21796             }
21797          }
21798          part { name: "arrow";
21799             clip_to: "disclip";
21800             ignore_flags: ON_HOLD;
21801             description { state: "default" 0.0;
21802                fixed: 1 0;
21803                align: 0.0 0.5;
21804                aspect: 1.0 1.0;
21805                rel1 {
21806                   to_x: "elm.swallow.pad";
21807                   relative: 1.0  0.0;
21808                   offset:   -1    4;
21809                }
21810                rel2 {
21811                   to_x: "elm.swallow.pad";
21812                   relative: 1.0  1.0;
21813                   offset:   -1   -5;
21814                }
21815                image.normal: "icon_arrow_right.png";
21816             }
21817             description { state: "active" 0.0;
21818                inherit: "default" 0.0;
21819                image.normal: "icon_arrow_down.png";
21820             }
21821          }
21822          part { name: "elm.swallow.icon";
21823             clip_to: "disclip";
21824             type: SWALLOW;
21825             description { state: "default" 0.0;
21826                fixed: 1 0;
21827                align: 0.5 0.5;
21828                rel1 {
21829                   to_x: "arrow";
21830                   relative: 1.0  0.0;
21831                   offset:   4    4;
21832                }
21833                rel2 {
21834                   relative: 1.0  1.0;
21835                   offset:   -4   -5;
21836                }
21837             }
21838          }
21839          part { name: "elm.text";
21840             clip_to: "disclip";
21841             type:           TEXT;
21842             effect:         SOFT_SHADOW;
21843             mouse_events:   0;
21844             scale: 1;
21845             description {
21846                state: "default" 0.0;
21847 //               min: 16 16;
21848                rel1 {
21849                   to_y:     "elm.swallow.icon";
21850                   relative: 0.0  1.0;
21851                   offset:   0 4;
21852                }
21853                rel2 {
21854                   relative: 1.0  1.0;
21855                   offset:   -5 -5;
21856                }
21857                color: 0 0 0 255;
21858                color3: 0 0 0 0;
21859                text {
21860                   font: "Sans";
21861                   size: 10;
21862                   min: 1 1;
21863 //                  min: 0 1;
21864                   align: 0.5 0.5;
21865                   text_class: "list_item";
21866                }
21867             }
21868             description { state: "selected" 0.0;
21869                inherit: "default" 0.0;
21870                color: 224 224 224 255;
21871                color3: 0 0 0 64;
21872             }
21873          }
21874          part { name: "fg1";
21875             clip_to: "disclip";
21876             mouse_events: 0;
21877             description { state: "default" 0.0;
21878                visible: 0;
21879                color: 255 255 255 0;
21880                rel1.to: "bg";
21881                rel2.relative: 1.0 0.5;
21882                rel2.to: "bg";
21883                image {
21884                   normal: "bt_sm_hilight.png";
21885                   border: 6 6 6 0;
21886                }
21887             }
21888             description { state: "selected" 0.0;
21889                inherit: "default" 0.0;
21890                visible: 1;
21891                color: 255 255 255 255;
21892             }
21893          }
21894          part { name: "fg2";
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.to: "bg";
21901                rel2.to: "bg";
21902                image {
21903                   normal: "bt_sm_shine.png";
21904                   border: 6 6 6 0;
21905                }
21906             }
21907             description { state: "selected" 0.0;
21908                inherit: "default" 0.0;
21909                visible: 1;
21910                color: 255 255 255 255;
21911             }
21912          }
21913          part { name: "disclip";
21914             type: RECT;
21915             description { state: "default" 0.0;
21916                rel1.to: "bg";
21917                rel2.to: "bg";
21918             }
21919             description { state: "disabled" 0.0;
21920                inherit: "default" 0.0;
21921                color: 255 255 255 64;
21922             }
21923          }
21924       }
21925       programs {
21926          // signal: elm,state,%s,active
21927          //   a "check" item named %s went active
21928          // signal: elm,state,%s,passive
21929          //   a "check" item named %s went passive
21930          // default is passive
21931          program {
21932             name:    "go_active";
21933             signal:  "elm,state,selected";
21934             source:  "elm";
21935             action:  STATE_SET "selected" 0.0;
21936             target:  "bg";
21937             target:  "fg1";
21938             target:  "fg2";
21939             target:  "elm.text";
21940          }
21941          program {
21942             name:    "go_passive";
21943             signal:  "elm,state,unselected";
21944             source:  "elm";
21945             action:  STATE_SET "default" 0.0;
21946             target:  "bg";
21947             target:  "fg1";
21948             target:  "fg2";
21949             target:  "elm.text";
21950             transition: LINEAR 0.1;
21951          }
21952          program {
21953             name:    "go_disabled";
21954             signal:  "elm,state,disabled";
21955             source:  "elm";
21956             action:  STATE_SET "disabled" 0.0;
21957             target:  "disclip";
21958          }
21959          program {
21960             name:    "go_enabled";
21961             signal:  "elm,state,enabled";
21962             source:  "elm";
21963             action:  STATE_SET "default" 0.0;
21964             target:  "disclip";
21965          }
21966          program {
21967             name:    "expand";
21968             signal:  "mouse,up,1";
21969             source:  "arrow";
21970             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
21971          }
21972          program {
21973             name:    "go_expanded";
21974             signal:  "elm,state,expanded";
21975             source:  "elm";
21976             action:  STATE_SET "active" 0.0;
21977             target:  "arrow";
21978          }
21979          program {
21980             name:    "go_contracted";
21981             signal:  "elm,state,contracted";
21982             source:  "elm";
21983             action:  STATE_SET "default" 0.0;
21984             target:  "arrow";
21985          }
21986       }
21987    }
21988    group { name: "elm/genlist/tree_odd/icon_top_text_bottom/default";
21989       data.item: "stacking" "below";
21990       data.item: "selectraise" "on";
21991       data.item: "labels" "elm.text";
21992       data.item: "icons" "elm.swallow.icon";
21993       data.item: "treesize" "20";
21994 //      data.item: "states" "";
21995       images {
21996          image: "bt_sm_base1.png" COMP;
21997          image: "bt_sm_shine.png" COMP;
21998          image: "bt_sm_hilight.png" COMP;
21999          image: "ilist_2.png" COMP;
22000          image: "icon_arrow_right.png" COMP;
22001          image: "icon_arrow_down.png" COMP;
22002       }
22003       parts {
22004          part {
22005             name:           "event";
22006             type:           RECT;
22007             repeat_events: 1;
22008             description {
22009                state: "default" 0.0;
22010                color: 0 0 0 0;
22011             }
22012          }
22013          part {
22014             name: "base";
22015             mouse_events: 0;
22016             description {
22017                state: "default" 0.0;
22018                image {
22019                   normal: "ilist_2.png";
22020                   border: 2 2 2 2;
22021                }
22022                fill.smooth: 0;
22023             }
22024          }
22025          part { name: "bg";
22026             clip_to: "disclip";
22027             mouse_events: 0;
22028             description { state: "default" 0.0;
22029                visible: 0;
22030                color: 255 255 255 0;
22031                rel1 {
22032                   relative: 0.0 0.0;
22033                   offset: -5 -5;
22034                }
22035                rel2 {
22036                   relative: 1.0 1.0;
22037                   offset: 4 4;
22038                }
22039                image {
22040                   normal: "bt_sm_base1.png";
22041                   border: 6 6 6 6;
22042                }
22043                image.middle: SOLID;
22044             }
22045             description { state: "selected" 0.0;
22046                inherit: "default" 0.0;
22047                visible: 1;
22048                color: 255 255 255 255;
22049                rel1 {
22050                   relative: 0.0 0.0;
22051                   offset: -2 -2;
22052                }
22053                rel2 {
22054                   relative: 1.0 1.0;
22055                   offset: 1 1;
22056                }
22057             }
22058          }
22059          part { name: "elm.swallow.pad";
22060             type: SWALLOW;
22061             description { state: "default" 0.0;
22062                fixed: 1 0;
22063                align: 0.0 0.5;
22064                rel1 {
22065                   relative: 0.0  0.0;
22066                   offset:   4    4;
22067                }
22068                rel2 {
22069                   relative: 0.0  1.0;
22070                   offset:   4   -5;
22071                }
22072             }
22073          }
22074          part { name: "arrow";
22075             clip_to: "disclip";
22076             ignore_flags: ON_HOLD;
22077             description { state: "default" 0.0;
22078                fixed: 1 0;
22079                align: 0.0 0.5;
22080                aspect: 1.0 1.0;
22081                rel1 {
22082                   to_x: "elm.swallow.pad";
22083                   relative: 1.0  0.0;
22084                   offset:   -1    4;
22085                }
22086                rel2 {
22087                   to_x: "elm.swallow.pad";
22088                   relative: 1.0  1.0;
22089                   offset:   -1   -5;
22090                }
22091                image.normal: "icon_arrow_right.png";
22092             }
22093             description { state: "active" 0.0;
22094                inherit: "default" 0.0;
22095                image.normal: "icon_arrow_down.png";
22096             }
22097          }
22098          part { name: "elm.swallow.icon";
22099             clip_to: "disclip";
22100             type: SWALLOW;
22101             description { state: "default" 0.0;
22102                fixed: 1 0;
22103                align: 0.5 0.5;
22104                rel1 {
22105                   to_x: "arrow";
22106                   relative: 1.0  0.0;
22107                   offset:   4    4;
22108                }
22109                rel2 {
22110                   relative: 1.0  1.0;
22111                   offset:   -4   -5;
22112                }
22113             }
22114          }
22115          part { name: "elm.text";
22116             clip_to: "disclip";
22117             type:           TEXT;
22118             effect:         SOFT_SHADOW;
22119             mouse_events:   0;
22120             scale: 1;
22121             description {
22122                state: "default" 0.0;
22123 //               min: 16 16;
22124                rel1 {
22125                   to_y:     "elm.swallow.icon";
22126                   relative: 0.0  1.0;
22127                   offset:   0 4;
22128                }
22129                rel2 {
22130                   relative: 1.0  1.0;
22131                   offset:   -5 -5;
22132                }
22133                color: 0 0 0 255;
22134                color3: 0 0 0 0;
22135                text {
22136                   font: "Sans";
22137                   size: 10;
22138                   min: 1 1;
22139 //                  min: 0 1;
22140                   align: 0.5 0.5;
22141                   text_class: "list_item";
22142                }
22143             }
22144             description { state: "selected" 0.0;
22145                inherit: "default" 0.0;
22146                color: 224 224 224 255;
22147                color3: 0 0 0 64;
22148             }
22149          }
22150          part { name: "fg1";
22151             clip_to: "disclip";
22152             mouse_events: 0;
22153             description { state: "default" 0.0;
22154                visible: 0;
22155                color: 255 255 255 0;
22156                rel1.to: "bg";
22157                rel2.relative: 1.0 0.5;
22158                rel2.to: "bg";
22159                image {
22160                   normal: "bt_sm_hilight.png";
22161                   border: 6 6 6 0;
22162                }
22163             }
22164             description { state: "selected" 0.0;
22165                inherit: "default" 0.0;
22166                visible: 1;
22167                color: 255 255 255 255;
22168             }
22169          }
22170          part { name: "fg2";
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.to: "bg";
22177                rel2.to: "bg";
22178                image {
22179                   normal: "bt_sm_shine.png";
22180                   border: 6 6 6 0;
22181                }
22182             }
22183             description { state: "selected" 0.0;
22184                inherit: "default" 0.0;
22185                visible: 1;
22186                color: 255 255 255 255;
22187             }
22188          }
22189          part { name: "disclip";
22190             type: RECT;
22191             description { state: "default" 0.0;
22192                rel1.to: "bg";
22193                rel2.to: "bg";
22194             }
22195             description { state: "disabled" 0.0;
22196                inherit: "default" 0.0;
22197                color: 255 255 255 64;
22198             }
22199          }
22200       }
22201       programs {
22202          // signal: elm,state,%s,active
22203          //   a "check" item named %s went active
22204          // signal: elm,state,%s,passive
22205          //   a "check" item named %s went passive
22206          // default is passive
22207          program {
22208             name:    "go_active";
22209             signal:  "elm,state,selected";
22210             source:  "elm";
22211             action:  STATE_SET "selected" 0.0;
22212             target:  "bg";
22213             target:  "fg1";
22214             target:  "fg2";
22215             target:  "elm.text";
22216          }
22217          program {
22218             name:    "go_passive";
22219             signal:  "elm,state,unselected";
22220             source:  "elm";
22221             action:  STATE_SET "default" 0.0;
22222             target:  "bg";
22223             target:  "fg1";
22224             target:  "fg2";
22225             target:  "elm.text";
22226             transition: LINEAR 0.1;
22227          }
22228          program {
22229             name:    "go_disabled";
22230             signal:  "elm,state,disabled";
22231             source:  "elm";
22232             action:  STATE_SET "disabled" 0.0;
22233             target:  "disclip";
22234          }
22235          program {
22236             name:    "go_enabled";
22237             signal:  "elm,state,enabled";
22238             source:  "elm";
22239             action:  STATE_SET "default" 0.0;
22240             target:  "disclip";
22241          }
22242          program {
22243             name:    "expand";
22244             signal:  "mouse,up,1";
22245             source:  "arrow";
22246             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
22247          }
22248          program {
22249             name:    "go_expanded";
22250             signal:  "elm,state,expanded";
22251             source:  "elm";
22252             action:  STATE_SET "active" 0.0;
22253             target:  "arrow";
22254          }
22255          program {
22256             name:    "go_contracted";
22257             signal:  "elm,state,contracted";
22258             source:  "elm";
22259             action:  STATE_SET "default" 0.0;
22260             target:  "arrow";
22261          }
22262       }
22263    }
22264
22265
22266 ///////////////////////////////////////////////////////////////////////////////
22267    group { name: "elm/check/base/default";
22268       images {
22269          image: "check_base.png" COMP;
22270          image: "check.png" COMP;
22271          image: "check2.png" COMP;
22272       }
22273       parts {
22274          part { name: "bg";
22275             mouse_events: 0;
22276             scale: 1;
22277             description { state: "default" 0.0;
22278                rel1.offset: 1 1;
22279                rel2.relative: 0.0 1.0;
22280                rel2.offset: 1 -2;
22281                align: 0.0 0.5;
22282                min: 16 16;
22283                max: 16 16;
22284                aspect: 1.0 1.0;
22285                aspect_preference: VERTICAL;
22286                image {
22287                   normal: "check_base.png";
22288                   border: 5 5 5 5;
22289                   middle: 0;
22290                }
22291                fill.smooth : 0;
22292             }
22293          }
22294          part { name: "check";
22295             mouse_events: 0;
22296             scale: 1;
22297             description { state: "default" 0.0;
22298                rel1 {
22299                   to: "bg";
22300                   offset: 1 1;
22301                }
22302                rel2 {
22303                   to: "bg";
22304                   offset: -2 -2;
22305                }
22306                visible: 0;
22307                color: 255 255 255 255;
22308                image.normal: "check.png";
22309             }
22310             description { state: "visible" 0.0;
22311                inherit: "default" 0.0;
22312                visible: 1;
22313             }
22314             description { state: "disabled" 0.0;
22315                inherit: "default" 0.0;
22316                visible: 0;
22317                color: 128 128 128 128;
22318             }
22319             description { state: "disabled_visible" 0.0;
22320                inherit: "default" 0.0;
22321                color: 128 128 128 128;
22322                visible: 1;
22323             }
22324          }
22325          part { name: "elm.swallow.content";
22326             type: SWALLOW;
22327             description { state: "default" 0.0;
22328                fixed: 1 0;
22329                visible: 0;
22330                align: 0.0 0.5;
22331           rel1.to_x: "bg";
22332                rel1.relative: 1.0 0.0;
22333                rel1.offset: 1 1;
22334           rel2.to_x: "bg";
22335                rel2.offset: 1 -2;
22336                rel2.relative: 1.0 1.0;
22337             }
22338             description { state: "visible" 0.0;
22339                inherit: "default" 0.0;
22340           fixed: 1 0;
22341                visible: 1;
22342                aspect: 1.0 1.0;
22343             }
22344             description { state: "disabled" 0.0;
22345                inherit: "default" 0.0;
22346                color: 128 128 128 128;
22347             }
22348             description { state: "disabled_visible" 0.0;
22349                inherit: "default" 0.0;
22350                color: 128 128 128 128;
22351           fixed: 1 0;
22352                visible: 1;
22353                aspect: 1.0 1.0;
22354             }
22355          }
22356          part { name: "elm.text";
22357             type: TEXT;
22358             mouse_events: 0;
22359             scale: 1;
22360             description { state: "default" 0.0;
22361                visible: 0;
22362                rel1.to_x: "elm.swallow.content";
22363                rel1.relative: 1.0 0.0;
22364                rel1.offset: 1 1;
22365                rel2.relative: 1.0 1.0;
22366                rel2.offset: -2 -2;
22367                color: 0 0 0 255;
22368                text {
22369                   font: "Sans,Edje-Vera";
22370                   size: 10;
22371                   min: 0 1;
22372                   align: 0.0 0.5;
22373                }
22374             }
22375             description { state: "visible" 0.0;
22376                inherit: "default" 0.0;
22377                visible: 1;
22378                text.min: 1 1;
22379             }
22380             description { state: "disabled" 0.0;
22381                inherit: "default" 0.0;
22382                color: 0 0 0 128;
22383                color3: 0 0 0 0;
22384             }
22385             description { state: "disabled_visible" 0.0;
22386                inherit: "default" 0.0;
22387                color: 0 0 0 128;
22388                color3: 0 0 0 0;
22389                visible: 1;
22390                text.min: 1 1;
22391             }
22392          }
22393          part { name: "events";
22394             type: RECT;
22395             ignore_flags: ON_HOLD;
22396             description { state: "default" 0.0;
22397                color: 0 0 0 0;
22398             }
22399          }
22400           part { name: "disabler";
22401             type: RECT;
22402             description { state: "default" 0.0;
22403                color: 0 0 0 0;
22404                visible: 0;
22405             }
22406             description { state: "disabled" 0.0;
22407                inherit: "default" 0.0;
22408                visible: 1;
22409             }
22410          }
22411       }
22412       programs {
22413          program { name: "click";
22414             signal: "mouse,up,1";
22415             source: "events";
22416             action: SIGNAL_EMIT "elm,action,check,toggle" "";
22417          }
22418          program { name: "check_on";
22419             signal: "elm,state,check,on";
22420             source: "elm";
22421             action:  STATE_SET "visible" 0.0;
22422             target: "check";
22423          }
22424          program { name: "check_off";
22425             signal: "elm,state,check,off";
22426             source: "elm";
22427             action:  STATE_SET "default" 0.0;
22428             target: "check";
22429          }
22430          program { name: "text_show";
22431             signal: "elm,state,text,visible";
22432             source: "elm";
22433             action:  STATE_SET "visible" 0.0;
22434             target: "elm.text";
22435          }
22436          program { name: "text_hide";
22437             signal: "elm,state,text,hidden";
22438             source: "elm";
22439             action:  STATE_SET "default" 0.0;
22440             target: "elm.text";
22441          }
22442          program { name: "icon_show";
22443             signal: "elm,state,icon,visible";
22444             source: "elm";
22445             action:  STATE_SET "visible" 0.0;
22446             target: "elm.swallow.content";
22447          }
22448          program { name: "icon_hide";
22449             signal: "elm,state,icon,hidden";
22450             source: "elm";
22451             action:  STATE_SET "default" 0.0;
22452             target: "elm.swallow.content";
22453          }
22454          program { name: "disable";
22455             signal: "elm,state,disabled";
22456             source: "elm";
22457             action: STATE_SET "disabled" 0.0;
22458             target: "disabler";
22459             after: "disable_text";
22460          }
22461          program { name: "disable_text";
22462             script {
22463                new st[31];
22464                new Float:vl;
22465                get_state(PART:"elm.text", st, 30, vl);
22466                if (!strcmp(st, "visible"))
22467                  set_state(PART:"elm.text", "disabled_visible", 0.0);
22468                else
22469                  set_state(PART:"elm.text", "disabled", 0.0);
22470
22471                get_state(PART:"elm.swallow.content", st, 30, vl);
22472                if (!strcmp(st, "visible"))
22473                  set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
22474                else
22475                  set_state(PART:"elm.swallow.content", "disabled", 0.0);
22476
22477                get_state(PART:"check", st, 30, vl);
22478                if (!strcmp(st, "visible"))
22479                  set_state(PART:"check", "disabled_visible", 0.0);
22480                else
22481                  set_state(PART:"check", "disabled", 0.0);
22482             }
22483          }
22484          program { name: "enable";
22485             signal: "elm,state,enabled";
22486             source: "elm";
22487             action: STATE_SET "default" 0.0;
22488             target: "disabler";
22489             after: "enable_text";
22490          }
22491          program { name: "enable_text";
22492             script {
22493                new st[31];
22494                new Float:vl;
22495                get_state(PART:"elm.text", st, 30, vl);
22496                if (!strcmp(st, "disabled_visible"))
22497                  set_state(PART:"elm.text", "visible", 0.0);
22498                else
22499                  set_state(PART:"elm.text", "default", 0.0);
22500
22501                get_state(PART:"elm.swallow.content", st, 30, vl);
22502                if (!strcmp(st, "visible"))
22503                  set_state(PART:"elm.swallow.content", "visible", 0.0);
22504                else
22505                  set_state(PART:"elm.swallow.content", "default", 0.0);
22506
22507                get_state(PART:"check", st, 30, vl);
22508                if (!strcmp(st, "visible"))
22509                  set_state(PART:"check", "visible", 0.0);
22510                else
22511                  set_state(PART:"check", "default", 0.0);
22512             }
22513          }
22514       }
22515    }
22516 ///////////////////////////////////////////////////////////////////////////////
22517    group { name: "elm/radio/base/default";
22518       images {
22519          image: "radio_base.png" COMP;
22520          image: "radio.png" COMP;
22521          image: "radio2.png" COMP;
22522       }
22523       parts {
22524          part { name: "bg";
22525             mouse_events: 0;
22526             scale: 1;
22527             description { state: "default" 0.0;
22528                rel1.offset: 1 1;
22529                rel2.relative: 0.0 1.0;
22530                rel2.offset: 1 -2;
22531                align: 0.0 0.5;
22532                min: 16 16;
22533                max: 16 16;
22534                aspect: 1.0 1.0;
22535                aspect_preference: VERTICAL;
22536                image.normal: "radio_base.png";
22537             }
22538          }
22539          part { name: "radio";
22540             mouse_events: 0;
22541             scale: 1;
22542             description { state: "default" 0.0;
22543                rel1.to: "bg";
22544                rel2.to: "bg";
22545                visible: 0;
22546                image.normal: "radio.png";
22547             }
22548             description { state: "visible" 0.0;
22549                inherit: "default" 0.0;
22550                visible: 1;
22551             }
22552          }
22553          part { name: "elm.swallow.content";
22554             type: SWALLOW;
22555             description { state: "default" 0.0;
22556                fixed: 1 0;
22557                visible: 0;
22558                align: 0.0 0.5;
22559                color: 0 0 0 0;
22560                rel1.to_x: "bg";
22561                rel1.relative: 1.0 0.0;
22562                rel1.offset: 1 1;
22563                rel2.to_x: "bg";
22564                rel2.relative: 1.0 1.0;
22565                rel2.offset: 2 -2;
22566             }
22567             description { state: "visible" 0.0;
22568                inherit: "default" 0.0;
22569                visible: 1;
22570                color: 255 255 255 255;
22571                aspect: 1.0 1.0;
22572             }
22573             description { state: "disabled" 0.0;
22574                inherit: "default" 0.0;
22575                color: 128 128 128 128;
22576             }
22577             description { state: "disabled_visible" 0.0;
22578                inherit: "default" 0.0;
22579                color: 128 128 128 128;
22580                visible: 1;
22581                aspect: 1.0 1.0;
22582             }
22583          }
22584          part { name: "elm.text";
22585             type: TEXT;
22586             mouse_events: 0;
22587             scale: 1;
22588             description { state: "default" 0.0;
22589                visible: 0;
22590                rel1.to_x: "elm.swallow.content";
22591                rel1.relative: 1.0 0.0;
22592                rel1.offset: 1 1;
22593                rel2.relative: 1.0 1.0;
22594                rel2.offset: -2 -2;
22595                color: 0 0 0 255;
22596                text {
22597                   font: "Sans,Edje-Vera";
22598                   size: 10;
22599                   min: 0 0;
22600                   align: 0.0 0.5;
22601                }
22602             }
22603             description { state: "visible" 0.0;
22604                inherit: "default" 0.0;
22605                visible: 1;
22606                text.min: 1 1;
22607             }
22608             description { state: "disabled" 0.0;
22609                inherit: "default" 0.0;
22610                color: 0 0 0 128;
22611                color3: 0 0 0 0;
22612             }
22613             description { state: "disabled_visible" 0.0;
22614                inherit: "default" 0.0;
22615                color: 0 0 0 128;
22616                color3: 0 0 0 0;
22617                visible: 1;
22618                text.min: 1 1;
22619             }
22620          }
22621          part { name: "events";
22622             type: RECT;
22623             ignore_flags: ON_HOLD;
22624             description { state: "default" 0.0;
22625                color: 0 0 0 0;
22626             }
22627          }
22628           part { name: "disabler";
22629             type: RECT;
22630             description { state: "default" 0.0;
22631                color: 0 0 0 0;
22632                visible: 0;
22633             }
22634             description { state: "disabled" 0.0;
22635                inherit: "default" 0.0;
22636                visible: 1;
22637             }
22638          }
22639       }
22640       programs {
22641          program { name: "click";
22642             signal: "mouse,up,1";
22643             source: "events";
22644             action: SIGNAL_EMIT "elm,action,radio,toggle" "";
22645          }
22646          program { name: "radio_on";
22647             signal: "elm,state,radio,on";
22648             source: "elm";
22649             action:  STATE_SET "visible" 0.0;
22650             target: "radio";
22651          }
22652          program { name: "radio_off";
22653             signal: "elm,state,radio,off";
22654             source: "elm";
22655             action:  STATE_SET "default" 0.0;
22656             target: "radio";
22657          }
22658          program { name: "text_show";
22659             signal: "elm,state,text,visible";
22660             source: "elm";
22661             action:  STATE_SET "visible" 0.0;
22662             target: "elm.text";
22663          }
22664          program { name: "text_hide";
22665             signal: "elm,state,text,hidden";
22666             source: "elm";
22667             action:  STATE_SET "default" 0.0;
22668             target: "elm.text";
22669          }
22670          program { name: "icon_show";
22671             signal: "elm,state,icon,visible";
22672             source: "elm";
22673             action:  STATE_SET "visible" 0.0;
22674             target: "elm.swallow.content";
22675          }
22676          program { name: "icon_hide";
22677             signal: "elm,state,icon,hidden";
22678             source: "elm";
22679             action:  STATE_SET "default" 0.0;
22680             target: "elm.swallow.content";
22681          }
22682          program { name: "disable";
22683             signal: "elm,state,disabled";
22684             source: "elm";
22685             action: STATE_SET "disabled" 0.0;
22686             target: "disabler";
22687             after: "disable_text";
22688          }
22689          program { name: "disable_text";
22690             script {
22691                new st[31];
22692                new Float:vl;
22693                get_state(PART:"elm.text", st, 30, vl);
22694                if (!strcmp(st, "visible"))
22695                  set_state(PART:"elm.text", "disabled_visible", 0.0);
22696                else
22697                  set_state(PART:"elm.text", "disabled", 0.0);
22698
22699                get_state(PART:"elm.swallow.content", st, 30, vl);
22700                if (!strcmp(st, "visible"))
22701                  set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
22702                else
22703                  set_state(PART:"elm.swallow.content", "disabled", 0.0);
22704             }
22705          }
22706          program { name: "enable";
22707             signal: "elm,state,enabled";
22708             source: "elm";
22709             action: STATE_SET "default" 0.0;
22710             target: "disabler";
22711             after: "enable_text";
22712          }
22713          program { name: "enable_text";
22714             script {
22715                new st[31];
22716                new Float:vl;
22717                get_state(PART:"elm.text", st, 30, vl);
22718                if (!strcmp(st, "disabled_visible"))
22719                  set_state(PART:"elm.text", "visible", 0.0);
22720                else
22721                  set_state(PART:"elm.text", "default", 0.0);
22722
22723                get_state(PART:"elm.swallow.content", st, 30, vl);
22724                if (!strcmp(st, "visible"))
22725                  set_state(PART:"elm.swallow.content", "visible", 0.0);
22726                else
22727                  set_state(PART:"elm.swallow.content", "default", 0.0);
22728             }
22729          }
22730       }
22731    }
22732    group { name: "elm/genlist/tree_compress_odd/double_label/default";
22733       data.item: "stacking" "below";
22734       data.item: "selectraise" "on";
22735       data.item: "labels" "elm.text elm.text.sub";
22736       data.item: "icons" "elm.swallow.icon elm.swallow.end";
22737       data.item: "treesize" "20";
22738 //      data.item: "states" "";
22739       images {
22740          image: "bt_sm_base1.png" COMP;
22741          image: "bt_sm_shine.png" COMP;
22742          image: "bt_sm_hilight.png" COMP;
22743          image: "ilist_2.png" COMP;
22744          image: "icon_arrow_right.png" COMP;
22745          image: "icon_arrow_down.png" COMP;
22746       }
22747       parts {
22748          part {
22749             name:           "event";
22750             type:           RECT;
22751             repeat_events: 1;
22752             description {
22753                state: "default" 0.0;
22754                color: 0 0 0 0;
22755             }
22756          }
22757          part {
22758             name: "base";
22759             mouse_events: 0;
22760             description {
22761                state: "default" 0.0;
22762                image {
22763                   normal: "ilist_2.png";
22764                   border: 2 2 2 2;
22765                }
22766                fill.smooth: 0;
22767             }
22768          }
22769          part { name: "bg";
22770             clip_to: "disclip";
22771             mouse_events: 0;
22772             description { state: "default" 0.0;
22773                visible: 0;
22774                color: 255 255 255 0;
22775                rel1 {
22776                   relative: 0.0 0.0;
22777                   offset: -5 -5;
22778                }
22779                rel2 {
22780                   relative: 1.0 1.0;
22781                   offset: 4 4;
22782                }
22783                image {
22784                   normal: "bt_sm_base1.png";
22785                   border: 6 6 6 6;
22786                }
22787                image.middle: SOLID;
22788             }
22789             description { state: "selected" 0.0;
22790                inherit: "default" 0.0;
22791                visible: 1;
22792                color: 255 255 255 255;
22793                rel1 {
22794                   relative: 0.0 0.0;
22795                   offset: -2 -2;
22796                }
22797                rel2 {
22798                   relative: 1.0 1.0;
22799                   offset: 1 1;
22800                }
22801             }
22802          }
22803          part { name: "elm.swallow.pad";
22804             type: SWALLOW;
22805             description { state: "default" 0.0;
22806                fixed: 1 0;
22807                align: 0.0 0.5;
22808                rel1 {
22809                   relative: 0.0  0.0;
22810                   offset:   4    4;
22811                }
22812                rel2 {
22813                   relative: 0.0  1.0;
22814                   offset:   4   -5;
22815                }
22816             }
22817          }
22818          part { name: "arrow";
22819             clip_to: "disclip";
22820             ignore_flags: ON_HOLD;
22821             description { state: "default" 0.0;
22822                fixed: 1 0;
22823                align: 0.0 0.5;
22824                aspect: 1.0 1.0;
22825                rel1 {
22826                   to_x: "elm.swallow.pad";
22827                   relative: 1.0  0.0;
22828                   offset:   -1    4;
22829                }
22830                rel2 {
22831                   to_x: "elm.swallow.pad";
22832                   relative: 1.0  1.0;
22833                   offset:   -1   -5;
22834                }
22835                image.normal: "icon_arrow_right.png";
22836             }
22837             description { state: "active" 0.0;
22838                inherit: "default" 0.0;
22839                image.normal: "icon_arrow_down.png";
22840             }
22841          }
22842          part { name: "elm.swallow.icon";
22843             clip_to: "disclip";
22844             type: SWALLOW;
22845             description { state: "default" 0.0;
22846                fixed: 1 0;
22847                align: 0.0 0.5;
22848                rel1 {
22849                   to_x: "arrow";
22850                   relative: 1.0  0.0;
22851                   offset:   4    4;
22852                }
22853                rel2 {
22854                   to_x: "arrow";
22855                   relative: 1.0  1.0;
22856                   offset:   4   -5;
22857                }
22858             }
22859          }
22860          part { name: "elm.swallow.end";
22861             clip_to: "disclip";
22862             type: SWALLOW;
22863             description { state: "default" 0.0;
22864                fixed: 1 0;
22865                align: 1.0 0.5;
22866                aspect: 1.0 1.0;
22867                aspect_preference: VERTICAL;
22868                rel1 {
22869                   relative: 1.0  0.0;
22870                   offset:   -5    4;
22871                }
22872                rel2 {
22873                   relative: 1.0  1.0;
22874                   offset:   -5   -5;
22875                }
22876             }
22877          }
22878          part { name: "elm.text";
22879             clip_to: "disclip";
22880             type:           TEXT;
22881             effect:         SOFT_SHADOW;
22882             mouse_events:   0;
22883             scale: 1;
22884             description {
22885                state: "default" 0.0;
22886 //               min: 16 16;
22887                rel1 {
22888                   to_x:     "elm.swallow.icon";
22889                   relative: 1.0  0.0;
22890                   offset:   0 4;
22891                }
22892                rel2 {
22893                   to_x:     "elm.swallow.end";
22894                   relative: 0.0  0.5;
22895                   offset:   -1 -5;
22896                }
22897                color: 0 0 0 255;
22898                color3: 0 0 0 0;
22899                text {
22900                   font: "Sans";
22901                   size: 10;
22902 //                  min: 1 1;
22903                   min: 0 1;
22904                   align: 0.0 0.5;
22905                   text_class: "list_item";
22906                }
22907             }
22908             description { state: "selected" 0.0;
22909                inherit: "default" 0.0;
22910                color: 224 224 224 255;
22911                color3: 0 0 0 64;
22912             }
22913          }
22914          part { name: "elm.text.sub";
22915             clip_to: "disclip";
22916             type:           TEXT;
22917             mouse_events:   0;
22918             scale: 1;
22919             description {
22920                state: "default" 0.0;
22921 //               min: 16 16;
22922                rel1 {
22923                   to_x:     "elm.swallow.icon";
22924                   relative: 1.0  0.5;
22925                   offset:   0 4;
22926                }
22927                rel2 {
22928                   to_x:     "elm.swallow.end";
22929                   relative: 0.0  1.0;
22930                   offset:   -1 -5;
22931                }
22932                color: 0 0 0 128;
22933                color3: 0 0 0 0;
22934                text {
22935                   font: "Sans";
22936                   size: 8;
22937 //                  min: 1 1;
22938                   min: 0 1;
22939                   align: 0.0 0.5;
22940                   text_class: "list_item";
22941                }
22942             }
22943             description { state: "selected" 0.0;
22944                inherit: "default" 0.0;
22945                color: 128 128 128 255;
22946                color3: 0 0 0 32;
22947             }
22948          }
22949          part { name: "fg1";
22950             clip_to: "disclip";
22951             mouse_events: 0;
22952             description { state: "default" 0.0;
22953                visible: 0;
22954                color: 255 255 255 0;
22955                rel1.to: "bg";
22956                rel2.relative: 1.0 0.5;
22957                rel2.to: "bg";
22958                image {
22959                   normal: "bt_sm_hilight.png";
22960                   border: 6 6 6 0;
22961                }
22962             }
22963             description { state: "selected" 0.0;
22964                inherit: "default" 0.0;
22965                visible: 1;
22966                color: 255 255 255 255;
22967             }
22968          }
22969          part { name: "fg2";
22970             clip_to: "disclip";
22971             mouse_events: 0;
22972             description { state: "default" 0.0;
22973                visible: 0;
22974                color: 255 255 255 0;
22975                rel1.to: "bg";
22976                rel2.to: "bg";
22977                image {
22978                   normal: "bt_sm_shine.png";
22979                   border: 6 6 6 0;
22980                }
22981             }
22982             description { state: "selected" 0.0;
22983                inherit: "default" 0.0;
22984                visible: 1;
22985                color: 255 255 255 255;
22986             }
22987          }
22988          part { name: "disclip";
22989             type: RECT;
22990             description { state: "default" 0.0;
22991                rel1.to: "bg";
22992                rel2.to: "bg";
22993             }
22994             description { state: "disabled" 0.0;
22995                inherit: "default" 0.0;
22996                color: 255 255 255 64;
22997             }
22998          }
22999       }
23000       programs {
23001          // signal: elm,state,%s,active
23002          //   a "check" item named %s went active
23003          // signal: elm,state,%s,passive
23004          //   a "check" item named %s went passive
23005          // default is passive
23006          program {
23007             name:    "go_active";
23008             signal:  "elm,state,selected";
23009             source:  "elm";
23010             action:  STATE_SET "selected" 0.0;
23011             target:  "bg";
23012             target:  "fg1";
23013             target:  "fg2";
23014             target:  "elm.text";
23015             target:  "elm.text.sub";
23016          }
23017          program {
23018             name:    "go_passive";
23019             signal:  "elm,state,unselected";
23020             source:  "elm";
23021             action:  STATE_SET "default" 0.0;
23022             target:  "bg";
23023             target:  "fg1";
23024             target:  "fg2";
23025             target:  "elm.text";
23026             target:  "elm.text.sub";
23027             transition: LINEAR 0.1;
23028          }
23029          program {
23030             name:    "go_disabled";
23031             signal:  "elm,state,disabled";
23032             source:  "elm";
23033             action:  STATE_SET "disabled" 0.0;
23034             target:  "disclip";
23035          }
23036          program {
23037             name:    "go_enabled";
23038             signal:  "elm,state,enabled";
23039             source:  "elm";
23040             action:  STATE_SET "default" 0.0;
23041             target:  "disclip";
23042          }
23043          program {
23044             name:    "expand";
23045             signal:  "mouse,up,1";
23046             source:  "arrow";
23047             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
23048          }
23049          program {
23050             name:    "go_expanded";
23051             signal:  "elm,state,expanded";
23052             source:  "elm";
23053             action:  STATE_SET "active" 0.0;
23054             target:  "arrow";
23055          }
23056          program {
23057             name:    "go_contracted";
23058             signal:  "elm,state,contracted";
23059             source:  "elm";
23060             action:  STATE_SET "default" 0.0;
23061             target:  "arrow";
23062          }
23063       }
23064    }
23065
23066    group { name: "elm/genlist/item_compress/media/default";
23067       data.item: "stacking" "above";
23068       data.item: "selectraise" "on";
23069       data.item: "labels" "elm.text.title elm.text.album-artist";
23070       data.item: "treesize" "20";
23071       images {
23072          image: "bt_sm_base1.png" COMP;
23073          image: "bt_sm_shine.png" COMP;
23074          image: "bt_sm_hilight.png" COMP;
23075          image: "ilist_1.png" COMP;
23076          image: "ilist_item_shadow.png" COMP;
23077       }
23078       parts {
23079          part {
23080             name:           "event";
23081             type:           RECT;
23082             repeat_events: 1;
23083             description {
23084                state: "default" 0.0;
23085                color: 0 0 0 0;
23086             }
23087          }
23088          part {
23089             name: "base_sh";
23090             mouse_events: 0;
23091             description {
23092                state: "default" 0.0;
23093                align: 0.0 0.0;
23094                min: 0 10;
23095                fixed: 1 1;
23096                rel1 {
23097                   to: "base";
23098                   relative: 0.0 1.0;
23099                   offset: 0 0;
23100                }
23101                rel2 {
23102                   to: "base";
23103                   relative: 1.0 1.0;
23104                   offset: -1 0;
23105                }
23106                image {
23107                   normal: "ilist_item_shadow.png";
23108                }
23109                fill.smooth: 0;
23110             }
23111          }
23112          part {
23113             name: "base";
23114             mouse_events: 0;
23115             description {
23116                state: "default" 0.0;
23117                image {
23118                   normal: "ilist_1.png";
23119                   border: 2 2 2 2;
23120                }
23121                fill.smooth: 0;
23122             }
23123          }
23124          part { name: "bg";
23125             clip_to: "disclip";
23126             mouse_events: 0;
23127             description { state: "default" 0.0;
23128                visible: 0;
23129                color: 255 255 255 0;
23130                rel1 {
23131                   relative: 0.0 0.0;
23132                   offset: -5 -5;
23133                }
23134                rel2 {
23135                   relative: 1.0 1.0;
23136                   offset: 4 4;
23137                }
23138                image {
23139                   normal: "bt_sm_base1.png";
23140                   border: 6 6 6 6;
23141                }
23142                image.middle: SOLID;
23143             }
23144             description { state: "selected" 0.0;
23145                inherit: "default" 0.0;
23146                visible: 1;
23147                color: 255 255 255 255;
23148                rel1 {
23149                   relative: 0.0 0.0;
23150                   offset: -2 -2;
23151                }
23152                rel2 {
23153                   relative: 1.0 1.0;
23154                   offset: 1 1;
23155                }
23156             }
23157          }
23158          part { name: "elm.swallow.pad";
23159             type: SWALLOW;
23160             description { state: "default" 0.0;
23161                fixed: 1 0;
23162                align: 0.0 0.5;
23163                rel1 {
23164                   relative: 0.0  0.0;
23165                   offset:   4    4;
23166                }
23167                rel2 {
23168                   relative: 0.0  1.0;
23169                   offset:   4   -5;
23170                }
23171             }
23172          }
23173          part { name: "elm.text.title";
23174             clip_to: "disclip";
23175             type:           TEXT;
23176             effect:         SOFT_SHADOW;
23177             mouse_events:   0;
23178             scale: 1;
23179             description {
23180                state: "default" 0.0;
23181                rel1 {
23182                   relative: 0.0  0.0;
23183                   offset:   4 4;
23184                }
23185                rel2 {
23186                   relative: 1.0  0.5;
23187                   offset:   -1 -5;
23188                }
23189                color: 0 0 0 255;
23190                color3: 0 0 0 0;
23191                text {
23192                   font: "Sans";
23193                   size: 10;
23194                   min: 0 1;
23195                   align: 0.0 0.5;
23196                }
23197             }
23198             description { state: "selected" 0.0;
23199                inherit: "default" 0.0;
23200                color: 224 224 224 255;
23201                color3: 0 0 0 64;
23202             }
23203          }
23204          part { name: "elm.text.album-artist";
23205             clip_to: "disclip";
23206             type:           TEXT;
23207             mouse_events:   0;
23208             scale: 1;
23209             description {
23210                state: "default" 0.0;
23211                rel1 {
23212                   relative: 0.0  0.5;
23213                   offset:   4 4;
23214                }
23215                rel2 {
23216                   relative: 1.0  1.0;
23217                   offset:   -1 -5;
23218                }
23219                color: 0 0 0 128;
23220                color3: 0 0 0 0;
23221                text {
23222                   font: "Sans";
23223                   size: 8;
23224                   min: 0 1;
23225                   align: 0.0 0.5;
23226                }
23227             }
23228             description { state: "selected" 0.0;
23229                inherit: "default" 0.0;
23230                color: 128 128 128 255;
23231                color3: 0 0 0 32;
23232             }
23233          }
23234          part { name: "fg1";
23235             clip_to: "disclip";
23236             mouse_events: 0;
23237             description { state: "default" 0.0;
23238                visible: 0;
23239                color: 255 255 255 0;
23240                rel1.to: "bg";
23241                rel2.relative: 1.0 0.5;
23242                rel2.to: "bg";
23243                image {
23244                   normal: "bt_sm_hilight.png";
23245                   border: 6 6 6 0;
23246                }
23247             }
23248             description { state: "selected" 0.0;
23249                inherit: "default" 0.0;
23250                visible: 1;
23251                color: 255 255 255 255;
23252             }
23253          }
23254          part { name: "fg2";
23255             clip_to: "disclip";
23256             mouse_events: 0;
23257             description { state: "default" 0.0;
23258                visible: 0;
23259                color: 255 255 255 0;
23260                rel1.to: "bg";
23261                rel2.to: "bg";
23262                image {
23263                   normal: "bt_sm_shine.png";
23264                   border: 6 6 6 0;
23265                }
23266             }
23267             description { state: "selected" 0.0;
23268                inherit: "default" 0.0;
23269                visible: 1;
23270                color: 255 255 255 255;
23271             }
23272          }
23273          part { name: "disclip";
23274             type: RECT;
23275             description { state: "default" 0.0;
23276                rel1.to: "bg";
23277                rel2.to: "bg";
23278             }
23279             description { state: "disabled" 0.0;
23280                inherit: "default" 0.0;
23281                color: 255 255 255 64;
23282             }
23283          }
23284       }
23285       programs {
23286          // signal: elm,state,%s,active
23287          //   a "check" item named %s went active
23288          // signal: elm,state,%s,passive
23289          //   a "check" item named %s went passive
23290          // default is passive
23291          program {
23292             name:    "go_active";
23293             signal:  "elm,state,selected";
23294             source:  "elm";
23295             action:  STATE_SET "selected" 0.0;
23296             target:  "bg";
23297             target:  "fg1";
23298             target:  "fg2";
23299             target:  "elm.text.title";
23300             target:  "elm.text.album-artist";
23301          }
23302          program {
23303             name:    "go_passive";
23304             signal:  "elm,state,unselected";
23305             source:  "elm";
23306             action:  STATE_SET "default" 0.0;
23307             target:  "bg";
23308             target:  "fg1";
23309             target:  "fg2";
23310             target:  "elm.text.title";
23311             target:  "elm.text.album-artist";
23312             transition: LINEAR 0.1;
23313          }
23314          program {
23315             name:    "go_disabled";
23316             signal:  "elm,state,disabled";
23317             source:  "elm";
23318             action:  STATE_SET "disabled" 0.0;
23319             target:  "disclip";
23320          }
23321          program {
23322             name:    "go_enabled";
23323             signal:  "elm,state,enabled";
23324             source:  "elm";
23325             action:  STATE_SET "default" 0.0;
23326             target:  "disclip";
23327          }
23328       }
23329    }
23330    group { name: "elm/genlist/item_compress_odd/media/default";
23331       data.item: "stacking" "below";
23332       data.item: "selectraise" "on";
23333       data.item: "labels" "elm.text.title elm.text.album-artist";
23334       data.item: "treesize" "20";
23335       images {
23336          image: "bt_sm_base1.png" COMP;
23337          image: "bt_sm_shine.png" COMP;
23338          image: "bt_sm_hilight.png" COMP;
23339          image: "ilist_2.png" COMP;
23340       }
23341       parts {
23342          part { name: "event";
23343             type: RECT;
23344             repeat_events: 1;
23345             description {
23346                state: "default" 0.0;
23347                color: 0 0 0 0;
23348             }
23349          }
23350          part {
23351             name: "base";
23352             mouse_events: 0;
23353             description {
23354                state: "default" 0.0;
23355                image {
23356                   normal: "ilist_2.png";
23357                   border: 2 2 2 2;
23358                }
23359                fill.smooth: 0;
23360             }
23361          }
23362          part { name: "bg";
23363             clip_to: "disclip";
23364             mouse_events: 0;
23365             description { state: "default" 0.0;
23366                visible: 0;
23367                color: 255 255 255 0;
23368                rel1 {
23369                   relative: 0.0 0.0;
23370                   offset: -5 -5;
23371                }
23372                rel2 {
23373                   relative: 1.0 1.0;
23374                   offset: 4 4;
23375                }
23376                image {
23377                   normal: "bt_sm_base1.png";
23378                   border: 6 6 6 6;
23379                }
23380                image.middle: SOLID;
23381             }
23382             description { state: "selected" 0.0;
23383                inherit: "default" 0.0;
23384                visible: 1;
23385                color: 255 255 255 255;
23386                rel1 {
23387                   relative: 0.0 0.0;
23388                   offset: -2 -2;
23389                }
23390                rel2 {
23391                   relative: 1.0 1.0;
23392                   offset: 1 1;
23393                }
23394             }
23395          }
23396          part { name: "elm.swallow.pad";
23397             type: SWALLOW;
23398             description { state: "default" 0.0;
23399                fixed: 1 0;
23400                align: 0.0 0.5;
23401                rel1 {
23402                   relative: 0.0  0.0;
23403                   offset:   4    4;
23404                }
23405                rel2 {
23406                   relative: 0.0  1.0;
23407                   offset:   4   -5;
23408                }
23409             }
23410          }
23411          part { name: "elm.text.title";
23412             clip_to: "disclip";
23413             type:           TEXT;
23414             effect:         SOFT_SHADOW;
23415             mouse_events:   0;
23416             scale: 1;
23417             description {
23418                state: "default" 0.0;
23419                rel1 {
23420                   relative: 0.0  0.0;
23421                   offset:   4 4;
23422                }
23423                rel2 {
23424                   relative: 1.0  0.5;
23425                   offset:   -1 -5;
23426                }
23427                color: 0 0 0 255;
23428                color3: 0 0 0 0;
23429                text {
23430                   font: "Sans";
23431                   size: 10;
23432                   min: 0 1;
23433                   align: 0.0 0.5;
23434                }
23435             }
23436             description { state: "selected" 0.0;
23437                inherit: "default" 0.0;
23438                color: 224 224 224 255;
23439                color3: 0 0 0 64;
23440             }
23441          }
23442          part { name: "elm.text.album-artist";
23443             clip_to: "disclip";
23444             type:           TEXT;
23445             mouse_events:   0;
23446             scale: 1;
23447             description {
23448                state: "default" 0.0;
23449                rel1 {
23450                   relative: 0.0  0.5;
23451                   offset:   4 4;
23452                }
23453                rel2 {
23454                   relative: 1.0  1.0;
23455                   offset:   -1 -5;
23456                }
23457                color: 0 0 0 128;
23458                color3: 0 0 0 0;
23459                text {
23460                   font: "Sans";
23461                   size: 8;
23462                   min: 0 1;
23463                   align: 0.0 0.5;
23464                }
23465             }
23466             description { state: "selected" 0.0;
23467                inherit: "default" 0.0;
23468                color: 128 128 128 255;
23469                color3: 0 0 0 32;
23470             }
23471          }
23472          part { name: "fg1";
23473             clip_to: "disclip";
23474             mouse_events: 0;
23475             description { state: "default" 0.0;
23476                visible: 0;
23477                color: 255 255 255 0;
23478                rel1.to: "bg";
23479                rel2.relative: 1.0 0.5;
23480                rel2.to: "bg";
23481                image {
23482                   normal: "bt_sm_hilight.png";
23483                   border: 6 6 6 0;
23484                }
23485             }
23486             description { state: "selected" 0.0;
23487                inherit: "default" 0.0;
23488                visible: 1;
23489                color: 255 255 255 255;
23490             }
23491          }
23492          part { name: "fg2";
23493             clip_to: "disclip";
23494             mouse_events: 0;
23495             description { state: "default" 0.0;
23496                visible: 0;
23497                color: 255 255 255 0;
23498                rel1.to: "bg";
23499                rel2.to: "bg";
23500                image {
23501                   normal: "bt_sm_shine.png";
23502                   border: 6 6 6 0;
23503                }
23504             }
23505             description { state: "selected" 0.0;
23506                inherit: "default" 0.0;
23507                visible: 1;
23508                color: 255 255 255 255;
23509             }
23510          }
23511          part { name: "disclip";
23512             type: RECT;
23513             description { state: "default" 0.0;
23514                rel1.to: "bg";
23515                rel2.to: "bg";
23516             }
23517             description { state: "disabled" 0.0;
23518                inherit: "default" 0.0;
23519                color: 255 255 255 64;
23520             }
23521          }
23522       }
23523       programs {
23524          // signal: elm,state,%s,active
23525          //   a "check" item named %s went active
23526          // signal: elm,state,%s,passive
23527          //   a "check" item named %s went passive
23528          // default is passive
23529          program {
23530             name:    "go_active";
23531             signal:  "elm,state,selected";
23532             source:  "elm";
23533             action:  STATE_SET "selected" 0.0;
23534             target:  "bg";
23535             target:  "fg1";
23536             target:  "fg2";
23537             target:  "elm.text.title";
23538             target:  "elm.text.album-artist";
23539          }
23540          program {
23541             name:    "go_passive";
23542             signal:  "elm,state,unselected";
23543             source:  "elm";
23544             action:  STATE_SET "default" 0.0;
23545             target:  "bg";
23546             target:  "fg1";
23547             target:  "fg2";
23548             target:  "elm.text.title";
23549             target:  "elm.text.album-artist";
23550             transition: LINEAR 0.1;
23551          }
23552          program {
23553             name:    "go_disabled";
23554             signal:  "elm,state,disabled";
23555             source:  "elm";
23556             action:  STATE_SET "disabled" 0.0;
23557             target:  "disclip";
23558          }
23559          program {
23560             name:    "go_enabled";
23561             signal:  "elm,state,enabled";
23562             source:  "elm";
23563             action:  STATE_SET "default" 0.0;
23564             target:  "disclip";
23565          }
23566       }
23567    }
23568
23569    group { name: "elm/genlist/item_compress/media-album/default";
23570       data.item: "stacking" "above";
23571       data.item: "selectraise" "on";
23572       data.item: "labels" "elm.text.title elm.text.trackno elm.text.length";
23573       data.item: "states" "elm.state.trackno";
23574       data.item: "treesize" "20";
23575       images {
23576          image: "bt_sm_base1.png" COMP;
23577          image: "bt_sm_shine.png" COMP;
23578          image: "bt_sm_hilight.png" COMP;
23579          image: "ilist_1.png" COMP;
23580          image: "ilist_item_shadow.png" COMP;
23581       }
23582       script {
23583          public dot_visible;
23584       }
23585       parts {
23586          part {
23587             name: "event";
23588             type: RECT;
23589             repeat_events: 1;
23590             description {
23591                state: "default" 0.0;
23592                color: 0 0 0 0;
23593             }
23594          }
23595          part {
23596             name: "base_sh";
23597             mouse_events: 0;
23598             description {
23599                state: "default" 0.0;
23600                align: 0.0 0.0;
23601                min: 0 10;
23602                fixed: 1 1;
23603                rel1 {
23604                   to: "base";
23605                   relative: 0.0 1.0;
23606                   offset: 0 0;
23607                }
23608                rel2 {
23609                   to: "base";
23610                   relative: 1.0 1.0;
23611                   offset: -1 0;
23612                }
23613                image {
23614                   normal: "ilist_item_shadow.png";
23615                }
23616                fill.smooth: 0;
23617             }
23618          }
23619          part {
23620             name: "base";
23621             mouse_events: 0;
23622             description {
23623                state: "default" 0.0;
23624                image {
23625                   normal: "ilist_1.png";
23626                   border: 2 2 2 2;
23627                }
23628                fill.smooth: 0;
23629             }
23630          }
23631          part { name: "bg";
23632             clip_to: "disclip";
23633             mouse_events: 0;
23634             description { state: "default" 0.0;
23635                visible: 0;
23636                color: 255 255 255 0;
23637                rel1 {
23638                   relative: 0.0 0.0;
23639                   offset: -5 -5;
23640                }
23641                rel2 {
23642                   relative: 1.0 1.0;
23643                   offset: 4 4;
23644                }
23645                image {
23646                   normal: "bt_sm_base1.png";
23647                   border: 6 6 6 6;
23648                }
23649                image.middle: SOLID;
23650             }
23651             description { state: "selected" 0.0;
23652                inherit: "default" 0.0;
23653                visible: 1;
23654                color: 255 255 255 255;
23655                rel1 {
23656                   relative: 0.0 0.0;
23657                   offset: -2 -2;
23658                }
23659                rel2 {
23660                   relative: 1.0 1.0;
23661                   offset: 1 1;
23662                }
23663             }
23664          }
23665          part { name: "elm.swallow.pad";
23666             type: SWALLOW;
23667             description { state: "default" 0.0;
23668                fixed: 1 0;
23669                align: 0.0 0.5;
23670                rel1 {
23671                   relative: 0.0  0.0;
23672                   offset:   4    4;
23673                }
23674                rel2 {
23675                   relative: 0.0  1.0;
23676                   offset:   4   -5;
23677                }
23678             }
23679          }
23680          part {
23681             name: "elm.text.trackno";
23682             type: TEXT;
23683             scale: 1;
23684             mouse_events: 0;
23685             description {
23686                state: "default" 0.0;
23687                color: 255 255 255 255;
23688                align: 0.0 0.0;
23689                fixed: 1 0;
23690                rel1 {
23691                   to_y: "elm.text.title";
23692                   relative: 0.0 0.0;
23693                   offset: 5 0;
23694                }
23695                rel2 {
23696                   to_y: "elm.text.title";
23697                   relative: 0.0 1.0;
23698                   offset: 20 0;
23699                }
23700                color: 0 0 0 255;
23701                color3: 0 0 0 0;
23702                text {
23703                   font: "Sans";
23704                   size: 10;
23705                   min: 1 1;
23706                   align: 1.0 0.5;
23707                }
23708             }
23709             description { state: "selected" 0.0;
23710                inherit: "default" 0.0;
23711                color: 224 224 224 255;
23712                color3: 0 0 0 64;
23713             }
23714          }
23715          part {
23716             name: "dot";
23717             type: TEXT;
23718             scale: 1;
23719             mouse_events: 0;
23720             description {
23721                state: "default" 0.0;
23722                color: 255 255 255 255;
23723                visible: 0;
23724                fixed: 1 1;
23725                align: 0.0 0.0;
23726                rel1 {
23727                   to_x: "elm.text.trackno";
23728                   to_y: "elm.text.title";
23729                   relative: 1.0 0.0;
23730                   offset: 1 0;
23731                }
23732                rel2 {
23733                   to_x: "elm.text.trackno";
23734                   to_y: "elm.text.title";
23735                   relative: 1.0 1.0;
23736                   offset: 1 0;
23737
23738                }
23739                color: 0 0 0 255;
23740                color3: 0 0 0 0;
23741                text {
23742                   font: "Sans";
23743                   size: 10;
23744                   min: 1 1;
23745                   align: 0.0 0.5;
23746                   text: ".";
23747                }
23748             }
23749             description {
23750                state: "visible" 0.0;
23751                inherit: "default" 0.0;
23752                visible: 1;
23753             }
23754             description { state: "selected" 0.0;
23755                inherit: "default" 0.0;
23756                color: 224 224 224 255;
23757                color3: 0 0 0 64;
23758                visible: 1;
23759             }
23760          }
23761          programs {
23762             program {
23763                signal: "elm,state,elm.state.trackno,active";
23764                source: "elm";
23765                script {
23766                   set_state(PART:"dot", "visible", 0.0);
23767                   set_int(dot_visible, 1);
23768                }
23769             }
23770          }
23771          part { name: "elm.text.title";
23772             clip_to: "disclip";
23773             type:           TEXT;
23774             effect:         SOFT_SHADOW;
23775             mouse_events:   0;
23776             scale: 1;
23777             description {
23778                state: "default" 0.0;
23779                rel1 {
23780                   to_x: "dot";
23781                   relative: 0.0  0.0;
23782                   offset:   4 4;
23783                }
23784                rel2 {
23785                   relative: 1.0  0.5;
23786                   offset:   -1 -5;
23787                }
23788                color: 0 0 0 255;
23789                color3: 0 0 0 0;
23790                text {
23791                   font: "Sans";
23792                   size: 10;
23793                   min: 0 1;
23794                   align: 0.0 0.5;
23795                }
23796             }
23797             description { state: "selected" 0.0;
23798                inherit: "default" 0.0;
23799                color: 224 224 224 255;
23800                color3: 0 0 0 64;
23801             }
23802          }
23803          part { name: "elm.text.length";
23804             clip_to: "disclip";
23805             type:           TEXT;
23806             mouse_events:   0;
23807             scale: 1;
23808             description {
23809                state: "default" 0.0;
23810                rel1 {
23811                   relative: 0.0  0.5;
23812                   offset:   4 4;
23813                }
23814                rel2 {
23815                   relative: 1.0  1.0;
23816                   offset:   -1 -5;
23817                }
23818                color: 0 0 0 128;
23819                color3: 0 0 0 0;
23820                text {
23821                   font: "Sans";
23822                   size: 8;
23823                   min: 0 1;
23824                   align: 0.0 0.5;
23825                }
23826             }
23827             description { state: "selected" 0.0;
23828                inherit: "default" 0.0;
23829                color: 128 128 128 255;
23830                color3: 0 0 0 32;
23831             }
23832          }
23833          part { name: "fg1";
23834             clip_to: "disclip";
23835             mouse_events: 0;
23836             description { state: "default" 0.0;
23837                visible: 0;
23838                color: 255 255 255 0;
23839                rel1.to: "bg";
23840                rel2.relative: 1.0 0.5;
23841                rel2.to: "bg";
23842                image {
23843                   normal: "bt_sm_hilight.png";
23844                   border: 6 6 6 0;
23845                }
23846             }
23847             description { state: "selected" 0.0;
23848                inherit: "default" 0.0;
23849                visible: 1;
23850                color: 255 255 255 255;
23851             }
23852          }
23853          part { name: "fg2";
23854             clip_to: "disclip";
23855             mouse_events: 0;
23856             description { state: "default" 0.0;
23857                visible: 0;
23858                color: 255 255 255 0;
23859                rel1.to: "bg";
23860                rel2.to: "bg";
23861                image {
23862                   normal: "bt_sm_shine.png";
23863                   border: 6 6 6 0;
23864                }
23865             }
23866             description { state: "selected" 0.0;
23867                inherit: "default" 0.0;
23868                visible: 1;
23869                color: 255 255 255 255;
23870             }
23871          }
23872          part { name: "disclip";
23873             type: RECT;
23874             description { state: "default" 0.0;
23875                rel1.to: "bg";
23876                rel2.to: "bg";
23877             }
23878             description { state: "disabled" 0.0;
23879                inherit: "default" 0.0;
23880                color: 255 255 255 64;
23881             }
23882          }
23883       }
23884       programs {
23885          // signal: elm,state,%s,active
23886          //   a "check" item named %s went active
23887          // signal: elm,state,%s,passive
23888          //   a "check" item named %s went passive
23889          // default is passive
23890          program {
23891             name:    "go_active";
23892             signal:  "elm,state,selected";
23893             source:  "elm";
23894             action:  STATE_SET "selected" 0.0;
23895             target:  "bg";
23896             target:  "fg1";
23897             target:  "fg2";
23898             target:  "elm.text.title";
23899             target:  "elm.text.trackno";
23900             target:  "elm.text.length";
23901             after:   "dot_active";
23902          }
23903          program {
23904             name: "dot_active";
23905             script {
23906                if (get_int(dot_visible) == 1)
23907                   set_state(PART:"dot", "selected", 0.0);
23908             }
23909          }
23910          program {
23911             name:    "go_passive";
23912             signal:  "elm,state,unselected";
23913             source:  "elm";
23914             action:  STATE_SET "default" 0.0;
23915             target:  "bg";
23916             target:  "fg1";
23917             target:  "fg2";
23918             target:  "elm.text.title";
23919             target:  "elm.text.length";
23920             target:  "elm.text.trackno";
23921             transition: LINEAR 0.1;
23922             after:   "dot_passive";
23923          }
23924          program {
23925             name: "dot_passive";
23926             script {
23927                if (get_int(dot_visible) == 1)
23928                   set_state(PART:"dot", "visible", 0.0);
23929             }
23930          }
23931          program {
23932             name:    "go_disabled";
23933             signal:  "elm,state,disabled";
23934             source:  "elm";
23935             action:  STATE_SET "disabled" 0.0;
23936             target:  "disclip";
23937          }
23938          program {
23939             name:    "go_enabled";
23940             signal:  "elm,state,enabled";
23941             source:  "elm";
23942             action:  STATE_SET "default" 0.0;
23943             target:  "disclip";
23944          }
23945       }
23946    }
23947    group { name: "elm/genlist/item_compress_odd/media-album/default";
23948       data.item: "stacking" "below";
23949       data.item: "selectraise" "on";
23950       data.item: "labels" "elm.text.title elm.text.trackno elm.text.length";
23951       data.item: "states" "elm.state.trackno";
23952       data.item: "treesize" "20";
23953       images {
23954          image: "bt_sm_base1.png" COMP;
23955          image: "bt_sm_shine.png" COMP;
23956          image: "bt_sm_hilight.png" COMP;
23957          image: "ilist_2.png" COMP;
23958       }
23959       script {
23960          public dot_visible;
23961       }
23962       parts {
23963          part { name: "event";
23964             type: RECT;
23965             repeat_events: 1;
23966             description {
23967                state: "default" 0.0;
23968                color: 0 0 0 0;
23969             }
23970          }
23971          part {
23972             name: "base";
23973             mouse_events: 0;
23974             description {
23975                state: "default" 0.0;
23976                image {
23977                   normal: "ilist_2.png";
23978                   border: 2 2 2 2;
23979                }
23980                fill.smooth: 0;
23981             }
23982          }
23983          part { name: "bg";
23984             clip_to: "disclip";
23985             mouse_events: 0;
23986             description { state: "default" 0.0;
23987                visible: 0;
23988                color: 255 255 255 0;
23989                rel1 {
23990                   relative: 0.0 0.0;
23991                   offset: -5 -5;
23992                }
23993                rel2 {
23994                   relative: 1.0 1.0;
23995                   offset: 4 4;
23996                }
23997                image {
23998                   normal: "bt_sm_base1.png";
23999                   border: 6 6 6 6;
24000                }
24001                image.middle: SOLID;
24002             }
24003             description { state: "selected" 0.0;
24004                inherit: "default" 0.0;
24005                visible: 1;
24006                color: 255 255 255 255;
24007                rel1 {
24008                   relative: 0.0 0.0;
24009                   offset: -2 -2;
24010                }
24011                rel2 {
24012                   relative: 1.0 1.0;
24013                   offset: 1 1;
24014                }
24015             }
24016          }
24017          part { name: "elm.swallow.pad";
24018             type: SWALLOW;
24019             description { state: "default" 0.0;
24020                fixed: 1 0;
24021                align: 0.0 0.5;
24022                rel1 {
24023                   relative: 0.0  0.0;
24024                   offset:   4    4;
24025                }
24026                rel2 {
24027                   relative: 0.0  1.0;
24028                   offset:   4   -5;
24029                }
24030             }
24031          }
24032          part {
24033             name: "elm.text.trackno";
24034             type: TEXT;
24035             scale: 1;
24036             mouse_events: 0;
24037             description {
24038                state: "default" 0.0;
24039                color: 255 255 255 255;
24040                align: 0.0 0.0;
24041                fixed: 1 0;
24042                rel1 {
24043                   to_y: "elm.text.title";
24044                   relative: 0.0 0.0;
24045                   offset: 5 0;
24046                }
24047                rel2 {
24048                   to_y: "elm.text.title";
24049                   relative: 0.0 1.0;
24050                   offset: 20 0;
24051                }
24052                color: 0 0 0 255;
24053                color3: 0 0 0 0;
24054                text {
24055                   font: "Sans";
24056                   size: 10;
24057                   min: 1 1;
24058                   align: 1.0 0.5;
24059                }
24060             }
24061             description { state: "selected" 0.0;
24062                inherit: "default" 0.0;
24063                color: 224 224 224 255;
24064                color3: 0 0 0 64;
24065             }
24066          }
24067          part {
24068             name: "dot";
24069             type: TEXT;
24070             scale: 1;
24071             mouse_events: 0;
24072             description {
24073                state: "default" 0.0;
24074                color: 255 255 255 255;
24075                visible: 0;
24076                fixed: 1 1;
24077                align: 0.0 0.0;
24078                rel1 {
24079                   to_x: "elm.text.trackno";
24080                   to_y: "elm.text.title";
24081                   relative: 1.0 0.0;
24082                   offset: 1 0;
24083                }
24084                rel2 {
24085                   to_x: "elm.text.trackno";
24086                   to_y: "elm.text.title";
24087                   relative: 1.0 1.0;
24088                   offset: 1 0;
24089
24090                }
24091                color: 0 0 0 255;
24092                color3: 0 0 0 0;
24093                text {
24094                   font: "Sans";
24095                   size: 10;
24096                   min: 1 1;
24097                   align: 0.0 0.5;
24098                   text: ".";
24099                }
24100             }
24101             description {
24102                state: "visible" 0.0;
24103                inherit: "default" 0.0;
24104                visible: 1;
24105             }
24106             description { state: "selected" 0.0;
24107                inherit: "default" 0.0;
24108                color: 224 224 224 255;
24109                color3: 0 0 0 64;
24110                visible: 1;
24111             }
24112          }
24113          programs {
24114             program {
24115                signal: "elm,state,elm.state.trackno,active";
24116                source: "elm";
24117                script {
24118                   set_state(PART:"dot", "visible", 0.0);
24119                   set_int(dot_visible, 1);
24120                }
24121             }
24122          }
24123          part { name: "elm.text.title";
24124             clip_to: "disclip";
24125             type:           TEXT;
24126             effect:         SOFT_SHADOW;
24127             mouse_events:   0;
24128             scale: 1;
24129             description {
24130                state: "default" 0.0;
24131                rel1 {
24132                   to_x: "dot";
24133                   relative: 1.0  0.0;
24134                   offset:   4 4;
24135                }
24136                rel2 {
24137                   relative: 1.0  0.5;
24138                   offset:   -1 -5;
24139                }
24140                color: 0 0 0 255;
24141                color3: 0 0 0 0;
24142                text {
24143                   font: "Sans";
24144                   size: 10;
24145                   min: 0 1;
24146                   align: 0.0 0.5;
24147                }
24148             }
24149             description { state: "selected" 0.0;
24150                inherit: "default" 0.0;
24151                color: 224 224 224 255;
24152                color3: 0 0 0 64;
24153             }
24154          }
24155          part { name: "elm.text.length";
24156             clip_to: "disclip";
24157             type:           TEXT;
24158             mouse_events:   0;
24159             scale: 1;
24160             description {
24161                state: "default" 0.0;
24162                rel1 {
24163                   relative: 0.0  0.5;
24164                   offset:   4 4;
24165                }
24166                rel2 {
24167                   relative: 1.0  1.0;
24168                   offset:   -1 -5;
24169                }
24170                color: 0 0 0 128;
24171                color3: 0 0 0 0;
24172                text {
24173                   font: "Sans";
24174                   size: 8;
24175                   min: 0 1;
24176                   align: 0.0 0.5;
24177                }
24178             }
24179             description { state: "selected" 0.0;
24180                inherit: "default" 0.0;
24181                color: 128 128 128 255;
24182                color3: 0 0 0 32;
24183             }
24184          }
24185          part { name: "fg1";
24186             clip_to: "disclip";
24187             mouse_events: 0;
24188             description { state: "default" 0.0;
24189                visible: 0;
24190                color: 255 255 255 0;
24191                rel1.to: "bg";
24192                rel2.relative: 1.0 0.5;
24193                rel2.to: "bg";
24194                image {
24195                   normal: "bt_sm_hilight.png";
24196                   border: 6 6 6 0;
24197                }
24198             }
24199             description { state: "selected" 0.0;
24200                inherit: "default" 0.0;
24201                visible: 1;
24202                color: 255 255 255 255;
24203             }
24204          }
24205          part { name: "fg2";
24206             clip_to: "disclip";
24207             mouse_events: 0;
24208             description { state: "default" 0.0;
24209                visible: 0;
24210                color: 255 255 255 0;
24211                rel1.to: "bg";
24212                rel2.to: "bg";
24213                image {
24214                   normal: "bt_sm_shine.png";
24215                   border: 6 6 6 0;
24216                }
24217             }
24218             description { state: "selected" 0.0;
24219                inherit: "default" 0.0;
24220                visible: 1;
24221                color: 255 255 255 255;
24222             }
24223          }
24224          part { name: "disclip";
24225             type: RECT;
24226             description { state: "default" 0.0;
24227                rel1.to: "bg";
24228                rel2.to: "bg";
24229             }
24230             description { state: "disabled" 0.0;
24231                inherit: "default" 0.0;
24232                color: 255 255 255 64;
24233             }
24234          }
24235       }
24236       programs {
24237          // signal: elm,state,%s,active
24238          //   a "check" item named %s went active
24239          // signal: elm,state,%s,passive
24240          //   a "check" item named %s went passive
24241          // default is passive
24242          program {
24243             name:    "go_active";
24244             signal:  "elm,state,selected";
24245             source:  "elm";
24246             action:  STATE_SET "selected" 0.0;
24247             target:  "bg";
24248             target:  "fg1";
24249             target:  "fg2";
24250             target:  "elm.text.title";
24251             target:  "elm.text.length";
24252             target:  "elm.text.trackno";
24253             after:   "dot_active";
24254          }
24255          program {
24256             name: "dot_active";
24257             script {
24258                if (get_int(dot_visible) == 1)
24259                   set_state(PART:"dot", "selected", 0.0);
24260             }
24261          }
24262          program {
24263             name:    "go_passive";
24264             signal:  "elm,state,unselected";
24265             source:  "elm";
24266             action:  STATE_SET "default" 0.0;
24267             target:  "bg";
24268             target:  "fg1";
24269             target:  "fg2";
24270             target:  "elm.text.title";
24271             target:  "elm.text.length";
24272             target:  "elm.text.trackno";
24273             transition: LINEAR 0.1;
24274             after:   "dot_passive";
24275          }
24276          program {
24277             name: "dot_passive";
24278             script {
24279                if (get_int(dot_visible) == 1)
24280                   set_state(PART:"dot", "visible", 0.0);
24281             }
24282          }
24283          program {
24284             name:    "go_disabled";
24285             signal:  "elm,state,disabled";
24286             source:  "elm";
24287             action:  STATE_SET "disabled" 0.0;
24288             target:  "disclip";
24289          }
24290          program {
24291             name:    "go_enabled";
24292             signal:  "elm,state,enabled";
24293             source:  "elm";
24294             action:  STATE_SET "default" 0.0;
24295             target:  "disclip";
24296          }
24297       }
24298    }
24299
24300    group { name: "elm/genlist/item_compress/media-preview/default";
24301       data.item: "stacking" "above";
24302       data.item: "selectraise" "on";
24303       data.item: "labels" "elm.text.title elm.text.artist";
24304       data.item: "icons" "elm.swallow.preview";
24305       data.item: "treesize" "20";
24306       images {
24307          image: "bt_sm_base1.png" COMP;
24308          image: "bt_sm_shine.png" COMP;
24309          image: "bt_sm_hilight.png" COMP;
24310          image: "ilist_1.png" COMP;
24311          image: "ilist_item_shadow.png" COMP;
24312       }
24313       parts {
24314          part {
24315             name: "event";
24316             type: RECT;
24317             repeat_events: 1;
24318             description {
24319                state: "default" 0.0;
24320                color: 0 0 0 0;
24321             }
24322          }
24323          part {
24324             name: "base_sh";
24325             mouse_events: 0;
24326             description {
24327                state: "default" 0.0;
24328                align: 0.0 0.0;
24329                min: 0 10;
24330                fixed: 1 1;
24331                rel1 {
24332                   to: "base";
24333                   relative: 0.0 1.0;
24334                   offset: 0 0;
24335                }
24336                rel2 {
24337                   to: "base";
24338                   relative: 1.0 1.0;
24339                   offset: -1 0;
24340                }
24341                image {
24342                   normal: "ilist_item_shadow.png";
24343                }
24344                fill.smooth: 0;
24345             }
24346          }
24347          part {
24348             name: "base";
24349             mouse_events: 0;
24350             description {
24351                state: "default" 0.0;
24352                image {
24353                   normal: "ilist_1.png";
24354                   border: 2 2 2 2;
24355                }
24356                fill.smooth: 0;
24357             }
24358          }
24359          part { name: "bg";
24360             clip_to: "disclip";
24361             mouse_events: 0;
24362             description { state: "default" 0.0;
24363                visible: 0;
24364                color: 255 255 255 0;
24365                rel1 {
24366                   relative: 0.0 0.0;
24367                   offset: -5 -5;
24368                }
24369                rel2 {
24370                   relative: 1.0 1.0;
24371                   offset: 4 4;
24372                }
24373                image {
24374                   normal: "bt_sm_base1.png";
24375                   border: 6 6 6 6;
24376                }
24377                image.middle: SOLID;
24378             }
24379             description { state: "selected" 0.0;
24380                inherit: "default" 0.0;
24381                visible: 1;
24382                color: 255 255 255 255;
24383                rel1 {
24384                   relative: 0.0 0.0;
24385                   offset: -2 -2;
24386                }
24387                rel2 {
24388                   relative: 1.0 1.0;
24389                   offset: 1 1;
24390                }
24391             }
24392          }
24393          part { name: "elm.swallow.pad";
24394             type: SWALLOW;
24395             description { state: "default" 0.0;
24396                fixed: 1 0;
24397                align: 0.0 0.5;
24398                rel1 {
24399                   relative: 0.0  0.0;
24400                   offset:   4    4;
24401                }
24402                rel2 {
24403                   relative: 0.0  1.0;
24404                   offset:   4   -5;
24405                }
24406             }
24407          }
24408          part { name: "elm.swallow.preview";
24409             clip_to: "disclip";
24410             type: SWALLOW;
24411             description { state: "default" 0.0;
24412                fixed: 1 0;
24413                align: 0.0 0.5;
24414                min: 68 68;
24415                max: 68 68;
24416                rel1 {
24417                   to_x: "elm.swallow.pad";
24418                   relative: 1.0  0.0;
24419                   offset:   -1    4;
24420                }
24421                rel2 {
24422                   to_x: "elm.swallow.pad";
24423                   relative: 1.0  1.0;
24424                   offset:   -1   -5;
24425                }
24426             }
24427          }
24428          part { name: "elm.text.title";
24429             clip_to: "disclip";
24430             type:           TEXT;
24431             effect:         SOFT_SHADOW;
24432             mouse_events:   0;
24433             scale: 1;
24434             description {
24435                state: "default" 0.0;
24436                rel1 {
24437                   to_x:     "elm.swallow.preview";
24438                   relative: 1.0  0.0;
24439                   offset:   4 4;
24440                }
24441                rel2 {
24442                   relative: 1.0  0.5;
24443                   offset:   -1 -5;
24444                }
24445                color: 0 0 0 255;
24446                color3: 0 0 0 0;
24447                text {
24448                   font: "Sans";
24449                   size: 10;
24450                   min: 0 1;
24451                   align: 0.0 0.5;
24452                }
24453             }
24454             description { state: "selected" 0.0;
24455                inherit: "default" 0.0;
24456                color: 224 224 224 255;
24457                color3: 0 0 0 64;
24458             }
24459          }
24460          part { name: "elm.text.artist";
24461             clip_to: "disclip";
24462             type:           TEXT;
24463             mouse_events:   0;
24464             scale: 1;
24465             description {
24466                state: "default" 0.0;
24467                rel1 {
24468                   to_x:     "elm.swallow.preview";
24469                   relative: 1.0  0.5;
24470                   offset:   4 4;
24471                }
24472                rel2 {
24473                   relative: 1.0  1.0;
24474                   offset:   -1 -5;
24475                }
24476                color: 0 0 0 128;
24477                color3: 0 0 0 0;
24478                text {
24479                   font: "Sans";
24480                   size: 8;
24481                   min: 0 1;
24482                   align: 0.0 0.5;
24483                }
24484             }
24485             description { state: "selected" 0.0;
24486                inherit: "default" 0.0;
24487                color: 128 128 128 255;
24488                color3: 0 0 0 32;
24489             }
24490          }
24491          part { name: "fg1";
24492             clip_to: "disclip";
24493             mouse_events: 0;
24494             description { state: "default" 0.0;
24495                visible: 0;
24496                color: 255 255 255 0;
24497                rel1.to: "bg";
24498                rel2.relative: 1.0 0.5;
24499                rel2.to: "bg";
24500                image {
24501                   normal: "bt_sm_hilight.png";
24502                   border: 6 6 6 0;
24503                }
24504             }
24505             description { state: "selected" 0.0;
24506                inherit: "default" 0.0;
24507                visible: 1;
24508                color: 255 255 255 255;
24509             }
24510          }
24511          part { name: "fg2";
24512             clip_to: "disclip";
24513             mouse_events: 0;
24514             description { state: "default" 0.0;
24515                visible: 0;
24516                color: 255 255 255 0;
24517                rel1.to: "bg";
24518                rel2.to: "bg";
24519                image {
24520                   normal: "bt_sm_shine.png";
24521                   border: 6 6 6 0;
24522                }
24523             }
24524             description { state: "selected" 0.0;
24525                inherit: "default" 0.0;
24526                visible: 1;
24527                color: 255 255 255 255;
24528             }
24529          }
24530          part { name: "disclip";
24531             type: RECT;
24532             description { state: "default" 0.0;
24533                rel1.to: "bg";
24534                rel2.to: "bg";
24535             }
24536             description { state: "disabled" 0.0;
24537                inherit: "default" 0.0;
24538                color: 255 255 255 64;
24539             }
24540          }
24541       }
24542       programs {
24543          // signal: elm,state,%s,active
24544          //   a "check" item named %s went active
24545          // signal: elm,state,%s,passive
24546          //   a "check" item named %s went passive
24547          // default is passive
24548          program {
24549             name:    "go_active";
24550             signal:  "elm,state,selected";
24551             source:  "elm";
24552             action:  STATE_SET "selected" 0.0;
24553             target:  "bg";
24554             target:  "fg1";
24555             target:  "fg2";
24556             target:  "elm.text.title";
24557             target:  "elm.text.artist";
24558          }
24559          program {
24560             name:    "go_passive";
24561             signal:  "elm,state,unselected";
24562             source:  "elm";
24563             action:  STATE_SET "default" 0.0;
24564             target:  "bg";
24565             target:  "fg1";
24566             target:  "fg2";
24567             target:  "elm.text.title";
24568             target:  "elm.text.artist";
24569             transition: LINEAR 0.1;
24570          }
24571          program {
24572             name:    "go_disabled";
24573             signal:  "elm,state,disabled";
24574             source:  "elm";
24575             action:  STATE_SET "disabled" 0.0;
24576             target:  "disclip";
24577          }
24578          program {
24579             name:    "go_enabled";
24580             signal:  "elm,state,enabled";
24581             source:  "elm";
24582             action:  STATE_SET "default" 0.0;
24583             target:  "disclip";
24584          }
24585       }
24586    }
24587    group { name: "elm/genlist/item_compress_odd/media-preview/default";
24588       data.item: "stacking" "below";
24589       data.item: "selectraise" "on";
24590       data.item: "labels" "elm.text.title elm.text.artist";
24591       data.item: "icons" "elm.swallow.preview";
24592       data.item: "treesize" "20";
24593       images {
24594          image: "bt_sm_base1.png" COMP;
24595          image: "bt_sm_shine.png" COMP;
24596          image: "bt_sm_hilight.png" COMP;
24597          image: "ilist_2.png" COMP;
24598       }
24599       parts {
24600          part { name: "event";
24601             type: RECT;
24602             repeat_events: 1;
24603             description {
24604                state: "default" 0.0;
24605                color: 0 0 0 0;
24606             }
24607          }
24608          part {
24609             name: "base";
24610             mouse_events: 0;
24611             description {
24612                state: "default" 0.0;
24613                image {
24614                   normal: "ilist_2.png";
24615                   border: 2 2 2 2;
24616                }
24617                fill.smooth: 0;
24618             }
24619          }
24620          part { name: "bg";
24621             clip_to: "disclip";
24622             mouse_events: 0;
24623             description { state: "default" 0.0;
24624                visible: 0;
24625                color: 255 255 255 0;
24626                rel1 {
24627                   relative: 0.0 0.0;
24628                   offset: -5 -5;
24629                }
24630                rel2 {
24631                   relative: 1.0 1.0;
24632                   offset: 4 4;
24633                }
24634                image {
24635                   normal: "bt_sm_base1.png";
24636                   border: 6 6 6 6;
24637                }
24638                image.middle: SOLID;
24639             }
24640             description { state: "selected" 0.0;
24641                inherit: "default" 0.0;
24642                visible: 1;
24643                color: 255 255 255 255;
24644                rel1 {
24645                   relative: 0.0 0.0;
24646                   offset: -2 -2;
24647                }
24648                rel2 {
24649                   relative: 1.0 1.0;
24650                   offset: 1 1;
24651                }
24652             }
24653          }
24654          part { name: "elm.swallow.pad";
24655             type: SWALLOW;
24656             description { state: "default" 0.0;
24657                fixed: 1 0;
24658                align: 0.0 0.5;
24659                rel1 {
24660                   relative: 0.0  0.0;
24661                   offset:   4    4;
24662                }
24663                rel2 {
24664                   relative: 0.0  1.0;
24665                   offset:   4   -5;
24666                }
24667             }
24668          }
24669          part { name: "elm.swallow.preview";
24670             clip_to: "disclip";
24671             type: SWALLOW;
24672             description { state: "default" 0.0;
24673                fixed: 1 0;
24674                align: 0.0 0.5;
24675                min: 68 68;
24676                max: 68 68;
24677                rel1 {
24678                   to_x: "elm.swallow.pad";
24679                   relative: 1.0  0.0;
24680                   offset:   -1    4;
24681                }
24682                rel2 {
24683                   to_x: "elm.swallow.pad";
24684                   relative: 1.0  1.0;
24685                   offset:   -1   -5;
24686                }
24687             }
24688          }
24689          part { name: "elm.text.title";
24690             clip_to: "disclip";
24691             type:           TEXT;
24692             effect:         SOFT_SHADOW;
24693             mouse_events:   0;
24694             scale: 1;
24695             description {
24696                state: "default" 0.0;
24697                rel1 {
24698                   to_x:     "elm.swallow.preview";
24699                   relative: 1.0  0.0;
24700                   offset:   4 4;
24701                }
24702                rel2 {
24703                   relative: 1.0  0.5;
24704                   offset:   -1 -5;
24705                }
24706                color: 0 0 0 255;
24707                color3: 0 0 0 0;
24708                text {
24709                   font: "Sans";
24710                   size: 10;
24711                   min: 0 1;
24712                   align: 0.0 0.5;
24713                }
24714             }
24715             description { state: "selected" 0.0;
24716                inherit: "default" 0.0;
24717                color: 224 224 224 255;
24718                color3: 0 0 0 64;
24719             }
24720          }
24721          part { name: "elm.text.artist";
24722             clip_to: "disclip";
24723             type:           TEXT;
24724             mouse_events:   0;
24725             scale: 1;
24726             description {
24727                state: "default" 0.0;
24728                rel1 {
24729                   to_x:     "elm.swallow.preview";
24730                   relative: 1.0  0.5;
24731                   offset:   4 4;
24732                }
24733                rel2 {
24734                   relative: 1.0  1.0;
24735                   offset:   -1 -5;
24736                }
24737                color: 0 0 0 128;
24738                color3: 0 0 0 0;
24739                text {
24740                   font: "Sans";
24741                   size: 8;
24742                   min: 0 1;
24743                   align: 0.0 0.5;
24744                }
24745             }
24746             description { state: "selected" 0.0;
24747                inherit: "default" 0.0;
24748                color: 128 128 128 255;
24749                color3: 0 0 0 32;
24750             }
24751          }
24752          part { name: "fg1";
24753             clip_to: "disclip";
24754             mouse_events: 0;
24755             description { state: "default" 0.0;
24756                visible: 0;
24757                color: 255 255 255 0;
24758                rel1.to: "bg";
24759                rel2.relative: 1.0 0.5;
24760                rel2.to: "bg";
24761                image {
24762                   normal: "bt_sm_hilight.png";
24763                   border: 6 6 6 0;
24764                }
24765             }
24766             description { state: "selected" 0.0;
24767                inherit: "default" 0.0;
24768                visible: 1;
24769                color: 255 255 255 255;
24770             }
24771          }
24772          part { name: "fg2";
24773             clip_to: "disclip";
24774             mouse_events: 0;
24775             description { state: "default" 0.0;
24776                visible: 0;
24777                color: 255 255 255 0;
24778                rel1.to: "bg";
24779                rel2.to: "bg";
24780                image {
24781                   normal: "bt_sm_shine.png";
24782                   border: 6 6 6 0;
24783                }
24784             }
24785             description { state: "selected" 0.0;
24786                inherit: "default" 0.0;
24787                visible: 1;
24788                color: 255 255 255 255;
24789             }
24790          }
24791          part { name: "disclip";
24792             type: RECT;
24793             description { state: "default" 0.0;
24794                rel1.to: "bg";
24795                rel2.to: "bg";
24796             }
24797             description { state: "disabled" 0.0;
24798                inherit: "default" 0.0;
24799                color: 255 255 255 64;
24800             }
24801          }
24802       }
24803       programs {
24804          // signal: elm,state,%s,active
24805          //   a "check" item named %s went active
24806          // signal: elm,state,%s,passive
24807          //   a "check" item named %s went passive
24808          // default is passive
24809          program {
24810             name:    "go_active";
24811             signal:  "elm,state,selected";
24812             source:  "elm";
24813             action:  STATE_SET "selected" 0.0;
24814             target:  "bg";
24815             target:  "fg1";
24816             target:  "fg2";
24817             target:  "elm.text.title";
24818             target:  "elm.text.artist";
24819          }
24820          program {
24821             name:    "go_passive";
24822             signal:  "elm,state,unselected";
24823             source:  "elm";
24824             action:  STATE_SET "default" 0.0;
24825             target:  "bg";
24826             target:  "fg1";
24827             target:  "fg2";
24828             target:  "elm.text.title";
24829             target:  "elm.text.artist";
24830             transition: LINEAR 0.1;
24831          }
24832          program {
24833             name:    "go_disabled";
24834             signal:  "elm,state,disabled";
24835             source:  "elm";
24836             action:  STATE_SET "disabled" 0.0;
24837             target:  "disclip";
24838          }
24839          program {
24840             name:    "go_enabled";
24841             signal:  "elm,state,enabled";
24842             source:  "elm";
24843             action:  STATE_SET "default" 0.0;
24844             target:  "disclip";
24845          }
24846       }
24847    }
24848
24849    group { name: "elm/genlist/item/mode/default";
24850       data.item: "stacking" "above";
24851       data.item: "selectraise" "on";
24852       data.item: "labels" "elm.text.mode";
24853       data.item: "icons" "elm.swallow.mode";
24854       data.item: "mode_part" "elm.swallow.origin";
24855       data.item: "treesize" "20";
24856       images {
24857          image: "bt_sm_base1.png" COMP;
24858          image: "bt_sm_shine.png" COMP;
24859          image: "bt_sm_hilight.png" COMP;
24860          image: "ilist_1.png" COMP;
24861          image: "ilist_item_shadow.png" COMP;
24862       }
24863
24864       parts {
24865          part {
24866             name: "event";
24867             type: RECT;
24868             repeat_events: 1;
24869             description {
24870                state: "default" 0.0;
24871                color: 0 0 0 0;
24872             }
24873          }
24874          part {
24875             name: "base_sh";
24876             mouse_events: 0;
24877             description {
24878                state: "default" 0.0;
24879                align: 0.0 0.0;
24880                min: 0 10;
24881                fixed: 1 1;
24882                rel1 {
24883                   to: "base";
24884                   relative: 0.0 1.0;
24885                   offset: 0 0;
24886                }
24887                rel2 {
24888                   to: "base";
24889                   relative: 1.0 1.0;
24890                   offset: -1 0;
24891                }
24892                image {
24893                   normal: "ilist_item_shadow.png";
24894                }
24895                fill.smooth: 0;
24896             }
24897          }
24898          part {
24899             name: "base";
24900             mouse_events: 0;
24901             description {
24902                state: "default" 0.0;
24903                image {
24904                   normal: "ilist_1.png";
24905                   border: 2 2 2 2;
24906                }
24907                fill.smooth: 0;
24908             }
24909          }
24910          part { name: "bg";
24911             clip_to: "disclip";
24912             mouse_events: 0;
24913             description { state: "default" 0.0;
24914                visible: 0;
24915                color: 255 255 255 0;
24916                rel1 {
24917                   relative: 0.0 0.0;
24918                   offset: -5 -5;
24919                }
24920                rel2 {
24921                   relative: 1.0 1.0;
24922                   offset: 4 4;
24923                }
24924                image {
24925                   normal: "bt_sm_base1.png";
24926                   border: 6 6 6 6;
24927                }
24928                image.middle: SOLID;
24929             }
24930             description { state: "selected" 0.0;
24931                inherit: "default" 0.0;
24932                visible: 1;
24933                color: 255 255 255 255;
24934                rel1 {
24935                   relative: 0.0 0.0;
24936                   offset: -2 -2;
24937                }
24938                rel2 {
24939                   relative: 1.0 1.0;
24940                   offset: 1 1;
24941                }
24942             }
24943          }
24944          part { name: "elm.text.mode";
24945             clip_to: "disclip";
24946             type: TEXT;
24947             scale: 1;
24948             description { state: "default" 0.0;
24949                rel2.relative: 0.5 1.0;
24950                color: 0 0 0 255;
24951                text {
24952                   font: "Sans";
24953                   size: 10;
24954                   min: 1 1;
24955                   align: 0.5 0.5;
24956                   text_class: "list_item";
24957                }
24958             }
24959          }
24960         part { name: "elm.swallow.mode";
24961             clip_to: "disclip";
24962             type: SWALLOW;
24963             description { state: "default" 0.0;
24964                rel1.relative: 0.5 0.0;
24965             }
24966          }
24967          part { name: "fg1";
24968             clip_to: "disclip";
24969             mouse_events: 0;
24970             description { state: "default" 0.0;
24971                visible: 0;
24972                color: 255 255 255 0;
24973                rel1.to: "bg";
24974                rel2.relative: 1.0 0.5;
24975                rel2.to: "bg";
24976                image {
24977                   normal: "bt_sm_hilight.png";
24978                   border: 6 6 6 0;
24979                }
24980             }
24981             description { state: "selected" 0.0;
24982                inherit: "default" 0.0;
24983                visible: 1;
24984                color: 255 255 255 255;
24985             }
24986          }
24987          part { name: "fg2";
24988             clip_to: "disclip";
24989             mouse_events: 0;
24990             description { state: "default" 0.0;
24991                visible: 0;
24992                color: 255 255 255 0;
24993                rel1.to: "bg";
24994                rel2.to: "bg";
24995                image {
24996                   normal: "bt_sm_shine.png";
24997                   border: 6 6 6 0;
24998                }
24999             }
25000             description { state: "selected" 0.0;
25001                inherit: "default" 0.0;
25002                visible: 1;
25003                color: 255 255 255 255;
25004             }
25005          }
25006          // Transparent part between base parts and slidable parts
25007          part { name: "event_block_layer";
25008             type: RECT;
25009             clip_to: "disclip";
25010             mouse_events: 1;
25011             description { state: "default" 0.0;
25012                rel1.to: "base";
25013                rel2.to: "base";
25014                color: 0 0 0 0;
25015             }
25016             description { state: "repeat_events" 0.0;
25017                inherit: "default" 0.0;
25018                visible: 0;
25019             }
25020          }
25021          part { name: "pers";
25022             clip_to: "disclip";
25023             type: RECT;
25024             description { state: "default" 0.0;
25025                rel1.relative: 0.0 1.0;
25026             }
25027          }
25028          part { name: "elm.swallow.origin";
25029             clip_to: "disclip";
25030             type: SWALLOW;
25031             description { state: "default" 0.0;
25032                fixed: 1 0;
25033                align: 0.0 0.5;
25034             }
25035             description { state: "slide" 0.0;
25036                inherit: "default" 0.0;
25037                rel1.relative: 1 0;
25038                rel2.relative: 2 1;
25039             }
25040             description { state: "rotate" 0.0;
25041                inherit: "default" 0.0;
25042                map {
25043                   perspective: "pers";
25044                   on: 1;
25045                   smooth: 1;
25046                   perspective_on: 1;
25047                   backface_cull: 1;
25048                   rotation {
25049                      center: "pers";
25050                      x: 0.0;
25051                      y: 0.0;
25052                      z: 0.0;
25053                   }
25054                }
25055             }
25056             description { state: "rotate" 1.0;
25057                inherit: "default" 0.0;
25058                map {
25059                   perspective: "pers";
25060                   on: 1;
25061                   smooth: 1;
25062                   perspective_on: 1;
25063                   backface_cull: 1;
25064                   rotation {
25065                      center: "pers";
25066                      x: 90.0;
25067                      y: 0.0;
25068                      z: 0.0;
25069                   }
25070                }
25071             }
25072          }
25073          part { name: "disclip";
25074             type: RECT;
25075             description { state: "default" 0.0;
25076                rel1.to: "bg";
25077                rel2.to: "bg";
25078             }
25079             description { state: "disabled" 0.0;
25080                inherit: "default" 0.0;
25081                color: 255 255 255 64;
25082             }
25083          }
25084       }
25085       programs {
25086          program {
25087             name:    "go_active";
25088             signal:  "elm,state,selected";
25089             source:  "elm";
25090             action:  STATE_SET "selected" 0.0;
25091             target:  "bg";
25092             target:  "fg1";
25093             target:  "fg2";
25094          }
25095          program {
25096             name:    "go_passive";
25097             signal:  "elm,state,unselected";
25098             source:  "elm";
25099             action:  STATE_SET "default" 0.0;
25100             target:  "bg";
25101             target:  "fg1";
25102             target:  "fg2";
25103             transition: LINEAR 0.1;
25104          }
25105          program {
25106             name:    "go_disabled";
25107             signal:  "elm,state,disabled";
25108             source:  "elm";
25109             action:  STATE_SET "disabled" 0.0;
25110             target:  "disclip";
25111          }
25112          program {
25113             name:    "go_enabled";
25114             signal:  "elm,state,enabled";
25115             source:  "elm";
25116             action:  STATE_SET "default" 0.0;
25117             target:  "disclip";
25118          }
25119          program {
25120             name:    "slide_right";
25121             signal:  "elm,state,slide,active";
25122             source:  "elm";
25123             action:  STATE_SET "slide" 0.0;
25124             target:  "elm.swallow.origin";
25125             transition: ACCELERATE 0.5;
25126             after:   "unblock_event";
25127          }
25128          program {
25129             name:    "unblock_event";
25130             action:  STATE_SET "repeat_events" 0.0;
25131             target:  "event_block_layer";
25132          }
25133          program {
25134             name:    "slide_left";
25135             signal:  "elm,state,slide,passive";
25136             source:  "elm";
25137             action:  STATE_SET "default" 0.0;
25138             target:  "event_block_layer";
25139             after:   "slide_left2";
25140          }
25141          program {
25142             name:    "slide_left2";
25143             action:  STATE_SET "default" 0.0;
25144             target:  "elm.swallow.origin";
25145             transition: DECELERATE 0.5;
25146             after:   "slide_left_finished";
25147          }
25148          program {
25149             name:    "slide_left_finished";
25150             action:  SIGNAL_EMIT "elm,state,slide,passive,finished" "elm";
25151          }
25152          program {
25153             name:    "rotate_on";
25154             signal:  "elm,state,rotate,active";
25155             source:  "elm";
25156             action:  STATE_SET "rotate" 0.0;
25157             target:  "elm.swallow.origin";
25158             after:   "rotate_on2";
25159          }
25160          program {
25161             name:    "rotate_on2";
25162             action:  STATE_SET "rotate" 1.0;
25163             target:  "elm.swallow.origin";
25164             transition: LINEAR 0.5;
25165             after:   "unblock_event";
25166          }
25167          program {
25168             name:    "rotate_off";
25169             signal:  "elm,state,rotate,passive";
25170             source:  "elm";
25171             action:  STATE_SET "default" 0.0;
25172             target:  "event_block_layer";
25173             after:   "rotate_off2";
25174          }
25175          program {
25176             name:    "rotate_off2";
25177             action:  STATE_SET "rotate" 0.0;
25178             transition: LINEAR 0.5;
25179             target:  "elm.swallow.origin";
25180             after:   "rotate_off3";
25181          }
25182          program {
25183             name:    "rotate_off3";
25184             action:  STATE_SET "default" 0.0;
25185             target:  "elm.swallow.origin";
25186             after:   "rotate_off_finished";
25187          }
25188          program {
25189             name:    "rotate_off_finished";
25190             action:  SIGNAL_EMIT "elm,state,rotate,passive,finished" "elm";
25191          }
25192       }
25193    }
25194
25195    group { name: "elm/genlist/item_odd/mode/default";
25196       data.item: "stacking" "below";
25197       data.item: "selectraise" "on";
25198       data.item: "labels" "elm.text.mode";
25199       data.item: "icons" "elm.swallow.mode";
25200       data.item: "mode_part" "elm.swallow.origin";
25201       data.item: "treesize" "20";
25202       images {
25203          image: "bt_sm_base1.png" COMP;
25204          image: "bt_sm_shine.png" COMP;
25205          image: "bt_sm_hilight.png" COMP;
25206          image: "ilist_2.png" COMP;
25207       }
25208
25209       parts {
25210          part {
25211             name: "event";
25212             type: RECT;
25213             repeat_events: 1;
25214             description {
25215                state: "default" 0.0;
25216                color: 0 0 0 0;
25217             }
25218          }
25219          part {
25220             name: "base";
25221             mouse_events: 0;
25222             description {
25223                state: "default" 0.0;
25224                image {
25225                   normal: "ilist_2.png";
25226                   border: 2 2 2 2;
25227                }
25228                fill.smooth: 0;
25229             }
25230          }
25231          part { name: "bg";
25232             clip_to: "disclip";
25233             mouse_events: 0;
25234             description { state: "default" 0.0;
25235                visible: 0;
25236                color: 255 255 255 0;
25237                rel1 {
25238                   relative: 0.0 0.0;
25239                   offset: -5 -5;
25240                }
25241                rel2 {
25242                   relative: 1.0 1.0;
25243                   offset: 4 4;
25244                }
25245                image {
25246                   normal: "bt_sm_base1.png";
25247                   border: 6 6 6 6;
25248                }
25249                image.middle: SOLID;
25250             }
25251             description { state: "selected" 0.0;
25252                inherit: "default" 0.0;
25253                visible: 1;
25254                color: 255 255 255 255;
25255                rel1 {
25256                   relative: 0.0 0.0;
25257                   offset: -2 -2;
25258                }
25259                rel2 {
25260                   relative: 1.0 1.0;
25261                   offset: 1 1;
25262                }
25263             }
25264          }
25265          part { name: "elm.text.mode";
25266             clip_to: "disclip";
25267             type: TEXT;
25268             scale: 1;
25269             description { state: "default" 0.0;
25270                rel2.relative: 0.5 1.0;
25271                color: 0 0 0 255;
25272                text {
25273                   font: "Sans";
25274                   size: 10;
25275                   min: 1 1;
25276                   align: 0.5 0.5;
25277                   text_class: "list_item";
25278                }
25279             }
25280          }
25281         part { name: "elm.swallow.mode";
25282             clip_to: "disclip";
25283             type: SWALLOW;
25284             description { state: "default" 0.0;
25285                rel1.relative: 0.5 0.0;
25286             }
25287          }
25288          part { name: "fg1";
25289             clip_to: "disclip";
25290             mouse_events: 0;
25291             description { state: "default" 0.0;
25292                visible: 0;
25293                color: 255 255 255 0;
25294                rel1.to: "bg";
25295                rel2.relative: 1.0 0.5;
25296                rel2.to: "bg";
25297                image {
25298                   normal: "bt_sm_hilight.png";
25299                   border: 6 6 6 0;
25300                }
25301             }
25302             description { state: "selected" 0.0;
25303                inherit: "default" 0.0;
25304                visible: 1;
25305                color: 255 255 255 255;
25306             }
25307          }
25308          part { name: "fg2";
25309             clip_to: "disclip";
25310             mouse_events: 0;
25311             description { state: "default" 0.0;
25312                visible: 0;
25313                color: 255 255 255 0;
25314                rel1.to: "bg";
25315                rel2.to: "bg";
25316                image {
25317                   normal: "bt_sm_shine.png";
25318                   border: 6 6 6 0;
25319                }
25320             }
25321             description { state: "selected" 0.0;
25322                inherit: "default" 0.0;
25323                visible: 1;
25324                color: 255 255 255 255;
25325             }
25326          }
25327          // Transparent part between base parts and slidable parts
25328          part { name: "event_block_layer";
25329             type: RECT;
25330             clip_to: "disclip";
25331             mouse_events: 1;
25332             description { state: "default" 0.0;
25333                rel1.to: "base";
25334                rel2.to: "base";
25335                color: 0 0 0 0;
25336             }
25337             description { state: "repeat_events" 0.0;
25338                inherit: "default" 0.0;
25339                visible: 0;
25340             }
25341          }
25342          part { name: "pers";
25343             clip_to: "disclip";
25344             type: RECT;
25345             description { state: "default" 0.0;
25346                rel1.relative: 0.0 1.0;
25347             }
25348          }
25349          part { name: "elm.swallow.origin";
25350             clip_to: "disclip";
25351             type: SWALLOW;
25352             description { state: "default" 0.0;
25353                fixed: 1 0;
25354                align: 0.0 0.5;
25355             }
25356             description { state: "slide" 0.0;
25357                inherit: "default" 0.0;
25358                rel1.relative: 1 0;
25359                rel2.relative: 2 1;
25360             }
25361             description { state: "rotate" 0.0;
25362                inherit: "default" 0.0;
25363                map {
25364                   perspective: "pers";
25365                   on: 1;
25366                   smooth: 1;
25367                   perspective_on: 1;
25368                   backface_cull: 1;
25369                   rotation {
25370                      center: "pers";
25371                      x: 0.0;
25372                      y: 0.0;
25373                      z: 0.0;
25374                   }
25375                }
25376             }
25377             description { state: "rotate" 1.0;
25378                inherit: "default" 0.0;
25379                map {
25380                   perspective: "pers";
25381                   on: 1;
25382                   smooth: 1;
25383                   perspective_on: 1;
25384                   backface_cull: 1;
25385                   rotation {
25386                      center: "pers";
25387                      x: 90.0;
25388                      y: 0.0;
25389                      z: 0.0;
25390                   }
25391                }
25392             }
25393          }
25394          part { name: "disclip";
25395             type: RECT;
25396             description { state: "default" 0.0;
25397                rel1.to: "bg";
25398                rel2.to: "bg";
25399             }
25400             description { state: "disabled" 0.0;
25401                inherit: "default" 0.0;
25402                color: 255 255 255 64;
25403             }
25404          }
25405       }
25406       programs {
25407          program {
25408             name:    "go_active";
25409             signal:  "elm,state,selected";
25410             source:  "elm";
25411             action:  STATE_SET "selected" 0.0;
25412             target:  "bg";
25413             target:  "fg1";
25414             target:  "fg2";
25415          }
25416          program {
25417             name:    "go_passive";
25418             signal:  "elm,state,unselected";
25419             source:  "elm";
25420             action:  STATE_SET "default" 0.0;
25421             target:  "bg";
25422             target:  "fg1";
25423             target:  "fg2";
25424             transition: LINEAR 0.1;
25425          }
25426          program {
25427             name:    "go_disabled";
25428             signal:  "elm,state,disabled";
25429             source:  "elm";
25430             action:  STATE_SET "disabled" 0.0;
25431             target:  "disclip";
25432          }
25433          program {
25434             name:    "go_enabled";
25435             signal:  "elm,state,enabled";
25436             source:  "elm";
25437             action:  STATE_SET "default" 0.0;
25438             target:  "disclip";
25439          }
25440          program {
25441             name:    "slide_right";
25442             signal:  "elm,state,slide,active";
25443             source:  "elm";
25444             action:  STATE_SET "slide" 0.0;
25445             target:  "elm.swallow.origin";
25446             transition: ACCELERATE 0.5;
25447             after:   "unblock_event";
25448          }
25449          program {
25450             name:    "unblock_event";
25451             action:  STATE_SET "repeat_events" 0.0;
25452             target:  "event_block_layer";
25453          }
25454          program {
25455             name:    "slide_left";
25456             signal:  "elm,state,slide,passive";
25457             source:  "elm";
25458             action:  STATE_SET "default" 0.0;
25459             target:   "event_block_layer";
25460             after:   "slide_left2";
25461          }
25462          program {
25463             name:    "slide_left2";
25464             action:  STATE_SET "default" 0.0;
25465             target:  "elm.swallow.origin";
25466             transition: DECELERATE 0.5;
25467             after:   "slide_left_finished";
25468          }
25469          program {
25470             name:    "slide_left_finished";
25471             action:  SIGNAL_EMIT "elm,state,slide,passive,finished" "elm";
25472          }
25473          program {
25474             name:    "rotate_on";
25475             signal:  "elm,state,rotate,active";
25476             source:  "elm";
25477             action:  STATE_SET "rotate" 0.0;
25478             target:  "elm.swallow.origin";
25479             after:   "rotate_on2";
25480          }
25481          program {
25482             name:    "rotate_on2";
25483             action:  STATE_SET "rotate" 1.0;
25484             target:  "elm.swallow.origin";
25485             transition: LINEAR 0.5;
25486             after:   "unblock_event";
25487          }
25488          program {
25489             name:    "rotate_off";
25490             signal:  "elm,state,rotate,passive";
25491             source:  "elm";
25492             action:  STATE_SET "default" 0.0;
25493             target:  "event_block_layer";
25494             after:   "rotate_off2";
25495          }
25496          program {
25497             name:    "rotate_off2";
25498             action:  STATE_SET "rotate" 0.0;
25499             transition: LINEAR 0.5;
25500             target:  "elm.swallow.origin";
25501             after:   "rotate_off3";
25502          }
25503          program {
25504             name:    "rotate_off3";
25505             action:  STATE_SET "default" 0.0;
25506             target:  "elm.swallow.origin";
25507             after:   "rotate_off_finished";
25508          }
25509          program {
25510             name:    "rotate_off_finished";
25511             action:  SIGNAL_EMIT "elm,state,rotate,passive,finished" "elm";
25512          }
25513       }
25514    }
25515
25516 ///////////////////////////////////////////////////////////////////////////////
25517    group { name: "elm/pager/base/default";
25518       data.item: "onshow" "raise";
25519 // other options
25520 //      data.item: "onhide" "lower";
25521 //      data.item: "onshow" "lower";
25522       images {
25523          image: "frame_1.png" COMP;
25524          image: "frame_2.png" COMP;
25525          image: "dia_grad.png" COMP;
25526       }
25527       parts {
25528          part { name: "clip";
25529             type: RECT;
25530             mouse_events: 0;
25531             description { state: "default" 0.0;
25532                rel1 {
25533                   to: "base";
25534                   offset: -9999 -9999;
25535                }
25536                rel2 {
25537                   to: "base";
25538                   offset: 9999 9999;
25539                }
25540                color: 255 255 255 255;
25541             }
25542             description { state: "visible" 0.0;
25543                inherit: "default" 0.0;
25544             }
25545             description { state: "hidden" 0.0;
25546                inherit: "default" 0.0;
25547                color: 255 255 255 0;
25548                visible: 0;
25549             }
25550          }
25551          part { name: "base0";
25552             mouse_events:  0;
25553             clip_to: "clip";
25554             description { state: "default" 0.0;
25555                image.normal: "dia_grad.png";
25556                rel1.to: "over";
25557                rel2.to: "over";
25558                fill {
25559                   smooth: 0;
25560                   size {
25561                      relative: 0.0 1.0;
25562                      offset: 64 0;
25563                   }
25564                }
25565             }
25566          }
25567          part { name: "base";
25568             mouse_events:  0;
25569             clip_to: "clip";
25570             description { state: "default" 0.0;
25571                image {
25572                   normal: "frame_2.png";
25573                   border: 5 5 32 26;
25574                   middle: 0;
25575                }
25576                fill.smooth : 0;
25577             }
25578             description { state: "hidden" 0.0;
25579                inherit: "default" 0.0;
25580                rel1.relative: -1.0 0.0;
25581                rel2.relative: 0.0 1.0;
25582             }
25583             description { state: "visible" 0.0;
25584                inherit: "default" 0.0;
25585                rel1.relative: 0.0 0.0;
25586                rel2.relative: 1.0 1.0;
25587             }
25588          }
25589          part { name: "over";
25590             mouse_events:  0;
25591             clip_to: "clip";
25592             description { state:    "default" 0.0;
25593                rel1 {
25594                   to: "base";
25595                   offset: 4 4;
25596                }
25597                rel2 {
25598                   to: "base";
25599                   offset: -5 -5;
25600                }
25601                image {
25602                   normal: "frame_1.png";
25603                   border: 2 2 28 22;
25604                   middle: 0;
25605                }
25606                fill.smooth : 0;
25607             }
25608          }
25609          part { name: "elm.swallow.content";
25610             type: SWALLOW;
25611             clip_to: "clip";
25612             description { state: "default" 0.0;
25613                rel1 {
25614                   to: "base";
25615                   offset: 8 8;
25616                }
25617                rel2 {
25618                   to: "base";
25619                   offset: -9 -9;
25620                }
25621             }
25622          }
25623       }
25624       programs {
25625          program { name: "push_start";
25626             signal: "elm,action,push";
25627             source: "elm";
25628             action:  STATE_SET "hidden" 0.0;
25629             target: "base";
25630             target: "clip";
25631             after: "show_start2";
25632          }
25633          program { name: "show_start";
25634             signal: "elm,action,show";
25635             source: "elm";
25636             action:  STATE_SET "hidden" 0.0;
25637             target: "base";
25638             target: "clip";
25639             after: "show_start2";
25640          }
25641          program { name: "show_start2";
25642             action:  STATE_SET "visible" 0.0;
25643             transition: DECELERATE 0.5;
25644             target: "base";
25645             target: "clip";
25646             after: "show_end";
25647          }
25648          program { name: "show_end";
25649             action: SIGNAL_EMIT "elm,action,show,finished" "";
25650          }
25651          program { name: "pop_start";
25652             signal: "elm,action,pop";
25653             source: "elm";
25654             action:  STATE_SET "visible" 0.0;
25655             target: "base";
25656             target: "clip";
25657             after: "hide_start2";
25658          }
25659          program { name: "hide_start";
25660             signal: "elm,action,hide";
25661             source: "elm";
25662             action:  STATE_SET "visible" 0.0;
25663             target: "base";
25664             target: "clip";
25665             after: "hide_start2";
25666          }
25667          program { name: "hide_start2";
25668             action:  STATE_SET "hidden" 0.0;
25669             transition: DECELERATE 0.5;
25670             target: "base";
25671             target: "clip";
25672             after: "hide_end";
25673          }
25674          program { name: "hide_end";
25675             action: SIGNAL_EMIT "elm,action,hide,finished" "";
25676          }
25677          program { name: "reset";
25678             signal: "elm,action,reset";
25679             source: "elm";
25680             action:  STATE_SET "default" 0.0;
25681             target: "base";
25682             target: "clip";
25683          }
25684       }
25685    }
25686
25687    group { name: "elm/pager/base/slide";
25688       images {
25689          image: "frame_1.png" COMP;
25690          image: "frame_2.png" COMP;
25691          image: "dia_grad.png" COMP;
25692       }
25693       parts {
25694          part { name: "clip";
25695             type: RECT;
25696             mouse_events: 0;
25697             description { state: "default" 0.0;
25698                rel1 {
25699                   to: "base";
25700                   offset: -9999 -9999;
25701                }
25702                rel2 {
25703                   to: "base";
25704                   offset: 9999 9999;
25705                }
25706                color: 255 255 255 255;
25707             }
25708             description { state: "visible" 0.0;
25709                inherit: "default" 0.0;
25710             }
25711             description { state: "hidden" 0.0;
25712                inherit: "default" 0.0;
25713                color: 255 255 255 0;
25714                visible: 0;
25715             }
25716             description { state: "hidden2" 0.0;
25717                inherit: "default" 0.0;
25718                color: 255 255 255 0;
25719                visible: 0;
25720             }
25721          }
25722          part { name: "base0";
25723             mouse_events:  0;
25724             clip_to: "clip";
25725             description { state: "default" 0.0;
25726                image.normal: "dia_grad.png";
25727                rel1.to: "over";
25728                rel2.to: "over";
25729                fill {
25730                   smooth: 0;
25731                   size {
25732                      relative: 0.0 1.0;
25733                      offset: 64 0;
25734                   }
25735                }
25736             }
25737          }
25738          part { name: "base";
25739             mouse_events:  0;
25740             clip_to: "clip";
25741             description { state: "default" 0.0;
25742                image {
25743                   normal: "frame_2.png";
25744                   border: 5 5 32 26;
25745                   middle: 0;
25746                }
25747                fill.smooth : 0;
25748             }
25749             description { state: "hidden" 0.0;
25750                inherit: "default" 0.0;
25751                rel1.relative: -1.0 0.0;
25752                rel2.relative: 0.0 1.0;
25753             }
25754             description { state: "hidden2" 0.0;
25755                inherit: "default" 0.0;
25756                rel1.relative: 1.0 0.0;
25757                rel2.relative: 2.0 1.0;
25758             }
25759             description { state: "visible" 0.0;
25760                inherit: "default" 0.0;
25761                rel1.relative: 0.0 0.0;
25762                rel2.relative: 1.0 1.0;
25763             }
25764          }
25765          part { name: "over";
25766             mouse_events:  0;
25767             clip_to: "clip";
25768             description { state:    "default" 0.0;
25769                rel1 {
25770                   to: "base";
25771                   offset: 4 4;
25772                }
25773                rel2 {
25774                   to: "base";
25775                   offset: -5 -5;
25776                }
25777                image {
25778                   normal: "frame_1.png";
25779                   border: 2 2 28 22;
25780                   middle: 0;
25781                }
25782                fill.smooth : 0;
25783             }
25784          }
25785          part { name: "elm.swallow.content";
25786             type: SWALLOW;
25787             clip_to: "clip";
25788             description { state: "default" 0.0;
25789                rel1 {
25790                   to: "base";
25791                   offset: 8 8;
25792                }
25793                rel2 {
25794                   to: "base";
25795                   offset: -9 -9;
25796                }
25797             }
25798          }
25799       }
25800       programs {
25801          program { name: "push_start";
25802             signal: "elm,action,push";
25803             source: "elm";
25804             action:  STATE_SET "hidden2" 0.0;
25805             target: "base";
25806             target: "clip";
25807             after: "show_start2";
25808          }
25809          program { name: "show_start";
25810             signal: "elm,action,show";
25811             source: "elm";
25812             action:  STATE_SET "hidden" 0.0;
25813             target: "base";
25814             target: "clip";
25815             after: "show_start2";
25816          }
25817          program { name: "show_start2";
25818             action:  STATE_SET "visible" 0.0;
25819             transition: DECELERATE 0.5;
25820             target: "base";
25821             target: "clip";
25822             after: "show_end";
25823          }
25824          program { name: "show_end";
25825             action: SIGNAL_EMIT "elm,action,show,finished" "";
25826          }
25827          program { name: "pop_start";
25828             signal: "elm,action,pop";
25829             source: "elm";
25830             action:  STATE_SET "visible" 0.0;
25831             target: "base";
25832             target: "clip";
25833             after: "pop_start2";
25834          }
25835          program { name: "pop_start2";
25836             action:  STATE_SET "hidden2" 0.0;
25837             transition: DECELERATE 0.5;
25838             target: "base";
25839             target: "clip";
25840             after: "hide_end";
25841          }
25842          program { name: "hide_start";
25843             signal: "elm,action,hide";
25844             source: "elm";
25845             action:  STATE_SET "visible" 0.0;
25846             target: "base";
25847             target: "clip";
25848             after: "hide_start2";
25849          }
25850          program { name: "hide_start2";
25851             action:  STATE_SET "hidden" 0.0;
25852             transition: DECELERATE 0.5;
25853             target: "base";
25854             target: "clip";
25855             after: "hide_end";
25856          }
25857          program { name: "hide_end";
25858             action: SIGNAL_EMIT "elm,action,hide,finished" "";
25859          }
25860          program { name: "reset";
25861             signal: "elm,action,reset";
25862             source: "elm";
25863             action:  STATE_SET "default" 0.0;
25864             target: "base";
25865             target: "clip";
25866          }
25867       }
25868    }
25869    group { name: "elm/pager/base/slide_invisible";
25870       parts {
25871          part { name: "clip";
25872             type: RECT;
25873             mouse_events: 0;
25874             description { state: "default" 0.0;
25875                rel1 {
25876                   to: "base";
25877                   offset: -9999 -9999;
25878             }
25879                rel2 {
25880                   to: "base";
25881                   offset: 9999 9999;
25882                }
25883                color: 255 255 255 255;
25884             }
25885             description { state: "visible" 0.0;
25886                inherit: "default" 0.0;
25887             }
25888             description { state: "hidden" 0.0;
25889                inherit: "default" 0.0;
25890                color: 255 255 255 0;
25891                visible: 0;
25892             }
25893             description { state: "hidden2" 0.0;
25894                inherit: "default" 0.0;
25895                color: 255 255 255 0;
25896                visible: 0;
25897             }
25898          }
25899          part { name: "base";
25900             type: RECT;
25901             mouse_events:  0;
25902             clip_to: "clip";
25903             description { state: "default" 0.0;
25904                color: 0 0 0 0;
25905             }
25906             description { state: "hidden" 0.0;
25907                color: 0 0 0 0;
25908                rel1.relative: -1.0 0.0;
25909                rel2.relative: 0.0 1.0;
25910             }
25911             description { state: "hidden2" 0.0;
25912                color: 0 0 0 0;
25913                rel1.relative: 1.0 0.0;
25914                rel2.relative: 2.0 1.0;
25915             }
25916             description { state: "visible" 0.0;
25917                color: 0 0 0 0;
25918                rel1.relative: 0.0 0.0;
25919                rel2.relative: 1.0 1.0;
25920             }
25921          }
25922          part { name: "elm.swallow.content";
25923             type: SWALLOW;
25924             clip_to: "clip";
25925             description { state: "default" 0.0;
25926                rel1.to: "base";
25927                rel2.to: "base";
25928             }
25929          }
25930       }
25931       programs {
25932          program { name: "push_start";
25933             signal: "elm,action,push";
25934             source: "elm";
25935             action:  STATE_SET "hidden2" 0.0;
25936             target: "base";
25937             target: "clip";
25938             after: "show_start2";
25939          }
25940          program { name: "show_start";
25941             signal: "elm,action,show";
25942             source: "elm";
25943             action:  STATE_SET "hidden" 0.0;
25944             target: "base";
25945             target: "clip";
25946             after: "show_start2";
25947          }
25948          program { name: "show_start2";
25949             action:  STATE_SET "visible" 0.0;
25950             transition: DECELERATE 0.5;
25951             target: "base";
25952             target: "clip";
25953             after: "show_end";
25954          }
25955          program { name: "show_end";
25956             action: SIGNAL_EMIT "elm,action,show,finished" "";
25957          }
25958          program { name: "pop_start";
25959             signal: "elm,action,pop";
25960             source: "elm";
25961             action:  STATE_SET "visible" 0.0;
25962             target: "base";
25963             target: "clip";
25964             after: "pop_start2";
25965          }
25966          program { name: "pop_start2";
25967             action:  STATE_SET "hidden2" 0.0;
25968             transition: DECELERATE 0.5;
25969             target: "base";
25970             target: "clip";
25971             after: "hide_end";
25972          }
25973          program { name: "hide_start";
25974             signal: "elm,action,hide";
25975             source: "elm";
25976             action:  STATE_SET "visible" 0.0;
25977             target: "base";
25978             target: "clip";
25979             after: "hide_start2";
25980          }
25981          program { name: "hide_start2";
25982             action:  STATE_SET "hidden" 0.0;
25983             transition: DECELERATE 0.5;
25984             target: "base";
25985             target: "clip";
25986             after: "hide_end";
25987          }
25988          program { name: "hide_end";
25989             action: SIGNAL_EMIT "elm,action,hide,finished" "";
25990          }
25991          program { name: "reset";
25992             signal: "elm,action,reset";
25993             source: "elm";
25994             action:  STATE_SET "default" 0.0;
25995             target: "base";
25996             target: "clip";
25997          }
25998       }
25999    }
26000
26001    group { name: "elm/pager/base/fade";
26002        data.item: "onshow" "raise";
26003        // other options
26004        //      data.item: "onhide" "lower";
26005        //      data.item: "onshow" "lower";
26006        images {
26007            image: "frame_1.png" COMP;
26008            image: "frame_2.png" COMP;
26009            image: "dia_grad.png" COMP;
26010        }
26011        parts {
26012            part { name: "clip_base";
26013                type: RECT;
26014                mouse_events: 0;
26015                description { state: "default" 0.0;
26016                    rel1 {
26017                        to: "base";
26018                        offset: -9999 -9999;
26019                    }
26020                    rel2 {
26021                        to: "base";
26022                        offset: 9999 9999;
26023                    }
26024                    color: 255 255 255 120;
26025                }
26026                description { state: "visible" 0.0;
26027                    inherit: "default" 0.0;
26028                }
26029                description { state: "hidden" 0.0;
26030                    inherit: "default" 0.0;
26031                    color: 255 255 255 0;
26032                    visible: 0;
26033                }
26034            }
26035            part { name: "clip";
26036                type: RECT;
26037                mouse_events: 0;
26038                description { state: "default" 0.0;
26039                    rel1 {
26040                        to: "base";
26041                        offset: -9999 -9999;
26042                    }
26043                    rel2 {
26044                        to: "base";
26045                        offset: 9999 9999;
26046                    }
26047                    color: 255 255 255 255;
26048                }
26049                description { state: "visible" 0.0;
26050                    inherit: "default" 0.0;
26051                }
26052                description { state: "hidden" 0.0;
26053                    inherit: "default" 0.0;
26054                    color: 255 255 255 0;
26055                    visible: 0;
26056                }
26057            }
26058            part { name: "base0";
26059                mouse_events:  0;
26060                clip_to: "clip_base";
26061                description { state: "default" 0.0;
26062                    image.normal: "dia_grad.png";
26063                    rel1.to: "over";
26064                    rel2.to: "over";
26065                    fill {
26066                        smooth: 0;
26067                        size {
26068                            relative: 0.0 1.0;
26069                            offset: 64 0;
26070                        }
26071                    }
26072                }
26073            }
26074            part { name: "base";
26075                mouse_events:  0;
26076                clip_to: "clip_base";
26077                description { state: "default" 0.0;
26078                    image {
26079                        normal: "frame_2.png";
26080                        border: 5 5 32 26;
26081                        middle: 0;
26082                    }
26083                    fill.smooth : 0;
26084                }
26085            }
26086            part { name: "over";
26087                mouse_events:  0;
26088                clip_to: "clip";
26089                description { state:    "default" 0.0;
26090                    rel1 {
26091                        to: "base";
26092                        offset: 4 4;
26093                    }
26094                    rel2 {
26095                        to: "base";
26096                        offset: -5 -5;
26097                    }
26098                    image {
26099                        normal: "frame_1.png";
26100                        border: 2 2 28 22;
26101                        middle: 0;
26102                    }
26103                    fill.smooth : 0;
26104                }
26105            }
26106            part { name: "elm.swallow.content";
26107                type: SWALLOW;
26108                clip_to: "clip";
26109                description { state: "default" 0.0;
26110                    rel1 {
26111                        to: "base";
26112                        offset: 8 8;
26113                    }
26114                    rel2 {
26115                        to: "base";
26116                        offset: -9 -9;
26117                    }
26118                }
26119            }
26120        }
26121        programs {
26122            program { name: "push_start";
26123                signal: "elm,action,push";
26124                source: "elm";
26125                action:  STATE_SET "hidden" 0.0;
26126                target: "clip";
26127                target: "clip_base";
26128                after: "show_start2";
26129            }
26130            program { name: "show_start";
26131                signal: "elm,action,show";
26132                source: "elm";
26133                action:  STATE_SET "hidden" 0.0;
26134                target: "clip";
26135                target: "clip_base";
26136                after: "show_start2";
26137            }
26138            program { name: "show_start2";
26139                action:  STATE_SET "visible" 0.0;
26140                transition: DECELERATE 0.5;
26141                target: "clip";
26142                target: "clip_base";
26143                after: "show_end";
26144            }
26145            program { name: "show_end";
26146                action: SIGNAL_EMIT "elm,action,show,finished" "";
26147            }
26148            program { name: "pop_start";
26149                signal: "elm,action,pop";
26150                source: "elm";
26151                action:  STATE_SET "visible" 0.0;
26152                target: "clip";
26153                target: "clip_base";
26154                after: "hide_start2";
26155            }
26156            program { name: "hide_start";
26157                signal: "elm,action,hide";
26158                source: "elm";
26159                action:  STATE_SET "visible" 0.0;
26160                target: "clip";
26161                target: "clip_base";
26162                after: "hide_start2";
26163            }
26164            program { name: "hide_start2";
26165                action:  STATE_SET "hidden" 0.0;
26166                transition: DECELERATE 0.5;
26167                target: "clip";
26168                target: "clip_base";
26169                after: "hide_end";
26170            }
26171            program { name: "hide_end";
26172                action: SIGNAL_EMIT "elm,action,hide,finished" "";
26173            }
26174            program { name: "reset";
26175                signal: "elm,action,reset";
26176                source: "elm";
26177                action:  STATE_SET "default" 0.0;
26178                target: "clip_base";
26179                target: "clip";
26180            }
26181        }
26182    }
26183    group { name: "elm/pager/base/fade_translucide";
26184        data.item: "onshow" "raise";
26185        // other options
26186        //      data.item: "onhide" "lower";
26187        //      data.item: "onshow" "lower";
26188        images {
26189            image: "frame_1.png" COMP;
26190            image: "frame_2.png" COMP;
26191            image: "dia_grad.png" COMP;
26192        }
26193        parts {
26194            part { name: "clip_base";
26195                type: RECT;
26196                mouse_events: 0;
26197                description { state: "default" 0.0;
26198                    rel1 {
26199                        to: "base";
26200                        offset: -9999 -9999;
26201                    }
26202                    rel2 {
26203                        to: "base";
26204                        offset: 9999 9999;
26205                    }
26206                    color: 255 255 255 120;
26207                }
26208                description { state: "visible" 0.0;
26209                    inherit: "default" 0.0;
26210                }
26211                description { state: "hidden" 0.0;
26212                    inherit: "default" 0.0;
26213                    color: 255 255 255 0;
26214                    visible: 0;
26215                }
26216            }
26217            part { name: "clip";
26218                type: RECT;
26219                mouse_events: 0;
26220                description { state: "default" 0.0;
26221                    rel1 {
26222                        to: "base";
26223                        offset: -9999 -9999;
26224                    }
26225                    rel2 {
26226                        to: "base";
26227                        offset: 9999 9999;
26228                    }
26229                    color: 255 255 255 255;
26230                }
26231                description { state: "visible" 0.0;
26232                    inherit: "default" 0.0;
26233                }
26234                description { state: "hidden" 0.0;
26235                    inherit: "default" 0.0;
26236                    color: 255 255 255 0;
26237                    visible: 0;
26238                }
26239            }
26240            part { name: "base0";
26241                mouse_events:  0;
26242                clip_to: "clip_base";
26243                description { state: "default" 0.0;
26244                    image.normal: "dia_grad.png";
26245                    rel1.to: "over";
26246                    rel2.to: "over";
26247                    fill {
26248                        smooth: 0;
26249                        size {
26250                            relative: 0.0 1.0;
26251                            offset: 64 0;
26252                        }
26253                    }
26254                }
26255            }
26256            part { name: "base";
26257                mouse_events:  0;
26258                clip_to: "clip_base";
26259                description { state: "default" 0.0;
26260                    image {
26261                        normal: "frame_2.png";
26262                        border: 5 5 32 26;
26263                        middle: 0;
26264                    }
26265                    fill.smooth : 0;
26266                }
26267            }
26268            part { name: "over";
26269                mouse_events:  0;
26270                clip_to: "clip";
26271                description { state:    "default" 0.0;
26272                    rel1 {
26273                        to: "base";
26274                        offset: 4 4;
26275                    }
26276                    rel2 {
26277                        to: "base";
26278                        offset: -5 -5;
26279                    }
26280                    image {
26281                        normal: "frame_1.png";
26282                        border: 2 2 28 22;
26283                        middle: 0;
26284                    }
26285                    fill.smooth : 0;
26286                }
26287            }
26288            part { name: "elm.swallow.content";
26289                type: SWALLOW;
26290                clip_to: "clip";
26291                description { state: "default" 0.0;
26292                    rel1 {
26293                        to: "base";
26294                        offset: 8 8;
26295                    }
26296                    rel2 {
26297                        to: "base";
26298                        offset: -9 -9;
26299                    }
26300                }
26301            }
26302        }
26303        programs {
26304            program { name: "push_start";
26305                signal: "elm,action,push";
26306                source: "elm";
26307                action:  STATE_SET "hidden" 0.0;
26308                target: "clip";
26309                target: "clip_base";
26310                after: "show_start2";
26311            }
26312            program { name: "show_start";
26313                signal: "elm,action,show";
26314                source: "elm";
26315                action:  STATE_SET "hidden" 0.0;
26316                target: "clip";
26317                target: "clip_base";
26318                after: "show_start2";
26319            }
26320            program { name: "show_start2";
26321                action:  STATE_SET "visible" 0.0;
26322                transition: DECELERATE 0.5;
26323                target: "clip";
26324                target: "clip_base";
26325                after: "show_end";
26326            }
26327            program { name: "show_end";
26328                action: SIGNAL_EMIT "elm,action,show,finished" "";
26329            }
26330            program { name: "pop_start";
26331                signal: "elm,action,pop";
26332                source: "elm";
26333                action:  STATE_SET "visible" 0.0;
26334                target: "clip";
26335                target: "clip_base";
26336                after: "hide_start2";
26337            }
26338            program { name: "hide_start";
26339                signal: "elm,action,hide";
26340                source: "elm";
26341                action:  STATE_SET "visible" 0.0;
26342                target: "clip";
26343                target: "clip_base";
26344                after: "hide_start2";
26345            }
26346            program { name: "hide_start2";
26347                action:  STATE_SET "hidden" 0.0;
26348                transition: DECELERATE 0.5;
26349                target: "clip";
26350                target: "clip_base";
26351                after: "hide_end";
26352            }
26353            program { name: "hide_end";
26354                action: SIGNAL_EMIT "elm,action,hide,finished" "";
26355            }
26356            program { name: "reset";
26357                signal: "elm,action,reset";
26358                source: "elm";
26359                action:  STATE_SET "default" 0.0;
26360                target: "clip_base";
26361                target: "clip";
26362            }
26363        }
26364    }
26365    group { name: "elm/pager/base/fade_invisible";
26366        data.item: "onshow" "raise";
26367        // other options
26368        //      data.item: "onhide" "lower";
26369        //      data.item: "onshow" "lower";
26370        parts {
26371            part { name: "clip";
26372                type: RECT;
26373                mouse_events: 0;
26374                description { state: "default" 0.0;
26375                    rel1 {
26376                        offset: -9999 -9999;
26377                    }
26378                    rel2 {
26379                        offset: 9999 9999;
26380                    }
26381                    color: 255 255 255 255;
26382                }
26383                description { state: "visible" 0.0;
26384                    inherit: "default" 0.0;
26385                }
26386                description { state: "hidden" 0.0;
26387                    inherit: "default" 0.0;
26388                    color: 255 255 255 0;
26389                    visible: 0;
26390                }
26391            }
26392            part { name: "elm.swallow.content";
26393                type: SWALLOW;
26394                clip_to: "clip";
26395                description { state: "default" 0.0;
26396                    rel1 {
26397                        offset: 8 8;
26398                    }
26399                    rel2 {
26400                        offset: -9 -9;
26401                    }
26402                }
26403            }
26404        }
26405        programs {
26406            program { name: "push_start";
26407                signal: "elm,action,push";
26408                source: "elm";
26409                action:  STATE_SET "hidden" 0.0;
26410                target: "clip";
26411                after: "show_start2";
26412            }
26413            program { name: "show_start";
26414                signal: "elm,action,show";
26415                source: "elm";
26416                action:  STATE_SET "hidden" 0.0;
26417                target: "clip";
26418                after: "show_start2";
26419            }
26420            program { name: "show_start2";
26421                action:  STATE_SET "visible" 0.0;
26422                transition: DECELERATE 0.5;
26423                target: "clip";
26424                after: "show_end";
26425            }
26426            program { name: "show_end";
26427                action: SIGNAL_EMIT "elm,action,show,finished" "";
26428            }
26429            program { name: "pop_start";
26430                signal: "elm,action,pop";
26431                source: "elm";
26432                action:  STATE_SET "visible" 0.0;
26433                target: "clip";
26434                after: "hide_start2";
26435            }
26436            program { name: "hide_start";
26437                signal: "elm,action,hide";
26438                source: "elm";
26439                action:  STATE_SET "visible" 0.0;
26440                target: "clip";
26441                after: "hide_start2";
26442            }
26443            program { name: "hide_start2";
26444                action:  STATE_SET "hidden" 0.0;
26445                transition: DECELERATE 0.5;
26446                target: "clip";
26447                after: "hide_end";
26448            }
26449            program { name: "hide_end";
26450                action: SIGNAL_EMIT "elm,action,hide,finished" "";
26451            }
26452            program { name: "reset";
26453                signal: "elm,action,reset";
26454                source: "elm";
26455                action:  STATE_SET "default" 0.0;
26456                target: "clip";
26457            }
26458        }
26459    }
26460
26461    group { name: "elm/pager/base/flip";
26462       data.item: "onshow" "raise";
26463       images {
26464          image: "frame_1.png" COMP;
26465          image: "frame_2.png" COMP;
26466          image: "dia_grad.png" COMP;
26467       }
26468       parts {
26469          part { name: "elm.swallow.content";
26470             type: SWALLOW;
26471             description { state: "default" 0.0;
26472                map {
26473                   on: 1;
26474                   smooth: 1;
26475                   backface_cull: 1;
26476                   perspective_on: 1;
26477                }
26478                perspective {
26479                   zplane: 0;
26480                   focal: 1000;
26481                }
26482             }
26483             description { state: "hidden" 0.0;
26484                inherit: "default" 0.0;
26485                visible: 0;
26486                map.rotation.y: 90.0;
26487             }
26488             description { state: "before_hidden" 0.0;
26489                inherit: "default" 0.0;
26490                visible: 0;
26491                map.rotation.y: -90.0;
26492             }
26493          }
26494       }
26495       programs {
26496          program { name: "push_start";
26497             signal: "elm,action,push";
26498             source: "elm";
26499             after: "push1";
26500          }
26501          program { name: "push1";
26502             action:  STATE_SET "hidden" 0.0;
26503             target: "elm.swallow.content";
26504             after: "push2";
26505          }
26506          program { name: "push2";
26507             action:  STATE_SET "default" 0.0;
26508             in: 0.5 0.0;
26509             transition: LINEAR 0.5;
26510             target: "elm.swallow.content";
26511             after: "push3";
26512          }
26513          program { name: "push3";
26514             action: SIGNAL_EMIT "elm,action,show,finished" "";
26515          }
26516
26517          program { name: "show_start";
26518             signal: "elm,action,show";
26519             source: "elm";
26520             after: "show1";
26521          }
26522          program { name: "show1";
26523             action:  STATE_SET "before_hidden" 0.0;
26524             target: "elm.swallow.content";
26525             after: "show2";
26526          }
26527          program { name: "show2";
26528             action:  STATE_SET "default" 0.0;
26529             in: 0.5 0.0;
26530             transition: LINEAR 0.5;
26531             target: "elm.swallow.content";
26532             after: "show3";
26533          }
26534          program { name: "show3";
26535             action: SIGNAL_EMIT "elm,action,show,finished" "";
26536          }
26537
26538          program { name: "pop_start";
26539             signal: "elm,action,pop";
26540             source: "elm";
26541             after: "pop1";
26542          }
26543          program { name: "pop1";
26544             action:  STATE_SET "default" 0.0;
26545             target: "elm.swallow.content";
26546             after: "pop2";
26547          }
26548          program { name: "pop2";
26549             action:  STATE_SET "hidden" 0.0;
26550             transition: LINEAR 0.5;
26551             target: "elm.swallow.content";
26552             after: "pop3";
26553          }
26554          program { name: "pop3";
26555             action: SIGNAL_EMIT "elm,action,hide,finished" "";
26556          }
26557
26558          program { name: "hide_start";
26559             signal: "elm,action,hide";
26560             source: "elm";
26561             after: "hide1";
26562          }
26563          program { name: "hide1";
26564             action:  STATE_SET "default" 0.0;
26565             target: "elm.swallow.content";
26566             after: "hide2";
26567          }
26568          program { name: "hide2";
26569             action:  STATE_SET "before_hidden" 0.0;
26570             transition: LINEAR 0.5;
26571             target: "elm.swallow.content";
26572             after: "hide3";
26573          }
26574          program { name: "hide3";
26575             action: SIGNAL_EMIT "elm,action,hide,finished" "";
26576          }
26577
26578          program { name: "reset";
26579             signal: "elm,action,reset";
26580             source: "elm";
26581             action:  STATE_SET "default" 0.0;
26582             target: "elm.swallow.content";
26583          }
26584       }
26585    }
26586
26587
26588
26589 ///////////////////////////////////////////////////////////////////////////////
26590 // FIXME: this doesn't look too hot. need to fix it up
26591    group { name: "elm/progressbar/horizontal/default";
26592       images {
26593          image: "shelf_inset.png" COMP;
26594          image: "bt_sm_base2.png" COMP;
26595          image: "bt_sm_hilight.png" COMP;
26596          image: "bt_sm_shine.png" COMP;
26597       }
26598       parts {
26599          part { name: "elm.background.progressbar";
26600             mouse_events: 0;
26601             description {
26602                state: "default" 0.0;
26603                rel1 {
26604                   relative: 0.0 0.0;
26605                   offset: 0 0;
26606                }
26607                rel2 {
26608                   relative: 1.0 1.0;
26609                }
26610             }
26611          }
26612          part { name: "elm.swallow.bar";
26613             mouse_events: 0;
26614             type: SWALLOW;
26615             description {
26616                min: 48 28;
26617                max: 99999 28;
26618                state: "default" 0.0;
26619                rel1 {
26620                   to_x: "elm.text";
26621                   to_y: "elm.background.progressbar";
26622                   relative: 1.0 0.0;
26623                }
26624                rel2 {
26625                   to: "elm.background.progressbar";
26626                   relative: 1.0 1.0;
26627                }
26628             }
26629          }
26630          part { name: "elm.swallow.content";
26631             type: SWALLOW;
26632             description { state: "default" 0.0;
26633                visible: 0;
26634                align: 0.0 0.5;
26635                rel1 {
26636                   offset: 4 0;
26637                   to_y: "elm.background.progressbar";
26638                }
26639                rel2 {
26640                   offset: 3 -1;
26641                   relative: 0.0 1.0;
26642                   to_y: "elm.background.progressbar";
26643                }
26644             }
26645             description { state: "visible" 0.0;
26646                inherit: "default" 0.0;
26647                visible: 1;
26648                aspect: 1.0 1.0;
26649                aspect_preference: VERTICAL;
26650                rel2.offset: 4 -1;
26651             }
26652          }
26653          part { name: "elm.text";
26654             type: TEXT;
26655             mouse_events: 0;
26656             scale: 1;
26657             description { state: "default" 0.0;
26658                visible: 0;
26659                fixed: 1 1;
26660                align: 0.0 0.5;
26661                rel1.to_x: "elm.swallow.content";
26662                rel1.relative: 1.0 0.0;
26663                rel1.offset: -1 4;
26664                rel2.to_x: "elm.swallow.content";
26665                rel2.relative: 1.0 1.0;
26666                rel2.offset: -1 -5;
26667                color: 0 0 0 255;
26668                text {
26669                   font: "Sans,Edje-Vera";
26670                   size: 10;
26671                   min: 0 0;
26672                   align: 0.0 0.5;
26673                }
26674             }
26675             description { state: "visible" 0.0;
26676                inherit: "default" 0.0;
26677                visible: 1;
26678                text.min: 1 1;
26679                rel1.offset: 0 4;
26680                rel2.offset: 0 -5;
26681             }
26682          }
26683
26684          part { name: "background";
26685             mouse_events: 0;
26686             clip_to: "elm.background.progressbar";
26687             description {
26688                state: "default" 0.0;
26689                rel1 {
26690                   to: "elm.swallow.bar";
26691                   relative: 0.0 0.0;
26692                }
26693                rel2 {
26694                   to: "elm.swallow.bar";
26695                   relative: 1.0 1.0;
26696                   offset: -1 -1;
26697                }
26698                image {
26699                   normal: "shelf_inset.png";
26700                   border: 7 7 7 7;
26701                }
26702             }
26703          }
26704
26705          part { name: "elm.text.status";
26706             type: TEXT;
26707             mouse_events: 0;
26708             description { state: "default" 0.0;
26709                fixed: 1 1;
26710                visible: 1;
26711                rel1 {
26712                   to: "background";
26713                   relative: 0.5 0.5;
26714                }
26715                rel2 {
26716                   to: "background";
26717                   relative: 0.5 0.5;
26718                }
26719                text {
26720                   font: "Sans:style=Bold,Edje-Vera-Bold";
26721                   size: 10;
26722                   min: 1 1;
26723                   align: 0.5 0.0;
26724                }
26725                color: 0 0 0 255;
26726             }
26727             description { state: "hidden" 0.0;
26728                inherit: "default" 0.0;
26729                visible: 0;
26730                text.min: 0 0;
26731             }
26732          }
26733
26734          part { name: "elm.progress.progressbar";
26735             mouse_events: 0;
26736             clip_to: "elm.background.progressbar";
26737             description {
26738                state: "default" 0.0;
26739                min: 14 28;
26740                fixed: 1 1;
26741                rel1 {
26742                   to: "elm.swallow.bar";
26743                   relative: 0.0 0.0;
26744                }
26745                rel2 {
26746                   to_y: "elm.swallow.bar";
26747                   to_x: "elm.cur.progressbar";
26748                   offset: -1 -1;
26749                }
26750                image {
26751                   normal: "bt_sm_base2.png";
26752                   border: 6 6 6 6;
26753                }
26754             }
26755             description {
26756                state: "invert" 0.0;
26757                inherit: "default" 0.0;
26758                rel1 {
26759                   to_y: "elm.swallow.bar";
26760                   to_x: "elm.cur.progressbar";
26761                }
26762                rel2 {
26763                   to: "elm.swallow.bar";
26764                   relative: 1.0 1.0;
26765                }
26766             }
26767             description {
26768                state: "state_begin" 0.0;
26769                inherit: "default" 0.0;
26770                rel1 {
26771                   to: "elm.swallow.bar";
26772                   relative: 0.0 0.0;
26773                }
26774                rel2 {
26775                   to: "elm.swallow.bar";
26776                   relative: 0.1 1.0;
26777                }
26778             }
26779             description {
26780                state: "state_end" 0.0;
26781                inherit: "default" 0.0;
26782                rel1 {
26783                   to: "elm.swallow.bar";
26784                   relative: 0.9 0.0;
26785                }
26786                rel2 {
26787                   to: "elm.swallow.bar";
26788                   relative: 1.0 1.0;
26789                }
26790             }
26791          }
26792          part { name: "text-bar";
26793             type: TEXT;
26794             mouse_events: 0;
26795             clip_to: "progress-rect";
26796             effect: SOFT_SHADOW;
26797             scale: 1;
26798             description { state: "default" 0.0;
26799                align: 0.0 0.0;
26800                fixed: 1 1;
26801                visible: 1;
26802                rel1.to: "elm.text.status";
26803                rel1.offset: -1 -1;
26804                rel2.to: "elm.text.status";
26805                text {
26806                   text_source: "elm.text.status";
26807                   font: "Sans:style=Bold,Edje-Vera-Bold";
26808                   size: 10;
26809                   min: 1 1;
26810                   align: 0.0 0.0;
26811                }
26812                color: 224 224 224 255;
26813                color3: 0 0 0 64;
26814             }
26815             description { state: "hidden" 0.0;
26816                inherit: "default" 0.0;
26817                visible: 0;
26818                text.min: 0 0;
26819             }
26820          }
26821
26822          part { name: "over1";
26823             mouse_events: 0;
26824             description { state: "default" 0.0;
26825                rel1.to: "elm.progress.progressbar";
26826                rel2.to: "elm.progress.progressbar";
26827                rel2.relative: 1.0 0.5;
26828                image {
26829                   normal: "bt_sm_hilight.png";
26830                   border: 6 6 6 0;
26831                }
26832             }
26833          }
26834
26835          part { name: "over2";
26836             mouse_events: 1;
26837             repeat_events: 1;
26838             description { state: "default" 0.0;
26839                rel1.to: "elm.progress.progressbar";
26840                rel2.to: "elm.progress.progressbar";
26841                image {
26842                   normal: "bt_sm_shine.png";
26843                   border: 6 6 6 0;
26844                }
26845             }
26846          }
26847
26848          part { name: "elm.cur.progressbar";
26849             mouse_events: 0;
26850             dragable {
26851                confine: "background";
26852                x: 1 1 1;
26853                y: 0 0 0;
26854             }
26855             description { state: "default" 0.0;
26856                min: 14 28;
26857                fixed: 1 1;
26858                visible: 0;
26859                rel1 {
26860                   to: "background";
26861                   relative: 0 0;
26862                }
26863                rel2.to: "background";
26864            }
26865          }
26866          part { name: "progress-rect";
26867             mouse_events: 0;
26868             description {
26869                state: "default" 0.0;
26870                rel1.to: "elm.progress.progressbar";
26871                rel2.to: "elm.progress.progressbar";
26872             }
26873          }
26874       }
26875       programs {
26876          program { name: "label_show";
26877             signal: "elm,state,text,visible";
26878             source: "elm";
26879             action:  STATE_SET "visible" 0.0;
26880             target: "elm.text";
26881          }
26882          program { name: "label_hide";
26883             signal: "elm,state,text,hidden";
26884             source: "elm";
26885             action:  STATE_SET "default" 0.0;
26886             target: "elm.text";
26887          }
26888          program { name: "icon_show";
26889             signal: "elm,state,icon,visible";
26890             source: "elm";
26891             action:  STATE_SET "visible" 0.0;
26892             target: "elm.swallow.content";
26893          }
26894          program { name: "icon_hide";
26895             signal: "elm,state,icon,hidden";
26896             source: "elm";
26897             action:  STATE_SET "default" 0.0;
26898             target: "elm.swallow.content";
26899          }
26900          program { name: "units_show";
26901             signal: "elm,state,units,visible";
26902             source: "elm";
26903             action:  STATE_SET "default" 0.0;
26904             target: "text-bar";
26905             target: "elm.text.status";
26906          }
26907          program { name: "units_hide";
26908             signal: "elm,state,units,hidden";
26909             source: "elm";
26910             action:  STATE_SET "hidden" 0.0;
26911             target: "text-bar";
26912             target: "elm.text.status";
26913          }
26914          program { name: "slide_to_end";
26915             action:  STATE_SET "state_end" 0.0;
26916             transition: LINEAR 0.5;
26917             target: "elm.progress.progressbar";
26918             after: "slide_to_begin";
26919          }
26920          program { name: "slide_to_begin";
26921             signal: "elm,state,slide,begin";
26922             action: STATE_SET "state_begin" 0.0;
26923             target: "elm.progress.progressbar";
26924             transition: LINEAR 0.5;
26925             after: "slide_to_end";
26926          }
26927          program { name: "start_pulse";
26928             signal: "elm,state,pulse,start";
26929             source: "elm";
26930             after: "slide_to_end";
26931          }
26932          program { name: "stop_pulse";
26933             signal: "elm,state,pulse,stop";
26934             source: "elm";
26935             action: ACTION_STOP;
26936             target: "slide_to_begin";
26937             target: "slide_to_end";
26938             target: "start_pulse";
26939             after: "state_pulse";
26940          }
26941          program { name: "state_pulse";
26942             signal: "elm,state,pulse";
26943             source: "elm";
26944             action: STATE_SET "state_begin" 0.0;
26945             target: "elm.progress.progressbar";
26946             after: "units_hide";
26947          }
26948          program { name: "state_fraction";
26949             signal: "elm,state,fraction";
26950             source: "elm";
26951             action: ACTION_STOP;
26952             target: "slide_to_begin";
26953             target: "slide_to_end";
26954             target: "start_pulse";
26955             action: STATE_SET "default" 0.0;
26956             target: "elm.progress.progressbar";
26957          }
26958          program { name: "set_invert_on";
26959             signal: "elm,state,inverted,on";
26960             source: "elm";
26961             action:  STATE_SET "invert" 0.0;
26962             target: "elm.progress.progressbar";
26963          }
26964          program { name: "set_invert_off";
26965             signal: "elm,state,inverted,off";
26966             source: "elm";
26967             action:  STATE_SET "default" 0.0;
26968             target: "elm.progress.progressbar";
26969          }
26970       }
26971    }
26972
26973 ///////////////////////////////////////////////////////////////////////////////
26974    group { name: "elm/progressbar/vertical/default";
26975       images {
26976          image: "shelf_inset.png" COMP;
26977          image: "bt_sm_base2.png" COMP;
26978          image: "bt_sm_hilight.png" COMP;
26979          image: "bt_sm_shine.png" COMP;
26980       }
26981       parts {
26982          part { name: "elm.background.progressbar";
26983             type: RECT;
26984             mouse_events: 0;
26985             description {
26986                state: "default" 0.0;
26987                rel1 {
26988                   relative: 0.0 0.0;
26989                   offset: 0 0;
26990                }
26991                rel2 {
26992                   relative: 1.0 1.0;
26993                   offset: -1 -1;
26994                }
26995             }
26996          }
26997          part { name: "elm.swallow.bar";
26998             type: SWALLOW;
26999             scale: 1;
27000             description { state: "default" 0.0;
27001                min: 28 48;
27002                max: 28 9999;
27003                align: 0.5 1.0;
27004                rel1 {
27005                   to_y: "elm.text";
27006                   relative: 0.0 1.0;
27007                   offset: 0 2;
27008                }
27009                rel2 {
27010                   to_y: "elm.text.box";
27011                   relative: 1.0 0.0;
27012                   offset: -1 -3;
27013                }
27014             }
27015          }
27016          part { name: "elm.swallow.content";
27017             type: SWALLOW;
27018             description { state: "default" 0.0;
27019                visible: 0;
27020                align: 0.5 0.0;
27021                rel1 {
27022                   offset: 0 4;
27023                   to_x: "elm.swallow.bar";
27024                }
27025                rel2 {
27026                   offset: -1 3;
27027                   relative: 1.0 0.0;
27028                   to_x: "elm.swallow.bar";
27029                }
27030             }
27031             description { state: "visible" 0.0;
27032                inherit: "default" 0.0;
27033                visible: 1;
27034                aspect: 1.0 1.0;
27035                aspect_preference: HORIZONTAL;
27036                rel2.offset: -1 4;
27037             }
27038          }
27039          part { name: "elm.text";
27040             type: TEXT;
27041             mouse_events: 0;
27042             scale: 1;
27043             description { state: "default" 0.0;
27044                visible: 0;
27045                fixed: 1 1;
27046                align: 0.5 0.0;
27047                rel1.to_y: "elm.swallow.content";
27048                rel1.relative: 0.5 1.0;
27049                rel1.offset: 0 -1;
27050                rel2.to_y: "elm.swallow.content";
27051                rel2.relative: 0.5 1.0;
27052                rel2.offset: -1 -1;
27053                color: 0 0 0 255;
27054                text {
27055                   font: "Sans,Edje-Vera";
27056                   size: 10;
27057                   min: 0 0;
27058                   align: 0.5 0.0;
27059                }
27060             }
27061             description { state: "visible" 0.0;
27062                inherit: "default" 0.0;
27063                visible: 1;
27064                text.min: 1 1;
27065                rel1.offset: 4 0;
27066                rel2.offset: -5 0;
27067             }
27068          }
27069
27070          part { name: "background";
27071             mouse_events: 0;
27072             clip_to: "elm.background.progressbar";
27073             description {
27074                state: "default" 0.0;
27075                rel1 {
27076                   to: "elm.swallow.bar";
27077                   relative: 0.0 0.0;
27078                }
27079                rel2 {
27080                   to: "elm.swallow.bar";
27081                   relative: 1.0 1.0;
27082                   offset: -1 -1;
27083                }
27084                image {
27085                   normal: "shelf_inset.png";
27086                   border: 7 7 7 7;
27087                }
27088             }
27089          }
27090
27091          part { name: "elm.progress.progressbar";
27092             mouse_events: 0;
27093             clip_to: "elm.background.progressbar";
27094             description {
27095                state: "default" 0.0;
27096                min: 28 14;
27097                fixed: 1 1;
27098                rel1 {
27099                   to: "elm.swallow.bar";
27100                   relative: 0.0 0.0;
27101                }
27102                rel2 {
27103                   to_x: "elm.swallow.bar";
27104                   to_y: "elm.cur.progressbar";
27105                   offset: -1 -1;
27106                }
27107                image {
27108                   normal: "bt_sm_base2.png";
27109                   border: 6 6 6 6;
27110                }
27111             }
27112             description {
27113                state: "invert" 0.0;
27114                inherit: "default" 0.0;
27115                rel1 {
27116                   to_x: "elm.swallow.bar";
27117                   to_y: "elm.cur.progressbar";
27118                }
27119                rel2 {
27120                   to: "elm.swallow.bar";
27121                   relative: 1.0 1.0;
27122                }
27123             }
27124             description {
27125                state: "state_begin" 0.0;
27126                inherit: "default" 0.0;
27127                rel1 {
27128                   to: "elm.swallow.bar";
27129                   relative: 0.0 0.0;
27130                }
27131                rel2 {
27132                   to: "elm.swallow.bar";
27133                   relative: 1.0 0.1;
27134                }
27135             }
27136             description {
27137                state: "state_end" 0.0;
27138                inherit: "default" 0.0;
27139                rel1 {
27140                   to: "elm.swallow.bar";
27141                   relative: 0.0 0.9;
27142                }
27143                rel2 {
27144                   to: "elm.swallow.bar";
27145                   relative: 1.0 1.0;
27146                }
27147             }
27148          }
27149
27150          part { name: "over1";
27151             mouse_events: 0;
27152             description { state: "default" 0.0;
27153                rel1.to: "elm.progress.progressbar";
27154                rel2.to: "elm.progress.progressbar";
27155                rel2.relative: 1.0 0.5;
27156                image {
27157                   normal: "bt_sm_hilight.png";
27158                   border: 6 6 6 0;
27159                }
27160             }
27161          }
27162
27163          part { name: "over2";
27164             mouse_events: 1;
27165             repeat_events: 1;
27166             description { state: "default" 0.0;
27167                rel1.to: "elm.progress.progressbar";
27168                rel2.to: "elm.progress.progressbar";
27169                image {
27170                   normal: "bt_sm_shine.png";
27171                   border: 6 6 6 0;
27172                }
27173             }
27174          }
27175
27176          part { name: "elm.cur.progressbar";
27177             mouse_events: 0;
27178             dragable {
27179                confine: "background";
27180                x: 0 0 0;
27181                y: 1 1 1;
27182             }
27183             description { state: "default" 0.0;
27184                min: 28 14;
27185                fixed: 1 1;
27186                visible: 0;
27187                rel1 {
27188                   to: "background";
27189                   relative: 0 0;
27190                }
27191                rel2.to: "background";
27192            }
27193          }
27194
27195          part { name: "elm.text.box";
27196             mouse_events: 0;
27197             type: RECT;
27198             description { state: "default" 0.0;
27199                visible: 0;
27200                rel1 {
27201                   to: "elm.text.status";
27202                   offset: -2 -2;
27203                }
27204                rel2 {
27205                   to: "elm.text.status";
27206                   offset: 2 2;
27207                }
27208                color: 255 255 255 0;
27209             }
27210             description { state: "visible" 0.0;
27211                inherit: "default" 0.0;
27212                visible: 1;
27213             }
27214          }
27215          part { name: "elm.text.status";
27216             type: TEXT;
27217             mouse_events: 0;
27218             scale: 1;
27219             description { state: "default" 0.0;
27220                visible: 0;
27221                fixed: 1 1;
27222                align: 0.5 1.0;
27223                rel1.relative: 0.0 1.0;
27224                rel1.offset: 2 0;
27225                rel2.relative: 1.0 1.0;
27226                rel2.offset: -2 0;
27227                color: 0 0 0 255;
27228                text {
27229                   font: "Sans:style=Bold,Edje-Vera-Bold";
27230                   size: 10;
27231                   min: 0 0;
27232                   align: 0.5 0.0;
27233                }
27234             }
27235             description { state: "visible" 0.0;
27236                inherit: "default" 0.0;
27237                fixed: 1 1;
27238                visible: 1;
27239                text.min: 1 1;
27240                rel1.offset: 8 -9;
27241                rel2.offset: -9 -9;
27242             }
27243          }
27244       }
27245       programs {
27246          program { name: "label_show";
27247             signal: "elm,state,text,visible";
27248             source: "elm";
27249             action:  STATE_SET "visible" 0.0;
27250             target: "elm.text";
27251          }
27252          program { name: "label_hide";
27253             signal: "elm,state,text,hidden";
27254             source: "elm";
27255             action:  STATE_SET "default" 0.0;
27256             target: "elm.text";
27257          }
27258          program { name: "icon_show";
27259             signal: "elm,state,icon,visible";
27260             source: "elm";
27261             action:  STATE_SET "visible" 0.0;
27262             target: "elm.swallow.content";
27263          }
27264          program { name: "icon_hide";
27265             signal: "elm,state,icon,hidden";
27266             source: "elm";
27267             action:  STATE_SET "default" 0.0;
27268             target: "elm.swallow.content";
27269          }
27270          program { name: "units_show";
27271             signal: "elm,state,units,visible";
27272             source: "elm";
27273             action:  STATE_SET "visible" 0.0;
27274             target: "elm.text.status";
27275             target: "elm.text.box";
27276          }
27277          program { name: "units_hide";
27278             signal: "elm,state,units,hidden";
27279             source: "elm";
27280             action:  STATE_SET "default" 0.0;
27281             target: "elm.text.status";
27282             target: "elm.text.box";
27283          }
27284          program { name: "slide_to_end";
27285             action:  STATE_SET "state_end" 0.0;
27286             transition: LINEAR 0.5;
27287             target: "elm.progress.progressbar";
27288             after: "slide_to_begin";
27289          }
27290          program { name: "slide_to_begin";
27291             action:  STATE_SET "state_begin" 0.0;
27292             target: "elm.progress.progressbar";
27293             transition: LINEAR 0.5;
27294             after: "slide_to_end";
27295          }
27296          program { name: "start_pulse";
27297             signal: "elm,state,pulse,start";
27298             source: "elm";
27299             action: STATE_SET "state_begin" 0.0;
27300             target: "elm.progress.progressbar";
27301             after: "slide_to_end";
27302          }
27303          program { name: "stop_pulse";
27304             signal: "elm,state,pulse,stop";
27305             source: "elm";
27306             action: ACTION_STOP;
27307             target: "slide_to_begin";
27308             target: "slide_to_end";
27309             target: "start_pulse";
27310             after: "state_pulse";
27311          }
27312          program { name: "state_pulse";
27313             signal: "elm,state,pulse";
27314             source: "elm";
27315             action: STATE_SET "state_begin" 0.0;
27316             target: "elm.progress.progressbar";
27317             after: "units_hide";
27318          }
27319          program { name: "state_fraction";
27320             signal: "elm,state,fraction";
27321             source: "elm";
27322             action: ACTION_STOP;
27323             target: "slide_to_begin";
27324             target: "slide_to_end";
27325             target: "start_pulse";
27326             action: STATE_SET "default" 0.0;
27327             target: "elm.progress.progressbar";
27328          }
27329          program { name: "set_invert_on";
27330             signal: "elm,state,inverted,on";
27331             source: "elm";
27332             action:  STATE_SET "invert" 0.0;
27333             target: "elm.progress.progressbar";
27334             target: "elm.cur.progressbar";
27335          }
27336          program { name: "set_invert_off";
27337             signal: "elm,state,inverted,off";
27338             source: "elm";
27339             action:  STATE_SET "default" 0.0;
27340             target: "elm.progress.progressbar";
27341             target: "elm.cur.progressbar";
27342          }
27343       }
27344    }
27345
27346 ///////////////////////////////////////////////////////////////////////////////
27347    group { name: "elm/separator/horizontal/default";
27348        images {
27349            image: "separator_h.png" COMP;
27350        }
27351        parts {
27352            part { name: "separator"; // separator group
27353                description { state: "default" 0.0;
27354                    min: 2 2;
27355                    rel1.offset: 4 4;
27356                    rel2.offset: -5 -5;
27357                    image {
27358                        normal: "separator_h.png";
27359                    }
27360                    fill {
27361                        smooth: 0;
27362                    }
27363                }
27364            }
27365        }
27366    }
27367
27368    ///////////////////////////////////////////////////////////////////////////////
27369    group { name: "elm/separator/vertical/default";
27370        images {
27371            image: "separator_v.png" COMP;
27372        }
27373        parts {
27374            part { name: "separator"; // separator group
27375                description { state: "default" 0.0;
27376                    min: 2 2;
27377                    rel1.offset: 4 4;
27378                    rel2.offset: -5 -5;
27379                    image {
27380                        normal: "separator_v.png";
27381                    }
27382                    fill {
27383                        smooth: 0;
27384                    }
27385                }
27386            }
27387        }
27388    }
27389
27390    group { name: "elm/progressbar/horizontal/wheel";
27391        images {
27392            image: "busy-1.png" COMP;
27393            image: "busy-2.png" COMP;
27394            image: "busy-3.png" COMP;
27395            image: "busy-4.png" COMP;
27396            image: "busy-5.png" COMP;
27397            image: "busy-6.png" COMP;
27398            image: "busy-7.png" COMP;
27399            image: "busy-8.png" COMP;
27400            image: "busy-9.png" COMP;
27401        }
27402        parts {
27403            part { name: "elm.background.progressbar";
27404                mouse_events: 0;
27405                type: RECT;
27406                description {
27407                    state: "default" 0.0;
27408                }
27409            }
27410            part { name: "elm.swallow.bar";
27411                mouse_events: 0;
27412                type: SWALLOW;
27413                description { state: "default" 0.0;
27414                    min: 0 0;
27415                    max: 0 0;
27416                    visible: 0;
27417                }
27418            }
27419            part { name: "elm.swallow.content";
27420                type: SWALLOW;
27421                description { state: "default" 0.0;
27422                    min: 0 0;
27423                    max: 0 0;
27424                    visible: 0;
27425                }
27426            }
27427            part { name: "background";
27428                mouse_events: 0;
27429                clip_to: "elm.background.progressbar";
27430                description {
27431                    state: "default" 0.0;
27432                    min: 32 32;
27433                    max: 32 32;
27434                    visible: 1;
27435                    aspect: 1.0 1.0;
27436                    aspect_preference: BOTH;
27437                    image {
27438                        normal: "busy-9.png";
27439                        border: 7 7 7 7;
27440                    }
27441                }
27442                description {
27443                    state: "pulse" 0.0;
27444                    inherit: "default" 0.0;
27445                    image {
27446                        normal: "busy-9.png";
27447                        tween:  "busy-1.png";
27448                        tween:  "busy-2.png";
27449                        tween:  "busy-3.png";
27450                        tween:  "busy-4.png";
27451                        tween:  "busy-5.png";
27452                        tween:  "busy-6.png";
27453                        tween:  "busy-7.png";
27454                        tween:  "busy-8.png";
27455                        border: 7 7 7 7;
27456                    }
27457                }
27458            }
27459        }
27460        programs {
27461            program { name: "start_pulse";
27462                signal: "elm,state,pulse,start";
27463                source: "elm";
27464                action: STATE_SET "pulse" 0.0;
27465                target: "background";
27466                transition: LINEAR 0.5;
27467                after: "start_pulse";
27468            }
27469            program { name: "stop_pulse";
27470                signal: "elm,state,pulse,stop";
27471                source: "elm";
27472                action: STATE_SET "default" 0.0;
27473                target: "background";
27474            }
27475        }
27476    }
27477
27478
27479 ///////////////////////////////////////////////////////////////////////////////
27480    group { name: "elm/spinner/base/default";
27481        images {
27482            image: "shelf_inset.png" COMP;
27483            image: "bt_base1.png" COMP;
27484            image: "bt_hilight.png" COMP;
27485            image: "bt_shine.png" COMP;
27486            image: "bt_glow.png" COMP;
27487            image: "bt_dis_base.png" COMP;
27488            image: "bt_dis_hilight.png" COMP;
27489            image: "sp_bt_l.png" COMP;
27490            image: "sp_bt_r.png" COMP;
27491        }
27492        parts {
27493            part { name: "bg";
27494                type: RECT;
27495                description { state: "default" 0.0;
27496                    min: 0 30;
27497                    rel1.offset: 1 1;
27498                    rel2.offset: -2 -2;
27499                    color: 255 255 255 0;
27500                }
27501            }
27502            part { name: "conf_over";
27503                mouse_events:  0;
27504                description { state: "default" 0.0;
27505                    rel1.to: "bg";
27506                    rel2.to: "bg";
27507                    image {
27508                        normal: "shelf_inset.png";
27509                        border: 7 7 7 7;
27510                        middle: 0;
27511                    }
27512                    fill.smooth : 0;
27513                }
27514            }
27515            part { name: "left_bt";
27516                mouse_events:  1;
27517                description { state: "default" 0.0;
27518                    rel1 { to: "bg";
27519                        offset: 3 3;
27520                    }
27521                    rel2 { to: "bg";
27522                        offset: -4 -4;
27523                    }
27524                    align: 0.0 0.5;
27525                    min: 24 24;
27526                    aspect: 1.0 1.0;
27527                    aspect_preference: VERTICAL;
27528                    image {
27529                        normal: "bt_base1.png";
27530                        border: 6 6 6 6;
27531                    }
27532                    fill.smooth : 0;
27533                }
27534                description { state: "clicked" 0.0;
27535                    inherit: "default" 0.0;
27536                    image.normal: "bt_base1.png";
27537                    image.middle: SOLID;
27538                }
27539                description { state: "disabled" 0.0;
27540                    inherit:  "default" 0.0;
27541                    image {
27542                        normal: "bt_dis_base.png";
27543                        border: 4 4 4 4;
27544                    }
27545                }
27546            }
27547            part {          name: "left_over1";
27548                mouse_events: 0;
27549                description { state: "default" 0.0;
27550                    rel1.to: "left_bt";
27551                    rel2 { to: "left_bt";
27552                        relative: 1.0 0.5;
27553                    }
27554                    image {
27555                        normal: "bt_hilight.png";
27556                        border: 7 7 7 0;
27557                    }
27558                }
27559                description { state: "disabled" 0.0;
27560                    inherit:  "default" 0.0;
27561                    image {
27562                        normal: "bt_dis_hilight.png";
27563                        border: 4 4 4 0;
27564                    }
27565                }
27566            }
27567            part { name: "left_over2";
27568                mouse_events: 1;
27569                repeat_events: 1;
27570                ignore_flags: ON_HOLD;
27571                description { state: "default" 0.0;
27572                    rel1.to: "left_bt";
27573                    rel2.to: "left_bt";
27574                    image {
27575                        normal: "bt_shine.png";
27576                        border: 7 7 7 7;
27577                    }
27578                }
27579                description { state: "disabled" 0.0;
27580                    inherit:  "default" 0.0;
27581                    visible: 0;
27582                }
27583            }
27584            part { name: "left_over3";
27585                mouse_events: 1;
27586                repeat_events: 1;
27587                description { state: "default" 0.0;
27588                    color: 255 255 255 0;
27589                    rel1.to: "left_bt";
27590                    rel2.to: "left_bt";
27591                    image {
27592                        normal: "bt_glow.png";
27593                        border: 12 12 12 12;
27594                    }
27595                    fill.smooth : 0;
27596                }
27597                description { state: "clicked" 0.0;
27598                    inherit:  "default" 0.0;
27599                    visible: 1;
27600                    color: 255 255 255 255;
27601                }
27602            }
27603            part { name: "right_bt";
27604                mouse_events:  1;
27605                description { state: "default" 0.0;
27606                    rel1 { to: "bg";
27607                        offset: -26 3;
27608                    }
27609                    rel2 { to: "bg";
27610                        offset: -4 -4;
27611                    }
27612                    align: 1.0 0.5;
27613                    min: 24 24;
27614                    aspect: 1.0 1.0;
27615                    aspect_preference: VERTICAL;
27616                    image {
27617                        normal: "bt_base1.png";
27618                        border: 5 5 4 12;
27619                    }
27620                    fill.smooth : 0;
27621                }
27622                description { state: "clicked" 0.0;
27623                    inherit: "default" 0.0;
27624                    image.normal: "bt_base1.png";
27625                    image.middle: SOLID;
27626                }
27627                description { state: "disabled" 0.0;
27628                    inherit:  "default" 0.0;
27629                    image {
27630                        normal: "bt_dis_base.png";
27631                        border: 4 4 4 4;
27632                    }
27633                }
27634            }
27635            part { name: "right_over1";
27636                mouse_events: 0;
27637                description { state: "default" 0.0;
27638                    rel1.to: "right_bt";
27639                    rel2 { to: "right_bt";
27640                        relative: 1.0 0.5;
27641                    }
27642                    image {
27643                        normal: "bt_hilight.png";
27644                        border: 7 7 7 0;
27645                    }
27646                }
27647                description { state: "disabled" 0.0;
27648                    inherit:  "default" 0.0;
27649                    image {
27650                        normal: "bt_dis_hilight.png";
27651                        border: 4 4 4 0;
27652                    }
27653                }
27654            }
27655            part { name: "right_over2";
27656                mouse_events: 1;
27657                repeat_events: 1;
27658                ignore_flags: ON_HOLD;
27659                description { state: "default" 0.0;
27660                    rel1.to: "right_bt";
27661                    rel2.to: "right_bt";
27662                    image {
27663                        normal: "bt_shine.png";
27664                        border: 7 7 7 7;
27665                    }
27666                }
27667                description { state: "disabled" 0.0;
27668                    inherit:  "default" 0.0;
27669                    visible: 0;
27670                }
27671            }
27672            part { name: "right_over3";
27673                mouse_events: 1;
27674                repeat_events: 1;
27675                description { state: "default" 0.0;
27676                    color: 255 255 255 0;
27677                    rel1.to: "right_bt";
27678                    rel2.to: "right_bt";
27679                    image {
27680                        normal: "bt_glow.png";
27681                        border: 12 12 12 12;
27682                    }
27683                    fill.smooth : 0;
27684                }
27685                description { state: "clicked" 0.0;
27686                    inherit:  "default" 0.0;
27687                    visible: 1;
27688                    color: 255 255 255 255;
27689                }
27690            }
27691            part { name: "left_bt_icon";
27692                repeat_events: 1;
27693                description { state: "default" 0.0;
27694                    rel1.to: "left_bt";
27695                    rel1.offset: 4 4;
27696                    rel2.to: "left_bt";
27697                    rel2.offset: -5 -5;
27698                    align: 0.5 0.5;
27699                    min: 16 16;
27700                    aspect: 1.0 1.0;
27701                    aspect_preference: BOTH;
27702                    image.normal: "sp_bt_l.png";
27703                }
27704                description { state: "rtl" 0.0;
27705                    inherit: "default" 0.0;
27706                    image.normal: "sp_bt_r.png";
27707                }
27708            }
27709            part { name: "right_bt_icon";
27710                repeat_events: 1;
27711                description { state: "default" 0.0;
27712                    rel1.to: "right_bt";
27713                    rel1.offset: 4 4;
27714                    rel2.to: "right_bt";
27715                    rel2.offset: -5 -5;
27716                    align: 0.5 0.5;
27717                    min: 16 16;
27718                    aspect: 1.0 1.0;
27719                    aspect_preference: BOTH;
27720                    image.normal: "sp_bt_r.png";
27721                }
27722                description { state: "rtl" 0.0;
27723                    inherit: "default" 0.0;
27724                    image.normal: "sp_bt_l.png";
27725                }
27726            }
27727            part { name: "elm.text";
27728                type: TEXT;
27729                mouse_events: 0;
27730                scale: 1;
27731                description { state: "default" 0.0;
27732                    visible: 1;
27733                    align: 0.0 0.5;
27734                    rel1 { relative: 1.0 0.0;
27735                        offset: 3 2;
27736                        to_x: "left_bt";
27737                        to_y: "bg";
27738                    }
27739                    rel2 { relative: 0.0 1.0;
27740                        offset: -3 -2;
27741                        to_x: "right_bt";
27742                        to_y: "bg";
27743                    }
27744                    color: 0 0 0 255;
27745                    text {
27746                        font: "Sans,Edje-Vera";
27747                        size: 10;
27748                        min: 1 1;
27749                        align: 0.5 0.5;
27750                    }
27751                }
27752                description { state: "active" 0.0;
27753                    inherit: "default" 0.0;
27754                    visible: 0;
27755                }
27756                description { state: "disabled_active" 0.0;
27757                    inherit: "default" 0.0;
27758                    color: 0 0 0 128;
27759                    color3: 0 0 0 0;
27760                }
27761                description { state: "disabled" 0.0;
27762                    inherit: "default" 0.0;
27763                    color: 0 0 0 128;
27764                    color3: 0 0 0 0;
27765                }
27766            }
27767            part { name: "elm.dragable.slider";
27768                type: RECT;
27769                mouse_events: 0;
27770                scale: 1;
27771                dragable {
27772                    x: 1 1 0;
27773                    y: 0 0 0;
27774                }
27775                description { state: "default" 0.0;
27776                    rel1.to: "bg";
27777                    rel2.to: "bg";
27778                    fixed: 1 1;
27779                    color: 0 0 0 0;
27780                }
27781            }
27782            part { name: "button_events";
27783                type: RECT;
27784                dragable {
27785                    events: "elm.dragable.slider";
27786                }
27787                mouse_events: 1;
27788                description { state: "default" 0.0;
27789                    rel1.to: "elm.text";
27790                    rel2.to: "elm.text";
27791                    color: 0 0 0 0;
27792                }
27793            }
27794            part { name: "elm.swallow.entry";
27795                type: SWALLOW;
27796                description { state: "default" 0.0;
27797                    visible: 0;
27798                    align: 0.5 0.5;
27799                    rel1 { relative: 1.0 0.5;
27800                        offset: 3 2;
27801                        to_x: "left_bt";
27802                        to_y: "bg";
27803                    }
27804                    rel2 { relative: 0.0 0.5;
27805                        offset: -3 -2;
27806                        to_x: "right_bt";
27807                        to_y: "bg";
27808                    }
27809                    fixed: 1 1;
27810                    color: 0 0 0 0;
27811                }
27812                description { state: "active" 0.0;
27813                    inherit: "default" 0.0;
27814                    visible: 1;
27815                    color: 255 255 255 255;
27816                }
27817                description { state: "disabled_active" 0.0;
27818                    inherit: "default" 0.0;
27819                    visible: 0;
27820                }
27821                description { state: "disabled" 0.0;
27822                    inherit: "default" 0.0;
27823                    visible: 0;
27824                }
27825            }
27826            part { name: "disabler";
27827                type: RECT;
27828                description { state: "default" 0.0;
27829                    color: 0 0 0 0;
27830                    visible: 0;
27831                }
27832                description { state: "disabled" 0.0;
27833                    inherit: "default" 0.0;
27834                    visible: 1;
27835                }
27836            }
27837        }
27838        programs {
27839            program { name: "text_show";
27840                signal: "elm,state,text,visible";
27841                source: "elm";
27842                action:  STATE_SET "visible" 0.0;
27843                target: "elm.text";
27844            }
27845            program { name: "text_hide";
27846                signal: "elm,state,text,hidden";
27847                source: "elm";
27848                action:  STATE_SET "default" 0.0;
27849                target: "elm.text";
27850            }
27851            program { name: "dec";
27852                signal: "mouse,down,1";
27853                source: "left_bt";
27854                action: SIGNAL_EMIT "elm,action,decrement,start" "";
27855            }
27856            program { name: "dec2";
27857                signal: "mouse,up,1";
27858                source: "left_bt";
27859                action: SIGNAL_EMIT "elm,action,decrement,stop" "";
27860            }
27861            program { name: "inc";
27862                signal: "mouse,down,1";
27863                source: "right_bt";
27864                action: SIGNAL_EMIT "elm,action,increment,start" "";
27865            }
27866            program { name: "inc2";
27867                signal: "mouse,up,1";
27868                source: "right_bt";
27869                action: SIGNAL_EMIT "elm,action,increment,stop" "";
27870            }
27871            program {
27872                name:   "left_bt_click";
27873                signal: "mouse,down,1";
27874                source: "left_over2";
27875                action: STATE_SET "clicked" 0.0;
27876                target: "left_bt";
27877            }
27878            program {
27879                name:   "left_bt_unclick";
27880                signal: "mouse,up,1";
27881                source: "left_over2";
27882                action: STATE_SET "default" 0.0;
27883                target: "left_bt";
27884            }
27885            program {
27886                name:   "left_bt_click2";
27887                signal: "mouse,down,1";
27888                source: "left_over3";
27889                action: STATE_SET "clicked" 0.0;
27890                target: "left_over3";
27891            }
27892            program {
27893                name:   "left_bt_unclick2";
27894                signal: "mouse,up,1";
27895                source: "left_over3";
27896                action: STATE_SET "default" 0.0;
27897                transition: DECELERATE 0.5;
27898                target: "left_over3";
27899            }
27900            program {
27901                name:   "left_bt_unclick3";
27902                signal: "mouse,up,1";
27903                source: "left_over2";
27904                action: SIGNAL_EMIT "elm,action,click" "";
27905            }
27906            program {
27907                name:   "left_bt_pressed_anim";
27908                signal: "elm,left,anim,activate";
27909                source: "elm";
27910                action: STATE_SET "clicked" 0.0;
27911                target: "left_bt";
27912                target: "left_over3";
27913                after: "left_bt_unpressed_anim";
27914            }
27915            program {
27916                name:   "left_bt_unpressed_anim";
27917                action: STATE_SET "default" 0.0;
27918                transition: DECELERATE 0.5;
27919                target: "left_bt";
27920                target: "left_over3";
27921            }
27922
27923            program {
27924                name:   "right_bt_click";
27925                signal: "mouse,down,1";
27926                source: "right_over2";
27927                action: STATE_SET "clicked" 0.0;
27928                target: "right_bt";
27929            }
27930            program {
27931                name:   "right_bt_unclick";
27932                signal: "mouse,up,1";
27933                source: "right_over2";
27934                action: STATE_SET "default" 0.0;
27935                target: "right_bt";
27936            }
27937            program {
27938                name:   "right_bt_click2";
27939                signal: "mouse,down,1";
27940                source: "right_over3";
27941                action: STATE_SET "clicked" 0.0;
27942                target: "right_over3";
27943            }
27944            program {
27945                name:   "right_bt_unclick2";
27946                signal: "mouse,up,1";
27947                source: "right_over3";
27948                action: STATE_SET "default" 0.0;
27949                transition: DECELERATE 0.5;
27950                target: "right_over3";
27951            }
27952            program {
27953                name:   "right_bt_unclick3";
27954                signal: "mouse,up,1";
27955                source: "right_over2";
27956                action: SIGNAL_EMIT "elm,action,click" "";
27957            }
27958            program {
27959                name:   "right_bt_pressed_anim";
27960                signal: "elm,right,anim,activate";
27961                source: "elm";
27962                action: STATE_SET "clicked" 0.0;
27963                target: "right_bt";
27964                target: "right_over3";
27965                after: "right_bt_unpressed_anim";
27966            }
27967            program {
27968                name:   "right_bt_unpressed_anim";
27969                action: STATE_SET "default" 0.0;
27970                transition: DECELERATE 0.5;
27971                target: "right_bt";
27972                target: "right_over3";
27973            }
27974
27975            program { name: "disable";
27976                signal: "elm,state,disabled";
27977                source: "elm";
27978                action: STATE_SET "disabled" 0.0;
27979                target: "left_bt";
27980                target: "left_over1";
27981                target: "left_over2";
27982                target: "right_bt";
27983                target: "right_over1";
27984                target: "right_over2";
27985                target: "disabler";
27986                after: "disable_text";
27987            }
27988            program { name: "disable_text";
27989                script {
27990                    new st[31];
27991                    new Float:vl;
27992                    get_state(PART:"elm.text", st, 30, vl);
27993                    if (!strcmp(st, "active"))
27994                    set_state(PART:"elm.text", "disabled_active", 0.0);
27995                    else
27996                    set_state(PART:"elm.text", "disabled", 0.0);
27997
27998                    get_state(PART:"elm.swallow.entry", st, 30, vl);
27999                    if (!strcmp(st, "active"))
28000                    set_state(PART:"elm.swallow.entry", "disabled_active", 0.0);
28001                    else
28002                    set_state(PART:"elm.swallow.entry", "disabled", 0.0);
28003                }
28004            }
28005            program { name: "enable";
28006                signal: "elm,state,enabled";
28007                source: "elm";
28008                action: STATE_SET "default" 0.0;
28009                target: "left_bt";
28010                target: "left_over1";
28011                target: "left_over2";
28012                target: "right_bt";
28013                target: "right_over1";
28014                target: "right_over2";
28015                target: "disabler";
28016                after: "enable_text";
28017            }
28018            program { name: "enable_text";
28019                script {
28020                    new st[31];
28021                    new Float:vl;
28022                    get_state(PART:"elm.text", st, 30, vl);
28023                    if (!strcmp(st, "disabled_active"))
28024                    set_state(PART:"elm.text", "active", 0.0);
28025                    else
28026                    set_state(PART:"elm.text", "default", 0.0);
28027
28028                    get_state(PART:"elm.swallow.entry", st, 30, vl);
28029                    if (!strcmp(st, "disabled_active"))
28030                    set_state(PART:"elm.swallow.entry", "active", 0.0);
28031                    else
28032                    set_state(PART:"elm.swallow.entry", "default", 0.0);
28033                }
28034            }
28035            program { name: "active";
28036                signal: "elm,state,active";
28037                source: "elm";
28038                action: STATE_SET "active" 0.0;
28039                target: "elm.text";
28040                target: "elm.swallow.entry";
28041            }
28042            program { name: "inactive";
28043                signal: "elm,state,inactive";
28044                source: "elm";
28045                action: STATE_SET "default" 0.0;
28046                target: "elm.text";
28047                target: "elm.swallow.entry";
28048            }
28049            program { name: "toggle_text";
28050                signal: "mouse,up,1";
28051                source: "button_events";
28052                action: SIGNAL_EMIT "elm,action,entry,toggle" "";
28053            }
28054            program { name: "to_rtl";
28055                signal: "edje,state,rtl";
28056                source: "edje";
28057                action: STATE_SET "rtl" 0.0;
28058                target: "right_bt_icon";
28059                target: "left_bt_icon";
28060            }
28061            program { name: "to_ltr";
28062                signal: "edje,state,ltr";
28063                source: "edje";
28064                action: STATE_SET "default" 0.0;
28065                target: "right_bt_icon";
28066                target: "left_bt_icon";
28067            }
28068        }
28069    }
28070
28071 ///////////////////////////////////////////////////////////////////////////////
28072    group { name: "elm/spinner/base/vertical";
28073        images {
28074            image: "shelf_inset.png" COMP;
28075            image: "bt_hilight.png" COMP;
28076            image: "bt_shine.png" COMP;
28077            image: "bt_glow.png" COMP;
28078            image: "bt_dis_base.png" COMP;
28079            image: "bt_dis_hilight.png" COMP;
28080            image: "up.png" COMP;
28081            image: "down.png" COMP;
28082            image: "bt_spinner_up.png" COMP;
28083            image: "bt_spinner_down.png" COMP;
28084            image: "bt_spinner_hilight.png" COMP;
28085        }
28086        parts {
28087            part { name: "bg";
28088                type: RECT;
28089                description { state: "default" 0.0;
28090                    min: 0 30;
28091                    rel1.offset: 1 1;
28092                    rel2.offset: -2 -2;
28093                    color: 255 255 255 0;
28094                }
28095            }
28096            part { name: "conf_over";
28097                mouse_events:  0;
28098                description { state: "default" 0.0;
28099                    rel1 {
28100                      to: "bg";
28101                      relative: 0.0 0.0;
28102                    }
28103                    rel2 {
28104                       to: "bg";
28105                    }
28106                    image {
28107                        normal: "shelf_inset.png";
28108                        border: 7 7 7 7;
28109                        middle: 0;
28110                    }
28111                    fill.smooth : 0;
28112                }
28113            }
28114            part { name: "down_bt";
28115                mouse_events:  1;
28116                description { state: "default" 0.0;
28117                    fixed: 1 1;
28118                    rel1 {
28119                        to: "up_bt";
28120                        relative: 0 1;
28121                        offset: 0 1;
28122                    }
28123                    rel2 {
28124                        to_y: "bg";
28125                        to_x: "up_bt";
28126                        relative: 1 1;
28127                        offset: -1 -4;
28128                    }
28129                    align: 1.0 0.5;
28130                    min: 24 16;
28131                    image {
28132                        normal: "bt_spinner_down.png";
28133                        border: 6 6 6 6;
28134                    }
28135                    fill.smooth : 0;
28136                }
28137                description { state: "clicked" 0.0;
28138                    inherit: "default" 0.0;
28139                    image.normal: "bt_spinner_down.png";
28140                    image.middle: SOLID;
28141                }
28142                description { state: "disabled" 0.0;
28143                    inherit:  "default" 0.0;
28144                    image {
28145                        normal: "bt_dis_base.png";
28146                        border: 4 4 4 4;
28147                    }
28148                }
28149            }
28150            part { name: "down_over3";
28151                mouse_events: 1;
28152                repeat_events: 1;
28153                description { state: "default" 0.0;
28154                    color: 255 255 255 0;
28155                    rel1.to: "down_bt";
28156                    rel2.to: "down_bt";
28157                    image {
28158                        normal: "bt_glow.png";
28159                        border: 12 12 12 12;
28160                    }
28161                    fill.smooth : 0;
28162                }
28163                description { state: "clicked" 0.0;
28164                    inherit:  "default" 0.0;
28165                    visible: 1;
28166                    color: 255 255 255 255;
28167                }
28168            }
28169            part { name: "up_bt";
28170                mouse_events:  1;
28171                description { state: "default" 0.0;
28172                    fixed: 1 0;
28173                    rel1 { to: "bg";
28174                        relative: 0 0;
28175                        offset: 0 2;
28176                    }
28177                    rel2 { to: "bg";
28178                        relative: 1 0.5;
28179                        offset: -3 0;
28180                    }
28181                    align: 1.0 0.5;
28182                    min: 24 16;
28183                    aspect: 1.5 1.0;
28184                    aspect_preference: BOTH;
28185                    image {
28186                        normal: "bt_spinner_up.png";
28187                        border: 6 6 6 6;
28188                    }
28189                    fill.smooth : 0;
28190                }
28191                description { state: "clicked" 0.0;
28192                    inherit: "default" 0.0;
28193                    image.normal: "bt_spinner_up.png";
28194                    image.middle: SOLID;
28195                }
28196                description { state: "disabled" 0.0;
28197                    inherit:  "default" 0.0;
28198                    image {
28199                        normal: "bt_dis_base.png";
28200                        border: 4 4 4 4;
28201                    }
28202                }
28203            }
28204            part { name: "up_over1";
28205                mouse_events: 0;
28206                description { state: "default" 0.0;
28207                    rel1.to: "up_bt";
28208                    rel2 { to: "up_bt";
28209                        relative: 1.0 0.5;
28210                    }
28211                    image {
28212                        normal: "bt_spinner_hilight.png";
28213                        border: 7 7 7 0;
28214                    }
28215                }
28216                description { state: "disabled" 0.0;
28217                    inherit:  "default" 0.0;
28218                    image {
28219                        normal: "bt_dis_hilight.png";
28220                        border: 4 4 4 0;
28221                    }
28222                }
28223            }
28224            part { name: "up_over3";
28225                mouse_events: 1;
28226                repeat_events: 1;
28227                description { state: "default" 0.0;
28228                    color: 255 255 255 0;
28229                    rel1.to: "up_bt";
28230                    rel2.to: "up_bt";
28231                    image {
28232                        normal: "bt_glow.png";
28233                        border: 12 12 12 12;
28234                    }
28235                    fill.smooth : 0;
28236                }
28237                description { state: "clicked" 0.0;
28238                    inherit:  "default" 0.0;
28239                    visible: 1;
28240                    color: 255 255 255 255;
28241                }
28242            }
28243            part { name: "down_bt_icon";
28244                repeat_events: 1;
28245                description { state: "default" 0.0;
28246                    rel1.to: "down_bt";
28247                    rel1.offset: 5 3;
28248                    rel2.to: "down_bt";
28249                    rel2.offset: -6 -3;
28250                    align: 0.5 0.5;
28251                    image.normal: "down.png";
28252                }
28253            }
28254            part { name: "up_bt_icon";
28255                repeat_events: 1;
28256                description { state: "default" 0.0;
28257                    rel1.to: "up_bt";
28258                    rel1.offset: 5 3;
28259                    rel2.to: "up_bt";
28260                    rel2.offset: -6 -3;
28261                    align: 0.5 0.5;
28262                    image.normal: "up.png";
28263                }
28264            }
28265            part { name: "elm.text";
28266                type: TEXT;
28267                mouse_events: 0;
28268                scale: 1;
28269                description { state: "default" 0.0;
28270                    visible: 1;
28271                    align: 0.0 0.5;
28272                    rel1 { relative: 0.0 0.0;
28273                        offset: 3 2;
28274                        to_x: "bg";
28275                        to_y: "bg";
28276                    }
28277                    rel2 { relative: 0.0 1.0;
28278                        offset: -3 -2;
28279                        to_x: "down_bt";
28280                        to_y: "bg";
28281                    }
28282                    color: 0 0 0 255;
28283                    text {
28284                        font: "Sans,Edje-Vera";
28285                        size: 10;
28286                        min: 1 1;
28287                        align: 0.5 0.5;
28288                    }
28289                }
28290                description { state: "active" 0.0;
28291                    inherit: "default" 0.0;
28292                    visible: 0;
28293                }
28294                description { state: "disabled_active" 0.0;
28295                    inherit: "default" 0.0;
28296                    color: 0 0 0 128;
28297                    color3: 0 0 0 0;
28298                }
28299                description { state: "disabled" 0.0;
28300                    inherit: "default" 0.0;
28301                    color: 0 0 0 128;
28302                    color3: 0 0 0 0;
28303                }
28304            }
28305            part { name: "elm.dragable.slider";
28306                type: RECT;
28307                mouse_events: 0;
28308                scale: 1;
28309                dragable {
28310                    x: 1 1 0;
28311                    y: 0 0 0;
28312                }
28313                description { state: "default" 0.0;
28314                    rel1.to: "bg";
28315                    rel2.to: "bg";
28316                    fixed: 1 1;
28317                    color: 0 0 0 0;
28318                }
28319            }
28320            part { name: "button_events";
28321                type: RECT;
28322                dragable {
28323                    events: "elm.dragable.slider";
28324                }
28325                mouse_events: 1;
28326                description { state: "default" 0.0;
28327                    rel1.to: "elm.text";
28328                    rel2.to: "elm.text";
28329                    color: 0 0 0 0;
28330                }
28331            }
28332            part { name: "elm.swallow.entry";
28333                type: SWALLOW;
28334                description { state: "default" 0.0;
28335                    visible: 0;
28336                    align: 0.5 0.5;
28337                    rel1 { relative: 0.0 0.5;
28338                        offset: 3 2;
28339                        to: "bg";
28340                    }
28341                    rel2 { relative: 1.0 0.5;
28342                        offset: -3 -2;
28343                        to: "bg";
28344                    }
28345                    fixed: 1 1;
28346                    color: 0 0 0 0;
28347                }
28348                description { state: "active" 0.0;
28349                    inherit: "default" 0.0;
28350                    visible: 1;
28351                    color: 255 255 255 255;
28352                }
28353                description { state: "disabled_active" 0.0;
28354                    inherit: "default" 0.0;
28355                    visible: 0;
28356                }
28357                description { state: "disabled" 0.0;
28358                    inherit: "default" 0.0;
28359                    visible: 0;
28360                }
28361            }
28362            part { name: "disabler";
28363                type: RECT;
28364                description { state: "default" 0.0;
28365                    color: 0 0 0 0;
28366                    visible: 0;
28367                }
28368                description { state: "disabled" 0.0;
28369                    inherit: "default" 0.0;
28370                    visible: 1;
28371                }
28372            }
28373        }
28374        programs {
28375            program { name: "text_show";
28376                signal: "elm,state,text,visible";
28377                source: "elm";
28378                action:  STATE_SET "visible" 0.0;
28379                target: "elm.text";
28380            }
28381            program { name: "text_hide";
28382                signal: "elm,state,text,hidden";
28383                source: "elm";
28384                action:  STATE_SET "default" 0.0;
28385                target: "elm.text";
28386            }
28387            program { name: "dec";
28388                signal: "mouse,down,1";
28389                source: "down_bt";
28390                action: SIGNAL_EMIT "elm,action,decrement,start" "";
28391            }
28392            program { name: "dec2";
28393                signal: "mouse,up,1";
28394                source: "down_bt";
28395                action: SIGNAL_EMIT "elm,action,decrement,stop" "";
28396            }
28397            program { name: "inc";
28398                signal: "mouse,down,1";
28399                source: "up_bt";
28400                action: SIGNAL_EMIT "elm,action,increment,start" "";
28401            }
28402            program { name: "inc2";
28403                signal: "mouse,up,1";
28404                source: "up_bt";
28405                action: SIGNAL_EMIT "elm,action,increment,stop" "";
28406            }
28407            program {
28408                name:   "down_bt_click2";
28409                signal: "mouse,down,1";
28410                source: "down_over3";
28411                action: STATE_SET "clicked" 0.0;
28412                target: "down_over3";
28413            }
28414            program {
28415                name:   "down_bt_unclick2";
28416                signal: "mouse,up,1";
28417                source: "down_over3";
28418                action: STATE_SET "default" 0.0;
28419                transition: DECELERATE 0.5;
28420                target: "down_over3";
28421            }
28422            program {
28423                name:   "up_bt_click2";
28424                signal: "mouse,down,1";
28425                source: "up_over3";
28426                action: STATE_SET "clicked" 0.0;
28427                target: "up_over3";
28428            }
28429            program {
28430                name:   "up_bt_unclick2";
28431                signal: "mouse,up,1";
28432                source: "up_over3";
28433                action: STATE_SET "default" 0.0;
28434                transition: DECELERATE 0.5;
28435                target: "up_over3";
28436            }
28437            program { name: "disable";
28438                signal: "elm,state,disabled";
28439                source: "elm";
28440                action: STATE_SET "disabled" 0.0;
28441                target: "down_bt";
28442                target: "up_bt";
28443                target: "disabler";
28444                after: "disable_text";
28445            }
28446            program { name: "disable_text";
28447                script {
28448                    new st[31];
28449                    new Float:vl;
28450                    get_state(PART:"elm.text", st, 30, vl);
28451                    if (!strcmp(st, "active"))
28452                    set_state(PART:"elm.text", "disabled_active", 0.0);
28453                    else
28454                    set_state(PART:"elm.text", "disabled", 0.0);
28455
28456                    get_state(PART:"elm.swallow.entry", st, 30, vl);
28457                    if (!strcmp(st, "active"))
28458                    set_state(PART:"elm.swallow.entry", "disabled_active", 0.0);
28459                    else
28460                    set_state(PART:"elm.swallow.entry", "disabled", 0.0);
28461                }
28462            }
28463            program { name: "enable";
28464                signal: "elm,state,enabled";
28465                source: "elm";
28466                action: STATE_SET "default" 0.0;
28467                target: "down_bt";
28468                target: "up_bt";
28469                target: "disabler";
28470                after: "enable_text";
28471            }
28472            program { name: "enable_text";
28473                script {
28474                    new st[31];
28475                    new Float:vl;
28476                    get_state(PART:"elm.text", st, 30, vl);
28477                    if (!strcmp(st, "disabled_active"))
28478                    set_state(PART:"elm.text", "active", 0.0);
28479                    else
28480                    set_state(PART:"elm.text", "default", 0.0);
28481
28482                    get_state(PART:"elm.swallow.entry", st, 30, vl);
28483                    if (!strcmp(st, "disabled_active"))
28484                    set_state(PART:"elm.swallow.entry", "active", 0.0);
28485                    else
28486                    set_state(PART:"elm.swallow.entry", "default", 0.0);
28487                }
28488            }
28489            program { name: "active";
28490                signal: "elm,state,active";
28491                source: "elm";
28492                action: STATE_SET "active" 0.0;
28493                target: "elm.text";
28494                target: "elm.swallow.entry";
28495            }
28496            program { name: "inactive";
28497                signal: "elm,state,inactive";
28498                source: "elm";
28499                action: STATE_SET "default" 0.0;
28500                target: "elm.text";
28501                target: "elm.swallow.entry";
28502            }
28503            program { name: "toggle_text";
28504                signal: "mouse,up,1";
28505                source: "button_events";
28506                action: SIGNAL_EMIT "elm,action,entry,toggle" "";
28507            }
28508        }
28509    }
28510
28511
28512    ///////////////////////////////////////////////////////////////////////////////
28513    group { name: "elm/index/base/vertical/default";
28514        images {
28515            image: "bt_base1.png" COMP;
28516            image: "bt_base2.png" COMP;
28517            image: "bt_hilight.png" COMP;
28518            image: "bt_shine.png" COMP;
28519        }
28520        parts {
28521            part { name: "clip";
28522                type: RECT;
28523                mouse_events:  0;
28524                description { state: "default" 0.0;
28525                    visible:  0;
28526                    color: 255 255 255 0;
28527                }
28528                description { state: "active" 0.0;
28529                    visible:  1;
28530                    color: 255 255 255 255;
28531                }
28532            }
28533            part { name: "clip2";
28534                type: RECT;
28535                mouse_events:  0;
28536                clip_to: "clip";
28537                description { state: "default" 0.0;
28538                    visible: 0;
28539                    color: 255 255 255 0;
28540                }
28541                description { state: "active" 0.0;
28542                    visible:  1;
28543                    color: 255 255 255 255;
28544                }
28545            }
28546            part { name: "elm.swallow.index.0";
28547                type: SWALLOW;
28548                clip_to: "clip";
28549                description { state: "default" 0.0;
28550                    align: 1.0 0.5;
28551                    fixed: 1 1;
28552                    rel1 {
28553                        relative: 1.0 0.5;
28554                        offset: -1 5;
28555                    }
28556                    rel2 {
28557                        relative: 1.0 0.5;
28558                        offset: -1 -6;
28559                    }
28560                }
28561            }
28562            part { name: "button_image";
28563                mouse_events: 1;
28564                clip_to: "clip";
28565                description { state: "default" 0.0;
28566                    rel1 {
28567                        to: "elm.text.body";
28568                        offset: -5 -5;
28569                    }
28570                    rel2 {
28571                        to: "elm.text";
28572                        offset: 4 4;
28573                    }
28574                    image {
28575                        normal: "bt_base2.png";
28576                        border: 7 7 7 7;
28577                    }
28578                    image.middle: SOLID;
28579                }
28580            }
28581            part { name: "elm.text.body";
28582                type: TEXT;
28583                effect: SOFT_SHADOW;
28584                mouse_events: 0;
28585                scale: 1;
28586                clip_to: "clip";
28587                description { state: "default" 0.0;
28588                    align: 1.0 0.5;
28589                    fixed: 1 1;
28590                    rel1 {
28591                        to: "elm.text";
28592                        relative: 0.0 0.0;
28593                        offset: 5 0;
28594                    }
28595                    rel2 {
28596                        to: "elm.text";
28597                        relative: 0.0 1.0;
28598                        offset: 5 -1;
28599                    }
28600                    color: 224 224 224 255;
28601                    color3: 0 0 0 64;
28602                    text {
28603                        font:     "Sans,Edje-Vera";
28604                        size:     20;
28605                        min:      1 1;
28606                        align:    1.0 0.5;
28607                    }
28608                }
28609            }
28610            part { name: "elm.text";
28611                type: TEXT;
28612                effect: SOFT_SHADOW;
28613                mouse_events: 0;
28614                scale: 1;
28615                clip_to: "clip";
28616                description { state: "default" 0.0;
28617                    align: 1.0 0.5;
28618                    fixed: 1 1;
28619                    rel1 {
28620                        to_x: "elm.swallow.event.0";
28621                        to_y: "elm.dragable.pointer";
28622                        relative: 0.0 0.5;
28623                        offset: -16 0;
28624                    }
28625                    rel2 {
28626                        to_x: "elm.swallow.event.0";
28627                        to_y: "elm.dragable.pointer";
28628                        relative: 0.0 0.5;
28629                        offset: -16 -1;
28630                    }
28631                    color: 255 0 0 255;
28632                    color3: 0 0 0 64;
28633                    text {
28634                        font:     "Sans,Edje-Vera";
28635                        size:     20;
28636                        min:      1 1;
28637                        align:    1.0 0.5;
28638                    }
28639                }
28640            }
28641            part {        name: "over1";
28642                mouse_events: 0;
28643                clip_to: "clip";
28644                description { state: "default" 0.0;
28645                    rel1 {
28646                        to: "button_image";
28647                    }
28648                    rel2 {
28649                        to: "button_image";
28650                        relative: 1.0 0.5;
28651                    }
28652                    image {
28653                        normal: "bt_hilight.png";
28654                        border: 7 7 7 0;
28655                    }
28656                }
28657            }
28658            part { name: "over2";
28659                mouse_events: 1;
28660                repeat_events: 1;
28661                ignore_flags: ON_HOLD;
28662                clip_to: "clip";
28663                description { state: "default" 0.0;
28664                    rel1 {
28665                        to: "button_image";
28666                    }
28667                    rel2 {
28668                        to: "button_image";
28669                    }
28670                    image {
28671                        normal: "bt_shine.png";
28672                        border: 7 7 7 7;
28673                    }
28674                }
28675            }
28676            part { name: "elm.dragable.pointer";
28677                type: RECT;
28678                mouse_events: 0;
28679                dragable {
28680                    x: 1 1 0;
28681                    y: 1 1 0;
28682                }
28683                clip_to: "clip";
28684                description { state: "default" 0.0;
28685                    fixed: 1 1;
28686                    min: 8 8;
28687                    max: 8 8;
28688                    visible: 0;
28689                    rel1 {
28690                        relative: 0.0 0.0;
28691                        offset:   0 0;
28692                    }
28693                    rel2 {
28694                        relative: 0.0 0.0;
28695                        offset:   0 0;
28696                    }
28697                }
28698            }
28699            part { name: "elm.swallow.event.0";
28700                type: SWALLOW;
28701                description { state: "default" 0.0;
28702                    align: 1.0 0.5;
28703                    fixed: 1 1;
28704                    rel1 {
28705                        relative: 1.0 0.0;
28706                        offset: -1 0;
28707                    }
28708                    rel2 {
28709                        relative: 1.0 1.0;
28710                        offset: -1 -1;
28711                    }
28712                }
28713            }
28714        }
28715        programs {
28716            program { name: "active";
28717                signal: "elm,state,active";
28718                source: "elm";
28719                action: STATE_SET "active" 0.0;
28720                transition: DECELERATE 0.5;
28721                target: "clip";
28722            }
28723            program { name: "inactive";
28724                signal: "elm,state,inactive";
28725                source: "elm";
28726                action: STATE_SET "default" 0.0;
28727                transition: DECELERATE 0.5;
28728                target: "clip";
28729            }
28730        }
28731    }
28732
28733    group { name: "elm/index/item/vertical/default";
28734        data.item: "stacking" "above";
28735        data.item: "selectraise" "on";
28736        images {
28737            image: "ilist_1.png" COMP;
28738            image: "ilist_item_shadow.png" COMP;
28739        }
28740        parts {
28741            part {
28742                name: "base_sh";
28743                mouse_events: 0;
28744                description {
28745                    state: "default" 0.0;
28746                    align: 0.0 0.0;
28747                    min: 0 10;
28748                    fixed: 1 1;
28749                    rel1 {
28750                        to: "base";
28751                        relative: 0.0 1.0;
28752                        offset: 0 0;
28753                    }
28754                    rel2 {
28755                        to: "base";
28756                        relative: 1.0 1.0;
28757                        offset: -1 0;
28758                    }
28759                    image {
28760                        normal: "ilist_item_shadow.png";
28761                    }
28762                    fill.smooth: 0;
28763                }
28764            }
28765            part {
28766                name: "base";
28767                mouse_events: 0;
28768                description {
28769                    state: "default" 0.0;
28770                    image {
28771                        normal: "ilist_1.png";
28772                        border: 2 2 2 2;
28773                    }
28774                    fill.smooth: 0;
28775                }
28776                description { state: "active" 0.0;
28777                    inherit: "default" 0.0;
28778                    rel1 {
28779                        offset: -16 0;
28780                    }
28781                }
28782            }
28783            part { name: "elm.text";
28784                type:           TEXT;
28785                mouse_events:   0;
28786                scale: 1;
28787                description {
28788                    state: "default" 0.0;
28789                           //               min: 16 16;
28790                    rel1 {
28791                        to: "base";
28792                        relative: 0.0  0.0;
28793                        offset:   4 4;
28794                    }
28795                    rel2 {
28796                        to: "base";
28797                        relative: 0.5  1.0;
28798                        offset:   -1 -1;
28799                    }
28800                    color: 0 0 0 128;
28801                    text {
28802                        font: "Sans";
28803                        size: 10;
28804                        min: 1 1;
28805                             //                  min: 0 1;
28806                        align: 0.5 0.5;
28807                    }
28808                }
28809                description { state: "active" 0.0;
28810                    inherit: "default" 0.0;
28811                    color: 0 0 0 255;
28812                }
28813            }
28814        }
28815        programs {
28816            program { name: "active";
28817                signal: "elm,state,active";
28818                source: "elm";
28819                action: STATE_SET "active" 0.0;
28820                transition: DECELERATE 0.5;
28821                target: "elm.text";
28822                target: "base";
28823            }
28824            program { name: "inactive";
28825                signal: "elm,state,inactive";
28826                source: "elm";
28827                action: STATE_SET "default" 0.0;
28828                transition: DECELERATE 0.5;
28829                target: "elm.text";
28830                target: "base";
28831            }
28832        }
28833    }
28834
28835    group { name: "elm/index/item_odd/vertical/default";
28836        data.item: "stacking" "below";
28837        images {
28838            image: "ilist_2.png" COMP;
28839        }
28840        parts {
28841            part {
28842                name: "base";
28843                mouse_events: 0;
28844                description {
28845                    state: "default" 0.0;
28846                    image {
28847                        normal: "ilist_2.png";
28848                        border: 2 2 2 2;
28849                    }
28850                    fill.smooth: 0;
28851                }
28852                description { state: "active" 0.0;
28853                    inherit: "default" 0.0;
28854                    rel1 {
28855                        offset: -16 0;
28856                    }
28857                }
28858            }
28859            part { name: "elm.text";
28860                type:           TEXT;
28861                mouse_events:   0;
28862                scale: 1;
28863                description {
28864                    state: "default" 0.0;
28865                           //               min: 16 16;
28866                    rel1 {
28867                        to: "base";
28868                        relative: 0.0  0.0;
28869                        offset:   4 4;
28870                    }
28871                    rel2 {
28872                        to: "base";
28873                        relative: 0.5  1.0;
28874                        offset:   -1 -1;
28875                    }
28876                    color: 0 0 0 128;
28877                    text {
28878                        font: "Sans";
28879                        size: 10;
28880                        min: 1 1;
28881                             //                  min: 0 1;
28882                        align: 0.5 0.5;
28883                    }
28884                }
28885                description { state: "active" 0.0;
28886                    inherit: "default" 0.0;
28887                    color: 0 0 0 255;
28888                }
28889            }
28890        }
28891        programs {
28892            program { name: "active";
28893                signal: "elm,state,active";
28894                source: "elm";
28895                action: STATE_SET "active" 0.0;
28896                transition: DECELERATE 0.5;
28897                target: "elm.text";
28898                target: "base";
28899            }
28900            program { name: "inactive";
28901                signal: "elm,state,inactive";
28902                source: "elm";
28903                action: STATE_SET "default" 0.0;
28904                transition: DECELERATE 0.5;
28905                target: "elm.text";
28906                target: "base";
28907            }
28908        }
28909    }
28910
28911 ///////////////////////////////////////////////////////////////////////////////
28912    group { name: "elm/gengrid/item/default/default";
28913       data.item: "labels" "elm.text";
28914       data.item: "icons" "elm.swallow.icon elm.swallow.end";
28915       images {
28916          image: "bt_sm_base1.png" COMP;
28917          image: "bt_sm_shine.png" COMP;
28918          image: "bt_sm_hilight.png" COMP;
28919          image: "ilist_1.png" COMP;
28920          image: "ilist_item_shadow.png" COMP;
28921       }
28922       parts {
28923          part { name: "event";
28924             type: RECT;
28925             repeat_events: 1;
28926             description {
28927                state: "default" 0.0;
28928                color: 0 0 0 0;
28929             }
28930          }
28931          part { name: "base_sh";
28932             mouse_events: 0;
28933             description { state: "default" 0.0;
28934                align: 0.0 0.0;
28935                min: 0 10;
28936                fixed: 1 1;
28937                rel1 {
28938                   to: "base";
28939                   relative: 0.0 1.0;
28940                   offset: 0 0;
28941                }
28942                rel2 {
28943                   to: "base";
28944                   relative: 1.0 1.0;
28945                   offset: -1 0;
28946                }
28947                image {
28948                   normal: "ilist_item_shadow.png";
28949                }
28950                fill.smooth: 0;
28951             }
28952          }
28953          part { name: "base";
28954             mouse_events: 0;
28955             description { state: "default" 0.0;
28956                image {
28957                   normal: "ilist_1.png";
28958                   border: 2 2 2 2;
28959                }
28960                fill.smooth: 0;
28961             }
28962          }
28963          part { name: "bg";
28964             clip_to: "disclip";
28965             mouse_events: 0;
28966             description { state: "default" 0.0;
28967                visible: 0;
28968                color: 255 255 255 0;
28969                rel1 {
28970                   relative: 0.0 0.0;
28971                   offset: -5 -5;
28972                }
28973                rel2 {
28974                   relative: 1.0 1.0;
28975                   offset: 4 4;
28976                }
28977                image {
28978                   normal: "bt_sm_base1.png";
28979                   border: 6 6 6 6;
28980                }
28981                image.middle: SOLID;
28982             }
28983             description { state: "selected" 0.0;
28984                inherit: "default" 0.0;
28985                visible: 1;
28986                color: 255 255 255 255;
28987                rel1 {
28988                   relative: 0.0 0.0;
28989                   offset: -2 -2;
28990                }
28991                rel2 {
28992                   relative: 1.0 1.0;
28993                   offset: 1 1;
28994                }
28995             }
28996          }
28997          part { name: "elm.swallow.pad";
28998             type: SWALLOW;
28999             description { state: "default" 0.0;
29000                fixed: 1 0;
29001                align: 0.0 0.5;
29002                rel1 {
29003                   relative: 0.0  1.0;
29004                   offset:   0    -10;
29005                }
29006                rel2 {
29007                   to_y: "elm.text";
29008                   relative: 0.0  0.0;
29009                   offset:   -1   -1;
29010                }
29011             }
29012          }
29013          part { name: "elm.swallow.icon";
29014             clip_to: "disclip";
29015             type: SWALLOW;
29016             description { state: "default" 0.0;
29017                fixed: 1 0;
29018                align: 0.5 0.5;
29019                rel1 {
29020                   relative: 0.0  0.0;
29021                   offset:   -1    4;
29022                }
29023                rel2 {
29024                   to_y: "elm.swallow.pad";
29025                   relative: 1.0  0.0;
29026                   offset:   -1   -5;
29027                }
29028             }
29029          }
29030          part { name: "elm.swallow.end";
29031             clip_to: "disclip";
29032             type: SWALLOW;
29033             description { state: "default" 0.0;
29034                fixed: 1 0;
29035                align: 1.0 0.0;
29036                aspect: 1.0 1.0;
29037                aspect_preference: HORIZONTAL;
29038                rel1 {
29039                   relative: 1.0 0.0;
29040                   offset: -5 -5;
29041                }
29042                rel2 {
29043                   relative: 1.0 1.0;
29044                   offset: 5 5;
29045                }
29046             }
29047          }
29048          part { name: "elm.text";
29049             clip_to: "disclip";
29050             type: TEXT;
29051             effect: SOFT_SHADOW;
29052             mouse_events: 0;
29053             scale: 1;
29054             description { state: "default" 0.0;
29055                rel1 {
29056                   relative: 0.0  1.0;
29057                   offset: 0 0;
29058                }
29059                rel2 {
29060                   relative: 1.0  1.0;
29061                   offset: -5 -5;
29062                }
29063                color: 0 0 0 255;
29064                color3: 0 0 0 0;
29065                text {
29066                   font: "Sans";
29067                   size: 10;
29068                   min: 0 1;
29069                   align: 0.5 0.0;
29070                   text_class: "grid_item";
29071                }
29072             }
29073             description { state: "selected" 0.0;
29074                inherit: "default" 0.0;
29075                color: 224 224 224 255;
29076                color3: 0 0 0 64;
29077             }
29078          }
29079          part { name: "fg1";
29080             clip_to: "disclip";
29081             mouse_events: 0;
29082             description { state: "default" 0.0;
29083                visible: 0;
29084                color: 255 255 255 0;
29085                rel1.to: "bg";
29086                rel2.relative: 1.0 0.5;
29087                rel2.to: "bg";
29088                image {
29089                   normal: "bt_sm_hilight.png";
29090                   border: 6 6 6 0;
29091                }
29092             }
29093             description { state: "selected" 0.0;
29094                inherit: "default" 0.0;
29095                visible: 1;
29096                color: 255 255 255 255;
29097             }
29098          }
29099          part { name: "fg2";
29100             clip_to: "disclip";
29101             mouse_events: 0;
29102             description { state: "default" 0.0;
29103                visible: 0;
29104                color: 255 255 255 0;
29105                rel1.to: "bg";
29106                rel2.to: "bg";
29107                image {
29108                   normal: "bt_sm_shine.png";
29109                   border: 6 6 6 0;
29110                }
29111             }
29112             description { state: "selected" 0.0;
29113                inherit: "default" 0.0;
29114                visible: 1;
29115                color: 255 255 255 255;
29116             }
29117          }
29118          part { name: "disclip";
29119             type: RECT;
29120             description { state: "default" 0.0;
29121                rel1.to: "bg";
29122                rel2.to: "bg";
29123             }
29124             description { state: "disabled" 0.0;
29125                inherit: "default" 0.0;
29126                color: 255 255 255 64;
29127             }
29128          }
29129       }
29130       programs {
29131          // signal: elm,state,%s,active
29132          //   a "check" item named %s went active
29133          // signal: elm,state,%s,passive
29134          //   a "check" item named %s went passive
29135          // default is passive
29136          program { name:    "go_active";
29137             signal:  "elm,state,selected";
29138             source:  "elm";
29139             action:  STATE_SET "selected" 0.0;
29140             target:  "bg";
29141             target:  "fg1";
29142             target:  "fg2";
29143             target:  "elm.text";
29144          }
29145          program { name:    "go_passive";
29146             signal:  "elm,state,unselected";
29147             source:  "elm";
29148             action:  STATE_SET "default" 0.0;
29149             target:  "bg";
29150             target:  "fg1";
29151             target:  "fg2";
29152             target:  "elm.text";
29153             transition: LINEAR 0.1;
29154          }
29155          program { name:    "go_disabled";
29156             signal:  "elm,state,disabled";
29157             source:  "elm";
29158             action:  STATE_SET "disabled" 0.0;
29159             target:  "disclip";
29160          }
29161          program { name:    "go_enabled";
29162             signal:  "elm,state,enabled";
29163             source:  "elm";
29164             action:  STATE_SET "default" 0.0;
29165             target:  "disclip";
29166          }
29167       }
29168    }
29169    group { name: "elm/gengrid/item/default_style/default";
29170        styles
29171        {
29172            style { name: "gengrid_style";
29173                base: "font=Sans font_size=10 align=left valign=0.5 color=#000 text_class=grid_item";
29174                tag:  "br" "\n";
29175                tag:  "ps" "ps";
29176                tag:  "hilight" "+ font=Sans:style=Bold";
29177                tag:  "b" "+ font=Sans:style=Bold";
29178                tag:  "tab" "\t";
29179            }
29180            style { name: "gengrid_selected_style";
29181                base: "font=Sans font_size=10 align=left valign=0.5 color=#fff text_class=grid_item";
29182                tag:  "br" "\n";
29183                tag:  "ps" "ps";
29184                tag:  "hilight" "+ font=Sans:style=Bold";
29185                tag:  "b" "+ font=Sans:style=Bold";
29186                tag:  "tab" "\t";
29187            }
29188        }
29189        data.item: "labels" "elm.text";
29190        data.item: "icons" "elm.swallow.icon elm.swallow.end";
29191        images {
29192            image: "bt_sm_base1.png" COMP;
29193            image: "bt_sm_shine.png" COMP;
29194            image: "bt_sm_hilight.png" COMP;
29195            image: "ilist_1.png" COMP;
29196            image: "ilist_item_shadow.png" COMP;
29197        }
29198        parts {
29199            part { name: "event";
29200                type: RECT;
29201                repeat_events: 1;
29202                description { state: "default" 0.0;
29203                    color: 0 0 0 0;
29204                }
29205            }
29206            part { name: "base_sh";
29207                mouse_events: 0;
29208                description { state: "default" 0.0;
29209                    align: 0.0 0.0;
29210                    min: 0 10;
29211                    fixed: 1 1;
29212                    rel1 {
29213                        to: "base";
29214                        relative: 0.0 1.0;
29215                        offset: 0 0;
29216                    }
29217                    rel2 {
29218                        to: "base";
29219                        relative: 1.0 1.0;
29220                        offset: -1 0;
29221                    }
29222                    image {
29223                        normal: "ilist_item_shadow.png";
29224                    }
29225                    fill.smooth: 0;
29226                }
29227            }
29228            part { name: "base";
29229                mouse_events: 0;
29230                description { state: "default" 0.0;
29231                    min: 16 28;
29232                    image {
29233                        normal: "ilist_1.png";
29234                        border: 2 2 2 2;
29235                    }
29236                    fill.smooth: 0;
29237                }
29238            }
29239            part { name: "bg";
29240                clip_to: "disclip";
29241                mouse_events: 0;
29242                description { state: "default" 0.0;
29243                    visible: 0;
29244                    color: 255 255 255 0;
29245                    rel1 {
29246                        relative: 0.0 0.0;
29247                        offset: -5 -5;
29248                    }
29249                    rel2 {
29250                        relative: 1.0 1.0;
29251                        offset: 4 4;
29252                    }
29253                    image {
29254                        normal: "bt_sm_base1.png";
29255                        border: 6 6 6 6;
29256                    }
29257                    image.middle: SOLID;
29258                }
29259                description { state: "selected" 0.0;
29260                    inherit: "default" 0.0;
29261                    visible: 1;
29262                    color: 255 255 255 255;
29263                    rel1 {
29264                        relative: 0.0 0.0;
29265                        offset: -2 -2;
29266                    }
29267                    rel2 {
29268                        relative: 1.0 1.0;
29269                        offset: 1 1;
29270                    }
29271                }
29272            }
29273            part { name: "elm.swallow.pad";
29274                type: SWALLOW;
29275                description { state: "default" 0.0;
29276                    fixed: 1 0;
29277                    align: 0.0 0.5;
29278                    rel1 {
29279                        relative: 0.0  0.0;
29280                        offset:   4    4;
29281                    }
29282                    rel2 {
29283                        relative: 0.0  1.0;
29284                        offset:   4   -5;
29285                    }
29286                }
29287            }
29288            part { name: "elm.swallow.icon";
29289                clip_to: "disclip";
29290                type: SWALLOW;
29291                description { state: "default" 0.0;
29292                    fixed: 1 0;
29293                    align: 0.0 0.5;
29294                    rel1 {
29295                        to_x: "elm.swallow.pad";
29296                        relative: 1.0  0.0;
29297                        offset:   -1    4;
29298                    }
29299                    rel2 {
29300                        to_x: "elm.swallow.pad";
29301                        relative: 1.0  1.0;
29302                        offset:   -1   -5;
29303                    }
29304                }
29305            }
29306            part { name: "elm.swallow.end";
29307                clip_to: "disclip";
29308                type: SWALLOW;
29309                description { state: "default" 0.0;
29310                    fixed: 1 0;
29311                    align: 1.0 0.5;
29312                    aspect: 1.0 1.0;
29313                    aspect_preference: VERTICAL;
29314                    rel1 {
29315                        relative: 1.0  0.0;
29316                        offset:   -5    4;
29317                    }
29318                    rel2 {
29319                        relative: 1.0  1.0;
29320                        offset:   -5   -5;
29321                    }
29322                }
29323            }
29324            part { name: "elm.text";
29325                clip_to: "disclip";
29326                type: TEXTBLOCK;
29327                mouse_events: 0;
29328                scale: 1;
29329                description {
29330                    state: "default" 0.0;
29331                    align: 0.0 0.5;
29332                    fixed: 0 1;
29333                    rel1 {
29334                        to_x: "elm.swallow.icon";
29335                        to_y: "base";
29336                        relative: 1.0  0.5;
29337                        offset:   0 4;
29338                    }
29339                    rel2 {
29340                        to_x: "elm.swallow.end";
29341                        to_y: "base";
29342                        relative: 0.0  0.5;
29343                        offset:   -1 -5;
29344                    }
29345                    text {
29346                        style: "gengrid_style";
29347                        min: 1 1;
29348                    }
29349                }
29350                description { state: "selected" 0.0;
29351                    inherit: "default" 0.0;
29352                    text {
29353                        style: "gengrid_selected_style";
29354                    }
29355                }
29356            }
29357            part { name: "fg1";
29358                clip_to: "disclip";
29359                mouse_events: 0;
29360                description { state: "default" 0.0;
29361                    visible: 0;
29362                    color: 255 255 255 0;
29363                    rel1.to: "bg";
29364                    rel2.relative: 1.0 0.5;
29365                    rel2.to: "bg";
29366                    image {
29367                        normal: "bt_sm_hilight.png";
29368                        border: 6 6 6 0;
29369                    }
29370                }
29371                description { state: "selected" 0.0;
29372                    inherit: "default" 0.0;
29373                    visible: 1;
29374                    color: 255 255 255 255;
29375                }
29376            }
29377            part { name: "fg2";
29378                clip_to: "disclip";
29379                mouse_events: 0;
29380                description { state: "default" 0.0;
29381                    visible: 0;
29382                    color: 255 255 255 0;
29383                    rel1.to: "bg";
29384                    rel2.to: "bg";
29385                    image {
29386                        normal: "bt_sm_shine.png";
29387                        border: 6 6 6 0;
29388                    }
29389                }
29390                description { state: "selected" 0.0;
29391                    inherit: "default" 0.0;
29392                    visible: 1;
29393                    color: 255 255 255 255;
29394                }
29395            }
29396            part { name: "disclip";
29397                type: RECT;
29398                description { state: "default" 0.0;
29399                    rel1.to: "bg";
29400                    rel2.to: "bg";
29401                }
29402                description { state: "disabled" 0.0;
29403                    inherit: "default" 0.0;
29404                    color: 255 255 255 64;
29405                }
29406            }
29407        }
29408        programs {
29409            // signal: elm,state,%s,active
29410            //   a "check" item named %s went active
29411            // signal: elm,state,%s,passive
29412            //   a "check" item named %s went passive
29413            // default is passive
29414            program { name:    "go_active";
29415                signal:  "elm,state,selected";
29416                source:  "elm";
29417                action:  STATE_SET "selected" 0.0;
29418                target:  "bg";
29419                target:  "fg1";
29420                target:  "fg2";
29421                target:  "elm.text";
29422            }
29423            program { name:    "go_passive";
29424                signal:  "elm,state,unselected";
29425                source:  "elm";
29426                action:  STATE_SET "default" 0.0;
29427                target:  "bg";
29428                target:  "fg1";
29429                target:  "fg2";
29430                target:  "elm.text";
29431                transition: LINEAR 0.1;
29432            }
29433            program { name:    "go_disabled";
29434                signal:  "elm,state,disabled";
29435                source:  "elm";
29436                action:  STATE_SET "disabled" 0.0;
29437                target:  "disclip";
29438            }
29439            program { name:    "go_enabled";
29440                signal:  "elm,state,enabled";
29441                source:  "elm";
29442                action:  STATE_SET "default" 0.0;
29443                target:  "disclip";
29444            }
29445        }
29446    }
29447
29448    group { name: "elm/gengrid/item/up/default";
29449       data.item: "labels" "elm.text";
29450       images {
29451           image: "bt_sm_base1.png" COMP;
29452           image: "bt_sm_shine.png" COMP;
29453           image: "bt_sm_hilight.png" COMP;
29454           image: "arrow_up.png" COMP;
29455       }
29456       parts {
29457          part { name: "event";
29458             type: RECT;
29459             repeat_events: 1;
29460             description { state: "default" 0.0;
29461                color: 0 0 0 0;
29462             }
29463          }
29464          part { name: "bg";
29465             clip_to: "disclip";
29466             mouse_events: 0;
29467             description { state: "default" 0.0;
29468                visible: 0;
29469                color: 255 255 255 0;
29470                rel1.offset: -3 -3;
29471                rel2.offset: 2 2;
29472                image { normal: "bt_sm_base1.png";
29473                   border: 6 6 6 6;
29474                   middle: SOLID;
29475                }
29476             }
29477             description { state: "selected" 0.0;
29478                inherit: "default" 0.0;
29479                visible: 1;
29480                color: 255 255 255 255;
29481             }
29482          }
29483          part { name: "image";
29484              type: IMAGE;
29485              mouse_events: 0;
29486              description { state: "default" 0.0;
29487                  aspect_preference: BOTH;
29488                  aspect: 1.0 1.0;
29489                  image.normal: "arrow_up.png";
29490                  rel2 {
29491                      to_y: "elm.text";
29492                      relative: 1.0 0.0;
29493                      offset: -1 -2;
29494                  }
29495              }
29496          }
29497          part { name: "elm.text";
29498             clip_to: "disclip";
29499             type: TEXT;
29500             effect: SOFT_SHADOW;
29501             mouse_events: 0;
29502             scale: 1;
29503             description { state: "default" 0.0;
29504                rel1 {
29505                   relative: 0.0  1.0;
29506                   offset: 20 -25;
29507                }
29508                rel2 {
29509                   relative: 1.0  1.0;
29510                   offset: -21 -3;
29511                }
29512                color: 0 0 0 255;
29513                color3: 0 0 0 0;
29514                text {
29515                   font: "Sans";
29516                   size: 10;
29517                   min: 0 1;
29518                   align: 0.5 0.0;
29519                   text_class: "grid_item";
29520                }
29521             }
29522             description { state: "selected" 0.0;
29523                inherit: "default" 0.0;
29524                color: 224 224 224 255;
29525                color3: 0 0 0 64;
29526             }
29527          }
29528          part { name: "fg1";
29529             clip_to: "disclip";
29530             mouse_events: 0;
29531             description { state: "default" 0.0;
29532                visible: 0;
29533                color: 255 255 255 0;
29534                rel1.offset: -3 -3;
29535                rel2 {
29536                    relative: 1.0 0.5;
29537                    offset: 2 -1;
29538                }
29539                image {
29540                   normal: "bt_sm_hilight.png";
29541                   border: 6 6 6 0;
29542                }
29543             }
29544             description { state: "selected" 0.0;
29545                inherit: "default" 0.0;
29546                visible: 1;
29547                color: 255 255 255 255;
29548             }
29549          }
29550          part { name: "fg2";
29551             clip_to: "disclip";
29552             mouse_events: 0;
29553             description { state: "default" 0.0;
29554                visible: 0;
29555                color: 255 255 255 0;
29556                rel1.offset: -3 -3;
29557                rel2.offset: 2 2;
29558                image {
29559                   normal: "bt_sm_shine.png";
29560                   border: 6 6 6 0;
29561                }
29562             }
29563             description { state: "selected" 0.0;
29564                inherit: "default" 0.0;
29565                visible: 1;
29566                color: 255 255 255 255;
29567             }
29568          }
29569          part { name: "disclip";
29570             type: RECT;
29571             description { state: "default" 0.0;
29572                rel1.to: "bg";
29573                rel2.to: "bg";
29574             }
29575             description { state: "disabled" 0.0;
29576                inherit: "default" 0.0;
29577                color: 255 255 255 64;
29578             }
29579          }
29580       }
29581       programs {
29582          program { name:    "go_active";
29583             signal:  "elm,state,selected";
29584             source:  "elm";
29585             action:  STATE_SET "selected" 0.0;
29586             target:  "bg";
29587             target:  "fg1";
29588             target:  "fg2";
29589             target:  "elm.text";
29590          }
29591          program { name:    "go_passive";
29592             signal:  "elm,state,unselected";
29593             source:  "elm";
29594             action:  STATE_SET "default" 0.0;
29595             target:  "bg";
29596             target:  "fg1";
29597             target:  "fg2";
29598             target:  "elm.text";
29599             transition: LINEAR 0.1;
29600          }
29601          program { name:    "go_disabled";
29602             signal:  "elm,state,disabled";
29603             source:  "elm";
29604             action:  STATE_SET "disabled" 0.0;
29605             target:  "disclip";
29606          }
29607          program { name:    "go_enabled";
29608             signal:  "elm,state,enabled";
29609             source:  "elm";
29610             action:  STATE_SET "default" 0.0;
29611             target:  "disclip";
29612          }
29613       }
29614    }
29615
29616    group { name: "elm/gengrid/item/album-preview/default";
29617       data.item: "labels" "elm.text";
29618       data.item: "icons" "elm.swallow.icon.1 elm.swallow.icon.2 elm.swallow.icon.3 elm.swallow.icon.4";
29619       data.item: "states" "have_files";
29620       images {
29621          image: "bt_sm_base1.png" COMP;
29622          image: "bt_sm_shine.png" COMP;
29623          image: "bt_sm_hilight.png" COMP;
29624          image: "icon_folder.png" COMP;
29625       }
29626       parts {
29627          part { name: "event";
29628             type: RECT;
29629             repeat_events: 1;
29630             description { state: "default" 0.0;
29631                color: 0 0 0 0;
29632             }
29633          }
29634          part { name: "bg";
29635             clip_to: "disclip";
29636             mouse_events: 0;
29637             description { state: "default" 0.0;
29638                visible: 0;
29639                color: 255 255 255 0;
29640                rel1.offset: -3 -3;
29641                rel2.offset: 2 2;
29642                image {
29643                   normal: "bt_sm_base1.png";
29644                   border: 6 6 6 6;
29645                   middle: SOLID;
29646                }
29647             }
29648             description { state: "selected" 0.0;
29649                inherit: "default" 0.0;
29650                visible: 1;
29651                color: 255 255 255 255;
29652             }
29653          }
29654          part { name: "image";
29655              type: IMAGE;
29656              mouse_events: 0;
29657              description { state: "default" 0.0;
29658                  aspect_preference: BOTH;
29659                  aspect: 1.0 1.0;
29660                  image.normal: "icon_folder.png";
29661                  rel2 {
29662                      to_y: "elm.text";
29663                      relative: 1.0 0.0;
29664                      offset: -1 -2;
29665                  }
29666              }
29667          }
29668          part { name: "have-files-clipper";
29669              type: RECT;
29670              description { state: "default" 0.0;
29671                  color: 255 255 255 0;
29672                  visible: 0;
29673              }
29674              description { state: "visible" 0.0;
29675                  inherit: "default" 0.0;
29676                  color: 255 255 255 255;
29677                  visible: 1;
29678              }
29679          }
29680          part { name: "icon_box_margin";
29681              type: RECT;
29682              mouse_events: 0;
29683              clip_to: "have-files-clipper";
29684              description { state: "default" 0.0;
29685                  color: 0 0 0 255;
29686                  rel1 {
29687                      to: "icon_box";
29688                      offset: -1 -1;
29689                  }
29690                  rel2 {
29691                      to: "icon_box";
29692                      offset: 0 0;
29693                  }
29694              }
29695          }
29696          part { name: "icon_box";
29697              type: RECT;
29698              mouse_events: 0;
29699              clip_to: "have-files-clipper";
29700              description { state: "default" 0.0;
29701                  color: 255 255 255 255;
29702                  align: 1.0 1.0;
29703                  min: 32 32;
29704                  rel1 {
29705                      relative: 0.25 0.25;
29706                      offset: 0 0;
29707                  }
29708                  rel2 {
29709                      relative: 1.0 0.0;
29710                      offset: -11 -4;
29711                      to_y: "elm.text";
29712                  }
29713              }
29714          }
29715          part { name: "elm.swallow.icon.1";
29716              type: SWALLOW;
29717              mouse_events: 0;
29718              clip_to: "have-files-clipper";
29719              description { state: "default" 0.0;
29720                rel1 {
29721                   relative: 0.0  0.0;
29722                   to: "icon_box";
29723                }
29724                rel2 {
29725                   relative: 0.5  0.5;
29726                   offset: -1 -1;
29727                   to: "icon_box";
29728                }
29729             }
29730          }
29731          part { name: "elm.swallow.icon.2";
29732              type: SWALLOW;
29733              mouse_events: 0;
29734              clip_to: "have-files-clipper";
29735              description { state: "default" 0.0;
29736                rel1 {
29737                   relative: 0.5  0.0;
29738                   to: "icon_box";
29739                }
29740                rel2 {
29741                   relative: 1.0  0.5;
29742                   offset: -1 -1;
29743                   to: "icon_box";
29744                }
29745             }
29746          }
29747          part { name: "elm.swallow.icon.3";
29748              type: SWALLOW;
29749              mouse_events: 0;
29750              clip_to: "have-files-clipper";
29751              description { state: "default" 0.0;
29752                rel1 {
29753                   relative: 0.0  0.5;
29754                   to: "icon_box";
29755                }
29756                rel2 {
29757                   relative: 0.5  1.0;
29758                   offset: -1 -1;
29759                   to: "icon_box";
29760                }
29761             }
29762          }
29763          part { name: "elm.swallow.icon.4";
29764              type: SWALLOW;
29765              mouse_events: 0;
29766              clip_to: "have-files-clipper";
29767              description { state: "default" 0.0;
29768                rel1 {
29769                   relative: 0.5  0.5;
29770                   to: "icon_box";
29771                }
29772                rel2 {
29773                   relative: 1.0  1.0;
29774                   offset: -1 -1;
29775                   to: "icon_box";
29776                }
29777             }
29778          }
29779          part { name: "elm.text";
29780             clip_to: "disclip";
29781             type: TEXT;
29782             effect: SOFT_SHADOW;
29783             mouse_events: 0;
29784             scale: 1;
29785             description { state: "default" 0.0;
29786                rel1 {
29787                   relative: 0.0  1.0;
29788                   offset: 20 -30;
29789                }
29790                rel2 {
29791                   relative: 1.0  1.0;
29792                   offset: -21 -15;
29793                }
29794                color: 0 0 0 255;
29795                color3: 0 0 0 0;
29796                text {
29797                   font: "Sans";
29798                   size: 10;
29799                   min: 0 1;
29800                   align: 0.5 0.0;
29801                   text_class: "grid_item";
29802                }
29803             }
29804             description { state: "selected" 0.0;
29805                 inherit: "default" 0.0;
29806                 color: 255 255 255 255;
29807             }
29808          }
29809          part { name: "fg1";
29810             clip_to: "disclip";
29811             mouse_events: 0;
29812             description { state: "default" 0.0;
29813                visible: 0;
29814                color: 255 255 255 0;
29815                rel1.offset: -3 -3;
29816                rel2 {
29817                    relative: 1.0 0.5;
29818                    offset: 2 -1;
29819                }
29820                image {
29821                   normal: "bt_sm_hilight.png";
29822                   border: 6 6 6 0;
29823                }
29824             }
29825             description { state: "selected" 0.0;
29826                inherit: "default" 0.0;
29827                visible: 1;
29828                color: 255 255 255 255;
29829             }
29830          }
29831          part { name: "fg2";
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_shine.png";
29841                   border: 6 6 6 0;
29842                }
29843             }
29844             description { state: "selected" 0.0;
29845                inherit: "default" 0.0;
29846                visible: 1;
29847                color: 255 255 255 255;
29848             }
29849          }
29850          part { name: "disclip";
29851             type: RECT;
29852             description { state: "default" 0.0;
29853                rel1.to: "bg";
29854                rel2.to: "bg";
29855             }
29856             description { state: "disabled" 0.0;
29857                inherit: "default" 0.0;
29858                color: 255 255 255 64;
29859             }
29860          }
29861       }
29862       programs {
29863          program { name:    "go_active";
29864             signal:  "elm,state,selected";
29865             source:  "elm";
29866             action:  STATE_SET "selected" 0.0;
29867             target:  "bg";
29868             target:  "fg1";
29869             target:  "fg2";
29870             target:  "elm.text";
29871          }
29872          program { name:    "go_passive";
29873             signal:  "elm,state,unselected";
29874             source:  "elm";
29875             action:  STATE_SET "default" 0.0;
29876             target:  "bg";
29877             target:  "fg1";
29878             target:  "fg2";
29879             target:  "elm.text";
29880             transition: LINEAR 0.1;
29881          }
29882          program { name:    "go_disabled";
29883             signal:  "elm,state,disabled";
29884             source:  "elm";
29885             action:  STATE_SET "disabled" 0.0;
29886             target:  "disclip";
29887          }
29888          program { name:    "go_enabled";
29889             signal:  "elm,state,enabled";
29890             source:  "elm";
29891             action:  STATE_SET "default" 0.0;
29892             target:  "disclip";
29893          }
29894          program {
29895              signal: "elm,state,have_files,active";
29896              source: "elm";
29897              action: STATE_SET "visible" 0.0;
29898              target: "have-files-clipper";
29899          }
29900       }
29901    }
29902
29903    group { name: "elm/gengrid/item/thumb/default";
29904        data {
29905            item: "icons" "elm.swallow.icon";
29906            item: "labels" "elm.text";
29907        }
29908        images {
29909            image: "bt_sm_base1.png" COMP;
29910            image: "bt_sm_shine.png" COMP;
29911            image: "bt_sm_hilight.png" COMP;
29912            image: "thumb_shadow.png" COMP;
29913        }
29914        parts {
29915            part { name: "event";
29916                type: RECT;
29917                repeat_events: 1;
29918                description { state: "default" 0.0;
29919                    color: 0 0 0 0;
29920                }
29921            }
29922            part { name: "bg";
29923                mouse_events: 0;
29924                description { state: "default" 0.0;
29925                    visible: 0;
29926                    color: 255 255 255 0;
29927                    rel1.offset: -3 -3;
29928                    rel2.offset: 2 2;
29929                    image {
29930                        normal: "bt_sm_base1.png";
29931                        border: 6 6 6 6;
29932                        middle: SOLID;
29933                    }
29934                }
29935                description { state: "selected" 0.0;
29936                    inherit: "default" 0.0;
29937                    visible: 1;
29938                    color: 255 255 255 255;
29939                }
29940            }
29941            part { name: "border-shadow";
29942                type: IMAGE;
29943                mouse_events: 0;
29944                description { state: "default" 0.0;
29945                    rel1 {
29946                        to: "elm.swallow.icon";
29947                        offset: -18 -18;
29948                    }
29949                    rel2 {
29950                        to_x: "elm.swallow.icon";
29951                        to_y: "elm.text";
29952                        offset: 17 17;
29953                    }
29954                    image {
29955                        normal: "thumb_shadow.png";
29956                        border: 17 17 17 17;
29957                        middle: NONE;
29958                    }
29959                }
29960            }
29961            part { name: "border";
29962                type: RECT;
29963                mouse_events: 0;
29964                description { state: "default" 0.0;
29965                    rel1 {
29966                        to: "border-shadow";
29967                        offset: 16 16;
29968                    }
29969                    rel2 {
29970                        to: "border-shadow";
29971                        offset: -15 -15;
29972                    }
29973                }
29974            }
29975            part { name: "elm.swallow.icon";
29976                type: SWALLOW;
29977                mouse_events: 0;
29978                description { state: "default" 0.0;
29979                    aspect_preference: BOTH;
29980                    aspect: 1.0 1.0;
29981                    rel1.offset: 0 8;
29982                    rel2 {
29983                        to_y: "elm.text";
29984                        relative: 1.0 0.0;
29985                        offset: -1 -2;
29986                    }
29987                }
29988            }
29989            part { name: "elm.text";
29990                type: TEXT;
29991                effect: SOFT_SHADOW;
29992                mouse_events: 0;
29993                scale: 1;
29994                description { state: "default" 0.0;
29995                    color: 0 0 0 255;
29996                    color3: 0 0 0 0;
29997                    align: 0.5 1.0;
29998                    rel1 {
29999                        relative: 0.0 1.0;
30000                        offset: 20 -30;
30001                    }
30002                    rel2 {
30003                        relative: 1.0 1.0;
30004                        offset: -21 -15;
30005                    }
30006                    text {
30007                        font: "Sans";
30008                        size: 10;
30009                        min: 0 1;
30010                        align: 0.5 0.0;
30011                        text_class: "grid_item";
30012                    }
30013                }
30014            }
30015            part { name: "fg1";
30016                mouse_events: 0;
30017                description { state: "default" 0.0;
30018                    visible: 0;
30019                    color: 255 255 255 0;
30020                    rel1.offset: -3 -3;
30021                    rel2 {
30022                        relative: 1.0 0.5;
30023                        offset: 2 -1;
30024                    }
30025                    image {
30026                        normal: "bt_sm_hilight.png";
30027                        border: 6 6 6 0;
30028                    }
30029                }
30030                description { state: "selected" 0.0;
30031                    inherit: "default" 0.0;
30032                    visible: 1;
30033                    color: 255 255 255 255;
30034                }
30035            }
30036            part { name: "fg2";
30037                mouse_events: 0;
30038                description { state: "default" 0.0;
30039                    visible: 0;
30040                    color: 255 255 255 0;
30041                    rel1.offset: -3 -3;
30042                    rel2.offset: 2 2;
30043                    image {
30044                        image: "bt_sm_shine.png";
30045                        border: 6 6 6 0;
30046                    }
30047                }
30048                description { state: "selected" 0.0;
30049                    inherit: "default" 0.0;
30050                    visible: 1;
30051                    color: 255 255 255 255;
30052                }
30053            }
30054        }
30055        programs {
30056            program {
30057                signal: "elm,state,selected";
30058                source: "elm";
30059                action: STATE_SET "selected" 0.0;
30060                target: "bg";
30061                target: "fg1";
30062                target: "fg2";
30063            }
30064            program {
30065                signal: "elm,state,unselected";
30066                source: "elm";
30067                action:  STATE_SET "default" 0.0;
30068                target: "bg";
30069                target: "fg1";
30070                target: "fg2";
30071                transition: LINEAR 0.1;
30072            }
30073        }
30074    }
30075
30076 ///////////////////////////////////////////////////////////////////////////////
30077    group { name: "elm/photocam/base/default";
30078        script {
30079            public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
30080            public timer0(val) {
30081                new v;
30082                v = get_int(sbvis_v);
30083                if (v) {
30084                    v = get_int(sbalways_v);
30085                    if (!v) {
30086                        emit("do-hide-vbar", "");
30087                        set_int(sbvis_v, 0);
30088                    }
30089                }
30090                v = get_int(sbvis_h);
30091                if (v) {
30092                    v = get_int(sbalways_h);
30093                    if (!v) {
30094                        emit("do-hide-hbar", "");
30095                        set_int(sbvis_h, 0);
30096                    }
30097                }
30098                set_int(sbvis_timer, 0);
30099                return 0;
30100            }
30101        }
30102        images {
30103            image: "shelf_inset.png" COMP;
30104            image: "bt_sm_base2.png" COMP;
30105            image: "bt_sm_shine.png" COMP;
30106            image: "bt_sm_hilight.png" COMP;
30107            image: "busy-1.png" COMP;
30108            image: "busy-2.png" COMP;
30109            image: "busy-3.png" COMP;
30110            image: "busy-4.png" COMP;
30111            image: "busy-5.png" COMP;
30112            image: "busy-6.png" COMP;
30113            image: "busy-7.png" COMP;
30114            image: "busy-8.png" COMP;
30115            image: "busy-9.png" COMP;
30116        }
30117        parts {
30118            part { name: "bg";
30119                type: RECT;
30120                description { state: "default" 0.0;
30121                    rel1.offset: 1 1;
30122                    rel2.offset: -2 -2;
30123                    color: 255 255 255 0;
30124                }
30125            }
30126            part { name: "clipper";
30127                type: RECT;
30128                mouse_events: 0;
30129                description { state: "default" 0.0;
30130                    rel1.to: "bg";
30131                    rel2.to: "bg";
30132                }
30133            }
30134            part { name: "elm.swallow.content";
30135                clip_to: "clipper";
30136                type: SWALLOW;
30137                description { state: "default" 0.0;
30138                    rel1.offset: 1 1;
30139                    rel2.offset: -2 -2;
30140                }
30141            }
30142            part { name: "busy_clip";
30143                type: RECT;
30144                mouse_events: 0;
30145                description { state: "default" 0.0;
30146                    visible: 0;
30147                    color: 255 255 255 0;
30148                }
30149                description { state: "active" 0.0;
30150                    visible: 1;
30151                    color: 255 255 255 255;
30152                }
30153            }
30154            part { name: "busy";
30155                clip_to: "busy_clip";
30156                mouse_events: 0;
30157                description { state: "default" 0.0;
30158                    fixed: 1 1;
30159                    min: 32 32;
30160                    aspect: 1.0 1.0;
30161                    align: 1.0 1.0;
30162                    aspect_preference: BOTH;
30163                    rel1 {
30164                        relative: 0.9 0.9;
30165                        offset:   -9 -9;
30166                    }
30167                    rel2 {
30168                        relative: 0.9 0.9;
30169                        offset:   -9 -9;
30170                    }
30171                    image {
30172                        normal: "busy-9.png";
30173                        tween:  "busy-1.png";
30174                        tween:  "busy-2.png";
30175                        tween:  "busy-3.png";
30176                        tween:  "busy-4.png";
30177                        tween:  "busy-5.png";
30178                        tween:  "busy-6.png";
30179                        tween:  "busy-7.png";
30180                        tween:  "busy-8.png";
30181                    }
30182                }
30183            }
30184            part { name: "conf_over";
30185                mouse_events:  0;
30186                description { state: "default" 0.0;
30187                    rel1.offset: 0 0;
30188                    rel2.offset: -1 -1;
30189                    image {
30190                        normal: "shelf_inset.png";
30191                        border: 7 7 7 7;
30192                        middle: 0;
30193                    }
30194                    fill.smooth : 0;
30195                }
30196            }
30197            part { name: "sb_vbar_clip_master";
30198                type: RECT;
30199                mouse_events: 0;
30200                description { state: "default" 0.0;
30201                }
30202                description { state: "hidden" 0.0;
30203                    visible: 0;
30204                    color: 255 255 255 0;
30205                }
30206            }
30207            part { name: "sb_vbar_clip";
30208                clip_to: "sb_vbar_clip_master";
30209                type: RECT;
30210                mouse_events: 0;
30211                description { state: "default" 0.0;
30212                }
30213                description { state: "hidden" 0.0;
30214                    visible: 0;
30215                    color: 255 255 255 0;
30216                }
30217            }
30218            part { name: "sb_vbar";
30219                type: RECT;
30220                mouse_events: 0;
30221                description { state: "default" 0.0;
30222                    fixed: 1 1;
30223                    visible: 0;
30224                    min: 10 17;
30225                    align: 1.0 0.0;
30226                    rel1 {
30227                        relative: 1.0 0.0;
30228                        offset:   -2 0;
30229                    }
30230                    rel2 {
30231                        relative: 1.0 0.0;
30232                        offset:   -2 -1;
30233                        to_y:     "sb_hbar";
30234                    }
30235                }
30236            }
30237            part { name: "elm.dragable.vbar";
30238                clip_to: "sb_vbar_clip";
30239                mouse_events: 0;
30240                dragable {
30241                    x: 0 0 0;
30242                    y: 1 1 0;
30243                    confine: "sb_vbar";
30244                }
30245                description { state: "default" 0.0;
30246                    fixed: 1 1;
30247                    min: 10 17;
30248                    max: 10 99999;
30249                    rel1 {
30250                        relative: 0.5  0.5;
30251                        offset:   0    0;
30252                        to: "sb_vbar";
30253                    }
30254                    rel2 {
30255                        relative: 0.5  0.5;
30256                        offset:   0    0;
30257                        to: "sb_vbar";
30258                    }
30259                    image {
30260                        normal: "bt_sm_base2.png";
30261                        border: 6 6 6 6;
30262                        middle: SOLID;
30263                    }
30264                }
30265            }
30266            part { name: "sb_vbar_over1";
30267                clip_to: "sb_vbar_clip";
30268                mouse_events: 0;
30269                description { state: "default" 0.0;
30270                    rel1.to: "elm.dragable.vbar";
30271                    rel2.relative: 1.0 0.5;
30272                    rel2.to: "elm.dragable.vbar";
30273                    image {
30274                        normal: "bt_sm_hilight.png";
30275                        border: 6 6 6 0;
30276                    }
30277                }
30278            }
30279            part { name: "sb_vbar_over2";
30280                clip_to: "sb_vbar_clip";
30281                mouse_events: 0;
30282                description { state: "default" 0.0;
30283                    rel1.to: "elm.dragable.vbar";
30284                    rel2.to: "elm.dragable.vbar";
30285                    image {
30286                        normal: "bt_sm_shine.png";
30287                        border: 6 6 6 0;
30288                    }
30289                }
30290            }
30291
30292            part { name: "sb_hbar_clip_master";
30293                type: RECT;
30294                mouse_events: 0;
30295                description { state: "default" 0.0;
30296                }
30297                description { state: "hidden" 0.0;
30298                    visible: 0;
30299                    color: 255 255 255 0;
30300                }
30301            }
30302            part { name: "sb_hbar_clip";
30303                clip_to: "sb_hbar_clip_master";
30304                type: RECT;
30305                mouse_events: 0;
30306                description { state: "default" 0.0;
30307                }
30308                description { state: "hidden" 0.0;
30309                    visible: 0;
30310                    color: 255 255 255 0;
30311                }
30312            }
30313            part { name: "sb_hbar";
30314                type: RECT;
30315                mouse_events: 0;
30316                description { state: "default" 0.0;
30317                    fixed: 1 1;
30318                    visible: 0;
30319                    min: 17 10;
30320                    align: 0.0 1.0;
30321                    rel1 {
30322                        relative: 0.0 1.0;
30323                        offset:   0 -2;
30324                    }
30325                    rel2 {
30326                        relative: 0.0 1.0;
30327                        offset:   -1 -2;
30328                        to_x:     "sb_vbar";
30329                    }
30330                }
30331            }
30332            part { name: "elm.dragable.hbar";
30333                clip_to: "sb_hbar_clip";
30334                mouse_events: 0;
30335                dragable {
30336                    x: 1 1 0;
30337                    y: 0 0 0;
30338                    confine: "sb_hbar";
30339                }
30340                description { state: "default" 0.0;
30341                    fixed: 1 1;
30342                    min: 17 10;
30343                    max: 99999 10;
30344                    rel1 {
30345                        relative: 0.5  0.5;
30346                        offset:   0    0;
30347                        to: "sb_hbar";
30348                    }
30349                    rel2 {
30350                        relative: 0.5  0.5;
30351                        offset:   0    0;
30352                        to: "sb_hbar";
30353                    }
30354                    image {
30355                        normal: "bt_sm_base2.png";
30356                        border: 4 4 4 4;
30357                        middle: SOLID;
30358                    }
30359                }
30360            }
30361            part { name: "sb_hbar_over1";
30362                clip_to: "sb_hbar_clip";
30363                mouse_events: 0;
30364                description { state: "default" 0.0;
30365                    rel1.to: "elm.dragable.hbar";
30366                    rel2.relative: 1.0 0.5;
30367                    rel2.to: "elm.dragable.hbar";
30368                    image {
30369                        normal: "bt_sm_hilight.png";
30370                        border: 4 4 4 0;
30371                    }
30372                }
30373            }
30374            part { name: "sb_hbar_over2";
30375                clip_to: "sb_hbar_clip";
30376                mouse_events: 0;
30377                description { state: "default" 0.0;
30378                    rel1.to: "elm.dragable.hbar";
30379                    rel2.to: "elm.dragable.hbar";
30380                    image {
30381                        normal: "bt_sm_shine.png";
30382                        border: 4 4 4 0;
30383                    }
30384                }
30385            }
30386        }
30387        programs {
30388            program { name: "load";
30389                signal: "load";
30390                source: "";
30391                script {
30392                    set_state(PART:"sb_hbar_clip", "hidden", 0.0);
30393                    set_state(PART:"sb_vbar_clip", "hidden", 0.0);
30394                    set_int(sbvis_h, 0);
30395                    set_int(sbvis_v, 0);
30396                    set_int(sbalways_v, 0);
30397                    set_int(sbalways_h, 0);
30398                    set_int(sbvis_timer, 0);
30399                }
30400            }
30401
30402            program { name: "vbar_show";
30403                signal: "elm,action,show,vbar";
30404                source: "elm";
30405                action:  STATE_SET "default" 0.0;
30406                target: "sb_vbar_clip_master";
30407            }
30408            program { name: "vbar_hide";
30409                signal: "elm,action,hide,vbar";
30410                source: "elm";
30411                action:  STATE_SET "hidden" 0.0;
30412                target: "sb_vbar_clip_master";
30413            }
30414            program { name: "vbar_show_always";
30415                signal: "elm,action,show_always,vbar";
30416                source: "elm";
30417                script {
30418                    new v;
30419                    v = get_int(sbvis_v);
30420                    v |= get_int(sbalways_v);
30421                    if (!v) {
30422                        set_int(sbalways_v, 1);
30423                        emit("do-show-vbar", "");
30424                        set_int(sbvis_v, 1);
30425                    }
30426                }
30427            }
30428            program { name: "vbar_show_notalways";
30429                signal: "elm,action,show_notalways,vbar";
30430                source: "elm";
30431                script {
30432                    new v;
30433                    v = get_int(sbalways_v);
30434                    if (v) {
30435                        set_int(sbalways_v, 0);
30436                        v = get_int(sbvis_v);
30437                        if (!v) {
30438                            emit("do-hide-vbar", "");
30439                            set_int(sbvis_v, 0);
30440                        }
30441                    }
30442                }
30443            }
30444            program { name: "sb_vbar_show";
30445                signal: "do-show-vbar";
30446                source: "";
30447                action:  STATE_SET "default" 0.0;
30448                transition: LINEAR 0.5;
30449                target: "sb_vbar_clip";
30450            }
30451            program { name: "sb_vbar_hide";
30452                signal: "do-hide-vbar";
30453                source: "";
30454                action:  STATE_SET "hidden" 0.0;
30455                transition: LINEAR 0.5;
30456                target: "sb_vbar_clip";
30457            }
30458
30459            program { name: "hbar_show";
30460                signal: "elm,action,show,hbar";
30461                source: "elm";
30462                action:  STATE_SET "default" 0.0;
30463                target: "sb_hbar_clip_master";
30464            }
30465            program { name: "hbar_hide";
30466                signal: "elm,action,hide,hbar";
30467                source: "elm";
30468                action:  STATE_SET "hidden" 0.0;
30469                target: "sb_hbar_clip_master";
30470            }
30471            program { name: "hbar_show_always";
30472                signal: "elm,action,show_always,hbar";
30473                source: "elm";
30474                script {
30475                    new v;
30476                    v = get_int(sbvis_h);
30477                    v |= get_int(sbalways_h);
30478                    if (!v) {
30479                        set_int(sbalways_h, 1);
30480                        emit("do-show-hbar", "");
30481                        set_int(sbvis_h, 1);
30482                    }
30483                }
30484            }
30485            program { name: "hbar_show_notalways";
30486                signal: "elm,action,show_notalways,hbar";
30487                source: "elm";
30488                script {
30489                    new v;
30490                    v = get_int(sbalways_h);
30491                    if (v) {
30492                        set_int(sbalways_h, 0);
30493                        v = get_int(sbvis_h);
30494                        if (!v) {
30495                            emit("do-hide-hbar", "");
30496                            set_int(sbvis_h, 0);
30497                        }
30498                    }
30499                }
30500            }
30501            program { name: "sb_hbar_show";
30502                signal: "do-show-hbar";
30503                source: "";
30504                action:  STATE_SET "default" 0.0;
30505                transition: LINEAR 0.5;
30506                target: "sb_hbar_clip";
30507            }
30508            program { name: "sb_hbar_hide";
30509                signal: "do-hide-hbar";
30510                source: "";
30511                action:  STATE_SET "hidden" 0.0;
30512                transition: LINEAR 0.5;
30513                target: "sb_hbar_clip";
30514            }
30515
30516            program { name: "scroll";
30517                signal: "elm,action,scroll";
30518                source: "elm";
30519                script {
30520                    new v;
30521                    v = get_int(sbvis_v);
30522                    v |= get_int(sbalways_v);
30523                    if (!v) {
30524                        emit("do-show-vbar", "");
30525                        set_int(sbvis_v, 1);
30526                    }
30527                    v = get_int(sbvis_h);
30528                    v |= get_int(sbalways_h);
30529                    if (!v) {
30530                        emit("do-show-hbar", "");
30531                        set_int(sbvis_h, 1);
30532                    }
30533                    v = get_int(sbvis_timer);
30534                    if (v > 0) cancel_timer(v);
30535                    v = timer(1.0, "timer0", 0);
30536                    set_int(sbvis_timer, v);
30537                }
30538            }
30539            program { name: "go1";
30540                signal: "elm,state,busy,start";
30541                source: "elm";
30542                action: STATE_SET "active" 0.0;
30543                transition: SINUSOIDAL 1.0;
30544                target:  "busy_clip";
30545            }
30546            program { name: "go2";
30547                signal: "elm,state,busy,start";
30548                source: "elm";
30549                action: STATE_SET "default" 0.0;
30550                transition: LINEAR 0.5;
30551                target: "busy";
30552                after:  "go2";
30553            }
30554            program { name: "stop1";
30555                signal: "elm,state,busy,stop";
30556                source: "elm";
30557                action: STATE_SET "default" 0.0;
30558                transition: SINUSOIDAL 1.0;
30559                target: "busy_clip";
30560                after: "stop2";
30561            }
30562          program { name: "stop2";
30563             action: ACTION_STOP;
30564             target: "go2";
30565          }
30566       }
30567    }
30568
30569    ///////////////////////////////////////////////////////////////////////////////
30570    group { name: "elm/map/base/default";
30571        script {
30572            public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
30573            public timer0(val) {
30574                new v;
30575                v = get_int(sbvis_v);
30576                if (v) {
30577                    v = get_int(sbalways_v);
30578                    if (!v) {
30579                        emit("do-hide-vbar", "");
30580                        set_int(sbvis_v, 0);
30581                    }
30582                }
30583                v = get_int(sbvis_h);
30584                if (v) {
30585                    v = get_int(sbalways_h);
30586                    if (!v) {
30587                        emit("do-hide-hbar", "");
30588                        set_int(sbvis_h, 0);
30589                    }
30590                }
30591                set_int(sbvis_timer, 0);
30592                return 0;
30593            }
30594        }
30595        images {
30596            image: "shelf_inset.png" COMP;
30597            image: "bt_sm_base2.png" COMP;
30598            image: "bt_sm_shine.png" COMP;
30599            image: "bt_sm_hilight.png" COMP;
30600            image: "busy-1.png" COMP;
30601            image: "busy-2.png" COMP;
30602            image: "busy-3.png" COMP;
30603            image: "busy-4.png" COMP;
30604            image: "busy-5.png" COMP;
30605            image: "busy-6.png" COMP;
30606            image: "busy-7.png" COMP;
30607            image: "busy-8.png" COMP;
30608            image: "busy-9.png" COMP;
30609        }
30610        parts {
30611            part { name: "bg";
30612                type: RECT;
30613                description { state: "default" 0.0;
30614                    rel1.offset: 1 1;
30615                    rel2.offset: -2 -2;
30616                    color: 255 255 255 0;
30617                }
30618            }
30619            part { name: "clipper";
30620                type: RECT;
30621                mouse_events: 0;
30622                description { state: "default" 0.0;
30623                    rel1.to: "bg";
30624                    rel2.to: "bg";
30625                }
30626            }
30627            part { name: "elm.swallow.content";
30628                clip_to: "clipper";
30629                type: SWALLOW;
30630                description { state: "default" 0.0;
30631                    rel1.offset: 1 1;
30632                    rel2.offset: -2 -2;
30633                }
30634            }
30635            part { name: "busy_clip";
30636                type: RECT;
30637                mouse_events: 0;
30638                description { state: "default" 0.0;
30639                    visible: 0;
30640                    color: 255 255 255 0;
30641                }
30642                description { state: "active" 0.0;
30643                    visible: 1;
30644                    color: 255 255 255 255;
30645                }
30646            }
30647            part { name: "busy";
30648                clip_to: "busy_clip";
30649                mouse_events: 0;
30650                description { state: "default" 0.0;
30651                    fixed: 1 1;
30652                    min: 32 32;
30653                    aspect: 1.0 1.0;
30654                    align: 1.0 1.0;
30655                    aspect_preference: BOTH;
30656                    rel1 {
30657                        relative: 0.9 0.9;
30658                        offset:   -9 -9;
30659                    }
30660                    rel2 {
30661                        relative: 0.9 0.9;
30662                        offset:   -9 -9;
30663                    }
30664                    image {
30665                        normal: "busy-9.png";
30666                        tween:  "busy-1.png";
30667                        tween:  "busy-2.png";
30668                        tween:  "busy-3.png";
30669                        tween:  "busy-4.png";
30670                        tween:  "busy-5.png";
30671                        tween:  "busy-6.png";
30672                        tween:  "busy-7.png";
30673                        tween:  "busy-8.png";
30674                    }
30675                }
30676            }
30677            part { name: "conf_over";
30678                mouse_events:  0;
30679                description { state: "default" 0.0;
30680                    rel1.offset: 0 0;
30681                    rel2.offset: -1 -1;
30682                    image {
30683                        normal: "shelf_inset.png";
30684                        border: 7 7 7 7;
30685                        middle: 0;
30686                    }
30687                    fill.smooth : 0;
30688                }
30689            }
30690            part { name: "sb_vbar_clip_master";
30691                type: RECT;
30692                mouse_events: 0;
30693                description { state: "default" 0.0;
30694                }
30695                description { state: "hidden" 0.0;
30696                    visible: 0;
30697                    color: 255 255 255 0;
30698                }
30699            }
30700            part { name: "sb_vbar_clip";
30701                clip_to: "sb_vbar_clip_master";
30702                type: RECT;
30703                mouse_events: 0;
30704                description { state: "default" 0.0;
30705                }
30706                description { state: "hidden" 0.0;
30707                    visible: 0;
30708                    color: 255 255 255 0;
30709                }
30710            }
30711            part { name: "sb_vbar";
30712                type: RECT;
30713                mouse_events: 0;
30714                description { state: "default" 0.0;
30715                    fixed: 1 1;
30716                    visible: 0;
30717                    min: 10 17;
30718                    align: 1.0 0.0;
30719                    rel1 {
30720                        relative: 1.0 0.0;
30721                        offset:   -2 0;
30722                    }
30723                    rel2 {
30724                        relative: 1.0 0.0;
30725                        offset:   -2 -1;
30726                        to_y:     "sb_hbar";
30727                    }
30728                }
30729            }
30730            part { name: "elm.dragable.vbar";
30731                clip_to: "sb_vbar_clip";
30732                mouse_events: 0;
30733                dragable {
30734                    x: 0 0 0;
30735                    y: 1 1 0;
30736                    confine: "sb_vbar";
30737                }
30738                description { state: "default" 0.0;
30739                    fixed: 1 1;
30740                    min: 10 17;
30741                    max: 10 99999;
30742                    rel1 {
30743                        relative: 0.5  0.5;
30744                        offset:   0    0;
30745                        to: "sb_vbar";
30746                    }
30747                    rel2 {
30748                        relative: 0.5  0.5;
30749                        offset:   0    0;
30750                        to: "sb_vbar";
30751                    }
30752                    image {
30753                        normal: "bt_sm_base2.png";
30754                        border: 6 6 6 6;
30755                        middle: SOLID;
30756                    }
30757                }
30758            }
30759            part { name: "sb_vbar_over1";
30760                clip_to: "sb_vbar_clip";
30761                mouse_events: 0;
30762                description { state: "default" 0.0;
30763                    rel1.to: "elm.dragable.vbar";
30764                    rel2.relative: 1.0 0.5;
30765                    rel2.to: "elm.dragable.vbar";
30766                    image {
30767                        normal: "bt_sm_hilight.png";
30768                        border: 6 6 6 0;
30769                    }
30770                }
30771            }
30772            part { name: "sb_vbar_over2";
30773                clip_to: "sb_vbar_clip";
30774                mouse_events: 0;
30775                description { state: "default" 0.0;
30776                    rel1.to: "elm.dragable.vbar";
30777                    rel2.to: "elm.dragable.vbar";
30778                    image {
30779                        normal: "bt_sm_shine.png";
30780                        border: 6 6 6 0;
30781                    }
30782                }
30783            }
30784
30785            part { name: "sb_hbar_clip_master";
30786                type: RECT;
30787                mouse_events: 0;
30788                description { state: "default" 0.0;
30789                }
30790                description { state: "hidden" 0.0;
30791                    visible: 0;
30792                    color: 255 255 255 0;
30793                }
30794            }
30795            part { name: "sb_hbar_clip";
30796                clip_to: "sb_hbar_clip_master";
30797                type: RECT;
30798                mouse_events: 0;
30799                description { state: "default" 0.0;
30800                }
30801                description { state: "hidden" 0.0;
30802                    visible: 0;
30803                    color: 255 255 255 0;
30804                }
30805            }
30806            part { name: "sb_hbar";
30807                type: RECT;
30808                mouse_events: 0;
30809                description { state: "default" 0.0;
30810                    fixed: 1 1;
30811                    visible: 0;
30812                    min: 17 10;
30813                    align: 0.0 1.0;
30814                    rel1 {
30815                        relative: 0.0 1.0;
30816                        offset:   0 -2;
30817                    }
30818                    rel2 {
30819                        relative: 0.0 1.0;
30820                        offset:   -1 -2;
30821                        to_x:     "sb_vbar";
30822                    }
30823                }
30824            }
30825            part { name: "elm.dragable.hbar";
30826                clip_to: "sb_hbar_clip";
30827                mouse_events: 0;
30828                dragable {
30829                    x: 1 1 0;
30830                    y: 0 0 0;
30831                    confine: "sb_hbar";
30832                }
30833                description { state: "default" 0.0;
30834                    fixed: 1 1;
30835                    min: 17 10;
30836                    max: 99999 10;
30837                    rel1 {
30838                        relative: 0.5  0.5;
30839                        offset:   0    0;
30840                        to: "sb_hbar";
30841                    }
30842                    rel2 {
30843                        relative: 0.5  0.5;
30844                        offset:   0    0;
30845                        to: "sb_hbar";
30846                    }
30847                    image {
30848                        normal: "bt_sm_base2.png";
30849                        border: 4 4 4 4;
30850                        middle: SOLID;
30851                    }
30852                }
30853            }
30854            part { name: "sb_hbar_over1";
30855                clip_to: "sb_hbar_clip";
30856                mouse_events: 0;
30857                description { state: "default" 0.0;
30858                    rel1.to: "elm.dragable.hbar";
30859                    rel2.relative: 1.0 0.5;
30860                    rel2.to: "elm.dragable.hbar";
30861                    image {
30862                        normal: "bt_sm_hilight.png";
30863                        border: 4 4 4 0;
30864                    }
30865                }
30866            }
30867            part { name: "sb_hbar_over2";
30868                clip_to: "sb_hbar_clip";
30869                mouse_events: 0;
30870                description { state: "default" 0.0;
30871                    rel1.to: "elm.dragable.hbar";
30872                    rel2.to: "elm.dragable.hbar";
30873                    image {
30874                        normal: "bt_sm_shine.png";
30875                        border: 4 4 4 0;
30876                    }
30877                }
30878            }
30879        }
30880        programs {
30881            program { name: "load";
30882                signal: "load";
30883                source: "";
30884                script {
30885                    set_state(PART:"sb_hbar_clip", "hidden", 0.0);
30886                    set_state(PART:"sb_vbar_clip", "hidden", 0.0);
30887                    set_int(sbvis_h, 0);
30888                    set_int(sbvis_v, 0);
30889                    set_int(sbalways_v, 0);
30890                    set_int(sbalways_h, 0);
30891                    set_int(sbvis_timer, 0);
30892                }
30893            }
30894
30895            program { name: "vbar_show";
30896                signal: "elm,action,show,vbar";
30897                source: "elm";
30898                action:  STATE_SET "default" 0.0;
30899                target: "sb_vbar_clip_master";
30900            }
30901            program { name: "vbar_hide";
30902                signal: "elm,action,hide,vbar";
30903                source: "elm";
30904                action:  STATE_SET "hidden" 0.0;
30905                target: "sb_vbar_clip_master";
30906            }
30907            program { name: "vbar_show_always";
30908                signal: "elm,action,show_always,vbar";
30909                source: "elm";
30910                script {
30911                    new v;
30912                    v = get_int(sbvis_v);
30913                    v |= get_int(sbalways_v);
30914                    if (!v) {
30915                        set_int(sbalways_v, 1);
30916                        emit("do-show-vbar", "");
30917                        set_int(sbvis_v, 1);
30918                    }
30919                }
30920            }
30921            program { name: "vbar_show_notalways";
30922                signal: "elm,action,show_notalways,vbar";
30923                source: "elm";
30924                script {
30925                    new v;
30926                    v = get_int(sbalways_v);
30927                    if (v) {
30928                        set_int(sbalways_v, 0);
30929                        v = get_int(sbvis_v);
30930                        if (!v) {
30931                            emit("do-hide-vbar", "");
30932                            set_int(sbvis_v, 0);
30933                        }
30934                    }
30935                }
30936            }
30937            program { name: "sb_vbar_show";
30938                signal: "do-show-vbar";
30939                source: "";
30940                action:  STATE_SET "default" 0.0;
30941                transition: LINEAR 0.5;
30942                target: "sb_vbar_clip";
30943            }
30944            program { name: "sb_vbar_hide";
30945                signal: "do-hide-vbar";
30946                source: "";
30947                action:  STATE_SET "hidden" 0.0;
30948                transition: LINEAR 0.5;
30949                target: "sb_vbar_clip";
30950            }
30951
30952            program { name: "hbar_show";
30953                signal: "elm,action,show,hbar";
30954                source: "elm";
30955                action:  STATE_SET "default" 0.0;
30956                target: "sb_hbar_clip_master";
30957            }
30958            program { name: "hbar_hide";
30959                signal: "elm,action,hide,hbar";
30960                source: "elm";
30961                action:  STATE_SET "hidden" 0.0;
30962                target: "sb_hbar_clip_master";
30963            }
30964            program { name: "hbar_show_always";
30965                signal: "elm,action,show_always,hbar";
30966                source: "elm";
30967                script {
30968                    new v;
30969                    v = get_int(sbvis_h);
30970                    v |= get_int(sbalways_h);
30971                    if (!v) {
30972                        set_int(sbalways_h, 1);
30973                        emit("do-show-hbar", "");
30974                        set_int(sbvis_h, 1);
30975                    }
30976                }
30977            }
30978            program { name: "hbar_show_notalways";
30979                signal: "elm,action,show_notalways,hbar";
30980                source: "elm";
30981                script {
30982                    new v;
30983                    v = get_int(sbalways_h);
30984                    if (v) {
30985                        set_int(sbalways_h, 0);
30986                        v = get_int(sbvis_h);
30987                        if (!v) {
30988                            emit("do-hide-hbar", "");
30989                            set_int(sbvis_h, 0);
30990                        }
30991                    }
30992                }
30993            }
30994            program { name: "sb_hbar_show";
30995                signal: "do-show-hbar";
30996                source: "";
30997                action:  STATE_SET "default" 0.0;
30998                transition: LINEAR 0.5;
30999                target: "sb_hbar_clip";
31000            }
31001            program { name: "sb_hbar_hide";
31002                signal: "do-hide-hbar";
31003                source: "";
31004                action:  STATE_SET "hidden" 0.0;
31005                transition: LINEAR 0.5;
31006                target: "sb_hbar_clip";
31007            }
31008
31009            program { name: "scroll";
31010                signal: "elm,action,scroll";
31011                source: "elm";
31012                script {
31013                    new v;
31014                    v = get_int(sbvis_v);
31015                    v |= get_int(sbalways_v);
31016                    if (!v) {
31017                        emit("do-show-vbar", "");
31018                        set_int(sbvis_v, 1);
31019                    }
31020                    v = get_int(sbvis_h);
31021                    v |= get_int(sbalways_h);
31022                    if (!v) {
31023                        emit("do-show-hbar", "");
31024                        set_int(sbvis_h, 1);
31025                    }
31026                    v = get_int(sbvis_timer);
31027                    if (v > 0) cancel_timer(v);
31028                    v = timer(1.0, "timer0", 0);
31029                    set_int(sbvis_timer, v);
31030                }
31031            }
31032            program { name: "go1";
31033                signal: "elm,state,busy,start";
31034                source: "elm";
31035                action: STATE_SET "active" 0.0;
31036                transition: SINUSOIDAL 1.0;
31037                target:  "busy_clip";
31038            }
31039            program { name: "go2";
31040                signal: "elm,state,busy,start";
31041                source: "elm";
31042                action: STATE_SET "default" 0.0;
31043                transition: LINEAR 0.5;
31044                target: "busy";
31045                after:  "go2";
31046            }
31047            program { name: "stop1";
31048                signal: "elm,state,busy,stop";
31049                source: "elm";
31050                action: STATE_SET "default" 0.0;
31051                transition: SINUSOIDAL 1.0;
31052                target: "busy_clip";
31053                after: "stop2";
31054            }
31055          program { name: "stop2";
31056             action: ACTION_STOP;
31057             target: "go2";
31058          }
31059       }
31060    }
31061    group { name: "elm/map/marker/radio/default";
31062         data {
31063             item: size_w 24;
31064             item: size_h 24;
31065             item: size_max_w 58;
31066             item: size_max_h 58;
31067         }
31068         images {
31069                 image: "map_item.png" COMP;
31070         }
31071         parts {
31072             part { name: "whole";
31073                 description { state: "default" 0.0;
31074                 }
31075             }
31076             part { name: "base";
31077                 ignore_flags: ON_HOLD;
31078                 description { state: "default" 0.0;
31079                     image.normal: "map_item.png";
31080                 }
31081             }
31082             part { name: "elm.icon";
31083                 type: SWALLOW;
31084                 clip_to: "whole";
31085                 mouse_events:  0;
31086                 description { state: "default" 0.0;
31087                     rel1.relative: 0.27 0.27;
31088                     rel2.relative: 0.73 0.73;
31089                 }
31090             }
31091             part { name: "elm.text";
31092                 type:          TEXT;
31093                 effect:        SOFT_SHADOW;
31094                 mouse_events:  0;
31095                 scale: 1;
31096                 description { state: "default" 0.0;
31097                     align:    0.5 0.5;
31098                     color: 224 224 224 255;
31099                     color3: 0 0 0 64;
31100                     rel1.relative: 0.28 0.25;
31101                     rel2.relative: 0.75 0.75;
31102                     text {
31103                         font:     "Sans,Edje-Vera";
31104                         size:     10;
31105                         min:      0 0;
31106                         align:    0.5 0.5;
31107                     }
31108                 }
31109             }
31110        }
31111        programs {
31112             program { name: "open";
31113                 signal: "mouse,clicked,1";
31114                 source: "base";
31115                 action: SIGNAL_EMIT "open" "elm";
31116             }
31117             program { name: "bringin";
31118                 signal: "mouse,down,1,double";
31119                 source: "base";
31120                 action: SIGNAL_EMIT "bringin" "elm";
31121             }
31122        }
31123    }
31124    group { name: "elm/map/marker/radio2/default";
31125         data {
31126             item: size_w 24;
31127             item: size_h 24;
31128             item: size_max_w 58;
31129             item: size_max_h 58;
31130         }
31131         images {
31132                 image: "map_item_2.png" COMP;
31133         }
31134         parts {
31135             part { name: "base";
31136                 ignore_flags: ON_HOLD;
31137                 description { state: "default" 0.0;
31138                     image.normal: "map_item_2.png";
31139                 }
31140             }
31141             part { name: "elm.text";
31142                 type:          TEXT;
31143                 effect:        SOFT_SHADOW;
31144                 mouse_events:  0;
31145                 scale: 1;
31146                 description { state: "default" 0.0;
31147                     align:    0.5 0.5;
31148                     color: 224 224 224 255;
31149                     color3: 0 0 0 64;
31150                     rel1.relative: 0.28 0.25;
31151                     rel2.relative: 0.75 0.75;
31152                     text {
31153                         font:     "Sans,Edje-Vera";
31154                         size:     10;
31155                         min:      0 0;
31156                         align:    0.5 0.5;
31157                     }
31158                 }
31159             }
31160        }
31161        programs {
31162             program { name: "open";
31163                 signal: "mouse,clicked,1";
31164                 source: "base";
31165                 action: SIGNAL_EMIT "open" "elm";
31166             }
31167             program { name: "bringin";
31168                 signal: "mouse,down,1,double";
31169                 source: "base";
31170                 action: SIGNAL_EMIT "bringin" "elm";
31171             }
31172        }
31173    }
31174    group { name: "elm/map/marker/empty/default";
31175         data {
31176             item: size_w 22;
31177             item: size_h 22;
31178             item: size_max_w 64;
31179             item: size_max_h 64;
31180         }
31181         parts {
31182             part { name: "whole";
31183                 description { state: "default" 0.0;
31184                 }
31185             }
31186             part { name: "base";
31187                 ignore_flags: ON_HOLD;
31188                 description { state: "default" 0.0;
31189                 }
31190             }
31191             part { name: "elm.icon";
31192                 type: SWALLOW;
31193                 clip_to: "whole";
31194                 mouse_events:  0;
31195                 description { state: "default" 0.0;
31196                 }
31197             }
31198             part { name: "elm.text";
31199                 type:          TEXT;
31200                 effect:        SOFT_SHADOW;
31201                 mouse_events:  0;
31202                 scale: 1;
31203                 description { state: "default" 0.0;
31204                     align:    0.5 0.5;
31205                     color: 224 224 224 255;
31206                     color3: 0 0 0 64;
31207                     rel1.relative: 0.28 0.25;
31208                     rel2.relative: 0.75 0.75;
31209                     text {
31210                         font:     "Sans,Edje-Vera";
31211                         size:     10;
31212                         min:      0 0;
31213                         align:    0.5 0.5;
31214                     }
31215                 }
31216             }
31217        }
31218        programs {
31219             program { name: "open";
31220                 signal: "mouse,clicked,1";
31221                 source: "base";
31222                 action: SIGNAL_EMIT "open" "elm";
31223             }
31224             program { name: "bringin";
31225                 signal: "mouse,down,1,double";
31226                 source: "base";
31227                 action: SIGNAL_EMIT "bringin" "elm";
31228             }
31229        }
31230    }
31231    group { name: "elm/map/marker_bubble/default";
31232     images {
31233       image: "bubble.png" COMP;
31234       image: "bubble_shine.png" COMP;
31235     }
31236     data {
31237             item: size_w 400;
31238             item: size_h 100;
31239         }
31240     parts {
31241     part { name: "clipper";
31242         mouse_events:  1;
31243         description { state: "default" 0.0;
31244           color: 255 255 255 0;
31245         }
31246         description { state: "show" 0.0;
31247             inherit: "default" 0.0;
31248             color: 255 255 255 255;
31249         }
31250       }
31251      part { name: "base0";
31252         mouse_events:  0;
31253         clip_to: "clipper";
31254         description { state: "default" 0.0;
31255           image {
31256             normal: "bubble.png";
31257             border: 11 36 10 19;
31258           }
31259           image.middle: SOLID;
31260           fill.smooth: 0;
31261         }
31262         description { state: "rtl" 0.0;
31263            inherit: "default" 0.0;
31264            image {
31265               normal: "bubble_4.png";
31266               border: 11 36 18 9;
31267            }
31268         }
31269       }
31270       part { name: "elm.swallow.content";
31271         type: SWALLOW;
31272         clip_to: "clipper";
31273         description { state: "default" 0.0;
31274             align: 0.5 0.5;
31275           rel1 {
31276             offset: 9 8;
31277           }
31278           rel2 {
31279             offset: -10 -17;
31280           }
31281         }
31282       }
31283       part { name: "shine";
31284         mouse_events:  0;
31285         clip_to: "clipper";
31286         description { state:    "default" 0.0;
31287           rel1 {
31288             to: "base0";
31289           }
31290           rel2 {
31291             to: "base0";
31292             relative: 1.0 0.5;
31293           }
31294           image {
31295             normal: "bubble_shine.png";
31296             border: 5 5 5 0;
31297           }
31298           fill.smooth: 0;
31299         }
31300         }
31301     }
31302     programs {
31303         program { name: "show";
31304             signal: "show";
31305             action: STATE_SET "show" 0.0;
31306             target: "clipper";
31307             transition: ACCELERATE 0.5;
31308         }
31309     }
31310   }
31311
31312 /////////////////////////////////////////////////////////////////////////////
31313 // PANES
31314 /////////////////////////////////////////////////////////////////////////////
31315   group {
31316      name: "elm/panes/vertical/default";
31317       images {
31318          image: "bt_base1.png" COMP;
31319          image: "bt_base2.png" COMP;
31320          image: "bt_hilight.png" COMP;
31321          image: "bt_shine.png" COMP;
31322          image: "bt_glow.png" COMP;
31323          image: "bt_dis_base.png" COMP;
31324          image: "bt_dis_hilight.png" COMP;
31325          image: "arrow_right.png" COMP;
31326          image: "arrow_left.png" COMP;
31327       }
31328      parts
31329        {
31330           part
31331             {
31332                name: "whole";
31333                type: RECT;
31334                mouse_events: 0;
31335                description
31336                  {
31337                     state: "default" 0.0;
31338                     visible: 0;
31339                  }
31340             }
31341
31342          //2 contents
31343           part
31344             {
31345                name: "whole_left";
31346                type: RECT;
31347                mouse_events: 0;
31348                description
31349                  {
31350                     state: "default" 0.0;
31351                     rel2.to_x: "elm.bar";
31352                     rel2.relative: 0.0 1.0;
31353                     visible: 1;
31354                  }
31355             }
31356           part
31357             {
31358                name: "elm.swallow.left";
31359                type: SWALLOW;
31360                clip_to: "whole_left";
31361                description
31362                  {
31363                     state: "default" 0.0;
31364                     rel1.to: "whole_left";
31365                     rel2.to: "whole_left";
31366                  }
31367             }
31368
31369             part
31370             {
31371                name: "whole_right";
31372                type: RECT;
31373                mouse_events: 0;
31374                description
31375                  {
31376                     state: "default" 0.0;
31377                     rel1.to_x: "elm.bar";
31378                     rel1.relative: 1.0 0.0;
31379                     visible: 1;
31380                  }
31381             }
31382           part
31383             {
31384                name: "elm.swallow.right";
31385                type: SWALLOW;
31386                clip_to: "whole_right";
31387                description
31388                  {
31389                     state: "default" 0.0;
31390                     rel1.to: "whole_right";
31391                     rel2.to: "whole_right";
31392                  }
31393             }
31394          //BAR
31395          part { name: "elm.bar";
31396             mouse_events: 1;
31397             dragable {
31398                confine: "whole";
31399                x: 1 1 1;
31400                y: 0 0 0;
31401             }
31402             description { state: "default" 0.0;
31403                max: 15 9999;
31404                min: 15 100;
31405                rel1.relative: 0.0 0.5;
31406                rel2.relative: 1.0 0.5;
31407                image {
31408                   normal: "bt_base2.png";
31409                   border: 7 7 7 7;
31410                }
31411                image.middle: SOLID;
31412             }
31413             description { state: "clicked" 0.0;
31414                inherit: "default" 0.0;
31415                image.normal: "bt_base1.png";
31416                image.middle: SOLID;
31417             }
31418             description { state: "disabled" 0.0;
31419                inherit:  "default" 0.0;
31420                image {
31421                   normal: "bt_dis_base.png";
31422                   border: 4 4 4 4;
31423                }
31424             }
31425          }
31426          part {          name: "over1";
31427             mouse_events: 0;
31428             description { state: "default" 0.0;
31429             rel1.to: "elm.bar";
31430             rel2.to: "elm.bar";
31431                rel2.relative: 1.0 0.5;
31432                image {
31433                   normal: "bt_hilight.png";
31434                   border: 7 7 7 0;
31435                }
31436             }
31437             description { state: "disabled" 0.0;
31438                inherit:  "default" 0.0;
31439                image {
31440                   normal: "bt_dis_hilight.png";
31441                   border: 4 4 4 0;
31442                }
31443             }
31444          }
31445          part { name: "over2";
31446             mouse_events: 1;
31447             repeat_events: 1;
31448             ignore_flags: ON_HOLD;
31449             description { state: "default" 0.0;
31450             rel1.to: "elm.bar";
31451             rel2.to: "elm.bar";
31452                image {
31453                   normal: "bt_shine.png";
31454                   border: 7 7 7 7;
31455                }
31456             }
31457             description { state: "disabled" 0.0;
31458                inherit:  "default" 0.0;
31459                visible: 0;
31460             }
31461          }
31462          part { name: "over3";
31463             mouse_events: 1;
31464             repeat_events: 1;
31465             description { state: "default" 0.0;
31466                color: 255 255 255 0;
31467             rel1.to: "elm.bar";
31468             rel2.to: "elm.bar";
31469                image {
31470                   normal: "bt_glow.png";
31471                   border: 12 12 12 12;
31472                }
31473                fill.smooth : 0;
31474             }
31475             description { state: "clicked" 0.0;
31476                inherit:  "default" 0.0;
31477                visible: 1;
31478                color: 255 255 255 255;
31479             }
31480          }
31481
31482          //Arrow
31483          part {
31484             name: "arrow_right";
31485             repeat_events: 1;
31486             description { state: "default" 0.0;
31487                 min: 45 45;
31488                 max: 45 45;
31489                 color: 255 255 255 0;
31490
31491                 rel1.relative: 1.0 0.5;
31492                 rel1.to_x: "elm.bar";
31493                 rel1.offset: 45/2 -45/2;
31494
31495                 rel2.relative: 1.0 0.5;
31496                 rel2.to_x: "elm.bar";
31497                 rel2.offset: 45/2 45/2;
31498
31499                 image.normal: "arrow_right.png";
31500
31501                 fixed: 1 1;
31502             }
31503             description { state: "default" 0.1;
31504                 inherit: "default" 0.0;
31505                 image.normal: "arrow_left.png";
31506             }
31507             description { state: "anim_1" 0.0;
31508                 inherit: "default" 0.0;
31509                 color: 255 255 255 200;
31510                 rel1.offset: (45/2 + 10) -45/2;
31511                 rel2.offset: (45/2 +10) 45/2;
31512             }
31513             description { state: "anim_1" 0.1;
31514                 inherit: "default" 0.0;
31515                 image.normal: "arrow_left.png";
31516                 color: 255 255 255 200;
31517                 rel1.offset: (45/2 + 10) -45/2;
31518                 rel2.offset: (45/2 +10) 45/2;
31519             }
31520             description { state: "anim_2" 0.0;
31521                 inherit: "default" 0.0;
31522                 color: 255 255 255 0;
31523                 rel1.offset: (45/2 + 20) -45/2;
31524                 rel2.offset: (45/2 + 20) 45/2;
31525             }
31526             description { state: "anim_2" 0.1;
31527                 inherit: "default" 0.0;
31528                 image.normal: "arrow_left.png";
31529                 color: 255 255 255 0;
31530                 rel1.offset: (45/2 + 20) -45/2;
31531                 rel2.offset: (45/2 + 20) 45/2;
31532             }
31533          }
31534         part {
31535             name: "arrow_left";
31536             repeat_events: 1;
31537             description { state: "default" 0.0;
31538                 min: 45 45;
31539                 max: 45 45;
31540                 color: 255 255 255 0;
31541
31542                 rel1.relative: 0.0 0.5;
31543                 rel1.to_x: "elm.bar";
31544                 rel1.offset: -45/2 -45/2;
31545
31546                 rel2.relative: 0.0 0.5;
31547                 rel2.to_x: "elm.bar";
31548                 rel2.offset: -45/2 45/2;
31549
31550                 image.normal: "arrow_left.png";
31551
31552                 fixed: 1 1;
31553             }
31554             description { state: "default" 0.1;
31555                 inherit: "default" 0.0;
31556                 image.normal: "arrow_right.png";
31557             }
31558             description { state: "anim_1" 0.0;
31559                 inherit: "default" 0.0;
31560                 color: 255 255 255 200;
31561                 rel1.offset: (-45/2 - 10) -45/2;
31562                 rel2.offset: (-45/2 - 10) 45/2;
31563             }
31564             description { state: "anim_1" 0.1;
31565                 inherit: "default" 0.0;
31566                 image.normal: "arrow_right.png";
31567                 color: 255 255 255 200;
31568                 rel1.offset: (-45/2 - 10) -45/2;
31569                 rel2.offset: (-45/2 - 10) 45/2;
31570             }
31571             description { state: "anim_2" 0.0;
31572                 inherit: "default" 0.0;
31573                 color: 255 255 255 0;
31574                 rel1.offset: (-45/2 - 20) -45/2;
31575                 rel2.offset: (-45/2 - 20) 45/2;
31576             }
31577             description { state: "anim_2" 0.1;
31578                 inherit: "default" 0.0;
31579                 image.normal: "arrow_right.png";
31580                 color: 255 255 255 0;
31581                 rel1.offset: (-45/2 - 20) -45/2;
31582                 rel2.offset: (-45/2 - 20) 45/2;
31583             }
31584          }
31585
31586        }
31587         programs {
31588          program {
31589             name:   "button_click";
31590             signal: "mouse,down,1";
31591             source: "over2";
31592             action: SIGNAL_EMIT "elm,action,press" "";
31593             after: "button_click_anim";
31594             after: "arrow_anim_start";
31595          }
31596          program {
31597             name:   "button_click_anim";
31598             action: STATE_SET "clicked" 0.0;
31599             target: "elm.bar";
31600          }
31601          program {
31602             name:   "button_unclick";
31603             signal: "mouse,up,1";
31604             source: "over2";
31605             action: SIGNAL_EMIT "elm,action,unpress" "";
31606             after: "button_unclick_anim";
31607             after: "arrow_anim_stop";
31608          }
31609          program {
31610             name:   "button_unclick_anim";
31611             action: STATE_SET "default" 0.0;
31612             target: "elm.bar";
31613          }
31614          program {
31615             name:   "button_click2";
31616             signal: "mouse,down,1";
31617             source: "over3";
31618             action: STATE_SET "clicked" 0.0;
31619             target: "over3";
31620          }
31621          program {
31622             name:   "button_unclick2";
31623             signal: "mouse,up,1";
31624             source: "over3";
31625             action: STATE_SET "default" 0.0;
31626             transition: DECELERATE 0.5;
31627             target: "over3";
31628          }
31629          program {
31630             name:   "button_unclick3";
31631             signal: "mouse,up,1";
31632             source: "over2";
31633             action: SIGNAL_EMIT "elm,action,click" "";
31634          }
31635          program {
31636             name:   "button_down_double";
31637             signal: "mouse,down,1,double";
31638             source: "over3";
31639             action: SIGNAL_EMIT "elm,action,click,double" "";
31640          }
31641
31642          //arrows animation
31643          program {
31644             name: "arrow_anim_start";
31645             script {
31646                new st[31];
31647                new Float:vl;
31648                get_state(PART:"arrow_left", st, 30, vl);
31649                if (vl == 0.0) {
31650                   run_program(PROGRAM:"arrow_anim_start_ltr");
31651                }
31652                else {
31653                   run_program(PROGRAM:"arrow_anim_start_rtl");
31654                }
31655             }
31656          }
31657          program {
31658             name: "arrow_anim_stop";
31659             script {
31660                new st[31];
31661                new Float:vl;
31662                get_state(PART:"arrow_left", st, 30, vl);
31663                if (vl == 0.0) {
31664                   run_program(PROGRAM:"arrow_anim_stop_ltr");
31665                }
31666                else {
31667                   run_program(PROGRAM:"arrow_anim_stop_rtl");
31668                }
31669             }
31670          }
31671
31672          program {
31673             name: "arrow_anim_start_ltr";
31674             action: STATE_SET "anim_1" 0.0;
31675             target: "arrow_right";
31676             target: "arrow_left";
31677             transition: LINEAR 0.6;
31678             after: "arrow_anim_1_ltr";
31679          }
31680          program {
31681             name: "arrow_anim_1_ltr";
31682             action: STATE_SET "anim_2" 0.0;
31683             target: "arrow_right";
31684             target: "arrow_left";
31685             transition: LINEAR 0.6;
31686             after: "arrow_anim_2_ltr";
31687          }
31688          program {
31689             name: "arrow_anim_2_ltr";
31690             action: STATE_SET "default" 0.0;
31691             target: "arrow_right";
31692             target: "arrow_left";
31693             after: "arrow_anim_start_ltr";
31694          }
31695          program {
31696             name: "arrow_anim_stop_ltr";
31697             action: ACTION_STOP;
31698             target: "arrow_anim_start_ltr";
31699             target: "arrow_anim_1_ltr";
31700             target: "arrow_anim_2_ltr";
31701             after: "arrow_anim_stop_1_ltr";
31702          }
31703          program {
31704             name: "arrow_anim_stop_1_ltr";
31705             action: STATE_SET "default" 0.0;
31706             target: "arrow_right";
31707             target: "arrow_left";
31708             transition: DECELERATE 0.4;
31709         }
31710          program {
31711             name: "arrow_anim_start_rtl";
31712             action: STATE_SET "anim_1" 0.1;
31713             target: "arrow_right";
31714             target: "arrow_left";
31715             transition: LINEAR 0.6;
31716             after: "arrow_anim_1_rtl";
31717          }
31718          program {
31719             name: "arrow_anim_1_rtl";
31720             action: STATE_SET "anim_2" 0.1;
31721             target: "arrow_right";
31722             target: "arrow_left";
31723             transition: LINEAR 0.6;
31724             after: "arrow_anim_2_rtl";
31725          }
31726          program {
31727             name: "arrow_anim_2_rtl";
31728             action: STATE_SET "default" 0.1;
31729             target: "arrow_right";
31730             target: "arrow_left";
31731             after: "arrow_anim_start_rtl";
31732          }
31733          program {
31734             name: "arrow_anim_stop_rtl";
31735             action: ACTION_STOP;
31736             target: "arrow_anim_start_rtl";
31737             target: "arrow_anim_1_rtl";
31738             target: "arrow_anim_2_rtl";
31739             after: "arrow_anim_stop_1_rtl";
31740          }
31741          program {
31742             name: "arrow_anim_stop_1_rtl";
31743             action: STATE_SET "default" 0.1;
31744             target: "arrow_right";
31745             target: "arrow_left";
31746             transition: DECELERATE 0.4;
31747         }
31748          program { name: "to_rtl";
31749             signal: "edje,state,rtl";
31750             source: "edje";
31751             script {
31752                new st[31];
31753                new Float:vl;
31754                get_state(PART:"arrow_left", st, 30, vl);
31755                if (vl == 0.0) {
31756                   set_state(PART:"arrow_left", st, 0.1);
31757                }
31758                get_state(PART:"arrow_right", st, 30, vl);
31759                if (vl == 0.0) {
31760                   set_state(PART:"arrow_right", st, 0.1);
31761                }
31762             }
31763          }
31764          program { name: "to_ltr";
31765             signal: "edje,state,ltr";
31766             source: "edje";
31767             script {
31768                new st[31];
31769                new Float:vl;
31770                get_state(PART:"arrow_left", st, 30, vl);
31771                if (vl == 0.1) {
31772                   set_state(PART:"arrow_left", st, 0.0);
31773                }
31774                get_state(PART:"arrow_right", st, 30, vl);
31775                if (vl == 0.1) {
31776                   set_state(PART:"arrow_right", st, 0.0);
31777                }
31778             }
31779          }
31780       }
31781   }
31782
31783   group {
31784      name: "elm/panes/horizontal/default";
31785       images {
31786          image: "bt_base1.png" COMP;
31787          image: "bt_base2.png" COMP;
31788          image: "bt_hilight.png" COMP;
31789          image: "bt_shine.png" COMP;
31790          image: "bt_glow.png" COMP;
31791          image: "bt_dis_base.png" COMP;
31792          image: "bt_dis_hilight.png" COMP;
31793          image: "arrow_up.png" COMP;
31794          image: "arrow_down.png" COMP;
31795       }
31796      parts
31797        {
31798           part
31799             {
31800                name: "whole";
31801                type: RECT;
31802                mouse_events: 0;
31803                description
31804                  {
31805                     state: "default" 0.0;
31806                     visible: 0;
31807                  }
31808             }
31809
31810          //2 contents
31811           part
31812             {
31813                name: "whole_left";
31814                type: RECT;
31815                mouse_events: 0;
31816                description
31817                  {
31818                     state: "default" 0.0;
31819                     rel2.to_y: "elm.bar";
31820                     rel2.relative: 1.0 0.0;
31821                     visible: 1;
31822                  }
31823             }
31824           part
31825             {
31826                name: "elm.swallow.left";
31827                type: SWALLOW;
31828                clip_to: "whole_left";
31829                description
31830                  {
31831                     state: "default" 0.0;
31832                     rel1.to: "whole_left";
31833                     rel2.to: "whole_left";
31834                  }
31835             }
31836
31837             part
31838             {
31839                name: "whole_right";
31840                type: RECT;
31841                mouse_events: 0;
31842                description
31843                  {
31844                     state: "default" 0.0;
31845                     rel1.to_y: "elm.bar";
31846                     rel1.relative: 0.0 1.0;
31847                     visible: 1;
31848                  }
31849             }
31850           part
31851             {
31852                name: "elm.swallow.right";
31853                type: SWALLOW;
31854                clip_to: "whole_right";
31855                description
31856                  {
31857                     state: "default" 0.0;
31858                     rel1.to: "whole_right";
31859                     rel2.to: "whole_right";
31860                  }
31861             }
31862          //BAR
31863          part { name: "elm.bar";
31864             mouse_events: 1;
31865             dragable {
31866                confine: "whole";
31867                x: 0 0 0;
31868                y: 1 1 1;
31869             }
31870             description { state: "default" 0.0;
31871                max: 999 15;
31872                min: 100 15;
31873                rel1.relative: 0.5 0.0;
31874                rel2.relative: 0.5 1.0;
31875                image {
31876                   normal: "bt_base2.png";
31877                   border: 7 7 7 7;
31878                }
31879                image.middle: SOLID;
31880             }
31881             description { state: "clicked" 0.0;
31882                inherit: "default" 0.0;
31883                image.normal: "bt_base1.png";
31884                image.middle: SOLID;
31885             }
31886             description { state: "disabled" 0.0;
31887                inherit:  "default" 0.0;
31888                image {
31889                   normal: "bt_dis_base.png";
31890                   border: 4 4 4 4;
31891                }
31892             }
31893          }
31894          part {          name: "over1";
31895             mouse_events: 0;
31896             description { state: "default" 0.0;
31897             rel1.to: "elm.bar";
31898             rel2.to: "elm.bar";
31899                rel2.relative: 1.0 0.5;
31900                image {
31901                   normal: "bt_hilight.png";
31902                   border: 7 7 7 0;
31903                }
31904             }
31905             description { state: "disabled" 0.0;
31906                inherit:  "default" 0.0;
31907                image {
31908                   normal: "bt_dis_hilight.png";
31909                   border: 4 4 4 0;
31910                }
31911             }
31912          }
31913          part { name: "over2";
31914             mouse_events: 1;
31915             repeat_events: 1;
31916             ignore_flags: ON_HOLD;
31917             description { state: "default" 0.0;
31918             rel1.to: "elm.bar";
31919             rel2.to: "elm.bar";
31920                image {
31921                   normal: "bt_shine.png";
31922                   border: 7 7 7 7;
31923                }
31924             }
31925             description { state: "disabled" 0.0;
31926                inherit:  "default" 0.0;
31927                visible: 0;
31928             }
31929          }
31930          part { name: "over3";
31931             mouse_events: 1;
31932             repeat_events: 1;
31933             description { state: "default" 0.0;
31934                color: 255 255 255 0;
31935             rel1.to: "elm.bar";
31936             rel2.to: "elm.bar";
31937                image {
31938                   normal: "bt_glow.png";
31939                   border: 12 12 12 12;
31940                }
31941                fill.smooth : 0;
31942             }
31943             description { state: "clicked" 0.0;
31944                inherit:  "default" 0.0;
31945                visible: 1;
31946                color: 255 255 255 255;
31947             }
31948          }
31949
31950          //Arrow
31951          part {
31952             name: "arrow_right";
31953             repeat_events: 1;
31954             description { state: "default" 0.0;
31955                 min: 45 45;
31956                 max: 45 45;
31957                 color: 255 255 255 0;
31958
31959                 rel1.relative: 0.5 1.0;
31960                 rel1.to_y: "elm.bar";
31961                 rel1.offset: -45/2 45/2;
31962
31963                 rel2.relative: 0.5 1.0;
31964                 rel2.to_y: "elm.bar";
31965                 rel2.offset: 45/2 45/2;
31966
31967                 image.normal: "arrow_down.png";
31968
31969                 fixed: 1 1;
31970             }
31971             description { state: "anim_1" 0.0;
31972                 inherit: "default" 0.0;
31973                 color: 255 255 255 200;
31974                 rel1.offset: -45/2 (45/2 +10);
31975                 rel2.offset: 45/2 (45/2 +10);
31976             }
31977             description { state: "anim_2" 0.0;
31978                 inherit: "default" 0.0;
31979                 color: 255 255 255 0;
31980                 rel1.offset: -45/2 (45/2 + 20);
31981                 rel2.offset: 45/2 (45/2 + 20);
31982             }
31983          }
31984         part {
31985             name: "arrow_left";
31986             repeat_events: 1;
31987             description { state: "default" 0.0;
31988                 min: 45 45;
31989                 max: 45 45;
31990                 color: 255 255 255 0;
31991
31992                 rel1.relative: 0.5 0.0;
31993                 rel1.to_y: "elm.bar";
31994                 rel1.offset: -45/2 -45/2;
31995
31996                 rel2.relative: 0.5 0.0;
31997                 rel2.to_y: "elm.bar";
31998                 rel2.offset: 45/2 -45/2;
31999
32000                 image.normal: "arrow_up.png";
32001
32002                 fixed: 1 1;
32003             }
32004             description { state: "anim_1" 0.0;
32005                 inherit: "default" 0.0;
32006                 color: 255 255 255 200;
32007                 rel1.offset: -45/2 (-45/2 - 10);
32008                 rel2.offset: 45/2 (-45/2 - 10);
32009             }
32010             description { state: "anim_2" 0.0;
32011                 inherit: "default" 0.0;
32012                 color: 255 255 255 0;
32013                 rel1.offset: -45/2 (-45/2 - 20);
32014                 rel2.offset: 45/2 (-45/2 - 20);
32015             }
32016          }
32017
32018        }
32019         programs {
32020          program {
32021             name:   "button_click";
32022             signal: "mouse,down,1";
32023             source: "over2";
32024             action: SIGNAL_EMIT "elm,action,press" "";
32025             after: "button_click_anim";
32026             after: "arrow_anim_start";
32027          }
32028          program {
32029             name:   "button_click_anim";
32030             action: STATE_SET "clicked" 0.0;
32031             target: "elm.bar";
32032          }
32033          program {
32034             name:   "button_unclick";
32035             signal: "mouse,up,1";
32036             source: "over2";
32037             action: SIGNAL_EMIT "elm,action,unpress" "";
32038             after: "button_unclick_anim";
32039             after: "arrow_anim_stop";
32040          }
32041          program {
32042             name:   "button_unclick_anim";
32043             action: STATE_SET "default" 0.0;
32044             target: "elm.bar";
32045          }
32046          program {
32047             name:   "button_click2";
32048             signal: "mouse,down,1";
32049             source: "over3";
32050             action: STATE_SET "clicked" 0.0;
32051             target: "over3";
32052          }
32053          program {
32054             name:   "button_unclick2";
32055             signal: "mouse,up,1";
32056             source: "over3";
32057             action: STATE_SET "default" 0.0;
32058             transition: DECELERATE 0.5;
32059             target: "over3";
32060          }
32061          program {
32062             name:   "button_unclick3";
32063             signal: "mouse,up,1";
32064             source: "over2";
32065             action: SIGNAL_EMIT "elm,action,click" "";
32066          }
32067          program {
32068             name:   "button_down_double";
32069             signal: "mouse,down,1,double";
32070             source: "over3";
32071             action: SIGNAL_EMIT "elm,action,click,double" "";
32072          }
32073
32074          //arrows animation
32075          program {
32076             name: "arrow_anim_start";
32077             action: STATE_SET "anim_1" 0.0;
32078             target: "arrow_right";
32079             target: "arrow_left";
32080             transition: LINEAR 0.6;
32081             after: "arrow_anim_1";
32082          }
32083          program {
32084             name: "arrow_anim_1";
32085             action: STATE_SET "anim_2" 0.0;
32086             target: "arrow_right";
32087             target: "arrow_left";
32088             transition: LINEAR 0.6;
32089             after: "arrow_anim_2";
32090          }
32091          program {
32092             name: "arrow_anim_2";
32093             action: STATE_SET "default" 0.0;
32094             target: "arrow_right";
32095             target: "arrow_left";
32096             after: "arrow_anim_start";
32097          }
32098          program {
32099             name: "arrow_anim_stop";
32100             action: ACTION_STOP;
32101             target: "arrow_anim_start";
32102             target: "arrow_anim_1";
32103             target: "arrow_anim_2";
32104             after: "arrow_anim_stop_1";
32105          }
32106          program {
32107             name: "arrow_anim_stop_1";
32108             action: STATE_SET "default" 0.0;
32109             target: "arrow_right";
32110             target: "arrow_left";
32111             transition: DECELERATE 0.4;
32112         }
32113       }
32114   }
32115
32116
32117
32118 /////////////////////////////////////////////////////////////////////////////
32119 // PANEL
32120 /////////////////////////////////////////////////////////////////////////////
32121   group {
32122      name: "elm/panel/base/left";
32123      alias: "elm/panel/base/top";
32124      images
32125        {
32126           image: "bt_base1.png" COMP;
32127           image: "bt_hilight.png" COMP;
32128           image: "bt_shine.png" COMP;
32129           image: "bt_glow.png" COMP;
32130           image: "bt_dis_base.png" COMP;
32131           image: "icon_arrow_left.png" COMP;
32132           image: "icon_arrow_right.png" COMP;
32133        }
32134        data {
32135           item: "focus_highlight" "on";
32136        }
32137      parts
32138        {
32139             part { name: "focus_highlight";
32140                description { state: "default" 0.0;
32141                   visible: 0;
32142                   color: 255 255 255 0;
32143                   rel1 {
32144                      to: "btn";
32145                      offset: -8 -8;
32146                   }
32147                   rel2 {
32148                      to: "btn";
32149                      offset: 7 7;
32150                   }
32151                   image {
32152                      normal: "frame_2.png";
32153                      border: 5 5 32 26;
32154                      middle: 0;
32155                   }
32156                }
32157                description { state: "enabled" 0.0;
32158                   inherit: "default" 0.0;
32159                   visible: 1;
32160                   color: 255 255 255 255;
32161                }
32162             }
32163           part
32164             {
32165                name: "bg";
32166                type: RECT;
32167                mouse_events: 0;
32168                description
32169                  {
32170                     state: "default" 0.0;
32171                     color: 255 255 255 0;
32172                     rel1.relative: 0.0 0.0;
32173                     rel1.offset: 0 0;
32174                     rel2.relative: 1.0 1.0;
32175                     rel2.offset: -1 -1;
32176                  }
32177                description
32178                  {
32179                     state: "hidden" 0.0;
32180                     inherit: "default" 0.0;
32181                     rel1.relative: -1.0 0.0;
32182                     rel1.offset: 21 0;
32183                     rel2.relative: 0.0 1.0;
32184                     rel2.offset: 20 -1;
32185                  }
32186             }
32187           part
32188             {
32189                name: "base";
32190                type: IMAGE;
32191                mouse_events: 0;
32192                description
32193                  {
32194                     state: "default" 0.0;
32195                     rel1.to: "bg";
32196                     rel2.to: "bg";
32197                     rel2.offset: -20 -1;
32198                     image
32199                       {
32200                          normal: "bt_dis_base.png";
32201                          border: 4 4 4 4;
32202                       }
32203                  }
32204             }
32205           part
32206             {
32207                name: "clipper";
32208                type: RECT;
32209                mouse_events: 0;
32210                description
32211                  {
32212                     state: "default" 0.0;
32213                     rel1
32214                       {
32215                          offset: 4 4;
32216                          to: "base";
32217                       }
32218                     rel2
32219                       {
32220                          offset: -5 -5;
32221                          to: "base";
32222                       }
32223                  }
32224             }
32225           part
32226             {
32227                name: "elm.swallow.content";
32228                type: SWALLOW;
32229                clip_to: "clipper";
32230                description
32231                  {
32232                     state: "default" 0.0;
32233                     rel1.to: "clipper";
32234                     rel2.to: "clipper";
32235                  }
32236             }
32237           part
32238             {
32239                name: "btn";
32240                type: IMAGE;
32241                mouse_events: 1;
32242                description
32243                  {
32244                     state: "default" 0.0;
32245                     max: 32 48;
32246                     fixed: 1 1;
32247                     align: 0.0 0.5;
32248                     rel1
32249                       {
32250                          relative: 1.0 0.0;
32251                          offset: -3 0;
32252                          to_x: "base";
32253                       }
32254                     rel2.to_x: "bg";
32255                     image
32256                       {
32257                          normal: "bt_base1.png";
32258                          border: 0 5 4 12;
32259                       }
32260                     fill.smooth: 0;
32261                  }
32262                description
32263                  {
32264                     state: "clicked" 0.0;
32265                     inherit: "default" 0.0;
32266                  }
32267             }
32268           part
32269             {
32270                name: "btn_over";
32271                type: IMAGE;
32272                mouse_events: 0;
32273                description
32274                  {
32275                     state: "default" 0.0;
32276                     rel1.to: "btn";
32277                     rel2
32278                       {
32279                          relative: 1.0 0.5;
32280                          to: "btn";
32281                       }
32282                     image
32283                       {
32284                          normal: "bt_hilight.png";
32285                          border: 0 7 7 0;
32286                       }
32287                  }
32288             }
32289           part
32290             {
32291                name: "btn_over2";
32292                type: IMAGE;
32293                mouse_events: 1;
32294                repeat_events: 1;
32295                ignore_flags: ON_HOLD;
32296                description
32297                  {
32298                     state: "default" 0.0;
32299                     rel1.to: "btn";
32300                     rel2.to: "btn";
32301                     image
32302                       {
32303                          normal: "bt_shine.png";
32304                          border: 0 7 7 7;
32305                     }
32306                  }
32307             }
32308           part
32309             {
32310                name: "btn_over3";
32311                type: IMAGE;
32312                mouse_events: 1;
32313                repeat_events: 1;
32314                description
32315                  {
32316                     state: "default" 0.0;
32317                     color: 255 255 255 0;
32318                     rel1.to: "btn";
32319                     rel2.to: "btn";
32320                     image
32321                       {
32322                        normal: "bt_glow.png";
32323                        border: 12 12 12 12;
32324                     }
32325                   fill.smooth: 0;
32326                }
32327              description
32328                {
32329                   state: "clicked" 0.0;
32330                   inherit: "default" 0.0;
32331                   visible: 1;
32332                   color: 255 255 255 255;
32333                }
32334             }
32335           part
32336             {
32337                name: "btn_icon";
32338                type: IMAGE;
32339                repeat_events: 1;
32340                description
32341                  {
32342                     state: "default" 0.0;
32343                     rel1.to: "btn";
32344                     rel2.to: "btn";
32345                     align: 0.5 0.5;
32346                     min: 16 16;
32347                     max: 16 16;
32348                     image.normal: "icon_arrow_left.png";
32349                  }
32350                description
32351                  {
32352                     state: "hidden" 0.0;
32353                     inherit: "default" 0.0;
32354                     image.normal: "icon_arrow_right.png";
32355                  }
32356             }
32357        }
32358      programs
32359        {
32360           program
32361             {
32362                name: "show";
32363                signal: "elm,action,show";
32364                source: "elm";
32365                action: STATE_SET "default" 0.0;
32366                target: "bg";
32367                target: "btn_icon";
32368                transition: LINEAR 0.5;
32369             }
32370           program
32371             {
32372                name: "hide";
32373                signal: "elm,action,hide";
32374                source: "elm";
32375                action: STATE_SET "hidden" 0.0;
32376                target: "bg";
32377                target: "btn_icon";
32378                transition: LINEAR 0.5;
32379             }
32380           program
32381             {
32382                name: "btn_click";
32383                signal: "mouse,down,1";
32384                source: "btn_over2";
32385                action: STATE_SET "clicked" 0.0;
32386                target: "btn";
32387             }
32388           program
32389             {
32390                name: "btn_unclick";
32391                signal: "mouse,up,1";
32392                source: "btn_over2";
32393                action: STATE_SET "default" 0.0;
32394                target: "btn";
32395             }
32396           program
32397             {
32398                name: "btn_click2";
32399                signal: "mouse,down,1";
32400                source: "btn_over3";
32401                action: STATE_SET "clicked" 0.0;
32402                target: "btn_over3";
32403             }
32404           program
32405             {
32406                name: "btn_unclick2";
32407                signal: "mouse,up,1";
32408                source: "btn_over3";
32409                action: STATE_SET "default" 0.0;
32410                transition: DECELERATE 0.5;
32411                target: "btn_over3";
32412             }
32413           program
32414             {
32415                name: "btn_unclick3";
32416                signal: "mouse,clicked,1";
32417                source: "btn_over2";
32418                action: SIGNAL_EMIT "elm,action,panel,toggle" "";
32419             }
32420          program { name: "highlight_show";
32421             signal: "elm,action,focus_highlight,show";
32422             source: "elm";
32423             action: STATE_SET "enabled" 0.0;
32424             transition: ACCELERATE 0.3;
32425             target: "focus_highlight";
32426          }
32427          program { name: "highlight_hide";
32428             signal: "elm,action,focus_highlight,hide";
32429             source: "elm";
32430             action: STATE_SET "default" 0.0;
32431             transition: DECELERATE 0.3;
32432             target: "focus_highlight";
32433          }
32434        }
32435   }
32436
32437   group {
32438      name: "elm/panel/base/right";
32439      alias: "elm/panel/base/bottom";
32440      images
32441        {
32442           image: "bt_base1.png" COMP;
32443           image: "bt_hilight.png" COMP;
32444           image: "bt_shine.png" COMP;
32445           image: "bt_glow.png" COMP;
32446           image: "bt_dis_base.png" COMP;
32447           image: "icon_arrow_left.png" COMP;
32448           image: "icon_arrow_right.png" COMP;
32449        }
32450      parts
32451        {
32452             part { name: "focus_highlight";
32453                description { state: "default" 0.0;
32454                   visible: 0;
32455                   color: 255 255 255 0;
32456                   rel1 {
32457                      to: "btn";
32458                      offset: -8 -8;
32459                   }
32460                   rel2 {
32461                      to: "btn";
32462                      offset: 7 7;
32463                   }
32464                   image {
32465                      normal: "frame_2.png";
32466                      border: 5 5 32 26;
32467                      middle: 0;
32468                   }
32469                }
32470                description { state: "enabled" 0.0;
32471                   inherit: "default" 0.0;
32472                   visible: 1;
32473                   color: 255 255 255 255;
32474                }
32475             }
32476           part
32477             {
32478                name: "bg";
32479                type: RECT;
32480                mouse_events: 0;
32481                description
32482                  {
32483                     state: "default" 0.0;
32484                     color: 255 255 255 0;
32485                     rel1.relative: 0.0 0.0;
32486                     rel1.offset: 0 0;
32487                     rel2.relative: 1.0 1.0;
32488                     rel2.offset: -1 -1;
32489                  }
32490                description
32491                  {
32492                     state: "hidden" 0.0;
32493                     inherit: "default" 0.0;
32494                     rel1.relative: 1.0 0.0;
32495                     rel1.offset: -22 0;
32496                     rel2.relative: 2.0 1.0;
32497                     rel2.offset: -23 -1;
32498                  }
32499             }
32500           part
32501             {
32502                name: "base";
32503                type: IMAGE;
32504                mouse_events: 0;
32505                description
32506                  {
32507                     state: "default" 0.0;
32508                     rel1.to: "bg";
32509                     rel1.offset: 20 0;
32510                     rel2.to: "bg";
32511                     image
32512                       {
32513                          normal: "bt_dis_base.png";
32514                          border: 4 4 4 4;
32515                       }
32516                  }
32517             }
32518           part
32519             {
32520                name: "clipper";
32521                type: RECT;
32522                mouse_events: 0;
32523                description
32524                  {
32525                     state: "default" 0.0;
32526                     rel1
32527                       {
32528                          offset: 4 4;
32529                          to: "base";
32530                       }
32531                     rel2
32532                       {
32533                          offset: -5 -5;
32534                          to: "base";
32535                       }
32536                  }
32537             }
32538           part
32539             {
32540                name: "elm.swallow.content";
32541                type: SWALLOW;
32542                clip_to: "clipper";
32543                description
32544                  {
32545                     state: "default" 0.0;
32546                     rel1.to: "clipper";
32547                     rel2.to: "clipper";
32548                  }
32549             }
32550           part
32551             {
32552                name: "btn";
32553                type: IMAGE;
32554                mouse_events: 1;
32555                description
32556                  {
32557                     state: "default" 0.0;
32558                     max: 32 48;
32559                     fixed: 1 1;
32560                     align: 1 0.5;
32561                     rel1
32562                       {
32563                          to_x: "bg";
32564                       }
32565                     rel2
32566                       {
32567                          offset: 2 0;
32568                          relative: 0.0 1;
32569                          to_x: "base";
32570                       }
32571                     image
32572                       {
32573                          normal: "bt_base1.png";
32574                          border: 5 0 4 12;
32575                       }
32576                     fill.smooth: 0;
32577                  }
32578                description
32579                  {
32580                     state: "clicked" 0.0;
32581                     inherit: "default" 0.0;
32582                  }
32583             }
32584           part
32585             {
32586                name: "btn_over";
32587                type: IMAGE;
32588                mouse_events: 0;
32589                description
32590                  {
32591                     state: "default" 0.0;
32592                     rel1.to: "btn";
32593                     rel2
32594                       {
32595                          relative: 1.0 0.5;
32596                          to: "btn";
32597                       }
32598                     image
32599                       {
32600                          normal: "bt_hilight.png";
32601                          border: 7 0 7 0;
32602                       }
32603                  }
32604             }
32605           part
32606             {
32607                name: "btn_over2";
32608                type: IMAGE;
32609                mouse_events: 1;
32610                repeat_events: 1;
32611                ignore_flags: ON_HOLD;
32612                description
32613                  {
32614                     state: "default" 0.0;
32615                     rel1.to: "btn";
32616                     rel2.to: "btn";
32617                     image
32618                       {
32619                          normal: "bt_shine.png";
32620                          border: 7 0 7 7;
32621                     }
32622                  }
32623             }
32624           part
32625             {
32626                name: "btn_over3";
32627                type: IMAGE;
32628                mouse_events: 1;
32629                repeat_events: 1;
32630                description
32631                  {
32632                     state: "default" 0.0;
32633                     color: 255 255 255 0;
32634                     rel1.to: "btn";
32635                     rel2.to: "btn";
32636                     image
32637                       {
32638                        normal: "bt_glow.png";
32639                        border: 12 12 12 12;
32640                     }
32641                   fill.smooth: 0;
32642                }
32643              description
32644                {
32645                   state: "clicked" 0.0;
32646                   inherit: "default" 0.0;
32647                   visible: 1;
32648                   color: 255 255 255 255;
32649                }
32650             }
32651           part
32652             {
32653                name: "btn_icon";
32654                type: IMAGE;
32655                repeat_events: 1;
32656                description
32657                  {
32658                     state: "default" 0.0;
32659                     rel1.to: "btn";
32660                     rel2.to: "btn";
32661                     align: 0.5 0.5;
32662                     min: 16 16;
32663                     max: 16 16;
32664                     image.normal: "icon_arrow_right.png";
32665                  }
32666                description
32667                  {
32668                     state: "hidden" 0.0;
32669                     inherit: "default" 0.0;
32670                     image.normal: "icon_arrow_left.png";
32671                  }
32672             }
32673        }
32674      programs
32675        {
32676           program
32677             {
32678                name: "show";
32679                signal: "elm,action,show";
32680                source: "elm";
32681                action: STATE_SET "default" 0.0;
32682                target: "bg";
32683                target: "btn_icon";
32684                transition: LINEAR 0.5;
32685             }
32686           program
32687             {
32688                name: "hide";
32689                signal: "elm,action,hide";
32690                source: "elm";
32691                action: STATE_SET "hidden" 0.0;
32692                target: "bg";
32693                target: "btn_icon";
32694                transition: LINEAR 0.5;
32695             }
32696           program
32697             {
32698                name: "btn_click";
32699                signal: "mouse,down,1";
32700                source: "btn_over2";
32701                action: STATE_SET "clicked" 0.0;
32702                target: "btn";
32703             }
32704           program
32705             {
32706                name: "btn_unclick";
32707                signal: "mouse,up,1";
32708                source: "btn_over2";
32709                action: STATE_SET "default" 0.0;
32710                target: "btn";
32711             }
32712           program
32713             {
32714                name: "btn_click2";
32715                signal: "mouse,down,1";
32716                source: "btn_over3";
32717                action: STATE_SET "clicked" 0.0;
32718                target: "btn_over3";
32719             }
32720           program
32721             {
32722                name: "btn_unclick2";
32723                signal: "mouse,up,1";
32724                source: "btn_over3";
32725                action: STATE_SET "default" 0.0;
32726                transition: DECELERATE 0.5;
32727                target: "btn_over3";
32728             }
32729           program
32730             {
32731                name: "btn_unclick3";
32732                signal: "mouse,up,1";
32733                source: "btn_over2";
32734                action: SIGNAL_EMIT "elm,action,panel,toggle" "";
32735             }
32736          program { name: "highlight_show";
32737             signal: "elm,action,focus";
32738             source: "elm";
32739             action: STATE_SET "enabled" 0.0;
32740             transition: ACCELERATE 0.3;
32741             target: "focus_highlight";
32742          }
32743          program { name: "highlight_hide";
32744             signal: "elm,action,unfocus";
32745             source: "elm";
32746             action: STATE_SET "default" 0.0;
32747             transition: DECELERATE 0.3;
32748             target: "focus_highlight";
32749          }
32750        }
32751   }
32752
32753 ///////////////////////////////////////////////////////////////////////////////
32754   group { name: "elm/conformant/base/default";
32755      parts {
32756         part { name: "elm.swallow.shelf";
32757            type: SWALLOW;
32758            description { state: "default" 0.0;
32759               fixed: 1 1;
32760               align: 0.0 0.0;
32761               rel2.relative: 1.0 0.0;
32762            }
32763         }
32764         part { name: "elm.swallow.content";
32765            type: SWALLOW;
32766            description { state: "default" 0.0;
32767               align: 0.5 0.5;
32768               rel1.relative: 0.0 1.0;
32769               rel1.to_y: "elm.swallow.shelf";
32770               rel2.relative: 1.0 0.0;
32771               rel2.to_y: "elm.swallow.panel";
32772            }
32773         }
32774         part { name: "elm.swallow.panel";
32775            type: SWALLOW;
32776            description { state: "default" 0.0;
32777               fixed: 1 1;
32778               align: 0.0 1.0;
32779               rel1.relative: 0.0 1.0;
32780            }
32781         }
32782      }
32783   }
32784
32785 /////////////////////////////////////////////////////////////////////////////
32786 // CALENDAR
32787 /////////////////////////////////////////////////////////////////////////////
32788 #define CH(_pos) \
32789          part { name: "ch_"#_pos".base"; \
32790             type: RECT; \
32791             description { state: "default" 0.0; \
32792                rel1 { \
32793                   relative: (_pos % 7 * 7 / 8 / 6) 0; \
32794                   to: "header"; \
32795                } \
32796                rel2 { \
32797                   relative: (_pos % 7 * 7 / 8 / 6 + 1 / 8) 1; \
32798                   to: "header"; \
32799                } \
32800                color: 0 0 0 0; \
32801                visible: 0; \
32802             } \
32803          } \
32804          part { name: "ch_"#_pos".text"; \
32805             type: TEXT; \
32806             effect: SOFT_SHADOW; \
32807             mouse_events: 0; \
32808             scale: 1; \
32809             clip_to: "ch_"#_pos".clipper"; \
32810             description { \
32811                state: "default" 0.0; \
32812                rel1.to: "ch_"#_pos".base"; \
32813                rel2.to: "ch_"#_pos".base"; \
32814                color: 0 0 0 255; \
32815                color3: 0 0 0 0; \
32816                text { \
32817                   font: "Sans"; \
32818                   size: 10; \
32819                   min: 1 1; \
32820                   align: 0.5 0.5; \
32821                } \
32822             } \
32823          } \
32824          part { name: "ch_"#_pos".clipper"; \
32825             type: RECT; \
32826             description { state: "default" 0.0; \
32827                rel1.to: "ch_"#_pos".base"; \
32828                rel2.to: "ch_"#_pos".base"; \
32829             } \
32830          }
32831
32832 #define CIT(_pos) \
32833          part { name: "cit_"#_pos".rect"; \
32834             type: RECT; \
32835             description { state: "default" 0.0; \
32836                rel1 { \
32837                   relative: (_pos % 7 * 7 / 8 / 6) \
32838                             (_pos / 8 / 5 - _pos % 7 / 8 / 5); \
32839                   to: "base"; \
32840                } \
32841                rel2 { \
32842                   relative: (_pos % 7 * 7 / 8 / 6 + 1 / 8) \
32843                             (_pos / 8 / 5 - _pos % 7 / 8 / 5 + 1 / 8); \
32844                   to: "base"; \
32845                } \
32846                color: 0 0 0 0; \
32847                visible: 0; \
32848             } \
32849          } \
32850          part { \
32851             name: "cit_"#_pos".event"; \
32852             type: RECT; \
32853             repeat_events: 1; \
32854             description { \
32855                rel1.to: "cit_"#_pos".rect"; \
32856                rel2.to: "cit_"#_pos".rect"; \
32857                state: "default" 0.0; \
32858                color: 0 0 0 0; \
32859             } \
32860          } \
32861          part { name: "cit_"#_pos".shelf"; \
32862             type: RECT; \
32863             mouse_events: 0; \
32864             description { state: "default" 0.0; \
32865                rel1 { \
32866                   to: "cit_"#_pos".bg"; \
32867                   offset: -1 -1; \
32868                } \
32869                rel2 { \
32870                   to: "cit_"#_pos".bg"; \
32871                } \
32872                color: 200 200 200 255; \
32873             } \
32874          } \
32875          part { name: "cit_"#_pos".hd"; \
32876             type: RECT; \
32877             mouse_events: 0; \
32878             description { state: "default" 0.0; \
32879                rel1 { \
32880                   to: "cit_"#_pos".bg"; \
32881                   offset: -1 -1; \
32882                } \
32883                rel2 { \
32884                   to: "cit_"#_pos".bg"; \
32885                } \
32886                visible: 0; \
32887                color: 160 0 0 255; \
32888             } \
32889             description { state: "visible" 0.0; \
32890                inherit: "default" 0.0; \
32891                visible: 1; \
32892             } \
32893          } \
32894          part { \
32895             name: "cit_"#_pos".base_sh"; \
32896             mouse_events: 0; \
32897             description { \
32898                state: "default" 0.0; \
32899                align: 0.0 0.0; \
32900                min: 0 1; \
32901                rel1 { \
32902                   to: "cit_"#_pos".base"; \
32903                   relative: 0.0 1.0; \
32904                   offset: 0 0; \
32905                } \
32906                rel2 { \
32907                   to: "cit_"#_pos".base"; \
32908                   relative: 1.0 1.05; \
32909                   offset: -1 0; \
32910                } \
32911                image { \
32912                   normal: "ilist_item_shadow.png"; \
32913                } \
32914                fill.smooth: 0; \
32915             } \
32916          } \
32917          part { \
32918             name: "cit_"#_pos".base"; \
32919             mouse_events: 0; \
32920             description { \
32921                state: "default" 0.0; \
32922                rel1.to: "cit_"#_pos".rect"; \
32923                rel2.to: "cit_"#_pos".rect"; \
32924                rel2.offset: -1 -1; \
32925                image { \
32926                   normal: "ilist_1.png"; \
32927                   border: 2 2 2 2; \
32928                } \
32929                fill.smooth: 0; \
32930             } \
32931             description { \
32932                state: "today" 0.0; \
32933                inherit: "default" 0.0; \
32934                image.normal: "ilist_2.png"; \
32935                color: 240 240 240 255; \
32936             } \
32937          } \
32938          part { name: "cit_"#_pos".bg"; \
32939             mouse_events: 0; \
32940             description { state: "default" 0.0; \
32941                visible: 0; \
32942                color: 255 255 255 0; \
32943                rel1 { \
32944                   to: "cit_"#_pos".rect"; \
32945                   relative: 0.0 0.0; \
32946                } \
32947                rel2 { \
32948                   to: "cit_"#_pos".rect"; \
32949                   relative: 1.0 1.0; \
32950                   offset: -1 -1; \
32951                } \
32952                image { \
32953                   normal: "bt_sm_base1.png"; \
32954                   border: 6 6 6 6; \
32955                } \
32956                image.middle: SOLID; \
32957             } \
32958             description { state: "selected" 0.0; \
32959                inherit: "default" 0.0; \
32960                visible: 1; \
32961                color: 255 255 255 255; \
32962             } \
32963          } \
32964          part { name: "cit_"#_pos".text"; \
32965             type: TEXT; \
32966             effect: SOFT_SHADOW; \
32967             mouse_events: 0; \
32968             scale: 1; \
32969             description { \
32970                state: "default" 0.0; \
32971                rel1.to: "cit_"#_pos".bg"; \
32972                rel2.to: "cit_"#_pos".bg"; \
32973                color: 0 0 0 255; \
32974                color3: 0 0 0 0; \
32975                text { \
32976                   font: "Sans"; \
32977                   size: 10; \
32978                   min: 1 1; \
32979                   align: 0.5 0.5; \
32980                } \
32981             } \
32982             description { state: "selected" 0.0; \
32983                inherit: "default" 0.0; \
32984                color: 224 224 224 255; \
32985                color3: 0 0 0 64; \
32986             } \
32987          } \
32988          part { name: "cit_"#_pos".fg1"; \
32989             mouse_events: 0; \
32990             description { state: "default" 0.0; \
32991                visible: 0; \
32992                color: 255 255 255 0; \
32993                rel1.to: "cit_"#_pos".bg"; \
32994                rel2.relative: 1.0 0.5; \
32995                rel2.to: "cit_"#_pos".bg"; \
32996                image { \
32997                   normal: "bt_sm_hilight.png"; \
32998                   border: 6 6 6 0; \
32999                } \
33000             } \
33001             description { state: "selected" 0.0; \
33002                inherit: "default" 0.0; \
33003                visible: 1; \
33004                color: 255 255 255 255; \
33005             } \
33006          } \
33007          part { name: "cit_"#_pos".fg2"; \
33008             mouse_events: 0; \
33009             description { state: "default" 0.0; \
33010                visible: 0; \
33011                color: 255 255 255 0; \
33012                rel1.to: "cit_"#_pos".bg"; \
33013                rel2.to: "cit_"#_pos".bg"; \
33014                image { \
33015                   normal: "bt_sm_shine.png"; \
33016                   border: 6 6 6 0; \
33017                } \
33018             } \
33019             description { state: "selected" 0.0; \
33020                inherit: "default" 0.0; \
33021                visible: 1; \
33022                color: 255 255 255 255; \
33023             } \
33024          } \
33025          part { name: "cit_"#_pos".check"; \
33026             mouse_events: 0; \
33027             description { state: "default" 0.0; \
33028                rel1 { \
33029                   to: "cit_"#_pos".bg"; \
33030                   relative: 0.7 0.6; \
33031                   offset: 1 1; \
33032                } \
33033                rel2 { \
33034                   to: "cit_"#_pos".bg"; \
33035                   relative: 1.1 1.2; \
33036                   offset: -2 -2; \
33037                } \
33038                aspect: 1 1; \
33039                visible: 0; \
33040                color: 255 0 0 255; \
33041                image.normal: "check.png"; \
33042             } \
33043             description { state: "visible" 0.0; \
33044                inherit: "default" 0.0; \
33045                visible: 1; \
33046             } \
33047          } \
33048       programs { \
33049          program { \
33050             name:    "cit_"#_pos".go_active"; \
33051             signal:  "cit_"#_pos",selected"; \
33052             source:  "elm"; \
33053             action:  STATE_SET "selected" 0.0; \
33054             target:  "cit_"#_pos".bg"; \
33055             target:  "cit_"#_pos".fg1"; \
33056             target:  "cit_"#_pos".fg2"; \
33057             target:  "cit_"#_pos".text"; \
33058          } \
33059          program { \
33060             name:    "cit_"#_pos".go_passive"; \
33061             signal:  "cit_"#_pos",unselected"; \
33062             source:  "elm"; \
33063             action:  STATE_SET "default" 0.0; \
33064             target:  "cit_"#_pos".bg"; \
33065             target:  "cit_"#_pos".fg1"; \
33066             target:  "cit_"#_pos".fg2"; \
33067             target:  "cit_"#_pos".text"; \
33068          } \
33069          program { \
33070             name:    "cit_"#_pos".is_today"; \
33071             signal:  "cit_"#_pos",today"; \
33072             source:  "elm"; \
33073             action:  STATE_SET "today" 0.0; \
33074             target: "cit_"#_pos".base"; \
33075          } \
33076          program { \
33077             name:    "cit_"#_pos".not_today"; \
33078             signal:  "cit_"#_pos",not_today"; \
33079             source:  "elm"; \
33080             action:  STATE_SET "default" 0.0; \
33081             target: "cit_"#_pos".base"; \
33082          } \
33083          program { \
33084             source: "cit_"#_pos".clicked"; \
33085             signal: "mouse,clicked,1"; \
33086             source: "cit_"#_pos".event"; \
33087             action: SIGNAL_EMIT "elm,action,selected" #_pos; \
33088          } \
33089          program { \
33090             name:    "cit_"#_pos".clear"; \
33091             signal:  "cit_"#_pos",clear"; \
33092             source:  "elm"; \
33093             action:  STATE_SET "default" 0.0; \
33094             target: "cit_"#_pos".check"; \
33095             target: "cit_"#_pos".hd"; \
33096          } \
33097          program { \
33098             name:    "cit_"#_pos".checked"; \
33099             signal:  "cit_"#_pos",checked"; \
33100             source:  "elm"; \
33101             action:  STATE_SET "visible" 0.0; \
33102             target: "cit_"#_pos".check"; \
33103          } \
33104          program { \
33105             name:    "cit_"#_pos".holiday"; \
33106             signal:  "cit_"#_pos",holiday"; \
33107             source:  "elm"; \
33108             action:  STATE_SET "visible" 0.0; \
33109             target: "cit_"#_pos".hd"; \
33110          } \
33111       }
33112
33113    group { name: "elm/calendar/base/default";
33114        images {
33115            image: "shelf_inset.png" COMP;
33116            image: "bt_base1.png" COMP;
33117            image: "bt_hilight.png" COMP;
33118            image: "bt_shine.png" COMP;
33119            image: "bt_glow.png" COMP;
33120            image: "bt_dis_base.png" COMP;
33121            image: "bt_dis_hilight.png" COMP;
33122            image: "sp_bt_l.png" COMP;
33123            image: "sp_bt_r.png" COMP;
33124            image: "bt_sm_base1.png" COMP;
33125            image: "bt_sm_shine.png" COMP;
33126            image: "bt_sm_hilight.png" COMP;
33127            image: "ilist_1.png" COMP;
33128            image: "ilist_2.png" COMP;
33129            image: "ilist_item_shadow.png" COMP;
33130            image: "check.png" COMP;
33131        }
33132        parts {
33133            part { name: "bg";
33134                type: RECT;
33135                description { state: "default" 0.0;
33136                    min: 0 30;
33137                    rel1.offset: 1 1;
33138                    rel2.offset: -2 -2;
33139                    color: 255 255 255 0;
33140                    align: 0.0 0.5;
33141                }
33142            }
33143            part { name: "spinner-base";
33144                type: RECT;
33145                mouse_events: 0;
33146                description { state: "default" 0.0;
33147                    min: 24 24;
33148                    max: 999999 24;
33149                    rel1.to: "bg";
33150                    rel1.offset: 6 6;
33151                    rel2.to: "bg";
33152                    rel2.offset: -7 -7;
33153                    color: 255 255 255 0;
33154                    align: 0.0 0.0;
33155                }
33156            }
33157            part { name: "conf_over_spinner";
33158                mouse_events:  0;
33159                description { state: "default" 0.0;
33160                    rel1.to: "spinner-base";
33161                    rel1.offset: -3 -3;
33162                    rel2.to: "spinner-base";
33163                    rel2.offset: 2 2;
33164                    image {
33165                        normal: "shelf_inset.png";
33166                        border: 7 7 7 7;
33167                        middle: 0;
33168                    }
33169                    fill.smooth : 0;
33170                }
33171            }
33172            part { name: "table-base";
33173                type: RECT;
33174                mouse_events: 0;
33175                description { state: "default" 0.0;
33176                    min: 256 220;
33177                    rel1.to_x: "bg";
33178                    rel1.to_y: "spinner-base";
33179                    rel1.offset: 6 6;
33180                    rel1.relative: 0 1;
33181                    rel2.to: "bg";
33182                    rel2.offset: -7 -7;
33183                    color: 255 255 255 0;
33184                }
33185            }
33186            part { name: "conf_over_table";
33187                mouse_events:  0;
33188                description { state: "default" 0.0;
33189                    rel1.to: "table-base";
33190                    rel1.offset: -3 -3;
33191                    rel2.to: "table-base";
33192                    rel2.offset: 2 2;
33193                    image {
33194                        normal: "shelf_inset.png";
33195                        border: 7 7 7 7;
33196                        middle: 0;
33197                    }
33198                    fill.smooth : 0;
33199                }
33200            }
33201            part { name: "header";
33202                type: RECT;
33203                mouse_events: 0;
33204                description { state: "default" 0.0;
33205                    rel1.to: "table-base";
33206                    rel1.relative: 0 0;
33207                    rel2.to: "table-base";
33208                    rel2.relative: 1 0.1;
33209                    color: 255 255 255 0;
33210                }
33211            }
33212            part { name: "base";
33213                type: RECT;
33214                mouse_events: 0;
33215                description { state: "default" 0.0;
33216                    rel1.to_x: "table-base";
33217                    rel1.to_y: "header";
33218                    rel1.relative: 0 1;
33219                    rel1.offset: 3 0;
33220                    rel2.to: "table-base";
33221                    rel2.offset: -3 0;
33222                    color: 255 255 255 0;
33223                }
33224            }
33225            part { name: "left_bt";
33226                mouse_events:  1;
33227                description { state: "default" 0.0;
33228                    rel1 { to: "spinner-base";
33229                        offset: 2 2;
33230                    }
33231                    rel2 { to: "spinner-base";
33232                        offset: -3 -3;
33233                    }
33234                    align: 0.0 0.5;
33235                    min: 24 24;
33236                    max: 24 24;
33237                    fixed: 1 1;
33238                    image {
33239                        normal: "bt_base1.png";
33240                        border: 6 6 6 6;
33241                    }
33242                    fill.smooth : 0;
33243                }
33244                description { state: "clicked" 0.0;
33245                    inherit: "default" 0.0;
33246                    image.normal: "bt_base1.png";
33247                    image.middle: SOLID;
33248                }
33249            }
33250            part { name: "left_over1";
33251                mouse_events: 0;
33252                description { state: "default" 0.0;
33253                    rel1.to: "left_bt";
33254                    rel2 { to: "left_bt";
33255                        relative: 1.0 0.5;
33256                    }
33257                    image {
33258                        normal: "bt_hilight.png";
33259                        border: 7 7 7 0;
33260                    }
33261                }
33262            }
33263            part { name: "left_over2";
33264                mouse_events: 1;
33265                repeat_events: 1;
33266                description { state: "default" 0.0;
33267                    rel1.to: "left_bt";
33268                    rel2.to: "left_bt";
33269                    image {
33270                        normal: "bt_shine.png";
33271                        border: 7 7 7 7;
33272                    }
33273                }
33274            }
33275            part { name: "left_over3";
33276                mouse_events: 1;
33277                repeat_events: 1;
33278                description { state: "default" 0.0;
33279                    color: 255 255 255 0;
33280                    rel1.to: "left_bt";
33281                    rel2.to: "left_bt";
33282                    image {
33283                        normal: "bt_glow.png";
33284                        border: 12 12 12 12;
33285                    }
33286                    fill.smooth : 0;
33287                }
33288                description { state: "clicked" 0.0;
33289                    inherit:  "default" 0.0;
33290                    visible: 1;
33291                    color: 255 255 255 255;
33292                }
33293            }
33294            part { name: "right_bt";
33295                mouse_events:  1;
33296                description { state: "default" 0.0;
33297                    rel1 { to: "spinner-base";
33298                        offset: -27 3;
33299                    }
33300                    rel2 { to: "spinner-base";
33301                        offset: -3 -3;
33302                    }
33303                    align: 1.0 0.5;
33304                    min: 24 24;
33305                    max: 24 24;
33306                    fixed: 1 1;
33307                    image {
33308                        normal: "bt_base1.png";
33309                        border: 5 5 4 12;
33310                    }
33311                    fill.smooth : 0;
33312                }
33313                description { state: "clicked" 0.0;
33314                    inherit: "default" 0.0;
33315                    image.normal: "bt_base1.png";
33316                    image.middle: SOLID;
33317                }
33318            }
33319            part { name: "right_over1";
33320                mouse_events: 0;
33321                description { state: "default" 0.0;
33322                    rel1.to: "right_bt";
33323                    rel2 { to: "right_bt";
33324                        relative: 1.0 0.5;
33325                    }
33326                    image {
33327                        normal: "bt_hilight.png";
33328                        border: 7 7 7 0;
33329                    }
33330                }
33331            }
33332            part { name: "right_over2";
33333                mouse_events: 1;
33334                repeat_events: 1;
33335                description { state: "default" 0.0;
33336                    rel1.to: "right_bt";
33337                    rel2.to: "right_bt";
33338                    image {
33339                        normal: "bt_shine.png";
33340                        border: 7 7 7 7;
33341                    }
33342                }
33343            }
33344            part { name: "right_over3";
33345                mouse_events: 1;
33346                repeat_events: 1;
33347                description { state: "default" 0.0;
33348                    color: 255 255 255 0;
33349                    rel1.to: "right_bt";
33350                    rel2.to: "right_bt";
33351                    image {
33352                        normal: "bt_glow.png";
33353                        border: 12 12 12 12;
33354                    }
33355                    fill.smooth : 0;
33356                }
33357                description { state: "clicked" 0.0;
33358                    inherit:  "default" 0.0;
33359                    visible: 1;
33360                    color: 255 255 255 255;
33361                }
33362            }
33363            part { name: "left_bt_icon";
33364                repeat_events: 1;
33365                description { state: "default" 0.0;
33366                    rel1.to: "left_bt";
33367                    rel2.to: "left_bt";
33368                    align: 0.5 0.5;
33369                    min: 16 16;
33370                    max: 16 16;
33371                    image.normal: "sp_bt_l.png";
33372                }
33373                description { state: "rtl" 0.0;
33374                    inherit: "default" 0.0;
33375                    image.normal: "sp_bt_r.png";
33376                }
33377            }
33378            part { name: "right_bt_icon";
33379                repeat_events: 1;
33380                description { state: "default" 0.0;
33381                    rel1.to: "right_bt";
33382                    rel2.to: "right_bt";
33383                    align: 0.5 0.5;
33384                    min: 16 16;
33385                    max: 16 16;
33386                    image.normal: "sp_bt_r.png";
33387                }
33388                description { state: "rtl" 0.0;
33389                    inherit: "default" 0.0;
33390                    image.normal: "sp_bt_l.png";
33391                }
33392            }
33393            part { name: "month_text";
33394                type: TEXT;
33395                mouse_events: 0;
33396                scale: 1;
33397                description { state: "default" 0.0;
33398                    align: 0 0.5;
33399                    fixed: 1 1;
33400                    rel1 { relative: 1.0 0.0;
33401                        offset: 3 2;
33402                        to: "left_bt";
33403                        to_y: "spinner-base";
33404                    }
33405                    rel2 { relative: 0.0 1.0;
33406                        offset: -3 -2;
33407                        to_x: "right_bt";
33408                        to_y: "spinner-base";
33409                    }
33410                    color: 0 0 0 255;
33411                    text {
33412                        font: "Sans,Edje-Vera";
33413                        size: 12;
33414                        min: 1 1;
33415                        align: 0.5 0.5;
33416                    }
33417                }
33418            }
33419            CH(0)   CH(1)   CH(2)   CH(3)   CH(4)   CH(5)   CH(6)
33420            CIT(0)  CIT(1)  CIT(2)  CIT(3)  CIT(4)  CIT(5)  CIT(6)
33421            CIT(7)  CIT(8)  CIT(9)  CIT(10) CIT(11) CIT(12) CIT(13)
33422            CIT(14) CIT(15) CIT(16) CIT(17) CIT(18) CIT(19) CIT(20)
33423            CIT(21) CIT(22) CIT(23) CIT(24) CIT(25) CIT(26) CIT(27)
33424            CIT(28) CIT(29) CIT(30) CIT(31) CIT(32) CIT(33) CIT(34)
33425            CIT(35) CIT(36) CIT(37) CIT(38) CIT(39) CIT(40) CIT(41)
33426        }
33427        programs {
33428            program { name: "dec_start";
33429                signal: "mouse,down,1";
33430                source: "left_bt";
33431                action: SIGNAL_EMIT "elm,action,decrement,start" "";
33432            }
33433            program { name: "dec_stop";
33434                signal: "mouse,up,1";
33435                source: "left_bt";
33436                action: SIGNAL_EMIT "elm,action,stop" "";
33437            }
33438            program { name: "inc_start";
33439                signal: "mouse,down,1";
33440                source: "right_bt";
33441                action: SIGNAL_EMIT "elm,action,increment,start" "";
33442            }
33443            program { name: "inc_stop";
33444                signal: "mouse,up,1";
33445                source: "right_bt";
33446                action: SIGNAL_EMIT "elm,action,stop" "";
33447            }
33448            program {
33449                name:   "left_bt_click";
33450                signal: "mouse,down,1";
33451                source: "left_over2";
33452                action: STATE_SET "clicked" 0.0;
33453                target: "left_bt";
33454            }
33455            program {
33456                name:   "left_bt_unclick";
33457                signal: "mouse,up,1";
33458                source: "left_over2";
33459                action: STATE_SET "default" 0.0;
33460                target: "left_bt";
33461            }
33462            program {
33463                name:   "left_bt_click2";
33464                signal: "mouse,down,1";
33465                source: "left_over3";
33466                action: STATE_SET "clicked" 0.0;
33467                target: "left_over3";
33468            }
33469            program {
33470                name:   "left_bt_unclick2";
33471                signal: "mouse,up,1";
33472                source: "left_over3";
33473                action: STATE_SET "default" 0.0;
33474                transition: DECELERATE 0.5;
33475                target: "left_over3";
33476            }
33477            program {
33478                name:   "right_bt_click";
33479                signal: "mouse,down,1";
33480                source: "right_over2";
33481                action: STATE_SET "clicked" 0.0;
33482                target: "right_bt";
33483            }
33484            program {
33485                name:   "right_bt_unclick";
33486                signal: "mouse,up,1";
33487                source: "right_over2";
33488                action: STATE_SET "default" 0.0;
33489                target: "right_bt";
33490            }
33491            program {
33492                name:   "right_bt_click2";
33493                signal: "mouse,down,1";
33494                source: "right_over3";
33495                action: STATE_SET "clicked" 0.0;
33496                target: "right_over3";
33497            }
33498            program {
33499                name:   "right_bt_unclick2";
33500                signal: "mouse,up,1";
33501                source: "right_over3";
33502                action: STATE_SET "default" 0.0;
33503                transition: DECELERATE 0.5;
33504                target: "right_over3";
33505            }
33506            program { name: "to_rtl";
33507                signal: "edje,state,rtl";
33508                source: "edje";
33509                action: STATE_SET "rtl" 0.0;
33510                target: "right_bt_icon";
33511                target: "left_bt_icon";
33512            }
33513            program { name: "to_ltr";
33514                signal: "edje,state,ltr";
33515                source: "edje";
33516                action: STATE_SET "default" 0.0;
33517                target: "right_bt_icon";
33518                target: "left_bt_icon";
33519            }
33520        }
33521    }
33522
33523 #undef CIT
33524 #undef CH
33525
33526 ////////////////////////////////////////////////////////////////////////////////
33527 // colorselector
33528 ////////////////////////////////////////////////////////////////////////////////
33529    group { name: "elm/colorselector/bg/default";
33530       parts {
33531          part { name: "elm.colorbar_0";
33532             type: SWALLOW;
33533             mouse_events: 1;
33534             description { state: "default" 0.0;
33535                min: 120 30;
33536                rel1.relative: 0.0 0.00653594771;
33537                rel2.relative: 1.0 0.254901961;
33538             }
33539          }
33540          part { name: "elm.colorbar_1";
33541             type: SWALLOW;
33542             mouse_events: 1;
33543             description { state: "default" 0.0;
33544                min: 120 30;
33545                rel1.relative: 0.0 0.254901961;
33546                rel2.relative: 1.0 0.503267974;
33547             }
33548          }
33549          part { name: "elm.colorbar_2";
33550             type: SWALLOW;
33551             mouse_events: 1;
33552             description { state: "default" 0.0;
33553                min: 120 30;
33554                rel1.relative: 0.0 0.503267974;
33555                rel2.relative: 1.0 0.751633987;
33556             }
33557          }
33558          part { name: "elm.colorbar_3";
33559             type: SWALLOW;
33560             mouse_events: 1;
33561             description { state: "default" 0.0;
33562                min: 120 30;
33563                rel1.relative: 0.0 0.751633987;
33564                rel2.relative: 1.0 1.0;
33565             }
33566          }
33567       }
33568    }
33569
33570    group { name: "elm/colorselector/base/default";
33571       parts {
33572          part { name: "elm.bar_bg";
33573             type: SWALLOW;
33574             mouse_events: 0;
33575             description { state: "default" 0.0;
33576                min: 60 22;
33577                rel1 {
33578                   relative: 0.0 0.8;
33579                   to_x: "elm.arrow_bg";
33580                   to_y: "elm.arrow_icon";
33581                   offset: 0 0;
33582                }
33583                rel2 {
33584                   relative: 1.0 0.83;
33585                   to_x: "elm.arrow_bg";
33586                   offset: 0 0;
33587                }
33588             }
33589          }
33590          part { name: "elm.bar";
33591             type: SWALLOW;
33592             mouse_events: 0;
33593             description { state: "default" 0.0;
33594                rel1.to: "elm.bar_bg";
33595                rel2.to: "elm.bar_bg";
33596             }
33597          }
33598          part { name: "elm.arrow_bg";
33599             type: SWALLOW;
33600             mouse_events: 1;
33601             description { state: "default" 0.0;
33602                rel1 {
33603                   relative: 1.0 0.17;
33604                   offset: 3 0;
33605                   to_x: "elm.l_button";
33606                }
33607                rel2 {
33608                   relative: 0.0 0.83;
33609                      offset: -4 0;
33610                   to_x: "elm.r_button";
33611                }
33612             }
33613          }
33614          part { name: "elm.arrow";
33615             type: RECT;
33616             mouse_events: 1;
33617             scale: 1;
33618             description { state: "default" 0.0;
33619                min: 1 1;
33620                fixed: 1 1;
33621                align: 0 0;
33622                rel1 {
33623                   to_x: "elm.arrow_bg";
33624                }
33625                rel2 {
33626                   relative: 0.0 0.17;
33627                   to_x: "elm.arrow_bg";
33628                }
33629                color: 0 0 0 0;
33630                visible: 0;
33631             }
33632             dragable {
33633                confine: "elm.arrow_bg";
33634                x: 1 1 0;
33635                y: 0 0 0;
33636             }
33637          }
33638          part { name: "elm.arrow_icon";
33639             type: SWALLOW;
33640             mouse_events: 0;
33641             description { state: "default" 0.0;
33642                min: 25 15;
33643                max: 25 15;
33644                fixed: 1 1;
33645                align: 0.5 0;
33646                rel1 {
33647                   to_x: "elm.arrow";
33648                }
33649                rel2 {
33650                   relative: 1.0 0.0;
33651                   offset: 0 10;
33652                   to_x: "elm.arrow";
33653                }
33654             }
33655          }
33656          part { name: "event";
33657             type: RECT;
33658             mouse_events: 1;
33659             description { state: "default" 0.0;
33660                rel1 {
33661                   to: "elm.arrow_icon";
33662                }
33663                rel2 {
33664                   to_x: "elm.arrow_icon";
33665                   to_y: "elm.arrow_bg";
33666                   offset: 0 0;
33667                }
33668                color: 0 0 0 0;
33669             }
33670             dragable {
33671                events: "elm.arrow";
33672             }
33673          }
33674          part { name: "elm.l_button";
33675             type: SWALLOW;
33676             mouse_events: 1;
33677             scale: 1;
33678             description { state: "default" 0.0;
33679                min: 24 24;
33680                fixed: 1 1;
33681                rel1 {
33682                   relative: 0.0 0.0;
33683                   to_y: "elm.bar_bg";
33684                }
33685                rel2 {
33686                   relative: 0.0 1.0;
33687                   to_y: "elm.bar_bg";
33688                }
33689                align: 0.0 0.5;
33690             }
33691          }
33692          part { name: "elm.r_button";
33693             type: SWALLOW;
33694             mouse_events: 1;
33695             scale: 1;
33696             description {
33697                state: "default" 0.0;
33698                min: 24 24;
33699                fixed: 1 1;
33700                rel1 {
33701                   relative: 1.0 0.0;
33702                   to_y: "elm.bar_bg";
33703                }
33704                rel2 {
33705                   relative: 1.0 1.0;
33706                   to_y: "elm.bar_bg";
33707                }
33708                align: 1.0 0.5;
33709             }
33710          }
33711       }
33712    }
33713
33714    group{ name: "elm/colorselector/image/colorbar_0";
33715       images {
33716          image: "color_picker_color.png" COMP;
33717       }
33718       parts {
33719          part { name: "colorbar_0_image";
33720             type: IMAGE;
33721             mouse_events: 1;
33722             description { state: "default" 0.0;
33723                rel2.offset: -1 -1;
33724                image.normal: "color_picker_color.png";
33725             }
33726          }
33727       }
33728    }
33729
33730    group { name: "elm/colorselector/image/colorbar_1";
33731       images {
33732          image: "color_picker_opacity.png" COMP;
33733       }
33734       parts {
33735          part { name: "colorbar_1_image";
33736             type: IMAGE;
33737             mouse_events: 1;
33738             description { state: "default" 0.0;
33739                rel2.offset: -1 -1;
33740                image.normal: "color_picker_opacity.png";
33741             }
33742          }
33743       }
33744    }
33745
33746    group { name: "elm/colorselector/image/colorbar_2";
33747       images {
33748          image: "color_picker_brightness.png" COMP;
33749       }
33750       parts {
33751          part { name: "colorbar_2_image";
33752             type: IMAGE;
33753             mouse_events: 1;
33754             description { state: "default" 0.0;
33755                rel2.offset: -1 -1;
33756                image.normal: "color_picker_brightness.png";
33757             }
33758          }
33759       }
33760    }
33761
33762    group { name: "elm/colorselector/image/colorbar_3";
33763       images {
33764          image: "color_picker_alpha.png" COMP;
33765       }
33766       parts {
33767          part { name: "colorbar_3_image";
33768             type: IMAGE;
33769             mouse_events: 1;
33770             description { state: "default" 0.0;
33771                rel2.offset: -1 -1;
33772                image.normal: "color_picker_alpha.png";
33773             }
33774          }
33775       }
33776    }
33777
33778    group { name: "elm/colorselector/bg_image/colorbar_3";
33779       images {
33780          image: "color_picker_alpha_bg.png" COMP;
33781       }
33782       parts {
33783          part { name: "colorbar_3_image";
33784             type: IMAGE;
33785             mouse_events: 1;
33786             description { state: "default" 0.0;
33787                rel2.offset: -1 -1;
33788                image.normal: "color_picker_alpha_bg.png";
33789             }
33790          }
33791       }
33792    }
33793
33794    group { name: "elm/colorselector/image/updown";
33795       images {
33796          image: "icon_arrow_down.png" COMP;
33797       }
33798       parts {
33799          part { name: "bg";
33800             type: RECT;
33801             mouse_events: 1;
33802             description { state: "default" 0.0;
33803                color: 0 0 0 0;
33804             }
33805          }
33806          part { name: "arrow_image";
33807             type: IMAGE;
33808             mouse_events: 1;
33809             description { state: "default" 0.0;
33810                image.normal: "icon_arrow_down.png";
33811             }
33812          }
33813       }
33814    }
33815
33816    group { name: "elm/colorselector/button/left";
33817       images {
33818          image: "bt_base1.png" COMP;
33819          image: "bt_shine.png" COMP;
33820          image: "sp_bt_l.png" COMP;
33821       }
33822       parts {
33823          part { name: "button_image";
33824             mouse_events: 1;
33825             description { state: "default" 0.0;
33826                image.normal: "bt_base1.png";
33827                image.border: 6 6 6 6;
33828                image.middle: SOLID;
33829             }
33830
33831             description { state: "clicked" 0.0;
33832                inherit: "default" 0.0;
33833                image.normal: "bt_shine.png";
33834                image.border: 6 6 6 6;
33835                image.middle: SOLID;
33836             }
33837          }
33838          part { name: "btn_over";
33839             type: IMAGE;
33840             mouse_events: 0;
33841             description { state: "default" 0.0;
33842                rel1.to: "button_image";
33843                rel2 {
33844                   relative: 1.0 0.5;
33845                   to: "button_image";
33846                }
33847                image {
33848                   normal: "bt_hilight.png";
33849                   border: 7 7 7 0;
33850                }
33851             }
33852          }
33853          part { name: "btn_over2";
33854             type: IMAGE;
33855             mouse_events: 1;
33856             repeat_events: 1;
33857             ignore_flags: ON_HOLD;
33858             description { state: "default" 0.0;
33859                rel1.to: "button_image";
33860                rel2.to: "button_image";
33861                image {
33862                   normal: "bt_shine.png";
33863                   border: 7 7 7 7;
33864                }
33865             }
33866          }
33867          part { name: "focus_image";
33868             type: IMAGE;
33869             description { state: "default" 0.0;
33870                color: 255 255 255 0;
33871                rel1.to: "button_image";
33872                rel2.to: "button_image";
33873                image {
33874                   normal: "bt_glow.png";
33875                   border: 12 12 12 12;
33876                }
33877                fill.smooth: 0;
33878
33879             }
33880             description { state: "clicked" 0.0;
33881                inherit: "default" 0.0;
33882                visible: 1;
33883                color: 255 255 255 255;
33884             }
33885          }
33886          part { name: "left_arrow";
33887             mouse_events: 1;
33888             description { state: "default" 0.0;
33889                min: 16 16;
33890                max: 16 16;
33891                image.normal: "sp_bt_l.png";
33892             }
33893          }
33894       }
33895
33896       programs {
33897          program {
33898             name:   "button_down";
33899             signal: "elm,state,left,button,down";
33900             source: "left_button";
33901             action: STATE_SET "clicked" 0.0;
33902             target: "button_image";
33903             target: "focus_image";
33904          }
33905          program {
33906             name:   "button_up";
33907             signal: "elm,state,left,button,up";
33908             source: "left_button";
33909             action: STATE_SET "default" 0.0;
33910             target: "button_image";
33911             target: "focus_image";
33912          }
33913       }
33914    }
33915
33916    group { name: "elm/colorselector/button/right";
33917       images {
33918          image: "bt_base1.png" COMP;
33919          image: "bt_shine.png" COMP;
33920          image: "sp_bt_r.png" COMP;
33921       }
33922       parts {
33923          part { name: "button_image";
33924             mouse_events: 1;
33925             description { state: "default" 0.0;
33926                image.normal: "bt_base1.png";
33927                image.border: 6 6 6 6;
33928                image.middle: SOLID;
33929             }
33930
33931             description { state: "clicked" 0.0;
33932                inherit: "default" 0.0;
33933                image.normal: "bt_shine.png";
33934                image.border: 6 6 6 6;
33935                image.middle: SOLID;
33936             }
33937          }
33938          part { name: "btn_over";
33939             type: IMAGE;
33940             mouse_events: 0;
33941             description { state: "default" 0.0;
33942                rel1.to: "button_image";
33943                rel2 {
33944                   relative: 1.0 0.5;
33945                   to: "button_image";
33946                }
33947                image {
33948                   normal: "bt_hilight.png";
33949                   border: 7 7 7 0;
33950                }
33951             }
33952          }
33953          part { name: "btn_over2";
33954             type: IMAGE;
33955             mouse_events: 1;
33956             repeat_events: 1;
33957             ignore_flags: ON_HOLD;
33958             description { state: "default" 0.0;
33959                rel1.to: "button_image";
33960                rel2.to: "button_image";
33961                image {
33962                   normal: "bt_shine.png";
33963                   border: 7 7 7 7;
33964                }
33965             }
33966          }
33967          part { name: "focus_image";
33968             type: IMAGE;
33969             description { state: "default" 0.0;
33970                color: 255 255 255 0;
33971                rel1.to: "button_image";
33972                rel2.to: "button_image";
33973                image {
33974                   normal: "bt_glow.png";
33975                   border: 12 12 12 12;
33976                }
33977                fill.smooth: 0;
33978
33979             }
33980             description { state: "clicked" 0.0;
33981                inherit: "default" 0.0;
33982                visible: 1;
33983                color: 255 255 255 255;
33984             }
33985          }
33986          part { name: "right_arrow";
33987             mouse_events: 1;
33988             description { state: "default" 0.0;
33989                min: 16 16;
33990                max: 16 16;
33991                image.normal: "sp_bt_r.png";
33992             }
33993          }
33994       }
33995
33996       programs {
33997          program {
33998             name:   "button_down";
33999             signal: "elm,state,right,button,down";
34000             source: "right_button";
34001             action: STATE_SET "clicked" 0.0;
34002             target: "button_image";
34003             target: "focus_image";
34004          }
34005          program {
34006             name:   "button_up";
34007             signal: "elm,state,right,button,up";
34008             source: "right_button";
34009             action: STATE_SET "default" 0.0;
34010             target: "button_image";
34011             target: "focus_image";
34012          }
34013       }
34014    }
34015
34016 ///////////////////////////////////////////////////////////////////////////////
34017 #define FLIP_PICKER_MAX_LEN (50)
34018 #define FLIP_PICKER_MAX_LEN_STR "50"
34019
34020    group { name: "elm/flipselector/base/default";
34021       images {
34022          image: "flip_base.png" COMP;
34023          image: "flip_base_shad.png" COMP;
34024          image: "flip_shad.png" COMP;
34025          image: "arrow_up.png" COMP;
34026          image: "arrow_down.png" COMP;
34027          image: "flip_t.png" COMP;
34028          image: "flip_b.png" COMP;
34029       }
34030
34031       data {
34032          item: "max_len" FLIP_PICKER_MAX_LEN_STR;
34033       }
34034
34035       //FIXME: quick successive clicks on, say, up, lead to nastiness
34036       script {
34037          public cur, prev, next, lock;
34038
34039          public animator_bottom_down(val, Float:pos) {
34040             new tmp[FLIP_PICKER_MAX_LEN];
34041
34042             set_tween_state(PART:"bottom", pos, "shrink", 0.0, "default", 0.0);
34043             set_tween_state(PART:"bottom_sheet", pos, "shrink", 0.0, "default",
34044                             0.0);
34045             set_tween_state(PART:"shadow", pos, "half", 0.0, "full",
34046                             0.0);
34047
34048             if (pos >= 1.0) {
34049                set_state(PART:"shadow", "default", 0.0);
34050                set_int(lock, 0);
34051
34052                fetch_str(next, 0, tmp, FLIP_PICKER_MAX_LEN);
34053                if (strncmp(tmp, "", FLIP_PICKER_MAX_LEN) != 0) {
34054                   replace_str(next, 0, "");
34055                   message(MSG_STRING, 1, tmp);
34056                }
34057             }
34058          }
34059
34060          public animator_top_down(val, Float:pos) {
34061             set_tween_state(PART:"top", pos, "default", 0.0, "shrink", 0.0);
34062             set_tween_state(PART:"top_sheet", pos, "default", 0.0, "shrink",
34063                             0.0);
34064             set_tween_state(PART:"shadow", pos, "default", 0.0, "half",
34065                             0.0);
34066
34067             if (pos >= 1.0)
34068                anim(0.2, "animator_bottom_down", val);
34069          }
34070
34071          public animator_bottom_up(val, Float:pos) {
34072             set_tween_state(PART:"bottom", pos, "default", 0.0, "shrink", 0.0);
34073             set_tween_state(PART:"bottom_sheet", pos, "default", 0.0, "shrink",
34074                             0.0);
34075             set_tween_state(PART:"shadow", pos, "full", 0.0, "half",
34076                             0.0);
34077
34078             if (pos >= 1.0)
34079                anim(0.2, "animator_top_up", val);
34080          }
34081
34082          public animator_top_up(val, Float:pos) {
34083             new tmp[FLIP_PICKER_MAX_LEN];
34084
34085             set_tween_state(PART:"top", pos, "shrink", 0.0, "default", 0.0);
34086             set_tween_state(PART:"top_sheet", pos, "shrink", 0.0, "default",
34087                             0.0);
34088             set_tween_state(PART:"shadow", pos, "half", 0.0, "default",
34089                             0.0);
34090
34091             if (pos >= 1.0) {
34092                set_state(PART:"shadow", "default", 0.0);
34093                set_int(lock, 0);
34094
34095                fetch_str(next, 0, tmp, FLIP_PICKER_MAX_LEN);
34096                if (strncmp(tmp, "", FLIP_PICKER_MAX_LEN) != 0) {
34097                   replace_str(next, 0, "");
34098                   message(MSG_STRING, 2, tmp);
34099                }
34100             }
34101          }
34102
34103          public message(Msg_Type:type, id, ...) {
34104             /* flip down */
34105             if ((type == MSG_STRING) && (id == 1)) {
34106                new value[FLIP_PICKER_MAX_LEN], tmp[FLIP_PICKER_MAX_LEN];
34107
34108                snprintf(value, FLIP_PICKER_MAX_LEN, "%s", getarg(2));
34109
34110                if (get_int(lock) == 1) {
34111                   replace_str(next, 0, value);
34112                   return;
34113                }
34114
34115                fetch_str(cur, 0, tmp, FLIP_PICKER_MAX_LEN);
34116
34117                set_text(PART:"bottom_b", tmp);
34118
34119                set_state(PART:"top", "shrink", 0.0);
34120                set_text(PART:"top", tmp);
34121                set_state(PART:"top", "default", 0.0);
34122                set_text(PART:"top", tmp);
34123
34124                replace_str(prev, 0, tmp);
34125
34126                set_state(PART:"bottom", "default", 0.0);
34127                set_text(PART:"bottom", value);
34128                set_state(PART:"bottom", "shrink", 0.0);
34129                set_text(PART:"bottom", value);
34130
34131                set_text(PART:"top_b", value);
34132
34133                replace_str(cur, 0, value);
34134
34135                set_state(PART:"bottom_sheet", "shrink", 0.0);
34136                set_state(PART:"top_sheet", "default", 0.0);
34137
34138                set_int(lock, 1);
34139                set_state(PART:"shadow", "default", 0.0);
34140                anim(0.2, "animator_top_down", 1);
34141             }
34142
34143             /* flip up */
34144             if ((type == MSG_STRING) && (id == 2)) {
34145                new value[FLIP_PICKER_MAX_LEN], tmp[FLIP_PICKER_MAX_LEN];
34146
34147                snprintf(value, FLIP_PICKER_MAX_LEN, "%s", getarg(2));
34148
34149                if (get_int(lock) == 1) {
34150                   replace_str(next, 0, value);
34151                   return;
34152                }
34153
34154                fetch_str(cur, 0, tmp, FLIP_PICKER_MAX_LEN);
34155
34156                set_text(PART:"top_b", tmp);
34157
34158                set_state(PART:"bottom", "shrink", 0.0);
34159                set_text(PART:"bottom", tmp);
34160                set_state(PART:"bottom", "default", 0.0);
34161                set_text(PART:"bottom", tmp);
34162
34163                replace_str(prev, 0, tmp);
34164
34165                set_state(PART:"top", "default", 0.0);
34166                set_text(PART:"top", value);
34167                set_state(PART:"top", "shrink", 0.0);
34168                set_text(PART:"top", value);
34169
34170                set_text(PART:"bottom_b", value);
34171
34172                replace_str(cur, 0, value);
34173
34174                set_state(PART:"bottom_sheet", "default", 0.0);
34175                set_state(PART:"top_sheet", "shrink", 0.0);
34176
34177                set_int(lock, 1);
34178                set_state(PART:"shadow", "full", 0.0);
34179                anim(0.2, "animator_bottom_up", 1);
34180             }
34181          }
34182       }
34183
34184       parts {
34185          part { name: "shad";
34186             mouse_events: 0;
34187             description { state: "default" 0.0;
34188                rel1.offset: -4 -4;
34189                rel1.to: "base";
34190                rel2.offset: 3 3;
34191                rel2.to: "base";
34192                image {
34193                   normal: "flip_base_shad.png";
34194                   border: 8 8 8 8;
34195                }
34196             }
34197          }
34198
34199          part { name: "base";
34200             scale: 1;
34201             description { state: "default" 0.0;
34202                rel1.offset: 4 4;
34203                rel2.offset: -5 -5;
34204                min: 24 48;
34205                image.normal: "flip_base.png";
34206             }
34207          }
34208
34209          part { name: "b";
34210             type: RECT;
34211             mouse_events: 1;
34212             description { state: "default" 0.0;
34213                rel1.to: "base";
34214                rel1.relative: 0.0 0.5;
34215                rel2.to: "base";
34216                color: 0 0 0 0;
34217             }
34218             description { state: "hidden" 0.0;
34219                inherit: "default" 0.0;
34220                visible: 0;
34221             }
34222          }
34223
34224          part { name: "t";
34225             type: RECT;
34226             mouse_events: 1;
34227             description { state: "default" 0.0;
34228                rel1.to: "base";
34229                rel2.to: "base";
34230                rel2.relative: 1.0 0.5;
34231                color: 0 0 0 0;
34232             }
34233             description { state: "hidden" 0.0;
34234                inherit: "default" 0.0;
34235                visible: 0;
34236             }
34237          }
34238
34239          part { name: "bottom_sheet_static";
34240             mouse_events: 0;
34241             description { state: "default" 0.0;
34242                visible: 1;
34243                rel1.to: "b";
34244                rel2.to: "b";
34245                image.normal: "flip_b.png";
34246             }
34247          }
34248
34249          part { name: "bottom_b";
34250             mouse_events: 0;
34251             clip_to: "bottom_clipper";
34252             type: TEXT;
34253             scale: 1;
34254             description { state: "default" 0.0;
34255                rel1.to: "base";
34256                rel2.to: "base";
34257                color: 0 0 0 255;
34258                color2: 0 0 0 255;
34259                text {
34260                   font: "Sans:style=Bold,Edje-Vera-Bold";
34261                   size: 30;
34262                   min: 1 1;
34263                   align: 0.5 0.5;
34264                }
34265             }
34266          }
34267
34268          part { name: "shadow";
34269             mouse_events: 0;
34270             description { state: "default" 0.0;
34271                rel1.to: "b";
34272                rel2.to: "b";
34273                rel2.relative: 1.0 0.0;
34274                image.normal: "flip_shad.png";
34275             }
34276             description { state: "half" 0.0;
34277                inherit: "default" 0.0;
34278                rel2.relative: 1.0 0.5;
34279             }
34280             description { state: "full" 0.0;
34281                inherit: "default" 0.0;
34282                rel2.relative: 1.0 1.0;
34283             }
34284          }
34285
34286          part { name: "bottom_sheet";
34287             mouse_events: 0;
34288             description { state: "default" 0.0;
34289                visible: 1;
34290                rel1.to: "b";
34291                rel2.to: "b";
34292                image.normal: "flip_b.png";
34293             }
34294             description { state: "shrink" 0.0;
34295                inherit: "default" 0.0;
34296                visible: 0;
34297                rel2.relative: 1.0 0.0;
34298             }
34299          }
34300
34301          part { name: "bottom";
34302             mouse_events: 0;
34303             clip_to: "bottom_clipper";
34304             type: TEXT;
34305             scale: 1;
34306             description { state: "default" 0.0;
34307                rel1.to: "base";
34308                rel2.to: "base";
34309                color: 0 0 0 255;
34310                color2: 0 0 0 255;
34311                text {
34312                   font: "Sans:style=Bold,Edje-Vera-Bold";
34313                   size: 30;
34314                   min: 1 1;
34315                   align: 0.5 0.5;
34316                }
34317             }
34318             description { state: "shrink" 0.0;
34319                inherit: "default" 0.0;
34320                color: 128 128 128 255;
34321                visible: 0;
34322                rel2.relative: 1.0 0.5; /* FIXME: same visual effect? --> MAP! */
34323             }
34324          }
34325
34326          part { name: "top_sheet_static";
34327             mouse_events: 0;
34328             description { state: "default" 0.0;
34329                visible: 1;
34330                rel1.to: "t";
34331                rel2.to: "t";
34332                image.normal: "flip_t.png";
34333             }
34334          }
34335
34336          part { name: "top_b";
34337             mouse_events: 0;
34338             clip_to: "top_clipper";
34339             type: TEXT;
34340             scale: 1;
34341             description { state: "default" 0.0;
34342                rel1.to: "base";
34343                rel2.to: "base";
34344                color: 0 0 0 255;
34345                color2: 0 0 0 255;
34346                text {
34347                   font: "Sans:style=Bold,Edje-Vera-Bold";
34348                   size: 30;
34349                   min: 1 1;
34350                   align: 0.5 0.5;
34351                   source: "top";
34352                }
34353             }
34354          }
34355
34356          part { name: "top_sheet";
34357             mouse_events: 0;
34358             description { state: "default" 0.0;
34359                visible: 1;
34360                rel1.to: "t";
34361                rel2.to: "t";
34362                image.normal: "flip_t.png";
34363             }
34364             description { state: "shrink" 0.0;
34365                inherit: "default" 0.0;
34366                color: 128 128 128 255;
34367                visible: 0;
34368                rel1.relative: 0.0 1.0;
34369             }
34370          }
34371
34372          part { name: "top";
34373             mouse_events: 0;
34374             clip_to: "top_clipper";
34375             type: TEXT;
34376             scale: 1;
34377             description { state: "default" 0.0;
34378                rel1.to: "base";
34379                rel2.to: "base";
34380                color: 0 0 0 255;
34381                color2: 0 0 0 255;
34382                text {
34383                   font: "Sans:style=Bold,Edje-Vera-Bold";
34384                   size: 30;
34385                   min: 1 1;
34386                   align: 0.5 0.5;
34387                }
34388             }
34389             description { state: "shrink" 0.0;
34390                inherit: "default" 0.0;
34391                visible: 0;
34392                rel1.relative: 0.0 0.5;
34393             }
34394          }
34395
34396          part { name: "arrow_top";
34397             mouse_events: 0;
34398             scale: 1;
34399             description { state: "default" 0.0;
34400                min: 15 15;
34401                max: 15 15;
34402                align: 0.5 0.0;
34403                rel1.to: "t";
34404                rel2.to: "t";
34405                image.normal: "arrow_up.png";
34406             }
34407             description { state: "hidden" 0.0;
34408                inherit: "default" 0.0;
34409                visible: 0;
34410             }
34411          }
34412          part { name: "arrow_bottom";
34413             mouse_events: 0;
34414             scale: 1;
34415             description { state: "default" 0.0;
34416                min: 15 15;
34417                max: 15 15;
34418                align: 0.5 1.0;
34419                rel1.to: "b";
34420                rel2.to: "b";
34421                image.normal: "arrow_down.png";
34422             }
34423             description { state: "hidden" 0.0;
34424                inherit: "default" 0.0;
34425                visible: 0;
34426             }
34427          }
34428
34429          part {
34430             type: RECT;
34431             mouse_events: 0;
34432             name: "top_clipper";
34433             description {
34434                state: "default" 0.0;
34435                rel1.to: "t";
34436                rel2.to: "t";
34437                visible: 1;
34438             }
34439          }
34440
34441          part {
34442             type: RECT;
34443             mouse_events: 0;
34444             name: "bottom_clipper";
34445             description {
34446                state: "default" 0.0;
34447                rel1.to: "b";
34448                rel2.to: "b";
34449                visible: 1;
34450             }
34451          }
34452       }
34453
34454       programs {
34455          program { name: "load";
34456             signal: "load";
34457             source: "";
34458             script {
34459                append_str(cur, "");
34460                append_str(prev, "");
34461                append_str(next, "");
34462                set_int(lock, 0);
34463             }
34464          }
34465
34466          program { name: "hide_arrows";
34467             signal: "elm,state,button,hidden";
34468             source: "elm";
34469             action: STATE_SET "hidden" 0.0;
34470             target: "arrow_top";
34471             target: "arrow_bottom";
34472             target: "t";
34473             target: "b";
34474          }
34475
34476          program { name: "show_arrows";
34477             signal: "elm,state,button,visible";
34478             source: "elm";
34479             action: STATE_SET "default" 0.0;
34480             target: "arrow_top";
34481             target: "arrow_bottom";
34482             target: "t";
34483             target: "b";
34484          }
34485
34486          program { name: "up";
34487             signal: "mouse,down,1";
34488             source: "t";
34489             action: SIGNAL_EMIT "elm,action,up,start" "";
34490          }
34491          program { name: "up,stop";
34492             signal: "mouse,up,1";
34493             source: "t";
34494             action: SIGNAL_EMIT "elm,action,up,stop" "";
34495          }
34496          program { name: "down";
34497             signal: "mouse,down,1";
34498             source: "b";
34499             action: SIGNAL_EMIT "elm,action,down,start" "";
34500          }
34501          program { name: "down,stop";
34502             signal: "mouse,up,1";
34503             source: "b";
34504             action: SIGNAL_EMIT "elm,action,down,stop" "";
34505          }
34506       }
34507    }
34508
34509 ////////////////////////////////////////////////////////////////////////////////
34510 // diskselector
34511 ////////////////////////////////////////////////////////////////////////////////
34512    group { name: "elm/diskselector/base/default";
34513       images {
34514          image: "bar_shine.png" COMP;
34515       }
34516
34517       parts {
34518          part { name: "bg";
34519             type: RECT;
34520             mouse_events: 0;
34521             description { state: "default" 0.0;
34522                color: 0 0 0 255;
34523             }
34524          }
34525          part { name: "shine_left";
34526             mouse_events:  0;
34527             description { state: "default" 0.0;
34528                rel1.to: "bg";
34529                rel1.relative: -0.1 0;
34530                rel2.to: "bg";
34531                rel2.relative: 0.1 1;
34532                image.normal: "bar_shine.png";
34533                color: 255 255 255 120;
34534             }
34535          }
34536          part { name: "shine_center";
34537             mouse_events:  0;
34538             description { state: "default" 0.0;
34539                rel1.to: "bg";
34540                rel1.relative: 0.2 0;
34541                rel2.to: "bg";
34542                rel2.relative: 0.8 1;
34543                image.normal: "bar_shine.png";
34544                color: 255 255 255 180;
34545             }
34546          }
34547          part { name: "shine_right";
34548             mouse_events:  0;
34549             description { state: "default" 0.0;
34550                rel1.to: "bg";
34551                rel1.relative: 0.9 0;
34552                rel2.to: "bg";
34553                rel2.relative: 1.1 1;
34554                image.normal: "bar_shine.png";
34555                color: 255 255 255 120;
34556             }
34557          }
34558          part { name: "clipper";
34559             type: RECT;
34560             mouse_events: 0;
34561             description { state: "default" 0.0;
34562                rel1.to: "bg";
34563                rel2.to: "bg";
34564                rel1.offset: 2 2;
34565                rel2.offset: -3 -3;
34566             }
34567          }
34568          part { name: "elm.swallow.content";
34569             clip_to: "clipper";
34570             type: SWALLOW;
34571             description { state: "default" 0.0;
34572                rel1.to: "bg";
34573                rel2.to: "bg";
34574             }
34575          }
34576       }
34577    }
34578
34579    group { name: "elm/diskselector/item/default";
34580
34581       data {
34582          item: "len_threshold" "14";
34583          item: "display_item_num" "3";
34584          item: "min_height" "-1";
34585          item: "min_width" "-1";
34586       }
34587
34588       parts {
34589          part { name: "elm.swallow.icon";
34590             type: SWALLOW;
34591             description { state: "default" 0.0;
34592                fixed: 1 0;
34593                align: 0.0 0.5;
34594                rel1 {
34595                   relative: 0 0;
34596                   offset: 4 4;
34597                }
34598                rel2 {
34599                   relative: 0 1;
34600                   offset: 4 -5;
34601                }
34602             }
34603             description { state: "show" 0.0;
34604                inherit: "default" 0.0;
34605             }
34606             description { state: "default_small" 0.0;
34607                inherit: "default" 0.0;
34608                rel1.relative: 0 0.2;
34609                rel2.relative: 0 0.8;
34610             }
34611             description { state: "left_side" 0.0;
34612                inherit: "default" 0.0;
34613                rel1.relative: 0 0.2;
34614                rel2.relative: 0 0.8;
34615                color: 255 255 255 160;
34616             }
34617             description { state: "right_side" 0.0;
34618                inherit: "left_side" 0.0;
34619                rel1.relative: 0.4 0.2;
34620                rel2.relative: 0.4 0.8;
34621                color: 255 255 255 160;
34622             }
34623          }
34624          part { name: "elm.text";
34625             type: TEXT;
34626             mouse_events: 0;
34627             scale: 1;
34628             description { state: "default" 0.0;
34629                rel1.relative: 1 0.0;
34630                rel1.to_x: "elm.swallow.icon";
34631                rel2.relative: 1.0 1.0;
34632                color: 255 255 255 255;
34633                visible: 0;
34634                text {
34635                   font: "Sans,Edje-Vera";
34636                   size: 13;
34637                   align: 0.5 0.5;
34638                   min: 0 1;
34639                }
34640             }
34641             description { state: "show" 0.0;
34642                inherit: "default" 0.0;
34643                visible: 1;
34644             }
34645             description { state: "default_small" 0.0;
34646                inherit: "default" 0.0;
34647                visible: 1;
34648                text.size: 10;
34649             }
34650             description { state: "left_side" 0.0;
34651                inherit: "default" 0.0;
34652                color: 172 172 172 255;
34653                text.size: 10;
34654                visible: 1;
34655                text.align: 0.2 0.5;
34656             }
34657             description { state: "right_side" 0.0;
34658                inherit: "default" 0.0;
34659                color: 172 172 172 255;
34660                visible: 1;
34661                text.size: 10;
34662                text.align: 0.8 0.5;
34663             }
34664          }
34665       }
34666
34667       programs {
34668          program { name: "center_text";
34669             signal: "elm,state,center";
34670             source: "elm";
34671             action: STATE_SET "show" 0.0;
34672             target: "elm.text";
34673             target: "elm.swallow.icon";
34674          }
34675          program { name: "center_small_text";
34676             signal: "elm,state,center_small";
34677             source: "elm";
34678             action: STATE_SET "default_small" 0.0;
34679             target: "elm.text";
34680             target: "elm.swallow.icon";
34681          }
34682          program { name: "l_side_text";
34683             signal: "elm,state,left_side";
34684             source: "elm";
34685             action: STATE_SET "left_side" 0.0;
34686             target: "elm.text";
34687             target: "elm.swallow.icon";
34688          }
34689          program { name: "r_side_text";
34690             signal: "elm,state,right_side";
34691             source: "elm";
34692             action: STATE_SET "right_side" 0.0;
34693             target: "elm.text";
34694             target: "elm.swallow.icon";
34695          }
34696       }
34697    }
34698
34699    group { name: "elm/entry/path/separator/default";
34700       images.image: "arrow_right.png" COMP;
34701       parts {
34702          part { name: "icon";
34703             mouse_events: 0;
34704             description { state: "default" 0.0;
34705                image.normal: "arrow_right.png";
34706                max: 64 64;
34707                aspect: 1.0 1.0;
34708             }
34709          }
34710       }
34711    }
34712
34713    group { name: "elm/fileselector/base/default";
34714       data {
34715          item: "path_separator" "<item relsize=16x16 vsize=full href=path/separator></item>";
34716       }
34717       parts {
34718          part { name: "elm.swallow.up";
34719             type: SWALLOW;
34720             description { state: "default" 0.0;
34721                align: 0.0 0.0;
34722                min: 10 10;
34723                fixed: 1 1;
34724                rel2 {
34725                   relative: 0.0 0.0;
34726                   offset: 0 0;
34727                }
34728             }
34729          }
34730          part { name: "elm.swallow.home";
34731             type: SWALLOW;
34732             description { state: "default" 0.0;
34733                align: 0.0 0.0;
34734                min: 10 10;
34735                fixed: 1 1;
34736                rel1 {
34737                   to: "elm.swallow.up";
34738                   relative: 1.0 0.0;
34739                   offset: 5 0;
34740                }
34741                rel2 {
34742                   to: "elm.swallow.up";
34743                   relative: 1.0 1.0;
34744                   offset: 20 -1;
34745                }
34746             }
34747          }
34748          part { name: "elm.swallow.files";
34749             type: SWALLOW;
34750             description { state: "default" 0.0;
34751                align: 1.0 0.0;
34752                min: 10 10;
34753                fixed: 1 1;
34754                rel1 {
34755                   to_y: "elm.swallow.home";
34756                   relative: 0.0 1.0;
34757                   offset: 0 0;
34758                }
34759                rel2 {
34760                   to_y: "elm.swallow.path";
34761                   relative: 1.0 0.0;
34762                   offset: -1 -1;
34763                }
34764             }
34765          }
34766          part { name: "elm.swallow.path";
34767             type: SWALLOW;
34768             description { state: "default" 0.0;
34769                align: 0.5 1.0;
34770                fixed: 1 1;
34771                rel1 {
34772                   to_y: "elm.swallow.filename";
34773                   relative: 0.0 0.0;
34774                   offset: 0 -1;
34775                }
34776                rel2 {
34777                   to_y: "elm.swallow.filename";
34778                   relative: 1.0 0.0;
34779                   offset: -1 -1;
34780                }
34781             }
34782          }
34783          part { name: "elm.swallow.filename";
34784             type: SWALLOW;
34785             description { state: "default" 0.0;
34786                align: 0.5 1.0;
34787                fixed: 1 1;
34788                rel1 {
34789                   to_y: "elm.swallow.ok";
34790                   relative: 0.0 0.0;
34791                   offset: 0 -1;
34792                }
34793                rel2 {
34794                   to_y: "elm.swallow.ok";
34795                   relative: 1.0 0.0;
34796                   offset: -1 -1;
34797                }
34798             }
34799          }
34800          part { name: "elm.swallow.cancel";
34801             type: SWALLOW;
34802             description { state: "default" 0.0;
34803                align: 1.0 1.0;
34804                fixed: 1 1;
34805                rel1 {
34806                   to: "elm.swallow.ok";
34807                   relative: 0.0 0.0;
34808                   offset: -3 0;
34809                }
34810                rel2 {
34811                   to: "elm.swallow.ok";
34812                   relative: 0.0 1.0;
34813                   offset: -3 -1;
34814                }
34815             }
34816          }
34817          part { name: "elm.swallow.ok";
34818             type: SWALLOW;
34819             description { state: "default" 0.0;
34820                align: 1.0 1.0;
34821                fixed: 1 1;
34822                rel1 {
34823                   relative: 1.0 1.0;
34824                   offset: -1 -1;
34825                }
34826             }
34827          }
34828       }
34829    }
34830
34831    group { name: "elm/fileselector_entry/base/default";
34832       parts {
34833          part { name: "elm.swallow.entry";
34834             type: SWALLOW;
34835             description { state: "default" 0.0;
34836                align: 0.0 0.0;
34837                min: 50 10;
34838                rel2 { to_x: "elm.swallow.button";
34839                   relative: 0.0 1.0;
34840                   offset: -1 -1;
34841                }
34842             }
34843          }
34844          part { name: "elm.swallow.button";
34845             type: SWALLOW;
34846             description { state: "default" 0.0;
34847                align: 1.0 0.0;
34848                min: 10 10;
34849                fixed: 1 1;
34850                rel1 {
34851                   relative: 1.0 0.0;
34852                   offset: -21 0;
34853                }
34854             }
34855          }
34856       }
34857    }
34858
34859 ////////////////////////////////////////////////////////////////////////
34860 // Standard layouts to be used                                        //
34861 ////////////////////////////////////////////////////////////////////////
34862    /* application with toolbar and main content area */
34863    group { name: "elm/layout/application/toolbar-content";
34864       parts {
34865          part { name: "elm.swallow.content";
34866             type: SWALLOW;
34867             description { state: "default" 0.0;
34868                rel1 { to_y: "elm.external.toolbar";
34869                   relative: 0.0 1.0;
34870                   offset: -1 1;
34871                }
34872             }
34873          }
34874
34875          part { name: "elm.external.toolbar";
34876             type: EXTERNAL;
34877             source: "elm/toolbar";
34878             description { state: "default" 0.0;
34879                align: 0.5 0.0;
34880                fixed: 0 1;
34881                rel2 {
34882                   relative: 1.0 0.0;
34883                   offset: -1 47;
34884                }
34885             }
34886          }
34887       }
34888    }
34889
34890    /* application with toolbar and main content area with a back button and title area */
34891    group { name: "elm/layout/application/toolbar-content-back";
34892       parts {
34893          part { name: "elm.swallow.content";
34894             type: SWALLOW;
34895             description { state: "default" 0.0;
34896                rel1 { to_y: "title_clipper";
34897                   relative: 0.0 1.0;
34898                   offset: -1 1;
34899                }
34900             }
34901          }
34902
34903          part { name: "elm.external.toolbar";
34904             type: EXTERNAL;
34905             source: "elm/toolbar";
34906             description { state: "default" 0.0;
34907                fixed: 0 1;
34908                align: 0.5 0.0;
34909                rel2 {
34910                   relative: 1.0 0.0;
34911                   offset: -1 47;
34912                }
34913             }
34914          }
34915          part { name: "title_clipper";
34916             type: RECT;
34917             description { state: "default" 0.0;
34918                visible: 1;
34919                rel1 {
34920                   to_y: "back";
34921                }
34922                rel2 {
34923                   to_y: "back";
34924                }
34925             }
34926             description { state: "hidden" 0.0;
34927                inherit: "default" 0.0;
34928                visible: 0;
34929                rel2 {
34930                   relative: 1.0 0.0;
34931                }
34932             }
34933          }
34934          part { name: "back_clipper";
34935             type: RECT;
34936             clip_to: "title_clipper";
34937             description { state: "default" 0.0;
34938                visible: 1;
34939             }
34940             description { state: "hidden" 0.0;
34941                visible: 0;
34942             }
34943          }
34944          part { name: "back";
34945             type: EXTERNAL;
34946             source: "elm/button";
34947             clip_to: "back_clipper";
34948             description { state: "default" 0.0;
34949                align: 0.0 0.0;
34950                fixed: 1 1;
34951                rel1 { to_y: "elm.external.toolbar";
34952                   relative: 0.0 1.0;
34953                   offset: 0 1;
34954                }
34955                rel2 { to_y: "elm.external.toolbar";
34956                   relative: 0.0 1.0;
34957                   offset: 50 32;
34958                }
34959                params.string: "label" "Back";
34960             }
34961          }
34962          programs {
34963             program {
34964                signal: "clicked";
34965                source: "back";
34966                action: SIGNAL_EMIT "elm,action,back" "";
34967             }
34968             program {
34969                signal: "elm,back,hide";
34970                source: "elm";
34971                action: STATE_SET "hidden" 0.0;
34972                target: "back_clipper";
34973             }
34974             program {
34975                signal: "elm,back,show";
34976                source: "elm";
34977                action: STATE_SET "default" 0.0;
34978                target: "back_clipper";
34979             }
34980             program {
34981                signal: "elm,title,hide";
34982                source: "elm";
34983                action: STATE_SET "hidden" 0.0;
34984                transition: LINEAR 0.1;
34985                target: "title_clipper";
34986             }
34987             program {
34988                signal: "elm,title,show";
34989                source: "elm";
34990                action: STATE_SET "default" 0.0;
34991                target: "title_clipper";
34992             }
34993          }
34994
34995          part { name: "elm.swallow.end";
34996             type: SWALLOW;
34997             description { state: "default" 0.0;
34998                align: 1.0 0.0;
34999                fixed: 1 1;
35000                rel1 { to_y: "elm.external.toolbar";
35001                   relative: 1.0 1.0;
35002                   offset: -2 1;
35003                }
35004                rel2 { to_y: "elm.external.toolbar";
35005                   relative: 1.0 1.0;
35006                   offset: -1 32;
35007                }
35008             }
35009          }
35010
35011          part { name: "elm.text.title";
35012             type: TEXT;
35013             effect: SOFT_SHADOW;
35014             scale: 1;
35015             description { state: "default" 0.0;
35016                rel1 { to_y: "elm.external.toolbar";
35017                   to_x: "back";
35018                   relative: 1.0 1.0;
35019                   offset: 2 1;
35020                }
35021                rel2 { to_y: "back";
35022                   to_x: "elm.swallow.end";
35023                   relative: 0.0 1.0;
35024                   offset: -3 -1;
35025                }
35026                text {
35027                   font: "Sans:style=Bold";
35028                   size: 12;
35029                }
35030             }
35031          }
35032       }
35033    }
35034
35035    /* application with toolbar and main content area with a back and next buttons and title area */
35036    group { name: "elm/layout/application/toolbar-content-back-next";
35037       parts {
35038          part { name: "elm.swallow.content";
35039             type: SWALLOW;
35040             description { state: "default" 0.0;
35041                rel1 { to_y: "title_clipper";
35042                   relative: 0.0 1.0;
35043                   offset: -1 1;
35044                }
35045             }
35046          }
35047
35048          part { name: "elm.external.toolbar";
35049             type: EXTERNAL;
35050             source: "elm/toolbar";
35051             description { state: "default" 0.0;
35052                fixed: 0 1;
35053                align: 0.5 0.0;
35054                rel2 {
35055                   relative: 1.0 0.0;
35056                   offset: -1 47;
35057                }
35058             }
35059          }
35060          part { name: "title_clipper";
35061             type: RECT;
35062             description { state: "default" 0.0;
35063                visible: 1;
35064                rel1 {
35065                   to_y: "back";
35066                }
35067                rel2 {
35068                   to_y: "back";
35069                }
35070             }
35071             description { state: "hidden" 0.0;
35072                inherit: "default" 0.0;
35073                visible: 0;
35074                rel2 {
35075                   relative: 1.0 0.0;
35076                }
35077             }
35078          }
35079          part { name: "back";
35080             type: EXTERNAL;
35081             source: "elm/button";
35082             clip_to: "back_clipper";
35083             description { state: "default" 0.0;
35084                align: 0.0 0.0;
35085                fixed: 1 1;
35086                rel1 { to_y: "elm.external.toolbar";
35087                   relative: 0.0 1.0;
35088                   offset: 0 1;
35089                }
35090                rel2 { to_y: "elm.external.toolbar";
35091                   relative: 0.0 1.0;
35092                   offset: 50 32;
35093                }
35094                params.string: "label" "Back";
35095             }
35096          }
35097          part { name: "back_clipper";
35098             type: RECT;
35099             clip_to: "title_clipper";
35100             description { state: "default" 0.0;
35101                visible: 1;
35102             }
35103             description { state: "hidden" 0.0;
35104                visible: 0;
35105             }
35106          }
35107          part { name: "next";
35108             type: EXTERNAL;
35109             source: "elm/button";
35110             clip_to: "next_clipper";
35111             description { state: "default" 0.0;
35112                align: 1.0 0.0;
35113                fixed: 1 1;
35114                rel1 { to_y: "elm.external.toolbar";
35115                   relative: 1.0 1.0;
35116                   offset: -2 1;
35117                }
35118                rel2 { to_y: "elm.external.toolbar";
35119                   relative: 1.0 1.0;
35120                   offset: -1 32;
35121                }
35122                params.string: "label" "Next";
35123            }
35124          }
35125          part { name: "next_clipper";
35126             type: RECT;
35127             clip_to: "title_clipper";
35128             description { state: "default" 0.0;
35129                visible: 1;
35130             }
35131             description { state: "hidden" 0.0;
35132                visible: 0;
35133             }
35134          }
35135          programs {
35136             program {
35137                signal: "clicked";
35138                source: "back";
35139                action: SIGNAL_EMIT "elm,action,back" "";
35140             }
35141             program {
35142                signal: "elm,title,hide";
35143                source: "elm";
35144                action: STATE_SET "hidden" 0.0;
35145                transition: LINEAR 0.1;
35146                target: "title_clipper";
35147             }
35148             program {
35149                signal: "elm,title,show";
35150                source: "elm";
35151                action: STATE_SET "default" 0.0;
35152                target: "title_clipper";
35153             }
35154             program {
35155                signal: "elm,back,hide";
35156                source: "elm";
35157                action: STATE_SET "hidden" 0.0;
35158                target: "back_clipper";
35159             }
35160             program {
35161                signal: "elm,back,show";
35162                source: "elm";
35163                action: STATE_SET "default" 0.0;
35164                target: "back_clipper";
35165             }
35166             program {
35167                signal: "clicked";
35168                source: "next";
35169                action: SIGNAL_EMIT "elm,action,next" "";
35170             }
35171             program {
35172                signal: "elm,next,hide";
35173                source: "elm";
35174                action: STATE_SET "hidden" 0.0;
35175                target: "next_clipper";
35176             }
35177             program {
35178                signal: "elm,next,show";
35179                source: "elm";
35180                action: STATE_SET "default" 0.0;
35181                target: "next_clipper";
35182             }
35183          }
35184          part { name: "elm.text.title";
35185             type: TEXT;
35186             effect: SOFT_SHADOW;
35187             scale: 1;
35188             clip_to: "title_clipper";
35189             description { state: "default" 0.0;
35190                rel1 { to_y: "elm.external.toolbar";
35191                   to_x: "back";
35192                   relative: 1.0 1.0;
35193                   offset: 2 1;
35194                }
35195                rel2 { to_y: "back";
35196                   to_x: "next";
35197                   relative: 0.0 1.0;
35198                   offset: -3 -1;
35199                }
35200                text {
35201                   font: "Sans:style=Bold";
35202                   size: 12;
35203                }
35204             }
35205          }
35206       }
35207    }
35208    /* application with a main content area with a back button and title area */
35209    group { name: "elm/layout/application/content-back";
35210       parts {
35211          part { name: "elm.swallow.content";
35212             type: SWALLOW;
35213             description { state: "default" 0.0;
35214                rel1 { to_y: "title_clipper";
35215                   relative: 0.0 1.0;
35216                   offset: -1 1;
35217                }
35218             }
35219          }
35220          part { name: "title_clipper";
35221             type: RECT;
35222             description { state: "default" 0.0;
35223                visible: 1;
35224                rel1 {
35225                   to_y: "back";
35226                }
35227                rel2 {
35228                   to_y: "back";
35229                }
35230             }
35231             description { state: "hidden" 0.0;
35232                inherit: "default" 0.0;
35233                visible: 0;
35234                rel2 {
35235                   relative: 1.0 0.0;
35236                }
35237             }
35238          }
35239          part { name: "back_clipper";
35240             type: RECT;
35241             clip_to: "title_clipper";
35242             description { state: "default" 0.0;
35243                visible: 1;
35244             }
35245             description { state: "hidden" 0.0;
35246                visible: 0;
35247             }
35248          }
35249          part { name: "back";
35250             type: EXTERNAL;
35251             source: "elm/button";
35252             clip_to: "back_clipper";
35253             description { state: "default" 0.0;
35254                align: 0.0 0.0;
35255                fixed: 1 1;
35256                rel1 {
35257                   relative: 0.0 0.0;
35258                   offset: 0 1;
35259                }
35260                rel2 {
35261                   relative: 0.0 0.0;
35262                   offset: 50 32;
35263                }
35264                params.string: "label" "Back";
35265             }
35266          }
35267          programs {
35268             program {
35269                signal: "clicked";
35270                source: "back";
35271                action: SIGNAL_EMIT "elm,action,back" "";
35272             }
35273             program {
35274                signal: "elm,back,hide";
35275                source: "elm";
35276                action: STATE_SET "hidden" 0.0;
35277                target: "back_clipper";
35278             }
35279             program {
35280                signal: "elm,back,show";
35281                source: "elm";
35282                action: STATE_SET "default" 0.0;
35283                target: "back_clipper";
35284             }
35285             program {
35286                signal: "elm,title,hide";
35287                source: "elm";
35288                action: STATE_SET "hidden" 0.0;
35289                transition: LINEAR 0.1;
35290                target: "title_clipper";
35291             }
35292             program {
35293                signal: "elm,title,show";
35294                source: "elm";
35295                action: STATE_SET "default" 0.0;
35296                target: "title_clipper";
35297             }
35298          }
35299
35300          part { name: "elm.swallow.end";
35301             type: SWALLOW;
35302             description { state: "default" 0.0;
35303                align: 1.0 0.0;
35304                fixed: 1 1;
35305                rel1 {
35306                   relative: 1.0 0.0;
35307                   offset: -2 1;
35308                }
35309                rel2 {
35310                   relative: 1.0 1.0;
35311                   offset: -1 32;
35312                }
35313             }
35314          }
35315
35316          part { name: "elm.text.title";
35317             type: TEXT;
35318             effect: SOFT_SHADOW;
35319             scale: 1; 
35320             description { state: "default" 0.0;
35321                rel1 {
35322                   to_x: "back";
35323                   relative: 1.0 0.0;
35324                   offset: 2 1;
35325                }
35326                rel2 { to_y: "back";
35327                   to_x: "elm.swallow.end";
35328                   relative: 0.0 1.0;
35329                   offset: -3 -1;
35330                }
35331                text {
35332                   font: "Sans:style=Bold";
35333                   size: 12;
35334                }
35335             }
35336          }
35337       }
35338    }
35339
35340    /* application with a main content area with a back and next buttons and title area */
35341    group { name: "elm/layout/application/content-back-next";
35342       parts {
35343          part { name: "elm.swallow.content";
35344             type: SWALLOW;
35345             description { state: "default" 0.0;
35346                rel1 { to_y: "title_clipper";
35347                   relative: 0.0 1.0;
35348                   offset: -1 1;
35349                }
35350             }
35351          }
35352
35353          part { name: "title_clipper";
35354             type: RECT;
35355             description { state: "default" 0.0;
35356                visible: 1;
35357                rel1 {
35358                   to_y: "back";
35359                }
35360                rel2 {
35361                   to_y: "back";
35362                }
35363             }
35364             description { state: "hidden" 0.0;
35365                inherit: "default" 0.0;
35366                visible: 0;
35367                rel2 {
35368                   relative: 1.0 0.0;
35369                }
35370             }
35371          }
35372          part { name: "back";
35373             type: EXTERNAL;
35374             source: "elm/button";
35375             clip_to: "back_clipper";
35376             description { state: "default" 0.0;
35377                align: 0.0 0.0;
35378                fixed: 1 1;
35379                rel1 {
35380                   relative: 0.0 0.0;
35381                   offset: 0 1;
35382                }
35383                rel2 {
35384                   relative: 0.0 0.0;
35385                   offset: 50 32;
35386                }
35387                params.string: "label" "Back";
35388             }
35389          }
35390          part { name: "back_clipper";
35391             type: RECT;
35392             clip_to: "title_clipper";
35393             description { state: "default" 0.0;
35394                visible: 1;
35395             }
35396             description { state: "hidden" 0.0;
35397                visible: 0;
35398             }
35399          }
35400          part { name: "next";
35401             type: EXTERNAL;
35402             source: "elm/button";
35403             clip_to: "next_clipper";
35404             description { state: "default" 0.0;
35405                align: 1.0 0.0;
35406                fixed: 1 1;
35407                rel1 {
35408                   relative: 1.0 0.0;
35409                   offset: -2 1;
35410                }
35411                rel2 {
35412                   relative: 1.0 0.0;
35413                   offset: -1 32;
35414                }
35415                params.string: "label" "Next";
35416            }
35417          }
35418          part { name: "next_clipper";
35419             type: RECT;
35420             clip_to: "title_clipper";
35421             description { state: "default" 0.0;
35422                visible: 1;
35423             }
35424             description { state: "hidden" 0.0;
35425                visible: 0;
35426             }
35427          }
35428          programs {
35429             program {
35430                signal: "clicked";
35431                source: "back";
35432                action: SIGNAL_EMIT "elm,action,back" "";
35433             }
35434             program {
35435                signal: "elm,title,hide";
35436                source: "elm";
35437                action: STATE_SET "hidden" 0.0;
35438                transition: LINEAR 0.1;
35439                target: "title_clipper";
35440             }
35441             program {
35442                signal: "elm,title,show";
35443                source: "elm";
35444                action: STATE_SET "default" 0.0;
35445                target: "title_clipper";
35446             }
35447             program {
35448                signal: "elm,back,hide";
35449                source: "elm";
35450                action: STATE_SET "hidden" 0.0;
35451                target: "back_clipper";
35452             }
35453             program {
35454                signal: "elm,back,show";
35455                source: "elm";
35456                action: STATE_SET "default" 0.0;
35457                target: "back_clipper";
35458             }
35459             program {
35460                signal: "clicked";
35461                source: "next";
35462                action: SIGNAL_EMIT "elm,action,next" "";
35463             }
35464             program {
35465                signal: "elm,next,hide";
35466                source: "elm";
35467                action: STATE_SET "hidden" 0.0;
35468                target: "next_clipper";
35469             }
35470             program {
35471                signal: "elm,next,show";
35472                source: "elm";
35473                action: STATE_SET "default" 0.0;
35474                target: "next_clipper";
35475             }
35476          }
35477          part { name: "elm.text.title";
35478             type: TEXT;
35479             effect: SOFT_SHADOW;
35480             scale: 1;
35481             clip_to: "title_clipper";
35482             description { state: "default" 0.0;
35483                rel1 {
35484                   to_x: "back";
35485                   relative: 1.0 0.0;
35486                   offset: 2 1;
35487                }
35488                rel2 { to_y: "back";
35489                   to_x: "next";
35490                   relative: 0.0 1.0;
35491                   offset: -3 -1;
35492                }
35493                text {
35494                   font: "Sans:style=Bold";
35495                   size: 12;
35496                }
35497             }
35498          }
35499       }
35500    }
35501
35502    /* application with toolbar and main content area as a vertical box */
35503    group { name: "elm/layout/application/toolbar-vbox";
35504       parts {
35505          part { name: "elm.box.content";
35506             type: BOX;
35507             description { state: "default" 0.0;
35508                rel1 { to_y: "elm.external.toolbar";
35509                   relative: 0.0 1.0;
35510                   offset: -1 1;
35511                }
35512                box.layout: "vertical";
35513             }
35514          }
35515
35516          part { name: "elm.external.toolbar";
35517             type: EXTERNAL;
35518             source: "elm/toolbar";
35519             description { state: "default" 0.0;
35520                align: 0.5 0.0;
35521                fixed: 0 1;
35522                rel2 {
35523                   relative: 1.0 0.0;
35524                   offset: -1 47;
35525                }
35526             }
35527          }
35528       }
35529    }
35530
35531    /* application with toolbar and main content area as a table */
35532    group { name: "elm/layout/application/toolbar-table";
35533       parts {
35534          part { name: "elm.table.content";
35535             type: TABLE;
35536             description { state: "default" 0.0;
35537                rel1 { to_y: "elm.external.toolbar";
35538                   relative: 0.0 1.0;
35539                   offset: -1 1;
35540                }
35541             }
35542          }
35543
35544          part { name: "elm.external.toolbar";
35545             type: EXTERNAL;
35546             source: "elm/toolbar";
35547             description { state: "default" 0.0;
35548                align: 0.5 0.0;
35549                fixed: 0 1;
35550                rel2 {
35551                   relative: 1.0 0.0;
35552                   offset: -1 47;
35553                }
35554             }
35555          }
35556       }
35557    }
35558
35559 ///////////////////////////////////////////////////////////////////////////////
35560    group { name: "elm/segment_control/base/default";
35561 #define SEGMENT_TYPE_SINGLE 1
35562 #define SEGMENT_TYPE_LEFT 2
35563 #define SEGMENT_TYPE_MIDDLE 3
35564 #define SEGMENT_TYPE_RIGHT 4
35565 #define SEGMENT_STATE_NORMAL 1
35566 #define SEGMENT_STATE_PRESSED 2
35567 #define SEGMENT_STATE_SELECTED 3
35568 #define SEGMENT_STATUS_ENABLED 0
35569 #define SEGMENT_STATUS_DISABLED 1
35570       parts {
35571          part { name: "bg";
35572             type: RECT;
35573             mouse_events: 0;
35574             scale: 1;
35575             description {
35576                state: "default" 0.0;
35577                color: 0 0 0 0;
35578                min: 100 40;
35579             }
35580          }
35581       }
35582    }
35583    group { name: "elm/segment_control/item/default";
35584       data.item: "label.wrap.part" "label.bg";
35585       styles {
35586          style { name: "seg_text_style_normal";
35587             base: "font=Sans font_size=16 style=shadow \
35588             shadow_color=#2924224d \
35589             align=center \
35590             color=#ffffffff wrap=char text_class=label";
35591             tag:  "br" "\n";
35592             tag:  "hilight" "+ font=Sans:style=Bold";
35593             tag:  "tab" "\t";
35594          }
35595          style { name: "seg_text_style_selected";
35596             base: "font=Sans:style=Bold font_size=16 style=shadow \
35597             shadow_color=#aaaaaa4d \
35598             align=center \
35599             color=#111111ff wrap=char text_class=label";
35600             tag:  "br" "\n";
35601             tag:  "hilight" "+ font=Sans:style=Bold";
35602             tag:  "b" "+ font=Sans:style=Bold";
35603             tag:  "tab" "\t";
35604          }
35605          style { name: "seg_text_style_disabled";
35606             base: "font=Sans:style=Medium font_size=16 style=shadow \
35607             shadow_color=#2924224d \
35608             align=center color=#2924224d \
35609             wrap=char text_class=label";
35610             tag:  "br" "\n";
35611             tag:  "hilight" "+ font=Sans:style=Bold";
35612             tag:  "b" "+ font=Sans:style=Bold";
35613             tag:  "tab" "\t";
35614          }
35615       }
35616       images {
35617          image: "seg_single_pressed.png" COMP;
35618          image: "seg_single_selected.png" COMP;
35619          image: "seg_single_normal.png" COMP;
35620
35621          image: "seg_left_pressed.png" COMP;
35622          image: "seg_left_selected.png" COMP;
35623          image: "seg_left_normal.png" COMP;
35624
35625          image: "seg_middle_pressed.png" COMP;
35626          image: "seg_middle_selected.png" COMP;
35627          image: "seg_middle_normal.png" COMP;
35628
35629          image: "seg_right_pressed.png" COMP;
35630          image: "seg_right_selected.png" COMP;
35631          image: "seg_right_normal.png" COMP;
35632       }
35633       parts {
35634          part { name: "segment";
35635             mouse_events: 1;
35636             scale: 1;
35637             description { state: "default" 0.0;
35638                min: 1 1;
35639                visible: 0;
35640                image {
35641                   normal: "seg_single_normal.png";
35642                   border: 7 7 7 7;
35643                   border_scale: 1;
35644                   middle: 1;
35645                }
35646             }
35647             description { state: "default_single" 0.0;
35648                inherit: "default" 0.0;
35649                visible: 1;
35650                image {
35651                   normal: "seg_single_normal.png";
35652                   border: 7 7 7 7;
35653                }
35654             }
35655             description { state: "default_left" 0.0;
35656                inherit: "default" 0.0;
35657                visible: 1;
35658                image {
35659                normal: "seg_left_normal.png";
35660                   border:  6 1 7 7;
35661                }
35662             }
35663             description { state: "default_right" 0.0;
35664                inherit: "default" 0.0;
35665                visible: 1;
35666                image {
35667                   normal: "seg_right_normal.png";
35668                   border: 1 6 7 7;
35669                }
35670             }
35671             description { state: "default_middle" 0.0;
35672                inherit: "default" 0.0;
35673                visible: 1;
35674                image {
35675                   normal: "seg_middle_normal.png";
35676                   border: 2 2 2 2;
35677                }
35678             }
35679             description { state: "pressed_single" 0.0;
35680                inherit: "default" 0.0;
35681                visible: 1;
35682                image {
35683                   normal: "seg_single_pressed.png";
35684                   border: 7 7 7 7;
35685                }
35686             }
35687             description { state: "pressed_left" 0.0;
35688                inherit: "default" 0.0;
35689                visible: 1;
35690                image {
35691                   normal: "seg_left_pressed.png";
35692                   border:  6 1 7 7;
35693                }
35694             }
35695             description { state: "pressed_right" 0.0;
35696                inherit: "default" 0.0;
35697                visible: 1;
35698                image {
35699                   normal: "seg_right_pressed.png";
35700                   border: 1 6 7 7;
35701                }
35702             }
35703             description { state: "pressed_middle" 0.0;
35704                inherit: "default" 0.0;
35705                visible: 1;
35706                image {
35707                   normal: "seg_middle_pressed.png";
35708                   border: 1 1 2 2;
35709                }
35710             }
35711             description { state: "selected_single" 0.0;
35712                inherit: "default" 0.0;
35713                visible: 1;
35714                image {
35715                   normal: "seg_single_selected.png";
35716                   border: 7 7 7 7;
35717                }
35718             }
35719             description { state: "selected_left" 0.0;
35720                inherit: "default" 0.0;
35721                visible: 1;
35722                image {
35723                   normal: "seg_left_selected.png";
35724                   border:  6 3 7 7;
35725                }
35726             }
35727             description { state: "selected_right" 0.0;
35728                inherit: "default" 0.0;
35729                visible: 1;
35730                image {
35731                   normal: "seg_right_selected.png";
35732                   border: 3 6 7 7;
35733                }
35734             }
35735             description { state: "selected_middle" 0.0;
35736                inherit: "default" 0.0;
35737                visible: 1;
35738                image {
35739                   normal: "seg_middle_selected.png";
35740                   border: 3 3 3 3;
35741                }
35742             }
35743          }
35744          part { name: "padding_left";
35745             type: RECT;
35746             scale: 1;
35747             mouse_events: 0;
35748             description { state: "default" 0.0;
35749                align: 0.0 0.0;
35750                rel1.relative: 0.0 0.0;
35751                rel2.relative: 0.0 1.0;
35752                min: 2 2;
35753                max: 2 2;
35754                fixed: 1 0;
35755                color: 0 0 0 0;
35756             }
35757          }
35758          part { name: "padding_right";
35759             type: RECT;
35760             scale: 1;
35761             mouse_events: 0;
35762             description { state: "default" 0.0;
35763                align: 1.0 0.0;
35764                rel1.relative: 1.0 0.0;
35765                rel2.relative: 1.0 1.0;
35766                min: 2 2;
35767                max: 2 2;
35768                fixed: 1 0;
35769                color: 0 0 0 0;
35770             }
35771          }
35772          part { name: "padding_top";
35773             type: RECT;
35774             scale: 1;
35775             mouse_events: 0;
35776             description { state: "default" 0.0;
35777                align: 0.0 0.0;
35778                rel1.relative: 0.0 0.0;
35779                rel2.relative: 1.0 0.0;
35780                min: 2 2;
35781                max: 2 2;
35782                fixed: 0 1;
35783                color: 0 0 0 0;
35784             }
35785          }
35786          part { name: "padding_bottom";
35787             type: RECT;
35788             scale: 1;
35789             mouse_events: 0;
35790             description { state: "default" 0.0;
35791                align: 1.0 1.0;
35792                rel1.relative: 0.0 1.0;
35793                rel2.relative: 1.0 1.0;
35794                min: 2 2;
35795                max: 2 2;
35796                fixed: 0 1;
35797                color: 0 0 0 0;
35798             }
35799          }
35800          part { name: "icon.bg";
35801             type: RECT;
35802             scale: 1;
35803             mouse_events: 0;
35804             description { state: "default" 0.0;
35805                visible: 1;
35806                fixed: 1 0;
35807                rel1 {
35808                   to_x: "padding_left";
35809                   to_y: "padding_top";
35810                   relative: 1.0 1.0;
35811                }
35812                rel2 {
35813                   to: "elm.swallow.icon";
35814                   relative: 1.0 1.0;
35815                }
35816                align: 0.0 0.5;
35817                color: 0 0 0 0;
35818             }
35819          }
35820          part { name: "padding_icon_text";
35821             type: RECT;
35822             scale: 1;
35823             mouse_events: 0;
35824             description { state: "default" 0.0; //when only icon or no icon is there
35825                align: 0.0 0.0;
35826                rel1 {
35827                   to: "icon.bg";
35828                   relative: 1.0 0.0;
35829                }
35830                rel2 {
35831                   to: "icon.bg";
35832                   relative: 1.0 1.0;
35833                }
35834                fixed: 1 0;
35835                min: 0 0;
35836                color: 0 0 0 0;
35837             }
35838             description { state: "icononly" 0.0;
35839                inherit: "default" 0.0;
35840             }
35841             description { state: "visible" 0.0; //when icon is visible
35842                inherit: "default" 0.0;
35843                min: 2 0;
35844             }
35845          }
35846          part { name: "elm.swallow.icon";
35847             type: SWALLOW;
35848             scale: 1;
35849             description { state: "default" 0.0;
35850                visible: 0;
35851                align: 0.0 0.5;
35852                rel1 {
35853                   to_x: "padding_left";
35854                   to_y: "padding_top";
35855                   relative: 1.0 1.0;
35856                }
35857                rel2 {
35858                   to_y: "padding_bottom";
35859                   relative: 0.0 0.0;
35860                }
35861                fixed: 1 0;
35862                aspect: 1.0 1.0;
35863                aspect_preference: BOTH;
35864             }
35865             description { state: "visible" 0.0;
35866                inherit: "default" 0.0;
35867                visible: 1;
35868                rel2 {
35869                   to_y: "padding_bottom";
35870                   relative: 0.3 0.0;
35871                }
35872             }
35873             description { state: "icononly" 0.0;
35874                inherit: "default" 0.0;
35875                visible: 1;
35876                rel2 {
35877                   to_x: "padding_right";
35878                   to_y: "padding_bottom";
35879                   relative: 0.0 0.0;
35880                }
35881                align: 0.5 0.5;
35882             }
35883          }
35884          part { name: "elm.text";
35885             type: TEXT;
35886             mouse_events: 0;
35887             scale: 1;
35888             description {
35889                state: "default" 0.0;
35890                visible: 0;
35891                fixed: 1 1;
35892                min: 1 1;
35893                rel1 {
35894                   to_x: "padding_icon_text";
35895                   relative: 1.0 1.0;
35896                }
35897                rel2 {
35898                   to_x: "padding_right";
35899                   relative: 0.0 0.0;
35900                }
35901                color: 224 224 224 255;
35902                color3: 0 0 0 64;
35903                text {
35904                   font: "Sans";
35905                   ellipsis: 0.0;
35906                   fit: 1 1;
35907                   size: 24;
35908                   size_range: 8 36;
35909                   min: 0 1;
35910                }
35911             }
35912             description { state: "normal" 0.0;
35913                inherit: "default" 0.0;
35914                visible: 1;
35915             }
35916             description { state: "pressed" 0.0;
35917                inherit: "default" 0.0;
35918                visible: 1;
35919                color: 0 0 0 255;
35920             }
35921             description { state: "selected" 0.0;
35922                inherit: "default" 0.0;
35923                visible: 1;
35924                color: 50 50 50 255;
35925             }
35926             description { state: "disabled" 0.0;
35927                inherit: "default" 0.0;
35928                visible: 1;
35929                color: 200 200 200 255;
35930             }
35931          }
35932          part { name: "disabler";
35933             repeat_events: 0;
35934             scale: 1;
35935             description { state: "default" 0.0;
35936                visible: 0;
35937                fixed: 1 1;
35938                min: 1 1;
35939                align: 0.0 0.5;
35940                rel1 { relative: 0.0 0.0; to: "segment";}
35941                rel2 { relative: 1.0 1.0; to: "segment";}
35942                color: 255 255 255 150;
35943             }
35944             description { state: "disabled_single" 0.0;
35945                inherit: "default" 0.0;
35946                visible: 1;
35947                image {
35948                   normal: "seg_single_normal.png";
35949                   border: 7 7 7 7;
35950                }
35951             }
35952             description { state: "disabled_left" 0.0;
35953                inherit: "default" 0.0;
35954                visible: 1;
35955                image {
35956                   normal: "seg_left_normal.png";
35957                   border:  6 1 7 7;
35958                }
35959             }
35960             description { state: "disabled_right" 0.0;
35961                inherit: "default" 0.0;
35962                visible: 1;
35963                image {
35964                   normal: "seg_right_normal.png";
35965                   border: 1 6 7 7;
35966                }
35967             }
35968             description { state: "disabled_middle" 0.0;
35969                inherit: "default" 0.0;
35970                visible: 1;
35971                image {
35972                   normal: "seg_middle_normal.png";
35973                   border: 2 2 2 2;
35974                }
35975             }
35976          }
35977       }
35978       programs {
35979          script {
35980             public seg_type; // Single, Left, Middle, Right.
35981             public seg_state; // Normal/Default, Pressed, Selected.
35982             public seg_status;// Enabled/Default, Disabled
35983
35984             public update_state() {
35985                new type, state, disabled;
35986                type = get_int(seg_type);
35987                state = get_int(seg_state);
35988                disabled = get_int(seg_status);
35989
35990                if(state == SEGMENT_STATE_NORMAL)
35991                  {
35992                     if(type == SEGMENT_TYPE_SINGLE)
35993                       set_state(PART:"segment", "default_single", 0.0);
35994                     else if(type == SEGMENT_TYPE_LEFT)
35995                       set_state(PART:"segment", "default_left", 0.0);
35996                     else if(type == SEGMENT_TYPE_MIDDLE)
35997                       set_state(PART:"segment", "default_middle", 0.0);
35998                     else if(type == SEGMENT_TYPE_RIGHT)
35999                       set_state(PART:"segment", "default_right", 0.0);
36000                     set_state(PART:"elm.text", "normal", 0.0);
36001                  }
36002                else if(state == SEGMENT_STATE_PRESSED)
36003                  {
36004                     if(type == SEGMENT_TYPE_SINGLE)
36005                       set_state(PART:"segment", "pressed_single", 0.0);
36006                     else if(type == SEGMENT_TYPE_LEFT)
36007                       set_state(PART:"segment", "pressed_left", 0.0);
36008                     else if(type == SEGMENT_TYPE_MIDDLE)
36009                       set_state(PART:"segment", "pressed_middle", 0.0);
36010                     else if(type == SEGMENT_TYPE_RIGHT)
36011                       set_state(PART:"segment", "pressed_right", 0.0);
36012                     set_state(PART:"elm.text", "pressed", 0.0);
36013                  }
36014                else if(state == SEGMENT_STATE_SELECTED)
36015                  {
36016                     if(type == SEGMENT_TYPE_SINGLE)
36017                       set_state(PART:"segment", "selected_single", 0.0);
36018                     else if(type == SEGMENT_TYPE_LEFT)
36019                       set_state(PART:"segment", "selected_left", 0.0);
36020                     else if(type == SEGMENT_TYPE_MIDDLE)
36021                       set_state(PART:"segment", "selected_middle", 0.0);
36022                     else if(type == SEGMENT_TYPE_RIGHT)
36023                       set_state(PART:"segment", "selected_right", 0.0);
36024                     set_state(PART:"elm.text", "selected", 0.0);
36025                  }
36026                if(disabled == SEGMENT_STATUS_DISABLED)
36027                  {
36028                     if(type == SEGMENT_TYPE_SINGLE)
36029                       set_state(PART:"disabler", "disabled_single", 0.0);
36030                     else if(type == SEGMENT_TYPE_LEFT)
36031                       set_state(PART:"disabler", "disabled_left", 0.0);
36032                     else if(type == SEGMENT_TYPE_MIDDLE)
36033                       set_state(PART:"disabler", "disabled_middle", 0.0);
36034                     else if(type == SEGMENT_TYPE_RIGHT)
36035                       set_state(PART:"disabler", "disabled_right", 0.0);
36036                     set_state(PART:"elm.text", "disabled", 0.0);
36037                  }
36038             }
36039          }
36040          program {
36041             name: "segment_type_s";
36042             signal: "elm,type,segment,single";
36043             source: "elm";
36044             script {
36045                set_int(seg_type, SEGMENT_TYPE_SINGLE);
36046                update_state();
36047             }
36048          }
36049          program {
36050             name: "segment_type_l";
36051             signal: "elm,type,segment,left";
36052             source: "elm";
36053             script {
36054                set_int(seg_type, SEGMENT_TYPE_LEFT);
36055                update_state();
36056             }
36057          }
36058          program {
36059             name: "segment_type_m";
36060             signal: "elm,type,segment,middle";
36061             source: "elm";
36062             script {
36063                set_int(seg_type, SEGMENT_TYPE_MIDDLE);
36064                update_state();
36065             }
36066          }
36067          program {
36068             name: "segment_type_r";
36069             signal: "elm,type,segment,right";
36070             source: "elm";
36071             script {
36072                set_int(seg_type, SEGMENT_TYPE_RIGHT);
36073                update_state();
36074             }
36075          }
36076          program {
36077             name: "normal_segment";
36078             signal: "elm,state,segment,normal";
36079             source: "elm";
36080             script {
36081                set_int(seg_state, SEGMENT_STATE_NORMAL);
36082                update_state();
36083             }
36084          }
36085          program {
36086             name: "pressed_segment";
36087             signal: "elm,state,segment,pressed";
36088             source: "elm";
36089             script {
36090                set_int(seg_state, SEGMENT_STATE_PRESSED);
36091                update_state();
36092             }
36093          }
36094          program {
36095             name: "selected_segment";
36096             signal: "elm,state,segment,selected";
36097             source: "elm";
36098             script {
36099                set_int(seg_state, SEGMENT_STATE_SELECTED);
36100                update_state();
36101             }
36102          }
36103          program { name: "disable_segment";
36104             signal: "elm,state,disabled";
36105             source: "elm";
36106             script {
36107                set_int(seg_status, SEGMENT_STATUS_DISABLED);
36108                update_state();
36109             }
36110          }
36111          program { name: "enable_segment";
36112             signal: "elm,state,enabled";
36113             source: "elm";
36114             script {
36115                set_int(seg_status, SEGMENT_STATUS_ENABLED);
36116                update_state();
36117             }
36118          }
36119          program { name: "text_show";
36120             signal: "elm,state,text,visible";
36121             source: "elm";
36122             script {
36123                new st[31];
36124                new Float:vl;
36125                get_state(PART:"elm.swallow.icon", st, 30, vl);
36126                if (!strcmp(st, "icononly"))
36127                  {
36128                     set_state(PART:"elm.swallow.icon", "visible", 0.0);
36129                     set_state(PART:"padding_icon_text", "visible", 0.0);
36130                  }
36131                get_state(PART:"elm.text", st, 30, vl);
36132                if (!strcmp(st, "selected"))
36133                   set_state(PART:"elm.text", "selected", 0.0);
36134                else
36135                   set_state(PART:"elm.text", "normal", 0.0);
36136             }
36137          }
36138          program { name: "text_hide";
36139             signal: "elm,state,text,hidden";
36140             source: "elm";
36141             script {
36142                new st[31];
36143                new Float:vl;
36144                get_state(PART:"elm.swallow.icon", st, 30, vl);
36145                if (!strcmp(st, "visible"))
36146                  {
36147                     set_state(PART:"elm.swallow.icon", "icononly", 0.0);
36148                     set_state(PART:"padding_icon_text", "icononly", 0.0);
36149                  }
36150                set_state(PART:"elm.text", "default", 0.0);
36151             }
36152          }
36153          program { name: "icon_show";
36154             signal: "elm,state,icon,visible";
36155             source: "elm";
36156             script {
36157                new st[31];
36158                new Float:vl;
36159                get_state(PART:"elm.text", st, 30, vl);
36160                if ((!strcmp(st, "normal")) || (!strcmp(st, "selected")))
36161                  {
36162                     set_state(PART:"elm.swallow.icon", "visible", 0.0);
36163                     set_state(PART:"padding_icon_text", "visible", 0.0);
36164                  }
36165                else
36166                  {
36167                     set_state(PART:"elm.swallow.icon", "icononly", 0.0);
36168                     set_state(PART:"padding_icon_text", "icononly", 0.0);
36169                  }
36170             }
36171          }
36172          program { name: "icon_hide";
36173             signal: "elm,state,icon,hidden";
36174             source: "elm";
36175             action:  STATE_SET "default" 0.0;
36176             target: "elm.swallow.icon";
36177          }
36178       }
36179 #undef SEGMENT_TYPE_SINGLE
36180 #undef SEGMENT_TYPE_LEFT
36181 #undef SEGMENT_TYPE_MIDDLE
36182 #undef SEGMENT_TYPE_RIGHT
36183 #undef SEGMENT_STATE_NORMAL
36184 #undef SEGMENT_STATE_PRESSED
36185 #undef SEGMENT_STATE_SELECTED
36186 #undef SEGMENT_STATUS_ENABLED
36187 #undef SEGMENT_STATUS_DISABLED
36188    }
36189
36190    /* a simple title layout, with a label and two icons */
36191    group { name: "elm/layout/application/titlebar";
36192       images {
36193          image: "toolbar_sel.png" COMP;
36194       }
36195       parts {
36196          part { name: "base";
36197             mouse_events: 0;
36198             scale: 1;
36199             description { state: "default" 0.0;
36200                min: 0 33;
36201                max: 99999 33;
36202                align: 0.5 0.0;
36203                rel1.offset: -1 0;
36204                rel2.offset: 1 0;
36205                image {
36206                   normal: "toolbar_sel.png";
36207                   border: 3 3 0 0;
36208                }
36209             }
36210          }
36211          part { name: "elm.swallow.content";
36212             type: SWALLOW;
36213             description { state: "default" 0.0;
36214                visible: 1;
36215                rel1 {
36216                   to: "base";
36217                   relative: 0.0 1.0;
36218                }
36219             }
36220          }
36221          part { name: "elm.swallow.icon";
36222             type: SWALLOW;
36223             scale: 1;
36224             description { state: "default" 0.0;
36225                visible: 0;
36226                fixed: 1 1;
36227                align: 0.0 0.0;
36228                rel1 {
36229                   to: "base";
36230                   relative: 0.0 0.0;
36231                   offset: 4 0;
36232                }
36233                rel2 {
36234                   to: "base";
36235                   relative: 0.0 1.0;
36236                }
36237             }
36238             description { state: "visible" 0.0;
36239                inherit: "default" 0.0;
36240                visible: 1;
36241             }
36242          }
36243          part { name: "elm.swallow.end";
36244             type: SWALLOW;
36245             scale: 1;
36246             description { state: "default" 0.0;
36247                visible: 0;
36248                fixed: 1 1;
36249                align: 1.0 0.0;
36250                rel1 {
36251                   to: "base";
36252                   relative: 1.0 0.0;
36253                   offset: 0 0;
36254                }
36255                rel2 {
36256                   to: "base";
36257                   relative: 1.0 1.0;
36258                   offset: -5 -1;
36259                }
36260             }
36261             description { state: "visible" 0.0;
36262                inherit: "default" 0.0;
36263                visible: 1;
36264             }
36265          }
36266          part { name: "elm.text";
36267             type: TEXT;
36268             effect: SOFT_SHADOW;
36269             mouse_events: 0;
36270             scale: 1;
36271             description { state: "default" 0.0;
36272                fixed: 1 1;
36273                rel1 {
36274                   to_x: "elm.swallow.icon";
36275                   to_y: "base";
36276                   relative: 1.0 0.0;
36277                }
36278                rel2 {
36279                   to_x: "elm.swallow.end";
36280                   to_y: "base";
36281                   relative: 0.0 1.0;
36282                }
36283                text {
36284                   font: "Sans";
36285                   size: 12;
36286                   min: 0 0;
36287                   align: 0.5 0.5;
36288                   text_class: "title_bar";
36289                }
36290             }
36291          }
36292       }
36293       programs {
36294          program { name: "show_icon";
36295             signal: "elm,state,icon,visible";
36296             source: "elm";
36297             action: STATE_SET "visible" 0.0;
36298             target: "elm.swallow.icon";
36299          }
36300          program { name: "hide_icon";
36301             signal: "elm,state,icon,hidden";
36302             source: "elm";
36303             action: STATE_SET "default" 0.0;
36304             target: "elm.swallow.icon";
36305          }
36306          program { name: "show_end";
36307             signal: "elm,state,end,visible";
36308             source: "elm";
36309             action: STATE_SET "visible" 0.0;
36310             target: "elm.swallow.end";
36311          }
36312          program { name: "hide_end";
36313             signal: "elm,state,end,hidden";
36314             source: "elm";
36315             action: STATE_SET "default" 0.0;
36316             target: "elm.swallow.end";
36317          }
36318       }
36319    }
36320 }