Elementary default.edc: Applied genlist edc style changes to mode style.
[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: "selectraise" "on";
24851       data.item: "labels" "elm.text.mode";
24852       data.item: "icons" "elm.swallow.mode";
24853       data.item: "mode_part" "elm.swallow.origin";
24854       data.item: "treesize" "20";
24855       images {
24856          image: "bt_sm_base1.png" COMP;
24857          image: "bt_sm_shine.png" COMP;
24858          image: "bt_sm_hilight.png" COMP;
24859          image: "ilist_1.png" COMP;
24860          image: "ilist_2.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             description {
24898                state: "default" 1.0;
24899                inherit: "default" 0.0;
24900                visible: 0;
24901             }
24902          }
24903          part {
24904             name: "base";
24905             mouse_events: 0;
24906             description {
24907                state: "default" 0.0;
24908                image {
24909                   normal: "ilist_1.png";
24910                   border: 2 2 2 2;
24911                }
24912                fill.smooth: 0;
24913             }
24914             description {
24915                state: "default" 1.0;
24916                inherit: "default" 0.0;
24917                image.normal: "ilist_2.png";
24918             }
24919          }
24920          part { name: "bg";
24921             clip_to: "disclip";
24922             mouse_events: 0;
24923             description { state: "default" 0.0;
24924                visible: 0;
24925                color: 255 255 255 0;
24926                rel1 {
24927                   relative: 0.0 0.0;
24928                   offset: -5 -5;
24929                }
24930                rel2 {
24931                   relative: 1.0 1.0;
24932                   offset: 4 4;
24933                }
24934                image {
24935                   normal: "bt_sm_base1.png";
24936                   border: 6 6 6 6;
24937                }
24938                image.middle: SOLID;
24939             }
24940             description { state: "default" 0.1;
24941                inherit: "default" 0.0;
24942             }
24943             description { state: "selected" 0.0;
24944                inherit: "default" 0.0;
24945                visible: 1;
24946                color: 255 255 255 255;
24947                rel1 {
24948                   relative: 0.0 0.0;
24949                   offset: -2 -2;
24950                }
24951                rel2 {
24952                   relative: 1.0 1.0;
24953                   offset: 1 1;
24954                }
24955             }
24956             description {
24957                state: "selected" 1.0;
24958                inherit: "selected" 0.0;
24959             }
24960          }
24961          part { name: "elm.text.mode";
24962             clip_to: "disclip";
24963             type: TEXT;
24964             scale: 1;
24965             description { state: "default" 0.0;
24966                rel2.relative: 0.5 1.0;
24967                color: 0 0 0 255;
24968                text {
24969                   font: "Sans";
24970                   size: 10;
24971                   min: 1 1;
24972                   align: 0.5 0.5;
24973                   text_class: "list_item";
24974                }
24975             }
24976          }
24977         part { name: "elm.swallow.mode";
24978             clip_to: "disclip";
24979             type: SWALLOW;
24980             description { state: "default" 0.0;
24981                rel1.relative: 0.5 0.0;
24982             }
24983          }
24984          part { name: "fg1";
24985             clip_to: "disclip";
24986             mouse_events: 0;
24987             description { state: "default" 0.0;
24988                visible: 0;
24989                color: 255 255 255 0;
24990                rel1.to: "bg";
24991                rel2.relative: 1.0 0.5;
24992                rel2.to: "bg";
24993                image {
24994                   normal: "bt_sm_hilight.png";
24995                   border: 6 6 6 0;
24996                }
24997             }
24998             description { state: "selected" 0.0;
24999                inherit: "default" 0.0;
25000                visible: 1;
25001                color: 255 255 255 255;
25002             }
25003             description {
25004                state: "selected" 1.0;
25005                inherit: "default" 0.0;
25006                visible: 1;
25007                color: 255 255 255 255;
25008             }
25009          }
25010          part { name: "fg2";
25011             clip_to: "disclip";
25012             mouse_events: 0;
25013             description { state: "default" 0.0;
25014                visible: 0;
25015                color: 255 255 255 0;
25016                rel1.to: "bg";
25017                rel2.to: "bg";
25018                image {
25019                   normal: "bt_sm_shine.png";
25020                   border: 6 6 6 0;
25021                }
25022             }
25023             description { state: "selected" 0.0;
25024                inherit: "default" 0.0;
25025                visible: 1;
25026                color: 255 255 255 255;
25027             }
25028             description {
25029                state: "selected" 1.0;
25030                inherit: "default" 0.0;
25031                visible: 1;
25032                color: 255 255 255 255;
25033             }
25034          }
25035          // Transparent part between base parts and slidable parts
25036          part { name: "event_block_layer";
25037             type: RECT;
25038             clip_to: "disclip";
25039             mouse_events: 1;
25040             description { state: "default" 0.0;
25041                rel1.to: "base";
25042                rel2.to: "base";
25043                color: 0 0 0 0;
25044             }
25045             description { state: "repeat_events" 0.0;
25046                inherit: "default" 0.0;
25047                visible: 0;
25048             }
25049          }
25050          part { name: "pers";
25051             clip_to: "disclip";
25052             type: RECT;
25053             description { state: "default" 0.0;
25054                rel1.relative: 0.0 1.0;
25055             }
25056          }
25057          part { name: "elm.swallow.origin";
25058             clip_to: "disclip";
25059             type: SWALLOW;
25060             description { state: "default" 0.0;
25061                fixed: 1 0;
25062                align: 0.0 0.5;
25063             }
25064             description { state: "slide" 0.0;
25065                inherit: "default" 0.0;
25066                rel1.relative: 1 0;
25067                rel2.relative: 2 1;
25068             }
25069             description { state: "rotate" 0.0;
25070                inherit: "default" 0.0;
25071                map {
25072                   perspective: "pers";
25073                   on: 1;
25074                   smooth: 1;
25075                   perspective_on: 1;
25076                   backface_cull: 1;
25077                   rotation {
25078                      center: "pers";
25079                      x: 0.0;
25080                      y: 0.0;
25081                      z: 0.0;
25082                   }
25083                }
25084             }
25085             description { state: "rotate" 1.0;
25086                inherit: "default" 0.0;
25087                map {
25088                   perspective: "pers";
25089                   on: 1;
25090                   smooth: 1;
25091                   perspective_on: 1;
25092                   backface_cull: 1;
25093                   rotation {
25094                      center: "pers";
25095                      x: 90.0;
25096                      y: 0.0;
25097                      z: 0.0;
25098                   }
25099                }
25100             }
25101          }
25102          part { name: "disclip";
25103             type: RECT;
25104             description { state: "default" 0.0;
25105                rel1.to: "bg";
25106                rel2.to: "bg";
25107             }
25108             description { state: "disabled" 0.0;
25109                inherit: "default" 0.0;
25110                color: 255 255 255 64;
25111             }
25112          }
25113       }
25114       programs {
25115          program {
25116             name:    "odd";
25117             signal:  "elm,state,odd";
25118             source:  "elm";
25119             action:  STATE_SET "default" 1.0;
25120             target:  "base_sh";
25121             target:  "base";
25122          }
25123          program {
25124             name:    "even";
25125             signal:  "elm,state,even";
25126             source:  "elm";
25127             action:  STATE_SET "default" 0.0;
25128             target:  "base_sh";
25129             target:  "base";
25130          }
25131          program {
25132             name:    "go_active";
25133             signal:  "elm,state,selected";
25134             source:  "elm";
25135             script {
25136                new st[31];
25137                new Float:vl;
25138                get_state(PART:"base", st, 30, vl);
25139                set_state(PART:"bg", "selected", vl);
25140                set_state(PART:"fg1", "selected", vl);
25141                set_state(PART:"fg2", "selected", vl);
25142             }
25143          }
25144          program {
25145             name:    "go_passive";
25146             signal:  "elm,state,unselected";
25147             source:  "elm";
25148             script {
25149                new st[31];
25150                new Float:vl;
25151                get_state(PART:"base", st, 30, vl);
25152                set_state(PART:"bg", "default", vl);
25153                set_state(PART:"fg1", "default", vl);
25154                set_state(PART:"fg2", "default", vl);
25155             }
25156          }
25157          program {
25158             name:    "go_disabled";
25159             signal:  "elm,state,disabled";
25160             source:  "elm";
25161             action:  STATE_SET "disabled" 0.0;
25162             target:  "disclip";
25163          }
25164          program {
25165             name:    "go_enabled";
25166             signal:  "elm,state,enabled";
25167             source:  "elm";
25168             action:  STATE_SET "default" 0.0;
25169             target:  "disclip";
25170          }
25171          program {
25172             name:    "slide_right";
25173             signal:  "elm,state,slide,active";
25174             source:  "elm";
25175             action:  STATE_SET "slide" 0.0;
25176             target:  "elm.swallow.origin";
25177             transition: ACCELERATE 0.5;
25178             after:   "unblock_event";
25179          }
25180          program {
25181             name:    "unblock_event";
25182             action:  STATE_SET "repeat_events" 0.0;
25183             target:  "event_block_layer";
25184          }
25185          program {
25186             name:    "slide_left";
25187             signal:  "elm,state,slide,passive";
25188             source:  "elm";
25189             action:  STATE_SET "default" 0.0;
25190             target:  "event_block_layer";
25191             after:   "slide_left2";
25192          }
25193          program {
25194             name:    "slide_left2";
25195             action:  STATE_SET "default" 0.0;
25196             target:  "elm.swallow.origin";
25197             transition: DECELERATE 0.5;
25198             after:   "slide_left_finished";
25199          }
25200          program {
25201             name:    "slide_left_finished";
25202             action:  SIGNAL_EMIT "elm,state,slide,passive,finished" "elm";
25203          }
25204          program {
25205             name:    "rotate_on";
25206             signal:  "elm,state,rotate,active";
25207             source:  "elm";
25208             action:  STATE_SET "rotate" 0.0;
25209             target:  "elm.swallow.origin";
25210             after:   "rotate_on2";
25211          }
25212          program {
25213             name:    "rotate_on2";
25214             action:  STATE_SET "rotate" 1.0;
25215             target:  "elm.swallow.origin";
25216             transition: LINEAR 0.5;
25217             after:   "unblock_event";
25218          }
25219          program {
25220             name:    "rotate_off";
25221             signal:  "elm,state,rotate,passive";
25222             source:  "elm";
25223             action:  STATE_SET "default" 0.0;
25224             target:  "event_block_layer";
25225             after:   "rotate_off2";
25226          }
25227          program {
25228             name:    "rotate_off2";
25229             action:  STATE_SET "rotate" 0.0;
25230             transition: LINEAR 0.5;
25231             target:  "elm.swallow.origin";
25232             after:   "rotate_off3";
25233          }
25234          program {
25235             name:    "rotate_off3";
25236             action:  STATE_SET "default" 0.0;
25237             target:  "elm.swallow.origin";
25238             after:   "rotate_off_finished";
25239          }
25240          program {
25241             name:    "rotate_off_finished";
25242             action:  SIGNAL_EMIT "elm,state,rotate,passive,finished" "elm";
25243          }
25244       }
25245    }
25246
25247    group { name: "elm/genlist/item_odd/mode/default";
25248       data.item: "stacking" "below";
25249       data.item: "selectraise" "on";
25250       data.item: "labels" "elm.text.mode";
25251       data.item: "icons" "elm.swallow.mode";
25252       data.item: "mode_part" "elm.swallow.origin";
25253       data.item: "treesize" "20";
25254       images {
25255          image: "bt_sm_base1.png" COMP;
25256          image: "bt_sm_shine.png" COMP;
25257          image: "bt_sm_hilight.png" COMP;
25258          image: "ilist_2.png" COMP;
25259       }
25260
25261       parts {
25262          part {
25263             name: "event";
25264             type: RECT;
25265             repeat_events: 1;
25266             description {
25267                state: "default" 0.0;
25268                color: 0 0 0 0;
25269             }
25270          }
25271          part {
25272             name: "base";
25273             mouse_events: 0;
25274             description {
25275                state: "default" 0.0;
25276                image {
25277                   normal: "ilist_2.png";
25278                   border: 2 2 2 2;
25279                }
25280                fill.smooth: 0;
25281             }
25282          }
25283          part { name: "bg";
25284             clip_to: "disclip";
25285             mouse_events: 0;
25286             description { state: "default" 0.0;
25287                visible: 0;
25288                color: 255 255 255 0;
25289                rel1 {
25290                   relative: 0.0 0.0;
25291                   offset: -5 -5;
25292                }
25293                rel2 {
25294                   relative: 1.0 1.0;
25295                   offset: 4 4;
25296                }
25297                image {
25298                   normal: "bt_sm_base1.png";
25299                   border: 6 6 6 6;
25300                }
25301                image.middle: SOLID;
25302             }
25303             description { state: "selected" 0.0;
25304                inherit: "default" 0.0;
25305                visible: 1;
25306                color: 255 255 255 255;
25307                rel1 {
25308                   relative: 0.0 0.0;
25309                   offset: -2 -2;
25310                }
25311                rel2 {
25312                   relative: 1.0 1.0;
25313                   offset: 1 1;
25314                }
25315             }
25316          }
25317          part { name: "elm.text.mode";
25318             clip_to: "disclip";
25319             type: TEXT;
25320             scale: 1;
25321             description { state: "default" 0.0;
25322                rel2.relative: 0.5 1.0;
25323                color: 0 0 0 255;
25324                text {
25325                   font: "Sans";
25326                   size: 10;
25327                   min: 1 1;
25328                   align: 0.5 0.5;
25329                   text_class: "list_item";
25330                }
25331             }
25332          }
25333         part { name: "elm.swallow.mode";
25334             clip_to: "disclip";
25335             type: SWALLOW;
25336             description { state: "default" 0.0;
25337                rel1.relative: 0.5 0.0;
25338             }
25339          }
25340          part { name: "fg1";
25341             clip_to: "disclip";
25342             mouse_events: 0;
25343             description { state: "default" 0.0;
25344                visible: 0;
25345                color: 255 255 255 0;
25346                rel1.to: "bg";
25347                rel2.relative: 1.0 0.5;
25348                rel2.to: "bg";
25349                image {
25350                   normal: "bt_sm_hilight.png";
25351                   border: 6 6 6 0;
25352                }
25353             }
25354             description { state: "selected" 0.0;
25355                inherit: "default" 0.0;
25356                visible: 1;
25357                color: 255 255 255 255;
25358             }
25359          }
25360          part { name: "fg2";
25361             clip_to: "disclip";
25362             mouse_events: 0;
25363             description { state: "default" 0.0;
25364                visible: 0;
25365                color: 255 255 255 0;
25366                rel1.to: "bg";
25367                rel2.to: "bg";
25368                image {
25369                   normal: "bt_sm_shine.png";
25370                   border: 6 6 6 0;
25371                }
25372             }
25373             description { state: "selected" 0.0;
25374                inherit: "default" 0.0;
25375                visible: 1;
25376                color: 255 255 255 255;
25377             }
25378          }
25379          // Transparent part between base parts and slidable parts
25380          part { name: "event_block_layer";
25381             type: RECT;
25382             clip_to: "disclip";
25383             mouse_events: 1;
25384             description { state: "default" 0.0;
25385                rel1.to: "base";
25386                rel2.to: "base";
25387                color: 0 0 0 0;
25388             }
25389             description { state: "repeat_events" 0.0;
25390                inherit: "default" 0.0;
25391                visible: 0;
25392             }
25393          }
25394          part { name: "pers";
25395             clip_to: "disclip";
25396             type: RECT;
25397             description { state: "default" 0.0;
25398                rel1.relative: 0.0 1.0;
25399             }
25400          }
25401          part { name: "elm.swallow.origin";
25402             clip_to: "disclip";
25403             type: SWALLOW;
25404             description { state: "default" 0.0;
25405                fixed: 1 0;
25406                align: 0.0 0.5;
25407             }
25408             description { state: "slide" 0.0;
25409                inherit: "default" 0.0;
25410                rel1.relative: 1 0;
25411                rel2.relative: 2 1;
25412             }
25413             description { state: "rotate" 0.0;
25414                inherit: "default" 0.0;
25415                map {
25416                   perspective: "pers";
25417                   on: 1;
25418                   smooth: 1;
25419                   perspective_on: 1;
25420                   backface_cull: 1;
25421                   rotation {
25422                      center: "pers";
25423                      x: 0.0;
25424                      y: 0.0;
25425                      z: 0.0;
25426                   }
25427                }
25428             }
25429             description { state: "rotate" 1.0;
25430                inherit: "default" 0.0;
25431                map {
25432                   perspective: "pers";
25433                   on: 1;
25434                   smooth: 1;
25435                   perspective_on: 1;
25436                   backface_cull: 1;
25437                   rotation {
25438                      center: "pers";
25439                      x: 90.0;
25440                      y: 0.0;
25441                      z: 0.0;
25442                   }
25443                }
25444             }
25445          }
25446          part { name: "disclip";
25447             type: RECT;
25448             description { state: "default" 0.0;
25449                rel1.to: "bg";
25450                rel2.to: "bg";
25451             }
25452             description { state: "disabled" 0.0;
25453                inherit: "default" 0.0;
25454                color: 255 255 255 64;
25455             }
25456          }
25457       }
25458       programs {
25459          program {
25460             name:    "go_active";
25461             signal:  "elm,state,selected";
25462             source:  "elm";
25463             action:  STATE_SET "selected" 0.0;
25464             target:  "bg";
25465             target:  "fg1";
25466             target:  "fg2";
25467          }
25468          program {
25469             name:    "go_passive";
25470             signal:  "elm,state,unselected";
25471             source:  "elm";
25472             action:  STATE_SET "default" 0.0;
25473             target:  "bg";
25474             target:  "fg1";
25475             target:  "fg2";
25476             transition: LINEAR 0.1;
25477          }
25478          program {
25479             name:    "go_disabled";
25480             signal:  "elm,state,disabled";
25481             source:  "elm";
25482             action:  STATE_SET "disabled" 0.0;
25483             target:  "disclip";
25484          }
25485          program {
25486             name:    "go_enabled";
25487             signal:  "elm,state,enabled";
25488             source:  "elm";
25489             action:  STATE_SET "default" 0.0;
25490             target:  "disclip";
25491          }
25492          program {
25493             name:    "slide_right";
25494             signal:  "elm,state,slide,active";
25495             source:  "elm";
25496             action:  STATE_SET "slide" 0.0;
25497             target:  "elm.swallow.origin";
25498             transition: ACCELERATE 0.5;
25499             after:   "unblock_event";
25500          }
25501          program {
25502             name:    "unblock_event";
25503             action:  STATE_SET "repeat_events" 0.0;
25504             target:  "event_block_layer";
25505          }
25506          program {
25507             name:    "slide_left";
25508             signal:  "elm,state,slide,passive";
25509             source:  "elm";
25510             action:  STATE_SET "default" 0.0;
25511             target:   "event_block_layer";
25512             after:   "slide_left2";
25513          }
25514          program {
25515             name:    "slide_left2";
25516             action:  STATE_SET "default" 0.0;
25517             target:  "elm.swallow.origin";
25518             transition: DECELERATE 0.5;
25519             after:   "slide_left_finished";
25520          }
25521          program {
25522             name:    "slide_left_finished";
25523             action:  SIGNAL_EMIT "elm,state,slide,passive,finished" "elm";
25524          }
25525          program {
25526             name:    "rotate_on";
25527             signal:  "elm,state,rotate,active";
25528             source:  "elm";
25529             action:  STATE_SET "rotate" 0.0;
25530             target:  "elm.swallow.origin";
25531             after:   "rotate_on2";
25532          }
25533          program {
25534             name:    "rotate_on2";
25535             action:  STATE_SET "rotate" 1.0;
25536             target:  "elm.swallow.origin";
25537             transition: LINEAR 0.5;
25538             after:   "unblock_event";
25539          }
25540          program {
25541             name:    "rotate_off";
25542             signal:  "elm,state,rotate,passive";
25543             source:  "elm";
25544             action:  STATE_SET "default" 0.0;
25545             target:  "event_block_layer";
25546             after:   "rotate_off2";
25547          }
25548          program {
25549             name:    "rotate_off2";
25550             action:  STATE_SET "rotate" 0.0;
25551             transition: LINEAR 0.5;
25552             target:  "elm.swallow.origin";
25553             after:   "rotate_off3";
25554          }
25555          program {
25556             name:    "rotate_off3";
25557             action:  STATE_SET "default" 0.0;
25558             target:  "elm.swallow.origin";
25559             after:   "rotate_off_finished";
25560          }
25561          program {
25562             name:    "rotate_off_finished";
25563             action:  SIGNAL_EMIT "elm,state,rotate,passive,finished" "elm";
25564          }
25565       }
25566    }
25567
25568 ///////////////////////////////////////////////////////////////////////////////
25569    group { name: "elm/pager/base/default";
25570       data.item: "onshow" "raise";
25571 // other options
25572 //      data.item: "onhide" "lower";
25573 //      data.item: "onshow" "lower";
25574       images {
25575          image: "frame_1.png" COMP;
25576          image: "frame_2.png" COMP;
25577          image: "dia_grad.png" COMP;
25578       }
25579       parts {
25580          part { name: "clip";
25581             type: RECT;
25582             mouse_events: 0;
25583             description { state: "default" 0.0;
25584                rel1 {
25585                   to: "base";
25586                   offset: -9999 -9999;
25587                }
25588                rel2 {
25589                   to: "base";
25590                   offset: 9999 9999;
25591                }
25592                color: 255 255 255 255;
25593             }
25594             description { state: "visible" 0.0;
25595                inherit: "default" 0.0;
25596             }
25597             description { state: "hidden" 0.0;
25598                inherit: "default" 0.0;
25599                color: 255 255 255 0;
25600                visible: 0;
25601             }
25602          }
25603          part { name: "base0";
25604             mouse_events:  0;
25605             clip_to: "clip";
25606             description { state: "default" 0.0;
25607                image.normal: "dia_grad.png";
25608                rel1.to: "over";
25609                rel2.to: "over";
25610                fill {
25611                   smooth: 0;
25612                   size {
25613                      relative: 0.0 1.0;
25614                      offset: 64 0;
25615                   }
25616                }
25617             }
25618          }
25619          part { name: "base";
25620             mouse_events:  0;
25621             clip_to: "clip";
25622             description { state: "default" 0.0;
25623                image {
25624                   normal: "frame_2.png";
25625                   border: 5 5 32 26;
25626                   middle: 0;
25627                }
25628                fill.smooth : 0;
25629             }
25630             description { state: "hidden" 0.0;
25631                inherit: "default" 0.0;
25632                rel1.relative: -1.0 0.0;
25633                rel2.relative: 0.0 1.0;
25634             }
25635             description { state: "visible" 0.0;
25636                inherit: "default" 0.0;
25637                rel1.relative: 0.0 0.0;
25638                rel2.relative: 1.0 1.0;
25639             }
25640          }
25641          part { name: "over";
25642             mouse_events:  0;
25643             clip_to: "clip";
25644             description { state:    "default" 0.0;
25645                rel1 {
25646                   to: "base";
25647                   offset: 4 4;
25648                }
25649                rel2 {
25650                   to: "base";
25651                   offset: -5 -5;
25652                }
25653                image {
25654                   normal: "frame_1.png";
25655                   border: 2 2 28 22;
25656                   middle: 0;
25657                }
25658                fill.smooth : 0;
25659             }
25660          }
25661          part { name: "elm.swallow.content";
25662             type: SWALLOW;
25663             clip_to: "clip";
25664             description { state: "default" 0.0;
25665                rel1 {
25666                   to: "base";
25667                   offset: 8 8;
25668                }
25669                rel2 {
25670                   to: "base";
25671                   offset: -9 -9;
25672                }
25673             }
25674          }
25675       }
25676       programs {
25677          program { name: "push_start";
25678             signal: "elm,action,push";
25679             source: "elm";
25680             action:  STATE_SET "hidden" 0.0;
25681             target: "base";
25682             target: "clip";
25683             after: "show_start2";
25684          }
25685          program { name: "show_start";
25686             signal: "elm,action,show";
25687             source: "elm";
25688             action:  STATE_SET "hidden" 0.0;
25689             target: "base";
25690             target: "clip";
25691             after: "show_start2";
25692          }
25693          program { name: "show_start2";
25694             action:  STATE_SET "visible" 0.0;
25695             transition: DECELERATE 0.5;
25696             target: "base";
25697             target: "clip";
25698             after: "show_end";
25699          }
25700          program { name: "show_end";
25701             action: SIGNAL_EMIT "elm,action,show,finished" "";
25702          }
25703          program { name: "pop_start";
25704             signal: "elm,action,pop";
25705             source: "elm";
25706             action:  STATE_SET "visible" 0.0;
25707             target: "base";
25708             target: "clip";
25709             after: "hide_start2";
25710          }
25711          program { name: "hide_start";
25712             signal: "elm,action,hide";
25713             source: "elm";
25714             action:  STATE_SET "visible" 0.0;
25715             target: "base";
25716             target: "clip";
25717             after: "hide_start2";
25718          }
25719          program { name: "hide_start2";
25720             action:  STATE_SET "hidden" 0.0;
25721             transition: DECELERATE 0.5;
25722             target: "base";
25723             target: "clip";
25724             after: "hide_end";
25725          }
25726          program { name: "hide_end";
25727             action: SIGNAL_EMIT "elm,action,hide,finished" "";
25728          }
25729          program { name: "reset";
25730             signal: "elm,action,reset";
25731             source: "elm";
25732             action:  STATE_SET "default" 0.0;
25733             target: "base";
25734             target: "clip";
25735          }
25736       }
25737    }
25738
25739    group { name: "elm/pager/base/slide";
25740       images {
25741          image: "frame_1.png" COMP;
25742          image: "frame_2.png" COMP;
25743          image: "dia_grad.png" COMP;
25744       }
25745       parts {
25746          part { name: "clip";
25747             type: RECT;
25748             mouse_events: 0;
25749             description { state: "default" 0.0;
25750                rel1 {
25751                   to: "base";
25752                   offset: -9999 -9999;
25753                }
25754                rel2 {
25755                   to: "base";
25756                   offset: 9999 9999;
25757                }
25758                color: 255 255 255 255;
25759             }
25760             description { state: "visible" 0.0;
25761                inherit: "default" 0.0;
25762             }
25763             description { state: "hidden" 0.0;
25764                inherit: "default" 0.0;
25765                color: 255 255 255 0;
25766                visible: 0;
25767             }
25768             description { state: "hidden2" 0.0;
25769                inherit: "default" 0.0;
25770                color: 255 255 255 0;
25771                visible: 0;
25772             }
25773          }
25774          part { name: "base0";
25775             mouse_events:  0;
25776             clip_to: "clip";
25777             description { state: "default" 0.0;
25778                image.normal: "dia_grad.png";
25779                rel1.to: "over";
25780                rel2.to: "over";
25781                fill {
25782                   smooth: 0;
25783                   size {
25784                      relative: 0.0 1.0;
25785                      offset: 64 0;
25786                   }
25787                }
25788             }
25789          }
25790          part { name: "base";
25791             mouse_events:  0;
25792             clip_to: "clip";
25793             description { state: "default" 0.0;
25794                image {
25795                   normal: "frame_2.png";
25796                   border: 5 5 32 26;
25797                   middle: 0;
25798                }
25799                fill.smooth : 0;
25800             }
25801             description { state: "hidden" 0.0;
25802                inherit: "default" 0.0;
25803                rel1.relative: -1.0 0.0;
25804                rel2.relative: 0.0 1.0;
25805             }
25806             description { state: "hidden2" 0.0;
25807                inherit: "default" 0.0;
25808                rel1.relative: 1.0 0.0;
25809                rel2.relative: 2.0 1.0;
25810             }
25811             description { state: "visible" 0.0;
25812                inherit: "default" 0.0;
25813                rel1.relative: 0.0 0.0;
25814                rel2.relative: 1.0 1.0;
25815             }
25816          }
25817          part { name: "over";
25818             mouse_events:  0;
25819             clip_to: "clip";
25820             description { state:    "default" 0.0;
25821                rel1 {
25822                   to: "base";
25823                   offset: 4 4;
25824                }
25825                rel2 {
25826                   to: "base";
25827                   offset: -5 -5;
25828                }
25829                image {
25830                   normal: "frame_1.png";
25831                   border: 2 2 28 22;
25832                   middle: 0;
25833                }
25834                fill.smooth : 0;
25835             }
25836          }
25837          part { name: "elm.swallow.content";
25838             type: SWALLOW;
25839             clip_to: "clip";
25840             description { state: "default" 0.0;
25841                rel1 {
25842                   to: "base";
25843                   offset: 8 8;
25844                }
25845                rel2 {
25846                   to: "base";
25847                   offset: -9 -9;
25848                }
25849             }
25850          }
25851       }
25852       programs {
25853          program { name: "push_start";
25854             signal: "elm,action,push";
25855             source: "elm";
25856             action:  STATE_SET "hidden2" 0.0;
25857             target: "base";
25858             target: "clip";
25859             after: "show_start2";
25860          }
25861          program { name: "show_start";
25862             signal: "elm,action,show";
25863             source: "elm";
25864             action:  STATE_SET "hidden" 0.0;
25865             target: "base";
25866             target: "clip";
25867             after: "show_start2";
25868          }
25869          program { name: "show_start2";
25870             action:  STATE_SET "visible" 0.0;
25871             transition: DECELERATE 0.5;
25872             target: "base";
25873             target: "clip";
25874             after: "show_end";
25875          }
25876          program { name: "show_end";
25877             action: SIGNAL_EMIT "elm,action,show,finished" "";
25878          }
25879          program { name: "pop_start";
25880             signal: "elm,action,pop";
25881             source: "elm";
25882             action:  STATE_SET "visible" 0.0;
25883             target: "base";
25884             target: "clip";
25885             after: "pop_start2";
25886          }
25887          program { name: "pop_start2";
25888             action:  STATE_SET "hidden2" 0.0;
25889             transition: DECELERATE 0.5;
25890             target: "base";
25891             target: "clip";
25892             after: "hide_end";
25893          }
25894          program { name: "hide_start";
25895             signal: "elm,action,hide";
25896             source: "elm";
25897             action:  STATE_SET "visible" 0.0;
25898             target: "base";
25899             target: "clip";
25900             after: "hide_start2";
25901          }
25902          program { name: "hide_start2";
25903             action:  STATE_SET "hidden" 0.0;
25904             transition: DECELERATE 0.5;
25905             target: "base";
25906             target: "clip";
25907             after: "hide_end";
25908          }
25909          program { name: "hide_end";
25910             action: SIGNAL_EMIT "elm,action,hide,finished" "";
25911          }
25912          program { name: "reset";
25913             signal: "elm,action,reset";
25914             source: "elm";
25915             action:  STATE_SET "default" 0.0;
25916             target: "base";
25917             target: "clip";
25918          }
25919       }
25920    }
25921    group { name: "elm/pager/base/slide_invisible";
25922       parts {
25923          part { name: "clip";
25924             type: RECT;
25925             mouse_events: 0;
25926             description { state: "default" 0.0;
25927                rel1 {
25928                   to: "base";
25929                   offset: -9999 -9999;
25930             }
25931                rel2 {
25932                   to: "base";
25933                   offset: 9999 9999;
25934                }
25935                color: 255 255 255 255;
25936             }
25937             description { state: "visible" 0.0;
25938                inherit: "default" 0.0;
25939             }
25940             description { state: "hidden" 0.0;
25941                inherit: "default" 0.0;
25942                color: 255 255 255 0;
25943                visible: 0;
25944             }
25945             description { state: "hidden2" 0.0;
25946                inherit: "default" 0.0;
25947                color: 255 255 255 0;
25948                visible: 0;
25949             }
25950          }
25951          part { name: "base";
25952             type: RECT;
25953             mouse_events:  0;
25954             clip_to: "clip";
25955             description { state: "default" 0.0;
25956                color: 0 0 0 0;
25957             }
25958             description { state: "hidden" 0.0;
25959                color: 0 0 0 0;
25960                rel1.relative: -1.0 0.0;
25961                rel2.relative: 0.0 1.0;
25962             }
25963             description { state: "hidden2" 0.0;
25964                color: 0 0 0 0;
25965                rel1.relative: 1.0 0.0;
25966                rel2.relative: 2.0 1.0;
25967             }
25968             description { state: "visible" 0.0;
25969                color: 0 0 0 0;
25970                rel1.relative: 0.0 0.0;
25971                rel2.relative: 1.0 1.0;
25972             }
25973          }
25974          part { name: "elm.swallow.content";
25975             type: SWALLOW;
25976             clip_to: "clip";
25977             description { state: "default" 0.0;
25978                rel1.to: "base";
25979                rel2.to: "base";
25980             }
25981          }
25982       }
25983       programs {
25984          program { name: "push_start";
25985             signal: "elm,action,push";
25986             source: "elm";
25987             action:  STATE_SET "hidden2" 0.0;
25988             target: "base";
25989             target: "clip";
25990             after: "show_start2";
25991          }
25992          program { name: "show_start";
25993             signal: "elm,action,show";
25994             source: "elm";
25995             action:  STATE_SET "hidden" 0.0;
25996             target: "base";
25997             target: "clip";
25998             after: "show_start2";
25999          }
26000          program { name: "show_start2";
26001             action:  STATE_SET "visible" 0.0;
26002             transition: DECELERATE 0.5;
26003             target: "base";
26004             target: "clip";
26005             after: "show_end";
26006          }
26007          program { name: "show_end";
26008             action: SIGNAL_EMIT "elm,action,show,finished" "";
26009          }
26010          program { name: "pop_start";
26011             signal: "elm,action,pop";
26012             source: "elm";
26013             action:  STATE_SET "visible" 0.0;
26014             target: "base";
26015             target: "clip";
26016             after: "pop_start2";
26017          }
26018          program { name: "pop_start2";
26019             action:  STATE_SET "hidden2" 0.0;
26020             transition: DECELERATE 0.5;
26021             target: "base";
26022             target: "clip";
26023             after: "hide_end";
26024          }
26025          program { name: "hide_start";
26026             signal: "elm,action,hide";
26027             source: "elm";
26028             action:  STATE_SET "visible" 0.0;
26029             target: "base";
26030             target: "clip";
26031             after: "hide_start2";
26032          }
26033          program { name: "hide_start2";
26034             action:  STATE_SET "hidden" 0.0;
26035             transition: DECELERATE 0.5;
26036             target: "base";
26037             target: "clip";
26038             after: "hide_end";
26039          }
26040          program { name: "hide_end";
26041             action: SIGNAL_EMIT "elm,action,hide,finished" "";
26042          }
26043          program { name: "reset";
26044             signal: "elm,action,reset";
26045             source: "elm";
26046             action:  STATE_SET "default" 0.0;
26047             target: "base";
26048             target: "clip";
26049          }
26050       }
26051    }
26052
26053    group { name: "elm/pager/base/fade";
26054        data.item: "onshow" "raise";
26055        // other options
26056        //      data.item: "onhide" "lower";
26057        //      data.item: "onshow" "lower";
26058        images {
26059            image: "frame_1.png" COMP;
26060            image: "frame_2.png" COMP;
26061            image: "dia_grad.png" COMP;
26062        }
26063        parts {
26064            part { name: "clip_base";
26065                type: RECT;
26066                mouse_events: 0;
26067                description { state: "default" 0.0;
26068                    rel1 {
26069                        to: "base";
26070                        offset: -9999 -9999;
26071                    }
26072                    rel2 {
26073                        to: "base";
26074                        offset: 9999 9999;
26075                    }
26076                    color: 255 255 255 120;
26077                }
26078                description { state: "visible" 0.0;
26079                    inherit: "default" 0.0;
26080                }
26081                description { state: "hidden" 0.0;
26082                    inherit: "default" 0.0;
26083                    color: 255 255 255 0;
26084                    visible: 0;
26085                }
26086            }
26087            part { name: "clip";
26088                type: RECT;
26089                mouse_events: 0;
26090                description { state: "default" 0.0;
26091                    rel1 {
26092                        to: "base";
26093                        offset: -9999 -9999;
26094                    }
26095                    rel2 {
26096                        to: "base";
26097                        offset: 9999 9999;
26098                    }
26099                    color: 255 255 255 255;
26100                }
26101                description { state: "visible" 0.0;
26102                    inherit: "default" 0.0;
26103                }
26104                description { state: "hidden" 0.0;
26105                    inherit: "default" 0.0;
26106                    color: 255 255 255 0;
26107                    visible: 0;
26108                }
26109            }
26110            part { name: "base0";
26111                mouse_events:  0;
26112                clip_to: "clip_base";
26113                description { state: "default" 0.0;
26114                    image.normal: "dia_grad.png";
26115                    rel1.to: "over";
26116                    rel2.to: "over";
26117                    fill {
26118                        smooth: 0;
26119                        size {
26120                            relative: 0.0 1.0;
26121                            offset: 64 0;
26122                        }
26123                    }
26124                }
26125            }
26126            part { name: "base";
26127                mouse_events:  0;
26128                clip_to: "clip_base";
26129                description { state: "default" 0.0;
26130                    image {
26131                        normal: "frame_2.png";
26132                        border: 5 5 32 26;
26133                        middle: 0;
26134                    }
26135                    fill.smooth : 0;
26136                }
26137            }
26138            part { name: "over";
26139                mouse_events:  0;
26140                clip_to: "clip";
26141                description { state:    "default" 0.0;
26142                    rel1 {
26143                        to: "base";
26144                        offset: 4 4;
26145                    }
26146                    rel2 {
26147                        to: "base";
26148                        offset: -5 -5;
26149                    }
26150                    image {
26151                        normal: "frame_1.png";
26152                        border: 2 2 28 22;
26153                        middle: 0;
26154                    }
26155                    fill.smooth : 0;
26156                }
26157            }
26158            part { name: "elm.swallow.content";
26159                type: SWALLOW;
26160                clip_to: "clip";
26161                description { state: "default" 0.0;
26162                    rel1 {
26163                        to: "base";
26164                        offset: 8 8;
26165                    }
26166                    rel2 {
26167                        to: "base";
26168                        offset: -9 -9;
26169                    }
26170                }
26171            }
26172        }
26173        programs {
26174            program { name: "push_start";
26175                signal: "elm,action,push";
26176                source: "elm";
26177                action:  STATE_SET "hidden" 0.0;
26178                target: "clip";
26179                target: "clip_base";
26180                after: "show_start2";
26181            }
26182            program { name: "show_start";
26183                signal: "elm,action,show";
26184                source: "elm";
26185                action:  STATE_SET "hidden" 0.0;
26186                target: "clip";
26187                target: "clip_base";
26188                after: "show_start2";
26189            }
26190            program { name: "show_start2";
26191                action:  STATE_SET "visible" 0.0;
26192                transition: DECELERATE 0.5;
26193                target: "clip";
26194                target: "clip_base";
26195                after: "show_end";
26196            }
26197            program { name: "show_end";
26198                action: SIGNAL_EMIT "elm,action,show,finished" "";
26199            }
26200            program { name: "pop_start";
26201                signal: "elm,action,pop";
26202                source: "elm";
26203                action:  STATE_SET "visible" 0.0;
26204                target: "clip";
26205                target: "clip_base";
26206                after: "hide_start2";
26207            }
26208            program { name: "hide_start";
26209                signal: "elm,action,hide";
26210                source: "elm";
26211                action:  STATE_SET "visible" 0.0;
26212                target: "clip";
26213                target: "clip_base";
26214                after: "hide_start2";
26215            }
26216            program { name: "hide_start2";
26217                action:  STATE_SET "hidden" 0.0;
26218                transition: DECELERATE 0.5;
26219                target: "clip";
26220                target: "clip_base";
26221                after: "hide_end";
26222            }
26223            program { name: "hide_end";
26224                action: SIGNAL_EMIT "elm,action,hide,finished" "";
26225            }
26226            program { name: "reset";
26227                signal: "elm,action,reset";
26228                source: "elm";
26229                action:  STATE_SET "default" 0.0;
26230                target: "clip_base";
26231                target: "clip";
26232            }
26233        }
26234    }
26235    group { name: "elm/pager/base/fade_translucide";
26236        data.item: "onshow" "raise";
26237        // other options
26238        //      data.item: "onhide" "lower";
26239        //      data.item: "onshow" "lower";
26240        images {
26241            image: "frame_1.png" COMP;
26242            image: "frame_2.png" COMP;
26243            image: "dia_grad.png" COMP;
26244        }
26245        parts {
26246            part { name: "clip_base";
26247                type: RECT;
26248                mouse_events: 0;
26249                description { state: "default" 0.0;
26250                    rel1 {
26251                        to: "base";
26252                        offset: -9999 -9999;
26253                    }
26254                    rel2 {
26255                        to: "base";
26256                        offset: 9999 9999;
26257                    }
26258                    color: 255 255 255 120;
26259                }
26260                description { state: "visible" 0.0;
26261                    inherit: "default" 0.0;
26262                }
26263                description { state: "hidden" 0.0;
26264                    inherit: "default" 0.0;
26265                    color: 255 255 255 0;
26266                    visible: 0;
26267                }
26268            }
26269            part { name: "clip";
26270                type: RECT;
26271                mouse_events: 0;
26272                description { state: "default" 0.0;
26273                    rel1 {
26274                        to: "base";
26275                        offset: -9999 -9999;
26276                    }
26277                    rel2 {
26278                        to: "base";
26279                        offset: 9999 9999;
26280                    }
26281                    color: 255 255 255 255;
26282                }
26283                description { state: "visible" 0.0;
26284                    inherit: "default" 0.0;
26285                }
26286                description { state: "hidden" 0.0;
26287                    inherit: "default" 0.0;
26288                    color: 255 255 255 0;
26289                    visible: 0;
26290                }
26291            }
26292            part { name: "base0";
26293                mouse_events:  0;
26294                clip_to: "clip_base";
26295                description { state: "default" 0.0;
26296                    image.normal: "dia_grad.png";
26297                    rel1.to: "over";
26298                    rel2.to: "over";
26299                    fill {
26300                        smooth: 0;
26301                        size {
26302                            relative: 0.0 1.0;
26303                            offset: 64 0;
26304                        }
26305                    }
26306                }
26307            }
26308            part { name: "base";
26309                mouse_events:  0;
26310                clip_to: "clip_base";
26311                description { state: "default" 0.0;
26312                    image {
26313                        normal: "frame_2.png";
26314                        border: 5 5 32 26;
26315                        middle: 0;
26316                    }
26317                    fill.smooth : 0;
26318                }
26319            }
26320            part { name: "over";
26321                mouse_events:  0;
26322                clip_to: "clip";
26323                description { state:    "default" 0.0;
26324                    rel1 {
26325                        to: "base";
26326                        offset: 4 4;
26327                    }
26328                    rel2 {
26329                        to: "base";
26330                        offset: -5 -5;
26331                    }
26332                    image {
26333                        normal: "frame_1.png";
26334                        border: 2 2 28 22;
26335                        middle: 0;
26336                    }
26337                    fill.smooth : 0;
26338                }
26339            }
26340            part { name: "elm.swallow.content";
26341                type: SWALLOW;
26342                clip_to: "clip";
26343                description { state: "default" 0.0;
26344                    rel1 {
26345                        to: "base";
26346                        offset: 8 8;
26347                    }
26348                    rel2 {
26349                        to: "base";
26350                        offset: -9 -9;
26351                    }
26352                }
26353            }
26354        }
26355        programs {
26356            program { name: "push_start";
26357                signal: "elm,action,push";
26358                source: "elm";
26359                action:  STATE_SET "hidden" 0.0;
26360                target: "clip";
26361                target: "clip_base";
26362                after: "show_start2";
26363            }
26364            program { name: "show_start";
26365                signal: "elm,action,show";
26366                source: "elm";
26367                action:  STATE_SET "hidden" 0.0;
26368                target: "clip";
26369                target: "clip_base";
26370                after: "show_start2";
26371            }
26372            program { name: "show_start2";
26373                action:  STATE_SET "visible" 0.0;
26374                transition: DECELERATE 0.5;
26375                target: "clip";
26376                target: "clip_base";
26377                after: "show_end";
26378            }
26379            program { name: "show_end";
26380                action: SIGNAL_EMIT "elm,action,show,finished" "";
26381            }
26382            program { name: "pop_start";
26383                signal: "elm,action,pop";
26384                source: "elm";
26385                action:  STATE_SET "visible" 0.0;
26386                target: "clip";
26387                target: "clip_base";
26388                after: "hide_start2";
26389            }
26390            program { name: "hide_start";
26391                signal: "elm,action,hide";
26392                source: "elm";
26393                action:  STATE_SET "visible" 0.0;
26394                target: "clip";
26395                target: "clip_base";
26396                after: "hide_start2";
26397            }
26398            program { name: "hide_start2";
26399                action:  STATE_SET "hidden" 0.0;
26400                transition: DECELERATE 0.5;
26401                target: "clip";
26402                target: "clip_base";
26403                after: "hide_end";
26404            }
26405            program { name: "hide_end";
26406                action: SIGNAL_EMIT "elm,action,hide,finished" "";
26407            }
26408            program { name: "reset";
26409                signal: "elm,action,reset";
26410                source: "elm";
26411                action:  STATE_SET "default" 0.0;
26412                target: "clip_base";
26413                target: "clip";
26414            }
26415        }
26416    }
26417    group { name: "elm/pager/base/fade_invisible";
26418        data.item: "onshow" "raise";
26419        // other options
26420        //      data.item: "onhide" "lower";
26421        //      data.item: "onshow" "lower";
26422        parts {
26423            part { name: "clip";
26424                type: RECT;
26425                mouse_events: 0;
26426                description { state: "default" 0.0;
26427                    rel1 {
26428                        offset: -9999 -9999;
26429                    }
26430                    rel2 {
26431                        offset: 9999 9999;
26432                    }
26433                    color: 255 255 255 255;
26434                }
26435                description { state: "visible" 0.0;
26436                    inherit: "default" 0.0;
26437                }
26438                description { state: "hidden" 0.0;
26439                    inherit: "default" 0.0;
26440                    color: 255 255 255 0;
26441                    visible: 0;
26442                }
26443            }
26444            part { name: "elm.swallow.content";
26445                type: SWALLOW;
26446                clip_to: "clip";
26447                description { state: "default" 0.0;
26448                    rel1 {
26449                        offset: 8 8;
26450                    }
26451                    rel2 {
26452                        offset: -9 -9;
26453                    }
26454                }
26455            }
26456        }
26457        programs {
26458            program { name: "push_start";
26459                signal: "elm,action,push";
26460                source: "elm";
26461                action:  STATE_SET "hidden" 0.0;
26462                target: "clip";
26463                after: "show_start2";
26464            }
26465            program { name: "show_start";
26466                signal: "elm,action,show";
26467                source: "elm";
26468                action:  STATE_SET "hidden" 0.0;
26469                target: "clip";
26470                after: "show_start2";
26471            }
26472            program { name: "show_start2";
26473                action:  STATE_SET "visible" 0.0;
26474                transition: DECELERATE 0.5;
26475                target: "clip";
26476                after: "show_end";
26477            }
26478            program { name: "show_end";
26479                action: SIGNAL_EMIT "elm,action,show,finished" "";
26480            }
26481            program { name: "pop_start";
26482                signal: "elm,action,pop";
26483                source: "elm";
26484                action:  STATE_SET "visible" 0.0;
26485                target: "clip";
26486                after: "hide_start2";
26487            }
26488            program { name: "hide_start";
26489                signal: "elm,action,hide";
26490                source: "elm";
26491                action:  STATE_SET "visible" 0.0;
26492                target: "clip";
26493                after: "hide_start2";
26494            }
26495            program { name: "hide_start2";
26496                action:  STATE_SET "hidden" 0.0;
26497                transition: DECELERATE 0.5;
26498                target: "clip";
26499                after: "hide_end";
26500            }
26501            program { name: "hide_end";
26502                action: SIGNAL_EMIT "elm,action,hide,finished" "";
26503            }
26504            program { name: "reset";
26505                signal: "elm,action,reset";
26506                source: "elm";
26507                action:  STATE_SET "default" 0.0;
26508                target: "clip";
26509            }
26510        }
26511    }
26512
26513    group { name: "elm/pager/base/flip";
26514       data.item: "onshow" "raise";
26515       images {
26516          image: "frame_1.png" COMP;
26517          image: "frame_2.png" COMP;
26518          image: "dia_grad.png" COMP;
26519       }
26520       parts {
26521          part { name: "elm.swallow.content";
26522             type: SWALLOW;
26523             description { state: "default" 0.0;
26524                map {
26525                   on: 1;
26526                   smooth: 1;
26527                   backface_cull: 1;
26528                   perspective_on: 1;
26529                }
26530                perspective {
26531                   zplane: 0;
26532                   focal: 1000;
26533                }
26534             }
26535             description { state: "hidden" 0.0;
26536                inherit: "default" 0.0;
26537                visible: 0;
26538                map.rotation.y: 90.0;
26539             }
26540             description { state: "before_hidden" 0.0;
26541                inherit: "default" 0.0;
26542                visible: 0;
26543                map.rotation.y: -90.0;
26544             }
26545          }
26546       }
26547       programs {
26548          program { name: "push_start";
26549             signal: "elm,action,push";
26550             source: "elm";
26551             after: "push1";
26552          }
26553          program { name: "push1";
26554             action:  STATE_SET "hidden" 0.0;
26555             target: "elm.swallow.content";
26556             after: "push2";
26557          }
26558          program { name: "push2";
26559             action:  STATE_SET "default" 0.0;
26560             in: 0.5 0.0;
26561             transition: LINEAR 0.5;
26562             target: "elm.swallow.content";
26563             after: "push3";
26564          }
26565          program { name: "push3";
26566             action: SIGNAL_EMIT "elm,action,show,finished" "";
26567          }
26568
26569          program { name: "show_start";
26570             signal: "elm,action,show";
26571             source: "elm";
26572             after: "show1";
26573          }
26574          program { name: "show1";
26575             action:  STATE_SET "before_hidden" 0.0;
26576             target: "elm.swallow.content";
26577             after: "show2";
26578          }
26579          program { name: "show2";
26580             action:  STATE_SET "default" 0.0;
26581             in: 0.5 0.0;
26582             transition: LINEAR 0.5;
26583             target: "elm.swallow.content";
26584             after: "show3";
26585          }
26586          program { name: "show3";
26587             action: SIGNAL_EMIT "elm,action,show,finished" "";
26588          }
26589
26590          program { name: "pop_start";
26591             signal: "elm,action,pop";
26592             source: "elm";
26593             after: "pop1";
26594          }
26595          program { name: "pop1";
26596             action:  STATE_SET "default" 0.0;
26597             target: "elm.swallow.content";
26598             after: "pop2";
26599          }
26600          program { name: "pop2";
26601             action:  STATE_SET "hidden" 0.0;
26602             transition: LINEAR 0.5;
26603             target: "elm.swallow.content";
26604             after: "pop3";
26605          }
26606          program { name: "pop3";
26607             action: SIGNAL_EMIT "elm,action,hide,finished" "";
26608          }
26609
26610          program { name: "hide_start";
26611             signal: "elm,action,hide";
26612             source: "elm";
26613             after: "hide1";
26614          }
26615          program { name: "hide1";
26616             action:  STATE_SET "default" 0.0;
26617             target: "elm.swallow.content";
26618             after: "hide2";
26619          }
26620          program { name: "hide2";
26621             action:  STATE_SET "before_hidden" 0.0;
26622             transition: LINEAR 0.5;
26623             target: "elm.swallow.content";
26624             after: "hide3";
26625          }
26626          program { name: "hide3";
26627             action: SIGNAL_EMIT "elm,action,hide,finished" "";
26628          }
26629
26630          program { name: "reset";
26631             signal: "elm,action,reset";
26632             source: "elm";
26633             action:  STATE_SET "default" 0.0;
26634             target: "elm.swallow.content";
26635          }
26636       }
26637    }
26638
26639
26640
26641 ///////////////////////////////////////////////////////////////////////////////
26642 // FIXME: this doesn't look too hot. need to fix it up
26643    group { name: "elm/progressbar/horizontal/default";
26644       images {
26645          image: "shelf_inset.png" COMP;
26646          image: "bt_sm_base2.png" COMP;
26647          image: "bt_sm_hilight.png" COMP;
26648          image: "bt_sm_shine.png" COMP;
26649       }
26650       parts {
26651          part { name: "elm.background.progressbar";
26652             mouse_events: 0;
26653             description {
26654                state: "default" 0.0;
26655                rel1 {
26656                   relative: 0.0 0.0;
26657                   offset: 0 0;
26658                }
26659                rel2 {
26660                   relative: 1.0 1.0;
26661                }
26662             }
26663          }
26664          part { name: "elm.swallow.bar";
26665             mouse_events: 0;
26666             type: SWALLOW;
26667             description {
26668                min: 48 28;
26669                max: 99999 28;
26670                state: "default" 0.0;
26671                rel1 {
26672                   to_x: "elm.text";
26673                   to_y: "elm.background.progressbar";
26674                   relative: 1.0 0.0;
26675                }
26676                rel2 {
26677                   to: "elm.background.progressbar";
26678                   relative: 1.0 1.0;
26679                }
26680             }
26681          }
26682          part { name: "elm.swallow.content";
26683             type: SWALLOW;
26684             description { state: "default" 0.0;
26685                visible: 0;
26686                align: 0.0 0.5;
26687                rel1 {
26688                   offset: 4 0;
26689                   to_y: "elm.background.progressbar";
26690                }
26691                rel2 {
26692                   offset: 3 -1;
26693                   relative: 0.0 1.0;
26694                   to_y: "elm.background.progressbar";
26695                }
26696             }
26697             description { state: "visible" 0.0;
26698                inherit: "default" 0.0;
26699                visible: 1;
26700                aspect: 1.0 1.0;
26701                aspect_preference: VERTICAL;
26702                rel2.offset: 4 -1;
26703             }
26704          }
26705          part { name: "elm.text";
26706             type: TEXT;
26707             mouse_events: 0;
26708             scale: 1;
26709             description { state: "default" 0.0;
26710                visible: 0;
26711                fixed: 1 1;
26712                align: 0.0 0.5;
26713                rel1.to_x: "elm.swallow.content";
26714                rel1.relative: 1.0 0.0;
26715                rel1.offset: -1 4;
26716                rel2.to_x: "elm.swallow.content";
26717                rel2.relative: 1.0 1.0;
26718                rel2.offset: -1 -5;
26719                color: 0 0 0 255;
26720                text {
26721                   font: "Sans,Edje-Vera";
26722                   size: 10;
26723                   min: 0 0;
26724                   align: 0.0 0.5;
26725                }
26726             }
26727             description { state: "visible" 0.0;
26728                inherit: "default" 0.0;
26729                visible: 1;
26730                text.min: 1 1;
26731                rel1.offset: 0 4;
26732                rel2.offset: 0 -5;
26733             }
26734          }
26735
26736          part { name: "background";
26737             mouse_events: 0;
26738             clip_to: "elm.background.progressbar";
26739             description {
26740                state: "default" 0.0;
26741                rel1 {
26742                   to: "elm.swallow.bar";
26743                   relative: 0.0 0.0;
26744                }
26745                rel2 {
26746                   to: "elm.swallow.bar";
26747                   relative: 1.0 1.0;
26748                   offset: -1 -1;
26749                }
26750                image {
26751                   normal: "shelf_inset.png";
26752                   border: 7 7 7 7;
26753                }
26754             }
26755          }
26756
26757          part { name: "elm.text.status";
26758             type: TEXT;
26759             mouse_events: 0;
26760             description { state: "default" 0.0;
26761                fixed: 1 1;
26762                visible: 1;
26763                rel1 {
26764                   to: "background";
26765                   relative: 0.5 0.5;
26766                }
26767                rel2 {
26768                   to: "background";
26769                   relative: 0.5 0.5;
26770                }
26771                text {
26772                   font: "Sans:style=Bold,Edje-Vera-Bold";
26773                   size: 10;
26774                   min: 1 1;
26775                   align: 0.5 0.0;
26776                }
26777                color: 0 0 0 255;
26778             }
26779             description { state: "hidden" 0.0;
26780                inherit: "default" 0.0;
26781                visible: 0;
26782                text.min: 0 0;
26783             }
26784          }
26785
26786          part { name: "elm.progress.progressbar";
26787             mouse_events: 0;
26788             clip_to: "elm.background.progressbar";
26789             description {
26790                state: "default" 0.0;
26791                min: 14 28;
26792                fixed: 1 1;
26793                rel1 {
26794                   to: "elm.swallow.bar";
26795                   relative: 0.0 0.0;
26796                }
26797                rel2 {
26798                   to_y: "elm.swallow.bar";
26799                   to_x: "elm.cur.progressbar";
26800                   offset: -1 -1;
26801                }
26802                image {
26803                   normal: "bt_sm_base2.png";
26804                   border: 6 6 6 6;
26805                }
26806             }
26807             description {
26808                state: "invert" 0.0;
26809                inherit: "default" 0.0;
26810                rel1 {
26811                   to_y: "elm.swallow.bar";
26812                   to_x: "elm.cur.progressbar";
26813                }
26814                rel2 {
26815                   to: "elm.swallow.bar";
26816                   relative: 1.0 1.0;
26817                }
26818             }
26819             description {
26820                state: "state_begin" 0.0;
26821                inherit: "default" 0.0;
26822                rel1 {
26823                   to: "elm.swallow.bar";
26824                   relative: 0.0 0.0;
26825                }
26826                rel2 {
26827                   to: "elm.swallow.bar";
26828                   relative: 0.1 1.0;
26829                }
26830             }
26831             description {
26832                state: "state_end" 0.0;
26833                inherit: "default" 0.0;
26834                rel1 {
26835                   to: "elm.swallow.bar";
26836                   relative: 0.9 0.0;
26837                }
26838                rel2 {
26839                   to: "elm.swallow.bar";
26840                   relative: 1.0 1.0;
26841                }
26842             }
26843          }
26844          part { name: "text-bar";
26845             type: TEXT;
26846             mouse_events: 0;
26847             clip_to: "progress-rect";
26848             effect: SOFT_SHADOW;
26849             scale: 1;
26850             description { state: "default" 0.0;
26851                align: 0.0 0.0;
26852                fixed: 1 1;
26853                visible: 1;
26854                rel1.to: "elm.text.status";
26855                rel1.offset: -1 -1;
26856                rel2.to: "elm.text.status";
26857                text {
26858                   text_source: "elm.text.status";
26859                   font: "Sans:style=Bold,Edje-Vera-Bold";
26860                   size: 10;
26861                   min: 1 1;
26862                   align: 0.0 0.0;
26863                }
26864                color: 224 224 224 255;
26865                color3: 0 0 0 64;
26866             }
26867             description { state: "hidden" 0.0;
26868                inherit: "default" 0.0;
26869                visible: 0;
26870                text.min: 0 0;
26871             }
26872          }
26873
26874          part { name: "over1";
26875             mouse_events: 0;
26876             description { state: "default" 0.0;
26877                rel1.to: "elm.progress.progressbar";
26878                rel2.to: "elm.progress.progressbar";
26879                rel2.relative: 1.0 0.5;
26880                image {
26881                   normal: "bt_sm_hilight.png";
26882                   border: 6 6 6 0;
26883                }
26884             }
26885          }
26886
26887          part { name: "over2";
26888             mouse_events: 1;
26889             repeat_events: 1;
26890             description { state: "default" 0.0;
26891                rel1.to: "elm.progress.progressbar";
26892                rel2.to: "elm.progress.progressbar";
26893                image {
26894                   normal: "bt_sm_shine.png";
26895                   border: 6 6 6 0;
26896                }
26897             }
26898          }
26899
26900          part { name: "elm.cur.progressbar";
26901             mouse_events: 0;
26902             dragable {
26903                confine: "background";
26904                x: 1 1 1;
26905                y: 0 0 0;
26906             }
26907             description { state: "default" 0.0;
26908                min: 14 28;
26909                fixed: 1 1;
26910                visible: 0;
26911                rel1 {
26912                   to: "background";
26913                   relative: 0 0;
26914                }
26915                rel2.to: "background";
26916            }
26917          }
26918          part { name: "progress-rect";
26919             mouse_events: 0;
26920             description {
26921                state: "default" 0.0;
26922                rel1.to: "elm.progress.progressbar";
26923                rel2.to: "elm.progress.progressbar";
26924             }
26925          }
26926       }
26927       programs {
26928          program { name: "label_show";
26929             signal: "elm,state,text,visible";
26930             source: "elm";
26931             action:  STATE_SET "visible" 0.0;
26932             target: "elm.text";
26933          }
26934          program { name: "label_hide";
26935             signal: "elm,state,text,hidden";
26936             source: "elm";
26937             action:  STATE_SET "default" 0.0;
26938             target: "elm.text";
26939          }
26940          program { name: "icon_show";
26941             signal: "elm,state,icon,visible";
26942             source: "elm";
26943             action:  STATE_SET "visible" 0.0;
26944             target: "elm.swallow.content";
26945          }
26946          program { name: "icon_hide";
26947             signal: "elm,state,icon,hidden";
26948             source: "elm";
26949             action:  STATE_SET "default" 0.0;
26950             target: "elm.swallow.content";
26951          }
26952          program { name: "units_show";
26953             signal: "elm,state,units,visible";
26954             source: "elm";
26955             action:  STATE_SET "default" 0.0;
26956             target: "text-bar";
26957             target: "elm.text.status";
26958          }
26959          program { name: "units_hide";
26960             signal: "elm,state,units,hidden";
26961             source: "elm";
26962             action:  STATE_SET "hidden" 0.0;
26963             target: "text-bar";
26964             target: "elm.text.status";
26965          }
26966          program { name: "slide_to_end";
26967             action:  STATE_SET "state_end" 0.0;
26968             transition: LINEAR 0.5;
26969             target: "elm.progress.progressbar";
26970             after: "slide_to_begin";
26971          }
26972          program { name: "slide_to_begin";
26973             signal: "elm,state,slide,begin";
26974             action: STATE_SET "state_begin" 0.0;
26975             target: "elm.progress.progressbar";
26976             transition: LINEAR 0.5;
26977             after: "slide_to_end";
26978          }
26979          program { name: "start_pulse";
26980             signal: "elm,state,pulse,start";
26981             source: "elm";
26982             after: "slide_to_end";
26983          }
26984          program { name: "stop_pulse";
26985             signal: "elm,state,pulse,stop";
26986             source: "elm";
26987             action: ACTION_STOP;
26988             target: "slide_to_begin";
26989             target: "slide_to_end";
26990             target: "start_pulse";
26991             after: "state_pulse";
26992          }
26993          program { name: "state_pulse";
26994             signal: "elm,state,pulse";
26995             source: "elm";
26996             action: STATE_SET "state_begin" 0.0;
26997             target: "elm.progress.progressbar";
26998             after: "units_hide";
26999          }
27000          program { name: "state_fraction";
27001             signal: "elm,state,fraction";
27002             source: "elm";
27003             action: ACTION_STOP;
27004             target: "slide_to_begin";
27005             target: "slide_to_end";
27006             target: "start_pulse";
27007             action: STATE_SET "default" 0.0;
27008             target: "elm.progress.progressbar";
27009          }
27010          program { name: "set_invert_on";
27011             signal: "elm,state,inverted,on";
27012             source: "elm";
27013             action:  STATE_SET "invert" 0.0;
27014             target: "elm.progress.progressbar";
27015          }
27016          program { name: "set_invert_off";
27017             signal: "elm,state,inverted,off";
27018             source: "elm";
27019             action:  STATE_SET "default" 0.0;
27020             target: "elm.progress.progressbar";
27021          }
27022       }
27023    }
27024
27025 ///////////////////////////////////////////////////////////////////////////////
27026    group { name: "elm/progressbar/vertical/default";
27027       images {
27028          image: "shelf_inset.png" COMP;
27029          image: "bt_sm_base2.png" COMP;
27030          image: "bt_sm_hilight.png" COMP;
27031          image: "bt_sm_shine.png" COMP;
27032       }
27033       parts {
27034          part { name: "elm.background.progressbar";
27035             type: RECT;
27036             mouse_events: 0;
27037             description {
27038                state: "default" 0.0;
27039                rel1 {
27040                   relative: 0.0 0.0;
27041                   offset: 0 0;
27042                }
27043                rel2 {
27044                   relative: 1.0 1.0;
27045                   offset: -1 -1;
27046                }
27047             }
27048          }
27049          part { name: "elm.swallow.bar";
27050             type: SWALLOW;
27051             scale: 1;
27052             description { state: "default" 0.0;
27053                min: 28 48;
27054                max: 28 9999;
27055                align: 0.5 1.0;
27056                rel1 {
27057                   to_y: "elm.text";
27058                   relative: 0.0 1.0;
27059                   offset: 0 2;
27060                }
27061                rel2 {
27062                   to_y: "elm.text.box";
27063                   relative: 1.0 0.0;
27064                   offset: -1 -3;
27065                }
27066             }
27067          }
27068          part { name: "elm.swallow.content";
27069             type: SWALLOW;
27070             description { state: "default" 0.0;
27071                visible: 0;
27072                align: 0.5 0.0;
27073                rel1 {
27074                   offset: 0 4;
27075                   to_x: "elm.swallow.bar";
27076                }
27077                rel2 {
27078                   offset: -1 3;
27079                   relative: 1.0 0.0;
27080                   to_x: "elm.swallow.bar";
27081                }
27082             }
27083             description { state: "visible" 0.0;
27084                inherit: "default" 0.0;
27085                visible: 1;
27086                aspect: 1.0 1.0;
27087                aspect_preference: HORIZONTAL;
27088                rel2.offset: -1 4;
27089             }
27090          }
27091          part { name: "elm.text";
27092             type: TEXT;
27093             mouse_events: 0;
27094             scale: 1;
27095             description { state: "default" 0.0;
27096                visible: 0;
27097                fixed: 1 1;
27098                align: 0.5 0.0;
27099                rel1.to_y: "elm.swallow.content";
27100                rel1.relative: 0.5 1.0;
27101                rel1.offset: 0 -1;
27102                rel2.to_y: "elm.swallow.content";
27103                rel2.relative: 0.5 1.0;
27104                rel2.offset: -1 -1;
27105                color: 0 0 0 255;
27106                text {
27107                   font: "Sans,Edje-Vera";
27108                   size: 10;
27109                   min: 0 0;
27110                   align: 0.5 0.0;
27111                }
27112             }
27113             description { state: "visible" 0.0;
27114                inherit: "default" 0.0;
27115                visible: 1;
27116                text.min: 1 1;
27117                rel1.offset: 4 0;
27118                rel2.offset: -5 0;
27119             }
27120          }
27121
27122          part { name: "background";
27123             mouse_events: 0;
27124             clip_to: "elm.background.progressbar";
27125             description {
27126                state: "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 1.0;
27134                   offset: -1 -1;
27135                }
27136                image {
27137                   normal: "shelf_inset.png";
27138                   border: 7 7 7 7;
27139                }
27140             }
27141          }
27142
27143          part { name: "elm.progress.progressbar";
27144             mouse_events: 0;
27145             clip_to: "elm.background.progressbar";
27146             description {
27147                state: "default" 0.0;
27148                min: 28 14;
27149                fixed: 1 1;
27150                rel1 {
27151                   to: "elm.swallow.bar";
27152                   relative: 0.0 0.0;
27153                }
27154                rel2 {
27155                   to_x: "elm.swallow.bar";
27156                   to_y: "elm.cur.progressbar";
27157                   offset: -1 -1;
27158                }
27159                image {
27160                   normal: "bt_sm_base2.png";
27161                   border: 6 6 6 6;
27162                }
27163             }
27164             description {
27165                state: "invert" 0.0;
27166                inherit: "default" 0.0;
27167                rel1 {
27168                   to_x: "elm.swallow.bar";
27169                   to_y: "elm.cur.progressbar";
27170                }
27171                rel2 {
27172                   to: "elm.swallow.bar";
27173                   relative: 1.0 1.0;
27174                }
27175             }
27176             description {
27177                state: "state_begin" 0.0;
27178                inherit: "default" 0.0;
27179                rel1 {
27180                   to: "elm.swallow.bar";
27181                   relative: 0.0 0.0;
27182                }
27183                rel2 {
27184                   to: "elm.swallow.bar";
27185                   relative: 1.0 0.1;
27186                }
27187             }
27188             description {
27189                state: "state_end" 0.0;
27190                inherit: "default" 0.0;
27191                rel1 {
27192                   to: "elm.swallow.bar";
27193                   relative: 0.0 0.9;
27194                }
27195                rel2 {
27196                   to: "elm.swallow.bar";
27197                   relative: 1.0 1.0;
27198                }
27199             }
27200          }
27201
27202          part { name: "over1";
27203             mouse_events: 0;
27204             description { state: "default" 0.0;
27205                rel1.to: "elm.progress.progressbar";
27206                rel2.to: "elm.progress.progressbar";
27207                rel2.relative: 1.0 0.5;
27208                image {
27209                   normal: "bt_sm_hilight.png";
27210                   border: 6 6 6 0;
27211                }
27212             }
27213          }
27214
27215          part { name: "over2";
27216             mouse_events: 1;
27217             repeat_events: 1;
27218             description { state: "default" 0.0;
27219                rel1.to: "elm.progress.progressbar";
27220                rel2.to: "elm.progress.progressbar";
27221                image {
27222                   normal: "bt_sm_shine.png";
27223                   border: 6 6 6 0;
27224                }
27225             }
27226          }
27227
27228          part { name: "elm.cur.progressbar";
27229             mouse_events: 0;
27230             dragable {
27231                confine: "background";
27232                x: 0 0 0;
27233                y: 1 1 1;
27234             }
27235             description { state: "default" 0.0;
27236                min: 28 14;
27237                fixed: 1 1;
27238                visible: 0;
27239                rel1 {
27240                   to: "background";
27241                   relative: 0 0;
27242                }
27243                rel2.to: "background";
27244            }
27245          }
27246
27247          part { name: "elm.text.box";
27248             mouse_events: 0;
27249             type: RECT;
27250             description { state: "default" 0.0;
27251                visible: 0;
27252                rel1 {
27253                   to: "elm.text.status";
27254                   offset: -2 -2;
27255                }
27256                rel2 {
27257                   to: "elm.text.status";
27258                   offset: 2 2;
27259                }
27260                color: 255 255 255 0;
27261             }
27262             description { state: "visible" 0.0;
27263                inherit: "default" 0.0;
27264                visible: 1;
27265             }
27266          }
27267          part { name: "elm.text.status";
27268             type: TEXT;
27269             mouse_events: 0;
27270             scale: 1;
27271             description { state: "default" 0.0;
27272                visible: 0;
27273                fixed: 1 1;
27274                align: 0.5 1.0;
27275                rel1.relative: 0.0 1.0;
27276                rel1.offset: 2 0;
27277                rel2.relative: 1.0 1.0;
27278                rel2.offset: -2 0;
27279                color: 0 0 0 255;
27280                text {
27281                   font: "Sans:style=Bold,Edje-Vera-Bold";
27282                   size: 10;
27283                   min: 0 0;
27284                   align: 0.5 0.0;
27285                }
27286             }
27287             description { state: "visible" 0.0;
27288                inherit: "default" 0.0;
27289                fixed: 1 1;
27290                visible: 1;
27291                text.min: 1 1;
27292                rel1.offset: 8 -9;
27293                rel2.offset: -9 -9;
27294             }
27295          }
27296       }
27297       programs {
27298          program { name: "label_show";
27299             signal: "elm,state,text,visible";
27300             source: "elm";
27301             action:  STATE_SET "visible" 0.0;
27302             target: "elm.text";
27303          }
27304          program { name: "label_hide";
27305             signal: "elm,state,text,hidden";
27306             source: "elm";
27307             action:  STATE_SET "default" 0.0;
27308             target: "elm.text";
27309          }
27310          program { name: "icon_show";
27311             signal: "elm,state,icon,visible";
27312             source: "elm";
27313             action:  STATE_SET "visible" 0.0;
27314             target: "elm.swallow.content";
27315          }
27316          program { name: "icon_hide";
27317             signal: "elm,state,icon,hidden";
27318             source: "elm";
27319             action:  STATE_SET "default" 0.0;
27320             target: "elm.swallow.content";
27321          }
27322          program { name: "units_show";
27323             signal: "elm,state,units,visible";
27324             source: "elm";
27325             action:  STATE_SET "visible" 0.0;
27326             target: "elm.text.status";
27327             target: "elm.text.box";
27328          }
27329          program { name: "units_hide";
27330             signal: "elm,state,units,hidden";
27331             source: "elm";
27332             action:  STATE_SET "default" 0.0;
27333             target: "elm.text.status";
27334             target: "elm.text.box";
27335          }
27336          program { name: "slide_to_end";
27337             action:  STATE_SET "state_end" 0.0;
27338             transition: LINEAR 0.5;
27339             target: "elm.progress.progressbar";
27340             after: "slide_to_begin";
27341          }
27342          program { name: "slide_to_begin";
27343             action:  STATE_SET "state_begin" 0.0;
27344             target: "elm.progress.progressbar";
27345             transition: LINEAR 0.5;
27346             after: "slide_to_end";
27347          }
27348          program { name: "start_pulse";
27349             signal: "elm,state,pulse,start";
27350             source: "elm";
27351             action: STATE_SET "state_begin" 0.0;
27352             target: "elm.progress.progressbar";
27353             after: "slide_to_end";
27354          }
27355          program { name: "stop_pulse";
27356             signal: "elm,state,pulse,stop";
27357             source: "elm";
27358             action: ACTION_STOP;
27359             target: "slide_to_begin";
27360             target: "slide_to_end";
27361             target: "start_pulse";
27362             after: "state_pulse";
27363          }
27364          program { name: "state_pulse";
27365             signal: "elm,state,pulse";
27366             source: "elm";
27367             action: STATE_SET "state_begin" 0.0;
27368             target: "elm.progress.progressbar";
27369             after: "units_hide";
27370          }
27371          program { name: "state_fraction";
27372             signal: "elm,state,fraction";
27373             source: "elm";
27374             action: ACTION_STOP;
27375             target: "slide_to_begin";
27376             target: "slide_to_end";
27377             target: "start_pulse";
27378             action: STATE_SET "default" 0.0;
27379             target: "elm.progress.progressbar";
27380          }
27381          program { name: "set_invert_on";
27382             signal: "elm,state,inverted,on";
27383             source: "elm";
27384             action:  STATE_SET "invert" 0.0;
27385             target: "elm.progress.progressbar";
27386             target: "elm.cur.progressbar";
27387          }
27388          program { name: "set_invert_off";
27389             signal: "elm,state,inverted,off";
27390             source: "elm";
27391             action:  STATE_SET "default" 0.0;
27392             target: "elm.progress.progressbar";
27393             target: "elm.cur.progressbar";
27394          }
27395       }
27396    }
27397
27398 ///////////////////////////////////////////////////////////////////////////////
27399    group { name: "elm/separator/horizontal/default";
27400        images {
27401            image: "separator_h.png" COMP;
27402        }
27403        parts {
27404            part { name: "separator"; // separator group
27405                description { state: "default" 0.0;
27406                    min: 2 2;
27407                    rel1.offset: 4 4;
27408                    rel2.offset: -5 -5;
27409                    image {
27410                        normal: "separator_h.png";
27411                    }
27412                    fill {
27413                        smooth: 0;
27414                    }
27415                }
27416            }
27417        }
27418    }
27419
27420    ///////////////////////////////////////////////////////////////////////////////
27421    group { name: "elm/separator/vertical/default";
27422        images {
27423            image: "separator_v.png" COMP;
27424        }
27425        parts {
27426            part { name: "separator"; // separator group
27427                description { state: "default" 0.0;
27428                    min: 2 2;
27429                    rel1.offset: 4 4;
27430                    rel2.offset: -5 -5;
27431                    image {
27432                        normal: "separator_v.png";
27433                    }
27434                    fill {
27435                        smooth: 0;
27436                    }
27437                }
27438            }
27439        }
27440    }
27441
27442    group { name: "elm/progressbar/horizontal/wheel";
27443        images {
27444            image: "busy-1.png" COMP;
27445            image: "busy-2.png" COMP;
27446            image: "busy-3.png" COMP;
27447            image: "busy-4.png" COMP;
27448            image: "busy-5.png" COMP;
27449            image: "busy-6.png" COMP;
27450            image: "busy-7.png" COMP;
27451            image: "busy-8.png" COMP;
27452            image: "busy-9.png" COMP;
27453        }
27454        parts {
27455            part { name: "elm.background.progressbar";
27456                mouse_events: 0;
27457                type: RECT;
27458                description {
27459                    state: "default" 0.0;
27460                }
27461            }
27462            part { name: "elm.swallow.bar";
27463                mouse_events: 0;
27464                type: SWALLOW;
27465                description { state: "default" 0.0;
27466                    min: 0 0;
27467                    max: 0 0;
27468                    visible: 0;
27469                }
27470            }
27471            part { name: "elm.swallow.content";
27472                type: SWALLOW;
27473                description { state: "default" 0.0;
27474                    min: 0 0;
27475                    max: 0 0;
27476                    visible: 0;
27477                }
27478            }
27479            part { name: "background";
27480                mouse_events: 0;
27481                clip_to: "elm.background.progressbar";
27482                description {
27483                    state: "default" 0.0;
27484                    min: 32 32;
27485                    max: 32 32;
27486                    visible: 1;
27487                    aspect: 1.0 1.0;
27488                    aspect_preference: BOTH;
27489                    image {
27490                        normal: "busy-9.png";
27491                        border: 7 7 7 7;
27492                    }
27493                }
27494                description {
27495                    state: "pulse" 0.0;
27496                    inherit: "default" 0.0;
27497                    image {
27498                        normal: "busy-9.png";
27499                        tween:  "busy-1.png";
27500                        tween:  "busy-2.png";
27501                        tween:  "busy-3.png";
27502                        tween:  "busy-4.png";
27503                        tween:  "busy-5.png";
27504                        tween:  "busy-6.png";
27505                        tween:  "busy-7.png";
27506                        tween:  "busy-8.png";
27507                        border: 7 7 7 7;
27508                    }
27509                }
27510            }
27511        }
27512        programs {
27513            program { name: "start_pulse";
27514                signal: "elm,state,pulse,start";
27515                source: "elm";
27516                action: STATE_SET "pulse" 0.0;
27517                target: "background";
27518                transition: LINEAR 0.5;
27519                after: "start_pulse";
27520            }
27521            program { name: "stop_pulse";
27522                signal: "elm,state,pulse,stop";
27523                source: "elm";
27524                action: STATE_SET "default" 0.0;
27525                target: "background";
27526            }
27527        }
27528    }
27529
27530
27531 ///////////////////////////////////////////////////////////////////////////////
27532    group { name: "elm/spinner/base/default";
27533        images {
27534            image: "shelf_inset.png" COMP;
27535            image: "bt_base1.png" COMP;
27536            image: "bt_hilight.png" COMP;
27537            image: "bt_shine.png" COMP;
27538            image: "bt_glow.png" COMP;
27539            image: "bt_dis_base.png" COMP;
27540            image: "bt_dis_hilight.png" COMP;
27541            image: "sp_bt_l.png" COMP;
27542            image: "sp_bt_r.png" COMP;
27543        }
27544        parts {
27545            part { name: "bg";
27546                type: RECT;
27547                description { state: "default" 0.0;
27548                    min: 0 30;
27549                    rel1.offset: 1 1;
27550                    rel2.offset: -2 -2;
27551                    color: 255 255 255 0;
27552                }
27553            }
27554            part { name: "conf_over";
27555                mouse_events:  0;
27556                description { state: "default" 0.0;
27557                    rel1.to: "bg";
27558                    rel2.to: "bg";
27559                    image {
27560                        normal: "shelf_inset.png";
27561                        border: 7 7 7 7;
27562                        middle: 0;
27563                    }
27564                    fill.smooth : 0;
27565                }
27566            }
27567            part { name: "left_bt";
27568                mouse_events:  1;
27569                description { state: "default" 0.0;
27570                    rel1 { to: "bg";
27571                        offset: 3 3;
27572                    }
27573                    rel2 { to: "bg";
27574                        offset: -4 -4;
27575                    }
27576                    align: 0.0 0.5;
27577                    min: 24 24;
27578                    aspect: 1.0 1.0;
27579                    aspect_preference: VERTICAL;
27580                    image {
27581                        normal: "bt_base1.png";
27582                        border: 6 6 6 6;
27583                    }
27584                    fill.smooth : 0;
27585                }
27586                description { state: "clicked" 0.0;
27587                    inherit: "default" 0.0;
27588                    image.normal: "bt_base1.png";
27589                    image.middle: SOLID;
27590                }
27591                description { state: "disabled" 0.0;
27592                    inherit:  "default" 0.0;
27593                    image {
27594                        normal: "bt_dis_base.png";
27595                        border: 4 4 4 4;
27596                    }
27597                }
27598            }
27599            part {          name: "left_over1";
27600                mouse_events: 0;
27601                description { state: "default" 0.0;
27602                    rel1.to: "left_bt";
27603                    rel2 { to: "left_bt";
27604                        relative: 1.0 0.5;
27605                    }
27606                    image {
27607                        normal: "bt_hilight.png";
27608                        border: 7 7 7 0;
27609                    }
27610                }
27611                description { state: "disabled" 0.0;
27612                    inherit:  "default" 0.0;
27613                    image {
27614                        normal: "bt_dis_hilight.png";
27615                        border: 4 4 4 0;
27616                    }
27617                }
27618            }
27619            part { name: "left_over2";
27620                mouse_events: 1;
27621                repeat_events: 1;
27622                ignore_flags: ON_HOLD;
27623                description { state: "default" 0.0;
27624                    rel1.to: "left_bt";
27625                    rel2.to: "left_bt";
27626                    image {
27627                        normal: "bt_shine.png";
27628                        border: 7 7 7 7;
27629                    }
27630                }
27631                description { state: "disabled" 0.0;
27632                    inherit:  "default" 0.0;
27633                    visible: 0;
27634                }
27635            }
27636            part { name: "left_over3";
27637                mouse_events: 1;
27638                repeat_events: 1;
27639                description { state: "default" 0.0;
27640                    color: 255 255 255 0;
27641                    rel1.to: "left_bt";
27642                    rel2.to: "left_bt";
27643                    image {
27644                        normal: "bt_glow.png";
27645                        border: 12 12 12 12;
27646                    }
27647                    fill.smooth : 0;
27648                }
27649                description { state: "clicked" 0.0;
27650                    inherit:  "default" 0.0;
27651                    visible: 1;
27652                    color: 255 255 255 255;
27653                }
27654            }
27655            part { name: "right_bt";
27656                mouse_events:  1;
27657                description { state: "default" 0.0;
27658                    rel1 { to: "bg";
27659                        offset: -26 3;
27660                    }
27661                    rel2 { to: "bg";
27662                        offset: -4 -4;
27663                    }
27664                    align: 1.0 0.5;
27665                    min: 24 24;
27666                    aspect: 1.0 1.0;
27667                    aspect_preference: VERTICAL;
27668                    image {
27669                        normal: "bt_base1.png";
27670                        border: 5 5 4 12;
27671                    }
27672                    fill.smooth : 0;
27673                }
27674                description { state: "clicked" 0.0;
27675                    inherit: "default" 0.0;
27676                    image.normal: "bt_base1.png";
27677                    image.middle: SOLID;
27678                }
27679                description { state: "disabled" 0.0;
27680                    inherit:  "default" 0.0;
27681                    image {
27682                        normal: "bt_dis_base.png";
27683                        border: 4 4 4 4;
27684                    }
27685                }
27686            }
27687            part { name: "right_over1";
27688                mouse_events: 0;
27689                description { state: "default" 0.0;
27690                    rel1.to: "right_bt";
27691                    rel2 { to: "right_bt";
27692                        relative: 1.0 0.5;
27693                    }
27694                    image {
27695                        normal: "bt_hilight.png";
27696                        border: 7 7 7 0;
27697                    }
27698                }
27699                description { state: "disabled" 0.0;
27700                    inherit:  "default" 0.0;
27701                    image {
27702                        normal: "bt_dis_hilight.png";
27703                        border: 4 4 4 0;
27704                    }
27705                }
27706            }
27707            part { name: "right_over2";
27708                mouse_events: 1;
27709                repeat_events: 1;
27710                ignore_flags: ON_HOLD;
27711                description { state: "default" 0.0;
27712                    rel1.to: "right_bt";
27713                    rel2.to: "right_bt";
27714                    image {
27715                        normal: "bt_shine.png";
27716                        border: 7 7 7 7;
27717                    }
27718                }
27719                description { state: "disabled" 0.0;
27720                    inherit:  "default" 0.0;
27721                    visible: 0;
27722                }
27723            }
27724            part { name: "right_over3";
27725                mouse_events: 1;
27726                repeat_events: 1;
27727                description { state: "default" 0.0;
27728                    color: 255 255 255 0;
27729                    rel1.to: "right_bt";
27730                    rel2.to: "right_bt";
27731                    image {
27732                        normal: "bt_glow.png";
27733                        border: 12 12 12 12;
27734                    }
27735                    fill.smooth : 0;
27736                }
27737                description { state: "clicked" 0.0;
27738                    inherit:  "default" 0.0;
27739                    visible: 1;
27740                    color: 255 255 255 255;
27741                }
27742            }
27743            part { name: "left_bt_icon";
27744                repeat_events: 1;
27745                description { state: "default" 0.0;
27746                    rel1.to: "left_bt";
27747                    rel1.offset: 4 4;
27748                    rel2.to: "left_bt";
27749                    rel2.offset: -5 -5;
27750                    align: 0.5 0.5;
27751                    min: 16 16;
27752                    aspect: 1.0 1.0;
27753                    aspect_preference: BOTH;
27754                    image.normal: "sp_bt_l.png";
27755                }
27756                description { state: "rtl" 0.0;
27757                    inherit: "default" 0.0;
27758                    image.normal: "sp_bt_r.png";
27759                }
27760            }
27761            part { name: "right_bt_icon";
27762                repeat_events: 1;
27763                description { state: "default" 0.0;
27764                    rel1.to: "right_bt";
27765                    rel1.offset: 4 4;
27766                    rel2.to: "right_bt";
27767                    rel2.offset: -5 -5;
27768                    align: 0.5 0.5;
27769                    min: 16 16;
27770                    aspect: 1.0 1.0;
27771                    aspect_preference: BOTH;
27772                    image.normal: "sp_bt_r.png";
27773                }
27774                description { state: "rtl" 0.0;
27775                    inherit: "default" 0.0;
27776                    image.normal: "sp_bt_l.png";
27777                }
27778            }
27779            part { name: "elm.text";
27780                type: TEXT;
27781                mouse_events: 0;
27782                scale: 1;
27783                description { state: "default" 0.0;
27784                    visible: 1;
27785                    align: 0.0 0.5;
27786                    rel1 { relative: 1.0 0.0;
27787                        offset: 3 2;
27788                        to_x: "left_bt";
27789                        to_y: "bg";
27790                    }
27791                    rel2 { relative: 0.0 1.0;
27792                        offset: -3 -2;
27793                        to_x: "right_bt";
27794                        to_y: "bg";
27795                    }
27796                    color: 0 0 0 255;
27797                    text {
27798                        font: "Sans,Edje-Vera";
27799                        size: 10;
27800                        min: 1 1;
27801                        align: 0.5 0.5;
27802                    }
27803                }
27804                description { state: "active" 0.0;
27805                    inherit: "default" 0.0;
27806                    visible: 0;
27807                }
27808                description { state: "disabled_active" 0.0;
27809                    inherit: "default" 0.0;
27810                    color: 0 0 0 128;
27811                    color3: 0 0 0 0;
27812                }
27813                description { state: "disabled" 0.0;
27814                    inherit: "default" 0.0;
27815                    color: 0 0 0 128;
27816                    color3: 0 0 0 0;
27817                }
27818            }
27819            part { name: "elm.dragable.slider";
27820                type: RECT;
27821                mouse_events: 0;
27822                scale: 1;
27823                dragable {
27824                    x: 1 1 0;
27825                    y: 0 0 0;
27826                }
27827                description { state: "default" 0.0;
27828                    rel1.to: "bg";
27829                    rel2.to: "bg";
27830                    fixed: 1 1;
27831                    color: 0 0 0 0;
27832                }
27833            }
27834            part { name: "button_events";
27835                type: RECT;
27836                dragable {
27837                    events: "elm.dragable.slider";
27838                }
27839                mouse_events: 1;
27840                description { state: "default" 0.0;
27841                    rel1.to: "elm.text";
27842                    rel2.to: "elm.text";
27843                    color: 0 0 0 0;
27844                }
27845            }
27846            part { name: "elm.swallow.entry";
27847                type: SWALLOW;
27848                description { state: "default" 0.0;
27849                    visible: 0;
27850                    align: 0.5 0.5;
27851                    rel1 { relative: 1.0 0.5;
27852                        offset: 3 2;
27853                        to_x: "left_bt";
27854                        to_y: "bg";
27855                    }
27856                    rel2 { relative: 0.0 0.5;
27857                        offset: -3 -2;
27858                        to_x: "right_bt";
27859                        to_y: "bg";
27860                    }
27861                    fixed: 1 1;
27862                    color: 0 0 0 0;
27863                }
27864                description { state: "active" 0.0;
27865                    inherit: "default" 0.0;
27866                    visible: 1;
27867                    color: 255 255 255 255;
27868                }
27869                description { state: "disabled_active" 0.0;
27870                    inherit: "default" 0.0;
27871                    visible: 0;
27872                }
27873                description { state: "disabled" 0.0;
27874                    inherit: "default" 0.0;
27875                    visible: 0;
27876                }
27877            }
27878            part { name: "disabler";
27879                type: RECT;
27880                description { state: "default" 0.0;
27881                    color: 0 0 0 0;
27882                    visible: 0;
27883                }
27884                description { state: "disabled" 0.0;
27885                    inherit: "default" 0.0;
27886                    visible: 1;
27887                }
27888            }
27889        }
27890        programs {
27891            program { name: "text_show";
27892                signal: "elm,state,text,visible";
27893                source: "elm";
27894                action:  STATE_SET "visible" 0.0;
27895                target: "elm.text";
27896            }
27897            program { name: "text_hide";
27898                signal: "elm,state,text,hidden";
27899                source: "elm";
27900                action:  STATE_SET "default" 0.0;
27901                target: "elm.text";
27902            }
27903            program { name: "dec";
27904                signal: "mouse,down,1";
27905                source: "left_bt";
27906                action: SIGNAL_EMIT "elm,action,decrement,start" "";
27907            }
27908            program { name: "dec2";
27909                signal: "mouse,up,1";
27910                source: "left_bt";
27911                action: SIGNAL_EMIT "elm,action,decrement,stop" "";
27912            }
27913            program { name: "inc";
27914                signal: "mouse,down,1";
27915                source: "right_bt";
27916                action: SIGNAL_EMIT "elm,action,increment,start" "";
27917            }
27918            program { name: "inc2";
27919                signal: "mouse,up,1";
27920                source: "right_bt";
27921                action: SIGNAL_EMIT "elm,action,increment,stop" "";
27922            }
27923            program {
27924                name:   "left_bt_click";
27925                signal: "mouse,down,1";
27926                source: "left_over2";
27927                action: STATE_SET "clicked" 0.0;
27928                target: "left_bt";
27929            }
27930            program {
27931                name:   "left_bt_unclick";
27932                signal: "mouse,up,1";
27933                source: "left_over2";
27934                action: STATE_SET "default" 0.0;
27935                target: "left_bt";
27936            }
27937            program {
27938                name:   "left_bt_click2";
27939                signal: "mouse,down,1";
27940                source: "left_over3";
27941                action: STATE_SET "clicked" 0.0;
27942                target: "left_over3";
27943            }
27944            program {
27945                name:   "left_bt_unclick2";
27946                signal: "mouse,up,1";
27947                source: "left_over3";
27948                action: STATE_SET "default" 0.0;
27949                transition: DECELERATE 0.5;
27950                target: "left_over3";
27951            }
27952            program {
27953                name:   "left_bt_unclick3";
27954                signal: "mouse,up,1";
27955                source: "left_over2";
27956                action: SIGNAL_EMIT "elm,action,click" "";
27957            }
27958            program {
27959                name:   "left_bt_pressed_anim";
27960                signal: "elm,left,anim,activate";
27961                source: "elm";
27962                action: STATE_SET "clicked" 0.0;
27963                target: "left_bt";
27964                target: "left_over3";
27965                after: "left_bt_unpressed_anim";
27966            }
27967            program {
27968                name:   "left_bt_unpressed_anim";
27969                action: STATE_SET "default" 0.0;
27970                transition: DECELERATE 0.5;
27971                target: "left_bt";
27972                target: "left_over3";
27973            }
27974
27975            program {
27976                name:   "right_bt_click";
27977                signal: "mouse,down,1";
27978                source: "right_over2";
27979                action: STATE_SET "clicked" 0.0;
27980                target: "right_bt";
27981            }
27982            program {
27983                name:   "right_bt_unclick";
27984                signal: "mouse,up,1";
27985                source: "right_over2";
27986                action: STATE_SET "default" 0.0;
27987                target: "right_bt";
27988            }
27989            program {
27990                name:   "right_bt_click2";
27991                signal: "mouse,down,1";
27992                source: "right_over3";
27993                action: STATE_SET "clicked" 0.0;
27994                target: "right_over3";
27995            }
27996            program {
27997                name:   "right_bt_unclick2";
27998                signal: "mouse,up,1";
27999                source: "right_over3";
28000                action: STATE_SET "default" 0.0;
28001                transition: DECELERATE 0.5;
28002                target: "right_over3";
28003            }
28004            program {
28005                name:   "right_bt_unclick3";
28006                signal: "mouse,up,1";
28007                source: "right_over2";
28008                action: SIGNAL_EMIT "elm,action,click" "";
28009            }
28010            program {
28011                name:   "right_bt_pressed_anim";
28012                signal: "elm,right,anim,activate";
28013                source: "elm";
28014                action: STATE_SET "clicked" 0.0;
28015                target: "right_bt";
28016                target: "right_over3";
28017                after: "right_bt_unpressed_anim";
28018            }
28019            program {
28020                name:   "right_bt_unpressed_anim";
28021                action: STATE_SET "default" 0.0;
28022                transition: DECELERATE 0.5;
28023                target: "right_bt";
28024                target: "right_over3";
28025            }
28026
28027            program { name: "disable";
28028                signal: "elm,state,disabled";
28029                source: "elm";
28030                action: STATE_SET "disabled" 0.0;
28031                target: "left_bt";
28032                target: "left_over1";
28033                target: "left_over2";
28034                target: "right_bt";
28035                target: "right_over1";
28036                target: "right_over2";
28037                target: "disabler";
28038                after: "disable_text";
28039            }
28040            program { name: "disable_text";
28041                script {
28042                    new st[31];
28043                    new Float:vl;
28044                    get_state(PART:"elm.text", st, 30, vl);
28045                    if (!strcmp(st, "active"))
28046                    set_state(PART:"elm.text", "disabled_active", 0.0);
28047                    else
28048                    set_state(PART:"elm.text", "disabled", 0.0);
28049
28050                    get_state(PART:"elm.swallow.entry", st, 30, vl);
28051                    if (!strcmp(st, "active"))
28052                    set_state(PART:"elm.swallow.entry", "disabled_active", 0.0);
28053                    else
28054                    set_state(PART:"elm.swallow.entry", "disabled", 0.0);
28055                }
28056            }
28057            program { name: "enable";
28058                signal: "elm,state,enabled";
28059                source: "elm";
28060                action: STATE_SET "default" 0.0;
28061                target: "left_bt";
28062                target: "left_over1";
28063                target: "left_over2";
28064                target: "right_bt";
28065                target: "right_over1";
28066                target: "right_over2";
28067                target: "disabler";
28068                after: "enable_text";
28069            }
28070            program { name: "enable_text";
28071                script {
28072                    new st[31];
28073                    new Float:vl;
28074                    get_state(PART:"elm.text", st, 30, vl);
28075                    if (!strcmp(st, "disabled_active"))
28076                    set_state(PART:"elm.text", "active", 0.0);
28077                    else
28078                    set_state(PART:"elm.text", "default", 0.0);
28079
28080                    get_state(PART:"elm.swallow.entry", st, 30, vl);
28081                    if (!strcmp(st, "disabled_active"))
28082                    set_state(PART:"elm.swallow.entry", "active", 0.0);
28083                    else
28084                    set_state(PART:"elm.swallow.entry", "default", 0.0);
28085                }
28086            }
28087            program { name: "active";
28088                signal: "elm,state,active";
28089                source: "elm";
28090                action: STATE_SET "active" 0.0;
28091                target: "elm.text";
28092                target: "elm.swallow.entry";
28093            }
28094            program { name: "inactive";
28095                signal: "elm,state,inactive";
28096                source: "elm";
28097                action: STATE_SET "default" 0.0;
28098                target: "elm.text";
28099                target: "elm.swallow.entry";
28100            }
28101            program { name: "toggle_text";
28102                signal: "mouse,up,1";
28103                source: "button_events";
28104                action: SIGNAL_EMIT "elm,action,entry,toggle" "";
28105            }
28106            program { name: "to_rtl";
28107                signal: "edje,state,rtl";
28108                source: "edje";
28109                action: STATE_SET "rtl" 0.0;
28110                target: "right_bt_icon";
28111                target: "left_bt_icon";
28112            }
28113            program { name: "to_ltr";
28114                signal: "edje,state,ltr";
28115                source: "edje";
28116                action: STATE_SET "default" 0.0;
28117                target: "right_bt_icon";
28118                target: "left_bt_icon";
28119            }
28120        }
28121    }
28122
28123 ///////////////////////////////////////////////////////////////////////////////
28124    group { name: "elm/spinner/base/vertical";
28125        images {
28126            image: "shelf_inset.png" COMP;
28127            image: "bt_hilight.png" COMP;
28128            image: "bt_shine.png" COMP;
28129            image: "bt_glow.png" COMP;
28130            image: "bt_dis_base.png" COMP;
28131            image: "bt_dis_hilight.png" COMP;
28132            image: "up.png" COMP;
28133            image: "down.png" COMP;
28134            image: "bt_spinner_up.png" COMP;
28135            image: "bt_spinner_down.png" COMP;
28136            image: "bt_spinner_hilight.png" COMP;
28137        }
28138        parts {
28139            part { name: "bg";
28140                type: RECT;
28141                description { state: "default" 0.0;
28142                    min: 0 30;
28143                    rel1.offset: 1 1;
28144                    rel2.offset: -2 -2;
28145                    color: 255 255 255 0;
28146                }
28147            }
28148            part { name: "conf_over";
28149                mouse_events:  0;
28150                description { state: "default" 0.0;
28151                    rel1 {
28152                      to: "bg";
28153                      relative: 0.0 0.0;
28154                    }
28155                    rel2 {
28156                       to: "bg";
28157                    }
28158                    image {
28159                        normal: "shelf_inset.png";
28160                        border: 7 7 7 7;
28161                        middle: 0;
28162                    }
28163                    fill.smooth : 0;
28164                }
28165            }
28166            part { name: "down_bt";
28167                mouse_events:  1;
28168                description { state: "default" 0.0;
28169                    fixed: 1 1;
28170                    rel1 {
28171                        to: "up_bt";
28172                        relative: 0 1;
28173                        offset: 0 1;
28174                    }
28175                    rel2 {
28176                        to_y: "bg";
28177                        to_x: "up_bt";
28178                        relative: 1 1;
28179                        offset: -1 -4;
28180                    }
28181                    align: 1.0 0.5;
28182                    min: 24 16;
28183                    image {
28184                        normal: "bt_spinner_down.png";
28185                        border: 6 6 6 6;
28186                    }
28187                    fill.smooth : 0;
28188                }
28189                description { state: "clicked" 0.0;
28190                    inherit: "default" 0.0;
28191                    image.normal: "bt_spinner_down.png";
28192                    image.middle: SOLID;
28193                }
28194                description { state: "disabled" 0.0;
28195                    inherit:  "default" 0.0;
28196                    image {
28197                        normal: "bt_dis_base.png";
28198                        border: 4 4 4 4;
28199                    }
28200                }
28201            }
28202            part { name: "down_over3";
28203                mouse_events: 1;
28204                repeat_events: 1;
28205                description { state: "default" 0.0;
28206                    color: 255 255 255 0;
28207                    rel1.to: "down_bt";
28208                    rel2.to: "down_bt";
28209                    image {
28210                        normal: "bt_glow.png";
28211                        border: 12 12 12 12;
28212                    }
28213                    fill.smooth : 0;
28214                }
28215                description { state: "clicked" 0.0;
28216                    inherit:  "default" 0.0;
28217                    visible: 1;
28218                    color: 255 255 255 255;
28219                }
28220            }
28221            part { name: "up_bt";
28222                mouse_events:  1;
28223                description { state: "default" 0.0;
28224                    fixed: 1 0;
28225                    rel1 { to: "bg";
28226                        relative: 0 0;
28227                        offset: 0 2;
28228                    }
28229                    rel2 { to: "bg";
28230                        relative: 1 0.5;
28231                        offset: -3 0;
28232                    }
28233                    align: 1.0 0.5;
28234                    min: 24 16;
28235                    aspect: 1.5 1.0;
28236                    aspect_preference: BOTH;
28237                    image {
28238                        normal: "bt_spinner_up.png";
28239                        border: 6 6 6 6;
28240                    }
28241                    fill.smooth : 0;
28242                }
28243                description { state: "clicked" 0.0;
28244                    inherit: "default" 0.0;
28245                    image.normal: "bt_spinner_up.png";
28246                    image.middle: SOLID;
28247                }
28248                description { state: "disabled" 0.0;
28249                    inherit:  "default" 0.0;
28250                    image {
28251                        normal: "bt_dis_base.png";
28252                        border: 4 4 4 4;
28253                    }
28254                }
28255            }
28256            part { name: "up_over1";
28257                mouse_events: 0;
28258                description { state: "default" 0.0;
28259                    rel1.to: "up_bt";
28260                    rel2 { to: "up_bt";
28261                        relative: 1.0 0.5;
28262                    }
28263                    image {
28264                        normal: "bt_spinner_hilight.png";
28265                        border: 7 7 7 0;
28266                    }
28267                }
28268                description { state: "disabled" 0.0;
28269                    inherit:  "default" 0.0;
28270                    image {
28271                        normal: "bt_dis_hilight.png";
28272                        border: 4 4 4 0;
28273                    }
28274                }
28275            }
28276            part { name: "up_over3";
28277                mouse_events: 1;
28278                repeat_events: 1;
28279                description { state: "default" 0.0;
28280                    color: 255 255 255 0;
28281                    rel1.to: "up_bt";
28282                    rel2.to: "up_bt";
28283                    image {
28284                        normal: "bt_glow.png";
28285                        border: 12 12 12 12;
28286                    }
28287                    fill.smooth : 0;
28288                }
28289                description { state: "clicked" 0.0;
28290                    inherit:  "default" 0.0;
28291                    visible: 1;
28292                    color: 255 255 255 255;
28293                }
28294            }
28295            part { name: "down_bt_icon";
28296                repeat_events: 1;
28297                description { state: "default" 0.0;
28298                    rel1.to: "down_bt";
28299                    rel1.offset: 5 3;
28300                    rel2.to: "down_bt";
28301                    rel2.offset: -6 -3;
28302                    align: 0.5 0.5;
28303                    image.normal: "down.png";
28304                }
28305            }
28306            part { name: "up_bt_icon";
28307                repeat_events: 1;
28308                description { state: "default" 0.0;
28309                    rel1.to: "up_bt";
28310                    rel1.offset: 5 3;
28311                    rel2.to: "up_bt";
28312                    rel2.offset: -6 -3;
28313                    align: 0.5 0.5;
28314                    image.normal: "up.png";
28315                }
28316            }
28317            part { name: "elm.text";
28318                type: TEXT;
28319                mouse_events: 0;
28320                scale: 1;
28321                description { state: "default" 0.0;
28322                    visible: 1;
28323                    align: 0.0 0.5;
28324                    rel1 { relative: 0.0 0.0;
28325                        offset: 3 2;
28326                        to_x: "bg";
28327                        to_y: "bg";
28328                    }
28329                    rel2 { relative: 0.0 1.0;
28330                        offset: -3 -2;
28331                        to_x: "down_bt";
28332                        to_y: "bg";
28333                    }
28334                    color: 0 0 0 255;
28335                    text {
28336                        font: "Sans,Edje-Vera";
28337                        size: 10;
28338                        min: 1 1;
28339                        align: 0.5 0.5;
28340                    }
28341                }
28342                description { state: "active" 0.0;
28343                    inherit: "default" 0.0;
28344                    visible: 0;
28345                }
28346                description { state: "disabled_active" 0.0;
28347                    inherit: "default" 0.0;
28348                    color: 0 0 0 128;
28349                    color3: 0 0 0 0;
28350                }
28351                description { state: "disabled" 0.0;
28352                    inherit: "default" 0.0;
28353                    color: 0 0 0 128;
28354                    color3: 0 0 0 0;
28355                }
28356            }
28357            part { name: "elm.dragable.slider";
28358                type: RECT;
28359                mouse_events: 0;
28360                scale: 1;
28361                dragable {
28362                    x: 1 1 0;
28363                    y: 0 0 0;
28364                }
28365                description { state: "default" 0.0;
28366                    rel1.to: "bg";
28367                    rel2.to: "bg";
28368                    fixed: 1 1;
28369                    color: 0 0 0 0;
28370                }
28371            }
28372            part { name: "button_events";
28373                type: RECT;
28374                dragable {
28375                    events: "elm.dragable.slider";
28376                }
28377                mouse_events: 1;
28378                description { state: "default" 0.0;
28379                    rel1.to: "elm.text";
28380                    rel2.to: "elm.text";
28381                    color: 0 0 0 0;
28382                }
28383            }
28384            part { name: "elm.swallow.entry";
28385                type: SWALLOW;
28386                description { state: "default" 0.0;
28387                    visible: 0;
28388                    align: 0.5 0.5;
28389                    rel1 { relative: 0.0 0.5;
28390                        offset: 3 2;
28391                        to: "bg";
28392                    }
28393                    rel2 { relative: 1.0 0.5;
28394                        offset: -3 -2;
28395                        to: "bg";
28396                    }
28397                    fixed: 1 1;
28398                    color: 0 0 0 0;
28399                }
28400                description { state: "active" 0.0;
28401                    inherit: "default" 0.0;
28402                    visible: 1;
28403                    color: 255 255 255 255;
28404                }
28405                description { state: "disabled_active" 0.0;
28406                    inherit: "default" 0.0;
28407                    visible: 0;
28408                }
28409                description { state: "disabled" 0.0;
28410                    inherit: "default" 0.0;
28411                    visible: 0;
28412                }
28413            }
28414            part { name: "disabler";
28415                type: RECT;
28416                description { state: "default" 0.0;
28417                    color: 0 0 0 0;
28418                    visible: 0;
28419                }
28420                description { state: "disabled" 0.0;
28421                    inherit: "default" 0.0;
28422                    visible: 1;
28423                }
28424            }
28425        }
28426        programs {
28427            program { name: "text_show";
28428                signal: "elm,state,text,visible";
28429                source: "elm";
28430                action:  STATE_SET "visible" 0.0;
28431                target: "elm.text";
28432            }
28433            program { name: "text_hide";
28434                signal: "elm,state,text,hidden";
28435                source: "elm";
28436                action:  STATE_SET "default" 0.0;
28437                target: "elm.text";
28438            }
28439            program { name: "dec";
28440                signal: "mouse,down,1";
28441                source: "down_bt";
28442                action: SIGNAL_EMIT "elm,action,decrement,start" "";
28443            }
28444            program { name: "dec2";
28445                signal: "mouse,up,1";
28446                source: "down_bt";
28447                action: SIGNAL_EMIT "elm,action,decrement,stop" "";
28448            }
28449            program { name: "inc";
28450                signal: "mouse,down,1";
28451                source: "up_bt";
28452                action: SIGNAL_EMIT "elm,action,increment,start" "";
28453            }
28454            program { name: "inc2";
28455                signal: "mouse,up,1";
28456                source: "up_bt";
28457                action: SIGNAL_EMIT "elm,action,increment,stop" "";
28458            }
28459            program {
28460                name:   "down_bt_click2";
28461                signal: "mouse,down,1";
28462                source: "down_over3";
28463                action: STATE_SET "clicked" 0.0;
28464                target: "down_over3";
28465            }
28466            program {
28467                name:   "down_bt_unclick2";
28468                signal: "mouse,up,1";
28469                source: "down_over3";
28470                action: STATE_SET "default" 0.0;
28471                transition: DECELERATE 0.5;
28472                target: "down_over3";
28473            }
28474            program {
28475                name:   "up_bt_click2";
28476                signal: "mouse,down,1";
28477                source: "up_over3";
28478                action: STATE_SET "clicked" 0.0;
28479                target: "up_over3";
28480            }
28481            program {
28482                name:   "up_bt_unclick2";
28483                signal: "mouse,up,1";
28484                source: "up_over3";
28485                action: STATE_SET "default" 0.0;
28486                transition: DECELERATE 0.5;
28487                target: "up_over3";
28488            }
28489            program { name: "disable";
28490                signal: "elm,state,disabled";
28491                source: "elm";
28492                action: STATE_SET "disabled" 0.0;
28493                target: "down_bt";
28494                target: "up_bt";
28495                target: "disabler";
28496                after: "disable_text";
28497            }
28498            program { name: "disable_text";
28499                script {
28500                    new st[31];
28501                    new Float:vl;
28502                    get_state(PART:"elm.text", st, 30, vl);
28503                    if (!strcmp(st, "active"))
28504                    set_state(PART:"elm.text", "disabled_active", 0.0);
28505                    else
28506                    set_state(PART:"elm.text", "disabled", 0.0);
28507
28508                    get_state(PART:"elm.swallow.entry", st, 30, vl);
28509                    if (!strcmp(st, "active"))
28510                    set_state(PART:"elm.swallow.entry", "disabled_active", 0.0);
28511                    else
28512                    set_state(PART:"elm.swallow.entry", "disabled", 0.0);
28513                }
28514            }
28515            program { name: "enable";
28516                signal: "elm,state,enabled";
28517                source: "elm";
28518                action: STATE_SET "default" 0.0;
28519                target: "down_bt";
28520                target: "up_bt";
28521                target: "disabler";
28522                after: "enable_text";
28523            }
28524            program { name: "enable_text";
28525                script {
28526                    new st[31];
28527                    new Float:vl;
28528                    get_state(PART:"elm.text", st, 30, vl);
28529                    if (!strcmp(st, "disabled_active"))
28530                    set_state(PART:"elm.text", "active", 0.0);
28531                    else
28532                    set_state(PART:"elm.text", "default", 0.0);
28533
28534                    get_state(PART:"elm.swallow.entry", st, 30, vl);
28535                    if (!strcmp(st, "disabled_active"))
28536                    set_state(PART:"elm.swallow.entry", "active", 0.0);
28537                    else
28538                    set_state(PART:"elm.swallow.entry", "default", 0.0);
28539                }
28540            }
28541            program { name: "active";
28542                signal: "elm,state,active";
28543                source: "elm";
28544                action: STATE_SET "active" 0.0;
28545                target: "elm.text";
28546                target: "elm.swallow.entry";
28547            }
28548            program { name: "inactive";
28549                signal: "elm,state,inactive";
28550                source: "elm";
28551                action: STATE_SET "default" 0.0;
28552                target: "elm.text";
28553                target: "elm.swallow.entry";
28554            }
28555            program { name: "toggle_text";
28556                signal: "mouse,up,1";
28557                source: "button_events";
28558                action: SIGNAL_EMIT "elm,action,entry,toggle" "";
28559            }
28560        }
28561    }
28562
28563
28564    ///////////////////////////////////////////////////////////////////////////////
28565    group { name: "elm/index/base/vertical/default";
28566        images {
28567            image: "bt_base1.png" COMP;
28568            image: "bt_base2.png" COMP;
28569            image: "bt_hilight.png" COMP;
28570            image: "bt_shine.png" COMP;
28571        }
28572        parts {
28573            part { name: "clip";
28574                type: RECT;
28575                mouse_events:  0;
28576                description { state: "default" 0.0;
28577                    visible:  0;
28578                    color: 255 255 255 0;
28579                }
28580                description { state: "active" 0.0;
28581                    visible:  1;
28582                    color: 255 255 255 255;
28583                }
28584            }
28585            part { name: "clip2";
28586                type: RECT;
28587                mouse_events:  0;
28588                clip_to: "clip";
28589                description { state: "default" 0.0;
28590                    visible: 0;
28591                    color: 255 255 255 0;
28592                }
28593                description { state: "active" 0.0;
28594                    visible:  1;
28595                    color: 255 255 255 255;
28596                }
28597            }
28598            part { name: "elm.swallow.index.0";
28599                type: SWALLOW;
28600                clip_to: "clip";
28601                description { state: "default" 0.0;
28602                    align: 1.0 0.5;
28603                    fixed: 1 1;
28604                    rel1 {
28605                        relative: 1.0 0.5;
28606                        offset: -1 5;
28607                    }
28608                    rel2 {
28609                        relative: 1.0 0.5;
28610                        offset: -1 -6;
28611                    }
28612                }
28613            }
28614            part { name: "button_image";
28615                mouse_events: 1;
28616                clip_to: "clip";
28617                description { state: "default" 0.0;
28618                    rel1 {
28619                        to: "elm.text.body";
28620                        offset: -5 -5;
28621                    }
28622                    rel2 {
28623                        to: "elm.text";
28624                        offset: 4 4;
28625                    }
28626                    image {
28627                        normal: "bt_base2.png";
28628                        border: 7 7 7 7;
28629                    }
28630                    image.middle: SOLID;
28631                }
28632            }
28633            part { name: "elm.text.body";
28634                type: TEXT;
28635                effect: SOFT_SHADOW;
28636                mouse_events: 0;
28637                scale: 1;
28638                clip_to: "clip";
28639                description { state: "default" 0.0;
28640                    align: 1.0 0.5;
28641                    fixed: 1 1;
28642                    rel1 {
28643                        to: "elm.text";
28644                        relative: 0.0 0.0;
28645                        offset: 5 0;
28646                    }
28647                    rel2 {
28648                        to: "elm.text";
28649                        relative: 0.0 1.0;
28650                        offset: 5 -1;
28651                    }
28652                    color: 224 224 224 255;
28653                    color3: 0 0 0 64;
28654                    text {
28655                        font:     "Sans,Edje-Vera";
28656                        size:     20;
28657                        min:      1 1;
28658                        align:    1.0 0.5;
28659                    }
28660                }
28661            }
28662            part { name: "elm.text";
28663                type: TEXT;
28664                effect: SOFT_SHADOW;
28665                mouse_events: 0;
28666                scale: 1;
28667                clip_to: "clip";
28668                description { state: "default" 0.0;
28669                    align: 1.0 0.5;
28670                    fixed: 1 1;
28671                    rel1 {
28672                        to_x: "elm.swallow.event.0";
28673                        to_y: "elm.dragable.pointer";
28674                        relative: 0.0 0.5;
28675                        offset: -16 0;
28676                    }
28677                    rel2 {
28678                        to_x: "elm.swallow.event.0";
28679                        to_y: "elm.dragable.pointer";
28680                        relative: 0.0 0.5;
28681                        offset: -16 -1;
28682                    }
28683                    color: 255 0 0 255;
28684                    color3: 0 0 0 64;
28685                    text {
28686                        font:     "Sans,Edje-Vera";
28687                        size:     20;
28688                        min:      1 1;
28689                        align:    1.0 0.5;
28690                    }
28691                }
28692            }
28693            part {        name: "over1";
28694                mouse_events: 0;
28695                clip_to: "clip";
28696                description { state: "default" 0.0;
28697                    rel1 {
28698                        to: "button_image";
28699                    }
28700                    rel2 {
28701                        to: "button_image";
28702                        relative: 1.0 0.5;
28703                    }
28704                    image {
28705                        normal: "bt_hilight.png";
28706                        border: 7 7 7 0;
28707                    }
28708                }
28709            }
28710            part { name: "over2";
28711                mouse_events: 1;
28712                repeat_events: 1;
28713                ignore_flags: ON_HOLD;
28714                clip_to: "clip";
28715                description { state: "default" 0.0;
28716                    rel1 {
28717                        to: "button_image";
28718                    }
28719                    rel2 {
28720                        to: "button_image";
28721                    }
28722                    image {
28723                        normal: "bt_shine.png";
28724                        border: 7 7 7 7;
28725                    }
28726                }
28727            }
28728            part { name: "elm.dragable.pointer";
28729                type: RECT;
28730                mouse_events: 0;
28731                dragable {
28732                    x: 1 1 0;
28733                    y: 1 1 0;
28734                }
28735                clip_to: "clip";
28736                description { state: "default" 0.0;
28737                    fixed: 1 1;
28738                    min: 8 8;
28739                    max: 8 8;
28740                    visible: 0;
28741                    rel1 {
28742                        relative: 0.0 0.0;
28743                        offset:   0 0;
28744                    }
28745                    rel2 {
28746                        relative: 0.0 0.0;
28747                        offset:   0 0;
28748                    }
28749                }
28750            }
28751            part { name: "elm.swallow.event.0";
28752                type: SWALLOW;
28753                description { state: "default" 0.0;
28754                    align: 1.0 0.5;
28755                    fixed: 1 1;
28756                    rel1 {
28757                        relative: 1.0 0.0;
28758                        offset: -1 0;
28759                    }
28760                    rel2 {
28761                        relative: 1.0 1.0;
28762                        offset: -1 -1;
28763                    }
28764                }
28765            }
28766        }
28767        programs {
28768            program { name: "active";
28769                signal: "elm,state,active";
28770                source: "elm";
28771                action: STATE_SET "active" 0.0;
28772                transition: DECELERATE 0.5;
28773                target: "clip";
28774            }
28775            program { name: "inactive";
28776                signal: "elm,state,inactive";
28777                source: "elm";
28778                action: STATE_SET "default" 0.0;
28779                transition: DECELERATE 0.5;
28780                target: "clip";
28781            }
28782        }
28783    }
28784
28785    group { name: "elm/index/item/vertical/default";
28786        data.item: "stacking" "above";
28787        data.item: "selectraise" "on";
28788        images {
28789            image: "ilist_1.png" COMP;
28790            image: "ilist_item_shadow.png" COMP;
28791        }
28792        parts {
28793            part {
28794                name: "base_sh";
28795                mouse_events: 0;
28796                description {
28797                    state: "default" 0.0;
28798                    align: 0.0 0.0;
28799                    min: 0 10;
28800                    fixed: 1 1;
28801                    rel1 {
28802                        to: "base";
28803                        relative: 0.0 1.0;
28804                        offset: 0 0;
28805                    }
28806                    rel2 {
28807                        to: "base";
28808                        relative: 1.0 1.0;
28809                        offset: -1 0;
28810                    }
28811                    image {
28812                        normal: "ilist_item_shadow.png";
28813                    }
28814                    fill.smooth: 0;
28815                }
28816            }
28817            part {
28818                name: "base";
28819                mouse_events: 0;
28820                description {
28821                    state: "default" 0.0;
28822                    image {
28823                        normal: "ilist_1.png";
28824                        border: 2 2 2 2;
28825                    }
28826                    fill.smooth: 0;
28827                }
28828                description { state: "active" 0.0;
28829                    inherit: "default" 0.0;
28830                    rel1 {
28831                        offset: -16 0;
28832                    }
28833                }
28834            }
28835            part { name: "elm.text";
28836                type:           TEXT;
28837                mouse_events:   0;
28838                scale: 1;
28839                description {
28840                    state: "default" 0.0;
28841                           //               min: 16 16;
28842                    rel1 {
28843                        to: "base";
28844                        relative: 0.0  0.0;
28845                        offset:   4 4;
28846                    }
28847                    rel2 {
28848                        to: "base";
28849                        relative: 0.5  1.0;
28850                        offset:   -1 -1;
28851                    }
28852                    color: 0 0 0 128;
28853                    text {
28854                        font: "Sans";
28855                        size: 10;
28856                        min: 1 1;
28857                             //                  min: 0 1;
28858                        align: 0.5 0.5;
28859                    }
28860                }
28861                description { state: "active" 0.0;
28862                    inherit: "default" 0.0;
28863                    color: 0 0 0 255;
28864                }
28865            }
28866        }
28867        programs {
28868            program { name: "active";
28869                signal: "elm,state,active";
28870                source: "elm";
28871                action: STATE_SET "active" 0.0;
28872                transition: DECELERATE 0.5;
28873                target: "elm.text";
28874                target: "base";
28875            }
28876            program { name: "inactive";
28877                signal: "elm,state,inactive";
28878                source: "elm";
28879                action: STATE_SET "default" 0.0;
28880                transition: DECELERATE 0.5;
28881                target: "elm.text";
28882                target: "base";
28883            }
28884        }
28885    }
28886
28887    group { name: "elm/index/item_odd/vertical/default";
28888        data.item: "stacking" "below";
28889        images {
28890            image: "ilist_2.png" COMP;
28891        }
28892        parts {
28893            part {
28894                name: "base";
28895                mouse_events: 0;
28896                description {
28897                    state: "default" 0.0;
28898                    image {
28899                        normal: "ilist_2.png";
28900                        border: 2 2 2 2;
28901                    }
28902                    fill.smooth: 0;
28903                }
28904                description { state: "active" 0.0;
28905                    inherit: "default" 0.0;
28906                    rel1 {
28907                        offset: -16 0;
28908                    }
28909                }
28910            }
28911            part { name: "elm.text";
28912                type:           TEXT;
28913                mouse_events:   0;
28914                scale: 1;
28915                description {
28916                    state: "default" 0.0;
28917                           //               min: 16 16;
28918                    rel1 {
28919                        to: "base";
28920                        relative: 0.0  0.0;
28921                        offset:   4 4;
28922                    }
28923                    rel2 {
28924                        to: "base";
28925                        relative: 0.5  1.0;
28926                        offset:   -1 -1;
28927                    }
28928                    color: 0 0 0 128;
28929                    text {
28930                        font: "Sans";
28931                        size: 10;
28932                        min: 1 1;
28933                             //                  min: 0 1;
28934                        align: 0.5 0.5;
28935                    }
28936                }
28937                description { state: "active" 0.0;
28938                    inherit: "default" 0.0;
28939                    color: 0 0 0 255;
28940                }
28941            }
28942        }
28943        programs {
28944            program { name: "active";
28945                signal: "elm,state,active";
28946                source: "elm";
28947                action: STATE_SET "active" 0.0;
28948                transition: DECELERATE 0.5;
28949                target: "elm.text";
28950                target: "base";
28951            }
28952            program { name: "inactive";
28953                signal: "elm,state,inactive";
28954                source: "elm";
28955                action: STATE_SET "default" 0.0;
28956                transition: DECELERATE 0.5;
28957                target: "elm.text";
28958                target: "base";
28959            }
28960        }
28961    }
28962
28963 ///////////////////////////////////////////////////////////////////////////////
28964    group { name: "elm/gengrid/item/default/default";
28965       data.item: "labels" "elm.text";
28966       data.item: "icons" "elm.swallow.icon elm.swallow.end";
28967       images {
28968          image: "bt_sm_base1.png" COMP;
28969          image: "bt_sm_shine.png" COMP;
28970          image: "bt_sm_hilight.png" COMP;
28971          image: "ilist_1.png" COMP;
28972          image: "ilist_item_shadow.png" COMP;
28973       }
28974       parts {
28975          part { name: "event";
28976             type: RECT;
28977             repeat_events: 1;
28978             description {
28979                state: "default" 0.0;
28980                color: 0 0 0 0;
28981             }
28982          }
28983          part { name: "base_sh";
28984             mouse_events: 0;
28985             description { state: "default" 0.0;
28986                align: 0.0 0.0;
28987                min: 0 10;
28988                fixed: 1 1;
28989                rel1 {
28990                   to: "base";
28991                   relative: 0.0 1.0;
28992                   offset: 0 0;
28993                }
28994                rel2 {
28995                   to: "base";
28996                   relative: 1.0 1.0;
28997                   offset: -1 0;
28998                }
28999                image {
29000                   normal: "ilist_item_shadow.png";
29001                }
29002                fill.smooth: 0;
29003             }
29004          }
29005          part { name: "base";
29006             mouse_events: 0;
29007             description { state: "default" 0.0;
29008                image {
29009                   normal: "ilist_1.png";
29010                   border: 2 2 2 2;
29011                }
29012                fill.smooth: 0;
29013             }
29014          }
29015          part { name: "bg";
29016             clip_to: "disclip";
29017             mouse_events: 0;
29018             description { state: "default" 0.0;
29019                visible: 0;
29020                color: 255 255 255 0;
29021                rel1 {
29022                   relative: 0.0 0.0;
29023                   offset: -5 -5;
29024                }
29025                rel2 {
29026                   relative: 1.0 1.0;
29027                   offset: 4 4;
29028                }
29029                image {
29030                   normal: "bt_sm_base1.png";
29031                   border: 6 6 6 6;
29032                }
29033                image.middle: SOLID;
29034             }
29035             description { state: "selected" 0.0;
29036                inherit: "default" 0.0;
29037                visible: 1;
29038                color: 255 255 255 255;
29039                rel1 {
29040                   relative: 0.0 0.0;
29041                   offset: -2 -2;
29042                }
29043                rel2 {
29044                   relative: 1.0 1.0;
29045                   offset: 1 1;
29046                }
29047             }
29048          }
29049          part { name: "elm.swallow.pad";
29050             type: SWALLOW;
29051             description { state: "default" 0.0;
29052                fixed: 1 0;
29053                align: 0.0 0.5;
29054                rel1 {
29055                   relative: 0.0  1.0;
29056                   offset:   0    -10;
29057                }
29058                rel2 {
29059                   to_y: "elm.text";
29060                   relative: 0.0  0.0;
29061                   offset:   -1   -1;
29062                }
29063             }
29064          }
29065          part { name: "elm.swallow.icon";
29066             clip_to: "disclip";
29067             type: SWALLOW;
29068             description { state: "default" 0.0;
29069                fixed: 1 0;
29070                align: 0.5 0.5;
29071                rel1 {
29072                   relative: 0.0  0.0;
29073                   offset:   -1    4;
29074                }
29075                rel2 {
29076                   to_y: "elm.swallow.pad";
29077                   relative: 1.0  0.0;
29078                   offset:   -1   -5;
29079                }
29080             }
29081          }
29082          part { name: "elm.swallow.end";
29083             clip_to: "disclip";
29084             type: SWALLOW;
29085             description { state: "default" 0.0;
29086                fixed: 1 0;
29087                align: 1.0 0.0;
29088                aspect: 1.0 1.0;
29089                aspect_preference: HORIZONTAL;
29090                rel1 {
29091                   relative: 1.0 0.0;
29092                   offset: -5 -5;
29093                }
29094                rel2 {
29095                   relative: 1.0 1.0;
29096                   offset: 5 5;
29097                }
29098             }
29099          }
29100          part { name: "elm.text";
29101             clip_to: "disclip";
29102             type: TEXT;
29103             effect: SOFT_SHADOW;
29104             mouse_events: 0;
29105             scale: 1;
29106             description { state: "default" 0.0;
29107                rel1 {
29108                   relative: 0.0  1.0;
29109                   offset: 0 0;
29110                }
29111                rel2 {
29112                   relative: 1.0  1.0;
29113                   offset: -5 -5;
29114                }
29115                color: 0 0 0 255;
29116                color3: 0 0 0 0;
29117                text {
29118                   font: "Sans";
29119                   size: 10;
29120                   min: 0 1;
29121                   align: 0.5 0.0;
29122                   text_class: "grid_item";
29123                }
29124             }
29125             description { state: "selected" 0.0;
29126                inherit: "default" 0.0;
29127                color: 224 224 224 255;
29128                color3: 0 0 0 64;
29129             }
29130          }
29131          part { name: "fg1";
29132             clip_to: "disclip";
29133             mouse_events: 0;
29134             description { state: "default" 0.0;
29135                visible: 0;
29136                color: 255 255 255 0;
29137                rel1.to: "bg";
29138                rel2.relative: 1.0 0.5;
29139                rel2.to: "bg";
29140                image {
29141                   normal: "bt_sm_hilight.png";
29142                   border: 6 6 6 0;
29143                }
29144             }
29145             description { state: "selected" 0.0;
29146                inherit: "default" 0.0;
29147                visible: 1;
29148                color: 255 255 255 255;
29149             }
29150          }
29151          part { name: "fg2";
29152             clip_to: "disclip";
29153             mouse_events: 0;
29154             description { state: "default" 0.0;
29155                visible: 0;
29156                color: 255 255 255 0;
29157                rel1.to: "bg";
29158                rel2.to: "bg";
29159                image {
29160                   normal: "bt_sm_shine.png";
29161                   border: 6 6 6 0;
29162                }
29163             }
29164             description { state: "selected" 0.0;
29165                inherit: "default" 0.0;
29166                visible: 1;
29167                color: 255 255 255 255;
29168             }
29169          }
29170          part { name: "disclip";
29171             type: RECT;
29172             description { state: "default" 0.0;
29173                rel1.to: "bg";
29174                rel2.to: "bg";
29175             }
29176             description { state: "disabled" 0.0;
29177                inherit: "default" 0.0;
29178                color: 255 255 255 64;
29179             }
29180          }
29181       }
29182       programs {
29183          // signal: elm,state,%s,active
29184          //   a "check" item named %s went active
29185          // signal: elm,state,%s,passive
29186          //   a "check" item named %s went passive
29187          // default is passive
29188          program { name:    "go_active";
29189             signal:  "elm,state,selected";
29190             source:  "elm";
29191             action:  STATE_SET "selected" 0.0;
29192             target:  "bg";
29193             target:  "fg1";
29194             target:  "fg2";
29195             target:  "elm.text";
29196          }
29197          program { name:    "go_passive";
29198             signal:  "elm,state,unselected";
29199             source:  "elm";
29200             action:  STATE_SET "default" 0.0;
29201             target:  "bg";
29202             target:  "fg1";
29203             target:  "fg2";
29204             target:  "elm.text";
29205             transition: LINEAR 0.1;
29206          }
29207          program { name:    "go_disabled";
29208             signal:  "elm,state,disabled";
29209             source:  "elm";
29210             action:  STATE_SET "disabled" 0.0;
29211             target:  "disclip";
29212          }
29213          program { name:    "go_enabled";
29214             signal:  "elm,state,enabled";
29215             source:  "elm";
29216             action:  STATE_SET "default" 0.0;
29217             target:  "disclip";
29218          }
29219       }
29220    }
29221    group { name: "elm/gengrid/item/default_style/default";
29222        styles
29223        {
29224            style { name: "gengrid_style";
29225                base: "font=Sans font_size=10 align=left valign=0.5 color=#000 text_class=grid_item";
29226                tag:  "br" "\n";
29227                tag:  "ps" "ps";
29228                tag:  "hilight" "+ font=Sans:style=Bold";
29229                tag:  "b" "+ font=Sans:style=Bold";
29230                tag:  "tab" "\t";
29231            }
29232            style { name: "gengrid_selected_style";
29233                base: "font=Sans font_size=10 align=left valign=0.5 color=#fff text_class=grid_item";
29234                tag:  "br" "\n";
29235                tag:  "ps" "ps";
29236                tag:  "hilight" "+ font=Sans:style=Bold";
29237                tag:  "b" "+ font=Sans:style=Bold";
29238                tag:  "tab" "\t";
29239            }
29240        }
29241        data.item: "labels" "elm.text";
29242        data.item: "icons" "elm.swallow.icon elm.swallow.end";
29243        images {
29244            image: "bt_sm_base1.png" COMP;
29245            image: "bt_sm_shine.png" COMP;
29246            image: "bt_sm_hilight.png" COMP;
29247            image: "ilist_1.png" COMP;
29248            image: "ilist_item_shadow.png" COMP;
29249        }
29250        parts {
29251            part { name: "event";
29252                type: RECT;
29253                repeat_events: 1;
29254                description { state: "default" 0.0;
29255                    color: 0 0 0 0;
29256                }
29257            }
29258            part { name: "base_sh";
29259                mouse_events: 0;
29260                description { state: "default" 0.0;
29261                    align: 0.0 0.0;
29262                    min: 0 10;
29263                    fixed: 1 1;
29264                    rel1 {
29265                        to: "base";
29266                        relative: 0.0 1.0;
29267                        offset: 0 0;
29268                    }
29269                    rel2 {
29270                        to: "base";
29271                        relative: 1.0 1.0;
29272                        offset: -1 0;
29273                    }
29274                    image {
29275                        normal: "ilist_item_shadow.png";
29276                    }
29277                    fill.smooth: 0;
29278                }
29279            }
29280            part { name: "base";
29281                mouse_events: 0;
29282                description { state: "default" 0.0;
29283                    min: 16 28;
29284                    image {
29285                        normal: "ilist_1.png";
29286                        border: 2 2 2 2;
29287                    }
29288                    fill.smooth: 0;
29289                }
29290            }
29291            part { name: "bg";
29292                clip_to: "disclip";
29293                mouse_events: 0;
29294                description { state: "default" 0.0;
29295                    visible: 0;
29296                    color: 255 255 255 0;
29297                    rel1 {
29298                        relative: 0.0 0.0;
29299                        offset: -5 -5;
29300                    }
29301                    rel2 {
29302                        relative: 1.0 1.0;
29303                        offset: 4 4;
29304                    }
29305                    image {
29306                        normal: "bt_sm_base1.png";
29307                        border: 6 6 6 6;
29308                    }
29309                    image.middle: SOLID;
29310                }
29311                description { state: "selected" 0.0;
29312                    inherit: "default" 0.0;
29313                    visible: 1;
29314                    color: 255 255 255 255;
29315                    rel1 {
29316                        relative: 0.0 0.0;
29317                        offset: -2 -2;
29318                    }
29319                    rel2 {
29320                        relative: 1.0 1.0;
29321                        offset: 1 1;
29322                    }
29323                }
29324            }
29325            part { name: "elm.swallow.pad";
29326                type: SWALLOW;
29327                description { state: "default" 0.0;
29328                    fixed: 1 0;
29329                    align: 0.0 0.5;
29330                    rel1 {
29331                        relative: 0.0  0.0;
29332                        offset:   4    4;
29333                    }
29334                    rel2 {
29335                        relative: 0.0  1.0;
29336                        offset:   4   -5;
29337                    }
29338                }
29339            }
29340            part { name: "elm.swallow.icon";
29341                clip_to: "disclip";
29342                type: SWALLOW;
29343                description { state: "default" 0.0;
29344                    fixed: 1 0;
29345                    align: 0.0 0.5;
29346                    rel1 {
29347                        to_x: "elm.swallow.pad";
29348                        relative: 1.0  0.0;
29349                        offset:   -1    4;
29350                    }
29351                    rel2 {
29352                        to_x: "elm.swallow.pad";
29353                        relative: 1.0  1.0;
29354                        offset:   -1   -5;
29355                    }
29356                }
29357            }
29358            part { name: "elm.swallow.end";
29359                clip_to: "disclip";
29360                type: SWALLOW;
29361                description { state: "default" 0.0;
29362                    fixed: 1 0;
29363                    align: 1.0 0.5;
29364                    aspect: 1.0 1.0;
29365                    aspect_preference: VERTICAL;
29366                    rel1 {
29367                        relative: 1.0  0.0;
29368                        offset:   -5    4;
29369                    }
29370                    rel2 {
29371                        relative: 1.0  1.0;
29372                        offset:   -5   -5;
29373                    }
29374                }
29375            }
29376            part { name: "elm.text";
29377                clip_to: "disclip";
29378                type: TEXTBLOCK;
29379                mouse_events: 0;
29380                scale: 1;
29381                description {
29382                    state: "default" 0.0;
29383                    align: 0.0 0.5;
29384                    fixed: 0 1;
29385                    rel1 {
29386                        to_x: "elm.swallow.icon";
29387                        to_y: "base";
29388                        relative: 1.0  0.5;
29389                        offset:   0 4;
29390                    }
29391                    rel2 {
29392                        to_x: "elm.swallow.end";
29393                        to_y: "base";
29394                        relative: 0.0  0.5;
29395                        offset:   -1 -5;
29396                    }
29397                    text {
29398                        style: "gengrid_style";
29399                        min: 1 1;
29400                    }
29401                }
29402                description { state: "selected" 0.0;
29403                    inherit: "default" 0.0;
29404                    text {
29405                        style: "gengrid_selected_style";
29406                    }
29407                }
29408            }
29409            part { name: "fg1";
29410                clip_to: "disclip";
29411                mouse_events: 0;
29412                description { state: "default" 0.0;
29413                    visible: 0;
29414                    color: 255 255 255 0;
29415                    rel1.to: "bg";
29416                    rel2.relative: 1.0 0.5;
29417                    rel2.to: "bg";
29418                    image {
29419                        normal: "bt_sm_hilight.png";
29420                        border: 6 6 6 0;
29421                    }
29422                }
29423                description { state: "selected" 0.0;
29424                    inherit: "default" 0.0;
29425                    visible: 1;
29426                    color: 255 255 255 255;
29427                }
29428            }
29429            part { name: "fg2";
29430                clip_to: "disclip";
29431                mouse_events: 0;
29432                description { state: "default" 0.0;
29433                    visible: 0;
29434                    color: 255 255 255 0;
29435                    rel1.to: "bg";
29436                    rel2.to: "bg";
29437                    image {
29438                        normal: "bt_sm_shine.png";
29439                        border: 6 6 6 0;
29440                    }
29441                }
29442                description { state: "selected" 0.0;
29443                    inherit: "default" 0.0;
29444                    visible: 1;
29445                    color: 255 255 255 255;
29446                }
29447            }
29448            part { name: "disclip";
29449                type: RECT;
29450                description { state: "default" 0.0;
29451                    rel1.to: "bg";
29452                    rel2.to: "bg";
29453                }
29454                description { state: "disabled" 0.0;
29455                    inherit: "default" 0.0;
29456                    color: 255 255 255 64;
29457                }
29458            }
29459        }
29460        programs {
29461            // signal: elm,state,%s,active
29462            //   a "check" item named %s went active
29463            // signal: elm,state,%s,passive
29464            //   a "check" item named %s went passive
29465            // default is passive
29466            program { name:    "go_active";
29467                signal:  "elm,state,selected";
29468                source:  "elm";
29469                action:  STATE_SET "selected" 0.0;
29470                target:  "bg";
29471                target:  "fg1";
29472                target:  "fg2";
29473                target:  "elm.text";
29474            }
29475            program { name:    "go_passive";
29476                signal:  "elm,state,unselected";
29477                source:  "elm";
29478                action:  STATE_SET "default" 0.0;
29479                target:  "bg";
29480                target:  "fg1";
29481                target:  "fg2";
29482                target:  "elm.text";
29483                transition: LINEAR 0.1;
29484            }
29485            program { name:    "go_disabled";
29486                signal:  "elm,state,disabled";
29487                source:  "elm";
29488                action:  STATE_SET "disabled" 0.0;
29489                target:  "disclip";
29490            }
29491            program { name:    "go_enabled";
29492                signal:  "elm,state,enabled";
29493                source:  "elm";
29494                action:  STATE_SET "default" 0.0;
29495                target:  "disclip";
29496            }
29497        }
29498    }
29499
29500    group { name: "elm/gengrid/item/up/default";
29501       data.item: "labels" "elm.text";
29502       images {
29503           image: "bt_sm_base1.png" COMP;
29504           image: "bt_sm_shine.png" COMP;
29505           image: "bt_sm_hilight.png" COMP;
29506           image: "arrow_up.png" COMP;
29507       }
29508       parts {
29509          part { name: "event";
29510             type: RECT;
29511             repeat_events: 1;
29512             description { state: "default" 0.0;
29513                color: 0 0 0 0;
29514             }
29515          }
29516          part { name: "bg";
29517             clip_to: "disclip";
29518             mouse_events: 0;
29519             description { state: "default" 0.0;
29520                visible: 0;
29521                color: 255 255 255 0;
29522                rel1.offset: -3 -3;
29523                rel2.offset: 2 2;
29524                image { normal: "bt_sm_base1.png";
29525                   border: 6 6 6 6;
29526                   middle: SOLID;
29527                }
29528             }
29529             description { state: "selected" 0.0;
29530                inherit: "default" 0.0;
29531                visible: 1;
29532                color: 255 255 255 255;
29533             }
29534          }
29535          part { name: "image";
29536              type: IMAGE;
29537              mouse_events: 0;
29538              description { state: "default" 0.0;
29539                  aspect_preference: BOTH;
29540                  aspect: 1.0 1.0;
29541                  image.normal: "arrow_up.png";
29542                  rel2 {
29543                      to_y: "elm.text";
29544                      relative: 1.0 0.0;
29545                      offset: -1 -2;
29546                  }
29547              }
29548          }
29549          part { name: "elm.text";
29550             clip_to: "disclip";
29551             type: TEXT;
29552             effect: SOFT_SHADOW;
29553             mouse_events: 0;
29554             scale: 1;
29555             description { state: "default" 0.0;
29556                rel1 {
29557                   relative: 0.0  1.0;
29558                   offset: 20 -25;
29559                }
29560                rel2 {
29561                   relative: 1.0  1.0;
29562                   offset: -21 -3;
29563                }
29564                color: 0 0 0 255;
29565                color3: 0 0 0 0;
29566                text {
29567                   font: "Sans";
29568                   size: 10;
29569                   min: 0 1;
29570                   align: 0.5 0.0;
29571                   text_class: "grid_item";
29572                }
29573             }
29574             description { state: "selected" 0.0;
29575                inherit: "default" 0.0;
29576                color: 224 224 224 255;
29577                color3: 0 0 0 64;
29578             }
29579          }
29580          part { name: "fg1";
29581             clip_to: "disclip";
29582             mouse_events: 0;
29583             description { state: "default" 0.0;
29584                visible: 0;
29585                color: 255 255 255 0;
29586                rel1.offset: -3 -3;
29587                rel2 {
29588                    relative: 1.0 0.5;
29589                    offset: 2 -1;
29590                }
29591                image {
29592                   normal: "bt_sm_hilight.png";
29593                   border: 6 6 6 0;
29594                }
29595             }
29596             description { state: "selected" 0.0;
29597                inherit: "default" 0.0;
29598                visible: 1;
29599                color: 255 255 255 255;
29600             }
29601          }
29602          part { name: "fg2";
29603             clip_to: "disclip";
29604             mouse_events: 0;
29605             description { state: "default" 0.0;
29606                visible: 0;
29607                color: 255 255 255 0;
29608                rel1.offset: -3 -3;
29609                rel2.offset: 2 2;
29610                image {
29611                   normal: "bt_sm_shine.png";
29612                   border: 6 6 6 0;
29613                }
29614             }
29615             description { state: "selected" 0.0;
29616                inherit: "default" 0.0;
29617                visible: 1;
29618                color: 255 255 255 255;
29619             }
29620          }
29621          part { name: "disclip";
29622             type: RECT;
29623             description { state: "default" 0.0;
29624                rel1.to: "bg";
29625                rel2.to: "bg";
29626             }
29627             description { state: "disabled" 0.0;
29628                inherit: "default" 0.0;
29629                color: 255 255 255 64;
29630             }
29631          }
29632       }
29633       programs {
29634          program { name:    "go_active";
29635             signal:  "elm,state,selected";
29636             source:  "elm";
29637             action:  STATE_SET "selected" 0.0;
29638             target:  "bg";
29639             target:  "fg1";
29640             target:  "fg2";
29641             target:  "elm.text";
29642          }
29643          program { name:    "go_passive";
29644             signal:  "elm,state,unselected";
29645             source:  "elm";
29646             action:  STATE_SET "default" 0.0;
29647             target:  "bg";
29648             target:  "fg1";
29649             target:  "fg2";
29650             target:  "elm.text";
29651             transition: LINEAR 0.1;
29652          }
29653          program { name:    "go_disabled";
29654             signal:  "elm,state,disabled";
29655             source:  "elm";
29656             action:  STATE_SET "disabled" 0.0;
29657             target:  "disclip";
29658          }
29659          program { name:    "go_enabled";
29660             signal:  "elm,state,enabled";
29661             source:  "elm";
29662             action:  STATE_SET "default" 0.0;
29663             target:  "disclip";
29664          }
29665       }
29666    }
29667
29668    group { name: "elm/gengrid/item/album-preview/default";
29669       data.item: "labels" "elm.text";
29670       data.item: "icons" "elm.swallow.icon.1 elm.swallow.icon.2 elm.swallow.icon.3 elm.swallow.icon.4";
29671       data.item: "states" "have_files";
29672       images {
29673          image: "bt_sm_base1.png" COMP;
29674          image: "bt_sm_shine.png" COMP;
29675          image: "bt_sm_hilight.png" COMP;
29676          image: "icon_folder.png" COMP;
29677       }
29678       parts {
29679          part { name: "event";
29680             type: RECT;
29681             repeat_events: 1;
29682             description { state: "default" 0.0;
29683                color: 0 0 0 0;
29684             }
29685          }
29686          part { name: "bg";
29687             clip_to: "disclip";
29688             mouse_events: 0;
29689             description { state: "default" 0.0;
29690                visible: 0;
29691                color: 255 255 255 0;
29692                rel1.offset: -3 -3;
29693                rel2.offset: 2 2;
29694                image {
29695                   normal: "bt_sm_base1.png";
29696                   border: 6 6 6 6;
29697                   middle: SOLID;
29698                }
29699             }
29700             description { state: "selected" 0.0;
29701                inherit: "default" 0.0;
29702                visible: 1;
29703                color: 255 255 255 255;
29704             }
29705          }
29706          part { name: "image";
29707              type: IMAGE;
29708              mouse_events: 0;
29709              description { state: "default" 0.0;
29710                  aspect_preference: BOTH;
29711                  aspect: 1.0 1.0;
29712                  image.normal: "icon_folder.png";
29713                  rel2 {
29714                      to_y: "elm.text";
29715                      relative: 1.0 0.0;
29716                      offset: -1 -2;
29717                  }
29718              }
29719          }
29720          part { name: "have-files-clipper";
29721              type: RECT;
29722              description { state: "default" 0.0;
29723                  color: 255 255 255 0;
29724                  visible: 0;
29725              }
29726              description { state: "visible" 0.0;
29727                  inherit: "default" 0.0;
29728                  color: 255 255 255 255;
29729                  visible: 1;
29730              }
29731          }
29732          part { name: "icon_box_margin";
29733              type: RECT;
29734              mouse_events: 0;
29735              clip_to: "have-files-clipper";
29736              description { state: "default" 0.0;
29737                  color: 0 0 0 255;
29738                  rel1 {
29739                      to: "icon_box";
29740                      offset: -1 -1;
29741                  }
29742                  rel2 {
29743                      to: "icon_box";
29744                      offset: 0 0;
29745                  }
29746              }
29747          }
29748          part { name: "icon_box";
29749              type: RECT;
29750              mouse_events: 0;
29751              clip_to: "have-files-clipper";
29752              description { state: "default" 0.0;
29753                  color: 255 255 255 255;
29754                  align: 1.0 1.0;
29755                  min: 32 32;
29756                  rel1 {
29757                      relative: 0.25 0.25;
29758                      offset: 0 0;
29759                  }
29760                  rel2 {
29761                      relative: 1.0 0.0;
29762                      offset: -11 -4;
29763                      to_y: "elm.text";
29764                  }
29765              }
29766          }
29767          part { name: "elm.swallow.icon.1";
29768              type: SWALLOW;
29769              mouse_events: 0;
29770              clip_to: "have-files-clipper";
29771              description { state: "default" 0.0;
29772                rel1 {
29773                   relative: 0.0  0.0;
29774                   to: "icon_box";
29775                }
29776                rel2 {
29777                   relative: 0.5  0.5;
29778                   offset: -1 -1;
29779                   to: "icon_box";
29780                }
29781             }
29782          }
29783          part { name: "elm.swallow.icon.2";
29784              type: SWALLOW;
29785              mouse_events: 0;
29786              clip_to: "have-files-clipper";
29787              description { state: "default" 0.0;
29788                rel1 {
29789                   relative: 0.5  0.0;
29790                   to: "icon_box";
29791                }
29792                rel2 {
29793                   relative: 1.0  0.5;
29794                   offset: -1 -1;
29795                   to: "icon_box";
29796                }
29797             }
29798          }
29799          part { name: "elm.swallow.icon.3";
29800              type: SWALLOW;
29801              mouse_events: 0;
29802              clip_to: "have-files-clipper";
29803              description { state: "default" 0.0;
29804                rel1 {
29805                   relative: 0.0  0.5;
29806                   to: "icon_box";
29807                }
29808                rel2 {
29809                   relative: 0.5  1.0;
29810                   offset: -1 -1;
29811                   to: "icon_box";
29812                }
29813             }
29814          }
29815          part { name: "elm.swallow.icon.4";
29816              type: SWALLOW;
29817              mouse_events: 0;
29818              clip_to: "have-files-clipper";
29819              description { state: "default" 0.0;
29820                rel1 {
29821                   relative: 0.5  0.5;
29822                   to: "icon_box";
29823                }
29824                rel2 {
29825                   relative: 1.0  1.0;
29826                   offset: -1 -1;
29827                   to: "icon_box";
29828                }
29829             }
29830          }
29831          part { name: "elm.text";
29832             clip_to: "disclip";
29833             type: TEXT;
29834             effect: SOFT_SHADOW;
29835             mouse_events: 0;
29836             scale: 1;
29837             description { state: "default" 0.0;
29838                rel1 {
29839                   relative: 0.0  1.0;
29840                   offset: 20 -30;
29841                }
29842                rel2 {
29843                   relative: 1.0  1.0;
29844                   offset: -21 -15;
29845                }
29846                color: 0 0 0 255;
29847                color3: 0 0 0 0;
29848                text {
29849                   font: "Sans";
29850                   size: 10;
29851                   min: 0 1;
29852                   align: 0.5 0.0;
29853                   text_class: "grid_item";
29854                }
29855             }
29856             description { state: "selected" 0.0;
29857                 inherit: "default" 0.0;
29858                 color: 255 255 255 255;
29859             }
29860          }
29861          part { name: "fg1";
29862             clip_to: "disclip";
29863             mouse_events: 0;
29864             description { state: "default" 0.0;
29865                visible: 0;
29866                color: 255 255 255 0;
29867                rel1.offset: -3 -3;
29868                rel2 {
29869                    relative: 1.0 0.5;
29870                    offset: 2 -1;
29871                }
29872                image {
29873                   normal: "bt_sm_hilight.png";
29874                   border: 6 6 6 0;
29875                }
29876             }
29877             description { state: "selected" 0.0;
29878                inherit: "default" 0.0;
29879                visible: 1;
29880                color: 255 255 255 255;
29881             }
29882          }
29883          part { name: "fg2";
29884             clip_to: "disclip";
29885             mouse_events: 0;
29886             description { state: "default" 0.0;
29887                visible: 0;
29888                color: 255 255 255 0;
29889                rel1.offset: -3 -3;
29890                rel2.offset: 2 2;
29891                image {
29892                   normal: "bt_sm_shine.png";
29893                   border: 6 6 6 0;
29894                }
29895             }
29896             description { state: "selected" 0.0;
29897                inherit: "default" 0.0;
29898                visible: 1;
29899                color: 255 255 255 255;
29900             }
29901          }
29902          part { name: "disclip";
29903             type: RECT;
29904             description { state: "default" 0.0;
29905                rel1.to: "bg";
29906                rel2.to: "bg";
29907             }
29908             description { state: "disabled" 0.0;
29909                inherit: "default" 0.0;
29910                color: 255 255 255 64;
29911             }
29912          }
29913       }
29914       programs {
29915          program { name:    "go_active";
29916             signal:  "elm,state,selected";
29917             source:  "elm";
29918             action:  STATE_SET "selected" 0.0;
29919             target:  "bg";
29920             target:  "fg1";
29921             target:  "fg2";
29922             target:  "elm.text";
29923          }
29924          program { name:    "go_passive";
29925             signal:  "elm,state,unselected";
29926             source:  "elm";
29927             action:  STATE_SET "default" 0.0;
29928             target:  "bg";
29929             target:  "fg1";
29930             target:  "fg2";
29931             target:  "elm.text";
29932             transition: LINEAR 0.1;
29933          }
29934          program { name:    "go_disabled";
29935             signal:  "elm,state,disabled";
29936             source:  "elm";
29937             action:  STATE_SET "disabled" 0.0;
29938             target:  "disclip";
29939          }
29940          program { name:    "go_enabled";
29941             signal:  "elm,state,enabled";
29942             source:  "elm";
29943             action:  STATE_SET "default" 0.0;
29944             target:  "disclip";
29945          }
29946          program {
29947              signal: "elm,state,have_files,active";
29948              source: "elm";
29949              action: STATE_SET "visible" 0.0;
29950              target: "have-files-clipper";
29951          }
29952       }
29953    }
29954
29955    group { name: "elm/gengrid/item/thumb/default";
29956        data {
29957            item: "icons" "elm.swallow.icon";
29958            item: "labels" "elm.text";
29959        }
29960        images {
29961            image: "bt_sm_base1.png" COMP;
29962            image: "bt_sm_shine.png" COMP;
29963            image: "bt_sm_hilight.png" COMP;
29964            image: "thumb_shadow.png" COMP;
29965        }
29966        parts {
29967            part { name: "event";
29968                type: RECT;
29969                repeat_events: 1;
29970                description { state: "default" 0.0;
29971                    color: 0 0 0 0;
29972                }
29973            }
29974            part { name: "bg";
29975                mouse_events: 0;
29976                description { state: "default" 0.0;
29977                    visible: 0;
29978                    color: 255 255 255 0;
29979                    rel1.offset: -3 -3;
29980                    rel2.offset: 2 2;
29981                    image {
29982                        normal: "bt_sm_base1.png";
29983                        border: 6 6 6 6;
29984                        middle: SOLID;
29985                    }
29986                }
29987                description { state: "selected" 0.0;
29988                    inherit: "default" 0.0;
29989                    visible: 1;
29990                    color: 255 255 255 255;
29991                }
29992            }
29993            part { name: "border-shadow";
29994                type: IMAGE;
29995                mouse_events: 0;
29996                description { state: "default" 0.0;
29997                    rel1 {
29998                        to: "elm.swallow.icon";
29999                        offset: -18 -18;
30000                    }
30001                    rel2 {
30002                        to_x: "elm.swallow.icon";
30003                        to_y: "elm.text";
30004                        offset: 17 17;
30005                    }
30006                    image {
30007                        normal: "thumb_shadow.png";
30008                        border: 17 17 17 17;
30009                        middle: NONE;
30010                    }
30011                }
30012            }
30013            part { name: "border";
30014                type: RECT;
30015                mouse_events: 0;
30016                description { state: "default" 0.0;
30017                    rel1 {
30018                        to: "border-shadow";
30019                        offset: 16 16;
30020                    }
30021                    rel2 {
30022                        to: "border-shadow";
30023                        offset: -15 -15;
30024                    }
30025                }
30026            }
30027            part { name: "elm.swallow.icon";
30028                type: SWALLOW;
30029                mouse_events: 0;
30030                description { state: "default" 0.0;
30031                    aspect_preference: BOTH;
30032                    aspect: 1.0 1.0;
30033                    rel1.offset: 0 8;
30034                    rel2 {
30035                        to_y: "elm.text";
30036                        relative: 1.0 0.0;
30037                        offset: -1 -2;
30038                    }
30039                }
30040            }
30041            part { name: "elm.text";
30042                type: TEXT;
30043                effect: SOFT_SHADOW;
30044                mouse_events: 0;
30045                scale: 1;
30046                description { state: "default" 0.0;
30047                    color: 0 0 0 255;
30048                    color3: 0 0 0 0;
30049                    align: 0.5 1.0;
30050                    rel1 {
30051                        relative: 0.0 1.0;
30052                        offset: 20 -30;
30053                    }
30054                    rel2 {
30055                        relative: 1.0 1.0;
30056                        offset: -21 -15;
30057                    }
30058                    text {
30059                        font: "Sans";
30060                        size: 10;
30061                        min: 0 1;
30062                        align: 0.5 0.0;
30063                        text_class: "grid_item";
30064                    }
30065                }
30066            }
30067            part { name: "fg1";
30068                mouse_events: 0;
30069                description { state: "default" 0.0;
30070                    visible: 0;
30071                    color: 255 255 255 0;
30072                    rel1.offset: -3 -3;
30073                    rel2 {
30074                        relative: 1.0 0.5;
30075                        offset: 2 -1;
30076                    }
30077                    image {
30078                        normal: "bt_sm_hilight.png";
30079                        border: 6 6 6 0;
30080                    }
30081                }
30082                description { state: "selected" 0.0;
30083                    inherit: "default" 0.0;
30084                    visible: 1;
30085                    color: 255 255 255 255;
30086                }
30087            }
30088            part { name: "fg2";
30089                mouse_events: 0;
30090                description { state: "default" 0.0;
30091                    visible: 0;
30092                    color: 255 255 255 0;
30093                    rel1.offset: -3 -3;
30094                    rel2.offset: 2 2;
30095                    image {
30096                        image: "bt_sm_shine.png";
30097                        border: 6 6 6 0;
30098                    }
30099                }
30100                description { state: "selected" 0.0;
30101                    inherit: "default" 0.0;
30102                    visible: 1;
30103                    color: 255 255 255 255;
30104                }
30105            }
30106        }
30107        programs {
30108            program {
30109                signal: "elm,state,selected";
30110                source: "elm";
30111                action: STATE_SET "selected" 0.0;
30112                target: "bg";
30113                target: "fg1";
30114                target: "fg2";
30115            }
30116            program {
30117                signal: "elm,state,unselected";
30118                source: "elm";
30119                action:  STATE_SET "default" 0.0;
30120                target: "bg";
30121                target: "fg1";
30122                target: "fg2";
30123                transition: LINEAR 0.1;
30124            }
30125        }
30126    }
30127
30128 ///////////////////////////////////////////////////////////////////////////////
30129    group { name: "elm/photocam/base/default";
30130        script {
30131            public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
30132            public timer0(val) {
30133                new v;
30134                v = get_int(sbvis_v);
30135                if (v) {
30136                    v = get_int(sbalways_v);
30137                    if (!v) {
30138                        emit("do-hide-vbar", "");
30139                        set_int(sbvis_v, 0);
30140                    }
30141                }
30142                v = get_int(sbvis_h);
30143                if (v) {
30144                    v = get_int(sbalways_h);
30145                    if (!v) {
30146                        emit("do-hide-hbar", "");
30147                        set_int(sbvis_h, 0);
30148                    }
30149                }
30150                set_int(sbvis_timer, 0);
30151                return 0;
30152            }
30153        }
30154        images {
30155            image: "shelf_inset.png" COMP;
30156            image: "bt_sm_base2.png" COMP;
30157            image: "bt_sm_shine.png" COMP;
30158            image: "bt_sm_hilight.png" COMP;
30159            image: "busy-1.png" COMP;
30160            image: "busy-2.png" COMP;
30161            image: "busy-3.png" COMP;
30162            image: "busy-4.png" COMP;
30163            image: "busy-5.png" COMP;
30164            image: "busy-6.png" COMP;
30165            image: "busy-7.png" COMP;
30166            image: "busy-8.png" COMP;
30167            image: "busy-9.png" COMP;
30168        }
30169        parts {
30170            part { name: "bg";
30171                type: RECT;
30172                description { state: "default" 0.0;
30173                    rel1.offset: 1 1;
30174                    rel2.offset: -2 -2;
30175                    color: 255 255 255 0;
30176                }
30177            }
30178            part { name: "clipper";
30179                type: RECT;
30180                mouse_events: 0;
30181                description { state: "default" 0.0;
30182                    rel1.to: "bg";
30183                    rel2.to: "bg";
30184                }
30185            }
30186            part { name: "elm.swallow.content";
30187                clip_to: "clipper";
30188                type: SWALLOW;
30189                description { state: "default" 0.0;
30190                    rel1.offset: 1 1;
30191                    rel2.offset: -2 -2;
30192                }
30193            }
30194            part { name: "busy_clip";
30195                type: RECT;
30196                mouse_events: 0;
30197                description { state: "default" 0.0;
30198                    visible: 0;
30199                    color: 255 255 255 0;
30200                }
30201                description { state: "active" 0.0;
30202                    visible: 1;
30203                    color: 255 255 255 255;
30204                }
30205            }
30206            part { name: "busy";
30207                clip_to: "busy_clip";
30208                mouse_events: 0;
30209                description { state: "default" 0.0;
30210                    fixed: 1 1;
30211                    min: 32 32;
30212                    aspect: 1.0 1.0;
30213                    align: 1.0 1.0;
30214                    aspect_preference: BOTH;
30215                    rel1 {
30216                        relative: 0.9 0.9;
30217                        offset:   -9 -9;
30218                    }
30219                    rel2 {
30220                        relative: 0.9 0.9;
30221                        offset:   -9 -9;
30222                    }
30223                    image {
30224                        normal: "busy-9.png";
30225                        tween:  "busy-1.png";
30226                        tween:  "busy-2.png";
30227                        tween:  "busy-3.png";
30228                        tween:  "busy-4.png";
30229                        tween:  "busy-5.png";
30230                        tween:  "busy-6.png";
30231                        tween:  "busy-7.png";
30232                        tween:  "busy-8.png";
30233                    }
30234                }
30235            }
30236            part { name: "conf_over";
30237                mouse_events:  0;
30238                description { state: "default" 0.0;
30239                    rel1.offset: 0 0;
30240                    rel2.offset: -1 -1;
30241                    image {
30242                        normal: "shelf_inset.png";
30243                        border: 7 7 7 7;
30244                        middle: 0;
30245                    }
30246                    fill.smooth : 0;
30247                }
30248            }
30249            part { name: "sb_vbar_clip_master";
30250                type: RECT;
30251                mouse_events: 0;
30252                description { state: "default" 0.0;
30253                }
30254                description { state: "hidden" 0.0;
30255                    visible: 0;
30256                    color: 255 255 255 0;
30257                }
30258            }
30259            part { name: "sb_vbar_clip";
30260                clip_to: "sb_vbar_clip_master";
30261                type: RECT;
30262                mouse_events: 0;
30263                description { state: "default" 0.0;
30264                }
30265                description { state: "hidden" 0.0;
30266                    visible: 0;
30267                    color: 255 255 255 0;
30268                }
30269            }
30270            part { name: "sb_vbar";
30271                type: RECT;
30272                mouse_events: 0;
30273                description { state: "default" 0.0;
30274                    fixed: 1 1;
30275                    visible: 0;
30276                    min: 10 17;
30277                    align: 1.0 0.0;
30278                    rel1 {
30279                        relative: 1.0 0.0;
30280                        offset:   -2 0;
30281                    }
30282                    rel2 {
30283                        relative: 1.0 0.0;
30284                        offset:   -2 -1;
30285                        to_y:     "sb_hbar";
30286                    }
30287                }
30288            }
30289            part { name: "elm.dragable.vbar";
30290                clip_to: "sb_vbar_clip";
30291                mouse_events: 0;
30292                dragable {
30293                    x: 0 0 0;
30294                    y: 1 1 0;
30295                    confine: "sb_vbar";
30296                }
30297                description { state: "default" 0.0;
30298                    fixed: 1 1;
30299                    min: 10 17;
30300                    max: 10 99999;
30301                    rel1 {
30302                        relative: 0.5  0.5;
30303                        offset:   0    0;
30304                        to: "sb_vbar";
30305                    }
30306                    rel2 {
30307                        relative: 0.5  0.5;
30308                        offset:   0    0;
30309                        to: "sb_vbar";
30310                    }
30311                    image {
30312                        normal: "bt_sm_base2.png";
30313                        border: 6 6 6 6;
30314                        middle: SOLID;
30315                    }
30316                }
30317            }
30318            part { name: "sb_vbar_over1";
30319                clip_to: "sb_vbar_clip";
30320                mouse_events: 0;
30321                description { state: "default" 0.0;
30322                    rel1.to: "elm.dragable.vbar";
30323                    rel2.relative: 1.0 0.5;
30324                    rel2.to: "elm.dragable.vbar";
30325                    image {
30326                        normal: "bt_sm_hilight.png";
30327                        border: 6 6 6 0;
30328                    }
30329                }
30330            }
30331            part { name: "sb_vbar_over2";
30332                clip_to: "sb_vbar_clip";
30333                mouse_events: 0;
30334                description { state: "default" 0.0;
30335                    rel1.to: "elm.dragable.vbar";
30336                    rel2.to: "elm.dragable.vbar";
30337                    image {
30338                        normal: "bt_sm_shine.png";
30339                        border: 6 6 6 0;
30340                    }
30341                }
30342            }
30343
30344            part { name: "sb_hbar_clip_master";
30345                type: RECT;
30346                mouse_events: 0;
30347                description { state: "default" 0.0;
30348                }
30349                description { state: "hidden" 0.0;
30350                    visible: 0;
30351                    color: 255 255 255 0;
30352                }
30353            }
30354            part { name: "sb_hbar_clip";
30355                clip_to: "sb_hbar_clip_master";
30356                type: RECT;
30357                mouse_events: 0;
30358                description { state: "default" 0.0;
30359                }
30360                description { state: "hidden" 0.0;
30361                    visible: 0;
30362                    color: 255 255 255 0;
30363                }
30364            }
30365            part { name: "sb_hbar";
30366                type: RECT;
30367                mouse_events: 0;
30368                description { state: "default" 0.0;
30369                    fixed: 1 1;
30370                    visible: 0;
30371                    min: 17 10;
30372                    align: 0.0 1.0;
30373                    rel1 {
30374                        relative: 0.0 1.0;
30375                        offset:   0 -2;
30376                    }
30377                    rel2 {
30378                        relative: 0.0 1.0;
30379                        offset:   -1 -2;
30380                        to_x:     "sb_vbar";
30381                    }
30382                }
30383            }
30384            part { name: "elm.dragable.hbar";
30385                clip_to: "sb_hbar_clip";
30386                mouse_events: 0;
30387                dragable {
30388                    x: 1 1 0;
30389                    y: 0 0 0;
30390                    confine: "sb_hbar";
30391                }
30392                description { state: "default" 0.0;
30393                    fixed: 1 1;
30394                    min: 17 10;
30395                    max: 99999 10;
30396                    rel1 {
30397                        relative: 0.5  0.5;
30398                        offset:   0    0;
30399                        to: "sb_hbar";
30400                    }
30401                    rel2 {
30402                        relative: 0.5  0.5;
30403                        offset:   0    0;
30404                        to: "sb_hbar";
30405                    }
30406                    image {
30407                        normal: "bt_sm_base2.png";
30408                        border: 4 4 4 4;
30409                        middle: SOLID;
30410                    }
30411                }
30412            }
30413            part { name: "sb_hbar_over1";
30414                clip_to: "sb_hbar_clip";
30415                mouse_events: 0;
30416                description { state: "default" 0.0;
30417                    rel1.to: "elm.dragable.hbar";
30418                    rel2.relative: 1.0 0.5;
30419                    rel2.to: "elm.dragable.hbar";
30420                    image {
30421                        normal: "bt_sm_hilight.png";
30422                        border: 4 4 4 0;
30423                    }
30424                }
30425            }
30426            part { name: "sb_hbar_over2";
30427                clip_to: "sb_hbar_clip";
30428                mouse_events: 0;
30429                description { state: "default" 0.0;
30430                    rel1.to: "elm.dragable.hbar";
30431                    rel2.to: "elm.dragable.hbar";
30432                    image {
30433                        normal: "bt_sm_shine.png";
30434                        border: 4 4 4 0;
30435                    }
30436                }
30437            }
30438        }
30439        programs {
30440            program { name: "load";
30441                signal: "load";
30442                source: "";
30443                script {
30444                    set_state(PART:"sb_hbar_clip", "hidden", 0.0);
30445                    set_state(PART:"sb_vbar_clip", "hidden", 0.0);
30446                    set_int(sbvis_h, 0);
30447                    set_int(sbvis_v, 0);
30448                    set_int(sbalways_v, 0);
30449                    set_int(sbalways_h, 0);
30450                    set_int(sbvis_timer, 0);
30451                }
30452            }
30453
30454            program { name: "vbar_show";
30455                signal: "elm,action,show,vbar";
30456                source: "elm";
30457                action:  STATE_SET "default" 0.0;
30458                target: "sb_vbar_clip_master";
30459            }
30460            program { name: "vbar_hide";
30461                signal: "elm,action,hide,vbar";
30462                source: "elm";
30463                action:  STATE_SET "hidden" 0.0;
30464                target: "sb_vbar_clip_master";
30465            }
30466            program { name: "vbar_show_always";
30467                signal: "elm,action,show_always,vbar";
30468                source: "elm";
30469                script {
30470                    new v;
30471                    v = get_int(sbvis_v);
30472                    v |= get_int(sbalways_v);
30473                    if (!v) {
30474                        set_int(sbalways_v, 1);
30475                        emit("do-show-vbar", "");
30476                        set_int(sbvis_v, 1);
30477                    }
30478                }
30479            }
30480            program { name: "vbar_show_notalways";
30481                signal: "elm,action,show_notalways,vbar";
30482                source: "elm";
30483                script {
30484                    new v;
30485                    v = get_int(sbalways_v);
30486                    if (v) {
30487                        set_int(sbalways_v, 0);
30488                        v = get_int(sbvis_v);
30489                        if (!v) {
30490                            emit("do-hide-vbar", "");
30491                            set_int(sbvis_v, 0);
30492                        }
30493                    }
30494                }
30495            }
30496            program { name: "sb_vbar_show";
30497                signal: "do-show-vbar";
30498                source: "";
30499                action:  STATE_SET "default" 0.0;
30500                transition: LINEAR 0.5;
30501                target: "sb_vbar_clip";
30502            }
30503            program { name: "sb_vbar_hide";
30504                signal: "do-hide-vbar";
30505                source: "";
30506                action:  STATE_SET "hidden" 0.0;
30507                transition: LINEAR 0.5;
30508                target: "sb_vbar_clip";
30509            }
30510
30511            program { name: "hbar_show";
30512                signal: "elm,action,show,hbar";
30513                source: "elm";
30514                action:  STATE_SET "default" 0.0;
30515                target: "sb_hbar_clip_master";
30516            }
30517            program { name: "hbar_hide";
30518                signal: "elm,action,hide,hbar";
30519                source: "elm";
30520                action:  STATE_SET "hidden" 0.0;
30521                target: "sb_hbar_clip_master";
30522            }
30523            program { name: "hbar_show_always";
30524                signal: "elm,action,show_always,hbar";
30525                source: "elm";
30526                script {
30527                    new v;
30528                    v = get_int(sbvis_h);
30529                    v |= get_int(sbalways_h);
30530                    if (!v) {
30531                        set_int(sbalways_h, 1);
30532                        emit("do-show-hbar", "");
30533                        set_int(sbvis_h, 1);
30534                    }
30535                }
30536            }
30537            program { name: "hbar_show_notalways";
30538                signal: "elm,action,show_notalways,hbar";
30539                source: "elm";
30540                script {
30541                    new v;
30542                    v = get_int(sbalways_h);
30543                    if (v) {
30544                        set_int(sbalways_h, 0);
30545                        v = get_int(sbvis_h);
30546                        if (!v) {
30547                            emit("do-hide-hbar", "");
30548                            set_int(sbvis_h, 0);
30549                        }
30550                    }
30551                }
30552            }
30553            program { name: "sb_hbar_show";
30554                signal: "do-show-hbar";
30555                source: "";
30556                action:  STATE_SET "default" 0.0;
30557                transition: LINEAR 0.5;
30558                target: "sb_hbar_clip";
30559            }
30560            program { name: "sb_hbar_hide";
30561                signal: "do-hide-hbar";
30562                source: "";
30563                action:  STATE_SET "hidden" 0.0;
30564                transition: LINEAR 0.5;
30565                target: "sb_hbar_clip";
30566            }
30567
30568            program { name: "scroll";
30569                signal: "elm,action,scroll";
30570                source: "elm";
30571                script {
30572                    new v;
30573                    v = get_int(sbvis_v);
30574                    v |= get_int(sbalways_v);
30575                    if (!v) {
30576                        emit("do-show-vbar", "");
30577                        set_int(sbvis_v, 1);
30578                    }
30579                    v = get_int(sbvis_h);
30580                    v |= get_int(sbalways_h);
30581                    if (!v) {
30582                        emit("do-show-hbar", "");
30583                        set_int(sbvis_h, 1);
30584                    }
30585                    v = get_int(sbvis_timer);
30586                    if (v > 0) cancel_timer(v);
30587                    v = timer(1.0, "timer0", 0);
30588                    set_int(sbvis_timer, v);
30589                }
30590            }
30591            program { name: "go1";
30592                signal: "elm,state,busy,start";
30593                source: "elm";
30594                action: STATE_SET "active" 0.0;
30595                transition: SINUSOIDAL 1.0;
30596                target:  "busy_clip";
30597            }
30598            program { name: "go2";
30599                signal: "elm,state,busy,start";
30600                source: "elm";
30601                action: STATE_SET "default" 0.0;
30602                transition: LINEAR 0.5;
30603                target: "busy";
30604                after:  "go2";
30605            }
30606            program { name: "stop1";
30607                signal: "elm,state,busy,stop";
30608                source: "elm";
30609                action: STATE_SET "default" 0.0;
30610                transition: SINUSOIDAL 1.0;
30611                target: "busy_clip";
30612                after: "stop2";
30613            }
30614          program { name: "stop2";
30615             action: ACTION_STOP;
30616             target: "go2";
30617          }
30618       }
30619    }
30620
30621    ///////////////////////////////////////////////////////////////////////////////
30622    group { name: "elm/map/base/default";
30623        script {
30624            public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
30625            public timer0(val) {
30626                new v;
30627                v = get_int(sbvis_v);
30628                if (v) {
30629                    v = get_int(sbalways_v);
30630                    if (!v) {
30631                        emit("do-hide-vbar", "");
30632                        set_int(sbvis_v, 0);
30633                    }
30634                }
30635                v = get_int(sbvis_h);
30636                if (v) {
30637                    v = get_int(sbalways_h);
30638                    if (!v) {
30639                        emit("do-hide-hbar", "");
30640                        set_int(sbvis_h, 0);
30641                    }
30642                }
30643                set_int(sbvis_timer, 0);
30644                return 0;
30645            }
30646        }
30647        images {
30648            image: "shelf_inset.png" COMP;
30649            image: "bt_sm_base2.png" COMP;
30650            image: "bt_sm_shine.png" COMP;
30651            image: "bt_sm_hilight.png" COMP;
30652            image: "busy-1.png" COMP;
30653            image: "busy-2.png" COMP;
30654            image: "busy-3.png" COMP;
30655            image: "busy-4.png" COMP;
30656            image: "busy-5.png" COMP;
30657            image: "busy-6.png" COMP;
30658            image: "busy-7.png" COMP;
30659            image: "busy-8.png" COMP;
30660            image: "busy-9.png" COMP;
30661        }
30662        parts {
30663            part { name: "bg";
30664                type: RECT;
30665                description { state: "default" 0.0;
30666                    rel1.offset: 1 1;
30667                    rel2.offset: -2 -2;
30668                    color: 255 255 255 0;
30669                }
30670            }
30671            part { name: "clipper";
30672                type: RECT;
30673                mouse_events: 0;
30674                description { state: "default" 0.0;
30675                    rel1.to: "bg";
30676                    rel2.to: "bg";
30677                }
30678            }
30679            part { name: "elm.swallow.content";
30680                clip_to: "clipper";
30681                type: SWALLOW;
30682                description { state: "default" 0.0;
30683                    rel1.offset: 1 1;
30684                    rel2.offset: -2 -2;
30685                }
30686            }
30687            part { name: "busy_clip";
30688                type: RECT;
30689                mouse_events: 0;
30690                description { state: "default" 0.0;
30691                    visible: 0;
30692                    color: 255 255 255 0;
30693                }
30694                description { state: "active" 0.0;
30695                    visible: 1;
30696                    color: 255 255 255 255;
30697                }
30698            }
30699            part { name: "busy";
30700                clip_to: "busy_clip";
30701                mouse_events: 0;
30702                description { state: "default" 0.0;
30703                    fixed: 1 1;
30704                    min: 32 32;
30705                    aspect: 1.0 1.0;
30706                    align: 1.0 1.0;
30707                    aspect_preference: BOTH;
30708                    rel1 {
30709                        relative: 0.9 0.9;
30710                        offset:   -9 -9;
30711                    }
30712                    rel2 {
30713                        relative: 0.9 0.9;
30714                        offset:   -9 -9;
30715                    }
30716                    image {
30717                        normal: "busy-9.png";
30718                        tween:  "busy-1.png";
30719                        tween:  "busy-2.png";
30720                        tween:  "busy-3.png";
30721                        tween:  "busy-4.png";
30722                        tween:  "busy-5.png";
30723                        tween:  "busy-6.png";
30724                        tween:  "busy-7.png";
30725                        tween:  "busy-8.png";
30726                    }
30727                }
30728            }
30729            part { name: "conf_over";
30730                mouse_events:  0;
30731                description { state: "default" 0.0;
30732                    rel1.offset: 0 0;
30733                    rel2.offset: -1 -1;
30734                    image {
30735                        normal: "shelf_inset.png";
30736                        border: 7 7 7 7;
30737                        middle: 0;
30738                    }
30739                    fill.smooth : 0;
30740                }
30741            }
30742            part { name: "sb_vbar_clip_master";
30743                type: RECT;
30744                mouse_events: 0;
30745                description { state: "default" 0.0;
30746                }
30747                description { state: "hidden" 0.0;
30748                    visible: 0;
30749                    color: 255 255 255 0;
30750                }
30751            }
30752            part { name: "sb_vbar_clip";
30753                clip_to: "sb_vbar_clip_master";
30754                type: RECT;
30755                mouse_events: 0;
30756                description { state: "default" 0.0;
30757                }
30758                description { state: "hidden" 0.0;
30759                    visible: 0;
30760                    color: 255 255 255 0;
30761                }
30762            }
30763            part { name: "sb_vbar";
30764                type: RECT;
30765                mouse_events: 0;
30766                description { state: "default" 0.0;
30767                    fixed: 1 1;
30768                    visible: 0;
30769                    min: 10 17;
30770                    align: 1.0 0.0;
30771                    rel1 {
30772                        relative: 1.0 0.0;
30773                        offset:   -2 0;
30774                    }
30775                    rel2 {
30776                        relative: 1.0 0.0;
30777                        offset:   -2 -1;
30778                        to_y:     "sb_hbar";
30779                    }
30780                }
30781            }
30782            part { name: "elm.dragable.vbar";
30783                clip_to: "sb_vbar_clip";
30784                mouse_events: 0;
30785                dragable {
30786                    x: 0 0 0;
30787                    y: 1 1 0;
30788                    confine: "sb_vbar";
30789                }
30790                description { state: "default" 0.0;
30791                    fixed: 1 1;
30792                    min: 10 17;
30793                    max: 10 99999;
30794                    rel1 {
30795                        relative: 0.5  0.5;
30796                        offset:   0    0;
30797                        to: "sb_vbar";
30798                    }
30799                    rel2 {
30800                        relative: 0.5  0.5;
30801                        offset:   0    0;
30802                        to: "sb_vbar";
30803                    }
30804                    image {
30805                        normal: "bt_sm_base2.png";
30806                        border: 6 6 6 6;
30807                        middle: SOLID;
30808                    }
30809                }
30810            }
30811            part { name: "sb_vbar_over1";
30812                clip_to: "sb_vbar_clip";
30813                mouse_events: 0;
30814                description { state: "default" 0.0;
30815                    rel1.to: "elm.dragable.vbar";
30816                    rel2.relative: 1.0 0.5;
30817                    rel2.to: "elm.dragable.vbar";
30818                    image {
30819                        normal: "bt_sm_hilight.png";
30820                        border: 6 6 6 0;
30821                    }
30822                }
30823            }
30824            part { name: "sb_vbar_over2";
30825                clip_to: "sb_vbar_clip";
30826                mouse_events: 0;
30827                description { state: "default" 0.0;
30828                    rel1.to: "elm.dragable.vbar";
30829                    rel2.to: "elm.dragable.vbar";
30830                    image {
30831                        normal: "bt_sm_shine.png";
30832                        border: 6 6 6 0;
30833                    }
30834                }
30835            }
30836
30837            part { name: "sb_hbar_clip_master";
30838                type: RECT;
30839                mouse_events: 0;
30840                description { state: "default" 0.0;
30841                }
30842                description { state: "hidden" 0.0;
30843                    visible: 0;
30844                    color: 255 255 255 0;
30845                }
30846            }
30847            part { name: "sb_hbar_clip";
30848                clip_to: "sb_hbar_clip_master";
30849                type: RECT;
30850                mouse_events: 0;
30851                description { state: "default" 0.0;
30852                }
30853                description { state: "hidden" 0.0;
30854                    visible: 0;
30855                    color: 255 255 255 0;
30856                }
30857            }
30858            part { name: "sb_hbar";
30859                type: RECT;
30860                mouse_events: 0;
30861                description { state: "default" 0.0;
30862                    fixed: 1 1;
30863                    visible: 0;
30864                    min: 17 10;
30865                    align: 0.0 1.0;
30866                    rel1 {
30867                        relative: 0.0 1.0;
30868                        offset:   0 -2;
30869                    }
30870                    rel2 {
30871                        relative: 0.0 1.0;
30872                        offset:   -1 -2;
30873                        to_x:     "sb_vbar";
30874                    }
30875                }
30876            }
30877            part { name: "elm.dragable.hbar";
30878                clip_to: "sb_hbar_clip";
30879                mouse_events: 0;
30880                dragable {
30881                    x: 1 1 0;
30882                    y: 0 0 0;
30883                    confine: "sb_hbar";
30884                }
30885                description { state: "default" 0.0;
30886                    fixed: 1 1;
30887                    min: 17 10;
30888                    max: 99999 10;
30889                    rel1 {
30890                        relative: 0.5  0.5;
30891                        offset:   0    0;
30892                        to: "sb_hbar";
30893                    }
30894                    rel2 {
30895                        relative: 0.5  0.5;
30896                        offset:   0    0;
30897                        to: "sb_hbar";
30898                    }
30899                    image {
30900                        normal: "bt_sm_base2.png";
30901                        border: 4 4 4 4;
30902                        middle: SOLID;
30903                    }
30904                }
30905            }
30906            part { name: "sb_hbar_over1";
30907                clip_to: "sb_hbar_clip";
30908                mouse_events: 0;
30909                description { state: "default" 0.0;
30910                    rel1.to: "elm.dragable.hbar";
30911                    rel2.relative: 1.0 0.5;
30912                    rel2.to: "elm.dragable.hbar";
30913                    image {
30914                        normal: "bt_sm_hilight.png";
30915                        border: 4 4 4 0;
30916                    }
30917                }
30918            }
30919            part { name: "sb_hbar_over2";
30920                clip_to: "sb_hbar_clip";
30921                mouse_events: 0;
30922                description { state: "default" 0.0;
30923                    rel1.to: "elm.dragable.hbar";
30924                    rel2.to: "elm.dragable.hbar";
30925                    image {
30926                        normal: "bt_sm_shine.png";
30927                        border: 4 4 4 0;
30928                    }
30929                }
30930            }
30931        }
30932        programs {
30933            program { name: "load";
30934                signal: "load";
30935                source: "";
30936                script {
30937                    set_state(PART:"sb_hbar_clip", "hidden", 0.0);
30938                    set_state(PART:"sb_vbar_clip", "hidden", 0.0);
30939                    set_int(sbvis_h, 0);
30940                    set_int(sbvis_v, 0);
30941                    set_int(sbalways_v, 0);
30942                    set_int(sbalways_h, 0);
30943                    set_int(sbvis_timer, 0);
30944                }
30945            }
30946
30947            program { name: "vbar_show";
30948                signal: "elm,action,show,vbar";
30949                source: "elm";
30950                action:  STATE_SET "default" 0.0;
30951                target: "sb_vbar_clip_master";
30952            }
30953            program { name: "vbar_hide";
30954                signal: "elm,action,hide,vbar";
30955                source: "elm";
30956                action:  STATE_SET "hidden" 0.0;
30957                target: "sb_vbar_clip_master";
30958            }
30959            program { name: "vbar_show_always";
30960                signal: "elm,action,show_always,vbar";
30961                source: "elm";
30962                script {
30963                    new v;
30964                    v = get_int(sbvis_v);
30965                    v |= get_int(sbalways_v);
30966                    if (!v) {
30967                        set_int(sbalways_v, 1);
30968                        emit("do-show-vbar", "");
30969                        set_int(sbvis_v, 1);
30970                    }
30971                }
30972            }
30973            program { name: "vbar_show_notalways";
30974                signal: "elm,action,show_notalways,vbar";
30975                source: "elm";
30976                script {
30977                    new v;
30978                    v = get_int(sbalways_v);
30979                    if (v) {
30980                        set_int(sbalways_v, 0);
30981                        v = get_int(sbvis_v);
30982                        if (!v) {
30983                            emit("do-hide-vbar", "");
30984                            set_int(sbvis_v, 0);
30985                        }
30986                    }
30987                }
30988            }
30989            program { name: "sb_vbar_show";
30990                signal: "do-show-vbar";
30991                source: "";
30992                action:  STATE_SET "default" 0.0;
30993                transition: LINEAR 0.5;
30994                target: "sb_vbar_clip";
30995            }
30996            program { name: "sb_vbar_hide";
30997                signal: "do-hide-vbar";
30998                source: "";
30999                action:  STATE_SET "hidden" 0.0;
31000                transition: LINEAR 0.5;
31001                target: "sb_vbar_clip";
31002            }
31003
31004            program { name: "hbar_show";
31005                signal: "elm,action,show,hbar";
31006                source: "elm";
31007                action:  STATE_SET "default" 0.0;
31008                target: "sb_hbar_clip_master";
31009            }
31010            program { name: "hbar_hide";
31011                signal: "elm,action,hide,hbar";
31012                source: "elm";
31013                action:  STATE_SET "hidden" 0.0;
31014                target: "sb_hbar_clip_master";
31015            }
31016            program { name: "hbar_show_always";
31017                signal: "elm,action,show_always,hbar";
31018                source: "elm";
31019                script {
31020                    new v;
31021                    v = get_int(sbvis_h);
31022                    v |= get_int(sbalways_h);
31023                    if (!v) {
31024                        set_int(sbalways_h, 1);
31025                        emit("do-show-hbar", "");
31026                        set_int(sbvis_h, 1);
31027                    }
31028                }
31029            }
31030            program { name: "hbar_show_notalways";
31031                signal: "elm,action,show_notalways,hbar";
31032                source: "elm";
31033                script {
31034                    new v;
31035                    v = get_int(sbalways_h);
31036                    if (v) {
31037                        set_int(sbalways_h, 0);
31038                        v = get_int(sbvis_h);
31039                        if (!v) {
31040                            emit("do-hide-hbar", "");
31041                            set_int(sbvis_h, 0);
31042                        }
31043                    }
31044                }
31045            }
31046            program { name: "sb_hbar_show";
31047                signal: "do-show-hbar";
31048                source: "";
31049                action:  STATE_SET "default" 0.0;
31050                transition: LINEAR 0.5;
31051                target: "sb_hbar_clip";
31052            }
31053            program { name: "sb_hbar_hide";
31054                signal: "do-hide-hbar";
31055                source: "";
31056                action:  STATE_SET "hidden" 0.0;
31057                transition: LINEAR 0.5;
31058                target: "sb_hbar_clip";
31059            }
31060
31061            program { name: "scroll";
31062                signal: "elm,action,scroll";
31063                source: "elm";
31064                script {
31065                    new v;
31066                    v = get_int(sbvis_v);
31067                    v |= get_int(sbalways_v);
31068                    if (!v) {
31069                        emit("do-show-vbar", "");
31070                        set_int(sbvis_v, 1);
31071                    }
31072                    v = get_int(sbvis_h);
31073                    v |= get_int(sbalways_h);
31074                    if (!v) {
31075                        emit("do-show-hbar", "");
31076                        set_int(sbvis_h, 1);
31077                    }
31078                    v = get_int(sbvis_timer);
31079                    if (v > 0) cancel_timer(v);
31080                    v = timer(1.0, "timer0", 0);
31081                    set_int(sbvis_timer, v);
31082                }
31083            }
31084            program { name: "go1";
31085                signal: "elm,state,busy,start";
31086                source: "elm";
31087                action: STATE_SET "active" 0.0;
31088                transition: SINUSOIDAL 1.0;
31089                target:  "busy_clip";
31090            }
31091            program { name: "go2";
31092                signal: "elm,state,busy,start";
31093                source: "elm";
31094                action: STATE_SET "default" 0.0;
31095                transition: LINEAR 0.5;
31096                target: "busy";
31097                after:  "go2";
31098            }
31099            program { name: "stop1";
31100                signal: "elm,state,busy,stop";
31101                source: "elm";
31102                action: STATE_SET "default" 0.0;
31103                transition: SINUSOIDAL 1.0;
31104                target: "busy_clip";
31105                after: "stop2";
31106            }
31107          program { name: "stop2";
31108             action: ACTION_STOP;
31109             target: "go2";
31110          }
31111       }
31112    }
31113    group { name: "elm/map/marker/radio/default";
31114         data {
31115             item: size_w 24;
31116             item: size_h 24;
31117             item: size_max_w 58;
31118             item: size_max_h 58;
31119         }
31120         images {
31121                 image: "map_item.png" COMP;
31122         }
31123         parts {
31124             part { name: "whole";
31125                 description { state: "default" 0.0;
31126                 }
31127             }
31128             part { name: "base";
31129                 ignore_flags: ON_HOLD;
31130                 description { state: "default" 0.0;
31131                     image.normal: "map_item.png";
31132                 }
31133             }
31134             part { name: "elm.icon";
31135                 type: SWALLOW;
31136                 clip_to: "whole";
31137                 mouse_events:  0;
31138                 description { state: "default" 0.0;
31139                     rel1.relative: 0.27 0.27;
31140                     rel2.relative: 0.73 0.73;
31141                 }
31142             }
31143             part { name: "elm.text";
31144                 type:          TEXT;
31145                 effect:        SOFT_SHADOW;
31146                 mouse_events:  0;
31147                 scale: 1;
31148                 description { state: "default" 0.0;
31149                     align:    0.5 0.5;
31150                     color: 224 224 224 255;
31151                     color3: 0 0 0 64;
31152                     rel1.relative: 0.28 0.25;
31153                     rel2.relative: 0.75 0.75;
31154                     text {
31155                         font:     "Sans,Edje-Vera";
31156                         size:     10;
31157                         min:      0 0;
31158                         align:    0.5 0.5;
31159                     }
31160                 }
31161             }
31162        }
31163        programs {
31164             program { name: "open";
31165                 signal: "mouse,clicked,1";
31166                 source: "base";
31167                 action: SIGNAL_EMIT "open" "elm";
31168             }
31169             program { name: "bringin";
31170                 signal: "mouse,down,1,double";
31171                 source: "base";
31172                 action: SIGNAL_EMIT "bringin" "elm";
31173             }
31174        }
31175    }
31176    group { name: "elm/map/marker/radio2/default";
31177         data {
31178             item: size_w 24;
31179             item: size_h 24;
31180             item: size_max_w 58;
31181             item: size_max_h 58;
31182         }
31183         images {
31184                 image: "map_item_2.png" COMP;
31185         }
31186         parts {
31187             part { name: "base";
31188                 ignore_flags: ON_HOLD;
31189                 description { state: "default" 0.0;
31190                     image.normal: "map_item_2.png";
31191                 }
31192             }
31193             part { name: "elm.text";
31194                 type:          TEXT;
31195                 effect:        SOFT_SHADOW;
31196                 mouse_events:  0;
31197                 scale: 1;
31198                 description { state: "default" 0.0;
31199                     align:    0.5 0.5;
31200                     color: 224 224 224 255;
31201                     color3: 0 0 0 64;
31202                     rel1.relative: 0.28 0.25;
31203                     rel2.relative: 0.75 0.75;
31204                     text {
31205                         font:     "Sans,Edje-Vera";
31206                         size:     10;
31207                         min:      0 0;
31208                         align:    0.5 0.5;
31209                     }
31210                 }
31211             }
31212        }
31213        programs {
31214             program { name: "open";
31215                 signal: "mouse,clicked,1";
31216                 source: "base";
31217                 action: SIGNAL_EMIT "open" "elm";
31218             }
31219             program { name: "bringin";
31220                 signal: "mouse,down,1,double";
31221                 source: "base";
31222                 action: SIGNAL_EMIT "bringin" "elm";
31223             }
31224        }
31225    }
31226    group { name: "elm/map/marker/empty/default";
31227         data {
31228             item: size_w 22;
31229             item: size_h 22;
31230             item: size_max_w 64;
31231             item: size_max_h 64;
31232         }
31233         parts {
31234             part { name: "whole";
31235                 description { state: "default" 0.0;
31236                 }
31237             }
31238             part { name: "base";
31239                 ignore_flags: ON_HOLD;
31240                 description { state: "default" 0.0;
31241                 }
31242             }
31243             part { name: "elm.icon";
31244                 type: SWALLOW;
31245                 clip_to: "whole";
31246                 mouse_events:  0;
31247                 description { state: "default" 0.0;
31248                 }
31249             }
31250             part { name: "elm.text";
31251                 type:          TEXT;
31252                 effect:        SOFT_SHADOW;
31253                 mouse_events:  0;
31254                 scale: 1;
31255                 description { state: "default" 0.0;
31256                     align:    0.5 0.5;
31257                     color: 224 224 224 255;
31258                     color3: 0 0 0 64;
31259                     rel1.relative: 0.28 0.25;
31260                     rel2.relative: 0.75 0.75;
31261                     text {
31262                         font:     "Sans,Edje-Vera";
31263                         size:     10;
31264                         min:      0 0;
31265                         align:    0.5 0.5;
31266                     }
31267                 }
31268             }
31269        }
31270        programs {
31271             program { name: "open";
31272                 signal: "mouse,clicked,1";
31273                 source: "base";
31274                 action: SIGNAL_EMIT "open" "elm";
31275             }
31276             program { name: "bringin";
31277                 signal: "mouse,down,1,double";
31278                 source: "base";
31279                 action: SIGNAL_EMIT "bringin" "elm";
31280             }
31281        }
31282    }
31283    group { name: "elm/map/marker_bubble/default";
31284     images {
31285       image: "bubble.png" COMP;
31286       image: "bubble_shine.png" COMP;
31287     }
31288     data {
31289             item: size_w 400;
31290             item: size_h 100;
31291         }
31292     parts {
31293     part { name: "clipper";
31294         mouse_events:  1;
31295         description { state: "default" 0.0;
31296           color: 255 255 255 0;
31297         }
31298         description { state: "show" 0.0;
31299             inherit: "default" 0.0;
31300             color: 255 255 255 255;
31301         }
31302       }
31303      part { name: "base0";
31304         mouse_events:  0;
31305         clip_to: "clipper";
31306         description { state: "default" 0.0;
31307           image {
31308             normal: "bubble.png";
31309             border: 11 36 10 19;
31310           }
31311           image.middle: SOLID;
31312           fill.smooth: 0;
31313         }
31314         description { state: "rtl" 0.0;
31315            inherit: "default" 0.0;
31316            image {
31317               normal: "bubble_4.png";
31318               border: 11 36 18 9;
31319            }
31320         }
31321       }
31322       part { name: "elm.swallow.content";
31323         type: SWALLOW;
31324         clip_to: "clipper";
31325         description { state: "default" 0.0;
31326             align: 0.5 0.5;
31327           rel1 {
31328             offset: 9 8;
31329           }
31330           rel2 {
31331             offset: -10 -17;
31332           }
31333         }
31334       }
31335       part { name: "shine";
31336         mouse_events:  0;
31337         clip_to: "clipper";
31338         description { state:    "default" 0.0;
31339           rel1 {
31340             to: "base0";
31341           }
31342           rel2 {
31343             to: "base0";
31344             relative: 1.0 0.5;
31345           }
31346           image {
31347             normal: "bubble_shine.png";
31348             border: 5 5 5 0;
31349           }
31350           fill.smooth: 0;
31351         }
31352         }
31353     }
31354     programs {
31355         program { name: "show";
31356             signal: "show";
31357             action: STATE_SET "show" 0.0;
31358             target: "clipper";
31359             transition: ACCELERATE 0.5;
31360         }
31361     }
31362   }
31363
31364 /////////////////////////////////////////////////////////////////////////////
31365 // PANES
31366 /////////////////////////////////////////////////////////////////////////////
31367   group {
31368      name: "elm/panes/vertical/default";
31369       images {
31370          image: "bt_base1.png" COMP;
31371          image: "bt_base2.png" COMP;
31372          image: "bt_hilight.png" COMP;
31373          image: "bt_shine.png" COMP;
31374          image: "bt_glow.png" COMP;
31375          image: "bt_dis_base.png" COMP;
31376          image: "bt_dis_hilight.png" COMP;
31377          image: "arrow_right.png" COMP;
31378          image: "arrow_left.png" COMP;
31379       }
31380      parts
31381        {
31382           part
31383             {
31384                name: "whole";
31385                type: RECT;
31386                mouse_events: 0;
31387                description
31388                  {
31389                     state: "default" 0.0;
31390                     visible: 0;
31391                  }
31392             }
31393
31394          //2 contents
31395           part
31396             {
31397                name: "whole_left";
31398                type: RECT;
31399                mouse_events: 0;
31400                description
31401                  {
31402                     state: "default" 0.0;
31403                     rel2.to_x: "elm.bar";
31404                     rel2.relative: 0.0 1.0;
31405                     visible: 1;
31406                  }
31407             }
31408           part
31409             {
31410                name: "elm.swallow.left";
31411                type: SWALLOW;
31412                clip_to: "whole_left";
31413                description
31414                  {
31415                     state: "default" 0.0;
31416                     rel1.to: "whole_left";
31417                     rel2.to: "whole_left";
31418                  }
31419             }
31420
31421             part
31422             {
31423                name: "whole_right";
31424                type: RECT;
31425                mouse_events: 0;
31426                description
31427                  {
31428                     state: "default" 0.0;
31429                     rel1.to_x: "elm.bar";
31430                     rel1.relative: 1.0 0.0;
31431                     visible: 1;
31432                  }
31433             }
31434           part
31435             {
31436                name: "elm.swallow.right";
31437                type: SWALLOW;
31438                clip_to: "whole_right";
31439                description
31440                  {
31441                     state: "default" 0.0;
31442                     rel1.to: "whole_right";
31443                     rel2.to: "whole_right";
31444                  }
31445             }
31446          //BAR
31447          part { name: "elm.bar";
31448             mouse_events: 1;
31449             dragable {
31450                confine: "whole";
31451                x: 1 1 1;
31452                y: 0 0 0;
31453             }
31454             description { state: "default" 0.0;
31455                max: 15 9999;
31456                min: 15 100;
31457                rel1.relative: 0.0 0.5;
31458                rel2.relative: 1.0 0.5;
31459                image {
31460                   normal: "bt_base2.png";
31461                   border: 7 7 7 7;
31462                }
31463                image.middle: SOLID;
31464             }
31465             description { state: "clicked" 0.0;
31466                inherit: "default" 0.0;
31467                image.normal: "bt_base1.png";
31468                image.middle: SOLID;
31469             }
31470             description { state: "disabled" 0.0;
31471                inherit:  "default" 0.0;
31472                image {
31473                   normal: "bt_dis_base.png";
31474                   border: 4 4 4 4;
31475                }
31476             }
31477          }
31478          part {          name: "over1";
31479             mouse_events: 0;
31480             description { state: "default" 0.0;
31481             rel1.to: "elm.bar";
31482             rel2.to: "elm.bar";
31483                rel2.relative: 1.0 0.5;
31484                image {
31485                   normal: "bt_hilight.png";
31486                   border: 7 7 7 0;
31487                }
31488             }
31489             description { state: "disabled" 0.0;
31490                inherit:  "default" 0.0;
31491                image {
31492                   normal: "bt_dis_hilight.png";
31493                   border: 4 4 4 0;
31494                }
31495             }
31496          }
31497          part { name: "over2";
31498             mouse_events: 1;
31499             repeat_events: 1;
31500             ignore_flags: ON_HOLD;
31501             description { state: "default" 0.0;
31502             rel1.to: "elm.bar";
31503             rel2.to: "elm.bar";
31504                image {
31505                   normal: "bt_shine.png";
31506                   border: 7 7 7 7;
31507                }
31508             }
31509             description { state: "disabled" 0.0;
31510                inherit:  "default" 0.0;
31511                visible: 0;
31512             }
31513          }
31514          part { name: "over3";
31515             mouse_events: 1;
31516             repeat_events: 1;
31517             description { state: "default" 0.0;
31518                color: 255 255 255 0;
31519             rel1.to: "elm.bar";
31520             rel2.to: "elm.bar";
31521                image {
31522                   normal: "bt_glow.png";
31523                   border: 12 12 12 12;
31524                }
31525                fill.smooth : 0;
31526             }
31527             description { state: "clicked" 0.0;
31528                inherit:  "default" 0.0;
31529                visible: 1;
31530                color: 255 255 255 255;
31531             }
31532          }
31533
31534          //Arrow
31535          part {
31536             name: "arrow_right";
31537             repeat_events: 1;
31538             description { state: "default" 0.0;
31539                 min: 45 45;
31540                 max: 45 45;
31541                 color: 255 255 255 0;
31542
31543                 rel1.relative: 1.0 0.5;
31544                 rel1.to_x: "elm.bar";
31545                 rel1.offset: 45/2 -45/2;
31546
31547                 rel2.relative: 1.0 0.5;
31548                 rel2.to_x: "elm.bar";
31549                 rel2.offset: 45/2 45/2;
31550
31551                 image.normal: "arrow_right.png";
31552
31553                 fixed: 1 1;
31554             }
31555             description { state: "default" 0.1;
31556                 inherit: "default" 0.0;
31557                 image.normal: "arrow_left.png";
31558             }
31559             description { state: "anim_1" 0.0;
31560                 inherit: "default" 0.0;
31561                 color: 255 255 255 200;
31562                 rel1.offset: (45/2 + 10) -45/2;
31563                 rel2.offset: (45/2 +10) 45/2;
31564             }
31565             description { state: "anim_1" 0.1;
31566                 inherit: "default" 0.0;
31567                 image.normal: "arrow_left.png";
31568                 color: 255 255 255 200;
31569                 rel1.offset: (45/2 + 10) -45/2;
31570                 rel2.offset: (45/2 +10) 45/2;
31571             }
31572             description { state: "anim_2" 0.0;
31573                 inherit: "default" 0.0;
31574                 color: 255 255 255 0;
31575                 rel1.offset: (45/2 + 20) -45/2;
31576                 rel2.offset: (45/2 + 20) 45/2;
31577             }
31578             description { state: "anim_2" 0.1;
31579                 inherit: "default" 0.0;
31580                 image.normal: "arrow_left.png";
31581                 color: 255 255 255 0;
31582                 rel1.offset: (45/2 + 20) -45/2;
31583                 rel2.offset: (45/2 + 20) 45/2;
31584             }
31585          }
31586         part {
31587             name: "arrow_left";
31588             repeat_events: 1;
31589             description { state: "default" 0.0;
31590                 min: 45 45;
31591                 max: 45 45;
31592                 color: 255 255 255 0;
31593
31594                 rel1.relative: 0.0 0.5;
31595                 rel1.to_x: "elm.bar";
31596                 rel1.offset: -45/2 -45/2;
31597
31598                 rel2.relative: 0.0 0.5;
31599                 rel2.to_x: "elm.bar";
31600                 rel2.offset: -45/2 45/2;
31601
31602                 image.normal: "arrow_left.png";
31603
31604                 fixed: 1 1;
31605             }
31606             description { state: "default" 0.1;
31607                 inherit: "default" 0.0;
31608                 image.normal: "arrow_right.png";
31609             }
31610             description { state: "anim_1" 0.0;
31611                 inherit: "default" 0.0;
31612                 color: 255 255 255 200;
31613                 rel1.offset: (-45/2 - 10) -45/2;
31614                 rel2.offset: (-45/2 - 10) 45/2;
31615             }
31616             description { state: "anim_1" 0.1;
31617                 inherit: "default" 0.0;
31618                 image.normal: "arrow_right.png";
31619                 color: 255 255 255 200;
31620                 rel1.offset: (-45/2 - 10) -45/2;
31621                 rel2.offset: (-45/2 - 10) 45/2;
31622             }
31623             description { state: "anim_2" 0.0;
31624                 inherit: "default" 0.0;
31625                 color: 255 255 255 0;
31626                 rel1.offset: (-45/2 - 20) -45/2;
31627                 rel2.offset: (-45/2 - 20) 45/2;
31628             }
31629             description { state: "anim_2" 0.1;
31630                 inherit: "default" 0.0;
31631                 image.normal: "arrow_right.png";
31632                 color: 255 255 255 0;
31633                 rel1.offset: (-45/2 - 20) -45/2;
31634                 rel2.offset: (-45/2 - 20) 45/2;
31635             }
31636          }
31637
31638        }
31639         programs {
31640          program {
31641             name:   "button_click";
31642             signal: "mouse,down,1";
31643             source: "over2";
31644             action: SIGNAL_EMIT "elm,action,press" "";
31645             after: "button_click_anim";
31646             after: "arrow_anim_start";
31647          }
31648          program {
31649             name:   "button_click_anim";
31650             action: STATE_SET "clicked" 0.0;
31651             target: "elm.bar";
31652          }
31653          program {
31654             name:   "button_unclick";
31655             signal: "mouse,up,1";
31656             source: "over2";
31657             action: SIGNAL_EMIT "elm,action,unpress" "";
31658             after: "button_unclick_anim";
31659             after: "arrow_anim_stop";
31660          }
31661          program {
31662             name:   "button_unclick_anim";
31663             action: STATE_SET "default" 0.0;
31664             target: "elm.bar";
31665          }
31666          program {
31667             name:   "button_click2";
31668             signal: "mouse,down,1";
31669             source: "over3";
31670             action: STATE_SET "clicked" 0.0;
31671             target: "over3";
31672          }
31673          program {
31674             name:   "button_unclick2";
31675             signal: "mouse,up,1";
31676             source: "over3";
31677             action: STATE_SET "default" 0.0;
31678             transition: DECELERATE 0.5;
31679             target: "over3";
31680          }
31681          program {
31682             name:   "button_unclick3";
31683             signal: "mouse,up,1";
31684             source: "over2";
31685             action: SIGNAL_EMIT "elm,action,click" "";
31686          }
31687          program {
31688             name:   "button_down_double";
31689             signal: "mouse,down,1,double";
31690             source: "over3";
31691             action: SIGNAL_EMIT "elm,action,click,double" "";
31692          }
31693
31694          //arrows animation
31695          program {
31696             name: "arrow_anim_start";
31697             script {
31698                new st[31];
31699                new Float:vl;
31700                get_state(PART:"arrow_left", st, 30, vl);
31701                if (vl == 0.0) {
31702                   run_program(PROGRAM:"arrow_anim_start_ltr");
31703                }
31704                else {
31705                   run_program(PROGRAM:"arrow_anim_start_rtl");
31706                }
31707             }
31708          }
31709          program {
31710             name: "arrow_anim_stop";
31711             script {
31712                new st[31];
31713                new Float:vl;
31714                get_state(PART:"arrow_left", st, 30, vl);
31715                if (vl == 0.0) {
31716                   run_program(PROGRAM:"arrow_anim_stop_ltr");
31717                }
31718                else {
31719                   run_program(PROGRAM:"arrow_anim_stop_rtl");
31720                }
31721             }
31722          }
31723
31724          program {
31725             name: "arrow_anim_start_ltr";
31726             action: STATE_SET "anim_1" 0.0;
31727             target: "arrow_right";
31728             target: "arrow_left";
31729             transition: LINEAR 0.6;
31730             after: "arrow_anim_1_ltr";
31731          }
31732          program {
31733             name: "arrow_anim_1_ltr";
31734             action: STATE_SET "anim_2" 0.0;
31735             target: "arrow_right";
31736             target: "arrow_left";
31737             transition: LINEAR 0.6;
31738             after: "arrow_anim_2_ltr";
31739          }
31740          program {
31741             name: "arrow_anim_2_ltr";
31742             action: STATE_SET "default" 0.0;
31743             target: "arrow_right";
31744             target: "arrow_left";
31745             after: "arrow_anim_start_ltr";
31746          }
31747          program {
31748             name: "arrow_anim_stop_ltr";
31749             action: ACTION_STOP;
31750             target: "arrow_anim_start_ltr";
31751             target: "arrow_anim_1_ltr";
31752             target: "arrow_anim_2_ltr";
31753             after: "arrow_anim_stop_1_ltr";
31754          }
31755          program {
31756             name: "arrow_anim_stop_1_ltr";
31757             action: STATE_SET "default" 0.0;
31758             target: "arrow_right";
31759             target: "arrow_left";
31760             transition: DECELERATE 0.4;
31761         }
31762          program {
31763             name: "arrow_anim_start_rtl";
31764             action: STATE_SET "anim_1" 0.1;
31765             target: "arrow_right";
31766             target: "arrow_left";
31767             transition: LINEAR 0.6;
31768             after: "arrow_anim_1_rtl";
31769          }
31770          program {
31771             name: "arrow_anim_1_rtl";
31772             action: STATE_SET "anim_2" 0.1;
31773             target: "arrow_right";
31774             target: "arrow_left";
31775             transition: LINEAR 0.6;
31776             after: "arrow_anim_2_rtl";
31777          }
31778          program {
31779             name: "arrow_anim_2_rtl";
31780             action: STATE_SET "default" 0.1;
31781             target: "arrow_right";
31782             target: "arrow_left";
31783             after: "arrow_anim_start_rtl";
31784          }
31785          program {
31786             name: "arrow_anim_stop_rtl";
31787             action: ACTION_STOP;
31788             target: "arrow_anim_start_rtl";
31789             target: "arrow_anim_1_rtl";
31790             target: "arrow_anim_2_rtl";
31791             after: "arrow_anim_stop_1_rtl";
31792          }
31793          program {
31794             name: "arrow_anim_stop_1_rtl";
31795             action: STATE_SET "default" 0.1;
31796             target: "arrow_right";
31797             target: "arrow_left";
31798             transition: DECELERATE 0.4;
31799         }
31800          program { name: "to_rtl";
31801             signal: "edje,state,rtl";
31802             source: "edje";
31803             script {
31804                new st[31];
31805                new Float:vl;
31806                get_state(PART:"arrow_left", st, 30, vl);
31807                if (vl == 0.0) {
31808                   set_state(PART:"arrow_left", st, 0.1);
31809                }
31810                get_state(PART:"arrow_right", st, 30, vl);
31811                if (vl == 0.0) {
31812                   set_state(PART:"arrow_right", st, 0.1);
31813                }
31814             }
31815          }
31816          program { name: "to_ltr";
31817             signal: "edje,state,ltr";
31818             source: "edje";
31819             script {
31820                new st[31];
31821                new Float:vl;
31822                get_state(PART:"arrow_left", st, 30, vl);
31823                if (vl == 0.1) {
31824                   set_state(PART:"arrow_left", st, 0.0);
31825                }
31826                get_state(PART:"arrow_right", st, 30, vl);
31827                if (vl == 0.1) {
31828                   set_state(PART:"arrow_right", st, 0.0);
31829                }
31830             }
31831          }
31832       }
31833   }
31834
31835   group {
31836      name: "elm/panes/horizontal/default";
31837       images {
31838          image: "bt_base1.png" COMP;
31839          image: "bt_base2.png" COMP;
31840          image: "bt_hilight.png" COMP;
31841          image: "bt_shine.png" COMP;
31842          image: "bt_glow.png" COMP;
31843          image: "bt_dis_base.png" COMP;
31844          image: "bt_dis_hilight.png" COMP;
31845          image: "arrow_up.png" COMP;
31846          image: "arrow_down.png" COMP;
31847       }
31848      parts
31849        {
31850           part
31851             {
31852                name: "whole";
31853                type: RECT;
31854                mouse_events: 0;
31855                description
31856                  {
31857                     state: "default" 0.0;
31858                     visible: 0;
31859                  }
31860             }
31861
31862          //2 contents
31863           part
31864             {
31865                name: "whole_left";
31866                type: RECT;
31867                mouse_events: 0;
31868                description
31869                  {
31870                     state: "default" 0.0;
31871                     rel2.to_y: "elm.bar";
31872                     rel2.relative: 1.0 0.0;
31873                     visible: 1;
31874                  }
31875             }
31876           part
31877             {
31878                name: "elm.swallow.left";
31879                type: SWALLOW;
31880                clip_to: "whole_left";
31881                description
31882                  {
31883                     state: "default" 0.0;
31884                     rel1.to: "whole_left";
31885                     rel2.to: "whole_left";
31886                  }
31887             }
31888
31889             part
31890             {
31891                name: "whole_right";
31892                type: RECT;
31893                mouse_events: 0;
31894                description
31895                  {
31896                     state: "default" 0.0;
31897                     rel1.to_y: "elm.bar";
31898                     rel1.relative: 0.0 1.0;
31899                     visible: 1;
31900                  }
31901             }
31902           part
31903             {
31904                name: "elm.swallow.right";
31905                type: SWALLOW;
31906                clip_to: "whole_right";
31907                description
31908                  {
31909                     state: "default" 0.0;
31910                     rel1.to: "whole_right";
31911                     rel2.to: "whole_right";
31912                  }
31913             }
31914          //BAR
31915          part { name: "elm.bar";
31916             mouse_events: 1;
31917             dragable {
31918                confine: "whole";
31919                x: 0 0 0;
31920                y: 1 1 1;
31921             }
31922             description { state: "default" 0.0;
31923                max: 999 15;
31924                min: 100 15;
31925                rel1.relative: 0.5 0.0;
31926                rel2.relative: 0.5 1.0;
31927                image {
31928                   normal: "bt_base2.png";
31929                   border: 7 7 7 7;
31930                }
31931                image.middle: SOLID;
31932             }
31933             description { state: "clicked" 0.0;
31934                inherit: "default" 0.0;
31935                image.normal: "bt_base1.png";
31936                image.middle: SOLID;
31937             }
31938             description { state: "disabled" 0.0;
31939                inherit:  "default" 0.0;
31940                image {
31941                   normal: "bt_dis_base.png";
31942                   border: 4 4 4 4;
31943                }
31944             }
31945          }
31946          part {          name: "over1";
31947             mouse_events: 0;
31948             description { state: "default" 0.0;
31949             rel1.to: "elm.bar";
31950             rel2.to: "elm.bar";
31951                rel2.relative: 1.0 0.5;
31952                image {
31953                   normal: "bt_hilight.png";
31954                   border: 7 7 7 0;
31955                }
31956             }
31957             description { state: "disabled" 0.0;
31958                inherit:  "default" 0.0;
31959                image {
31960                   normal: "bt_dis_hilight.png";
31961                   border: 4 4 4 0;
31962                }
31963             }
31964          }
31965          part { name: "over2";
31966             mouse_events: 1;
31967             repeat_events: 1;
31968             ignore_flags: ON_HOLD;
31969             description { state: "default" 0.0;
31970             rel1.to: "elm.bar";
31971             rel2.to: "elm.bar";
31972                image {
31973                   normal: "bt_shine.png";
31974                   border: 7 7 7 7;
31975                }
31976             }
31977             description { state: "disabled" 0.0;
31978                inherit:  "default" 0.0;
31979                visible: 0;
31980             }
31981          }
31982          part { name: "over3";
31983             mouse_events: 1;
31984             repeat_events: 1;
31985             description { state: "default" 0.0;
31986                color: 255 255 255 0;
31987             rel1.to: "elm.bar";
31988             rel2.to: "elm.bar";
31989                image {
31990                   normal: "bt_glow.png";
31991                   border: 12 12 12 12;
31992                }
31993                fill.smooth : 0;
31994             }
31995             description { state: "clicked" 0.0;
31996                inherit:  "default" 0.0;
31997                visible: 1;
31998                color: 255 255 255 255;
31999             }
32000          }
32001
32002          //Arrow
32003          part {
32004             name: "arrow_right";
32005             repeat_events: 1;
32006             description { state: "default" 0.0;
32007                 min: 45 45;
32008                 max: 45 45;
32009                 color: 255 255 255 0;
32010
32011                 rel1.relative: 0.5 1.0;
32012                 rel1.to_y: "elm.bar";
32013                 rel1.offset: -45/2 45/2;
32014
32015                 rel2.relative: 0.5 1.0;
32016                 rel2.to_y: "elm.bar";
32017                 rel2.offset: 45/2 45/2;
32018
32019                 image.normal: "arrow_down.png";
32020
32021                 fixed: 1 1;
32022             }
32023             description { state: "anim_1" 0.0;
32024                 inherit: "default" 0.0;
32025                 color: 255 255 255 200;
32026                 rel1.offset: -45/2 (45/2 +10);
32027                 rel2.offset: 45/2 (45/2 +10);
32028             }
32029             description { state: "anim_2" 0.0;
32030                 inherit: "default" 0.0;
32031                 color: 255 255 255 0;
32032                 rel1.offset: -45/2 (45/2 + 20);
32033                 rel2.offset: 45/2 (45/2 + 20);
32034             }
32035          }
32036         part {
32037             name: "arrow_left";
32038             repeat_events: 1;
32039             description { state: "default" 0.0;
32040                 min: 45 45;
32041                 max: 45 45;
32042                 color: 255 255 255 0;
32043
32044                 rel1.relative: 0.5 0.0;
32045                 rel1.to_y: "elm.bar";
32046                 rel1.offset: -45/2 -45/2;
32047
32048                 rel2.relative: 0.5 0.0;
32049                 rel2.to_y: "elm.bar";
32050                 rel2.offset: 45/2 -45/2;
32051
32052                 image.normal: "arrow_up.png";
32053
32054                 fixed: 1 1;
32055             }
32056             description { state: "anim_1" 0.0;
32057                 inherit: "default" 0.0;
32058                 color: 255 255 255 200;
32059                 rel1.offset: -45/2 (-45/2 - 10);
32060                 rel2.offset: 45/2 (-45/2 - 10);
32061             }
32062             description { state: "anim_2" 0.0;
32063                 inherit: "default" 0.0;
32064                 color: 255 255 255 0;
32065                 rel1.offset: -45/2 (-45/2 - 20);
32066                 rel2.offset: 45/2 (-45/2 - 20);
32067             }
32068          }
32069
32070        }
32071         programs {
32072          program {
32073             name:   "button_click";
32074             signal: "mouse,down,1";
32075             source: "over2";
32076             action: SIGNAL_EMIT "elm,action,press" "";
32077             after: "button_click_anim";
32078             after: "arrow_anim_start";
32079          }
32080          program {
32081             name:   "button_click_anim";
32082             action: STATE_SET "clicked" 0.0;
32083             target: "elm.bar";
32084          }
32085          program {
32086             name:   "button_unclick";
32087             signal: "mouse,up,1";
32088             source: "over2";
32089             action: SIGNAL_EMIT "elm,action,unpress" "";
32090             after: "button_unclick_anim";
32091             after: "arrow_anim_stop";
32092          }
32093          program {
32094             name:   "button_unclick_anim";
32095             action: STATE_SET "default" 0.0;
32096             target: "elm.bar";
32097          }
32098          program {
32099             name:   "button_click2";
32100             signal: "mouse,down,1";
32101             source: "over3";
32102             action: STATE_SET "clicked" 0.0;
32103             target: "over3";
32104          }
32105          program {
32106             name:   "button_unclick2";
32107             signal: "mouse,up,1";
32108             source: "over3";
32109             action: STATE_SET "default" 0.0;
32110             transition: DECELERATE 0.5;
32111             target: "over3";
32112          }
32113          program {
32114             name:   "button_unclick3";
32115             signal: "mouse,up,1";
32116             source: "over2";
32117             action: SIGNAL_EMIT "elm,action,click" "";
32118          }
32119          program {
32120             name:   "button_down_double";
32121             signal: "mouse,down,1,double";
32122             source: "over3";
32123             action: SIGNAL_EMIT "elm,action,click,double" "";
32124          }
32125
32126          //arrows animation
32127          program {
32128             name: "arrow_anim_start";
32129             action: STATE_SET "anim_1" 0.0;
32130             target: "arrow_right";
32131             target: "arrow_left";
32132             transition: LINEAR 0.6;
32133             after: "arrow_anim_1";
32134          }
32135          program {
32136             name: "arrow_anim_1";
32137             action: STATE_SET "anim_2" 0.0;
32138             target: "arrow_right";
32139             target: "arrow_left";
32140             transition: LINEAR 0.6;
32141             after: "arrow_anim_2";
32142          }
32143          program {
32144             name: "arrow_anim_2";
32145             action: STATE_SET "default" 0.0;
32146             target: "arrow_right";
32147             target: "arrow_left";
32148             after: "arrow_anim_start";
32149          }
32150          program {
32151             name: "arrow_anim_stop";
32152             action: ACTION_STOP;
32153             target: "arrow_anim_start";
32154             target: "arrow_anim_1";
32155             target: "arrow_anim_2";
32156             after: "arrow_anim_stop_1";
32157          }
32158          program {
32159             name: "arrow_anim_stop_1";
32160             action: STATE_SET "default" 0.0;
32161             target: "arrow_right";
32162             target: "arrow_left";
32163             transition: DECELERATE 0.4;
32164         }
32165       }
32166   }
32167
32168
32169
32170 /////////////////////////////////////////////////////////////////////////////
32171 // PANEL
32172 /////////////////////////////////////////////////////////////////////////////
32173   group {
32174      name: "elm/panel/base/left";
32175      alias: "elm/panel/base/top";
32176      images
32177        {
32178           image: "bt_base1.png" COMP;
32179           image: "bt_hilight.png" COMP;
32180           image: "bt_shine.png" COMP;
32181           image: "bt_glow.png" COMP;
32182           image: "bt_dis_base.png" COMP;
32183           image: "icon_arrow_left.png" COMP;
32184           image: "icon_arrow_right.png" COMP;
32185        }
32186        data {
32187           item: "focus_highlight" "on";
32188        }
32189      parts
32190        {
32191             part { name: "focus_highlight";
32192                description { state: "default" 0.0;
32193                   visible: 0;
32194                   color: 255 255 255 0;
32195                   rel1 {
32196                      to: "btn";
32197                      offset: -8 -8;
32198                   }
32199                   rel2 {
32200                      to: "btn";
32201                      offset: 7 7;
32202                   }
32203                   image {
32204                      normal: "frame_2.png";
32205                      border: 5 5 32 26;
32206                      middle: 0;
32207                   }
32208                }
32209                description { state: "enabled" 0.0;
32210                   inherit: "default" 0.0;
32211                   visible: 1;
32212                   color: 255 255 255 255;
32213                }
32214             }
32215           part
32216             {
32217                name: "bg";
32218                type: RECT;
32219                mouse_events: 0;
32220                description
32221                  {
32222                     state: "default" 0.0;
32223                     color: 255 255 255 0;
32224                     rel1.relative: 0.0 0.0;
32225                     rel1.offset: 0 0;
32226                     rel2.relative: 1.0 1.0;
32227                     rel2.offset: -1 -1;
32228                  }
32229                description
32230                  {
32231                     state: "hidden" 0.0;
32232                     inherit: "default" 0.0;
32233                     rel1.relative: -1.0 0.0;
32234                     rel1.offset: 21 0;
32235                     rel2.relative: 0.0 1.0;
32236                     rel2.offset: 20 -1;
32237                  }
32238             }
32239           part
32240             {
32241                name: "base";
32242                type: IMAGE;
32243                mouse_events: 0;
32244                description
32245                  {
32246                     state: "default" 0.0;
32247                     rel1.to: "bg";
32248                     rel2.to: "bg";
32249                     rel2.offset: -20 -1;
32250                     image
32251                       {
32252                          normal: "bt_dis_base.png";
32253                          border: 4 4 4 4;
32254                       }
32255                  }
32256             }
32257           part
32258             {
32259                name: "clipper";
32260                type: RECT;
32261                mouse_events: 0;
32262                description
32263                  {
32264                     state: "default" 0.0;
32265                     rel1
32266                       {
32267                          offset: 4 4;
32268                          to: "base";
32269                       }
32270                     rel2
32271                       {
32272                          offset: -5 -5;
32273                          to: "base";
32274                       }
32275                  }
32276             }
32277           part
32278             {
32279                name: "elm.swallow.content";
32280                type: SWALLOW;
32281                clip_to: "clipper";
32282                description
32283                  {
32284                     state: "default" 0.0;
32285                     rel1.to: "clipper";
32286                     rel2.to: "clipper";
32287                  }
32288             }
32289           part
32290             {
32291                name: "btn";
32292                type: IMAGE;
32293                mouse_events: 1;
32294                description
32295                  {
32296                     state: "default" 0.0;
32297                     max: 32 48;
32298                     fixed: 1 1;
32299                     align: 0.0 0.5;
32300                     rel1
32301                       {
32302                          relative: 1.0 0.0;
32303                          offset: -3 0;
32304                          to_x: "base";
32305                       }
32306                     rel2.to_x: "bg";
32307                     image
32308                       {
32309                          normal: "bt_base1.png";
32310                          border: 0 5 4 12;
32311                       }
32312                     fill.smooth: 0;
32313                  }
32314                description
32315                  {
32316                     state: "clicked" 0.0;
32317                     inherit: "default" 0.0;
32318                  }
32319             }
32320           part
32321             {
32322                name: "btn_over";
32323                type: IMAGE;
32324                mouse_events: 0;
32325                description
32326                  {
32327                     state: "default" 0.0;
32328                     rel1.to: "btn";
32329                     rel2
32330                       {
32331                          relative: 1.0 0.5;
32332                          to: "btn";
32333                       }
32334                     image
32335                       {
32336                          normal: "bt_hilight.png";
32337                          border: 0 7 7 0;
32338                       }
32339                  }
32340             }
32341           part
32342             {
32343                name: "btn_over2";
32344                type: IMAGE;
32345                mouse_events: 1;
32346                repeat_events: 1;
32347                ignore_flags: ON_HOLD;
32348                description
32349                  {
32350                     state: "default" 0.0;
32351                     rel1.to: "btn";
32352                     rel2.to: "btn";
32353                     image
32354                       {
32355                          normal: "bt_shine.png";
32356                          border: 0 7 7 7;
32357                     }
32358                  }
32359             }
32360           part
32361             {
32362                name: "btn_over3";
32363                type: IMAGE;
32364                mouse_events: 1;
32365                repeat_events: 1;
32366                description
32367                  {
32368                     state: "default" 0.0;
32369                     color: 255 255 255 0;
32370                     rel1.to: "btn";
32371                     rel2.to: "btn";
32372                     image
32373                       {
32374                        normal: "bt_glow.png";
32375                        border: 12 12 12 12;
32376                     }
32377                   fill.smooth: 0;
32378                }
32379              description
32380                {
32381                   state: "clicked" 0.0;
32382                   inherit: "default" 0.0;
32383                   visible: 1;
32384                   color: 255 255 255 255;
32385                }
32386             }
32387           part
32388             {
32389                name: "btn_icon";
32390                type: IMAGE;
32391                repeat_events: 1;
32392                description
32393                  {
32394                     state: "default" 0.0;
32395                     rel1.to: "btn";
32396                     rel2.to: "btn";
32397                     align: 0.5 0.5;
32398                     min: 16 16;
32399                     max: 16 16;
32400                     image.normal: "icon_arrow_left.png";
32401                  }
32402                description
32403                  {
32404                     state: "hidden" 0.0;
32405                     inherit: "default" 0.0;
32406                     image.normal: "icon_arrow_right.png";
32407                  }
32408             }
32409        }
32410      programs
32411        {
32412           program
32413             {
32414                name: "show";
32415                signal: "elm,action,show";
32416                source: "elm";
32417                action: STATE_SET "default" 0.0;
32418                target: "bg";
32419                target: "btn_icon";
32420                transition: LINEAR 0.5;
32421             }
32422           program
32423             {
32424                name: "hide";
32425                signal: "elm,action,hide";
32426                source: "elm";
32427                action: STATE_SET "hidden" 0.0;
32428                target: "bg";
32429                target: "btn_icon";
32430                transition: LINEAR 0.5;
32431             }
32432           program
32433             {
32434                name: "btn_click";
32435                signal: "mouse,down,1";
32436                source: "btn_over2";
32437                action: STATE_SET "clicked" 0.0;
32438                target: "btn";
32439             }
32440           program
32441             {
32442                name: "btn_unclick";
32443                signal: "mouse,up,1";
32444                source: "btn_over2";
32445                action: STATE_SET "default" 0.0;
32446                target: "btn";
32447             }
32448           program
32449             {
32450                name: "btn_click2";
32451                signal: "mouse,down,1";
32452                source: "btn_over3";
32453                action: STATE_SET "clicked" 0.0;
32454                target: "btn_over3";
32455             }
32456           program
32457             {
32458                name: "btn_unclick2";
32459                signal: "mouse,up,1";
32460                source: "btn_over3";
32461                action: STATE_SET "default" 0.0;
32462                transition: DECELERATE 0.5;
32463                target: "btn_over3";
32464             }
32465           program
32466             {
32467                name: "btn_unclick3";
32468                signal: "mouse,clicked,1";
32469                source: "btn_over2";
32470                action: SIGNAL_EMIT "elm,action,panel,toggle" "";
32471             }
32472          program { name: "highlight_show";
32473             signal: "elm,action,focus_highlight,show";
32474             source: "elm";
32475             action: STATE_SET "enabled" 0.0;
32476             transition: ACCELERATE 0.3;
32477             target: "focus_highlight";
32478          }
32479          program { name: "highlight_hide";
32480             signal: "elm,action,focus_highlight,hide";
32481             source: "elm";
32482             action: STATE_SET "default" 0.0;
32483             transition: DECELERATE 0.3;
32484             target: "focus_highlight";
32485          }
32486        }
32487   }
32488
32489   group {
32490      name: "elm/panel/base/right";
32491      alias: "elm/panel/base/bottom";
32492      images
32493        {
32494           image: "bt_base1.png" COMP;
32495           image: "bt_hilight.png" COMP;
32496           image: "bt_shine.png" COMP;
32497           image: "bt_glow.png" COMP;
32498           image: "bt_dis_base.png" COMP;
32499           image: "icon_arrow_left.png" COMP;
32500           image: "icon_arrow_right.png" COMP;
32501        }
32502      parts
32503        {
32504             part { name: "focus_highlight";
32505                description { state: "default" 0.0;
32506                   visible: 0;
32507                   color: 255 255 255 0;
32508                   rel1 {
32509                      to: "btn";
32510                      offset: -8 -8;
32511                   }
32512                   rel2 {
32513                      to: "btn";
32514                      offset: 7 7;
32515                   }
32516                   image {
32517                      normal: "frame_2.png";
32518                      border: 5 5 32 26;
32519                      middle: 0;
32520                   }
32521                }
32522                description { state: "enabled" 0.0;
32523                   inherit: "default" 0.0;
32524                   visible: 1;
32525                   color: 255 255 255 255;
32526                }
32527             }
32528           part
32529             {
32530                name: "bg";
32531                type: RECT;
32532                mouse_events: 0;
32533                description
32534                  {
32535                     state: "default" 0.0;
32536                     color: 255 255 255 0;
32537                     rel1.relative: 0.0 0.0;
32538                     rel1.offset: 0 0;
32539                     rel2.relative: 1.0 1.0;
32540                     rel2.offset: -1 -1;
32541                  }
32542                description
32543                  {
32544                     state: "hidden" 0.0;
32545                     inherit: "default" 0.0;
32546                     rel1.relative: 1.0 0.0;
32547                     rel1.offset: -22 0;
32548                     rel2.relative: 2.0 1.0;
32549                     rel2.offset: -23 -1;
32550                  }
32551             }
32552           part
32553             {
32554                name: "base";
32555                type: IMAGE;
32556                mouse_events: 0;
32557                description
32558                  {
32559                     state: "default" 0.0;
32560                     rel1.to: "bg";
32561                     rel1.offset: 20 0;
32562                     rel2.to: "bg";
32563                     image
32564                       {
32565                          normal: "bt_dis_base.png";
32566                          border: 4 4 4 4;
32567                       }
32568                  }
32569             }
32570           part
32571             {
32572                name: "clipper";
32573                type: RECT;
32574                mouse_events: 0;
32575                description
32576                  {
32577                     state: "default" 0.0;
32578                     rel1
32579                       {
32580                          offset: 4 4;
32581                          to: "base";
32582                       }
32583                     rel2
32584                       {
32585                          offset: -5 -5;
32586                          to: "base";
32587                       }
32588                  }
32589             }
32590           part
32591             {
32592                name: "elm.swallow.content";
32593                type: SWALLOW;
32594                clip_to: "clipper";
32595                description
32596                  {
32597                     state: "default" 0.0;
32598                     rel1.to: "clipper";
32599                     rel2.to: "clipper";
32600                  }
32601             }
32602           part
32603             {
32604                name: "btn";
32605                type: IMAGE;
32606                mouse_events: 1;
32607                description
32608                  {
32609                     state: "default" 0.0;
32610                     max: 32 48;
32611                     fixed: 1 1;
32612                     align: 1 0.5;
32613                     rel1
32614                       {
32615                          to_x: "bg";
32616                       }
32617                     rel2
32618                       {
32619                          offset: 2 0;
32620                          relative: 0.0 1;
32621                          to_x: "base";
32622                       }
32623                     image
32624                       {
32625                          normal: "bt_base1.png";
32626                          border: 5 0 4 12;
32627                       }
32628                     fill.smooth: 0;
32629                  }
32630                description
32631                  {
32632                     state: "clicked" 0.0;
32633                     inherit: "default" 0.0;
32634                  }
32635             }
32636           part
32637             {
32638                name: "btn_over";
32639                type: IMAGE;
32640                mouse_events: 0;
32641                description
32642                  {
32643                     state: "default" 0.0;
32644                     rel1.to: "btn";
32645                     rel2
32646                       {
32647                          relative: 1.0 0.5;
32648                          to: "btn";
32649                       }
32650                     image
32651                       {
32652                          normal: "bt_hilight.png";
32653                          border: 7 0 7 0;
32654                       }
32655                  }
32656             }
32657           part
32658             {
32659                name: "btn_over2";
32660                type: IMAGE;
32661                mouse_events: 1;
32662                repeat_events: 1;
32663                ignore_flags: ON_HOLD;
32664                description
32665                  {
32666                     state: "default" 0.0;
32667                     rel1.to: "btn";
32668                     rel2.to: "btn";
32669                     image
32670                       {
32671                          normal: "bt_shine.png";
32672                          border: 7 0 7 7;
32673                     }
32674                  }
32675             }
32676           part
32677             {
32678                name: "btn_over3";
32679                type: IMAGE;
32680                mouse_events: 1;
32681                repeat_events: 1;
32682                description
32683                  {
32684                     state: "default" 0.0;
32685                     color: 255 255 255 0;
32686                     rel1.to: "btn";
32687                     rel2.to: "btn";
32688                     image
32689                       {
32690                        normal: "bt_glow.png";
32691                        border: 12 12 12 12;
32692                     }
32693                   fill.smooth: 0;
32694                }
32695              description
32696                {
32697                   state: "clicked" 0.0;
32698                   inherit: "default" 0.0;
32699                   visible: 1;
32700                   color: 255 255 255 255;
32701                }
32702             }
32703           part
32704             {
32705                name: "btn_icon";
32706                type: IMAGE;
32707                repeat_events: 1;
32708                description
32709                  {
32710                     state: "default" 0.0;
32711                     rel1.to: "btn";
32712                     rel2.to: "btn";
32713                     align: 0.5 0.5;
32714                     min: 16 16;
32715                     max: 16 16;
32716                     image.normal: "icon_arrow_right.png";
32717                  }
32718                description
32719                  {
32720                     state: "hidden" 0.0;
32721                     inherit: "default" 0.0;
32722                     image.normal: "icon_arrow_left.png";
32723                  }
32724             }
32725        }
32726      programs
32727        {
32728           program
32729             {
32730                name: "show";
32731                signal: "elm,action,show";
32732                source: "elm";
32733                action: STATE_SET "default" 0.0;
32734                target: "bg";
32735                target: "btn_icon";
32736                transition: LINEAR 0.5;
32737             }
32738           program
32739             {
32740                name: "hide";
32741                signal: "elm,action,hide";
32742                source: "elm";
32743                action: STATE_SET "hidden" 0.0;
32744                target: "bg";
32745                target: "btn_icon";
32746                transition: LINEAR 0.5;
32747             }
32748           program
32749             {
32750                name: "btn_click";
32751                signal: "mouse,down,1";
32752                source: "btn_over2";
32753                action: STATE_SET "clicked" 0.0;
32754                target: "btn";
32755             }
32756           program
32757             {
32758                name: "btn_unclick";
32759                signal: "mouse,up,1";
32760                source: "btn_over2";
32761                action: STATE_SET "default" 0.0;
32762                target: "btn";
32763             }
32764           program
32765             {
32766                name: "btn_click2";
32767                signal: "mouse,down,1";
32768                source: "btn_over3";
32769                action: STATE_SET "clicked" 0.0;
32770                target: "btn_over3";
32771             }
32772           program
32773             {
32774                name: "btn_unclick2";
32775                signal: "mouse,up,1";
32776                source: "btn_over3";
32777                action: STATE_SET "default" 0.0;
32778                transition: DECELERATE 0.5;
32779                target: "btn_over3";
32780             }
32781           program
32782             {
32783                name: "btn_unclick3";
32784                signal: "mouse,up,1";
32785                source: "btn_over2";
32786                action: SIGNAL_EMIT "elm,action,panel,toggle" "";
32787             }
32788          program { name: "highlight_show";
32789             signal: "elm,action,focus";
32790             source: "elm";
32791             action: STATE_SET "enabled" 0.0;
32792             transition: ACCELERATE 0.3;
32793             target: "focus_highlight";
32794          }
32795          program { name: "highlight_hide";
32796             signal: "elm,action,unfocus";
32797             source: "elm";
32798             action: STATE_SET "default" 0.0;
32799             transition: DECELERATE 0.3;
32800             target: "focus_highlight";
32801          }
32802        }
32803   }
32804
32805 ///////////////////////////////////////////////////////////////////////////////
32806   group { name: "elm/conformant/base/default";
32807      parts {
32808         part { name: "elm.swallow.shelf";
32809            type: SWALLOW;
32810            description { state: "default" 0.0;
32811               fixed: 0 1;
32812               align: 0.0 0.0;
32813               rel2.relative: 1.0 0.0;
32814            }
32815         }
32816         part { name: "elm.swallow.content";
32817            type: SWALLOW;
32818            description { state: "default" 0.0;
32819               fixed: 0 1;
32820               align: 0.5 0.5;
32821               rel1.relative: 0.0 1.0;
32822               rel1.to_y: "elm.swallow.shelf";
32823               rel2.relative: 1.0 0.0;
32824               rel2.to_y: "elm.swallow.virtualkeypad";
32825            }
32826         }
32827         part { name: "elm.swallow.virtualkeypad";
32828            type: SWALLOW;
32829            description { state: "default" 0.0;
32830               fixed: 0 1;
32831               align: 0.0 1.0;
32832               rel2.relative: 1.0 0.0;
32833               rel2.to_y: "elm.swallow.panel";
32834            }
32835         }
32836         part { name: "elm.swallow.panel";
32837            type: SWALLOW;
32838            description { state: "default" 0.0;
32839               fixed: 0 1;
32840               align: 0.0 1.0;
32841               rel1.relative: 0.0 1.0;
32842            }
32843         }
32844      }
32845   }
32846
32847 /////////////////////////////////////////////////////////////////////////////
32848 // CALENDAR
32849 /////////////////////////////////////////////////////////////////////////////
32850 #define CH(_pos) \
32851          part { name: "ch_"#_pos".base"; \
32852             type: RECT; \
32853             description { state: "default" 0.0; \
32854                rel1 { \
32855                   relative: (_pos % 7 * 7 / 8 / 6) 0; \
32856                   to: "header"; \
32857                } \
32858                rel2 { \
32859                   relative: (_pos % 7 * 7 / 8 / 6 + 1 / 8) 1; \
32860                   to: "header"; \
32861                } \
32862                color: 0 0 0 0; \
32863                visible: 0; \
32864             } \
32865          } \
32866          part { name: "ch_"#_pos".text"; \
32867             type: TEXT; \
32868             effect: SOFT_SHADOW; \
32869             mouse_events: 0; \
32870             scale: 1; \
32871             clip_to: "ch_"#_pos".clipper"; \
32872             description { \
32873                state: "default" 0.0; \
32874                rel1.to: "ch_"#_pos".base"; \
32875                rel2.to: "ch_"#_pos".base"; \
32876                color: 0 0 0 255; \
32877                color3: 0 0 0 0; \
32878                text { \
32879                   font: "Sans"; \
32880                   size: 10; \
32881                   min: 1 1; \
32882                   align: 0.5 0.5; \
32883                } \
32884             } \
32885          } \
32886          part { name: "ch_"#_pos".clipper"; \
32887             type: RECT; \
32888             description { state: "default" 0.0; \
32889                rel1.to: "ch_"#_pos".base"; \
32890                rel2.to: "ch_"#_pos".base"; \
32891             } \
32892          }
32893
32894 #define CIT(_pos) \
32895          part { name: "cit_"#_pos".rect"; \
32896             type: RECT; \
32897             description { state: "default" 0.0; \
32898                rel1 { \
32899                   relative: (_pos % 7 * 7 / 8 / 6) \
32900                             (_pos / 8 / 5 - _pos % 7 / 8 / 5); \
32901                   to: "base"; \
32902                } \
32903                rel2 { \
32904                   relative: (_pos % 7 * 7 / 8 / 6 + 1 / 8) \
32905                             (_pos / 8 / 5 - _pos % 7 / 8 / 5 + 1 / 8); \
32906                   to: "base"; \
32907                } \
32908                color: 0 0 0 0; \
32909                visible: 0; \
32910             } \
32911          } \
32912          part { \
32913             name: "cit_"#_pos".event"; \
32914             type: RECT; \
32915             repeat_events: 1; \
32916             description { \
32917                rel1.to: "cit_"#_pos".rect"; \
32918                rel2.to: "cit_"#_pos".rect"; \
32919                state: "default" 0.0; \
32920                color: 0 0 0 0; \
32921             } \
32922          } \
32923          part { name: "cit_"#_pos".shelf"; \
32924             type: RECT; \
32925             mouse_events: 0; \
32926             description { state: "default" 0.0; \
32927                rel1 { \
32928                   to: "cit_"#_pos".bg"; \
32929                   offset: -1 -1; \
32930                } \
32931                rel2 { \
32932                   to: "cit_"#_pos".bg"; \
32933                } \
32934                color: 200 200 200 255; \
32935             } \
32936          } \
32937          part { name: "cit_"#_pos".hd"; \
32938             type: RECT; \
32939             mouse_events: 0; \
32940             description { state: "default" 0.0; \
32941                rel1 { \
32942                   to: "cit_"#_pos".bg"; \
32943                   offset: -1 -1; \
32944                } \
32945                rel2 { \
32946                   to: "cit_"#_pos".bg"; \
32947                } \
32948                visible: 0; \
32949                color: 160 0 0 255; \
32950             } \
32951             description { state: "visible" 0.0; \
32952                inherit: "default" 0.0; \
32953                visible: 1; \
32954             } \
32955          } \
32956          part { \
32957             name: "cit_"#_pos".base_sh"; \
32958             mouse_events: 0; \
32959             description { \
32960                state: "default" 0.0; \
32961                align: 0.0 0.0; \
32962                min: 0 1; \
32963                rel1 { \
32964                   to: "cit_"#_pos".base"; \
32965                   relative: 0.0 1.0; \
32966                   offset: 0 0; \
32967                } \
32968                rel2 { \
32969                   to: "cit_"#_pos".base"; \
32970                   relative: 1.0 1.05; \
32971                   offset: -1 0; \
32972                } \
32973                image { \
32974                   normal: "ilist_item_shadow.png"; \
32975                } \
32976                fill.smooth: 0; \
32977             } \
32978          } \
32979          part { \
32980             name: "cit_"#_pos".base"; \
32981             mouse_events: 0; \
32982             description { \
32983                state: "default" 0.0; \
32984                rel1.to: "cit_"#_pos".rect"; \
32985                rel2.to: "cit_"#_pos".rect"; \
32986                rel2.offset: -1 -1; \
32987                image { \
32988                   normal: "ilist_1.png"; \
32989                   border: 2 2 2 2; \
32990                } \
32991                fill.smooth: 0; \
32992             } \
32993             description { \
32994                state: "today" 0.0; \
32995                inherit: "default" 0.0; \
32996                image.normal: "ilist_2.png"; \
32997                color: 240 240 240 255; \
32998             } \
32999          } \
33000          part { name: "cit_"#_pos".bg"; \
33001             mouse_events: 0; \
33002             description { state: "default" 0.0; \
33003                visible: 0; \
33004                color: 255 255 255 0; \
33005                rel1 { \
33006                   to: "cit_"#_pos".rect"; \
33007                   relative: 0.0 0.0; \
33008                } \
33009                rel2 { \
33010                   to: "cit_"#_pos".rect"; \
33011                   relative: 1.0 1.0; \
33012                   offset: -1 -1; \
33013                } \
33014                image { \
33015                   normal: "bt_sm_base1.png"; \
33016                   border: 6 6 6 6; \
33017                } \
33018                image.middle: SOLID; \
33019             } \
33020             description { state: "selected" 0.0; \
33021                inherit: "default" 0.0; \
33022                visible: 1; \
33023                color: 255 255 255 255; \
33024             } \
33025          } \
33026          part { name: "cit_"#_pos".text"; \
33027             type: TEXT; \
33028             effect: SOFT_SHADOW; \
33029             mouse_events: 0; \
33030             scale: 1; \
33031             description { \
33032                state: "default" 0.0; \
33033                rel1.to: "cit_"#_pos".bg"; \
33034                rel2.to: "cit_"#_pos".bg"; \
33035                color: 0 0 0 255; \
33036                color3: 0 0 0 0; \
33037                text { \
33038                   font: "Sans"; \
33039                   size: 10; \
33040                   min: 1 1; \
33041                   align: 0.5 0.5; \
33042                } \
33043             } \
33044             description { state: "selected" 0.0; \
33045                inherit: "default" 0.0; \
33046                color: 224 224 224 255; \
33047                color3: 0 0 0 64; \
33048             } \
33049          } \
33050          part { name: "cit_"#_pos".fg1"; \
33051             mouse_events: 0; \
33052             description { state: "default" 0.0; \
33053                visible: 0; \
33054                color: 255 255 255 0; \
33055                rel1.to: "cit_"#_pos".bg"; \
33056                rel2.relative: 1.0 0.5; \
33057                rel2.to: "cit_"#_pos".bg"; \
33058                image { \
33059                   normal: "bt_sm_hilight.png"; \
33060                   border: 6 6 6 0; \
33061                } \
33062             } \
33063             description { state: "selected" 0.0; \
33064                inherit: "default" 0.0; \
33065                visible: 1; \
33066                color: 255 255 255 255; \
33067             } \
33068          } \
33069          part { name: "cit_"#_pos".fg2"; \
33070             mouse_events: 0; \
33071             description { state: "default" 0.0; \
33072                visible: 0; \
33073                color: 255 255 255 0; \
33074                rel1.to: "cit_"#_pos".bg"; \
33075                rel2.to: "cit_"#_pos".bg"; \
33076                image { \
33077                   normal: "bt_sm_shine.png"; \
33078                   border: 6 6 6 0; \
33079                } \
33080             } \
33081             description { state: "selected" 0.0; \
33082                inherit: "default" 0.0; \
33083                visible: 1; \
33084                color: 255 255 255 255; \
33085             } \
33086          } \
33087          part { name: "cit_"#_pos".check"; \
33088             mouse_events: 0; \
33089             description { state: "default" 0.0; \
33090                rel1 { \
33091                   to: "cit_"#_pos".bg"; \
33092                   relative: 0.7 0.6; \
33093                   offset: 1 1; \
33094                } \
33095                rel2 { \
33096                   to: "cit_"#_pos".bg"; \
33097                   relative: 1.1 1.2; \
33098                   offset: -2 -2; \
33099                } \
33100                aspect: 1 1; \
33101                visible: 0; \
33102                color: 255 0 0 255; \
33103                image.normal: "check.png"; \
33104             } \
33105             description { state: "visible" 0.0; \
33106                inherit: "default" 0.0; \
33107                visible: 1; \
33108             } \
33109          } \
33110       programs { \
33111          program { \
33112             name:    "cit_"#_pos".go_active"; \
33113             signal:  "cit_"#_pos",selected"; \
33114             source:  "elm"; \
33115             action:  STATE_SET "selected" 0.0; \
33116             target:  "cit_"#_pos".bg"; \
33117             target:  "cit_"#_pos".fg1"; \
33118             target:  "cit_"#_pos".fg2"; \
33119             target:  "cit_"#_pos".text"; \
33120          } \
33121          program { \
33122             name:    "cit_"#_pos".go_passive"; \
33123             signal:  "cit_"#_pos",unselected"; \
33124             source:  "elm"; \
33125             action:  STATE_SET "default" 0.0; \
33126             target:  "cit_"#_pos".bg"; \
33127             target:  "cit_"#_pos".fg1"; \
33128             target:  "cit_"#_pos".fg2"; \
33129             target:  "cit_"#_pos".text"; \
33130          } \
33131          program { \
33132             name:    "cit_"#_pos".is_today"; \
33133             signal:  "cit_"#_pos",today"; \
33134             source:  "elm"; \
33135             action:  STATE_SET "today" 0.0; \
33136             target: "cit_"#_pos".base"; \
33137          } \
33138          program { \
33139             name:    "cit_"#_pos".not_today"; \
33140             signal:  "cit_"#_pos",not_today"; \
33141             source:  "elm"; \
33142             action:  STATE_SET "default" 0.0; \
33143             target: "cit_"#_pos".base"; \
33144          } \
33145          program { \
33146             source: "cit_"#_pos".clicked"; \
33147             signal: "mouse,clicked,1"; \
33148             source: "cit_"#_pos".event"; \
33149             action: SIGNAL_EMIT "elm,action,selected" #_pos; \
33150          } \
33151          program { \
33152             name:    "cit_"#_pos".clear"; \
33153             signal:  "cit_"#_pos",clear"; \
33154             source:  "elm"; \
33155             action:  STATE_SET "default" 0.0; \
33156             target: "cit_"#_pos".check"; \
33157             target: "cit_"#_pos".hd"; \
33158          } \
33159          program { \
33160             name:    "cit_"#_pos".checked"; \
33161             signal:  "cit_"#_pos",checked"; \
33162             source:  "elm"; \
33163             action:  STATE_SET "visible" 0.0; \
33164             target: "cit_"#_pos".check"; \
33165          } \
33166          program { \
33167             name:    "cit_"#_pos".holiday"; \
33168             signal:  "cit_"#_pos",holiday"; \
33169             source:  "elm"; \
33170             action:  STATE_SET "visible" 0.0; \
33171             target: "cit_"#_pos".hd"; \
33172          } \
33173       }
33174
33175    group { name: "elm/calendar/base/default";
33176        images {
33177            image: "shelf_inset.png" COMP;
33178            image: "bt_base1.png" COMP;
33179            image: "bt_hilight.png" COMP;
33180            image: "bt_shine.png" COMP;
33181            image: "bt_glow.png" COMP;
33182            image: "bt_dis_base.png" COMP;
33183            image: "bt_dis_hilight.png" COMP;
33184            image: "sp_bt_l.png" COMP;
33185            image: "sp_bt_r.png" COMP;
33186            image: "bt_sm_base1.png" COMP;
33187            image: "bt_sm_shine.png" COMP;
33188            image: "bt_sm_hilight.png" COMP;
33189            image: "ilist_1.png" COMP;
33190            image: "ilist_2.png" COMP;
33191            image: "ilist_item_shadow.png" COMP;
33192            image: "check.png" COMP;
33193        }
33194        parts {
33195            part { name: "bg";
33196                type: RECT;
33197                description { state: "default" 0.0;
33198                    min: 0 30;
33199                    rel1.offset: 1 1;
33200                    rel2.offset: -2 -2;
33201                    color: 255 255 255 0;
33202                    align: 0.0 0.5;
33203                }
33204            }
33205            part { name: "spinner-base";
33206                type: RECT;
33207                mouse_events: 0;
33208                description { state: "default" 0.0;
33209                    min: 24 24;
33210                    max: 999999 24;
33211                    rel1.to: "bg";
33212                    rel1.offset: 6 6;
33213                    rel2.to: "bg";
33214                    rel2.offset: -7 -7;
33215                    color: 255 255 255 0;
33216                    align: 0.0 0.0;
33217                }
33218            }
33219            part { name: "conf_over_spinner";
33220                mouse_events:  0;
33221                description { state: "default" 0.0;
33222                    rel1.to: "spinner-base";
33223                    rel1.offset: -3 -3;
33224                    rel2.to: "spinner-base";
33225                    rel2.offset: 2 2;
33226                    image {
33227                        normal: "shelf_inset.png";
33228                        border: 7 7 7 7;
33229                        middle: 0;
33230                    }
33231                    fill.smooth : 0;
33232                }
33233            }
33234            part { name: "table-base";
33235                type: RECT;
33236                mouse_events: 0;
33237                description { state: "default" 0.0;
33238                    min: 256 220;
33239                    rel1.to_x: "bg";
33240                    rel1.to_y: "spinner-base";
33241                    rel1.offset: 6 6;
33242                    rel1.relative: 0 1;
33243                    rel2.to: "bg";
33244                    rel2.offset: -7 -7;
33245                    color: 255 255 255 0;
33246                }
33247            }
33248            part { name: "conf_over_table";
33249                mouse_events:  0;
33250                description { state: "default" 0.0;
33251                    rel1.to: "table-base";
33252                    rel1.offset: -3 -3;
33253                    rel2.to: "table-base";
33254                    rel2.offset: 2 2;
33255                    image {
33256                        normal: "shelf_inset.png";
33257                        border: 7 7 7 7;
33258                        middle: 0;
33259                    }
33260                    fill.smooth : 0;
33261                }
33262            }
33263            part { name: "header";
33264                type: RECT;
33265                mouse_events: 0;
33266                description { state: "default" 0.0;
33267                    rel1.to: "table-base";
33268                    rel1.relative: 0 0;
33269                    rel2.to: "table-base";
33270                    rel2.relative: 1 0.1;
33271                    color: 255 255 255 0;
33272                }
33273            }
33274            part { name: "base";
33275                type: RECT;
33276                mouse_events: 0;
33277                description { state: "default" 0.0;
33278                    rel1.to_x: "table-base";
33279                    rel1.to_y: "header";
33280                    rel1.relative: 0 1;
33281                    rel1.offset: 3 0;
33282                    rel2.to: "table-base";
33283                    rel2.offset: -3 0;
33284                    color: 255 255 255 0;
33285                }
33286            }
33287            part { name: "left_bt";
33288                mouse_events:  1;
33289                description { state: "default" 0.0;
33290                    rel1 { to: "spinner-base";
33291                        offset: 2 2;
33292                    }
33293                    rel2 { to: "spinner-base";
33294                        offset: -3 -3;
33295                    }
33296                    align: 0.0 0.5;
33297                    min: 24 24;
33298                    max: 24 24;
33299                    fixed: 1 1;
33300                    image {
33301                        normal: "bt_base1.png";
33302                        border: 6 6 6 6;
33303                    }
33304                    fill.smooth : 0;
33305                }
33306                description { state: "clicked" 0.0;
33307                    inherit: "default" 0.0;
33308                    image.normal: "bt_base1.png";
33309                    image.middle: SOLID;
33310                }
33311            }
33312            part { name: "left_over1";
33313                mouse_events: 0;
33314                description { state: "default" 0.0;
33315                    rel1.to: "left_bt";
33316                    rel2 { to: "left_bt";
33317                        relative: 1.0 0.5;
33318                    }
33319                    image {
33320                        normal: "bt_hilight.png";
33321                        border: 7 7 7 0;
33322                    }
33323                }
33324            }
33325            part { name: "left_over2";
33326                mouse_events: 1;
33327                repeat_events: 1;
33328                description { state: "default" 0.0;
33329                    rel1.to: "left_bt";
33330                    rel2.to: "left_bt";
33331                    image {
33332                        normal: "bt_shine.png";
33333                        border: 7 7 7 7;
33334                    }
33335                }
33336            }
33337            part { name: "left_over3";
33338                mouse_events: 1;
33339                repeat_events: 1;
33340                description { state: "default" 0.0;
33341                    color: 255 255 255 0;
33342                    rel1.to: "left_bt";
33343                    rel2.to: "left_bt";
33344                    image {
33345                        normal: "bt_glow.png";
33346                        border: 12 12 12 12;
33347                    }
33348                    fill.smooth : 0;
33349                }
33350                description { state: "clicked" 0.0;
33351                    inherit:  "default" 0.0;
33352                    visible: 1;
33353                    color: 255 255 255 255;
33354                }
33355            }
33356            part { name: "right_bt";
33357                mouse_events:  1;
33358                description { state: "default" 0.0;
33359                    rel1 { to: "spinner-base";
33360                        offset: -27 3;
33361                    }
33362                    rel2 { to: "spinner-base";
33363                        offset: -3 -3;
33364                    }
33365                    align: 1.0 0.5;
33366                    min: 24 24;
33367                    max: 24 24;
33368                    fixed: 1 1;
33369                    image {
33370                        normal: "bt_base1.png";
33371                        border: 5 5 4 12;
33372                    }
33373                    fill.smooth : 0;
33374                }
33375                description { state: "clicked" 0.0;
33376                    inherit: "default" 0.0;
33377                    image.normal: "bt_base1.png";
33378                    image.middle: SOLID;
33379                }
33380            }
33381            part { name: "right_over1";
33382                mouse_events: 0;
33383                description { state: "default" 0.0;
33384                    rel1.to: "right_bt";
33385                    rel2 { to: "right_bt";
33386                        relative: 1.0 0.5;
33387                    }
33388                    image {
33389                        normal: "bt_hilight.png";
33390                        border: 7 7 7 0;
33391                    }
33392                }
33393            }
33394            part { name: "right_over2";
33395                mouse_events: 1;
33396                repeat_events: 1;
33397                description { state: "default" 0.0;
33398                    rel1.to: "right_bt";
33399                    rel2.to: "right_bt";
33400                    image {
33401                        normal: "bt_shine.png";
33402                        border: 7 7 7 7;
33403                    }
33404                }
33405            }
33406            part { name: "right_over3";
33407                mouse_events: 1;
33408                repeat_events: 1;
33409                description { state: "default" 0.0;
33410                    color: 255 255 255 0;
33411                    rel1.to: "right_bt";
33412                    rel2.to: "right_bt";
33413                    image {
33414                        normal: "bt_glow.png";
33415                        border: 12 12 12 12;
33416                    }
33417                    fill.smooth : 0;
33418                }
33419                description { state: "clicked" 0.0;
33420                    inherit:  "default" 0.0;
33421                    visible: 1;
33422                    color: 255 255 255 255;
33423                }
33424            }
33425            part { name: "left_bt_icon";
33426                repeat_events: 1;
33427                description { state: "default" 0.0;
33428                    rel1.to: "left_bt";
33429                    rel2.to: "left_bt";
33430                    align: 0.5 0.5;
33431                    min: 16 16;
33432                    max: 16 16;
33433                    image.normal: "sp_bt_l.png";
33434                }
33435                description { state: "rtl" 0.0;
33436                    inherit: "default" 0.0;
33437                    image.normal: "sp_bt_r.png";
33438                }
33439            }
33440            part { name: "right_bt_icon";
33441                repeat_events: 1;
33442                description { state: "default" 0.0;
33443                    rel1.to: "right_bt";
33444                    rel2.to: "right_bt";
33445                    align: 0.5 0.5;
33446                    min: 16 16;
33447                    max: 16 16;
33448                    image.normal: "sp_bt_r.png";
33449                }
33450                description { state: "rtl" 0.0;
33451                    inherit: "default" 0.0;
33452                    image.normal: "sp_bt_l.png";
33453                }
33454            }
33455            part { name: "month_text";
33456                type: TEXT;
33457                mouse_events: 0;
33458                scale: 1;
33459                description { state: "default" 0.0;
33460                    align: 0 0.5;
33461                    fixed: 1 1;
33462                    rel1 { relative: 1.0 0.0;
33463                        offset: 3 2;
33464                        to: "left_bt";
33465                        to_y: "spinner-base";
33466                    }
33467                    rel2 { relative: 0.0 1.0;
33468                        offset: -3 -2;
33469                        to_x: "right_bt";
33470                        to_y: "spinner-base";
33471                    }
33472                    color: 0 0 0 255;
33473                    text {
33474                        font: "Sans,Edje-Vera";
33475                        size: 12;
33476                        min: 1 1;
33477                        align: 0.5 0.5;
33478                    }
33479                }
33480            }
33481            CH(0)   CH(1)   CH(2)   CH(3)   CH(4)   CH(5)   CH(6)
33482            CIT(0)  CIT(1)  CIT(2)  CIT(3)  CIT(4)  CIT(5)  CIT(6)
33483            CIT(7)  CIT(8)  CIT(9)  CIT(10) CIT(11) CIT(12) CIT(13)
33484            CIT(14) CIT(15) CIT(16) CIT(17) CIT(18) CIT(19) CIT(20)
33485            CIT(21) CIT(22) CIT(23) CIT(24) CIT(25) CIT(26) CIT(27)
33486            CIT(28) CIT(29) CIT(30) CIT(31) CIT(32) CIT(33) CIT(34)
33487            CIT(35) CIT(36) CIT(37) CIT(38) CIT(39) CIT(40) CIT(41)
33488        }
33489        programs {
33490            program { name: "dec_start";
33491                signal: "mouse,down,1";
33492                source: "left_bt";
33493                action: SIGNAL_EMIT "elm,action,decrement,start" "";
33494            }
33495            program { name: "dec_stop";
33496                signal: "mouse,up,1";
33497                source: "left_bt";
33498                action: SIGNAL_EMIT "elm,action,stop" "";
33499            }
33500            program { name: "inc_start";
33501                signal: "mouse,down,1";
33502                source: "right_bt";
33503                action: SIGNAL_EMIT "elm,action,increment,start" "";
33504            }
33505            program { name: "inc_stop";
33506                signal: "mouse,up,1";
33507                source: "right_bt";
33508                action: SIGNAL_EMIT "elm,action,stop" "";
33509            }
33510            program {
33511                name:   "left_bt_click";
33512                signal: "mouse,down,1";
33513                source: "left_over2";
33514                action: STATE_SET "clicked" 0.0;
33515                target: "left_bt";
33516            }
33517            program {
33518                name:   "left_bt_unclick";
33519                signal: "mouse,up,1";
33520                source: "left_over2";
33521                action: STATE_SET "default" 0.0;
33522                target: "left_bt";
33523            }
33524            program {
33525                name:   "left_bt_click2";
33526                signal: "mouse,down,1";
33527                source: "left_over3";
33528                action: STATE_SET "clicked" 0.0;
33529                target: "left_over3";
33530            }
33531            program {
33532                name:   "left_bt_unclick2";
33533                signal: "mouse,up,1";
33534                source: "left_over3";
33535                action: STATE_SET "default" 0.0;
33536                transition: DECELERATE 0.5;
33537                target: "left_over3";
33538            }
33539            program {
33540                name:   "right_bt_click";
33541                signal: "mouse,down,1";
33542                source: "right_over2";
33543                action: STATE_SET "clicked" 0.0;
33544                target: "right_bt";
33545            }
33546            program {
33547                name:   "right_bt_unclick";
33548                signal: "mouse,up,1";
33549                source: "right_over2";
33550                action: STATE_SET "default" 0.0;
33551                target: "right_bt";
33552            }
33553            program {
33554                name:   "right_bt_click2";
33555                signal: "mouse,down,1";
33556                source: "right_over3";
33557                action: STATE_SET "clicked" 0.0;
33558                target: "right_over3";
33559            }
33560            program {
33561                name:   "right_bt_unclick2";
33562                signal: "mouse,up,1";
33563                source: "right_over3";
33564                action: STATE_SET "default" 0.0;
33565                transition: DECELERATE 0.5;
33566                target: "right_over3";
33567            }
33568            program { name: "to_rtl";
33569                signal: "edje,state,rtl";
33570                source: "edje";
33571                action: STATE_SET "rtl" 0.0;
33572                target: "right_bt_icon";
33573                target: "left_bt_icon";
33574            }
33575            program { name: "to_ltr";
33576                signal: "edje,state,ltr";
33577                source: "edje";
33578                action: STATE_SET "default" 0.0;
33579                target: "right_bt_icon";
33580                target: "left_bt_icon";
33581            }
33582        }
33583    }
33584
33585 #undef CIT
33586 #undef CH
33587
33588 ////////////////////////////////////////////////////////////////////////////////
33589 // colorselector
33590 ////////////////////////////////////////////////////////////////////////////////
33591    group { name: "elm/colorselector/bg/default";
33592       parts {
33593          part { name: "elm.colorbar_0";
33594             type: SWALLOW;
33595             mouse_events: 1;
33596             description { state: "default" 0.0;
33597                min: 120 30;
33598                rel1.relative: 0.0 0.00653594771;
33599                rel2.relative: 1.0 0.254901961;
33600             }
33601          }
33602          part { name: "elm.colorbar_1";
33603             type: SWALLOW;
33604             mouse_events: 1;
33605             description { state: "default" 0.0;
33606                min: 120 30;
33607                rel1.relative: 0.0 0.254901961;
33608                rel2.relative: 1.0 0.503267974;
33609             }
33610          }
33611          part { name: "elm.colorbar_2";
33612             type: SWALLOW;
33613             mouse_events: 1;
33614             description { state: "default" 0.0;
33615                min: 120 30;
33616                rel1.relative: 0.0 0.503267974;
33617                rel2.relative: 1.0 0.751633987;
33618             }
33619          }
33620          part { name: "elm.colorbar_3";
33621             type: SWALLOW;
33622             mouse_events: 1;
33623             description { state: "default" 0.0;
33624                min: 120 30;
33625                rel1.relative: 0.0 0.751633987;
33626                rel2.relative: 1.0 1.0;
33627             }
33628          }
33629       }
33630    }
33631
33632    group { name: "elm/colorselector/base/default";
33633       parts {
33634          part { name: "elm.bar_bg";
33635             type: SWALLOW;
33636             mouse_events: 0;
33637             description { state: "default" 0.0;
33638                min: 60 22;
33639                rel1 {
33640                   relative: 0.0 0.8;
33641                   to_x: "elm.arrow_bg";
33642                   to_y: "elm.arrow_icon";
33643                   offset: 0 0;
33644                }
33645                rel2 {
33646                   relative: 1.0 0.83;
33647                   to_x: "elm.arrow_bg";
33648                   offset: 0 0;
33649                }
33650             }
33651          }
33652          part { name: "elm.bar";
33653             type: SWALLOW;
33654             mouse_events: 0;
33655             description { state: "default" 0.0;
33656                rel1.to: "elm.bar_bg";
33657                rel2.to: "elm.bar_bg";
33658             }
33659          }
33660          part { name: "elm.arrow_bg";
33661             type: SWALLOW;
33662             mouse_events: 1;
33663             description { state: "default" 0.0;
33664                rel1 {
33665                   relative: 1.0 0.17;
33666                   offset: 3 0;
33667                   to_x: "elm.l_button";
33668                }
33669                rel2 {
33670                   relative: 0.0 0.83;
33671                      offset: -4 0;
33672                   to_x: "elm.r_button";
33673                }
33674             }
33675          }
33676          part { name: "elm.arrow";
33677             type: RECT;
33678             mouse_events: 1;
33679             scale: 1;
33680             description { state: "default" 0.0;
33681                min: 1 1;
33682                fixed: 1 1;
33683                align: 0 0;
33684                rel1 {
33685                   to_x: "elm.arrow_bg";
33686                }
33687                rel2 {
33688                   relative: 0.0 0.17;
33689                   to_x: "elm.arrow_bg";
33690                }
33691                color: 0 0 0 0;
33692                visible: 0;
33693             }
33694             dragable {
33695                confine: "elm.arrow_bg";
33696                x: 1 1 0;
33697                y: 0 0 0;
33698             }
33699          }
33700          part { name: "elm.arrow_icon";
33701             type: SWALLOW;
33702             mouse_events: 0;
33703             description { state: "default" 0.0;
33704                min: 25 15;
33705                max: 25 15;
33706                fixed: 1 1;
33707                align: 0.5 0;
33708                rel1 {
33709                   to_x: "elm.arrow";
33710                }
33711                rel2 {
33712                   relative: 1.0 0.0;
33713                   offset: 0 10;
33714                   to_x: "elm.arrow";
33715                }
33716             }
33717          }
33718          part { name: "event";
33719             type: RECT;
33720             mouse_events: 1;
33721             description { state: "default" 0.0;
33722                rel1 {
33723                   to: "elm.arrow_icon";
33724                }
33725                rel2 {
33726                   to_x: "elm.arrow_icon";
33727                   to_y: "elm.arrow_bg";
33728                   offset: 0 0;
33729                }
33730                color: 0 0 0 0;
33731             }
33732             dragable {
33733                events: "elm.arrow";
33734             }
33735          }
33736          part { name: "elm.l_button";
33737             type: SWALLOW;
33738             mouse_events: 1;
33739             scale: 1;
33740             description { state: "default" 0.0;
33741                min: 24 24;
33742                fixed: 1 1;
33743                rel1 {
33744                   relative: 0.0 0.0;
33745                   to_y: "elm.bar_bg";
33746                }
33747                rel2 {
33748                   relative: 0.0 1.0;
33749                   to_y: "elm.bar_bg";
33750                }
33751                align: 0.0 0.5;
33752             }
33753          }
33754          part { name: "elm.r_button";
33755             type: SWALLOW;
33756             mouse_events: 1;
33757             scale: 1;
33758             description {
33759                state: "default" 0.0;
33760                min: 24 24;
33761                fixed: 1 1;
33762                rel1 {
33763                   relative: 1.0 0.0;
33764                   to_y: "elm.bar_bg";
33765                }
33766                rel2 {
33767                   relative: 1.0 1.0;
33768                   to_y: "elm.bar_bg";
33769                }
33770                align: 1.0 0.5;
33771             }
33772          }
33773       }
33774    }
33775
33776    group{ name: "elm/colorselector/image/colorbar_0";
33777       images {
33778          image: "color_picker_color.png" COMP;
33779       }
33780       parts {
33781          part { name: "colorbar_0_image";
33782             type: IMAGE;
33783             mouse_events: 1;
33784             description { state: "default" 0.0;
33785                rel2.offset: -1 -1;
33786                image.normal: "color_picker_color.png";
33787             }
33788          }
33789       }
33790    }
33791
33792    group { name: "elm/colorselector/image/colorbar_1";
33793       images {
33794          image: "color_picker_opacity.png" COMP;
33795       }
33796       parts {
33797          part { name: "colorbar_1_image";
33798             type: IMAGE;
33799             mouse_events: 1;
33800             description { state: "default" 0.0;
33801                rel2.offset: -1 -1;
33802                image.normal: "color_picker_opacity.png";
33803             }
33804          }
33805       }
33806    }
33807
33808    group { name: "elm/colorselector/image/colorbar_2";
33809       images {
33810          image: "color_picker_brightness.png" COMP;
33811       }
33812       parts {
33813          part { name: "colorbar_2_image";
33814             type: IMAGE;
33815             mouse_events: 1;
33816             description { state: "default" 0.0;
33817                rel2.offset: -1 -1;
33818                image.normal: "color_picker_brightness.png";
33819             }
33820          }
33821       }
33822    }
33823
33824    group { name: "elm/colorselector/image/colorbar_3";
33825       images {
33826          image: "color_picker_alpha.png" COMP;
33827       }
33828       parts {
33829          part { name: "colorbar_3_image";
33830             type: IMAGE;
33831             mouse_events: 1;
33832             description { state: "default" 0.0;
33833                rel2.offset: -1 -1;
33834                image.normal: "color_picker_alpha.png";
33835             }
33836          }
33837       }
33838    }
33839
33840    group { name: "elm/colorselector/bg_image/colorbar_3";
33841       images {
33842          image: "color_picker_alpha_bg.png" COMP;
33843       }
33844       parts {
33845          part { name: "colorbar_3_image";
33846             type: IMAGE;
33847             mouse_events: 1;
33848             description { state: "default" 0.0;
33849                rel2.offset: -1 -1;
33850                image.normal: "color_picker_alpha_bg.png";
33851             }
33852          }
33853       }
33854    }
33855
33856    group { name: "elm/colorselector/image/updown";
33857       images {
33858          image: "icon_arrow_down.png" COMP;
33859       }
33860       parts {
33861          part { name: "bg";
33862             type: RECT;
33863             mouse_events: 1;
33864             description { state: "default" 0.0;
33865                color: 0 0 0 0;
33866             }
33867          }
33868          part { name: "arrow_image";
33869             type: IMAGE;
33870             mouse_events: 1;
33871             description { state: "default" 0.0;
33872                image.normal: "icon_arrow_down.png";
33873             }
33874          }
33875       }
33876    }
33877
33878    group { name: "elm/colorselector/button/left";
33879       images {
33880          image: "bt_base1.png" COMP;
33881          image: "bt_shine.png" COMP;
33882          image: "sp_bt_l.png" COMP;
33883       }
33884       parts {
33885          part { name: "button_image";
33886             mouse_events: 1;
33887             description { state: "default" 0.0;
33888                image.normal: "bt_base1.png";
33889                image.border: 6 6 6 6;
33890                image.middle: SOLID;
33891             }
33892
33893             description { state: "clicked" 0.0;
33894                inherit: "default" 0.0;
33895                image.normal: "bt_shine.png";
33896                image.border: 6 6 6 6;
33897                image.middle: SOLID;
33898             }
33899          }
33900          part { name: "btn_over";
33901             type: IMAGE;
33902             mouse_events: 0;
33903             description { state: "default" 0.0;
33904                rel1.to: "button_image";
33905                rel2 {
33906                   relative: 1.0 0.5;
33907                   to: "button_image";
33908                }
33909                image {
33910                   normal: "bt_hilight.png";
33911                   border: 7 7 7 0;
33912                }
33913             }
33914          }
33915          part { name: "btn_over2";
33916             type: IMAGE;
33917             mouse_events: 1;
33918             repeat_events: 1;
33919             ignore_flags: ON_HOLD;
33920             description { state: "default" 0.0;
33921                rel1.to: "button_image";
33922                rel2.to: "button_image";
33923                image {
33924                   normal: "bt_shine.png";
33925                   border: 7 7 7 7;
33926                }
33927             }
33928          }
33929          part { name: "focus_image";
33930             type: IMAGE;
33931             description { state: "default" 0.0;
33932                color: 255 255 255 0;
33933                rel1.to: "button_image";
33934                rel2.to: "button_image";
33935                image {
33936                   normal: "bt_glow.png";
33937                   border: 12 12 12 12;
33938                }
33939                fill.smooth: 0;
33940
33941             }
33942             description { state: "clicked" 0.0;
33943                inherit: "default" 0.0;
33944                visible: 1;
33945                color: 255 255 255 255;
33946             }
33947          }
33948          part { name: "left_arrow";
33949             mouse_events: 1;
33950             description { state: "default" 0.0;
33951                min: 16 16;
33952                max: 16 16;
33953                image.normal: "sp_bt_l.png";
33954             }
33955          }
33956       }
33957
33958       programs {
33959          program {
33960             name:   "button_down";
33961             signal: "elm,state,left,button,down";
33962             source: "left_button";
33963             action: STATE_SET "clicked" 0.0;
33964             target: "button_image";
33965             target: "focus_image";
33966          }
33967          program {
33968             name:   "button_up";
33969             signal: "elm,state,left,button,up";
33970             source: "left_button";
33971             action: STATE_SET "default" 0.0;
33972             target: "button_image";
33973             target: "focus_image";
33974          }
33975       }
33976    }
33977
33978    group { name: "elm/colorselector/button/right";
33979       images {
33980          image: "bt_base1.png" COMP;
33981          image: "bt_shine.png" COMP;
33982          image: "sp_bt_r.png" COMP;
33983       }
33984       parts {
33985          part { name: "button_image";
33986             mouse_events: 1;
33987             description { state: "default" 0.0;
33988                image.normal: "bt_base1.png";
33989                image.border: 6 6 6 6;
33990                image.middle: SOLID;
33991             }
33992
33993             description { state: "clicked" 0.0;
33994                inherit: "default" 0.0;
33995                image.normal: "bt_shine.png";
33996                image.border: 6 6 6 6;
33997                image.middle: SOLID;
33998             }
33999          }
34000          part { name: "btn_over";
34001             type: IMAGE;
34002             mouse_events: 0;
34003             description { state: "default" 0.0;
34004                rel1.to: "button_image";
34005                rel2 {
34006                   relative: 1.0 0.5;
34007                   to: "button_image";
34008                }
34009                image {
34010                   normal: "bt_hilight.png";
34011                   border: 7 7 7 0;
34012                }
34013             }
34014          }
34015          part { name: "btn_over2";
34016             type: IMAGE;
34017             mouse_events: 1;
34018             repeat_events: 1;
34019             ignore_flags: ON_HOLD;
34020             description { state: "default" 0.0;
34021                rel1.to: "button_image";
34022                rel2.to: "button_image";
34023                image {
34024                   normal: "bt_shine.png";
34025                   border: 7 7 7 7;
34026                }
34027             }
34028          }
34029          part { name: "focus_image";
34030             type: IMAGE;
34031             description { state: "default" 0.0;
34032                color: 255 255 255 0;
34033                rel1.to: "button_image";
34034                rel2.to: "button_image";
34035                image {
34036                   normal: "bt_glow.png";
34037                   border: 12 12 12 12;
34038                }
34039                fill.smooth: 0;
34040
34041             }
34042             description { state: "clicked" 0.0;
34043                inherit: "default" 0.0;
34044                visible: 1;
34045                color: 255 255 255 255;
34046             }
34047          }
34048          part { name: "right_arrow";
34049             mouse_events: 1;
34050             description { state: "default" 0.0;
34051                min: 16 16;
34052                max: 16 16;
34053                image.normal: "sp_bt_r.png";
34054             }
34055          }
34056       }
34057
34058       programs {
34059          program {
34060             name:   "button_down";
34061             signal: "elm,state,right,button,down";
34062             source: "right_button";
34063             action: STATE_SET "clicked" 0.0;
34064             target: "button_image";
34065             target: "focus_image";
34066          }
34067          program {
34068             name:   "button_up";
34069             signal: "elm,state,right,button,up";
34070             source: "right_button";
34071             action: STATE_SET "default" 0.0;
34072             target: "button_image";
34073             target: "focus_image";
34074          }
34075       }
34076    }
34077
34078 ///////////////////////////////////////////////////////////////////////////////
34079 #define FLIP_PICKER_MAX_LEN (50)
34080 #define FLIP_PICKER_MAX_LEN_STR "50"
34081
34082    group { name: "elm/flipselector/base/default";
34083       images {
34084          image: "flip_base.png" COMP;
34085          image: "flip_base_shad.png" COMP;
34086          image: "flip_shad.png" COMP;
34087          image: "arrow_up.png" COMP;
34088          image: "arrow_down.png" COMP;
34089          image: "flip_t.png" COMP;
34090          image: "flip_b.png" COMP;
34091       }
34092
34093       data {
34094          item: "max_len" FLIP_PICKER_MAX_LEN_STR;
34095       }
34096
34097       //FIXME: quick successive clicks on, say, up, lead to nastiness
34098       script {
34099          public cur, prev, next, lock;
34100
34101          public animator_bottom_down(val, Float:pos) {
34102             new tmp[FLIP_PICKER_MAX_LEN];
34103
34104             set_tween_state(PART:"bottom", pos, "shrink", 0.0, "default", 0.0);
34105             set_tween_state(PART:"bottom_sheet", pos, "shrink", 0.0, "default",
34106                             0.0);
34107             set_tween_state(PART:"shadow", pos, "half", 0.0, "full",
34108                             0.0);
34109
34110             if (pos >= 1.0) {
34111                set_state(PART:"shadow", "default", 0.0);
34112                set_int(lock, 0);
34113
34114                fetch_str(next, 0, tmp, FLIP_PICKER_MAX_LEN);
34115                if (strncmp(tmp, "", FLIP_PICKER_MAX_LEN) != 0) {
34116                   replace_str(next, 0, "");
34117                   message(MSG_STRING, 1, tmp);
34118                }
34119             }
34120          }
34121
34122          public animator_top_down(val, Float:pos) {
34123             set_tween_state(PART:"top", pos, "default", 0.0, "shrink", 0.0);
34124             set_tween_state(PART:"top_sheet", pos, "default", 0.0, "shrink",
34125                             0.0);
34126             set_tween_state(PART:"shadow", pos, "default", 0.0, "half",
34127                             0.0);
34128
34129             if (pos >= 1.0)
34130                anim(0.2, "animator_bottom_down", val);
34131          }
34132
34133          public animator_bottom_up(val, Float:pos) {
34134             set_tween_state(PART:"bottom", pos, "default", 0.0, "shrink", 0.0);
34135             set_tween_state(PART:"bottom_sheet", pos, "default", 0.0, "shrink",
34136                             0.0);
34137             set_tween_state(PART:"shadow", pos, "full", 0.0, "half",
34138                             0.0);
34139
34140             if (pos >= 1.0)
34141                anim(0.2, "animator_top_up", val);
34142          }
34143
34144          public animator_top_up(val, Float:pos) {
34145             new tmp[FLIP_PICKER_MAX_LEN];
34146
34147             set_tween_state(PART:"top", pos, "shrink", 0.0, "default", 0.0);
34148             set_tween_state(PART:"top_sheet", pos, "shrink", 0.0, "default",
34149                             0.0);
34150             set_tween_state(PART:"shadow", pos, "half", 0.0, "default",
34151                             0.0);
34152
34153             if (pos >= 1.0) {
34154                set_state(PART:"shadow", "default", 0.0);
34155                set_int(lock, 0);
34156
34157                fetch_str(next, 0, tmp, FLIP_PICKER_MAX_LEN);
34158                if (strncmp(tmp, "", FLIP_PICKER_MAX_LEN) != 0) {
34159                   replace_str(next, 0, "");
34160                   message(MSG_STRING, 2, tmp);
34161                }
34162             }
34163          }
34164
34165          public message(Msg_Type:type, id, ...) {
34166             /* flip down */
34167             if ((type == MSG_STRING) && (id == 1)) {
34168                new value[FLIP_PICKER_MAX_LEN], tmp[FLIP_PICKER_MAX_LEN];
34169
34170                snprintf(value, FLIP_PICKER_MAX_LEN, "%s", getarg(2));
34171
34172                if (get_int(lock) == 1) {
34173                   replace_str(next, 0, value);
34174                   return;
34175                }
34176
34177                fetch_str(cur, 0, tmp, FLIP_PICKER_MAX_LEN);
34178
34179                set_text(PART:"bottom_b", tmp);
34180
34181                set_state(PART:"top", "shrink", 0.0);
34182                set_text(PART:"top", tmp);
34183                set_state(PART:"top", "default", 0.0);
34184                set_text(PART:"top", tmp);
34185
34186                replace_str(prev, 0, tmp);
34187
34188                set_state(PART:"bottom", "default", 0.0);
34189                set_text(PART:"bottom", value);
34190                set_state(PART:"bottom", "shrink", 0.0);
34191                set_text(PART:"bottom", value);
34192
34193                set_text(PART:"top_b", value);
34194
34195                replace_str(cur, 0, value);
34196
34197                set_state(PART:"bottom_sheet", "shrink", 0.0);
34198                set_state(PART:"top_sheet", "default", 0.0);
34199
34200                set_int(lock, 1);
34201                set_state(PART:"shadow", "default", 0.0);
34202                anim(0.2, "animator_top_down", 1);
34203             }
34204
34205             /* flip up */
34206             if ((type == MSG_STRING) && (id == 2)) {
34207                new value[FLIP_PICKER_MAX_LEN], tmp[FLIP_PICKER_MAX_LEN];
34208
34209                snprintf(value, FLIP_PICKER_MAX_LEN, "%s", getarg(2));
34210
34211                if (get_int(lock) == 1) {
34212                   replace_str(next, 0, value);
34213                   return;
34214                }
34215
34216                fetch_str(cur, 0, tmp, FLIP_PICKER_MAX_LEN);
34217
34218                set_text(PART:"top_b", tmp);
34219
34220                set_state(PART:"bottom", "shrink", 0.0);
34221                set_text(PART:"bottom", tmp);
34222                set_state(PART:"bottom", "default", 0.0);
34223                set_text(PART:"bottom", tmp);
34224
34225                replace_str(prev, 0, tmp);
34226
34227                set_state(PART:"top", "default", 0.0);
34228                set_text(PART:"top", value);
34229                set_state(PART:"top", "shrink", 0.0);
34230                set_text(PART:"top", value);
34231
34232                set_text(PART:"bottom_b", value);
34233
34234                replace_str(cur, 0, value);
34235
34236                set_state(PART:"bottom_sheet", "default", 0.0);
34237                set_state(PART:"top_sheet", "shrink", 0.0);
34238
34239                set_int(lock, 1);
34240                set_state(PART:"shadow", "full", 0.0);
34241                anim(0.2, "animator_bottom_up", 1);
34242             }
34243          }
34244       }
34245
34246       parts {
34247          part { name: "shad";
34248             mouse_events: 0;
34249             description { state: "default" 0.0;
34250                rel1.offset: -4 -4;
34251                rel1.to: "base";
34252                rel2.offset: 3 3;
34253                rel2.to: "base";
34254                image {
34255                   normal: "flip_base_shad.png";
34256                   border: 8 8 8 8;
34257                }
34258             }
34259          }
34260
34261          part { name: "base";
34262             scale: 1;
34263             description { state: "default" 0.0;
34264                rel1.offset: 4 4;
34265                rel2.offset: -5 -5;
34266                min: 24 48;
34267                image.normal: "flip_base.png";
34268             }
34269          }
34270
34271          part { name: "b";
34272             type: RECT;
34273             mouse_events: 1;
34274             description { state: "default" 0.0;
34275                rel1.to: "base";
34276                rel1.relative: 0.0 0.5;
34277                rel2.to: "base";
34278                color: 0 0 0 0;
34279             }
34280             description { state: "hidden" 0.0;
34281                inherit: "default" 0.0;
34282                visible: 0;
34283             }
34284          }
34285
34286          part { name: "t";
34287             type: RECT;
34288             mouse_events: 1;
34289             description { state: "default" 0.0;
34290                rel1.to: "base";
34291                rel2.to: "base";
34292                rel2.relative: 1.0 0.5;
34293                color: 0 0 0 0;
34294             }
34295             description { state: "hidden" 0.0;
34296                inherit: "default" 0.0;
34297                visible: 0;
34298             }
34299          }
34300
34301          part { name: "bottom_sheet_static";
34302             mouse_events: 0;
34303             description { state: "default" 0.0;
34304                visible: 1;
34305                rel1.to: "b";
34306                rel2.to: "b";
34307                image.normal: "flip_b.png";
34308             }
34309          }
34310
34311          part { name: "bottom_b";
34312             mouse_events: 0;
34313             clip_to: "bottom_clipper";
34314             type: TEXT;
34315             scale: 1;
34316             description { state: "default" 0.0;
34317                rel1.to: "base";
34318                rel2.to: "base";
34319                color: 0 0 0 255;
34320                color2: 0 0 0 255;
34321                text {
34322                   font: "Sans:style=Bold,Edje-Vera-Bold";
34323                   size: 30;
34324                   min: 1 1;
34325                   align: 0.5 0.5;
34326                }
34327             }
34328          }
34329
34330          part { name: "shadow";
34331             mouse_events: 0;
34332             description { state: "default" 0.0;
34333                rel1.to: "b";
34334                rel2.to: "b";
34335                rel2.relative: 1.0 0.0;
34336                image.normal: "flip_shad.png";
34337             }
34338             description { state: "half" 0.0;
34339                inherit: "default" 0.0;
34340                rel2.relative: 1.0 0.5;
34341             }
34342             description { state: "full" 0.0;
34343                inherit: "default" 0.0;
34344                rel2.relative: 1.0 1.0;
34345             }
34346          }
34347
34348          part { name: "bottom_sheet";
34349             mouse_events: 0;
34350             description { state: "default" 0.0;
34351                visible: 1;
34352                rel1.to: "b";
34353                rel2.to: "b";
34354                image.normal: "flip_b.png";
34355             }
34356             description { state: "shrink" 0.0;
34357                inherit: "default" 0.0;
34358                visible: 0;
34359                rel2.relative: 1.0 0.0;
34360             }
34361          }
34362
34363          part { name: "bottom";
34364             mouse_events: 0;
34365             clip_to: "bottom_clipper";
34366             type: TEXT;
34367             scale: 1;
34368             description { state: "default" 0.0;
34369                rel1.to: "base";
34370                rel2.to: "base";
34371                color: 0 0 0 255;
34372                color2: 0 0 0 255;
34373                text {
34374                   font: "Sans:style=Bold,Edje-Vera-Bold";
34375                   size: 30;
34376                   min: 1 1;
34377                   align: 0.5 0.5;
34378                }
34379             }
34380             description { state: "shrink" 0.0;
34381                inherit: "default" 0.0;
34382                color: 128 128 128 255;
34383                visible: 0;
34384                rel2.relative: 1.0 0.5; /* FIXME: same visual effect? --> MAP! */
34385             }
34386          }
34387
34388          part { name: "top_sheet_static";
34389             mouse_events: 0;
34390             description { state: "default" 0.0;
34391                visible: 1;
34392                rel1.to: "t";
34393                rel2.to: "t";
34394                image.normal: "flip_t.png";
34395             }
34396          }
34397
34398          part { name: "top_b";
34399             mouse_events: 0;
34400             clip_to: "top_clipper";
34401             type: TEXT;
34402             scale: 1;
34403             description { state: "default" 0.0;
34404                rel1.to: "base";
34405                rel2.to: "base";
34406                color: 0 0 0 255;
34407                color2: 0 0 0 255;
34408                text {
34409                   font: "Sans:style=Bold,Edje-Vera-Bold";
34410                   size: 30;
34411                   min: 1 1;
34412                   align: 0.5 0.5;
34413                   source: "top";
34414                }
34415             }
34416          }
34417
34418          part { name: "top_sheet";
34419             mouse_events: 0;
34420             description { state: "default" 0.0;
34421                visible: 1;
34422                rel1.to: "t";
34423                rel2.to: "t";
34424                image.normal: "flip_t.png";
34425             }
34426             description { state: "shrink" 0.0;
34427                inherit: "default" 0.0;
34428                color: 128 128 128 255;
34429                visible: 0;
34430                rel1.relative: 0.0 1.0;
34431             }
34432          }
34433
34434          part { name: "top";
34435             mouse_events: 0;
34436             clip_to: "top_clipper";
34437             type: TEXT;
34438             scale: 1;
34439             description { state: "default" 0.0;
34440                rel1.to: "base";
34441                rel2.to: "base";
34442                color: 0 0 0 255;
34443                color2: 0 0 0 255;
34444                text {
34445                   font: "Sans:style=Bold,Edje-Vera-Bold";
34446                   size: 30;
34447                   min: 1 1;
34448                   align: 0.5 0.5;
34449                }
34450             }
34451             description { state: "shrink" 0.0;
34452                inherit: "default" 0.0;
34453                visible: 0;
34454                rel1.relative: 0.0 0.5;
34455             }
34456          }
34457
34458          part { name: "arrow_top";
34459             mouse_events: 0;
34460             scale: 1;
34461             description { state: "default" 0.0;
34462                min: 15 15;
34463                max: 15 15;
34464                align: 0.5 0.0;
34465                rel1.to: "t";
34466                rel2.to: "t";
34467                image.normal: "arrow_up.png";
34468             }
34469             description { state: "hidden" 0.0;
34470                inherit: "default" 0.0;
34471                visible: 0;
34472             }
34473          }
34474          part { name: "arrow_bottom";
34475             mouse_events: 0;
34476             scale: 1;
34477             description { state: "default" 0.0;
34478                min: 15 15;
34479                max: 15 15;
34480                align: 0.5 1.0;
34481                rel1.to: "b";
34482                rel2.to: "b";
34483                image.normal: "arrow_down.png";
34484             }
34485             description { state: "hidden" 0.0;
34486                inherit: "default" 0.0;
34487                visible: 0;
34488             }
34489          }
34490
34491          part {
34492             type: RECT;
34493             mouse_events: 0;
34494             name: "top_clipper";
34495             description {
34496                state: "default" 0.0;
34497                rel1.to: "t";
34498                rel2.to: "t";
34499                visible: 1;
34500             }
34501          }
34502
34503          part {
34504             type: RECT;
34505             mouse_events: 0;
34506             name: "bottom_clipper";
34507             description {
34508                state: "default" 0.0;
34509                rel1.to: "b";
34510                rel2.to: "b";
34511                visible: 1;
34512             }
34513          }
34514       }
34515
34516       programs {
34517          program { name: "load";
34518             signal: "load";
34519             source: "";
34520             script {
34521                append_str(cur, "");
34522                append_str(prev, "");
34523                append_str(next, "");
34524                set_int(lock, 0);
34525             }
34526          }
34527
34528          program { name: "hide_arrows";
34529             signal: "elm,state,button,hidden";
34530             source: "elm";
34531             action: STATE_SET "hidden" 0.0;
34532             target: "arrow_top";
34533             target: "arrow_bottom";
34534             target: "t";
34535             target: "b";
34536          }
34537
34538          program { name: "show_arrows";
34539             signal: "elm,state,button,visible";
34540             source: "elm";
34541             action: STATE_SET "default" 0.0;
34542             target: "arrow_top";
34543             target: "arrow_bottom";
34544             target: "t";
34545             target: "b";
34546          }
34547
34548          program { name: "up";
34549             signal: "mouse,down,1";
34550             source: "t";
34551             action: SIGNAL_EMIT "elm,action,up,start" "";
34552          }
34553          program { name: "up,stop";
34554             signal: "mouse,up,1";
34555             source: "t";
34556             action: SIGNAL_EMIT "elm,action,up,stop" "";
34557          }
34558          program { name: "down";
34559             signal: "mouse,down,1";
34560             source: "b";
34561             action: SIGNAL_EMIT "elm,action,down,start" "";
34562          }
34563          program { name: "down,stop";
34564             signal: "mouse,up,1";
34565             source: "b";
34566             action: SIGNAL_EMIT "elm,action,down,stop" "";
34567          }
34568       }
34569    }
34570
34571 ////////////////////////////////////////////////////////////////////////////////
34572 // diskselector
34573 ////////////////////////////////////////////////////////////////////////////////
34574    group { name: "elm/diskselector/base/default";
34575       images {
34576          image: "bar_shine.png" COMP;
34577       }
34578
34579       parts {
34580          part { name: "bg";
34581             type: RECT;
34582             mouse_events: 0;
34583             description { state: "default" 0.0;
34584                color: 0 0 0 255;
34585             }
34586          }
34587          part { name: "shine_left";
34588             mouse_events:  0;
34589             description { state: "default" 0.0;
34590                rel1.to: "bg";
34591                rel1.relative: -0.1 0;
34592                rel2.to: "bg";
34593                rel2.relative: 0.1 1;
34594                image.normal: "bar_shine.png";
34595                color: 255 255 255 120;
34596             }
34597          }
34598          part { name: "shine_center";
34599             mouse_events:  0;
34600             description { state: "default" 0.0;
34601                rel1.to: "bg";
34602                rel1.relative: 0.2 0;
34603                rel2.to: "bg";
34604                rel2.relative: 0.8 1;
34605                image.normal: "bar_shine.png";
34606                color: 255 255 255 180;
34607             }
34608          }
34609          part { name: "shine_right";
34610             mouse_events:  0;
34611             description { state: "default" 0.0;
34612                rel1.to: "bg";
34613                rel1.relative: 0.9 0;
34614                rel2.to: "bg";
34615                rel2.relative: 1.1 1;
34616                image.normal: "bar_shine.png";
34617                color: 255 255 255 120;
34618             }
34619          }
34620          part { name: "clipper";
34621             type: RECT;
34622             mouse_events: 0;
34623             description { state: "default" 0.0;
34624                rel1.to: "bg";
34625                rel2.to: "bg";
34626                rel1.offset: 2 2;
34627                rel2.offset: -3 -3;
34628             }
34629          }
34630          part { name: "elm.swallow.content";
34631             clip_to: "clipper";
34632             type: SWALLOW;
34633             description { state: "default" 0.0;
34634                rel1.to: "bg";
34635                rel2.to: "bg";
34636             }
34637          }
34638       }
34639    }
34640
34641    group { name: "elm/diskselector/item/default";
34642
34643       data {
34644          item: "len_threshold" "14";
34645          item: "display_item_num" "3";
34646          item: "min_height" "-1";
34647          item: "min_width" "-1";
34648       }
34649
34650       parts {
34651          part { name: "elm.swallow.icon";
34652             type: SWALLOW;
34653             description { state: "default" 0.0;
34654                fixed: 1 0;
34655                align: 0.0 0.5;
34656                rel1 {
34657                   relative: 0 0;
34658                   offset: 4 4;
34659                }
34660                rel2 {
34661                   relative: 0 1;
34662                   offset: 4 -5;
34663                }
34664             }
34665             description { state: "show" 0.0;
34666                inherit: "default" 0.0;
34667             }
34668             description { state: "default_small" 0.0;
34669                inherit: "default" 0.0;
34670                rel1.relative: 0 0.2;
34671                rel2.relative: 0 0.8;
34672             }
34673             description { state: "left_side" 0.0;
34674                inherit: "default" 0.0;
34675                rel1.relative: 0 0.2;
34676                rel2.relative: 0 0.8;
34677                color: 255 255 255 160;
34678             }
34679             description { state: "right_side" 0.0;
34680                inherit: "left_side" 0.0;
34681                rel1.relative: 0.4 0.2;
34682                rel2.relative: 0.4 0.8;
34683                color: 255 255 255 160;
34684             }
34685          }
34686          part { name: "elm.text";
34687             type: TEXT;
34688             mouse_events: 0;
34689             scale: 1;
34690             description { state: "default" 0.0;
34691                rel1.relative: 1 0.0;
34692                rel1.to_x: "elm.swallow.icon";
34693                rel2.relative: 1.0 1.0;
34694                color: 255 255 255 255;
34695                visible: 0;
34696                text {
34697                   font: "Sans,Edje-Vera";
34698                   size: 13;
34699                   align: 0.5 0.5;
34700                   min: 0 1;
34701                }
34702             }
34703             description { state: "show" 0.0;
34704                inherit: "default" 0.0;
34705                visible: 1;
34706             }
34707             description { state: "default_small" 0.0;
34708                inherit: "default" 0.0;
34709                visible: 1;
34710                text.size: 10;
34711             }
34712             description { state: "left_side" 0.0;
34713                inherit: "default" 0.0;
34714                color: 172 172 172 255;
34715                text.size: 10;
34716                visible: 1;
34717                text.align: 0.2 0.5;
34718             }
34719             description { state: "right_side" 0.0;
34720                inherit: "default" 0.0;
34721                color: 172 172 172 255;
34722                visible: 1;
34723                text.size: 10;
34724                text.align: 0.8 0.5;
34725             }
34726          }
34727       }
34728
34729       programs {
34730          program { name: "center_text";
34731             signal: "elm,state,center";
34732             source: "elm";
34733             action: STATE_SET "show" 0.0;
34734             target: "elm.text";
34735             target: "elm.swallow.icon";
34736          }
34737          program { name: "center_small_text";
34738             signal: "elm,state,center_small";
34739             source: "elm";
34740             action: STATE_SET "default_small" 0.0;
34741             target: "elm.text";
34742             target: "elm.swallow.icon";
34743          }
34744          program { name: "l_side_text";
34745             signal: "elm,state,left_side";
34746             source: "elm";
34747             action: STATE_SET "left_side" 0.0;
34748             target: "elm.text";
34749             target: "elm.swallow.icon";
34750          }
34751          program { name: "r_side_text";
34752             signal: "elm,state,right_side";
34753             source: "elm";
34754             action: STATE_SET "right_side" 0.0;
34755             target: "elm.text";
34756             target: "elm.swallow.icon";
34757          }
34758       }
34759    }
34760
34761    group { name: "elm/entry/path/separator/default";
34762       images.image: "arrow_right.png" COMP;
34763       parts {
34764          part { name: "icon";
34765             mouse_events: 0;
34766             description { state: "default" 0.0;
34767                image.normal: "arrow_right.png";
34768                max: 64 64;
34769                aspect: 1.0 1.0;
34770             }
34771          }
34772       }
34773    }
34774
34775    group { name: "elm/fileselector/base/default";
34776       data {
34777          item: "path_separator" "<item relsize=16x16 vsize=full href=path/separator></item>";
34778       }
34779       parts {
34780          part { name: "elm.swallow.up";
34781             type: SWALLOW;
34782             description { state: "default" 0.0;
34783                align: 0.0 0.0;
34784                min: 10 10;
34785                fixed: 1 1;
34786                rel2 {
34787                   relative: 0.0 0.0;
34788                   offset: 0 0;
34789                }
34790             }
34791          }
34792          part { name: "elm.swallow.home";
34793             type: SWALLOW;
34794             description { state: "default" 0.0;
34795                align: 0.0 0.0;
34796                min: 10 10;
34797                fixed: 1 1;
34798                rel1 {
34799                   to: "elm.swallow.up";
34800                   relative: 1.0 0.0;
34801                   offset: 5 0;
34802                }
34803                rel2 {
34804                   to: "elm.swallow.up";
34805                   relative: 1.0 1.0;
34806                   offset: 20 -1;
34807                }
34808             }
34809          }
34810          part { name: "elm.swallow.files";
34811             type: SWALLOW;
34812             description { state: "default" 0.0;
34813                align: 1.0 0.0;
34814                min: 10 10;
34815                fixed: 1 1;
34816                rel1 {
34817                   to_y: "elm.swallow.home";
34818                   relative: 0.0 1.0;
34819                   offset: 0 0;
34820                }
34821                rel2 {
34822                   to_y: "elm.swallow.path";
34823                   relative: 1.0 0.0;
34824                   offset: -1 -1;
34825                }
34826             }
34827          }
34828          part { name: "elm.swallow.path";
34829             type: SWALLOW;
34830             description { state: "default" 0.0;
34831                align: 0.5 1.0;
34832                fixed: 1 1;
34833                rel1 {
34834                   to_y: "elm.swallow.filename";
34835                   relative: 0.0 0.0;
34836                   offset: 0 -1;
34837                }
34838                rel2 {
34839                   to_y: "elm.swallow.filename";
34840                   relative: 1.0 0.0;
34841                   offset: -1 -1;
34842                }
34843             }
34844          }
34845          part { name: "elm.swallow.filename";
34846             type: SWALLOW;
34847             description { state: "default" 0.0;
34848                align: 0.5 1.0;
34849                fixed: 1 1;
34850                rel1 {
34851                   to_y: "elm.swallow.ok";
34852                   relative: 0.0 0.0;
34853                   offset: 0 -1;
34854                }
34855                rel2 {
34856                   to_y: "elm.swallow.ok";
34857                   relative: 1.0 0.0;
34858                   offset: -1 -1;
34859                }
34860             }
34861          }
34862          part { name: "elm.swallow.cancel";
34863             type: SWALLOW;
34864             description { state: "default" 0.0;
34865                align: 1.0 1.0;
34866                fixed: 1 1;
34867                rel1 {
34868                   to: "elm.swallow.ok";
34869                   relative: 0.0 0.0;
34870                   offset: -3 0;
34871                }
34872                rel2 {
34873                   to: "elm.swallow.ok";
34874                   relative: 0.0 1.0;
34875                   offset: -3 -1;
34876                }
34877             }
34878          }
34879          part { name: "elm.swallow.ok";
34880             type: SWALLOW;
34881             description { state: "default" 0.0;
34882                align: 1.0 1.0;
34883                fixed: 1 1;
34884                rel1 {
34885                   relative: 1.0 1.0;
34886                   offset: -1 -1;
34887                }
34888             }
34889          }
34890       }
34891    }
34892
34893    group { name: "elm/fileselector_entry/base/default";
34894       parts {
34895          part { name: "elm.swallow.entry";
34896             type: SWALLOW;
34897             description { state: "default" 0.0;
34898                align: 0.0 0.0;
34899                min: 50 10;
34900                rel2 { to_x: "elm.swallow.button";
34901                   relative: 0.0 1.0;
34902                   offset: -1 -1;
34903                }
34904             }
34905          }
34906          part { name: "elm.swallow.button";
34907             type: SWALLOW;
34908             description { state: "default" 0.0;
34909                align: 1.0 0.0;
34910                min: 10 10;
34911                fixed: 1 1;
34912                rel1 {
34913                   relative: 1.0 0.0;
34914                   offset: -21 0;
34915                }
34916             }
34917          }
34918       }
34919    }
34920
34921 ////////////////////////////////////////////////////////////////////////
34922 // Standard layouts to be used                                        //
34923 ////////////////////////////////////////////////////////////////////////
34924    /* application with toolbar and main content area */
34925    group { name: "elm/layout/application/toolbar-content";
34926       parts {
34927          part { name: "elm.swallow.content";
34928             type: SWALLOW;
34929             description { state: "default" 0.0;
34930                rel1 { to_y: "elm.external.toolbar";
34931                   relative: 0.0 1.0;
34932                   offset: -1 1;
34933                }
34934             }
34935          }
34936
34937          part { name: "elm.external.toolbar";
34938             type: EXTERNAL;
34939             source: "elm/toolbar";
34940             description { state: "default" 0.0;
34941                align: 0.5 0.0;
34942                fixed: 0 1;
34943                rel2 {
34944                   relative: 1.0 0.0;
34945                   offset: -1 47;
34946                }
34947             }
34948          }
34949       }
34950    }
34951
34952    /* application with toolbar and main content area with a back button and title area */
34953    group { name: "elm/layout/application/toolbar-content-back";
34954       parts {
34955          part { name: "elm.swallow.content";
34956             type: SWALLOW;
34957             description { state: "default" 0.0;
34958                rel1 { to_y: "title_clipper";
34959                   relative: 0.0 1.0;
34960                   offset: -1 1;
34961                }
34962             }
34963          }
34964
34965          part { name: "elm.external.toolbar";
34966             type: EXTERNAL;
34967             source: "elm/toolbar";
34968             description { state: "default" 0.0;
34969                fixed: 0 1;
34970                align: 0.5 0.0;
34971                rel2 {
34972                   relative: 1.0 0.0;
34973                   offset: -1 47;
34974                }
34975             }
34976          }
34977          part { name: "title_clipper";
34978             type: RECT;
34979             description { state: "default" 0.0;
34980                visible: 1;
34981                rel1 {
34982                   to_y: "back";
34983                }
34984                rel2 {
34985                   to_y: "back";
34986                }
34987             }
34988             description { state: "hidden" 0.0;
34989                inherit: "default" 0.0;
34990                visible: 0;
34991                rel2 {
34992                   relative: 1.0 0.0;
34993                }
34994             }
34995          }
34996          part { name: "back_clipper";
34997             type: RECT;
34998             clip_to: "title_clipper";
34999             description { state: "default" 0.0;
35000                visible: 1;
35001             }
35002             description { state: "hidden" 0.0;
35003                visible: 0;
35004             }
35005          }
35006          part { name: "back";
35007             type: EXTERNAL;
35008             source: "elm/button";
35009             clip_to: "back_clipper";
35010             description { state: "default" 0.0;
35011                align: 0.0 0.0;
35012                fixed: 1 1;
35013                rel1 { to_y: "elm.external.toolbar";
35014                   relative: 0.0 1.0;
35015                   offset: 0 1;
35016                }
35017                rel2 { to_y: "elm.external.toolbar";
35018                   relative: 0.0 1.0;
35019                   offset: 50 32;
35020                }
35021                params.string: "label" "Back";
35022             }
35023          }
35024          programs {
35025             program {
35026                signal: "clicked";
35027                source: "back";
35028                action: SIGNAL_EMIT "elm,action,back" "";
35029             }
35030             program {
35031                signal: "elm,back,hide";
35032                source: "elm";
35033                action: STATE_SET "hidden" 0.0;
35034                target: "back_clipper";
35035             }
35036             program {
35037                signal: "elm,back,show";
35038                source: "elm";
35039                action: STATE_SET "default" 0.0;
35040                target: "back_clipper";
35041             }
35042             program {
35043                signal: "elm,title,hide";
35044                source: "elm";
35045                action: STATE_SET "hidden" 0.0;
35046                transition: LINEAR 0.1;
35047                target: "title_clipper";
35048             }
35049             program {
35050                signal: "elm,title,show";
35051                source: "elm";
35052                action: STATE_SET "default" 0.0;
35053                target: "title_clipper";
35054             }
35055          }
35056
35057          part { name: "elm.swallow.end";
35058             type: SWALLOW;
35059             description { state: "default" 0.0;
35060                align: 1.0 0.0;
35061                fixed: 1 1;
35062                rel1 { to_y: "elm.external.toolbar";
35063                   relative: 1.0 1.0;
35064                   offset: -2 1;
35065                }
35066                rel2 { to_y: "elm.external.toolbar";
35067                   relative: 1.0 1.0;
35068                   offset: -1 32;
35069                }
35070             }
35071          }
35072
35073          part { name: "elm.text.title";
35074             type: TEXT;
35075             effect: SOFT_SHADOW;
35076             scale: 1;
35077             description { state: "default" 0.0;
35078                rel1 { to_y: "elm.external.toolbar";
35079                   to_x: "back";
35080                   relative: 1.0 1.0;
35081                   offset: 2 1;
35082                }
35083                rel2 { to_y: "back";
35084                   to_x: "elm.swallow.end";
35085                   relative: 0.0 1.0;
35086                   offset: -3 -1;
35087                }
35088                text {
35089                   font: "Sans:style=Bold";
35090                   size: 12;
35091                }
35092             }
35093          }
35094       }
35095    }
35096
35097    /* application with toolbar and main content area with a back and next buttons and title area */
35098    group { name: "elm/layout/application/toolbar-content-back-next";
35099       parts {
35100          part { name: "elm.swallow.content";
35101             type: SWALLOW;
35102             description { state: "default" 0.0;
35103                rel1 { to_y: "title_clipper";
35104                   relative: 0.0 1.0;
35105                   offset: -1 1;
35106                }
35107             }
35108          }
35109
35110          part { name: "elm.external.toolbar";
35111             type: EXTERNAL;
35112             source: "elm/toolbar";
35113             description { state: "default" 0.0;
35114                fixed: 0 1;
35115                align: 0.5 0.0;
35116                rel2 {
35117                   relative: 1.0 0.0;
35118                   offset: -1 47;
35119                }
35120             }
35121          }
35122          part { name: "title_clipper";
35123             type: RECT;
35124             description { state: "default" 0.0;
35125                visible: 1;
35126                rel1 {
35127                   to_y: "back";
35128                }
35129                rel2 {
35130                   to_y: "back";
35131                }
35132             }
35133             description { state: "hidden" 0.0;
35134                inherit: "default" 0.0;
35135                visible: 0;
35136                rel2 {
35137                   relative: 1.0 0.0;
35138                }
35139             }
35140          }
35141          part { name: "back";
35142             type: EXTERNAL;
35143             source: "elm/button";
35144             clip_to: "back_clipper";
35145             description { state: "default" 0.0;
35146                align: 0.0 0.0;
35147                fixed: 1 1;
35148                rel1 { to_y: "elm.external.toolbar";
35149                   relative: 0.0 1.0;
35150                   offset: 0 1;
35151                }
35152                rel2 { to_y: "elm.external.toolbar";
35153                   relative: 0.0 1.0;
35154                   offset: 50 32;
35155                }
35156                params.string: "label" "Back";
35157             }
35158          }
35159          part { name: "back_clipper";
35160             type: RECT;
35161             clip_to: "title_clipper";
35162             description { state: "default" 0.0;
35163                visible: 1;
35164             }
35165             description { state: "hidden" 0.0;
35166                visible: 0;
35167             }
35168          }
35169          part { name: "next";
35170             type: EXTERNAL;
35171             source: "elm/button";
35172             clip_to: "next_clipper";
35173             description { state: "default" 0.0;
35174                align: 1.0 0.0;
35175                fixed: 1 1;
35176                rel1 { to_y: "elm.external.toolbar";
35177                   relative: 1.0 1.0;
35178                   offset: -2 1;
35179                }
35180                rel2 { to_y: "elm.external.toolbar";
35181                   relative: 1.0 1.0;
35182                   offset: -1 32;
35183                }
35184                params.string: "label" "Next";
35185            }
35186          }
35187          part { name: "next_clipper";
35188             type: RECT;
35189             clip_to: "title_clipper";
35190             description { state: "default" 0.0;
35191                visible: 1;
35192             }
35193             description { state: "hidden" 0.0;
35194                visible: 0;
35195             }
35196          }
35197          programs {
35198             program {
35199                signal: "clicked";
35200                source: "back";
35201                action: SIGNAL_EMIT "elm,action,back" "";
35202             }
35203             program {
35204                signal: "elm,title,hide";
35205                source: "elm";
35206                action: STATE_SET "hidden" 0.0;
35207                transition: LINEAR 0.1;
35208                target: "title_clipper";
35209             }
35210             program {
35211                signal: "elm,title,show";
35212                source: "elm";
35213                action: STATE_SET "default" 0.0;
35214                target: "title_clipper";
35215             }
35216             program {
35217                signal: "elm,back,hide";
35218                source: "elm";
35219                action: STATE_SET "hidden" 0.0;
35220                target: "back_clipper";
35221             }
35222             program {
35223                signal: "elm,back,show";
35224                source: "elm";
35225                action: STATE_SET "default" 0.0;
35226                target: "back_clipper";
35227             }
35228             program {
35229                signal: "clicked";
35230                source: "next";
35231                action: SIGNAL_EMIT "elm,action,next" "";
35232             }
35233             program {
35234                signal: "elm,next,hide";
35235                source: "elm";
35236                action: STATE_SET "hidden" 0.0;
35237                target: "next_clipper";
35238             }
35239             program {
35240                signal: "elm,next,show";
35241                source: "elm";
35242                action: STATE_SET "default" 0.0;
35243                target: "next_clipper";
35244             }
35245          }
35246          part { name: "elm.text.title";
35247             type: TEXT;
35248             effect: SOFT_SHADOW;
35249             scale: 1;
35250             clip_to: "title_clipper";
35251             description { state: "default" 0.0;
35252                rel1 { to_y: "elm.external.toolbar";
35253                   to_x: "back";
35254                   relative: 1.0 1.0;
35255                   offset: 2 1;
35256                }
35257                rel2 { to_y: "back";
35258                   to_x: "next";
35259                   relative: 0.0 1.0;
35260                   offset: -3 -1;
35261                }
35262                text {
35263                   font: "Sans:style=Bold";
35264                   size: 12;
35265                }
35266             }
35267          }
35268       }
35269    }
35270    /* application with a main content area with a back button and title area */
35271    group { name: "elm/layout/application/content-back";
35272       parts {
35273          part { name: "elm.swallow.content";
35274             type: SWALLOW;
35275             description { state: "default" 0.0;
35276                rel1 { to_y: "title_clipper";
35277                   relative: 0.0 1.0;
35278                   offset: -1 1;
35279                }
35280             }
35281          }
35282          part { name: "title_clipper";
35283             type: RECT;
35284             description { state: "default" 0.0;
35285                visible: 1;
35286                rel1 {
35287                   to_y: "back";
35288                }
35289                rel2 {
35290                   to_y: "back";
35291                }
35292             }
35293             description { state: "hidden" 0.0;
35294                inherit: "default" 0.0;
35295                visible: 0;
35296                rel2 {
35297                   relative: 1.0 0.0;
35298                }
35299             }
35300          }
35301          part { name: "back_clipper";
35302             type: RECT;
35303             clip_to: "title_clipper";
35304             description { state: "default" 0.0;
35305                visible: 1;
35306             }
35307             description { state: "hidden" 0.0;
35308                visible: 0;
35309             }
35310          }
35311          part { name: "back";
35312             type: EXTERNAL;
35313             source: "elm/button";
35314             clip_to: "back_clipper";
35315             description { state: "default" 0.0;
35316                align: 0.0 0.0;
35317                fixed: 1 1;
35318                rel1 {
35319                   relative: 0.0 0.0;
35320                   offset: 0 1;
35321                }
35322                rel2 {
35323                   relative: 0.0 0.0;
35324                   offset: 50 32;
35325                }
35326                params.string: "label" "Back";
35327             }
35328          }
35329          programs {
35330             program {
35331                signal: "clicked";
35332                source: "back";
35333                action: SIGNAL_EMIT "elm,action,back" "";
35334             }
35335             program {
35336                signal: "elm,back,hide";
35337                source: "elm";
35338                action: STATE_SET "hidden" 0.0;
35339                target: "back_clipper";
35340             }
35341             program {
35342                signal: "elm,back,show";
35343                source: "elm";
35344                action: STATE_SET "default" 0.0;
35345                target: "back_clipper";
35346             }
35347             program {
35348                signal: "elm,title,hide";
35349                source: "elm";
35350                action: STATE_SET "hidden" 0.0;
35351                transition: LINEAR 0.1;
35352                target: "title_clipper";
35353             }
35354             program {
35355                signal: "elm,title,show";
35356                source: "elm";
35357                action: STATE_SET "default" 0.0;
35358                target: "title_clipper";
35359             }
35360          }
35361
35362          part { name: "elm.swallow.end";
35363             type: SWALLOW;
35364             description { state: "default" 0.0;
35365                align: 1.0 0.0;
35366                fixed: 1 1;
35367                rel1 {
35368                   relative: 1.0 0.0;
35369                   offset: -2 1;
35370                }
35371                rel2 {
35372                   relative: 1.0 1.0;
35373                   offset: -1 32;
35374                }
35375             }
35376          }
35377
35378          part { name: "elm.text.title";
35379             type: TEXT;
35380             effect: SOFT_SHADOW;
35381             scale: 1; 
35382             description { state: "default" 0.0;
35383                rel1 {
35384                   to_x: "back";
35385                   relative: 1.0 0.0;
35386                   offset: 2 1;
35387                }
35388                rel2 { to_y: "back";
35389                   to_x: "elm.swallow.end";
35390                   relative: 0.0 1.0;
35391                   offset: -3 -1;
35392                }
35393                text {
35394                   font: "Sans:style=Bold";
35395                   size: 12;
35396                }
35397             }
35398          }
35399       }
35400    }
35401
35402    /* application with a main content area with a back and next buttons and title area */
35403    group { name: "elm/layout/application/content-back-next";
35404       parts {
35405          part { name: "elm.swallow.content";
35406             type: SWALLOW;
35407             description { state: "default" 0.0;
35408                rel1 { to_y: "title_clipper";
35409                   relative: 0.0 1.0;
35410                   offset: -1 1;
35411                }
35412             }
35413          }
35414
35415          part { name: "title_clipper";
35416             type: RECT;
35417             description { state: "default" 0.0;
35418                visible: 1;
35419                rel1 {
35420                   to_y: "back";
35421                }
35422                rel2 {
35423                   to_y: "back";
35424                }
35425             }
35426             description { state: "hidden" 0.0;
35427                inherit: "default" 0.0;
35428                visible: 0;
35429                rel2 {
35430                   relative: 1.0 0.0;
35431                }
35432             }
35433          }
35434          part { name: "back";
35435             type: EXTERNAL;
35436             source: "elm/button";
35437             clip_to: "back_clipper";
35438             description { state: "default" 0.0;
35439                align: 0.0 0.0;
35440                fixed: 1 1;
35441                rel1 {
35442                   relative: 0.0 0.0;
35443                   offset: 0 1;
35444                }
35445                rel2 {
35446                   relative: 0.0 0.0;
35447                   offset: 50 32;
35448                }
35449                params.string: "label" "Back";
35450             }
35451          }
35452          part { name: "back_clipper";
35453             type: RECT;
35454             clip_to: "title_clipper";
35455             description { state: "default" 0.0;
35456                visible: 1;
35457             }
35458             description { state: "hidden" 0.0;
35459                visible: 0;
35460             }
35461          }
35462          part { name: "next";
35463             type: EXTERNAL;
35464             source: "elm/button";
35465             clip_to: "next_clipper";
35466             description { state: "default" 0.0;
35467                align: 1.0 0.0;
35468                fixed: 1 1;
35469                rel1 {
35470                   relative: 1.0 0.0;
35471                   offset: -2 1;
35472                }
35473                rel2 {
35474                   relative: 1.0 0.0;
35475                   offset: -1 32;
35476                }
35477                params.string: "label" "Next";
35478            }
35479          }
35480          part { name: "next_clipper";
35481             type: RECT;
35482             clip_to: "title_clipper";
35483             description { state: "default" 0.0;
35484                visible: 1;
35485             }
35486             description { state: "hidden" 0.0;
35487                visible: 0;
35488             }
35489          }
35490          programs {
35491             program {
35492                signal: "clicked";
35493                source: "back";
35494                action: SIGNAL_EMIT "elm,action,back" "";
35495             }
35496             program {
35497                signal: "elm,title,hide";
35498                source: "elm";
35499                action: STATE_SET "hidden" 0.0;
35500                transition: LINEAR 0.1;
35501                target: "title_clipper";
35502             }
35503             program {
35504                signal: "elm,title,show";
35505                source: "elm";
35506                action: STATE_SET "default" 0.0;
35507                target: "title_clipper";
35508             }
35509             program {
35510                signal: "elm,back,hide";
35511                source: "elm";
35512                action: STATE_SET "hidden" 0.0;
35513                target: "back_clipper";
35514             }
35515             program {
35516                signal: "elm,back,show";
35517                source: "elm";
35518                action: STATE_SET "default" 0.0;
35519                target: "back_clipper";
35520             }
35521             program {
35522                signal: "clicked";
35523                source: "next";
35524                action: SIGNAL_EMIT "elm,action,next" "";
35525             }
35526             program {
35527                signal: "elm,next,hide";
35528                source: "elm";
35529                action: STATE_SET "hidden" 0.0;
35530                target: "next_clipper";
35531             }
35532             program {
35533                signal: "elm,next,show";
35534                source: "elm";
35535                action: STATE_SET "default" 0.0;
35536                target: "next_clipper";
35537             }
35538          }
35539          part { name: "elm.text.title";
35540             type: TEXT;
35541             effect: SOFT_SHADOW;
35542             scale: 1;
35543             clip_to: "title_clipper";
35544             description { state: "default" 0.0;
35545                rel1 {
35546                   to_x: "back";
35547                   relative: 1.0 0.0;
35548                   offset: 2 1;
35549                }
35550                rel2 { to_y: "back";
35551                   to_x: "next";
35552                   relative: 0.0 1.0;
35553                   offset: -3 -1;
35554                }
35555                text {
35556                   font: "Sans:style=Bold";
35557                   size: 12;
35558                }
35559             }
35560          }
35561       }
35562    }
35563
35564    /* application with toolbar and main content area as a vertical box */
35565    group { name: "elm/layout/application/toolbar-vbox";
35566       parts {
35567          part { name: "elm.box.content";
35568             type: BOX;
35569             description { state: "default" 0.0;
35570                rel1 { to_y: "elm.external.toolbar";
35571                   relative: 0.0 1.0;
35572                   offset: -1 1;
35573                }
35574                box.layout: "vertical";
35575             }
35576          }
35577
35578          part { name: "elm.external.toolbar";
35579             type: EXTERNAL;
35580             source: "elm/toolbar";
35581             description { state: "default" 0.0;
35582                align: 0.5 0.0;
35583                fixed: 0 1;
35584                rel2 {
35585                   relative: 1.0 0.0;
35586                   offset: -1 47;
35587                }
35588             }
35589          }
35590       }
35591    }
35592
35593    /* application with toolbar and main content area as a table */
35594    group { name: "elm/layout/application/toolbar-table";
35595       parts {
35596          part { name: "elm.table.content";
35597             type: TABLE;
35598             description { state: "default" 0.0;
35599                rel1 { to_y: "elm.external.toolbar";
35600                   relative: 0.0 1.0;
35601                   offset: -1 1;
35602                }
35603             }
35604          }
35605
35606          part { name: "elm.external.toolbar";
35607             type: EXTERNAL;
35608             source: "elm/toolbar";
35609             description { state: "default" 0.0;
35610                align: 0.5 0.0;
35611                fixed: 0 1;
35612                rel2 {
35613                   relative: 1.0 0.0;
35614                   offset: -1 47;
35615                }
35616             }
35617          }
35618       }
35619    }
35620
35621 ///////////////////////////////////////////////////////////////////////////////
35622    group { name: "elm/segment_control/base/default";
35623 #define SEGMENT_TYPE_SINGLE 1
35624 #define SEGMENT_TYPE_LEFT 2
35625 #define SEGMENT_TYPE_MIDDLE 3
35626 #define SEGMENT_TYPE_RIGHT 4
35627 #define SEGMENT_STATE_NORMAL 1
35628 #define SEGMENT_STATE_PRESSED 2
35629 #define SEGMENT_STATE_SELECTED 3
35630 #define SEGMENT_STATUS_ENABLED 0
35631 #define SEGMENT_STATUS_DISABLED 1
35632       parts {
35633          part { name: "bg";
35634             type: RECT;
35635             mouse_events: 0;
35636             scale: 1;
35637             description {
35638                state: "default" 0.0;
35639                color: 0 0 0 0;
35640                min: 100 40;
35641             }
35642          }
35643       }
35644    }
35645    group { name: "elm/segment_control/item/default";
35646       data.item: "label.wrap.part" "label.bg";
35647       styles {
35648          style { name: "seg_text_style_normal";
35649             base: "font=Sans font_size=16 style=shadow \
35650             shadow_color=#2924224d \
35651             align=center \
35652             color=#ffffffff wrap=char text_class=label";
35653             tag:  "br" "\n";
35654             tag:  "hilight" "+ font=Sans:style=Bold";
35655             tag:  "tab" "\t";
35656          }
35657          style { name: "seg_text_style_selected";
35658             base: "font=Sans:style=Bold font_size=16 style=shadow \
35659             shadow_color=#aaaaaa4d \
35660             align=center \
35661             color=#111111ff wrap=char text_class=label";
35662             tag:  "br" "\n";
35663             tag:  "hilight" "+ font=Sans:style=Bold";
35664             tag:  "b" "+ font=Sans:style=Bold";
35665             tag:  "tab" "\t";
35666          }
35667          style { name: "seg_text_style_disabled";
35668             base: "font=Sans:style=Medium font_size=16 style=shadow \
35669             shadow_color=#2924224d \
35670             align=center color=#2924224d \
35671             wrap=char text_class=label";
35672             tag:  "br" "\n";
35673             tag:  "hilight" "+ font=Sans:style=Bold";
35674             tag:  "b" "+ font=Sans:style=Bold";
35675             tag:  "tab" "\t";
35676          }
35677       }
35678       images {
35679          image: "seg_single_pressed.png" COMP;
35680          image: "seg_single_selected.png" COMP;
35681          image: "seg_single_normal.png" COMP;
35682
35683          image: "seg_left_pressed.png" COMP;
35684          image: "seg_left_selected.png" COMP;
35685          image: "seg_left_normal.png" COMP;
35686
35687          image: "seg_middle_pressed.png" COMP;
35688          image: "seg_middle_selected.png" COMP;
35689          image: "seg_middle_normal.png" COMP;
35690
35691          image: "seg_right_pressed.png" COMP;
35692          image: "seg_right_selected.png" COMP;
35693          image: "seg_right_normal.png" COMP;
35694       }
35695       parts {
35696          part { name: "segment";
35697             mouse_events: 1;
35698             scale: 1;
35699             description { state: "default" 0.0;
35700                min: 1 1;
35701                visible: 0;
35702                image {
35703                   normal: "seg_single_normal.png";
35704                   border: 7 7 7 7;
35705                   border_scale: 1;
35706                   middle: 1;
35707                }
35708             }
35709             description { state: "default_single" 0.0;
35710                inherit: "default" 0.0;
35711                visible: 1;
35712                image {
35713                   normal: "seg_single_normal.png";
35714                   border: 7 7 7 7;
35715                }
35716             }
35717             description { state: "default_left" 0.0;
35718                inherit: "default" 0.0;
35719                visible: 1;
35720                image {
35721                normal: "seg_left_normal.png";
35722                   border:  6 1 7 7;
35723                }
35724             }
35725             description { state: "default_right" 0.0;
35726                inherit: "default" 0.0;
35727                visible: 1;
35728                image {
35729                   normal: "seg_right_normal.png";
35730                   border: 1 6 7 7;
35731                }
35732             }
35733             description { state: "default_middle" 0.0;
35734                inherit: "default" 0.0;
35735                visible: 1;
35736                image {
35737                   normal: "seg_middle_normal.png";
35738                   border: 2 2 2 2;
35739                }
35740             }
35741             description { state: "pressed_single" 0.0;
35742                inherit: "default" 0.0;
35743                visible: 1;
35744                image {
35745                   normal: "seg_single_pressed.png";
35746                   border: 7 7 7 7;
35747                }
35748             }
35749             description { state: "pressed_left" 0.0;
35750                inherit: "default" 0.0;
35751                visible: 1;
35752                image {
35753                   normal: "seg_left_pressed.png";
35754                   border:  6 1 7 7;
35755                }
35756             }
35757             description { state: "pressed_right" 0.0;
35758                inherit: "default" 0.0;
35759                visible: 1;
35760                image {
35761                   normal: "seg_right_pressed.png";
35762                   border: 1 6 7 7;
35763                }
35764             }
35765             description { state: "pressed_middle" 0.0;
35766                inherit: "default" 0.0;
35767                visible: 1;
35768                image {
35769                   normal: "seg_middle_pressed.png";
35770                   border: 1 1 2 2;
35771                }
35772             }
35773             description { state: "selected_single" 0.0;
35774                inherit: "default" 0.0;
35775                visible: 1;
35776                image {
35777                   normal: "seg_single_selected.png";
35778                   border: 7 7 7 7;
35779                }
35780             }
35781             description { state: "selected_left" 0.0;
35782                inherit: "default" 0.0;
35783                visible: 1;
35784                image {
35785                   normal: "seg_left_selected.png";
35786                   border:  6 3 7 7;
35787                }
35788             }
35789             description { state: "selected_right" 0.0;
35790                inherit: "default" 0.0;
35791                visible: 1;
35792                image {
35793                   normal: "seg_right_selected.png";
35794                   border: 3 6 7 7;
35795                }
35796             }
35797             description { state: "selected_middle" 0.0;
35798                inherit: "default" 0.0;
35799                visible: 1;
35800                image {
35801                   normal: "seg_middle_selected.png";
35802                   border: 3 3 3 3;
35803                }
35804             }
35805          }
35806          part { name: "padding_left";
35807             type: RECT;
35808             scale: 1;
35809             mouse_events: 0;
35810             description { state: "default" 0.0;
35811                align: 0.0 0.0;
35812                rel1.relative: 0.0 0.0;
35813                rel2.relative: 0.0 1.0;
35814                min: 2 2;
35815                max: 2 2;
35816                fixed: 1 0;
35817                color: 0 0 0 0;
35818             }
35819          }
35820          part { name: "padding_right";
35821             type: RECT;
35822             scale: 1;
35823             mouse_events: 0;
35824             description { state: "default" 0.0;
35825                align: 1.0 0.0;
35826                rel1.relative: 1.0 0.0;
35827                rel2.relative: 1.0 1.0;
35828                min: 2 2;
35829                max: 2 2;
35830                fixed: 1 0;
35831                color: 0 0 0 0;
35832             }
35833          }
35834          part { name: "padding_top";
35835             type: RECT;
35836             scale: 1;
35837             mouse_events: 0;
35838             description { state: "default" 0.0;
35839                align: 0.0 0.0;
35840                rel1.relative: 0.0 0.0;
35841                rel2.relative: 1.0 0.0;
35842                min: 2 2;
35843                max: 2 2;
35844                fixed: 0 1;
35845                color: 0 0 0 0;
35846             }
35847          }
35848          part { name: "padding_bottom";
35849             type: RECT;
35850             scale: 1;
35851             mouse_events: 0;
35852             description { state: "default" 0.0;
35853                align: 1.0 1.0;
35854                rel1.relative: 0.0 1.0;
35855                rel2.relative: 1.0 1.0;
35856                min: 2 2;
35857                max: 2 2;
35858                fixed: 0 1;
35859                color: 0 0 0 0;
35860             }
35861          }
35862          part { name: "icon.bg";
35863             type: RECT;
35864             scale: 1;
35865             mouse_events: 0;
35866             description { state: "default" 0.0;
35867                visible: 1;
35868                fixed: 1 0;
35869                rel1 {
35870                   to_x: "padding_left";
35871                   to_y: "padding_top";
35872                   relative: 1.0 1.0;
35873                }
35874                rel2 {
35875                   to: "elm.swallow.icon";
35876                   relative: 1.0 1.0;
35877                }
35878                align: 0.0 0.5;
35879                color: 0 0 0 0;
35880             }
35881          }
35882          part { name: "padding_icon_text";
35883             type: RECT;
35884             scale: 1;
35885             mouse_events: 0;
35886             description { state: "default" 0.0; //when only icon or no icon is there
35887                align: 0.0 0.0;
35888                rel1 {
35889                   to: "icon.bg";
35890                   relative: 1.0 0.0;
35891                }
35892                rel2 {
35893                   to: "icon.bg";
35894                   relative: 1.0 1.0;
35895                }
35896                fixed: 1 0;
35897                min: 0 0;
35898                color: 0 0 0 0;
35899             }
35900             description { state: "icononly" 0.0;
35901                inherit: "default" 0.0;
35902             }
35903             description { state: "visible" 0.0; //when icon is visible
35904                inherit: "default" 0.0;
35905                min: 2 0;
35906             }
35907          }
35908          part { name: "elm.swallow.icon";
35909             type: SWALLOW;
35910             scale: 1;
35911             description { state: "default" 0.0;
35912                visible: 0;
35913                align: 0.0 0.5;
35914                rel1 {
35915                   to_x: "padding_left";
35916                   to_y: "padding_top";
35917                   relative: 1.0 1.0;
35918                }
35919                rel2 {
35920                   to_y: "padding_bottom";
35921                   relative: 0.0 0.0;
35922                }
35923                fixed: 1 0;
35924                aspect: 1.0 1.0;
35925                aspect_preference: BOTH;
35926             }
35927             description { state: "visible" 0.0;
35928                inherit: "default" 0.0;
35929                visible: 1;
35930                rel2 {
35931                   to_y: "padding_bottom";
35932                   relative: 0.3 0.0;
35933                }
35934             }
35935             description { state: "icononly" 0.0;
35936                inherit: "default" 0.0;
35937                visible: 1;
35938                rel2 {
35939                   to_x: "padding_right";
35940                   to_y: "padding_bottom";
35941                   relative: 0.0 0.0;
35942                }
35943                align: 0.5 0.5;
35944             }
35945          }
35946          part { name: "elm.text";
35947             type: TEXT;
35948             mouse_events: 0;
35949             scale: 1;
35950             description {
35951                state: "default" 0.0;
35952                visible: 0;
35953                fixed: 1 1;
35954                min: 1 1;
35955                rel1 {
35956                   to_x: "padding_icon_text";
35957                   relative: 1.0 1.0;
35958                }
35959                rel2 {
35960                   to_x: "padding_right";
35961                   relative: 0.0 0.0;
35962                }
35963                color: 224 224 224 255;
35964                color3: 0 0 0 64;
35965                text {
35966                   font: "Sans";
35967                   ellipsis: 0.0;
35968                   fit: 1 1;
35969                   size: 24;
35970                   size_range: 8 36;
35971                   min: 0 1;
35972                }
35973             }
35974             description { state: "normal" 0.0;
35975                inherit: "default" 0.0;
35976                visible: 1;
35977             }
35978             description { state: "pressed" 0.0;
35979                inherit: "default" 0.0;
35980                visible: 1;
35981                color: 0 0 0 255;
35982             }
35983             description { state: "selected" 0.0;
35984                inherit: "default" 0.0;
35985                visible: 1;
35986                color: 50 50 50 255;
35987             }
35988             description { state: "disabled" 0.0;
35989                inherit: "default" 0.0;
35990                visible: 1;
35991                color: 200 200 200 255;
35992             }
35993          }
35994          part { name: "disabler";
35995             repeat_events: 0;
35996             scale: 1;
35997             description { state: "default" 0.0;
35998                visible: 0;
35999                fixed: 1 1;
36000                min: 1 1;
36001                align: 0.0 0.5;
36002                rel1 { relative: 0.0 0.0; to: "segment";}
36003                rel2 { relative: 1.0 1.0; to: "segment";}
36004                color: 255 255 255 150;
36005             }
36006             description { state: "disabled_single" 0.0;
36007                inherit: "default" 0.0;
36008                visible: 1;
36009                image {
36010                   normal: "seg_single_normal.png";
36011                   border: 7 7 7 7;
36012                }
36013             }
36014             description { state: "disabled_left" 0.0;
36015                inherit: "default" 0.0;
36016                visible: 1;
36017                image {
36018                   normal: "seg_left_normal.png";
36019                   border:  6 1 7 7;
36020                }
36021             }
36022             description { state: "disabled_right" 0.0;
36023                inherit: "default" 0.0;
36024                visible: 1;
36025                image {
36026                   normal: "seg_right_normal.png";
36027                   border: 1 6 7 7;
36028                }
36029             }
36030             description { state: "disabled_middle" 0.0;
36031                inherit: "default" 0.0;
36032                visible: 1;
36033                image {
36034                   normal: "seg_middle_normal.png";
36035                   border: 2 2 2 2;
36036                }
36037             }
36038          }
36039       }
36040       programs {
36041          script {
36042             public seg_type; // Single, Left, Middle, Right.
36043             public seg_state; // Normal/Default, Pressed, Selected.
36044             public seg_status;// Enabled/Default, Disabled
36045
36046             public update_state() {
36047                new type, state, disabled;
36048                type = get_int(seg_type);
36049                state = get_int(seg_state);
36050                disabled = get_int(seg_status);
36051
36052                if(state == SEGMENT_STATE_NORMAL)
36053                  {
36054                     if(type == SEGMENT_TYPE_SINGLE)
36055                       set_state(PART:"segment", "default_single", 0.0);
36056                     else if(type == SEGMENT_TYPE_LEFT)
36057                       set_state(PART:"segment", "default_left", 0.0);
36058                     else if(type == SEGMENT_TYPE_MIDDLE)
36059                       set_state(PART:"segment", "default_middle", 0.0);
36060                     else if(type == SEGMENT_TYPE_RIGHT)
36061                       set_state(PART:"segment", "default_right", 0.0);
36062                     set_state(PART:"elm.text", "normal", 0.0);
36063                  }
36064                else if(state == SEGMENT_STATE_PRESSED)
36065                  {
36066                     if(type == SEGMENT_TYPE_SINGLE)
36067                       set_state(PART:"segment", "pressed_single", 0.0);
36068                     else if(type == SEGMENT_TYPE_LEFT)
36069                       set_state(PART:"segment", "pressed_left", 0.0);
36070                     else if(type == SEGMENT_TYPE_MIDDLE)
36071                       set_state(PART:"segment", "pressed_middle", 0.0);
36072                     else if(type == SEGMENT_TYPE_RIGHT)
36073                       set_state(PART:"segment", "pressed_right", 0.0);
36074                     set_state(PART:"elm.text", "pressed", 0.0);
36075                  }
36076                else if(state == SEGMENT_STATE_SELECTED)
36077                  {
36078                     if(type == SEGMENT_TYPE_SINGLE)
36079                       set_state(PART:"segment", "selected_single", 0.0);
36080                     else if(type == SEGMENT_TYPE_LEFT)
36081                       set_state(PART:"segment", "selected_left", 0.0);
36082                     else if(type == SEGMENT_TYPE_MIDDLE)
36083                       set_state(PART:"segment", "selected_middle", 0.0);
36084                     else if(type == SEGMENT_TYPE_RIGHT)
36085                       set_state(PART:"segment", "selected_right", 0.0);
36086                     set_state(PART:"elm.text", "selected", 0.0);
36087                  }
36088                if(disabled == SEGMENT_STATUS_DISABLED)
36089                  {
36090                     if(type == SEGMENT_TYPE_SINGLE)
36091                       set_state(PART:"disabler", "disabled_single", 0.0);
36092                     else if(type == SEGMENT_TYPE_LEFT)
36093                       set_state(PART:"disabler", "disabled_left", 0.0);
36094                     else if(type == SEGMENT_TYPE_MIDDLE)
36095                       set_state(PART:"disabler", "disabled_middle", 0.0);
36096                     else if(type == SEGMENT_TYPE_RIGHT)
36097                       set_state(PART:"disabler", "disabled_right", 0.0);
36098                     set_state(PART:"elm.text", "disabled", 0.0);
36099                  }
36100             }
36101          }
36102          program {
36103             name: "segment_type_s";
36104             signal: "elm,type,segment,single";
36105             source: "elm";
36106             script {
36107                set_int(seg_type, SEGMENT_TYPE_SINGLE);
36108                update_state();
36109             }
36110          }
36111          program {
36112             name: "segment_type_l";
36113             signal: "elm,type,segment,left";
36114             source: "elm";
36115             script {
36116                set_int(seg_type, SEGMENT_TYPE_LEFT);
36117                update_state();
36118             }
36119          }
36120          program {
36121             name: "segment_type_m";
36122             signal: "elm,type,segment,middle";
36123             source: "elm";
36124             script {
36125                set_int(seg_type, SEGMENT_TYPE_MIDDLE);
36126                update_state();
36127             }
36128          }
36129          program {
36130             name: "segment_type_r";
36131             signal: "elm,type,segment,right";
36132             source: "elm";
36133             script {
36134                set_int(seg_type, SEGMENT_TYPE_RIGHT);
36135                update_state();
36136             }
36137          }
36138          program {
36139             name: "normal_segment";
36140             signal: "elm,state,segment,normal";
36141             source: "elm";
36142             script {
36143                set_int(seg_state, SEGMENT_STATE_NORMAL);
36144                update_state();
36145             }
36146          }
36147          program {
36148             name: "pressed_segment";
36149             signal: "elm,state,segment,pressed";
36150             source: "elm";
36151             script {
36152                set_int(seg_state, SEGMENT_STATE_PRESSED);
36153                update_state();
36154             }
36155          }
36156          program {
36157             name: "selected_segment";
36158             signal: "elm,state,segment,selected";
36159             source: "elm";
36160             script {
36161                set_int(seg_state, SEGMENT_STATE_SELECTED);
36162                update_state();
36163             }
36164          }
36165          program { name: "disable_segment";
36166             signal: "elm,state,disabled";
36167             source: "elm";
36168             script {
36169                set_int(seg_status, SEGMENT_STATUS_DISABLED);
36170                update_state();
36171             }
36172          }
36173          program { name: "enable_segment";
36174             signal: "elm,state,enabled";
36175             source: "elm";
36176             script {
36177                set_int(seg_status, SEGMENT_STATUS_ENABLED);
36178                update_state();
36179             }
36180          }
36181          program { name: "text_show";
36182             signal: "elm,state,text,visible";
36183             source: "elm";
36184             script {
36185                new st[31];
36186                new Float:vl;
36187                get_state(PART:"elm.swallow.icon", st, 30, vl);
36188                if (!strcmp(st, "icononly"))
36189                  {
36190                     set_state(PART:"elm.swallow.icon", "visible", 0.0);
36191                     set_state(PART:"padding_icon_text", "visible", 0.0);
36192                  }
36193                get_state(PART:"elm.text", st, 30, vl);
36194                if (!strcmp(st, "selected"))
36195                   set_state(PART:"elm.text", "selected", 0.0);
36196                else
36197                   set_state(PART:"elm.text", "normal", 0.0);
36198             }
36199          }
36200          program { name: "text_hide";
36201             signal: "elm,state,text,hidden";
36202             source: "elm";
36203             script {
36204                new st[31];
36205                new Float:vl;
36206                get_state(PART:"elm.swallow.icon", st, 30, vl);
36207                if (!strcmp(st, "visible"))
36208                  {
36209                     set_state(PART:"elm.swallow.icon", "icononly", 0.0);
36210                     set_state(PART:"padding_icon_text", "icononly", 0.0);
36211                  }
36212                set_state(PART:"elm.text", "default", 0.0);
36213             }
36214          }
36215          program { name: "icon_show";
36216             signal: "elm,state,icon,visible";
36217             source: "elm";
36218             script {
36219                new st[31];
36220                new Float:vl;
36221                get_state(PART:"elm.text", st, 30, vl);
36222                if ((!strcmp(st, "normal")) || (!strcmp(st, "selected")))
36223                  {
36224                     set_state(PART:"elm.swallow.icon", "visible", 0.0);
36225                     set_state(PART:"padding_icon_text", "visible", 0.0);
36226                  }
36227                else
36228                  {
36229                     set_state(PART:"elm.swallow.icon", "icononly", 0.0);
36230                     set_state(PART:"padding_icon_text", "icononly", 0.0);
36231                  }
36232             }
36233          }
36234          program { name: "icon_hide";
36235             signal: "elm,state,icon,hidden";
36236             source: "elm";
36237             action:  STATE_SET "default" 0.0;
36238             target: "elm.swallow.icon";
36239          }
36240       }
36241 #undef SEGMENT_TYPE_SINGLE
36242 #undef SEGMENT_TYPE_LEFT
36243 #undef SEGMENT_TYPE_MIDDLE
36244 #undef SEGMENT_TYPE_RIGHT
36245 #undef SEGMENT_STATE_NORMAL
36246 #undef SEGMENT_STATE_PRESSED
36247 #undef SEGMENT_STATE_SELECTED
36248 #undef SEGMENT_STATUS_ENABLED
36249 #undef SEGMENT_STATUS_DISABLED
36250    }
36251
36252    /* a simple title layout, with a label and two icons */
36253    group { name: "elm/layout/application/titlebar";
36254       images {
36255          image: "toolbar_sel.png" COMP;
36256       }
36257       parts {
36258          part { name: "base";
36259             mouse_events: 0;
36260             scale: 1;
36261             description { state: "default" 0.0;
36262                min: 0 33;
36263                max: 99999 33;
36264                align: 0.5 0.0;
36265                rel1.offset: -1 0;
36266                rel2.offset: 1 0;
36267                image {
36268                   normal: "toolbar_sel.png";
36269                   border: 3 3 0 0;
36270                }
36271             }
36272          }
36273          part { name: "elm.swallow.content";
36274             type: SWALLOW;
36275             description { state: "default" 0.0;
36276                visible: 1;
36277                rel1 {
36278                   to: "base";
36279                   relative: 0.0 1.0;
36280                }
36281             }
36282          }
36283          part { name: "elm.swallow.icon";
36284             type: SWALLOW;
36285             scale: 1;
36286             description { state: "default" 0.0;
36287                visible: 0;
36288                fixed: 1 1;
36289                align: 0.0 0.0;
36290                rel1 {
36291                   to: "base";
36292                   relative: 0.0 0.0;
36293                   offset: 4 0;
36294                }
36295                rel2 {
36296                   to: "base";
36297                   relative: 0.0 1.0;
36298                }
36299             }
36300             description { state: "visible" 0.0;
36301                inherit: "default" 0.0;
36302                visible: 1;
36303             }
36304          }
36305          part { name: "elm.swallow.end";
36306             type: SWALLOW;
36307             scale: 1;
36308             description { state: "default" 0.0;
36309                visible: 0;
36310                fixed: 1 1;
36311                align: 1.0 0.0;
36312                rel1 {
36313                   to: "base";
36314                   relative: 1.0 0.0;
36315                   offset: 0 0;
36316                }
36317                rel2 {
36318                   to: "base";
36319                   relative: 1.0 1.0;
36320                   offset: -5 -1;
36321                }
36322             }
36323             description { state: "visible" 0.0;
36324                inherit: "default" 0.0;
36325                visible: 1;
36326             }
36327          }
36328          part { name: "elm.text";
36329             type: TEXT;
36330             effect: SOFT_SHADOW;
36331             mouse_events: 0;
36332             scale: 1;
36333             description { state: "default" 0.0;
36334                fixed: 1 1;
36335                rel1 {
36336                   to_x: "elm.swallow.icon";
36337                   to_y: "base";
36338                   relative: 1.0 0.0;
36339                }
36340                rel2 {
36341                   to_x: "elm.swallow.end";
36342                   to_y: "base";
36343                   relative: 0.0 1.0;
36344                }
36345                text {
36346                   font: "Sans";
36347                   size: 12;
36348                   min: 0 0;
36349                   align: 0.5 0.5;
36350                   text_class: "title_bar";
36351                }
36352             }
36353          }
36354       }
36355       programs {
36356          program { name: "show_icon";
36357             signal: "elm,state,icon,visible";
36358             source: "elm";
36359             action: STATE_SET "visible" 0.0;
36360             target: "elm.swallow.icon";
36361          }
36362          program { name: "hide_icon";
36363             signal: "elm,state,icon,hidden";
36364             source: "elm";
36365             action: STATE_SET "default" 0.0;
36366             target: "elm.swallow.icon";
36367          }
36368          program { name: "show_end";
36369             signal: "elm,state,end,visible";
36370             source: "elm";
36371             action: STATE_SET "visible" 0.0;
36372             target: "elm.swallow.end";
36373          }
36374          program { name: "hide_end";
36375             signal: "elm,state,end,hidden";
36376             source: "elm";
36377             action: STATE_SET "default" 0.0;
36378             target: "elm.swallow.end";
36379          }
36380       }
36381    }
36382 }